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
[ 22, 2, 5, 58 ]
43
[ "22-2=20", "5+58=63", "63-20=43" ]
Current State: 43:[22, 2, 5, 58], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [5, 58, 20] Generated Node #2: [5, 58, 20] from Operation: 22-2=20 Current State: 43:[5, 58, 20], Operations: ['22-2=20'] Exploring Operation: 5+58=63, Resulting Numbers: [20, 63] Generated Node #3: [20, 63] from Operation: 5+58=63 Current State: 43:[20, 63], Operations: ['22-2=20', '5+58=63'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[22, 2, 5, 58], Operations: [] Exploring Operation: 22*2=44, Resulting Numbers: [5, 58, 44] Generated Node #0,0: 43:[5, 58, 44] Operation: 22*2=44 Moving to Node #0,0 Current State: 43:[5, 58, 44], Operations: ['22*2=44'] Exploring Operation: 58-5=53, Resulting Numbers: [44, 53] Generated Node #0,0,0: 43:[44, 53] Operation: 58-5=53 Moving to Node #0,0,0 Current State: 43:[44, 53], Operations: ['22*2=44', '58-5=53'] Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 13, 16, 70, 2 ]
28
[ "13*2=26", "70-16=54", "54-26=28" ]
Current State: 28:[13, 16, 70, 2], Operations: [] Exploring Operation: 13*2=26, Resulting Numbers: [16, 70, 26] Generated Node #2: [16, 70, 26] from Operation: 13*2=26 Current State: 28:[16, 70, 26], Operations: ['13*2=26'] Exploring Operation: 70-16=54, Resulting Numbers: [26, 54] Generated Node #3: [26, 54] from Operation: 70-16=54 Current State: 28:[26, 54], Operations: ['13*2=26', '70-16=54'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[13, 16, 70, 2], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [13, 2, 54] Generated Node #0,0: 28:[13, 2, 54] Operation: 70-16=54 Exploring Operation: 70-13=57, Resulting Numbers: [16, 2, 57] Generated Node #0,1: 28:[16, 2, 57] Operation: 70-13=57 Exploring Operation: 70/2=35, Resulting Numbers: [13, 16, 35] Generated Node #0,2: 28:[13, 16, 35] Operation: 70/2=35 Moving to Node #0,2 Current State: 28:[13, 16, 35], Operations: ['70/2=35'] Exploring Operation: 13+16=29, Resulting Numbers: [35, 29] Generated Node #0,2,0: 28:[35, 29] Operation: 13+16=29 Exploring Operation: 35-16=19, Resulting Numbers: [13, 19] Generated Node #0,2,1: 28:[13, 19] Operation: 35-16=19 Exploring Operation: 16-13=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 28:[35, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[13, 19], Operations: ['70/2=35', '35-16=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,28 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[35, 29], Operations: ['70/2=35', '13+16=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,28 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[35, 3], Operations: ['70/2=35', '16-13=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,28 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,28 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: 28:[13, 2, 54], Operations: ['70-16=54'] Exploring Operation: 54/2=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 28:[13, 27] Operation: 54/2=27 Exploring Operation: 54-13=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 28:[2, 41] Operation: 54-13=41 Exploring Operation: 54-2=52, Resulting Numbers: [13, 52] Generated Node #0,0,2: 28:[13, 52] Operation: 54-2=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[13, 27], Operations: ['70-16=54', '54/2=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,28 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[2, 41], Operations: ['70-16=54', '54-13=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[13, 52], Operations: ['70-16=54', '54-2=52'] Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,28 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,28 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: 28:[16, 2, 57], Operations: ['70-13=57'] Exploring Operation: 16-2=14, Resulting Numbers: [57, 14] Generated Node #0,1,0: 28:[57, 14] Operation: 16-2=14 Exploring Operation: 57-16=41, Resulting Numbers: [2, 41] Generated Node #0,1,1: 28:[2, 41] Operation: 57-16=41 Exploring Operation: 57-2=55, Resulting Numbers: [16, 55] Generated Node #0,1,2: 28:[16, 55] Operation: 57-2=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[2, 41], Operations: ['70-13=57', '57-16=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[57, 14], Operations: ['70-13=57', '16-2=14'] Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,28 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[16, 55], Operations: ['70-13=57', '57-2=55'] Exploring Operation: 16+55=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 16*55=880, Resulting Numbers: [880] 880,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 95, 3, 22, 75 ]
48
[ "95-22=73", "75/3=25", "73-25=48" ]
Current State: 48:[95, 3, 22, 75], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [3, 75, 73] Generated Node #2: [3, 75, 73] from Operation: 95-22=73 Current State: 48:[3, 75, 73], Operations: ['95-22=73'] Exploring Operation: 75/3=25, Resulting Numbers: [73, 25] Generated Node #3: [73, 25] from Operation: 75/3=25 Current State: 48:[73, 25], Operations: ['95-22=73', '75/3=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[95, 3, 22, 75], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [95, 22, 25] Generated Node #0,0: 48:[95, 22, 25] Operation: 75/3=25 Exploring Operation: 75-22=53, Resulting Numbers: [95, 3, 53] Generated Node #0,1: 48:[95, 3, 53] Operation: 75-22=53 Exploring Operation: 95-75=20, Resulting Numbers: [3, 22, 20] Generated Node #0,2: 48:[3, 22, 20] Operation: 95-75=20 Exploring Operation: 95-22=73, Resulting Numbers: [3, 75, 73] Generated Node #0,3: 48:[3, 75, 73] Operation: 95-22=73 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[3, 22, 20], Operations: ['95-75=20'] Exploring Operation: 3+20=23, Resulting Numbers: [22, 23] Generated Node #0,2,0: 48:[22, 23] Operation: 3+20=23 Exploring Operation: 20-3=17, Resulting Numbers: [22, 17] Generated Node #0,2,1: 48:[22, 17] Operation: 20-3=17 Exploring Operation: 22-20=2, Resulting Numbers: [3, 2] Generated Node #0,2,2: 48:[3, 2] Operation: 22-20=2 Exploring Operation: 3+22=25, Resulting Numbers: [20, 25] Generated Node #0,2,3: 48:[20, 25] Operation: 3+22=25 Moving to Node #0,2,2 Current State: 48:[3, 2], Operations: ['95-75=20', '22-20=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[22, 17], Operations: ['95-75=20', '20-3=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,48 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,48 unequal: No Solution Moving to Node #0,2,0 Current State: 48:[22, 23], Operations: ['95-75=20', '3+20=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,48 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,48 unequal: No Solution Moving to Node #0,2,3 Current State: 48:[20, 25], Operations: ['95-75=20', '3+22=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,48 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[95, 22, 25], Operations: ['75/3=25'] Exploring Operation: 95-25=70, Resulting Numbers: [22, 70] Generated Node #0,0,0: 48:[22, 70] Operation: 95-25=70 Exploring Operation: 22+25=47, Resulting Numbers: [95, 47] Generated Node #0,0,1: 48:[95, 47] Operation: 22+25=47 Exploring Operation: 25-22=3, Resulting Numbers: [95, 3] Generated Node #0,0,2: 48:[95, 3] Operation: 25-22=3 Exploring Operation: 95-22=73, Resulting Numbers: [25, 73] Generated Node #0,0,3: 48:[25, 73] Operation: 95-22=73 Moving to Node #0,0,0 Current State: 48:[22, 70], Operations: ['75/3=25', '95-25=70'] Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,48 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[95, 3, 22, 75], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [95, 22, 25] Generated Node #0,0: 48:[95, 22, 25] Operation: 75/3=25 Moving to Node #0,0 Current State: 48:[95, 22, 25], Operations: ['75/3=25'] Exploring Operation: 95-25=70, Resulting Numbers: [22, 70] Generated Node #0,0,0: 48:[22, 70] Operation: 95-25=70 Moving to Node #0,0,0 Current State: 48:[22, 70], Operations: ['75/3=25', '95-25=70'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 71, 14, 67, 77 ]
75
[ "71+14=85", "77-67=10", "85-10=75" ]
Current State: 75:[71, 14, 67, 77], Operations: [] Exploring Operation: 71+14=85, Resulting Numbers: [67, 77, 85] Generated Node #2: [67, 77, 85] from Operation: 71+14=85 Current State: 75:[67, 77, 85], Operations: ['71+14=85'] Exploring Operation: 77-67=10, Resulting Numbers: [85, 10] Generated Node #3: [85, 10] from Operation: 77-67=10 Current State: 75:[85, 10], Operations: ['71+14=85', '77-67=10'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[71, 14, 67, 77], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [14, 67, 6] Generated Node #0,0: 75:[14, 67, 6] Operation: 77-71=6 Exploring Operation: 77-67=10, Resulting Numbers: [71, 14, 10] Generated Node #0,1: 75:[71, 14, 10] Operation: 77-67=10 Exploring Operation: 71-67=4, Resulting Numbers: [14, 77, 4] Generated Node #0,2: 75:[14, 77, 4] Operation: 71-67=4 Moving to Node #0,2 Current State: 75:[14, 77, 4], Operations: ['71-67=4'] Exploring Operation: 77-4=73, Resulting Numbers: [14, 73] Generated Node #0,2,0: 75:[14, 73] Operation: 77-4=73 Exploring Operation: 14-4=10, Resulting Numbers: [77, 10] Generated Node #0,2,1: 75:[77, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [77, 18] Generated Node #0,2,2: 75:[77, 18] Operation: 14+4=18 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[14, 73], Operations: ['71-67=4', '77-4=73'] Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,75 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[77, 18], Operations: ['71-67=4', '14+4=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 77*18=1386, Resulting Numbers: [1386] 1386,75 unequal: No Solution Exploring Operation: 77+18=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[77, 10], Operations: ['71-67=4', '14-4=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,75 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: 75:[14, 67, 6], Operations: ['77-71=6'] Exploring Operation: 14+67=81, Resulting Numbers: [6, 81] Generated Node #0,0,0: 75:[6, 81] Operation: 14+67=81 Exploring Operation: 67+6=73, Resulting Numbers: [14, 73] Generated Node #0,0,1: 75:[14, 73] Operation: 67+6=73 Exploring Operation: 14-6=8, Resulting Numbers: [67, 8] Generated Node #0,0,2: 75:[67, 8] Operation: 14-6=8 Moving to Node #0,1 Current State: 75:[71, 14, 10], Operations: ['77-67=10'] Exploring Operation: 14+10=24, Resulting Numbers: [71, 24] Generated Node #0,1,0: 75:[71, 24] Operation: 14+10=24 Exploring Operation: 71+10=81, Resulting Numbers: [14, 81] Generated Node #0,1,1: 75:[14, 81] Operation: 71+10=81 Exploring Operation: 14-10=4, Resulting Numbers: [71, 4] Generated Node #0,1,2: 75:[71, 4] Operation: 14-10=4 Moving to Node #0,0,1 Current State: 75:[14, 73], Operations: ['77-71=6', '67+6=73'] Exploring Operation: 14+73=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 14*73=1022, Resulting Numbers: [1022] 1022,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[71, 24], Operations: ['77-67=10', '14+10=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,75 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[71, 4], Operations: ['77-67=10', '14-10=4'] Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,75 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[71, 14, 67, 77], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [71, 14, 10] Generated Node #0,1: 75:[71, 14, 10] Operation: 77-67=10 Moving to Node #0,1 Current State: 75:[71, 14, 10], Operations: ['77-67=10'] Exploring Operation: 14-10=4, Resulting Numbers: [71, 4] Generated Node #0,1,2: 75:[71, 4] Operation: 14-10=4 Moving to Node #0,1,2 Current State: 75:[71, 4], Operations: ['77-67=10', '14-10=4'] Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 90, 35, 33, 28 ]
25
[ "90+35=125", "33-28=5", "125/5=25" ]
Current State: 25:[90, 35, 33, 28], Operations: [] Exploring Operation: 90+35=125, Resulting Numbers: [33, 28, 125] Generated Node #2: [33, 28, 125] from Operation: 90+35=125 Current State: 25:[33, 28, 125], Operations: ['90+35=125'] Exploring Operation: 33-28=5, Resulting Numbers: [125, 5] Generated Node #3: [125, 5] from Operation: 33-28=5 Current State: 25:[125, 5], Operations: ['90+35=125', '33-28=5'] Exploring Operation: 125/5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[90, 35, 33, 28], Operations: [] Exploring Operation: 90-33=57, Resulting Numbers: [35, 28, 57] Generated Node #0,0: 25:[35, 28, 57] Operation: 90-33=57 Exploring Operation: 90-28=62, Resulting Numbers: [35, 33, 62] Generated Node #0,1: 25:[35, 33, 62] Operation: 90-28=62 Exploring Operation: 35-33=2, Resulting Numbers: [90, 28, 2] Generated Node #0,2: 25:[90, 28, 2] Operation: 35-33=2 Exploring Operation: 90-35=55, Resulting Numbers: [33, 28, 55] Generated Node #0,3: 25:[33, 28, 55] Operation: 90-35=55 Moving to Node #0,3 Current State: 25:[33, 28, 55], Operations: ['90-35=55'] Exploring Operation: 33-28=5, Resulting Numbers: [55, 5] Generated Node #0,3,0: 25:[55, 5] Operation: 33-28=5 Exploring Operation: 55-28=27, Resulting Numbers: [33, 27] Generated Node #0,3,1: 25:[33, 27] Operation: 55-28=27 Exploring Operation: 55-33=22, Resulting Numbers: [28, 22] Generated Node #0,3,2: 25:[28, 22] Operation: 55-33=22 Exploring Operation: 33+28=61, Resulting Numbers: [55, 61] Generated Node #0,3,3: 25:[55, 61] Operation: 33+28=61 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[28, 22], Operations: ['90-35=55', '55-33=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,25 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[33, 27], Operations: ['90-35=55', '55-28=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,25 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[55, 5], Operations: ['90-35=55', '33-28=5'] Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[55, 61], Operations: ['90-35=55', '33+28=61'] Exploring Operation: 55+61=116, Resulting Numbers: [116] 116,25 unequal: No Solution Exploring Operation: 55*61=3355, Resulting Numbers: [3355] 3355,25 unequal: No Solution Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,25 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: 25:[35, 28, 57], Operations: ['90-33=57'] Exploring Operation: 35-28=7, Resulting Numbers: [57, 7] Generated Node #0,0,0: 25:[57, 7] Operation: 35-28=7 Exploring Operation: 35+28=63, Resulting Numbers: [57, 63] Generated Node #0,0,1: 25:[57, 63] Operation: 35+28=63 Exploring Operation: 57-28=29, Resulting Numbers: [35, 29] Generated Node #0,0,2: 25:[35, 29] Operation: 57-28=29 Exploring Operation: 57-35=22, Resulting Numbers: [28, 22] Generated Node #0,0,3: 25:[28, 22] Operation: 57-35=22 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[28, 22], Operations: ['90-33=57', '57-35=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,25 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[35, 29], Operations: ['90-33=57', '57-28=29'] Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,25 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[57, 7], Operations: ['90-33=57', '35-28=7'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[57, 63], Operations: ['90-33=57', '35+28=63'] Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,25 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,25 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: 25:[35, 33, 62], Operations: ['90-28=62'] Exploring Operation: 35+33=68, Resulting Numbers: [62, 68] Generated Node #0,1,0: 25:[62, 68] Operation: 35+33=68 Exploring Operation: 62-33=29, Resulting Numbers: [35, 29] Generated Node #0,1,1: 25:[35, 29] Operation: 62-33=29 Exploring Operation: 35-33=2, Resulting Numbers: [62, 2] Generated Node #0,1,2: 25:[62, 2] Operation: 35-33=2 Exploring Operation: 62-35=27, Resulting Numbers: [33, 27] Generated Node #0,1,3: 25:[33, 27] Operation: 62-35=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[33, 27], Operations: ['90-28=62', '62-35=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,25 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[35, 29], Operations: ['90-28=62', '62-33=29'] Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,25 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[62, 2], Operations: ['90-28=62', '35-33=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[62, 68], Operations: ['90-28=62', '35+33=68'] Exploring Operation: 62*68=4216, Resulting Numbers: [4216] 4216,25 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 62+68=130, Resulting Numbers: [130] 130,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 25:[90, 28, 2], Operations: ['35-33=2'] Exploring Operation: 90-2=88, Resulting Numbers: [28, 88] Generated Node #0,2,0: 25:[28, 88] Operation: 90-2=88 Exploring Operation: 90-28=62, Resulting Numbers: [2, 62] Generated Node #0,2,1: 25:[2, 62] Operation: 90-28=62 Exploring Operation: 28-2=26, Resulting Numbers: [90, 26] Generated Node #0,2,2: 25:[90, 26] Operation: 28-2=26 Exploring Operation: 90/2=45, Resulting Numbers: [28, 45] Generated Node #0,2,3: 25:[28, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[28, 45], Operations: ['35-33=2', '90/2=45'] Exploring Operation: 28+45=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 28*45=1260, Resulting Numbers: [1260] 1260,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[2, 62], Operations: ['35-33=2', '90-28=62'] Exploring Operation: 2*62=124, Resulting Numbers: [124] 124,25 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[28, 88], Operations: ['35-33=2', '90-2=88'] Exploring Operation: 28+88=116, Resulting Numbers: [116] 116,25 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 28*88=2464, Resulting Numbers: [2464] 2464,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[90, 26], Operations: ['35-33=2', '28-2=26'] Exploring Operation: 90*26=2340, Resulting Numbers: [2340] 2340,25 unequal: No Solution Exploring Operation: 90+26=116, Resulting Numbers: [116] 116,25 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 62, 31, 23, 60 ]
16
[ "62-60=2", "31-23=8", "2*8=16" ]
Current State: 16:[62, 31, 23, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [31, 23, 2] Generated Node #2: [31, 23, 2] from Operation: 62-60=2 Current State: 16:[31, 23, 2], Operations: ['62-60=2'] Exploring Operation: 31-23=8, Resulting Numbers: [2, 8] Generated Node #3: [2, 8] from Operation: 31-23=8 Current State: 16:[2, 8], Operations: ['62-60=2', '31-23=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[62, 31, 23, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [31, 23, 2] Generated Node #0,0: 16:[31, 23, 2] Operation: 62-60=2 Moving to Node #0,0 Current State: 16:[31, 23, 2], Operations: ['62-60=2'] Exploring Operation: 31-23=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 16:[2, 8] Operation: 31-23=8 Moving to Node #0,0,0 Current State: 16:[2, 8], Operations: ['62-60=2', '31-23=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[62, 31, 23, 60], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [31, 23, 2] Generated Node #0,0: 16:[31, 23, 2] Operation: 62-60=2 Moving to Node #0,0 Current State: 16:[31, 23, 2], Operations: ['62-60=2'] Exploring Operation: 31-23=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 16:[2, 8] Operation: 31-23=8 Moving to Node #0,0,0 Current State: 16:[2, 8], Operations: ['62-60=2', '31-23=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 53, 30, 89, 99 ]
73
[ "53+30=83", "99-89=10", "83-10=73" ]
Current State: 73:[53, 30, 89, 99], Operations: [] Exploring Operation: 53+30=83, Resulting Numbers: [89, 99, 83] Generated Node #2: [89, 99, 83] from Operation: 53+30=83 Current State: 73:[89, 99, 83], Operations: ['53+30=83'] Exploring Operation: 99-89=10, Resulting Numbers: [83, 10] Generated Node #3: [83, 10] from Operation: 99-89=10 Current State: 73:[83, 10], Operations: ['53+30=83', '99-89=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[53, 30, 89, 99], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [53, 89, 69] Generated Node #0,0: 73:[53, 89, 69] Operation: 99-30=69 Exploring Operation: 89-30=59, Resulting Numbers: [53, 99, 59] Generated Node #0,1: 73:[53, 99, 59] Operation: 89-30=59 Exploring Operation: 53+30=83, Resulting Numbers: [89, 99, 83] Generated Node #0,2: 73:[89, 99, 83] Operation: 53+30=83 Moving to Node #0,0 Current State: 73:[53, 89, 69], Operations: ['99-30=69'] Exploring Operation: 53+89=142, Resulting Numbers: [69, 142] Generated Node #0,0,0: 73:[69, 142] Operation: 53+89=142 Exploring Operation: 89-53=36, Resulting Numbers: [69, 36] Generated Node #0,0,1: 73:[69, 36] Operation: 89-53=36 Exploring Operation: 53+69=122, Resulting Numbers: [89, 122] Generated Node #0,0,2: 73:[89, 122] Operation: 53+69=122 Moving to Node #0,2 Current State: 73:[89, 99, 83], Operations: ['53+30=83'] Exploring Operation: 89-83=6, Resulting Numbers: [99, 6] Generated Node #0,2,0: 73:[99, 6] Operation: 89-83=6 Exploring Operation: 99-89=10, Resulting Numbers: [83, 10] Generated Node #0,2,1: 73:[83, 10] Operation: 99-89=10 Exploring Operation: 99-83=16, Resulting Numbers: [89, 16] Generated Node #0,2,2: 73:[89, 16] Operation: 99-83=16 Moving to Node #0,1 Current State: 73:[53, 99, 59], Operations: ['89-30=59'] Exploring Operation: 53+59=112, Resulting Numbers: [99, 112] Generated Node #0,1,0: 73:[99, 112] Operation: 53+59=112 Exploring Operation: 99-53=46, Resulting Numbers: [59, 46] Generated Node #0,1,1: 73:[59, 46] Operation: 99-53=46 Exploring Operation: 99-59=40, Resulting Numbers: [53, 40] Generated Node #0,1,2: 73:[53, 40] Operation: 99-59=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[59, 46], Operations: ['89-30=59', '99-53=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,73 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[53, 40], Operations: ['89-30=59', '99-59=40'] Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,73 unequal: No Solution Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[99, 112], Operations: ['89-30=59', '53+59=112'] Exploring Operation: 112-99=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 99+112=211, Resulting Numbers: [211] 211,73 unequal: No Solution Exploring Operation: 99*112=11088, Resulting Numbers: [11088] 11088,73 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: 73:[69, 36], Operations: ['99-30=69', '89-53=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 69*36=2484, Resulting Numbers: [2484] 2484,73 unequal: No Solution Exploring Operation: 69+36=105, Resulting Numbers: [105] 105,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[89, 122], Operations: ['99-30=69', '53+69=122'] Exploring Operation: 89+122=211, Resulting Numbers: [211] 211,73 unequal: No Solution Exploring Operation: 122-89=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 89*122=10858, Resulting Numbers: [10858] 10858,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[69, 142], Operations: ['99-30=69', '53+89=142'] Exploring Operation: 142-69=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[53, 30, 89, 99], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [53, 89, 69] Generated Node #0,0: 73:[53, 89, 69] Operation: 99-30=69 Moving to Node #0,0 Current State: 73:[53, 89, 69], Operations: ['99-30=69'] Exploring Operation: 53+89=142, Resulting Numbers: [69, 142] Generated Node #0,0,0: 73:[69, 142] Operation: 53+89=142 Moving to Node #0,0,0 Current State: 73:[69, 142], Operations: ['99-30=69', '53+89=142'] Exploring Operation: 142-69=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.972222
hs_3
mult_heuristic
[ 76, 94, 46, 15 ]
29
[ "94*15=1410", "1410-76=1334", "1334/46=29" ]
Current State: 29:[76, 94, 46, 15], Operations: [] Exploring Operation: 94*15=1410, Resulting Numbers: [76, 46, 1410] Generated Node #2: [76, 46, 1410] from Operation: 94*15=1410 Current State: 29:[76, 46, 1410], Operations: ['94*15=1410'] Exploring Operation: 1410-76=1334, Resulting Numbers: [46, 1334] Generated Node #3: [46, 1334] from Operation: 1410-76=1334 Current State: 29:[46, 1334], Operations: ['94*15=1410', '1410-76=1334'] Exploring Operation: 1334/46=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[76, 94, 46, 15], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [94, 15, 30] Generated Node #0,0: 29:[94, 15, 30] Operation: 76-46=30 Exploring Operation: 76-15=61, Resulting Numbers: [94, 46, 61] Generated Node #0,1: 29:[94, 46, 61] Operation: 76-15=61 Exploring Operation: 94-76=18, Resulting Numbers: [46, 15, 18] Generated Node #0,2: 29:[46, 15, 18] Operation: 94-76=18 Exploring Operation: 94-46=48, Resulting Numbers: [76, 15, 48] Generated Node #0,3: 29:[76, 15, 48] Operation: 94-46=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[46, 15, 18], Operations: ['94-76=18'] Exploring Operation: 15+18=33, Resulting Numbers: [46, 33] Generated Node #0,2,0: 29:[46, 33] Operation: 15+18=33 Exploring Operation: 46-15=31, Resulting Numbers: [18, 31] Generated Node #0,2,1: 29:[18, 31] Operation: 46-15=31 Exploring Operation: 46+15=61, Resulting Numbers: [18, 61] Generated Node #0,2,2: 29:[18, 61] Operation: 46+15=61 Exploring Operation: 46-18=28, Resulting Numbers: [15, 28] Generated Node #0,2,3: 29:[15, 28] Operation: 46-18=28 Moving to Node #0,2,1 Current State: 29:[18, 31], Operations: ['94-76=18', '46-15=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[15, 28], Operations: ['94-76=18', '46-18=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,29 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[46, 33], Operations: ['94-76=18', '15+18=33'] Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,29 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[18, 61], Operations: ['94-76=18', '46+15=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,29 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,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,0 Current State: 29:[94, 15, 30], Operations: ['76-46=30'] Exploring Operation: 94-15=79, Resulting Numbers: [30, 79] Generated Node #0,0,0: 29:[30, 79] Operation: 94-15=79 Exploring Operation: 94+15=109, Resulting Numbers: [30, 109] Generated Node #0,0,1: 29:[30, 109] Operation: 94+15=109 Exploring Operation: 30-15=15, Resulting Numbers: [94, 15] Generated Node #0,0,2: 29:[94, 15] Operation: 30-15=15 Exploring Operation: 94-30=64, Resulting Numbers: [15, 64] Generated Node #0,0,3: 29:[15, 64] Operation: 94-30=64 Moving to Node #0,0,3 Current State: 29:[15, 64], Operations: ['76-46=30', '94-30=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,29 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[30, 79], Operations: ['76-46=30', '94-15=79'] Exploring Operation: 30+79=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 79-30=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 30*79=2370, Resulting Numbers: [2370] 2370,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[94, 15], Operations: ['76-46=30', '30-15=15'] Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,29 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[30, 109], Operations: ['76-46=30', '94+15=109'] Exploring Operation: 109-30=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 30*109=3270, Resulting Numbers: [3270] 3270,29 unequal: No Solution Exploring Operation: 30+109=139, Resulting Numbers: [139] 139,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,3 Current State: 29:[76, 15, 48], Operations: ['94-46=48'] Exploring Operation: 76-48=28, Resulting Numbers: [15, 28] Generated Node #0,3,0: 29:[15, 28] Operation: 76-48=28 Exploring Operation: 48-15=33, Resulting Numbers: [76, 33] Generated Node #0,3,1: 29:[76, 33] Operation: 48-15=33 Exploring Operation: 76+15=91, Resulting Numbers: [48, 91] Generated Node #0,3,2: 29:[48, 91] Operation: 76+15=91 Exploring Operation: 76-15=61, Resulting Numbers: [48, 61] Generated Node #0,3,3: 29:[48, 61] Operation: 76-15=61 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[15, 28], Operations: ['94-46=48', '76-48=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,29 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,29 unequal: No Solution No 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: 29:[76, 33], Operations: ['94-46=48', '48-15=33'] Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,29 unequal: No Solution No 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: 29:[48, 61], Operations: ['94-46=48', '76-15=61'] Exploring Operation: 48*61=2928, Resulting Numbers: [2928] 2928,29 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 48+61=109, Resulting Numbers: [109] 109,29 unequal: No Solution No 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: 29:[48, 91], Operations: ['94-46=48', '76+15=91'] Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,29 unequal: No Solution Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,29 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[94, 46, 61], Operations: ['76-15=61'] Exploring Operation: 94-46=48, Resulting Numbers: [61, 48] Generated Node #0,1,0: 29:[61, 48] Operation: 94-46=48 Exploring Operation: 94+46=140, Resulting Numbers: [61, 140] Generated Node #0,1,1: 29:[61, 140] Operation: 94+46=140 Exploring Operation: 61-46=15, Resulting Numbers: [94, 15] Generated Node #0,1,2: 29:[94, 15] Operation: 61-46=15 Exploring Operation: 94-61=33, Resulting Numbers: [46, 33] Generated Node #0,1,3: 29:[46, 33] Operation: 94-61=33 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[46, 33], Operations: ['76-15=61', '94-61=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,29 unequal: No Solution No 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: 29:[61, 48], Operations: ['76-15=61', '94-46=48'] Exploring Operation: 61+48=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 61*48=2928, Resulting Numbers: [2928] 2928,29 unequal: No Solution Exploring Operation: 61-48=13, Resulting Numbers: [13] 13,29 unequal: No Solution No 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: 29:[94, 15], Operations: ['76-15=61', '61-46=15'] Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,29 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,29 unequal: No Solution No 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: 29:[61, 140], Operations: ['76-15=61', '94+46=140'] Exploring Operation: 61+140=201, Resulting Numbers: [201] 201,29 unequal: No Solution Exploring Operation: 140-61=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 61*140=8540, Resulting Numbers: [8540] 8540,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_4
sum_heuristic
[ 90, 72, 77, 12 ]
83
[ "90-72=18", "77-12=65", "18+65=83" ]
Current State: 83:[90, 72, 77, 12], Operations: [] Exploring Operation: 90-72=18, Resulting Numbers: [77, 12, 18] Generated Node #2: [77, 12, 18] from Operation: 90-72=18 Current State: 83:[77, 12, 18], Operations: ['90-72=18'] Exploring Operation: 77-12=65, Resulting Numbers: [18, 65] Generated Node #3: [18, 65] from Operation: 77-12=65 Current State: 83:[18, 65], Operations: ['90-72=18', '77-12=65'] Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[90, 72, 77, 12], Operations: [] Exploring Operation: 72+12=84, Resulting Numbers: [90, 77, 84] Generated Node #0,0: 83:[90, 77, 84] Operation: 72+12=84 Exploring Operation: 90+12=102, Resulting Numbers: [72, 77, 102] Generated Node #0,1: 83:[72, 77, 102] Operation: 90+12=102 Exploring Operation: 77+12=89, Resulting Numbers: [90, 72, 89] Generated Node #0,2: 83:[90, 72, 89] Operation: 77+12=89 Exploring Operation: 90-12=78, Resulting Numbers: [72, 77, 78] Generated Node #0,3: 83:[72, 77, 78] Operation: 90-12=78 Exploring Operation: 72-12=60, Resulting Numbers: [90, 77, 60] Generated Node #0,4: 83:[90, 77, 60] Operation: 72-12=60 Moving to Node #0,0 Current State: 83:[90, 77, 84], Operations: ['72+12=84'] Exploring Operation: 90-77=13, Resulting Numbers: [84, 13] Generated Node #0,0,0: 83:[84, 13] Operation: 90-77=13 Exploring Operation: 77+84=161, Resulting Numbers: [90, 161] Generated Node #0,0,1: 83:[90, 161] Operation: 77+84=161 Exploring Operation: 90+77=167, Resulting Numbers: [84, 167] Generated Node #0,0,2: 83:[84, 167] Operation: 90+77=167 Exploring Operation: 90-84=6, Resulting Numbers: [77, 6] Generated Node #0,0,3: 83:[77, 6] Operation: 90-84=6 Exploring Operation: 84-77=7, Resulting Numbers: [90, 7] Generated Node #0,0,4: 83:[90, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[84, 13], Operations: ['72+12=84', '90-77=13'] Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,83 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[77, 6], Operations: ['72+12=84', '90-84=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 77*6=462, Resulting Numbers: [462] 462,83 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[90, 72, 77, 12], Operations: [] Exploring Operation: 72+12=84, Resulting Numbers: [90, 77, 84] Generated Node #0,0: 83:[90, 77, 84] Operation: 72+12=84 Moving to Node #0,0 Current State: 83:[90, 77, 84], Operations: ['72+12=84'] Exploring Operation: 90-84=6, Resulting Numbers: [77, 6] Generated Node #0,0,3: 83:[77, 6] Operation: 90-84=6 Moving to Node #0,0,3 Current State: 83:[77, 6], Operations: ['72+12=84', '90-84=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 22, 3, 98, 34 ]
14
[ "98-22=76", "76-34=42", "42/3=14" ]
Current State: 14:[22, 3, 98, 34], Operations: [] Exploring Operation: 98-22=76, Resulting Numbers: [3, 34, 76] Generated Node #2: [3, 34, 76] from Operation: 98-22=76 Current State: 14:[3, 34, 76], Operations: ['98-22=76'] Exploring Operation: 76-34=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 76-34=42 Current State: 14:[3, 42], Operations: ['98-22=76', '76-34=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[22, 3, 98, 34], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [22, 3, 64] Generated Node #0,0: 14:[22, 3, 64] Operation: 98-34=64 Moving to Node #0,0 Current State: 14:[22, 3, 64], Operations: ['98-34=64'] Exploring Operation: 64-22=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 14:[3, 42] Operation: 64-22=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[3, 42], Operations: ['98-34=64', '64-22=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[22, 3, 98, 34], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [22, 3, 64] Generated Node #0,0: 14:[22, 3, 64] Operation: 98-34=64 Moving to Node #0,0 Current State: 14:[22, 3, 64], Operations: ['98-34=64'] Exploring Operation: 64-22=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 14:[3, 42] Operation: 64-22=42 Moving to Node #0,0,0 Current State: 14:[3, 42], Operations: ['98-34=64', '64-22=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 77, 77, 10, 43 ]
54
[ "77/77=1", "10+43=53", "1+53=54" ]
Current State: 54:[77, 77, 10, 43], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 43, 1] Generated Node #2: [10, 43, 1] from Operation: 77/77=1 Current State: 54:[10, 43, 1], Operations: ['77/77=1'] Exploring Operation: 10+43=53, Resulting Numbers: [1, 53] Generated Node #3: [1, 53] from Operation: 10+43=53 Current State: 54:[1, 53], Operations: ['77/77=1', '10+43=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[77, 77, 10, 43], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 43, 1] Generated Node #0,0: 54:[10, 43, 1] Operation: 77/77=1 Exploring Operation: 77-43=34, Resulting Numbers: [77, 10, 34] Generated Node #0,1: 54:[77, 10, 34] Operation: 77-43=34 Exploring Operation: 77-77=0, Resulting Numbers: [10, 43, 0] Generated Node #0,2: 54:[10, 43, 0] Operation: 77-77=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[10, 43, 1], Operations: ['77/77=1'] Exploring Operation: 43-10=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 54:[1, 33] Operation: 43-10=33 Exploring Operation: 10+43=53, Resulting Numbers: [1, 53] Generated Node #0,0,1: 54:[1, 53] Operation: 10+43=53 Exploring Operation: 10-1=9, Resulting Numbers: [43, 9] Generated Node #0,0,2: 54:[43, 9] Operation: 10-1=9 Moving to Node #0,0,1 Current State: 54:[1, 53], Operations: ['77/77=1', '10+43=53'] Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[77, 77, 10, 43], Operations: [] Exploring Operation: 77/77=1, Resulting Numbers: [10, 43, 1] Generated Node #0,0: 54:[10, 43, 1] Operation: 77/77=1 Moving to Node #0,0 Current State: 54:[10, 43, 1], Operations: ['77/77=1'] Exploring Operation: 10+43=53, Resulting Numbers: [1, 53] Generated Node #0,0,1: 54:[1, 53] Operation: 10+43=53 Moving to Node #0,0,1 Current State: 54:[1, 53], Operations: ['77/77=1', '10+43=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 51, 33, 96, 37 ]
41
[ "51-33=18", "96-37=59", "59-18=41" ]
Current State: 41:[51, 33, 96, 37], Operations: [] Exploring Operation: 51-33=18, Resulting Numbers: [96, 37, 18] Generated Node #2: [96, 37, 18] from Operation: 51-33=18 Current State: 41:[96, 37, 18], Operations: ['51-33=18'] Exploring Operation: 96-37=59, Resulting Numbers: [18, 59] Generated Node #3: [18, 59] from Operation: 96-37=59 Current State: 41:[18, 59], Operations: ['51-33=18', '96-37=59'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[51, 33, 96, 37], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [33, 37, 45] Generated Node #0,0: 41:[33, 37, 45] Operation: 96-51=45 Exploring Operation: 96-37=59, Resulting Numbers: [51, 33, 59] Generated Node #0,1: 41:[51, 33, 59] Operation: 96-37=59 Exploring Operation: 96-33=63, Resulting Numbers: [51, 37, 63] Generated Node #0,2: 41:[51, 37, 63] Operation: 96-33=63 Moving to Node #0,0 Current State: 41:[33, 37, 45], Operations: ['96-51=45'] Exploring Operation: 33+37=70, Resulting Numbers: [45, 70] Generated Node #0,0,0: 41:[45, 70] Operation: 33+37=70 Exploring Operation: 45-33=12, Resulting Numbers: [37, 12] Generated Node #0,0,1: 41:[37, 12] Operation: 45-33=12 Exploring Operation: 37-33=4, Resulting Numbers: [45, 4] Generated Node #0,0,2: 41:[45, 4] Operation: 37-33=4 Moving to Node #0,1 Current State: 41:[51, 33, 59], Operations: ['96-37=59'] Exploring Operation: 59-33=26, Resulting Numbers: [51, 26] Generated Node #0,1,0: 41:[51, 26] Operation: 59-33=26 Exploring Operation: 51-33=18, Resulting Numbers: [59, 18] Generated Node #0,1,1: 41:[59, 18] Operation: 51-33=18 Exploring Operation: 59-51=8, Resulting Numbers: [33, 8] Generated Node #0,1,2: 41:[33, 8] Operation: 59-51=8 Moving to Node #0,2 Current State: 41:[51, 37, 63], Operations: ['96-33=63'] Exploring Operation: 63-51=12, Resulting Numbers: [37, 12] Generated Node #0,2,0: 41:[37, 12] Operation: 63-51=12 Exploring Operation: 51-37=14, Resulting Numbers: [63, 14] Generated Node #0,2,1: 41:[63, 14] Operation: 51-37=14 Exploring Operation: 63-37=26, Resulting Numbers: [51, 26] Generated Node #0,2,2: 41:[51, 26] Operation: 63-37=26 Moving to Node #0,1,0 Current State: 41:[51, 26], Operations: ['96-37=59', '59-33=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,41 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[51, 26], Operations: ['96-33=63', '63-37=26'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,41 unequal: No Solution Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[45, 70], Operations: ['96-51=45', '33+37=70'] Exploring Operation: 45+70=115, Resulting Numbers: [115] 115,41 unequal: No Solution Exploring Operation: 70-45=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 45*70=3150, Resulting Numbers: [3150] 3150,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[37, 12], Operations: ['96-51=45', '45-33=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[37, 12], Operations: ['96-33=63', '63-51=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,41 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[45, 4], Operations: ['96-51=45', '37-33=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[51, 33, 96, 37], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [33, 37, 45] Generated Node #0,0: 41:[33, 37, 45] Operation: 96-51=45 Moving to Node #0,0 Current State: 41:[33, 37, 45], Operations: ['96-51=45'] Exploring Operation: 37-33=4, Resulting Numbers: [45, 4] Generated Node #0,0,2: 41:[45, 4] Operation: 37-33=4 Moving to Node #0,0,2 Current State: 41:[45, 4], Operations: ['96-51=45', '37-33=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 26, 47, 63, 76 ]
94
[ "26*47=1222", "76-63=13", "1222/13=94" ]
Current State: 94:[26, 47, 63, 76], Operations: [] Exploring Operation: 26*47=1222, Resulting Numbers: [63, 76, 1222] Generated Node #2: [63, 76, 1222] from Operation: 26*47=1222 Current State: 94:[63, 76, 1222], Operations: ['26*47=1222'] Exploring Operation: 76-63=13, Resulting Numbers: [1222, 13] Generated Node #3: [1222, 13] from Operation: 76-63=13 Current State: 94:[1222, 13], Operations: ['26*47=1222', '76-63=13'] Exploring Operation: 1222/13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[26, 47, 63, 76], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [47, 63, 50] Generated Node #0,0: 94:[47, 63, 50] Operation: 76-26=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[47, 63, 50], Operations: ['76-26=50'] Exploring Operation: 63-50=13, Resulting Numbers: [47, 13] Generated Node #0,0,0: 94:[47, 13] Operation: 63-50=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[47, 13], Operations: ['76-26=50', '63-50=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,94 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
[ 88, 14, 55, 11 ]
16
[ "55-11=44", "88/44=2", "14+2=16" ]
Current State: 16:[88, 14, 55, 11], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [88, 14, 44] Generated Node #2: [88, 14, 44] from Operation: 55-11=44 Current State: 16:[88, 14, 44], Operations: ['55-11=44'] Exploring Operation: 88/44=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 88/44=2 Current State: 16:[14, 2], Operations: ['55-11=44', '88/44=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[88, 14, 55, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [14, 55, 8] Generated Node #0,0: 16:[14, 55, 8] Operation: 88/11=8 Exploring Operation: 88-55=33, Resulting Numbers: [14, 11, 33] Generated Node #0,1: 16:[14, 11, 33] Operation: 88-55=33 Exploring Operation: 55/11=5, Resulting Numbers: [88, 14, 5] Generated Node #0,2: 16:[88, 14, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[14, 11, 33], Operations: ['88-55=33'] Exploring Operation: 33-11=22, Resulting Numbers: [14, 22] Generated Node #0,1,0: 16:[14, 22] Operation: 33-11=22 Exploring Operation: 33-14=19, Resulting Numbers: [11, 19] Generated Node #0,1,1: 16:[11, 19] Operation: 33-14=19 Exploring Operation: 33/11=3, Resulting Numbers: [14, 3] Generated Node #0,1,2: 16:[14, 3] Operation: 33/11=3 Moving to Node #0,1,2 Current State: 16:[14, 3], Operations: ['88-55=33', '33/11=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,16 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[11, 19], Operations: ['88-55=33', '33-14=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[14, 22], Operations: ['88-55=33', '33-11=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,16 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,16 unequal: No Solution No 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: 16:[14, 55, 8], Operations: ['88/11=8'] Exploring Operation: 55-14=41, Resulting Numbers: [8, 41] Generated Node #0,0,0: 16:[8, 41] Operation: 55-14=41 Exploring Operation: 55-8=47, Resulting Numbers: [14, 47] Generated Node #0,0,1: 16:[14, 47] Operation: 55-8=47 Exploring Operation: 14-8=6, Resulting Numbers: [55, 6] Generated Node #0,0,2: 16:[55, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 16:[8, 41], Operations: ['88/11=8', '55-14=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,16 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[14, 47], Operations: ['88/11=8', '55-8=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,16 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[55, 6], Operations: ['88/11=8', '14-8=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,16 unequal: No Solution No 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: 16:[88, 14, 5], Operations: ['55/11=5'] Exploring Operation: 14-5=9, Resulting Numbers: [88, 9] Generated Node #0,2,0: 16:[88, 9] Operation: 14-5=9 Exploring Operation: 88-5=83, Resulting Numbers: [14, 83] Generated Node #0,2,1: 16:[14, 83] Operation: 88-5=83 Exploring Operation: 88-14=74, Resulting Numbers: [5, 74] Generated Node #0,2,2: 16:[5, 74] Operation: 88-14=74 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 16:[5, 74], Operations: ['55/11=5', '88-14=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,16 unequal: No Solution No 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: 16:[14, 83], Operations: ['55/11=5', '88-5=83'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,16 unequal: No Solution Exploring Operation: 14+83=97, Resulting Numbers: [97] 97,16 unequal: No Solution Exploring Operation: 14*83=1162, Resulting Numbers: [1162] 1162,16 unequal: No Solution No 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: 16:[88, 9], Operations: ['55/11=5', '14-5=9'] Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,16 unequal: No Solution Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,16 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
[ 40, 12, 95, 35 ]
88
[ "40-12=28", "95-35=60", "28+60=88" ]
Current State: 88:[40, 12, 95, 35], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [95, 35, 28] Generated Node #2: [95, 35, 28] from Operation: 40-12=28 Current State: 88:[95, 35, 28], Operations: ['40-12=28'] Exploring Operation: 95-35=60, Resulting Numbers: [28, 60] Generated Node #3: [28, 60] from Operation: 95-35=60 Current State: 88:[28, 60], Operations: ['40-12=28', '95-35=60'] Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[40, 12, 95, 35], Operations: [] Exploring Operation: 95-40=55, Resulting Numbers: [12, 35, 55] Generated Node #0,0: 88:[12, 35, 55] Operation: 95-40=55 Exploring Operation: 12+35=47, Resulting Numbers: [40, 95, 47] Generated Node #0,1: 88:[40, 95, 47] Operation: 12+35=47 Exploring Operation: 40-35=5, Resulting Numbers: [12, 95, 5] Generated Node #0,2: 88:[12, 95, 5] Operation: 40-35=5 Exploring Operation: 95-12=83, Resulting Numbers: [40, 35, 83] Generated Node #0,3: 88:[40, 35, 83] Operation: 95-12=83 Exploring Operation: 35-12=23, Resulting Numbers: [40, 95, 23] Generated Node #0,4: 88:[40, 95, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[12, 95, 5], Operations: ['40-35=5'] Exploring Operation: 12-5=7, Resulting Numbers: [95, 7] Generated Node #0,2,0: 88:[95, 7] Operation: 12-5=7 Exploring Operation: 12+5=17, Resulting Numbers: [95, 17] Generated Node #0,2,1: 88:[95, 17] Operation: 12+5=17 Exploring Operation: 95-5=90, Resulting Numbers: [12, 90] Generated Node #0,2,2: 88:[12, 90] Operation: 95-5=90 Exploring Operation: 95-12=83, Resulting Numbers: [5, 83] Generated Node #0,2,3: 88:[5, 83] Operation: 95-12=83 Exploring Operation: 95/5=19, Resulting Numbers: [12, 19] Generated Node #0,2,4: 88:[12, 19] Operation: 95/5=19 Moving to Node #0,2,2 Current State: 88:[12, 90], Operations: ['40-35=5', '95-5=90'] Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,88 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,88 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[12, 19], Operations: ['40-35=5', '95/5=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,88 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[5, 83], Operations: ['40-35=5', '95-12=83'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 5*83=415, Resulting Numbers: [415] 415,88 unequal: No Solution Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[40, 12, 95, 35], Operations: [] Exploring Operation: 40-35=5, Resulting Numbers: [12, 95, 5] Generated Node #0,2: 88:[12, 95, 5] Operation: 40-35=5 Moving to Node #0,2 Current State: 88:[12, 95, 5], Operations: ['40-35=5'] Exploring Operation: 95-12=83, Resulting Numbers: [5, 83] Generated Node #0,2,3: 88:[5, 83] Operation: 95-12=83 Moving to Node #0,2,3 Current State: 88:[5, 83], Operations: ['40-35=5', '95-12=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 42, 65, 82, 79 ]
79
[ "79-65=14", "42/14=3", "82-3=79" ]
Current State: 79:[42, 65, 82, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [42, 82, 14] Generated Node #2: [42, 82, 14] from Operation: 79-65=14 Current State: 79:[42, 82, 14], Operations: ['79-65=14'] Exploring Operation: 42/14=3, Resulting Numbers: [82, 3] Generated Node #3: [82, 3] from Operation: 42/14=3 Current State: 79:[82, 3], Operations: ['79-65=14', '42/14=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[42, 65, 82, 79], Operations: [] Exploring Operation: 42+65=107, Resulting Numbers: [82, 79, 107] Generated Node #0,0: 79:[82, 79, 107] Operation: 42+65=107 Exploring Operation: 82-42=40, Resulting Numbers: [65, 79, 40] Generated Node #0,1: 79:[65, 79, 40] Operation: 82-42=40 Exploring Operation: 65-42=23, Resulting Numbers: [82, 79, 23] Generated Node #0,2: 79:[82, 79, 23] Operation: 65-42=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[82, 79, 107], Operations: ['42+65=107'] Exploring Operation: 82-79=3, Resulting Numbers: [107, 3] Generated Node #0,0,0: 79:[107, 3] Operation: 82-79=3 Exploring Operation: 107-79=28, Resulting Numbers: [82, 28] Generated Node #0,0,1: 79:[82, 28] Operation: 107-79=28 Exploring Operation: 107-82=25, Resulting Numbers: [79, 25] Generated Node #0,0,2: 79:[79, 25] Operation: 107-82=25 Moving to Node #0,0,1 Current State: 79:[82, 28], Operations: ['42+65=107', '107-79=28'] Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,79 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[79, 25], Operations: ['42+65=107', '107-82=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,79 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[107, 3], Operations: ['42+65=107', '82-79=3'] Exploring Operation: 107*3=321, Resulting Numbers: [321] 321,79 unequal: No Solution Exploring Operation: 107+3=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 107-3=104, Resulting Numbers: [104] 104,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[65, 79, 40], Operations: ['82-42=40'] Exploring Operation: 79+40=119, Resulting Numbers: [65, 119] Generated Node #0,1,0: 79:[65, 119] Operation: 79+40=119 Exploring Operation: 65-40=25, Resulting Numbers: [79, 25] Generated Node #0,1,1: 79:[79, 25] Operation: 65-40=25 Exploring Operation: 65+40=105, Resulting Numbers: [79, 105] Generated Node #0,1,2: 79:[79, 105] Operation: 65+40=105 Moving to Node #0,1,2 Current State: 79:[79, 105], Operations: ['82-42=40', '65+40=105'] Exploring Operation: 79*105=8295, Resulting Numbers: [8295] 8295,79 unequal: No Solution Exploring Operation: 79+105=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[65, 119], Operations: ['82-42=40', '79+40=119'] Exploring Operation: 65*119=7735, Resulting Numbers: [7735] 7735,79 unequal: No Solution Exploring Operation: 65+119=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 119-65=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[79, 25], Operations: ['82-42=40', '65-40=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,79 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,79 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,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,2 Current State: 79:[82, 79, 23], Operations: ['65-42=23'] Exploring Operation: 79+23=102, Resulting Numbers: [82, 102] Generated Node #0,2,0: 79:[82, 102] Operation: 79+23=102 Exploring Operation: 82+23=105, Resulting Numbers: [79, 105] Generated Node #0,2,1: 79:[79, 105] Operation: 82+23=105 Exploring Operation: 82-23=59, Resulting Numbers: [79, 59] Generated Node #0,2,2: 79:[79, 59] Operation: 82-23=59 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[79, 59], Operations: ['65-42=23', '82-23=59'] Exploring Operation: 79*59=4661, Resulting Numbers: [4661] 4661,79 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 79+59=138, Resulting Numbers: [138] 138,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,2,0 Current State: 79:[82, 102], Operations: ['65-42=23', '79+23=102'] Exploring Operation: 82*102=8364, Resulting Numbers: [8364] 8364,79 unequal: No Solution Exploring Operation: 82+102=184, Resulting Numbers: [184] 184,79 unequal: No Solution Exploring Operation: 102-82=20, Resulting Numbers: [20] 20,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,2,1 Current State: 79:[79, 105], Operations: ['65-42=23', '82+23=105'] Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,79 unequal: No Solution Exploring Operation: 79*105=8295, Resulting Numbers: [8295] 8295,79 unequal: No Solution Exploring Operation: 79+105=184, Resulting Numbers: [184] 184,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_3
sum_heuristic
[ 55, 18, 23, 60 ]
67
[ "60-55=5", "18*5=90", "90-23=67" ]
Current State: 67:[55, 18, 23, 60], Operations: [] Exploring Operation: 60-55=5, Resulting Numbers: [18, 23, 5] Generated Node #2: [18, 23, 5] from Operation: 60-55=5 Current State: 67:[18, 23, 5], Operations: ['60-55=5'] Exploring Operation: 18*5=90, Resulting Numbers: [23, 90] Generated Node #3: [23, 90] from Operation: 18*5=90 Current State: 67:[23, 90], Operations: ['60-55=5', '18*5=90'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[55, 18, 23, 60], Operations: [] Exploring Operation: 18+23=41, Resulting Numbers: [55, 60, 41] Generated Node #0,0: 67:[55, 60, 41] Operation: 18+23=41 Exploring Operation: 55+23=78, Resulting Numbers: [18, 60, 78] Generated Node #0,1: 67:[18, 60, 78] Operation: 55+23=78 Exploring Operation: 18+60=78, Resulting Numbers: [55, 23, 78] Generated Node #0,2: 67:[55, 23, 78] Operation: 18+60=78 Exploring Operation: 55+18=73, Resulting Numbers: [23, 60, 73] Generated Node #0,3: 67:[23, 60, 73] Operation: 55+18=73 Moving to Node #0,0 Current State: 67:[55, 60, 41], Operations: ['18+23=41'] Exploring Operation: 60-41=19, Resulting Numbers: [55, 19] Generated Node #0,0,0: 67:[55, 19] Operation: 60-41=19 Exploring Operation: 55+41=96, Resulting Numbers: [60, 96] Generated Node #0,0,1: 67:[60, 96] Operation: 55+41=96 Exploring Operation: 55-41=14, Resulting Numbers: [60, 14] Generated Node #0,0,2: 67:[60, 14] Operation: 55-41=14 Exploring Operation: 60+41=101, Resulting Numbers: [55, 101] Generated Node #0,0,3: 67:[55, 101] Operation: 60+41=101 Moving to Node #0,3 Current State: 67:[23, 60, 73], Operations: ['55+18=73'] Exploring Operation: 73-23=50, Resulting Numbers: [60, 50] Generated Node #0,3,0: 67:[60, 50] Operation: 73-23=50 Exploring Operation: 23+60=83, Resulting Numbers: [73, 83] Generated Node #0,3,1: 67:[73, 83] Operation: 23+60=83 Exploring Operation: 23+73=96, Resulting Numbers: [60, 96] Generated Node #0,3,2: 67:[60, 96] Operation: 23+73=96 Exploring Operation: 60-23=37, Resulting Numbers: [73, 37] Generated Node #0,3,3: 67:[73, 37] Operation: 60-23=37 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[73, 83], Operations: ['55+18=73', '23+60=83'] Exploring Operation: 83-73=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 73*83=6059, Resulting Numbers: [6059] 6059,67 unequal: No Solution Exploring Operation: 73+83=156, Resulting Numbers: [156] 156,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:[60, 50], Operations: ['55+18=73', '73-23=50'] Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,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,2 Current State: 67:[60, 96], Operations: ['55+18=73', '23+73=96'] Exploring Operation: 60*96=5760, Resulting Numbers: [5760] 5760,67 unequal: No Solution Exploring Operation: 60+96=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,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:[73, 37], Operations: ['55+18=73', '60-23=37'] Exploring Operation: 73*37=2701, Resulting Numbers: [2701] 2701,67 unequal: No Solution Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,67 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: 67:[55, 23, 78], Operations: ['18+60=78'] Exploring Operation: 78-23=55, Resulting Numbers: [55, 55] Generated Node #0,2,0: 67:[55, 55] Operation: 78-23=55 Exploring Operation: 23+78=101, Resulting Numbers: [55, 101] Generated Node #0,2,1: 67:[55, 101] Operation: 23+78=101 Exploring Operation: 55-23=32, Resulting Numbers: [78, 32] Generated Node #0,2,2: 67:[78, 32] Operation: 55-23=32 Exploring Operation: 55+23=78, Resulting Numbers: [78, 78] Generated Node #0,2,3: 67:[78, 78] Operation: 55+23=78 Moving to Node #0,1 Current State: 67:[18, 60, 78], Operations: ['55+23=78'] Exploring Operation: 18+60=78, Resulting Numbers: [78, 78] Generated Node #0,1,0: 67:[78, 78] Operation: 18+60=78 Exploring Operation: 78-18=60, Resulting Numbers: [60, 60] Generated Node #0,1,1: 67:[60, 60] Operation: 78-18=60 Exploring Operation: 18+78=96, Resulting Numbers: [60, 96] Generated Node #0,1,2: 67:[60, 96] Operation: 18+78=96 Exploring Operation: 60-18=42, Resulting Numbers: [78, 42] Generated Node #0,1,3: 67:[78, 42] Operation: 60-18=42 Moving to Node #0,1,1 Current State: 67:[60, 60], Operations: ['55+23=78', '78-18=60'] Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,67 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[78, 78], Operations: ['18+60=78', '55+23=78'] Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[78, 78], Operations: ['55+23=78', '18+60=78'] Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[55, 55], Operations: ['18+60=78', '78-23=55'] Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,67 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,67 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[78, 42], Operations: ['55+23=78', '60-18=42'] Exploring Operation: 78*42=3276, Resulting Numbers: [3276] 3276,67 unequal: No Solution Exploring Operation: 78+42=120, Resulting Numbers: [120] 120,67 unequal: No Solution Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[60, 96], Operations: ['55+23=78', '18+78=96'] Exploring Operation: 60+96=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 60*96=5760, Resulting Numbers: [5760] 5760,67 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[60, 96], Operations: ['18+23=41', '55+41=96'] Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 60+96=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 60*96=5760, Resulting Numbers: [5760] 5760,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[55, 101], Operations: ['18+60=78', '23+78=101'] Exploring Operation: 55+101=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 55*101=5555, Resulting Numbers: [5555] 5555,67 unequal: No Solution Exploring Operation: 101-55=46, Resulting Numbers: [46] 46,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[55, 101], Operations: ['18+23=41', '60+41=101'] Exploring Operation: 55+101=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 101-55=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 55*101=5555, Resulting Numbers: [5555] 5555,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[78, 32], Operations: ['18+60=78', '55-23=32'] Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,67 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[60, 14], Operations: ['18+23=41', '55-41=14'] Exploring Operation: 60*14=840, Resulting Numbers: [840] 840,67 unequal: No Solution Exploring Operation: 60+14=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[55, 19], Operations: ['18+23=41', '60-41=19'] Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,67 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 98, 17, 24, 32 ]
48
[ "98*24=2352", "17+32=49", "2352/49=48" ]
Current State: 48:[98, 17, 24, 32], Operations: [] Exploring Operation: 98*24=2352, Resulting Numbers: [17, 32, 2352] Generated Node #2: [17, 32, 2352] from Operation: 98*24=2352 Current State: 48:[17, 32, 2352], Operations: ['98*24=2352'] Exploring Operation: 17+32=49, Resulting Numbers: [2352, 49] Generated Node #3: [2352, 49] from Operation: 17+32=49 Current State: 48:[2352, 49], Operations: ['98*24=2352', '17+32=49'] Exploring Operation: 2352/49=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[98, 17, 24, 32], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [17, 32, 74] Generated Node #0,0: 48:[17, 32, 74] Operation: 98-24=74 Exploring Operation: 98-32=66, Resulting Numbers: [17, 24, 66] Generated Node #0,1: 48:[17, 24, 66] Operation: 98-32=66 Exploring Operation: 17+32=49, Resulting Numbers: [98, 24, 49] Generated Node #0,2: 48:[98, 24, 49] Operation: 17+32=49 Exploring Operation: 98-17=81, Resulting Numbers: [24, 32, 81] Generated Node #0,3: 48:[24, 32, 81] Operation: 98-17=81 Exploring Operation: 32-17=15, Resulting Numbers: [98, 24, 15] Generated Node #0,4: 48:[98, 24, 15] Operation: 32-17=15 Moving to Node #0,1 Current State: 48:[17, 24, 66], Operations: ['98-32=66'] Exploring Operation: 66-17=49, Resulting Numbers: [24, 49] Generated Node #0,1,0: 48:[24, 49] Operation: 66-17=49 Exploring Operation: 17+24=41, Resulting Numbers: [66, 41] Generated Node #0,1,1: 48:[66, 41] Operation: 17+24=41 Exploring Operation: 17+66=83, Resulting Numbers: [24, 83] Generated Node #0,1,2: 48:[24, 83] Operation: 17+66=83 Exploring Operation: 24-17=7, Resulting Numbers: [66, 7] Generated Node #0,1,3: 48:[66, 7] Operation: 24-17=7 Exploring Operation: 66-24=42, Resulting Numbers: [17, 42] Generated Node #0,1,4: 48:[17, 42] Operation: 66-24=42 Moving to Node #0,0 Current State: 48:[17, 32, 74], Operations: ['98-24=74'] Exploring Operation: 32-17=15, Resulting Numbers: [74, 15] Generated Node #0,0,0: 48:[74, 15] Operation: 32-17=15 Exploring Operation: 17+74=91, Resulting Numbers: [32, 91] Generated Node #0,0,1: 48:[32, 91] Operation: 17+74=91 Exploring Operation: 74-17=57, Resulting Numbers: [32, 57] Generated Node #0,0,2: 48:[32, 57] Operation: 74-17=57 Exploring Operation: 74-32=42, Resulting Numbers: [17, 42] Generated Node #0,0,3: 48:[17, 42] Operation: 74-32=42 Exploring Operation: 17+32=49, Resulting Numbers: [74, 49] Generated Node #0,0,4: 48:[74, 49] Operation: 17+32=49 Moving to Node #0,3 Current State: 48:[24, 32, 81], Operations: ['98-17=81'] Exploring Operation: 32-24=8, Resulting Numbers: [81, 8] Generated Node #0,3,0: 48:[81, 8] Operation: 32-24=8 Exploring Operation: 81-24=57, Resulting Numbers: [32, 57] Generated Node #0,3,1: 48:[32, 57] Operation: 81-24=57 Exploring Operation: 24+32=56, Resulting Numbers: [81, 56] Generated Node #0,3,2: 48:[81, 56] Operation: 24+32=56 Exploring Operation: 24+81=105, Resulting Numbers: [32, 105] Generated Node #0,3,3: 48:[32, 105] Operation: 24+81=105 Exploring Operation: 81-32=49, Resulting Numbers: [24, 49] Generated Node #0,3,4: 48:[24, 49] Operation: 81-32=49 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[24, 49], Operations: ['98-17=81', '81-32=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,48 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,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,1 Current State: 48:[32, 57], Operations: ['98-17=81', '81-24=57'] Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,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,0 Current State: 48:[81, 8], Operations: ['98-17=81', '32-24=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,48 unequal: No Solution Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 81*8=648, Resulting Numbers: [648] 648,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,2 Current State: 48:[81, 56], Operations: ['98-17=81', '24+32=56'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 81+56=137, Resulting Numbers: [137] 137,48 unequal: No Solution Exploring Operation: 81*56=4536, Resulting Numbers: [4536] 4536,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,3 Current State: 48:[32, 105], Operations: ['98-17=81', '24+81=105'] Exploring Operation: 105-32=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 32+105=137, Resulting Numbers: [137] 137,48 unequal: No Solution Exploring Operation: 32*105=3360, Resulting Numbers: [3360] 3360,48 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: 48:[98, 24, 49], Operations: ['17+32=49'] Exploring Operation: 98-49=49, Resulting Numbers: [24, 49] Generated Node #0,2,0: 48:[24, 49] Operation: 98-49=49 Exploring Operation: 98+24=122, Resulting Numbers: [49, 122] Generated Node #0,2,1: 48:[49, 122] Operation: 98+24=122 Exploring Operation: 98-24=74, Resulting Numbers: [49, 74] Generated Node #0,2,2: 48:[49, 74] Operation: 98-24=74 Exploring Operation: 98/49=2, Resulting Numbers: [24, 2] Generated Node #0,2,3: 48:[24, 2] Operation: 98/49=2 Exploring Operation: 49-24=25, Resulting Numbers: [98, 25] Generated Node #0,2,4: 48:[98, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 48:[24, 2], Operations: ['17+32=49', '98/49=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[98, 17, 24, 32], Operations: [] Exploring Operation: 17+32=49, Resulting Numbers: [98, 24, 49] Generated Node #0,2: 48:[98, 24, 49] Operation: 17+32=49 Moving to Node #0,2 Current State: 48:[98, 24, 49], Operations: ['17+32=49'] Exploring Operation: 98/49=2, Resulting Numbers: [24, 2] Generated Node #0,2,3: 48:[24, 2] Operation: 98/49=2 Moving to Node #0,2,3 Current State: 48:[24, 2], Operations: ['17+32=49', '98/49=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 22, 65, 73, 70 ]
19
[ "22+73=95", "70-65=5", "95/5=19" ]
Current State: 19:[22, 65, 73, 70], Operations: [] Exploring Operation: 22+73=95, Resulting Numbers: [65, 70, 95] Generated Node #2: [65, 70, 95] from Operation: 22+73=95 Current State: 19:[65, 70, 95], Operations: ['22+73=95'] Exploring Operation: 70-65=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 70-65=5 Current State: 19:[95, 5], Operations: ['22+73=95', '70-65=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[22, 65, 73, 70], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [22, 70, 8] Generated Node #0,0: 19:[22, 70, 8] Operation: 73-65=8 Exploring Operation: 73-70=3, Resulting Numbers: [22, 65, 3] Generated Node #0,1: 19:[22, 65, 3] Operation: 73-70=3 Moving to Node #0,0 Current State: 19:[22, 70, 8], Operations: ['73-65=8'] Exploring Operation: 70-22=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 19:[8, 48] Operation: 70-22=48 Exploring Operation: 70-8=62, Resulting Numbers: [22, 62] Generated Node #0,0,1: 19:[22, 62] Operation: 70-8=62 Moving to Node #0,1 Current State: 19:[22, 65, 3], Operations: ['73-70=3'] Exploring Operation: 65-22=43, Resulting Numbers: [3, 43] Generated Node #0,1,0: 19:[3, 43] Operation: 65-22=43 Exploring Operation: 22-3=19, Resulting Numbers: [65, 19] Generated Node #0,1,1: 19:[65, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[3, 43], Operations: ['73-70=3', '65-22=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,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:[65, 19], Operations: ['73-70=3', '22-3=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,19 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,19 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: 19:[8, 48], Operations: ['73-65=8', '70-22=48'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[22, 62], Operations: ['73-65=8', '70-8=62'] Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 9, 35, 8 ]
11
[ "25-9=16", "35-8=27", "27-16=11" ]
Current State: 11:[25, 9, 35, 8], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [35, 8, 16] Generated Node #2: [35, 8, 16] from Operation: 25-9=16 Current State: 11:[35, 8, 16], Operations: ['25-9=16'] Exploring Operation: 35-8=27, Resulting Numbers: [16, 27] Generated Node #3: [16, 27] from Operation: 35-8=27 Current State: 11:[16, 27], Operations: ['25-9=16', '35-8=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[25, 9, 35, 8], Operations: [] Exploring Operation: 35-25=10, Resulting Numbers: [9, 8, 10] Generated Node #0,0: 11:[9, 8, 10] Operation: 35-25=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[9, 8, 10], Operations: ['35-25=10'] Exploring Operation: 9+8=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 11:[10, 17] Operation: 9+8=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[10, 17], Operations: ['35-25=10', '9+8=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,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
[ 82, 6, 65, 93 ]
40
[ "82+65=147", "93+147=240", "240/6=40" ]
Current State: 40:[82, 6, 65, 93], Operations: [] Exploring Operation: 82+65=147, Resulting Numbers: [6, 93, 147] Generated Node #2: [6, 93, 147] from Operation: 82+65=147 Current State: 40:[6, 93, 147], Operations: ['82+65=147'] Exploring Operation: 93+147=240, Resulting Numbers: [6, 240] Generated Node #3: [6, 240] from Operation: 93+147=240 Current State: 40:[6, 240], Operations: ['82+65=147', '93+147=240'] Exploring Operation: 240/6=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[82, 6, 65, 93], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [6, 65, 11] Generated Node #0,0: 40:[6, 65, 11] Operation: 93-82=11 Exploring Operation: 93-65=28, Resulting Numbers: [82, 6, 28] Generated Node #0,1: 40:[82, 6, 28] Operation: 93-65=28 Moving to Node #0,0 Current State: 40:[6, 65, 11], Operations: ['93-82=11'] Exploring Operation: 65-6=59, Resulting Numbers: [11, 59] Generated Node #0,0,0: 40:[11, 59] Operation: 65-6=59 Exploring Operation: 65-11=54, Resulting Numbers: [6, 54] Generated Node #0,0,1: 40:[6, 54] Operation: 65-11=54 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[6, 54], Operations: ['93-82=11', '65-11=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[11, 59], Operations: ['93-82=11', '65-6=59'] Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,40 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: 40:[82, 6, 28], Operations: ['93-65=28'] Exploring Operation: 82-6=76, Resulting Numbers: [28, 76] Generated Node #0,1,0: 40:[28, 76] Operation: 82-6=76 Exploring Operation: 82-28=54, Resulting Numbers: [6, 54] Generated Node #0,1,1: 40:[6, 54] Operation: 82-28=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[6, 54], Operations: ['93-65=28', '82-28=54'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[28, 76], Operations: ['93-65=28', '82-6=76'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,40 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 92, 94, 18, 5 ]
46
[ "94-92=2", "18+5=23", "2*23=46" ]
Current State: 46:[92, 94, 18, 5], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [18, 5, 2] Generated Node #2: [18, 5, 2] from Operation: 94-92=2 Current State: 46:[18, 5, 2], Operations: ['94-92=2'] Exploring Operation: 18+5=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 18+5=23 Current State: 46:[2, 23], Operations: ['94-92=2', '18+5=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[92, 94, 18, 5], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [18, 5, 2] Generated Node #0,0: 46:[18, 5, 2] Operation: 94-92=2 Moving to Node #0,0 Current State: 46:[18, 5, 2], Operations: ['94-92=2'] Exploring Operation: 18+5=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 46:[2, 23] Operation: 18+5=23 Moving to Node #0,0,0 Current State: 46:[2, 23], Operations: ['94-92=2', '18+5=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[92, 94, 18, 5], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [18, 5, 2] Generated Node #0,0: 46:[18, 5, 2] Operation: 94-92=2 Moving to Node #0,0 Current State: 46:[18, 5, 2], Operations: ['94-92=2'] Exploring Operation: 18+5=23, Resulting Numbers: [2, 23] Generated Node #0,0,0: 46:[2, 23] Operation: 18+5=23 Moving to Node #0,0,0 Current State: 46:[2, 23], Operations: ['94-92=2', '18+5=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 15, 26, 42, 57 ]
25
[ "15+42=57", "57/57=1", "26-1=25" ]
Current State: 25:[15, 26, 42, 57], Operations: [] Exploring Operation: 15+42=57, Resulting Numbers: [26, 57, 57] Generated Node #2: [26, 57, 57] from Operation: 15+42=57 Current State: 25:[26, 57, 57], Operations: ['15+42=57'] Exploring Operation: 57/57=1, Resulting Numbers: [26, 1] Generated Node #3: [26, 1] from Operation: 57/57=1 Current State: 25:[26, 1], Operations: ['15+42=57', '57/57=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[15, 26, 42, 57], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [15, 26, 15] Generated Node #0,0: 25:[15, 26, 15] Operation: 57-42=15 Moving to Node #0,0 Current State: 25:[15, 26, 15], Operations: ['57-42=15'] Exploring Operation: 15/15=1, Resulting Numbers: [26, 1] Generated Node #0,0,0: 25:[26, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 25:[26, 1], Operations: ['57-42=15', '15/15=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[15, 26, 42, 57], Operations: [] Exploring Operation: 57-42=15, Resulting Numbers: [15, 26, 15] Generated Node #0,0: 25:[15, 26, 15] Operation: 57-42=15 Moving to Node #0,0 Current State: 25:[15, 26, 15], Operations: ['57-42=15'] Exploring Operation: 15/15=1, Resulting Numbers: [26, 1] Generated Node #0,0,0: 25:[26, 1] Operation: 15/15=1 Moving to Node #0,0,0 Current State: 25:[26, 1], Operations: ['57-42=15', '15/15=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 91, 20, 86, 85 ]
81
[ "91-86=5", "20/5=4", "85-4=81" ]
Current State: 81:[91, 20, 86, 85], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [20, 85, 5] Generated Node #2: [20, 85, 5] from Operation: 91-86=5 Current State: 81:[20, 85, 5], Operations: ['91-86=5'] Exploring Operation: 20/5=4, Resulting Numbers: [85, 4] Generated Node #3: [85, 4] from Operation: 20/5=4 Current State: 81:[85, 4], Operations: ['91-86=5', '20/5=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[91, 20, 86, 85], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [20, 85, 5] Generated Node #0,0: 81:[20, 85, 5] Operation: 91-86=5 Exploring Operation: 86-85=1, Resulting Numbers: [91, 20, 1] Generated Node #0,1: 81:[91, 20, 1] Operation: 86-85=1 Exploring Operation: 86-20=66, Resulting Numbers: [91, 85, 66] Generated Node #0,2: 81:[91, 85, 66] Operation: 86-20=66 Exploring Operation: 91-85=6, Resulting Numbers: [20, 86, 6] Generated Node #0,3: 81:[20, 86, 6] Operation: 91-85=6 Exploring Operation: 91-20=71, Resulting Numbers: [86, 85, 71] Generated Node #0,4: 81:[86, 85, 71] Operation: 91-20=71 Moving to Node #0,0 Current State: 81:[20, 85, 5], Operations: ['91-86=5'] Exploring Operation: 20-5=15, Resulting Numbers: [85, 15] Generated Node #0,0,0: 81:[85, 15] Operation: 20-5=15 Exploring Operation: 85-5=80, Resulting Numbers: [20, 80] Generated Node #0,0,1: 81:[20, 80] Operation: 85-5=80 Exploring Operation: 20/5=4, Resulting Numbers: [85, 4] Generated Node #0,0,2: 81:[85, 4] Operation: 20/5=4 Exploring Operation: 20+5=25, Resulting Numbers: [85, 25] Generated Node #0,0,3: 81:[85, 25] Operation: 20+5=25 Exploring Operation: 85/5=17, Resulting Numbers: [20, 17] Generated Node #0,0,4: 81:[20, 17] Operation: 85/5=17 Moving to Node #0,3 Current State: 81:[20, 86, 6], Operations: ['91-85=6'] Exploring Operation: 86+6=92, Resulting Numbers: [20, 92] Generated Node #0,3,0: 81:[20, 92] Operation: 86+6=92 Exploring Operation: 20+6=26, Resulting Numbers: [86, 26] Generated Node #0,3,1: 81:[86, 26] Operation: 20+6=26 Exploring Operation: 86-20=66, Resulting Numbers: [6, 66] Generated Node #0,3,2: 81:[6, 66] Operation: 86-20=66 Exploring Operation: 20-6=14, Resulting Numbers: [86, 14] Generated Node #0,3,3: 81:[86, 14] Operation: 20-6=14 Exploring Operation: 86-6=80, Resulting Numbers: [20, 80] Generated Node #0,3,4: 81:[20, 80] Operation: 86-6=80 Moving to Node #0,1 Current State: 81:[91, 20, 1], Operations: ['86-85=1'] Exploring Operation: 20+1=21, Resulting Numbers: [91, 21] Generated Node #0,1,0: 81:[91, 21] Operation: 20+1=21 Exploring Operation: 91*1=91, Resulting Numbers: [20, 91] Generated Node #0,1,1: 81:[20, 91] Operation: 91*1=91 Exploring Operation: 91-1=90, Resulting Numbers: [20, 90] Generated Node #0,1,2: 81:[20, 90] Operation: 91-1=90 Exploring Operation: 91/1=91, Resulting Numbers: [20, 91] Generated Node #0,1,3: 81:[20, 91] Operation: 91/1=91 Exploring Operation: 91-20=71, Resulting Numbers: [1, 71] Generated Node #0,1,4: 81:[1, 71] Operation: 91-20=71 Moving to Node #0,4 Current State: 81:[86, 85, 71], Operations: ['91-20=71'] Exploring Operation: 86-85=1, Resulting Numbers: [71, 1] Generated Node #0,4,0: 81:[71, 1] Operation: 86-85=1 Exploring Operation: 86-71=15, Resulting Numbers: [85, 15] Generated Node #0,4,1: 81:[85, 15] Operation: 86-71=15 Exploring Operation: 85+71=156, Resulting Numbers: [86, 156] Generated Node #0,4,2: 81:[86, 156] Operation: 85+71=156 Exploring Operation: 85-71=14, Resulting Numbers: [86, 14] Generated Node #0,4,3: 81:[86, 14] Operation: 85-71=14 Exploring Operation: 86+71=157, Resulting Numbers: [85, 157] Generated Node #0,4,4: 81:[85, 157] Operation: 86+71=157 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 81:[85, 15], Operations: ['91-20=71', '86-71=15'] Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,81 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 81:[86, 14], Operations: ['91-20=71', '85-71=14'] Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 81:[71, 1], Operations: ['91-20=71', '86-85=1'] Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 71*1=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 71+1=72, Resulting Numbers: [72] 72,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 81:[86, 156], Operations: ['91-20=71', '85+71=156'] Exploring Operation: 86+156=242, Resulting Numbers: [242] 242,81 unequal: No Solution Exploring Operation: 86*156=13416, Resulting Numbers: [13416] 13416,81 unequal: No Solution Exploring Operation: 156-86=70, Resulting Numbers: [70] 70,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 81:[85, 157], Operations: ['91-20=71', '86+71=157'] Exploring Operation: 85+157=242, Resulting Numbers: [242] 242,81 unequal: No Solution Exploring Operation: 157-85=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 85*157=13345, Resulting Numbers: [13345] 13345,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:[91, 85, 66], Operations: ['86-20=66'] Exploring Operation: 91+66=157, Resulting Numbers: [85, 157] Generated Node #0,2,0: 81:[85, 157] Operation: 91+66=157 Exploring Operation: 91-85=6, Resulting Numbers: [66, 6] Generated Node #0,2,1: 81:[66, 6] Operation: 91-85=6 Exploring Operation: 91-66=25, Resulting Numbers: [85, 25] Generated Node #0,2,2: 81:[85, 25] Operation: 91-66=25 Exploring Operation: 85-66=19, Resulting Numbers: [91, 19] Generated Node #0,2,3: 81:[91, 19] Operation: 85-66=19 Exploring Operation: 85+66=151, Resulting Numbers: [91, 151] Generated Node #0,2,4: 81:[91, 151] Operation: 85+66=151 Moving to Node #0,0,2 Current State: 81:[85, 4], Operations: ['91-86=5', '20/5=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,81 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[91, 20, 86, 85], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [20, 85, 5] Generated Node #0,0: 81:[20, 85, 5] Operation: 91-86=5 Moving to Node #0,0 Current State: 81:[20, 85, 5], Operations: ['91-86=5'] Exploring Operation: 20/5=4, Resulting Numbers: [85, 4] Generated Node #0,0,2: 81:[85, 4] Operation: 20/5=4 Moving to Node #0,0,2 Current State: 81:[85, 4], Operations: ['91-86=5', '20/5=4'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 35, 92, 6, 97 ]
21
[ "35*6=210", "92+97=189", "210-189=21" ]
Current State: 21:[35, 92, 6, 97], Operations: [] Exploring Operation: 35*6=210, Resulting Numbers: [92, 97, 210] Generated Node #2: [92, 97, 210] from Operation: 35*6=210 Current State: 21:[92, 97, 210], Operations: ['35*6=210'] Exploring Operation: 92+97=189, Resulting Numbers: [210, 189] Generated Node #3: [210, 189] from Operation: 92+97=189 Current State: 21:[210, 189], Operations: ['35*6=210', '92+97=189'] Exploring Operation: 210-189=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[35, 92, 6, 97], Operations: [] Exploring Operation: 97-35=62, Resulting Numbers: [92, 6, 62] Generated Node #0,0: 21:[92, 6, 62] Operation: 97-35=62 Exploring Operation: 97-92=5, Resulting Numbers: [35, 6, 5] Generated Node #0,1: 21:[35, 6, 5] Operation: 97-92=5 Exploring Operation: 92-35=57, Resulting Numbers: [6, 97, 57] Generated Node #0,2: 21:[6, 97, 57] Operation: 92-35=57 Moving to Node #0,1 Current State: 21:[35, 6, 5], Operations: ['97-92=5'] Exploring Operation: 35-6=29, Resulting Numbers: [5, 29] Generated Node #0,1,0: 21:[5, 29] Operation: 35-6=29 Exploring Operation: 35/5=7, Resulting Numbers: [6, 7] Generated Node #0,1,1: 21:[6, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [6, 30] Generated Node #0,1,2: 21:[6, 30] Operation: 35-5=30 Moving to Node #0,0 Current State: 21:[92, 6, 62], Operations: ['97-35=62'] Exploring Operation: 92-62=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 21:[6, 30] Operation: 92-62=30 Exploring Operation: 62-6=56, Resulting Numbers: [92, 56] Generated Node #0,0,1: 21:[92, 56] Operation: 62-6=56 Exploring Operation: 92-6=86, Resulting Numbers: [62, 86] Generated Node #0,0,2: 21:[62, 86] Operation: 92-6=86 Moving to Node #0,2 Current State: 21:[6, 97, 57], Operations: ['92-35=57'] Exploring Operation: 57-6=51, Resulting Numbers: [97, 51] Generated Node #0,2,0: 21:[97, 51] Operation: 57-6=51 Exploring Operation: 97-6=91, Resulting Numbers: [57, 91] Generated Node #0,2,1: 21:[57, 91] Operation: 97-6=91 Exploring Operation: 97-57=40, Resulting Numbers: [6, 40] Generated Node #0,2,2: 21:[6, 40] Operation: 97-57=40 Moving to Node #0,1,1 Current State: 21:[6, 7], Operations: ['97-92=5', '35/5=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[6, 30], Operations: ['97-92=5', '35-5=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[5, 29], Operations: ['97-92=5', '35-6=29'] Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,21 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[6, 30], Operations: ['97-35=62', '92-62=30'] Exploring Operation: 6+30=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[6, 40], Operations: ['92-35=57', '97-57=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[62, 86], Operations: ['97-35=62', '92-6=86'] Exploring Operation: 62+86=148, Resulting Numbers: [148] 148,21 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 62*86=5332, Resulting Numbers: [5332] 5332,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[57, 91], Operations: ['92-35=57', '97-6=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,21 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,21 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[92, 56], Operations: ['97-35=62', '62-6=56'] Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,21 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[97, 51], Operations: ['92-35=57', '57-6=51'] Exploring Operation: 97*51=4947, Resulting Numbers: [4947] 4947,21 unequal: No Solution Exploring Operation: 97+51=148, Resulting Numbers: [148] 148,21 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,21 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 74, 32, 80, 55 ]
17
[ "74-32=42", "80-55=25", "42-25=17" ]
Current State: 17:[74, 32, 80, 55], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [80, 55, 42] Generated Node #2: [80, 55, 42] from Operation: 74-32=42 Current State: 17:[80, 55, 42], Operations: ['74-32=42'] Exploring Operation: 80-55=25, Resulting Numbers: [42, 25] Generated Node #3: [42, 25] from Operation: 80-55=25 Current State: 17:[42, 25], Operations: ['74-32=42', '80-55=25'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[74, 32, 80, 55], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [74, 32, 25] Generated Node #0,0: 17:[74, 32, 25] Operation: 80-55=25 Exploring Operation: 74-55=19, Resulting Numbers: [32, 80, 19] Generated Node #0,1: 17:[32, 80, 19] Operation: 74-55=19 Exploring Operation: 74-32=42, Resulting Numbers: [80, 55, 42] Generated Node #0,2: 17:[80, 55, 42] Operation: 74-32=42 Exploring Operation: 80-74=6, Resulting Numbers: [32, 55, 6] Generated Node #0,3: 17:[32, 55, 6] Operation: 80-74=6 Exploring Operation: 80-32=48, Resulting Numbers: [74, 55, 48] Generated Node #0,4: 17:[74, 55, 48] Operation: 80-32=48 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[32, 55, 6], Operations: ['80-74=6'] Exploring Operation: 55-32=23, Resulting Numbers: [6, 23] Generated Node #0,3,0: 17:[6, 23] Operation: 55-32=23 Exploring Operation: 32+6=38, Resulting Numbers: [55, 38] Generated Node #0,3,1: 17:[55, 38] Operation: 32+6=38 Exploring Operation: 55+6=61, Resulting Numbers: [32, 61] Generated Node #0,3,2: 17:[32, 61] Operation: 55+6=61 Exploring Operation: 32-6=26, Resulting Numbers: [55, 26] Generated Node #0,3,3: 17:[55, 26] Operation: 32-6=26 Exploring Operation: 55-6=49, Resulting Numbers: [32, 49] Generated Node #0,3,4: 17:[32, 49] Operation: 55-6=49 Moving to Node #0,3,0 Current State: 17:[6, 23], Operations: ['80-74=6', '55-32=23'] Exploring Operation: 6+23=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[74, 32, 80, 55], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [32, 55, 6] Generated Node #0,3: 17:[32, 55, 6] Operation: 80-74=6 Moving to Node #0,3 Current State: 17:[32, 55, 6], Operations: ['80-74=6'] Exploring Operation: 55-32=23, Resulting Numbers: [6, 23] Generated Node #0,3,0: 17:[6, 23] Operation: 55-32=23 Moving to Node #0,3,0 Current State: 17:[6, 23], Operations: ['80-74=6', '55-32=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 21, 3, 92, 87 ]
58
[ "21*3=63", "92-87=5", "63-5=58" ]
Current State: 58:[21, 3, 92, 87], Operations: [] Exploring Operation: 21*3=63, Resulting Numbers: [92, 87, 63] Generated Node #2: [92, 87, 63] from Operation: 21*3=63 Current State: 58:[92, 87, 63], Operations: ['21*3=63'] Exploring Operation: 92-87=5, Resulting Numbers: [63, 5] Generated Node #3: [63, 5] from Operation: 92-87=5 Current State: 58:[63, 5], Operations: ['21*3=63', '92-87=5'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[21, 3, 92, 87], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [21, 92, 29] Generated Node #0,0: 58:[21, 92, 29] Operation: 87/3=29 Exploring Operation: 92-87=5, Resulting Numbers: [21, 3, 5] Generated Node #0,1: 58:[21, 3, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[21, 3, 5], Operations: ['92-87=5'] Exploring Operation: 21+5=26, Resulting Numbers: [3, 26] Generated Node #0,1,0: 58:[3, 26] Operation: 21+5=26 Exploring Operation: 21+3=24, Resulting Numbers: [5, 24] Generated Node #0,1,1: 58:[5, 24] Operation: 21+3=24 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[3, 26], Operations: ['92-87=5', '21+5=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,58 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,58 unequal: No Solution No 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: 58:[5, 24], Operations: ['92-87=5', '21+3=24'] Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,58 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: 58:[21, 92, 29], Operations: ['87/3=29'] Exploring Operation: 92-21=71, Resulting Numbers: [29, 71] Generated Node #0,0,0: 58:[29, 71] Operation: 92-21=71 Exploring Operation: 92-29=63, Resulting Numbers: [21, 63] Generated Node #0,0,1: 58:[21, 63] Operation: 92-29=63 Moving to Node #0,0,0 Current State: 58:[29, 71], Operations: ['87/3=29', '92-21=71'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[21, 63], Operations: ['87/3=29', '92-29=63'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 7, 62, 78, 3 ]
17
[ "62+78=140", "140/7=20", "20-3=17" ]
Current State: 17:[7, 62, 78, 3], Operations: [] Exploring Operation: 62+78=140, Resulting Numbers: [7, 3, 140] Generated Node #2: [7, 3, 140] from Operation: 62+78=140 Current State: 17:[7, 3, 140], Operations: ['62+78=140'] Exploring Operation: 140/7=20, Resulting Numbers: [3, 20] Generated Node #3: [3, 20] from Operation: 140/7=20 Current State: 17:[3, 20], Operations: ['62+78=140', '140/7=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[7, 62, 78, 3], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [7, 62, 26] Generated Node #0,0: 17:[7, 62, 26] Operation: 78/3=26 Exploring Operation: 7*3=21, Resulting Numbers: [62, 78, 21] Generated Node #0,1: 17:[62, 78, 21] Operation: 7*3=21 Exploring Operation: 62-7=55, Resulting Numbers: [78, 3, 55] Generated Node #0,2: 17:[78, 3, 55] Operation: 62-7=55 Exploring Operation: 78-62=16, Resulting Numbers: [7, 3, 16] Generated Node #0,3: 17:[7, 3, 16] Operation: 78-62=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[7, 3, 16], Operations: ['78-62=16'] Exploring Operation: 7+3=10, Resulting Numbers: [16, 10] Generated Node #0,3,0: 17:[16, 10] Operation: 7+3=10 Exploring Operation: 3+16=19, Resulting Numbers: [7, 19] Generated Node #0,3,1: 17:[7, 19] Operation: 3+16=19 Exploring Operation: 7*3=21, Resulting Numbers: [16, 21] Generated Node #0,3,2: 17:[16, 21] Operation: 7*3=21 Exploring Operation: 7-3=4, Resulting Numbers: [16, 4] Generated Node #0,3,3: 17:[16, 4] Operation: 7-3=4 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 17:[16, 21], Operations: ['78-62=16', '7*3=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,17 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,17 unequal: No Solution No 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: 17:[16, 10], Operations: ['78-62=16', '7+3=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,17 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,17 unequal: No Solution No 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: 17:[7, 19], Operations: ['78-62=16', '3+16=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,17 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,17 unequal: No Solution No 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: 17:[16, 4], Operations: ['78-62=16', '7-3=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,17 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,17 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: 17:[7, 62, 26], Operations: ['78/3=26'] Exploring Operation: 62-7=55, Resulting Numbers: [26, 55] Generated Node #0,0,0: 17:[26, 55] Operation: 62-7=55 Exploring Operation: 7+62=69, Resulting Numbers: [26, 69] Generated Node #0,0,1: 17:[26, 69] Operation: 7+62=69 Exploring Operation: 62-26=36, Resulting Numbers: [7, 36] Generated Node #0,0,2: 17:[7, 36] Operation: 62-26=36 Exploring Operation: 26-7=19, Resulting Numbers: [62, 19] Generated Node #0,0,3: 17:[62, 19] Operation: 26-7=19 Moving to Node #0,0,2 Current State: 17:[7, 36], Operations: ['78/3=26', '62-26=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,17 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[62, 19], Operations: ['78/3=26', '26-7=19'] Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,17 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[26, 55], Operations: ['78/3=26', '62-7=55'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 26+55=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 26*55=1430, Resulting Numbers: [1430] 1430,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[26, 69], Operations: ['78/3=26', '7+62=69'] Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,17 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[62, 78, 21], Operations: ['7*3=21'] Exploring Operation: 78-21=57, Resulting Numbers: [62, 57] Generated Node #0,1,0: 17:[62, 57] Operation: 78-21=57 Exploring Operation: 78-62=16, Resulting Numbers: [21, 16] Generated Node #0,1,1: 17:[21, 16] Operation: 78-62=16 Exploring Operation: 62-21=41, Resulting Numbers: [78, 41] Generated Node #0,1,2: 17:[78, 41] Operation: 62-21=41 Exploring Operation: 62+78=140, Resulting Numbers: [21, 140] Generated Node #0,1,3: 17:[21, 140] Operation: 62+78=140 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[21, 16], Operations: ['7*3=21', '78-62=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,17 unequal: No Solution No 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: 17:[62, 57], Operations: ['7*3=21', '78-21=57'] Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,17 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,17 unequal: No Solution Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,17 unequal: No Solution No 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: 17:[78, 41], Operations: ['7*3=21', '62-21=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,17 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,17 unequal: No Solution No 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: 17:[21, 140], Operations: ['7*3=21', '62+78=140'] Exploring Operation: 21+140=161, Resulting Numbers: [161] 161,17 unequal: No Solution Exploring Operation: 21*140=2940, Resulting Numbers: [2940] 2940,17 unequal: No Solution Exploring Operation: 140-21=119, Resulting Numbers: [119] 119,17 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: 17:[78, 3, 55], Operations: ['62-7=55'] Exploring Operation: 78-3=75, Resulting Numbers: [55, 75] Generated Node #0,2,0: 17:[55, 75] Operation: 78-3=75 Exploring Operation: 55-3=52, Resulting Numbers: [78, 52] Generated Node #0,2,1: 17:[78, 52] Operation: 55-3=52 Exploring Operation: 78-55=23, Resulting Numbers: [3, 23] Generated Node #0,2,2: 17:[3, 23] Operation: 78-55=23 Exploring Operation: 78/3=26, Resulting Numbers: [55, 26] Generated Node #0,2,3: 17:[55, 26] Operation: 78/3=26 Moving to Node #0,2,2 Current State: 17:[3, 23], Operations: ['62-7=55', '78-55=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[55, 26], Operations: ['62-7=55', '78/3=26'] Exploring Operation: 55-26=29, Resulting Numbers: [29] 29,17 unequal: No Solution Exploring Operation: 55*26=1430, Resulting Numbers: [1430] 1430,17 unequal: No Solution Exploring Operation: 55+26=81, Resulting Numbers: [81] 81,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[78, 52], Operations: ['62-7=55', '55-3=52'] Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,17 unequal: No Solution Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,17 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[55, 75], Operations: ['62-7=55', '78-3=75'] Exploring Operation: 55*75=4125, Resulting Numbers: [4125] 4125,17 unequal: No Solution Exploring Operation: 75-55=20, Resulting Numbers: [20] 20,17 unequal: No Solution Exploring Operation: 55+75=130, Resulting Numbers: [130] 130,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 63, 74, 84, 23 ]
96
[ "74-63=11", "84+23=107", "107-11=96" ]
Current State: 96:[63, 74, 84, 23], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [84, 23, 11] Generated Node #2: [84, 23, 11] from Operation: 74-63=11 Current State: 96:[84, 23, 11], Operations: ['74-63=11'] Exploring Operation: 84+23=107, Resulting Numbers: [11, 107] Generated Node #3: [11, 107] from Operation: 84+23=107 Current State: 96:[11, 107], Operations: ['74-63=11', '84+23=107'] Exploring Operation: 107-11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[63, 74, 84, 23], Operations: [] Exploring Operation: 74-63=11, Resulting Numbers: [84, 23, 11] Generated Node #0,0: 96:[84, 23, 11] Operation: 74-63=11 Moving to Node #0,0 Current State: 96:[84, 23, 11], Operations: ['74-63=11'] Exploring Operation: 84+11=95, Resulting Numbers: [23, 95] Generated Node #0,0,0: 96:[23, 95] Operation: 84+11=95 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[23, 95], Operations: ['74-63=11', '84+11=95'] Exploring Operation: 23+95=118, Resulting Numbers: [118] 118,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 94, 32, 63, 56 ]
54
[ "94+32=126", "126/63=2", "56-2=54" ]
Current State: 54:[94, 32, 63, 56], Operations: [] Exploring Operation: 94+32=126, Resulting Numbers: [63, 56, 126] Generated Node #2: [63, 56, 126] from Operation: 94+32=126 Current State: 54:[63, 56, 126], Operations: ['94+32=126'] Exploring Operation: 126/63=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 126/63=2 Current State: 54:[56, 2], Operations: ['94+32=126', '126/63=2'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[94, 32, 63, 56], Operations: [] Exploring Operation: 94-63=31, Resulting Numbers: [32, 56, 31] Generated Node #0,0: 54:[32, 56, 31] Operation: 94-63=31 Exploring Operation: 94-32=62, Resulting Numbers: [63, 56, 62] Generated Node #0,1: 54:[63, 56, 62] Operation: 94-32=62 Exploring Operation: 94-56=38, Resulting Numbers: [32, 63, 38] Generated Node #0,2: 54:[32, 63, 38] Operation: 94-56=38 Moving to Node #0,0 Current State: 54:[32, 56, 31], Operations: ['94-63=31'] Exploring Operation: 56-31=25, Resulting Numbers: [32, 25] Generated Node #0,0,0: 54:[32, 25] Operation: 56-31=25 Exploring Operation: 32-31=1, Resulting Numbers: [56, 1] Generated Node #0,0,1: 54:[56, 1] Operation: 32-31=1 Exploring Operation: 56-32=24, Resulting Numbers: [31, 24] Generated Node #0,0,2: 54:[31, 24] Operation: 56-32=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[56, 1], Operations: ['94-63=31', '32-31=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[32, 25], Operations: ['94-63=31', '56-31=25'] Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,54 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[31, 24], Operations: ['94-63=31', '56-32=24'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 54:[63, 56, 62], Operations: ['94-32=62'] Exploring Operation: 63-62=1, Resulting Numbers: [56, 1] Generated Node #0,1,0: 54:[56, 1] Operation: 63-62=1 Exploring Operation: 62-56=6, Resulting Numbers: [63, 6] Generated Node #0,1,1: 54:[63, 6] Operation: 62-56=6 Exploring Operation: 63-56=7, Resulting Numbers: [62, 7] Generated Node #0,1,2: 54:[62, 7] Operation: 63-56=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[56, 1], Operations: ['94-32=62', '63-62=1'] Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[63, 6], Operations: ['94-32=62', '62-56=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[62, 7], Operations: ['94-32=62', '63-56=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 54:[32, 63, 38], Operations: ['94-56=38'] Exploring Operation: 63-38=25, Resulting Numbers: [32, 25] Generated Node #0,2,0: 54:[32, 25] Operation: 63-38=25 Exploring Operation: 63-32=31, Resulting Numbers: [38, 31] Generated Node #0,2,1: 54:[38, 31] Operation: 63-32=31 Exploring Operation: 38-32=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 54:[63, 6] Operation: 38-32=6 Moving to Node #0,2,0 Current State: 54:[32, 25], Operations: ['94-56=38', '63-38=25'] Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,54 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[63, 6], Operations: ['94-56=38', '38-32=6'] Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,54 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[38, 31], Operations: ['94-56=38', '63-32=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,54 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,54 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 28, 75, 33, 90 ]
76
[ "75-28=47", "33+90=123", "123-47=76" ]
Current State: 76:[28, 75, 33, 90], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [33, 90, 47] Generated Node #2: [33, 90, 47] from Operation: 75-28=47 Current State: 76:[33, 90, 47], Operations: ['75-28=47'] Exploring Operation: 33+90=123, Resulting Numbers: [47, 123] Generated Node #3: [47, 123] from Operation: 33+90=123 Current State: 76:[47, 123], Operations: ['75-28=47', '33+90=123'] Exploring Operation: 123-47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[28, 75, 33, 90], Operations: [] Exploring Operation: 75-28=47, Resulting Numbers: [33, 90, 47] Generated Node #0,0: 76:[33, 90, 47] Operation: 75-28=47 Exploring Operation: 33-28=5, Resulting Numbers: [75, 90, 5] Generated Node #0,1: 76:[75, 90, 5] Operation: 33-28=5 Exploring Operation: 75-33=42, Resulting Numbers: [28, 90, 42] Generated Node #0,2: 76:[28, 90, 42] Operation: 75-33=42 Exploring Operation: 90-75=15, Resulting Numbers: [28, 33, 15] Generated Node #0,3: 76:[28, 33, 15] Operation: 90-75=15 Exploring Operation: 90-28=62, Resulting Numbers: [75, 33, 62] Generated Node #0,4: 76:[75, 33, 62] Operation: 90-28=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[75, 90, 5], Operations: ['33-28=5'] Exploring Operation: 75+5=80, Resulting Numbers: [90, 80] Generated Node #0,1,0: 76:[90, 80] Operation: 75+5=80 Exploring Operation: 90-5=85, Resulting Numbers: [75, 85] Generated Node #0,1,1: 76:[75, 85] Operation: 90-5=85 Exploring Operation: 90/5=18, Resulting Numbers: [75, 18] Generated Node #0,1,2: 76:[75, 18] Operation: 90/5=18 Exploring Operation: 75/5=15, Resulting Numbers: [90, 15] Generated Node #0,1,3: 76:[90, 15] Operation: 75/5=15 Exploring Operation: 90-75=15, Resulting Numbers: [5, 15] Generated Node #0,1,4: 76:[5, 15] Operation: 90-75=15 Moving to Node #0,1,2 Current State: 76:[75, 18], Operations: ['33-28=5', '90/5=18'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,76 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,76 unequal: No Solution Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,76 unequal: No Solution Moving to Node #0,1,4 Current State: 76:[5, 15], Operations: ['33-28=5', '90-75=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[75, 85], Operations: ['33-28=5', '90-5=85'] Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,76 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 75*85=6375, Resulting Numbers: [6375] 6375,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[90, 80], Operations: ['33-28=5', '75+5=80'] Exploring Operation: 90+80=170, Resulting Numbers: [170] 170,76 unequal: No Solution Exploring Operation: 90-80=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 90*80=7200, Resulting Numbers: [7200] 7200,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[90, 15], Operations: ['33-28=5', '75/5=15'] Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,76 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,76 unequal: No Solution No 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: 76:[28, 33, 15], Operations: ['90-75=15'] Exploring Operation: 28-15=13, Resulting Numbers: [33, 13] Generated Node #0,3,0: 76:[33, 13] Operation: 28-15=13 Exploring Operation: 33-28=5, Resulting Numbers: [15, 5] Generated Node #0,3,1: 76:[15, 5] Operation: 33-28=5 Exploring Operation: 33-15=18, Resulting Numbers: [28, 18] Generated Node #0,3,2: 76:[28, 18] Operation: 33-15=18 Exploring Operation: 28+33=61, Resulting Numbers: [15, 61] Generated Node #0,3,3: 76:[15, 61] Operation: 28+33=61 Exploring Operation: 28+15=43, Resulting Numbers: [33, 43] Generated Node #0,3,4: 76:[33, 43] Operation: 28+15=43 Moving to Node #0,3,1 Current State: 76:[15, 5], Operations: ['90-75=15', '33-28=5'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[33, 43], Operations: ['90-75=15', '28+15=43'] Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[28, 75, 33, 90], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [28, 33, 15] Generated Node #0,3: 76:[28, 33, 15] Operation: 90-75=15 Moving to Node #0,3 Current State: 76:[28, 33, 15], Operations: ['90-75=15'] Exploring Operation: 28+15=43, Resulting Numbers: [33, 43] Generated Node #0,3,4: 76:[33, 43] Operation: 28+15=43 Moving to Node #0,3,4 Current State: 76:[33, 43], Operations: ['90-75=15', '28+15=43'] Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 77, 55, 51, 16 ]
47
[ "77+51=128", "128/16=8", "55-8=47" ]
Current State: 47:[77, 55, 51, 16], Operations: [] Exploring Operation: 77+51=128, Resulting Numbers: [55, 16, 128] Generated Node #2: [55, 16, 128] from Operation: 77+51=128 Current State: 47:[55, 16, 128], Operations: ['77+51=128'] Exploring Operation: 128/16=8, Resulting Numbers: [55, 8] Generated Node #3: [55, 8] from Operation: 128/16=8 Current State: 47:[55, 8], Operations: ['77+51=128', '128/16=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[77, 55, 51, 16], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [55, 51, 61] Generated Node #0,0: 47:[55, 51, 61] Operation: 77-16=61 Exploring Operation: 77+16=93, Resulting Numbers: [55, 51, 93] Generated Node #0,1: 47:[55, 51, 93] Operation: 77+16=93 Exploring Operation: 55-16=39, Resulting Numbers: [77, 51, 39] Generated Node #0,2: 47:[77, 51, 39] Operation: 55-16=39 Exploring Operation: 51-16=35, Resulting Numbers: [77, 55, 35] Generated Node #0,3: 47:[77, 55, 35] Operation: 51-16=35 Exploring Operation: 55+16=71, Resulting Numbers: [77, 51, 71] Generated Node #0,4: 47:[77, 51, 71] Operation: 55+16=71 Moving to Node #0,0 Current State: 47:[55, 51, 61], Operations: ['77-16=61'] Exploring Operation: 55+51=106, Resulting Numbers: [61, 106] Generated Node #0,0,0: 47:[61, 106] Operation: 55+51=106 Exploring Operation: 61-51=10, Resulting Numbers: [55, 10] Generated Node #0,0,1: 47:[55, 10] Operation: 61-51=10 Exploring Operation: 55+61=116, Resulting Numbers: [51, 116] Generated Node #0,0,2: 47:[51, 116] Operation: 55+61=116 Exploring Operation: 61-55=6, Resulting Numbers: [51, 6] Generated Node #0,0,3: 47:[51, 6] Operation: 61-55=6 Exploring Operation: 55-51=4, Resulting Numbers: [61, 4] Generated Node #0,0,4: 47:[61, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[55, 10], Operations: ['77-16=61', '61-51=10'] Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[51, 6], Operations: ['77-16=61', '61-55=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 47:[61, 4], Operations: ['77-16=61', '55-51=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[61, 106], Operations: ['77-16=61', '55+51=106'] Exploring Operation: 61+106=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 106-61=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 61*106=6466, Resulting Numbers: [6466] 6466,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[51, 116], Operations: ['77-16=61', '55+61=116'] Exploring Operation: 51*116=5916, Resulting Numbers: [5916] 5916,47 unequal: No Solution Exploring Operation: 51+116=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 116-51=65, Resulting Numbers: [65] 65,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 47:[77, 51, 39], Operations: ['55-16=39'] Exploring Operation: 51+39=90, Resulting Numbers: [77, 90] Generated Node #0,2,0: 47:[77, 90] Operation: 51+39=90 Exploring Operation: 77-51=26, Resulting Numbers: [39, 26] Generated Node #0,2,1: 47:[39, 26] Operation: 77-51=26 Exploring Operation: 77-39=38, Resulting Numbers: [51, 38] Generated Node #0,2,2: 47:[51, 38] Operation: 77-39=38 Exploring Operation: 51-39=12, Resulting Numbers: [77, 12] Generated Node #0,2,3: 47:[77, 12] Operation: 51-39=12 Exploring Operation: 77+39=116, Resulting Numbers: [51, 116] Generated Node #0,2,4: 47:[51, 116] Operation: 77+39=116 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[51, 38], Operations: ['55-16=39', '77-39=38'] Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,47 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[39, 26], Operations: ['55-16=39', '77-51=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[77, 12], Operations: ['55-16=39', '51-39=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 77*12=924, Resulting Numbers: [924] 924,47 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[77, 90], Operations: ['55-16=39', '51+39=90'] Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 77*90=6930, Resulting Numbers: [6930] 6930,47 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 47:[51, 116], Operations: ['55-16=39', '77+39=116'] Exploring Operation: 51+116=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 116-51=65, Resulting Numbers: [65] 65,47 unequal: No Solution Exploring Operation: 51*116=5916, Resulting Numbers: [5916] 5916,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 47:[77, 55, 35], Operations: ['51-16=35'] Exploring Operation: 55-35=20, Resulting Numbers: [77, 20] Generated Node #0,3,0: 47:[77, 20] Operation: 55-35=20 Exploring Operation: 77-55=22, Resulting Numbers: [35, 22] Generated Node #0,3,1: 47:[35, 22] Operation: 77-55=22 Exploring Operation: 77-35=42, Resulting Numbers: [55, 42] Generated Node #0,3,2: 47:[55, 42] Operation: 77-35=42 Exploring Operation: 77+35=112, Resulting Numbers: [55, 112] Generated Node #0,3,3: 47:[55, 112] Operation: 77+35=112 Exploring Operation: 55+35=90, Resulting Numbers: [77, 90] Generated Node #0,3,4: 47:[77, 90] Operation: 55+35=90 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[55, 42], Operations: ['51-16=35', '77-35=42'] Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,47 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[35, 22], Operations: ['51-16=35', '77-55=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,47 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[77, 20], Operations: ['51-16=35', '55-35=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,47 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[55, 112], Operations: ['51-16=35', '77+35=112'] Exploring Operation: 55+112=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 112-55=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 55*112=6160, Resulting Numbers: [6160] 6160,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 47:[77, 90], Operations: ['51-16=35', '55+35=90'] Exploring Operation: 77+90=167, Resulting Numbers: [167] 167,47 unequal: No Solution Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 77*90=6930, Resulting Numbers: [6930] 6930,47 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: 47:[55, 51, 93], Operations: ['77+16=93'] Exploring Operation: 93-51=42, Resulting Numbers: [55, 42] Generated Node #0,1,0: 47:[55, 42] Operation: 93-51=42 Exploring Operation: 93-55=38, Resulting Numbers: [51, 38] Generated Node #0,1,1: 47:[51, 38] Operation: 93-55=38 Exploring Operation: 55-51=4, Resulting Numbers: [93, 4] Generated Node #0,1,2: 47:[93, 4] Operation: 55-51=4 Exploring Operation: 55+51=106, Resulting Numbers: [93, 106] Generated Node #0,1,3: 47:[93, 106] Operation: 55+51=106 Exploring Operation: 55+93=148, Resulting Numbers: [51, 148] Generated Node #0,1,4: 47:[51, 148] Operation: 55+93=148 Moving to Node #0,4 Current State: 47:[77, 51, 71], Operations: ['55+16=71'] Exploring Operation: 71-51=20, Resulting Numbers: [77, 20] Generated Node #0,4,0: 47:[77, 20] Operation: 71-51=20 Exploring Operation: 77+51=128, Resulting Numbers: [71, 128] Generated Node #0,4,1: 47:[71, 128] Operation: 77+51=128 Exploring Operation: 77-51=26, Resulting Numbers: [71, 26] Generated Node #0,4,2: 47:[71, 26] Operation: 77-51=26 Exploring Operation: 77-71=6, Resulting Numbers: [51, 6] Generated Node #0,4,3: 47:[51, 6] Operation: 77-71=6 Exploring Operation: 77+71=148, Resulting Numbers: [51, 148] Generated Node #0,4,4: 47:[51, 148] Operation: 77+71=148 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 47:[71, 26], Operations: ['55+16=71', '77-51=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 47:[51, 6], Operations: ['55+16=71', '77-71=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 47:[77, 20], Operations: ['55+16=71', '71-51=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,47 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 47:[71, 128], Operations: ['55+16=71', '77+51=128'] Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,47 unequal: No Solution Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,47 unequal: No Solution Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 47:[51, 148], Operations: ['55+16=71', '77+71=148'] Exploring Operation: 51+148=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 148-51=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 51*148=7548, Resulting Numbers: [7548] 7548,47 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: 47:[55, 42], Operations: ['77+16=93', '93-51=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[51, 38], Operations: ['77+16=93', '93-55=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,47 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,47 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[93, 4], Operations: ['77+16=93', '55-51=4'] Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,47 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,47 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[93, 106], Operations: ['77+16=93', '55+51=106'] Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,47 unequal: No Solution Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,47 unequal: No Solution Moving to Node #0,1,4 Current State: 47:[51, 148], Operations: ['77+16=93', '55+93=148'] Exploring Operation: 51+148=199, Resulting Numbers: [199] 199,47 unequal: No Solution Exploring Operation: 148-51=97, Resulting Numbers: [97] 97,47 unequal: No Solution Exploring Operation: 51*148=7548, Resulting Numbers: [7548] 7548,47 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 20, 39, 99, 2 ]
89
[ "39+99=138", "138/2=69", "20+69=89" ]
Current State: 89:[20, 39, 99, 2], Operations: [] Exploring Operation: 39+99=138, Resulting Numbers: [20, 2, 138] Generated Node #2: [20, 2, 138] from Operation: 39+99=138 Current State: 89:[20, 2, 138], Operations: ['39+99=138'] Exploring Operation: 138/2=69, Resulting Numbers: [20, 69] Generated Node #3: [20, 69] from Operation: 138/2=69 Current State: 89:[20, 69], Operations: ['39+99=138', '138/2=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[20, 39, 99, 2], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [20, 99, 78] Generated Node #0,0: 89:[20, 99, 78] Operation: 39*2=78 Exploring Operation: 20+2=22, Resulting Numbers: [39, 99, 22] Generated Node #0,1: 89:[39, 99, 22] Operation: 20+2=22 Exploring Operation: 20+39=59, Resulting Numbers: [99, 2, 59] Generated Node #0,2: 89:[99, 2, 59] Operation: 20+39=59 Exploring Operation: 20*2=40, Resulting Numbers: [39, 99, 40] Generated Node #0,3: 89:[39, 99, 40] Operation: 20*2=40 Exploring Operation: 39+2=41, Resulting Numbers: [20, 99, 41] Generated Node #0,4: 89:[20, 99, 41] Operation: 39+2=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[20, 99, 78], Operations: ['39*2=78'] Exploring Operation: 20+99=119, Resulting Numbers: [78, 119] Generated Node #0,0,0: 89:[78, 119] Operation: 20+99=119 Exploring Operation: 99-78=21, Resulting Numbers: [20, 21] Generated Node #0,0,1: 89:[20, 21] Operation: 99-78=21 Exploring Operation: 99-20=79, Resulting Numbers: [78, 79] Generated Node #0,0,2: 89:[78, 79] Operation: 99-20=79 Exploring Operation: 20+78=98, Resulting Numbers: [99, 98] Generated Node #0,0,3: 89:[99, 98] Operation: 20+78=98 Exploring Operation: 78-20=58, Resulting Numbers: [99, 58] Generated Node #0,0,4: 89:[99, 58] Operation: 78-20=58 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[99, 98], Operations: ['39*2=78', '20+78=98'] Exploring Operation: 99-98=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 99+98=197, Resulting Numbers: [197] 197,89 unequal: No Solution Exploring Operation: 99*98=9702, Resulting Numbers: [9702] 9702,89 unequal: No Solution No 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: 89:[78, 79], Operations: ['39*2=78', '99-20=79'] Exploring Operation: 78*79=6162, Resulting Numbers: [6162] 6162,89 unequal: No Solution Exploring Operation: 79-78=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 78+79=157, Resulting Numbers: [157] 157,89 unequal: No Solution No 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: 89:[78, 119], Operations: ['39*2=78', '20+99=119'] Exploring Operation: 78+119=197, Resulting Numbers: [197] 197,89 unequal: No Solution Exploring Operation: 78*119=9282, Resulting Numbers: [9282] 9282,89 unequal: No Solution Exploring Operation: 119-78=41, Resulting Numbers: [41] 41,89 unequal: No Solution No 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: 89:[99, 58], Operations: ['39*2=78', '78-20=58'] Exploring Operation: 99-58=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 99+58=157, Resulting Numbers: [157] 157,89 unequal: No Solution Exploring Operation: 99*58=5742, Resulting Numbers: [5742] 5742,89 unequal: No Solution No 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: 89:[20, 21], Operations: ['39*2=78', '99-78=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,89 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: 89:[39, 99, 40], Operations: ['20*2=40'] Exploring Operation: 39+99=138, Resulting Numbers: [40, 138] Generated Node #0,3,0: 89:[40, 138] Operation: 39+99=138 Exploring Operation: 40-39=1, Resulting Numbers: [99, 1] Generated Node #0,3,1: 89:[99, 1] Operation: 40-39=1 Exploring Operation: 39+40=79, Resulting Numbers: [99, 79] Generated Node #0,3,2: 89:[99, 79] Operation: 39+40=79 Exploring Operation: 99-39=60, Resulting Numbers: [40, 60] Generated Node #0,3,3: 89:[40, 60] Operation: 99-39=60 Exploring Operation: 99-40=59, Resulting Numbers: [39, 59] Generated Node #0,3,4: 89:[39, 59] Operation: 99-40=59 Moving to Node #0,3,2 Current State: 89:[99, 79], Operations: ['20*2=40', '39+40=79'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 99+79=178, Resulting Numbers: [178] 178,89 unequal: No Solution Exploring Operation: 99*79=7821, Resulting Numbers: [7821] 7821,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[40, 60], Operations: ['20*2=40', '99-39=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,89 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[39, 59], Operations: ['20*2=40', '99-40=59'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,89 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[40, 138], Operations: ['20*2=40', '39+99=138'] Exploring Operation: 40*138=5520, Resulting Numbers: [5520] 5520,89 unequal: No Solution Exploring Operation: 138-40=98, Resulting Numbers: [98] 98,89 unequal: No Solution Exploring Operation: 40+138=178, Resulting Numbers: [178] 178,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[99, 1], Operations: ['20*2=40', '40-39=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,89 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[39, 99, 22], Operations: ['20+2=22'] Exploring Operation: 99-22=77, Resulting Numbers: [39, 77] Generated Node #0,1,0: 89:[39, 77] Operation: 99-22=77 Exploring Operation: 99+22=121, Resulting Numbers: [39, 121] Generated Node #0,1,1: 89:[39, 121] Operation: 99+22=121 Exploring Operation: 39+22=61, Resulting Numbers: [99, 61] Generated Node #0,1,2: 89:[99, 61] Operation: 39+22=61 Exploring Operation: 99-39=60, Resulting Numbers: [22, 60] Generated Node #0,1,3: 89:[22, 60] Operation: 99-39=60 Exploring Operation: 39-22=17, Resulting Numbers: [99, 17] Generated Node #0,1,4: 89:[99, 17] Operation: 39-22=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[99, 61], Operations: ['20+2=22', '39+22=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,89 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,89 unequal: No Solution No 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: 89:[39, 77], Operations: ['20+2=22', '99-22=77'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,89 unequal: No Solution Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,89 unequal: No Solution No 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: 89:[39, 121], Operations: ['20+2=22', '99+22=121'] Exploring Operation: 121-39=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 39*121=4719, Resulting Numbers: [4719] 4719,89 unequal: No Solution Exploring Operation: 39+121=160, Resulting Numbers: [160] 160,89 unequal: No Solution No 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: 89:[99, 17], Operations: ['20+2=22', '39-22=17'] Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 99+17=116, Resulting Numbers: [116] 116,89 unequal: No Solution Exploring Operation: 99*17=1683, Resulting Numbers: [1683] 1683,89 unequal: No Solution No 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: 89:[22, 60], Operations: ['20+2=22', '99-39=60'] Exploring Operation: 22+60=82, Resulting Numbers: [82] 82,89 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 22*60=1320, Resulting Numbers: [1320] 1320,89 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: 89:[99, 2, 59], Operations: ['20+39=59'] Exploring Operation: 2+59=61, Resulting Numbers: [99, 61] Generated Node #0,2,0: 89:[99, 61] Operation: 2+59=61 Exploring Operation: 99-2=97, Resulting Numbers: [59, 97] Generated Node #0,2,1: 89:[59, 97] Operation: 99-2=97 Exploring Operation: 2*59=118, Resulting Numbers: [99, 118] Generated Node #0,2,2: 89:[99, 118] Operation: 2*59=118 Exploring Operation: 99+2=101, Resulting Numbers: [59, 101] Generated Node #0,2,3: 89:[59, 101] Operation: 99+2=101 Exploring Operation: 59-2=57, Resulting Numbers: [99, 57] Generated Node #0,2,4: 89:[99, 57] Operation: 59-2=57 Moving to Node #0,2,0 Current State: 89:[99, 61], Operations: ['20+39=59', '2+59=61'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[59, 97], Operations: ['20+39=59', '99-2=97'] Exploring Operation: 97-59=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 59+97=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 59*97=5723, Resulting Numbers: [5723] 5723,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[99, 118], Operations: ['20+39=59', '2*59=118'] Exploring Operation: 99*118=11682, Resulting Numbers: [11682] 11682,89 unequal: No Solution Exploring Operation: 99+118=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 118-99=19, Resulting Numbers: [19] 19,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[59, 101], Operations: ['20+39=59', '99+2=101'] Exploring Operation: 59*101=5959, Resulting Numbers: [5959] 5959,89 unequal: No Solution Exploring Operation: 59+101=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 101-59=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[99, 57], Operations: ['20+39=59', '59-2=57'] Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 89:[20, 99, 41], Operations: ['39+2=41'] Exploring Operation: 99-41=58, Resulting Numbers: [20, 58] Generated Node #0,4,0: 89:[20, 58] Operation: 99-41=58 Exploring Operation: 20+99=119, Resulting Numbers: [41, 119] Generated Node #0,4,1: 89:[41, 119] Operation: 20+99=119 Exploring Operation: 41-20=21, Resulting Numbers: [99, 21] Generated Node #0,4,2: 89:[99, 21] Operation: 41-20=21 Exploring Operation: 99-20=79, Resulting Numbers: [41, 79] Generated Node #0,4,3: 89:[41, 79] Operation: 99-20=79 Exploring Operation: 20+41=61, Resulting Numbers: [99, 61] Generated Node #0,4,4: 89:[99, 61] Operation: 20+41=61 Moving to Node #0,4,4 Current State: 89:[99, 61], Operations: ['39+2=41', '20+41=61'] Exploring Operation: 99*61=6039, Resulting Numbers: [6039] 6039,89 unequal: No Solution Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 99+61=160, Resulting Numbers: [160] 160,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[41, 79], Operations: ['39+2=41', '99-20=79'] Exploring Operation: 41*79=3239, Resulting Numbers: [3239] 3239,89 unequal: No Solution Exploring Operation: 41+79=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[41, 119], Operations: ['39+2=41', '20+99=119'] Exploring Operation: 41+119=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 41*119=4879, Resulting Numbers: [4879] 4879,89 unequal: No Solution Exploring Operation: 119-41=78, Resulting Numbers: [78] 78,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[99, 21], Operations: ['39+2=41', '41-20=21'] Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,89 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[20, 58], Operations: ['39+2=41', '99-41=58'] Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,89 unequal: No Solution Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,89 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,89 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
[ 66, 85, 32, 86 ]
99
[ "85-66=19", "32+86=118", "118-19=99" ]
Current State: 99:[66, 85, 32, 86], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [32, 86, 19] Generated Node #2: [32, 86, 19] from Operation: 85-66=19 Current State: 99:[32, 86, 19], Operations: ['85-66=19'] Exploring Operation: 32+86=118, Resulting Numbers: [19, 118] Generated Node #3: [19, 118] from Operation: 32+86=118 Current State: 99:[19, 118], Operations: ['85-66=19', '32+86=118'] Exploring Operation: 118-19=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 85, 32, 86], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [32, 86, 19] Generated Node #0,0: 99:[32, 86, 19] Operation: 85-66=19 Exploring Operation: 66-32=34, Resulting Numbers: [85, 86, 34] Generated Node #0,1: 99:[85, 86, 34] Operation: 66-32=34 Exploring Operation: 86-66=20, Resulting Numbers: [85, 32, 20] Generated Node #0,2: 99:[85, 32, 20] Operation: 86-66=20 Exploring Operation: 66+32=98, Resulting Numbers: [85, 86, 98] Generated Node #0,3: 99:[85, 86, 98] Operation: 66+32=98 Moving to Node #0,0 Current State: 99:[32, 86, 19], Operations: ['85-66=19'] Exploring Operation: 86-32=54, Resulting Numbers: [19, 54] Generated Node #0,0,0: 99:[19, 54] Operation: 86-32=54 Exploring Operation: 86+19=105, Resulting Numbers: [32, 105] Generated Node #0,0,1: 99:[32, 105] Operation: 86+19=105 Exploring Operation: 32+86=118, Resulting Numbers: [19, 118] Generated Node #0,0,2: 99:[19, 118] Operation: 32+86=118 Exploring Operation: 32-19=13, Resulting Numbers: [86, 13] Generated Node #0,0,3: 99:[86, 13] Operation: 32-19=13 Moving to Node #0,2 Current State: 99:[85, 32, 20], Operations: ['86-66=20'] Exploring Operation: 85-32=53, Resulting Numbers: [20, 53] Generated Node #0,2,0: 99:[20, 53] Operation: 85-32=53 Exploring Operation: 85+32=117, Resulting Numbers: [20, 117] Generated Node #0,2,1: 99:[20, 117] Operation: 85+32=117 Exploring Operation: 85+20=105, Resulting Numbers: [32, 105] Generated Node #0,2,2: 99:[32, 105] Operation: 85+20=105 Exploring Operation: 32-20=12, Resulting Numbers: [85, 12] Generated Node #0,2,3: 99:[85, 12] Operation: 32-20=12 Moving to Node #0,3 Current State: 99:[85, 86, 98], Operations: ['66+32=98'] Exploring Operation: 85+86=171, Resulting Numbers: [98, 171] Generated Node #0,3,0: 99:[98, 171] Operation: 85+86=171 Exploring Operation: 86-85=1, Resulting Numbers: [98, 1] Generated Node #0,3,1: 99:[98, 1] Operation: 86-85=1 Exploring Operation: 98-85=13, Resulting Numbers: [86, 13] Generated Node #0,3,2: 99:[86, 13] Operation: 98-85=13 Exploring Operation: 98-86=12, Resulting Numbers: [85, 12] Generated Node #0,3,3: 99:[85, 12] Operation: 98-86=12 Moving to Node #0,1 Current State: 99:[85, 86, 34], Operations: ['66-32=34'] Exploring Operation: 85-34=51, Resulting Numbers: [86, 51] Generated Node #0,1,0: 99:[86, 51] Operation: 85-34=51 Exploring Operation: 86-34=52, Resulting Numbers: [85, 52] Generated Node #0,1,1: 99:[85, 52] Operation: 86-34=52 Exploring Operation: 85+34=119, Resulting Numbers: [86, 119] Generated Node #0,1,2: 99:[86, 119] Operation: 85+34=119 Exploring Operation: 86-85=1, Resulting Numbers: [34, 1] Generated Node #0,1,3: 99:[34, 1] Operation: 86-85=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 99:[34, 1], Operations: ['66-32=34', '86-85=1'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,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,1,0 Current State: 99:[86, 51], Operations: ['66-32=34', '85-34=51'] Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 86+51=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 86*51=4386, Resulting Numbers: [4386] 4386,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,1,1 Current State: 99:[85, 52], Operations: ['66-32=34', '86-34=52'] Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,99 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,99 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,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,1,2 Current State: 99:[86, 119], Operations: ['66-32=34', '85+34=119'] Exploring Operation: 86+119=205, Resulting Numbers: [205] 205,99 unequal: No Solution Exploring Operation: 86*119=10234, Resulting Numbers: [10234] 10234,99 unequal: No Solution Exploring Operation: 119-86=33, Resulting Numbers: [33] 33,99 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: 99:[98, 1], Operations: ['66+32=98', '86-85=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[66, 85, 32, 86], Operations: [] Exploring Operation: 66+32=98, Resulting Numbers: [85, 86, 98] Generated Node #0,3: 99:[85, 86, 98] Operation: 66+32=98 Moving to Node #0,3 Current State: 99:[85, 86, 98], Operations: ['66+32=98'] Exploring Operation: 86-85=1, Resulting Numbers: [98, 1] Generated Node #0,3,1: 99:[98, 1] Operation: 86-85=1 Moving to Node #0,3,1 Current State: 99:[98, 1], Operations: ['66+32=98', '86-85=1'] Exploring Operation: 98+1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 97, 3, 9, 30 ]
100
[ "97+30=127", "3*9=27", "127-27=100" ]
Current State: 100:[97, 3, 9, 30], Operations: [] Exploring Operation: 97+30=127, Resulting Numbers: [3, 9, 127] Generated Node #2: [3, 9, 127] from Operation: 97+30=127 Current State: 100:[3, 9, 127], Operations: ['97+30=127'] Exploring Operation: 3*9=27, Resulting Numbers: [127, 27] Generated Node #3: [127, 27] from Operation: 3*9=27 Current State: 100:[127, 27], Operations: ['97+30=127', '3*9=27'] Exploring Operation: 127-27=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[97, 3, 9, 30], Operations: [] Exploring Operation: 30-9=21, Resulting Numbers: [97, 3, 21] Generated Node #0,0: 100:[97, 3, 21] Operation: 30-9=21 Exploring Operation: 30-3=27, Resulting Numbers: [97, 9, 27] Generated Node #0,1: 100:[97, 9, 27] Operation: 30-3=27 Exploring Operation: 30/3=10, Resulting Numbers: [97, 9, 10] Generated Node #0,2: 100:[97, 9, 10] Operation: 30/3=10 Exploring Operation: 97+3=100, Resulting Numbers: [9, 30, 100] Generated Node #0,3: 100:[9, 30, 100] Operation: 97+3=100 Exploring Operation: 9-3=6, Resulting Numbers: [97, 30, 6] Generated Node #0,4: 100:[97, 30, 6] Operation: 9-3=6 Moving to Node #0,2 Current State: 100:[97, 9, 10], Operations: ['30/3=10'] Exploring Operation: 97+9=106, Resulting Numbers: [10, 106] Generated Node #0,2,0: 100:[10, 106] Operation: 97+9=106 Exploring Operation: 9+10=19, Resulting Numbers: [97, 19] Generated Node #0,2,1: 100:[97, 19] Operation: 9+10=19 Exploring Operation: 97-9=88, Resulting Numbers: [10, 88] Generated Node #0,2,2: 100:[10, 88] Operation: 97-9=88 Exploring Operation: 10-9=1, Resulting Numbers: [97, 1] Generated Node #0,2,3: 100:[97, 1] Operation: 10-9=1 Exploring Operation: 97+10=107, Resulting Numbers: [9, 107] Generated Node #0,2,4: 100:[9, 107] Operation: 97+10=107 Moving to Node #0,0 Current State: 100:[97, 3, 21], Operations: ['30-9=21'] Exploring Operation: 21/3=7, Resulting Numbers: [97, 7] Generated Node #0,0,0: 100:[97, 7] Operation: 21/3=7 Exploring Operation: 97-3=94, Resulting Numbers: [21, 94] Generated Node #0,0,1: 100:[21, 94] Operation: 97-3=94 Exploring Operation: 21-3=18, Resulting Numbers: [97, 18] Generated Node #0,0,2: 100:[97, 18] Operation: 21-3=18 Exploring Operation: 3+21=24, Resulting Numbers: [97, 24] Generated Node #0,0,3: 100:[97, 24] Operation: 3+21=24 Exploring Operation: 97+3=100, Resulting Numbers: [21, 100] Generated Node #0,0,4: 100:[21, 100] Operation: 97+3=100 Moving to Node #0,1 Current State: 100:[97, 9, 27], Operations: ['30-3=27'] Exploring Operation: 27/9=3, Resulting Numbers: [97, 3] Generated Node #0,1,0: 100:[97, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [97, 18] Generated Node #0,1,1: 100:[97, 18] Operation: 27-9=18 Exploring Operation: 9+27=36, Resulting Numbers: [97, 36] Generated Node #0,1,2: 100:[97, 36] Operation: 9+27=36 Exploring Operation: 97+9=106, Resulting Numbers: [27, 106] Generated Node #0,1,3: 100:[27, 106] Operation: 97+9=106 Exploring Operation: 97-9=88, Resulting Numbers: [27, 88] Generated Node #0,1,4: 100:[27, 88] Operation: 97-9=88 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[97, 3], Operations: ['30-3=27', '27/9=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,100 unequal: No Solution Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,100 unequal: No Solution Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[97, 3, 9, 30], Operations: [] Exploring Operation: 30-3=27, Resulting Numbers: [97, 9, 27] Generated Node #0,1: 100:[97, 9, 27] Operation: 30-3=27 Moving to Node #0,1 Current State: 100:[97, 9, 27], Operations: ['30-3=27'] Exploring Operation: 27/9=3, Resulting Numbers: [97, 3] Generated Node #0,1,0: 100:[97, 3] Operation: 27/9=3 Moving to Node #0,1,0 Current State: 100:[97, 3], Operations: ['30-3=27', '27/9=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 5, 99, 38, 33 ]
28
[ "5*33=165", "99+38=137", "165-137=28" ]
Current State: 28:[5, 99, 38, 33], Operations: [] Exploring Operation: 5*33=165, Resulting Numbers: [99, 38, 165] Generated Node #2: [99, 38, 165] from Operation: 5*33=165 Current State: 28:[99, 38, 165], Operations: ['5*33=165'] Exploring Operation: 99+38=137, Resulting Numbers: [165, 137] Generated Node #3: [165, 137] from Operation: 99+38=137 Current State: 28:[165, 137], Operations: ['5*33=165', '99+38=137'] Exploring Operation: 165-137=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[5, 99, 38, 33], Operations: [] Exploring Operation: 99-38=61, Resulting Numbers: [5, 33, 61] Generated Node #0,0: 28:[5, 33, 61] Operation: 99-38=61 Exploring Operation: 99-33=66, Resulting Numbers: [5, 38, 66] Generated Node #0,1: 28:[5, 38, 66] Operation: 99-33=66 Exploring Operation: 99/33=3, Resulting Numbers: [5, 38, 3] Generated Node #0,2: 28:[5, 38, 3] Operation: 99/33=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[5, 38, 3], Operations: ['99/33=3'] Exploring Operation: 38-3=35, Resulting Numbers: [5, 35] Generated Node #0,2,0: 28:[5, 35] Operation: 38-3=35 Exploring Operation: 5-3=2, Resulting Numbers: [38, 2] Generated Node #0,2,1: 28:[38, 2] Operation: 5-3=2 Exploring Operation: 38-5=33, Resulting Numbers: [3, 33] Generated Node #0,2,2: 28:[3, 33] Operation: 38-5=33 Moving to Node #0,2,2 Current State: 28:[3, 33], Operations: ['99/33=3', '38-5=33'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[5, 35], Operations: ['99/33=3', '38-3=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[38, 2], Operations: ['99/33=3', '5-3=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,28 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[5, 33, 61], Operations: ['99-38=61'] Exploring Operation: 33-5=28, Resulting Numbers: [61, 28] Generated Node #0,0,0: 28:[61, 28] Operation: 33-5=28 Exploring Operation: 61-5=56, Resulting Numbers: [33, 56] Generated Node #0,0,1: 28:[33, 56] Operation: 61-5=56 Exploring Operation: 61-33=28, Resulting Numbers: [5, 28] Generated Node #0,0,2: 28:[5, 28] Operation: 61-33=28 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[5, 28], Operations: ['99-38=61', '61-33=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,28 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,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:[61, 28], Operations: ['99-38=61', '33-5=28'] Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,28 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,28 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,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,1 Current State: 28:[33, 56], Operations: ['99-38=61', '61-5=56'] Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,28 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,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:[5, 38, 66], Operations: ['99-33=66'] Exploring Operation: 66-5=61, Resulting Numbers: [38, 61] Generated Node #0,1,0: 28:[38, 61] Operation: 66-5=61 Exploring Operation: 38-5=33, Resulting Numbers: [66, 33] Generated Node #0,1,1: 28:[66, 33] Operation: 38-5=33 Exploring Operation: 66-38=28, Resulting Numbers: [5, 28] Generated Node #0,1,2: 28:[5, 28] Operation: 66-38=28 Moving to Node #0,1,2 Current State: 28:[5, 28], Operations: ['99-33=66', '66-38=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,28 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[38, 61], Operations: ['99-33=66', '66-5=61'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 38+61=99, Resulting Numbers: [99] 99,28 unequal: No Solution Exploring Operation: 38*61=2318, Resulting Numbers: [2318] 2318,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[66, 33], Operations: ['99-33=66', '38-5=33'] Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,28 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,28 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
[ 6, 70, 13, 22 ]
32
[ "13-6=7", "70/7=10", "22+10=32" ]
Current State: 32:[6, 70, 13, 22], Operations: [] Exploring Operation: 13-6=7, Resulting Numbers: [70, 22, 7] Generated Node #2: [70, 22, 7] from Operation: 13-6=7 Current State: 32:[70, 22, 7], Operations: ['13-6=7'] Exploring Operation: 70/7=10, Resulting Numbers: [22, 10] Generated Node #3: [22, 10] from Operation: 70/7=10 Current State: 32:[22, 10], Operations: ['13-6=7', '70/7=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[6, 70, 13, 22], Operations: [] Exploring Operation: 70-13=57, Resulting Numbers: [6, 22, 57] Generated Node #0,0: 32:[6, 22, 57] Operation: 70-13=57 Exploring Operation: 70-22=48, Resulting Numbers: [6, 13, 48] Generated Node #0,1: 32:[6, 13, 48] Operation: 70-22=48 Moving to Node #0,1 Current State: 32:[6, 13, 48], Operations: ['70-22=48'] Exploring Operation: 48-13=35, Resulting Numbers: [6, 35] Generated Node #0,1,0: 32:[6, 35] Operation: 48-13=35 Exploring Operation: 48/6=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 32:[13, 8] Operation: 48/6=8 Moving to Node #0,0 Current State: 32:[6, 22, 57], Operations: ['70-13=57'] Exploring Operation: 22-6=16, Resulting Numbers: [57, 16] Generated Node #0,0,0: 32:[57, 16] Operation: 22-6=16 Exploring Operation: 57-22=35, Resulting Numbers: [6, 35] Generated Node #0,0,1: 32:[6, 35] Operation: 57-22=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[6, 35], Operations: ['70-13=57', '57-22=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[57, 16], Operations: ['70-13=57', '22-6=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,32 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: 32:[13, 8], Operations: ['70-22=48', '48/6=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[6, 35], Operations: ['70-22=48', '48-13=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,32 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 55, 66, 26, 23 ]
59
[ "66+26=92", "92/23=4", "55+4=59" ]
Current State: 59:[55, 66, 26, 23], Operations: [] Exploring Operation: 66+26=92, Resulting Numbers: [55, 23, 92] Generated Node #2: [55, 23, 92] from Operation: 66+26=92 Current State: 59:[55, 23, 92], Operations: ['66+26=92'] Exploring Operation: 92/23=4, Resulting Numbers: [55, 4] Generated Node #3: [55, 4] from Operation: 92/23=4 Current State: 59:[55, 4], Operations: ['66+26=92', '92/23=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[55, 66, 26, 23], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [55, 26, 43] Generated Node #0,0: 59:[55, 26, 43] Operation: 66-23=43 Exploring Operation: 66-26=40, Resulting Numbers: [55, 23, 40] Generated Node #0,1: 59:[55, 23, 40] Operation: 66-26=40 Exploring Operation: 55+26=81, Resulting Numbers: [66, 23, 81] Generated Node #0,2: 59:[66, 23, 81] Operation: 55+26=81 Exploring Operation: 26+23=49, Resulting Numbers: [55, 66, 49] Generated Node #0,3: 59:[55, 66, 49] Operation: 26+23=49 Exploring Operation: 55+23=78, Resulting Numbers: [66, 26, 78] Generated Node #0,4: 59:[66, 26, 78] Operation: 55+23=78 Moving to Node #0,3 Current State: 59:[55, 66, 49], Operations: ['26+23=49'] Exploring Operation: 66+49=115, Resulting Numbers: [55, 115] Generated Node #0,3,0: 59:[55, 115] Operation: 66+49=115 Exploring Operation: 66-49=17, Resulting Numbers: [55, 17] Generated Node #0,3,1: 59:[55, 17] Operation: 66-49=17 Exploring Operation: 66-55=11, Resulting Numbers: [49, 11] Generated Node #0,3,2: 59:[49, 11] Operation: 66-55=11 Exploring Operation: 55+49=104, Resulting Numbers: [66, 104] Generated Node #0,3,3: 59:[66, 104] Operation: 55+49=104 Exploring Operation: 55-49=6, Resulting Numbers: [66, 6] Generated Node #0,3,4: 59:[66, 6] Operation: 55-49=6 Moving to Node #0,0 Current State: 59:[55, 26, 43], Operations: ['66-23=43'] Exploring Operation: 55+43=98, Resulting Numbers: [26, 98] Generated Node #0,0,0: 59:[26, 98] Operation: 55+43=98 Exploring Operation: 26+43=69, Resulting Numbers: [55, 69] Generated Node #0,0,1: 59:[55, 69] Operation: 26+43=69 Exploring Operation: 55-26=29, Resulting Numbers: [43, 29] Generated Node #0,0,2: 59:[43, 29] Operation: 55-26=29 Exploring Operation: 43-26=17, Resulting Numbers: [55, 17] Generated Node #0,0,3: 59:[55, 17] Operation: 43-26=17 Exploring Operation: 55+26=81, Resulting Numbers: [43, 81] Generated Node #0,0,4: 59:[43, 81] Operation: 55+26=81 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[55, 69], Operations: ['66-23=43', '26+43=69'] Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,59 unequal: No Solution Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[43, 81], Operations: ['66-23=43', '55+26=81'] Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,59 unequal: No Solution Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[43, 29], Operations: ['66-23=43', '55-26=29'] Exploring Operation: 43*29=1247, Resulting Numbers: [1247] 1247,59 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[55, 17], Operations: ['66-23=43', '43-26=17'] Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[26, 98], Operations: ['66-23=43', '55+43=98'] Exploring Operation: 26+98=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 26*98=2548, Resulting Numbers: [2548] 2548,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[55, 23, 40], Operations: ['66-26=40'] Exploring Operation: 55+40=95, Resulting Numbers: [23, 95] Generated Node #0,1,0: 59:[23, 95] Operation: 55+40=95 Exploring Operation: 23+40=63, Resulting Numbers: [55, 63] Generated Node #0,1,1: 59:[55, 63] Operation: 23+40=63 Exploring Operation: 55-23=32, Resulting Numbers: [40, 32] Generated Node #0,1,2: 59:[40, 32] Operation: 55-23=32 Exploring Operation: 55+23=78, Resulting Numbers: [40, 78] Generated Node #0,1,3: 59:[40, 78] Operation: 55+23=78 Exploring Operation: 40-23=17, Resulting Numbers: [55, 17] Generated Node #0,1,4: 59:[55, 17] Operation: 40-23=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[55, 63], Operations: ['66-26=40', '23+40=63'] Exploring Operation: 55+63=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 55*63=3465, Resulting Numbers: [3465] 3465,59 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[40, 78], Operations: ['66-26=40', '55+23=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[40, 32], Operations: ['66-26=40', '55-23=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,59 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[55, 17], Operations: ['66-26=40', '40-23=17'] Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[23, 95], Operations: ['66-26=40', '55+40=95'] Exploring Operation: 23+95=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 23*95=2185, Resulting Numbers: [2185] 2185,59 unequal: No Solution Exploring Operation: 95-23=72, Resulting Numbers: [72] 72,59 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: 59:[66, 26, 78], Operations: ['55+23=78'] Exploring Operation: 78/26=3, Resulting Numbers: [66, 3] Generated Node #0,4,0: 59:[66, 3] Operation: 78/26=3 Exploring Operation: 26+78=104, Resulting Numbers: [66, 104] Generated Node #0,4,1: 59:[66, 104] Operation: 26+78=104 Exploring Operation: 66+26=92, Resulting Numbers: [78, 92] Generated Node #0,4,2: 59:[78, 92] Operation: 66+26=92 Exploring Operation: 78-26=52, Resulting Numbers: [66, 52] Generated Node #0,4,3: 59:[66, 52] Operation: 78-26=52 Exploring Operation: 66-26=40, Resulting Numbers: [78, 40] Generated Node #0,4,4: 59:[78, 40] Operation: 66-26=40 Moving to Node #0,2 Current State: 59:[66, 23, 81], Operations: ['55+26=81'] Exploring Operation: 66+23=89, Resulting Numbers: [81, 89] Generated Node #0,2,0: 59:[81, 89] Operation: 66+23=89 Exploring Operation: 81-23=58, Resulting Numbers: [66, 58] Generated Node #0,2,1: 59:[66, 58] Operation: 81-23=58 Exploring Operation: 81-66=15, Resulting Numbers: [23, 15] Generated Node #0,2,2: 59:[23, 15] Operation: 81-66=15 Exploring Operation: 23+81=104, Resulting Numbers: [66, 104] Generated Node #0,2,3: 59:[66, 104] Operation: 23+81=104 Exploring Operation: 66-23=43, Resulting Numbers: [81, 43] Generated Node #0,2,4: 59:[81, 43] Operation: 66-23=43 Moving to Node #0,2,1 Current State: 59:[66, 58], Operations: ['55+26=81', '81-23=58'] Exploring Operation: 66+58=124, Resulting Numbers: [124] 124,59 unequal: No Solution Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 66*58=3828, Resulting Numbers: [3828] 3828,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[66, 52], Operations: ['55+23=78', '78-26=52'] Exploring Operation: 66*52=3432, Resulting Numbers: [3432] 3432,59 unequal: No Solution Exploring Operation: 66+52=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[78, 40], Operations: ['55+23=78', '66-26=40'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 78*40=3120, Resulting Numbers: [3120] 3120,59 unequal: No Solution Exploring Operation: 78+40=118, Resulting Numbers: [118] 118,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[81, 43], Operations: ['55+26=81', '66-23=43'] Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,59 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[55, 17], Operations: ['26+23=49', '66-49=17'] Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,59 unequal: No Solution Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[66, 104], Operations: ['55+26=81', '23+81=104'] Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[81, 89], Operations: ['55+26=81', '66+23=89'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 81*89=7209, Resulting Numbers: [7209] 7209,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[66, 104], Operations: ['26+23=49', '55+49=104'] Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[66, 104], Operations: ['55+23=78', '26+78=104'] Exploring Operation: 66*104=6864, Resulting Numbers: [6864] 6864,59 unequal: No Solution Exploring Operation: 66+104=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 104-66=38, Resulting Numbers: [38] 38,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[78, 92], Operations: ['55+23=78', '66+26=92'] Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,59 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[49, 11], Operations: ['26+23=49', '66-55=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,59 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[66, 6], Operations: ['26+23=49', '55-49=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,59 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[55, 115], Operations: ['26+23=49', '66+49=115'] Exploring Operation: 115-55=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 55+115=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 55*115=6325, Resulting Numbers: [6325] 6325,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[66, 3], Operations: ['55+23=78', '78/26=3'] Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,59 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,59 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[23, 15], Operations: ['55+26=81', '81-66=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,59 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 98, 74, 30, 54 ]
60
[ "98-74=24", "30+54=84", "84-24=60" ]
Current State: 60:[98, 74, 30, 54], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [30, 54, 24] Generated Node #2: [30, 54, 24] from Operation: 98-74=24 Current State: 60:[30, 54, 24], Operations: ['98-74=24'] Exploring Operation: 30+54=84, Resulting Numbers: [24, 84] Generated Node #3: [24, 84] from Operation: 30+54=84 Current State: 60:[24, 84], Operations: ['98-74=24', '30+54=84'] Exploring Operation: 84-24=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[98, 74, 30, 54], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [74, 54, 68] Generated Node #0,0: 60:[74, 54, 68] Operation: 98-30=68 Exploring Operation: 98-74=24, Resulting Numbers: [30, 54, 24] Generated Node #0,1: 60:[30, 54, 24] Operation: 98-74=24 Exploring Operation: 98-54=44, Resulting Numbers: [74, 30, 44] Generated Node #0,2: 60:[74, 30, 44] Operation: 98-54=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[30, 54, 24], Operations: ['98-74=24'] Exploring Operation: 30-24=6, Resulting Numbers: [54, 6] Generated Node #0,1,0: 60:[54, 6] Operation: 30-24=6 Exploring Operation: 54-30=24, Resulting Numbers: [24, 24] Generated Node #0,1,1: 60:[24, 24] Operation: 54-30=24 Exploring Operation: 54-24=30, Resulting Numbers: [30, 30] Generated Node #0,1,2: 60:[30, 30] Operation: 54-24=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[30, 30], Operations: ['98-74=24', '54-24=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[98, 74, 30, 54], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [30, 54, 24] Generated Node #0,1: 60:[30, 54, 24] Operation: 98-74=24 Moving to Node #0,1 Current State: 60:[30, 54, 24], Operations: ['98-74=24'] Exploring Operation: 54-24=30, Resulting Numbers: [30, 30] Generated Node #0,1,2: 60:[30, 30] Operation: 54-24=30 Moving to Node #0,1,2 Current State: 60:[30, 30], Operations: ['98-74=24', '54-24=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 84, 30, 5, 62 ]
76
[ "84*5=420", "420/30=14", "62+14=76" ]
Current State: 76:[84, 30, 5, 62], Operations: [] Exploring Operation: 84*5=420, Resulting Numbers: [30, 62, 420] Generated Node #2: [30, 62, 420] from Operation: 84*5=420 Current State: 76:[30, 62, 420], Operations: ['84*5=420'] Exploring Operation: 420/30=14, Resulting Numbers: [62, 14] Generated Node #3: [62, 14] from Operation: 420/30=14 Current State: 76:[62, 14], Operations: ['84*5=420', '420/30=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[84, 30, 5, 62], Operations: [] Exploring Operation: 84-62=22, Resulting Numbers: [30, 5, 22] Generated Node #0,0: 76:[30, 5, 22] Operation: 84-62=22 Moving to Node #0,0 Current State: 76:[30, 5, 22], Operations: ['84-62=22'] Exploring Operation: 30/5=6, Resulting Numbers: [22, 6] Generated Node #0,0,0: 76:[22, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[22, 6], Operations: ['84-62=22', '30/5=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 90, 5, 67, 9 ]
62
[ "90/9=10", "5+67=72", "72-10=62" ]
Current State: 62:[90, 5, 67, 9], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [5, 67, 10] Generated Node #2: [5, 67, 10] from Operation: 90/9=10 Current State: 62:[5, 67, 10], Operations: ['90/9=10'] Exploring Operation: 5+67=72, Resulting Numbers: [10, 72] Generated Node #3: [10, 72] from Operation: 5+67=72 Current State: 62:[10, 72], Operations: ['90/9=10', '5+67=72'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[90, 5, 67, 9], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [5, 9, 23] Generated Node #0,0: 62:[5, 9, 23] Operation: 90-67=23 Exploring Operation: 90-5=85, Resulting Numbers: [67, 9, 85] Generated Node #0,1: 62:[67, 9, 85] Operation: 90-5=85 Exploring Operation: 90/5=18, Resulting Numbers: [67, 9, 18] Generated Node #0,2: 62:[67, 9, 18] Operation: 90/5=18 Exploring Operation: 90/9=10, Resulting Numbers: [5, 67, 10] Generated Node #0,3: 62:[5, 67, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [5, 67, 81] Generated Node #0,4: 62:[5, 67, 81] Operation: 90-9=81 Moving to Node #0,3 Current State: 62:[5, 67, 10], Operations: ['90/9=10'] Exploring Operation: 10-5=5, Resulting Numbers: [67, 5] Generated Node #0,3,0: 62:[67, 5] Operation: 10-5=5 Exploring Operation: 67-5=62, Resulting Numbers: [10, 62] Generated Node #0,3,1: 62:[10, 62] Operation: 67-5=62 Exploring Operation: 67-10=57, Resulting Numbers: [5, 57] Generated Node #0,3,2: 62:[5, 57] Operation: 67-10=57 Exploring Operation: 10/5=2, Resulting Numbers: [67, 2] Generated Node #0,3,3: 62:[67, 2] Operation: 10/5=2 Exploring Operation: 5*10=50, Resulting Numbers: [67, 50] Generated Node #0,3,4: 62:[67, 50] Operation: 5*10=50 Moving to Node #0,0 Current State: 62:[5, 9, 23], Operations: ['90-67=23'] Exploring Operation: 9+23=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 62:[5, 32] Operation: 9+23=32 Exploring Operation: 5+23=28, Resulting Numbers: [9, 28] Generated Node #0,0,1: 62:[9, 28] Operation: 5+23=28 Exploring Operation: 9-5=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 62:[23, 4] Operation: 9-5=4 Exploring Operation: 23-9=14, Resulting Numbers: [5, 14] Generated Node #0,0,3: 62:[5, 14] Operation: 23-9=14 Exploring Operation: 5+9=14, Resulting Numbers: [23, 14] Generated Node #0,0,4: 62:[23, 14] Operation: 5+9=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[5, 32], Operations: ['90-67=23', '9+23=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,62 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[9, 28], Operations: ['90-67=23', '5+23=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,62 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[23, 4], Operations: ['90-67=23', '9-5=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,62 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[5, 14], Operations: ['90-67=23', '23-9=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,62 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 62:[23, 14], Operations: ['90-67=23', '5+9=14'] Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,62 unequal: No Solution Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,62 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: 62:[67, 9, 18], Operations: ['90/5=18'] Exploring Operation: 18-9=9, Resulting Numbers: [67, 9] Generated Node #0,2,0: 62:[67, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [67, 2] Generated Node #0,2,1: 62:[67, 2] Operation: 18/9=2 Exploring Operation: 9+18=27, Resulting Numbers: [67, 27] Generated Node #0,2,2: 62:[67, 27] Operation: 9+18=27 Exploring Operation: 67-18=49, Resulting Numbers: [9, 49] Generated Node #0,2,3: 62:[9, 49] Operation: 67-18=49 Exploring Operation: 67-9=58, Resulting Numbers: [18, 58] Generated Node #0,2,4: 62:[18, 58] Operation: 67-9=58 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[67, 2], Operations: ['90/5=18', '18/9=2'] Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,62 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[67, 27], Operations: ['90/5=18', '9+18=27'] Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,62 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[67, 9], Operations: ['90/5=18', '18-9=9'] Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 67+9=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 67*9=603, Resulting Numbers: [603] 603,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 62:[18, 58], Operations: ['90/5=18', '67-9=58'] Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,62 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[9, 49], Operations: ['90/5=18', '67-18=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,62 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,62 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: 62:[5, 67, 81], Operations: ['90-9=81'] Exploring Operation: 81-67=14, Resulting Numbers: [5, 14] Generated Node #0,4,0: 62:[5, 14] Operation: 81-67=14 Exploring Operation: 5+67=72, Resulting Numbers: [81, 72] Generated Node #0,4,1: 62:[81, 72] Operation: 5+67=72 Exploring Operation: 81-5=76, Resulting Numbers: [67, 76] Generated Node #0,4,2: 62:[67, 76] Operation: 81-5=76 Exploring Operation: 67-5=62, Resulting Numbers: [81, 62] Generated Node #0,4,3: 62:[81, 62] Operation: 67-5=62 Exploring Operation: 5+81=86, Resulting Numbers: [67, 86] Generated Node #0,4,4: 62:[67, 86] Operation: 5+81=86 Moving to Node #0,1 Current State: 62:[67, 9, 85], Operations: ['90-5=85'] Exploring Operation: 67+9=76, Resulting Numbers: [85, 76] Generated Node #0,1,0: 62:[85, 76] Operation: 67+9=76 Exploring Operation: 9+85=94, Resulting Numbers: [67, 94] Generated Node #0,1,1: 62:[67, 94] Operation: 9+85=94 Exploring Operation: 85-67=18, Resulting Numbers: [9, 18] Generated Node #0,1,2: 62:[9, 18] Operation: 85-67=18 Exploring Operation: 85-9=76, Resulting Numbers: [67, 76] Generated Node #0,1,3: 62:[67, 76] Operation: 85-9=76 Exploring Operation: 67-9=58, Resulting Numbers: [85, 58] Generated Node #0,1,4: 62:[85, 58] Operation: 67-9=58 Moving to Node #0,3,3 Current State: 62:[67, 2], Operations: ['90/9=10', '10/5=2'] Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,62 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[10, 62], Operations: ['90/9=10', '67-5=62'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,62 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[67, 5], Operations: ['90/9=10', '10-5=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[90, 5, 67, 9], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [5, 67, 10] Generated Node #0,3: 62:[5, 67, 10] Operation: 90/9=10 Moving to Node #0,3 Current State: 62:[5, 67, 10], Operations: ['90/9=10'] Exploring Operation: 10-5=5, Resulting Numbers: [67, 5] Generated Node #0,3,0: 62:[67, 5] Operation: 10-5=5 Moving to Node #0,3,0 Current State: 62:[67, 5], Operations: ['90/9=10', '10-5=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.9375
hs_5
mult_heuristic
[ 42, 57, 66, 50 ]
83
[ "42+57=99", "66-50=16", "99-16=83" ]
Current State: 83:[42, 57, 66, 50], Operations: [] Exploring Operation: 42+57=99, Resulting Numbers: [66, 50, 99] Generated Node #2: [66, 50, 99] from Operation: 42+57=99 Current State: 83:[66, 50, 99], Operations: ['42+57=99'] Exploring Operation: 66-50=16, Resulting Numbers: [99, 16] Generated Node #3: [99, 16] from Operation: 66-50=16 Current State: 83:[99, 16], Operations: ['42+57=99', '66-50=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[42, 57, 66, 50], Operations: [] Exploring Operation: 42+66=108, Resulting Numbers: [57, 50, 108] Generated Node #0,0: 83:[57, 50, 108] Operation: 42+66=108 Exploring Operation: 42+57=99, Resulting Numbers: [66, 50, 99] Generated Node #0,1: 83:[66, 50, 99] Operation: 42+57=99 Exploring Operation: 57+50=107, Resulting Numbers: [42, 66, 107] Generated Node #0,2: 83:[42, 66, 107] Operation: 57+50=107 Exploring Operation: 42+50=92, Resulting Numbers: [57, 66, 92] Generated Node #0,3: 83:[57, 66, 92] Operation: 42+50=92 Moving to Node #0,3 Current State: 83:[57, 66, 92], Operations: ['42+50=92'] Exploring Operation: 66-57=9, Resulting Numbers: [92, 9] Generated Node #0,3,0: 83:[92, 9] Operation: 66-57=9 Exploring Operation: 57+66=123, Resulting Numbers: [92, 123] Generated Node #0,3,1: 83:[92, 123] Operation: 57+66=123 Exploring Operation: 92-57=35, Resulting Numbers: [66, 35] Generated Node #0,3,2: 83:[66, 35] Operation: 92-57=35 Exploring Operation: 57+92=149, Resulting Numbers: [66, 149] Generated Node #0,3,3: 83:[66, 149] Operation: 57+92=149 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[92, 123], Operations: ['42+50=92', '57+66=123'] Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,83 unequal: No Solution Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[66, 35], Operations: ['42+50=92', '92-57=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,83 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,83 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[92, 9], Operations: ['42+50=92', '66-57=9'] Exploring Operation: 92+9=101, Resulting Numbers: [101] 101,83 unequal: No Solution Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[42, 57, 66, 50], Operations: [] Exploring Operation: 42+50=92, Resulting Numbers: [57, 66, 92] Generated Node #0,3: 83:[57, 66, 92] Operation: 42+50=92 Moving to Node #0,3 Current State: 83:[57, 66, 92], Operations: ['42+50=92'] Exploring Operation: 66-57=9, Resulting Numbers: [92, 9] Generated Node #0,3,0: 83:[92, 9] Operation: 66-57=9 Moving to Node #0,3,0 Current State: 83:[92, 9], Operations: ['42+50=92', '66-57=9'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 39, 46, 93, 15 ]
36
[ "46-15=31", "93/31=3", "39-3=36" ]
Current State: 36:[39, 46, 93, 15], Operations: [] Exploring Operation: 46-15=31, Resulting Numbers: [39, 93, 31] Generated Node #2: [39, 93, 31] from Operation: 46-15=31 Current State: 36:[39, 93, 31], Operations: ['46-15=31'] Exploring Operation: 93/31=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 93/31=3 Current State: 36:[39, 3], Operations: ['46-15=31', '93/31=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[39, 46, 93, 15], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [39, 15, 47] Generated Node #0,0: 36:[39, 15, 47] Operation: 93-46=47 Exploring Operation: 93-39=54, Resulting Numbers: [46, 15, 54] Generated Node #0,1: 36:[46, 15, 54] Operation: 93-39=54 Moving to Node #0,0 Current State: 36:[39, 15, 47], Operations: ['93-46=47'] Exploring Operation: 47-39=8, Resulting Numbers: [15, 8] Generated Node #0,0,0: 36:[15, 8] Operation: 47-39=8 Exploring Operation: 47-15=32, Resulting Numbers: [39, 32] Generated Node #0,0,1: 36:[39, 32] Operation: 47-15=32 Moving to Node #0,1 Current State: 36:[46, 15, 54], Operations: ['93-39=54'] Exploring Operation: 54-15=39, Resulting Numbers: [46, 39] Generated Node #0,1,0: 36:[46, 39] Operation: 54-15=39 Exploring Operation: 54-46=8, Resulting Numbers: [15, 8] Generated Node #0,1,1: 36:[15, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[15, 8], Operations: ['93-39=54', '54-46=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[46, 39], Operations: ['93-39=54', '54-15=39'] Exploring Operation: 46+39=85, Resulting Numbers: [85] 85,36 unequal: No Solution Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,36 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: 36:[15, 8], Operations: ['93-46=47', '47-39=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[39, 32], Operations: ['93-46=47', '47-15=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,36 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,36 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 96, 16, 20, 98 ]
84
[ "96/16=6", "98-20=78", "6+78=84" ]
Current State: 84:[96, 16, 20, 98], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [20, 98, 6] Generated Node #2: [20, 98, 6] from Operation: 96/16=6 Current State: 84:[20, 98, 6], Operations: ['96/16=6'] Exploring Operation: 98-20=78, Resulting Numbers: [6, 78] Generated Node #3: [6, 78] from Operation: 98-20=78 Current State: 84:[6, 78], Operations: ['96/16=6', '98-20=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[96, 16, 20, 98], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [20, 98, 6] Generated Node #0,0: 84:[20, 98, 6] Operation: 96/16=6 Exploring Operation: 98-96=2, Resulting Numbers: [16, 20, 2] Generated Node #0,1: 84:[16, 20, 2] Operation: 98-96=2 Exploring Operation: 98-16=82, Resulting Numbers: [96, 20, 82] Generated Node #0,2: 84:[96, 20, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[16, 20, 2], Operations: ['98-96=2'] Exploring Operation: 20-16=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 84:[2, 4] Operation: 20-16=4 Exploring Operation: 16/2=8, Resulting Numbers: [20, 8] Generated Node #0,1,1: 84:[20, 8] Operation: 16/2=8 Exploring Operation: 16-2=14, Resulting Numbers: [20, 14] Generated Node #0,1,2: 84:[20, 14] Operation: 16-2=14 Moving to Node #0,1,0 Current State: 84:[2, 4], Operations: ['98-96=2', '20-16=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[20, 14], Operations: ['98-96=2', '16-2=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[20, 8], Operations: ['98-96=2', '16/2=8'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,84 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[20, 98, 6], Operations: ['96/16=6'] Exploring Operation: 20-6=14, Resulting Numbers: [98, 14] Generated Node #0,0,0: 84:[98, 14] Operation: 20-6=14 Exploring Operation: 98-6=92, Resulting Numbers: [20, 92] Generated Node #0,0,1: 84:[20, 92] Operation: 98-6=92 Exploring Operation: 98-20=78, Resulting Numbers: [6, 78] Generated Node #0,0,2: 84:[6, 78] Operation: 98-20=78 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[6, 78], Operations: ['96/16=6', '98-20=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[96, 16, 20, 98], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [20, 98, 6] Generated Node #0,0: 84:[20, 98, 6] Operation: 96/16=6 Moving to Node #0,0 Current State: 84:[20, 98, 6], Operations: ['96/16=6'] Exploring Operation: 98-20=78, Resulting Numbers: [6, 78] Generated Node #0,0,2: 84:[6, 78] Operation: 98-20=78 Moving to Node #0,0,2 Current State: 84:[6, 78], Operations: ['96/16=6', '98-20=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 59, 3, 57, 96 ]
51
[ "59-57=2", "96/2=48", "3+48=51" ]
Current State: 51:[59, 3, 57, 96], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [3, 96, 2] Generated Node #2: [3, 96, 2] from Operation: 59-57=2 Current State: 51:[3, 96, 2], Operations: ['59-57=2'] Exploring Operation: 96/2=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 96/2=48 Current State: 51:[3, 48], Operations: ['59-57=2', '96/2=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 3, 57, 96], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [59, 3, 39] Generated Node #0,0: 51:[59, 3, 39] Operation: 96-57=39 Exploring Operation: 96-59=37, Resulting Numbers: [3, 57, 37] Generated Node #0,1: 51:[3, 57, 37] Operation: 96-59=37 Moving to Node #0,0 Current State: 51:[59, 3, 39], Operations: ['96-57=39'] Exploring Operation: 59-39=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 51:[3, 20] Operation: 59-39=20 Exploring Operation: 39/3=13, Resulting Numbers: [59, 13] Generated Node #0,0,1: 51:[59, 13] Operation: 39/3=13 Moving to Node #0,1 Current State: 51:[3, 57, 37], Operations: ['96-59=37'] Exploring Operation: 57-37=20, Resulting Numbers: [3, 20] Generated Node #0,1,0: 51:[3, 20] Operation: 57-37=20 Exploring Operation: 57/3=19, Resulting Numbers: [37, 19] Generated Node #0,1,1: 51:[37, 19] Operation: 57/3=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[3, 20], Operations: ['96-59=37', '57-37=20'] Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[37, 19], Operations: ['96-59=37', '57/3=19'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,51 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: 51:[3, 20], Operations: ['96-57=39', '59-39=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,51 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[59, 13], Operations: ['96-57=39', '39/3=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 42, 4, 18 ]
62
[ "34+42=76", "18-4=14", "76-14=62" ]
Current State: 62:[34, 42, 4, 18], Operations: [] Exploring Operation: 34+42=76, Resulting Numbers: [4, 18, 76] Generated Node #2: [4, 18, 76] from Operation: 34+42=76 Current State: 62:[4, 18, 76], Operations: ['34+42=76'] Exploring Operation: 18-4=14, Resulting Numbers: [76, 14] Generated Node #3: [76, 14] from Operation: 18-4=14 Current State: 62:[76, 14], Operations: ['34+42=76', '18-4=14'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[34, 42, 4, 18], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [4, 18, 8] Generated Node #0,0: 62:[4, 18, 8] Operation: 42-34=8 Exploring Operation: 42+18=60, Resulting Numbers: [34, 4, 60] Generated Node #0,1: 62:[34, 4, 60] Operation: 42+18=60 Exploring Operation: 42-18=24, Resulting Numbers: [34, 4, 24] Generated Node #0,2: 62:[34, 4, 24] Operation: 42-18=24 Moving to Node #0,1 Current State: 62:[34, 4, 60], Operations: ['42+18=60'] Exploring Operation: 60-34=26, Resulting Numbers: [4, 26] Generated Node #0,1,0: 62:[4, 26] Operation: 60-34=26 Exploring Operation: 34-4=30, Resulting Numbers: [60, 30] Generated Node #0,1,1: 62:[60, 30] Operation: 34-4=30 Exploring Operation: 4+60=64, Resulting Numbers: [34, 64] Generated Node #0,1,2: 62:[34, 64] Operation: 4+60=64 Moving to Node #0,2 Current State: 62:[34, 4, 24], Operations: ['42-18=24'] Exploring Operation: 24/4=6, Resulting Numbers: [34, 6] Generated Node #0,2,0: 62:[34, 6] Operation: 24/4=6 Exploring Operation: 4+24=28, Resulting Numbers: [34, 28] Generated Node #0,2,1: 62:[34, 28] Operation: 4+24=28 Exploring Operation: 34+24=58, Resulting Numbers: [4, 58] Generated Node #0,2,2: 62:[4, 58] Operation: 34+24=58 Moving to Node #0,0 Current State: 62:[4, 18, 8], Operations: ['42-34=8'] Exploring Operation: 18+8=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 62:[4, 26] Operation: 18+8=26 Exploring Operation: 18-8=10, Resulting Numbers: [4, 10] Generated Node #0,0,1: 62:[4, 10] Operation: 18-8=10 Exploring Operation: 8/4=2, Resulting Numbers: [18, 2] Generated Node #0,0,2: 62:[18, 2] Operation: 8/4=2 Moving to Node #0,1,1 Current State: 62:[60, 30], Operations: ['42+18=60', '34-4=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[34, 64], Operations: ['42+18=60', '4+60=64'] Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,62 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[4, 58], Operations: ['42-18=24', '34+24=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[34, 42, 4, 18], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [34, 4, 24] Generated Node #0,2: 62:[34, 4, 24] Operation: 42-18=24 Moving to Node #0,2 Current State: 62:[34, 4, 24], Operations: ['42-18=24'] Exploring Operation: 34+24=58, Resulting Numbers: [4, 58] Generated Node #0,2,2: 62:[4, 58] Operation: 34+24=58 Moving to Node #0,2,2 Current State: 62:[4, 58], Operations: ['42-18=24', '34+24=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.980035
hs_3
sum_heuristic
[ 4, 9, 35, 96 ]
89
[ "9-4=5", "35/5=7", "96-7=89" ]
Current State: 89:[4, 9, 35, 96], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [35, 96, 5] Generated Node #2: [35, 96, 5] from Operation: 9-4=5 Current State: 89:[35, 96, 5], Operations: ['9-4=5'] Exploring Operation: 35/5=7, Resulting Numbers: [96, 7] Generated Node #3: [96, 7] from Operation: 35/5=7 Current State: 89:[96, 7], Operations: ['9-4=5', '35/5=7'] Exploring Operation: 96-7=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[4, 9, 35, 96], Operations: [] Exploring Operation: 4*9=36, Resulting Numbers: [35, 96, 36] Generated Node #0,0: 89:[35, 96, 36] Operation: 4*9=36 Moving to Node #0,0 Current State: 89:[35, 96, 36], Operations: ['4*9=36'] Exploring Operation: 35+36=71, Resulting Numbers: [96, 71] Generated Node #0,0,0: 89:[96, 71] Operation: 35+36=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[96, 71], Operations: ['4*9=36', '35+36=71'] Exploring Operation: 96-71=25, Resulting Numbers: [25] 25,89 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
[ 48, 95, 78, 61 ]
89
[ "61-48=13", "78/13=6", "95-6=89" ]
Current State: 89:[48, 95, 78, 61], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [95, 78, 13] Generated Node #2: [95, 78, 13] from Operation: 61-48=13 Current State: 89:[95, 78, 13], Operations: ['61-48=13'] Exploring Operation: 78/13=6, Resulting Numbers: [95, 6] Generated Node #3: [95, 6] from Operation: 78/13=6 Current State: 89:[95, 6], Operations: ['61-48=13', '78/13=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[48, 95, 78, 61], Operations: [] Exploring Operation: 95-48=47, Resulting Numbers: [78, 61, 47] Generated Node #0,0: 89:[78, 61, 47] Operation: 95-48=47 Exploring Operation: 48+61=109, Resulting Numbers: [95, 78, 109] Generated Node #0,1: 89:[95, 78, 109] Operation: 48+61=109 Exploring Operation: 48+78=126, Resulting Numbers: [95, 61, 126] Generated Node #0,2: 89:[95, 61, 126] Operation: 48+78=126 Moving to Node #0,1 Current State: 89:[95, 78, 109], Operations: ['48+61=109'] Exploring Operation: 109-78=31, Resulting Numbers: [95, 31] Generated Node #0,1,0: 89:[95, 31] Operation: 109-78=31 Exploring Operation: 95-78=17, Resulting Numbers: [109, 17] Generated Node #0,1,1: 89:[109, 17] Operation: 95-78=17 Exploring Operation: 109-95=14, Resulting Numbers: [78, 14] Generated Node #0,1,2: 89:[78, 14] Operation: 109-95=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[95, 31], Operations: ['48+61=109', '109-78=31'] Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,89 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[78, 14], Operations: ['48+61=109', '109-95=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,89 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[109, 17], Operations: ['48+61=109', '95-78=17'] Exploring Operation: 109+17=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 109-17=92, Resulting Numbers: [92] 92,89 unequal: No Solution Exploring Operation: 109*17=1853, Resulting Numbers: [1853] 1853,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 89:[95, 61, 126], Operations: ['48+78=126'] Exploring Operation: 126-61=65, Resulting Numbers: [95, 65] Generated Node #0,2,0: 89:[95, 65] Operation: 126-61=65 Exploring Operation: 126-95=31, Resulting Numbers: [61, 31] Generated Node #0,2,1: 89:[61, 31] Operation: 126-95=31 Exploring Operation: 95-61=34, Resulting Numbers: [126, 34] Generated Node #0,2,2: 89:[126, 34] Operation: 95-61=34 Moving to Node #0,0 Current State: 89:[78, 61, 47], Operations: ['95-48=47'] Exploring Operation: 78-47=31, Resulting Numbers: [61, 31] Generated Node #0,0,0: 89:[61, 31] Operation: 78-47=31 Exploring Operation: 78+47=125, Resulting Numbers: [61, 125] Generated Node #0,0,1: 89:[61, 125] Operation: 78+47=125 Exploring Operation: 61+47=108, Resulting Numbers: [78, 108] Generated Node #0,0,2: 89:[78, 108] Operation: 61+47=108 Moving to Node #0,2,0 Current State: 89:[95, 65], Operations: ['48+78=126', '126-61=65'] Exploring Operation: 95*65=6175, Resulting Numbers: [6175] 6175,89 unequal: No Solution Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[78, 108], Operations: ['95-48=47', '61+47=108'] Exploring Operation: 78+108=186, Resulting Numbers: [186] 186,89 unequal: No Solution Exploring Operation: 108-78=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 78*108=8424, Resulting Numbers: [8424] 8424,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[61, 125], Operations: ['95-48=47', '78+47=125'] Exploring Operation: 125-61=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 61*125=7625, Resulting Numbers: [7625] 7625,89 unequal: No Solution Exploring Operation: 61+125=186, Resulting Numbers: [186] 186,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[61, 31], Operations: ['95-48=47', '78-47=31'] Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,89 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[61, 31], Operations: ['48+78=126', '126-95=31'] Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,89 unequal: No Solution Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[126, 34], Operations: ['48+78=126', '95-61=34'] Exploring Operation: 126+34=160, Resulting Numbers: [160] 160,89 unequal: No Solution Exploring Operation: 126*34=4284, Resulting Numbers: [4284] 4284,89 unequal: No Solution Exploring Operation: 126-34=92, Resulting Numbers: [92] 92,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 70, 43, 19, 64 ]
18
[ "70-43=27", "64-19=45", "45-27=18" ]
Current State: 18:[70, 43, 19, 64], Operations: [] Exploring Operation: 70-43=27, Resulting Numbers: [19, 64, 27] Generated Node #2: [19, 64, 27] from Operation: 70-43=27 Current State: 18:[19, 64, 27], Operations: ['70-43=27'] Exploring Operation: 64-19=45, Resulting Numbers: [27, 45] Generated Node #3: [27, 45] from Operation: 64-19=45 Current State: 18:[27, 45], Operations: ['70-43=27', '64-19=45'] Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[70, 43, 19, 64], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [70, 19, 21] Generated Node #0,0: 18:[70, 19, 21] Operation: 64-43=21 Exploring Operation: 70-19=51, Resulting Numbers: [43, 64, 51] Generated Node #0,1: 18:[43, 64, 51] Operation: 70-19=51 Exploring Operation: 70-43=27, Resulting Numbers: [19, 64, 27] Generated Node #0,2: 18:[19, 64, 27] Operation: 70-43=27 Exploring Operation: 70-64=6, Resulting Numbers: [43, 19, 6] Generated Node #0,3: 18:[43, 19, 6] Operation: 70-64=6 Moving to Node #0,3 Current State: 18:[43, 19, 6], Operations: ['70-64=6'] Exploring Operation: 43-6=37, Resulting Numbers: [19, 37] Generated Node #0,3,0: 18:[19, 37] Operation: 43-6=37 Exploring Operation: 43+6=49, Resulting Numbers: [19, 49] Generated Node #0,3,1: 18:[19, 49] Operation: 43+6=49 Exploring Operation: 43-19=24, Resulting Numbers: [6, 24] Generated Node #0,3,2: 18:[6, 24] Operation: 43-19=24 Exploring Operation: 19-6=13, Resulting Numbers: [43, 13] Generated Node #0,3,3: 18:[43, 13] Operation: 19-6=13 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[6, 24], Operations: ['70-64=6', '43-19=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[70, 43, 19, 64], Operations: [] Exploring Operation: 70-64=6, Resulting Numbers: [43, 19, 6] Generated Node #0,3: 18:[43, 19, 6] Operation: 70-64=6 Moving to Node #0,3 Current State: 18:[43, 19, 6], Operations: ['70-64=6'] Exploring Operation: 43-19=24, Resulting Numbers: [6, 24] Generated Node #0,3,2: 18:[6, 24] Operation: 43-19=24 Moving to Node #0,3,2 Current State: 18:[6, 24], Operations: ['70-64=6', '43-19=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 95, 46, 66, 26 ]
91
[ "95+66=161", "26*161=4186", "4186/46=91" ]
Current State: 91:[95, 46, 66, 26], Operations: [] Exploring Operation: 95+66=161, Resulting Numbers: [46, 26, 161] Generated Node #2: [46, 26, 161] from Operation: 95+66=161 Current State: 91:[46, 26, 161], Operations: ['95+66=161'] Exploring Operation: 26*161=4186, Resulting Numbers: [46, 4186] Generated Node #3: [46, 4186] from Operation: 26*161=4186 Current State: 91:[46, 4186], Operations: ['95+66=161', '26*161=4186'] Exploring Operation: 4186/46=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[95, 46, 66, 26], Operations: [] Exploring Operation: 46-26=20, Resulting Numbers: [95, 66, 20] Generated Node #0,0: 91:[95, 66, 20] Operation: 46-26=20 Exploring Operation: 66+26=92, Resulting Numbers: [95, 46, 92] Generated Node #0,1: 91:[95, 46, 92] Operation: 66+26=92 Exploring Operation: 46+66=112, Resulting Numbers: [95, 26, 112] Generated Node #0,2: 91:[95, 26, 112] Operation: 46+66=112 Exploring Operation: 66-46=20, Resulting Numbers: [95, 26, 20] Generated Node #0,3: 91:[95, 26, 20] Operation: 66-46=20 Moving to Node #0,3 Current State: 91:[95, 26, 20], Operations: ['66-46=20'] Exploring Operation: 95-20=75, Resulting Numbers: [26, 75] Generated Node #0,3,0: 91:[26, 75] Operation: 95-20=75 Exploring Operation: 95+26=121, Resulting Numbers: [20, 121] Generated Node #0,3,1: 91:[20, 121] Operation: 95+26=121 Exploring Operation: 95-26=69, Resulting Numbers: [20, 69] Generated Node #0,3,2: 91:[20, 69] Operation: 95-26=69 Exploring Operation: 26-20=6, Resulting Numbers: [95, 6] Generated Node #0,3,3: 91:[95, 6] Operation: 26-20=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 91:[95, 6], Operations: ['66-46=20', '26-20=6'] Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,91 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 91:[26, 75], Operations: ['66-46=20', '95-20=75'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,91 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,91 unequal: No Solution Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 91:[20, 69], Operations: ['66-46=20', '95-26=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,91 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,91 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 91:[20, 121], Operations: ['66-46=20', '95+26=121'] Exploring Operation: 20*121=2420, Resulting Numbers: [2420] 2420,91 unequal: No Solution Exploring Operation: 121-20=101, Resulting Numbers: [101] 101,91 unequal: No Solution Exploring Operation: 20+121=141, Resulting Numbers: [141] 141,91 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: 91:[95, 66, 20], Operations: ['46-26=20'] Exploring Operation: 95-66=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 91:[20, 29] Operation: 95-66=29 Exploring Operation: 95-20=75, Resulting Numbers: [66, 75] Generated Node #0,0,1: 91:[66, 75] Operation: 95-20=75 Exploring Operation: 66+20=86, Resulting Numbers: [95, 86] Generated Node #0,0,2: 91:[95, 86] Operation: 66+20=86 Exploring Operation: 66-20=46, Resulting Numbers: [95, 46] Generated Node #0,0,3: 91:[95, 46] Operation: 66-20=46 Moving to Node #0,2 Current State: 91:[95, 26, 112], Operations: ['46+66=112'] Exploring Operation: 112-95=17, Resulting Numbers: [26, 17] Generated Node #0,2,0: 91:[26, 17] Operation: 112-95=17 Exploring Operation: 95+26=121, Resulting Numbers: [112, 121] Generated Node #0,2,1: 91:[112, 121] Operation: 95+26=121 Exploring Operation: 112-26=86, Resulting Numbers: [95, 86] Generated Node #0,2,2: 91:[95, 86] Operation: 112-26=86 Exploring Operation: 95-26=69, Resulting Numbers: [112, 69] Generated Node #0,2,3: 91:[112, 69] Operation: 95-26=69 Moving to Node #0,1 Current State: 91:[95, 46, 92], Operations: ['66+26=92'] Exploring Operation: 92/46=2, Resulting Numbers: [95, 2] Generated Node #0,1,0: 91:[95, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [95, 46] Generated Node #0,1,1: 91:[95, 46] Operation: 92-46=46 Exploring Operation: 95-46=49, Resulting Numbers: [92, 49] Generated Node #0,1,2: 91:[92, 49] Operation: 95-46=49 Exploring Operation: 95-92=3, Resulting Numbers: [46, 3] Generated Node #0,1,3: 91:[46, 3] Operation: 95-92=3 Moving to Node #0,0,2 Current State: 91:[95, 86], Operations: ['46-26=20', '66+20=86'] Exploring Operation: 95*86=8170, Resulting Numbers: [8170] 8170,91 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[95, 86], Operations: ['46+66=112', '112-26=86'] Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,91 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 95*86=8170, Resulting Numbers: [8170] 8170,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[95, 2], Operations: ['66+26=92', '92/46=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,91 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[26, 17], Operations: ['46+66=112', '112-95=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,91 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[20, 29], Operations: ['46-26=20', '95-66=29'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,91 unequal: No Solution Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[95, 46], Operations: ['46-26=20', '66-20=46'] Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,91 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[92, 49], Operations: ['66+26=92', '95-46=49'] Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,91 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[95, 46], Operations: ['66+26=92', '92-46=46'] Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,91 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[46, 3], Operations: ['66+26=92', '95-92=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,91 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[66, 75], Operations: ['46-26=20', '95-20=75'] Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 66+75=141, Resulting Numbers: [141] 141,91 unequal: No Solution Exploring Operation: 66*75=4950, Resulting Numbers: [4950] 4950,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[112, 69], Operations: ['46+66=112', '95-26=69'] Exploring Operation: 112+69=181, Resulting Numbers: [181] 181,91 unequal: No Solution Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 112*69=7728, Resulting Numbers: [7728] 7728,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[112, 121], Operations: ['46+66=112', '95+26=121'] Exploring Operation: 112+121=233, Resulting Numbers: [233] 233,91 unequal: No Solution Exploring Operation: 112*121=13552, Resulting Numbers: [13552] 13552,91 unequal: No Solution Exploring Operation: 121-112=9, Resulting Numbers: [9] 9,91 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 11, 15, 55, 18 ]
93
[ "55/11=5", "15*5=75", "18+75=93" ]
Current State: 93:[11, 15, 55, 18], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [15, 18, 5] Generated Node #2: [15, 18, 5] from Operation: 55/11=5 Current State: 93:[15, 18, 5], Operations: ['55/11=5'] Exploring Operation: 15*5=75, Resulting Numbers: [18, 75] Generated Node #3: [18, 75] from Operation: 15*5=75 Current State: 93:[18, 75], Operations: ['55/11=5', '15*5=75'] Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[11, 15, 55, 18], Operations: [] Exploring Operation: 55/11=5, Resulting Numbers: [15, 18, 5] Generated Node #0,0: 93:[15, 18, 5] Operation: 55/11=5 Exploring Operation: 55-18=37, Resulting Numbers: [11, 15, 37] Generated Node #0,1: 93:[11, 15, 37] Operation: 55-18=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[11, 15, 37], Operations: ['55-18=37'] Exploring Operation: 15-11=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 93:[37, 4] Operation: 15-11=4 Exploring Operation: 11+15=26, Resulting Numbers: [37, 26] Generated Node #0,1,1: 93:[37, 26] Operation: 11+15=26 Moving to Node #0,1,0 Current State: 93:[37, 4], Operations: ['55-18=37', '15-11=4'] Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,93 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[37, 26], Operations: ['55-18=37', '11+15=26'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 37+26=63, Resulting Numbers: [63] 63,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[15, 18, 5], Operations: ['55/11=5'] Exploring Operation: 15+18=33, Resulting Numbers: [5, 33] Generated Node #0,0,0: 93:[5, 33] Operation: 15+18=33 Exploring Operation: 18-15=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 93:[5, 3] Operation: 18-15=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[5, 3], Operations: ['55/11=5', '18-15=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,93 unequal: No Solution No 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: 93:[5, 33], Operations: ['55/11=5', '15+18=33'] Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 53, 31, 28, 84 ]
29
[ "53+31=84", "84/84=1", "28+1=29" ]
Current State: 29:[53, 31, 28, 84], Operations: [] Exploring Operation: 53+31=84, Resulting Numbers: [28, 84, 84] Generated Node #2: [28, 84, 84] from Operation: 53+31=84 Current State: 29:[28, 84, 84], Operations: ['53+31=84'] Exploring Operation: 84/84=1, Resulting Numbers: [28, 1] Generated Node #3: [28, 1] from Operation: 84/84=1 Current State: 29:[28, 1], Operations: ['53+31=84', '84/84=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[53, 31, 28, 84], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [31, 84, 25] Generated Node #0,0: 29:[31, 84, 25] Operation: 53-28=25 Exploring Operation: 84-28=56, Resulting Numbers: [53, 31, 56] Generated Node #0,1: 29:[53, 31, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [53, 31, 3] Generated Node #0,2: 29:[53, 31, 3] Operation: 84/28=3 Exploring Operation: 84-53=31, Resulting Numbers: [31, 28, 31] Generated Node #0,3: 29:[31, 28, 31] Operation: 84-53=31 Exploring Operation: 84-31=53, Resulting Numbers: [53, 28, 53] Generated Node #0,4: 29:[53, 28, 53] Operation: 84-31=53 Moving to Node #0,3 Current State: 29:[31, 28, 31], Operations: ['84-53=31'] Exploring Operation: 31-28=3, Resulting Numbers: [31, 3] Generated Node #0,3,0: 29:[31, 3] Operation: 31-28=3 Exploring Operation: 31-28=3, Resulting Numbers: [31, 3] Generated Node #0,3,1: 29:[31, 3] Operation: 31-28=3 Exploring Operation: 31+28=59, Resulting Numbers: [31, 59] Generated Node #0,3,2: 29:[31, 59] Operation: 31+28=59 Exploring Operation: 31/31=1, Resulting Numbers: [28, 1] Generated Node #0,3,3: 29:[28, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [28, 0] Generated Node #0,3,4: 29:[28, 0] Operation: 31-31=0 Moving to Node #0,4 Current State: 29:[53, 28, 53], Operations: ['84-31=53'] Exploring Operation: 53-28=25, Resulting Numbers: [53, 25] Generated Node #0,4,0: 29:[53, 25] Operation: 53-28=25 Exploring Operation: 53-53=0, Resulting Numbers: [28, 0] Generated Node #0,4,1: 29:[28, 0] Operation: 53-53=0 Exploring Operation: 53-28=25, Resulting Numbers: [53, 25] Generated Node #0,4,2: 29:[53, 25] Operation: 53-28=25 Exploring Operation: 53+28=81, Resulting Numbers: [53, 81] Generated Node #0,4,3: 29:[53, 81] Operation: 53+28=81 Exploring Operation: 53/53=1, Resulting Numbers: [28, 1] Generated Node #0,4,4: 29:[28, 1] Operation: 53/53=1 Moving to Node #0,2 Current State: 29:[53, 31, 3], Operations: ['84/28=3'] Exploring Operation: 53-3=50, Resulting Numbers: [31, 50] Generated Node #0,2,0: 29:[31, 50] Operation: 53-3=50 Exploring Operation: 31+3=34, Resulting Numbers: [53, 34] Generated Node #0,2,1: 29:[53, 34] Operation: 31+3=34 Exploring Operation: 53-31=22, Resulting Numbers: [3, 22] Generated Node #0,2,2: 29:[3, 22] Operation: 53-31=22 Exploring Operation: 31-3=28, Resulting Numbers: [53, 28] Generated Node #0,2,3: 29:[53, 28] Operation: 31-3=28 Exploring Operation: 53+3=56, Resulting Numbers: [31, 56] Generated Node #0,2,4: 29:[31, 56] Operation: 53+3=56 Moving to Node #0,1 Current State: 29:[53, 31, 56], Operations: ['84-28=56'] Exploring Operation: 53+31=84, Resulting Numbers: [56, 84] Generated Node #0,1,0: 29:[56, 84] Operation: 53+31=84 Exploring Operation: 56-31=25, Resulting Numbers: [53, 25] Generated Node #0,1,1: 29:[53, 25] Operation: 56-31=25 Exploring Operation: 53+56=109, Resulting Numbers: [31, 109] Generated Node #0,1,2: 29:[31, 109] Operation: 53+56=109 Exploring Operation: 56-53=3, Resulting Numbers: [31, 3] Generated Node #0,1,3: 29:[31, 3] Operation: 56-53=3 Exploring Operation: 53-31=22, Resulting Numbers: [56, 22] Generated Node #0,1,4: 29:[56, 22] Operation: 53-31=22 Moving to Node #0,0 Current State: 29:[31, 84, 25], Operations: ['53-28=25'] Exploring Operation: 31-25=6, Resulting Numbers: [84, 6] Generated Node #0,0,0: 29:[84, 6] Operation: 31-25=6 Exploring Operation: 31+25=56, Resulting Numbers: [84, 56] Generated Node #0,0,1: 29:[84, 56] Operation: 31+25=56 Exploring Operation: 84+25=109, Resulting Numbers: [31, 109] Generated Node #0,0,2: 29:[31, 109] Operation: 84+25=109 Exploring Operation: 84-25=59, Resulting Numbers: [31, 59] Generated Node #0,0,3: 29:[31, 59] Operation: 84-25=59 Exploring Operation: 84-31=53, Resulting Numbers: [25, 53] Generated Node #0,0,4: 29:[25, 53] Operation: 84-31=53 Moving to Node #0,2,0 Current State: 29:[31, 50], Operations: ['84/28=3', '53-3=50'] Exploring Operation: 31+50=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 31*50=1550, Resulting Numbers: [1550] 1550,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[53, 28], Operations: ['84/28=3', '31-3=28'] Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,29 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,29 unequal: No Solution Moving to Node #0,4,2 Current State: 29:[53, 25], Operations: ['84-31=53', '53-28=25'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,29 unequal: No Solution Moving to Node #0,4,0 Current State: 29:[53, 25], Operations: ['84-31=53', '53-28=25'] Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[31, 3], Operations: ['84-53=31', '31-28=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,29 unequal: No Solution Moving to Node #0,3,1 Current State: 29:[31, 3], Operations: ['84-53=31', '31-28=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[25, 53], Operations: ['53-28=25', '84-31=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[53, 25], Operations: ['84-28=56', '56-31=25'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[31, 3], Operations: ['84-28=56', '56-53=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,29 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,29 unequal: No Solution Moving to Node #0,2,4 Current State: 29:[31, 56], Operations: ['84/28=3', '53+3=56'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,29 unequal: No Solution Exploring Operation: 31*56=1736, Resulting Numbers: [1736] 1736,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[53, 34], Operations: ['84/28=3', '31+3=34'] Exploring Operation: 53-34=19, Resulting Numbers: [19] 19,29 unequal: No Solution Exploring Operation: 53*34=1802, Resulting Numbers: [1802] 1802,29 unequal: No Solution Exploring Operation: 53+34=87, Resulting Numbers: [87] 87,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[28, 1], Operations: ['84-53=31', '31/31=1'] Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[53, 31, 28, 84], Operations: [] Exploring Operation: 84-53=31, Resulting Numbers: [31, 28, 31] Generated Node #0,3: 29:[31, 28, 31] Operation: 84-53=31 Moving to Node #0,3 Current State: 29:[31, 28, 31], Operations: ['84-53=31'] Exploring Operation: 31/31=1, Resulting Numbers: [28, 1] Generated Node #0,3,3: 29:[28, 1] Operation: 31/31=1 Moving to Node #0,3,3 Current State: 29:[28, 1], Operations: ['84-53=31', '31/31=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.940104
hs_5
mult_heuristic
[ 44, 53, 57, 92 ]
26
[ "53-44=9", "92-57=35", "35-9=26" ]
Current State: 26:[44, 53, 57, 92], Operations: [] Exploring Operation: 53-44=9, Resulting Numbers: [57, 92, 9] Generated Node #2: [57, 92, 9] from Operation: 53-44=9 Current State: 26:[57, 92, 9], Operations: ['53-44=9'] Exploring Operation: 92-57=35, Resulting Numbers: [9, 35] Generated Node #3: [9, 35] from Operation: 92-57=35 Current State: 26:[9, 35], Operations: ['53-44=9', '92-57=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[44, 53, 57, 92], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [44, 53, 35] Generated Node #0,0: 26:[44, 53, 35] Operation: 92-57=35 Exploring Operation: 92-53=39, Resulting Numbers: [44, 57, 39] Generated Node #0,1: 26:[44, 57, 39] Operation: 92-53=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[44, 53, 35], Operations: ['92-57=35'] Exploring Operation: 53-44=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 26:[35, 9] Operation: 53-44=9 Exploring Operation: 53-35=18, Resulting Numbers: [44, 18] Generated Node #0,0,1: 26:[44, 18] Operation: 53-35=18 Moving to Node #0,0,0 Current State: 26:[35, 9], Operations: ['92-57=35', '53-44=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[44, 53, 57, 92], Operations: [] Exploring Operation: 92-57=35, Resulting Numbers: [44, 53, 35] Generated Node #0,0: 26:[44, 53, 35] Operation: 92-57=35 Moving to Node #0,0 Current State: 26:[44, 53, 35], Operations: ['92-57=35'] Exploring Operation: 53-44=9, Resulting Numbers: [35, 9] Generated Node #0,0,0: 26:[35, 9] Operation: 53-44=9 Moving to Node #0,0,0 Current State: 26:[35, 9], Operations: ['92-57=35', '53-44=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 61, 8, 22, 70 ]
66
[ "22-8=14", "70/14=5", "61+5=66" ]
Current State: 66:[61, 8, 22, 70], Operations: [] Exploring Operation: 22-8=14, Resulting Numbers: [61, 70, 14] Generated Node #2: [61, 70, 14] from Operation: 22-8=14 Current State: 66:[61, 70, 14], Operations: ['22-8=14'] Exploring Operation: 70/14=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 70/14=5 Current State: 66:[61, 5], Operations: ['22-8=14', '70/14=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[61, 8, 22, 70], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [8, 22, 9] Generated Node #0,0: 66:[8, 22, 9] Operation: 70-61=9 Exploring Operation: 70-8=62, Resulting Numbers: [61, 22, 62] Generated Node #0,1: 66:[61, 22, 62] Operation: 70-8=62 Exploring Operation: 61+8=69, Resulting Numbers: [22, 70, 69] Generated Node #0,2: 66:[22, 70, 69] Operation: 61+8=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[8, 22, 9], Operations: ['70-61=9'] Exploring Operation: 22-9=13, Resulting Numbers: [8, 13] Generated Node #0,0,0: 66:[8, 13] Operation: 22-9=13 Exploring Operation: 22+9=31, Resulting Numbers: [8, 31] Generated Node #0,0,1: 66:[8, 31] Operation: 22+9=31 Exploring Operation: 9-8=1, Resulting Numbers: [22, 1] Generated Node #0,0,2: 66:[22, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[22, 1], Operations: ['70-61=9', '9-8=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[8, 13], Operations: ['70-61=9', '22-9=13'] Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,66 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[8, 31], Operations: ['70-61=9', '22+9=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,66 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[22, 70, 69], Operations: ['61+8=69'] Exploring Operation: 70-69=1, Resulting Numbers: [22, 1] Generated Node #0,2,0: 66:[22, 1] Operation: 70-69=1 Exploring Operation: 69-22=47, Resulting Numbers: [70, 47] Generated Node #0,2,1: 66:[70, 47] Operation: 69-22=47 Exploring Operation: 70-22=48, Resulting Numbers: [69, 48] Generated Node #0,2,2: 66:[69, 48] Operation: 70-22=48 Moving to Node #0,2,0 Current State: 66:[22, 1], Operations: ['61+8=69', '70-69=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[70, 47], Operations: ['61+8=69', '69-22=47'] Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,66 unequal: No Solution Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[69, 48], Operations: ['61+8=69', '70-22=48'] Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,66 unequal: No Solution Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[61, 22, 62], Operations: ['70-8=62'] Exploring Operation: 62-22=40, Resulting Numbers: [61, 40] Generated Node #0,1,0: 66:[61, 40] Operation: 62-22=40 Exploring Operation: 61-22=39, Resulting Numbers: [62, 39] Generated Node #0,1,1: 66:[62, 39] Operation: 61-22=39 Exploring Operation: 62-61=1, Resulting Numbers: [22, 1] Generated Node #0,1,2: 66:[22, 1] Operation: 62-61=1 Moving to Node #0,1,2 Current State: 66:[22, 1], Operations: ['70-8=62', '62-61=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[62, 39], Operations: ['70-8=62', '61-22=39'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 62*39=2418, Resulting Numbers: [2418] 2418,66 unequal: No Solution Exploring Operation: 62+39=101, Resulting Numbers: [101] 101,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[61, 40], Operations: ['70-8=62', '62-22=40'] Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,66 unequal: No Solution Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,66 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 51, 58, 5, 25 ]
72
[ "51-25=26", "5*26=130", "130-58=72" ]
Current State: 72:[51, 58, 5, 25], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [58, 5, 26] Generated Node #2: [58, 5, 26] from Operation: 51-25=26 Current State: 72:[58, 5, 26], Operations: ['51-25=26'] Exploring Operation: 5*26=130, Resulting Numbers: [58, 130] Generated Node #3: [58, 130] from Operation: 5*26=130 Current State: 72:[58, 130], Operations: ['51-25=26', '5*26=130'] Exploring Operation: 130-58=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[51, 58, 5, 25], Operations: [] Exploring Operation: 58-25=33, Resulting Numbers: [51, 5, 33] Generated Node #0,0: 72:[51, 5, 33] Operation: 58-25=33 Exploring Operation: 51-25=26, Resulting Numbers: [58, 5, 26] Generated Node #0,1: 72:[58, 5, 26] Operation: 51-25=26 Exploring Operation: 51+25=76, Resulting Numbers: [58, 5, 76] Generated Node #0,2: 72:[58, 5, 76] Operation: 51+25=76 Exploring Operation: 58-51=7, Resulting Numbers: [5, 25, 7] Generated Node #0,3: 72:[5, 25, 7] Operation: 58-51=7 Moving to Node #0,3 Current State: 72:[5, 25, 7], Operations: ['58-51=7'] Exploring Operation: 25-7=18, Resulting Numbers: [5, 18] Generated Node #0,3,0: 72:[5, 18] Operation: 25-7=18 Exploring Operation: 25/5=5, Resulting Numbers: [7, 5] Generated Node #0,3,1: 72:[7, 5] Operation: 25/5=5 Exploring Operation: 7-5=2, Resulting Numbers: [25, 2] Generated Node #0,3,2: 72:[25, 2] Operation: 7-5=2 Exploring Operation: 5+7=12, Resulting Numbers: [25, 12] Generated Node #0,3,3: 72:[25, 12] Operation: 5+7=12 Moving to Node #0,1 Current State: 72:[58, 5, 26], Operations: ['51-25=26'] Exploring Operation: 26-5=21, Resulting Numbers: [58, 21] Generated Node #0,1,0: 72:[58, 21] Operation: 26-5=21 Exploring Operation: 58-26=32, Resulting Numbers: [5, 32] Generated Node #0,1,1: 72:[5, 32] Operation: 58-26=32 Exploring Operation: 58+5=63, Resulting Numbers: [26, 63] Generated Node #0,1,2: 72:[26, 63] Operation: 58+5=63 Exploring Operation: 58+26=84, Resulting Numbers: [5, 84] Generated Node #0,1,3: 72:[5, 84] Operation: 58+26=84 Moving to Node #0,2 Current State: 72:[58, 5, 76], Operations: ['51+25=76'] Exploring Operation: 58+5=63, Resulting Numbers: [76, 63] Generated Node #0,2,0: 72:[76, 63] Operation: 58+5=63 Exploring Operation: 76-58=18, Resulting Numbers: [5, 18] Generated Node #0,2,1: 72:[5, 18] Operation: 76-58=18 Exploring Operation: 76-5=71, Resulting Numbers: [58, 71] Generated Node #0,2,2: 72:[58, 71] Operation: 76-5=71 Exploring Operation: 58-5=53, Resulting Numbers: [76, 53] Generated Node #0,2,3: 72:[76, 53] Operation: 58-5=53 Moving to Node #0,0 Current State: 72:[51, 5, 33], Operations: ['58-25=33'] Exploring Operation: 51-33=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 72:[5, 18] Operation: 51-33=18 Exploring Operation: 51-5=46, Resulting Numbers: [33, 46] Generated Node #0,0,1: 72:[33, 46] Operation: 51-5=46 Exploring Operation: 5+33=38, Resulting Numbers: [51, 38] Generated Node #0,0,2: 72:[51, 38] Operation: 5+33=38 Exploring Operation: 51+33=84, Resulting Numbers: [5, 84] Generated Node #0,0,3: 72:[5, 84] Operation: 51+33=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[5, 18], Operations: ['58-25=33', '51-33=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[33, 46], Operations: ['58-25=33', '51-5=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,72 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[5, 84], Operations: ['58-25=33', '51+33=84'] Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,72 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[51, 38], Operations: ['58-25=33', '5+33=38'] Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,72 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,72 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: 72:[5, 18], Operations: ['58-51=7', '25-7=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[25, 12], Operations: ['58-51=7', '5+7=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,72 unequal: No Solution Moving to Node #0,3,2 Current State: 72:[25, 2], Operations: ['58-51=7', '7-5=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[5, 18], Operations: ['51+25=76', '76-58=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[7, 5], Operations: ['58-51=7', '25/5=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[5, 32], Operations: ['51-25=26', '58-26=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,72 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[26, 63], Operations: ['51-25=26', '58+5=63'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[5, 84], Operations: ['51-25=26', '58+26=84'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,72 unequal: No Solution Moving to Node #0,2,0 Current State: 72:[76, 63], Operations: ['51+25=76', '58+5=63'] Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,72 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[58, 71], Operations: ['51+25=76', '76-5=71'] Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 58*71=4118, Resulting Numbers: [4118] 4118,72 unequal: No Solution Exploring Operation: 58+71=129, Resulting Numbers: [129] 129,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[58, 21], Operations: ['51-25=26', '26-5=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[76, 53], Operations: ['51+25=76', '58-5=53'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 76+53=129, Resulting Numbers: [129] 129,72 unequal: No Solution Exploring Operation: 76*53=4028, Resulting Numbers: [4028] 4028,72 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 76, 28, 97, 18 ]
84
[ "97-76=21", "21-18=3", "28*3=84" ]
Current State: 84:[76, 28, 97, 18], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [28, 18, 21] Generated Node #2: [28, 18, 21] from Operation: 97-76=21 Current State: 84:[28, 18, 21], Operations: ['97-76=21'] Exploring Operation: 21-18=3, Resulting Numbers: [28, 3] Generated Node #3: [28, 3] from Operation: 21-18=3 Current State: 84:[28, 3], Operations: ['97-76=21', '21-18=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[76, 28, 97, 18], Operations: [] Exploring Operation: 76-28=48, Resulting Numbers: [97, 18, 48] Generated Node #0,0: 84:[97, 18, 48] Operation: 76-28=48 Exploring Operation: 76+18=94, Resulting Numbers: [28, 97, 94] Generated Node #0,1: 84:[28, 97, 94] Operation: 76+18=94 Exploring Operation: 97-18=79, Resulting Numbers: [76, 28, 79] Generated Node #0,2: 84:[76, 28, 79] Operation: 97-18=79 Exploring Operation: 97-76=21, Resulting Numbers: [28, 18, 21] Generated Node #0,3: 84:[28, 18, 21] Operation: 97-76=21 Moving to Node #0,3 Current State: 84:[28, 18, 21], Operations: ['97-76=21'] Exploring Operation: 18+21=39, Resulting Numbers: [28, 39] Generated Node #0,3,0: 84:[28, 39] Operation: 18+21=39 Exploring Operation: 28-21=7, Resulting Numbers: [18, 7] Generated Node #0,3,1: 84:[18, 7] Operation: 28-21=7 Exploring Operation: 28-18=10, Resulting Numbers: [21, 10] Generated Node #0,3,2: 84:[21, 10] Operation: 28-18=10 Exploring Operation: 21-18=3, Resulting Numbers: [28, 3] Generated Node #0,3,3: 84:[28, 3] Operation: 21-18=3 Moving to Node #0,2 Current State: 84:[76, 28, 79], Operations: ['97-18=79'] Exploring Operation: 79-28=51, Resulting Numbers: [76, 51] Generated Node #0,2,0: 84:[76, 51] Operation: 79-28=51 Exploring Operation: 76+28=104, Resulting Numbers: [79, 104] Generated Node #0,2,1: 84:[79, 104] Operation: 76+28=104 Exploring Operation: 76-28=48, Resulting Numbers: [79, 48] Generated Node #0,2,2: 84:[79, 48] Operation: 76-28=48 Exploring Operation: 79-76=3, Resulting Numbers: [28, 3] Generated Node #0,2,3: 84:[28, 3] Operation: 79-76=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[28, 3], Operations: ['97-18=79', '79-76=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[76, 28, 97, 18], Operations: [] Exploring Operation: 97-18=79, Resulting Numbers: [76, 28, 79] Generated Node #0,2: 84:[76, 28, 79] Operation: 97-18=79 Moving to Node #0,2 Current State: 84:[76, 28, 79], Operations: ['97-18=79'] Exploring Operation: 79-76=3, Resulting Numbers: [28, 3] Generated Node #0,2,3: 84:[28, 3] Operation: 79-76=3 Moving to Node #0,2,3 Current State: 84:[28, 3], Operations: ['97-18=79', '79-76=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 70, 28, 41, 70 ]
28
[ "70-70=0", "41*0=0", "28+0=28" ]
Current State: 28:[70, 28, 41, 70], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [28, 41, 0] Generated Node #2: [28, 41, 0] from Operation: 70-70=0 Current State: 28:[28, 41, 0], Operations: ['70-70=0'] Exploring Operation: 41*0=0, Resulting Numbers: [28, 0] Generated Node #3: [28, 0] from Operation: 41*0=0 Current State: 28:[28, 0], Operations: ['70-70=0', '41*0=0'] Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 28, 41, 70], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [70, 28, 29] Generated Node #0,0: 28:[70, 28, 29] Operation: 70-41=29 Exploring Operation: 70-28=42, Resulting Numbers: [41, 70, 42] Generated Node #0,1: 28:[41, 70, 42] Operation: 70-28=42 Exploring Operation: 70-41=29, Resulting Numbers: [28, 70, 29] Generated Node #0,2: 28:[28, 70, 29] Operation: 70-41=29 Exploring Operation: 70-70=0, Resulting Numbers: [28, 41, 0] Generated Node #0,3: 28:[28, 41, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [28, 41, 1] Generated Node #0,4: 28:[28, 41, 1] Operation: 70/70=1 Moving to Node #0,4 Current State: 28:[28, 41, 1], Operations: ['70/70=1'] Exploring Operation: 41-1=40, Resulting Numbers: [28, 40] Generated Node #0,4,0: 28:[28, 40] Operation: 41-1=40 Exploring Operation: 28*1=28, Resulting Numbers: [41, 28] Generated Node #0,4,1: 28:[41, 28] Operation: 28*1=28 Exploring Operation: 28/1=28, Resulting Numbers: [41, 28] Generated Node #0,4,2: 28:[41, 28] Operation: 28/1=28 Exploring Operation: 41-28=13, Resulting Numbers: [1, 13] Generated Node #0,4,3: 28:[1, 13] Operation: 41-28=13 Exploring Operation: 41*1=41, Resulting Numbers: [28, 41] Generated Node #0,4,4: 28:[28, 41] Operation: 41*1=41 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 28:[1, 13], Operations: ['70/70=1', '41-28=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 28:[28, 40], Operations: ['70/70=1', '41-1=40'] Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,28 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 28:[41, 28], Operations: ['70/70=1', '28*1=28'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 28:[41, 28], Operations: ['70/70=1', '28/1=28'] Exploring Operation: 41+28=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 41*28=1148, Resulting Numbers: [1148] 1148,28 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[28, 41], Operations: ['70/70=1', '41*1=41'] Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,28 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,28 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: 28:[28, 41, 0], Operations: ['70-70=0'] Exploring Operation: 28+0=28, Resulting Numbers: [41, 28] Generated Node #0,3,0: 28:[41, 28] Operation: 28+0=28 Exploring Operation: 41*0=0, Resulting Numbers: [28, 0] Generated Node #0,3,1: 28:[28, 0] Operation: 41*0=0 Exploring Operation: 41-28=13, Resulting Numbers: [0, 13] Generated Node #0,3,2: 28:[0, 13] Operation: 41-28=13 Exploring Operation: 28-0=28, Resulting Numbers: [41, 28] Generated Node #0,3,3: 28:[41, 28] Operation: 28-0=28 Exploring Operation: 41+0=41, Resulting Numbers: [28, 41] Generated Node #0,3,4: 28:[28, 41] Operation: 41+0=41 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[28, 0], Operations: ['70-70=0', '41*0=0'] Exploring Operation: 28-0=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[70, 28, 41, 70], Operations: [] Exploring Operation: 70-70=0, Resulting Numbers: [28, 41, 0] Generated Node #0,3: 28:[28, 41, 0] Operation: 70-70=0 Moving to Node #0,3 Current State: 28:[28, 41, 0], Operations: ['70-70=0'] Exploring Operation: 41*0=0, Resulting Numbers: [28, 0] Generated Node #0,3,1: 28:[28, 0] Operation: 41*0=0 Moving to Node #0,3,1 Current State: 28:[28, 0], Operations: ['70-70=0', '41*0=0'] Exploring Operation: 28-0=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 10, 68, 42, 73 ]
47
[ "10+68=78", "73-42=31", "78-31=47" ]
Current State: 47:[10, 68, 42, 73], Operations: [] Exploring Operation: 10+68=78, Resulting Numbers: [42, 73, 78] Generated Node #2: [42, 73, 78] from Operation: 10+68=78 Current State: 47:[42, 73, 78], Operations: ['10+68=78'] Exploring Operation: 73-42=31, Resulting Numbers: [78, 31] Generated Node #3: [78, 31] from Operation: 73-42=31 Current State: 47:[78, 31], Operations: ['10+68=78', '73-42=31'] Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[10, 68, 42, 73], Operations: [] Exploring Operation: 10+42=52, Resulting Numbers: [68, 73, 52] Generated Node #0,0: 47:[68, 73, 52] Operation: 10+42=52 Exploring Operation: 73-10=63, Resulting Numbers: [68, 42, 63] Generated Node #0,1: 47:[68, 42, 63] Operation: 73-10=63 Exploring Operation: 68-10=58, Resulting Numbers: [42, 73, 58] Generated Node #0,2: 47:[42, 73, 58] Operation: 68-10=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[68, 42, 63], Operations: ['73-10=63'] Exploring Operation: 68-63=5, Resulting Numbers: [42, 5] Generated Node #0,1,0: 47:[42, 5] Operation: 68-63=5 Exploring Operation: 68-42=26, Resulting Numbers: [63, 26] Generated Node #0,1,1: 47:[63, 26] Operation: 68-42=26 Exploring Operation: 63-42=21, Resulting Numbers: [68, 21] Generated Node #0,1,2: 47:[68, 21] Operation: 63-42=21 Moving to Node #0,1,1 Current State: 47:[63, 26], Operations: ['73-10=63', '68-42=26'] Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,47 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[42, 5], Operations: ['73-10=63', '68-63=5'] Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,47 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[10, 68, 42, 73], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [68, 42, 63] Generated Node #0,1: 47:[68, 42, 63] Operation: 73-10=63 Moving to Node #0,1 Current State: 47:[68, 42, 63], Operations: ['73-10=63'] Exploring Operation: 68-63=5, Resulting Numbers: [42, 5] Generated Node #0,1,0: 47:[42, 5] Operation: 68-63=5 Moving to Node #0,1,0 Current State: 47:[42, 5], Operations: ['73-10=63', '68-63=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 43, 88, 2, 87 ]
45
[ "43+2=45", "88-87=1", "45*1=45" ]
Current State: 45:[43, 88, 2, 87], Operations: [] Exploring Operation: 43+2=45, Resulting Numbers: [88, 87, 45] Generated Node #2: [88, 87, 45] from Operation: 43+2=45 Current State: 45:[88, 87, 45], Operations: ['43+2=45'] Exploring Operation: 88-87=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 88-87=1 Current State: 45:[45, 1], Operations: ['43+2=45', '88-87=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[43, 88, 2, 87], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [43, 2, 1] Generated Node #0,0: 45:[43, 2, 1] Operation: 88-87=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[43, 2, 1], Operations: ['88-87=1'] Exploring Operation: 43+2=45, Resulting Numbers: [1, 45] Generated Node #0,0,0: 45:[1, 45] Operation: 43+2=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[1, 45], Operations: ['88-87=1', '43+2=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[43, 88, 2, 87], Operations: [] Exploring Operation: 88-87=1, Resulting Numbers: [43, 2, 1] Generated Node #0,0: 45:[43, 2, 1] Operation: 88-87=1 Moving to Node #0,0 Current State: 45:[43, 2, 1], Operations: ['88-87=1'] Exploring Operation: 43+2=45, Resulting Numbers: [1, 45] Generated Node #0,0,0: 45:[1, 45] Operation: 43+2=45 Moving to Node #0,0,0 Current State: 45:[1, 45], Operations: ['88-87=1', '43+2=45'] Exploring Operation: 1*45=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 67, 52, 80 ]
26
[ "80-67=13", "2*13=26", "52-26=26" ]
Current State: 26:[2, 67, 52, 80], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [2, 52, 13] Generated Node #2: [2, 52, 13] from Operation: 80-67=13 Current State: 26:[2, 52, 13], Operations: ['80-67=13'] Exploring Operation: 2*13=26, Resulting Numbers: [52, 26] Generated Node #3: [52, 26] from Operation: 2*13=26 Current State: 26:[52, 26], Operations: ['80-67=13', '2*13=26'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[2, 67, 52, 80], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [2, 52, 13] Generated Node #0,0: 26:[2, 52, 13] Operation: 80-67=13 Exploring Operation: 67-52=15, Resulting Numbers: [2, 80, 15] Generated Node #0,1: 26:[2, 80, 15] Operation: 67-52=15 Exploring Operation: 80-52=28, Resulting Numbers: [2, 67, 28] Generated Node #0,2: 26:[2, 67, 28] Operation: 80-52=28 Exploring Operation: 80/2=40, Resulting Numbers: [67, 52, 40] Generated Node #0,3: 26:[67, 52, 40] Operation: 80/2=40 Moving to Node #0,0 Current State: 26:[2, 52, 13], Operations: ['80-67=13'] Exploring Operation: 52-2=50, Resulting Numbers: [13, 50] Generated Node #0,0,0: 26:[13, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [13, 26] Generated Node #0,0,1: 26:[13, 26] Operation: 52/2=26 Exploring Operation: 52/13=4, Resulting Numbers: [2, 4] Generated Node #0,0,2: 26:[2, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [2, 39] Generated Node #0,0,3: 26:[2, 39] Operation: 52-13=39 Moving to Node #0,2 Current State: 26:[2, 67, 28], Operations: ['80-52=28'] Exploring Operation: 28/2=14, Resulting Numbers: [67, 14] Generated Node #0,2,0: 26:[67, 14] Operation: 28/2=14 Exploring Operation: 67-2=65, Resulting Numbers: [28, 65] Generated Node #0,2,1: 26:[28, 65] Operation: 67-2=65 Exploring Operation: 67-28=39, Resulting Numbers: [2, 39] Generated Node #0,2,2: 26:[2, 39] Operation: 67-28=39 Exploring Operation: 28-2=26, Resulting Numbers: [67, 26] Generated Node #0,2,3: 26:[67, 26] Operation: 28-2=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[2, 39], Operations: ['80-52=28', '67-28=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[28, 65], Operations: ['80-52=28', '67-2=65'] Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,26 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[67, 26], Operations: ['80-52=28', '28-2=26'] Exploring Operation: 67-26=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 67*26=1742, Resulting Numbers: [1742] 1742,26 unequal: No Solution Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[67, 14], Operations: ['80-52=28', '28/2=14'] Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,26 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,26 unequal: No Solution Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,26 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: 26:[2, 80, 15], Operations: ['67-52=15'] Exploring Operation: 15-2=13, Resulting Numbers: [80, 13] Generated Node #0,1,0: 26:[80, 13] Operation: 15-2=13 Exploring Operation: 80/2=40, Resulting Numbers: [15, 40] Generated Node #0,1,1: 26:[15, 40] Operation: 80/2=40 Exploring Operation: 80-15=65, Resulting Numbers: [2, 65] Generated Node #0,1,2: 26:[2, 65] Operation: 80-15=65 Exploring Operation: 80-2=78, Resulting Numbers: [15, 78] Generated Node #0,1,3: 26:[15, 78] Operation: 80-2=78 Moving to Node #0,3 Current State: 26:[67, 52, 40], Operations: ['80/2=40'] Exploring Operation: 67+52=119, Resulting Numbers: [40, 119] Generated Node #0,3,0: 26:[40, 119] Operation: 67+52=119 Exploring Operation: 67-40=27, Resulting Numbers: [52, 27] Generated Node #0,3,1: 26:[52, 27] Operation: 67-40=27 Exploring Operation: 52-40=12, Resulting Numbers: [67, 12] Generated Node #0,3,2: 26:[67, 12] Operation: 52-40=12 Exploring Operation: 67-52=15, Resulting Numbers: [40, 15] Generated Node #0,3,3: 26:[40, 15] Operation: 67-52=15 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 26:[40, 15], Operations: ['80/2=40', '67-52=15'] Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 40*15=600, Resulting Numbers: [600] 600,26 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[52, 27], Operations: ['80/2=40', '67-40=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,26 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 26:[67, 12], Operations: ['80/2=40', '52-40=12'] Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,26 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 26:[40, 119], Operations: ['80/2=40', '67+52=119'] Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,26 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,26 unequal: No Solution Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,26 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: 26:[13, 26], Operations: ['80-67=13', '52/2=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[2, 4], Operations: ['80-67=13', '52/13=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[2, 39], Operations: ['80-67=13', '52-13=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[15, 40], Operations: ['67-52=15', '80/2=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[13, 50], Operations: ['80-67=13', '52-2=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[2, 65], Operations: ['67-52=15', '80-15=65'] Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,26 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[80, 13], Operations: ['67-52=15', '15-2=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,26 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[15, 78], Operations: ['67-52=15', '80-2=78'] Exploring Operation: 15*78=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,26 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 46, 63, 61, 52 ]
12
[ "52-46=6", "63-61=2", "6*2=12" ]
Current State: 12:[46, 63, 61, 52], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [63, 61, 6] Generated Node #2: [63, 61, 6] from Operation: 52-46=6 Current State: 12:[63, 61, 6], Operations: ['52-46=6'] Exploring Operation: 63-61=2, Resulting Numbers: [6, 2] Generated Node #3: [6, 2] from Operation: 63-61=2 Current State: 12:[6, 2], Operations: ['52-46=6', '63-61=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[46, 63, 61, 52], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [46, 52, 2] Generated Node #0,0: 12:[46, 52, 2] Operation: 63-61=2 Exploring Operation: 63-52=11, Resulting Numbers: [46, 61, 11] Generated Node #0,1: 12:[46, 61, 11] Operation: 63-52=11 Moving to Node #0,0 Current State: 12:[46, 52, 2], Operations: ['63-61=2'] Exploring Operation: 52-46=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 12:[2, 6] Operation: 52-46=6 Exploring Operation: 52/2=26, Resulting Numbers: [46, 26] Generated Node #0,0,1: 12:[46, 26] Operation: 52/2=26 Moving to Node #0,1 Current State: 12:[46, 61, 11], Operations: ['63-52=11'] Exploring Operation: 46-11=35, Resulting Numbers: [61, 35] Generated Node #0,1,0: 12:[61, 35] Operation: 46-11=35 Exploring Operation: 61-46=15, Resulting Numbers: [11, 15] Generated Node #0,1,1: 12:[11, 15] Operation: 61-46=15 Moving to Node #0,0,0 Current State: 12:[2, 6], Operations: ['63-61=2', '52-46=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[46, 63, 61, 52], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [46, 52, 2] Generated Node #0,0: 12:[46, 52, 2] Operation: 63-61=2 Moving to Node #0,0 Current State: 12:[46, 52, 2], Operations: ['63-61=2'] Exploring Operation: 52-46=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 12:[2, 6] Operation: 52-46=6 Moving to Node #0,0,0 Current State: 12:[2, 6], Operations: ['63-61=2', '52-46=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 95, 39, 49, 48 ]
36
[ "95+49=144", "144/48=3", "39-3=36" ]
Current State: 36:[95, 39, 49, 48], Operations: [] Exploring Operation: 95+49=144, Resulting Numbers: [39, 48, 144] Generated Node #2: [39, 48, 144] from Operation: 95+49=144 Current State: 36:[39, 48, 144], Operations: ['95+49=144'] Exploring Operation: 144/48=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 144/48=3 Current State: 36:[39, 3], Operations: ['95+49=144', '144/48=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[95, 39, 49, 48], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [39, 48, 46] Generated Node #0,0: 36:[39, 48, 46] Operation: 95-49=46 Moving to Node #0,0 Current State: 36:[39, 48, 46], Operations: ['95-49=46'] Exploring Operation: 48-46=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 36:[39, 2] Operation: 48-46=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[39, 2], Operations: ['95-49=46', '48-46=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 65, 17, 87, 45 ]
72
[ "17+87=104", "45*104=4680", "4680/65=72" ]
Current State: 72:[65, 17, 87, 45], Operations: [] Exploring Operation: 17+87=104, Resulting Numbers: [65, 45, 104] Generated Node #2: [65, 45, 104] from Operation: 17+87=104 Current State: 72:[65, 45, 104], Operations: ['17+87=104'] Exploring Operation: 45*104=4680, Resulting Numbers: [65, 4680] Generated Node #3: [65, 4680] from Operation: 45*104=4680 Current State: 72:[65, 4680], Operations: ['17+87=104', '45*104=4680'] Exploring Operation: 4680/65=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[65, 17, 87, 45], Operations: [] Exploring Operation: 87-65=22, Resulting Numbers: [17, 45, 22] Generated Node #0,0: 72:[17, 45, 22] Operation: 87-65=22 Exploring Operation: 87-45=42, Resulting Numbers: [65, 17, 42] Generated Node #0,1: 72:[65, 17, 42] Operation: 87-45=42 Exploring Operation: 65-45=20, Resulting Numbers: [17, 87, 20] Generated Node #0,2: 72:[17, 87, 20] Operation: 65-45=20 Moving to Node #0,0 Current State: 72:[17, 45, 22], Operations: ['87-65=22'] Exploring Operation: 45-17=28, Resulting Numbers: [22, 28] Generated Node #0,0,0: 72:[22, 28] Operation: 45-17=28 Exploring Operation: 45+22=67, Resulting Numbers: [17, 67] Generated Node #0,0,1: 72:[17, 67] Operation: 45+22=67 Exploring Operation: 45-22=23, Resulting Numbers: [17, 23] Generated Node #0,0,2: 72:[17, 23] Operation: 45-22=23 Moving to Node #0,1 Current State: 72:[65, 17, 42], Operations: ['87-45=42'] Exploring Operation: 42-17=25, Resulting Numbers: [65, 25] Generated Node #0,1,0: 72:[65, 25] Operation: 42-17=25 Exploring Operation: 65+17=82, Resulting Numbers: [42, 82] Generated Node #0,1,1: 72:[42, 82] Operation: 65+17=82 Exploring Operation: 65-42=23, Resulting Numbers: [17, 23] Generated Node #0,1,2: 72:[17, 23] Operation: 65-42=23 Moving to Node #0,2 Current State: 72:[17, 87, 20], Operations: ['65-45=20'] Exploring Operation: 87-20=67, Resulting Numbers: [17, 67] Generated Node #0,2,0: 72:[17, 67] Operation: 87-20=67 Exploring Operation: 87-17=70, Resulting Numbers: [20, 70] Generated Node #0,2,1: 72:[20, 70] Operation: 87-17=70 Exploring Operation: 20-17=3, Resulting Numbers: [87, 3] Generated Node #0,2,2: 72:[87, 3] Operation: 20-17=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[20, 70], Operations: ['65-45=20', '87-17=70'] Exploring Operation: 20*70=1400, Resulting Numbers: [1400] 1400,72 unequal: No Solution Exploring Operation: 20+70=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[17, 67], Operations: ['65-45=20', '87-20=67'] Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[87, 3], Operations: ['65-45=20', '20-17=3'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,72 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: 72:[17, 23], Operations: ['87-65=22', '45-22=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,72 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[17, 23], Operations: ['87-45=42', '65-42=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,72 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[17, 67], Operations: ['87-65=22', '45+22=67'] Exploring Operation: 67-17=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 17*67=1139, Resulting Numbers: [1139] 1139,72 unequal: No Solution Exploring Operation: 17+67=84, Resulting Numbers: [84] 84,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[22, 28], Operations: ['87-65=22', '45-17=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,72 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[65, 25], Operations: ['87-45=42', '42-17=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,72 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[42, 82], Operations: ['87-45=42', '65+17=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,72 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,72 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 12, 21, 70 ]
51
[ "14-12=2", "70-21=49", "2+49=51" ]
Current State: 51:[14, 12, 21, 70], Operations: [] Exploring Operation: 14-12=2, Resulting Numbers: [21, 70, 2] Generated Node #2: [21, 70, 2] from Operation: 14-12=2 Current State: 51:[21, 70, 2], Operations: ['14-12=2'] Exploring Operation: 70-21=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 70-21=49 Current State: 51:[2, 49], Operations: ['14-12=2', '70-21=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[14, 12, 21, 70], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [12, 21, 5] Generated Node #0,0: 51:[12, 21, 5] Operation: 70/14=5 Exploring Operation: 70-21=49, Resulting Numbers: [14, 12, 49] Generated Node #0,1: 51:[14, 12, 49] Operation: 70-21=49 Moving to Node #0,1 Current State: 51:[14, 12, 49], Operations: ['70-21=49'] Exploring Operation: 14-12=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 51:[49, 2] Operation: 14-12=2 Exploring Operation: 14+12=26, Resulting Numbers: [49, 26] Generated Node #0,1,1: 51:[49, 26] Operation: 14+12=26 Moving to Node #0,0 Current State: 51:[12, 21, 5], Operations: ['70/14=5'] Exploring Operation: 12+5=17, Resulting Numbers: [21, 17] Generated Node #0,0,0: 51:[21, 17] Operation: 12+5=17 Exploring Operation: 21-5=16, Resulting Numbers: [12, 16] Generated Node #0,0,1: 51:[12, 16] Operation: 21-5=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[21, 17], Operations: ['70/14=5', '12+5=17'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,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:[12, 16], Operations: ['70/14=5', '21-5=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,51 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: 51:[49, 2], Operations: ['70-21=49', '14-12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[14, 12, 21, 70], Operations: [] Exploring Operation: 70-21=49, Resulting Numbers: [14, 12, 49] Generated Node #0,1: 51:[14, 12, 49] Operation: 70-21=49 Moving to Node #0,1 Current State: 51:[14, 12, 49], Operations: ['70-21=49'] Exploring Operation: 14-12=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 51:[49, 2] Operation: 14-12=2 Moving to Node #0,1,0 Current State: 51:[49, 2], Operations: ['70-21=49', '14-12=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 97, 10, 84, 24 ]
27
[ "97-10=87", "84-24=60", "87-60=27" ]
Current State: 27:[97, 10, 84, 24], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [84, 24, 87] Generated Node #2: [84, 24, 87] from Operation: 97-10=87 Current State: 27:[84, 24, 87], Operations: ['97-10=87'] Exploring Operation: 84-24=60, Resulting Numbers: [87, 60] Generated Node #3: [87, 60] from Operation: 84-24=60 Current State: 27:[87, 60], Operations: ['97-10=87', '84-24=60'] Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[97, 10, 84, 24], Operations: [] Exploring Operation: 97-10=87, Resulting Numbers: [84, 24, 87] Generated Node #0,0: 27:[84, 24, 87] Operation: 97-10=87 Exploring Operation: 97-24=73, Resulting Numbers: [10, 84, 73] Generated Node #0,1: 27:[10, 84, 73] Operation: 97-24=73 Exploring Operation: 84-24=60, Resulting Numbers: [97, 10, 60] Generated Node #0,2: 27:[97, 10, 60] Operation: 84-24=60 Exploring Operation: 97-84=13, Resulting Numbers: [10, 24, 13] Generated Node #0,3: 27:[10, 24, 13] Operation: 97-84=13 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[10, 24, 13], Operations: ['97-84=13'] Exploring Operation: 24-10=14, Resulting Numbers: [13, 14] Generated Node #0,3,0: 27:[13, 14] Operation: 24-10=14 Exploring Operation: 10+13=23, Resulting Numbers: [24, 23] Generated Node #0,3,1: 27:[24, 23] Operation: 10+13=23 Exploring Operation: 24-13=11, Resulting Numbers: [10, 11] Generated Node #0,3,2: 27:[10, 11] Operation: 24-13=11 Exploring Operation: 13-10=3, Resulting Numbers: [24, 3] Generated Node #0,3,3: 27:[24, 3] Operation: 13-10=3 Moving to Node #0,3,2 Current State: 27:[10, 11], Operations: ['97-84=13', '24-13=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,27 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[24, 3], Operations: ['97-84=13', '13-10=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[97, 10, 84, 24], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [10, 24, 13] Generated Node #0,3: 27:[10, 24, 13] Operation: 97-84=13 Moving to Node #0,3 Current State: 27:[10, 24, 13], Operations: ['97-84=13'] Exploring Operation: 13-10=3, Resulting Numbers: [24, 3] Generated Node #0,3,3: 27:[24, 3] Operation: 13-10=3 Moving to Node #0,3,3 Current State: 27:[24, 3], Operations: ['97-84=13', '13-10=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 67, 16, 5, 8 ]
43
[ "67+16=83", "5*8=40", "83-40=43" ]
Current State: 43:[67, 16, 5, 8], Operations: [] Exploring Operation: 67+16=83, Resulting Numbers: [5, 8, 83] Generated Node #2: [5, 8, 83] from Operation: 67+16=83 Current State: 43:[5, 8, 83], Operations: ['67+16=83'] Exploring Operation: 5*8=40, Resulting Numbers: [83, 40] Generated Node #3: [83, 40] from Operation: 5*8=40 Current State: 43:[83, 40], Operations: ['67+16=83', '5*8=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[67, 16, 5, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [67, 16, 40] Generated Node #0,0: 43:[67, 16, 40] Operation: 5*8=40 Moving to Node #0,0 Current State: 43:[67, 16, 40], Operations: ['5*8=40'] Exploring Operation: 67-16=51, Resulting Numbers: [40, 51] Generated Node #0,0,0: 43:[40, 51] Operation: 67-16=51 Moving to Node #0,0,0 Current State: 43:[40, 51], Operations: ['5*8=40', '67-16=51'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 35, 66, 6, 6 ]
67
[ "66-35=31", "6*6=36", "31+36=67" ]
Current State: 67:[35, 66, 6, 6], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [6, 6, 31] Generated Node #2: [6, 6, 31] from Operation: 66-35=31 Current State: 67:[6, 6, 31], Operations: ['66-35=31'] Exploring Operation: 6*6=36, Resulting Numbers: [31, 36] Generated Node #3: [31, 36] from Operation: 6*6=36 Current State: 67:[31, 36], Operations: ['66-35=31', '6*6=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[35, 66, 6, 6], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [35, 66, 36] Generated Node #0,0: 67:[35, 66, 36] Operation: 6*6=36 Exploring Operation: 6+6=12, Resulting Numbers: [35, 66, 12] Generated Node #0,1: 67:[35, 66, 12] Operation: 6+6=12 Exploring Operation: 35+6=41, Resulting Numbers: [66, 6, 41] Generated Node #0,2: 67:[66, 6, 41] Operation: 35+6=41 Exploring Operation: 35+6=41, Resulting Numbers: [66, 6, 41] Generated Node #0,3: 67:[66, 6, 41] Operation: 35+6=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[35, 66, 36], Operations: ['6*6=36'] Exploring Operation: 35+66=101, Resulting Numbers: [36, 101] Generated Node #0,0,0: 67:[36, 101] Operation: 35+66=101 Exploring Operation: 66-35=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 67:[36, 31] Operation: 66-35=31 Exploring Operation: 35+36=71, Resulting Numbers: [66, 71] Generated Node #0,0,2: 67:[66, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [66, 1] Generated Node #0,0,3: 67:[66, 1] Operation: 36-35=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[66, 71], Operations: ['6*6=36', '35+36=71'] Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,67 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,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:[36, 101], Operations: ['6*6=36', '35+66=101'] Exploring Operation: 36*101=3636, Resulting Numbers: [3636] 3636,67 unequal: No Solution Exploring Operation: 36+101=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,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:[36, 31], Operations: ['6*6=36', '66-35=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,67 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,67 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[35, 66, 6, 6], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [35, 66, 36] Generated Node #0,0: 67:[35, 66, 36] Operation: 6*6=36 Moving to Node #0,0 Current State: 67:[35, 66, 36], Operations: ['6*6=36'] Exploring Operation: 66-35=31, Resulting Numbers: [36, 31] Generated Node #0,0,1: 67:[36, 31] Operation: 66-35=31 Moving to Node #0,0,1 Current State: 67:[36, 31], Operations: ['6*6=36', '66-35=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 48, 36, 47, 54 ]
53
[ "54-48=6", "36/6=6", "47+6=53" ]
Current State: 53:[48, 36, 47, 54], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [36, 47, 6] Generated Node #2: [36, 47, 6] from Operation: 54-48=6 Current State: 53:[36, 47, 6], Operations: ['54-48=6'] Exploring Operation: 36/6=6, Resulting Numbers: [47, 6] Generated Node #3: [47, 6] from Operation: 36/6=6 Current State: 53:[47, 6], Operations: ['54-48=6', '36/6=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[48, 36, 47, 54], Operations: [] Exploring Operation: 36+47=83, Resulting Numbers: [48, 54, 83] Generated Node #0,0: 53:[48, 54, 83] Operation: 36+47=83 Exploring Operation: 48+36=84, Resulting Numbers: [47, 54, 84] Generated Node #0,1: 53:[47, 54, 84] Operation: 48+36=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[48, 54, 83], Operations: ['36+47=83'] Exploring Operation: 83-48=35, Resulting Numbers: [54, 35] Generated Node #0,0,0: 53:[54, 35] Operation: 83-48=35 Exploring Operation: 83-54=29, Resulting Numbers: [48, 29] Generated Node #0,0,1: 53:[48, 29] Operation: 83-54=29 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[54, 35], Operations: ['36+47=83', '83-48=35'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 54+35=89, Resulting Numbers: [89] 89,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[48, 29], Operations: ['36+47=83', '83-54=29'] Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,53 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,53 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: 53:[47, 54, 84], Operations: ['48+36=84'] Exploring Operation: 84-47=37, Resulting Numbers: [54, 37] Generated Node #0,1,0: 53:[54, 37] Operation: 84-47=37 Exploring Operation: 84-54=30, Resulting Numbers: [47, 30] Generated Node #0,1,1: 53:[47, 30] Operation: 84-54=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[54, 37], Operations: ['48+36=84', '84-47=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[47, 30], Operations: ['48+36=84', '84-54=30'] Exploring Operation: 47+30=77, Resulting Numbers: [77] 77,53 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 38, 85, 14 ]
93
[ "44-38=6", "85+14=99", "99-6=93" ]
Current State: 93:[44, 38, 85, 14], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [85, 14, 6] Generated Node #2: [85, 14, 6] from Operation: 44-38=6 Current State: 93:[85, 14, 6], Operations: ['44-38=6'] Exploring Operation: 85+14=99, Resulting Numbers: [6, 99] Generated Node #3: [6, 99] from Operation: 85+14=99 Current State: 93:[6, 99], Operations: ['44-38=6', '85+14=99'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[44, 38, 85, 14], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [85, 14, 6] Generated Node #0,0: 93:[85, 14, 6] Operation: 44-38=6 Exploring Operation: 44-14=30, Resulting Numbers: [38, 85, 30] Generated Node #0,1: 93:[38, 85, 30] Operation: 44-14=30 Moving to Node #0,1 Current State: 93:[38, 85, 30], Operations: ['44-14=30'] Exploring Operation: 38-30=8, Resulting Numbers: [85, 8] Generated Node #0,1,0: 93:[85, 8] Operation: 38-30=8 Exploring Operation: 85-38=47, Resulting Numbers: [30, 47] Generated Node #0,1,1: 93:[30, 47] Operation: 85-38=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[85, 8], Operations: ['44-14=30', '38-30=8'] Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[44, 38, 85, 14], Operations: [] Exploring Operation: 44-14=30, Resulting Numbers: [38, 85, 30] Generated Node #0,1: 93:[38, 85, 30] Operation: 44-14=30 Moving to Node #0,1 Current State: 93:[38, 85, 30], Operations: ['44-14=30'] Exploring Operation: 38-30=8, Resulting Numbers: [85, 8] Generated Node #0,1,0: 93:[85, 8] Operation: 38-30=8 Moving to Node #0,1,0 Current State: 93:[85, 8], Operations: ['44-14=30', '38-30=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 30, 78, 69 ]
57
[ "78-30=48", "48/4=12", "69-12=57" ]
Current State: 57:[4, 30, 78, 69], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [4, 69, 48] Generated Node #2: [4, 69, 48] from Operation: 78-30=48 Current State: 57:[4, 69, 48], Operations: ['78-30=48'] Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #3: [69, 12] from Operation: 48/4=12 Current State: 57:[69, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[4, 30, 78, 69], Operations: [] Exploring Operation: 78-4=74, Resulting Numbers: [30, 69, 74] Generated Node #0,0: 57:[30, 69, 74] Operation: 78-4=74 Exploring Operation: 30-4=26, Resulting Numbers: [78, 69, 26] Generated Node #0,1: 57:[78, 69, 26] Operation: 30-4=26 Exploring Operation: 78-69=9, Resulting Numbers: [4, 30, 9] Generated Node #0,2: 57:[4, 30, 9] Operation: 78-69=9 Exploring Operation: 78-30=48, Resulting Numbers: [4, 69, 48] Generated Node #0,3: 57:[4, 69, 48] Operation: 78-30=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[4, 30, 9], Operations: ['78-69=9'] Exploring Operation: 4+9=13, Resulting Numbers: [30, 13] Generated Node #0,2,0: 57:[30, 13] Operation: 4+9=13 Exploring Operation: 30-4=26, Resulting Numbers: [9, 26] Generated Node #0,2,1: 57:[9, 26] Operation: 30-4=26 Exploring Operation: 30-9=21, Resulting Numbers: [4, 21] Generated Node #0,2,2: 57:[4, 21] Operation: 30-9=21 Exploring Operation: 9-4=5, Resulting Numbers: [30, 5] Generated Node #0,2,3: 57:[30, 5] Operation: 9-4=5 Moving to Node #0,2,2 Current State: 57:[4, 21], Operations: ['78-69=9', '30-9=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[30, 5], Operations: ['78-69=9', '9-4=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 30*5=150, Resulting Numbers: [150] 150,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[9, 26], Operations: ['78-69=9', '30-4=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[30, 13], Operations: ['78-69=9', '4+9=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 30*13=390, Resulting Numbers: [390] 390,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,3 Current State: 57:[4, 69, 48], Operations: ['78-30=48'] Exploring Operation: 4+48=52, Resulting Numbers: [69, 52] Generated Node #0,3,0: 57:[69, 52] Operation: 4+48=52 Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #0,3,1: 57:[69, 12] Operation: 48/4=12 Exploring Operation: 69-48=21, Resulting Numbers: [4, 21] Generated Node #0,3,2: 57:[4, 21] Operation: 69-48=21 Exploring Operation: 69-4=65, Resulting Numbers: [48, 65] Generated Node #0,3,3: 57:[48, 65] Operation: 69-4=65 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[4, 21], Operations: ['78-30=48', '69-48=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[69, 52], Operations: ['78-30=48', '4+48=52'] Exploring Operation: 69+52=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 69*52=3588, Resulting Numbers: [3588] 3588,57 unequal: No Solution Exploring Operation: 69-52=17, Resulting Numbers: [17] 17,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 57:[48, 65], Operations: ['78-30=48', '69-4=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,57 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,57 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[69, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[4, 30, 78, 69], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [4, 69, 48] Generated Node #0,3: 57:[4, 69, 48] Operation: 78-30=48 Moving to Node #0,3 Current State: 57:[4, 69, 48], Operations: ['78-30=48'] Exploring Operation: 48/4=12, Resulting Numbers: [69, 12] Generated Node #0,3,1: 57:[69, 12] Operation: 48/4=12 Moving to Node #0,3,1 Current State: 57:[69, 12], Operations: ['78-30=48', '48/4=12'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 16, 77, 54, 55 ]
98
[ "16+54=70", "77*70=5390", "5390/55=98" ]
Current State: 98:[16, 77, 54, 55], Operations: [] Exploring Operation: 16+54=70, Resulting Numbers: [77, 55, 70] Generated Node #2: [77, 55, 70] from Operation: 16+54=70 Current State: 98:[77, 55, 70], Operations: ['16+54=70'] Exploring Operation: 77*70=5390, Resulting Numbers: [55, 5390] Generated Node #3: [55, 5390] from Operation: 77*70=5390 Current State: 98:[55, 5390], Operations: ['16+54=70', '77*70=5390'] Exploring Operation: 5390/55=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[16, 77, 54, 55], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [54, 55, 61] Generated Node #0,0: 98:[54, 55, 61] Operation: 77-16=61 Exploring Operation: 55-54=1, Resulting Numbers: [16, 77, 1] Generated Node #0,1: 98:[16, 77, 1] Operation: 55-54=1 Exploring Operation: 16+77=93, Resulting Numbers: [54, 55, 93] Generated Node #0,2: 98:[54, 55, 93] Operation: 16+77=93 Exploring Operation: 77-55=22, Resulting Numbers: [16, 54, 22] Generated Node #0,3: 98:[16, 54, 22] Operation: 77-55=22 Exploring Operation: 77-54=23, Resulting Numbers: [16, 55, 23] Generated Node #0,4: 98:[16, 55, 23] Operation: 77-54=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[16, 54, 22], Operations: ['77-55=22'] Exploring Operation: 54-22=32, Resulting Numbers: [16, 32] Generated Node #0,3,0: 98:[16, 32] Operation: 54-22=32 Exploring Operation: 54-16=38, Resulting Numbers: [22, 38] Generated Node #0,3,1: 98:[22, 38] Operation: 54-16=38 Exploring Operation: 16+22=38, Resulting Numbers: [54, 38] Generated Node #0,3,2: 98:[54, 38] Operation: 16+22=38 Exploring Operation: 22-16=6, Resulting Numbers: [54, 6] Generated Node #0,3,3: 98:[54, 6] Operation: 22-16=6 Exploring Operation: 54+22=76, Resulting Numbers: [16, 76] Generated Node #0,3,4: 98:[16, 76] Operation: 54+22=76 Moving to Node #0,3,3 Current State: 98:[54, 6], Operations: ['77-55=22', '22-16=6'] Exploring Operation: 54*6=324, Resulting Numbers: [324] 324,98 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[54, 38], Operations: ['77-55=22', '16+22=38'] Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,98 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[16, 32], Operations: ['77-55=22', '54-22=32'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,98 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[22, 38], Operations: ['77-55=22', '54-16=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,98 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[16, 76], Operations: ['77-55=22', '54+22=76'] Exploring Operation: 16*76=1216, Resulting Numbers: [1216] 1216,98 unequal: No Solution Exploring Operation: 16+76=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,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 Current State: 98:[54, 55, 93], Operations: ['16+77=93'] Exploring Operation: 54+93=147, Resulting Numbers: [55, 147] Generated Node #0,2,0: 98:[55, 147] Operation: 54+93=147 Exploring Operation: 93-54=39, Resulting Numbers: [55, 39] Generated Node #0,2,1: 98:[55, 39] Operation: 93-54=39 Exploring Operation: 54+55=109, Resulting Numbers: [93, 109] Generated Node #0,2,2: 98:[93, 109] Operation: 54+55=109 Exploring Operation: 93-55=38, Resulting Numbers: [54, 38] Generated Node #0,2,3: 98:[54, 38] Operation: 93-55=38 Exploring Operation: 55-54=1, Resulting Numbers: [93, 1] Generated Node #0,2,4: 98:[93, 1] Operation: 55-54=1 Moving to Node #0,2,4 Current State: 98:[93, 1], Operations: ['16+77=93', '55-54=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[93, 109], Operations: ['16+77=93', '54+55=109'] Exploring Operation: 109-93=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 93*109=10137, Resulting Numbers: [10137] 10137,98 unequal: No Solution Exploring Operation: 93+109=202, Resulting Numbers: [202] 202,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[55, 39], Operations: ['16+77=93', '93-54=39'] Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,98 unequal: No Solution Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[54, 38], Operations: ['16+77=93', '93-55=38'] Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,98 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[55, 147], Operations: ['16+77=93', '54+93=147'] Exploring Operation: 55*147=8085, Resulting Numbers: [8085] 8085,98 unequal: No Solution Exploring Operation: 55+147=202, Resulting Numbers: [202] 202,98 unequal: No Solution Exploring Operation: 147-55=92, Resulting Numbers: [92] 92,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[16, 55, 23], Operations: ['77-54=23'] Exploring Operation: 55-23=32, Resulting Numbers: [16, 32] Generated Node #0,4,0: 98:[16, 32] Operation: 55-23=32 Exploring Operation: 23-16=7, Resulting Numbers: [55, 7] Generated Node #0,4,1: 98:[55, 7] Operation: 23-16=7 Exploring Operation: 16+23=39, Resulting Numbers: [55, 39] Generated Node #0,4,2: 98:[55, 39] Operation: 16+23=39 Exploring Operation: 55+23=78, Resulting Numbers: [16, 78] Generated Node #0,4,3: 98:[16, 78] Operation: 55+23=78 Exploring Operation: 55-16=39, Resulting Numbers: [23, 39] Generated Node #0,4,4: 98:[23, 39] Operation: 55-16=39 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 98:[55, 7], Operations: ['77-54=23', '23-16=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,98 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 98:[55, 39], Operations: ['77-54=23', '16+23=39'] Exploring Operation: 55*39=2145, Resulting Numbers: [2145] 2145,98 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 55+39=94, Resulting Numbers: [94] 94,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 98:[16, 32], Operations: ['77-54=23', '55-23=32'] Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 98:[23, 39], Operations: ['77-54=23', '55-16=39'] Exploring Operation: 23+39=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 23*39=897, Resulting Numbers: [897] 897,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 98:[16, 78], Operations: ['77-54=23', '55+23=78'] Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 16+78=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 16*78=1248, Resulting Numbers: [1248] 1248,98 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: 98:[54, 55, 61], Operations: ['77-16=61'] Exploring Operation: 55-54=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 98:[61, 1] Operation: 55-54=1 Exploring Operation: 61-54=7, Resulting Numbers: [55, 7] Generated Node #0,0,1: 98:[55, 7] Operation: 61-54=7 Exploring Operation: 61-55=6, Resulting Numbers: [54, 6] Generated Node #0,0,2: 98:[54, 6] Operation: 61-55=6 Exploring Operation: 54+61=115, Resulting Numbers: [55, 115] Generated Node #0,0,3: 98:[55, 115] Operation: 54+61=115 Exploring Operation: 54+55=109, Resulting Numbers: [61, 109] Generated Node #0,0,4: 98:[61, 109] Operation: 54+55=109 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[55, 7], Operations: ['77-16=61', '61-54=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,98 unequal: No Solution No 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: 98:[54, 6], Operations: ['77-16=61', '61-55=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 54*6=324, Resulting Numbers: [324] 324,98 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,98 unequal: No Solution No 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: 98:[61, 1], Operations: ['77-16=61', '55-54=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,98 unequal: No Solution No 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: 98:[55, 115], Operations: ['77-16=61', '54+61=115'] Exploring Operation: 115-55=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 55*115=6325, Resulting Numbers: [6325] 6325,98 unequal: No Solution Exploring Operation: 55+115=170, Resulting Numbers: [170] 170,98 unequal: No Solution No 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: 98:[61, 109], Operations: ['77-16=61', '54+55=109'] Exploring Operation: 61*109=6649, Resulting Numbers: [6649] 6649,98 unequal: No Solution Exploring Operation: 61+109=170, Resulting Numbers: [170] 170,98 unequal: No Solution Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,98 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: 98:[16, 77, 1], Operations: ['55-54=1'] Exploring Operation: 77-16=61, Resulting Numbers: [1, 61] Generated Node #0,1,0: 98:[1, 61] Operation: 77-16=61 Exploring Operation: 77+1=78, Resulting Numbers: [16, 78] Generated Node #0,1,1: 98:[16, 78] Operation: 77+1=78 Exploring Operation: 16-1=15, Resulting Numbers: [77, 15] Generated Node #0,1,2: 98:[77, 15] Operation: 16-1=15 Exploring Operation: 16+77=93, Resulting Numbers: [1, 93] Generated Node #0,1,3: 98:[1, 93] Operation: 16+77=93 Exploring Operation: 16*1=16, Resulting Numbers: [77, 16] Generated Node #0,1,4: 98:[77, 16] Operation: 16*1=16 Moving to Node #0,1,3 Current State: 98:[1, 93], Operations: ['55-54=1', '16+77=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[1, 61], Operations: ['55-54=1', '77-16=61'] Exploring Operation: 1*61=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 1+61=62, Resulting Numbers: [62] 62,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[16, 78], Operations: ['55-54=1', '77+1=78'] Exploring Operation: 16+78=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 16*78=1248, Resulting Numbers: [1248] 1248,98 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[77, 15], Operations: ['55-54=1', '16-1=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,98 unequal: No Solution Exploring Operation: 77*15=1155, Resulting Numbers: [1155] 1155,98 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[77, 16], Operations: ['55-54=1', '16*1=16'] Exploring Operation: 77+16=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 77-16=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 77*16=1232, Resulting Numbers: [1232] 1232,98 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
[ 8, 96, 11, 57 ]
75
[ "8*96=768", "57+768=825", "825/11=75" ]
Current State: 75:[8, 96, 11, 57], Operations: [] Exploring Operation: 8*96=768, Resulting Numbers: [11, 57, 768] Generated Node #2: [11, 57, 768] from Operation: 8*96=768 Current State: 75:[11, 57, 768], Operations: ['8*96=768'] Exploring Operation: 57+768=825, Resulting Numbers: [11, 825] Generated Node #3: [11, 825] from Operation: 57+768=825 Current State: 75:[11, 825], Operations: ['8*96=768', '57+768=825'] Exploring Operation: 825/11=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[8, 96, 11, 57], Operations: [] Exploring Operation: 96-11=85, Resulting Numbers: [8, 57, 85] Generated Node #0,0: 75:[8, 57, 85] Operation: 96-11=85 Exploring Operation: 96-57=39, Resulting Numbers: [8, 11, 39] Generated Node #0,1: 75:[8, 11, 39] Operation: 96-57=39 Exploring Operation: 96-8=88, Resulting Numbers: [11, 57, 88] Generated Node #0,2: 75:[11, 57, 88] Operation: 96-8=88 Exploring Operation: 11+57=68, Resulting Numbers: [8, 96, 68] Generated Node #0,3: 75:[8, 96, 68] Operation: 11+57=68 Exploring Operation: 96/8=12, Resulting Numbers: [11, 57, 12] Generated Node #0,4: 75:[11, 57, 12] Operation: 96/8=12 Moving to Node #0,1 Current State: 75:[8, 11, 39], Operations: ['96-57=39'] Exploring Operation: 39-8=31, Resulting Numbers: [11, 31] Generated Node #0,1,0: 75:[11, 31] Operation: 39-8=31 Exploring Operation: 11-8=3, Resulting Numbers: [39, 3] Generated Node #0,1,1: 75:[39, 3] Operation: 11-8=3 Exploring Operation: 39-11=28, Resulting Numbers: [8, 28] Generated Node #0,1,2: 75:[8, 28] Operation: 39-11=28 Exploring Operation: 8+11=19, Resulting Numbers: [39, 19] Generated Node #0,1,3: 75:[39, 19] Operation: 8+11=19 Exploring Operation: 8+39=47, Resulting Numbers: [11, 47] Generated Node #0,1,4: 75:[11, 47] Operation: 8+39=47 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[8, 28], Operations: ['96-57=39', '39-11=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[11, 31], Operations: ['96-57=39', '39-8=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[39, 3], Operations: ['96-57=39', '11-8=3'] Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,75 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 75:[39, 19], Operations: ['96-57=39', '8+11=19'] Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,75 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 75:[11, 47], Operations: ['96-57=39', '8+39=47'] Exploring Operation: 11*47=517, Resulting Numbers: [517] 517,75 unequal: No Solution Exploring Operation: 11+47=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 75:[11, 57, 12], Operations: ['96/8=12'] Exploring Operation: 57+12=69, Resulting Numbers: [11, 69] Generated Node #0,4,0: 75:[11, 69] Operation: 57+12=69 Exploring Operation: 12-11=1, Resulting Numbers: [57, 1] Generated Node #0,4,1: 75:[57, 1] Operation: 12-11=1 Exploring Operation: 11+57=68, Resulting Numbers: [12, 68] Generated Node #0,4,2: 75:[12, 68] Operation: 11+57=68 Exploring Operation: 57-11=46, Resulting Numbers: [12, 46] Generated Node #0,4,3: 75:[12, 46] Operation: 57-11=46 Exploring Operation: 11+12=23, Resulting Numbers: [57, 23] Generated Node #0,4,4: 75:[57, 23] Operation: 11+12=23 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 75:[11, 69], Operations: ['96/8=12', '57+12=69'] Exploring Operation: 11+69=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 11*69=759, Resulting Numbers: [759] 759,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 75:[12, 68], Operations: ['96/8=12', '11+57=68'] Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,75 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 75:[57, 1], Operations: ['96/8=12', '12-11=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,75 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 75:[57, 23], Operations: ['96/8=12', '11+12=23'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,75 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 75:[12, 46], Operations: ['96/8=12', '57-11=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,75 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,75 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: 75:[8, 57, 85], Operations: ['96-11=85'] Exploring Operation: 8+85=93, Resulting Numbers: [57, 93] Generated Node #0,0,0: 75:[57, 93] Operation: 8+85=93 Exploring Operation: 85-8=77, Resulting Numbers: [57, 77] Generated Node #0,0,1: 75:[57, 77] Operation: 85-8=77 Exploring Operation: 8+57=65, Resulting Numbers: [85, 65] Generated Node #0,0,2: 75:[85, 65] Operation: 8+57=65 Exploring Operation: 57-8=49, Resulting Numbers: [85, 49] Generated Node #0,0,3: 75:[85, 49] Operation: 57-8=49 Exploring Operation: 85-57=28, Resulting Numbers: [8, 28] Generated Node #0,0,4: 75:[8, 28] Operation: 85-57=28 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 75:[8, 28], Operations: ['96-11=85', '85-57=28'] Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,75 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[57, 77], Operations: ['96-11=85', '85-8=77'] Exploring Operation: 57*77=4389, Resulting Numbers: [4389] 4389,75 unequal: No Solution Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 57+77=134, Resulting Numbers: [134] 134,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[85, 65], Operations: ['96-11=85', '8+57=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,75 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[85, 49], Operations: ['96-11=85', '57-8=49'] Exploring Operation: 85*49=4165, Resulting Numbers: [4165] 4165,75 unequal: No Solution Exploring Operation: 85-49=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 85+49=134, Resulting Numbers: [134] 134,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[57, 93], Operations: ['96-11=85', '8+85=93'] Exploring Operation: 57*93=5301, Resulting Numbers: [5301] 5301,75 unequal: No Solution Exploring Operation: 57+93=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 93-57=36, Resulting Numbers: [36] 36,75 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: 75:[8, 96, 68], Operations: ['11+57=68'] Exploring Operation: 96/8=12, Resulting Numbers: [68, 12] Generated Node #0,3,0: 75:[68, 12] Operation: 96/8=12 Exploring Operation: 96-68=28, Resulting Numbers: [8, 28] Generated Node #0,3,1: 75:[8, 28] Operation: 96-68=28 Exploring Operation: 8+96=104, Resulting Numbers: [68, 104] Generated Node #0,3,2: 75:[68, 104] Operation: 8+96=104 Exploring Operation: 96-8=88, Resulting Numbers: [68, 88] Generated Node #0,3,3: 75:[68, 88] Operation: 96-8=88 Exploring Operation: 8+68=76, Resulting Numbers: [96, 76] Generated Node #0,3,4: 75:[96, 76] Operation: 8+68=76 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 75:[8, 28], Operations: ['11+57=68', '96-68=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,75 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[68, 12], Operations: ['11+57=68', '96/8=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,75 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[68, 88], Operations: ['11+57=68', '96-8=88'] Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 68+88=156, Resulting Numbers: [156] 156,75 unequal: No Solution Exploring Operation: 68*88=5984, Resulting Numbers: [5984] 5984,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 75:[96, 76], Operations: ['11+57=68', '8+68=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,75 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[68, 104], Operations: ['11+57=68', '8+96=104'] Exploring Operation: 104-68=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 68+104=172, Resulting Numbers: [172] 172,75 unequal: No Solution Exploring Operation: 68*104=7072, Resulting Numbers: [7072] 7072,75 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: 75:[11, 57, 88], Operations: ['96-8=88'] Exploring Operation: 11+57=68, Resulting Numbers: [88, 68] Generated Node #0,2,0: 75:[88, 68] Operation: 11+57=68 Exploring Operation: 57-11=46, Resulting Numbers: [88, 46] Generated Node #0,2,1: 75:[88, 46] Operation: 57-11=46 Exploring Operation: 88-11=77, Resulting Numbers: [57, 77] Generated Node #0,2,2: 75:[57, 77] Operation: 88-11=77 Exploring Operation: 88/11=8, Resulting Numbers: [57, 8] Generated Node #0,2,3: 75:[57, 8] Operation: 88/11=8 Exploring Operation: 88-57=31, Resulting Numbers: [11, 31] Generated Node #0,2,4: 75:[11, 31] Operation: 88-57=31 Moving to Node #0,2,4 Current State: 75:[11, 31], Operations: ['96-8=88', '88-57=31'] Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,75 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[57, 77], Operations: ['96-8=88', '88-11=77'] Exploring Operation: 77-57=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 57+77=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 57*77=4389, Resulting Numbers: [4389] 4389,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[88, 68], Operations: ['96-8=88', '11+57=68'] Exploring Operation: 88*68=5984, Resulting Numbers: [5984] 5984,75 unequal: No Solution Exploring Operation: 88+68=156, Resulting Numbers: [156] 156,75 unequal: No Solution Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[57, 8], Operations: ['96-8=88', '88/11=8'] Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,75 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[88, 46], Operations: ['96-8=88', '57-11=46'] Exploring Operation: 88-46=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 88+46=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 88*46=4048, Resulting Numbers: [4048] 4048,75 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 66, 35, 58 ]
21
[ "66-22=44", "58-35=23", "44-23=21" ]
Current State: 21:[22, 66, 35, 58], Operations: [] Exploring Operation: 66-22=44, Resulting Numbers: [35, 58, 44] Generated Node #2: [35, 58, 44] from Operation: 66-22=44 Current State: 21:[35, 58, 44], Operations: ['66-22=44'] Exploring Operation: 58-35=23, Resulting Numbers: [44, 23] Generated Node #3: [44, 23] from Operation: 58-35=23 Current State: 21:[44, 23], Operations: ['66-22=44', '58-35=23'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[22, 66, 35, 58], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [35, 58, 3] Generated Node #0,0: 21:[35, 58, 3] Operation: 66/22=3 Exploring Operation: 66-58=8, Resulting Numbers: [22, 35, 8] Generated Node #0,1: 21:[22, 35, 8] Operation: 66-58=8 Exploring Operation: 66-35=31, Resulting Numbers: [22, 58, 31] Generated Node #0,2: 21:[22, 58, 31] Operation: 66-35=31 Exploring Operation: 58-35=23, Resulting Numbers: [22, 66, 23] Generated Node #0,3: 21:[22, 66, 23] Operation: 58-35=23 Moving to Node #0,1 Current State: 21:[22, 35, 8], Operations: ['66-58=8'] Exploring Operation: 35-8=27, Resulting Numbers: [22, 27] Generated Node #0,1,0: 21:[22, 27] Operation: 35-8=27 Exploring Operation: 22+8=30, Resulting Numbers: [35, 30] Generated Node #0,1,1: 21:[35, 30] Operation: 22+8=30 Exploring Operation: 35-22=13, Resulting Numbers: [8, 13] Generated Node #0,1,2: 21:[8, 13] Operation: 35-22=13 Exploring Operation: 22-8=14, Resulting Numbers: [35, 14] Generated Node #0,1,3: 21:[35, 14] Operation: 22-8=14 Moving to Node #0,3 Current State: 21:[22, 66, 23], Operations: ['58-35=23'] Exploring Operation: 66-22=44, Resulting Numbers: [23, 44] Generated Node #0,3,0: 21:[23, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [23, 3] Generated Node #0,3,1: 21:[23, 3] Operation: 66/22=3 Exploring Operation: 66-23=43, Resulting Numbers: [22, 43] Generated Node #0,3,2: 21:[22, 43] Operation: 66-23=43 Exploring Operation: 23-22=1, Resulting Numbers: [66, 1] Generated Node #0,3,3: 21:[66, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[23, 3], Operations: ['58-35=23', '66/22=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[22, 43], Operations: ['58-35=23', '66-23=43'] Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[22, 66, 35, 58], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [22, 66, 23] Generated Node #0,3: 21:[22, 66, 23] Operation: 58-35=23 Moving to Node #0,3 Current State: 21:[22, 66, 23], Operations: ['58-35=23'] Exploring Operation: 66-23=43, Resulting Numbers: [22, 43] Generated Node #0,3,2: 21:[22, 43] Operation: 66-23=43 Moving to Node #0,3,2 Current State: 21:[22, 43], Operations: ['58-35=23', '66-23=43'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 19, 21, 69, 88 ]
50
[ "21-19=2", "69*2=138", "138-88=50" ]
Current State: 50:[19, 21, 69, 88], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [69, 88, 2] Generated Node #2: [69, 88, 2] from Operation: 21-19=2 Current State: 50:[69, 88, 2], Operations: ['21-19=2'] Exploring Operation: 69*2=138, Resulting Numbers: [88, 138] Generated Node #3: [88, 138] from Operation: 69*2=138 Current State: 50:[88, 138], Operations: ['21-19=2', '69*2=138'] Exploring Operation: 138-88=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[19, 21, 69, 88], Operations: [] Exploring Operation: 69-19=50, Resulting Numbers: [21, 88, 50] Generated Node #0,0: 50:[21, 88, 50] Operation: 69-19=50 Exploring Operation: 88-69=19, Resulting Numbers: [19, 21, 19] Generated Node #0,1: 50:[19, 21, 19] Operation: 88-69=19 Exploring Operation: 88-19=69, Resulting Numbers: [21, 69, 69] Generated Node #0,2: 50:[21, 69, 69] Operation: 88-19=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[19, 21, 19], Operations: ['88-69=19'] Exploring Operation: 19-19=0, Resulting Numbers: [21, 0] Generated Node #0,1,0: 50:[21, 0] Operation: 19-19=0 Exploring Operation: 21-19=2, Resulting Numbers: [19, 2] Generated Node #0,1,1: 50:[19, 2] Operation: 21-19=2 Exploring Operation: 19/19=1, Resulting Numbers: [21, 1] Generated Node #0,1,2: 50:[21, 1] Operation: 19/19=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[21, 1], Operations: ['88-69=19', '19/19=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,50 unequal: No Solution No 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: 50:[21, 0], Operations: ['88-69=19', '19-19=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[19, 2], Operations: ['88-69=19', '21-19=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,50 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: 50:[21, 88, 50], Operations: ['69-19=50'] Exploring Operation: 88-50=38, Resulting Numbers: [21, 38] Generated Node #0,0,0: 50:[21, 38] Operation: 88-50=38 Exploring Operation: 50-21=29, Resulting Numbers: [88, 29] Generated Node #0,0,1: 50:[88, 29] Operation: 50-21=29 Exploring Operation: 88-21=67, Resulting Numbers: [50, 67] Generated Node #0,0,2: 50:[50, 67] Operation: 88-21=67 Moving to Node #0,0,0 Current State: 50:[21, 38], Operations: ['69-19=50', '88-50=38'] Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,50 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[50, 67], Operations: ['69-19=50', '88-21=67'] Exploring Operation: 50+67=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 67-50=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 50*67=3350, Resulting Numbers: [3350] 3350,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[88, 29], Operations: ['69-19=50', '50-21=29'] Exploring Operation: 88-29=59, Resulting Numbers: [59] 59,50 unequal: No Solution Exploring Operation: 88*29=2552, Resulting Numbers: [2552] 2552,50 unequal: No Solution Exploring Operation: 88+29=117, Resulting Numbers: [117] 117,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[21, 69, 69], Operations: ['88-19=69'] Exploring Operation: 69-69=0, Resulting Numbers: [21, 0] Generated Node #0,2,0: 50:[21, 0] Operation: 69-69=0 Exploring Operation: 69-21=48, Resulting Numbers: [69, 48] Generated Node #0,2,1: 50:[69, 48] Operation: 69-21=48 Exploring Operation: 69/69=1, Resulting Numbers: [21, 1] Generated Node #0,2,2: 50:[21, 1] Operation: 69/69=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[21, 1], Operations: ['88-19=69', '69/69=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[21, 0], Operations: ['88-19=69', '69-69=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,50 unequal: No Solution No 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: 50:[69, 48], Operations: ['88-19=69', '69-21=48'] Exploring Operation: 69+48=117, Resulting Numbers: [117] 117,50 unequal: No Solution Exploring Operation: 69*48=3312, Resulting Numbers: [3312] 3312,50 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 18, 29, 50, 53 ]
23
[ "53-50=3", "18/3=6", "29-6=23" ]
Current State: 23:[18, 29, 50, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [18, 29, 3] Generated Node #2: [18, 29, 3] from Operation: 53-50=3 Current State: 23:[18, 29, 3], Operations: ['53-50=3'] Exploring Operation: 18/3=6, Resulting Numbers: [29, 6] Generated Node #3: [29, 6] from Operation: 18/3=6 Current State: 23:[29, 6], Operations: ['53-50=3', '18/3=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[18, 29, 50, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [18, 29, 3] Generated Node #0,0: 23:[18, 29, 3] Operation: 53-50=3 Exploring Operation: 53-29=24, Resulting Numbers: [18, 50, 24] Generated Node #0,1: 23:[18, 50, 24] Operation: 53-29=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[18, 29, 3], Operations: ['53-50=3'] Exploring Operation: 18+3=21, Resulting Numbers: [29, 21] Generated Node #0,0,0: 23:[29, 21] Operation: 18+3=21 Exploring Operation: 29-3=26, Resulting Numbers: [18, 26] Generated Node #0,0,1: 23:[18, 26] Operation: 29-3=26 Moving to Node #0,0,0 Current State: 23:[29, 21], Operations: ['53-50=3', '18+3=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,23 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[18, 26], Operations: ['53-50=3', '29-3=26'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,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 Current State: 23:[18, 50, 24], Operations: ['53-29=24'] Exploring Operation: 50-24=26, Resulting Numbers: [18, 26] Generated Node #0,1,0: 23:[18, 26] Operation: 50-24=26 Exploring Operation: 50-18=32, Resulting Numbers: [24, 32] Generated Node #0,1,1: 23:[24, 32] Operation: 50-18=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[18, 26], Operations: ['53-29=24', '50-24=26'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,23 unequal: No Solution No 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: 23:[24, 32], Operations: ['53-29=24', '50-18=32'] Exploring Operation: 24+32=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 67, 19, 72, 98 ]
60
[ "67+19=86", "98-72=26", "86-26=60" ]
Current State: 60:[67, 19, 72, 98], Operations: [] Exploring Operation: 67+19=86, Resulting Numbers: [72, 98, 86] Generated Node #2: [72, 98, 86] from Operation: 67+19=86 Current State: 60:[72, 98, 86], Operations: ['67+19=86'] Exploring Operation: 98-72=26, Resulting Numbers: [86, 26] Generated Node #3: [86, 26] from Operation: 98-72=26 Current State: 60:[86, 26], Operations: ['67+19=86', '98-72=26'] Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[67, 19, 72, 98], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [67, 19, 26] Generated Node #0,0: 60:[67, 19, 26] Operation: 98-72=26 Exploring Operation: 98-67=31, Resulting Numbers: [19, 72, 31] Generated Node #0,1: 60:[19, 72, 31] Operation: 98-67=31 Moving to Node #0,0 Current State: 60:[67, 19, 26], Operations: ['98-72=26'] Exploring Operation: 67-26=41, Resulting Numbers: [19, 41] Generated Node #0,0,0: 60:[19, 41] Operation: 67-26=41 Exploring Operation: 26-19=7, Resulting Numbers: [67, 7] Generated Node #0,0,1: 60:[67, 7] Operation: 26-19=7 Moving to Node #0,1 Current State: 60:[19, 72, 31], Operations: ['98-67=31'] Exploring Operation: 72-19=53, Resulting Numbers: [31, 53] Generated Node #0,1,0: 60:[31, 53] Operation: 72-19=53 Exploring Operation: 31-19=12, Resulting Numbers: [72, 12] Generated Node #0,1,1: 60:[72, 12] Operation: 31-19=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[31, 53], Operations: ['98-67=31', '72-19=53'] Exploring Operation: 31+53=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 53-31=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,1 Current State: 60:[72, 12], Operations: ['98-67=31', '31-19=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[67, 19, 72, 98], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [19, 72, 31] Generated Node #0,1: 60:[19, 72, 31] Operation: 98-67=31 Moving to Node #0,1 Current State: 60:[19, 72, 31], Operations: ['98-67=31'] Exploring Operation: 31-19=12, Resulting Numbers: [72, 12] Generated Node #0,1,1: 60:[72, 12] Operation: 31-19=12 Moving to Node #0,1,1 Current State: 60:[72, 12], Operations: ['98-67=31', '31-19=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
sum_heuristic
[ 88, 33, 15, 26 ]
85
[ "26-15=11", "33/11=3", "88-3=85" ]
Current State: 85:[88, 33, 15, 26], Operations: [] Exploring Operation: 26-15=11, Resulting Numbers: [88, 33, 11] Generated Node #2: [88, 33, 11] from Operation: 26-15=11 Current State: 85:[88, 33, 11], Operations: ['26-15=11'] Exploring Operation: 33/11=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 33/11=3 Current State: 85:[88, 3], Operations: ['26-15=11', '33/11=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[88, 33, 15, 26], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [88, 26, 18] Generated Node #0,0: 85:[88, 26, 18] Operation: 33-15=18 Exploring Operation: 26-15=11, Resulting Numbers: [88, 33, 11] Generated Node #0,1: 85:[88, 33, 11] Operation: 26-15=11 Exploring Operation: 88-15=73, Resulting Numbers: [33, 26, 73] Generated Node #0,2: 85:[33, 26, 73] Operation: 88-15=73 Exploring Operation: 33+26=59, Resulting Numbers: [88, 15, 59] Generated Node #0,3: 85:[88, 15, 59] Operation: 33+26=59 Exploring Operation: 33-26=7, Resulting Numbers: [88, 15, 7] Generated Node #0,4: 85:[88, 15, 7] Operation: 33-26=7 Moving to Node #0,4 Current State: 85:[88, 15, 7], Operations: ['33-26=7'] Exploring Operation: 88-7=81, Resulting Numbers: [15, 81] Generated Node #0,4,0: 85:[15, 81] Operation: 88-7=81 Exploring Operation: 88+7=95, Resulting Numbers: [15, 95] Generated Node #0,4,1: 85:[15, 95] Operation: 88+7=95 Exploring Operation: 15-7=8, Resulting Numbers: [88, 8] Generated Node #0,4,2: 85:[88, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [88, 22] Generated Node #0,4,3: 85:[88, 22] Operation: 15+7=22 Exploring Operation: 88-15=73, Resulting Numbers: [7, 73] Generated Node #0,4,4: 85:[7, 73] Operation: 88-15=73 Moving to Node #0,0 Current State: 85:[88, 26, 18], Operations: ['33-15=18'] Exploring Operation: 88+18=106, Resulting Numbers: [26, 106] Generated Node #0,0,0: 85:[26, 106] Operation: 88+18=106 Exploring Operation: 26-18=8, Resulting Numbers: [88, 8] Generated Node #0,0,1: 85:[88, 8] Operation: 26-18=8 Exploring Operation: 88+26=114, Resulting Numbers: [18, 114] Generated Node #0,0,2: 85:[18, 114] Operation: 88+26=114 Exploring Operation: 88-26=62, Resulting Numbers: [18, 62] Generated Node #0,0,3: 85:[18, 62] Operation: 88-26=62 Exploring Operation: 88-18=70, Resulting Numbers: [26, 70] Generated Node #0,0,4: 85:[26, 70] Operation: 88-18=70 Moving to Node #0,1 Current State: 85:[88, 33, 11], Operations: ['26-15=11'] Exploring Operation: 33-11=22, Resulting Numbers: [88, 22] Generated Node #0,1,0: 85:[88, 22] Operation: 33-11=22 Exploring Operation: 88-11=77, Resulting Numbers: [33, 77] Generated Node #0,1,1: 85:[33, 77] Operation: 88-11=77 Exploring Operation: 88+11=99, Resulting Numbers: [33, 99] Generated Node #0,1,2: 85:[33, 99] Operation: 88+11=99 Exploring Operation: 88/11=8, Resulting Numbers: [33, 8] Generated Node #0,1,3: 85:[33, 8] Operation: 88/11=8 Exploring Operation: 33/11=3, Resulting Numbers: [88, 3] Generated Node #0,1,4: 85:[88, 3] Operation: 33/11=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[88, 3], Operations: ['26-15=11', '33/11=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[88, 33, 15, 26], Operations: [] Exploring Operation: 26-15=11, Resulting Numbers: [88, 33, 11] Generated Node #0,1: 85:[88, 33, 11] Operation: 26-15=11 Moving to Node #0,1 Current State: 85:[88, 33, 11], Operations: ['26-15=11'] Exploring Operation: 33/11=3, Resulting Numbers: [88, 3] Generated Node #0,1,4: 85:[88, 3] Operation: 33/11=3 Moving to Node #0,1,4 Current State: 85:[88, 3], Operations: ['26-15=11', '33/11=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 34, 31, 33, 50 ]
20
[ "34-31=3", "50-33=17", "3+17=20" ]
Current State: 20:[34, 31, 33, 50], Operations: [] Exploring Operation: 34-31=3, Resulting Numbers: [33, 50, 3] Generated Node #2: [33, 50, 3] from Operation: 34-31=3 Current State: 20:[33, 50, 3], Operations: ['34-31=3'] Exploring Operation: 50-33=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 50-33=17 Current State: 20:[3, 17], Operations: ['34-31=3', '50-33=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[34, 31, 33, 50], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [34, 33, 19] Generated Node #0,0: 20:[34, 33, 19] Operation: 50-31=19 Exploring Operation: 50-34=16, Resulting Numbers: [31, 33, 16] Generated Node #0,1: 20:[31, 33, 16] Operation: 50-34=16 Exploring Operation: 50-33=17, Resulting Numbers: [34, 31, 17] Generated Node #0,2: 20:[34, 31, 17] Operation: 50-33=17 Moving to Node #0,0 Current State: 20:[34, 33, 19], Operations: ['50-31=19'] Exploring Operation: 34-33=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 20:[19, 1] Operation: 34-33=1 Exploring Operation: 34-19=15, Resulting Numbers: [33, 15] Generated Node #0,0,1: 20:[33, 15] Operation: 34-19=15 Exploring Operation: 33-19=14, Resulting Numbers: [34, 14] Generated Node #0,0,2: 20:[34, 14] Operation: 33-19=14 Moving to Node #0,1 Current State: 20:[31, 33, 16], Operations: ['50-34=16'] Exploring Operation: 31-16=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 20:[33, 15] Operation: 31-16=15 Exploring Operation: 33-31=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 20:[16, 2] Operation: 33-31=2 Exploring Operation: 33-16=17, Resulting Numbers: [31, 17] Generated Node #0,1,2: 20:[31, 17] Operation: 33-16=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[16, 2], Operations: ['50-34=16', '33-31=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[31, 17], Operations: ['50-34=16', '33-16=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,20 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[33, 15], Operations: ['50-34=16', '31-16=15'] Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,20 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 20:[34, 31, 17], Operations: ['50-33=17'] Exploring Operation: 34-17=17, Resulting Numbers: [31, 17] Generated Node #0,2,0: 20:[31, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [31, 2] Generated Node #0,2,1: 20:[31, 2] Operation: 34/17=2 Exploring Operation: 34-31=3, Resulting Numbers: [17, 3] Generated Node #0,2,2: 20:[17, 3] Operation: 34-31=3 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[17, 3], Operations: ['50-33=17', '34-31=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,20 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,20 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[34, 31, 33, 50], Operations: [] Exploring Operation: 50-33=17, Resulting Numbers: [34, 31, 17] Generated Node #0,2: 20:[34, 31, 17] Operation: 50-33=17 Moving to Node #0,2 Current State: 20:[34, 31, 17], Operations: ['50-33=17'] Exploring Operation: 34-31=3, Resulting Numbers: [17, 3] Generated Node #0,2,2: 20:[17, 3] Operation: 34-31=3 Moving to Node #0,2,2 Current State: 20:[17, 3], Operations: ['50-33=17', '34-31=3'] Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 76, 6, 94, 51 ]
63
[ "76+6=82", "94+51=145", "145-82=63" ]
Current State: 63:[76, 6, 94, 51], Operations: [] Exploring Operation: 76+6=82, Resulting Numbers: [94, 51, 82] Generated Node #2: [94, 51, 82] from Operation: 76+6=82 Current State: 63:[94, 51, 82], Operations: ['76+6=82'] Exploring Operation: 94+51=145, Resulting Numbers: [82, 145] Generated Node #3: [82, 145] from Operation: 94+51=145 Current State: 63:[82, 145], Operations: ['76+6=82', '94+51=145'] Exploring Operation: 145-82=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[76, 6, 94, 51], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [6, 51, 18] Generated Node #0,0: 63:[6, 51, 18] Operation: 94-76=18 Exploring Operation: 76-51=25, Resulting Numbers: [6, 94, 25] Generated Node #0,1: 63:[6, 94, 25] Operation: 76-51=25 Exploring Operation: 94-51=43, Resulting Numbers: [76, 6, 43] Generated Node #0,2: 63:[76, 6, 43] Operation: 94-51=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[6, 51, 18], Operations: ['94-76=18'] Exploring Operation: 51+18=69, Resulting Numbers: [6, 69] Generated Node #0,0,0: 63:[6, 69] Operation: 51+18=69 Exploring Operation: 18/6=3, Resulting Numbers: [51, 3] Generated Node #0,0,1: 63:[51, 3] Operation: 18/6=3 Exploring Operation: 6+51=57, Resulting Numbers: [18, 57] Generated Node #0,0,2: 63:[18, 57] Operation: 6+51=57 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[6, 69], Operations: ['94-76=18', '51+18=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[76, 6, 94, 51], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [6, 51, 18] Generated Node #0,0: 63:[6, 51, 18] Operation: 94-76=18 Moving to Node #0,0 Current State: 63:[6, 51, 18], Operations: ['94-76=18'] Exploring Operation: 51+18=69, Resulting Numbers: [6, 69] Generated Node #0,0,0: 63:[6, 69] Operation: 51+18=69 Moving to Node #0,0,0 Current State: 63:[6, 69], Operations: ['94-76=18', '51+18=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 28, 61, 95, 3 ]
72
[ "28*3=84", "61+95=156", "156-84=72" ]
Current State: 72:[28, 61, 95, 3], Operations: [] Exploring Operation: 28*3=84, Resulting Numbers: [61, 95, 84] Generated Node #2: [61, 95, 84] from Operation: 28*3=84 Current State: 72:[61, 95, 84], Operations: ['28*3=84'] Exploring Operation: 61+95=156, Resulting Numbers: [84, 156] Generated Node #3: [84, 156] from Operation: 61+95=156 Current State: 72:[84, 156], Operations: ['28*3=84', '61+95=156'] Exploring Operation: 156-84=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[28, 61, 95, 3], Operations: [] Exploring Operation: 61+3=64, Resulting Numbers: [28, 95, 64] Generated Node #0,0: 72:[28, 95, 64] Operation: 61+3=64 Exploring Operation: 61-28=33, Resulting Numbers: [95, 3, 33] Generated Node #0,1: 72:[95, 3, 33] Operation: 61-28=33 Exploring Operation: 95-28=67, Resulting Numbers: [61, 3, 67] Generated Node #0,2: 72:[61, 3, 67] Operation: 95-28=67 Exploring Operation: 28-3=25, Resulting Numbers: [61, 95, 25] Generated Node #0,3: 72:[61, 95, 25] Operation: 28-3=25 Exploring Operation: 95-61=34, Resulting Numbers: [28, 3, 34] Generated Node #0,4: 72:[28, 3, 34] Operation: 95-61=34 Moving to Node #0,4 Current State: 72:[28, 3, 34], Operations: ['95-61=34'] Exploring Operation: 34-28=6, Resulting Numbers: [3, 6] Generated Node #0,4,0: 72:[3, 6] Operation: 34-28=6 Exploring Operation: 28+3=31, Resulting Numbers: [34, 31] Generated Node #0,4,1: 72:[34, 31] Operation: 28+3=31 Exploring Operation: 3+34=37, Resulting Numbers: [28, 37] Generated Node #0,4,2: 72:[28, 37] Operation: 3+34=37 Exploring Operation: 28-3=25, Resulting Numbers: [34, 25] Generated Node #0,4,3: 72:[34, 25] Operation: 28-3=25 Exploring Operation: 34-3=31, Resulting Numbers: [28, 31] Generated Node #0,4,4: 72:[28, 31] Operation: 34-3=31 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[3, 6], Operations: ['95-61=34', '34-28=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[34, 25], Operations: ['95-61=34', '28-3=25'] Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[28, 37], Operations: ['95-61=34', '3+34=37'] Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[34, 31], Operations: ['95-61=34', '28+3=31'] Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,72 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[28, 31], Operations: ['95-61=34', '34-3=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 72:[61, 3, 67], Operations: ['95-28=67'] Exploring Operation: 61-3=58, Resulting Numbers: [67, 58] Generated Node #0,2,0: 72:[67, 58] Operation: 61-3=58 Exploring Operation: 67-3=64, Resulting Numbers: [61, 64] Generated Node #0,2,1: 72:[61, 64] Operation: 67-3=64 Exploring Operation: 61+3=64, Resulting Numbers: [67, 64] Generated Node #0,2,2: 72:[67, 64] Operation: 61+3=64 Exploring Operation: 67-61=6, Resulting Numbers: [3, 6] Generated Node #0,2,3: 72:[3, 6] Operation: 67-61=6 Exploring Operation: 3+67=70, Resulting Numbers: [61, 70] Generated Node #0,2,4: 72:[61, 70] Operation: 3+67=70 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[3, 6], Operations: ['95-28=67', '67-61=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[67, 64], Operations: ['95-28=67', '61+3=64'] Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 67+64=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 67*64=4288, Resulting Numbers: [4288] 4288,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[61, 70], Operations: ['95-28=67', '3+67=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,72 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[67, 58], Operations: ['95-28=67', '61-3=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,72 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[61, 64], Operations: ['95-28=67', '67-3=64'] Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,72 unequal: No Solution Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,72 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: 72:[95, 3, 33], Operations: ['61-28=33'] Exploring Operation: 3+33=36, Resulting Numbers: [95, 36] Generated Node #0,1,0: 72:[95, 36] Operation: 3+33=36 Exploring Operation: 95-3=92, Resulting Numbers: [33, 92] Generated Node #0,1,1: 72:[33, 92] Operation: 95-3=92 Exploring Operation: 95-33=62, Resulting Numbers: [3, 62] Generated Node #0,1,2: 72:[3, 62] Operation: 95-33=62 Exploring Operation: 33/3=11, Resulting Numbers: [95, 11] Generated Node #0,1,3: 72:[95, 11] Operation: 33/3=11 Exploring Operation: 95+3=98, Resulting Numbers: [33, 98] Generated Node #0,1,4: 72:[33, 98] Operation: 95+3=98 Moving to Node #0,0 Current State: 72:[28, 95, 64], Operations: ['61+3=64'] Exploring Operation: 95-64=31, Resulting Numbers: [28, 31] Generated Node #0,0,0: 72:[28, 31] Operation: 95-64=31 Exploring Operation: 28+95=123, Resulting Numbers: [64, 123] Generated Node #0,0,1: 72:[64, 123] Operation: 28+95=123 Exploring Operation: 64-28=36, Resulting Numbers: [95, 36] Generated Node #0,0,2: 72:[95, 36] Operation: 64-28=36 Exploring Operation: 28+64=92, Resulting Numbers: [95, 92] Generated Node #0,0,3: 72:[95, 92] Operation: 28+64=92 Exploring Operation: 95-28=67, Resulting Numbers: [64, 67] Generated Node #0,0,4: 72:[64, 67] Operation: 95-28=67 Moving to Node #0,3 Current State: 72:[61, 95, 25], Operations: ['28-3=25'] Exploring Operation: 95-25=70, Resulting Numbers: [61, 70] Generated Node #0,3,0: 72:[61, 70] Operation: 95-25=70 Exploring Operation: 61+25=86, Resulting Numbers: [95, 86] Generated Node #0,3,1: 72:[95, 86] Operation: 61+25=86 Exploring Operation: 61-25=36, Resulting Numbers: [95, 36] Generated Node #0,3,2: 72:[95, 36] Operation: 61-25=36 Exploring Operation: 95-61=34, Resulting Numbers: [25, 34] Generated Node #0,3,3: 72:[25, 34] Operation: 95-61=34 Exploring Operation: 95+25=120, Resulting Numbers: [61, 120] Generated Node #0,3,4: 72:[61, 120] Operation: 95+25=120 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[25, 34], Operations: ['28-3=25', '95-61=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,72 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[61, 70], Operations: ['28-3=25', '95-25=70'] Exploring Operation: 61+70=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 61*70=4270, Resulting Numbers: [4270] 4270,72 unequal: No Solution Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[95, 36], Operations: ['28-3=25', '61-25=36'] Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,72 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[95, 86], Operations: ['28-3=25', '61+25=86'] Exploring Operation: 95+86=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 95-86=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 95*86=8170, Resulting Numbers: [8170] 8170,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[61, 120], Operations: ['28-3=25', '95+25=120'] Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,72 unequal: No Solution Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,72 unequal: No Solution Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,72 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: 72:[28, 31], Operations: ['61+3=64', '95-64=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,72 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,72 unequal: No Solution Moving to Node #0,1,2 Current State: 72:[3, 62], Operations: ['61-28=33', '95-33=62'] Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,72 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[64, 67], Operations: ['61+3=64', '95-28=67'] Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,72 unequal: No Solution Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[33, 92], Operations: ['61-28=33', '95-3=92'] Exploring Operation: 92-33=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 33*92=3036, Resulting Numbers: [3036] 3036,72 unequal: No Solution Exploring Operation: 33+92=125, Resulting Numbers: [125] 125,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[95, 36], Operations: ['61-28=33', '3+33=36'] Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,72 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[95, 36], Operations: ['61+3=64', '64-28=36'] Exploring Operation: 95+36=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 95*36=3420, Resulting Numbers: [3420] 3420,72 unequal: No Solution Exploring Operation: 95-36=59, Resulting Numbers: [59] 59,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[95, 11], Operations: ['61-28=33', '33/3=11'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,72 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,72 unequal: No Solution Moving to Node #0,1,4 Current State: 72:[33, 98], Operations: ['61-28=33', '95+3=98'] Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 33+98=131, Resulting Numbers: [131] 131,72 unequal: No Solution Exploring Operation: 33*98=3234, Resulting Numbers: [3234] 3234,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[95, 92], Operations: ['61+3=64', '28+64=92'] Exploring Operation: 95*92=8740, Resulting Numbers: [8740] 8740,72 unequal: No Solution Exploring Operation: 95+92=187, Resulting Numbers: [187] 187,72 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[64, 123], Operations: ['61+3=64', '28+95=123'] Exploring Operation: 123-64=59, Resulting Numbers: [59] 59,72 unequal: No Solution Exploring Operation: 64*123=7872, Resulting Numbers: [7872] 7872,72 unequal: No Solution Exploring Operation: 64+123=187, Resulting Numbers: [187] 187,72 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 25, 9, 19, 13 ]
16
[ "25-9=16", "19+13=32", "32-16=16" ]
Current State: 16:[25, 9, 19, 13], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [19, 13, 16] Generated Node #2: [19, 13, 16] from Operation: 25-9=16 Current State: 16:[19, 13, 16], Operations: ['25-9=16'] Exploring Operation: 19+13=32, Resulting Numbers: [16, 32] Generated Node #3: [16, 32] from Operation: 19+13=32 Current State: 16:[16, 32], Operations: ['25-9=16', '19+13=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[25, 9, 19, 13], Operations: [] Exploring Operation: 19-13=6, Resulting Numbers: [25, 9, 6] Generated Node #0,0: 16:[25, 9, 6] Operation: 19-13=6 Exploring Operation: 25-13=12, Resulting Numbers: [9, 19, 12] Generated Node #0,1: 16:[9, 19, 12] Operation: 25-13=12 Exploring Operation: 25-9=16, Resulting Numbers: [19, 13, 16] Generated Node #0,2: 16:[19, 13, 16] Operation: 25-9=16 Exploring Operation: 13-9=4, Resulting Numbers: [25, 19, 4] Generated Node #0,3: 16:[25, 19, 4] Operation: 13-9=4 Exploring Operation: 25-19=6, Resulting Numbers: [9, 13, 6] Generated Node #0,4: 16:[9, 13, 6] Operation: 25-19=6 Moving to Node #0,2 Current State: 16:[19, 13, 16], Operations: ['25-9=16'] Exploring Operation: 19+13=32, Resulting Numbers: [16, 32] Generated Node #0,2,0: 16:[16, 32] Operation: 19+13=32 Exploring Operation: 19-16=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 16:[13, 3] Operation: 19-16=3 Exploring Operation: 13+16=29, Resulting Numbers: [19, 29] Generated Node #0,2,2: 16:[19, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [19, 3] Generated Node #0,2,3: 16:[19, 3] Operation: 16-13=3 Exploring Operation: 19-13=6, Resulting Numbers: [16, 6] Generated Node #0,2,4: 16:[16, 6] Operation: 19-13=6 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 16:[16, 6], Operations: ['25-9=16', '19-13=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,16 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,16 unequal: No Solution No 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: 16:[13, 3], Operations: ['25-9=16', '19-16=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[25, 9, 19, 13], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [19, 13, 16] Generated Node #0,2: 16:[19, 13, 16] Operation: 25-9=16 Moving to Node #0,2 Current State: 16:[19, 13, 16], Operations: ['25-9=16'] Exploring Operation: 19-16=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 16:[13, 3] Operation: 19-16=3 Moving to Node #0,2,1 Current State: 16:[13, 3], Operations: ['25-9=16', '19-16=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 82, 11, 19, 50 ]
77
[ "82+50=132", "11*19=209", "209-132=77" ]
Current State: 77:[82, 11, 19, 50], Operations: [] Exploring Operation: 82+50=132, Resulting Numbers: [11, 19, 132] Generated Node #2: [11, 19, 132] from Operation: 82+50=132 Current State: 77:[11, 19, 132], Operations: ['82+50=132'] Exploring Operation: 11*19=209, Resulting Numbers: [132, 209] Generated Node #3: [132, 209] from Operation: 11*19=209 Current State: 77:[132, 209], Operations: ['82+50=132', '11*19=209'] Exploring Operation: 209-132=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[82, 11, 19, 50], Operations: [] Exploring Operation: 19+50=69, Resulting Numbers: [82, 11, 69] Generated Node #0,0: 77:[82, 11, 69] Operation: 19+50=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[82, 11, 69], Operations: ['19+50=69'] Exploring Operation: 82-69=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 77:[11, 13] Operation: 82-69=13 Moving to Node #0,0,0 Current State: 77:[11, 13], Operations: ['19+50=69', '82-69=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 34, 8, 77 ]
59
[ "34-8=26", "8+77=85", "85-26=59" ]
Current State: 59:[8, 34, 8, 77], Operations: [] Exploring Operation: 34-8=26, Resulting Numbers: [77, 26] Generated Node #2: [77, 26] from Operation: 34-8=26 Current State: 59:[77, 26], Operations: ['34-8=26'] Exploring Operation: 8+77=85, Resulting Numbers: [26, 85] Generated Node #3: [26, 85] from Operation: 8+77=85 Current State: 59:[26, 85], Operations: ['34-8=26', '8+77=85'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[8, 34, 8, 77], Operations: [] Exploring Operation: 77-8=69, Resulting Numbers: [34, 8, 69] Generated Node #0,0: 59:[34, 8, 69] Operation: 77-8=69 Exploring Operation: 8*8=64, Resulting Numbers: [34, 77, 64] Generated Node #0,1: 59:[34, 77, 64] Operation: 8*8=64 Exploring Operation: 8+34=42, Resulting Numbers: [8, 77, 42] Generated Node #0,2: 59:[8, 77, 42] Operation: 8+34=42 Exploring Operation: 8+8=16, Resulting Numbers: [34, 77, 16] Generated Node #0,3: 59:[34, 77, 16] Operation: 8+8=16 Moving to Node #0,1 Current State: 59:[34, 77, 64], Operations: ['8*8=64'] Exploring Operation: 64-34=30, Resulting Numbers: [77, 30] Generated Node #0,1,0: 59:[77, 30] Operation: 64-34=30 Exploring Operation: 77-34=43, Resulting Numbers: [64, 43] Generated Node #0,1,1: 59:[64, 43] Operation: 77-34=43 Exploring Operation: 34+64=98, Resulting Numbers: [77, 98] Generated Node #0,1,2: 59:[77, 98] Operation: 34+64=98 Exploring Operation: 34+77=111, Resulting Numbers: [64, 111] Generated Node #0,1,3: 59:[64, 111] Operation: 34+77=111 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[64, 43], Operations: ['8*8=64', '77-34=43'] Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,59 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[77, 30], Operations: ['8*8=64', '64-34=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,59 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[77, 98], Operations: ['8*8=64', '34+64=98'] Exploring Operation: 77*98=7546, Resulting Numbers: [7546] 7546,59 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[64, 111], Operations: ['8*8=64', '34+77=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,59 unequal: No Solution Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,59 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,59 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: 59:[8, 77, 42], Operations: ['8+34=42'] Exploring Operation: 42-8=34, Resulting Numbers: [77, 34] Generated Node #0,2,0: 59:[77, 34] Operation: 42-8=34 Exploring Operation: 8+77=85, Resulting Numbers: [42, 85] Generated Node #0,2,1: 59:[42, 85] Operation: 8+77=85 Exploring Operation: 8+42=50, Resulting Numbers: [77, 50] Generated Node #0,2,2: 59:[77, 50] Operation: 8+42=50 Exploring Operation: 77-8=69, Resulting Numbers: [42, 69] Generated Node #0,2,3: 59:[42, 69] Operation: 77-8=69 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[77, 50], Operations: ['8+34=42', '8+42=50'] Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[42, 69], Operations: ['8+34=42', '77-8=69'] Exploring Operation: 42*69=2898, Resulting Numbers: [2898] 2898,59 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 42+69=111, Resulting Numbers: [111] 111,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[77, 34], Operations: ['8+34=42', '42-8=34'] Exploring Operation: 77*34=2618, Resulting Numbers: [2618] 2618,59 unequal: No Solution Exploring Operation: 77+34=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[42, 85], Operations: ['8+34=42', '8+77=85'] Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,59 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,59 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: 59:[34, 8, 69], Operations: ['77-8=69'] Exploring Operation: 34-8=26, Resulting Numbers: [69, 26] Generated Node #0,0,0: 59:[69, 26] Operation: 34-8=26 Exploring Operation: 8+69=77, Resulting Numbers: [34, 77] Generated Node #0,0,1: 59:[34, 77] Operation: 8+69=77 Exploring Operation: 34+8=42, Resulting Numbers: [69, 42] Generated Node #0,0,2: 59:[69, 42] Operation: 34+8=42 Exploring Operation: 69-8=61, Resulting Numbers: [34, 61] Generated Node #0,0,3: 59:[34, 61] Operation: 69-8=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[69, 42], Operations: ['77-8=69', '34+8=42'] Exploring Operation: 69+42=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 69-42=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 69*42=2898, Resulting Numbers: [2898] 2898,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[34, 61], Operations: ['77-8=69', '69-8=61'] Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[69, 26], Operations: ['77-8=69', '34-8=26'] Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,59 unequal: No Solution Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[34, 77], Operations: ['77-8=69', '8+69=77'] Exploring Operation: 34+77=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 34*77=2618, Resulting Numbers: [2618] 2618,59 unequal: No Solution Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,59 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: 59:[34, 77, 16], Operations: ['8+8=16'] Exploring Operation: 34+16=50, Resulting Numbers: [77, 50] Generated Node #0,3,0: 59:[77, 50] Operation: 34+16=50 Exploring Operation: 34-16=18, Resulting Numbers: [77, 18] Generated Node #0,3,1: 59:[77, 18] Operation: 34-16=18 Exploring Operation: 77-34=43, Resulting Numbers: [16, 43] Generated Node #0,3,2: 59:[16, 43] Operation: 77-34=43 Exploring Operation: 77-16=61, Resulting Numbers: [34, 61] Generated Node #0,3,3: 59:[34, 61] Operation: 77-16=61 Moving to Node #0,3,0 Current State: 59:[77, 50], Operations: ['8+8=16', '34+16=50'] Exploring Operation: 77+50=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 77-50=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 77*50=3850, Resulting Numbers: [3850] 3850,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[34, 61], Operations: ['8+8=16', '77-16=61'] Exploring Operation: 34*61=2074, Resulting Numbers: [2074] 2074,59 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[16, 43], Operations: ['8+8=16', '77-34=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[8, 34, 8, 77], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [34, 77, 16] Generated Node #0,3: 59:[34, 77, 16] Operation: 8+8=16 Moving to Node #0,3 Current State: 59:[34, 77, 16], Operations: ['8+8=16'] Exploring Operation: 77-34=43, Resulting Numbers: [16, 43] Generated Node #0,3,2: 59:[16, 43] Operation: 77-34=43 Moving to Node #0,3,2 Current State: 59:[16, 43], Operations: ['8+8=16', '77-34=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.94184
hs_4
mult_heuristic
[ 64, 95, 4, 22 ]
73
[ "64-22=42", "4*42=168", "168-95=73" ]
Current State: 73:[64, 95, 4, 22], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [95, 4, 42] Generated Node #2: [95, 4, 42] from Operation: 64-22=42 Current State: 73:[95, 4, 42], Operations: ['64-22=42'] Exploring Operation: 4*42=168, Resulting Numbers: [95, 168] Generated Node #3: [95, 168] from Operation: 4*42=168 Current State: 73:[95, 168], Operations: ['64-22=42', '4*42=168'] Exploring Operation: 168-95=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[64, 95, 4, 22], Operations: [] Exploring Operation: 95-4=91, Resulting Numbers: [64, 22, 91] Generated Node #0,0: 73:[64, 22, 91] Operation: 95-4=91 Exploring Operation: 4*22=88, Resulting Numbers: [64, 95, 88] Generated Node #0,1: 73:[64, 95, 88] Operation: 4*22=88 Exploring Operation: 4+22=26, Resulting Numbers: [64, 95, 26] Generated Node #0,2: 73:[64, 95, 26] Operation: 4+22=26 Exploring Operation: 95-22=73, Resulting Numbers: [64, 4, 73] Generated Node #0,3: 73:[64, 4, 73] Operation: 95-22=73 Exploring Operation: 64+4=68, Resulting Numbers: [95, 22, 68] Generated Node #0,4: 73:[95, 22, 68] Operation: 64+4=68 Moving to Node #0,1 Current State: 73:[64, 95, 88], Operations: ['4*22=88'] Exploring Operation: 64+95=159, Resulting Numbers: [88, 159] Generated Node #0,1,0: 73:[88, 159] Operation: 64+95=159 Exploring Operation: 95-88=7, Resulting Numbers: [64, 7] Generated Node #0,1,1: 73:[64, 7] Operation: 95-88=7 Exploring Operation: 64+88=152, Resulting Numbers: [95, 152] Generated Node #0,1,2: 73:[95, 152] Operation: 64+88=152 Exploring Operation: 95-64=31, Resulting Numbers: [88, 31] Generated Node #0,1,3: 73:[88, 31] Operation: 95-64=31 Exploring Operation: 88-64=24, Resulting Numbers: [95, 24] Generated Node #0,1,4: 73:[95, 24] Operation: 88-64=24 Moving to Node #0,2 Current State: 73:[64, 95, 26], Operations: ['4+22=26'] Exploring Operation: 95+26=121, Resulting Numbers: [64, 121] Generated Node #0,2,0: 73:[64, 121] Operation: 95+26=121 Exploring Operation: 64-26=38, Resulting Numbers: [95, 38] Generated Node #0,2,1: 73:[95, 38] Operation: 64-26=38 Exploring Operation: 64+26=90, Resulting Numbers: [95, 90] Generated Node #0,2,2: 73:[95, 90] Operation: 64+26=90 Exploring Operation: 95-64=31, Resulting Numbers: [26, 31] Generated Node #0,2,3: 73:[26, 31] Operation: 95-64=31 Exploring Operation: 95-26=69, Resulting Numbers: [64, 69] Generated Node #0,2,4: 73:[64, 69] Operation: 95-26=69 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 73:[64, 69], Operations: ['4+22=26', '95-26=69'] Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,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,2 Current State: 73:[95, 90], Operations: ['4+22=26', '64+26=90'] Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,73 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,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,0 Current State: 73:[64, 121], Operations: ['4+22=26', '95+26=121'] Exploring Operation: 64*121=7744, Resulting Numbers: [7744] 7744,73 unequal: No Solution Exploring Operation: 64+121=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 121-64=57, Resulting Numbers: [57] 57,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,1 Current State: 73:[95, 38], Operations: ['4+22=26', '64-26=38'] Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,73 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,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,3 Current State: 73:[26, 31], Operations: ['4+22=26', '95-64=31'] Exploring Operation: 26+31=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 26*31=806, Resulting Numbers: [806] 806,73 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,73 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: 73:[95, 22, 68], Operations: ['64+4=68'] Exploring Operation: 95-68=27, Resulting Numbers: [22, 27] Generated Node #0,4,0: 73:[22, 27] Operation: 95-68=27 Exploring Operation: 95-22=73, Resulting Numbers: [68, 73] Generated Node #0,4,1: 73:[68, 73] Operation: 95-22=73 Exploring Operation: 68-22=46, Resulting Numbers: [95, 46] Generated Node #0,4,2: 73:[95, 46] Operation: 68-22=46 Exploring Operation: 95+22=117, Resulting Numbers: [68, 117] Generated Node #0,4,3: 73:[68, 117] Operation: 95+22=117 Exploring Operation: 22+68=90, Resulting Numbers: [95, 90] Generated Node #0,4,4: 73:[95, 90] Operation: 22+68=90 Moving to Node #0,0 Current State: 73:[64, 22, 91], Operations: ['95-4=91'] Exploring Operation: 91-64=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 73:[22, 27] Operation: 91-64=27 Exploring Operation: 64-22=42, Resulting Numbers: [91, 42] Generated Node #0,0,1: 73:[91, 42] Operation: 64-22=42 Exploring Operation: 91-22=69, Resulting Numbers: [64, 69] Generated Node #0,0,2: 73:[64, 69] Operation: 91-22=69 Exploring Operation: 64+22=86, Resulting Numbers: [91, 86] Generated Node #0,0,3: 73:[91, 86] Operation: 64+22=86 Exploring Operation: 22+91=113, Resulting Numbers: [64, 113] Generated Node #0,0,4: 73:[64, 113] Operation: 22+91=113 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[64, 69], Operations: ['95-4=91', '91-22=69'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,73 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,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,3 Current State: 73:[91, 86], Operations: ['95-4=91', '64+22=86'] Exploring Operation: 91+86=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 91*86=7826, Resulting Numbers: [7826] 7826,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,1 Current State: 73:[91, 42], Operations: ['95-4=91', '64-22=42'] Exploring Operation: 91-42=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 91*42=3822, Resulting Numbers: [3822] 3822,73 unequal: No Solution Exploring Operation: 91+42=133, Resulting Numbers: [133] 133,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,4 Current State: 73:[64, 113], Operations: ['95-4=91', '22+91=113'] Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,73 unequal: No Solution Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,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,0 Current State: 73:[22, 27], Operations: ['95-4=91', '91-64=27'] Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,73 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,73 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: 73:[64, 4, 73], Operations: ['95-22=73'] Exploring Operation: 64/4=16, Resulting Numbers: [73, 16] Generated Node #0,3,0: 73:[73, 16] Operation: 64/4=16 Exploring Operation: 64-4=60, Resulting Numbers: [73, 60] Generated Node #0,3,1: 73:[73, 60] Operation: 64-4=60 Exploring Operation: 4+73=77, Resulting Numbers: [64, 77] Generated Node #0,3,2: 73:[64, 77] Operation: 4+73=77 Exploring Operation: 73-4=69, Resulting Numbers: [64, 69] Generated Node #0,3,3: 73:[64, 69] Operation: 73-4=69 Exploring Operation: 64+4=68, Resulting Numbers: [73, 68] Generated Node #0,3,4: 73:[73, 68] Operation: 64+4=68 Moving to Node #0,4,1 Current State: 73:[68, 73], Operations: ['64+4=68', '95-22=73'] Exploring Operation: 68*73=4964, Resulting Numbers: [4964] 4964,73 unequal: No Solution Exploring Operation: 68+73=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[73, 68], Operations: ['95-22=73', '64+4=68'] Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 73*68=4964, Resulting Numbers: [4964] 4964,73 unequal: No Solution Exploring Operation: 73+68=141, Resulting Numbers: [141] 141,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[73, 60], Operations: ['95-22=73', '64-4=60'] Exploring Operation: 73*60=4380, Resulting Numbers: [4380] 4380,73 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[64, 69], Operations: ['95-22=73', '73-4=69'] Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,73 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[64, 77], Operations: ['95-22=73', '4+73=77'] Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,73 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[95, 90], Operations: ['64+4=68', '22+68=90'] Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 95*90=8550, Resulting Numbers: [8550] 8550,73 unequal: No Solution Exploring Operation: 95+90=185, Resulting Numbers: [185] 185,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[95, 46], Operations: ['64+4=68', '68-22=46'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,73 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[68, 117], Operations: ['64+4=68', '95+22=117'] Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 68+117=185, Resulting Numbers: [185] 185,73 unequal: No Solution Exploring Operation: 68*117=7956, Resulting Numbers: [7956] 7956,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[88, 31], Operations: ['4*22=88', '95-64=31'] Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 88*31=2728, Resulting Numbers: [2728] 2728,73 unequal: No Solution Exploring Operation: 88+31=119, Resulting Numbers: [119] 119,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[73, 16], Operations: ['95-22=73', '64/4=16'] Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[95, 24], Operations: ['4*22=88', '88-64=24'] Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[64, 7], Operations: ['4*22=88', '95-88=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,73 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,73 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[22, 27], Operations: ['64+4=68', '95-68=27'] Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,73 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[88, 159], Operations: ['4*22=88', '64+95=159'] Exploring Operation: 88+159=247, Resulting Numbers: [247] 247,73 unequal: No Solution Exploring Operation: 88*159=13992, Resulting Numbers: [13992] 13992,73 unequal: No Solution Exploring Operation: 159-88=71, Resulting Numbers: [71] 71,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[95, 152], Operations: ['4*22=88', '64+88=152'] Exploring Operation: 152-95=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 95+152=247, Resulting Numbers: [247] 247,73 unequal: No Solution Exploring Operation: 95*152=14440, Resulting Numbers: [14440] 14440,73 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 22, 14, 31, 44 ]
23
[ "22+14=36", "44-31=13", "36-13=23" ]
Current State: 23:[22, 14, 31, 44], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [31, 44, 36] Generated Node #2: [31, 44, 36] from Operation: 22+14=36 Current State: 23:[31, 44, 36], Operations: ['22+14=36'] Exploring Operation: 44-31=13, Resulting Numbers: [36, 13] Generated Node #3: [36, 13] from Operation: 44-31=13 Current State: 23:[36, 13], Operations: ['22+14=36', '44-31=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[22, 14, 31, 44], Operations: [] Exploring Operation: 31-14=17, Resulting Numbers: [22, 44, 17] Generated Node #0,0: 23:[22, 44, 17] Operation: 31-14=17 Exploring Operation: 44-14=30, Resulting Numbers: [22, 31, 30] Generated Node #0,1: 23:[22, 31, 30] Operation: 44-14=30 Exploring Operation: 44-31=13, Resulting Numbers: [22, 14, 13] Generated Node #0,2: 23:[22, 14, 13] Operation: 44-31=13 Exploring Operation: 44-22=22, Resulting Numbers: [14, 31, 22] Generated Node #0,3: 23:[14, 31, 22] Operation: 44-22=22 Moving to Node #0,1 Current State: 23:[22, 31, 30], Operations: ['44-14=30'] Exploring Operation: 31-22=9, Resulting Numbers: [30, 9] Generated Node #0,1,0: 23:[30, 9] Operation: 31-22=9 Exploring Operation: 22+31=53, Resulting Numbers: [30, 53] Generated Node #0,1,1: 23:[30, 53] Operation: 22+31=53 Exploring Operation: 30-22=8, Resulting Numbers: [31, 8] Generated Node #0,1,2: 23:[31, 8] Operation: 30-22=8 Exploring Operation: 31-30=1, Resulting Numbers: [22, 1] Generated Node #0,1,3: 23:[22, 1] Operation: 31-30=1 Moving to Node #0,3 Current State: 23:[14, 31, 22], Operations: ['44-22=22'] Exploring Operation: 31-14=17, Resulting Numbers: [22, 17] Generated Node #0,3,0: 23:[22, 17] Operation: 31-14=17 Exploring Operation: 22-14=8, Resulting Numbers: [31, 8] Generated Node #0,3,1: 23:[31, 8] Operation: 22-14=8 Exploring Operation: 14+31=45, Resulting Numbers: [22, 45] Generated Node #0,3,2: 23:[22, 45] Operation: 14+31=45 Exploring Operation: 14+22=36, Resulting Numbers: [31, 36] Generated Node #0,3,3: 23:[31, 36] Operation: 14+22=36 Moving to Node #0,2 Current State: 23:[22, 14, 13], Operations: ['44-31=13'] Exploring Operation: 14+13=27, Resulting Numbers: [22, 27] Generated Node #0,2,0: 23:[22, 27] Operation: 14+13=27 Exploring Operation: 22+14=36, Resulting Numbers: [13, 36] Generated Node #0,2,1: 23:[13, 36] Operation: 22+14=36 Exploring Operation: 22-13=9, Resulting Numbers: [14, 9] Generated Node #0,2,2: 23:[14, 9] Operation: 22-13=9 Exploring Operation: 22+13=35, Resulting Numbers: [14, 35] Generated Node #0,2,3: 23:[14, 35] Operation: 22+13=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[22, 27], Operations: ['44-31=13', '14+13=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,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:[14, 35], Operations: ['44-31=13', '22+13=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,23 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,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:[13, 36], Operations: ['44-31=13', '22+14=36'] Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,23 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[22, 14, 31, 44], Operations: [] Exploring Operation: 44-31=13, Resulting Numbers: [22, 14, 13] Generated Node #0,2: 23:[22, 14, 13] Operation: 44-31=13 Moving to Node #0,2 Current State: 23:[22, 14, 13], Operations: ['44-31=13'] Exploring Operation: 22+14=36, Resulting Numbers: [13, 36] Generated Node #0,2,1: 23:[13, 36] Operation: 22+14=36 Moving to Node #0,2,1 Current State: 23:[13, 36], Operations: ['44-31=13', '22+14=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 77, 21, 2, 69 ]
15
[ "77-21=56", "2+69=71", "71-56=15" ]
Current State: 15:[77, 21, 2, 69], Operations: [] Exploring Operation: 77-21=56, Resulting Numbers: [2, 69, 56] Generated Node #2: [2, 69, 56] from Operation: 77-21=56 Current State: 15:[2, 69, 56], Operations: ['77-21=56'] Exploring Operation: 2+69=71, Resulting Numbers: [56, 71] Generated Node #3: [56, 71] from Operation: 2+69=71 Current State: 15:[56, 71], Operations: ['77-21=56', '2+69=71'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[77, 21, 2, 69], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [21, 2, 8] Generated Node #0,0: 15:[21, 2, 8] Operation: 77-69=8 Exploring Operation: 77-21=56, Resulting Numbers: [2, 69, 56] Generated Node #0,1: 15:[2, 69, 56] Operation: 77-21=56 Exploring Operation: 69-21=48, Resulting Numbers: [77, 2, 48] Generated Node #0,2: 15:[77, 2, 48] Operation: 69-21=48 Moving to Node #0,0 Current State: 15:[21, 2, 8], Operations: ['77-69=8'] Exploring Operation: 2*8=16, Resulting Numbers: [21, 16] Generated Node #0,0,0: 15:[21, 16] Operation: 2*8=16 Exploring Operation: 21-8=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 15:[2, 13] Operation: 21-8=13 Exploring Operation: 21-2=19, Resulting Numbers: [8, 19] Generated Node #0,0,2: 15:[8, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[2, 13], Operations: ['77-69=8', '21-8=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[77, 21, 2, 69], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [21, 2, 8] Generated Node #0,0: 15:[21, 2, 8] Operation: 77-69=8 Moving to Node #0,0 Current State: 15:[21, 2, 8], Operations: ['77-69=8'] Exploring Operation: 21-8=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 15:[2, 13] Operation: 21-8=13 Moving to Node #0,0,1 Current State: 15:[2, 13], Operations: ['77-69=8', '21-8=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 4, 95, 67, 26 ]
86
[ "95-67=28", "4*28=112", "112-26=86" ]
Current State: 86:[4, 95, 67, 26], Operations: [] Exploring Operation: 95-67=28, Resulting Numbers: [4, 26, 28] Generated Node #2: [4, 26, 28] from Operation: 95-67=28 Current State: 86:[4, 26, 28], Operations: ['95-67=28'] Exploring Operation: 4*28=112, Resulting Numbers: [26, 112] Generated Node #3: [26, 112] from Operation: 4*28=112 Current State: 86:[26, 112], Operations: ['95-67=28', '4*28=112'] Exploring Operation: 112-26=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[4, 95, 67, 26], Operations: [] Exploring Operation: 95-67=28, Resulting Numbers: [4, 26, 28] Generated Node #0,0: 86:[4, 26, 28] Operation: 95-67=28 Exploring Operation: 95-26=69, Resulting Numbers: [4, 67, 69] Generated Node #0,1: 86:[4, 67, 69] Operation: 95-26=69 Exploring Operation: 67-26=41, Resulting Numbers: [4, 95, 41] Generated Node #0,2: 86:[4, 95, 41] Operation: 67-26=41 Exploring Operation: 67+26=93, Resulting Numbers: [4, 95, 93] Generated Node #0,3: 86:[4, 95, 93] Operation: 67+26=93 Exploring Operation: 95-4=91, Resulting Numbers: [67, 26, 91] Generated Node #0,4: 86:[67, 26, 91] Operation: 95-4=91 Moving to Node #0,2 Current State: 86:[4, 95, 41], Operations: ['67-26=41'] Exploring Operation: 41-4=37, Resulting Numbers: [95, 37] Generated Node #0,2,0: 86:[95, 37] Operation: 41-4=37 Exploring Operation: 95-4=91, Resulting Numbers: [41, 91] Generated Node #0,2,1: 86:[41, 91] Operation: 95-4=91 Exploring Operation: 4+95=99, Resulting Numbers: [41, 99] Generated Node #0,2,2: 86:[41, 99] Operation: 4+95=99 Exploring Operation: 4+41=45, Resulting Numbers: [95, 45] Generated Node #0,2,3: 86:[95, 45] Operation: 4+41=45 Exploring Operation: 95-41=54, Resulting Numbers: [4, 54] Generated Node #0,2,4: 86:[4, 54] Operation: 95-41=54 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[41, 91], Operations: ['67-26=41', '95-4=91'] Exploring Operation: 41*91=3731, Resulting Numbers: [3731] 3731,86 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 41+91=132, Resulting Numbers: [132] 132,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,3 Current State: 86:[95, 45], Operations: ['67-26=41', '4+41=45'] Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 95+45=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 95*45=4275, Resulting Numbers: [4275] 4275,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,4 Current State: 86:[4, 54], Operations: ['67-26=41', '95-41=54'] Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,86 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,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:[95, 37], Operations: ['67-26=41', '41-4=37'] Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 95+37=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 95*37=3515, Resulting Numbers: [3515] 3515,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:[41, 99], Operations: ['67-26=41', '4+95=99'] Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,86 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: 86:[4, 95, 93], Operations: ['67+26=93'] Exploring Operation: 95-4=91, Resulting Numbers: [93, 91] Generated Node #0,3,0: 86:[93, 91] Operation: 95-4=91 Exploring Operation: 4+95=99, Resulting Numbers: [93, 99] Generated Node #0,3,1: 86:[93, 99] Operation: 4+95=99 Exploring Operation: 4+93=97, Resulting Numbers: [95, 97] Generated Node #0,3,2: 86:[95, 97] Operation: 4+93=97 Exploring Operation: 95-93=2, Resulting Numbers: [4, 2] Generated Node #0,3,3: 86:[4, 2] Operation: 95-93=2 Exploring Operation: 93-4=89, Resulting Numbers: [95, 89] Generated Node #0,3,4: 86:[95, 89] Operation: 93-4=89 Moving to Node #0,0 Current State: 86:[4, 26, 28], Operations: ['95-67=28'] Exploring Operation: 26+28=54, Resulting Numbers: [4, 54] Generated Node #0,0,0: 86:[4, 54] Operation: 26+28=54 Exploring Operation: 4+26=30, Resulting Numbers: [28, 30] Generated Node #0,0,1: 86:[28, 30] Operation: 4+26=30 Exploring Operation: 28-26=2, Resulting Numbers: [4, 2] Generated Node #0,0,2: 86:[4, 2] Operation: 28-26=2 Exploring Operation: 4+28=32, Resulting Numbers: [26, 32] Generated Node #0,0,3: 86:[26, 32] Operation: 4+28=32 Exploring Operation: 28/4=7, Resulting Numbers: [26, 7] Generated Node #0,0,4: 86:[26, 7] Operation: 28/4=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[4, 2], Operations: ['95-67=28', '28-26=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[4, 54], Operations: ['95-67=28', '26+28=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 86:[26, 7], Operations: ['95-67=28', '28/4=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,86 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[28, 30], Operations: ['95-67=28', '4+26=30'] Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,86 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[26, 32], Operations: ['95-67=28', '4+28=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,86 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,86 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,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:[4, 67, 69], Operations: ['95-26=69'] Exploring Operation: 4+67=71, Resulting Numbers: [69, 71] Generated Node #0,1,0: 86:[69, 71] Operation: 4+67=71 Exploring Operation: 69-4=65, Resulting Numbers: [67, 65] Generated Node #0,1,1: 86:[67, 65] Operation: 69-4=65 Exploring Operation: 69-67=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 86:[4, 2] Operation: 69-67=2 Exploring Operation: 4+69=73, Resulting Numbers: [67, 73] Generated Node #0,1,3: 86:[67, 73] Operation: 4+69=73 Exploring Operation: 67-4=63, Resulting Numbers: [69, 63] Generated Node #0,1,4: 86:[69, 63] Operation: 67-4=63 Moving to Node #0,4 Current State: 86:[67, 26, 91], Operations: ['95-4=91'] Exploring Operation: 91-26=65, Resulting Numbers: [67, 65] Generated Node #0,4,0: 86:[67, 65] Operation: 91-26=65 Exploring Operation: 67-26=41, Resulting Numbers: [91, 41] Generated Node #0,4,1: 86:[91, 41] Operation: 67-26=41 Exploring Operation: 26+91=117, Resulting Numbers: [67, 117] Generated Node #0,4,2: 86:[67, 117] Operation: 26+91=117 Exploring Operation: 91-67=24, Resulting Numbers: [26, 24] Generated Node #0,4,3: 86:[26, 24] Operation: 91-67=24 Exploring Operation: 67+26=93, Resulting Numbers: [91, 93] Generated Node #0,4,4: 86:[91, 93] Operation: 67+26=93 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 86:[91, 41], Operations: ['95-4=91', '67-26=41'] Exploring Operation: 91*41=3731, Resulting Numbers: [3731] 3731,86 unequal: No Solution Exploring Operation: 91+41=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[91, 93], Operations: ['95-4=91', '67+26=93'] Exploring Operation: 91+93=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 91*93=8463, Resulting Numbers: [8463] 8463,86 unequal: No Solution Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 86:[26, 24], Operations: ['95-4=91', '91-67=24'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,86 unequal: No Solution Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 86:[67, 65], Operations: ['95-4=91', '91-26=65'] Exploring Operation: 67*65=4355, Resulting Numbers: [4355] 4355,86 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 67+65=132, Resulting Numbers: [132] 132,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,4,2 Current State: 86:[67, 117], Operations: ['95-4=91', '26+91=117'] Exploring Operation: 117-67=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 67*117=7839, Resulting Numbers: [7839] 7839,86 unequal: No Solution Exploring Operation: 67+117=184, Resulting Numbers: [184] 184,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 86:[4, 2], Operations: ['67+26=93', '95-93=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[4, 2], Operations: ['95-26=69', '69-67=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,3,4 Current State: 86:[95, 89], Operations: ['67+26=93', '93-4=89'] Exploring Operation: 95-89=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 95+89=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 95*89=8455, Resulting Numbers: [8455] 8455,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[93, 91], Operations: ['67+26=93', '95-4=91'] Exploring Operation: 93-91=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 93*91=8463, Resulting Numbers: [8463] 8463,86 unequal: No Solution Exploring Operation: 93+91=184, Resulting Numbers: [184] 184,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[95, 97], Operations: ['67+26=93', '4+93=97'] Exploring Operation: 95+97=192, Resulting Numbers: [192] 192,86 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 95*97=9215, Resulting Numbers: [9215] 9215,86 unequal: No Solution Moving to Node #0,3,1 Current State: 86:[93, 99], Operations: ['67+26=93', '4+95=99'] Exploring Operation: 93*99=9207, Resulting Numbers: [9207] 9207,86 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[69, 71], Operations: ['95-26=69', '4+67=71'] Exploring Operation: 69*71=4899, Resulting Numbers: [4899] 4899,86 unequal: No Solution Exploring Operation: 69+71=140, Resulting Numbers: [140] 140,86 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[67, 73], Operations: ['95-26=69', '4+69=73'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 67*73=4891, Resulting Numbers: [4891] 4891,86 unequal: No Solution Exploring Operation: 67+73=140, Resulting Numbers: [140] 140,86 unequal: No Solution Moving to Node #0,1,4 Current State: 86:[69, 63], Operations: ['95-26=69', '67-4=63'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,86 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[67, 65], Operations: ['95-26=69', '69-4=65'] Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 67*65=4355, Resulting Numbers: [4355] 4355,86 unequal: No Solution Exploring Operation: 67+65=132, Resulting Numbers: [132] 132,86 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 57, 2, 89 ]
77
[ "99-89=10", "2*10=20", "57+20=77" ]
Current State: 77:[99, 57, 2, 89], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [57, 2, 10] Generated Node #2: [57, 2, 10] from Operation: 99-89=10 Current State: 77:[57, 2, 10], Operations: ['99-89=10'] Exploring Operation: 2*10=20, Resulting Numbers: [57, 20] Generated Node #3: [57, 20] from Operation: 2*10=20 Current State: 77:[57, 20], Operations: ['99-89=10', '2*10=20'] Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[99, 57, 2, 89], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [2, 89, 42] Generated Node #0,0: 77:[2, 89, 42] Operation: 99-57=42 Exploring Operation: 99-89=10, Resulting Numbers: [57, 2, 10] Generated Node #0,1: 77:[57, 2, 10] Operation: 99-89=10 Moving to Node #0,1 Current State: 77:[57, 2, 10], Operations: ['99-89=10'] Exploring Operation: 57+2=59, Resulting Numbers: [10, 59] Generated Node #0,1,0: 77:[10, 59] Operation: 57+2=59 Exploring Operation: 57+10=67, Resulting Numbers: [2, 67] Generated Node #0,1,1: 77:[2, 67] Operation: 57+10=67 Moving to Node #0,0 Current State: 77:[2, 89, 42], Operations: ['99-57=42'] Exploring Operation: 2*42=84, Resulting Numbers: [89, 84] Generated Node #0,0,0: 77:[89, 84] Operation: 2*42=84 Exploring Operation: 42/2=21, Resulting Numbers: [89, 21] Generated Node #0,0,1: 77:[89, 21] Operation: 42/2=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[89, 84], Operations: ['99-57=42', '2*42=84'] Exploring Operation: 89+84=173, Resulting Numbers: [173] 173,77 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,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,1 Current State: 77:[89, 21], Operations: ['99-57=42', '42/2=21'] Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,77 unequal: No Solution Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,77 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: 77:[2, 67], Operations: ['99-89=10', '57+10=67'] Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,77 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[10, 59], Operations: ['99-89=10', '57+2=59'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,77 unequal: No Solution Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 66, 47, 42, 56 ]
41
[ "66*56=3696", "3696/42=88", "88-47=41" ]
Current State: 41:[66, 47, 42, 56], Operations: [] Exploring Operation: 66*56=3696, Resulting Numbers: [47, 42, 3696] Generated Node #2: [47, 42, 3696] from Operation: 66*56=3696 Current State: 41:[47, 42, 3696], Operations: ['66*56=3696'] Exploring Operation: 3696/42=88, Resulting Numbers: [47, 88] Generated Node #3: [47, 88] from Operation: 3696/42=88 Current State: 41:[47, 88], Operations: ['66*56=3696', '3696/42=88'] Exploring Operation: 88-47=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[66, 47, 42, 56], Operations: [] Exploring Operation: 66-56=10, Resulting Numbers: [47, 42, 10] Generated Node #0,0: 41:[47, 42, 10] Operation: 66-56=10 Exploring Operation: 66-42=24, Resulting Numbers: [47, 56, 24] Generated Node #0,1: 41:[47, 56, 24] Operation: 66-42=24 Exploring Operation: 56-47=9, Resulting Numbers: [66, 42, 9] Generated Node #0,2: 41:[66, 42, 9] Operation: 56-47=9 Exploring Operation: 66-47=19, Resulting Numbers: [42, 56, 19] Generated Node #0,3: 41:[42, 56, 19] Operation: 66-47=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[47, 42, 10], Operations: ['66-56=10'] Exploring Operation: 42-10=32, Resulting Numbers: [47, 32] Generated Node #0,0,0: 41:[47, 32] Operation: 42-10=32 Exploring Operation: 42+10=52, Resulting Numbers: [47, 52] Generated Node #0,0,1: 41:[47, 52] Operation: 42+10=52 Exploring Operation: 47+10=57, Resulting Numbers: [42, 57] Generated Node #0,0,2: 41:[42, 57] Operation: 47+10=57 Exploring Operation: 47-10=37, Resulting Numbers: [42, 37] Generated Node #0,0,3: 41:[42, 37] Operation: 47-10=37 Moving to Node #0,0,3 Current State: 41:[42, 37], Operations: ['66-56=10', '47-10=37'] Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,41 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[47, 32], Operations: ['66-56=10', '42-10=32'] Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 47*32=1504, Resulting Numbers: [1504] 1504,41 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[42, 57], Operations: ['66-56=10', '47+10=57'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,41 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[47, 52], Operations: ['66-56=10', '42+10=52'] Exploring Operation: 52-47=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 47+52=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 47*52=2444, Resulting Numbers: [2444] 2444,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[47, 56, 24], Operations: ['66-42=24'] Exploring Operation: 56-24=32, Resulting Numbers: [47, 32] Generated Node #0,1,0: 41:[47, 32] Operation: 56-24=32 Exploring Operation: 47-24=23, Resulting Numbers: [56, 23] Generated Node #0,1,1: 41:[56, 23] Operation: 47-24=23 Exploring Operation: 47+24=71, Resulting Numbers: [56, 71] Generated Node #0,1,2: 41:[56, 71] Operation: 47+24=71 Exploring Operation: 56+24=80, Resulting Numbers: [47, 80] Generated Node #0,1,3: 41:[47, 80] Operation: 56+24=80 Moving to Node #0,1,0 Current State: 41:[47, 32], Operations: ['66-42=24', '56-24=32'] Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 47*32=1504, Resulting Numbers: [1504] 1504,41 unequal: No Solution Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[56, 23], Operations: ['66-42=24', '47-24=23'] Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,41 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[47, 80], Operations: ['66-42=24', '56+24=80'] Exploring Operation: 47+80=127, Resulting Numbers: [127] 127,41 unequal: No Solution Exploring Operation: 80-47=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 47*80=3760, Resulting Numbers: [3760] 3760,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[56, 71], Operations: ['66-42=24', '47+24=71'] Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,41 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[42, 56, 19], Operations: ['66-47=19'] Exploring Operation: 56-19=37, Resulting Numbers: [42, 37] Generated Node #0,3,0: 41:[42, 37] Operation: 56-19=37 Exploring Operation: 56+19=75, Resulting Numbers: [42, 75] Generated Node #0,3,1: 41:[42, 75] Operation: 56+19=75 Exploring Operation: 42+19=61, Resulting Numbers: [56, 61] Generated Node #0,3,2: 41:[56, 61] Operation: 42+19=61 Exploring Operation: 42-19=23, Resulting Numbers: [56, 23] Generated Node #0,3,3: 41:[56, 23] Operation: 42-19=23 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[42, 37], Operations: ['66-47=19', '56-19=37'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,41 unequal: No Solution Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,41 unequal: No Solution No 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: 41:[56, 23], Operations: ['66-47=19', '42-19=23'] Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,41 unequal: No Solution No 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: 41:[42, 75], Operations: ['66-47=19', '56+19=75'] Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,41 unequal: No Solution No 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: 41:[56, 61], Operations: ['66-47=19', '42+19=61'] Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,41 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,41 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: 41:[66, 42, 9], Operations: ['56-47=9'] Exploring Operation: 66+9=75, Resulting Numbers: [42, 75] Generated Node #0,2,0: 41:[42, 75] Operation: 66+9=75 Exploring Operation: 42+9=51, Resulting Numbers: [66, 51] Generated Node #0,2,1: 41:[66, 51] Operation: 42+9=51 Exploring Operation: 42-9=33, Resulting Numbers: [66, 33] Generated Node #0,2,2: 41:[66, 33] Operation: 42-9=33 Exploring Operation: 66-9=57, Resulting Numbers: [42, 57] Generated Node #0,2,3: 41:[42, 57] Operation: 66-9=57 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[42, 57], Operations: ['56-47=9', '66-9=57'] Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,41 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,41 unequal: No Solution Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,41 unequal: No Solution No 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: 41:[66, 33], Operations: ['56-47=9', '42-9=33'] Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,41 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,41 unequal: No Solution No 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: 41:[42, 75], Operations: ['56-47=9', '66+9=75'] Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,41 unequal: No Solution No 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: 41:[66, 51], Operations: ['56-47=9', '42+9=51'] Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,41 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 54, 8, 50, 52 ]
65
[ "54+50=104", "104/8=13", "52+13=65" ]
Current State: 65:[54, 8, 50, 52], Operations: [] Exploring Operation: 54+50=104, Resulting Numbers: [8, 52, 104] Generated Node #2: [8, 52, 104] from Operation: 54+50=104 Current State: 65:[8, 52, 104], Operations: ['54+50=104'] Exploring Operation: 104/8=13, Resulting Numbers: [52, 13] Generated Node #3: [52, 13] from Operation: 104/8=13 Current State: 65:[52, 13], Operations: ['54+50=104', '104/8=13'] Exploring Operation: 52+13=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[54, 8, 50, 52], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [8, 50, 2] Generated Node #0,0: 65:[8, 50, 2] Operation: 54-52=2 Exploring Operation: 54-50=4, Resulting Numbers: [8, 52, 4] Generated Node #0,1: 65:[8, 52, 4] Operation: 54-50=4 Exploring Operation: 52-50=2, Resulting Numbers: [54, 8, 2] Generated Node #0,2: 65:[54, 8, 2] Operation: 52-50=2 Moving to Node #0,1 Current State: 65:[8, 52, 4], Operations: ['54-50=4'] Exploring Operation: 8+52=60, Resulting Numbers: [4, 60] Generated Node #0,1,0: 65:[4, 60] Operation: 8+52=60 Exploring Operation: 52/4=13, Resulting Numbers: [8, 13] Generated Node #0,1,1: 65:[8, 13] Operation: 52/4=13 Exploring Operation: 52+4=56, Resulting Numbers: [8, 56] Generated Node #0,1,2: 65:[8, 56] Operation: 52+4=56 Moving to Node #0,2 Current State: 65:[54, 8, 2], Operations: ['52-50=2'] Exploring Operation: 8-2=6, Resulting Numbers: [54, 6] Generated Node #0,2,0: 65:[54, 6] Operation: 8-2=6 Exploring Operation: 54+2=56, Resulting Numbers: [8, 56] Generated Node #0,2,1: 65:[8, 56] Operation: 54+2=56 Exploring Operation: 54+8=62, Resulting Numbers: [2, 62] Generated Node #0,2,2: 65:[2, 62] Operation: 54+8=62 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[2, 62], Operations: ['52-50=2', '54+8=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,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,2,0 Current State: 65:[54, 6], Operations: ['52-50=2', '8-2=6'] Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,65 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,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,2,1 Current State: 65:[8, 56], Operations: ['52-50=2', '54+2=56'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,65 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,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:[8, 50, 2], Operations: ['54-52=2'] Exploring Operation: 8+50=58, Resulting Numbers: [2, 58] Generated Node #0,0,0: 65:[2, 58] Operation: 8+50=58 Exploring Operation: 8-2=6, Resulting Numbers: [50, 6] Generated Node #0,0,1: 65:[50, 6] Operation: 8-2=6 Exploring Operation: 50/2=25, Resulting Numbers: [8, 25] Generated Node #0,0,2: 65:[8, 25] Operation: 50/2=25 Moving to Node #0,1,1 Current State: 65:[8, 13], Operations: ['54-50=4', '52/4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,65 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[4, 60], Operations: ['54-50=4', '8+52=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[2, 58], Operations: ['54-52=2', '8+50=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[8, 56], Operations: ['54-50=4', '52+4=56'] Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,65 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,65 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[8, 25], Operations: ['54-52=2', '50/2=25'] Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,65 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[50, 6], Operations: ['54-52=2', '8-2=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,65 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 72, 46, 20, 3 ]
30
[ "72-3=69", "20*69=1380", "1380/46=30" ]
Current State: 30:[72, 46, 20, 3], Operations: [] Exploring Operation: 72-3=69, Resulting Numbers: [46, 20, 69] Generated Node #2: [46, 20, 69] from Operation: 72-3=69 Current State: 30:[46, 20, 69], Operations: ['72-3=69'] Exploring Operation: 20*69=1380, Resulting Numbers: [46, 1380] Generated Node #3: [46, 1380] from Operation: 20*69=1380 Current State: 30:[46, 1380], Operations: ['72-3=69', '20*69=1380'] Exploring Operation: 1380/46=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[72, 46, 20, 3], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [46, 20, 24] Generated Node #0,0: 30:[46, 20, 24] Operation: 72/3=24 Exploring Operation: 72-46=26, Resulting Numbers: [20, 3, 26] Generated Node #0,1: 30:[20, 3, 26] Operation: 72-46=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[20, 3, 26], Operations: ['72-46=26'] Exploring Operation: 26-20=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 30:[3, 6] Operation: 26-20=6 Exploring Operation: 20-3=17, Resulting Numbers: [26, 17] Generated Node #0,1,1: 30:[26, 17] Operation: 20-3=17 Moving to Node #0,1,0 Current State: 30:[3, 6], Operations: ['72-46=26', '26-20=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[26, 17], Operations: ['72-46=26', '20-3=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[46, 20, 24], Operations: ['72/3=24'] Exploring Operation: 46-24=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 30:[20, 22] Operation: 46-24=22 Exploring Operation: 46-20=26, Resulting Numbers: [24, 26] Generated Node #0,0,1: 30:[24, 26] Operation: 46-20=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[24, 26], Operations: ['72/3=24', '46-20=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[20, 22], Operations: ['72/3=24', '46-24=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 12, 11, 78, 95 ]
41
[ "12*11=132", "78+95=173", "173-132=41" ]
Current State: 41:[12, 11, 78, 95], Operations: [] Exploring Operation: 12*11=132, Resulting Numbers: [78, 95, 132] Generated Node #2: [78, 95, 132] from Operation: 12*11=132 Current State: 41:[78, 95, 132], Operations: ['12*11=132'] Exploring Operation: 78+95=173, Resulting Numbers: [132, 173] Generated Node #3: [132, 173] from Operation: 78+95=173 Current State: 41:[132, 173], Operations: ['12*11=132', '78+95=173'] Exploring Operation: 173-132=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[12, 11, 78, 95], Operations: [] Exploring Operation: 95-12=83, Resulting Numbers: [11, 78, 83] Generated Node #0,0: 41:[11, 78, 83] Operation: 95-12=83 Exploring Operation: 95-78=17, Resulting Numbers: [12, 11, 17] Generated Node #0,1: 41:[12, 11, 17] Operation: 95-78=17 Exploring Operation: 78-11=67, Resulting Numbers: [12, 95, 67] Generated Node #0,2: 41:[12, 95, 67] Operation: 78-11=67 Exploring Operation: 78-12=66, Resulting Numbers: [11, 95, 66] Generated Node #0,3: 41:[11, 95, 66] Operation: 78-12=66 Exploring Operation: 12+11=23, Resulting Numbers: [78, 95, 23] Generated Node #0,4: 41:[78, 95, 23] Operation: 12+11=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[12, 11, 17], Operations: ['95-78=17'] Exploring Operation: 12-11=1, Resulting Numbers: [17, 1] Generated Node #0,1,0: 41:[17, 1] Operation: 12-11=1 Exploring Operation: 12+17=29, Resulting Numbers: [11, 29] Generated Node #0,1,1: 41:[11, 29] Operation: 12+17=29 Exploring Operation: 12+11=23, Resulting Numbers: [17, 23] Generated Node #0,1,2: 41:[17, 23] Operation: 12+11=23 Exploring Operation: 17-11=6, Resulting Numbers: [12, 6] Generated Node #0,1,3: 41:[12, 6] Operation: 17-11=6 Exploring Operation: 11+17=28, Resulting Numbers: [12, 28] Generated Node #0,1,4: 41:[12, 28] Operation: 11+17=28 Moving to Node #0,1,1 Current State: 41:[11, 29], Operations: ['95-78=17', '12+17=29'] Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[12, 28], Operations: ['95-78=17', '11+17=28'] Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,41 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[17, 23], Operations: ['95-78=17', '12+11=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,41 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[17, 1], Operations: ['95-78=17', '12-11=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[12, 6], Operations: ['95-78=17', '17-11=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,41 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[11, 78, 83], Operations: ['95-12=83'] Exploring Operation: 11+78=89, Resulting Numbers: [83, 89] Generated Node #0,0,0: 41:[83, 89] Operation: 11+78=89 Exploring Operation: 11+83=94, Resulting Numbers: [78, 94] Generated Node #0,0,1: 41:[78, 94] Operation: 11+83=94 Exploring Operation: 83-78=5, Resulting Numbers: [11, 5] Generated Node #0,0,2: 41:[11, 5] Operation: 83-78=5 Exploring Operation: 78-11=67, Resulting Numbers: [83, 67] Generated Node #0,0,3: 41:[83, 67] Operation: 78-11=67 Exploring Operation: 83-11=72, Resulting Numbers: [78, 72] Generated Node #0,0,4: 41:[78, 72] Operation: 83-11=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[11, 5], Operations: ['95-12=83', '83-78=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,41 unequal: No Solution No 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: 41:[83, 67], Operations: ['95-12=83', '78-11=67'] Exploring Operation: 83*67=5561, Resulting Numbers: [5561] 5561,41 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 83+67=150, Resulting Numbers: [150] 150,41 unequal: No Solution No 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: 41:[78, 72], Operations: ['95-12=83', '83-11=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,41 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,41 unequal: No Solution No 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: 41:[83, 89], Operations: ['95-12=83', '11+78=89'] Exploring Operation: 83+89=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 83*89=7387, Resulting Numbers: [7387] 7387,41 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,41 unequal: No Solution No 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: 41:[78, 94], Operations: ['95-12=83', '11+83=94'] Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,41 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: 41:[12, 95, 67], Operations: ['78-11=67'] Exploring Operation: 95-67=28, Resulting Numbers: [12, 28] Generated Node #0,2,0: 41:[12, 28] Operation: 95-67=28 Exploring Operation: 67-12=55, Resulting Numbers: [95, 55] Generated Node #0,2,1: 41:[95, 55] Operation: 67-12=55 Exploring Operation: 95-12=83, Resulting Numbers: [67, 83] Generated Node #0,2,2: 41:[67, 83] Operation: 95-12=83 Exploring Operation: 12+67=79, Resulting Numbers: [95, 79] Generated Node #0,2,3: 41:[95, 79] Operation: 12+67=79 Exploring Operation: 12+95=107, Resulting Numbers: [67, 107] Generated Node #0,2,4: 41:[67, 107] Operation: 12+95=107 Moving to Node #0,2,0 Current State: 41:[12, 28], Operations: ['78-11=67', '95-67=28'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[67, 83], Operations: ['78-11=67', '95-12=83'] Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,41 unequal: No Solution Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,41 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[95, 55], Operations: ['78-11=67', '67-12=55'] Exploring Operation: 95+55=150, Resulting Numbers: [150] 150,41 unequal: No Solution Exploring Operation: 95*55=5225, Resulting Numbers: [5225] 5225,41 unequal: No Solution Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[95, 79], Operations: ['78-11=67', '12+67=79'] Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,41 unequal: No Solution Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,41 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[67, 107], Operations: ['78-11=67', '12+95=107'] Exploring Operation: 67+107=174, Resulting Numbers: [174] 174,41 unequal: No Solution Exploring Operation: 107-67=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 67*107=7169, Resulting Numbers: [7169] 7169,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[11, 95, 66], Operations: ['78-12=66'] Exploring Operation: 66/11=6, Resulting Numbers: [95, 6] Generated Node #0,3,0: 41:[95, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [95, 55] Generated Node #0,3,1: 41:[95, 55] Operation: 66-11=55 Exploring Operation: 95-66=29, Resulting Numbers: [11, 29] Generated Node #0,3,2: 41:[11, 29] Operation: 95-66=29 Exploring Operation: 11+95=106, Resulting Numbers: [66, 106] Generated Node #0,3,3: 41:[66, 106] Operation: 11+95=106 Exploring Operation: 95-11=84, Resulting Numbers: [66, 84] Generated Node #0,3,4: 41:[66, 84] Operation: 95-11=84 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[11, 29], Operations: ['78-12=66', '95-66=29'] Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,41 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,41 unequal: No Solution No 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: 41:[95, 55], Operations: ['78-12=66', '66-11=55'] Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 95+55=150, Resulting Numbers: [150] 150,41 unequal: No Solution Exploring Operation: 95*55=5225, Resulting Numbers: [5225] 5225,41 unequal: No Solution No 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: 41:[66, 84], Operations: ['78-12=66', '95-11=84'] Exploring Operation: 84-66=18, Resulting Numbers: [18] 18,41 unequal: No Solution Exploring Operation: 66+84=150, Resulting Numbers: [150] 150,41 unequal: No Solution Exploring Operation: 66*84=5544, Resulting Numbers: [5544] 5544,41 unequal: No Solution No 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: 41:[95, 6], Operations: ['78-12=66', '66/11=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 95+6=101, Resulting Numbers: [101] 101,41 unequal: No Solution Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,41 unequal: No Solution No 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: 41:[66, 106], Operations: ['78-12=66', '11+95=106'] Exploring Operation: 106-66=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 66+106=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 66*106=6996, Resulting Numbers: [6996] 6996,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[78, 95, 23], Operations: ['12+11=23'] Exploring Operation: 95-23=72, Resulting Numbers: [78, 72] Generated Node #0,4,0: 41:[78, 72] Operation: 95-23=72 Exploring Operation: 95+23=118, Resulting Numbers: [78, 118] Generated Node #0,4,1: 41:[78, 118] Operation: 95+23=118 Exploring Operation: 78+23=101, Resulting Numbers: [95, 101] Generated Node #0,4,2: 41:[95, 101] Operation: 78+23=101 Exploring Operation: 95-78=17, Resulting Numbers: [23, 17] Generated Node #0,4,3: 41:[23, 17] Operation: 95-78=17 Exploring Operation: 78-23=55, Resulting Numbers: [95, 55] Generated Node #0,4,4: 41:[95, 55] Operation: 78-23=55 Moving to Node #0,4,3 Current State: 41:[23, 17], Operations: ['12+11=23', '95-78=17'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[95, 55], Operations: ['12+11=23', '78-23=55'] Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 95+55=150, Resulting Numbers: [150] 150,41 unequal: No Solution Exploring Operation: 95*55=5225, Resulting Numbers: [5225] 5225,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[78, 72], Operations: ['12+11=23', '95-23=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,41 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[78, 118], Operations: ['12+11=23', '95+23=118'] Exploring Operation: 78*118=9204, Resulting Numbers: [9204] 9204,41 unequal: No Solution Exploring Operation: 78+118=196, Resulting Numbers: [196] 196,41 unequal: No Solution Exploring Operation: 118-78=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[95, 101], Operations: ['12+11=23', '78+23=101'] Exploring Operation: 95*101=9595, Resulting Numbers: [9595] 9595,41 unequal: No Solution Exploring Operation: 101-95=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 95+101=196, Resulting Numbers: [196] 196,41 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
[ 47, 88, 3, 26 ]
28
[ "47-3=44", "88/44=2", "26+2=28" ]
Current State: 28:[47, 88, 3, 26], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [88, 26, 44] Generated Node #2: [88, 26, 44] from Operation: 47-3=44 Current State: 28:[88, 26, 44], Operations: ['47-3=44'] Exploring Operation: 88/44=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 88/44=2 Current State: 28:[26, 2], Operations: ['47-3=44', '88/44=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[47, 88, 3, 26], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [3, 26, 41] Generated Node #0,0: 28:[3, 26, 41] Operation: 88-47=41 Exploring Operation: 47-26=21, Resulting Numbers: [88, 3, 21] Generated Node #0,1: 28:[88, 3, 21] Operation: 47-26=21 Exploring Operation: 88-26=62, Resulting Numbers: [47, 3, 62] Generated Node #0,2: 28:[47, 3, 62] Operation: 88-26=62 Moving to Node #0,0 Current State: 28:[3, 26, 41], Operations: ['88-47=41'] Exploring Operation: 41-3=38, Resulting Numbers: [26, 38] Generated Node #0,0,0: 28:[26, 38] Operation: 41-3=38 Exploring Operation: 41-26=15, Resulting Numbers: [3, 15] Generated Node #0,0,1: 28:[3, 15] Operation: 41-26=15 Exploring Operation: 3+26=29, Resulting Numbers: [41, 29] Generated Node #0,0,2: 28:[41, 29] Operation: 3+26=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[3, 15], Operations: ['88-47=41', '41-26=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[26, 38], Operations: ['88-47=41', '41-3=38'] Exploring Operation: 26*38=988, Resulting Numbers: [988] 988,28 unequal: No Solution Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[41, 29], Operations: ['88-47=41', '3+26=29'] Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,28 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,28 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: 28:[47, 3, 62], Operations: ['88-26=62'] Exploring Operation: 47-3=44, Resulting Numbers: [62, 44] Generated Node #0,2,0: 28:[62, 44] Operation: 47-3=44 Exploring Operation: 62-47=15, Resulting Numbers: [3, 15] Generated Node #0,2,1: 28:[3, 15] Operation: 62-47=15 Exploring Operation: 62-3=59, Resulting Numbers: [47, 59] Generated Node #0,2,2: 28:[47, 59] Operation: 62-3=59 Moving to Node #0,1 Current State: 28:[88, 3, 21], Operations: ['47-26=21'] Exploring Operation: 88-21=67, Resulting Numbers: [3, 67] Generated Node #0,1,0: 28:[3, 67] Operation: 88-21=67 Exploring Operation: 88-3=85, Resulting Numbers: [21, 85] Generated Node #0,1,1: 28:[21, 85] Operation: 88-3=85 Exploring Operation: 21/3=7, Resulting Numbers: [88, 7] Generated Node #0,1,2: 28:[88, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[3, 67], Operations: ['47-26=21', '88-21=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,28 unequal: No Solution Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[88, 7], Operations: ['47-26=21', '21/3=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 88*7=616, Resulting Numbers: [616] 616,28 unequal: No Solution Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[21, 85], Operations: ['47-26=21', '88-3=85'] Exploring Operation: 21*85=1785, Resulting Numbers: [1785] 1785,28 unequal: No Solution Exploring Operation: 21+85=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 28:[3, 15], Operations: ['88-26=62', '62-47=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[62, 44], Operations: ['88-26=62', '47-3=44'] Exploring Operation: 62+44=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,28 unequal: No Solution Exploring Operation: 62*44=2728, Resulting Numbers: [2728] 2728,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[47, 59], Operations: ['88-26=62', '62-3=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,28 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,28 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 41, 74, 74, 60 ]
19
[ "41+74=115", "74+60=134", "134-115=19" ]
Current State: 19:[41, 74, 74, 60], Operations: [] Exploring Operation: 41+74=115, Resulting Numbers: [60, 115] Generated Node #2: [60, 115] from Operation: 41+74=115 Current State: 19:[60, 115], Operations: ['41+74=115'] Exploring Operation: 74+60=134, Resulting Numbers: [115, 134] Generated Node #3: [115, 134] from Operation: 74+60=134 Current State: 19:[115, 134], Operations: ['41+74=115', '74+60=134'] Exploring Operation: 134-115=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[41, 74, 74, 60], Operations: [] Exploring Operation: 74-41=33, Resulting Numbers: [74, 60, 33] Generated Node #0,0: 19:[74, 60, 33] Operation: 74-41=33 Exploring Operation: 74-74=0, Resulting Numbers: [41, 60, 0] Generated Node #0,1: 19:[41, 60, 0] Operation: 74-74=0 Exploring Operation: 74/74=1, Resulting Numbers: [41, 60, 1] Generated Node #0,2: 19:[41, 60, 1] Operation: 74/74=1 Exploring Operation: 74-60=14, Resulting Numbers: [41, 74, 14] Generated Node #0,3: 19:[41, 74, 14] Operation: 74-60=14 Exploring Operation: 74-60=14, Resulting Numbers: [41, 74, 14] Generated Node #0,4: 19:[41, 74, 14] Operation: 74-60=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[41, 60, 1], Operations: ['74/74=1'] Exploring Operation: 41/1=41, Resulting Numbers: [60, 41] Generated Node #0,2,0: 19:[60, 41] Operation: 41/1=41 Exploring Operation: 41-1=40, Resulting Numbers: [60, 40] Generated Node #0,2,1: 19:[60, 40] Operation: 41-1=40 Exploring Operation: 60-41=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 19:[1, 19] Operation: 60-41=19 Exploring Operation: 41*1=41, Resulting Numbers: [60, 41] Generated Node #0,2,3: 19:[60, 41] Operation: 41*1=41 Exploring Operation: 60-1=59, Resulting Numbers: [41, 59] Generated Node #0,2,4: 19:[41, 59] Operation: 60-1=59 Moving to Node #0,2,2 Current State: 19:[1, 19], Operations: ['74/74=1', '60-41=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[41, 74, 74, 60], Operations: [] Exploring Operation: 74/74=1, Resulting Numbers: [41, 60, 1] Generated Node #0,2: 19:[41, 60, 1] Operation: 74/74=1 Moving to Node #0,2 Current State: 19:[41, 60, 1], Operations: ['74/74=1'] Exploring Operation: 60-41=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 19:[1, 19] Operation: 60-41=19 Moving to Node #0,2,2 Current State: 19:[1, 19], Operations: ['74/74=1', '60-41=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 24, 94, 47, 65 ]
87
[ "24+65=89", "94/47=2", "89-2=87" ]
Current State: 87:[24, 94, 47, 65], Operations: [] Exploring Operation: 24+65=89, Resulting Numbers: [94, 47, 89] Generated Node #2: [94, 47, 89] from Operation: 24+65=89 Current State: 87:[94, 47, 89], Operations: ['24+65=89'] Exploring Operation: 94/47=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 94/47=2 Current State: 87:[89, 2], Operations: ['24+65=89', '94/47=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[24, 94, 47, 65], Operations: [] Exploring Operation: 94-65=29, Resulting Numbers: [24, 47, 29] Generated Node #0,0: 87:[24, 47, 29] Operation: 94-65=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[24, 47, 29], Operations: ['94-65=29'] Exploring Operation: 47-24=23, Resulting Numbers: [29, 23] Generated Node #0,0,0: 87:[29, 23] Operation: 47-24=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[29, 23], Operations: ['94-65=29', '47-24=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 71, 76, 33, 19 ]
95
[ "71+76=147", "33+19=52", "147-52=95" ]
Current State: 95:[71, 76, 33, 19], Operations: [] Exploring Operation: 71+76=147, Resulting Numbers: [33, 19, 147] Generated Node #2: [33, 19, 147] from Operation: 71+76=147 Current State: 95:[33, 19, 147], Operations: ['71+76=147'] Exploring Operation: 33+19=52, Resulting Numbers: [147, 52] Generated Node #3: [147, 52] from Operation: 33+19=52 Current State: 95:[147, 52], Operations: ['71+76=147', '33+19=52'] Exploring Operation: 147-52=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[71, 76, 33, 19], Operations: [] Exploring Operation: 76-71=5, Resulting Numbers: [33, 19, 5] Generated Node #0,0: 95:[33, 19, 5] Operation: 76-71=5 Exploring Operation: 71+33=104, Resulting Numbers: [76, 19, 104] Generated Node #0,1: 95:[76, 19, 104] Operation: 71+33=104 Exploring Operation: 71-33=38, Resulting Numbers: [76, 19, 38] Generated Node #0,2: 95:[76, 19, 38] Operation: 71-33=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[33, 19, 5], Operations: ['76-71=5'] Exploring Operation: 19*5=95, Resulting Numbers: [33, 95] Generated Node #0,0,0: 95:[33, 95] Operation: 19*5=95 Exploring Operation: 33-5=28, Resulting Numbers: [19, 28] Generated Node #0,0,1: 95:[19, 28] Operation: 33-5=28 Exploring Operation: 33-19=14, Resulting Numbers: [5, 14] Generated Node #0,0,2: 95:[5, 14] Operation: 33-19=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[5, 14], Operations: ['76-71=5', '33-19=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[19, 28], Operations: ['76-71=5', '33-5=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,95 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,95 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[33, 95], Operations: ['76-71=5', '19*5=95'] Exploring Operation: 95-33=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 33+95=128, Resulting Numbers: [128] 128,95 unequal: No Solution Exploring Operation: 33*95=3135, Resulting Numbers: [3135] 3135,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[76, 19, 104], Operations: ['71+33=104'] Exploring Operation: 76/19=4, Resulting Numbers: [104, 4] Generated Node #0,1,0: 95:[104, 4] Operation: 76/19=4 Exploring Operation: 104-76=28, Resulting Numbers: [19, 28] Generated Node #0,1,1: 95:[19, 28] Operation: 104-76=28 Exploring Operation: 76+19=95, Resulting Numbers: [104, 95] Generated Node #0,1,2: 95:[104, 95] Operation: 76+19=95 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[19, 28], Operations: ['71+33=104', '104-76=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,95 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,95 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[104, 95], Operations: ['71+33=104', '76+19=95'] Exploring Operation: 104+95=199, Resulting Numbers: [199] 199,95 unequal: No Solution Exploring Operation: 104-95=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 104*95=9880, Resulting Numbers: [9880] 9880,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[104, 4], Operations: ['71+33=104', '76/19=4'] Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,95 unequal: No Solution Exploring Operation: 104+4=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[76, 19, 38], Operations: ['71-33=38'] Exploring Operation: 76+19=95, Resulting Numbers: [38, 95] Generated Node #0,2,0: 95:[38, 95] Operation: 76+19=95 Exploring Operation: 76/38=2, Resulting Numbers: [19, 2] Generated Node #0,2,1: 95:[19, 2] Operation: 76/38=2 Exploring Operation: 76+38=114, Resulting Numbers: [19, 114] Generated Node #0,2,2: 95:[19, 114] Operation: 76+38=114 Moving to Node #0,2,1 Current State: 95:[19, 2], Operations: ['71-33=38', '76/38=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[38, 95], Operations: ['71-33=38', '76+19=95'] Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,95 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[19, 114], Operations: ['71-33=38', '76+38=114'] Exploring Operation: 114/19=6, Resulting Numbers: [6] 6,95 unequal: No Solution Exploring Operation: 19+114=133, Resulting Numbers: [133] 133,95 unequal: No Solution Exploring Operation: 114-19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[71, 76, 33, 19], Operations: [] Exploring Operation: 71-33=38, Resulting Numbers: [76, 19, 38] Generated Node #0,2: 95:[76, 19, 38] Operation: 71-33=38 Moving to Node #0,2 Current State: 95:[76, 19, 38], Operations: ['71-33=38'] Exploring Operation: 76+38=114, Resulting Numbers: [19, 114] Generated Node #0,2,2: 95:[19, 114] Operation: 76+38=114 Moving to Node #0,2,2 Current State: 95:[19, 114], Operations: ['71-33=38', '76+38=114'] Exploring Operation: 114-19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_3
mult_heuristic
[ 18, 97, 2, 52 ]
62
[ "18+52=70", "70/2=35", "97-35=62" ]
Current State: 62:[18, 97, 2, 52], Operations: [] Exploring Operation: 18+52=70, Resulting Numbers: [97, 2, 70] Generated Node #2: [97, 2, 70] from Operation: 18+52=70 Current State: 62:[97, 2, 70], Operations: ['18+52=70'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #3: [97, 35] from Operation: 70/2=35 Current State: 62:[97, 35], Operations: ['18+52=70', '70/2=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 97, 2, 52], Operations: [] Exploring Operation: 18*2=36, Resulting Numbers: [97, 52, 36] Generated Node #0,0: 62:[97, 52, 36] Operation: 18*2=36 Exploring Operation: 97-18=79, Resulting Numbers: [2, 52, 79] Generated Node #0,1: 62:[2, 52, 79] Operation: 97-18=79 Exploring Operation: 18+52=70, Resulting Numbers: [97, 2, 70] Generated Node #0,2: 62:[97, 2, 70] Operation: 18+52=70 Exploring Operation: 52-18=34, Resulting Numbers: [97, 2, 34] Generated Node #0,3: 62:[97, 2, 34] Operation: 52-18=34 Exploring Operation: 97-52=45, Resulting Numbers: [18, 2, 45] Generated Node #0,4: 62:[18, 2, 45] Operation: 97-52=45 Moving to Node #0,1 Current State: 62:[2, 52, 79], Operations: ['97-18=79'] Exploring Operation: 79-52=27, Resulting Numbers: [2, 27] Generated Node #0,1,0: 62:[2, 27] Operation: 79-52=27 Exploring Operation: 2+52=54, Resulting Numbers: [79, 54] Generated Node #0,1,1: 62:[79, 54] Operation: 2+52=54 Exploring Operation: 79-2=77, Resulting Numbers: [52, 77] Generated Node #0,1,2: 62:[52, 77] Operation: 79-2=77 Exploring Operation: 52-2=50, Resulting Numbers: [79, 50] Generated Node #0,1,3: 62:[79, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [79, 26] Generated Node #0,1,4: 62:[79, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[2, 27], Operations: ['97-18=79', '79-52=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 62:[79, 26], Operations: ['97-18=79', '52/2=26'] Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,62 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,62 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[79, 54], Operations: ['97-18=79', '2+52=54'] Exploring Operation: 79*54=4266, Resulting Numbers: [4266] 4266,62 unequal: No Solution Exploring Operation: 79+54=133, Resulting Numbers: [133] 133,62 unequal: No Solution Exploring Operation: 79-54=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[52, 77], Operations: ['97-18=79', '79-2=77'] Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,62 unequal: No Solution Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[79, 50], Operations: ['97-18=79', '52-2=50'] Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,62 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: 62:[18, 2, 45], Operations: ['97-52=45'] Exploring Operation: 45-18=27, Resulting Numbers: [2, 27] Generated Node #0,4,0: 62:[2, 27] Operation: 45-18=27 Exploring Operation: 18+45=63, Resulting Numbers: [2, 63] Generated Node #0,4,1: 62:[2, 63] Operation: 18+45=63 Exploring Operation: 18/2=9, Resulting Numbers: [45, 9] Generated Node #0,4,2: 62:[45, 9] Operation: 18/2=9 Exploring Operation: 18+2=20, Resulting Numbers: [45, 20] Generated Node #0,4,3: 62:[45, 20] Operation: 18+2=20 Exploring Operation: 18*2=36, Resulting Numbers: [45, 36] Generated Node #0,4,4: 62:[45, 36] Operation: 18*2=36 Moving to Node #0,3 Current State: 62:[97, 2, 34], Operations: ['52-18=34'] Exploring Operation: 2+34=36, Resulting Numbers: [97, 36] Generated Node #0,3,0: 62:[97, 36] Operation: 2+34=36 Exploring Operation: 97+2=99, Resulting Numbers: [34, 99] Generated Node #0,3,1: 62:[34, 99] Operation: 97+2=99 Exploring Operation: 97-34=63, Resulting Numbers: [2, 63] Generated Node #0,3,2: 62:[2, 63] Operation: 97-34=63 Exploring Operation: 97-2=95, Resulting Numbers: [34, 95] Generated Node #0,3,3: 62:[34, 95] Operation: 97-2=95 Exploring Operation: 34-2=32, Resulting Numbers: [97, 32] Generated Node #0,3,4: 62:[97, 32] Operation: 34-2=32 Moving to Node #0,2 Current State: 62:[97, 2, 70], Operations: ['18+52=70'] Exploring Operation: 97-2=95, Resulting Numbers: [70, 95] Generated Node #0,2,0: 62:[70, 95] Operation: 97-2=95 Exploring Operation: 97+2=99, Resulting Numbers: [70, 99] Generated Node #0,2,1: 62:[70, 99] Operation: 97+2=99 Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #0,2,2: 62:[97, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [97, 68] Generated Node #0,2,3: 62:[97, 68] Operation: 70-2=68 Exploring Operation: 97-70=27, Resulting Numbers: [2, 27] Generated Node #0,2,4: 62:[2, 27] Operation: 97-70=27 Moving to Node #0,0 Current State: 62:[97, 52, 36], Operations: ['18*2=36'] Exploring Operation: 52+36=88, Resulting Numbers: [97, 88] Generated Node #0,0,0: 62:[97, 88] Operation: 52+36=88 Exploring Operation: 97+36=133, Resulting Numbers: [52, 133] Generated Node #0,0,1: 62:[52, 133] Operation: 97+36=133 Exploring Operation: 52-36=16, Resulting Numbers: [97, 16] Generated Node #0,0,2: 62:[97, 16] Operation: 52-36=16 Exploring Operation: 97-36=61, Resulting Numbers: [52, 61] Generated Node #0,0,3: 62:[52, 61] Operation: 97-36=61 Exploring Operation: 97-52=45, Resulting Numbers: [36, 45] Generated Node #0,0,4: 62:[36, 45] Operation: 97-52=45 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[52, 61], Operations: ['18*2=36', '97-36=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,62 unequal: No Solution Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 62:[36, 45], Operations: ['18*2=36', '97-52=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[97, 16], Operations: ['18*2=36', '52-36=16'] Exploring Operation: 97+16=113, Resulting Numbers: [113] 113,62 unequal: No Solution Exploring Operation: 97*16=1552, Resulting Numbers: [1552] 1552,62 unequal: No Solution Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[97, 88], Operations: ['18*2=36', '52+36=88'] Exploring Operation: 97*88=8536, Resulting Numbers: [8536] 8536,62 unequal: No Solution Exploring Operation: 97+88=185, Resulting Numbers: [185] 185,62 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[52, 133], Operations: ['18*2=36', '97+36=133'] Exploring Operation: 52*133=6916, Resulting Numbers: [6916] 6916,62 unequal: No Solution Exploring Operation: 133-52=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 52+133=185, Resulting Numbers: [185] 185,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 62:[2, 63], Operations: ['97-52=45', '18+45=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[2, 63], Operations: ['52-18=34', '97-34=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,62 unequal: No Solution Moving to Node #0,4,0 Current State: 62:[2, 27], Operations: ['97-52=45', '45-18=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[2, 27], Operations: ['18+52=70', '97-70=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,62 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,4,4 Current State: 62:[45, 36], Operations: ['97-52=45', '18*2=36'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 45+36=81, Resulting Numbers: [81] 81,62 unequal: No Solution Exploring Operation: 45*36=1620, Resulting Numbers: [1620] 1620,62 unequal: No Solution Moving to Node #0,4,2 Current State: 62:[45, 9], Operations: ['97-52=45', '18/2=9'] Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,62 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,62 unequal: No Solution Moving to Node #0,4,3 Current State: 62:[45, 20], Operations: ['97-52=45', '18+2=20'] Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,62 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[34, 95], Operations: ['52-18=34', '97-2=95'] Exploring Operation: 95-34=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 34*95=3230, Resulting Numbers: [3230] 3230,62 unequal: No Solution Exploring Operation: 34+95=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[97, 32], Operations: ['52-18=34', '34-2=32'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,62 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,62 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[97, 35], Operations: ['18+52=70', '70/2=35'] Exploring Operation: 97*35=3395, Resulting Numbers: [3395] 3395,62 unequal: No Solution Exploring Operation: 97+35=132, Resulting Numbers: [132] 132,62 unequal: No Solution Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[18, 97, 2, 52], Operations: [] Exploring Operation: 18+52=70, Resulting Numbers: [97, 2, 70] Generated Node #0,2: 62:[97, 2, 70] Operation: 18+52=70 Moving to Node #0,2 Current State: 62:[97, 2, 70], Operations: ['18+52=70'] Exploring Operation: 70/2=35, Resulting Numbers: [97, 35] Generated Node #0,2,2: 62:[97, 35] Operation: 70/2=35 Moving to Node #0,2,2 Current State: 62:[97, 35], Operations: ['18+52=70', '70/2=35'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.917535
hs_5
mult_heuristic
[ 92, 26, 89, 28 ]
58
[ "92-89=3", "28*3=84", "84-26=58" ]
Current State: 58:[92, 26, 89, 28], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [26, 28, 3] Generated Node #2: [26, 28, 3] from Operation: 92-89=3 Current State: 58:[26, 28, 3], Operations: ['92-89=3'] Exploring Operation: 28*3=84, Resulting Numbers: [26, 84] Generated Node #3: [26, 84] from Operation: 28*3=84 Current State: 58:[26, 84], Operations: ['92-89=3', '28*3=84'] Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[92, 26, 89, 28], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [89, 28, 66] Generated Node #0,0: 58:[89, 28, 66] Operation: 92-26=66 Exploring Operation: 92-89=3, Resulting Numbers: [26, 28, 3] Generated Node #0,1: 58:[26, 28, 3] Operation: 92-89=3 Exploring Operation: 92-28=64, Resulting Numbers: [26, 89, 64] Generated Node #0,2: 58:[26, 89, 64] Operation: 92-28=64 Moving to Node #0,1 Current State: 58:[26, 28, 3], Operations: ['92-89=3'] Exploring Operation: 26+3=29, Resulting Numbers: [28, 29] Generated Node #0,1,0: 58:[28, 29] Operation: 26+3=29 Exploring Operation: 26+28=54, Resulting Numbers: [3, 54] Generated Node #0,1,1: 58:[3, 54] Operation: 26+28=54 Exploring Operation: 28-26=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 58:[3, 2] Operation: 28-26=2 Moving to Node #0,0 Current State: 58:[89, 28, 66], Operations: ['92-26=66'] Exploring Operation: 89-28=61, Resulting Numbers: [66, 61] Generated Node #0,0,0: 58:[66, 61] Operation: 89-28=61 Exploring Operation: 89-66=23, Resulting Numbers: [28, 23] Generated Node #0,0,1: 58:[28, 23] Operation: 89-66=23 Exploring Operation: 66-28=38, Resulting Numbers: [89, 38] Generated Node #0,0,2: 58:[89, 38] Operation: 66-28=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[28, 23], Operations: ['92-26=66', '89-66=23'] Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,58 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,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:[66, 61], Operations: ['92-26=66', '89-28=61'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,58 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[89, 38], Operations: ['92-26=66', '66-28=38'] Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,58 unequal: No Solution Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 58:[26, 89, 64], Operations: ['92-28=64'] Exploring Operation: 89-64=25, Resulting Numbers: [26, 25] Generated Node #0,2,0: 58:[26, 25] Operation: 89-64=25 Exploring Operation: 64-26=38, Resulting Numbers: [89, 38] Generated Node #0,2,1: 58:[89, 38] Operation: 64-26=38 Exploring Operation: 89-26=63, Resulting Numbers: [64, 63] Generated Node #0,2,2: 58:[64, 63] Operation: 89-26=63 Moving to Node #0,1,0 Current State: 58:[28, 29], Operations: ['92-89=3', '26+3=29'] Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,58 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[3, 2], Operations: ['92-89=3', '28-26=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[3, 54], Operations: ['92-89=3', '26+28=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[26, 25], Operations: ['92-28=64', '89-64=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,58 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[64, 63], Operations: ['92-28=64', '89-26=63'] Exploring Operation: 64*63=4032, Resulting Numbers: [4032] 4032,58 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[89, 38], Operations: ['92-28=64', '64-26=38'] Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,58 unequal: No Solution Exploring Operation: 89*38=3382, Resulting Numbers: [3382] 3382,58 unequal: No Solution Exploring Operation: 89+38=127, Resulting Numbers: [127] 127,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 33, 37, 20, 23 ]
36
[ "37+23=60", "60/20=3", "33+3=36" ]
Current State: 36:[33, 37, 20, 23], Operations: [] Exploring Operation: 37+23=60, Resulting Numbers: [33, 20, 60] Generated Node #2: [33, 20, 60] from Operation: 37+23=60 Current State: 36:[33, 20, 60], Operations: ['37+23=60'] Exploring Operation: 60/20=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 60/20=3 Current State: 36:[33, 3], Operations: ['37+23=60', '60/20=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[33, 37, 20, 23], Operations: [] Exploring Operation: 37-23=14, Resulting Numbers: [33, 20, 14] Generated Node #0,0: 36:[33, 20, 14] Operation: 37-23=14 Exploring Operation: 37-33=4, Resulting Numbers: [20, 23, 4] Generated Node #0,1: 36:[20, 23, 4] Operation: 37-33=4 Exploring Operation: 33-20=13, Resulting Numbers: [37, 23, 13] Generated Node #0,2: 36:[37, 23, 13] Operation: 33-20=13 Exploring Operation: 23-20=3, Resulting Numbers: [33, 37, 3] Generated Node #0,3: 36:[33, 37, 3] Operation: 23-20=3 Exploring Operation: 33-23=10, Resulting Numbers: [37, 20, 10] Generated Node #0,4: 36:[37, 20, 10] Operation: 33-23=10 Moving to Node #0,3 Current State: 36:[33, 37, 3], Operations: ['23-20=3'] Exploring Operation: 33/3=11, Resulting Numbers: [37, 11] Generated Node #0,3,0: 36:[37, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [37, 30] Generated Node #0,3,1: 36:[37, 30] Operation: 33-3=30 Exploring Operation: 37-3=34, Resulting Numbers: [33, 34] Generated Node #0,3,2: 36:[33, 34] Operation: 37-3=34 Exploring Operation: 37-33=4, Resulting Numbers: [3, 4] Generated Node #0,3,3: 36:[3, 4] Operation: 37-33=4 Exploring Operation: 33+3=36, Resulting Numbers: [37, 36] Generated Node #0,3,4: 36:[37, 36] Operation: 33+3=36 Moving to Node #0,4 Current State: 36:[37, 20, 10], Operations: ['33-23=10'] Exploring Operation: 37-20=17, Resulting Numbers: [10, 17] Generated Node #0,4,0: 36:[10, 17] Operation: 37-20=17 Exploring Operation: 20/10=2, Resulting Numbers: [37, 2] Generated Node #0,4,1: 36:[37, 2] Operation: 20/10=2 Exploring Operation: 37-10=27, Resulting Numbers: [20, 27] Generated Node #0,4,2: 36:[20, 27] Operation: 37-10=27 Exploring Operation: 20+10=30, Resulting Numbers: [37, 30] Generated Node #0,4,3: 36:[37, 30] Operation: 20+10=30 Exploring Operation: 20-10=10, Resulting Numbers: [37, 10] Generated Node #0,4,4: 36:[37, 10] Operation: 20-10=10 Moving to Node #0,0 Current State: 36:[33, 20, 14], Operations: ['37-23=14'] Exploring Operation: 33-20=13, Resulting Numbers: [14, 13] Generated Node #0,0,0: 36:[14, 13] Operation: 33-20=13 Exploring Operation: 33-14=19, Resulting Numbers: [20, 19] Generated Node #0,0,1: 36:[20, 19] Operation: 33-14=19 Exploring Operation: 33+14=47, Resulting Numbers: [20, 47] Generated Node #0,0,2: 36:[20, 47] Operation: 33+14=47 Exploring Operation: 20-14=6, Resulting Numbers: [33, 6] Generated Node #0,0,3: 36:[33, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [33, 34] Generated Node #0,0,4: 36:[33, 34] Operation: 20+14=34 Moving to Node #0,1 Current State: 36:[20, 23, 4], Operations: ['37-33=4'] Exploring Operation: 20/4=5, Resulting Numbers: [23, 5] Generated Node #0,1,0: 36:[23, 5] Operation: 20/4=5 Exploring Operation: 20+23=43, Resulting Numbers: [4, 43] Generated Node #0,1,1: 36:[4, 43] Operation: 20+23=43 Exploring Operation: 23-4=19, Resulting Numbers: [20, 19] Generated Node #0,1,2: 36:[20, 19] Operation: 23-4=19 Exploring Operation: 23-20=3, Resulting Numbers: [4, 3] Generated Node #0,1,3: 36:[4, 3] Operation: 23-20=3 Exploring Operation: 20-4=16, Resulting Numbers: [23, 16] Generated Node #0,1,4: 36:[23, 16] Operation: 20-4=16 Moving to Node #0,2 Current State: 36:[37, 23, 13], Operations: ['33-20=13'] Exploring Operation: 37-23=14, Resulting Numbers: [13, 14] Generated Node #0,2,0: 36:[13, 14] Operation: 37-23=14 Exploring Operation: 23-13=10, Resulting Numbers: [37, 10] Generated Node #0,2,1: 36:[37, 10] Operation: 23-13=10 Exploring Operation: 37+13=50, Resulting Numbers: [23, 50] Generated Node #0,2,2: 36:[23, 50] Operation: 37+13=50 Exploring Operation: 23+13=36, Resulting Numbers: [37, 36] Generated Node #0,2,3: 36:[37, 36] Operation: 23+13=36 Exploring Operation: 37-13=24, Resulting Numbers: [23, 24] Generated Node #0,2,4: 36:[23, 24] Operation: 37-13=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[37, 36], Operations: ['33-20=13', '23+13=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[37, 10], Operations: ['33-20=13', '23-13=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,36 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[13, 14], Operations: ['33-20=13', '37-23=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,36 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 36:[23, 24], Operations: ['33-20=13', '37-13=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[23, 50], Operations: ['33-20=13', '37+13=50'] Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,36 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 36:[3, 4], Operations: ['23-20=3', '37-33=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[4, 3], Operations: ['37-33=4', '23-20=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,4,1 Current State: 36:[37, 2], Operations: ['33-23=10', '20/10=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[37, 36], Operations: ['23-20=3', '33+3=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,36 unequal: No Solution Exploring Operation: 37*36=1332, Resulting Numbers: [1332] 1332,36 unequal: No Solution Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,4,0 Current State: 36:[10, 17], Operations: ['33-23=10', '37-20=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,36 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[37, 11], Operations: ['23-20=3', '33/3=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,36 unequal: No Solution Moving to Node #0,4,4 Current State: 36:[37, 10], Operations: ['33-23=10', '20-10=10'] Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,36 unequal: No Solution Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[33, 6], Operations: ['37-23=14', '20-14=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,36 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[20, 19], Operations: ['37-23=14', '33-14=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[14, 13], Operations: ['37-23=14', '33-20=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[20, 19], Operations: ['37-33=4', '23-4=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,36 unequal: No Solution Moving to Node #0,0,4 Current State: 36:[33, 34], Operations: ['37-23=14', '20+14=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,36 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[33, 34], Operations: ['23-20=3', '37-3=34'] Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[23, 5], Operations: ['37-33=4', '20/4=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,4,3 Current State: 36:[37, 30], Operations: ['33-23=10', '20+10=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,36 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,1,4 Current State: 36:[23, 16], Operations: ['37-33=4', '20-4=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,36 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[37, 30], Operations: ['23-20=3', '33-3=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,36 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[4, 43], Operations: ['37-33=4', '20+23=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,36 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,4,2 Current State: 36:[20, 27], Operations: ['33-23=10', '37-10=27'] Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,36 unequal: No Solution Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[20, 47], Operations: ['37-23=14', '33+14=47'] Exploring Operation: 20+47=67, Resulting Numbers: [67] 67,36 unequal: No Solution Exploring Operation: 20*47=940, Resulting Numbers: [940] 940,36 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 43, 54, 13, 13 ]
12
[ "54-43=11", "13/13=1", "11+1=12" ]
Current State: 12:[43, 54, 13, 13], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [13, 13, 11] Generated Node #2: [13, 13, 11] from Operation: 54-43=11 Current State: 12:[13, 13, 11], Operations: ['54-43=11'] Exploring Operation: 13/13=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 13/13=1 Current State: 12:[11, 1], Operations: ['54-43=11', '13/13=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[43, 54, 13, 13], Operations: [] Exploring Operation: 54-13=41, Resulting Numbers: [43, 13, 41] Generated Node #0,0: 12:[43, 13, 41] Operation: 54-13=41 Exploring Operation: 43-13=30, Resulting Numbers: [54, 13, 30] Generated Node #0,1: 12:[54, 13, 30] Operation: 43-13=30 Exploring Operation: 54-43=11, Resulting Numbers: [13, 13, 11] Generated Node #0,2: 12:[13, 13, 11] Operation: 54-43=11 Exploring Operation: 43-13=30, Resulting Numbers: [54, 13, 30] Generated Node #0,3: 12:[54, 13, 30] Operation: 43-13=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[13, 13, 11], Operations: ['54-43=11'] Exploring Operation: 13/13=1, Resulting Numbers: [11, 1] Generated Node #0,2,0: 12:[11, 1] Operation: 13/13=1 Exploring Operation: 13-13=0, Resulting Numbers: [11, 0] Generated Node #0,2,1: 12:[11, 0] Operation: 13-13=0 Exploring Operation: 13-11=2, Resulting Numbers: [13, 2] Generated Node #0,2,2: 12:[13, 2] Operation: 13-11=2 Exploring Operation: 13-11=2, Resulting Numbers: [13, 2] Generated Node #0,2,3: 12:[13, 2] Operation: 13-11=2 Moving to Node #0,2,2 Current State: 12:[13, 2], Operations: ['54-43=11', '13-11=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,12 unequal: No Solution Moving to Node #0,2,3 Current State: 12:[13, 2], Operations: ['54-43=11', '13-11=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[11, 1], Operations: ['54-43=11', '13/13=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[43, 54, 13, 13], Operations: [] Exploring Operation: 54-43=11, Resulting Numbers: [13, 13, 11] Generated Node #0,2: 12:[13, 13, 11] Operation: 54-43=11 Moving to Node #0,2 Current State: 12:[13, 13, 11], Operations: ['54-43=11'] Exploring Operation: 13/13=1, Resulting Numbers: [11, 1] Generated Node #0,2,0: 12:[11, 1] Operation: 13/13=1 Moving to Node #0,2,0 Current State: 12:[11, 1], Operations: ['54-43=11', '13/13=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic