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
[ 64, 68, 67, 26 ]
39
[ "64+68=132", "67+26=93", "132-93=39" ]
Current State: 39:[64, 68, 67, 26], Operations: [] Exploring Operation: 64+68=132, Resulting Numbers: [67, 26, 132] Generated Node #2: [67, 26, 132] from Operation: 64+68=132 Current State: 39:[67, 26, 132], Operations: ['64+68=132'] Exploring Operation: 67+26=93, Resulting Numbers: [132, 93] Generated Node #3: [132, 93] from Operation: 67+26=93 Current State: 39:[132, 93], Operations: ['64+68=132', '67+26=93'] Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[64, 68, 67, 26], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [67, 26, 4] Generated Node #0,0: 39:[67, 26, 4] Operation: 68-64=4 Exploring Operation: 68-67=1, Resulting Numbers: [64, 26, 1] Generated Node #0,1: 39:[64, 26, 1] Operation: 68-67=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[64, 26, 1], Operations: ['68-67=1'] Exploring Operation: 64-26=38, Resulting Numbers: [1, 38] Generated Node #0,1,0: 39:[1, 38] Operation: 64-26=38 Exploring Operation: 64-1=63, Resulting Numbers: [26, 63] Generated Node #0,1,1: 39:[26, 63] Operation: 64-1=63 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[1, 38], Operations: ['68-67=1', '64-26=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,39 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[64, 68, 67, 26], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [64, 26, 1] Generated Node #0,1: 39:[64, 26, 1] Operation: 68-67=1 Moving to Node #0,1 Current State: 39:[64, 26, 1], Operations: ['68-67=1'] Exploring Operation: 64-26=38, Resulting Numbers: [1, 38] Generated Node #0,1,0: 39:[1, 38] Operation: 64-26=38 Moving to Node #0,1,0 Current State: 39:[1, 38], Operations: ['68-67=1', '64-26=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 21, 28, 49, 4 ]
52
[ "28-21=7", "49-4=45", "7+45=52" ]
Current State: 52:[21, 28, 49, 4], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [49, 4, 7] Generated Node #2: [49, 4, 7] from Operation: 28-21=7 Current State: 52:[49, 4, 7], Operations: ['28-21=7'] Exploring Operation: 49-4=45, Resulting Numbers: [7, 45] Generated Node #3: [7, 45] from Operation: 49-4=45 Current State: 52:[7, 45], Operations: ['28-21=7', '49-4=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[21, 28, 49, 4], Operations: [] Exploring Operation: 49-21=28, Resulting Numbers: [28, 4, 28] Generated Node #0,0: 52:[28, 4, 28] Operation: 49-21=28 Exploring Operation: 21+28=49, Resulting Numbers: [49, 4, 49] Generated Node #0,1: 52:[49, 4, 49] Operation: 21+28=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[28, 4, 28], Operations: ['49-21=28'] Exploring Operation: 28/28=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 52:[4, 1] Operation: 28/28=1 Exploring Operation: 28-28=0, Resulting Numbers: [4, 0] Generated Node #0,0,1: 52:[4, 0] Operation: 28-28=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[4, 1], Operations: ['49-21=28', '28/28=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[4, 0], Operations: ['49-21=28', '28-28=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[49, 4, 49], Operations: ['21+28=49'] Exploring Operation: 49-49=0, Resulting Numbers: [4, 0] Generated Node #0,1,0: 52:[4, 0] Operation: 49-49=0 Exploring Operation: 49/49=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 52:[4, 1] Operation: 49/49=1 Moving to Node #0,1,1 Current State: 52:[4, 1], Operations: ['21+28=49', '49/49=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[4, 0], Operations: ['21+28=49', '49-49=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 58, 88, 73, 5 ]
13
[ "73-58=15", "5*15=75", "88-75=13" ]
Current State: 13:[58, 88, 73, 5], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [88, 5, 15] Generated Node #2: [88, 5, 15] from Operation: 73-58=15 Current State: 13:[88, 5, 15], Operations: ['73-58=15'] Exploring Operation: 5*15=75, Resulting Numbers: [88, 75] Generated Node #3: [88, 75] from Operation: 5*15=75 Current State: 13:[88, 75], Operations: ['73-58=15', '5*15=75'] Exploring Operation: 88-75=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[58, 88, 73, 5], Operations: [] Exploring Operation: 88-58=30, Resulting Numbers: [73, 5, 30] Generated Node #0,0: 13:[73, 5, 30] Operation: 88-58=30 Exploring Operation: 73-58=15, Resulting Numbers: [88, 5, 15] Generated Node #0,1: 13:[88, 5, 15] Operation: 73-58=15 Exploring Operation: 88-73=15, Resulting Numbers: [58, 5, 15] Generated Node #0,2: 13:[58, 5, 15] Operation: 88-73=15 Exploring Operation: 58-5=53, Resulting Numbers: [88, 73, 53] Generated Node #0,3: 13:[88, 73, 53] Operation: 58-5=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[58, 5, 15], Operations: ['88-73=15'] Exploring Operation: 58-15=43, Resulting Numbers: [5, 43] Generated Node #0,2,0: 13:[5, 43] Operation: 58-15=43 Exploring Operation: 58+5=63, Resulting Numbers: [15, 63] Generated Node #0,2,1: 13:[15, 63] Operation: 58+5=63 Exploring Operation: 15-5=10, Resulting Numbers: [58, 10] Generated Node #0,2,2: 13:[58, 10] Operation: 15-5=10 Exploring Operation: 58-5=53, Resulting Numbers: [15, 53] Generated Node #0,2,3: 13:[15, 53] Operation: 58-5=53 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[5, 43], Operations: ['88-73=15', '58-15=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,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,2,3 Current State: 13:[15, 53], Operations: ['88-73=15', '58-5=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,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,2,2 Current State: 13:[58, 10], Operations: ['88-73=15', '15-5=10'] Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,13 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,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,2,1 Current State: 13:[15, 63], Operations: ['88-73=15', '58+5=63'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,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:[73, 5, 30], Operations: ['88-58=30'] Exploring Operation: 30-5=25, Resulting Numbers: [73, 25] Generated Node #0,0,0: 13:[73, 25] Operation: 30-5=25 Exploring Operation: 73-5=68, Resulting Numbers: [30, 68] Generated Node #0,0,1: 13:[30, 68] Operation: 73-5=68 Exploring Operation: 73-30=43, Resulting Numbers: [5, 43] Generated Node #0,0,2: 13:[5, 43] Operation: 73-30=43 Exploring Operation: 30/5=6, Resulting Numbers: [73, 6] Generated Node #0,0,3: 13:[73, 6] Operation: 30/5=6 Moving to Node #0,0,2 Current State: 13:[5, 43], Operations: ['88-58=30', '73-30=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[73, 6], Operations: ['88-58=30', '30/5=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,13 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,13 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[30, 68], Operations: ['88-58=30', '73-5=68'] Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[73, 25], Operations: ['88-58=30', '30-5=25'] Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,13 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[88, 5, 15], Operations: ['73-58=15'] Exploring Operation: 15-5=10, Resulting Numbers: [88, 10] Generated Node #0,1,0: 13:[88, 10] Operation: 15-5=10 Exploring Operation: 88-15=73, Resulting Numbers: [5, 73] Generated Node #0,1,1: 13:[5, 73] Operation: 88-15=73 Exploring Operation: 88+5=93, Resulting Numbers: [15, 93] Generated Node #0,1,2: 13:[15, 93] Operation: 88+5=93 Exploring Operation: 88-5=83, Resulting Numbers: [15, 83] Generated Node #0,1,3: 13:[15, 83] Operation: 88-5=83 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[5, 73], Operations: ['73-58=15', '88-15=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,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,1,3 Current State: 13:[15, 83], Operations: ['73-58=15', '88-5=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,13 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,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,1,0 Current State: 13:[88, 10], Operations: ['73-58=15', '15-5=10'] Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,13 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,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,1,2 Current State: 13:[15, 93], Operations: ['73-58=15', '88+5=93'] Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,13 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,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,3 Current State: 13:[88, 73, 53], Operations: ['58-5=53'] Exploring Operation: 88+73=161, Resulting Numbers: [53, 161] Generated Node #0,3,0: 13:[53, 161] Operation: 88+73=161 Exploring Operation: 88-73=15, Resulting Numbers: [53, 15] Generated Node #0,3,1: 13:[53, 15] Operation: 88-73=15 Exploring Operation: 88-53=35, Resulting Numbers: [73, 35] Generated Node #0,3,2: 13:[73, 35] Operation: 88-53=35 Exploring Operation: 73-53=20, Resulting Numbers: [88, 20] Generated Node #0,3,3: 13:[88, 20] Operation: 73-53=20 Moving to Node #0,3,1 Current State: 13:[53, 15], Operations: ['58-5=53', '88-73=15'] Exploring Operation: 53*15=795, Resulting Numbers: [795] 795,13 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 53+15=68, Resulting Numbers: [68] 68,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[88, 20], Operations: ['58-5=53', '73-53=20'] Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,13 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[73, 35], Operations: ['58-5=53', '88-53=35'] Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[53, 161], Operations: ['58-5=53', '88+73=161'] Exploring Operation: 53*161=8533, Resulting Numbers: [8533] 8533,13 unequal: No Solution Exploring Operation: 161-53=108, Resulting Numbers: [108] 108,13 unequal: No Solution Exploring Operation: 53+161=214, Resulting Numbers: [214] 214,13 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
[ 58, 17, 7, 90 ]
67
[ "17-7=10", "90/10=9", "58+9=67" ]
Current State: 67:[58, 17, 7, 90], Operations: [] Exploring Operation: 17-7=10, Resulting Numbers: [58, 90, 10] Generated Node #2: [58, 90, 10] from Operation: 17-7=10 Current State: 67:[58, 90, 10], Operations: ['17-7=10'] Exploring Operation: 90/10=9, Resulting Numbers: [58, 9] Generated Node #3: [58, 9] from Operation: 90/10=9 Current State: 67:[58, 9], Operations: ['17-7=10', '90/10=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[58, 17, 7, 90], Operations: [] Exploring Operation: 90-7=83, Resulting Numbers: [58, 17, 83] Generated Node #0,0: 67:[58, 17, 83] Operation: 90-7=83 Exploring Operation: 58+7=65, Resulting Numbers: [17, 90, 65] Generated Node #0,1: 67:[17, 90, 65] Operation: 58+7=65 Exploring Operation: 90-17=73, Resulting Numbers: [58, 7, 73] Generated Node #0,2: 67:[58, 7, 73] Operation: 90-17=73 Exploring Operation: 17+7=24, Resulting Numbers: [58, 90, 24] Generated Node #0,3: 67:[58, 90, 24] Operation: 17+7=24 Exploring Operation: 17*7=119, Resulting Numbers: [58, 90, 119] Generated Node #0,4: 67:[58, 90, 119] Operation: 17*7=119 Moving to Node #0,0 Current State: 67:[58, 17, 83], Operations: ['90-7=83'] Exploring Operation: 83-17=66, Resulting Numbers: [58, 66] Generated Node #0,0,0: 67:[58, 66] Operation: 83-17=66 Exploring Operation: 58-17=41, Resulting Numbers: [83, 41] Generated Node #0,0,1: 67:[83, 41] Operation: 58-17=41 Exploring Operation: 58+17=75, Resulting Numbers: [83, 75] Generated Node #0,0,2: 67:[83, 75] Operation: 58+17=75 Exploring Operation: 83-58=25, Resulting Numbers: [17, 25] Generated Node #0,0,3: 67:[17, 25] Operation: 83-58=25 Exploring Operation: 17+83=100, Resulting Numbers: [58, 100] Generated Node #0,0,4: 67:[58, 100] Operation: 17+83=100 Moving to Node #0,2 Current State: 67:[58, 7, 73], Operations: ['90-17=73'] Exploring Operation: 58+7=65, Resulting Numbers: [73, 65] Generated Node #0,2,0: 67:[73, 65] Operation: 58+7=65 Exploring Operation: 58-7=51, Resulting Numbers: [73, 51] Generated Node #0,2,1: 67:[73, 51] Operation: 58-7=51 Exploring Operation: 7+73=80, Resulting Numbers: [58, 80] Generated Node #0,2,2: 67:[58, 80] Operation: 7+73=80 Exploring Operation: 73-7=66, Resulting Numbers: [58, 66] Generated Node #0,2,3: 67:[58, 66] Operation: 73-7=66 Exploring Operation: 73-58=15, Resulting Numbers: [7, 15] Generated Node #0,2,4: 67:[7, 15] Operation: 73-58=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[73, 65], Operations: ['90-17=73', '58+7=65'] Exploring Operation: 73*65=4745, Resulting Numbers: [4745] 4745,67 unequal: No Solution Exploring Operation: 73+65=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,67 unequal: No Solution No 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: 67:[58, 66], Operations: ['90-17=73', '73-7=66'] Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,67 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,67 unequal: No Solution No 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: 67:[73, 51], Operations: ['90-17=73', '58-7=51'] Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,67 unequal: No Solution Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,67 unequal: No Solution No 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: 67:[58, 80], Operations: ['90-17=73', '7+73=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,67 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,67 unequal: No Solution No 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: 67:[7, 15], Operations: ['90-17=73', '73-58=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,67 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: 67:[17, 90, 65], Operations: ['58+7=65'] Exploring Operation: 90-65=25, Resulting Numbers: [17, 25] Generated Node #0,1,0: 67:[17, 25] Operation: 90-65=25 Exploring Operation: 90-17=73, Resulting Numbers: [65, 73] Generated Node #0,1,1: 67:[65, 73] Operation: 90-17=73 Exploring Operation: 17+65=82, Resulting Numbers: [90, 82] Generated Node #0,1,2: 67:[90, 82] Operation: 17+65=82 Exploring Operation: 17+90=107, Resulting Numbers: [65, 107] Generated Node #0,1,3: 67:[65, 107] Operation: 17+90=107 Exploring Operation: 65-17=48, Resulting Numbers: [90, 48] Generated Node #0,1,4: 67:[90, 48] Operation: 65-17=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[65, 73], Operations: ['58+7=65', '90-17=73'] Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,67 unequal: No Solution No 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: 67:[90, 82], Operations: ['58+7=65', '17+65=82'] Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,67 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,67 unequal: No Solution No 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: 67:[65, 107], Operations: ['58+7=65', '17+90=107'] Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 65+107=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 65*107=6955, Resulting Numbers: [6955] 6955,67 unequal: No Solution No 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: 67:[90, 48], Operations: ['58+7=65', '65-17=48'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,67 unequal: No Solution Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,67 unequal: No Solution No 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: 67:[17, 25], Operations: ['58+7=65', '90-65=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,67 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,67 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: 67:[58, 90, 24], Operations: ['17+7=24'] Exploring Operation: 90+24=114, Resulting Numbers: [58, 114] Generated Node #0,3,0: 67:[58, 114] Operation: 90+24=114 Exploring Operation: 58-24=34, Resulting Numbers: [90, 34] Generated Node #0,3,1: 67:[90, 34] Operation: 58-24=34 Exploring Operation: 90-24=66, Resulting Numbers: [58, 66] Generated Node #0,3,2: 67:[58, 66] Operation: 90-24=66 Exploring Operation: 58+24=82, Resulting Numbers: [90, 82] Generated Node #0,3,3: 67:[90, 82] Operation: 58+24=82 Exploring Operation: 90-58=32, Resulting Numbers: [24, 32] Generated Node #0,3,4: 67:[24, 32] Operation: 90-58=32 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[58, 66], Operations: ['17+7=24', '90-24=66'] Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,67 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,67 unequal: No Solution No 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: 67:[90, 82], Operations: ['17+7=24', '58+24=82'] Exploring Operation: 90+82=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 90*82=7380, Resulting Numbers: [7380] 7380,67 unequal: No Solution No 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: 67:[58, 114], Operations: ['17+7=24', '90+24=114'] Exploring Operation: 58*114=6612, Resulting Numbers: [6612] 6612,67 unequal: No Solution Exploring Operation: 114-58=56, Resulting Numbers: [56] 56,67 unequal: No Solution Exploring Operation: 58+114=172, Resulting Numbers: [172] 172,67 unequal: No Solution No 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: 67:[90, 34], Operations: ['17+7=24', '58-24=34'] Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,67 unequal: No Solution Exploring Operation: 90*34=3060, Resulting Numbers: [3060] 3060,67 unequal: No Solution Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,67 unequal: No Solution No 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: 67:[24, 32], Operations: ['17+7=24', '90-58=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,67 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,67 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: 67:[58, 90, 119], Operations: ['17*7=119'] Exploring Operation: 58+90=148, Resulting Numbers: [119, 148] Generated Node #0,4,0: 67:[119, 148] Operation: 58+90=148 Exploring Operation: 119-90=29, Resulting Numbers: [58, 29] Generated Node #0,4,1: 67:[58, 29] Operation: 119-90=29 Exploring Operation: 90-58=32, Resulting Numbers: [119, 32] Generated Node #0,4,2: 67:[119, 32] Operation: 90-58=32 Exploring Operation: 58+119=177, Resulting Numbers: [90, 177] Generated Node #0,4,3: 67:[90, 177] Operation: 58+119=177 Exploring Operation: 119-58=61, Resulting Numbers: [90, 61] Generated Node #0,4,4: 67:[90, 61] Operation: 119-58=61 Moving to Node #0,0,0 Current State: 67:[58, 66], Operations: ['90-7=83', '83-17=66'] Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,67 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[83, 75], Operations: ['90-7=83', '58+17=75'] Exploring Operation: 83-75=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 83*75=6225, Resulting Numbers: [6225] 6225,67 unequal: No Solution Exploring Operation: 83+75=158, Resulting Numbers: [158] 158,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[90, 61], Operations: ['17*7=119', '119-58=61'] Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 90*61=5490, Resulting Numbers: [5490] 5490,67 unequal: No Solution Exploring Operation: 90+61=151, Resulting Numbers: [151] 151,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[83, 41], Operations: ['90-7=83', '58-17=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,67 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[58, 100], Operations: ['90-7=83', '17+83=100'] Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 58+100=158, Resulting Numbers: [158] 158,67 unequal: No Solution Exploring Operation: 58*100=5800, Resulting Numbers: [5800] 5800,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[58, 29], Operations: ['17*7=119', '119-90=29'] Exploring Operation: 58/29=2, Resulting Numbers: [2] 2,67 unequal: No Solution Exploring Operation: 58-29=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 58*29=1682, Resulting Numbers: [1682] 1682,67 unequal: No Solution Exploring Operation: 58+29=87, Resulting Numbers: [87] 87,67 unequal: No Solution Moving to Node #0,4,2 Current State: 67:[119, 32], Operations: ['17*7=119', '90-58=32'] Exploring Operation: 119+32=151, Resulting Numbers: [151] 151,67 unequal: No Solution Exploring Operation: 119*32=3808, Resulting Numbers: [3808] 3808,67 unequal: No Solution Exploring Operation: 119-32=87, Resulting Numbers: [87] 87,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[17, 25], Operations: ['90-7=83', '83-58=25'] Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,67 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[90, 177], Operations: ['17*7=119', '58+119=177'] Exploring Operation: 177-90=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 90+177=267, Resulting Numbers: [267] 267,67 unequal: No Solution Exploring Operation: 90*177=15930, Resulting Numbers: [15930] 15930,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[119, 148], Operations: ['17*7=119', '58+90=148'] Exploring Operation: 119*148=17612, Resulting Numbers: [17612] 17612,67 unequal: No Solution Exploring Operation: 148-119=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 119+148=267, Resulting Numbers: [267] 267,67 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 12, 28, 82 ]
84
[ "28-12=16", "32/16=2", "82+2=84" ]
Current State: 84:[32, 12, 28, 82], Operations: [] Exploring Operation: 28-12=16, Resulting Numbers: [32, 82, 16] Generated Node #2: [32, 82, 16] from Operation: 28-12=16 Current State: 84:[32, 82, 16], Operations: ['28-12=16'] Exploring Operation: 32/16=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 32/16=2 Current State: 84:[82, 2], Operations: ['28-12=16', '32/16=2'] Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[32, 12, 28, 82], Operations: [] Exploring Operation: 32-12=20, Resulting Numbers: [28, 82, 20] Generated Node #0,0: 84:[28, 82, 20] Operation: 32-12=20 Exploring Operation: 82-32=50, Resulting Numbers: [12, 28, 50] Generated Node #0,1: 84:[12, 28, 50] Operation: 82-32=50 Exploring Operation: 32-28=4, Resulting Numbers: [12, 82, 4] Generated Node #0,2: 84:[12, 82, 4] Operation: 32-28=4 Exploring Operation: 32+12=44, Resulting Numbers: [28, 82, 44] Generated Node #0,3: 84:[28, 82, 44] Operation: 32+12=44 Exploring Operation: 12+28=40, Resulting Numbers: [32, 82, 40] Generated Node #0,4: 84:[32, 82, 40] Operation: 12+28=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[12, 82, 4], Operations: ['32-28=4'] Exploring Operation: 12+4=16, Resulting Numbers: [82, 16] Generated Node #0,2,0: 84:[82, 16] Operation: 12+4=16 Exploring Operation: 82+4=86, Resulting Numbers: [12, 86] Generated Node #0,2,1: 84:[12, 86] Operation: 82+4=86 Exploring Operation: 12/4=3, Resulting Numbers: [82, 3] Generated Node #0,2,2: 84:[82, 3] Operation: 12/4=3 Exploring Operation: 12-4=8, Resulting Numbers: [82, 8] Generated Node #0,2,3: 84:[82, 8] Operation: 12-4=8 Exploring Operation: 82-4=78, Resulting Numbers: [12, 78] Generated Node #0,2,4: 84:[12, 78] Operation: 82-4=78 Moving to Node #0,2,1 Current State: 84:[12, 86], Operations: ['32-28=4', '82+4=86'] Exploring Operation: 12*86=1032, Resulting Numbers: [1032] 1032,84 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[82, 3], Operations: ['32-28=4', '12/4=3'] Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,84 unequal: No Solution Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,84 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[82, 8], Operations: ['32-28=4', '12-4=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[82, 16], Operations: ['32-28=4', '12+4=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,84 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[12, 78], Operations: ['32-28=4', '82-4=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,84 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,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:[28, 82, 20], Operations: ['32-12=20'] Exploring Operation: 28-20=8, Resulting Numbers: [82, 8] Generated Node #0,0,0: 84:[82, 8] Operation: 28-20=8 Exploring Operation: 82-20=62, Resulting Numbers: [28, 62] Generated Node #0,0,1: 84:[28, 62] Operation: 82-20=62 Exploring Operation: 82-28=54, Resulting Numbers: [20, 54] Generated Node #0,0,2: 84:[20, 54] Operation: 82-28=54 Exploring Operation: 28+20=48, Resulting Numbers: [82, 48] Generated Node #0,0,3: 84:[82, 48] Operation: 28+20=48 Exploring Operation: 82+20=102, Resulting Numbers: [28, 102] Generated Node #0,0,4: 84:[28, 102] Operation: 82+20=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[82, 8], Operations: ['32-12=20', '28-20=8'] Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,84 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[82, 48], Operations: ['32-12=20', '28+20=48'] Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,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:[20, 54], Operations: ['32-12=20', '82-28=54'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,84 unequal: No Solution Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,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,4 Current State: 84:[28, 102], Operations: ['32-12=20', '82+20=102'] Exploring Operation: 28+102=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 102-28=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 28*102=2856, Resulting Numbers: [2856] 2856,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:[28, 62], Operations: ['32-12=20', '82-20=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,84 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[28, 82, 44], Operations: ['32+12=44'] Exploring Operation: 82-28=54, Resulting Numbers: [44, 54] Generated Node #0,3,0: 84:[44, 54] Operation: 82-28=54 Exploring Operation: 44-28=16, Resulting Numbers: [82, 16] Generated Node #0,3,1: 84:[82, 16] Operation: 44-28=16 Exploring Operation: 82-44=38, Resulting Numbers: [28, 38] Generated Node #0,3,2: 84:[28, 38] Operation: 82-44=38 Exploring Operation: 28+82=110, Resulting Numbers: [44, 110] Generated Node #0,3,3: 84:[44, 110] Operation: 28+82=110 Exploring Operation: 28+44=72, Resulting Numbers: [82, 72] Generated Node #0,3,4: 84:[82, 72] Operation: 28+44=72 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[82, 16], Operations: ['32+12=44', '44-28=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,84 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,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,3,2 Current State: 84:[28, 38], Operations: ['32+12=44', '82-44=38'] Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,84 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,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,3,0 Current State: 84:[44, 54], Operations: ['32+12=44', '82-28=54'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 44*54=2376, Resulting Numbers: [2376] 2376,84 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,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,3,4 Current State: 84:[82, 72], Operations: ['32+12=44', '28+44=72'] Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,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,3,3 Current State: 84:[44, 110], Operations: ['32+12=44', '28+82=110'] Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 44*110=4840, Resulting Numbers: [4840] 4840,84 unequal: No Solution Exploring Operation: 44+110=154, Resulting Numbers: [154] 154,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[12, 28, 50], Operations: ['82-32=50'] Exploring Operation: 28-12=16, Resulting Numbers: [50, 16] Generated Node #0,1,0: 84:[50, 16] Operation: 28-12=16 Exploring Operation: 28+50=78, Resulting Numbers: [12, 78] Generated Node #0,1,1: 84:[12, 78] Operation: 28+50=78 Exploring Operation: 50-28=22, Resulting Numbers: [12, 22] Generated Node #0,1,2: 84:[12, 22] Operation: 50-28=22 Exploring Operation: 12+28=40, Resulting Numbers: [50, 40] Generated Node #0,1,3: 84:[50, 40] Operation: 12+28=40 Exploring Operation: 50-12=38, Resulting Numbers: [28, 38] Generated Node #0,1,4: 84:[28, 38] Operation: 50-12=38 Moving to Node #0,1,2 Current State: 84:[12, 22], Operations: ['82-32=50', '50-28=22'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[28, 38], Operations: ['82-32=50', '50-12=38'] Exploring Operation: 28*38=1064, Resulting Numbers: [1064] 1064,84 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 28+38=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[12, 78], Operations: ['82-32=50', '28+50=78'] Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,84 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[50, 16], Operations: ['82-32=50', '28-12=16'] Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,84 unequal: No Solution Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[50, 40], Operations: ['82-32=50', '12+28=40'] Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,84 unequal: No Solution Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,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 Current State: 84:[32, 82, 40], Operations: ['12+28=40'] Exploring Operation: 82-40=42, Resulting Numbers: [32, 42] Generated Node #0,4,0: 84:[32, 42] Operation: 82-40=42 Exploring Operation: 32+82=114, Resulting Numbers: [40, 114] Generated Node #0,4,1: 84:[40, 114] Operation: 32+82=114 Exploring Operation: 32+40=72, Resulting Numbers: [82, 72] Generated Node #0,4,2: 84:[82, 72] Operation: 32+40=72 Exploring Operation: 82-32=50, Resulting Numbers: [40, 50] Generated Node #0,4,3: 84:[40, 50] Operation: 82-32=50 Exploring Operation: 40-32=8, Resulting Numbers: [82, 8] Generated Node #0,4,4: 84:[82, 8] Operation: 40-32=8 Moving to Node #0,4,4 Current State: 84:[82, 8], Operations: ['12+28=40', '40-32=8'] Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,84 unequal: No Solution Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,84 unequal: No Solution Moving to Node #0,4,0 Current State: 84:[32, 42], Operations: ['12+28=40', '82-40=42'] Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,84 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[40, 50], Operations: ['12+28=40', '82-32=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,84 unequal: No Solution Moving to Node #0,4,2 Current State: 84:[82, 72], Operations: ['12+28=40', '32+40=72'] Exploring Operation: 82*72=5904, Resulting Numbers: [5904] 5904,84 unequal: No Solution Exploring Operation: 82+72=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[40, 114], Operations: ['12+28=40', '32+82=114'] Exploring Operation: 114-40=74, Resulting Numbers: [74] 74,84 unequal: No Solution Exploring Operation: 40+114=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 40*114=4560, Resulting Numbers: [4560] 4560,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 46, 15, 16, 15 ]
30
[ "46+15=61", "16+15=31", "61-31=30" ]
Current State: 30:[46, 15, 16, 15], Operations: [] Exploring Operation: 46+15=61, Resulting Numbers: [16, 61] Generated Node #2: [16, 61] from Operation: 46+15=61 Current State: 30:[16, 61], Operations: ['46+15=61'] Exploring Operation: 16+15=31, Resulting Numbers: [61, 31] Generated Node #3: [61, 31] from Operation: 16+15=31 Current State: 30:[61, 31], Operations: ['46+15=61', '16+15=31'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[46, 15, 16, 15], Operations: [] Exploring Operation: 46-16=30, Resulting Numbers: [15, 15, 30] Generated Node #0,0: 30:[15, 15, 30] Operation: 46-16=30 Exploring Operation: 46-15=31, Resulting Numbers: [16, 15, 31] Generated Node #0,1: 30:[16, 15, 31] Operation: 46-15=31 Exploring Operation: 46-15=31, Resulting Numbers: [15, 16, 31] Generated Node #0,2: 30:[15, 16, 31] Operation: 46-15=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[15, 15, 30], Operations: ['46-16=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 30:[15, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 30:[15, 2] Operation: 30/15=2 Exploring Operation: 15+15=30, Resulting Numbers: [30, 30] Generated Node #0,0,2: 30:[30, 30] Operation: 15+15=30 Moving to Node #0,0,0 Current State: 30:[15, 15], Operations: ['46-16=30', '30-15=15'] Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,30 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[46, 15, 16, 15], Operations: [] Exploring Operation: 46-16=30, Resulting Numbers: [15, 15, 30] Generated Node #0,0: 30:[15, 15, 30] Operation: 46-16=30 Moving to Node #0,0 Current State: 30:[15, 15, 30], Operations: ['46-16=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 30:[15, 15] Operation: 30-15=15 Moving to Node #0,0,0 Current State: 30:[15, 15], Operations: ['46-16=30', '30-15=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 84, 17, 66, 87 ]
55
[ "87-17=70", "66*70=4620", "4620/84=55" ]
Current State: 55:[84, 17, 66, 87], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [84, 66, 70] Generated Node #2: [84, 66, 70] from Operation: 87-17=70 Current State: 55:[84, 66, 70], Operations: ['87-17=70'] Exploring Operation: 66*70=4620, Resulting Numbers: [84, 4620] Generated Node #3: [84, 4620] from Operation: 66*70=4620 Current State: 55:[84, 4620], Operations: ['87-17=70', '66*70=4620'] Exploring Operation: 4620/84=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[84, 17, 66, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [17, 66, 3] Generated Node #0,0: 55:[17, 66, 3] Operation: 87-84=3 Moving to Node #0,0 Current State: 55:[17, 66, 3], Operations: ['87-84=3'] Exploring Operation: 66-17=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 55:[3, 49] Operation: 66-17=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[3, 49], Operations: ['87-84=3', '66-17=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,55 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
[ 44, 94, 71, 44 ]
24
[ "44/44=1", "94-71=23", "1+23=24" ]
Current State: 24:[44, 94, 71, 44], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [94, 71, 1] Generated Node #2: [94, 71, 1] from Operation: 44/44=1 Current State: 24:[94, 71, 1], Operations: ['44/44=1'] Exploring Operation: 94-71=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 94-71=23 Current State: 24:[1, 23], Operations: ['44/44=1', '94-71=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[44, 94, 71, 44], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [44, 44, 23] Generated Node #0,0: 24:[44, 44, 23] Operation: 94-71=23 Exploring Operation: 71-44=27, Resulting Numbers: [94, 44, 27] Generated Node #0,1: 24:[94, 44, 27] Operation: 71-44=27 Exploring Operation: 94-44=50, Resulting Numbers: [71, 44, 50] Generated Node #0,2: 24:[71, 44, 50] Operation: 94-44=50 Exploring Operation: 94-44=50, Resulting Numbers: [44, 71, 50] Generated Node #0,3: 24:[44, 71, 50] Operation: 94-44=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[44, 44, 23], Operations: ['94-71=23'] Exploring Operation: 44-23=21, Resulting Numbers: [44, 21] Generated Node #0,0,0: 24:[44, 21] Operation: 44-23=21 Exploring Operation: 44-23=21, Resulting Numbers: [44, 21] Generated Node #0,0,1: 24:[44, 21] Operation: 44-23=21 Exploring Operation: 44/44=1, Resulting Numbers: [23, 1] Generated Node #0,0,2: 24:[23, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [23, 0] Generated Node #0,0,3: 24:[23, 0] Operation: 44-44=0 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[23, 1], Operations: ['94-71=23', '44/44=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[44, 94, 71, 44], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [44, 44, 23] Generated Node #0,0: 24:[44, 44, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 24:[44, 44, 23], Operations: ['94-71=23'] Exploring Operation: 44/44=1, Resulting Numbers: [23, 1] Generated Node #0,0,2: 24:[23, 1] Operation: 44/44=1 Moving to Node #0,0,2 Current State: 24:[23, 1], Operations: ['94-71=23', '44/44=1'] Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 51, 17, 34, 13 ]
45
[ "17+13=30", "51*30=1530", "1530/34=45" ]
Current State: 45:[51, 17, 34, 13], Operations: [] Exploring Operation: 17+13=30, Resulting Numbers: [51, 34, 30] Generated Node #2: [51, 34, 30] from Operation: 17+13=30 Current State: 45:[51, 34, 30], Operations: ['17+13=30'] Exploring Operation: 51*30=1530, Resulting Numbers: [34, 1530] Generated Node #3: [34, 1530] from Operation: 51*30=1530 Current State: 45:[34, 1530], Operations: ['17+13=30', '51*30=1530'] Exploring Operation: 1530/34=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[51, 17, 34, 13], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [34, 13, 3] Generated Node #0,0: 45:[34, 13, 3] Operation: 51/17=3 Exploring Operation: 34-17=17, Resulting Numbers: [51, 13, 17] Generated Node #0,1: 45:[51, 13, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [51, 13, 2] Generated Node #0,2: 45:[51, 13, 2] Operation: 34/17=2 Exploring Operation: 34+13=47, Resulting Numbers: [51, 17, 47] Generated Node #0,3: 45:[51, 17, 47] Operation: 34+13=47 Exploring Operation: 51-34=17, Resulting Numbers: [17, 13, 17] Generated Node #0,4: 45:[17, 13, 17] Operation: 51-34=17 Moving to Node #0,4 Current State: 45:[17, 13, 17], Operations: ['51-34=17'] Exploring Operation: 17-17=0, Resulting Numbers: [13, 0] Generated Node #0,4,0: 45:[13, 0] Operation: 17-17=0 Exploring Operation: 17-13=4, Resulting Numbers: [17, 4] Generated Node #0,4,1: 45:[17, 4] Operation: 17-13=4 Exploring Operation: 17-13=4, Resulting Numbers: [17, 4] Generated Node #0,4,2: 45:[17, 4] Operation: 17-13=4 Exploring Operation: 17+17=34, Resulting Numbers: [13, 34] Generated Node #0,4,3: 45:[13, 34] Operation: 17+17=34 Exploring Operation: 17/17=1, Resulting Numbers: [13, 1] Generated Node #0,4,4: 45:[13, 1] Operation: 17/17=1 Moving to Node #0,2 Current State: 45:[51, 13, 2], Operations: ['34/17=2'] Exploring Operation: 13-2=11, Resulting Numbers: [51, 11] Generated Node #0,2,0: 45:[51, 11] Operation: 13-2=11 Exploring Operation: 13+2=15, Resulting Numbers: [51, 15] Generated Node #0,2,1: 45:[51, 15] Operation: 13+2=15 Exploring Operation: 51-13=38, Resulting Numbers: [2, 38] Generated Node #0,2,2: 45:[2, 38] Operation: 51-13=38 Exploring Operation: 51-2=49, Resulting Numbers: [13, 49] Generated Node #0,2,3: 45:[13, 49] Operation: 51-2=49 Exploring Operation: 51+2=53, Resulting Numbers: [13, 53] Generated Node #0,2,4: 45:[13, 53] Operation: 51+2=53 Moving to Node #0,1 Current State: 45:[51, 13, 17], Operations: ['34-17=17'] Exploring Operation: 51+13=64, Resulting Numbers: [17, 64] Generated Node #0,1,0: 45:[17, 64] Operation: 51+13=64 Exploring Operation: 51-17=34, Resulting Numbers: [13, 34] Generated Node #0,1,1: 45:[13, 34] Operation: 51-17=34 Exploring Operation: 17-13=4, Resulting Numbers: [51, 4] Generated Node #0,1,2: 45:[51, 4] Operation: 17-13=4 Exploring Operation: 51-13=38, Resulting Numbers: [17, 38] Generated Node #0,1,3: 45:[17, 38] Operation: 51-13=38 Exploring Operation: 51/17=3, Resulting Numbers: [13, 3] Generated Node #0,1,4: 45:[13, 3] Operation: 51/17=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 45:[13, 3], Operations: ['34-17=17', '51/17=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[51, 4], Operations: ['34-17=17', '17-13=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,45 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[17, 38], Operations: ['34-17=17', '51-13=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,45 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,45 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[13, 34], Operations: ['34-17=17', '51-17=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,45 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[17, 64], Operations: ['34-17=17', '51+13=64'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,45 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: 45:[51, 17, 47], Operations: ['34+13=47'] Exploring Operation: 51+17=68, Resulting Numbers: [47, 68] Generated Node #0,3,0: 45:[47, 68] Operation: 51+17=68 Exploring Operation: 51/17=3, Resulting Numbers: [47, 3] Generated Node #0,3,1: 45:[47, 3] Operation: 51/17=3 Exploring Operation: 51-47=4, Resulting Numbers: [17, 4] Generated Node #0,3,2: 45:[17, 4] Operation: 51-47=4 Exploring Operation: 51-17=34, Resulting Numbers: [47, 34] Generated Node #0,3,3: 45:[47, 34] Operation: 51-17=34 Exploring Operation: 47-17=30, Resulting Numbers: [51, 30] Generated Node #0,3,4: 45:[51, 30] Operation: 47-17=30 Moving to Node #0,0 Current State: 45:[34, 13, 3], Operations: ['51/17=3'] Exploring Operation: 34+13=47, Resulting Numbers: [3, 47] Generated Node #0,0,0: 45:[3, 47] Operation: 34+13=47 Exploring Operation: 13+3=16, Resulting Numbers: [34, 16] Generated Node #0,0,1: 45:[34, 16] Operation: 13+3=16 Exploring Operation: 34-13=21, Resulting Numbers: [3, 21] Generated Node #0,0,2: 45:[3, 21] Operation: 34-13=21 Exploring Operation: 34+3=37, Resulting Numbers: [13, 37] Generated Node #0,0,3: 45:[13, 37] Operation: 34+3=37 Exploring Operation: 13-3=10, Resulting Numbers: [34, 10] Generated Node #0,0,4: 45:[34, 10] Operation: 13-3=10 Moving to Node #0,3,1 Current State: 45:[47, 3], Operations: ['34+13=47', '51/17=3'] Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,45 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[3, 47], Operations: ['51/17=3', '34+13=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[17, 4], Operations: ['34+13=47', '51-47=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[17, 4], Operations: ['51-34=17', '17-13=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[17, 4], Operations: ['51-34=17', '17-13=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,4,4 Current State: 45:[13, 1], Operations: ['51-34=17', '17/17=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[13, 0], Operations: ['51-34=17', '17-17=0'] Exploring Operation: 13-0=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 13+0=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 13*0=0, Resulting Numbers: [0] 0,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[13, 49], Operations: ['34/17=2', '51-2=49'] Exploring Operation: 13+49=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 13*49=637, Resulting Numbers: [637] 637,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[51, 15], Operations: ['34/17=2', '13+2=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[3, 21], Operations: ['51/17=3', '34-13=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,45 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[2, 38], Operations: ['34/17=2', '51-13=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,45 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[51, 11], Operations: ['34/17=2', '13-2=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[13, 37], Operations: ['51/17=3', '34+3=37'] Exploring Operation: 13+37=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 13*37=481, Resulting Numbers: [481] 481,45 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[13, 53], Operations: ['34/17=2', '51+2=53'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 13*53=689, Resulting Numbers: [689] 689,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[34, 16], Operations: ['51/17=3', '13+3=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,45 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[34, 10], Operations: ['51/17=3', '13-3=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,45 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[47, 34], Operations: ['34+13=47', '51-17=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,45 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[13, 34], Operations: ['51-34=17', '17+17=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[51, 30], Operations: ['34+13=47', '47-17=30'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[47, 68], Operations: ['34+13=47', '51+17=68'] Exploring Operation: 68-47=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 47+68=115, Resulting Numbers: [115] 115,45 unequal: No Solution Exploring Operation: 47*68=3196, Resulting Numbers: [3196] 3196,45 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 70, 5, 87 ]
51
[ "98+70=168", "87+168=255", "255/5=51" ]
Current State: 51:[98, 70, 5, 87], Operations: [] Exploring Operation: 98+70=168, Resulting Numbers: [5, 87, 168] Generated Node #2: [5, 87, 168] from Operation: 98+70=168 Current State: 51:[5, 87, 168], Operations: ['98+70=168'] Exploring Operation: 87+168=255, Resulting Numbers: [5, 255] Generated Node #3: [5, 255] from Operation: 87+168=255 Current State: 51:[5, 255], Operations: ['98+70=168', '87+168=255'] Exploring Operation: 255/5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[98, 70, 5, 87], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [70, 5, 11] Generated Node #0,0: 51:[70, 5, 11] Operation: 98-87=11 Exploring Operation: 87-70=17, Resulting Numbers: [98, 5, 17] Generated Node #0,1: 51:[98, 5, 17] Operation: 87-70=17 Exploring Operation: 98-5=93, Resulting Numbers: [70, 87, 93] Generated Node #0,2: 51:[70, 87, 93] Operation: 98-5=93 Exploring Operation: 98-70=28, Resulting Numbers: [5, 87, 28] Generated Node #0,3: 51:[5, 87, 28] Operation: 98-70=28 Exploring Operation: 70/5=14, Resulting Numbers: [98, 87, 14] Generated Node #0,4: 51:[98, 87, 14] Operation: 70/5=14 Moving to Node #0,0 Current State: 51:[70, 5, 11], Operations: ['98-87=11'] Exploring Operation: 70/5=14, Resulting Numbers: [11, 14] Generated Node #0,0,0: 51:[11, 14] Operation: 70/5=14 Exploring Operation: 11-5=6, Resulting Numbers: [70, 6] Generated Node #0,0,1: 51:[70, 6] Operation: 11-5=6 Exploring Operation: 70-5=65, Resulting Numbers: [11, 65] Generated Node #0,0,2: 51:[11, 65] Operation: 70-5=65 Exploring Operation: 5+11=16, Resulting Numbers: [70, 16] Generated Node #0,0,3: 51:[70, 16] Operation: 5+11=16 Exploring Operation: 70-11=59, Resulting Numbers: [5, 59] Generated Node #0,0,4: 51:[5, 59] Operation: 70-11=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[11, 14], Operations: ['98-87=11', '70/5=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,51 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 51:[5, 59], Operations: ['98-87=11', '70-11=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[11, 65], Operations: ['98-87=11', '70-5=65'] Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,51 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[70, 16], Operations: ['98-87=11', '5+11=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,51 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[70, 6], Operations: ['98-87=11', '11-5=6'] Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,51 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: 51:[5, 87, 28], Operations: ['98-70=28'] Exploring Operation: 87-28=59, Resulting Numbers: [5, 59] Generated Node #0,3,0: 51:[5, 59] Operation: 87-28=59 Exploring Operation: 87-5=82, Resulting Numbers: [28, 82] Generated Node #0,3,1: 51:[28, 82] Operation: 87-5=82 Exploring Operation: 28-5=23, Resulting Numbers: [87, 23] Generated Node #0,3,2: 51:[87, 23] Operation: 28-5=23 Exploring Operation: 5+28=33, Resulting Numbers: [87, 33] Generated Node #0,3,3: 51:[87, 33] Operation: 5+28=33 Exploring Operation: 5+87=92, Resulting Numbers: [28, 92] Generated Node #0,3,4: 51:[28, 92] Operation: 5+87=92 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[5, 59], Operations: ['98-70=28', '87-28=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 5+59=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 5*59=295, Resulting Numbers: [295] 295,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[28, 82], Operations: ['98-70=28', '87-5=82'] Exploring Operation: 28+82=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 28*82=2296, Resulting Numbers: [2296] 2296,51 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[87, 23], Operations: ['98-70=28', '28-5=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,51 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[87, 33], Operations: ['98-70=28', '5+28=33'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,51 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,51 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 51:[28, 92], Operations: ['98-70=28', '5+87=92'] Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,51 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 51:[98, 5, 17], Operations: ['87-70=17'] Exploring Operation: 98-17=81, Resulting Numbers: [5, 81] Generated Node #0,1,0: 51:[5, 81] Operation: 98-17=81 Exploring Operation: 5+17=22, Resulting Numbers: [98, 22] Generated Node #0,1,1: 51:[98, 22] Operation: 5+17=22 Exploring Operation: 98-5=93, Resulting Numbers: [17, 93] Generated Node #0,1,2: 51:[17, 93] Operation: 98-5=93 Exploring Operation: 98+5=103, Resulting Numbers: [17, 103] Generated Node #0,1,3: 51:[17, 103] Operation: 98+5=103 Exploring Operation: 17-5=12, Resulting Numbers: [98, 12] Generated Node #0,1,4: 51:[98, 12] Operation: 17-5=12 Moving to Node #0,4 Current State: 51:[98, 87, 14], Operations: ['70/5=14'] Exploring Operation: 98-14=84, Resulting Numbers: [87, 84] Generated Node #0,4,0: 51:[87, 84] Operation: 98-14=84 Exploring Operation: 87-14=73, Resulting Numbers: [98, 73] Generated Node #0,4,1: 51:[98, 73] Operation: 87-14=73 Exploring Operation: 98+14=112, Resulting Numbers: [87, 112] Generated Node #0,4,2: 51:[87, 112] Operation: 98+14=112 Exploring Operation: 98/14=7, Resulting Numbers: [87, 7] Generated Node #0,4,3: 51:[87, 7] Operation: 98/14=7 Exploring Operation: 98-87=11, Resulting Numbers: [14, 11] Generated Node #0,4,4: 51:[14, 11] Operation: 98-87=11 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 51:[14, 11], Operations: ['70/5=14', '98-87=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,51 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 51:[87, 7], Operations: ['70/5=14', '98/14=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,51 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,51 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 51:[87, 84], Operations: ['70/5=14', '98-14=84'] Exploring Operation: 87*84=7308, Resulting Numbers: [7308] 7308,51 unequal: No Solution Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 87+84=171, Resulting Numbers: [171] 171,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 51:[98, 73], Operations: ['70/5=14', '87-14=73'] Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 98*73=7154, Resulting Numbers: [7154] 7154,51 unequal: No Solution Exploring Operation: 98+73=171, Resulting Numbers: [171] 171,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 51:[87, 112], Operations: ['70/5=14', '98+14=112'] Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,51 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,51 unequal: No Solution Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,51 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: 51:[70, 87, 93], Operations: ['98-5=93'] Exploring Operation: 70+87=157, Resulting Numbers: [93, 157] Generated Node #0,2,0: 51:[93, 157] Operation: 70+87=157 Exploring Operation: 93-87=6, Resulting Numbers: [70, 6] Generated Node #0,2,1: 51:[70, 6] Operation: 93-87=6 Exploring Operation: 70+93=163, Resulting Numbers: [87, 163] Generated Node #0,2,2: 51:[87, 163] Operation: 70+93=163 Exploring Operation: 93-70=23, Resulting Numbers: [87, 23] Generated Node #0,2,3: 51:[87, 23] Operation: 93-70=23 Exploring Operation: 87-70=17, Resulting Numbers: [93, 17] Generated Node #0,2,4: 51:[93, 17] Operation: 87-70=17 Moving to Node #0,2,1 Current State: 51:[70, 6], Operations: ['98-5=93', '93-87=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[5, 81], Operations: ['87-70=17', '98-17=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,51 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,51 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[87, 23], Operations: ['98-5=93', '93-70=23'] Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,51 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[17, 93], Operations: ['87-70=17', '98-5=93'] Exploring Operation: 17*93=1581, Resulting Numbers: [1581] 1581,51 unequal: No Solution Exploring Operation: 17+93=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[93, 17], Operations: ['98-5=93', '87-70=17'] Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,51 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[98, 22], Operations: ['87-70=17', '5+17=22'] Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,51 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[98, 12], Operations: ['87-70=17', '17-5=12'] Exploring Operation: 98*12=1176, Resulting Numbers: [1176] 1176,51 unequal: No Solution Exploring Operation: 98+12=110, Resulting Numbers: [110] 110,51 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[17, 103], Operations: ['87-70=17', '98+5=103'] Exploring Operation: 17*103=1751, Resulting Numbers: [1751] 1751,51 unequal: No Solution Exploring Operation: 17+103=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 103-17=86, Resulting Numbers: [86] 86,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[87, 163], Operations: ['98-5=93', '70+93=163'] Exploring Operation: 87*163=14181, Resulting Numbers: [14181] 14181,51 unequal: No Solution Exploring Operation: 163-87=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 87+163=250, Resulting Numbers: [250] 250,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[93, 157], Operations: ['98-5=93', '70+87=157'] Exploring Operation: 157-93=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 93+157=250, Resulting Numbers: [250] 250,51 unequal: No Solution Exploring Operation: 93*157=14601, Resulting Numbers: [14601] 14601,51 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 59, 14, 10, 49 ]
86
[ "59-49=10", "10*10=100", "100-14=86" ]
Current State: 86:[59, 14, 10, 49], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [14, 10, 10] Generated Node #2: [14, 10, 10] from Operation: 59-49=10 Current State: 86:[14, 10, 10], Operations: ['59-49=10'] Exploring Operation: 10*10=100, Resulting Numbers: [14, 100] Generated Node #3: [14, 100] from Operation: 10*10=100 Current State: 86:[14, 100], Operations: ['59-49=10', '10*10=100'] Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[59, 14, 10, 49], Operations: [] Exploring Operation: 59-10=49, Resulting Numbers: [14, 49, 49] Generated Node #0,0: 86:[14, 49, 49] Operation: 59-10=49 Exploring Operation: 14-10=4, Resulting Numbers: [59, 49, 4] Generated Node #0,1: 86:[59, 49, 4] Operation: 14-10=4 Exploring Operation: 59-14=45, Resulting Numbers: [10, 49, 45] Generated Node #0,2: 86:[10, 49, 45] Operation: 59-14=45 Exploring Operation: 59+14=73, Resulting Numbers: [10, 49, 73] Generated Node #0,3: 86:[10, 49, 73] Operation: 59+14=73 Moving to Node #0,2 Current State: 86:[10, 49, 45], Operations: ['59-14=45'] Exploring Operation: 49+45=94, Resulting Numbers: [10, 94] Generated Node #0,2,0: 86:[10, 94] Operation: 49+45=94 Exploring Operation: 49-45=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 86:[10, 4] Operation: 49-45=4 Exploring Operation: 45-10=35, Resulting Numbers: [49, 35] Generated Node #0,2,2: 86:[49, 35] Operation: 45-10=35 Exploring Operation: 49-10=39, Resulting Numbers: [45, 39] Generated Node #0,2,3: 86:[45, 39] Operation: 49-10=39 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 86:[45, 39], Operations: ['59-14=45', '49-10=39'] Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,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:[10, 4], Operations: ['59-14=45', '49-45=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,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,2 Current State: 86:[49, 35], Operations: ['59-14=45', '45-10=35'] Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,86 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,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, 94], Operations: ['59-14=45', '49+45=94'] Exploring Operation: 10*94=940, Resulting Numbers: [940] 940,86 unequal: No Solution Exploring Operation: 10+94=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 94-10=84, Resulting Numbers: [84] 84,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[59, 49, 4], Operations: ['14-10=4'] Exploring Operation: 49-4=45, Resulting Numbers: [59, 45] Generated Node #0,1,0: 86:[59, 45] Operation: 49-4=45 Exploring Operation: 59-4=55, Resulting Numbers: [49, 55] Generated Node #0,1,1: 86:[49, 55] Operation: 59-4=55 Exploring Operation: 59+49=108, Resulting Numbers: [4, 108] Generated Node #0,1,2: 86:[4, 108] Operation: 59+49=108 Exploring Operation: 59-49=10, Resulting Numbers: [4, 10] Generated Node #0,1,3: 86:[4, 10] Operation: 59-49=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[4, 10], Operations: ['14-10=4', '59-49=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,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:[59, 45], Operations: ['14-10=4', '49-4=45'] Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,86 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,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,1 Current State: 86:[49, 55], Operations: ['14-10=4', '59-4=55'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,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:[4, 108], Operations: ['14-10=4', '59+49=108'] Exploring Operation: 4*108=432, Resulting Numbers: [432] 432,86 unequal: No Solution Exploring Operation: 108/4=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 4+108=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 108-4=104, Resulting Numbers: [104] 104,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:[14, 49, 49], Operations: ['59-10=49'] Exploring Operation: 49-49=0, Resulting Numbers: [14, 0] Generated Node #0,0,0: 86:[14, 0] Operation: 49-49=0 Exploring Operation: 49-14=35, Resulting Numbers: [49, 35] Generated Node #0,0,1: 86:[49, 35] Operation: 49-14=35 Exploring Operation: 49/49=1, Resulting Numbers: [14, 1] Generated Node #0,0,2: 86:[14, 1] Operation: 49/49=1 Exploring Operation: 49-14=35, Resulting Numbers: [49, 35] Generated Node #0,0,3: 86:[49, 35] Operation: 49-14=35 Moving to Node #0,3 Current State: 86:[10, 49, 73], Operations: ['59+14=73'] Exploring Operation: 73-10=63, Resulting Numbers: [49, 63] Generated Node #0,3,0: 86:[49, 63] Operation: 73-10=63 Exploring Operation: 49-10=39, Resulting Numbers: [73, 39] Generated Node #0,3,1: 86:[73, 39] Operation: 49-10=39 Exploring Operation: 10+73=83, Resulting Numbers: [49, 83] Generated Node #0,3,2: 86:[49, 83] Operation: 10+73=83 Exploring Operation: 73-49=24, Resulting Numbers: [10, 24] Generated Node #0,3,3: 86:[10, 24] Operation: 73-49=24 Moving to Node #0,3,2 Current State: 86:[49, 83], Operations: ['59+14=73', '10+73=83'] Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,86 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[14, 1], Operations: ['59-10=49', '49/49=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,86 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[49, 35], Operations: ['59-10=49', '49-14=35'] Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,86 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[14, 0], Operations: ['59-10=49', '49-49=0'] Exploring Operation: 14+0=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 14*0=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 14-0=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[49, 35], Operations: ['59-10=49', '49-14=35'] Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,86 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[73, 39], Operations: ['59+14=73', '49-10=39'] Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,86 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[49, 63], Operations: ['59+14=73', '73-10=63'] Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,86 unequal: No Solution Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,86 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[10, 24], Operations: ['59+14=73', '73-49=24'] Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,86 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 11, 49, 57, 28 ]
47
[ "49-11=38", "57+28=85", "85-38=47" ]
Current State: 47:[11, 49, 57, 28], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [57, 28, 38] Generated Node #2: [57, 28, 38] from Operation: 49-11=38 Current State: 47:[57, 28, 38], Operations: ['49-11=38'] Exploring Operation: 57+28=85, Resulting Numbers: [38, 85] Generated Node #3: [38, 85] from Operation: 57+28=85 Current State: 47:[38, 85], Operations: ['49-11=38', '57+28=85'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[11, 49, 57, 28], Operations: [] Exploring Operation: 49-11=38, Resulting Numbers: [57, 28, 38] Generated Node #0,0: 47:[57, 28, 38] Operation: 49-11=38 Exploring Operation: 11+28=39, Resulting Numbers: [49, 57, 39] Generated Node #0,1: 47:[49, 57, 39] Operation: 11+28=39 Exploring Operation: 57-11=46, Resulting Numbers: [49, 28, 46] Generated Node #0,2: 47:[49, 28, 46] Operation: 57-11=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[49, 57, 39], Operations: ['11+28=39'] Exploring Operation: 57-39=18, Resulting Numbers: [49, 18] Generated Node #0,1,0: 47:[49, 18] Operation: 57-39=18 Exploring Operation: 49-39=10, Resulting Numbers: [57, 10] Generated Node #0,1,1: 47:[57, 10] Operation: 49-39=10 Exploring Operation: 57-49=8, Resulting Numbers: [39, 8] Generated Node #0,1,2: 47:[39, 8] Operation: 57-49=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[49, 18], Operations: ['11+28=39', '57-39=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,47 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[57, 10], Operations: ['11+28=39', '49-39=10'] Exploring Operation: 57*10=570, Resulting Numbers: [570] 570,47 unequal: No Solution Exploring Operation: 57+10=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[11, 49, 57, 28], Operations: [] Exploring Operation: 11+28=39, Resulting Numbers: [49, 57, 39] Generated Node #0,1: 47:[49, 57, 39] Operation: 11+28=39 Moving to Node #0,1 Current State: 47:[49, 57, 39], Operations: ['11+28=39'] Exploring Operation: 49-39=10, Resulting Numbers: [57, 10] Generated Node #0,1,1: 47:[57, 10] Operation: 49-39=10 Moving to Node #0,1,1 Current State: 47:[57, 10], Operations: ['11+28=39', '49-39=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 5, 10, 8, 25 ]
29
[ "10/5=2", "8/2=4", "25+4=29" ]
Current State: 29:[5, 10, 8, 25], Operations: [] Exploring Operation: 10/5=2, Resulting Numbers: [8, 25, 2] Generated Node #2: [8, 25, 2] from Operation: 10/5=2 Current State: 29:[8, 25, 2], Operations: ['10/5=2'] Exploring Operation: 8/2=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 8/2=4 Current State: 29:[25, 4], Operations: ['10/5=2', '8/2=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[5, 10, 8, 25], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [10, 25, 40] Generated Node #0,0: 29:[10, 25, 40] Operation: 5*8=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[10, 25, 40], Operations: ['5*8=40'] Exploring Operation: 40-10=30, Resulting Numbers: [25, 30] Generated Node #0,0,0: 29:[25, 30] Operation: 40-10=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[25, 30], Operations: ['5*8=40', '40-10=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 43, 89, 30 ]
11
[ "30-18=12", "43+89=132", "132/12=11" ]
Current State: 11:[18, 43, 89, 30], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [43, 89, 12] Generated Node #2: [43, 89, 12] from Operation: 30-18=12 Current State: 11:[43, 89, 12], Operations: ['30-18=12'] Exploring Operation: 43+89=132, Resulting Numbers: [12, 132] Generated Node #3: [12, 132] from Operation: 43+89=132 Current State: 11:[12, 132], Operations: ['30-18=12', '43+89=132'] Exploring Operation: 132/12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[18, 43, 89, 30], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [18, 30, 46] Generated Node #0,0: 11:[18, 30, 46] Operation: 89-43=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[18, 30, 46], Operations: ['89-43=46'] Exploring Operation: 46-30=16, Resulting Numbers: [18, 16] Generated Node #0,0,0: 11:[18, 16] Operation: 46-30=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[18, 16], Operations: ['89-43=46', '46-30=16'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 18, 14, 7, 90 ]
74
[ "90-18=72", "14/7=2", "72+2=74" ]
Current State: 74:[18, 14, 7, 90], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [14, 7, 72] Generated Node #2: [14, 7, 72] from Operation: 90-18=72 Current State: 74:[14, 7, 72], Operations: ['90-18=72'] Exploring Operation: 14/7=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 14/7=2 Current State: 74:[72, 2], Operations: ['90-18=72', '14/7=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[18, 14, 7, 90], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [14, 7, 5] Generated Node #0,0: 74:[14, 7, 5] Operation: 90/18=5 Exploring Operation: 18-14=4, Resulting Numbers: [7, 90, 4] Generated Node #0,1: 74:[7, 90, 4] Operation: 18-14=4 Exploring Operation: 90-18=72, Resulting Numbers: [14, 7, 72] Generated Node #0,2: 74:[14, 7, 72] Operation: 90-18=72 Moving to Node #0,2 Current State: 74:[14, 7, 72], Operations: ['90-18=72'] Exploring Operation: 14/7=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 74:[72, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [72, 7] Generated Node #0,2,1: 74:[72, 7] Operation: 14-7=7 Exploring Operation: 14+72=86, Resulting Numbers: [7, 86] Generated Node #0,2,2: 74:[7, 86] Operation: 14+72=86 Moving to Node #0,0 Current State: 74:[14, 7, 5], Operations: ['90/18=5'] Exploring Operation: 14-7=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 74:[5, 7] Operation: 14-7=7 Exploring Operation: 14*5=70, Resulting Numbers: [7, 70] Generated Node #0,0,1: 74:[7, 70] Operation: 14*5=70 Exploring Operation: 14/7=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 74:[5, 2] Operation: 14/7=2 Moving to Node #0,1 Current State: 74:[7, 90, 4], Operations: ['18-14=4'] Exploring Operation: 90-7=83, Resulting Numbers: [4, 83] Generated Node #0,1,0: 74:[4, 83] Operation: 90-7=83 Exploring Operation: 7-4=3, Resulting Numbers: [90, 3] Generated Node #0,1,1: 74:[90, 3] Operation: 7-4=3 Exploring Operation: 90-4=86, Resulting Numbers: [7, 86] Generated Node #0,1,2: 74:[7, 86] Operation: 90-4=86 Moving to Node #0,2,0 Current State: 74:[72, 2], Operations: ['90-18=72', '14/7=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,74 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[18, 14, 7, 90], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [14, 7, 72] Generated Node #0,2: 74:[14, 7, 72] Operation: 90-18=72 Moving to Node #0,2 Current State: 74:[14, 7, 72], Operations: ['90-18=72'] Exploring Operation: 14/7=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 74:[72, 2] Operation: 14/7=2 Moving to Node #0,2,0 Current State: 74:[72, 2], Operations: ['90-18=72', '14/7=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 31, 92, 67, 46 ]
100
[ "31+67=98", "92/46=2", "98+2=100" ]
Current State: 100:[31, 92, 67, 46], Operations: [] Exploring Operation: 31+67=98, Resulting Numbers: [92, 46, 98] Generated Node #2: [92, 46, 98] from Operation: 31+67=98 Current State: 100:[92, 46, 98], Operations: ['31+67=98'] Exploring Operation: 92/46=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 92/46=2 Current State: 100:[98, 2], Operations: ['31+67=98', '92/46=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[31, 92, 67, 46], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [31, 46, 25] Generated Node #0,0: 100:[31, 46, 25] Operation: 92-67=25 Moving to Node #0,0 Current State: 100:[31, 46, 25], Operations: ['92-67=25'] Exploring Operation: 46-31=15, Resulting Numbers: [25, 15] Generated Node #0,0,0: 100:[25, 15] Operation: 46-31=15 Moving to Node #0,0,0 Current State: 100:[25, 15], Operations: ['92-67=25', '46-31=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 79, 42, 28 ]
73
[ "79-76=3", "42+28=70", "3+70=73" ]
Current State: 73:[76, 79, 42, 28], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [42, 28, 3] Generated Node #2: [42, 28, 3] from Operation: 79-76=3 Current State: 73:[42, 28, 3], Operations: ['79-76=3'] Exploring Operation: 42+28=70, Resulting Numbers: [3, 70] Generated Node #3: [3, 70] from Operation: 42+28=70 Current State: 73:[3, 70], Operations: ['79-76=3', '42+28=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[76, 79, 42, 28], Operations: [] Exploring Operation: 42+28=70, Resulting Numbers: [76, 79, 70] Generated Node #0,0: 73:[76, 79, 70] Operation: 42+28=70 Moving to Node #0,0 Current State: 73:[76, 79, 70], Operations: ['42+28=70'] Exploring Operation: 79-70=9, Resulting Numbers: [76, 9] Generated Node #0,0,0: 73:[76, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[76, 9], Operations: ['42+28=70', '79-70=9'] Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 51, 4, 41, 37 ]
19
[ "51+37=88", "88/4=22", "41-22=19" ]
Current State: 19:[51, 4, 41, 37], Operations: [] Exploring Operation: 51+37=88, Resulting Numbers: [4, 41, 88] Generated Node #2: [4, 41, 88] from Operation: 51+37=88 Current State: 19:[4, 41, 88], Operations: ['51+37=88'] Exploring Operation: 88/4=22, Resulting Numbers: [41, 22] Generated Node #3: [41, 22] from Operation: 88/4=22 Current State: 19:[41, 22], Operations: ['51+37=88', '88/4=22'] Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[51, 4, 41, 37], Operations: [] Exploring Operation: 41-37=4, Resulting Numbers: [51, 4, 4] Generated Node #0,0: 19:[51, 4, 4] Operation: 41-37=4 Exploring Operation: 51-4=47, Resulting Numbers: [41, 37, 47] Generated Node #0,1: 19:[41, 37, 47] Operation: 51-4=47 Exploring Operation: 51-41=10, Resulting Numbers: [4, 37, 10] Generated Node #0,2: 19:[4, 37, 10] Operation: 51-41=10 Exploring Operation: 51-37=14, Resulting Numbers: [4, 41, 14] Generated Node #0,3: 19:[4, 41, 14] Operation: 51-37=14 Moving to Node #0,2 Current State: 19:[4, 37, 10], Operations: ['51-41=10'] Exploring Operation: 37-4=33, Resulting Numbers: [10, 33] Generated Node #0,2,0: 19:[10, 33] Operation: 37-4=33 Exploring Operation: 4+37=41, Resulting Numbers: [10, 41] Generated Node #0,2,1: 19:[10, 41] Operation: 4+37=41 Exploring Operation: 4+10=14, Resulting Numbers: [37, 14] Generated Node #0,2,2: 19:[37, 14] Operation: 4+10=14 Exploring Operation: 37-10=27, Resulting Numbers: [4, 27] Generated Node #0,2,3: 19:[4, 27] Operation: 37-10=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[10, 33], Operations: ['51-41=10', '37-4=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,19 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[37, 14], Operations: ['51-41=10', '4+10=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 19:[4, 27], Operations: ['51-41=10', '37-10=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[10, 41], Operations: ['51-41=10', '4+37=41'] Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,19 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,19 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: 19:[4, 41, 14], Operations: ['51-37=14'] Exploring Operation: 41-4=37, Resulting Numbers: [14, 37] Generated Node #0,3,0: 19:[14, 37] Operation: 41-4=37 Exploring Operation: 4+14=18, Resulting Numbers: [41, 18] Generated Node #0,3,1: 19:[41, 18] Operation: 4+14=18 Exploring Operation: 41-14=27, Resulting Numbers: [4, 27] Generated Node #0,3,2: 19:[4, 27] Operation: 41-14=27 Exploring Operation: 4+41=45, Resulting Numbers: [14, 45] Generated Node #0,3,3: 19:[14, 45] Operation: 4+41=45 Moving to Node #0,0 Current State: 19:[51, 4, 4], Operations: ['41-37=4'] Exploring Operation: 51-4=47, Resulting Numbers: [4, 47] Generated Node #0,0,0: 19:[4, 47] Operation: 51-4=47 Exploring Operation: 4*4=16, Resulting Numbers: [51, 16] Generated Node #0,0,1: 19:[51, 16] Operation: 4*4=16 Exploring Operation: 51-4=47, Resulting Numbers: [4, 47] Generated Node #0,0,2: 19:[4, 47] Operation: 51-4=47 Exploring Operation: 4+4=8, Resulting Numbers: [51, 8] Generated Node #0,0,3: 19:[51, 8] Operation: 4+4=8 Moving to Node #0,1 Current State: 19:[41, 37, 47], Operations: ['51-4=47'] Exploring Operation: 47-41=6, Resulting Numbers: [37, 6] Generated Node #0,1,0: 19:[37, 6] Operation: 47-41=6 Exploring Operation: 41-37=4, Resulting Numbers: [47, 4] Generated Node #0,1,1: 19:[47, 4] Operation: 41-37=4 Exploring Operation: 47-37=10, Resulting Numbers: [41, 10] Generated Node #0,1,2: 19:[41, 10] Operation: 47-37=10 Exploring Operation: 41+37=78, Resulting Numbers: [47, 78] Generated Node #0,1,3: 19:[47, 78] Operation: 41+37=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[37, 6], Operations: ['51-4=47', '47-41=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,19 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[41, 10], Operations: ['51-4=47', '47-37=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,19 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[47, 4], Operations: ['51-4=47', '41-37=4'] Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,19 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[47, 78], Operations: ['51-4=47', '41+37=78'] Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,19 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,19 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: 19:[14, 37], Operations: ['51-37=14', '41-4=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,19 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[4, 27], Operations: ['51-37=14', '41-14=27'] Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,19 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[41, 18], Operations: ['51-37=14', '4+14=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,19 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[14, 45], Operations: ['51-37=14', '4+41=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,19 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[51, 16], Operations: ['41-37=4', '4*4=16'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 51+16=67, Resulting Numbers: [67] 67,19 unequal: No Solution Exploring Operation: 51*16=816, Resulting Numbers: [816] 816,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[4, 47], Operations: ['41-37=4', '51-4=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[51, 8], Operations: ['41-37=4', '4+4=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,19 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[4, 47], Operations: ['41-37=4', '51-4=47'] Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,19 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 90, 96, 18, 5 ]
78
[ "96-90=6", "18-5=13", "6*13=78" ]
Current State: 78:[90, 96, 18, 5], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [18, 5, 6] Generated Node #2: [18, 5, 6] from Operation: 96-90=6 Current State: 78:[18, 5, 6], Operations: ['96-90=6'] Exploring Operation: 18-5=13, Resulting Numbers: [6, 13] Generated Node #3: [6, 13] from Operation: 18-5=13 Current State: 78:[6, 13], Operations: ['96-90=6', '18-5=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[90, 96, 18, 5], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [18, 5, 6] Generated Node #0,0: 78:[18, 5, 6] Operation: 96-90=6 Exploring Operation: 96-18=78, Resulting Numbers: [90, 5, 78] Generated Node #0,1: 78:[90, 5, 78] Operation: 96-18=78 Exploring Operation: 90/18=5, Resulting Numbers: [96, 5, 5] Generated Node #0,2: 78:[96, 5, 5] Operation: 90/18=5 Moving to Node #0,0 Current State: 78:[18, 5, 6], Operations: ['96-90=6'] Exploring Operation: 18/6=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 78:[5, 3] Operation: 18/6=3 Exploring Operation: 18-5=13, Resulting Numbers: [6, 13] Generated Node #0,0,1: 78:[6, 13] Operation: 18-5=13 Exploring Operation: 18-6=12, Resulting Numbers: [5, 12] Generated Node #0,0,2: 78:[5, 12] Operation: 18-6=12 Moving to Node #0,1 Current State: 78:[90, 5, 78], Operations: ['96-18=78'] Exploring Operation: 90-78=12, Resulting Numbers: [5, 12] Generated Node #0,1,0: 78:[5, 12] Operation: 90-78=12 Exploring Operation: 90/5=18, Resulting Numbers: [78, 18] Generated Node #0,1,1: 78:[78, 18] Operation: 90/5=18 Exploring Operation: 90-5=85, Resulting Numbers: [78, 85] Generated Node #0,1,2: 78:[78, 85] Operation: 90-5=85 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[5, 12], Operations: ['96-18=78', '90-78=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[78, 18], Operations: ['96-18=78', '90/5=18'] Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,78 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,78 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 78:[78, 85], Operations: ['96-18=78', '90-5=85'] Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 78*85=6630, Resulting Numbers: [6630] 6630,78 unequal: No Solution Exploring Operation: 78+85=163, Resulting Numbers: [163] 163,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 78:[96, 5, 5], Operations: ['90/18=5'] Exploring Operation: 96-5=91, Resulting Numbers: [5, 91] Generated Node #0,2,0: 78:[5, 91] Operation: 96-5=91 Exploring Operation: 5*5=25, Resulting Numbers: [96, 25] Generated Node #0,2,1: 78:[96, 25] Operation: 5*5=25 Exploring Operation: 96-5=91, Resulting Numbers: [5, 91] Generated Node #0,2,2: 78:[5, 91] Operation: 96-5=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[5, 91], Operations: ['90/18=5', '96-5=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,78 unequal: No Solution Exploring Operation: 5*91=455, Resulting Numbers: [455] 455,78 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[5, 91], Operations: ['90/18=5', '96-5=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,78 unequal: No Solution Exploring Operation: 5*91=455, Resulting Numbers: [455] 455,78 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[96, 25], Operations: ['90/18=5', '5*5=25'] Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 96*25=2400, Resulting Numbers: [2400] 2400,78 unequal: No Solution Exploring Operation: 96+25=121, Resulting Numbers: [121] 121,78 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: 78:[6, 13], Operations: ['96-90=6', '18-5=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[90, 96, 18, 5], Operations: [] Exploring Operation: 96-90=6, Resulting Numbers: [18, 5, 6] Generated Node #0,0: 78:[18, 5, 6] Operation: 96-90=6 Moving to Node #0,0 Current State: 78:[18, 5, 6], Operations: ['96-90=6'] Exploring Operation: 18-5=13, Resulting Numbers: [6, 13] Generated Node #0,0,1: 78:[6, 13] Operation: 18-5=13 Moving to Node #0,0,1 Current State: 78:[6, 13], Operations: ['96-90=6', '18-5=13'] Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 12, 36, 90, 6 ]
93
[ "36/12=3", "90+6=96", "96-3=93" ]
Current State: 93:[12, 36, 90, 6], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [90, 6, 3] Generated Node #2: [90, 6, 3] from Operation: 36/12=3 Current State: 93:[90, 6, 3], Operations: ['36/12=3'] Exploring Operation: 90+6=96, Resulting Numbers: [3, 96] Generated Node #3: [3, 96] from Operation: 90+6=96 Current State: 93:[3, 96], Operations: ['36/12=3', '90+6=96'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[12, 36, 90, 6], Operations: [] Exploring Operation: 36-12=24, Resulting Numbers: [90, 6, 24] Generated Node #0,0: 93:[90, 6, 24] Operation: 36-12=24 Exploring Operation: 12-6=6, Resulting Numbers: [36, 90, 6] Generated Node #0,1: 93:[36, 90, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [36, 90, 2] Generated Node #0,2: 93:[36, 90, 2] Operation: 12/6=2 Exploring Operation: 36/12=3, Resulting Numbers: [90, 6, 3] Generated Node #0,3: 93:[90, 6, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[90, 6, 3], Operations: ['36/12=3'] Exploring Operation: 6-3=3, Resulting Numbers: [90, 3] Generated Node #0,3,0: 93:[90, 3] Operation: 6-3=3 Exploring Operation: 90+6=96, Resulting Numbers: [3, 96] Generated Node #0,3,1: 93:[3, 96] Operation: 90+6=96 Exploring Operation: 90+3=93, Resulting Numbers: [6, 93] Generated Node #0,3,2: 93:[6, 93] Operation: 90+3=93 Exploring Operation: 90/3=30, Resulting Numbers: [6, 30] Generated Node #0,3,3: 93:[6, 30] Operation: 90/3=30 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[90, 3], Operations: ['36/12=3', '6-3=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[12, 36, 90, 6], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [90, 6, 3] Generated Node #0,3: 93:[90, 6, 3] Operation: 36/12=3 Moving to Node #0,3 Current State: 93:[90, 6, 3], Operations: ['36/12=3'] Exploring Operation: 6-3=3, Resulting Numbers: [90, 3] Generated Node #0,3,0: 93:[90, 3] Operation: 6-3=3 Moving to Node #0,3,0 Current State: 93:[90, 3], Operations: ['36/12=3', '6-3=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 21, 84, 79, 22 ]
48
[ "21+84=105", "79-22=57", "105-57=48" ]
Current State: 48:[21, 84, 79, 22], Operations: [] Exploring Operation: 21+84=105, Resulting Numbers: [79, 22, 105] Generated Node #2: [79, 22, 105] from Operation: 21+84=105 Current State: 48:[79, 22, 105], Operations: ['21+84=105'] Exploring Operation: 79-22=57, Resulting Numbers: [105, 57] Generated Node #3: [105, 57] from Operation: 79-22=57 Current State: 48:[105, 57], Operations: ['21+84=105', '79-22=57'] Exploring Operation: 105-57=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[21, 84, 79, 22], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [21, 22, 5] Generated Node #0,0: 48:[21, 22, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[21, 22, 5], Operations: ['84-79=5'] Exploring Operation: 22-21=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 48:[5, 1] Operation: 22-21=1 Moving to Node #0,0,0 Current State: 48:[5, 1], Operations: ['84-79=5', '22-21=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 7, 70, 9 ]
13
[ "70-20=50", "7*9=63", "63-50=13" ]
Current State: 13:[20, 7, 70, 9], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [7, 9, 50] Generated Node #2: [7, 9, 50] from Operation: 70-20=50 Current State: 13:[7, 9, 50], Operations: ['70-20=50'] Exploring Operation: 7*9=63, Resulting Numbers: [50, 63] Generated Node #3: [50, 63] from Operation: 7*9=63 Current State: 13:[50, 63], Operations: ['70-20=50', '7*9=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[20, 7, 70, 9], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [70, 9, 13] Generated Node #0,0: 13:[70, 9, 13] Operation: 20-7=13 Exploring Operation: 70-20=50, Resulting Numbers: [7, 9, 50] Generated Node #0,1: 13:[7, 9, 50] Operation: 70-20=50 Exploring Operation: 70/7=10, Resulting Numbers: [20, 9, 10] Generated Node #0,2: 13:[20, 9, 10] Operation: 70/7=10 Exploring Operation: 70-7=63, Resulting Numbers: [20, 9, 63] Generated Node #0,3: 13:[20, 9, 63] Operation: 70-7=63 Moving to Node #0,2 Current State: 13:[20, 9, 10], Operations: ['70/7=10'] Exploring Operation: 20-9=11, Resulting Numbers: [10, 11] Generated Node #0,2,0: 13:[10, 11] Operation: 20-9=11 Exploring Operation: 20/10=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 13:[9, 2] Operation: 20/10=2 Exploring Operation: 9+10=19, Resulting Numbers: [20, 19] Generated Node #0,2,2: 13:[20, 19] Operation: 9+10=19 Exploring Operation: 20-10=10, Resulting Numbers: [9, 10] Generated Node #0,2,3: 13:[9, 10] Operation: 20-10=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 13:[10, 11], Operations: ['70/7=10', '20-9=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,13 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 13:[9, 10], Operations: ['70/7=10', '20-10=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,13 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,13 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,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,2 Current State: 13:[20, 19], Operations: ['70/7=10', '9+10=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,13 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 13:[9, 2], Operations: ['70/7=10', '20/10=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 13:[7, 9, 50], Operations: ['70-20=50'] Exploring Operation: 50-7=43, Resulting Numbers: [9, 43] Generated Node #0,1,0: 13:[9, 43] Operation: 50-7=43 Exploring Operation: 9-7=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 13:[50, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [50, 16] Generated Node #0,1,2: 13:[50, 16] Operation: 7+9=16 Exploring Operation: 50-9=41, Resulting Numbers: [7, 41] Generated Node #0,1,3: 13:[7, 41] Operation: 50-9=41 Moving to Node #0,3 Current State: 13:[20, 9, 63], Operations: ['70-7=63'] Exploring Operation: 63/9=7, Resulting Numbers: [20, 7] Generated Node #0,3,0: 13:[20, 7] Operation: 63/9=7 Exploring Operation: 63-20=43, Resulting Numbers: [9, 43] Generated Node #0,3,1: 13:[9, 43] Operation: 63-20=43 Exploring Operation: 63-9=54, Resulting Numbers: [20, 54] Generated Node #0,3,2: 13:[20, 54] Operation: 63-9=54 Exploring Operation: 20-9=11, Resulting Numbers: [63, 11] Generated Node #0,3,3: 13:[63, 11] Operation: 20-9=11 Moving to Node #0,0 Current State: 13:[70, 9, 13], Operations: ['20-7=13'] Exploring Operation: 70-9=61, Resulting Numbers: [13, 61] Generated Node #0,0,0: 13:[13, 61] Operation: 70-9=61 Exploring Operation: 70-13=57, Resulting Numbers: [9, 57] Generated Node #0,0,1: 13:[9, 57] Operation: 70-13=57 Exploring Operation: 70+9=79, Resulting Numbers: [13, 79] Generated Node #0,0,2: 13:[13, 79] Operation: 70+9=79 Exploring Operation: 9+13=22, Resulting Numbers: [70, 22] Generated Node #0,0,3: 13:[70, 22] Operation: 9+13=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[13, 61], Operations: ['20-7=13', '70-9=61'] Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,13 unequal: No Solution Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[9, 57], Operations: ['20-7=13', '70-13=57'] Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[13, 79], Operations: ['20-7=13', '70+9=79'] Exploring Operation: 13*79=1027, Resulting Numbers: [1027] 1027,13 unequal: No Solution Exploring Operation: 13+79=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 79-13=66, Resulting Numbers: [66] 66,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[70, 22], Operations: ['20-7=13', '9+13=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,13 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 13:[20, 7], Operations: ['70-7=63', '63/9=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[20, 7, 70, 9], Operations: [] Exploring Operation: 70-7=63, Resulting Numbers: [20, 9, 63] Generated Node #0,3: 13:[20, 9, 63] Operation: 70-7=63 Moving to Node #0,3 Current State: 13:[20, 9, 63], Operations: ['70-7=63'] Exploring Operation: 63/9=7, Resulting Numbers: [20, 7] Generated Node #0,3,0: 13:[20, 7] Operation: 63/9=7 Moving to Node #0,3,0 Current State: 13:[20, 7], Operations: ['70-7=63', '63/9=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 7, 58, 21, 49 ]
44
[ "49/7=7", "58-21=37", "7+37=44" ]
Current State: 44:[7, 58, 21, 49], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [58, 21, 7] Generated Node #2: [58, 21, 7] from Operation: 49/7=7 Current State: 44:[58, 21, 7], Operations: ['49/7=7'] Exploring Operation: 58-21=37, Resulting Numbers: [7, 37] Generated Node #3: [7, 37] from Operation: 58-21=37 Current State: 44:[7, 37], Operations: ['49/7=7', '58-21=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[7, 58, 21, 49], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [7, 49, 37] Generated Node #0,0: 44:[7, 49, 37] Operation: 58-21=37 Exploring Operation: 58-49=9, Resulting Numbers: [7, 21, 9] Generated Node #0,1: 44:[7, 21, 9] Operation: 58-49=9 Exploring Operation: 49-7=42, Resulting Numbers: [58, 21, 42] Generated Node #0,2: 44:[58, 21, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [58, 21, 7] Generated Node #0,3: 44:[58, 21, 7] Operation: 49/7=7 Exploring Operation: 58-7=51, Resulting Numbers: [21, 49, 51] Generated Node #0,4: 44:[21, 49, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[7, 21, 9], Operations: ['58-49=9'] Exploring Operation: 9-7=2, Resulting Numbers: [21, 2] Generated Node #0,1,0: 44:[21, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 44:[21, 16] Operation: 7+9=16 Exploring Operation: 21-9=12, Resulting Numbers: [7, 12] Generated Node #0,1,2: 44:[7, 12] Operation: 21-9=12 Exploring Operation: 21-7=14, Resulting Numbers: [9, 14] Generated Node #0,1,3: 44:[9, 14] Operation: 21-7=14 Exploring Operation: 21/7=3, Resulting Numbers: [9, 3] Generated Node #0,1,4: 44:[9, 3] Operation: 21/7=3 Moving to Node #0,1,0 Current State: 44:[21, 2], Operations: ['58-49=9', '9-7=2'] Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[9, 3], Operations: ['58-49=9', '21/7=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[7, 12], Operations: ['58-49=9', '21-9=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[9, 14], Operations: ['58-49=9', '21-7=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,44 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[21, 16], Operations: ['58-49=9', '7+9=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,44 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,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,4 Current State: 44:[21, 49, 51], Operations: ['58-7=51'] Exploring Operation: 51-21=30, Resulting Numbers: [49, 30] Generated Node #0,4,0: 44:[49, 30] Operation: 51-21=30 Exploring Operation: 49-21=28, Resulting Numbers: [51, 28] Generated Node #0,4,1: 44:[51, 28] Operation: 49-21=28 Exploring Operation: 21+51=72, Resulting Numbers: [49, 72] Generated Node #0,4,2: 44:[49, 72] Operation: 21+51=72 Exploring Operation: 21+49=70, Resulting Numbers: [51, 70] Generated Node #0,4,3: 44:[51, 70] Operation: 21+49=70 Exploring Operation: 51-49=2, Resulting Numbers: [21, 2] Generated Node #0,4,4: 44:[21, 2] Operation: 51-49=2 Moving to Node #0,4,4 Current State: 44:[21, 2], Operations: ['58-7=51', '51-49=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[51, 28], Operations: ['58-7=51', '49-21=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,44 unequal: No Solution Moving to Node #0,4,0 Current State: 44:[49, 30], Operations: ['58-7=51', '51-21=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[49, 72], Operations: ['58-7=51', '21+51=72'] Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,44 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,44 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,44 unequal: No Solution Moving to Node #0,4,3 Current State: 44:[51, 70], Operations: ['58-7=51', '21+49=70'] Exploring Operation: 51*70=3570, Resulting Numbers: [3570] 3570,44 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 51+70=121, Resulting Numbers: [121] 121,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[7, 49, 37], Operations: ['58-21=37'] Exploring Operation: 49-7=42, Resulting Numbers: [37, 42] Generated Node #0,0,0: 44:[37, 42] Operation: 49-7=42 Exploring Operation: 37-7=30, Resulting Numbers: [49, 30] Generated Node #0,0,1: 44:[49, 30] Operation: 37-7=30 Exploring Operation: 49-37=12, Resulting Numbers: [7, 12] Generated Node #0,0,2: 44:[7, 12] Operation: 49-37=12 Exploring Operation: 49/7=7, Resulting Numbers: [37, 7] Generated Node #0,0,3: 44:[37, 7] Operation: 49/7=7 Exploring Operation: 7+37=44, Resulting Numbers: [49, 44] Generated Node #0,0,4: 44:[49, 44] Operation: 7+37=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[7, 12], Operations: ['58-21=37', '49-37=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 44:[49, 44], Operations: ['58-21=37', '7+37=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,44 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[37, 42], Operations: ['58-21=37', '49-7=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,44 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[37, 7], Operations: ['58-21=37', '49/7=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,44 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[7, 58, 21, 49], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [7, 49, 37] Generated Node #0,0: 44:[7, 49, 37] Operation: 58-21=37 Moving to Node #0,0 Current State: 44:[7, 49, 37], Operations: ['58-21=37'] Exploring Operation: 49/7=7, Resulting Numbers: [37, 7] Generated Node #0,0,3: 44:[37, 7] Operation: 49/7=7 Moving to Node #0,0,3 Current State: 44:[37, 7], Operations: ['58-21=37', '49/7=7'] Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 36, 41, 4, 3 ]
71
[ "36*3=108", "41-4=37", "108-37=71" ]
Current State: 71:[36, 41, 4, 3], Operations: [] Exploring Operation: 36*3=108, Resulting Numbers: [41, 4, 108] Generated Node #2: [41, 4, 108] from Operation: 36*3=108 Current State: 71:[41, 4, 108], Operations: ['36*3=108'] Exploring Operation: 41-4=37, Resulting Numbers: [108, 37] Generated Node #3: [108, 37] from Operation: 41-4=37 Current State: 71:[108, 37], Operations: ['36*3=108', '41-4=37'] Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[36, 41, 4, 3], Operations: [] Exploring Operation: 36+3=39, Resulting Numbers: [41, 4, 39] Generated Node #0,0: 71:[41, 4, 39] Operation: 36+3=39 Exploring Operation: 41+3=44, Resulting Numbers: [36, 4, 44] Generated Node #0,1: 71:[36, 4, 44] Operation: 41+3=44 Exploring Operation: 36+4=40, Resulting Numbers: [41, 3, 40] Generated Node #0,2: 71:[41, 3, 40] Operation: 36+4=40 Exploring Operation: 4*3=12, Resulting Numbers: [36, 41, 12] Generated Node #0,3: 71:[36, 41, 12] Operation: 4*3=12 Exploring Operation: 41+4=45, Resulting Numbers: [36, 3, 45] Generated Node #0,4: 71:[36, 3, 45] Operation: 41+4=45 Moving to Node #0,3 Current State: 71:[36, 41, 12], Operations: ['4*3=12'] Exploring Operation: 41+12=53, Resulting Numbers: [36, 53] Generated Node #0,3,0: 71:[36, 53] Operation: 41+12=53 Exploring Operation: 36+12=48, Resulting Numbers: [41, 48] Generated Node #0,3,1: 71:[41, 48] Operation: 36+12=48 Exploring Operation: 41-12=29, Resulting Numbers: [36, 29] Generated Node #0,3,2: 71:[36, 29] Operation: 41-12=29 Exploring Operation: 36-12=24, Resulting Numbers: [41, 24] Generated Node #0,3,3: 71:[41, 24] Operation: 36-12=24 Exploring Operation: 36+41=77, Resulting Numbers: [12, 77] Generated Node #0,3,4: 71:[12, 77] Operation: 36+41=77 Moving to Node #0,1 Current State: 71:[36, 4, 44], Operations: ['41+3=44'] Exploring Operation: 36+4=40, Resulting Numbers: [44, 40] Generated Node #0,1,0: 71:[44, 40] Operation: 36+4=40 Exploring Operation: 44-4=40, Resulting Numbers: [36, 40] Generated Node #0,1,1: 71:[36, 40] Operation: 44-4=40 Exploring Operation: 36+44=80, Resulting Numbers: [4, 80] Generated Node #0,1,2: 71:[4, 80] Operation: 36+44=80 Exploring Operation: 36-4=32, Resulting Numbers: [44, 32] Generated Node #0,1,3: 71:[44, 32] Operation: 36-4=32 Exploring Operation: 4+44=48, Resulting Numbers: [36, 48] Generated Node #0,1,4: 71:[36, 48] Operation: 4+44=48 Moving to Node #0,4 Current State: 71:[36, 3, 45], Operations: ['41+4=45'] Exploring Operation: 3+45=48, Resulting Numbers: [36, 48] Generated Node #0,4,0: 71:[36, 48] Operation: 3+45=48 Exploring Operation: 36-3=33, Resulting Numbers: [45, 33] Generated Node #0,4,1: 71:[45, 33] Operation: 36-3=33 Exploring Operation: 36+3=39, Resulting Numbers: [45, 39] Generated Node #0,4,2: 71:[45, 39] Operation: 36+3=39 Exploring Operation: 45-3=42, Resulting Numbers: [36, 42] Generated Node #0,4,3: 71:[36, 42] Operation: 45-3=42 Exploring Operation: 36*3=108, Resulting Numbers: [45, 108] Generated Node #0,4,4: 71:[45, 108] Operation: 36*3=108 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[36, 48], Operations: ['41+4=45', '3+45=48'] Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,71 unequal: No Solution Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,71 unequal: No Solution No 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: 71:[45, 39], Operations: ['41+4=45', '36+3=39'] Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 45*39=1755, Resulting Numbers: [1755] 1755,71 unequal: No Solution Exploring Operation: 45+39=84, Resulting Numbers: [84] 84,71 unequal: No Solution No 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: 71:[45, 108], Operations: ['41+4=45', '36*3=108'] Exploring Operation: 45+108=153, Resulting Numbers: [153] 153,71 unequal: No Solution Exploring Operation: 108-45=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 45*108=4860, Resulting Numbers: [4860] 4860,71 unequal: No Solution No 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: 71:[45, 33], Operations: ['41+4=45', '36-3=33'] Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,71 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,71 unequal: No Solution No 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: 71:[36, 42], Operations: ['41+4=45', '45-3=42'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,71 unequal: No Solution Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,71 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: 71:[41, 4, 39], Operations: ['36+3=39'] Exploring Operation: 39-4=35, Resulting Numbers: [41, 35] Generated Node #0,0,0: 71:[41, 35] Operation: 39-4=35 Exploring Operation: 41+4=45, Resulting Numbers: [39, 45] Generated Node #0,0,1: 71:[39, 45] Operation: 41+4=45 Exploring Operation: 41-4=37, Resulting Numbers: [39, 37] Generated Node #0,0,2: 71:[39, 37] Operation: 41-4=37 Exploring Operation: 4+39=43, Resulting Numbers: [41, 43] Generated Node #0,0,3: 71:[41, 43] Operation: 4+39=43 Exploring Operation: 41+39=80, Resulting Numbers: [4, 80] Generated Node #0,0,4: 71:[4, 80] Operation: 41+39=80 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[39, 45], Operations: ['36+3=39', '41+4=45'] Exploring Operation: 39+45=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 45-39=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 39*45=1755, Resulting Numbers: [1755] 1755,71 unequal: No Solution No 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: 71:[41, 43], Operations: ['36+3=39', '4+39=43'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,71 unequal: No Solution No 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: 71:[41, 35], Operations: ['36+3=39', '39-4=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,71 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,71 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,71 unequal: No Solution No 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: 71:[39, 37], Operations: ['36+3=39', '41-4=37'] Exploring Operation: 39*37=1443, Resulting Numbers: [1443] 1443,71 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,71 unequal: No Solution No 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: 71:[4, 80], Operations: ['36+3=39', '41+39=80'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,71 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,71 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: 71:[41, 3, 40], Operations: ['36+4=40'] Exploring Operation: 41-3=38, Resulting Numbers: [40, 38] Generated Node #0,2,0: 71:[40, 38] Operation: 41-3=38 Exploring Operation: 3+40=43, Resulting Numbers: [41, 43] Generated Node #0,2,1: 71:[41, 43] Operation: 3+40=43 Exploring Operation: 41+3=44, Resulting Numbers: [40, 44] Generated Node #0,2,2: 71:[40, 44] Operation: 41+3=44 Exploring Operation: 40-3=37, Resulting Numbers: [41, 37] Generated Node #0,2,3: 71:[41, 37] Operation: 40-3=37 Exploring Operation: 41+40=81, Resulting Numbers: [3, 81] Generated Node #0,2,4: 71:[3, 81] Operation: 41+40=81 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[41, 43], Operations: ['36+4=40', '3+40=43'] Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,71 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,71 unequal: No Solution No 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: 71:[40, 44], Operations: ['36+4=40', '41+3=44'] Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,71 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,71 unequal: No Solution No 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: 71:[40, 38], Operations: ['36+4=40', '41-3=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,71 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,71 unequal: No Solution No 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: 71:[41, 37], Operations: ['36+4=40', '40-3=37'] Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,71 unequal: No Solution No 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: 71:[3, 81], Operations: ['36+4=40', '41+40=81'] Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 3*81=243, Resulting Numbers: [243] 243,71 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,71 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: 71:[36, 53], Operations: ['4*3=12', '41+12=53'] Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 36+53=89, Resulting Numbers: [89] 89,71 unequal: No Solution Exploring Operation: 36*53=1908, Resulting Numbers: [1908] 1908,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[41, 48], Operations: ['4*3=12', '36+12=48'] Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,71 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,71 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[44, 40], Operations: ['41+3=44', '36+4=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,71 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[36, 48], Operations: ['41+3=44', '4+44=48'] Exploring Operation: 36+48=84, Resulting Numbers: [84] 84,71 unequal: No Solution Exploring Operation: 36*48=1728, Resulting Numbers: [1728] 1728,71 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[12, 77], Operations: ['4*3=12', '36+41=77'] Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,71 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[36, 40], Operations: ['41+3=44', '44-4=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,71 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[44, 32], Operations: ['41+3=44', '36-4=32'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,71 unequal: No Solution Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[4, 80], Operations: ['41+3=44', '36+44=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,71 unequal: No Solution Exploring Operation: 4*80=320, Resulting Numbers: [320] 320,71 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 4+80=84, Resulting Numbers: [84] 84,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[41, 24], Operations: ['4*3=12', '36-12=24'] Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,71 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[36, 29], Operations: ['4*3=12', '41-12=29'] Exploring Operation: 36+29=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 36*29=1044, Resulting Numbers: [1044] 1044,71 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,71 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 86, 60, 52, 43 ]
68
[ "86*60=5160", "5160/43=120", "120-52=68" ]
Current State: 68:[86, 60, 52, 43], Operations: [] Exploring Operation: 86*60=5160, Resulting Numbers: [52, 43, 5160] Generated Node #2: [52, 43, 5160] from Operation: 86*60=5160 Current State: 68:[52, 43, 5160], Operations: ['86*60=5160'] Exploring Operation: 5160/43=120, Resulting Numbers: [52, 120] Generated Node #3: [52, 120] from Operation: 5160/43=120 Current State: 68:[52, 120], Operations: ['86*60=5160', '5160/43=120'] Exploring Operation: 120-52=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[86, 60, 52, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [60, 52, 2] Generated Node #0,0: 68:[60, 52, 2] Operation: 86/43=2 Exploring Operation: 86-52=34, Resulting Numbers: [60, 43, 34] Generated Node #0,1: 68:[60, 43, 34] Operation: 86-52=34 Moving to Node #0,1 Current State: 68:[60, 43, 34], Operations: ['86-52=34'] Exploring Operation: 43-34=9, Resulting Numbers: [60, 9] Generated Node #0,1,0: 68:[60, 9] Operation: 43-34=9 Exploring Operation: 60-43=17, Resulting Numbers: [34, 17] Generated Node #0,1,1: 68:[34, 17] Operation: 60-43=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[34, 17], Operations: ['86-52=34', '60-43=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,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,0 Current State: 68:[60, 9], Operations: ['86-52=34', '43-34=9'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 60+9=69, Resulting Numbers: [69] 69,68 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: 68:[60, 52, 2], Operations: ['86/43=2'] Exploring Operation: 60-52=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 68:[2, 8] Operation: 60-52=8 Exploring Operation: 52/2=26, Resulting Numbers: [60, 26] Generated Node #0,0,1: 68:[60, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[2, 8], Operations: ['86/43=2', '60-52=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[60, 26], Operations: ['86/43=2', '52/2=26'] Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,68 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
[ 6, 10, 80, 96 ]
81
[ "10+80=90", "90/6=15", "96-15=81" ]
Current State: 81:[6, 10, 80, 96], Operations: [] Exploring Operation: 10+80=90, Resulting Numbers: [6, 96, 90] Generated Node #2: [6, 96, 90] from Operation: 10+80=90 Current State: 81:[6, 96, 90], Operations: ['10+80=90'] Exploring Operation: 90/6=15, Resulting Numbers: [96, 15] Generated Node #3: [96, 15] from Operation: 90/6=15 Current State: 81:[96, 15], Operations: ['10+80=90', '90/6=15'] Exploring Operation: 96-15=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[6, 10, 80, 96], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [10, 80, 16] Generated Node #0,0: 81:[10, 80, 16] Operation: 96/6=16 Exploring Operation: 96-10=86, Resulting Numbers: [6, 80, 86] Generated Node #0,1: 81:[6, 80, 86] Operation: 96-10=86 Exploring Operation: 96-80=16, Resulting Numbers: [6, 10, 16] Generated Node #0,2: 81:[6, 10, 16] Operation: 96-80=16 Exploring Operation: 96-6=90, Resulting Numbers: [10, 80, 90] Generated Node #0,3: 81:[10, 80, 90] Operation: 96-6=90 Exploring Operation: 10-6=4, Resulting Numbers: [80, 96, 4] Generated Node #0,4: 81:[80, 96, 4] Operation: 10-6=4 Moving to Node #0,0 Current State: 81:[10, 80, 16], Operations: ['96/6=16'] Exploring Operation: 16-10=6, Resulting Numbers: [80, 6] Generated Node #0,0,0: 81:[80, 6] Operation: 16-10=6 Exploring Operation: 80/10=8, Resulting Numbers: [16, 8] Generated Node #0,0,1: 81:[16, 8] Operation: 80/10=8 Exploring Operation: 10+16=26, Resulting Numbers: [80, 26] Generated Node #0,0,2: 81:[80, 26] Operation: 10+16=26 Exploring Operation: 10+80=90, Resulting Numbers: [16, 90] Generated Node #0,0,3: 81:[16, 90] Operation: 10+80=90 Exploring Operation: 80/16=5, Resulting Numbers: [10, 5] Generated Node #0,0,4: 81:[10, 5] Operation: 80/16=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[80, 26], Operations: ['96/6=16', '10+16=26'] Exploring Operation: 80*26=2080, Resulting Numbers: [2080] 2080,81 unequal: No Solution Exploring Operation: 80+26=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 81:[10, 5], Operations: ['96/6=16', '80/16=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[80, 6], Operations: ['96/6=16', '16-10=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,81 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[16, 8], Operations: ['96/6=16', '80/10=8'] Exploring Operation: 16*8=128, Resulting Numbers: [128] 128,81 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,81 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[16, 90], Operations: ['96/6=16', '10+80=90'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,81 unequal: No Solution Exploring Operation: 16*90=1440, Resulting Numbers: [1440] 1440,81 unequal: No Solution Exploring Operation: 16+90=106, Resulting Numbers: [106] 106,81 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: 81:[6, 80, 86], Operations: ['96-10=86'] Exploring Operation: 6+80=86, Resulting Numbers: [86, 86] Generated Node #0,1,0: 81:[86, 86] Operation: 6+80=86 Exploring Operation: 6+86=92, Resulting Numbers: [80, 92] Generated Node #0,1,1: 81:[80, 92] Operation: 6+86=92 Exploring Operation: 80-6=74, Resulting Numbers: [86, 74] Generated Node #0,1,2: 81:[86, 74] Operation: 80-6=74 Exploring Operation: 86-6=80, Resulting Numbers: [80, 80] Generated Node #0,1,3: 81:[80, 80] Operation: 86-6=80 Exploring Operation: 86-80=6, Resulting Numbers: [6, 6] Generated Node #0,1,4: 81:[6, 6] Operation: 86-80=6 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[80, 80], Operations: ['96-10=86', '86-6=80'] Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,81 unequal: No Solution Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,81 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 81:[6, 6], Operations: ['96-10=86', '86-80=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[86, 86], Operations: ['96-10=86', '6+80=86'] Exploring Operation: 86-86=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 86*86=7396, Resulting Numbers: [7396] 7396,81 unequal: No Solution Exploring Operation: 86/86=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 86+86=172, Resulting Numbers: [172] 172,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[80, 92], Operations: ['96-10=86', '6+86=92'] Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,81 unequal: No Solution Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[86, 74], Operations: ['96-10=86', '80-6=74'] Exploring Operation: 86*74=6364, Resulting Numbers: [6364] 6364,81 unequal: No Solution Exploring Operation: 86+74=160, Resulting Numbers: [160] 160,81 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,81 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: 81:[6, 10, 16], Operations: ['96-80=16'] Exploring Operation: 6+16=22, Resulting Numbers: [10, 22] Generated Node #0,2,0: 81:[10, 22] Operation: 6+16=22 Exploring Operation: 10-6=4, Resulting Numbers: [16, 4] Generated Node #0,2,1: 81:[16, 4] Operation: 10-6=4 Exploring Operation: 16-10=6, Resulting Numbers: [6, 6] Generated Node #0,2,2: 81:[6, 6] Operation: 16-10=6 Exploring Operation: 10+16=26, Resulting Numbers: [6, 26] Generated Node #0,2,3: 81:[6, 26] Operation: 10+16=26 Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #0,2,4: 81:[10, 10] Operation: 16-6=10 Moving to Node #0,3 Current State: 81:[10, 80, 90], Operations: ['96-6=90'] Exploring Operation: 10+80=90, Resulting Numbers: [90, 90] Generated Node #0,3,0: 81:[90, 90] Operation: 10+80=90 Exploring Operation: 80/10=8, Resulting Numbers: [90, 8] Generated Node #0,3,1: 81:[90, 8] Operation: 80/10=8 Exploring Operation: 90/10=9, Resulting Numbers: [80, 9] Generated Node #0,3,2: 81:[80, 9] Operation: 90/10=9 Exploring Operation: 90-80=10, Resulting Numbers: [10, 10] Generated Node #0,3,3: 81:[10, 10] Operation: 90-80=10 Exploring Operation: 90-10=80, Resulting Numbers: [80, 80] Generated Node #0,3,4: 81:[80, 80] Operation: 90-10=80 Moving to Node #0,4 Current State: 81:[80, 96, 4], Operations: ['10-6=4'] Exploring Operation: 96-80=16, Resulting Numbers: [4, 16] Generated Node #0,4,0: 81:[4, 16] Operation: 96-80=16 Exploring Operation: 96/4=24, Resulting Numbers: [80, 24] Generated Node #0,4,1: 81:[80, 24] Operation: 96/4=24 Exploring Operation: 80+4=84, Resulting Numbers: [96, 84] Generated Node #0,4,2: 81:[96, 84] Operation: 80+4=84 Exploring Operation: 96-4=92, Resulting Numbers: [80, 92] Generated Node #0,4,3: 81:[80, 92] Operation: 96-4=92 Exploring Operation: 80-4=76, Resulting Numbers: [96, 76] Generated Node #0,4,4: 81:[96, 76] Operation: 80-4=76 Moving to Node #0,3,2 Current State: 81:[80, 9], Operations: ['96-6=90', '90/10=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[10, 10], Operations: ['96-80=16', '16-6=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[10, 10], Operations: ['96-6=90', '90-80=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[80, 80], Operations: ['96-6=90', '90-10=80'] Exploring Operation: 80/80=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 80*80=6400, Resulting Numbers: [6400] 6400,81 unequal: No Solution Exploring Operation: 80+80=160, Resulting Numbers: [160] 160,81 unequal: No Solution Exploring Operation: 80-80=0, Resulting Numbers: [0] 0,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[80, 24], Operations: ['10-6=4', '96/4=24'] Exploring Operation: 80*24=1920, Resulting Numbers: [1920] 1920,81 unequal: No Solution Exploring Operation: 80+24=104, Resulting Numbers: [104] 104,81 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[6, 26], Operations: ['96-80=16', '10+16=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[10, 22], Operations: ['96-80=16', '6+16=22'] Exploring Operation: 10*22=220, Resulting Numbers: [220] 220,81 unequal: No Solution Exploring Operation: 10+22=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[6, 6], Operations: ['96-80=16', '16-10=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[4, 16], Operations: ['10-6=4', '96-80=16'] Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[16, 4], Operations: ['96-80=16', '10-6=4'] Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,81 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[90, 8], Operations: ['96-6=90', '80/10=8'] Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 90*8=720, Resulting Numbers: [720] 720,81 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,81 unequal: No Solution Moving to Node #0,4,3 Current State: 81:[80, 92], Operations: ['10-6=4', '96-4=92'] Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,81 unequal: No Solution Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,81 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[96, 84], Operations: ['10-6=4', '80+4=84'] Exploring Operation: 96+84=180, Resulting Numbers: [180] 180,81 unequal: No Solution Exploring Operation: 96*84=8064, Resulting Numbers: [8064] 8064,81 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[90, 90], Operations: ['96-6=90', '10+80=90'] Exploring Operation: 90*90=8100, Resulting Numbers: [8100] 8100,81 unequal: No Solution Exploring Operation: 90/90=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 90-90=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 90+90=180, Resulting Numbers: [180] 180,81 unequal: No Solution Moving to Node #0,4,4 Current State: 81:[96, 76], Operations: ['10-6=4', '80-4=76'] Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,81 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,81 unequal: No Solution Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,81 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 61, 15, 27, 77 ]
26
[ "61+15=76", "77-27=50", "76-50=26" ]
Current State: 26:[61, 15, 27, 77], Operations: [] Exploring Operation: 61+15=76, Resulting Numbers: [27, 77, 76] Generated Node #2: [27, 77, 76] from Operation: 61+15=76 Current State: 26:[27, 77, 76], Operations: ['61+15=76'] Exploring Operation: 77-27=50, Resulting Numbers: [76, 50] Generated Node #3: [76, 50] from Operation: 77-27=50 Current State: 26:[76, 50], Operations: ['61+15=76', '77-27=50'] Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[61, 15, 27, 77], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [15, 27, 16] Generated Node #0,0: 26:[15, 27, 16] Operation: 77-61=16 Exploring Operation: 61-27=34, Resulting Numbers: [15, 77, 34] Generated Node #0,1: 26:[15, 77, 34] Operation: 61-27=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[15, 27, 16], Operations: ['77-61=16'] Exploring Operation: 27-15=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 26:[16, 12] Operation: 27-15=12 Exploring Operation: 16-15=1, Resulting Numbers: [27, 1] Generated Node #0,0,1: 26:[27, 1] Operation: 16-15=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[27, 1], Operations: ['77-61=16', '16-15=1'] Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[61, 15, 27, 77], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [15, 27, 16] Generated Node #0,0: 26:[15, 27, 16] Operation: 77-61=16 Moving to Node #0,0 Current State: 26:[15, 27, 16], Operations: ['77-61=16'] Exploring Operation: 16-15=1, Resulting Numbers: [27, 1] Generated Node #0,0,1: 26:[27, 1] Operation: 16-15=1 Moving to Node #0,0,1 Current State: 26:[27, 1], Operations: ['77-61=16', '16-15=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 3, 11, 62, 3 ]
16
[ "3+11=14", "62-14=48", "48/3=16" ]
Current State: 16:[3, 11, 62, 3], Operations: [] Exploring Operation: 3+11=14, Resulting Numbers: [62, 14] Generated Node #2: [62, 14] from Operation: 3+11=14 Current State: 16:[62, 14], Operations: ['3+11=14'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,16 equal: Goal Reached Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[3, 11, 62, 3], Operations: [] Exploring Operation: 62-11=51, Resulting Numbers: [3, 3, 51] Generated Node #0,0: 16:[3, 3, 51] Operation: 62-11=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[3, 3, 51], Operations: ['62-11=51'] Exploring Operation: 51/3=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 16:[3, 17] Operation: 51/3=17 Moving to Node #0,0,0 Current State: 16:[3, 17], Operations: ['62-11=51', '51/3=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 66, 60, 61 ]
77
[ "3*66=198", "60+61=121", "198-121=77" ]
Current State: 77:[3, 66, 60, 61], Operations: [] Exploring Operation: 3*66=198, Resulting Numbers: [60, 61, 198] Generated Node #2: [60, 61, 198] from Operation: 3*66=198 Current State: 77:[60, 61, 198], Operations: ['3*66=198'] Exploring Operation: 60+61=121, Resulting Numbers: [198, 121] Generated Node #3: [198, 121] from Operation: 60+61=121 Current State: 77:[198, 121], Operations: ['3*66=198', '60+61=121'] Exploring Operation: 198-121=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[3, 66, 60, 61], Operations: [] Exploring Operation: 60/3=20, Resulting Numbers: [66, 61, 20] Generated Node #0,0: 77:[66, 61, 20] Operation: 60/3=20 Exploring Operation: 61-60=1, Resulting Numbers: [3, 66, 1] Generated Node #0,1: 77:[3, 66, 1] Operation: 61-60=1 Exploring Operation: 66-60=6, Resulting Numbers: [3, 61, 6] Generated Node #0,2: 77:[3, 61, 6] Operation: 66-60=6 Exploring Operation: 66-61=5, Resulting Numbers: [3, 60, 5] Generated Node #0,3: 77:[3, 60, 5] Operation: 66-61=5 Moving to Node #0,1 Current State: 77:[3, 66, 1], Operations: ['61-60=1'] Exploring Operation: 66+1=67, Resulting Numbers: [3, 67] Generated Node #0,1,0: 77:[3, 67] Operation: 66+1=67 Exploring Operation: 3+1=4, Resulting Numbers: [66, 4] Generated Node #0,1,1: 77:[66, 4] Operation: 3+1=4 Exploring Operation: 3*1=3, Resulting Numbers: [66, 3] Generated Node #0,1,2: 77:[66, 3] Operation: 3*1=3 Exploring Operation: 3+66=69, Resulting Numbers: [1, 69] Generated Node #0,1,3: 77:[1, 69] Operation: 3+66=69 Moving to Node #0,2 Current State: 77:[3, 61, 6], Operations: ['66-60=6'] Exploring Operation: 3+61=64, Resulting Numbers: [6, 64] Generated Node #0,2,0: 77:[6, 64] Operation: 3+61=64 Exploring Operation: 61+6=67, Resulting Numbers: [3, 67] Generated Node #0,2,1: 77:[3, 67] Operation: 61+6=67 Exploring Operation: 61-3=58, Resulting Numbers: [6, 58] Generated Node #0,2,2: 77:[6, 58] Operation: 61-3=58 Exploring Operation: 3+6=9, Resulting Numbers: [61, 9] Generated Node #0,2,3: 77:[61, 9] Operation: 3+6=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[6, 64], Operations: ['66-60=6', '3+61=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,77 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[3, 67], Operations: ['66-60=6', '61+6=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,77 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[61, 9], Operations: ['66-60=6', '3+6=9'] Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,77 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[6, 58], Operations: ['66-60=6', '61-3=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,77 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,77 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: 77:[3, 60, 5], Operations: ['66-61=5'] Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #0,3,0: 77:[3, 12] Operation: 60/5=12 Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #0,3,1: 77:[5, 20] Operation: 60/3=20 Exploring Operation: 60+5=65, Resulting Numbers: [3, 65] Generated Node #0,3,2: 77:[3, 65] Operation: 60+5=65 Exploring Operation: 3+60=63, Resulting Numbers: [5, 63] Generated Node #0,3,3: 77:[5, 63] Operation: 3+60=63 Moving to Node #0,0 Current State: 77:[66, 61, 20], Operations: ['60/3=20'] Exploring Operation: 61-20=41, Resulting Numbers: [66, 41] Generated Node #0,0,0: 77:[66, 41] Operation: 61-20=41 Exploring Operation: 66-61=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 77:[20, 5] Operation: 66-61=5 Exploring Operation: 66+20=86, Resulting Numbers: [61, 86] Generated Node #0,0,2: 77:[61, 86] Operation: 66+20=86 Exploring Operation: 61+20=81, Resulting Numbers: [66, 81] Generated Node #0,0,3: 77:[66, 81] Operation: 61+20=81 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[20, 5], Operations: ['60/3=20', '66-61=5'] Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[66, 81], Operations: ['60/3=20', '61+20=81'] Exploring Operation: 66+81=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 66*81=5346, Resulting Numbers: [5346] 5346,77 unequal: No Solution Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[61, 86], Operations: ['60/3=20', '66+20=86'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 61+86=147, Resulting Numbers: [147] 147,77 unequal: No Solution Exploring Operation: 61*86=5246, Resulting Numbers: [5246] 5246,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[66, 41], Operations: ['60/3=20', '61-20=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,77 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,77 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: 77:[3, 12], Operations: ['66-61=5', '60/5=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[5, 20], Operations: ['66-61=5', '60/3=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[1, 69], Operations: ['61-60=1', '3+66=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[3, 67], Operations: ['61-60=1', '66+1=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,77 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[66, 4], Operations: ['61-60=1', '3+1=4'] Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,77 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[66, 3], Operations: ['61-60=1', '3*1=3'] Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,77 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[3, 65], Operations: ['66-61=5', '60+5=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,77 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[5, 63], Operations: ['66-61=5', '3+60=63'] Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,77 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 10, 97, 17, 94 ]
81
[ "10+17=27", "97-94=3", "27*3=81" ]
Current State: 81:[10, 97, 17, 94], Operations: [] Exploring Operation: 10+17=27, Resulting Numbers: [97, 94, 27] Generated Node #2: [97, 94, 27] from Operation: 10+17=27 Current State: 81:[97, 94, 27], Operations: ['10+17=27'] Exploring Operation: 97-94=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 97-94=3 Current State: 81:[27, 3], Operations: ['10+17=27', '97-94=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[10, 97, 17, 94], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [10, 97, 77] Generated Node #0,0: 81:[10, 97, 77] Operation: 94-17=77 Exploring Operation: 97-94=3, Resulting Numbers: [10, 17, 3] Generated Node #0,1: 81:[10, 17, 3] Operation: 97-94=3 Exploring Operation: 97-10=87, Resulting Numbers: [17, 94, 87] Generated Node #0,2: 81:[17, 94, 87] Operation: 97-10=87 Exploring Operation: 97-17=80, Resulting Numbers: [10, 94, 80] Generated Node #0,3: 81:[10, 94, 80] Operation: 97-17=80 Moving to Node #0,1 Current State: 81:[10, 17, 3], Operations: ['97-94=3'] Exploring Operation: 10+17=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 81:[3, 27] Operation: 10+17=27 Exploring Operation: 17+3=20, Resulting Numbers: [10, 20] Generated Node #0,1,1: 81:[10, 20] Operation: 17+3=20 Exploring Operation: 17-10=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 81:[3, 7] Operation: 17-10=7 Exploring Operation: 17-3=14, Resulting Numbers: [10, 14] Generated Node #0,1,3: 81:[10, 14] Operation: 17-3=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[3, 27], Operations: ['97-94=3', '10+17=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[10, 97, 17, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [10, 17, 3] Generated Node #0,1: 81:[10, 17, 3] Operation: 97-94=3 Moving to Node #0,1 Current State: 81:[10, 17, 3], Operations: ['97-94=3'] Exploring Operation: 10+17=27, Resulting Numbers: [3, 27] Generated Node #0,1,0: 81:[3, 27] Operation: 10+17=27 Moving to Node #0,1,0 Current State: 81:[3, 27], Operations: ['97-94=3', '10+17=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 99, 26, 57, 77 ]
53
[ "99-26=73", "77-57=20", "73-20=53" ]
Current State: 53:[99, 26, 57, 77], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [57, 77, 73] Generated Node #2: [57, 77, 73] from Operation: 99-26=73 Current State: 53:[57, 77, 73], Operations: ['99-26=73'] Exploring Operation: 77-57=20, Resulting Numbers: [73, 20] Generated Node #3: [73, 20] from Operation: 77-57=20 Current State: 53:[73, 20], Operations: ['99-26=73', '77-57=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[99, 26, 57, 77], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [57, 77, 73] Generated Node #0,0: 53:[57, 77, 73] Operation: 99-26=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[57, 77, 73], Operations: ['99-26=73'] Exploring Operation: 77-57=20, Resulting Numbers: [73, 20] Generated Node #0,0,0: 53:[73, 20] Operation: 77-57=20 Moving to Node #0,0,0 Current State: 53:[73, 20], Operations: ['99-26=73', '77-57=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[99, 26, 57, 77], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [57, 77, 73] Generated Node #0,0: 53:[57, 77, 73] Operation: 99-26=73 Moving to Node #0,0 Current State: 53:[57, 77, 73], Operations: ['99-26=73'] Exploring Operation: 77-57=20, Resulting Numbers: [73, 20] Generated Node #0,0,0: 53:[73, 20] Operation: 77-57=20 Moving to Node #0,0,0 Current State: 53:[73, 20], Operations: ['99-26=73', '77-57=20'] Exploring Operation: 73-20=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 24, 79, 42, 43 ]
18
[ "24+79=103", "42+43=85", "103-85=18" ]
Current State: 18:[24, 79, 42, 43], Operations: [] Exploring Operation: 24+79=103, Resulting Numbers: [42, 43, 103] Generated Node #2: [42, 43, 103] from Operation: 24+79=103 Current State: 18:[42, 43, 103], Operations: ['24+79=103'] Exploring Operation: 42+43=85, Resulting Numbers: [103, 85] Generated Node #3: [103, 85] from Operation: 42+43=85 Current State: 18:[103, 85], Operations: ['24+79=103', '42+43=85'] Exploring Operation: 103-85=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[24, 79, 42, 43], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [24, 42, 36] Generated Node #0,0: 18:[24, 42, 36] Operation: 79-43=36 Moving to Node #0,0 Current State: 18:[24, 42, 36], Operations: ['79-43=36'] Exploring Operation: 42-36=6, Resulting Numbers: [24, 6] Generated Node #0,0,0: 18:[24, 6] Operation: 42-36=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[24, 6], Operations: ['79-43=36', '42-36=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[24, 79, 42, 43], Operations: [] Exploring Operation: 79-43=36, Resulting Numbers: [24, 42, 36] Generated Node #0,0: 18:[24, 42, 36] Operation: 79-43=36 Moving to Node #0,0 Current State: 18:[24, 42, 36], Operations: ['79-43=36'] Exploring Operation: 42-36=6, Resulting Numbers: [24, 6] Generated Node #0,0,0: 18:[24, 6] Operation: 42-36=6 Moving to Node #0,0,0 Current State: 18:[24, 6], Operations: ['79-43=36', '42-36=6'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 45, 77, 35 ]
66
[ "45*77=3465", "3465/35=99", "99-33=66" ]
Current State: 66:[33, 45, 77, 35], Operations: [] Exploring Operation: 45*77=3465, Resulting Numbers: [33, 35, 3465] Generated Node #2: [33, 35, 3465] from Operation: 45*77=3465 Current State: 66:[33, 35, 3465], Operations: ['45*77=3465'] Exploring Operation: 3465/35=99, Resulting Numbers: [33, 99] Generated Node #3: [33, 99] from Operation: 3465/35=99 Current State: 66:[33, 99], Operations: ['45*77=3465', '3465/35=99'] Exploring Operation: 99-33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[33, 45, 77, 35], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [33, 77, 10] Generated Node #0,0: 66:[33, 77, 10] Operation: 45-35=10 Exploring Operation: 77-45=32, Resulting Numbers: [33, 35, 32] Generated Node #0,1: 66:[33, 35, 32] Operation: 77-45=32 Moving to Node #0,1 Current State: 66:[33, 35, 32], Operations: ['77-45=32'] Exploring Operation: 35-32=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 66:[33, 3] Operation: 35-32=3 Exploring Operation: 35-33=2, Resulting Numbers: [32, 2] Generated Node #0,1,1: 66:[32, 2] Operation: 35-33=2 Moving to Node #0,0 Current State: 66:[33, 77, 10], Operations: ['45-35=10'] Exploring Operation: 77-10=67, Resulting Numbers: [33, 67] Generated Node #0,0,0: 66:[33, 67] Operation: 77-10=67 Exploring Operation: 77-33=44, Resulting Numbers: [10, 44] Generated Node #0,0,1: 66:[10, 44] Operation: 77-33=44 Moving to Node #0,1,0 Current State: 66:[33, 3], Operations: ['77-45=32', '35-32=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[33, 67], Operations: ['45-35=10', '77-10=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[32, 2], Operations: ['77-45=32', '35-33=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[10, 44], Operations: ['45-35=10', '77-33=44'] Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 47, 95, 40 ]
59
[ "29+47=76", "95+40=135", "135-76=59" ]
Current State: 59:[29, 47, 95, 40], Operations: [] Exploring Operation: 29+47=76, Resulting Numbers: [95, 40, 76] Generated Node #2: [95, 40, 76] from Operation: 29+47=76 Current State: 59:[95, 40, 76], Operations: ['29+47=76'] Exploring Operation: 95+40=135, Resulting Numbers: [76, 135] Generated Node #3: [76, 135] from Operation: 95+40=135 Current State: 59:[76, 135], Operations: ['29+47=76', '95+40=135'] Exploring Operation: 135-76=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[29, 47, 95, 40], Operations: [] Exploring Operation: 95-40=55, Resulting Numbers: [29, 47, 55] Generated Node #0,0: 59:[29, 47, 55] Operation: 95-40=55 Exploring Operation: 29+47=76, Resulting Numbers: [95, 40, 76] Generated Node #0,1: 59:[95, 40, 76] Operation: 29+47=76 Exploring Operation: 95-47=48, Resulting Numbers: [29, 40, 48] Generated Node #0,2: 59:[29, 40, 48] Operation: 95-47=48 Exploring Operation: 95-29=66, Resulting Numbers: [47, 40, 66] Generated Node #0,3: 59:[47, 40, 66] Operation: 95-29=66 Exploring Operation: 29+40=69, Resulting Numbers: [47, 95, 69] Generated Node #0,4: 59:[47, 95, 69] Operation: 29+40=69 Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[47, 40, 66], Operations: ['95-29=66'] Exploring Operation: 47+40=87, Resulting Numbers: [66, 87] Generated Node #0,3,0: 59:[66, 87] Operation: 47+40=87 Exploring Operation: 66-47=19, Resulting Numbers: [40, 19] Generated Node #0,3,1: 59:[40, 19] Operation: 66-47=19 Exploring Operation: 66-40=26, Resulting Numbers: [47, 26] Generated Node #0,3,2: 59:[47, 26] Operation: 66-40=26 Exploring Operation: 47-40=7, Resulting Numbers: [66, 7] Generated Node #0,3,3: 59:[66, 7] Operation: 47-40=7 Exploring Operation: 40+66=106, Resulting Numbers: [47, 106] Generated Node #0,3,4: 59:[47, 106] Operation: 40+66=106 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[66, 87], Operations: ['95-29=66', '47+40=87'] Exploring Operation: 66*87=5742, Resulting Numbers: [5742] 5742,59 unequal: No Solution Exploring Operation: 66+87=153, Resulting Numbers: [153] 153,59 unequal: No Solution Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[47, 26], Operations: ['95-29=66', '66-40=26'] Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,59 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[40, 19], Operations: ['95-29=66', '66-47=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,59 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[29, 47, 95, 40], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [47, 40, 66] Generated Node #0,3: 59:[47, 40, 66] Operation: 95-29=66 Moving to Node #0,3 Current State: 59:[47, 40, 66], Operations: ['95-29=66'] Exploring Operation: 66-47=19, Resulting Numbers: [40, 19] Generated Node #0,3,1: 59:[40, 19] Operation: 66-47=19 Moving to Node #0,3,1 Current State: 59:[40, 19], Operations: ['95-29=66', '66-47=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 44, 7, 34, 97 ]
27
[ "44-34=10", "7*10=70", "97-70=27" ]
Current State: 27:[44, 7, 34, 97], Operations: [] Exploring Operation: 44-34=10, Resulting Numbers: [7, 97, 10] Generated Node #2: [7, 97, 10] from Operation: 44-34=10 Current State: 27:[7, 97, 10], Operations: ['44-34=10'] Exploring Operation: 7*10=70, Resulting Numbers: [97, 70] Generated Node #3: [97, 70] from Operation: 7*10=70 Current State: 27:[97, 70], Operations: ['44-34=10', '7*10=70'] Exploring Operation: 97-70=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[44, 7, 34, 97], Operations: [] Exploring Operation: 44-7=37, Resulting Numbers: [34, 97, 37] Generated Node #0,0: 27:[34, 97, 37] Operation: 44-7=37 Exploring Operation: 97-44=53, Resulting Numbers: [7, 34, 53] Generated Node #0,1: 27:[7, 34, 53] Operation: 97-44=53 Exploring Operation: 44-34=10, Resulting Numbers: [7, 97, 10] Generated Node #0,2: 27:[7, 97, 10] Operation: 44-34=10 Exploring Operation: 97-34=63, Resulting Numbers: [44, 7, 63] Generated Node #0,3: 27:[44, 7, 63] Operation: 97-34=63 Moving to Node #0,1 Current State: 27:[7, 34, 53], Operations: ['97-44=53'] Exploring Operation: 53-7=46, Resulting Numbers: [34, 46] Generated Node #0,1,0: 27:[34, 46] Operation: 53-7=46 Exploring Operation: 53-34=19, Resulting Numbers: [7, 19] Generated Node #0,1,1: 27:[7, 19] Operation: 53-34=19 Exploring Operation: 34-7=27, Resulting Numbers: [53, 27] Generated Node #0,1,2: 27:[53, 27] Operation: 34-7=27 Exploring Operation: 7+34=41, Resulting Numbers: [53, 41] Generated Node #0,1,3: 27:[53, 41] Operation: 7+34=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[7, 19], Operations: ['97-44=53', '53-34=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,27 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[34, 46], Operations: ['97-44=53', '53-7=46'] Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,27 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[53, 27], Operations: ['97-44=53', '34-7=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,27 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 27:[53, 41], Operations: ['97-44=53', '7+34=41'] Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,27 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,27 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: 27:[44, 7, 63], Operations: ['97-34=63'] Exploring Operation: 63/7=9, Resulting Numbers: [44, 9] Generated Node #0,3,0: 27:[44, 9] Operation: 63/7=9 Exploring Operation: 63-7=56, Resulting Numbers: [44, 56] Generated Node #0,3,1: 27:[44, 56] Operation: 63-7=56 Exploring Operation: 44-7=37, Resulting Numbers: [63, 37] Generated Node #0,3,2: 27:[63, 37] Operation: 44-7=37 Exploring Operation: 63-44=19, Resulting Numbers: [7, 19] Generated Node #0,3,3: 27:[7, 19] Operation: 63-44=19 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[7, 19], Operations: ['97-34=63', '63-44=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,27 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[44, 9], Operations: ['97-34=63', '63/7=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,27 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,27 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[44, 56], Operations: ['97-34=63', '63-7=56'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,27 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[63, 37], Operations: ['97-34=63', '44-7=37'] Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,27 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,27 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: 27:[7, 97, 10], Operations: ['44-34=10'] Exploring Operation: 97-7=90, Resulting Numbers: [10, 90] Generated Node #0,2,0: 27:[10, 90] Operation: 97-7=90 Exploring Operation: 97-10=87, Resulting Numbers: [7, 87] Generated Node #0,2,1: 27:[7, 87] Operation: 97-10=87 Exploring Operation: 7+97=104, Resulting Numbers: [10, 104] Generated Node #0,2,2: 27:[10, 104] Operation: 7+97=104 Exploring Operation: 10-7=3, Resulting Numbers: [97, 3] Generated Node #0,2,3: 27:[97, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[7, 87], Operations: ['44-34=10', '97-10=87'] Exploring Operation: 7*87=609, Resulting Numbers: [609] 609,27 unequal: No Solution Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[10, 90], Operations: ['44-34=10', '97-7=90'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,27 unequal: No Solution Exploring Operation: 10+90=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 10*90=900, Resulting Numbers: [900] 900,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[97, 3], Operations: ['44-34=10', '10-7=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,27 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[10, 104], Operations: ['44-34=10', '7+97=104'] Exploring Operation: 10+104=114, Resulting Numbers: [114] 114,27 unequal: No Solution Exploring Operation: 104-10=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 10*104=1040, Resulting Numbers: [1040] 1040,27 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: 27:[34, 97, 37], Operations: ['44-7=37'] Exploring Operation: 97-34=63, Resulting Numbers: [37, 63] Generated Node #0,0,0: 27:[37, 63] Operation: 97-34=63 Exploring Operation: 37-34=3, Resulting Numbers: [97, 3] Generated Node #0,0,1: 27:[97, 3] Operation: 37-34=3 Exploring Operation: 97-37=60, Resulting Numbers: [34, 60] Generated Node #0,0,2: 27:[34, 60] Operation: 97-37=60 Exploring Operation: 34+97=131, Resulting Numbers: [37, 131] Generated Node #0,0,3: 27:[37, 131] Operation: 34+97=131 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[34, 60], Operations: ['44-7=37', '97-37=60'] Exploring Operation: 34+60=94, Resulting Numbers: [94] 94,27 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 34*60=2040, Resulting Numbers: [2040] 2040,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[37, 63], Operations: ['44-7=37', '97-34=63'] Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,27 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[97, 3], Operations: ['44-7=37', '37-34=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,27 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[37, 131], Operations: ['44-7=37', '34+97=131'] Exploring Operation: 37*131=4847, Resulting Numbers: [4847] 4847,27 unequal: No Solution Exploring Operation: 37+131=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 131-37=94, Resulting Numbers: [94] 94,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
[ 94, 61, 66, 87 ]
85
[ "94-61=33", "66/33=2", "87-2=85" ]
Current State: 85:[94, 61, 66, 87], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [66, 87, 33] Generated Node #2: [66, 87, 33] from Operation: 94-61=33 Current State: 85:[66, 87, 33], Operations: ['94-61=33'] Exploring Operation: 66/33=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 66/33=2 Current State: 85:[87, 2], Operations: ['94-61=33', '66/33=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[94, 61, 66, 87], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [61, 87, 28] Generated Node #0,0: 85:[61, 87, 28] Operation: 94-66=28 Exploring Operation: 94-61=33, Resulting Numbers: [66, 87, 33] Generated Node #0,1: 85:[66, 87, 33] Operation: 94-61=33 Exploring Operation: 66-61=5, Resulting Numbers: [94, 87, 5] Generated Node #0,2: 85:[94, 87, 5] Operation: 66-61=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[94, 87, 5], Operations: ['66-61=5'] Exploring Operation: 87-5=82, Resulting Numbers: [94, 82] Generated Node #0,2,0: 85:[94, 82] Operation: 87-5=82 Exploring Operation: 94-87=7, Resulting Numbers: [5, 7] Generated Node #0,2,1: 85:[5, 7] Operation: 94-87=7 Exploring Operation: 94-5=89, Resulting Numbers: [87, 89] Generated Node #0,2,2: 85:[87, 89] Operation: 94-5=89 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[5, 7], Operations: ['66-61=5', '94-87=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[87, 89], Operations: ['66-61=5', '94-5=89'] Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,85 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[94, 82], Operations: ['66-61=5', '87-5=82'] Exploring Operation: 94*82=7708, Resulting Numbers: [7708] 7708,85 unequal: No Solution Exploring Operation: 94-82=12, Resulting Numbers: [12] 12,85 unequal: No Solution Exploring Operation: 94+82=176, Resulting Numbers: [176] 176,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[61, 87, 28], Operations: ['94-66=28'] Exploring Operation: 87-61=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 85:[28, 26] Operation: 87-61=26 Exploring Operation: 61+28=89, Resulting Numbers: [87, 89] Generated Node #0,0,1: 85:[87, 89] Operation: 61+28=89 Exploring Operation: 61-28=33, Resulting Numbers: [87, 33] Generated Node #0,0,2: 85:[87, 33] Operation: 61-28=33 Moving to Node #0,0,1 Current State: 85:[87, 89], Operations: ['94-66=28', '61+28=89'] Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 87+89=176, Resulting Numbers: [176] 176,85 unequal: No Solution Exploring Operation: 87*89=7743, Resulting Numbers: [7743] 7743,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[87, 33], Operations: ['94-66=28', '61-28=33'] Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,85 unequal: No Solution Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,85 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,85 unequal: No Solution Moving to Node #0,0,0 Current State: 85:[28, 26], Operations: ['94-66=28', '87-61=26'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 28*26=728, Resulting Numbers: [728] 728,85 unequal: No Solution Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[66, 87, 33], Operations: ['94-61=33'] Exploring Operation: 66-33=33, Resulting Numbers: [87, 33] Generated Node #0,1,0: 85:[87, 33] Operation: 66-33=33 Exploring Operation: 66+33=99, Resulting Numbers: [87, 99] Generated Node #0,1,1: 85:[87, 99] Operation: 66+33=99 Exploring Operation: 66/33=2, Resulting Numbers: [87, 2] Generated Node #0,1,2: 85:[87, 2] Operation: 66/33=2 Moving to Node #0,1,2 Current State: 85:[87, 2], Operations: ['94-61=33', '66/33=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,85 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[94, 61, 66, 87], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [66, 87, 33] Generated Node #0,1: 85:[66, 87, 33] Operation: 94-61=33 Moving to Node #0,1 Current State: 85:[66, 87, 33], Operations: ['94-61=33'] Exploring Operation: 66/33=2, Resulting Numbers: [87, 2] Generated Node #0,1,2: 85:[87, 2] Operation: 66/33=2 Moving to Node #0,1,2 Current State: 85:[87, 2], Operations: ['94-61=33', '66/33=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 7, 55, 78, 72 ]
66
[ "72-7=65", "55*78=4290", "4290/65=66" ]
Current State: 66:[7, 55, 78, 72], Operations: [] Exploring Operation: 72-7=65, Resulting Numbers: [55, 78, 65] Generated Node #2: [55, 78, 65] from Operation: 72-7=65 Current State: 66:[55, 78, 65], Operations: ['72-7=65'] Exploring Operation: 55*78=4290, Resulting Numbers: [65, 4290] Generated Node #3: [65, 4290] from Operation: 55*78=4290 Current State: 66:[65, 4290], Operations: ['72-7=65', '55*78=4290'] Exploring Operation: 4290/65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[7, 55, 78, 72], Operations: [] Exploring Operation: 78-55=23, Resulting Numbers: [7, 72, 23] Generated Node #0,0: 66:[7, 72, 23] Operation: 78-55=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[7, 72, 23], Operations: ['78-55=23'] Exploring Operation: 72-7=65, Resulting Numbers: [23, 65] Generated Node #0,0,0: 66:[23, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[23, 65], Operations: ['78-55=23', '72-7=65'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 45, 81, 77, 56 ]
57
[ "81-45=36", "77-56=21", "36+21=57" ]
Current State: 57:[45, 81, 77, 56], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [77, 56, 36] Generated Node #2: [77, 56, 36] from Operation: 81-45=36 Current State: 57:[77, 56, 36], Operations: ['81-45=36'] Exploring Operation: 77-56=21, Resulting Numbers: [36, 21] Generated Node #3: [36, 21] from Operation: 77-56=21 Current State: 57:[36, 21], Operations: ['81-45=36', '77-56=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[45, 81, 77, 56], Operations: [] Exploring Operation: 77-45=32, Resulting Numbers: [81, 56, 32] Generated Node #0,0: 57:[81, 56, 32] Operation: 77-45=32 Exploring Operation: 81-56=25, Resulting Numbers: [45, 77, 25] Generated Node #0,1: 57:[45, 77, 25] Operation: 81-56=25 Exploring Operation: 77-56=21, Resulting Numbers: [45, 81, 21] Generated Node #0,2: 57:[45, 81, 21] Operation: 77-56=21 Exploring Operation: 81-45=36, Resulting Numbers: [77, 56, 36] Generated Node #0,3: 57:[77, 56, 36] Operation: 81-45=36 Exploring Operation: 81-77=4, Resulting Numbers: [45, 56, 4] Generated Node #0,4: 57:[45, 56, 4] Operation: 81-77=4 Moving to Node #0,4 Current State: 57:[45, 56, 4], Operations: ['81-77=4'] Exploring Operation: 56-4=52, Resulting Numbers: [45, 52] Generated Node #0,4,0: 57:[45, 52] Operation: 56-4=52 Exploring Operation: 56-45=11, Resulting Numbers: [4, 11] Generated Node #0,4,1: 57:[4, 11] Operation: 56-45=11 Exploring Operation: 45+4=49, Resulting Numbers: [56, 49] Generated Node #0,4,2: 57:[56, 49] Operation: 45+4=49 Exploring Operation: 56+4=60, Resulting Numbers: [45, 60] Generated Node #0,4,3: 57:[45, 60] Operation: 56+4=60 Exploring Operation: 45-4=41, Resulting Numbers: [56, 41] Generated Node #0,4,4: 57:[56, 41] Operation: 45-4=41 Moving to Node #0,1 Current State: 57:[45, 77, 25], Operations: ['81-56=25'] Exploring Operation: 45+25=70, Resulting Numbers: [77, 70] Generated Node #0,1,0: 57:[77, 70] Operation: 45+25=70 Exploring Operation: 77+25=102, Resulting Numbers: [45, 102] Generated Node #0,1,1: 57:[45, 102] Operation: 77+25=102 Exploring Operation: 77-25=52, Resulting Numbers: [45, 52] Generated Node #0,1,2: 57:[45, 52] Operation: 77-25=52 Exploring Operation: 45-25=20, Resulting Numbers: [77, 20] Generated Node #0,1,3: 57:[77, 20] Operation: 45-25=20 Exploring Operation: 77-45=32, Resulting Numbers: [25, 32] Generated Node #0,1,4: 57:[25, 32] Operation: 77-45=32 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[45, 52], Operations: ['81-56=25', '77-25=52'] Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,57 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,57 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 57:[25, 32], Operations: ['81-56=25', '77-45=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[45, 81, 77, 56], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [45, 77, 25] Generated Node #0,1: 57:[45, 77, 25] Operation: 81-56=25 Moving to Node #0,1 Current State: 57:[45, 77, 25], Operations: ['81-56=25'] Exploring Operation: 77-45=32, Resulting Numbers: [25, 32] Generated Node #0,1,4: 57:[25, 32] Operation: 77-45=32 Moving to Node #0,1,4 Current State: 57:[25, 32], Operations: ['81-56=25', '77-45=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 53, 34, 42, 92 ]
37
[ "53+34=87", "92-42=50", "87-50=37" ]
Current State: 37:[53, 34, 42, 92], Operations: [] Exploring Operation: 53+34=87, Resulting Numbers: [42, 92, 87] Generated Node #2: [42, 92, 87] from Operation: 53+34=87 Current State: 37:[42, 92, 87], Operations: ['53+34=87'] Exploring Operation: 92-42=50, Resulting Numbers: [87, 50] Generated Node #3: [87, 50] from Operation: 92-42=50 Current State: 37:[87, 50], Operations: ['53+34=87', '92-42=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[53, 34, 42, 92], Operations: [] Exploring Operation: 92-34=58, Resulting Numbers: [53, 42, 58] Generated Node #0,0: 37:[53, 42, 58] Operation: 92-34=58 Exploring Operation: 92-53=39, Resulting Numbers: [34, 42, 39] Generated Node #0,1: 37:[34, 42, 39] Operation: 92-53=39 Exploring Operation: 53-42=11, Resulting Numbers: [34, 92, 11] Generated Node #0,2: 37:[34, 92, 11] Operation: 53-42=11 Exploring Operation: 53-34=19, Resulting Numbers: [42, 92, 19] Generated Node #0,3: 37:[42, 92, 19] Operation: 53-34=19 Exploring Operation: 92-42=50, Resulting Numbers: [53, 34, 50] Generated Node #0,4: 37:[53, 34, 50] Operation: 92-42=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[34, 42, 39], Operations: ['92-53=39'] Exploring Operation: 34+42=76, Resulting Numbers: [39, 76] Generated Node #0,1,0: 37:[39, 76] Operation: 34+42=76 Exploring Operation: 34+39=73, Resulting Numbers: [42, 73] Generated Node #0,1,1: 37:[42, 73] Operation: 34+39=73 Exploring Operation: 42-39=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 37:[34, 3] Operation: 42-39=3 Exploring Operation: 42-34=8, Resulting Numbers: [39, 8] Generated Node #0,1,3: 37:[39, 8] Operation: 42-34=8 Exploring Operation: 39-34=5, Resulting Numbers: [42, 5] Generated Node #0,1,4: 37:[42, 5] Operation: 39-34=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[39, 8], Operations: ['92-53=39', '42-34=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,37 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[34, 3], Operations: ['92-53=39', '42-39=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[53, 34, 42, 92], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [34, 42, 39] Generated Node #0,1: 37:[34, 42, 39] Operation: 92-53=39 Moving to Node #0,1 Current State: 37:[34, 42, 39], Operations: ['92-53=39'] Exploring Operation: 42-39=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 37:[34, 3] Operation: 42-39=3 Moving to Node #0,1,2 Current State: 37:[34, 3], Operations: ['92-53=39', '42-39=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 31, 18, 46, 2 ]
35
[ "31-18=13", "46+2=48", "48-13=35" ]
Current State: 35:[31, 18, 46, 2], Operations: [] Exploring Operation: 31-18=13, Resulting Numbers: [46, 2, 13] Generated Node #2: [46, 2, 13] from Operation: 31-18=13 Current State: 35:[46, 2, 13], Operations: ['31-18=13'] Exploring Operation: 46+2=48, Resulting Numbers: [13, 48] Generated Node #3: [13, 48] from Operation: 46+2=48 Current State: 35:[13, 48], Operations: ['31-18=13', '46+2=48'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[31, 18, 46, 2], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [31, 2, 28] Generated Node #0,0: 35:[31, 2, 28] Operation: 46-18=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[31, 2, 28], Operations: ['46-18=28'] Exploring Operation: 31-28=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 35:[2, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 35:[2, 3], Operations: ['46-18=28', '31-28=3'] Exploring Operation: 2+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 No solution found.
0
hs_1
sum_heuristic
[ 19, 83, 21, 15 ]
100
[ "83-19=64", "21+15=36", "64+36=100" ]
Current State: 100:[19, 83, 21, 15], Operations: [] Exploring Operation: 83-19=64, Resulting Numbers: [21, 15, 64] Generated Node #2: [21, 15, 64] from Operation: 83-19=64 Current State: 100:[21, 15, 64], Operations: ['83-19=64'] Exploring Operation: 21+15=36, Resulting Numbers: [64, 36] Generated Node #3: [64, 36] from Operation: 21+15=36 Current State: 100:[64, 36], Operations: ['83-19=64', '21+15=36'] Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 83, 21, 15], Operations: [] Exploring Operation: 83+15=98, Resulting Numbers: [19, 21, 98] Generated Node #0,0: 100:[19, 21, 98] Operation: 83+15=98 Moving to Node #0,0 Current State: 100:[19, 21, 98], Operations: ['83+15=98'] Exploring Operation: 21-19=2, Resulting Numbers: [98, 2] Generated Node #0,0,0: 100:[98, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 100:[98, 2], Operations: ['83+15=98', '21-19=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 83, 21, 15], Operations: [] Exploring Operation: 83+15=98, Resulting Numbers: [19, 21, 98] Generated Node #0,0: 100:[19, 21, 98] Operation: 83+15=98 Moving to Node #0,0 Current State: 100:[19, 21, 98], Operations: ['83+15=98'] Exploring Operation: 21-19=2, Resulting Numbers: [98, 2] Generated Node #0,0,0: 100:[98, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 100:[98, 2], Operations: ['83+15=98', '21-19=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 53, 71, 48, 37 ]
39
[ "53+71=124", "48+37=85", "124-85=39" ]
Current State: 39:[53, 71, 48, 37], Operations: [] Exploring Operation: 53+71=124, Resulting Numbers: [48, 37, 124] Generated Node #2: [48, 37, 124] from Operation: 53+71=124 Current State: 39:[48, 37, 124], Operations: ['53+71=124'] Exploring Operation: 48+37=85, Resulting Numbers: [124, 85] Generated Node #3: [124, 85] from Operation: 48+37=85 Current State: 39:[124, 85], Operations: ['53+71=124', '48+37=85'] Exploring Operation: 124-85=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[53, 71, 48, 37], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [53, 37, 23] Generated Node #0,0: 39:[53, 37, 23] Operation: 71-48=23 Exploring Operation: 71-53=18, Resulting Numbers: [48, 37, 18] Generated Node #0,1: 39:[48, 37, 18] Operation: 71-53=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[48, 37, 18], Operations: ['71-53=18'] Exploring Operation: 48-37=11, Resulting Numbers: [18, 11] Generated Node #0,1,0: 39:[18, 11] Operation: 48-37=11 Exploring Operation: 48-18=30, Resulting Numbers: [37, 30] Generated Node #0,1,1: 39:[37, 30] Operation: 48-18=30 Moving to Node #0,1,0 Current State: 39:[18, 11], Operations: ['71-53=18', '48-37=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[37, 30], Operations: ['71-53=18', '48-18=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,39 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[53, 37, 23], Operations: ['71-48=23'] Exploring Operation: 53-37=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 39:[23, 16] Operation: 53-37=16 Exploring Operation: 53-23=30, Resulting Numbers: [37, 30] Generated Node #0,0,1: 39:[37, 30] Operation: 53-23=30 Moving to Node #0,0,1 Current State: 39:[37, 30], Operations: ['71-48=23', '53-23=30'] Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[23, 16], Operations: ['71-48=23', '53-37=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[53, 71, 48, 37], Operations: [] Exploring Operation: 71-48=23, Resulting Numbers: [53, 37, 23] Generated Node #0,0: 39:[53, 37, 23] Operation: 71-48=23 Moving to Node #0,0 Current State: 39:[53, 37, 23], Operations: ['71-48=23'] Exploring Operation: 53-37=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 39:[23, 16] Operation: 53-37=16 Moving to Node #0,0,0 Current State: 39:[23, 16], Operations: ['71-48=23', '53-37=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 22, 91, 3, 38 ]
63
[ "22*3=66", "91+38=129", "129-66=63" ]
Current State: 63:[22, 91, 3, 38], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [91, 38, 66] Generated Node #2: [91, 38, 66] from Operation: 22*3=66 Current State: 63:[91, 38, 66], Operations: ['22*3=66'] Exploring Operation: 91+38=129, Resulting Numbers: [66, 129] Generated Node #3: [66, 129] from Operation: 91+38=129 Current State: 63:[66, 129], Operations: ['22*3=66', '91+38=129'] Exploring Operation: 129-66=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[22, 91, 3, 38], Operations: [] Exploring Operation: 38-22=16, Resulting Numbers: [91, 3, 16] Generated Node #0,0: 63:[91, 3, 16] Operation: 38-22=16 Exploring Operation: 91-38=53, Resulting Numbers: [22, 3, 53] Generated Node #0,1: 63:[22, 3, 53] Operation: 91-38=53 Exploring Operation: 22+38=60, Resulting Numbers: [91, 3, 60] Generated Node #0,2: 63:[91, 3, 60] Operation: 22+38=60 Exploring Operation: 91-22=69, Resulting Numbers: [3, 38, 69] Generated Node #0,3: 63:[3, 38, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[22, 3, 53], Operations: ['91-38=53'] Exploring Operation: 22+53=75, Resulting Numbers: [3, 75] Generated Node #0,1,0: 63:[3, 75] Operation: 22+53=75 Exploring Operation: 22-3=19, Resulting Numbers: [53, 19] Generated Node #0,1,1: 63:[53, 19] Operation: 22-3=19 Exploring Operation: 3+53=56, Resulting Numbers: [22, 56] Generated Node #0,1,2: 63:[22, 56] Operation: 3+53=56 Exploring Operation: 53-22=31, Resulting Numbers: [3, 31] Generated Node #0,1,3: 63:[3, 31] Operation: 53-22=31 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 63:[22, 56], Operations: ['91-38=53', '3+53=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 22+56=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 22*56=1232, Resulting Numbers: [1232] 1232,63 unequal: No Solution No 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: 63:[3, 31], Operations: ['91-38=53', '53-22=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,63 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,63 unequal: No Solution No 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: 63:[3, 75], Operations: ['91-38=53', '22+53=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,63 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,63 unequal: No Solution No 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: 63:[53, 19], Operations: ['91-38=53', '22-3=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,63 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,63 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: 63:[3, 38, 69], Operations: ['91-22=69'] Exploring Operation: 38-3=35, Resulting Numbers: [69, 35] Generated Node #0,3,0: 63:[69, 35] Operation: 38-3=35 Exploring Operation: 69/3=23, Resulting Numbers: [38, 23] Generated Node #0,3,1: 63:[38, 23] Operation: 69/3=23 Exploring Operation: 69-38=31, Resulting Numbers: [3, 31] Generated Node #0,3,2: 63:[3, 31] Operation: 69-38=31 Exploring Operation: 69-3=66, Resulting Numbers: [38, 66] Generated Node #0,3,3: 63:[38, 66] Operation: 69-3=66 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 63:[3, 31], Operations: ['91-22=69', '69-38=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,63 unequal: No Solution No 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: 63:[38, 23], Operations: ['91-22=69', '69/3=23'] Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,63 unequal: No Solution Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,63 unequal: No Solution No 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: 63:[69, 35], Operations: ['91-22=69', '38-3=35'] Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,63 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,63 unequal: No Solution No 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: 63:[38, 66], Operations: ['91-22=69', '69-3=66'] Exploring Operation: 38*66=2508, Resulting Numbers: [2508] 2508,63 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 38+66=104, Resulting Numbers: [104] 104,63 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: 63:[91, 3, 60], Operations: ['22+38=60'] Exploring Operation: 91-60=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 63:[3, 31] Operation: 91-60=31 Exploring Operation: 60/3=20, Resulting Numbers: [91, 20] Generated Node #0,2,1: 63:[91, 20] Operation: 60/3=20 Exploring Operation: 3+60=63, Resulting Numbers: [91, 63] Generated Node #0,2,2: 63:[91, 63] Operation: 3+60=63 Exploring Operation: 91-3=88, Resulting Numbers: [60, 88] Generated Node #0,2,3: 63:[60, 88] Operation: 91-3=88 Moving to Node #0,2,0 Current State: 63:[3, 31], Operations: ['22+38=60', '91-60=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,63 unequal: No Solution Moving to Node #0,2,3 Current State: 63:[60, 88], Operations: ['22+38=60', '91-3=88'] Exploring Operation: 60*88=5280, Resulting Numbers: [5280] 5280,63 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 60+88=148, Resulting Numbers: [148] 148,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[91, 63], Operations: ['22+38=60', '3+60=63'] Exploring Operation: 91*63=5733, Resulting Numbers: [5733] 5733,63 unequal: No Solution Exploring Operation: 91-63=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 91+63=154, Resulting Numbers: [154] 154,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[91, 20], Operations: ['22+38=60', '60/3=20'] Exploring Operation: 91+20=111, Resulting Numbers: [111] 111,63 unequal: No Solution Exploring Operation: 91*20=1820, Resulting Numbers: [1820] 1820,63 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[91, 3, 16], Operations: ['38-22=16'] Exploring Operation: 3+16=19, Resulting Numbers: [91, 19] Generated Node #0,0,0: 63:[91, 19] Operation: 3+16=19 Exploring Operation: 16-3=13, Resulting Numbers: [91, 13] Generated Node #0,0,1: 63:[91, 13] Operation: 16-3=13 Exploring Operation: 91-3=88, Resulting Numbers: [16, 88] Generated Node #0,0,2: 63:[16, 88] Operation: 91-3=88 Exploring Operation: 91-16=75, Resulting Numbers: [3, 75] Generated Node #0,0,3: 63:[3, 75] Operation: 91-16=75 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 63:[3, 75], Operations: ['38-22=16', '91-16=75'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 3*75=225, Resulting Numbers: [225] 225,63 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,63 unequal: No Solution No 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: 63:[91, 19], Operations: ['38-22=16', '3+16=19'] Exploring Operation: 91*19=1729, Resulting Numbers: [1729] 1729,63 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 91+19=110, Resulting Numbers: [110] 110,63 unequal: No Solution No 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: 63:[16, 88], Operations: ['38-22=16', '91-3=88'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,63 unequal: No Solution Exploring Operation: 16*88=1408, Resulting Numbers: [1408] 1408,63 unequal: No Solution Exploring Operation: 16+88=104, Resulting Numbers: [104] 104,63 unequal: No Solution No 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: 63:[91, 13], Operations: ['38-22=16', '16-3=13'] Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,63 unequal: No Solution Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 94, 57, 15, 19 ]
99
[ "57/19=3", "15/3=5", "94+5=99" ]
Current State: 99:[94, 57, 15, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [94, 15, 3] Generated Node #2: [94, 15, 3] from Operation: 57/19=3 Current State: 99:[94, 15, 3], Operations: ['57/19=3'] Exploring Operation: 15/3=5, Resulting Numbers: [94, 5] Generated Node #3: [94, 5] from Operation: 15/3=5 Current State: 99:[94, 5], Operations: ['57/19=3', '15/3=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[94, 57, 15, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [94, 15, 3] Generated Node #0,0: 99:[94, 15, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [94, 15, 38] Generated Node #0,1: 99:[94, 15, 38] Operation: 57-19=38 Exploring Operation: 94-57=37, Resulting Numbers: [15, 19, 37] Generated Node #0,2: 99:[15, 19, 37] Operation: 94-57=37 Exploring Operation: 57-15=42, Resulting Numbers: [94, 19, 42] Generated Node #0,3: 99:[94, 19, 42] Operation: 57-15=42 Moving to Node #0,0 Current State: 99:[94, 15, 3], Operations: ['57/19=3'] Exploring Operation: 94+15=109, Resulting Numbers: [3, 109] Generated Node #0,0,0: 99:[3, 109] Operation: 94+15=109 Exploring Operation: 15/3=5, Resulting Numbers: [94, 5] Generated Node #0,0,1: 99:[94, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [94, 12] Generated Node #0,0,2: 99:[94, 12] Operation: 15-3=12 Exploring Operation: 94+3=97, Resulting Numbers: [15, 97] Generated Node #0,0,3: 99:[15, 97] Operation: 94+3=97 Moving to Node #0,1 Current State: 99:[94, 15, 38], Operations: ['57-19=38'] Exploring Operation: 94-15=79, Resulting Numbers: [38, 79] Generated Node #0,1,0: 99:[38, 79] Operation: 94-15=79 Exploring Operation: 38-15=23, Resulting Numbers: [94, 23] Generated Node #0,1,1: 99:[94, 23] Operation: 38-15=23 Exploring Operation: 94+15=109, Resulting Numbers: [38, 109] Generated Node #0,1,2: 99:[38, 109] Operation: 94+15=109 Exploring Operation: 15+38=53, Resulting Numbers: [94, 53] Generated Node #0,1,3: 99:[94, 53] Operation: 15+38=53 Moving to Node #0,2 Current State: 99:[15, 19, 37], Operations: ['94-57=37'] Exploring Operation: 37-19=18, Resulting Numbers: [15, 18] Generated Node #0,2,0: 99:[15, 18] Operation: 37-19=18 Exploring Operation: 37-15=22, Resulting Numbers: [19, 22] Generated Node #0,2,1: 99:[19, 22] Operation: 37-15=22 Exploring Operation: 19-15=4, Resulting Numbers: [37, 4] Generated Node #0,2,2: 99:[37, 4] Operation: 19-15=4 Exploring Operation: 15+19=34, Resulting Numbers: [37, 34] Generated Node #0,2,3: 99:[37, 34] Operation: 15+19=34 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[37, 4], Operations: ['94-57=37', '19-15=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[37, 34], Operations: ['94-57=37', '15+19=34'] Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 37*34=1258, Resulting Numbers: [1258] 1258,99 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[15, 18], Operations: ['94-57=37', '37-19=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[19, 22], Operations: ['94-57=37', '37-15=22'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 19*22=418, Resulting Numbers: [418] 418,99 unequal: No Solution Exploring Operation: 19+22=41, Resulting Numbers: [41] 41,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 99:[94, 19, 42], Operations: ['57-15=42'] Exploring Operation: 94-19=75, Resulting Numbers: [42, 75] Generated Node #0,3,0: 99:[42, 75] Operation: 94-19=75 Exploring Operation: 94+19=113, Resulting Numbers: [42, 113] Generated Node #0,3,1: 99:[42, 113] Operation: 94+19=113 Exploring Operation: 42-19=23, Resulting Numbers: [94, 23] Generated Node #0,3,2: 99:[94, 23] Operation: 42-19=23 Exploring Operation: 94-42=52, Resulting Numbers: [19, 52] Generated Node #0,3,3: 99:[19, 52] Operation: 94-42=52 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[94, 23], Operations: ['57-15=42', '42-19=23'] Exploring Operation: 94+23=117, Resulting Numbers: [117] 117,99 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 94*23=2162, Resulting Numbers: [2162] 2162,99 unequal: No Solution No 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: 99:[42, 113], Operations: ['57-15=42', '94+19=113'] Exploring Operation: 42+113=155, Resulting Numbers: [155] 155,99 unequal: No Solution Exploring Operation: 113-42=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 42*113=4746, Resulting Numbers: [4746] 4746,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 99:[19, 52], Operations: ['57-15=42', '94-42=52'] Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,99 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[42, 75], Operations: ['57-15=42', '94-19=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,99 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 99:[94, 12], Operations: ['57/19=3', '15-3=12'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 94+12=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 94*12=1128, Resulting Numbers: [1128] 1128,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[15, 97], Operations: ['57/19=3', '94+3=97'] Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,99 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[94, 5], Operations: ['57/19=3', '15/3=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[94, 57, 15, 19], Operations: [] Exploring Operation: 57/19=3, Resulting Numbers: [94, 15, 3] Generated Node #0,0: 99:[94, 15, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 99:[94, 15, 3], Operations: ['57/19=3'] Exploring Operation: 15/3=5, Resulting Numbers: [94, 5] Generated Node #0,0,1: 99:[94, 5] Operation: 15/3=5 Moving to Node #0,0,1 Current State: 99:[94, 5], Operations: ['57/19=3', '15/3=5'] Exploring Operation: 94+5=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.952257
hs_4
mult_heuristic
[ 18, 8, 10, 7 ]
71
[ "18-10=8", "8*8=64", "7+64=71" ]
Current State: 71:[18, 8, 10, 7], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [8, 7, 8] Generated Node #2: [8, 7, 8] from Operation: 18-10=8 Current State: 71:[8, 7, 8], Operations: ['18-10=8'] Exploring Operation: 8*8=64, Resulting Numbers: [7, 64] Generated Node #3: [7, 64] from Operation: 8*8=64 Current State: 71:[7, 64], Operations: ['18-10=8', '8*8=64'] Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[18, 8, 10, 7], Operations: [] Exploring Operation: 10*7=70, Resulting Numbers: [18, 8, 70] Generated Node #0,0: 71:[18, 8, 70] Operation: 10*7=70 Exploring Operation: 8*10=80, Resulting Numbers: [18, 7, 80] Generated Node #0,1: 71:[18, 7, 80] Operation: 8*10=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[18, 8, 70], Operations: ['10*7=70'] Exploring Operation: 8+70=78, Resulting Numbers: [18, 78] Generated Node #0,0,0: 71:[18, 78] Operation: 8+70=78 Exploring Operation: 18+8=26, Resulting Numbers: [70, 26] Generated Node #0,0,1: 71:[70, 26] Operation: 18+8=26 Moving to Node #0,0,1 Current State: 71:[70, 26], Operations: ['10*7=70', '18+8=26'] Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[18, 78], Operations: ['10*7=70', '8+70=78'] Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,71 unequal: No Solution No 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: 71:[18, 7, 80], Operations: ['8*10=80'] Exploring Operation: 80-7=73, Resulting Numbers: [18, 73] Generated Node #0,1,0: 71:[18, 73] Operation: 80-7=73 Exploring Operation: 18+7=25, Resulting Numbers: [80, 25] Generated Node #0,1,1: 71:[80, 25] Operation: 18+7=25 Moving to Node #0,1,0 Current State: 71:[18, 73], Operations: ['8*10=80', '80-7=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[80, 25], Operations: ['8*10=80', '18+7=25'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,71 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,71 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
[ 95, 2, 48, 63 ]
64
[ "95-63=32", "2*48=96", "96-32=64" ]
Current State: 64:[95, 2, 48, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [2, 48, 32] Generated Node #2: [2, 48, 32] from Operation: 95-63=32 Current State: 64:[2, 48, 32], Operations: ['95-63=32'] Exploring Operation: 2*48=96, Resulting Numbers: [32, 96] Generated Node #3: [32, 96] from Operation: 2*48=96 Current State: 64:[32, 96], Operations: ['95-63=32', '2*48=96'] Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[95, 2, 48, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [2, 48, 32] Generated Node #0,0: 64:[2, 48, 32] Operation: 95-63=32 Exploring Operation: 95-2=93, Resulting Numbers: [48, 63, 93] Generated Node #0,1: 64:[48, 63, 93] Operation: 95-2=93 Exploring Operation: 48/2=24, Resulting Numbers: [95, 63, 24] Generated Node #0,2: 64:[95, 63, 24] Operation: 48/2=24 Exploring Operation: 95-48=47, Resulting Numbers: [2, 63, 47] Generated Node #0,3: 64:[2, 63, 47] Operation: 95-48=47 Exploring Operation: 63-48=15, Resulting Numbers: [95, 2, 15] Generated Node #0,4: 64:[95, 2, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 64:[2, 48, 32], Operations: ['95-63=32'] Exploring Operation: 48/2=24, Resulting Numbers: [32, 24] Generated Node #0,0,0: 64:[32, 24] Operation: 48/2=24 Exploring Operation: 48-2=46, Resulting Numbers: [32, 46] Generated Node #0,0,1: 64:[32, 46] Operation: 48-2=46 Exploring Operation: 48-32=16, Resulting Numbers: [2, 16] Generated Node #0,0,2: 64:[2, 16] Operation: 48-32=16 Exploring Operation: 2*32=64, Resulting Numbers: [48, 64] Generated Node #0,0,3: 64:[48, 64] Operation: 2*32=64 Exploring Operation: 2+48=50, Resulting Numbers: [32, 50] Generated Node #0,0,4: 64:[32, 50] Operation: 2+48=50 Moving to Node #0,3 Current State: 64:[2, 63, 47], Operations: ['95-48=47'] Exploring Operation: 47-2=45, Resulting Numbers: [63, 45] Generated Node #0,3,0: 64:[63, 45] Operation: 47-2=45 Exploring Operation: 2+47=49, Resulting Numbers: [63, 49] Generated Node #0,3,1: 64:[63, 49] Operation: 2+47=49 Exploring Operation: 2+63=65, Resulting Numbers: [47, 65] Generated Node #0,3,2: 64:[47, 65] Operation: 2+63=65 Exploring Operation: 63-2=61, Resulting Numbers: [47, 61] Generated Node #0,3,3: 64:[47, 61] Operation: 63-2=61 Exploring Operation: 63-47=16, Resulting Numbers: [2, 16] Generated Node #0,3,4: 64:[2, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[2, 16], Operations: ['95-48=47', '63-47=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,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,3,0 Current State: 64:[63, 45], Operations: ['95-48=47', '47-2=45'] Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,64 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,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,3,1 Current State: 64:[63, 49], Operations: ['95-48=47', '2+47=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,64 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,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,3,2 Current State: 64:[47, 65], Operations: ['95-48=47', '2+63=65'] Exploring Operation: 47+65=112, Resulting Numbers: [112] 112,64 unequal: No Solution Exploring Operation: 47*65=3055, Resulting Numbers: [3055] 3055,64 unequal: No Solution Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,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,3,3 Current State: 64:[47, 61], Operations: ['95-48=47', '63-2=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,64 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,64 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: 64:[95, 2, 15], Operations: ['63-48=15'] Exploring Operation: 2*15=30, Resulting Numbers: [95, 30] Generated Node #0,4,0: 64:[95, 30] Operation: 2*15=30 Exploring Operation: 95-15=80, Resulting Numbers: [2, 80] Generated Node #0,4,1: 64:[2, 80] Operation: 95-15=80 Exploring Operation: 2+15=17, Resulting Numbers: [95, 17] Generated Node #0,4,2: 64:[95, 17] Operation: 2+15=17 Exploring Operation: 95-2=93, Resulting Numbers: [15, 93] Generated Node #0,4,3: 64:[15, 93] Operation: 95-2=93 Exploring Operation: 95+2=97, Resulting Numbers: [15, 97] Generated Node #0,4,4: 64:[15, 97] Operation: 95+2=97 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[2, 80], Operations: ['63-48=15', '95-15=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,64 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 80-2=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,4,3 Current State: 64:[15, 93], Operations: ['63-48=15', '95-2=93'] Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,64 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,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,4,2 Current State: 64:[95, 17], Operations: ['63-48=15', '2+15=17'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,64 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,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,4,0 Current State: 64:[95, 30], Operations: ['63-48=15', '2*15=30'] Exploring Operation: 95-30=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 95*30=2850, Resulting Numbers: [2850] 2850,64 unequal: No Solution Exploring Operation: 95+30=125, Resulting Numbers: [125] 125,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,4,4 Current State: 64:[15, 97], Operations: ['63-48=15', '95+2=97'] Exploring Operation: 15*97=1455, Resulting Numbers: [1455] 1455,64 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,64 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,64 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: 64:[95, 63, 24], Operations: ['48/2=24'] Exploring Operation: 95-24=71, Resulting Numbers: [63, 71] Generated Node #0,2,0: 64:[63, 71] Operation: 95-24=71 Exploring Operation: 63-24=39, Resulting Numbers: [95, 39] Generated Node #0,2,1: 64:[95, 39] Operation: 63-24=39 Exploring Operation: 95+24=119, Resulting Numbers: [63, 119] Generated Node #0,2,2: 64:[63, 119] Operation: 95+24=119 Exploring Operation: 95-63=32, Resulting Numbers: [24, 32] Generated Node #0,2,3: 64:[24, 32] Operation: 95-63=32 Exploring Operation: 63+24=87, Resulting Numbers: [95, 87] Generated Node #0,2,4: 64:[95, 87] Operation: 63+24=87 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[63, 71], Operations: ['48/2=24', '95-24=71'] Exploring Operation: 63*71=4473, Resulting Numbers: [4473] 4473,64 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,64 unequal: No Solution Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,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:[24, 32], Operations: ['48/2=24', '95-63=32'] Exploring Operation: 24*32=768, Resulting Numbers: [768] 768,64 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,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:[95, 39], Operations: ['48/2=24', '63-24=39'] Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 95*39=3705, Resulting Numbers: [3705] 3705,64 unequal: No Solution Exploring Operation: 95+39=134, Resulting Numbers: [134] 134,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,4 Current State: 64:[95, 87], Operations: ['48/2=24', '63+24=87'] Exploring Operation: 95+87=182, Resulting Numbers: [182] 182,64 unequal: No Solution Exploring Operation: 95-87=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 95*87=8265, Resulting Numbers: [8265] 8265,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:[63, 119], Operations: ['48/2=24', '95+24=119'] Exploring Operation: 63*119=7497, Resulting Numbers: [7497] 7497,64 unequal: No Solution Exploring Operation: 119-63=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 63+119=182, Resulting Numbers: [182] 182,64 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: 64:[48, 63, 93], Operations: ['95-2=93'] Exploring Operation: 63-48=15, Resulting Numbers: [93, 15] Generated Node #0,1,0: 64:[93, 15] Operation: 63-48=15 Exploring Operation: 93-48=45, Resulting Numbers: [63, 45] Generated Node #0,1,1: 64:[63, 45] Operation: 93-48=45 Exploring Operation: 48+93=141, Resulting Numbers: [63, 141] Generated Node #0,1,2: 64:[63, 141] Operation: 48+93=141 Exploring Operation: 48+63=111, Resulting Numbers: [93, 111] Generated Node #0,1,3: 64:[93, 111] Operation: 48+63=111 Exploring Operation: 93-63=30, Resulting Numbers: [48, 30] Generated Node #0,1,4: 64:[48, 30] Operation: 93-63=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[63, 45], Operations: ['95-2=93', '93-48=45'] Exploring Operation: 63*45=2835, Resulting Numbers: [2835] 2835,64 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 63+45=108, Resulting Numbers: [108] 108,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,1,4 Current State: 64:[48, 30], Operations: ['95-2=93', '93-63=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,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,1,0 Current State: 64:[93, 15], Operations: ['95-2=93', '63-48=15'] Exploring Operation: 93*15=1395, Resulting Numbers: [1395] 1395,64 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 93+15=108, Resulting Numbers: [108] 108,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,1,3 Current State: 64:[93, 111], Operations: ['95-2=93', '48+63=111'] Exploring Operation: 93*111=10323, Resulting Numbers: [10323] 10323,64 unequal: No Solution Exploring Operation: 93+111=204, Resulting Numbers: [204] 204,64 unequal: No Solution Exploring Operation: 111-93=18, Resulting Numbers: [18] 18,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,1,2 Current State: 64:[63, 141], Operations: ['95-2=93', '48+93=141'] Exploring Operation: 141-63=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 63*141=8883, Resulting Numbers: [8883] 8883,64 unequal: No Solution Exploring Operation: 63+141=204, Resulting Numbers: [204] 204,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 64:[2, 16], Operations: ['95-63=32', '48-32=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[32, 24], Operations: ['95-63=32', '48/2=24'] Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[32, 46], Operations: ['95-63=32', '48-2=46'] Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,64 unequal: No Solution Exploring Operation: 46-32=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 32*46=1472, Resulting Numbers: [1472] 1472,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[32, 50], Operations: ['95-63=32', '2+48=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,64 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[48, 64], Operations: ['95-63=32', '2*32=64'] Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,64 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 47, 61, 75, 84 ]
58
[ "75-47=28", "84/28=3", "61-3=58" ]
Current State: 58:[47, 61, 75, 84], Operations: [] Exploring Operation: 75-47=28, Resulting Numbers: [61, 84, 28] Generated Node #2: [61, 84, 28] from Operation: 75-47=28 Current State: 58:[61, 84, 28], Operations: ['75-47=28'] Exploring Operation: 84/28=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 84/28=3 Current State: 58:[61, 3], Operations: ['75-47=28', '84/28=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[47, 61, 75, 84], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [47, 61, 9] Generated Node #0,0: 58:[47, 61, 9] Operation: 84-75=9 Exploring Operation: 84-47=37, Resulting Numbers: [61, 75, 37] Generated Node #0,1: 58:[61, 75, 37] Operation: 84-47=37 Moving to Node #0,0 Current State: 58:[47, 61, 9], Operations: ['84-75=9'] Exploring Operation: 47-9=38, Resulting Numbers: [61, 38] Generated Node #0,0,0: 58:[61, 38] Operation: 47-9=38 Exploring Operation: 47+9=56, Resulting Numbers: [61, 56] Generated Node #0,0,1: 58:[61, 56] Operation: 47+9=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[61, 56], Operations: ['84-75=9', '47+9=56'] Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 61+56=117, Resulting Numbers: [117] 117,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[61, 38], Operations: ['84-75=9', '47-9=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,58 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: 58:[61, 75, 37], Operations: ['84-47=37'] Exploring Operation: 75-61=14, Resulting Numbers: [37, 14] Generated Node #0,1,0: 58:[37, 14] Operation: 75-61=14 Exploring Operation: 75-37=38, Resulting Numbers: [61, 38] Generated Node #0,1,1: 58:[61, 38] Operation: 75-37=38 Moving to Node #0,1,1 Current State: 58:[61, 38], Operations: ['84-47=37', '75-37=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[37, 14], Operations: ['84-47=37', '75-61=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,58 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 14, 70, 89, 55 ]
60
[ "14+70=84", "89+55=144", "144-84=60" ]
Current State: 60:[14, 70, 89, 55], Operations: [] Exploring Operation: 14+70=84, Resulting Numbers: [89, 55, 84] Generated Node #2: [89, 55, 84] from Operation: 14+70=84 Current State: 60:[89, 55, 84], Operations: ['14+70=84'] Exploring Operation: 89+55=144, Resulting Numbers: [84, 144] Generated Node #3: [84, 144] from Operation: 89+55=144 Current State: 60:[84, 144], Operations: ['14+70=84', '89+55=144'] Exploring Operation: 144-84=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[14, 70, 89, 55], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [14, 55, 19] Generated Node #0,0: 60:[14, 55, 19] Operation: 89-70=19 Exploring Operation: 89-55=34, Resulting Numbers: [14, 70, 34] Generated Node #0,1: 60:[14, 70, 34] Operation: 89-55=34 Moving to Node #0,0 Current State: 60:[14, 55, 19], Operations: ['89-70=19'] Exploring Operation: 19-14=5, Resulting Numbers: [55, 5] Generated Node #0,0,0: 60:[55, 5] Operation: 19-14=5 Exploring Operation: 55-19=36, Resulting Numbers: [14, 36] Generated Node #0,0,1: 60:[14, 36] Operation: 55-19=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[55, 5], Operations: ['89-70=19', '19-14=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[14, 70, 89, 55], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [14, 55, 19] Generated Node #0,0: 60:[14, 55, 19] Operation: 89-70=19 Moving to Node #0,0 Current State: 60:[14, 55, 19], Operations: ['89-70=19'] Exploring Operation: 19-14=5, Resulting Numbers: [55, 5] Generated Node #0,0,0: 60:[55, 5] Operation: 19-14=5 Moving to Node #0,0,0 Current State: 60:[55, 5], Operations: ['89-70=19', '19-14=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 6, 46, 50, 35 ]
16
[ "46-35=11", "6*11=66", "66-50=16" ]
Current State: 16:[6, 46, 50, 35], Operations: [] Exploring Operation: 46-35=11, Resulting Numbers: [6, 50, 11] Generated Node #2: [6, 50, 11] from Operation: 46-35=11 Current State: 16:[6, 50, 11], Operations: ['46-35=11'] Exploring Operation: 6*11=66, Resulting Numbers: [50, 66] Generated Node #3: [50, 66] from Operation: 6*11=66 Current State: 16:[50, 66], Operations: ['46-35=11', '6*11=66'] Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 46, 50, 35], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [6, 35, 4] Generated Node #0,0: 16:[6, 35, 4] Operation: 50-46=4 Moving to Node #0,0 Current State: 16:[6, 35, 4], Operations: ['50-46=4'] Exploring Operation: 35-6=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 16:[4, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[4, 29], Operations: ['50-46=4', '35-6=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,16 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
[ 65, 96, 66, 15 ]
67
[ "96-66=30", "30/15=2", "65+2=67" ]
Current State: 67:[65, 96, 66, 15], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [65, 15, 30] Generated Node #2: [65, 15, 30] from Operation: 96-66=30 Current State: 67:[65, 15, 30], Operations: ['96-66=30'] Exploring Operation: 30/15=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 30/15=2 Current State: 67:[65, 2], Operations: ['96-66=30', '30/15=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 96, 66, 15], Operations: [] Exploring Operation: 96-15=81, Resulting Numbers: [65, 66, 81] Generated Node #0,0: 67:[65, 66, 81] Operation: 96-15=81 Exploring Operation: 65+15=80, Resulting Numbers: [96, 66, 80] Generated Node #0,1: 67:[96, 66, 80] Operation: 65+15=80 Exploring Operation: 66+15=81, Resulting Numbers: [65, 96, 81] Generated Node #0,2: 67:[65, 96, 81] Operation: 66+15=81 Exploring Operation: 65-15=50, Resulting Numbers: [96, 66, 50] Generated Node #0,3: 67:[96, 66, 50] Operation: 65-15=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[65, 66, 81], Operations: ['96-15=81'] Exploring Operation: 65+66=131, Resulting Numbers: [81, 131] Generated Node #0,0,0: 67:[81, 131] Operation: 65+66=131 Exploring Operation: 81-66=15, Resulting Numbers: [65, 15] Generated Node #0,0,1: 67:[65, 15] Operation: 81-66=15 Exploring Operation: 81-65=16, Resulting Numbers: [66, 16] Generated Node #0,0,2: 67:[66, 16] Operation: 81-65=16 Exploring Operation: 66-65=1, Resulting Numbers: [81, 1] Generated Node #0,0,3: 67:[81, 1] Operation: 66-65=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[66, 16], Operations: ['96-15=81', '81-65=16'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[65, 15], Operations: ['96-15=81', '81-66=15'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,67 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[81, 131], Operations: ['96-15=81', '65+66=131'] Exploring Operation: 81*131=10611, Resulting Numbers: [10611] 10611,67 unequal: No Solution Exploring Operation: 81+131=212, Resulting Numbers: [212] 212,67 unequal: No Solution Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 67:[81, 1], Operations: ['96-15=81', '66-65=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 81-1=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,67 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: 67:[96, 66, 80], Operations: ['65+15=80'] Exploring Operation: 96-66=30, Resulting Numbers: [80, 30] Generated Node #0,1,0: 67:[80, 30] Operation: 96-66=30 Exploring Operation: 96+66=162, Resulting Numbers: [80, 162] Generated Node #0,1,1: 67:[80, 162] Operation: 96+66=162 Exploring Operation: 96-80=16, Resulting Numbers: [66, 16] Generated Node #0,1,2: 67:[66, 16] Operation: 96-80=16 Exploring Operation: 80-66=14, Resulting Numbers: [96, 14] Generated Node #0,1,3: 67:[96, 14] Operation: 80-66=14 Moving to Node #0,1,0 Current State: 67:[80, 30], Operations: ['65+15=80', '96-66=30'] Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,67 unequal: No Solution Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[66, 16], Operations: ['65+15=80', '96-80=16'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,67 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[96, 14], Operations: ['65+15=80', '80-66=14'] Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 96*14=1344, Resulting Numbers: [1344] 1344,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[80, 162], Operations: ['65+15=80', '96+66=162'] Exploring Operation: 80*162=12960, Resulting Numbers: [12960] 12960,67 unequal: No Solution Exploring Operation: 80+162=242, Resulting Numbers: [242] 242,67 unequal: No Solution Exploring Operation: 162-80=82, Resulting Numbers: [82] 82,67 unequal: No Solution No 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: 67:[65, 96, 81], Operations: ['66+15=81'] Exploring Operation: 96-81=15, Resulting Numbers: [65, 15] Generated Node #0,2,0: 67:[65, 15] Operation: 96-81=15 Exploring Operation: 65+96=161, Resulting Numbers: [81, 161] Generated Node #0,2,1: 67:[81, 161] Operation: 65+96=161 Exploring Operation: 81-65=16, Resulting Numbers: [96, 16] Generated Node #0,2,2: 67:[96, 16] Operation: 81-65=16 Exploring Operation: 96-65=31, Resulting Numbers: [81, 31] Generated Node #0,2,3: 67:[81, 31] Operation: 96-65=31 Moving to Node #0,2,3 Current State: 67:[81, 31], Operations: ['66+15=81', '96-65=31'] Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,67 unequal: No Solution Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[65, 15], Operations: ['66+15=81', '96-81=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,67 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[96, 16], Operations: ['66+15=81', '81-65=16'] Exploring Operation: 96*16=1536, Resulting Numbers: [1536] 1536,67 unequal: No Solution Exploring Operation: 96-16=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 96+16=112, Resulting Numbers: [112] 112,67 unequal: No Solution Exploring Operation: 96/16=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[81, 161], Operations: ['66+15=81', '65+96=161'] Exploring Operation: 81*161=13041, Resulting Numbers: [13041] 13041,67 unequal: No Solution Exploring Operation: 81+161=242, Resulting Numbers: [242] 242,67 unequal: No Solution Exploring Operation: 161-81=80, Resulting Numbers: [80] 80,67 unequal: No Solution No 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: 67:[96, 66, 50], Operations: ['65-15=50'] Exploring Operation: 96+50=146, Resulting Numbers: [66, 146] Generated Node #0,3,0: 67:[66, 146] Operation: 96+50=146 Exploring Operation: 96-50=46, Resulting Numbers: [66, 46] Generated Node #0,3,1: 67:[66, 46] Operation: 96-50=46 Exploring Operation: 96-66=30, Resulting Numbers: [50, 30] Generated Node #0,3,2: 67:[50, 30] Operation: 96-66=30 Exploring Operation: 66+50=116, Resulting Numbers: [96, 116] Generated Node #0,3,3: 67:[96, 116] Operation: 66+50=116 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[66, 46], Operations: ['65-15=50', '96-50=46'] Exploring Operation: 66*46=3036, Resulting Numbers: [3036] 3036,67 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 66+46=112, Resulting Numbers: [112] 112,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[50, 30], Operations: ['65-15=50', '96-66=30'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 50*30=1500, Resulting Numbers: [1500] 1500,67 unequal: No Solution Exploring Operation: 50+30=80, Resulting Numbers: [80] 80,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[96, 116], Operations: ['65-15=50', '66+50=116'] Exploring Operation: 96*116=11136, Resulting Numbers: [11136] 11136,67 unequal: No Solution Exploring Operation: 116-96=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 96+116=212, Resulting Numbers: [212] 212,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[66, 146], Operations: ['65-15=50', '96+50=146'] Exploring Operation: 66+146=212, Resulting Numbers: [212] 212,67 unequal: No Solution Exploring Operation: 66*146=9636, Resulting Numbers: [9636] 9636,67 unequal: No Solution Exploring Operation: 146-66=80, Resulting Numbers: [80] 80,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 22, 34, 8, 47 ]
49
[ "34-22=12", "8*12=96", "96-47=49" ]
Current State: 49:[22, 34, 8, 47], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [8, 47, 12] Generated Node #2: [8, 47, 12] from Operation: 34-22=12 Current State: 49:[8, 47, 12], Operations: ['34-22=12'] Exploring Operation: 8*12=96, Resulting Numbers: [47, 96] Generated Node #3: [47, 96] from Operation: 8*12=96 Current State: 49:[47, 96], Operations: ['34-22=12', '8*12=96'] Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[22, 34, 8, 47], Operations: [] Exploring Operation: 34-22=12, Resulting Numbers: [8, 47, 12] Generated Node #0,0: 49:[8, 47, 12] Operation: 34-22=12 Exploring Operation: 22+34=56, Resulting Numbers: [8, 47, 56] Generated Node #0,1: 49:[8, 47, 56] Operation: 22+34=56 Moving to Node #0,0 Current State: 49:[8, 47, 12], Operations: ['34-22=12'] Exploring Operation: 12-8=4, Resulting Numbers: [47, 4] Generated Node #0,0,0: 49:[47, 4] Operation: 12-8=4 Exploring Operation: 8+47=55, Resulting Numbers: [12, 55] Generated Node #0,0,1: 49:[12, 55] Operation: 8+47=55 Moving to Node #0,1 Current State: 49:[8, 47, 56], Operations: ['22+34=56'] Exploring Operation: 56/8=7, Resulting Numbers: [47, 7] Generated Node #0,1,0: 49:[47, 7] Operation: 56/8=7 Exploring Operation: 56-8=48, Resulting Numbers: [47, 48] Generated Node #0,1,1: 49:[47, 48] Operation: 56-8=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[47, 7], Operations: ['22+34=56', '56/8=7'] Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,49 unequal: No Solution No 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: 49:[47, 48], Operations: ['22+34=56', '56-8=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,49 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,49 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: 49:[47, 4], Operations: ['34-22=12', '12-8=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[12, 55], Operations: ['34-22=12', '8+47=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,49 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 30, 2, 90, 68 ]
74
[ "30/2=15", "90/15=6", "68+6=74" ]
Current State: 74:[30, 2, 90, 68], Operations: [] Exploring Operation: 30/2=15, Resulting Numbers: [90, 68, 15] Generated Node #2: [90, 68, 15] from Operation: 30/2=15 Current State: 74:[90, 68, 15], Operations: ['30/2=15'] Exploring Operation: 90/15=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 90/15=6 Current State: 74:[68, 6], Operations: ['30/2=15', '90/15=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[30, 2, 90, 68], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [30, 2, 22] Generated Node #0,0: 74:[30, 2, 22] Operation: 90-68=22 Exploring Operation: 90/2=45, Resulting Numbers: [30, 68, 45] Generated Node #0,1: 74:[30, 68, 45] Operation: 90/2=45 Exploring Operation: 90-30=60, Resulting Numbers: [2, 68, 60] Generated Node #0,2: 74:[2, 68, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [2, 68, 3] Generated Node #0,3: 74:[2, 68, 3] Operation: 90/30=3 Exploring Operation: 68-30=38, Resulting Numbers: [2, 90, 38] Generated Node #0,4: 74:[2, 90, 38] Operation: 68-30=38 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[2, 68, 3], Operations: ['90/30=3'] Exploring Operation: 68/2=34, Resulting Numbers: [3, 34] Generated Node #0,3,0: 74:[3, 34] Operation: 68/2=34 Exploring Operation: 68+3=71, Resulting Numbers: [2, 71] Generated Node #0,3,1: 74:[2, 71] Operation: 68+3=71 Exploring Operation: 68-2=66, Resulting Numbers: [3, 66] Generated Node #0,3,2: 74:[3, 66] Operation: 68-2=66 Exploring Operation: 3-2=1, Resulting Numbers: [68, 1] Generated Node #0,3,3: 74:[68, 1] Operation: 3-2=1 Exploring Operation: 2+68=70, Resulting Numbers: [3, 70] Generated Node #0,3,4: 74:[3, 70] Operation: 2+68=70 Moving to Node #0,3,1 Current State: 74:[2, 71], Operations: ['90/30=3', '68+3=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,74 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[3, 34], Operations: ['90/30=3', '68/2=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[3, 70], Operations: ['90/30=3', '2+68=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,74 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[68, 1], Operations: ['90/30=3', '3-2=1'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,74 unequal: No Solution Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,74 unequal: No Solution Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[3, 66], Operations: ['90/30=3', '68-2=66'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,74 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,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,4 Current State: 74:[2, 90, 38], Operations: ['68-30=38'] Exploring Operation: 2*38=76, Resulting Numbers: [90, 76] Generated Node #0,4,0: 74:[90, 76] Operation: 2*38=76 Exploring Operation: 90-38=52, Resulting Numbers: [2, 52] Generated Node #0,4,1: 74:[2, 52] Operation: 90-38=52 Exploring Operation: 38-2=36, Resulting Numbers: [90, 36] Generated Node #0,4,2: 74:[90, 36] Operation: 38-2=36 Exploring Operation: 90-2=88, Resulting Numbers: [38, 88] Generated Node #0,4,3: 74:[38, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [38, 45] Generated Node #0,4,4: 74:[38, 45] Operation: 90/2=45 Moving to Node #0,4,4 Current State: 74:[38, 45], Operations: ['68-30=38', '90/2=45'] Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,74 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,74 unequal: No Solution Moving to Node #0,4,3 Current State: 74:[38, 88], Operations: ['68-30=38', '90-2=88'] Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,74 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,74 unequal: No Solution Moving to Node #0,4,1 Current State: 74:[2, 52], Operations: ['68-30=38', '90-38=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,74 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,74 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,74 unequal: No Solution Moving to Node #0,4,2 Current State: 74:[90, 36], Operations: ['68-30=38', '38-2=36'] Exploring Operation: 90+36=126, Resulting Numbers: [126] 126,74 unequal: No Solution Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,74 unequal: No Solution Exploring Operation: 90*36=3240, Resulting Numbers: [3240] 3240,74 unequal: No Solution Moving to Node #0,4,0 Current State: 74:[90, 76], Operations: ['68-30=38', '2*38=76'] Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,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 Current State: 74:[2, 68, 60], Operations: ['90-30=60'] Exploring Operation: 2+68=70, Resulting Numbers: [60, 70] Generated Node #0,2,0: 74:[60, 70] Operation: 2+68=70 Exploring Operation: 68/2=34, Resulting Numbers: [60, 34] Generated Node #0,2,1: 74:[60, 34] Operation: 68/2=34 Exploring Operation: 60/2=30, Resulting Numbers: [68, 30] Generated Node #0,2,2: 74:[68, 30] Operation: 60/2=30 Exploring Operation: 68-60=8, Resulting Numbers: [2, 8] Generated Node #0,2,3: 74:[2, 8] Operation: 68-60=8 Exploring Operation: 2+60=62, Resulting Numbers: [68, 62] Generated Node #0,2,4: 74:[68, 62] Operation: 2+60=62 Moving to Node #0,2,3 Current State: 74:[2, 8], Operations: ['90-30=60', '68-60=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[68, 30], Operations: ['90-30=60', '60/2=30'] Exploring Operation: 68*30=2040, Resulting Numbers: [2040] 2040,74 unequal: No Solution Exploring Operation: 68+30=98, Resulting Numbers: [98] 98,74 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[60, 34], Operations: ['90-30=60', '68/2=34'] Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,74 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[60, 70], Operations: ['90-30=60', '2+68=70'] Exploring Operation: 60*70=4200, Resulting Numbers: [4200] 4200,74 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 60+70=130, Resulting Numbers: [130] 130,74 unequal: No Solution Moving to Node #0,2,4 Current State: 74:[68, 62], Operations: ['90-30=60', '2+60=62'] Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,74 unequal: No Solution Exploring Operation: 68-62=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,1 Current State: 74:[30, 68, 45], Operations: ['90/2=45'] Exploring Operation: 30+68=98, Resulting Numbers: [45, 98] Generated Node #0,1,0: 74:[45, 98] Operation: 30+68=98 Exploring Operation: 68-30=38, Resulting Numbers: [45, 38] Generated Node #0,1,1: 74:[45, 38] Operation: 68-30=38 Exploring Operation: 45-30=15, Resulting Numbers: [68, 15] Generated Node #0,1,2: 74:[68, 15] Operation: 45-30=15 Exploring Operation: 68-45=23, Resulting Numbers: [30, 23] Generated Node #0,1,3: 74:[30, 23] Operation: 68-45=23 Exploring Operation: 30+45=75, Resulting Numbers: [68, 75] Generated Node #0,1,4: 74:[68, 75] Operation: 30+45=75 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 74:[68, 75], Operations: ['90/2=45', '30+45=75'] Exploring Operation: 75-68=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 68+75=143, Resulting Numbers: [143] 143,74 unequal: No Solution Exploring Operation: 68*75=5100, Resulting Numbers: [5100] 5100,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[45, 38], Operations: ['90/2=45', '68-30=38'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 45*38=1710, Resulting Numbers: [1710] 1710,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[68, 15], Operations: ['90/2=45', '45-30=15'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[30, 23], Operations: ['90/2=45', '68-45=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[45, 98], Operations: ['90/2=45', '30+68=98'] Exploring Operation: 45+98=143, Resulting Numbers: [143] 143,74 unequal: No Solution Exploring Operation: 45*98=4410, Resulting Numbers: [4410] 4410,74 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[30, 2, 22], Operations: ['90-68=22'] Exploring Operation: 30+22=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 74:[2, 52] Operation: 30+22=52 Exploring Operation: 30+2=32, Resulting Numbers: [22, 32] Generated Node #0,0,1: 74:[22, 32] Operation: 30+2=32 Exploring Operation: 22/2=11, Resulting Numbers: [30, 11] Generated Node #0,0,2: 74:[30, 11] Operation: 22/2=11 Exploring Operation: 30-22=8, Resulting Numbers: [2, 8] Generated Node #0,0,3: 74:[2, 8] Operation: 30-22=8 Exploring Operation: 2*22=44, Resulting Numbers: [30, 44] Generated Node #0,0,4: 74:[30, 44] Operation: 2*22=44 Moving to Node #0,0,3 Current State: 74:[2, 8], Operations: ['90-68=22', '30-22=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,74 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[30, 44], Operations: ['90-68=22', '2*22=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[30, 2, 90, 68], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [30, 2, 22] Generated Node #0,0: 74:[30, 2, 22] Operation: 90-68=22 Moving to Node #0,0 Current State: 74:[30, 2, 22], Operations: ['90-68=22'] Exploring Operation: 2*22=44, Resulting Numbers: [30, 44] Generated Node #0,0,4: 74:[30, 44] Operation: 2*22=44 Moving to Node #0,0,4 Current State: 74:[30, 44], Operations: ['90-68=22', '2*22=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.909722
hs_5
mult_heuristic
[ 52, 65, 74, 22 ]
65
[ "52+65=117", "74-22=52", "117-52=65" ]
Current State: 65:[52, 65, 74, 22], Operations: [] Exploring Operation: 52+65=117, Resulting Numbers: [74, 22, 117] Generated Node #2: [74, 22, 117] from Operation: 52+65=117 Current State: 65:[74, 22, 117], Operations: ['52+65=117'] Exploring Operation: 74-22=52, Resulting Numbers: [117, 52] Generated Node #3: [117, 52] from Operation: 74-22=52 Current State: 65:[117, 52], Operations: ['52+65=117', '74-22=52'] Exploring Operation: 117-52=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[52, 65, 74, 22], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [74, 22, 13] Generated Node #0,0: 65:[74, 22, 13] Operation: 65-52=13 Exploring Operation: 52+22=74, Resulting Numbers: [65, 74, 74] Generated Node #0,1: 65:[65, 74, 74] Operation: 52+22=74 Exploring Operation: 74-52=22, Resulting Numbers: [65, 22, 22] Generated Node #0,2: 65:[65, 22, 22] Operation: 74-52=22 Moving to Node #0,0 Current State: 65:[74, 22, 13], Operations: ['65-52=13'] Exploring Operation: 74-13=61, Resulting Numbers: [22, 61] Generated Node #0,0,0: 65:[22, 61] Operation: 74-13=61 Exploring Operation: 22-13=9, Resulting Numbers: [74, 9] Generated Node #0,0,1: 65:[74, 9] Operation: 22-13=9 Exploring Operation: 74-22=52, Resulting Numbers: [13, 52] Generated Node #0,0,2: 65:[13, 52] Operation: 74-22=52 Moving to Node #0,1 Current State: 65:[65, 74, 74], Operations: ['52+22=74'] Exploring Operation: 74/74=1, Resulting Numbers: [65, 1] Generated Node #0,1,0: 65:[65, 1] Operation: 74/74=1 Exploring Operation: 74-65=9, Resulting Numbers: [74, 9] Generated Node #0,1,1: 65:[74, 9] Operation: 74-65=9 Exploring Operation: 74-74=0, Resulting Numbers: [65, 0] Generated Node #0,1,2: 65:[65, 0] Operation: 74-74=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[65, 1], Operations: ['52+22=74', '74/74=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[52, 65, 74, 22], Operations: [] Exploring Operation: 52+22=74, Resulting Numbers: [65, 74, 74] Generated Node #0,1: 65:[65, 74, 74] Operation: 52+22=74 Moving to Node #0,1 Current State: 65:[65, 74, 74], Operations: ['52+22=74'] Exploring Operation: 74/74=1, Resulting Numbers: [65, 1] Generated Node #0,1,0: 65:[65, 1] Operation: 74/74=1 Moving to Node #0,1,0 Current State: 65:[65, 1], Operations: ['52+22=74', '74/74=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 93, 78, 89, 36 ]
69
[ "93-89=4", "36/4=9", "78-9=69" ]
Current State: 69:[93, 78, 89, 36], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [78, 36, 4] Generated Node #2: [78, 36, 4] from Operation: 93-89=4 Current State: 69:[78, 36, 4], Operations: ['93-89=4'] Exploring Operation: 36/4=9, Resulting Numbers: [78, 9] Generated Node #3: [78, 9] from Operation: 36/4=9 Current State: 69:[78, 9], Operations: ['93-89=4', '36/4=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[93, 78, 89, 36], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [78, 36, 4] Generated Node #0,0: 69:[78, 36, 4] Operation: 93-89=4 Exploring Operation: 93-78=15, Resulting Numbers: [89, 36, 15] Generated Node #0,1: 69:[89, 36, 15] Operation: 93-78=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[78, 36, 4], Operations: ['93-89=4'] Exploring Operation: 36/4=9, Resulting Numbers: [78, 9] Generated Node #0,0,0: 69:[78, 9] Operation: 36/4=9 Exploring Operation: 78-4=74, Resulting Numbers: [36, 74] Generated Node #0,0,1: 69:[36, 74] Operation: 78-4=74 Moving to Node #0,0,0 Current State: 69:[78, 9], Operations: ['93-89=4', '36/4=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[93, 78, 89, 36], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [78, 36, 4] Generated Node #0,0: 69:[78, 36, 4] Operation: 93-89=4 Moving to Node #0,0 Current State: 69:[78, 36, 4], Operations: ['93-89=4'] Exploring Operation: 36/4=9, Resulting Numbers: [78, 9] Generated Node #0,0,0: 69:[78, 9] Operation: 36/4=9 Moving to Node #0,0,0 Current State: 69:[78, 9], Operations: ['93-89=4', '36/4=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 46, 68, 33, 88 ]
59
[ "46+68=114", "88-33=55", "114-55=59" ]
Current State: 59:[46, 68, 33, 88], Operations: [] Exploring Operation: 46+68=114, Resulting Numbers: [33, 88, 114] Generated Node #2: [33, 88, 114] from Operation: 46+68=114 Current State: 59:[33, 88, 114], Operations: ['46+68=114'] Exploring Operation: 88-33=55, Resulting Numbers: [114, 55] Generated Node #3: [114, 55] from Operation: 88-33=55 Current State: 59:[114, 55], Operations: ['46+68=114', '88-33=55'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[46, 68, 33, 88], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [46, 68, 55] Generated Node #0,0: 59:[46, 68, 55] Operation: 88-33=55 Moving to Node #0,0 Current State: 59:[46, 68, 55], Operations: ['88-33=55'] Exploring Operation: 68-46=22, Resulting Numbers: [55, 22] Generated Node #0,0,0: 59:[55, 22] Operation: 68-46=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[55, 22], Operations: ['88-33=55', '68-46=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 90, 70, 68 ]
28
[ "76+90=166", "70+68=138", "166-138=28" ]
Current State: 28:[76, 90, 70, 68], Operations: [] Exploring Operation: 76+90=166, Resulting Numbers: [70, 68, 166] Generated Node #2: [70, 68, 166] from Operation: 76+90=166 Current State: 28:[70, 68, 166], Operations: ['76+90=166'] Exploring Operation: 70+68=138, Resulting Numbers: [166, 138] Generated Node #3: [166, 138] from Operation: 70+68=138 Current State: 28:[166, 138], Operations: ['76+90=166', '70+68=138'] Exploring Operation: 166-138=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[76, 90, 70, 68], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [70, 68, 14] Generated Node #0,0: 28:[70, 68, 14] Operation: 90-76=14 Exploring Operation: 90-70=20, Resulting Numbers: [76, 68, 20] Generated Node #0,1: 28:[76, 68, 20] Operation: 90-70=20 Exploring Operation: 76-70=6, Resulting Numbers: [90, 68, 6] Generated Node #0,2: 28:[90, 68, 6] Operation: 76-70=6 Exploring Operation: 90-68=22, Resulting Numbers: [76, 70, 22] Generated Node #0,3: 28:[76, 70, 22] Operation: 90-68=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[70, 68, 14], Operations: ['90-76=14'] Exploring Operation: 70/14=5, Resulting Numbers: [68, 5] Generated Node #0,0,0: 28:[68, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [68, 56] Generated Node #0,0,1: 28:[68, 56] Operation: 70-14=56 Exploring Operation: 70-68=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 28:[14, 2] Operation: 70-68=2 Exploring Operation: 68-14=54, Resulting Numbers: [70, 54] Generated Node #0,0,3: 28:[70, 54] Operation: 68-14=54 Moving to Node #0,0,2 Current State: 28:[14, 2], Operations: ['90-76=14', '70-68=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[76, 90, 70, 68], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [70, 68, 14] Generated Node #0,0: 28:[70, 68, 14] Operation: 90-76=14 Moving to Node #0,0 Current State: 28:[70, 68, 14], Operations: ['90-76=14'] Exploring Operation: 70-68=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 28:[14, 2] Operation: 70-68=2 Moving to Node #0,0,2 Current State: 28:[14, 2], Operations: ['90-76=14', '70-68=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 43, 13, 56, 48 ]
63
[ "43+48=91", "91/13=7", "56+7=63" ]
Current State: 63:[43, 13, 56, 48], Operations: [] Exploring Operation: 43+48=91, Resulting Numbers: [13, 56, 91] Generated Node #2: [13, 56, 91] from Operation: 43+48=91 Current State: 63:[13, 56, 91], Operations: ['43+48=91'] Exploring Operation: 91/13=7, Resulting Numbers: [56, 7] Generated Node #3: [56, 7] from Operation: 91/13=7 Current State: 63:[56, 7], Operations: ['43+48=91', '91/13=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[43, 13, 56, 48], Operations: [] Exploring Operation: 48-43=5, Resulting Numbers: [13, 56, 5] Generated Node #0,0: 63:[13, 56, 5] Operation: 48-43=5 Moving to Node #0,0 Current State: 63:[13, 56, 5], Operations: ['48-43=5'] Exploring Operation: 56+5=61, Resulting Numbers: [13, 61] Generated Node #0,0,0: 63:[13, 61] Operation: 56+5=61 Moving to Node #0,0,0 Current State: 63:[13, 61], Operations: ['48-43=5', '56+5=61'] Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,63 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 13, 14, 90, 50 ]
23
[ "90+50=140", "140/14=10", "13+10=23" ]
Current State: 23:[13, 14, 90, 50], Operations: [] Exploring Operation: 90+50=140, Resulting Numbers: [13, 14, 140] Generated Node #2: [13, 14, 140] from Operation: 90+50=140 Current State: 23:[13, 14, 140], Operations: ['90+50=140'] Exploring Operation: 140/14=10, Resulting Numbers: [13, 10] Generated Node #3: [13, 10] from Operation: 140/14=10 Current State: 23:[13, 10], Operations: ['90+50=140', '140/14=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 14, 90, 50], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [13, 14, 40] Generated Node #0,0: 23:[13, 14, 40] Operation: 90-50=40 Exploring Operation: 90-13=77, Resulting Numbers: [14, 50, 77] Generated Node #0,1: 23:[14, 50, 77] Operation: 90-13=77 Exploring Operation: 50-13=37, Resulting Numbers: [14, 90, 37] Generated Node #0,2: 23:[14, 90, 37] Operation: 50-13=37 Exploring Operation: 90-14=76, Resulting Numbers: [13, 50, 76] Generated Node #0,3: 23:[13, 50, 76] Operation: 90-14=76 Exploring Operation: 50-14=36, Resulting Numbers: [13, 90, 36] Generated Node #0,4: 23:[13, 90, 36] Operation: 50-14=36 Moving to Node #0,0 Current State: 23:[13, 14, 40], Operations: ['90-50=40'] Exploring Operation: 40-13=27, Resulting Numbers: [14, 27] Generated Node #0,0,0: 23:[14, 27] Operation: 40-13=27 Exploring Operation: 13+40=53, Resulting Numbers: [14, 53] Generated Node #0,0,1: 23:[14, 53] Operation: 13+40=53 Exploring Operation: 13+14=27, Resulting Numbers: [40, 27] Generated Node #0,0,2: 23:[40, 27] Operation: 13+14=27 Exploring Operation: 40-14=26, Resulting Numbers: [13, 26] Generated Node #0,0,3: 23:[13, 26] Operation: 40-14=26 Exploring Operation: 14-13=1, Resulting Numbers: [40, 1] Generated Node #0,0,4: 23:[40, 1] Operation: 14-13=1 Moving to Node #0,2 Current State: 23:[14, 90, 37], Operations: ['50-13=37'] Exploring Operation: 37-14=23, Resulting Numbers: [90, 23] Generated Node #0,2,0: 23:[90, 23] Operation: 37-14=23 Exploring Operation: 14+37=51, Resulting Numbers: [90, 51] Generated Node #0,2,1: 23:[90, 51] Operation: 14+37=51 Exploring Operation: 90-14=76, Resulting Numbers: [37, 76] Generated Node #0,2,2: 23:[37, 76] Operation: 90-14=76 Exploring Operation: 14+90=104, Resulting Numbers: [37, 104] Generated Node #0,2,3: 23:[37, 104] Operation: 14+90=104 Exploring Operation: 90-37=53, Resulting Numbers: [14, 53] Generated Node #0,2,4: 23:[14, 53] Operation: 90-37=53 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 23:[14, 53], Operations: ['50-13=37', '90-37=53'] Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,23 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[90, 23], Operations: ['50-13=37', '37-14=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,23 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[37, 76], Operations: ['50-13=37', '90-14=76'] Exploring Operation: 37*76=2812, Resulting Numbers: [2812] 2812,23 unequal: No Solution Exploring Operation: 37+76=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[90, 51], Operations: ['50-13=37', '14+37=51'] Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,23 unequal: No Solution Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,23 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[37, 104], Operations: ['50-13=37', '14+90=104'] Exploring Operation: 37+104=141, Resulting Numbers: [141] 141,23 unequal: No Solution Exploring Operation: 37*104=3848, Resulting Numbers: [3848] 3848,23 unequal: No Solution Exploring Operation: 104-37=67, Resulting Numbers: [67] 67,23 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: 23:[13, 90, 36], Operations: ['50-14=36'] Exploring Operation: 90-36=54, Resulting Numbers: [13, 54] Generated Node #0,4,0: 23:[13, 54] Operation: 90-36=54 Exploring Operation: 36-13=23, Resulting Numbers: [90, 23] Generated Node #0,4,1: 23:[90, 23] Operation: 36-13=23 Exploring Operation: 90-13=77, Resulting Numbers: [36, 77] Generated Node #0,4,2: 23:[36, 77] Operation: 90-13=77 Exploring Operation: 13+90=103, Resulting Numbers: [36, 103] Generated Node #0,4,3: 23:[36, 103] Operation: 13+90=103 Exploring Operation: 13+36=49, Resulting Numbers: [90, 49] Generated Node #0,4,4: 23:[90, 49] Operation: 13+36=49 Moving to Node #0,1 Current State: 23:[14, 50, 77], Operations: ['90-13=77'] Exploring Operation: 77-14=63, Resulting Numbers: [50, 63] Generated Node #0,1,0: 23:[50, 63] Operation: 77-14=63 Exploring Operation: 14+50=64, Resulting Numbers: [77, 64] Generated Node #0,1,1: 23:[77, 64] Operation: 14+50=64 Exploring Operation: 50-14=36, Resulting Numbers: [77, 36] Generated Node #0,1,2: 23:[77, 36] Operation: 50-14=36 Exploring Operation: 14+77=91, Resulting Numbers: [50, 91] Generated Node #0,1,3: 23:[50, 91] Operation: 14+77=91 Exploring Operation: 77-50=27, Resulting Numbers: [14, 27] Generated Node #0,1,4: 23:[14, 27] Operation: 77-50=27 Moving to Node #0,3 Current State: 23:[13, 50, 76], Operations: ['90-14=76'] Exploring Operation: 76-13=63, Resulting Numbers: [50, 63] Generated Node #0,3,0: 23:[50, 63] Operation: 76-13=63 Exploring Operation: 13+50=63, Resulting Numbers: [76, 63] Generated Node #0,3,1: 23:[76, 63] Operation: 13+50=63 Exploring Operation: 50-13=37, Resulting Numbers: [76, 37] Generated Node #0,3,2: 23:[76, 37] Operation: 50-13=37 Exploring Operation: 13+76=89, Resulting Numbers: [50, 89] Generated Node #0,3,3: 23:[50, 89] Operation: 13+76=89 Exploring Operation: 76-50=26, Resulting Numbers: [13, 26] Generated Node #0,3,4: 23:[13, 26] Operation: 76-50=26 Moving to Node #0,0,0 Current State: 23:[14, 27], Operations: ['90-50=40', '40-13=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,23 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[13, 26], Operations: ['90-50=40', '40-14=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,23 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[14, 27], Operations: ['90-13=77', '77-50=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,23 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[13, 26], Operations: ['90-14=76', '76-50=26'] Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,23 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[40, 27], Operations: ['90-50=40', '13+14=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,23 unequal: No Solution Moving to Node #0,0,4 Current State: 23:[40, 1], Operations: ['90-50=40', '14-13=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[14, 53], Operations: ['90-50=40', '13+40=53'] Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,23 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[13, 54], Operations: ['50-14=36', '90-36=54'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[90, 23], Operations: ['50-14=36', '36-13=23'] Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,23 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[77, 36], Operations: ['90-13=77', '50-14=36'] Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[50, 63], Operations: ['90-13=77', '77-14=63'] Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,23 unequal: No Solution Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[76, 37], Operations: ['90-14=76', '50-13=37'] Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,23 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[36, 77], Operations: ['50-14=36', '90-13=77'] Exploring Operation: 36*77=2772, Resulting Numbers: [2772] 2772,23 unequal: No Solution Exploring Operation: 36+77=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[50, 63], Operations: ['90-14=76', '76-13=63'] Exploring Operation: 63-50=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 50+63=113, Resulting Numbers: [113] 113,23 unequal: No Solution Exploring Operation: 50*63=3150, Resulting Numbers: [3150] 3150,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[76, 63], Operations: ['90-14=76', '13+50=63'] Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,23 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,23 unequal: No Solution Moving to Node #0,4,3 Current State: 23:[36, 103], Operations: ['50-14=36', '13+90=103'] Exploring Operation: 36*103=3708, Resulting Numbers: [3708] 3708,23 unequal: No Solution Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,23 unequal: No Solution Exploring Operation: 36+103=139, Resulting Numbers: [139] 139,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[50, 89], Operations: ['90-14=76', '13+76=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[90, 49], Operations: ['50-14=36', '13+36=49'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 90+49=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 90*49=4410, Resulting Numbers: [4410] 4410,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[50, 91], Operations: ['90-13=77', '14+77=91'] Exploring Operation: 50+91=141, Resulting Numbers: [141] 141,23 unequal: No Solution Exploring Operation: 50*91=4550, Resulting Numbers: [4550] 4550,23 unequal: No Solution Exploring Operation: 91-50=41, Resulting Numbers: [41] 41,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[77, 64], Operations: ['90-13=77', '14+50=64'] Exploring Operation: 77+64=141, Resulting Numbers: [141] 141,23 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 77*64=4928, Resulting Numbers: [4928] 4928,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 46, 4, 63, 19 ]
33
[ "46+63=109", "4*19=76", "109-76=33" ]
Current State: 33:[46, 4, 63, 19], Operations: [] Exploring Operation: 46+63=109, Resulting Numbers: [4, 19, 109] Generated Node #2: [4, 19, 109] from Operation: 46+63=109 Current State: 33:[4, 19, 109], Operations: ['46+63=109'] Exploring Operation: 4*19=76, Resulting Numbers: [109, 76] Generated Node #3: [109, 76] from Operation: 4*19=76 Current State: 33:[109, 76], Operations: ['46+63=109', '4*19=76'] Exploring Operation: 109-76=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[46, 4, 63, 19], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [63, 19, 42] Generated Node #0,0: 33:[63, 19, 42] Operation: 46-4=42 Exploring Operation: 46-19=27, Resulting Numbers: [4, 63, 27] Generated Node #0,1: 33:[4, 63, 27] Operation: 46-19=27 Exploring Operation: 63-4=59, Resulting Numbers: [46, 19, 59] Generated Node #0,2: 33:[46, 19, 59] Operation: 63-4=59 Exploring Operation: 63-46=17, Resulting Numbers: [4, 19, 17] Generated Node #0,3: 33:[4, 19, 17] Operation: 63-46=17 Exploring Operation: 63-19=44, Resulting Numbers: [46, 4, 44] Generated Node #0,4: 33:[46, 4, 44] Operation: 63-19=44 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[4, 19, 17], Operations: ['63-46=17'] Exploring Operation: 19-4=15, Resulting Numbers: [17, 15] Generated Node #0,3,0: 33:[17, 15] Operation: 19-4=15 Exploring Operation: 4+19=23, Resulting Numbers: [17, 23] Generated Node #0,3,1: 33:[17, 23] Operation: 4+19=23 Exploring Operation: 19-17=2, Resulting Numbers: [4, 2] Generated Node #0,3,2: 33:[4, 2] Operation: 19-17=2 Exploring Operation: 19+17=36, Resulting Numbers: [4, 36] Generated Node #0,3,3: 33:[4, 36] Operation: 19+17=36 Exploring Operation: 17-4=13, Resulting Numbers: [19, 13] Generated Node #0,3,4: 33:[19, 13] Operation: 17-4=13 Moving to Node #0,3,2 Current State: 33:[4, 2], Operations: ['63-46=17', '19-17=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[4, 36], Operations: ['63-46=17', '19+17=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,33 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,3,0 Current State: 33:[17, 15], Operations: ['63-46=17', '19-4=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[19, 13], Operations: ['63-46=17', '17-4=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,33 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[17, 23], Operations: ['63-46=17', '4+19=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,33 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,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,4 Current State: 33:[46, 4, 44], Operations: ['63-19=44'] Exploring Operation: 46-44=2, Resulting Numbers: [4, 2] Generated Node #0,4,0: 33:[4, 2] Operation: 46-44=2 Exploring Operation: 46+4=50, Resulting Numbers: [44, 50] Generated Node #0,4,1: 33:[44, 50] Operation: 46+4=50 Exploring Operation: 46-4=42, Resulting Numbers: [44, 42] Generated Node #0,4,2: 33:[44, 42] Operation: 46-4=42 Exploring Operation: 44-4=40, Resulting Numbers: [46, 40] Generated Node #0,4,3: 33:[46, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [46, 11] Generated Node #0,4,4: 33:[46, 11] Operation: 44/4=11 Moving to Node #0,4,0 Current State: 33:[4, 2], Operations: ['63-19=44', '46-44=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[46, 11], Operations: ['63-19=44', '44/4=11'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,33 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[44, 42], Operations: ['63-19=44', '46-4=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,33 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[46, 40], Operations: ['63-19=44', '44-4=40'] Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[44, 50], Operations: ['63-19=44', '46+4=50'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 44*50=2200, Resulting Numbers: [2200] 2200,33 unequal: No Solution Exploring Operation: 44+50=94, Resulting Numbers: [94] 94,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 Current State: 33:[4, 63, 27], Operations: ['46-19=27'] Exploring Operation: 63-27=36, Resulting Numbers: [4, 36] Generated Node #0,1,0: 33:[4, 36] Operation: 63-27=36 Exploring Operation: 63-4=59, Resulting Numbers: [27, 59] Generated Node #0,1,1: 33:[27, 59] Operation: 63-4=59 Exploring Operation: 4+63=67, Resulting Numbers: [27, 67] Generated Node #0,1,2: 33:[27, 67] Operation: 4+63=67 Exploring Operation: 27-4=23, Resulting Numbers: [63, 23] Generated Node #0,1,3: 33:[63, 23] Operation: 27-4=23 Exploring Operation: 4+27=31, Resulting Numbers: [63, 31] Generated Node #0,1,4: 33:[63, 31] Operation: 4+27=31 Moving to Node #0,1,0 Current State: 33:[4, 36], Operations: ['46-19=27', '63-27=36'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[63, 31], Operations: ['46-19=27', '4+27=31'] Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 63*31=1953, Resulting Numbers: [1953] 1953,33 unequal: No Solution Exploring Operation: 63-31=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[27, 59], Operations: ['46-19=27', '63-4=59'] Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,33 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[27, 67], Operations: ['46-19=27', '4+63=67'] Exploring Operation: 27*67=1809, Resulting Numbers: [1809] 1809,33 unequal: No Solution Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[63, 23], Operations: ['46-19=27', '27-4=23'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,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 Current State: 33:[63, 19, 42], Operations: ['46-4=42'] Exploring Operation: 63+19=82, Resulting Numbers: [42, 82] Generated Node #0,0,0: 33:[42, 82] Operation: 63+19=82 Exploring Operation: 63-42=21, Resulting Numbers: [19, 21] Generated Node #0,0,1: 33:[19, 21] Operation: 63-42=21 Exploring Operation: 19+42=61, Resulting Numbers: [63, 61] Generated Node #0,0,2: 33:[63, 61] Operation: 19+42=61 Exploring Operation: 42-19=23, Resulting Numbers: [63, 23] Generated Node #0,0,3: 33:[63, 23] Operation: 42-19=23 Exploring Operation: 63-19=44, Resulting Numbers: [42, 44] Generated Node #0,0,4: 33:[42, 44] Operation: 63-19=44 Moving to Node #0,0,1 Current State: 33:[19, 21], Operations: ['46-4=42', '63-42=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,33 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[42, 44], Operations: ['46-4=42', '63-19=44'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[63, 23], Operations: ['46-4=42', '42-19=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,33 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[42, 82], Operations: ['46-4=42', '63+19=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,33 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[63, 61], Operations: ['46-4=42', '19+42=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,33 unequal: No Solution Exploring Operation: 63*61=3843, Resulting Numbers: [3843] 3843,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 Current State: 33:[46, 19, 59], Operations: ['63-4=59'] Exploring Operation: 46+19=65, Resulting Numbers: [59, 65] Generated Node #0,2,0: 33:[59, 65] Operation: 46+19=65 Exploring Operation: 46-19=27, Resulting Numbers: [59, 27] Generated Node #0,2,1: 33:[59, 27] Operation: 46-19=27 Exploring Operation: 59-46=13, Resulting Numbers: [19, 13] Generated Node #0,2,2: 33:[19, 13] Operation: 59-46=13 Exploring Operation: 19+59=78, Resulting Numbers: [46, 78] Generated Node #0,2,3: 33:[46, 78] Operation: 19+59=78 Exploring Operation: 59-19=40, Resulting Numbers: [46, 40] Generated Node #0,2,4: 33:[46, 40] Operation: 59-19=40 Moving to Node #0,2,2 Current State: 33:[19, 13], Operations: ['63-4=59', '59-46=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,33 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[46, 40], Operations: ['63-4=59', '59-19=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,33 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[59, 27], Operations: ['63-4=59', '46-19=27'] Exploring Operation: 59+27=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 59*27=1593, Resulting Numbers: [1593] 1593,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[59, 65], Operations: ['63-4=59', '46+19=65'] Exploring Operation: 65-59=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 59*65=3835, Resulting Numbers: [3835] 3835,33 unequal: No Solution Exploring Operation: 59+65=124, Resulting Numbers: [124] 124,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[46, 78], Operations: ['63-4=59', '19+59=78'] Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 46+78=124, Resulting Numbers: [124] 124,33 unequal: No Solution Exploring Operation: 46*78=3588, Resulting Numbers: [3588] 3588,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 96, 56, 32, 87 ]
48
[ "32*87=2784", "2784-96=2688", "2688/56=48" ]
Current State: 48:[96, 56, 32, 87], Operations: [] Exploring Operation: 32*87=2784, Resulting Numbers: [96, 56, 2784] Generated Node #2: [96, 56, 2784] from Operation: 32*87=2784 Current State: 48:[96, 56, 2784], Operations: ['32*87=2784'] Exploring Operation: 2784-96=2688, Resulting Numbers: [56, 2688] Generated Node #3: [56, 2688] from Operation: 2784-96=2688 Current State: 48:[56, 2688], Operations: ['32*87=2784', '2784-96=2688'] Exploring Operation: 2688/56=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[96, 56, 32, 87], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [56, 87, 64] Generated Node #0,0: 48:[56, 87, 64] Operation: 96-32=64 Exploring Operation: 96-56=40, Resulting Numbers: [32, 87, 40] Generated Node #0,1: 48:[32, 87, 40] Operation: 96-56=40 Exploring Operation: 96-87=9, Resulting Numbers: [56, 32, 9] Generated Node #0,2: 48:[56, 32, 9] Operation: 96-87=9 Exploring Operation: 96/32=3, Resulting Numbers: [56, 87, 3] Generated Node #0,3: 48:[56, 87, 3] Operation: 96/32=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[56, 32, 9], Operations: ['96-87=9'] Exploring Operation: 32-9=23, Resulting Numbers: [56, 23] Generated Node #0,2,0: 48:[56, 23] Operation: 32-9=23 Exploring Operation: 56-32=24, Resulting Numbers: [9, 24] Generated Node #0,2,1: 48:[9, 24] Operation: 56-32=24 Exploring Operation: 32+9=41, Resulting Numbers: [56, 41] Generated Node #0,2,2: 48:[56, 41] Operation: 32+9=41 Exploring Operation: 56-9=47, Resulting Numbers: [32, 47] Generated Node #0,2,3: 48:[32, 47] Operation: 56-9=47 Moving to Node #0,2,1 Current State: 48:[9, 24], Operations: ['96-87=9', '56-32=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,48 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[32, 47], Operations: ['96-87=9', '56-9=47'] Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[56, 23], Operations: ['96-87=9', '32-9=23'] Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,48 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[56, 41], Operations: ['96-87=9', '32+9=41'] Exploring Operation: 56*41=2296, Resulting Numbers: [2296] 2296,48 unequal: No Solution Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,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,3 Current State: 48:[56, 87, 3], Operations: ['96/32=3'] Exploring Operation: 87/3=29, Resulting Numbers: [56, 29] Generated Node #0,3,0: 48:[56, 29] Operation: 87/3=29 Exploring Operation: 87-3=84, Resulting Numbers: [56, 84] Generated Node #0,3,1: 48:[56, 84] Operation: 87-3=84 Exploring Operation: 87-56=31, Resulting Numbers: [3, 31] Generated Node #0,3,2: 48:[3, 31] Operation: 87-56=31 Exploring Operation: 56-3=53, Resulting Numbers: [87, 53] Generated Node #0,3,3: 48:[87, 53] Operation: 56-3=53 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[3, 31], Operations: ['96/32=3', '87-56=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,48 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,48 unequal: No Solution No 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: 48:[56, 29], Operations: ['96/32=3', '87/3=29'] Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,48 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,48 unequal: No Solution Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,48 unequal: No Solution No 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: 48:[56, 84], Operations: ['96/32=3', '87-3=84'] Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,48 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,48 unequal: No Solution No 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: 48:[87, 53], Operations: ['96/32=3', '56-3=53'] Exploring Operation: 87+53=140, Resulting Numbers: [140] 140,48 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,48 unequal: No Solution Exploring Operation: 87*53=4611, Resulting Numbers: [4611] 4611,48 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: 48:[32, 87, 40], Operations: ['96-56=40'] Exploring Operation: 32+40=72, Resulting Numbers: [87, 72] Generated Node #0,1,0: 48:[87, 72] Operation: 32+40=72 Exploring Operation: 40-32=8, Resulting Numbers: [87, 8] Generated Node #0,1,1: 48:[87, 8] Operation: 40-32=8 Exploring Operation: 87-32=55, Resulting Numbers: [40, 55] Generated Node #0,1,2: 48:[40, 55] Operation: 87-32=55 Exploring Operation: 87-40=47, Resulting Numbers: [32, 47] Generated Node #0,1,3: 48:[32, 47] Operation: 87-40=47 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[32, 47], Operations: ['96-56=40', '87-40=47'] Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,48 unequal: No Solution Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,48 unequal: No Solution No 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: 48:[40, 55], Operations: ['96-56=40', '87-32=55'] Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,48 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,48 unequal: No Solution No 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: 48:[87, 8], Operations: ['96-56=40', '40-32=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,48 unequal: No Solution No 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: 48:[87, 72], Operations: ['96-56=40', '32+40=72'] Exploring Operation: 87*72=6264, Resulting Numbers: [6264] 6264,48 unequal: No Solution Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 87+72=159, Resulting Numbers: [159] 159,48 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: 48:[56, 87, 64], Operations: ['96-32=64'] Exploring Operation: 87-56=31, Resulting Numbers: [64, 31] Generated Node #0,0,0: 48:[64, 31] Operation: 87-56=31 Exploring Operation: 64-56=8, Resulting Numbers: [87, 8] Generated Node #0,0,1: 48:[87, 8] Operation: 64-56=8 Exploring Operation: 56+87=143, Resulting Numbers: [64, 143] Generated Node #0,0,2: 48:[64, 143] Operation: 56+87=143 Exploring Operation: 87-64=23, Resulting Numbers: [56, 23] Generated Node #0,0,3: 48:[56, 23] Operation: 87-64=23 Moving to Node #0,0,3 Current State: 48:[56, 23], Operations: ['96-32=64', '87-64=23'] Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[64, 31], Operations: ['96-32=64', '87-56=31'] Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,48 unequal: No Solution Exploring Operation: 64+31=95, Resulting Numbers: [95] 95,48 unequal: No Solution Exploring Operation: 64*31=1984, Resulting Numbers: [1984] 1984,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[87, 8], Operations: ['96-32=64', '64-56=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,48 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[64, 143], Operations: ['96-32=64', '56+87=143'] Exploring Operation: 64+143=207, Resulting Numbers: [207] 207,48 unequal: No Solution Exploring Operation: 64*143=9152, Resulting Numbers: [9152] 9152,48 unequal: No Solution Exploring Operation: 143-64=79, Resulting Numbers: [79] 79,48 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
[ 96, 11, 76, 46 ]
55
[ "96-11=85", "76-46=30", "85-30=55" ]
Current State: 55:[96, 11, 76, 46], Operations: [] Exploring Operation: 96-11=85, Resulting Numbers: [76, 46, 85] Generated Node #2: [76, 46, 85] from Operation: 96-11=85 Current State: 55:[76, 46, 85], Operations: ['96-11=85'] Exploring Operation: 76-46=30, Resulting Numbers: [85, 30] Generated Node #3: [85, 30] from Operation: 76-46=30 Current State: 55:[85, 30], Operations: ['96-11=85', '76-46=30'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[96, 11, 76, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [11, 76, 50] Generated Node #0,0: 55:[11, 76, 50] Operation: 96-46=50 Exploring Operation: 96-76=20, Resulting Numbers: [11, 46, 20] Generated Node #0,1: 55:[11, 46, 20] Operation: 96-76=20 Exploring Operation: 96-11=85, Resulting Numbers: [76, 46, 85] Generated Node #0,2: 55:[76, 46, 85] Operation: 96-11=85 Moving to Node #0,1 Current State: 55:[11, 46, 20], Operations: ['96-76=20'] Exploring Operation: 20-11=9, Resulting Numbers: [46, 9] Generated Node #0,1,0: 55:[46, 9] Operation: 20-11=9 Exploring Operation: 11+46=57, Resulting Numbers: [20, 57] Generated Node #0,1,1: 55:[20, 57] Operation: 11+46=57 Exploring Operation: 46+20=66, Resulting Numbers: [11, 66] Generated Node #0,1,2: 55:[11, 66] Operation: 46+20=66 Moving to Node #0,0 Current State: 55:[11, 76, 50], Operations: ['96-46=50'] Exploring Operation: 11+50=61, Resulting Numbers: [76, 61] Generated Node #0,0,0: 55:[76, 61] Operation: 11+50=61 Exploring Operation: 76-50=26, Resulting Numbers: [11, 26] Generated Node #0,0,1: 55:[11, 26] Operation: 76-50=26 Exploring Operation: 76-11=65, Resulting Numbers: [50, 65] Generated Node #0,0,2: 55:[50, 65] Operation: 76-11=65 Moving to Node #0,2 Current State: 55:[76, 46, 85], Operations: ['96-11=85'] Exploring Operation: 85-46=39, Resulting Numbers: [76, 39] Generated Node #0,2,0: 55:[76, 39] Operation: 85-46=39 Exploring Operation: 76-46=30, Resulting Numbers: [85, 30] Generated Node #0,2,1: 55:[85, 30] Operation: 76-46=30 Exploring Operation: 85-76=9, Resulting Numbers: [46, 9] Generated Node #0,2,2: 55:[46, 9] Operation: 85-76=9 Moving to Node #0,1,0 Current State: 55:[46, 9], Operations: ['96-76=20', '20-11=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[96, 11, 76, 46], Operations: [] Exploring Operation: 96-76=20, Resulting Numbers: [11, 46, 20] Generated Node #0,1: 55:[11, 46, 20] Operation: 96-76=20 Moving to Node #0,1 Current State: 55:[11, 46, 20], Operations: ['96-76=20'] Exploring Operation: 20-11=9, Resulting Numbers: [46, 9] Generated Node #0,1,0: 55:[46, 9] Operation: 20-11=9 Moving to Node #0,1,0 Current State: 55:[46, 9], Operations: ['96-76=20', '20-11=9'] Exploring Operation: 46+9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 36, 33, 5, 99 ]
77
[ "33-5=28", "99*28=2772", "2772/36=77" ]
Current State: 77:[36, 33, 5, 99], Operations: [] Exploring Operation: 33-5=28, Resulting Numbers: [36, 99, 28] Generated Node #2: [36, 99, 28] from Operation: 33-5=28 Current State: 77:[36, 99, 28], Operations: ['33-5=28'] Exploring Operation: 99*28=2772, Resulting Numbers: [36, 2772] Generated Node #3: [36, 2772] from Operation: 99*28=2772 Current State: 77:[36, 2772], Operations: ['33-5=28', '99*28=2772'] Exploring Operation: 2772/36=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[36, 33, 5, 99], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [5, 99, 3] Generated Node #0,0: 77:[5, 99, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[5, 99, 3], Operations: ['36-33=3'] Exploring Operation: 99-5=94, Resulting Numbers: [3, 94] Generated Node #0,0,0: 77:[3, 94] Operation: 99-5=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[3, 94], Operations: ['36-33=3', '99-5=94'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 95, 79, 22, 49 ]
11
[ "95-79=16", "49-22=27", "27-16=11" ]
Current State: 11:[95, 79, 22, 49], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [22, 49, 16] Generated Node #2: [22, 49, 16] from Operation: 95-79=16 Current State: 11:[22, 49, 16], Operations: ['95-79=16'] Exploring Operation: 49-22=27, Resulting Numbers: [16, 27] Generated Node #3: [16, 27] from Operation: 49-22=27 Current State: 11:[16, 27], Operations: ['95-79=16', '49-22=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[95, 79, 22, 49], Operations: [] Exploring Operation: 79-49=30, Resulting Numbers: [95, 22, 30] Generated Node #0,0: 11:[95, 22, 30] Operation: 79-49=30 Exploring Operation: 95-79=16, Resulting Numbers: [22, 49, 16] Generated Node #0,1: 11:[22, 49, 16] Operation: 95-79=16 Exploring Operation: 95-49=46, Resulting Numbers: [79, 22, 46] Generated Node #0,2: 11:[79, 22, 46] Operation: 95-49=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[22, 49, 16], Operations: ['95-79=16'] Exploring Operation: 22-16=6, Resulting Numbers: [49, 6] Generated Node #0,1,0: 11:[49, 6] Operation: 22-16=6 Exploring Operation: 49-16=33, Resulting Numbers: [22, 33] Generated Node #0,1,1: 11:[22, 33] Operation: 49-16=33 Exploring Operation: 49-22=27, Resulting Numbers: [16, 27] Generated Node #0,1,2: 11:[16, 27] Operation: 49-22=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[16, 27], Operations: ['95-79=16', '49-22=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[95, 79, 22, 49], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [22, 49, 16] Generated Node #0,1: 11:[22, 49, 16] Operation: 95-79=16 Moving to Node #0,1 Current State: 11:[22, 49, 16], Operations: ['95-79=16'] Exploring Operation: 49-22=27, Resulting Numbers: [16, 27] Generated Node #0,1,2: 11:[16, 27] Operation: 49-22=27 Moving to Node #0,1,2 Current State: 11:[16, 27], Operations: ['95-79=16', '49-22=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 56, 18, 51, 14 ]
65
[ "56/14=4", "18+51=69", "69-4=65" ]
Current State: 65:[56, 18, 51, 14], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [18, 51, 4] Generated Node #2: [18, 51, 4] from Operation: 56/14=4 Current State: 65:[18, 51, 4], Operations: ['56/14=4'] Exploring Operation: 18+51=69, Resulting Numbers: [4, 69] Generated Node #3: [4, 69] from Operation: 18+51=69 Current State: 65:[4, 69], Operations: ['56/14=4', '18+51=69'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[56, 18, 51, 14], Operations: [] Exploring Operation: 18+51=69, Resulting Numbers: [56, 14, 69] Generated Node #0,0: 65:[56, 14, 69] Operation: 18+51=69 Exploring Operation: 56-51=5, Resulting Numbers: [18, 14, 5] Generated Node #0,1: 65:[18, 14, 5] Operation: 56-51=5 Moving to Node #0,1 Current State: 65:[18, 14, 5], Operations: ['56-51=5'] Exploring Operation: 18-5=13, Resulting Numbers: [14, 13] Generated Node #0,1,0: 65:[14, 13] Operation: 18-5=13 Exploring Operation: 18-14=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 65:[5, 4] Operation: 18-14=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[14, 13], Operations: ['56-51=5', '18-5=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,65 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[5, 4], Operations: ['56-51=5', '18-14=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 65:[56, 14, 69], Operations: ['18+51=69'] Exploring Operation: 56/14=4, Resulting Numbers: [69, 4] Generated Node #0,0,0: 65:[69, 4] Operation: 56/14=4 Exploring Operation: 69-56=13, Resulting Numbers: [14, 13] Generated Node #0,0,1: 65:[14, 13] Operation: 69-56=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[14, 13], Operations: ['18+51=69', '69-56=13'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,65 unequal: No Solution Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[69, 4], Operations: ['18+51=69', '56/14=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,65 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[56, 18, 51, 14], Operations: [] Exploring Operation: 18+51=69, Resulting Numbers: [56, 14, 69] Generated Node #0,0: 65:[56, 14, 69] Operation: 18+51=69 Moving to Node #0,0 Current State: 65:[56, 14, 69], Operations: ['18+51=69'] Exploring Operation: 56/14=4, Resulting Numbers: [69, 4] Generated Node #0,0,0: 65:[69, 4] Operation: 56/14=4 Moving to Node #0,0,0 Current State: 65:[69, 4], Operations: ['18+51=69', '56/14=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 41, 50, 39, 59 ]
29
[ "50-41=9", "59-39=20", "9+20=29" ]
Current State: 29:[41, 50, 39, 59], Operations: [] Exploring Operation: 50-41=9, Resulting Numbers: [39, 59, 9] Generated Node #2: [39, 59, 9] from Operation: 50-41=9 Current State: 29:[39, 59, 9], Operations: ['50-41=9'] Exploring Operation: 59-39=20, Resulting Numbers: [9, 20] Generated Node #3: [9, 20] from Operation: 59-39=20 Current State: 29:[9, 20], Operations: ['50-41=9', '59-39=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[41, 50, 39, 59], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [50, 39, 18] Generated Node #0,0: 29:[50, 39, 18] Operation: 59-41=18 Moving to Node #0,0 Current State: 29:[50, 39, 18], Operations: ['59-41=18'] Exploring Operation: 50-18=32, Resulting Numbers: [39, 32] Generated Node #0,0,0: 29:[39, 32] Operation: 50-18=32 Moving to Node #0,0,0 Current State: 29:[39, 32], Operations: ['59-41=18', '50-18=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,29 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 14, 14, 7 ]
73
[ "11+14=25", "14*7=98", "98-25=73" ]
Current State: 73:[11, 14, 14, 7], Operations: [] Exploring Operation: 11+14=25, Resulting Numbers: [7, 25] Generated Node #2: [7, 25] from Operation: 11+14=25 Current State: 73:[7, 25], Operations: ['11+14=25'] Exploring Operation: 14*7=98, Resulting Numbers: [25, 98] Generated Node #3: [25, 98] from Operation: 14*7=98 Current State: 73:[25, 98], Operations: ['11+14=25', '14*7=98'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[11, 14, 14, 7], Operations: [] Exploring Operation: 14*7=98, Resulting Numbers: [11, 14, 98] Generated Node #0,0: 73:[11, 14, 98] Operation: 14*7=98 Exploring Operation: 11+14=25, Resulting Numbers: [14, 7, 25] Generated Node #0,1: 73:[14, 7, 25] Operation: 11+14=25 Exploring Operation: 14*7=98, Resulting Numbers: [11, 14, 98] Generated Node #0,2: 73:[11, 14, 98] Operation: 14*7=98 Exploring Operation: 11*7=77, Resulting Numbers: [14, 14, 77] Generated Node #0,3: 73:[14, 14, 77] Operation: 11*7=77 Moving to Node #0,3 Current State: 73:[14, 14, 77], Operations: ['11*7=77'] Exploring Operation: 14/14=1, Resulting Numbers: [77, 1] Generated Node #0,3,0: 73:[77, 1] Operation: 14/14=1 Exploring Operation: 77-14=63, Resulting Numbers: [14, 63] Generated Node #0,3,1: 73:[14, 63] Operation: 77-14=63 Exploring Operation: 77-14=63, Resulting Numbers: [14, 63] Generated Node #0,3,2: 73:[14, 63] Operation: 77-14=63 Exploring Operation: 14+14=28, Resulting Numbers: [77, 28] Generated Node #0,3,3: 73:[77, 28] Operation: 14+14=28 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[77, 28], Operations: ['11*7=77', '14+14=28'] Exploring Operation: 77-28=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,73 unequal: No Solution Exploring Operation: 77*28=2156, Resulting Numbers: [2156] 2156,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,3,1 Current State: 73:[14, 63], Operations: ['11*7=77', '77-14=63'] Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,73 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,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,3,2 Current State: 73:[14, 63], Operations: ['11*7=77', '77-14=63'] Exploring Operation: 14+63=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 14*63=882, Resulting Numbers: [882] 882,73 unequal: No Solution Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,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,3,0 Current State: 73:[77, 1], Operations: ['11*7=77', '14/14=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,73 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: 73:[11, 14, 98], Operations: ['14*7=98'] Exploring Operation: 98-14=84, Resulting Numbers: [11, 84] Generated Node #0,2,0: 73:[11, 84] Operation: 98-14=84 Exploring Operation: 11+14=25, Resulting Numbers: [98, 25] Generated Node #0,2,1: 73:[98, 25] Operation: 11+14=25 Exploring Operation: 98-11=87, Resulting Numbers: [14, 87] Generated Node #0,2,2: 73:[14, 87] Operation: 98-11=87 Exploring Operation: 14-11=3, Resulting Numbers: [98, 3] Generated Node #0,2,3: 73:[98, 3] Operation: 14-11=3 Moving to Node #0,0 Current State: 73:[11, 14, 98], Operations: ['14*7=98'] Exploring Operation: 98-11=87, Resulting Numbers: [14, 87] Generated Node #0,0,0: 73:[14, 87] Operation: 98-11=87 Exploring Operation: 98-14=84, Resulting Numbers: [11, 84] Generated Node #0,0,1: 73:[11, 84] Operation: 98-14=84 Exploring Operation: 14-11=3, Resulting Numbers: [98, 3] Generated Node #0,0,2: 73:[98, 3] Operation: 14-11=3 Exploring Operation: 11+14=25, Resulting Numbers: [98, 25] Generated Node #0,0,3: 73:[98, 25] Operation: 11+14=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[14, 87], Operations: ['14*7=98', '98-11=87'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[11, 14, 14, 7], Operations: [] Exploring Operation: 14*7=98, Resulting Numbers: [11, 14, 98] Generated Node #0,0: 73:[11, 14, 98] Operation: 14*7=98 Moving to Node #0,0 Current State: 73:[11, 14, 98], Operations: ['14*7=98'] Exploring Operation: 98-11=87, Resulting Numbers: [14, 87] Generated Node #0,0,0: 73:[14, 87] Operation: 98-11=87 Moving to Node #0,0,0 Current State: 73:[14, 87], Operations: ['14*7=98', '98-11=87'] Exploring Operation: 87-14=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 73, 81, 75, 15 ]
94
[ "73+81=154", "75-15=60", "154-60=94" ]
Current State: 94:[73, 81, 75, 15], Operations: [] Exploring Operation: 73+81=154, Resulting Numbers: [75, 15, 154] Generated Node #2: [75, 15, 154] from Operation: 73+81=154 Current State: 94:[75, 15, 154], Operations: ['73+81=154'] Exploring Operation: 75-15=60, Resulting Numbers: [154, 60] Generated Node #3: [154, 60] from Operation: 75-15=60 Current State: 94:[154, 60], Operations: ['73+81=154', '75-15=60'] Exploring Operation: 154-60=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[73, 81, 75, 15], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [81, 15, 2] Generated Node #0,0: 94:[81, 15, 2] Operation: 75-73=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[81, 15, 2], Operations: ['75-73=2'] Exploring Operation: 81+15=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 81+15=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['75-73=2', '81+15=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[73, 81, 75, 15], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [81, 15, 2] Generated Node #0,0: 94:[81, 15, 2] Operation: 75-73=2 Moving to Node #0,0 Current State: 94:[81, 15, 2], Operations: ['75-73=2'] Exploring Operation: 81+15=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 81+15=96 Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['75-73=2', '81+15=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 35, 44, 11, 80 ]
55
[ "44/11=4", "80/4=20", "35+20=55" ]
Current State: 55:[35, 44, 11, 80], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [35, 80, 4] Generated Node #2: [35, 80, 4] from Operation: 44/11=4 Current State: 55:[35, 80, 4], Operations: ['44/11=4'] Exploring Operation: 80/4=20, Resulting Numbers: [35, 20] Generated Node #3: [35, 20] from Operation: 80/4=20 Current State: 55:[35, 20], Operations: ['44/11=4', '80/4=20'] Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[35, 44, 11, 80], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [44, 11, 45] Generated Node #0,0: 55:[44, 11, 45] Operation: 80-35=45 Exploring Operation: 44-35=9, Resulting Numbers: [11, 80, 9] Generated Node #0,1: 55:[11, 80, 9] Operation: 44-35=9 Exploring Operation: 35+11=46, Resulting Numbers: [44, 80, 46] Generated Node #0,2: 55:[44, 80, 46] Operation: 35+11=46 Exploring Operation: 80-44=36, Resulting Numbers: [35, 11, 36] Generated Node #0,3: 55:[35, 11, 36] Operation: 80-44=36 Exploring Operation: 44+11=55, Resulting Numbers: [35, 80, 55] Generated Node #0,4: 55:[35, 80, 55] Operation: 44+11=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[44, 11, 45], Operations: ['80-35=45'] Exploring Operation: 44-11=33, Resulting Numbers: [45, 33] Generated Node #0,0,0: 55:[45, 33] Operation: 44-11=33 Exploring Operation: 11+45=56, Resulting Numbers: [44, 56] Generated Node #0,0,1: 55:[44, 56] Operation: 11+45=56 Exploring Operation: 45-44=1, Resulting Numbers: [11, 1] Generated Node #0,0,2: 55:[11, 1] Operation: 45-44=1 Exploring Operation: 44+11=55, Resulting Numbers: [45, 55] Generated Node #0,0,3: 55:[45, 55] Operation: 44+11=55 Exploring Operation: 44/11=4, Resulting Numbers: [45, 4] Generated Node #0,0,4: 55:[45, 4] Operation: 44/11=4 Moving to Node #0,0,2 Current State: 55:[11, 1], Operations: ['80-35=45', '45-44=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[45, 55], Operations: ['80-35=45', '44+11=55'] Exploring Operation: 45*55=2475, Resulting Numbers: [2475] 2475,55 unequal: No Solution Exploring Operation: 45+55=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[45, 4], Operations: ['80-35=45', '44/11=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,55 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[44, 56], Operations: ['80-35=45', '11+45=56'] Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,55 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[45, 33], Operations: ['80-35=45', '44-11=33'] Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,55 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[11, 80, 9], Operations: ['44-35=9'] Exploring Operation: 80-11=69, Resulting Numbers: [9, 69] Generated Node #0,1,0: 55:[9, 69] Operation: 80-11=69 Exploring Operation: 80+9=89, Resulting Numbers: [11, 89] Generated Node #0,1,1: 55:[11, 89] Operation: 80+9=89 Exploring Operation: 11-9=2, Resulting Numbers: [80, 2] Generated Node #0,1,2: 55:[80, 2] Operation: 11-9=2 Exploring Operation: 11+9=20, Resulting Numbers: [80, 20] Generated Node #0,1,3: 55:[80, 20] Operation: 11+9=20 Exploring Operation: 80-9=71, Resulting Numbers: [11, 71] Generated Node #0,1,4: 55:[11, 71] Operation: 80-9=71 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 55:[9, 69], Operations: ['44-35=9', '80-11=69'] Exploring Operation: 9+69=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 9*69=621, Resulting Numbers: [621] 621,55 unequal: No Solution Exploring Operation: 69-9=60, Resulting Numbers: [60] 60,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 55:[11, 71], Operations: ['44-35=9', '80-9=71'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[80, 2], Operations: ['44-35=9', '11-9=2'] Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,55 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[11, 89], Operations: ['44-35=9', '80+9=89'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,55 unequal: No Solution Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 55:[80, 20], Operations: ['44-35=9', '11+9=20'] Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,55 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: 55:[35, 11, 36], Operations: ['80-44=36'] Exploring Operation: 11+36=47, Resulting Numbers: [35, 47] Generated Node #0,3,0: 55:[35, 47] Operation: 11+36=47 Exploring Operation: 35-11=24, Resulting Numbers: [36, 24] Generated Node #0,3,1: 55:[36, 24] Operation: 35-11=24 Exploring Operation: 35+11=46, Resulting Numbers: [36, 46] Generated Node #0,3,2: 55:[36, 46] Operation: 35+11=46 Exploring Operation: 35+36=71, Resulting Numbers: [11, 71] Generated Node #0,3,3: 55:[11, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [11, 1] Generated Node #0,3,4: 55:[11, 1] Operation: 36-35=1 Moving to Node #0,3,4 Current State: 55:[11, 1], Operations: ['80-44=36', '36-35=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[11, 71], Operations: ['80-44=36', '35+36=71'] Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,55 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[35, 47], Operations: ['80-44=36', '11+36=47'] Exploring Operation: 35+47=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 35*47=1645, Resulting Numbers: [1645] 1645,55 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[36, 46], Operations: ['80-44=36', '35+11=46'] Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,55 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[36, 24], Operations: ['80-44=36', '35-11=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,55 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[44, 80, 46], Operations: ['35+11=46'] Exploring Operation: 44+80=124, Resulting Numbers: [46, 124] Generated Node #0,2,0: 55:[46, 124] Operation: 44+80=124 Exploring Operation: 80-46=34, Resulting Numbers: [44, 34] Generated Node #0,2,1: 55:[44, 34] Operation: 80-46=34 Exploring Operation: 44+46=90, Resulting Numbers: [80, 90] Generated Node #0,2,2: 55:[80, 90] Operation: 44+46=90 Exploring Operation: 46-44=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 55:[80, 2] Operation: 46-44=2 Exploring Operation: 80-44=36, Resulting Numbers: [46, 36] Generated Node #0,2,4: 55:[46, 36] Operation: 80-44=36 Moving to Node #0,2,3 Current State: 55:[80, 2], Operations: ['35+11=46', '46-44=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,55 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[46, 36], Operations: ['35+11=46', '80-44=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[44, 34], Operations: ['35+11=46', '80-46=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,55 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[80, 90], Operations: ['35+11=46', '44+46=90'] Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,55 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[46, 124], Operations: ['35+11=46', '44+80=124'] Exploring Operation: 46+124=170, Resulting Numbers: [170] 170,55 unequal: No Solution Exploring Operation: 46*124=5704, Resulting Numbers: [5704] 5704,55 unequal: No Solution Exploring Operation: 124-46=78, Resulting Numbers: [78] 78,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[35, 80, 55], Operations: ['44+11=55'] Exploring Operation: 80-35=45, Resulting Numbers: [55, 45] Generated Node #0,4,0: 55:[55, 45] Operation: 80-35=45 Exploring Operation: 80-55=25, Resulting Numbers: [35, 25] Generated Node #0,4,1: 55:[35, 25] Operation: 80-55=25 Exploring Operation: 35+55=90, Resulting Numbers: [80, 90] Generated Node #0,4,2: 55:[80, 90] Operation: 35+55=90 Exploring Operation: 55-35=20, Resulting Numbers: [80, 20] Generated Node #0,4,3: 55:[80, 20] Operation: 55-35=20 Exploring Operation: 35+80=115, Resulting Numbers: [55, 115] Generated Node #0,4,4: 55:[55, 115] Operation: 35+80=115 Moving to Node #0,4,0 Current State: 55:[55, 45], Operations: ['44+11=55', '80-35=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,55 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[80, 20], Operations: ['44+11=55', '55-35=20'] Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,55 unequal: No Solution Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[35, 25], Operations: ['44+11=55', '80-55=25'] Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[80, 90], Operations: ['44+11=55', '35+55=90'] Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 80+90=170, Resulting Numbers: [170] 170,55 unequal: No Solution Exploring Operation: 80*90=7200, Resulting Numbers: [7200] 7200,55 unequal: No Solution Moving to Node #0,4,4 Current State: 55:[55, 115], Operations: ['44+11=55', '35+80=115'] Exploring Operation: 55*115=6325, Resulting Numbers: [6325] 6325,55 unequal: No Solution Exploring Operation: 115-55=60, Resulting Numbers: [60] 60,55 unequal: No Solution Exploring Operation: 55+115=170, Resulting Numbers: [170] 170,55 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
[ 2, 22, 68, 78 ]
10
[ "22-2=20", "78-68=10", "20-10=10" ]
Current State: 10:[2, 22, 68, 78], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [68, 78, 20] Generated Node #2: [68, 78, 20] from Operation: 22-2=20 Current State: 10:[68, 78, 20], Operations: ['22-2=20'] Exploring Operation: 78-68=10, Resulting Numbers: [20, 10] Generated Node #3: [20, 10] from Operation: 78-68=10 Current State: 10:[20, 10], Operations: ['22-2=20', '78-68=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[2, 22, 68, 78], Operations: [] Exploring Operation: 68/2=34, Resulting Numbers: [22, 78, 34] Generated Node #0,0: 10:[22, 78, 34] Operation: 68/2=34 Exploring Operation: 78-68=10, Resulting Numbers: [2, 22, 10] Generated Node #0,1: 10:[2, 22, 10] Operation: 78-68=10 Exploring Operation: 68-22=46, Resulting Numbers: [2, 78, 46] Generated Node #0,2: 10:[2, 78, 46] Operation: 68-22=46 Exploring Operation: 78/2=39, Resulting Numbers: [22, 68, 39] Generated Node #0,3: 10:[22, 68, 39] Operation: 78/2=39 Moving to Node #0,1 Current State: 10:[2, 22, 10], Operations: ['78-68=10'] Exploring Operation: 22-2=20, Resulting Numbers: [10, 20] Generated Node #0,1,0: 10:[10, 20] Operation: 22-2=20 Exploring Operation: 22/2=11, Resulting Numbers: [10, 11] Generated Node #0,1,1: 10:[10, 11] Operation: 22/2=11 Exploring Operation: 22-10=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 10:[2, 12] Operation: 22-10=12 Exploring Operation: 10/2=5, Resulting Numbers: [22, 5] Generated Node #0,1,3: 10:[22, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[10, 11], Operations: ['78-68=10', '22/2=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,10 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[2, 12], Operations: ['78-68=10', '22-10=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,10 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[2, 22, 68, 78], Operations: [] Exploring Operation: 78-68=10, Resulting Numbers: [2, 22, 10] Generated Node #0,1: 10:[2, 22, 10] Operation: 78-68=10 Moving to Node #0,1 Current State: 10:[2, 22, 10], Operations: ['78-68=10'] Exploring Operation: 22-10=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 10:[2, 12] Operation: 22-10=12 Moving to Node #0,1,2 Current State: 10:[2, 12], Operations: ['78-68=10', '22-10=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 50, 43, 37, 84 ]
54
[ "50-43=7", "84-37=47", "7+47=54" ]
Current State: 54:[50, 43, 37, 84], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [37, 84, 7] Generated Node #2: [37, 84, 7] from Operation: 50-43=7 Current State: 54:[37, 84, 7], Operations: ['50-43=7'] Exploring Operation: 84-37=47, Resulting Numbers: [7, 47] Generated Node #3: [7, 47] from Operation: 84-37=47 Current State: 54:[7, 47], Operations: ['50-43=7', '84-37=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[50, 43, 37, 84], Operations: [] Exploring Operation: 84-37=47, Resulting Numbers: [50, 43, 47] Generated Node #0,0: 54:[50, 43, 47] Operation: 84-37=47 Exploring Operation: 84-43=41, Resulting Numbers: [50, 37, 41] Generated Node #0,1: 54:[50, 37, 41] Operation: 84-43=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[50, 43, 47], Operations: ['84-37=47'] Exploring Operation: 50-43=7, Resulting Numbers: [47, 7] Generated Node #0,0,0: 54:[47, 7] Operation: 50-43=7 Exploring Operation: 47-43=4, Resulting Numbers: [50, 4] Generated Node #0,0,1: 54:[50, 4] Operation: 47-43=4 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[50, 4], Operations: ['84-37=47', '47-43=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[50, 43, 37, 84], Operations: [] Exploring Operation: 84-37=47, Resulting Numbers: [50, 43, 47] Generated Node #0,0: 54:[50, 43, 47] Operation: 84-37=47 Moving to Node #0,0 Current State: 54:[50, 43, 47], Operations: ['84-37=47'] Exploring Operation: 47-43=4, Resulting Numbers: [50, 4] Generated Node #0,0,1: 54:[50, 4] Operation: 47-43=4 Moving to Node #0,0,1 Current State: 54:[50, 4], Operations: ['84-37=47', '47-43=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 21, 36, 50, 69 ]
34
[ "36-21=15", "69-50=19", "15+19=34" ]
Current State: 34:[21, 36, 50, 69], Operations: [] Exploring Operation: 36-21=15, Resulting Numbers: [50, 69, 15] Generated Node #2: [50, 69, 15] from Operation: 36-21=15 Current State: 34:[50, 69, 15], Operations: ['36-21=15'] Exploring Operation: 69-50=19, Resulting Numbers: [15, 19] Generated Node #3: [15, 19] from Operation: 69-50=19 Current State: 34:[15, 19], Operations: ['36-21=15', '69-50=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 36, 50, 69], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [21, 50, 33] Generated Node #0,0: 34:[21, 50, 33] Operation: 69-36=33 Exploring Operation: 69-21=48, Resulting Numbers: [36, 50, 48] Generated Node #0,1: 34:[36, 50, 48] Operation: 69-21=48 Exploring Operation: 69-50=19, Resulting Numbers: [21, 36, 19] Generated Node #0,2: 34:[21, 36, 19] Operation: 69-50=19 Exploring Operation: 50-21=29, Resulting Numbers: [36, 69, 29] Generated Node #0,3: 34:[36, 69, 29] Operation: 50-21=29 Moving to Node #0,2 Current State: 34:[21, 36, 19], Operations: ['69-50=19'] Exploring Operation: 36-19=17, Resulting Numbers: [21, 17] Generated Node #0,2,0: 34:[21, 17] Operation: 36-19=17 Exploring Operation: 36-21=15, Resulting Numbers: [19, 15] Generated Node #0,2,1: 34:[19, 15] Operation: 36-21=15 Exploring Operation: 21-19=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 34:[36, 2] Operation: 21-19=2 Exploring Operation: 21+19=40, Resulting Numbers: [36, 40] Generated Node #0,2,3: 34:[36, 40] Operation: 21+19=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[36, 2], Operations: ['69-50=19', '21-19=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[21, 36, 50, 69], Operations: [] Exploring Operation: 69-50=19, Resulting Numbers: [21, 36, 19] Generated Node #0,2: 34:[21, 36, 19] Operation: 69-50=19 Moving to Node #0,2 Current State: 34:[21, 36, 19], Operations: ['69-50=19'] Exploring Operation: 21-19=2, Resulting Numbers: [36, 2] Generated Node #0,2,2: 34:[36, 2] Operation: 21-19=2 Moving to Node #0,2,2 Current State: 34:[36, 2], Operations: ['69-50=19', '21-19=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 98, 56, 58, 23 ]
73
[ "98+56=154", "58+23=81", "154-81=73" ]
Current State: 73:[98, 56, 58, 23], Operations: [] Exploring Operation: 98+56=154, Resulting Numbers: [58, 23, 154] Generated Node #2: [58, 23, 154] from Operation: 98+56=154 Current State: 73:[58, 23, 154], Operations: ['98+56=154'] Exploring Operation: 58+23=81, Resulting Numbers: [154, 81] Generated Node #3: [154, 81] from Operation: 58+23=81 Current State: 73:[154, 81], Operations: ['98+56=154', '58+23=81'] Exploring Operation: 154-81=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[98, 56, 58, 23], Operations: [] Exploring Operation: 56+23=79, Resulting Numbers: [98, 58, 79] Generated Node #0,0: 73:[98, 58, 79] Operation: 56+23=79 Exploring Operation: 98-23=75, Resulting Numbers: [56, 58, 75] Generated Node #0,1: 73:[56, 58, 75] Operation: 98-23=75 Exploring Operation: 58+23=81, Resulting Numbers: [98, 56, 81] Generated Node #0,2: 73:[98, 56, 81] Operation: 58+23=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[56, 58, 75], Operations: ['98-23=75'] Exploring Operation: 75-56=19, Resulting Numbers: [58, 19] Generated Node #0,1,0: 73:[58, 19] Operation: 75-56=19 Exploring Operation: 56+58=114, Resulting Numbers: [75, 114] Generated Node #0,1,1: 73:[75, 114] Operation: 56+58=114 Exploring Operation: 58-56=2, Resulting Numbers: [75, 2] Generated Node #0,1,2: 73:[75, 2] Operation: 58-56=2 Moving to Node #0,1,1 Current State: 73:[75, 114], Operations: ['98-23=75', '56+58=114'] Exploring Operation: 75*114=8550, Resulting Numbers: [8550] 8550,73 unequal: No Solution Exploring Operation: 114-75=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 75+114=189, Resulting Numbers: [189] 189,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[58, 19], Operations: ['98-23=75', '75-56=19'] Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,73 unequal: No Solution Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[75, 2], Operations: ['98-23=75', '58-56=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:[98, 56, 58, 23], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [56, 58, 75] Generated Node #0,1: 73:[56, 58, 75] Operation: 98-23=75 Moving to Node #0,1 Current State: 73:[56, 58, 75], Operations: ['98-23=75'] Exploring Operation: 58-56=2, Resulting Numbers: [75, 2] Generated Node #0,1,2: 73:[75, 2] Operation: 58-56=2 Moving to Node #0,1,2 Current State: 73:[75, 2], Operations: ['98-23=75', '58-56=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 16, 54, 6, 4 ]
86
[ "6-4=2", "16*2=32", "54+32=86" ]
Current State: 86:[16, 54, 6, 4], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [16, 54, 2] Generated Node #2: [16, 54, 2] from Operation: 6-4=2 Current State: 86:[16, 54, 2], Operations: ['6-4=2'] Exploring Operation: 16*2=32, Resulting Numbers: [54, 32] Generated Node #3: [54, 32] from Operation: 16*2=32 Current State: 86:[54, 32], Operations: ['6-4=2', '16*2=32'] Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[16, 54, 6, 4], Operations: [] Exploring Operation: 54-16=38, Resulting Numbers: [6, 4, 38] Generated Node #0,0: 86:[6, 4, 38] Operation: 54-16=38 Exploring Operation: 16-6=10, Resulting Numbers: [54, 4, 10] Generated Node #0,1: 86:[54, 4, 10] Operation: 16-6=10 Exploring Operation: 16/4=4, Resulting Numbers: [54, 6, 4] Generated Node #0,2: 86:[54, 6, 4] Operation: 16/4=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[6, 4, 38], Operations: ['54-16=38'] Exploring Operation: 4+38=42, Resulting Numbers: [6, 42] Generated Node #0,0,0: 86:[6, 42] Operation: 4+38=42 Exploring Operation: 6-4=2, Resulting Numbers: [38, 2] Generated Node #0,0,1: 86:[38, 2] Operation: 6-4=2 Exploring Operation: 6+38=44, Resulting Numbers: [4, 44] Generated Node #0,0,2: 86:[4, 44] Operation: 6+38=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[4, 44], Operations: ['54-16=38', '6+38=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[6, 42], Operations: ['54-16=38', '4+38=42'] Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,86 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 86:[38, 2], Operations: ['54-16=38', '6-4=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,86 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[54, 6, 4], Operations: ['16/4=4'] Exploring Operation: 54/6=9, Resulting Numbers: [4, 9] Generated Node #0,2,0: 86:[4, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [4, 48] Generated Node #0,2,1: 86:[4, 48] Operation: 54-6=48 Exploring Operation: 54-4=50, Resulting Numbers: [6, 50] Generated Node #0,2,2: 86:[6, 50] Operation: 54-4=50 Moving to Node #0,2,1 Current State: 86:[4, 48], Operations: ['16/4=4', '54-6=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,86 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[4, 9], Operations: ['16/4=4', '54/6=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,86 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[6, 50], Operations: ['16/4=4', '54-4=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[54, 4, 10], Operations: ['16-6=10'] Exploring Operation: 54-10=44, Resulting Numbers: [4, 44] Generated Node #0,1,0: 86:[4, 44] Operation: 54-10=44 Exploring Operation: 54-4=50, Resulting Numbers: [10, 50] Generated Node #0,1,1: 86:[10, 50] Operation: 54-4=50 Exploring Operation: 4*10=40, Resulting Numbers: [54, 40] Generated Node #0,1,2: 86:[54, 40] Operation: 4*10=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[4, 44], Operations: ['16-6=10', '54-10=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[54, 40], Operations: ['16-6=10', '4*10=40'] Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 54-40=14, Resulting Numbers: [14] 14,86 unequal: No Solution Exploring Operation: 54*40=2160, Resulting Numbers: [2160] 2160,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[10, 50], Operations: ['16-6=10', '54-4=50'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 16, 28, 3, 66 ]
98
[ "66-28=38", "3*38=114", "114-16=98" ]
Current State: 98:[16, 28, 3, 66], Operations: [] Exploring Operation: 66-28=38, Resulting Numbers: [16, 3, 38] Generated Node #2: [16, 3, 38] from Operation: 66-28=38 Current State: 98:[16, 3, 38], Operations: ['66-28=38'] Exploring Operation: 3*38=114, Resulting Numbers: [16, 114] Generated Node #3: [16, 114] from Operation: 3*38=114 Current State: 98:[16, 114], Operations: ['66-28=38', '3*38=114'] Exploring Operation: 114-16=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[16, 28, 3, 66], Operations: [] Exploring Operation: 66-16=50, Resulting Numbers: [28, 3, 50] Generated Node #0,0: 98:[28, 3, 50] Operation: 66-16=50 Exploring Operation: 28-16=12, Resulting Numbers: [3, 66, 12] Generated Node #0,1: 98:[3, 66, 12] Operation: 28-16=12 Exploring Operation: 28+66=94, Resulting Numbers: [16, 3, 94] Generated Node #0,2: 98:[16, 3, 94] Operation: 28+66=94 Exploring Operation: 66-28=38, Resulting Numbers: [16, 3, 38] Generated Node #0,3: 98:[16, 3, 38] Operation: 66-28=38 Moving to Node #0,2 Current State: 98:[16, 3, 94], Operations: ['28+66=94'] Exploring Operation: 16*3=48, Resulting Numbers: [94, 48] Generated Node #0,2,0: 98:[94, 48] Operation: 16*3=48 Exploring Operation: 16+3=19, Resulting Numbers: [94, 19] Generated Node #0,2,1: 98:[94, 19] Operation: 16+3=19 Exploring Operation: 3+94=97, Resulting Numbers: [16, 97] Generated Node #0,2,2: 98:[16, 97] Operation: 3+94=97 Exploring Operation: 16-3=13, Resulting Numbers: [94, 13] Generated Node #0,2,3: 98:[94, 13] Operation: 16-3=13 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[16, 97], Operations: ['28+66=94', '3+94=97'] Exploring Operation: 16+97=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 16*97=1552, Resulting Numbers: [1552] 1552,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[94, 48], Operations: ['28+66=94', '16*3=48'] Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,98 unequal: No Solution Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,98 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 98:[94, 13], Operations: ['28+66=94', '16-3=13'] Exploring Operation: 94*13=1222, Resulting Numbers: [1222] 1222,98 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,98 unequal: No Solution Exploring Operation: 94+13=107, Resulting Numbers: [107] 107,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[94, 19], Operations: ['28+66=94', '16+3=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,98 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,98 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: 98:[16, 3, 38], Operations: ['66-28=38'] Exploring Operation: 3+38=41, Resulting Numbers: [16, 41] Generated Node #0,3,0: 98:[16, 41] Operation: 3+38=41 Exploring Operation: 16+38=54, Resulting Numbers: [3, 54] Generated Node #0,3,1: 98:[3, 54] Operation: 16+38=54 Exploring Operation: 38-16=22, Resulting Numbers: [3, 22] Generated Node #0,3,2: 98:[3, 22] Operation: 38-16=22 Exploring Operation: 16*3=48, Resulting Numbers: [38, 48] Generated Node #0,3,3: 98:[38, 48] Operation: 16*3=48 Moving to Node #0,0 Current State: 98:[28, 3, 50], Operations: ['66-16=50'] Exploring Operation: 28*3=84, Resulting Numbers: [50, 84] Generated Node #0,0,0: 98:[50, 84] Operation: 28*3=84 Exploring Operation: 28-3=25, Resulting Numbers: [50, 25] Generated Node #0,0,1: 98:[50, 25] Operation: 28-3=25 Exploring Operation: 50-28=22, Resulting Numbers: [3, 22] Generated Node #0,0,2: 98:[3, 22] Operation: 50-28=22 Exploring Operation: 50-3=47, Resulting Numbers: [28, 47] Generated Node #0,0,3: 98:[28, 47] Operation: 50-3=47 Moving to Node #0,1 Current State: 98:[3, 66, 12], Operations: ['28-16=12'] Exploring Operation: 66/3=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 98:[12, 22] Operation: 66/3=22 Exploring Operation: 66-12=54, Resulting Numbers: [3, 54] Generated Node #0,1,1: 98:[3, 54] Operation: 66-12=54 Exploring Operation: 3+12=15, Resulting Numbers: [66, 15] Generated Node #0,1,2: 98:[66, 15] Operation: 3+12=15 Exploring Operation: 66-3=63, Resulting Numbers: [12, 63] Generated Node #0,1,3: 98:[12, 63] Operation: 66-3=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[3, 54], Operations: ['28-16=12', '66-12=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,98 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,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:[12, 22], Operations: ['28-16=12', '66/3=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,98 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,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,3 Current State: 98:[12, 63], Operations: ['28-16=12', '66-3=63'] Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,98 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[66, 15], Operations: ['28-16=12', '3+12=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,98 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 98:[3, 54], Operations: ['66-28=38', '16+38=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[3, 22], Operations: ['66-28=38', '38-16=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[3, 22], Operations: ['66-16=50', '50-28=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,98 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,98 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[16, 41], Operations: ['66-28=38', '3+38=41'] Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,98 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[50, 25], Operations: ['66-16=50', '28-3=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,98 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,98 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[38, 48], Operations: ['66-28=38', '16*3=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[50, 84], Operations: ['66-16=50', '28*3=84'] Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,98 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,98 unequal: No Solution Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[28, 47], Operations: ['66-16=50', '50-3=47'] Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,98 unequal: No Solution Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,98 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 49, 25, 63, 28 ]
28
[ "49-28=21", "63/21=3", "25+3=28" ]
Current State: 28:[49, 25, 63, 28], Operations: [] Exploring Operation: 49-28=21, Resulting Numbers: [25, 63, 21] Generated Node #2: [25, 63, 21] from Operation: 49-28=21 Current State: 28:[25, 63, 21], Operations: ['49-28=21'] Exploring Operation: 63/21=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 63/21=3 Current State: 28:[25, 3], Operations: ['49-28=21', '63/21=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[49, 25, 63, 28], Operations: [] Exploring Operation: 63-49=14, Resulting Numbers: [25, 28, 14] Generated Node #0,0: 28:[25, 28, 14] Operation: 63-49=14 Exploring Operation: 63-25=38, Resulting Numbers: [49, 28, 38] Generated Node #0,1: 28:[49, 28, 38] Operation: 63-25=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[25, 28, 14], Operations: ['63-49=14'] Exploring Operation: 25-14=11, Resulting Numbers: [28, 11] Generated Node #0,0,0: 28:[28, 11] Operation: 25-14=11 Exploring Operation: 28-25=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 28:[14, 3] Operation: 28-25=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[14, 3], Operations: ['63-49=14', '28-25=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[28, 11], Operations: ['63-49=14', '25-14=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[49, 28, 38], Operations: ['63-25=38'] Exploring Operation: 49-28=21, Resulting Numbers: [38, 21] Generated Node #0,1,0: 28:[38, 21] Operation: 49-28=21 Exploring Operation: 49-38=11, Resulting Numbers: [28, 11] Generated Node #0,1,1: 28:[28, 11] Operation: 49-38=11 Moving to Node #0,1,1 Current State: 28:[28, 11], Operations: ['63-25=38', '49-38=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[38, 21], Operations: ['63-25=38', '49-28=21'] Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,28 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,28 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
[ 77, 84, 82, 3 ]
71
[ "84-82=2", "3*2=6", "77-6=71" ]
Current State: 71:[77, 84, 82, 3], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [77, 3, 2] Generated Node #2: [77, 3, 2] from Operation: 84-82=2 Current State: 71:[77, 3, 2], Operations: ['84-82=2'] Exploring Operation: 3*2=6, Resulting Numbers: [77, 6] Generated Node #3: [77, 6] from Operation: 3*2=6 Current State: 71:[77, 6], Operations: ['84-82=2', '3*2=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[77, 84, 82, 3], Operations: [] Exploring Operation: 77-3=74, Resulting Numbers: [84, 82, 74] Generated Node #0,0: 71:[84, 82, 74] Operation: 77-3=74 Exploring Operation: 84-3=81, Resulting Numbers: [77, 82, 81] Generated Node #0,1: 71:[77, 82, 81] Operation: 84-3=81 Moving to Node #0,0 Current State: 71:[84, 82, 74], Operations: ['77-3=74'] Exploring Operation: 84-82=2, Resulting Numbers: [74, 2] Generated Node #0,0,0: 71:[74, 2] Operation: 84-82=2 Exploring Operation: 84-74=10, Resulting Numbers: [82, 10] Generated Node #0,0,1: 71:[82, 10] Operation: 84-74=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[74, 2], Operations: ['77-3=74', '84-82=2'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,71 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,71 unequal: No Solution No 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: 71:[82, 10], Operations: ['77-3=74', '84-74=10'] Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,71 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,71 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: 71:[77, 82, 81], Operations: ['84-3=81'] Exploring Operation: 82-81=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 71:[77, 1] Operation: 82-81=1 Exploring Operation: 82-77=5, Resulting Numbers: [81, 5] Generated Node #0,1,1: 71:[81, 5] Operation: 82-77=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[77, 1], Operations: ['84-3=81', '82-81=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,71 unequal: No Solution No 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: 71:[81, 5], Operations: ['84-3=81', '82-77=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 87, 49, 19, 95 ]
60
[ "87+49=136", "95-19=76", "136-76=60" ]
Current State: 60:[87, 49, 19, 95], Operations: [] Exploring Operation: 87+49=136, Resulting Numbers: [19, 95, 136] Generated Node #2: [19, 95, 136] from Operation: 87+49=136 Current State: 60:[19, 95, 136], Operations: ['87+49=136'] Exploring Operation: 95-19=76, Resulting Numbers: [136, 76] Generated Node #3: [136, 76] from Operation: 95-19=76 Current State: 60:[136, 76], Operations: ['87+49=136', '95-19=76'] Exploring Operation: 136-76=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[87, 49, 19, 95], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [87, 49, 5] Generated Node #0,0: 60:[87, 49, 5] Operation: 95/19=5 Exploring Operation: 95-87=8, Resulting Numbers: [49, 19, 8] Generated Node #0,1: 60:[49, 19, 8] Operation: 95-87=8 Moving to Node #0,1 Current State: 60:[49, 19, 8], Operations: ['95-87=8'] Exploring Operation: 49+8=57, Resulting Numbers: [19, 57] Generated Node #0,1,0: 60:[19, 57] Operation: 49+8=57 Exploring Operation: 49-19=30, Resulting Numbers: [8, 30] Generated Node #0,1,1: 60:[8, 30] Operation: 49-19=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[8, 30], Operations: ['95-87=8', '49-19=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,60 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,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,0 Current State: 60:[19, 57], Operations: ['95-87=8', '49+8=57'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,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:[87, 49, 5], Operations: ['95/19=5'] Exploring Operation: 87-49=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 60:[5, 38] Operation: 87-49=38 Exploring Operation: 87-5=82, Resulting Numbers: [49, 82] Generated Node #0,0,1: 60:[49, 82] Operation: 87-5=82 Moving to Node #0,0,0 Current State: 60:[5, 38], Operations: ['95/19=5', '87-49=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,60 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[49, 82], Operations: ['95/19=5', '87-5=82'] Exploring Operation: 49+82=131, Resulting Numbers: [131] 131,60 unequal: No Solution Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,60 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 16, 12, 2, 61 ]
55
[ "16-12=4", "61-2=59", "59-4=55" ]
Current State: 55:[16, 12, 2, 61], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [2, 61, 4] Generated Node #2: [2, 61, 4] from Operation: 16-12=4 Current State: 55:[2, 61, 4], Operations: ['16-12=4'] Exploring Operation: 61-2=59, Resulting Numbers: [4, 59] Generated Node #3: [4, 59] from Operation: 61-2=59 Current State: 55:[4, 59], Operations: ['16-12=4', '61-2=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[16, 12, 2, 61], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [2, 61, 4] Generated Node #0,0: 55:[2, 61, 4] Operation: 16-12=4 Exploring Operation: 16-2=14, Resulting Numbers: [12, 61, 14] Generated Node #0,1: 55:[12, 61, 14] Operation: 16-2=14 Exploring Operation: 16/2=8, Resulting Numbers: [12, 61, 8] Generated Node #0,2: 55:[12, 61, 8] Operation: 16/2=8 Moving to Node #0,0 Current State: 55:[2, 61, 4], Operations: ['16-12=4'] Exploring Operation: 61-4=57, Resulting Numbers: [2, 57] Generated Node #0,0,0: 55:[2, 57] Operation: 61-4=57 Exploring Operation: 2+4=6, Resulting Numbers: [61, 6] Generated Node #0,0,1: 55:[61, 6] Operation: 2+4=6 Exploring Operation: 61-2=59, Resulting Numbers: [4, 59] Generated Node #0,0,2: 55:[4, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[2, 57], Operations: ['16-12=4', '61-4=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,55 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[16, 12, 2, 61], Operations: [] Exploring Operation: 16-12=4, Resulting Numbers: [2, 61, 4] Generated Node #0,0: 55:[2, 61, 4] Operation: 16-12=4 Moving to Node #0,0 Current State: 55:[2, 61, 4], Operations: ['16-12=4'] Exploring Operation: 61-4=57, Resulting Numbers: [2, 57] Generated Node #0,0,0: 55:[2, 57] Operation: 61-4=57 Moving to Node #0,0,0 Current State: 55:[2, 57], Operations: ['16-12=4', '61-4=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 75, 19, 12, 96 ]
24
[ "75+19=94", "96-94=2", "12*2=24" ]
Current State: 24:[75, 19, 12, 96], Operations: [] Exploring Operation: 75+19=94, Resulting Numbers: [12, 96, 94] Generated Node #2: [12, 96, 94] from Operation: 75+19=94 Current State: 24:[12, 96, 94], Operations: ['75+19=94'] Exploring Operation: 96-94=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 96-94=2 Current State: 24:[12, 2], Operations: ['75+19=94', '96-94=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[75, 19, 12, 96], Operations: [] Exploring Operation: 75-19=56, Resulting Numbers: [12, 96, 56] Generated Node #0,0: 24:[12, 96, 56] Operation: 75-19=56 Exploring Operation: 96-75=21, Resulting Numbers: [19, 12, 21] Generated Node #0,1: 24:[19, 12, 21] Operation: 96-75=21 Exploring Operation: 96/12=8, Resulting Numbers: [75, 19, 8] Generated Node #0,2: 24:[75, 19, 8] Operation: 96/12=8 Moving to Node #0,1 Current State: 24:[19, 12, 21], Operations: ['96-75=21'] Exploring Operation: 21-12=9, Resulting Numbers: [19, 9] Generated Node #0,1,0: 24:[19, 9] Operation: 21-12=9 Exploring Operation: 21-19=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 24:[12, 2] Operation: 21-19=2 Exploring Operation: 19-12=7, Resulting Numbers: [21, 7] Generated Node #0,1,2: 24:[21, 7] Operation: 19-12=7 Moving to Node #0,2 Current State: 24:[75, 19, 8], Operations: ['96/12=8'] Exploring Operation: 75-8=67, Resulting Numbers: [19, 67] Generated Node #0,2,0: 24:[19, 67] Operation: 75-8=67 Exploring Operation: 75-19=56, Resulting Numbers: [8, 56] Generated Node #0,2,1: 24:[8, 56] Operation: 75-19=56 Exploring Operation: 19-8=11, Resulting Numbers: [75, 11] Generated Node #0,2,2: 24:[75, 11] Operation: 19-8=11 Moving to Node #0,0 Current State: 24:[12, 96, 56], Operations: ['75-19=56'] Exploring Operation: 96/12=8, Resulting Numbers: [56, 8] Generated Node #0,0,0: 24:[56, 8] Operation: 96/12=8 Exploring Operation: 96-12=84, Resulting Numbers: [56, 84] Generated Node #0,0,1: 24:[56, 84] Operation: 96-12=84 Exploring Operation: 96-56=40, Resulting Numbers: [12, 40] Generated Node #0,0,2: 24:[12, 40] Operation: 96-56=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[12, 40], Operations: ['75-19=56', '96-56=40'] Exploring Operation: 12*40=480, Resulting Numbers: [480] 480,24 unequal: No Solution Exploring Operation: 12+40=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,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:[56, 8], Operations: ['75-19=56', '96/12=8'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,24 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,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,1 Current State: 24:[56, 84], Operations: ['75-19=56', '96-12=84'] Exploring Operation: 56*84=4704, Resulting Numbers: [4704] 4704,24 unequal: No Solution Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,24 unequal: No Solution Exploring Operation: 56+84=140, Resulting Numbers: [140] 140,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 24:[12, 2], Operations: ['96-75=21', '21-19=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[75, 19, 12, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [19, 12, 21] Generated Node #0,1: 24:[19, 12, 21] Operation: 96-75=21 Moving to Node #0,1 Current State: 24:[19, 12, 21], Operations: ['96-75=21'] Exploring Operation: 21-19=2, Resulting Numbers: [12, 2] Generated Node #0,1,1: 24:[12, 2] Operation: 21-19=2 Moving to Node #0,1,1 Current State: 24:[12, 2], Operations: ['96-75=21', '21-19=2'] Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.975694
hs_3
mult_heuristic
[ 25, 59, 39, 58 ]
13
[ "25+59=84", "39+58=97", "97-84=13" ]
Current State: 13:[25, 59, 39, 58], Operations: [] Exploring Operation: 25+59=84, Resulting Numbers: [39, 58, 84] Generated Node #2: [39, 58, 84] from Operation: 25+59=84 Current State: 13:[39, 58, 84], Operations: ['25+59=84'] Exploring Operation: 39+58=97, Resulting Numbers: [84, 97] Generated Node #3: [84, 97] from Operation: 39+58=97 Current State: 13:[84, 97], Operations: ['25+59=84', '39+58=97'] Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[25, 59, 39, 58], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [25, 39, 1] Generated Node #0,0: 13:[25, 39, 1] Operation: 59-58=1 Exploring Operation: 59-39=20, Resulting Numbers: [25, 58, 20] Generated Node #0,1: 13:[25, 58, 20] Operation: 59-39=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[25, 39, 1], Operations: ['59-58=1'] Exploring Operation: 25-1=24, Resulting Numbers: [39, 24] Generated Node #0,0,0: 13:[39, 24] Operation: 25-1=24 Exploring Operation: 39-25=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 13:[1, 14] Operation: 39-25=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[1, 14], Operations: ['59-58=1', '39-25=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[25, 59, 39, 58], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [25, 39, 1] Generated Node #0,0: 13:[25, 39, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 13:[25, 39, 1], Operations: ['59-58=1'] Exploring Operation: 39-25=14, Resulting Numbers: [1, 14] Generated Node #0,0,1: 13:[1, 14] Operation: 39-25=14 Moving to Node #0,0,1 Current State: 13:[1, 14], Operations: ['59-58=1', '39-25=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 18, 61, 77, 74 ]
55
[ "77-74=3", "18/3=6", "61-6=55" ]
Current State: 55:[18, 61, 77, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [18, 61, 3] Generated Node #2: [18, 61, 3] from Operation: 77-74=3 Current State: 55:[18, 61, 3], Operations: ['77-74=3'] Exploring Operation: 18/3=6, Resulting Numbers: [61, 6] Generated Node #3: [61, 6] from Operation: 18/3=6 Current State: 55:[61, 6], Operations: ['77-74=3', '18/3=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 61, 77, 74], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [18, 74, 16] Generated Node #0,0: 55:[18, 74, 16] Operation: 77-61=16 Exploring Operation: 77-18=59, Resulting Numbers: [61, 74, 59] Generated Node #0,1: 55:[61, 74, 59] Operation: 77-18=59 Exploring Operation: 77-74=3, Resulting Numbers: [18, 61, 3] Generated Node #0,2: 55:[18, 61, 3] Operation: 77-74=3 Exploring Operation: 74-18=56, Resulting Numbers: [61, 77, 56] Generated Node #0,3: 55:[61, 77, 56] Operation: 74-18=56 Exploring Operation: 74-61=13, Resulting Numbers: [18, 77, 13] Generated Node #0,4: 55:[18, 77, 13] Operation: 74-61=13 Moving to Node #0,2 Current State: 55:[18, 61, 3], Operations: ['77-74=3'] Exploring Operation: 18/3=6, Resulting Numbers: [61, 6] Generated Node #0,2,0: 55:[61, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [61, 15] Generated Node #0,2,1: 55:[61, 15] Operation: 18-3=15 Exploring Operation: 61-3=58, Resulting Numbers: [18, 58] Generated Node #0,2,2: 55:[18, 58] Operation: 61-3=58 Exploring Operation: 18*3=54, Resulting Numbers: [61, 54] Generated Node #0,2,3: 55:[61, 54] Operation: 18*3=54 Exploring Operation: 61-18=43, Resulting Numbers: [3, 43] Generated Node #0,2,4: 55:[3, 43] Operation: 61-18=43 Moving to Node #0,3 Current State: 55:[61, 77, 56], Operations: ['74-18=56'] Exploring Operation: 61-56=5, Resulting Numbers: [77, 5] Generated Node #0,3,0: 55:[77, 5] Operation: 61-56=5 Exploring Operation: 77-61=16, Resulting Numbers: [56, 16] Generated Node #0,3,1: 55:[56, 16] Operation: 77-61=16 Exploring Operation: 61+77=138, Resulting Numbers: [56, 138] Generated Node #0,3,2: 55:[56, 138] Operation: 61+77=138 Exploring Operation: 61+56=117, Resulting Numbers: [77, 117] Generated Node #0,3,3: 55:[77, 117] Operation: 61+56=117 Exploring Operation: 77-56=21, Resulting Numbers: [61, 21] Generated Node #0,3,4: 55:[61, 21] Operation: 77-56=21 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[56, 16], Operations: ['74-18=56', '77-61=16'] Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 55:[61, 21], Operations: ['74-18=56', '77-56=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[77, 5], Operations: ['74-18=56', '61-56=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,55 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[56, 138], Operations: ['74-18=56', '61+77=138'] Exploring Operation: 56+138=194, Resulting Numbers: [194] 194,55 unequal: No Solution Exploring Operation: 138-56=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 56*138=7728, Resulting Numbers: [7728] 7728,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[77, 117], Operations: ['74-18=56', '61+56=117'] Exploring Operation: 117-77=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 77*117=9009, Resulting Numbers: [9009] 9009,55 unequal: No Solution Exploring Operation: 77+117=194, Resulting Numbers: [194] 194,55 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: 55:[61, 74, 59], Operations: ['77-18=59'] Exploring Operation: 74-61=13, Resulting Numbers: [59, 13] Generated Node #0,1,0: 55:[59, 13] Operation: 74-61=13 Exploring Operation: 61+74=135, Resulting Numbers: [59, 135] Generated Node #0,1,1: 55:[59, 135] Operation: 61+74=135 Exploring Operation: 61-59=2, Resulting Numbers: [74, 2] Generated Node #0,1,2: 55:[74, 2] Operation: 61-59=2 Exploring Operation: 61+59=120, Resulting Numbers: [74, 120] Generated Node #0,1,3: 55:[74, 120] Operation: 61+59=120 Exploring Operation: 74-59=15, Resulting Numbers: [61, 15] Generated Node #0,1,4: 55:[61, 15] Operation: 74-59=15 Moving to Node #0,0 Current State: 55:[18, 74, 16], Operations: ['77-61=16'] Exploring Operation: 74-16=58, Resulting Numbers: [18, 58] Generated Node #0,0,0: 55:[18, 58] Operation: 74-16=58 Exploring Operation: 18-16=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 55:[74, 2] Operation: 18-16=2 Exploring Operation: 74-18=56, Resulting Numbers: [16, 56] Generated Node #0,0,2: 55:[16, 56] Operation: 74-18=56 Exploring Operation: 18+74=92, Resulting Numbers: [16, 92] Generated Node #0,0,3: 55:[16, 92] Operation: 18+74=92 Exploring Operation: 18+16=34, Resulting Numbers: [74, 34] Generated Node #0,0,4: 55:[74, 34] Operation: 18+16=34 Moving to Node #0,4 Current State: 55:[18, 77, 13], Operations: ['74-61=13'] Exploring Operation: 18+13=31, Resulting Numbers: [77, 31] Generated Node #0,4,0: 55:[77, 31] Operation: 18+13=31 Exploring Operation: 18+77=95, Resulting Numbers: [13, 95] Generated Node #0,4,1: 55:[13, 95] Operation: 18+77=95 Exploring Operation: 77-13=64, Resulting Numbers: [18, 64] Generated Node #0,4,2: 55:[18, 64] Operation: 77-13=64 Exploring Operation: 18-13=5, Resulting Numbers: [77, 5] Generated Node #0,4,3: 55:[77, 5] Operation: 18-13=5 Exploring Operation: 77-18=59, Resulting Numbers: [13, 59] Generated Node #0,4,4: 55:[13, 59] Operation: 77-18=59 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 55:[13, 59], Operations: ['74-61=13', '77-18=59'] Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 55:[18, 64], Operations: ['74-61=13', '77-13=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,55 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 55:[77, 5], Operations: ['74-61=13', '18-13=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,55 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 55:[77, 31], Operations: ['74-61=13', '18+13=31'] Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 55:[13, 95], Operations: ['74-61=13', '18+77=95'] Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,55 unequal: No Solution Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,55 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: 55:[59, 13], Operations: ['77-18=59', '74-61=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,55 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[16, 56], Operations: ['77-61=16', '74-18=56'] Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,55 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[61, 6], Operations: ['77-74=3', '18/3=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[18, 61, 77, 74], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [18, 61, 3] Generated Node #0,2: 55:[18, 61, 3] Operation: 77-74=3 Moving to Node #0,2 Current State: 55:[18, 61, 3], Operations: ['77-74=3'] Exploring Operation: 18/3=6, Resulting Numbers: [61, 6] Generated Node #0,2,0: 55:[61, 6] Operation: 18/3=6 Moving to Node #0,2,0 Current State: 55:[61, 6], Operations: ['77-74=3', '18/3=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.938368
hs_5
sum_heuristic
[ 19, 24, 94, 88 ]
23
[ "94-88=6", "24/6=4", "19+4=23" ]
Current State: 23:[19, 24, 94, 88], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [19, 24, 6] Generated Node #2: [19, 24, 6] from Operation: 94-88=6 Current State: 23:[19, 24, 6], Operations: ['94-88=6'] Exploring Operation: 24/6=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 24/6=4 Current State: 23:[19, 4], Operations: ['94-88=6', '24/6=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 24, 94, 88], Operations: [] Exploring Operation: 94-19=75, Resulting Numbers: [24, 88, 75] Generated Node #0,0: 23:[24, 88, 75] Operation: 94-19=75 Exploring Operation: 88-24=64, Resulting Numbers: [19, 94, 64] Generated Node #0,1: 23:[19, 94, 64] Operation: 88-24=64 Exploring Operation: 94-88=6, Resulting Numbers: [19, 24, 6] Generated Node #0,2: 23:[19, 24, 6] Operation: 94-88=6 Exploring Operation: 88-19=69, Resulting Numbers: [24, 94, 69] Generated Node #0,3: 23:[24, 94, 69] Operation: 88-19=69 Exploring Operation: 94-24=70, Resulting Numbers: [19, 88, 70] Generated Node #0,4: 23:[19, 88, 70] Operation: 94-24=70 Moving to Node #0,2 Current State: 23:[19, 24, 6], Operations: ['94-88=6'] Exploring Operation: 24+6=30, Resulting Numbers: [19, 30] Generated Node #0,2,0: 23:[19, 30] Operation: 24+6=30 Exploring Operation: 19+6=25, Resulting Numbers: [24, 25] Generated Node #0,2,1: 23:[24, 25] Operation: 19+6=25 Exploring Operation: 24/6=4, Resulting Numbers: [19, 4] Generated Node #0,2,2: 23:[19, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [19, 18] Generated Node #0,2,3: 23:[19, 18] Operation: 24-6=18 Exploring Operation: 19-6=13, Resulting Numbers: [24, 13] Generated Node #0,2,4: 23:[24, 13] Operation: 19-6=13 Moving to Node #0,4 Current State: 23:[19, 88, 70], Operations: ['94-24=70'] Exploring Operation: 19+88=107, Resulting Numbers: [70, 107] Generated Node #0,4,0: 23:[70, 107] Operation: 19+88=107 Exploring Operation: 88-70=18, Resulting Numbers: [19, 18] Generated Node #0,4,1: 23:[19, 18] Operation: 88-70=18 Exploring Operation: 88-19=69, Resulting Numbers: [70, 69] Generated Node #0,4,2: 23:[70, 69] Operation: 88-19=69 Exploring Operation: 19+70=89, Resulting Numbers: [88, 89] Generated Node #0,4,3: 23:[88, 89] Operation: 19+70=89 Exploring Operation: 70-19=51, Resulting Numbers: [88, 51] Generated Node #0,4,4: 23:[88, 51] Operation: 70-19=51 Moving to Node #0,1 Current State: 23:[19, 94, 64], Operations: ['88-24=64'] Exploring Operation: 19+94=113, Resulting Numbers: [64, 113] Generated Node #0,1,0: 23:[64, 113] Operation: 19+94=113 Exploring Operation: 94-64=30, Resulting Numbers: [19, 30] Generated Node #0,1,1: 23:[19, 30] Operation: 94-64=30 Exploring Operation: 94-19=75, Resulting Numbers: [64, 75] Generated Node #0,1,2: 23:[64, 75] Operation: 94-19=75 Exploring Operation: 19+64=83, Resulting Numbers: [94, 83] Generated Node #0,1,3: 23:[94, 83] Operation: 19+64=83 Exploring Operation: 64-19=45, Resulting Numbers: [94, 45] Generated Node #0,1,4: 23:[94, 45] Operation: 64-19=45 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[19, 30], Operations: ['88-24=64', '94-64=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[64, 75], Operations: ['88-24=64', '94-19=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,23 unequal: No Solution Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 23:[94, 45], Operations: ['88-24=64', '64-19=45'] Exploring Operation: 94*45=4230, Resulting Numbers: [4230] 4230,23 unequal: No Solution Exploring Operation: 94+45=139, Resulting Numbers: [139] 139,23 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,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:[64, 113], Operations: ['88-24=64', '19+94=113'] Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,23 unequal: No Solution Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,23 unequal: No Solution Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[94, 83], Operations: ['88-24=64', '19+64=83'] Exploring Operation: 94+83=177, Resulting Numbers: [177] 177,23 unequal: No Solution Exploring Operation: 94*83=7802, Resulting Numbers: [7802] 7802,23 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 23:[24, 88, 75], Operations: ['94-19=75'] Exploring Operation: 24+88=112, Resulting Numbers: [75, 112] Generated Node #0,0,0: 23:[75, 112] Operation: 24+88=112 Exploring Operation: 88-24=64, Resulting Numbers: [75, 64] Generated Node #0,0,1: 23:[75, 64] Operation: 88-24=64 Exploring Operation: 88-75=13, Resulting Numbers: [24, 13] Generated Node #0,0,2: 23:[24, 13] Operation: 88-75=13 Exploring Operation: 75-24=51, Resulting Numbers: [88, 51] Generated Node #0,0,3: 23:[88, 51] Operation: 75-24=51 Exploring Operation: 24+75=99, Resulting Numbers: [88, 99] Generated Node #0,0,4: 23:[88, 99] Operation: 24+75=99 Moving to Node #0,3 Current State: 23:[24, 94, 69], Operations: ['88-19=69'] Exploring Operation: 94-24=70, Resulting Numbers: [69, 70] Generated Node #0,3,0: 23:[69, 70] Operation: 94-24=70 Exploring Operation: 24+94=118, Resulting Numbers: [69, 118] Generated Node #0,3,1: 23:[69, 118] Operation: 24+94=118 Exploring Operation: 24+69=93, Resulting Numbers: [94, 93] Generated Node #0,3,2: 23:[94, 93] Operation: 24+69=93 Exploring Operation: 94-69=25, Resulting Numbers: [24, 25] Generated Node #0,3,3: 23:[24, 25] Operation: 94-69=25 Exploring Operation: 69-24=45, Resulting Numbers: [94, 45] Generated Node #0,3,4: 23:[94, 45] Operation: 69-24=45 Moving to Node #0,2,1 Current State: 23:[24, 25], Operations: ['94-88=6', '19+6=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,23 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[24, 25], Operations: ['88-19=69', '94-69=25'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[19, 18], Operations: ['94-24=70', '88-70=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[19, 18], Operations: ['94-88=6', '24-6=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,23 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[19, 30], Operations: ['94-88=6', '24+6=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,23 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[24, 13], Operations: ['94-19=75', '88-75=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,23 unequal: No Solution Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[24, 13], Operations: ['94-88=6', '19-6=13'] Exploring Operation: 24*13=312, Resulting Numbers: [312] 312,23 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,23 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[19, 4], Operations: ['94-88=6', '24/6=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[19, 24, 94, 88], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [19, 24, 6] Generated Node #0,2: 23:[19, 24, 6] Operation: 94-88=6 Moving to Node #0,2 Current State: 23:[19, 24, 6], Operations: ['94-88=6'] Exploring Operation: 24/6=4, Resulting Numbers: [19, 4] Generated Node #0,2,2: 23:[19, 4] Operation: 24/6=4 Moving to Node #0,2,2 Current State: 23:[19, 4], Operations: ['94-88=6', '24/6=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.938368
hs_5
mult_heuristic
[ 82, 84, 44, 51 ]
73
[ "84-82=2", "44/2=22", "51+22=73" ]
Current State: 73:[82, 84, 44, 51], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [44, 51, 2] Generated Node #2: [44, 51, 2] from Operation: 84-82=2 Current State: 73:[44, 51, 2], Operations: ['84-82=2'] Exploring Operation: 44/2=22, Resulting Numbers: [51, 22] Generated Node #3: [51, 22] from Operation: 44/2=22 Current State: 73:[51, 22], Operations: ['84-82=2', '44/2=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[82, 84, 44, 51], Operations: [] Exploring Operation: 84-44=40, Resulting Numbers: [82, 51, 40] Generated Node #0,0: 73:[82, 51, 40] Operation: 84-44=40 Exploring Operation: 44+51=95, Resulting Numbers: [82, 84, 95] Generated Node #0,1: 73:[82, 84, 95] Operation: 44+51=95 Exploring Operation: 82-44=38, Resulting Numbers: [84, 51, 38] Generated Node #0,2: 73:[84, 51, 38] Operation: 82-44=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[82, 84, 95], Operations: ['44+51=95'] Exploring Operation: 95-82=13, Resulting Numbers: [84, 13] Generated Node #0,1,0: 73:[84, 13] Operation: 95-82=13 Exploring Operation: 84-82=2, Resulting Numbers: [95, 2] Generated Node #0,1,1: 73:[95, 2] Operation: 84-82=2 Exploring Operation: 95-84=11, Resulting Numbers: [82, 11] Generated Node #0,1,2: 73:[82, 11] Operation: 95-84=11 Moving to Node #0,1,0 Current State: 73:[84, 13], Operations: ['44+51=95', '95-82=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,73 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,73 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[82, 11], Operations: ['44+51=95', '95-84=11'] Exploring Operation: 82+11=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 82*11=902, Resulting Numbers: [902] 902,73 unequal: No Solution Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[95, 2], Operations: ['44+51=95', '84-82=2'] Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,73 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,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,0 Current State: 73:[82, 51, 40], Operations: ['84-44=40'] Exploring Operation: 82+40=122, Resulting Numbers: [51, 122] Generated Node #0,0,0: 73:[51, 122] Operation: 82+40=122 Exploring Operation: 82-40=42, Resulting Numbers: [51, 42] Generated Node #0,0,1: 73:[51, 42] Operation: 82-40=42 Exploring Operation: 51+40=91, Resulting Numbers: [82, 91] Generated Node #0,0,2: 73:[82, 91] Operation: 51+40=91 Moving to Node #0,0,2 Current State: 73:[82, 91], Operations: ['84-44=40', '51+40=91'] Exploring Operation: 82+91=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 91-82=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 82*91=7462, Resulting Numbers: [7462] 7462,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[51, 42], Operations: ['84-44=40', '82-40=42'] Exploring Operation: 51*42=2142, Resulting Numbers: [2142] 2142,73 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,73 unequal: No Solution Exploring Operation: 51+42=93, Resulting Numbers: [93] 93,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[51, 122], Operations: ['84-44=40', '82+40=122'] Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,73 unequal: No Solution Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,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:[84, 51, 38], Operations: ['82-44=38'] Exploring Operation: 84+38=122, Resulting Numbers: [51, 122] Generated Node #0,2,0: 73:[51, 122] Operation: 84+38=122 Exploring Operation: 51+38=89, Resulting Numbers: [84, 89] Generated Node #0,2,1: 73:[84, 89] Operation: 51+38=89 Exploring Operation: 84-38=46, Resulting Numbers: [51, 46] Generated Node #0,2,2: 73:[51, 46] Operation: 84-38=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[84, 89], Operations: ['82-44=38', '51+38=89'] Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,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:[51, 46], Operations: ['82-44=38', '84-38=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,73 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,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:[51, 122], Operations: ['82-44=38', '84+38=122'] Exploring Operation: 51*122=6222, Resulting Numbers: [6222] 6222,73 unequal: No Solution Exploring Operation: 51+122=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 122-51=71, Resulting Numbers: [71] 71,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 73, 80, 68, 67 ]
18
[ "73+80=153", "68+67=135", "153-135=18" ]
Current State: 18:[73, 80, 68, 67], Operations: [] Exploring Operation: 73+80=153, Resulting Numbers: [68, 67, 153] Generated Node #2: [68, 67, 153] from Operation: 73+80=153 Current State: 18:[68, 67, 153], Operations: ['73+80=153'] Exploring Operation: 68+67=135, Resulting Numbers: [153, 135] Generated Node #3: [153, 135] from Operation: 68+67=135 Current State: 18:[153, 135], Operations: ['73+80=153', '68+67=135'] Exploring Operation: 153-135=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[73, 80, 68, 67], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [73, 68, 13] Generated Node #0,0: 18:[73, 68, 13] Operation: 80-67=13 Exploring Operation: 73-67=6, Resulting Numbers: [80, 68, 6] Generated Node #0,1: 18:[80, 68, 6] Operation: 73-67=6 Exploring Operation: 73-68=5, Resulting Numbers: [80, 67, 5] Generated Node #0,2: 18:[80, 67, 5] Operation: 73-68=5 Exploring Operation: 80-68=12, Resulting Numbers: [73, 67, 12] Generated Node #0,3: 18:[73, 67, 12] Operation: 80-68=12 Exploring Operation: 80-73=7, Resulting Numbers: [68, 67, 7] Generated Node #0,4: 18:[68, 67, 7] Operation: 80-73=7 Moving to Node #0,4 Current State: 18:[68, 67, 7], Operations: ['80-73=7'] Exploring Operation: 67+7=74, Resulting Numbers: [68, 74] Generated Node #0,4,0: 18:[68, 74] Operation: 67+7=74 Exploring Operation: 68-7=61, Resulting Numbers: [67, 61] Generated Node #0,4,1: 18:[67, 61] Operation: 68-7=61 Exploring Operation: 68-67=1, Resulting Numbers: [7, 1] Generated Node #0,4,2: 18:[7, 1] Operation: 68-67=1 Exploring Operation: 67-7=60, Resulting Numbers: [68, 60] Generated Node #0,4,3: 18:[68, 60] Operation: 67-7=60 Exploring Operation: 68+7=75, Resulting Numbers: [67, 75] Generated Node #0,4,4: 18:[67, 75] Operation: 68+7=75 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 18:[7, 1], Operations: ['80-73=7', '68-67=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,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,1 Current State: 18:[67, 61], Operations: ['80-73=7', '68-7=61'] Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,18 unequal: No Solution Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,18 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,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:[68, 60], Operations: ['80-73=7', '67-7=60'] Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,18 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,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:[68, 74], Operations: ['80-73=7', '67+7=74'] Exploring Operation: 68*74=5032, Resulting Numbers: [5032] 5032,18 unequal: No Solution Exploring Operation: 68+74=142, Resulting Numbers: [142] 142,18 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,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:[67, 75], Operations: ['80-73=7', '68+7=75'] Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,18 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,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:[73, 67, 12], Operations: ['80-68=12'] Exploring Operation: 73-12=61, Resulting Numbers: [67, 61] Generated Node #0,3,0: 18:[67, 61] Operation: 73-12=61 Exploring Operation: 73-67=6, Resulting Numbers: [12, 6] Generated Node #0,3,1: 18:[12, 6] Operation: 73-67=6 Exploring Operation: 67+12=79, Resulting Numbers: [73, 79] Generated Node #0,3,2: 18:[73, 79] Operation: 67+12=79 Exploring Operation: 67-12=55, Resulting Numbers: [73, 55] Generated Node #0,3,3: 18:[73, 55] Operation: 67-12=55 Exploring Operation: 73+12=85, Resulting Numbers: [67, 85] Generated Node #0,3,4: 18:[67, 85] Operation: 73+12=85 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[12, 6], Operations: ['80-68=12', '73-67=6'] Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[73, 80, 68, 67], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [73, 67, 12] Generated Node #0,3: 18:[73, 67, 12] Operation: 80-68=12 Moving to Node #0,3 Current State: 18:[73, 67, 12], Operations: ['80-68=12'] Exploring Operation: 73-67=6, Resulting Numbers: [12, 6] Generated Node #0,3,1: 18:[12, 6] Operation: 73-67=6 Moving to Node #0,3,1 Current State: 18:[12, 6], Operations: ['80-68=12', '73-67=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 96, 91, 89, 81 ]
68
[ "96-89=7", "91/7=13", "81-13=68" ]
Current State: 68:[96, 91, 89, 81], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [91, 81, 7] Generated Node #2: [91, 81, 7] from Operation: 96-89=7 Current State: 68:[91, 81, 7], Operations: ['96-89=7'] Exploring Operation: 91/7=13, Resulting Numbers: [81, 13] Generated Node #3: [81, 13] from Operation: 91/7=13 Current State: 68:[81, 13], Operations: ['96-89=7', '91/7=13'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[96, 91, 89, 81], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [89, 81, 5] Generated Node #0,0: 68:[89, 81, 5] Operation: 96-91=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[89, 81, 5], Operations: ['96-91=5'] Exploring Operation: 89-81=8, Resulting Numbers: [5, 8] Generated Node #0,0,0: 68:[5, 8] Operation: 89-81=8 Moving to Node #0,0,0 Current State: 68:[5, 8], Operations: ['96-91=5', '89-81=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 36, 12, 78, 93 ]
33
[ "36+12=48", "93-78=15", "48-15=33" ]
Current State: 33:[36, 12, 78, 93], Operations: [] Exploring Operation: 36+12=48, Resulting Numbers: [78, 93, 48] Generated Node #2: [78, 93, 48] from Operation: 36+12=48 Current State: 33:[78, 93, 48], Operations: ['36+12=48'] Exploring Operation: 93-78=15, Resulting Numbers: [48, 15] Generated Node #3: [48, 15] from Operation: 93-78=15 Current State: 33:[48, 15], Operations: ['36+12=48', '93-78=15'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[36, 12, 78, 93], Operations: [] Exploring Operation: 93-36=57, Resulting Numbers: [12, 78, 57] Generated Node #0,0: 33:[12, 78, 57] Operation: 93-36=57 Exploring Operation: 93-78=15, Resulting Numbers: [36, 12, 15] Generated Node #0,1: 33:[36, 12, 15] Operation: 93-78=15 Exploring Operation: 78-36=42, Resulting Numbers: [12, 93, 42] Generated Node #0,2: 33:[12, 93, 42] Operation: 78-36=42 Exploring Operation: 78-12=66, Resulting Numbers: [36, 93, 66] Generated Node #0,3: 33:[36, 93, 66] Operation: 78-12=66 Moving to Node #0,1 Current State: 33:[36, 12, 15], Operations: ['93-78=15'] Exploring Operation: 36-15=21, Resulting Numbers: [12, 21] Generated Node #0,1,0: 33:[12, 21] Operation: 36-15=21 Exploring Operation: 12+15=27, Resulting Numbers: [36, 27] Generated Node #0,1,1: 33:[36, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [36, 3] Generated Node #0,1,2: 33:[36, 3] Operation: 15-12=3 Exploring Operation: 36/12=3, Resulting Numbers: [15, 3] Generated Node #0,1,3: 33:[15, 3] Operation: 36/12=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[36, 3], Operations: ['93-78=15', '15-12=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[36, 12, 78, 93], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [36, 12, 15] Generated Node #0,1: 33:[36, 12, 15] Operation: 93-78=15 Moving to Node #0,1 Current State: 33:[36, 12, 15], Operations: ['93-78=15'] Exploring Operation: 15-12=3, Resulting Numbers: [36, 3] Generated Node #0,1,2: 33:[36, 3] Operation: 15-12=3 Moving to Node #0,1,2 Current State: 33:[36, 3], Operations: ['93-78=15', '15-12=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 85, 19, 93, 31 ]
20
[ "85+19=104", "93+31=124", "124-104=20" ]
Current State: 20:[85, 19, 93, 31], Operations: [] Exploring Operation: 85+19=104, Resulting Numbers: [93, 31, 104] Generated Node #2: [93, 31, 104] from Operation: 85+19=104 Current State: 20:[93, 31, 104], Operations: ['85+19=104'] Exploring Operation: 93+31=124, Resulting Numbers: [104, 124] Generated Node #3: [104, 124] from Operation: 93+31=124 Current State: 20:[104, 124], Operations: ['85+19=104', '93+31=124'] Exploring Operation: 124-104=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[85, 19, 93, 31], Operations: [] Exploring Operation: 93-31=62, Resulting Numbers: [85, 19, 62] Generated Node #0,0: 20:[85, 19, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [85, 19, 3] Generated Node #0,1: 20:[85, 19, 3] Operation: 93/31=3 Exploring Operation: 85-31=54, Resulting Numbers: [19, 93, 54] Generated Node #0,2: 20:[19, 93, 54] Operation: 85-31=54 Exploring Operation: 93-85=8, Resulting Numbers: [19, 31, 8] Generated Node #0,3: 20:[19, 31, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[19, 31, 8], Operations: ['93-85=8'] Exploring Operation: 31-8=23, Resulting Numbers: [19, 23] Generated Node #0,3,0: 20:[19, 23] Operation: 31-8=23 Exploring Operation: 19-8=11, Resulting Numbers: [31, 11] Generated Node #0,3,1: 20:[31, 11] Operation: 19-8=11 Exploring Operation: 31-19=12, Resulting Numbers: [8, 12] Generated Node #0,3,2: 20:[8, 12] Operation: 31-19=12 Exploring Operation: 19+8=27, Resulting Numbers: [31, 27] Generated Node #0,3,3: 20:[31, 27] Operation: 19+8=27 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[19, 23], Operations: ['93-85=8', '31-8=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,20 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[8, 12], Operations: ['93-85=8', '31-19=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,20 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[85, 19, 93, 31], Operations: [] Exploring Operation: 93-85=8, Resulting Numbers: [19, 31, 8] Generated Node #0,3: 20:[19, 31, 8] Operation: 93-85=8 Moving to Node #0,3 Current State: 20:[19, 31, 8], Operations: ['93-85=8'] Exploring Operation: 31-19=12, Resulting Numbers: [8, 12] Generated Node #0,3,2: 20:[8, 12] Operation: 31-19=12 Moving to Node #0,3,2 Current State: 20:[8, 12], Operations: ['93-85=8', '31-19=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 60, 68, 64, 78 ]
86
[ "68-60=8", "64/8=8", "78+8=86" ]
Current State: 86:[60, 68, 64, 78], Operations: [] Exploring Operation: 68-60=8, Resulting Numbers: [64, 78, 8] Generated Node #2: [64, 78, 8] from Operation: 68-60=8 Current State: 86:[64, 78, 8], Operations: ['68-60=8'] Exploring Operation: 64/8=8, Resulting Numbers: [78, 8] Generated Node #3: [78, 8] from Operation: 64/8=8 Current State: 86:[78, 8], Operations: ['68-60=8', '64/8=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[60, 68, 64, 78], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [60, 78, 4] Generated Node #0,0: 86:[60, 78, 4] Operation: 68-64=4 Moving to Node #0,0 Current State: 86:[60, 78, 4], Operations: ['68-64=4'] Exploring Operation: 78-60=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 86:[4, 18] Operation: 78-60=18 Moving to Node #0,0,0 Current State: 86:[4, 18], Operations: ['68-64=4', '78-60=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 37, 23, 32 ]
38
[ "54-37=17", "23+32=55", "55-17=38" ]
Current State: 38:[54, 37, 23, 32], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [23, 32, 17] Generated Node #2: [23, 32, 17] from Operation: 54-37=17 Current State: 38:[23, 32, 17], Operations: ['54-37=17'] Exploring Operation: 23+32=55, Resulting Numbers: [17, 55] Generated Node #3: [17, 55] from Operation: 23+32=55 Current State: 38:[17, 55], Operations: ['54-37=17', '23+32=55'] Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[54, 37, 23, 32], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [54, 23, 5] Generated Node #0,0: 38:[54, 23, 5] Operation: 37-32=5 Exploring Operation: 32-23=9, Resulting Numbers: [54, 37, 9] Generated Node #0,1: 38:[54, 37, 9] Operation: 32-23=9 Exploring Operation: 54-32=22, Resulting Numbers: [37, 23, 22] Generated Node #0,2: 38:[37, 23, 22] Operation: 54-32=22 Exploring Operation: 54-23=31, Resulting Numbers: [37, 32, 31] Generated Node #0,3: 38:[37, 32, 31] Operation: 54-23=31 Exploring Operation: 54-37=17, Resulting Numbers: [23, 32, 17] Generated Node #0,4: 38:[23, 32, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[37, 23, 22], Operations: ['54-32=22'] Exploring Operation: 23-22=1, Resulting Numbers: [37, 1] Generated Node #0,2,0: 38:[37, 1] Operation: 23-22=1 Exploring Operation: 37+23=60, Resulting Numbers: [22, 60] Generated Node #0,2,1: 38:[22, 60] Operation: 37+23=60 Exploring Operation: 37-22=15, Resulting Numbers: [23, 15] Generated Node #0,2,2: 38:[23, 15] Operation: 37-22=15 Exploring Operation: 23+22=45, Resulting Numbers: [37, 45] Generated Node #0,2,3: 38:[37, 45] Operation: 23+22=45 Exploring Operation: 37-23=14, Resulting Numbers: [22, 14] Generated Node #0,2,4: 38:[22, 14] Operation: 37-23=14 Moving to Node #0,2,0 Current State: 38:[37, 1], Operations: ['54-32=22', '23-22=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,38 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[54, 37, 23, 32], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [37, 23, 22] Generated Node #0,2: 38:[37, 23, 22] Operation: 54-32=22 Moving to Node #0,2 Current State: 38:[37, 23, 22], Operations: ['54-32=22'] Exploring Operation: 23-22=1, Resulting Numbers: [37, 1] Generated Node #0,2,0: 38:[37, 1] Operation: 23-22=1 Moving to Node #0,2,0 Current State: 38:[37, 1], Operations: ['54-32=22', '23-22=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 44, 9, 35, 34 ]
55
[ "44-34=10", "9*10=90", "90-35=55" ]
Current State: 55:[44, 9, 35, 34], Operations: [] Exploring Operation: 44-34=10, Resulting Numbers: [9, 35, 10] Generated Node #2: [9, 35, 10] from Operation: 44-34=10 Current State: 55:[9, 35, 10], Operations: ['44-34=10'] Exploring Operation: 9*10=90, Resulting Numbers: [35, 90] Generated Node #3: [35, 90] from Operation: 9*10=90 Current State: 55:[35, 90], Operations: ['44-34=10', '9*10=90'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[44, 9, 35, 34], Operations: [] Exploring Operation: 35-34=1, Resulting Numbers: [44, 9, 1] Generated Node #0,0: 55:[44, 9, 1] Operation: 35-34=1 Moving to Node #0,0 Current State: 55:[44, 9, 1], Operations: ['35-34=1'] Exploring Operation: 44+9=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 55:[1, 53] Operation: 44+9=53 Moving to Node #0,0,0 Current State: 55:[1, 53], Operations: ['35-34=1', '44+9=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,55 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 28, 43, 9, 50 ]
74
[ "43-28=15", "9+50=59", "15+59=74" ]
Current State: 74:[28, 43, 9, 50], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [9, 50, 15] Generated Node #2: [9, 50, 15] from Operation: 43-28=15 Current State: 74:[9, 50, 15], Operations: ['43-28=15'] Exploring Operation: 9+50=59, Resulting Numbers: [15, 59] Generated Node #3: [15, 59] from Operation: 9+50=59 Current State: 74:[15, 59], Operations: ['43-28=15', '9+50=59'] Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[28, 43, 9, 50], Operations: [] Exploring Operation: 50-43=7, Resulting Numbers: [28, 9, 7] Generated Node #0,0: 74:[28, 9, 7] Operation: 50-43=7 Exploring Operation: 28+9=37, Resulting Numbers: [43, 50, 37] Generated Node #0,1: 74:[43, 50, 37] Operation: 28+9=37 Exploring Operation: 28+50=78, Resulting Numbers: [43, 9, 78] Generated Node #0,2: 74:[43, 9, 78] Operation: 28+50=78 Exploring Operation: 50-9=41, Resulting Numbers: [28, 43, 41] Generated Node #0,3: 74:[28, 43, 41] Operation: 50-9=41 Exploring Operation: 28+43=71, Resulting Numbers: [9, 50, 71] Generated Node #0,4: 74:[9, 50, 71] Operation: 28+43=71 Moving to Node #0,2 Current State: 74:[43, 9, 78], Operations: ['28+50=78'] Exploring Operation: 9+78=87, Resulting Numbers: [43, 87] Generated Node #0,2,0: 74:[43, 87] Operation: 9+78=87 Exploring Operation: 43-9=34, Resulting Numbers: [78, 34] Generated Node #0,2,1: 74:[78, 34] Operation: 43-9=34 Exploring Operation: 78-9=69, Resulting Numbers: [43, 69] Generated Node #0,2,2: 74:[43, 69] Operation: 78-9=69 Exploring Operation: 43+9=52, Resulting Numbers: [78, 52] Generated Node #0,2,3: 74:[78, 52] Operation: 43+9=52 Exploring Operation: 78-43=35, Resulting Numbers: [9, 35] Generated Node #0,2,4: 74:[9, 35] Operation: 78-43=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[78, 34], Operations: ['28+50=78', '43-9=34'] Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,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,4 Current State: 74:[9, 35], Operations: ['28+50=78', '78-43=35'] Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,74 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,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:[43, 69], Operations: ['28+50=78', '78-9=69'] Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,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:[43, 87], Operations: ['28+50=78', '9+78=87'] Exploring Operation: 43*87=3741, Resulting Numbers: [3741] 3741,74 unequal: No Solution Exploring Operation: 87-43=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 43+87=130, Resulting Numbers: [130] 130,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,3 Current State: 74:[78, 52], Operations: ['28+50=78', '43+9=52'] Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,74 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,74 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: 74:[28, 43, 41], Operations: ['50-9=41'] Exploring Operation: 43-28=15, Resulting Numbers: [41, 15] Generated Node #0,3,0: 74:[41, 15] Operation: 43-28=15 Exploring Operation: 43-41=2, Resulting Numbers: [28, 2] Generated Node #0,3,1: 74:[28, 2] Operation: 43-41=2 Exploring Operation: 28+41=69, Resulting Numbers: [43, 69] Generated Node #0,3,2: 74:[43, 69] Operation: 28+41=69 Exploring Operation: 41-28=13, Resulting Numbers: [43, 13] Generated Node #0,3,3: 74:[43, 13] Operation: 41-28=13 Exploring Operation: 28+43=71, Resulting Numbers: [41, 71] Generated Node #0,3,4: 74:[41, 71] Operation: 28+43=71 Moving to Node #0,1 Current State: 74:[43, 50, 37], Operations: ['28+9=37'] Exploring Operation: 50-37=13, Resulting Numbers: [43, 13] Generated Node #0,1,0: 74:[43, 13] Operation: 50-37=13 Exploring Operation: 43+50=93, Resulting Numbers: [37, 93] Generated Node #0,1,1: 74:[37, 93] Operation: 43+50=93 Exploring Operation: 43-37=6, Resulting Numbers: [50, 6] Generated Node #0,1,2: 74:[50, 6] Operation: 43-37=6 Exploring Operation: 43+37=80, Resulting Numbers: [50, 80] Generated Node #0,1,3: 74:[50, 80] Operation: 43+37=80 Exploring Operation: 50-43=7, Resulting Numbers: [37, 7] Generated Node #0,1,4: 74:[37, 7] Operation: 50-43=7 Moving to Node #0,0 Current State: 74:[28, 9, 7], Operations: ['50-43=7'] Exploring Operation: 28/7=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 74:[9, 4] Operation: 28/7=4 Exploring Operation: 9*7=63, Resulting Numbers: [28, 63] Generated Node #0,0,1: 74:[28, 63] Operation: 9*7=63 Exploring Operation: 28+7=35, Resulting Numbers: [9, 35] Generated Node #0,0,2: 74:[9, 35] Operation: 28+7=35 Exploring Operation: 9-7=2, Resulting Numbers: [28, 2] Generated Node #0,0,3: 74:[28, 2] Operation: 9-7=2 Exploring Operation: 28+9=37, Resulting Numbers: [7, 37] Generated Node #0,0,4: 74:[7, 37] Operation: 28+9=37 Moving to Node #0,4 Current State: 74:[9, 50, 71], Operations: ['28+43=71'] Exploring Operation: 50-9=41, Resulting Numbers: [71, 41] Generated Node #0,4,0: 74:[71, 41] Operation: 50-9=41 Exploring Operation: 9+71=80, Resulting Numbers: [50, 80] Generated Node #0,4,1: 74:[50, 80] Operation: 9+71=80 Exploring Operation: 71-9=62, Resulting Numbers: [50, 62] Generated Node #0,4,2: 74:[50, 62] Operation: 71-9=62 Exploring Operation: 9+50=59, Resulting Numbers: [71, 59] Generated Node #0,4,3: 74:[71, 59] Operation: 9+50=59 Exploring Operation: 71-50=21, Resulting Numbers: [9, 21] Generated Node #0,4,4: 74:[9, 21] Operation: 71-50=21 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 74:[71, 41], Operations: ['28+43=71', '50-9=41'] Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,74 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,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,4,3 Current State: 74:[71, 59], Operations: ['28+43=71', '9+50=59'] Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,74 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,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,4,1 Current State: 74:[50, 80], Operations: ['28+43=71', '9+71=80'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,74 unequal: No Solution Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,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,4,4 Current State: 74:[9, 21], Operations: ['28+43=71', '71-50=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,74 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,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,4,2 Current State: 74:[50, 62], Operations: ['28+43=71', '71-9=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 74:[37, 7], Operations: ['28+9=37', '50-43=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,74 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[7, 37], Operations: ['50-43=7', '28+9=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,74 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3,4 Current State: 74:[41, 71], Operations: ['50-9=41', '28+43=71'] Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,74 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[28, 2], Operations: ['50-43=7', '9-7=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[9, 4], Operations: ['50-43=7', '28/7=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[9, 35], Operations: ['50-43=7', '28+7=35'] Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,74 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[28, 2], Operations: ['50-9=41', '43-41=2'] Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,74 unequal: No Solution Moving to Node #0,3,2 Current State: 74:[43, 69], Operations: ['50-9=41', '28+41=69'] Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,74 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[43, 13], Operations: ['28+9=37', '50-37=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,74 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[50, 6], Operations: ['28+9=37', '43-37=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,74 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[43, 13], Operations: ['50-9=41', '41-28=13'] Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,74 unequal: No Solution Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[41, 15], Operations: ['50-9=41', '43-28=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,74 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[37, 93], Operations: ['28+9=37', '43+50=93'] Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,74 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,74 unequal: No Solution Moving to Node #0,1,3 Current State: 74:[50, 80], Operations: ['28+9=37', '43+37=80'] Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,74 unequal: No Solution Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,74 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[28, 63], Operations: ['50-43=7', '9*7=63'] Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,74 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,74 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 35, 15, 72, 33 ]
59
[ "35-15=20", "72-33=39", "20+39=59" ]
Current State: 59:[35, 15, 72, 33], Operations: [] Exploring Operation: 35-15=20, Resulting Numbers: [72, 33, 20] Generated Node #2: [72, 33, 20] from Operation: 35-15=20 Current State: 59:[72, 33, 20], Operations: ['35-15=20'] Exploring Operation: 72-33=39, Resulting Numbers: [20, 39] Generated Node #3: [20, 39] from Operation: 72-33=39 Current State: 59:[20, 39], Operations: ['35-15=20', '72-33=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[35, 15, 72, 33], Operations: [] Exploring Operation: 15+33=48, Resulting Numbers: [35, 72, 48] Generated Node #0,0: 59:[35, 72, 48] Operation: 15+33=48 Exploring Operation: 35+33=68, Resulting Numbers: [15, 72, 68] Generated Node #0,1: 59:[15, 72, 68] Operation: 35+33=68 Exploring Operation: 72-15=57, Resulting Numbers: [35, 33, 57] Generated Node #0,2: 59:[35, 33, 57] Operation: 72-15=57 Exploring Operation: 35+15=50, Resulting Numbers: [72, 33, 50] Generated Node #0,3: 59:[72, 33, 50] Operation: 35+15=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[35, 72, 48], Operations: ['15+33=48'] Exploring Operation: 35+48=83, Resulting Numbers: [72, 83] Generated Node #0,0,0: 59:[72, 83] Operation: 35+48=83 Exploring Operation: 48-35=13, Resulting Numbers: [72, 13] Generated Node #0,0,1: 59:[72, 13] Operation: 48-35=13 Exploring Operation: 72-35=37, Resulting Numbers: [48, 37] Generated Node #0,0,2: 59:[48, 37] Operation: 72-35=37 Exploring Operation: 35+72=107, Resulting Numbers: [48, 107] Generated Node #0,0,3: 59:[48, 107] Operation: 35+72=107 Moving to Node #0,0,2 Current State: 59:[48, 37], Operations: ['15+33=48', '72-35=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,59 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[72, 83], Operations: ['15+33=48', '35+48=83'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,59 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,59 unequal: No Solution Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[48, 107], Operations: ['15+33=48', '35+72=107'] Exploring Operation: 48+107=155, Resulting Numbers: [155] 155,59 unequal: No Solution Exploring Operation: 48*107=5136, Resulting Numbers: [5136] 5136,59 unequal: No Solution Exploring Operation: 107-48=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[35, 15, 72, 33], Operations: [] Exploring Operation: 15+33=48, Resulting Numbers: [35, 72, 48] Generated Node #0,0: 59:[35, 72, 48] Operation: 15+33=48 Moving to Node #0,0 Current State: 59:[35, 72, 48], Operations: ['15+33=48'] Exploring Operation: 35+72=107, Resulting Numbers: [48, 107] Generated Node #0,0,3: 59:[48, 107] Operation: 35+72=107 Moving to Node #0,0,3 Current State: 59:[48, 107], Operations: ['15+33=48', '35+72=107'] Exploring Operation: 107-48=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 22, 6, 84, 36 ]
84
[ "22*6=132", "84-36=48", "132-48=84" ]
Current State: 84:[22, 6, 84, 36], Operations: [] Exploring Operation: 22*6=132, Resulting Numbers: [84, 36, 132] Generated Node #2: [84, 36, 132] from Operation: 22*6=132 Current State: 84:[84, 36, 132], Operations: ['22*6=132'] Exploring Operation: 84-36=48, Resulting Numbers: [132, 48] Generated Node #3: [132, 48] from Operation: 84-36=48 Current State: 84:[132, 48], Operations: ['22*6=132', '84-36=48'] Exploring Operation: 132-48=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[22, 6, 84, 36], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [6, 84, 14] Generated Node #0,0: 84:[6, 84, 14] Operation: 36-22=14 Exploring Operation: 36/6=6, Resulting Numbers: [22, 84, 6] Generated Node #0,1: 84:[22, 84, 6] Operation: 36/6=6 Exploring Operation: 6+36=42, Resulting Numbers: [22, 84, 42] Generated Node #0,2: 84:[22, 84, 42] Operation: 6+36=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[6, 84, 14], Operations: ['36-22=14'] Exploring Operation: 84/6=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 84:[14, 14] Operation: 84/6=14 Exploring Operation: 6*14=84, Resulting Numbers: [84, 84] Generated Node #0,0,1: 84:[84, 84] Operation: 6*14=84 Exploring Operation: 84/14=6, Resulting Numbers: [6, 6] Generated Node #0,0,2: 84:[6, 6] Operation: 84/14=6 Moving to Node #0,0,0 Current State: 84:[14, 14], Operations: ['36-22=14', '84/6=14'] Exploring Operation: 14/14=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 14-14=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[84, 84], Operations: ['36-22=14', '6*14=84'] Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[6, 6], Operations: ['36-22=14', '84/14=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,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:[22, 84, 6], Operations: ['36/6=6'] Exploring Operation: 22+6=28, Resulting Numbers: [84, 28] Generated Node #0,1,0: 84:[84, 28] Operation: 22+6=28 Exploring Operation: 22-6=16, Resulting Numbers: [84, 16] Generated Node #0,1,1: 84:[84, 16] Operation: 22-6=16 Exploring Operation: 84/6=14, Resulting Numbers: [22, 14] Generated Node #0,1,2: 84:[22, 14] Operation: 84/6=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[84, 28], Operations: ['36/6=6', '22+6=28'] Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,84 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,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,1,2 Current State: 84:[22, 14], Operations: ['36/6=6', '84/6=14'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,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,1,1 Current State: 84:[84, 16], Operations: ['36/6=6', '22-6=16'] Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,84 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,84 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[22, 84, 42], Operations: ['6+36=42'] Exploring Operation: 42-22=20, Resulting Numbers: [84, 20] Generated Node #0,2,0: 84:[84, 20] Operation: 42-22=20 Exploring Operation: 84-42=42, Resulting Numbers: [22, 42] Generated Node #0,2,1: 84:[22, 42] Operation: 84-42=42 Exploring Operation: 84/42=2, Resulting Numbers: [22, 2] Generated Node #0,2,2: 84:[22, 2] Operation: 84/42=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[84, 20], Operations: ['6+36=42', '42-22=20'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 84+20=104, Resulting Numbers: [104] 104,84 unequal: No Solution Exploring Operation: 84*20=1680, Resulting Numbers: [1680] 1680,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,2,1 Current State: 84:[22, 42], Operations: ['6+36=42', '84-42=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,84 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,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,2,2 Current State: 84:[22, 2], Operations: ['6+36=42', '84/42=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,84 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,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
[ 85, 33, 73, 59 ]
71
[ "85+33=118", "118/59=2", "73-2=71" ]
Current State: 71:[85, 33, 73, 59], Operations: [] Exploring Operation: 85+33=118, Resulting Numbers: [73, 59, 118] Generated Node #2: [73, 59, 118] from Operation: 85+33=118 Current State: 71:[73, 59, 118], Operations: ['85+33=118'] Exploring Operation: 118/59=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 118/59=2 Current State: 71:[73, 2], Operations: ['85+33=118', '118/59=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[85, 33, 73, 59], Operations: [] Exploring Operation: 33+59=92, Resulting Numbers: [85, 73, 92] Generated Node #0,0: 71:[85, 73, 92] Operation: 33+59=92 Exploring Operation: 73-33=40, Resulting Numbers: [85, 59, 40] Generated Node #0,1: 71:[85, 59, 40] Operation: 73-33=40 Exploring Operation: 85+33=118, Resulting Numbers: [73, 59, 118] Generated Node #0,2: 71:[73, 59, 118] Operation: 85+33=118 Exploring Operation: 85-33=52, Resulting Numbers: [73, 59, 52] Generated Node #0,3: 71:[73, 59, 52] Operation: 85-33=52 Exploring Operation: 33+73=106, Resulting Numbers: [85, 59, 106] Generated Node #0,4: 71:[85, 59, 106] Operation: 33+73=106 Moving to Node #0,3 Current State: 71:[73, 59, 52], Operations: ['85-33=52'] Exploring Operation: 59+52=111, Resulting Numbers: [73, 111] Generated Node #0,3,0: 71:[73, 111] Operation: 59+52=111 Exploring Operation: 59-52=7, Resulting Numbers: [73, 7] Generated Node #0,3,1: 71:[73, 7] Operation: 59-52=7 Exploring Operation: 73+52=125, Resulting Numbers: [59, 125] Generated Node #0,3,2: 71:[59, 125] Operation: 73+52=125 Exploring Operation: 73-52=21, Resulting Numbers: [59, 21] Generated Node #0,3,3: 71:[59, 21] Operation: 73-52=21 Exploring Operation: 73-59=14, Resulting Numbers: [52, 14] Generated Node #0,3,4: 71:[52, 14] Operation: 73-59=14 Moving to Node #0,0 Current State: 71:[85, 73, 92], Operations: ['33+59=92'] Exploring Operation: 85+92=177, Resulting Numbers: [73, 177] Generated Node #0,0,0: 71:[73, 177] Operation: 85+92=177 Exploring Operation: 85+73=158, Resulting Numbers: [92, 158] Generated Node #0,0,1: 71:[92, 158] Operation: 85+73=158 Exploring Operation: 92-85=7, Resulting Numbers: [73, 7] Generated Node #0,0,2: 71:[73, 7] Operation: 92-85=7 Exploring Operation: 92-73=19, Resulting Numbers: [85, 19] Generated Node #0,0,3: 71:[85, 19] Operation: 92-73=19 Exploring Operation: 85-73=12, Resulting Numbers: [92, 12] Generated Node #0,0,4: 71:[92, 12] Operation: 85-73=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[73, 7], Operations: ['33+59=92', '92-85=7'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,71 unequal: No Solution No 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: 71:[85, 19], Operations: ['33+59=92', '92-73=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,71 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,71 unequal: No Solution No 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: 71:[92, 12], Operations: ['33+59=92', '85-73=12'] Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,71 unequal: No Solution No 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: 71:[73, 177], Operations: ['33+59=92', '85+92=177'] Exploring Operation: 73*177=12921, Resulting Numbers: [12921] 12921,71 unequal: No Solution Exploring Operation: 177-73=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 73+177=250, Resulting Numbers: [250] 250,71 unequal: No Solution No 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: 71:[92, 158], Operations: ['33+59=92', '85+73=158'] Exploring Operation: 158-92=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 92+158=250, Resulting Numbers: [250] 250,71 unequal: No Solution Exploring Operation: 92*158=14536, Resulting Numbers: [14536] 14536,71 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: 71:[85, 59, 40], Operations: ['73-33=40'] Exploring Operation: 85-59=26, Resulting Numbers: [40, 26] Generated Node #0,1,0: 71:[40, 26] Operation: 85-59=26 Exploring Operation: 85-40=45, Resulting Numbers: [59, 45] Generated Node #0,1,1: 71:[59, 45] Operation: 85-40=45 Exploring Operation: 59+40=99, Resulting Numbers: [85, 99] Generated Node #0,1,2: 71:[85, 99] Operation: 59+40=99 Exploring Operation: 59-40=19, Resulting Numbers: [85, 19] Generated Node #0,1,3: 71:[85, 19] Operation: 59-40=19 Exploring Operation: 85+40=125, Resulting Numbers: [59, 125] Generated Node #0,1,4: 71:[59, 125] Operation: 85+40=125 Moving to Node #0,2 Current State: 71:[73, 59, 118], Operations: ['85+33=118'] Exploring Operation: 118-73=45, Resulting Numbers: [59, 45] Generated Node #0,2,0: 71:[59, 45] Operation: 118-73=45 Exploring Operation: 73-59=14, Resulting Numbers: [118, 14] Generated Node #0,2,1: 71:[118, 14] Operation: 73-59=14 Exploring Operation: 118-59=59, Resulting Numbers: [73, 59] Generated Node #0,2,2: 71:[73, 59] Operation: 118-59=59 Exploring Operation: 73+59=132, Resulting Numbers: [118, 132] Generated Node #0,2,3: 71:[118, 132] Operation: 73+59=132 Exploring Operation: 118/59=2, Resulting Numbers: [73, 2] Generated Node #0,2,4: 71:[73, 2] Operation: 118/59=2 Moving to Node #0,4 Current State: 71:[85, 59, 106], Operations: ['33+73=106'] Exploring Operation: 106-59=47, Resulting Numbers: [85, 47] Generated Node #0,4,0: 71:[85, 47] Operation: 106-59=47 Exploring Operation: 85-59=26, Resulting Numbers: [106, 26] Generated Node #0,4,1: 71:[106, 26] Operation: 85-59=26 Exploring Operation: 106-85=21, Resulting Numbers: [59, 21] Generated Node #0,4,2: 71:[59, 21] Operation: 106-85=21 Exploring Operation: 59+106=165, Resulting Numbers: [85, 165] Generated Node #0,4,3: 71:[85, 165] Operation: 59+106=165 Exploring Operation: 85+59=144, Resulting Numbers: [106, 144] Generated Node #0,4,4: 71:[106, 144] Operation: 85+59=144 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[85, 47], Operations: ['33+73=106', '106-59=47'] Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,71 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,71 unequal: No Solution No 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: 71:[59, 21], Operations: ['33+73=106', '106-85=21'] Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,71 unequal: No Solution No 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: 71:[106, 26], Operations: ['33+73=106', '85-59=26'] Exploring Operation: 106+26=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 106-26=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 106*26=2756, Resulting Numbers: [2756] 2756,71 unequal: No Solution No 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: 71:[85, 165], Operations: ['33+73=106', '59+106=165'] Exploring Operation: 165-85=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 85*165=14025, Resulting Numbers: [14025] 14025,71 unequal: No Solution Exploring Operation: 85+165=250, Resulting Numbers: [250] 250,71 unequal: No Solution No 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: 71:[106, 144], Operations: ['33+73=106', '85+59=144'] Exploring Operation: 106*144=15264, Resulting Numbers: [15264] 15264,71 unequal: No Solution Exploring Operation: 144-106=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 106+144=250, Resulting Numbers: [250] 250,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 71:[73, 59], Operations: ['85+33=118', '118-59=59'] Exploring Operation: 73+59=132, Resulting Numbers: [132] 132,71 unequal: No Solution Exploring Operation: 73*59=4307, Resulting Numbers: [4307] 4307,71 unequal: No Solution Exploring Operation: 73-59=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[59, 45], Operations: ['85+33=118', '118-73=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[59, 45], Operations: ['73-33=40', '85-40=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,71 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[85, 99], Operations: ['73-33=40', '59+40=99'] Exploring Operation: 85+99=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 85*99=8415, Resulting Numbers: [8415] 8415,71 unequal: No Solution Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[73, 111], Operations: ['85-33=52', '59+52=111'] Exploring Operation: 73*111=8103, Resulting Numbers: [8103] 8103,71 unequal: No Solution Exploring Operation: 73+111=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 111-73=38, Resulting Numbers: [38] 38,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[59, 21], Operations: ['85-33=52', '73-52=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,71 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[73, 7], Operations: ['85-33=52', '59-52=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,71 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,71 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[59, 125], Operations: ['85-33=52', '73+52=125'] Exploring Operation: 125-59=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 59*125=7375, Resulting Numbers: [7375] 7375,71 unequal: No Solution Exploring Operation: 59+125=184, Resulting Numbers: [184] 184,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[59, 125], Operations: ['73-33=40', '85+40=125'] Exploring Operation: 59*125=7375, Resulting Numbers: [7375] 7375,71 unequal: No Solution Exploring Operation: 59+125=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 125-59=66, Resulting Numbers: [66] 66,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[85, 19], Operations: ['73-33=40', '59-40=19'] Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,71 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,71 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[73, 2], Operations: ['85+33=118', '118/59=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[85, 33, 73, 59], Operations: [] Exploring Operation: 85+33=118, Resulting Numbers: [73, 59, 118] Generated Node #0,2: 71:[73, 59, 118] Operation: 85+33=118 Moving to Node #0,2 Current State: 71:[73, 59, 118], Operations: ['85+33=118'] Exploring Operation: 118/59=2, Resulting Numbers: [73, 2] Generated Node #0,2,4: 71:[73, 2] Operation: 118/59=2 Moving to Node #0,2,4 Current State: 71:[73, 2], Operations: ['85+33=118', '118/59=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.917535
hs_5
mult_heuristic
[ 10, 76, 74, 71 ]
91
[ "76-74=2", "10*2=20", "71+20=91" ]
Current State: 91:[10, 76, 74, 71], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [10, 71, 2] Generated Node #2: [10, 71, 2] from Operation: 76-74=2 Current State: 91:[10, 71, 2], Operations: ['76-74=2'] Exploring Operation: 10*2=20, Resulting Numbers: [71, 20] Generated Node #3: [71, 20] from Operation: 10*2=20 Current State: 91:[71, 20], Operations: ['76-74=2', '10*2=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[10, 76, 74, 71], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [10, 76, 3] Generated Node #0,0: 91:[10, 76, 3] Operation: 74-71=3 Exploring Operation: 76-74=2, Resulting Numbers: [10, 71, 2] Generated Node #0,1: 91:[10, 71, 2] Operation: 76-74=2 Exploring Operation: 76-71=5, Resulting Numbers: [10, 74, 5] Generated Node #0,2: 91:[10, 74, 5] Operation: 76-71=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[10, 76, 3], Operations: ['74-71=3'] Exploring Operation: 10+76=86, Resulting Numbers: [3, 86] Generated Node #0,0,0: 91:[3, 86] Operation: 10+76=86 Exploring Operation: 10-3=7, Resulting Numbers: [76, 7] Generated Node #0,0,1: 91:[76, 7] Operation: 10-3=7 Exploring Operation: 10+3=13, Resulting Numbers: [76, 13] Generated Node #0,0,2: 91:[76, 13] Operation: 10+3=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[3, 86], Operations: ['74-71=3', '10+76=86'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,91 unequal: No Solution No 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: 91:[76, 7], Operations: ['74-71=3', '10-3=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,91 unequal: No Solution No 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: 91:[76, 13], Operations: ['74-71=3', '10+3=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,91 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,91 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: 91:[10, 74, 5], Operations: ['76-71=5'] Exploring Operation: 10+74=84, Resulting Numbers: [5, 84] Generated Node #0,2,0: 91:[5, 84] Operation: 10+74=84 Exploring Operation: 74+5=79, Resulting Numbers: [10, 79] Generated Node #0,2,1: 91:[10, 79] Operation: 74+5=79 Exploring Operation: 10+5=15, Resulting Numbers: [74, 15] Generated Node #0,2,2: 91:[74, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 91:[5, 84], Operations: ['76-71=5', '10+74=84'] Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,91 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,91 unequal: No Solution No 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: 91:[10, 79], Operations: ['76-71=5', '74+5=79'] Exploring Operation: 10*79=790, Resulting Numbers: [790] 790,91 unequal: No Solution Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,91 unequal: No Solution No 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: 91:[74, 15], Operations: ['76-71=5', '10+5=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,91 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,91 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: 91:[10, 71, 2], Operations: ['76-74=2'] Exploring Operation: 10+2=12, Resulting Numbers: [71, 12] Generated Node #0,1,0: 91:[71, 12] Operation: 10+2=12 Exploring Operation: 10+71=81, Resulting Numbers: [2, 81] Generated Node #0,1,1: 91:[2, 81] Operation: 10+71=81 Exploring Operation: 10-2=8, Resulting Numbers: [71, 8] Generated Node #0,1,2: 91:[71, 8] Operation: 10-2=8 Moving to Node #0,1,1 Current State: 91:[2, 81], Operations: ['76-74=2', '10+71=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,91 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[71, 12], Operations: ['76-74=2', '10+2=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,91 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,91 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[71, 8], Operations: ['76-74=2', '10-2=8'] Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,91 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,91 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,91 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
[ 12, 91, 67, 72 ]
98
[ "12+91=103", "72-67=5", "103-5=98" ]
Current State: 98:[12, 91, 67, 72], Operations: [] Exploring Operation: 12+91=103, Resulting Numbers: [67, 72, 103] Generated Node #2: [67, 72, 103] from Operation: 12+91=103 Current State: 98:[67, 72, 103], Operations: ['12+91=103'] Exploring Operation: 72-67=5, Resulting Numbers: [103, 5] Generated Node #3: [103, 5] from Operation: 72-67=5 Current State: 98:[103, 5], Operations: ['12+91=103', '72-67=5'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[12, 91, 67, 72], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [12, 91, 5] Generated Node #0,0: 98:[12, 91, 5] Operation: 72-67=5 Exploring Operation: 72/12=6, Resulting Numbers: [91, 67, 6] Generated Node #0,1: 98:[91, 67, 6] Operation: 72/12=6 Exploring Operation: 91-72=19, Resulting Numbers: [12, 67, 19] Generated Node #0,2: 98:[12, 67, 19] Operation: 91-72=19 Moving to Node #0,0 Current State: 98:[12, 91, 5], Operations: ['72-67=5'] Exploring Operation: 91+5=96, Resulting Numbers: [12, 96] Generated Node #0,0,0: 98:[12, 96] Operation: 91+5=96 Exploring Operation: 12-5=7, Resulting Numbers: [91, 7] Generated Node #0,0,1: 98:[91, 7] Operation: 12-5=7 Exploring Operation: 12+91=103, Resulting Numbers: [5, 103] Generated Node #0,0,2: 98:[5, 103] Operation: 12+91=103 Moving to Node #0,2 Current State: 98:[12, 67, 19], Operations: ['91-72=19'] Exploring Operation: 67-19=48, Resulting Numbers: [12, 48] Generated Node #0,2,0: 98:[12, 48] Operation: 67-19=48 Exploring Operation: 67-12=55, Resulting Numbers: [19, 55] Generated Node #0,2,1: 98:[19, 55] Operation: 67-12=55 Exploring Operation: 67+19=86, Resulting Numbers: [12, 86] Generated Node #0,2,2: 98:[12, 86] Operation: 67+19=86 Moving to Node #0,1 Current State: 98:[91, 67, 6], Operations: ['72/12=6'] Exploring Operation: 91-67=24, Resulting Numbers: [6, 24] Generated Node #0,1,0: 98:[6, 24] Operation: 91-67=24 Exploring Operation: 67-6=61, Resulting Numbers: [91, 61] Generated Node #0,1,1: 98:[91, 61] Operation: 67-6=61 Exploring Operation: 91+6=97, Resulting Numbers: [67, 97] Generated Node #0,1,2: 98:[67, 97] Operation: 91+6=97 Moving to Node #0,2,0 Current State: 98:[12, 48], Operations: ['91-72=19', '67-19=48'] Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,98 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[12, 96], Operations: ['72-67=5', '91+5=96'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 12+96=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[5, 103], Operations: ['72-67=5', '12+91=103'] Exploring Operation: 5*103=515, Resulting Numbers: [515] 515,98 unequal: No Solution Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[12, 91, 67, 72], Operations: [] Exploring Operation: 72-67=5, Resulting Numbers: [12, 91, 5] Generated Node #0,0: 98:[12, 91, 5] Operation: 72-67=5 Moving to Node #0,0 Current State: 98:[12, 91, 5], Operations: ['72-67=5'] Exploring Operation: 12+91=103, Resulting Numbers: [5, 103] Generated Node #0,0,2: 98:[5, 103] Operation: 12+91=103 Moving to Node #0,0,2 Current State: 98:[5, 103], Operations: ['72-67=5', '12+91=103'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.979167
hs_3
sum_heuristic
[ 75, 85, 58, 77 ]
29
[ "85-75=10", "77-58=19", "10+19=29" ]
Current State: 29:[75, 85, 58, 77], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [58, 77, 10] Generated Node #2: [58, 77, 10] from Operation: 85-75=10 Current State: 29:[58, 77, 10], Operations: ['85-75=10'] Exploring Operation: 77-58=19, Resulting Numbers: [10, 19] Generated Node #3: [10, 19] from Operation: 77-58=19 Current State: 29:[10, 19], Operations: ['85-75=10', '77-58=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[75, 85, 58, 77], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [75, 77, 27] Generated Node #0,0: 29:[75, 77, 27] Operation: 85-58=27 Exploring Operation: 77-58=19, Resulting Numbers: [75, 85, 19] Generated Node #0,1: 29:[75, 85, 19] Operation: 77-58=19 Exploring Operation: 77-75=2, Resulting Numbers: [85, 58, 2] Generated Node #0,2: 29:[85, 58, 2] Operation: 77-75=2 Exploring Operation: 85-75=10, Resulting Numbers: [58, 77, 10] Generated Node #0,3: 29:[58, 77, 10] Operation: 85-75=10 Exploring Operation: 85-77=8, Resulting Numbers: [75, 58, 8] Generated Node #0,4: 29:[75, 58, 8] Operation: 85-77=8 Moving to Node #0,0 Current State: 29:[75, 77, 27], Operations: ['85-58=27'] Exploring Operation: 75-27=48, Resulting Numbers: [77, 48] Generated Node #0,0,0: 29:[77, 48] Operation: 75-27=48 Exploring Operation: 77-75=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 29:[27, 2] Operation: 77-75=2 Exploring Operation: 77-27=50, Resulting Numbers: [75, 50] Generated Node #0,0,2: 29:[75, 50] Operation: 77-27=50 Exploring Operation: 77+27=104, Resulting Numbers: [75, 104] Generated Node #0,0,3: 29:[75, 104] Operation: 77+27=104 Exploring Operation: 75+27=102, Resulting Numbers: [77, 102] Generated Node #0,0,4: 29:[77, 102] Operation: 75+27=102 Moving to Node #0,4 Current State: 29:[75, 58, 8], Operations: ['85-77=8'] Exploring Operation: 58-8=50, Resulting Numbers: [75, 50] Generated Node #0,4,0: 29:[75, 50] Operation: 58-8=50 Exploring Operation: 75+8=83, Resulting Numbers: [58, 83] Generated Node #0,4,1: 29:[58, 83] Operation: 75+8=83 Exploring Operation: 58+8=66, Resulting Numbers: [75, 66] Generated Node #0,4,2: 29:[75, 66] Operation: 58+8=66 Exploring Operation: 75-8=67, Resulting Numbers: [58, 67] Generated Node #0,4,3: 29:[58, 67] Operation: 75-8=67 Exploring Operation: 75-58=17, Resulting Numbers: [8, 17] Generated Node #0,4,4: 29:[8, 17] Operation: 75-58=17 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[8, 17], Operations: ['85-77=8', '75-58=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,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,4,0 Current State: 29:[75, 50], Operations: ['85-77=8', '58-8=50'] Exploring Operation: 75*50=3750, Resulting Numbers: [3750] 3750,29 unequal: No Solution Exploring Operation: 75+50=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 75-50=25, Resulting Numbers: [25] 25,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,4,3 Current State: 29:[58, 67], Operations: ['85-77=8', '75-8=67'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,29 unequal: No Solution Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,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,4,1 Current State: 29:[58, 83], Operations: ['85-77=8', '75+8=83'] Exploring Operation: 58+83=141, Resulting Numbers: [141] 141,29 unequal: No Solution Exploring Operation: 83-58=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 58*83=4814, Resulting Numbers: [4814] 4814,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,4,2 Current State: 29:[75, 66], Operations: ['85-77=8', '58+8=66'] Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,29 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,29 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,29 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: 29:[58, 77, 10], Operations: ['85-75=10'] Exploring Operation: 77-10=67, Resulting Numbers: [58, 67] Generated Node #0,3,0: 29:[58, 67] Operation: 77-10=67 Exploring Operation: 77-58=19, Resulting Numbers: [10, 19] Generated Node #0,3,1: 29:[10, 19] Operation: 77-58=19 Exploring Operation: 77+10=87, Resulting Numbers: [58, 87] Generated Node #0,3,2: 29:[58, 87] Operation: 77+10=87 Exploring Operation: 58-10=48, Resulting Numbers: [77, 48] Generated Node #0,3,3: 29:[77, 48] Operation: 58-10=48 Exploring Operation: 58+10=68, Resulting Numbers: [77, 68] Generated Node #0,3,4: 29:[77, 68] Operation: 58+10=68 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[10, 19], Operations: ['85-75=10', '77-58=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,29 unequal: No Solution Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[75, 85, 58, 77], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [58, 77, 10] Generated Node #0,3: 29:[58, 77, 10] Operation: 85-75=10 Moving to Node #0,3 Current State: 29:[58, 77, 10], Operations: ['85-75=10'] Exploring Operation: 77-58=19, Resulting Numbers: [10, 19] Generated Node #0,3,1: 29:[10, 19] Operation: 77-58=19 Moving to Node #0,3,1 Current State: 29:[10, 19], Operations: ['85-75=10', '77-58=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 66, 30, 33, 38 ]
23
[ "66/33=2", "30/2=15", "38-15=23" ]
Current State: 23:[66, 30, 33, 38], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [30, 38, 2] Generated Node #2: [30, 38, 2] from Operation: 66/33=2 Current State: 23:[30, 38, 2], Operations: ['66/33=2'] Exploring Operation: 30/2=15, Resulting Numbers: [38, 15] Generated Node #3: [38, 15] from Operation: 30/2=15 Current State: 23:[38, 15], Operations: ['66/33=2', '30/2=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[66, 30, 33, 38], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [30, 33, 28] Generated Node #0,0: 23:[30, 33, 28] Operation: 66-38=28 Moving to Node #0,0 Current State: 23:[30, 33, 28], Operations: ['66-38=28'] Exploring Operation: 33-30=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 23:[28, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[28, 3], Operations: ['66-38=28', '33-30=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,23 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
[ 75, 34, 67, 53 ]
79
[ "75-34=41", "67+53=120", "120-41=79" ]
Current State: 79:[75, 34, 67, 53], Operations: [] Exploring Operation: 75-34=41, Resulting Numbers: [67, 53, 41] Generated Node #2: [67, 53, 41] from Operation: 75-34=41 Current State: 79:[67, 53, 41], Operations: ['75-34=41'] Exploring Operation: 67+53=120, Resulting Numbers: [41, 120] Generated Node #3: [41, 120] from Operation: 67+53=120 Current State: 79:[41, 120], Operations: ['75-34=41', '67+53=120'] Exploring Operation: 120-41=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[75, 34, 67, 53], Operations: [] Exploring Operation: 34+67=101, Resulting Numbers: [75, 53, 101] Generated Node #0,0: 79:[75, 53, 101] Operation: 34+67=101 Exploring Operation: 34+53=87, Resulting Numbers: [75, 67, 87] Generated Node #0,1: 79:[75, 67, 87] Operation: 34+53=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[75, 67, 87], Operations: ['34+53=87'] Exploring Operation: 75+67=142, Resulting Numbers: [87, 142] Generated Node #0,1,0: 79:[87, 142] Operation: 75+67=142 Exploring Operation: 87-67=20, Resulting Numbers: [75, 20] Generated Node #0,1,1: 79:[75, 20] Operation: 87-67=20 Moving to Node #0,1,1 Current State: 79:[75, 20], Operations: ['34+53=87', '87-67=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[87, 142], Operations: ['34+53=87', '75+67=142'] Exploring Operation: 87+142=229, Resulting Numbers: [229] 229,79 unequal: No Solution Exploring Operation: 142-87=55, Resulting Numbers: [55] 55,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[75, 53, 101], Operations: ['34+67=101'] Exploring Operation: 101-53=48, Resulting Numbers: [75, 48] Generated Node #0,0,0: 79:[75, 48] Operation: 101-53=48 Exploring Operation: 75+53=128, Resulting Numbers: [101, 128] Generated Node #0,0,1: 79:[101, 128] Operation: 75+53=128 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[75, 48], Operations: ['34+67=101', '101-53=48'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 75+48=123, Resulting Numbers: [123] 123,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[101, 128], Operations: ['34+67=101', '75+53=128'] Exploring Operation: 128-101=27, Resulting Numbers: [27] 27,79 unequal: No Solution Exploring Operation: 101+128=229, Resulting Numbers: [229] 229,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 58, 5, 33, 5 ]
90
[ "58+33=91", "5/5=1", "91-1=90" ]
Current State: 90:[58, 5, 33, 5], Operations: [] Exploring Operation: 58+33=91, Resulting Numbers: [5, 5, 91] Generated Node #2: [5, 5, 91] from Operation: 58+33=91 Current State: 90:[5, 5, 91], Operations: ['58+33=91'] Exploring Operation: 5/5=1, Resulting Numbers: [91, 1] Generated Node #3: [91, 1] from Operation: 5/5=1 Current State: 90:[91, 1], Operations: ['58+33=91', '5/5=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[58, 5, 33, 5], Operations: [] Exploring Operation: 58-5=53, Resulting Numbers: [33, 5, 53] Generated Node #0,0: 90:[33, 5, 53] Operation: 58-5=53 Exploring Operation: 58-33=25, Resulting Numbers: [5, 5, 25] Generated Node #0,1: 90:[5, 5, 25] Operation: 58-33=25 Exploring Operation: 58-5=53, Resulting Numbers: [5, 33, 53] Generated Node #0,2: 90:[5, 33, 53] Operation: 58-5=53 Exploring Operation: 58+33=91, Resulting Numbers: [5, 5, 91] Generated Node #0,3: 90:[5, 5, 91] Operation: 58+33=91 Moving to Node #0,3 Current State: 90:[5, 5, 91], Operations: ['58+33=91'] Exploring Operation: 91-5=86, Resulting Numbers: [5, 86] Generated Node #0,3,0: 90:[5, 86] Operation: 91-5=86 Exploring Operation: 5/5=1, Resulting Numbers: [91, 1] Generated Node #0,3,1: 90:[91, 1] Operation: 5/5=1 Exploring Operation: 5+5=10, Resulting Numbers: [91, 10] Generated Node #0,3,2: 90:[91, 10] Operation: 5+5=10 Exploring Operation: 5-5=0, Resulting Numbers: [91, 0] Generated Node #0,3,3: 90:[91, 0] Operation: 5-5=0 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[91, 10], Operations: ['58+33=91', '5+5=10'] Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,90 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[91, 1], Operations: ['58+33=91', '5/5=1'] Exploring Operation: 91+1=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[58, 5, 33, 5], Operations: [] Exploring Operation: 58+33=91, Resulting Numbers: [5, 5, 91] Generated Node #0,3: 90:[5, 5, 91] Operation: 58+33=91 Moving to Node #0,3 Current State: 90:[5, 5, 91], Operations: ['58+33=91'] Exploring Operation: 5/5=1, Resulting Numbers: [91, 1] Generated Node #0,3,1: 90:[91, 1] Operation: 5/5=1 Moving to Node #0,3,1 Current State: 90:[91, 1], Operations: ['58+33=91', '5/5=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic