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
[ 15, 75, 54, 94 ]
20
[ "75-15=60", "94-54=40", "60-40=20" ]
Current State: 20:[15, 75, 54, 94], Operations: [] Exploring Operation: 75-15=60, Resulting Numbers: [54, 94, 60] Generated Node #2: [54, 94, 60] from Operation: 75-15=60 Current State: 20:[54, 94, 60], Operations: ['75-15=60'] Exploring Operation: 94-54=40, Resulting Numbers: [60, 40] Generated Node #3: [60, 40] from Operation: 94-54=40 Current State: 20:[60, 40], Operations: ['75-15=60', '94-54=40'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[15, 75, 54, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [15, 54, 19] Generated Node #0,0: 20:[15, 54, 19] Operation: 94-75=19 Exploring Operation: 75-54=21, Resulting Numbers: [15, 94, 21] Generated Node #0,1: 20:[15, 94, 21] Operation: 75-54=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[15, 54, 19], Operations: ['94-75=19'] Exploring Operation: 54-19=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 20:[15, 35] Operation: 54-19=35 Exploring Operation: 54-15=39, Resulting Numbers: [19, 39] Generated Node #0,0,1: 20:[19, 39] Operation: 54-15=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[15, 35], Operations: ['94-75=19', '54-19=35'] Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,20 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[15, 75, 54, 94], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [15, 54, 19] Generated Node #0,0: 20:[15, 54, 19] Operation: 94-75=19 Moving to Node #0,0 Current State: 20:[15, 54, 19], Operations: ['94-75=19'] Exploring Operation: 54-19=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 20:[15, 35] Operation: 54-19=35 Moving to Node #0,0,0 Current State: 20:[15, 35], Operations: ['94-75=19', '54-19=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 97, 82, 81, 41 ]
18
[ "97-81=16", "82/41=2", "16+2=18" ]
Current State: 18:[97, 82, 81, 41], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [82, 41, 16] Generated Node #2: [82, 41, 16] from Operation: 97-81=16 Current State: 18:[82, 41, 16], Operations: ['97-81=16'] Exploring Operation: 82/41=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 82/41=2 Current State: 18:[16, 2], Operations: ['97-81=16', '82/41=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[97, 82, 81, 41], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [81, 41, 15] Generated Node #0,0: 18:[81, 41, 15] Operation: 97-82=15 Exploring Operation: 97-81=16, Resulting Numbers: [82, 41, 16] Generated Node #0,1: 18:[82, 41, 16] Operation: 97-81=16 Exploring Operation: 82-81=1, Resulting Numbers: [97, 41, 1] Generated Node #0,2: 18:[97, 41, 1] Operation: 82-81=1 Moving to Node #0,0 Current State: 18:[81, 41, 15], Operations: ['97-82=15'] Exploring Operation: 81-15=66, Resulting Numbers: [41, 66] Generated Node #0,0,0: 18:[41, 66] Operation: 81-15=66 Exploring Operation: 41-15=26, Resulting Numbers: [81, 26] Generated Node #0,0,1: 18:[81, 26] Operation: 41-15=26 Exploring Operation: 81-41=40, Resulting Numbers: [15, 40] Generated Node #0,0,2: 18:[15, 40] Operation: 81-41=40 Moving to Node #0,1 Current State: 18:[82, 41, 16], Operations: ['97-81=16'] Exploring Operation: 82-41=41, Resulting Numbers: [16, 41] Generated Node #0,1,0: 18:[16, 41] Operation: 82-41=41 Exploring Operation: 82/41=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 18:[16, 2] Operation: 82/41=2 Exploring Operation: 82-16=66, Resulting Numbers: [41, 66] Generated Node #0,1,2: 18:[41, 66] Operation: 82-16=66 Moving to Node #0,2 Current State: 18:[97, 41, 1], Operations: ['82-81=1'] Exploring Operation: 97-1=96, Resulting Numbers: [41, 96] Generated Node #0,2,0: 18:[41, 96] Operation: 97-1=96 Exploring Operation: 41-1=40, Resulting Numbers: [97, 40] Generated Node #0,2,1: 18:[97, 40] Operation: 41-1=40 Exploring Operation: 97-41=56, Resulting Numbers: [1, 56] Generated Node #0,2,2: 18:[1, 56] Operation: 97-41=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 18:[1, 56], Operations: ['82-81=1', '97-41=56'] Exploring Operation: 56-1=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[41, 96], Operations: ['82-81=1', '97-1=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,18 unequal: No Solution Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,18 unequal: No Solution Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 18:[97, 40], Operations: ['82-81=1', '41-1=40'] Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 97*40=3880, Resulting Numbers: [3880] 3880,18 unequal: No Solution Exploring Operation: 97+40=137, Resulting Numbers: [137] 137,18 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: 18:[16, 2], Operations: ['97-81=16', '82/41=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[97, 82, 81, 41], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [82, 41, 16] Generated Node #0,1: 18:[82, 41, 16] Operation: 97-81=16 Moving to Node #0,1 Current State: 18:[82, 41, 16], Operations: ['97-81=16'] Exploring Operation: 82/41=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 18:[16, 2] Operation: 82/41=2 Moving to Node #0,1,1 Current State: 18:[16, 2], Operations: ['97-81=16', '82/41=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 6, 12, 23, 32 ]
78
[ "12/6=2", "23*2=46", "32+46=78" ]
Current State: 78:[6, 12, 23, 32], Operations: [] Exploring Operation: 12/6=2, Resulting Numbers: [23, 32, 2] Generated Node #2: [23, 32, 2] from Operation: 12/6=2 Current State: 78:[23, 32, 2], Operations: ['12/6=2'] Exploring Operation: 23*2=46, Resulting Numbers: [32, 46] Generated Node #3: [32, 46] from Operation: 23*2=46 Current State: 78:[32, 46], Operations: ['12/6=2', '23*2=46'] Exploring Operation: 32+46=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[6, 12, 23, 32], Operations: [] Exploring Operation: 32-6=26, Resulting Numbers: [12, 23, 26] Generated Node #0,0: 78:[12, 23, 26] Operation: 32-6=26 Moving to Node #0,0 Current State: 78:[12, 23, 26], Operations: ['32-6=26'] Exploring Operation: 26-23=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 78:[12, 3] Operation: 26-23=3 Moving to Node #0,0,0 Current State: 78:[12, 3], Operations: ['32-6=26', '26-23=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,78 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 38, 61, 96, 10 ]
30
[ "38+61=99", "99-96=3", "10*3=30" ]
Current State: 30:[38, 61, 96, 10], Operations: [] Exploring Operation: 38+61=99, Resulting Numbers: [96, 10, 99] Generated Node #2: [96, 10, 99] from Operation: 38+61=99 Current State: 30:[96, 10, 99], Operations: ['38+61=99'] Exploring Operation: 99-96=3, Resulting Numbers: [10, 3] Generated Node #3: [10, 3] from Operation: 99-96=3 Current State: 30:[10, 3], Operations: ['38+61=99', '99-96=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[38, 61, 96, 10], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [38, 10, 35] Generated Node #0,0: 30:[38, 10, 35] Operation: 96-61=35 Moving to Node #0,0 Current State: 30:[38, 10, 35], Operations: ['96-61=35'] Exploring Operation: 38-35=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 30:[10, 3] Operation: 38-35=3 Moving to Node #0,0,0 Current State: 30:[10, 3], Operations: ['96-61=35', '38-35=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[38, 61, 96, 10], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [38, 10, 35] Generated Node #0,0: 30:[38, 10, 35] Operation: 96-61=35 Moving to Node #0,0 Current State: 30:[38, 10, 35], Operations: ['96-61=35'] Exploring Operation: 38-35=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 30:[10, 3] Operation: 38-35=3 Moving to Node #0,0,0 Current State: 30:[10, 3], Operations: ['96-61=35', '38-35=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 36, 26, 92, 53 ]
83
[ "36+26=62", "92+53=145", "145-62=83" ]
Current State: 83:[36, 26, 92, 53], Operations: [] Exploring Operation: 36+26=62, Resulting Numbers: [92, 53, 62] Generated Node #2: [92, 53, 62] from Operation: 36+26=62 Current State: 83:[92, 53, 62], Operations: ['36+26=62'] Exploring Operation: 92+53=145, Resulting Numbers: [62, 145] Generated Node #3: [62, 145] from Operation: 92+53=145 Current State: 83:[62, 145], Operations: ['36+26=62', '92+53=145'] Exploring Operation: 145-62=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[36, 26, 92, 53], Operations: [] Exploring Operation: 36+26=62, Resulting Numbers: [92, 53, 62] Generated Node #0,0: 83:[92, 53, 62] Operation: 36+26=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[92, 53, 62], Operations: ['36+26=62'] Exploring Operation: 53+62=115, Resulting Numbers: [92, 115] Generated Node #0,0,0: 83:[92, 115] Operation: 53+62=115 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[92, 115], Operations: ['36+26=62', '53+62=115'] Exploring Operation: 115-92=23, Resulting Numbers: [23] 23,83 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
[ 24, 6, 26, 94 ]
10
[ "24/6=4", "26*4=104", "104-94=10" ]
Current State: 10:[24, 6, 26, 94], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [26, 94, 4] Generated Node #2: [26, 94, 4] from Operation: 24/6=4 Current State: 10:[26, 94, 4], Operations: ['24/6=4'] Exploring Operation: 26*4=104, Resulting Numbers: [94, 104] Generated Node #3: [94, 104] from Operation: 26*4=104 Current State: 10:[94, 104], Operations: ['24/6=4', '26*4=104'] Exploring Operation: 104-94=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[24, 6, 26, 94], Operations: [] Exploring Operation: 94-24=70, Resulting Numbers: [6, 26, 70] Generated Node #0,0: 10:[6, 26, 70] Operation: 94-24=70 Exploring Operation: 94-26=68, Resulting Numbers: [24, 6, 68] Generated Node #0,1: 10:[24, 6, 68] Operation: 94-26=68 Exploring Operation: 26-24=2, Resulting Numbers: [6, 94, 2] Generated Node #0,2: 10:[6, 94, 2] Operation: 26-24=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[24, 6, 68], Operations: ['94-26=68'] Exploring Operation: 24-6=18, Resulting Numbers: [68, 18] Generated Node #0,1,0: 10:[68, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [68, 4] Generated Node #0,1,1: 10:[68, 4] Operation: 24/6=4 Exploring Operation: 68-24=44, Resulting Numbers: [6, 44] Generated Node #0,1,2: 10:[6, 44] Operation: 68-24=44 Moving to Node #0,1,2 Current State: 10:[6, 44], Operations: ['94-26=68', '68-24=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[68, 4], Operations: ['94-26=68', '24/6=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,10 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,10 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[68, 18], Operations: ['94-26=68', '24-6=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,10 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[6, 26, 70], Operations: ['94-24=70'] Exploring Operation: 70-6=64, Resulting Numbers: [26, 64] Generated Node #0,0,0: 10:[26, 64] Operation: 70-6=64 Exploring Operation: 26-6=20, Resulting Numbers: [70, 20] Generated Node #0,0,1: 10:[70, 20] Operation: 26-6=20 Exploring Operation: 70-26=44, Resulting Numbers: [6, 44] Generated Node #0,0,2: 10:[6, 44] Operation: 70-26=44 Moving to Node #0,0,2 Current State: 10:[6, 44], Operations: ['94-24=70', '70-26=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,10 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[26, 64], Operations: ['94-24=70', '70-6=64'] Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[70, 20], Operations: ['94-24=70', '26-6=20'] Exploring Operation: 70+20=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 70*20=1400, Resulting Numbers: [1400] 1400,10 unequal: No Solution Exploring Operation: 70-20=50, Resulting Numbers: [50] 50,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[6, 94, 2], Operations: ['26-24=2'] Exploring Operation: 94/2=47, Resulting Numbers: [6, 47] Generated Node #0,2,0: 10:[6, 47] Operation: 94/2=47 Exploring Operation: 94-6=88, Resulting Numbers: [2, 88] Generated Node #0,2,1: 10:[2, 88] Operation: 94-6=88 Exploring Operation: 94-2=92, Resulting Numbers: [6, 92] Generated Node #0,2,2: 10:[6, 92] Operation: 94-2=92 Moving to Node #0,2,0 Current State: 10:[6, 47], Operations: ['26-24=2', '94/2=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,10 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[2, 88], Operations: ['26-24=2', '94-6=88'] Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[6, 92], Operations: ['26-24=2', '94-2=92'] Exploring Operation: 6*92=552, Resulting Numbers: [552] 552,10 unequal: No Solution Exploring Operation: 6+92=98, Resulting Numbers: [98] 98,10 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,10 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
[ 40, 3, 85, 44 ]
57
[ "40+44=84", "84/3=28", "85-28=57" ]
Current State: 57:[40, 3, 85, 44], Operations: [] Exploring Operation: 40+44=84, Resulting Numbers: [3, 85, 84] Generated Node #2: [3, 85, 84] from Operation: 40+44=84 Current State: 57:[3, 85, 84], Operations: ['40+44=84'] Exploring Operation: 84/3=28, Resulting Numbers: [85, 28] Generated Node #3: [85, 28] from Operation: 84/3=28 Current State: 57:[85, 28], Operations: ['40+44=84', '84/3=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[40, 3, 85, 44], Operations: [] Exploring Operation: 85-44=41, Resulting Numbers: [40, 3, 41] Generated Node #0,0: 57:[40, 3, 41] Operation: 85-44=41 Exploring Operation: 40+3=43, Resulting Numbers: [85, 44, 43] Generated Node #0,1: 57:[85, 44, 43] Operation: 40+3=43 Exploring Operation: 40+44=84, Resulting Numbers: [3, 85, 84] Generated Node #0,2: 57:[3, 85, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [3, 85, 4] Generated Node #0,3: 57:[3, 85, 4] Operation: 44-40=4 Exploring Operation: 85-40=45, Resulting Numbers: [3, 44, 45] Generated Node #0,4: 57:[3, 44, 45] Operation: 85-40=45 Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[3, 44, 45], Operations: ['85-40=45'] Exploring Operation: 44-3=41, Resulting Numbers: [45, 41] Generated Node #0,4,0: 57:[45, 41] Operation: 44-3=41 Exploring Operation: 3+45=48, Resulting Numbers: [44, 48] Generated Node #0,4,1: 57:[44, 48] Operation: 3+45=48 Exploring Operation: 45/3=15, Resulting Numbers: [44, 15] Generated Node #0,4,2: 57:[44, 15] Operation: 45/3=15 Exploring Operation: 3+44=47, Resulting Numbers: [45, 47] Generated Node #0,4,3: 57:[45, 47] Operation: 3+44=47 Exploring Operation: 45-44=1, Resulting Numbers: [3, 1] Generated Node #0,4,4: 57:[3, 1] Operation: 45-44=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 57:[3, 1], Operations: ['85-40=45', '45-44=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,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,4,2 Current State: 57:[44, 15], Operations: ['85-40=45', '45/3=15'] Exploring Operation: 44*15=660, Resulting Numbers: [660] 660,57 unequal: No Solution Exploring Operation: 44+15=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 44-15=29, Resulting Numbers: [29] 29,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,4,1 Current State: 57:[44, 48], Operations: ['85-40=45', '3+45=48'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,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,4,3 Current State: 57:[45, 47], Operations: ['85-40=45', '3+44=47'] Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,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,4,0 Current State: 57:[45, 41], Operations: ['85-40=45', '44-3=41'] Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,57 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[3, 85, 4], Operations: ['44-40=4'] Exploring Operation: 85-3=82, Resulting Numbers: [4, 82] Generated Node #0,3,0: 57:[4, 82] Operation: 85-3=82 Exploring Operation: 85-4=81, Resulting Numbers: [3, 81] Generated Node #0,3,1: 57:[3, 81] Operation: 85-4=81 Exploring Operation: 3+85=88, Resulting Numbers: [4, 88] Generated Node #0,3,2: 57:[4, 88] Operation: 3+85=88 Exploring Operation: 3+4=7, Resulting Numbers: [85, 7] Generated Node #0,3,3: 57:[85, 7] Operation: 3+4=7 Exploring Operation: 4-3=1, Resulting Numbers: [85, 1] Generated Node #0,3,4: 57:[85, 1] Operation: 4-3=1 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[3, 81], Operations: ['44-40=4', '85-4=81'] Exploring Operation: 3*81=243, Resulting Numbers: [243] 243,57 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,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:[4, 82], Operations: ['44-40=4', '85-3=82'] Exploring Operation: 4*82=328, Resulting Numbers: [328] 328,57 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 4+82=86, Resulting Numbers: [86] 86,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,4 Current State: 57:[85, 1], Operations: ['44-40=4', '4-3=1'] Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,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,2 Current State: 57:[4, 88], Operations: ['44-40=4', '3+85=88'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 4*88=352, Resulting Numbers: [352] 352,57 unequal: No Solution Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,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:[85, 7], Operations: ['44-40=4', '3+4=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[40, 3, 41], Operations: ['85-44=41'] Exploring Operation: 40+3=43, Resulting Numbers: [41, 43] Generated Node #0,0,0: 57:[41, 43] Operation: 40+3=43 Exploring Operation: 40+41=81, Resulting Numbers: [3, 81] Generated Node #0,0,1: 57:[3, 81] Operation: 40+41=81 Exploring Operation: 41-40=1, Resulting Numbers: [3, 1] Generated Node #0,0,2: 57:[3, 1] Operation: 41-40=1 Exploring Operation: 3+41=44, Resulting Numbers: [40, 44] Generated Node #0,0,3: 57:[40, 44] Operation: 3+41=44 Exploring Operation: 40-3=37, Resulting Numbers: [41, 37] Generated Node #0,0,4: 57:[41, 37] Operation: 40-3=37 Moving to Node #0,0,2 Current State: 57:[3, 1], Operations: ['85-44=41', '41-40=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[3, 81], Operations: ['85-44=41', '40+41=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 3*81=243, Resulting Numbers: [243] 243,57 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 3+81=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[41, 43], Operations: ['85-44=41', '40+3=43'] Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[40, 44], Operations: ['85-44=41', '3+41=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,57 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,0,4 Current State: 57:[41, 37], Operations: ['85-44=41', '40-3=37'] Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,57 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[85, 44, 43], Operations: ['40+3=43'] Exploring Operation: 85+43=128, Resulting Numbers: [44, 128] Generated Node #0,1,0: 57:[44, 128] Operation: 85+43=128 Exploring Operation: 85-44=41, Resulting Numbers: [43, 41] Generated Node #0,1,1: 57:[43, 41] Operation: 85-44=41 Exploring Operation: 44+43=87, Resulting Numbers: [85, 87] Generated Node #0,1,2: 57:[85, 87] Operation: 44+43=87 Exploring Operation: 85-43=42, Resulting Numbers: [44, 42] Generated Node #0,1,3: 57:[44, 42] Operation: 85-43=42 Exploring Operation: 44-43=1, Resulting Numbers: [85, 1] Generated Node #0,1,4: 57:[85, 1] Operation: 44-43=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[44, 42], Operations: ['40+3=43', '85-43=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,57 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[43, 41], Operations: ['40+3=43', '85-44=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,57 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 57:[85, 1], Operations: ['40+3=43', '44-43=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,57 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[85, 87], Operations: ['40+3=43', '44+43=87'] Exploring Operation: 85+87=172, Resulting Numbers: [172] 172,57 unequal: No Solution Exploring Operation: 87-85=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 85*87=7395, Resulting Numbers: [7395] 7395,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[44, 128], Operations: ['40+3=43', '85+43=128'] Exploring Operation: 44+128=172, Resulting Numbers: [172] 172,57 unequal: No Solution Exploring Operation: 128-44=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 44*128=5632, Resulting Numbers: [5632] 5632,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[3, 85, 84], Operations: ['40+44=84'] Exploring Operation: 85-3=82, Resulting Numbers: [84, 82] Generated Node #0,2,0: 57:[84, 82] Operation: 85-3=82 Exploring Operation: 84-3=81, Resulting Numbers: [85, 81] Generated Node #0,2,1: 57:[85, 81] Operation: 84-3=81 Exploring Operation: 3+85=88, Resulting Numbers: [84, 88] Generated Node #0,2,2: 57:[84, 88] Operation: 3+85=88 Exploring Operation: 85-84=1, Resulting Numbers: [3, 1] Generated Node #0,2,3: 57:[3, 1] Operation: 85-84=1 Exploring Operation: 84/3=28, Resulting Numbers: [85, 28] Generated Node #0,2,4: 57:[85, 28] Operation: 84/3=28 Moving to Node #0,2,3 Current State: 57:[3, 1], Operations: ['40+44=84', '85-84=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,2,4 Current State: 57:[85, 28], Operations: ['40+44=84', '84/3=28'] Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,57 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,57 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[40, 3, 85, 44], Operations: [] Exploring Operation: 40+44=84, Resulting Numbers: [3, 85, 84] Generated Node #0,2: 57:[3, 85, 84] Operation: 40+44=84 Moving to Node #0,2 Current State: 57:[3, 85, 84], Operations: ['40+44=84'] Exploring Operation: 84/3=28, Resulting Numbers: [85, 28] Generated Node #0,2,4: 57:[85, 28] Operation: 84/3=28 Moving to Node #0,2,4 Current State: 57:[85, 28], Operations: ['40+44=84', '84/3=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.90625
hs_5
sum_heuristic
[ 15, 51, 61, 18 ]
30
[ "18-15=3", "61-51=10", "3*10=30" ]
Current State: 30:[15, 51, 61, 18], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [51, 61, 3] Generated Node #2: [51, 61, 3] from Operation: 18-15=3 Current State: 30:[51, 61, 3], Operations: ['18-15=3'] Exploring Operation: 61-51=10, Resulting Numbers: [3, 10] Generated Node #3: [3, 10] from Operation: 61-51=10 Current State: 30:[3, 10], Operations: ['18-15=3', '61-51=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[15, 51, 61, 18], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [15, 18, 10] Generated Node #0,0: 30:[15, 18, 10] Operation: 61-51=10 Moving to Node #0,0 Current State: 30:[15, 18, 10], Operations: ['61-51=10'] Exploring Operation: 18-15=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 30:[10, 3] Operation: 18-15=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[10, 3], Operations: ['61-51=10', '18-15=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[15, 51, 61, 18], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [15, 18, 10] Generated Node #0,0: 30:[15, 18, 10] Operation: 61-51=10 Moving to Node #0,0 Current State: 30:[15, 18, 10], Operations: ['61-51=10'] Exploring Operation: 18-15=3, Resulting Numbers: [10, 3] Generated Node #0,0,0: 30:[10, 3] Operation: 18-15=3 Moving to Node #0,0,0 Current State: 30:[10, 3], Operations: ['61-51=10', '18-15=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 93, 86, 58, 91 ]
26
[ "93-86=7", "91-58=33", "33-7=26" ]
Current State: 26:[93, 86, 58, 91], Operations: [] Exploring Operation: 93-86=7, Resulting Numbers: [58, 91, 7] Generated Node #2: [58, 91, 7] from Operation: 93-86=7 Current State: 26:[58, 91, 7], Operations: ['93-86=7'] Exploring Operation: 91-58=33, Resulting Numbers: [7, 33] Generated Node #3: [7, 33] from Operation: 91-58=33 Current State: 26:[7, 33], Operations: ['93-86=7', '91-58=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[93, 86, 58, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [86, 58, 2] Generated Node #0,0: 26:[86, 58, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 26:[86, 58, 2], Operations: ['93-91=2'] Exploring Operation: 86-58=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 26:[2, 28] Operation: 86-58=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[2, 28], Operations: ['93-91=2', '86-58=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[93, 86, 58, 91], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [86, 58, 2] Generated Node #0,0: 26:[86, 58, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 26:[86, 58, 2], Operations: ['93-91=2'] Exploring Operation: 86-58=28, Resulting Numbers: [2, 28] Generated Node #0,0,0: 26:[2, 28] Operation: 86-58=28 Moving to Node #0,0,0 Current State: 26:[2, 28], Operations: ['93-91=2', '86-58=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 17, 30, 56, 28 ]
43
[ "30*56=1680", "1680/28=60", "60-17=43" ]
Current State: 43:[17, 30, 56, 28], Operations: [] Exploring Operation: 30*56=1680, Resulting Numbers: [17, 28, 1680] Generated Node #2: [17, 28, 1680] from Operation: 30*56=1680 Current State: 43:[17, 28, 1680], Operations: ['30*56=1680'] Exploring Operation: 1680/28=60, Resulting Numbers: [17, 60] Generated Node #3: [17, 60] from Operation: 1680/28=60 Current State: 43:[17, 60], Operations: ['30*56=1680', '1680/28=60'] Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[17, 30, 56, 28], Operations: [] Exploring Operation: 17+30=47, Resulting Numbers: [56, 28, 47] Generated Node #0,0: 43:[56, 28, 47] Operation: 17+30=47 Exploring Operation: 17+28=45, Resulting Numbers: [30, 56, 45] Generated Node #0,1: 43:[30, 56, 45] Operation: 17+28=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[30, 56, 45], Operations: ['17+28=45'] Exploring Operation: 45-30=15, Resulting Numbers: [56, 15] Generated Node #0,1,0: 43:[56, 15] Operation: 45-30=15 Exploring Operation: 56-30=26, Resulting Numbers: [45, 26] Generated Node #0,1,1: 43:[45, 26] Operation: 56-30=26 Moving to Node #0,1,1 Current State: 43:[45, 26], Operations: ['17+28=45', '56-30=26'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[56, 15], Operations: ['17+28=45', '45-30=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,43 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[56, 28, 47], Operations: ['17+30=47'] Exploring Operation: 56-28=28, Resulting Numbers: [47, 28] Generated Node #0,0,0: 43:[47, 28] Operation: 56-28=28 Exploring Operation: 47-28=19, Resulting Numbers: [56, 19] Generated Node #0,0,1: 43:[56, 19] Operation: 47-28=19 Moving to Node #0,0,0 Current State: 43:[47, 28], Operations: ['17+30=47', '56-28=28'] Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[56, 19], Operations: ['17+30=47', '47-28=19'] Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,43 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 88, 69, 53 ]
18
[ "88/44=2", "69-53=16", "2+16=18" ]
Current State: 18:[44, 88, 69, 53], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [69, 53, 2] Generated Node #2: [69, 53, 2] from Operation: 88/44=2 Current State: 18:[69, 53, 2], Operations: ['88/44=2'] Exploring Operation: 69-53=16, Resulting Numbers: [2, 16] Generated Node #3: [2, 16] from Operation: 69-53=16 Current State: 18:[2, 16], Operations: ['88/44=2', '69-53=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[44, 88, 69, 53], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [44, 53, 19] Generated Node #0,0: 18:[44, 53, 19] Operation: 88-69=19 Exploring Operation: 88-44=44, Resulting Numbers: [69, 53, 44] Generated Node #0,1: 18:[69, 53, 44] Operation: 88-44=44 Exploring Operation: 88/44=2, Resulting Numbers: [69, 53, 2] Generated Node #0,2: 18:[69, 53, 2] Operation: 88/44=2 Exploring Operation: 69-53=16, Resulting Numbers: [44, 88, 16] Generated Node #0,3: 18:[44, 88, 16] Operation: 69-53=16 Exploring Operation: 88-53=35, Resulting Numbers: [44, 69, 35] Generated Node #0,4: 18:[44, 69, 35] Operation: 88-53=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[44, 53, 19], Operations: ['88-69=19'] Exploring Operation: 53-19=34, Resulting Numbers: [44, 34] Generated Node #0,0,0: 18:[44, 34] Operation: 53-19=34 Exploring Operation: 44+53=97, Resulting Numbers: [19, 97] Generated Node #0,0,1: 18:[19, 97] Operation: 44+53=97 Exploring Operation: 53-44=9, Resulting Numbers: [19, 9] Generated Node #0,0,2: 18:[19, 9] Operation: 53-44=9 Exploring Operation: 44-19=25, Resulting Numbers: [53, 25] Generated Node #0,0,3: 18:[53, 25] Operation: 44-19=25 Exploring Operation: 44+19=63, Resulting Numbers: [53, 63] Generated Node #0,0,4: 18:[53, 63] Operation: 44+19=63 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 18:[19, 9], Operations: ['88-69=19', '53-44=9'] Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,18 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,18 unequal: No Solution No 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: 18:[44, 34], Operations: ['88-69=19', '53-19=34'] Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,18 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,18 unequal: No Solution No 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: 18:[53, 25], Operations: ['88-69=19', '44-19=25'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,18 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,18 unequal: No Solution No 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: 18:[19, 97], Operations: ['88-69=19', '44+53=97'] Exploring Operation: 19+97=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 19*97=1843, Resulting Numbers: [1843] 1843,18 unequal: No Solution No 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: 18:[53, 63], Operations: ['88-69=19', '44+19=63'] Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,18 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: 18:[69, 53, 2], Operations: ['88/44=2'] Exploring Operation: 69-53=16, Resulting Numbers: [2, 16] Generated Node #0,2,0: 18:[2, 16] Operation: 69-53=16 Exploring Operation: 69-2=67, Resulting Numbers: [53, 67] Generated Node #0,2,1: 18:[53, 67] Operation: 69-2=67 Exploring Operation: 53+2=55, Resulting Numbers: [69, 55] Generated Node #0,2,2: 18:[69, 55] Operation: 53+2=55 Exploring Operation: 69+2=71, Resulting Numbers: [53, 71] Generated Node #0,2,3: 18:[53, 71] Operation: 69+2=71 Exploring Operation: 53-2=51, Resulting Numbers: [69, 51] Generated Node #0,2,4: 18:[69, 51] Operation: 53-2=51 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[2, 16], Operations: ['88/44=2', '69-53=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,18 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[44, 88, 69, 53], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [69, 53, 2] Generated Node #0,2: 18:[69, 53, 2] Operation: 88/44=2 Moving to Node #0,2 Current State: 18:[69, 53, 2], Operations: ['88/44=2'] Exploring Operation: 69-53=16, Resulting Numbers: [2, 16] Generated Node #0,2,0: 18:[2, 16] Operation: 69-53=16 Moving to Node #0,2,0 Current State: 18:[2, 16], Operations: ['88/44=2', '69-53=16'] Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 93, 52, 89, 90 ]
40
[ "93-52=41", "90-89=1", "41-1=40" ]
Current State: 40:[93, 52, 89, 90], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [89, 90, 41] Generated Node #2: [89, 90, 41] from Operation: 93-52=41 Current State: 40:[89, 90, 41], Operations: ['93-52=41'] Exploring Operation: 90-89=1, Resulting Numbers: [41, 1] Generated Node #3: [41, 1] from Operation: 90-89=1 Current State: 40:[41, 1], Operations: ['93-52=41', '90-89=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[93, 52, 89, 90], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [52, 90, 4] Generated Node #0,0: 40:[52, 90, 4] Operation: 93-89=4 Exploring Operation: 93-52=41, Resulting Numbers: [89, 90, 41] Generated Node #0,1: 40:[89, 90, 41] Operation: 93-52=41 Exploring Operation: 90-89=1, Resulting Numbers: [93, 52, 1] Generated Node #0,2: 40:[93, 52, 1] Operation: 90-89=1 Exploring Operation: 93-90=3, Resulting Numbers: [52, 89, 3] Generated Node #0,3: 40:[52, 89, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[52, 90, 4], Operations: ['93-89=4'] Exploring Operation: 90-52=38, Resulting Numbers: [4, 38] Generated Node #0,0,0: 40:[4, 38] Operation: 90-52=38 Exploring Operation: 52-4=48, Resulting Numbers: [90, 48] Generated Node #0,0,1: 40:[90, 48] Operation: 52-4=48 Exploring Operation: 90-4=86, Resulting Numbers: [52, 86] Generated Node #0,0,2: 40:[52, 86] Operation: 90-4=86 Exploring Operation: 52/4=13, Resulting Numbers: [90, 13] Generated Node #0,0,3: 40:[90, 13] Operation: 52/4=13 Moving to Node #0,0,0 Current State: 40:[4, 38], Operations: ['93-89=4', '90-52=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,40 unequal: No Solution Moving to Node #0,0,3 Current State: 40:[90, 13], Operations: ['93-89=4', '52/4=13'] Exploring Operation: 90*13=1170, Resulting Numbers: [1170] 1170,40 unequal: No Solution Exploring Operation: 90-13=77, Resulting Numbers: [77] 77,40 unequal: No Solution Exploring Operation: 90+13=103, Resulting Numbers: [103] 103,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[52, 86], Operations: ['93-89=4', '90-4=86'] Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,40 unequal: No Solution Exploring Operation: 52*86=4472, Resulting Numbers: [4472] 4472,40 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[90, 48], Operations: ['93-89=4', '52-4=48'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,40 unequal: No Solution Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,40 unequal: No Solution Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,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,3 Current State: 40:[52, 89, 3], Operations: ['93-90=3'] Exploring Operation: 89-52=37, Resulting Numbers: [3, 37] Generated Node #0,3,0: 40:[3, 37] Operation: 89-52=37 Exploring Operation: 89-3=86, Resulting Numbers: [52, 86] Generated Node #0,3,1: 40:[52, 86] Operation: 89-3=86 Exploring Operation: 52+3=55, Resulting Numbers: [89, 55] Generated Node #0,3,2: 40:[89, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [89, 49] Generated Node #0,3,3: 40:[89, 49] Operation: 52-3=49 Moving to Node #0,3,0 Current State: 40:[3, 37], Operations: ['93-90=3', '89-52=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[93, 52, 89, 90], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [52, 89, 3] Generated Node #0,3: 40:[52, 89, 3] Operation: 93-90=3 Moving to Node #0,3 Current State: 40:[52, 89, 3], Operations: ['93-90=3'] Exploring Operation: 89-52=37, Resulting Numbers: [3, 37] Generated Node #0,3,0: 40:[3, 37] Operation: 89-52=37 Moving to Node #0,3,0 Current State: 40:[3, 37], Operations: ['93-90=3', '89-52=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 63, 46, 35, 45 ]
95
[ "63*35=2205", "2205/45=49", "46+49=95" ]
Current State: 95:[63, 46, 35, 45], Operations: [] Exploring Operation: 63*35=2205, Resulting Numbers: [46, 45, 2205] Generated Node #2: [46, 45, 2205] from Operation: 63*35=2205 Current State: 95:[46, 45, 2205], Operations: ['63*35=2205'] Exploring Operation: 2205/45=49, Resulting Numbers: [46, 49] Generated Node #3: [46, 49] from Operation: 2205/45=49 Current State: 95:[46, 49], Operations: ['63*35=2205', '2205/45=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[63, 46, 35, 45], Operations: [] Exploring Operation: 63-46=17, Resulting Numbers: [35, 45, 17] Generated Node #0,0: 95:[35, 45, 17] Operation: 63-46=17 Exploring Operation: 63-45=18, Resulting Numbers: [46, 35, 18] Generated Node #0,1: 95:[46, 35, 18] Operation: 63-45=18 Exploring Operation: 46+45=91, Resulting Numbers: [63, 35, 91] Generated Node #0,2: 95:[63, 35, 91] Operation: 46+45=91 Exploring Operation: 46-45=1, Resulting Numbers: [63, 35, 1] Generated Node #0,3: 95:[63, 35, 1] Operation: 46-45=1 Moving to Node #0,0 Current State: 95:[35, 45, 17], Operations: ['63-46=17'] Exploring Operation: 45-35=10, Resulting Numbers: [17, 10] Generated Node #0,0,0: 95:[17, 10] Operation: 45-35=10 Exploring Operation: 45-17=28, Resulting Numbers: [35, 28] Generated Node #0,0,1: 95:[35, 28] Operation: 45-17=28 Exploring Operation: 35-17=18, Resulting Numbers: [45, 18] Generated Node #0,0,2: 95:[45, 18] Operation: 35-17=18 Exploring Operation: 35+45=80, Resulting Numbers: [17, 80] Generated Node #0,0,3: 95:[17, 80] Operation: 35+45=80 Moving to Node #0,1 Current State: 95:[46, 35, 18], Operations: ['63-45=18'] Exploring Operation: 46+35=81, Resulting Numbers: [18, 81] Generated Node #0,1,0: 95:[18, 81] Operation: 46+35=81 Exploring Operation: 46-35=11, Resulting Numbers: [18, 11] Generated Node #0,1,1: 95:[18, 11] Operation: 46-35=11 Exploring Operation: 46-18=28, Resulting Numbers: [35, 28] Generated Node #0,1,2: 95:[35, 28] Operation: 46-18=28 Exploring Operation: 35-18=17, Resulting Numbers: [46, 17] Generated Node #0,1,3: 95:[46, 17] Operation: 35-18=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[18, 11], Operations: ['63-45=18', '46-35=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,95 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[18, 81], Operations: ['63-45=18', '46+35=81'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 18*81=1458, Resulting Numbers: [1458] 1458,95 unequal: No Solution Exploring Operation: 18+81=99, Resulting Numbers: [99] 99,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[35, 28], Operations: ['63-45=18', '46-18=28'] Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,95 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[46, 17], Operations: ['63-45=18', '35-18=17'] Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,95 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: 95:[63, 35, 1], Operations: ['46-45=1'] Exploring Operation: 63+1=64, Resulting Numbers: [35, 64] Generated Node #0,3,0: 95:[35, 64] Operation: 63+1=64 Exploring Operation: 63-35=28, Resulting Numbers: [1, 28] Generated Node #0,3,1: 95:[1, 28] Operation: 63-35=28 Exploring Operation: 35-1=34, Resulting Numbers: [63, 34] Generated Node #0,3,2: 95:[63, 34] Operation: 35-1=34 Exploring Operation: 63+35=98, Resulting Numbers: [1, 98] Generated Node #0,3,3: 95:[1, 98] Operation: 63+35=98 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[1, 98], Operations: ['46-45=1', '63+35=98'] Exploring Operation: 1+98=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[1, 28], Operations: ['46-45=1', '63-35=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[35, 64], Operations: ['46-45=1', '63+1=64'] Exploring Operation: 35*64=2240, Resulting Numbers: [2240] 2240,95 unequal: No Solution Exploring Operation: 35+64=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 64-35=29, Resulting Numbers: [29] 29,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[63, 34], Operations: ['46-45=1', '35-1=34'] Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,95 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,95 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: 95:[63, 35, 91], Operations: ['46+45=91'] Exploring Operation: 63+35=98, Resulting Numbers: [91, 98] Generated Node #0,2,0: 95:[91, 98] Operation: 63+35=98 Exploring Operation: 35+91=126, Resulting Numbers: [63, 126] Generated Node #0,2,1: 95:[63, 126] Operation: 35+91=126 Exploring Operation: 91-63=28, Resulting Numbers: [35, 28] Generated Node #0,2,2: 95:[35, 28] Operation: 91-63=28 Exploring Operation: 63-35=28, Resulting Numbers: [91, 28] Generated Node #0,2,3: 95:[91, 28] Operation: 63-35=28 Moving to Node #0,0,0 Current State: 95:[17, 10], Operations: ['63-46=17', '45-35=10'] Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,95 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[91, 98], Operations: ['46+45=91', '63+35=98'] Exploring Operation: 91+98=189, Resulting Numbers: [189] 189,95 unequal: No Solution Exploring Operation: 98-91=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 91*98=8918, Resulting Numbers: [8918] 8918,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[91, 28], Operations: ['46+45=91', '63-35=28'] Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,95 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,95 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[17, 80], Operations: ['63-46=17', '35+45=80'] Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,95 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[35, 28], Operations: ['63-46=17', '45-17=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[35, 28], Operations: ['46+45=91', '91-63=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,95 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[45, 18], Operations: ['63-46=17', '35-17=18'] Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,95 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,95 unequal: No Solution Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[63, 126], Operations: ['46+45=91', '35+91=126'] Exploring Operation: 126/63=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 126-63=63, Resulting Numbers: [63] 63,95 unequal: No Solution Exploring Operation: 63*126=7938, Resulting Numbers: [7938] 7938,95 unequal: No Solution Exploring Operation: 63+126=189, Resulting Numbers: [189] 189,95 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 27, 59, 1, 13 ]
57
[ "27-1=26", "26/13=2", "59-2=57" ]
Current State: 57:[27, 59, 1, 13], Operations: [] Exploring Operation: 27-1=26, Resulting Numbers: [59, 13, 26] Generated Node #2: [59, 13, 26] from Operation: 27-1=26 Current State: 57:[59, 13, 26], Operations: ['27-1=26'] Exploring Operation: 26/13=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 26/13=2 Current State: 57:[59, 2], Operations: ['27-1=26', '26/13=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[27, 59, 1, 13], Operations: [] Exploring Operation: 27-13=14, Resulting Numbers: [59, 1, 14] Generated Node #0,0: 57:[59, 1, 14] Operation: 27-13=14 Exploring Operation: 27*1=27, Resulting Numbers: [59, 13, 27] Generated Node #0,1: 57:[59, 13, 27] Operation: 27*1=27 Exploring Operation: 59-1=58, Resulting Numbers: [27, 13, 58] Generated Node #0,2: 57:[27, 13, 58] Operation: 59-1=58 Exploring Operation: 27-1=26, Resulting Numbers: [59, 13, 26] Generated Node #0,3: 57:[59, 13, 26] Operation: 27-1=26 Exploring Operation: 1+13=14, Resulting Numbers: [27, 59, 14] Generated Node #0,4: 57:[27, 59, 14] Operation: 1+13=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[59, 1, 14], Operations: ['27-13=14'] Exploring Operation: 1*14=14, Resulting Numbers: [59, 14] Generated Node #0,0,0: 57:[59, 14] Operation: 1*14=14 Exploring Operation: 59-1=58, Resulting Numbers: [14, 58] Generated Node #0,0,1: 57:[14, 58] Operation: 59-1=58 Exploring Operation: 59/1=59, Resulting Numbers: [14, 59] Generated Node #0,0,2: 57:[14, 59] Operation: 59/1=59 Exploring Operation: 59*1=59, Resulting Numbers: [14, 59] Generated Node #0,0,3: 57:[14, 59] Operation: 59*1=59 Exploring Operation: 1+14=15, Resulting Numbers: [59, 15] Generated Node #0,0,4: 57:[59, 15] Operation: 1+14=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[14, 58], Operations: ['27-13=14', '59-1=58'] Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,57 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 57:[59, 15], Operations: ['27-13=14', '1+14=15'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 59+15=74, Resulting Numbers: [74] 74,57 unequal: No Solution Exploring Operation: 59*15=885, Resulting Numbers: [885] 885,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[59, 14], Operations: ['27-13=14', '1*14=14'] Exploring Operation: 59*14=826, Resulting Numbers: [826] 826,57 unequal: No Solution Exploring Operation: 59+14=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 57:[14, 59], Operations: ['27-13=14', '59/1=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[14, 59], Operations: ['27-13=14', '59*1=59'] Exploring Operation: 14+59=73, Resulting Numbers: [73] 73,57 unequal: No Solution Exploring Operation: 14*59=826, Resulting Numbers: [826] 826,57 unequal: No Solution Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[27, 13, 58], Operations: ['59-1=58'] Exploring Operation: 58-13=45, Resulting Numbers: [27, 45] Generated Node #0,2,0: 57:[27, 45] Operation: 58-13=45 Exploring Operation: 58-27=31, Resulting Numbers: [13, 31] Generated Node #0,2,1: 57:[13, 31] Operation: 58-27=31 Exploring Operation: 13+58=71, Resulting Numbers: [27, 71] Generated Node #0,2,2: 57:[27, 71] Operation: 13+58=71 Exploring Operation: 27+13=40, Resulting Numbers: [58, 40] Generated Node #0,2,3: 57:[58, 40] Operation: 27+13=40 Exploring Operation: 27-13=14, Resulting Numbers: [58, 14] Generated Node #0,2,4: 57:[58, 14] Operation: 27-13=14 Moving to Node #0,2,4 Current State: 57:[58, 14], Operations: ['59-1=58', '27-13=14'] Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,57 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[58, 40], Operations: ['59-1=58', '27+13=40'] Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,57 unequal: No Solution Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[13, 31], Operations: ['59-1=58', '58-27=31'] Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,57 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[27, 45], Operations: ['59-1=58', '58-13=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,57 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[27, 71], Operations: ['59-1=58', '13+58=71'] Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,57 unequal: No Solution Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,57 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,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:[59, 13, 26], Operations: ['27-1=26'] Exploring Operation: 13+26=39, Resulting Numbers: [59, 39] Generated Node #0,3,0: 57:[59, 39] Operation: 13+26=39 Exploring Operation: 26/13=2, Resulting Numbers: [59, 2] Generated Node #0,3,1: 57:[59, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [59, 13] Generated Node #0,3,2: 57:[59, 13] Operation: 26-13=13 Exploring Operation: 59-13=46, Resulting Numbers: [26, 46] Generated Node #0,3,3: 57:[26, 46] Operation: 59-13=46 Exploring Operation: 59-26=33, Resulting Numbers: [13, 33] Generated Node #0,3,4: 57:[13, 33] Operation: 59-26=33 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[59, 2], Operations: ['27-1=26', '26/13=2'] Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[27, 59, 1, 13], Operations: [] Exploring Operation: 27-1=26, Resulting Numbers: [59, 13, 26] Generated Node #0,3: 57:[59, 13, 26] Operation: 27-1=26 Moving to Node #0,3 Current State: 57:[59, 13, 26], Operations: ['27-1=26'] Exploring Operation: 26/13=2, Resulting Numbers: [59, 2] Generated Node #0,3,1: 57:[59, 2] Operation: 26/13=2 Moving to Node #0,3,1 Current State: 57:[59, 2], Operations: ['27-1=26', '26/13=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 20, 30, 77, 27 ]
60
[ "30-20=10", "77-27=50", "10+50=60" ]
Current State: 60:[20, 30, 77, 27], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [77, 27, 10] Generated Node #2: [77, 27, 10] from Operation: 30-20=10 Current State: 60:[77, 27, 10], Operations: ['30-20=10'] Exploring Operation: 77-27=50, Resulting Numbers: [10, 50] Generated Node #3: [10, 50] from Operation: 77-27=50 Current State: 60:[10, 50], Operations: ['30-20=10', '77-27=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[20, 30, 77, 27], Operations: [] Exploring Operation: 77-27=50, Resulting Numbers: [20, 30, 50] Generated Node #0,0: 60:[20, 30, 50] Operation: 77-27=50 Exploring Operation: 77-20=57, Resulting Numbers: [30, 27, 57] Generated Node #0,1: 60:[30, 27, 57] Operation: 77-20=57 Moving to Node #0,1 Current State: 60:[30, 27, 57], Operations: ['77-20=57'] Exploring Operation: 30-27=3, Resulting Numbers: [57, 3] Generated Node #0,1,0: 60:[57, 3] Operation: 30-27=3 Exploring Operation: 57-27=30, Resulting Numbers: [30, 30] Generated Node #0,1,1: 60:[30, 30] Operation: 57-27=30 Moving to Node #0,0 Current State: 60:[20, 30, 50], Operations: ['77-27=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 60:[30, 30] Operation: 50-20=30 Exploring Operation: 50-30=20, Resulting Numbers: [20, 20] Generated Node #0,0,1: 60:[20, 20] Operation: 50-30=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[30, 30], Operations: ['77-27=50', '50-20=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[20, 30, 77, 27], Operations: [] Exploring Operation: 77-27=50, Resulting Numbers: [20, 30, 50] Generated Node #0,0: 60:[20, 30, 50] Operation: 77-27=50 Moving to Node #0,0 Current State: 60:[20, 30, 50], Operations: ['77-27=50'] Exploring Operation: 50-20=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 60:[30, 30] Operation: 50-20=30 Moving to Node #0,0,0 Current State: 60:[30, 30], Operations: ['77-27=50', '50-20=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 40, 31, 37, 37 ]
18
[ "40-37=3", "37-31=6", "3*6=18" ]
Current State: 18:[40, 31, 37, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [31, 3] Generated Node #2: [31, 3] from Operation: 40-37=3 Current State: 18:[31, 3], Operations: ['40-37=3'] Exploring Operation: 37-31=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 37-31=6 Current State: 18:[3, 6], Operations: ['40-37=3', '37-31=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[40, 31, 37, 37], Operations: [] Exploring Operation: 40-37=3, Resulting Numbers: [31, 37, 3] Generated Node #0,0: 18:[31, 37, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[31, 37, 3], Operations: ['40-37=3'] Exploring Operation: 37-31=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 18:[3, 6] Operation: 37-31=6 Moving to Node #0,0,0 Current State: 18:[3, 6], Operations: ['40-37=3', '37-31=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 98, 65, 26 ]
16
[ "9+98=107", "65+26=91", "107-91=16" ]
Current State: 16:[9, 98, 65, 26], Operations: [] Exploring Operation: 9+98=107, Resulting Numbers: [65, 26, 107] Generated Node #2: [65, 26, 107] from Operation: 9+98=107 Current State: 16:[65, 26, 107], Operations: ['9+98=107'] Exploring Operation: 65+26=91, Resulting Numbers: [107, 91] Generated Node #3: [107, 91] from Operation: 65+26=91 Current State: 16:[107, 91], Operations: ['9+98=107', '65+26=91'] Exploring Operation: 107-91=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[9, 98, 65, 26], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [9, 26, 33] Generated Node #0,0: 16:[9, 26, 33] Operation: 98-65=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[9, 26, 33], Operations: ['98-65=33'] Exploring Operation: 33-26=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 16:[9, 7] Operation: 33-26=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[9, 7], Operations: ['98-65=33', '33-26=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[9, 98, 65, 26], Operations: [] Exploring Operation: 98-65=33, Resulting Numbers: [9, 26, 33] Generated Node #0,0: 16:[9, 26, 33] Operation: 98-65=33 Moving to Node #0,0 Current State: 16:[9, 26, 33], Operations: ['98-65=33'] Exploring Operation: 33-26=7, Resulting Numbers: [9, 7] Generated Node #0,0,0: 16:[9, 7] Operation: 33-26=7 Moving to Node #0,0,0 Current State: 16:[9, 7], Operations: ['98-65=33', '33-26=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 2, 24, 25 ]
55
[ "16+24=40", "2*40=80", "80-25=55" ]
Current State: 55:[16, 2, 24, 25], Operations: [] Exploring Operation: 16+24=40, Resulting Numbers: [2, 25, 40] Generated Node #2: [2, 25, 40] from Operation: 16+24=40 Current State: 55:[2, 25, 40], Operations: ['16+24=40'] Exploring Operation: 2*40=80, Resulting Numbers: [25, 80] Generated Node #3: [25, 80] from Operation: 2*40=80 Current State: 55:[25, 80], Operations: ['16+24=40', '2*40=80'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[16, 2, 24, 25], Operations: [] Exploring Operation: 25-16=9, Resulting Numbers: [2, 24, 9] Generated Node #0,0: 55:[2, 24, 9] Operation: 25-16=9 Exploring Operation: 24-16=8, Resulting Numbers: [2, 25, 8] Generated Node #0,1: 55:[2, 25, 8] Operation: 24-16=8 Exploring Operation: 25-24=1, Resulting Numbers: [16, 2, 1] Generated Node #0,2: 55:[16, 2, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [16, 2, 49] Generated Node #0,3: 55:[16, 2, 49] Operation: 24+25=49 Moving to Node #0,2 Current State: 55:[16, 2, 1], Operations: ['25-24=1'] Exploring Operation: 16/2=8, Resulting Numbers: [1, 8] Generated Node #0,2,0: 55:[1, 8] Operation: 16/2=8 Exploring Operation: 16-1=15, Resulting Numbers: [2, 15] Generated Node #0,2,1: 55:[2, 15] Operation: 16-1=15 Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,2,2: 55:[16, 3] Operation: 2+1=3 Exploring Operation: 16-2=14, Resulting Numbers: [1, 14] Generated Node #0,2,3: 55:[1, 14] Operation: 16-2=14 Moving to Node #0,3 Current State: 55:[16, 2, 49], Operations: ['24+25=49'] Exploring Operation: 2+49=51, Resulting Numbers: [16, 51] Generated Node #0,3,0: 55:[16, 51] Operation: 2+49=51 Exploring Operation: 16-2=14, Resulting Numbers: [49, 14] Generated Node #0,3,1: 55:[49, 14] Operation: 16-2=14 Exploring Operation: 16+2=18, Resulting Numbers: [49, 18] Generated Node #0,3,2: 55:[49, 18] Operation: 16+2=18 Exploring Operation: 16/2=8, Resulting Numbers: [49, 8] Generated Node #0,3,3: 55:[49, 8] Operation: 16/2=8 Moving to Node #0,0 Current State: 55:[2, 24, 9], Operations: ['25-16=9'] Exploring Operation: 2*24=48, Resulting Numbers: [9, 48] Generated Node #0,0,0: 55:[9, 48] Operation: 2*24=48 Exploring Operation: 24-2=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 55:[9, 22] Operation: 24-2=22 Exploring Operation: 24/2=12, Resulting Numbers: [9, 12] Generated Node #0,0,2: 55:[9, 12] Operation: 24/2=12 Exploring Operation: 24-9=15, Resulting Numbers: [2, 15] Generated Node #0,0,3: 55:[2, 15] Operation: 24-9=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[9, 12], Operations: ['25-16=9', '24/2=12'] Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[2, 15], Operations: ['25-16=9', '24-9=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,55 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[9, 48], Operations: ['25-16=9', '2*24=48'] Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[9, 22], Operations: ['25-16=9', '24-2=22'] Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 55:[2, 25, 8], Operations: ['24-16=8'] Exploring Operation: 2+8=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 55:[25, 10] Operation: 2+8=10 Exploring Operation: 25-2=23, Resulting Numbers: [8, 23] Generated Node #0,1,1: 55:[8, 23] Operation: 25-2=23 Exploring Operation: 2*25=50, Resulting Numbers: [8, 50] Generated Node #0,1,2: 55:[8, 50] Operation: 2*25=50 Exploring Operation: 25-8=17, Resulting Numbers: [2, 17] Generated Node #0,1,3: 55:[2, 17] Operation: 25-8=17 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[8, 50], Operations: ['24-16=8', '2*25=50'] Exploring Operation: 8*50=400, Resulting Numbers: [400] 400,55 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 8+50=58, Resulting Numbers: [58] 58,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 55:[2, 17], Operations: ['24-16=8', '25-8=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[25, 10], Operations: ['24-16=8', '2+8=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[8, 23], Operations: ['24-16=8', '25-2=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,55 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 55:[1, 8], Operations: ['25-24=1', '16/2=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,55 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[16, 3], Operations: ['25-24=1', '2+1=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[2, 15], Operations: ['25-24=1', '16-1=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[1, 14], Operations: ['25-24=1', '16-2=14'] Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[49, 8], Operations: ['24+25=49', '16/2=8'] Exploring Operation: 49+8=57, Resulting Numbers: [57] 57,55 unequal: No Solution Exploring Operation: 49*8=392, Resulting Numbers: [392] 392,55 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[49, 14], Operations: ['24+25=49', '16-2=14'] Exploring Operation: 49+14=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 49*14=686, Resulting Numbers: [686] 686,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[16, 51], Operations: ['24+25=49', '2+49=51'] Exploring Operation: 51-16=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 16*51=816, Resulting Numbers: [816] 816,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[49, 18], Operations: ['24+25=49', '16+2=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,55 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 74, 2, 63, 79 ]
73
[ "79-74=5", "2*5=10", "63+10=73" ]
Current State: 73:[74, 2, 63, 79], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [2, 63, 5] Generated Node #2: [2, 63, 5] from Operation: 79-74=5 Current State: 73:[2, 63, 5], Operations: ['79-74=5'] Exploring Operation: 2*5=10, Resulting Numbers: [63, 10] Generated Node #3: [63, 10] from Operation: 2*5=10 Current State: 73:[63, 10], Operations: ['79-74=5', '2*5=10'] Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[74, 2, 63, 79], Operations: [] Exploring Operation: 2+63=65, Resulting Numbers: [74, 79, 65] Generated Node #0,0: 73:[74, 79, 65] Operation: 2+63=65 Moving to Node #0,0 Current State: 73:[74, 79, 65], Operations: ['2+63=65'] Exploring Operation: 79-65=14, Resulting Numbers: [74, 14] Generated Node #0,0,0: 73:[74, 14] Operation: 79-65=14 Moving to Node #0,0,0 Current State: 73:[74, 14], Operations: ['2+63=65', '79-65=14'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,73 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 95, 9, 37 ]
22
[ "4*9=36", "95-37=58", "58-36=22" ]
Current State: 22:[4, 95, 9, 37], Operations: [] Exploring Operation: 4*9=36, Resulting Numbers: [95, 37, 36] Generated Node #2: [95, 37, 36] from Operation: 4*9=36 Current State: 22:[95, 37, 36], Operations: ['4*9=36'] Exploring Operation: 95-37=58, Resulting Numbers: [36, 58] Generated Node #3: [36, 58] from Operation: 95-37=58 Current State: 22:[36, 58], Operations: ['4*9=36', '95-37=58'] Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 95, 9, 37], Operations: [] Exploring Operation: 95-9=86, Resulting Numbers: [4, 37, 86] Generated Node #0,0: 22:[4, 37, 86] Operation: 95-9=86 Exploring Operation: 37-9=28, Resulting Numbers: [4, 95, 28] Generated Node #0,1: 22:[4, 95, 28] Operation: 37-9=28 Exploring Operation: 95-37=58, Resulting Numbers: [4, 9, 58] Generated Node #0,2: 22:[4, 9, 58] Operation: 95-37=58 Exploring Operation: 95-4=91, Resulting Numbers: [9, 37, 91] Generated Node #0,3: 22:[9, 37, 91] Operation: 95-4=91 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[4, 9, 58], Operations: ['95-37=58'] Exploring Operation: 58-4=54, Resulting Numbers: [9, 54] Generated Node #0,2,0: 22:[9, 54] Operation: 58-4=54 Exploring Operation: 58-9=49, Resulting Numbers: [4, 49] Generated Node #0,2,1: 22:[4, 49] Operation: 58-9=49 Exploring Operation: 9-4=5, Resulting Numbers: [58, 5] Generated Node #0,2,2: 22:[58, 5] Operation: 9-4=5 Exploring Operation: 4+9=13, Resulting Numbers: [58, 13] Generated Node #0,2,3: 22:[58, 13] Operation: 4+9=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 22:[4, 49], Operations: ['95-37=58', '58-9=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,22 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 22:[9, 54], Operations: ['95-37=58', '58-4=54'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,22 unequal: No Solution Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 22:[58, 13], Operations: ['95-37=58', '4+9=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,22 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 22:[58, 5], Operations: ['95-37=58', '9-4=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[4, 37, 86], Operations: ['95-9=86'] Exploring Operation: 86-37=49, Resulting Numbers: [4, 49] Generated Node #0,0,0: 22:[4, 49] Operation: 86-37=49 Exploring Operation: 86-4=82, Resulting Numbers: [37, 82] Generated Node #0,0,1: 22:[37, 82] Operation: 86-4=82 Exploring Operation: 4+37=41, Resulting Numbers: [86, 41] Generated Node #0,0,2: 22:[86, 41] Operation: 4+37=41 Exploring Operation: 37-4=33, Resulting Numbers: [86, 33] Generated Node #0,0,3: 22:[86, 33] Operation: 37-4=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[4, 49], Operations: ['95-9=86', '86-37=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,22 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[37, 82], Operations: ['95-9=86', '86-4=82'] Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 22:[86, 33], Operations: ['95-9=86', '37-4=33'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,22 unequal: No Solution Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[86, 41], Operations: ['95-9=86', '4+37=41'] Exploring Operation: 86*41=3526, Resulting Numbers: [3526] 3526,22 unequal: No Solution Exploring Operation: 86-41=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 86+41=127, Resulting Numbers: [127] 127,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[4, 95, 28], Operations: ['37-9=28'] Exploring Operation: 28/4=7, Resulting Numbers: [95, 7] Generated Node #0,1,0: 22:[95, 7] Operation: 28/4=7 Exploring Operation: 28-4=24, Resulting Numbers: [95, 24] Generated Node #0,1,1: 22:[95, 24] Operation: 28-4=24 Exploring Operation: 95-4=91, Resulting Numbers: [28, 91] Generated Node #0,1,2: 22:[28, 91] Operation: 95-4=91 Exploring Operation: 95-28=67, Resulting Numbers: [4, 67] Generated Node #0,1,3: 22:[4, 67] Operation: 95-28=67 Moving to Node #0,1,3 Current State: 22:[4, 67], Operations: ['37-9=28', '95-28=67'] Exploring Operation: 4+67=71, Resulting Numbers: [71] 71,22 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 4*67=268, Resulting Numbers: [268] 268,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[28, 91], Operations: ['37-9=28', '95-4=91'] Exploring Operation: 28+91=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 28*91=2548, Resulting Numbers: [2548] 2548,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[95, 24], Operations: ['37-9=28', '28-4=24'] Exploring Operation: 95+24=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,22 unequal: No Solution Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[95, 7], Operations: ['37-9=28', '28/4=7'] Exploring Operation: 95*7=665, Resulting Numbers: [665] 665,22 unequal: No Solution Exploring Operation: 95+7=102, Resulting Numbers: [102] 102,22 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[9, 37, 91], Operations: ['95-4=91'] Exploring Operation: 9+37=46, Resulting Numbers: [91, 46] Generated Node #0,3,0: 22:[91, 46] Operation: 9+37=46 Exploring Operation: 91-9=82, Resulting Numbers: [37, 82] Generated Node #0,3,1: 22:[37, 82] Operation: 91-9=82 Exploring Operation: 37-9=28, Resulting Numbers: [91, 28] Generated Node #0,3,2: 22:[91, 28] Operation: 37-9=28 Exploring Operation: 91-37=54, Resulting Numbers: [9, 54] Generated Node #0,3,3: 22:[9, 54] Operation: 91-37=54 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 22:[9, 54], Operations: ['95-4=91', '91-37=54'] Exploring Operation: 9*54=486, Resulting Numbers: [486] 486,22 unequal: No Solution Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 22:[37, 82], Operations: ['95-4=91', '91-9=82'] Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,22 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 22:[91, 28], Operations: ['95-4=91', '37-9=28'] Exploring Operation: 91-28=63, Resulting Numbers: [63] 63,22 unequal: No Solution Exploring Operation: 91+28=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 91*28=2548, Resulting Numbers: [2548] 2548,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[91, 46], Operations: ['95-4=91', '9+37=46'] Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,22 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,22 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 44, 67, 22, 10 ]
59
[ "44/22=2", "67-10=57", "2+57=59" ]
Current State: 59:[44, 67, 22, 10], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [67, 10, 2] Generated Node #2: [67, 10, 2] from Operation: 44/22=2 Current State: 59:[67, 10, 2], Operations: ['44/22=2'] Exploring Operation: 67-10=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 67-10=57 Current State: 59:[2, 57], Operations: ['44/22=2', '67-10=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[44, 67, 22, 10], Operations: [] Exploring Operation: 67-10=57, Resulting Numbers: [44, 22, 57] Generated Node #0,0: 59:[44, 22, 57] Operation: 67-10=57 Exploring Operation: 22+10=32, Resulting Numbers: [44, 67, 32] Generated Node #0,1: 59:[44, 67, 32] Operation: 22+10=32 Exploring Operation: 44+10=54, Resulting Numbers: [67, 22, 54] Generated Node #0,2: 59:[67, 22, 54] Operation: 44+10=54 Moving to Node #0,1 Current State: 59:[44, 67, 32], Operations: ['22+10=32'] Exploring Operation: 44+32=76, Resulting Numbers: [67, 76] Generated Node #0,1,0: 59:[67, 76] Operation: 44+32=76 Exploring Operation: 44-32=12, Resulting Numbers: [67, 12] Generated Node #0,1,1: 59:[67, 12] Operation: 44-32=12 Exploring Operation: 67-32=35, Resulting Numbers: [44, 35] Generated Node #0,1,2: 59:[44, 35] Operation: 67-32=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[67, 76], Operations: ['22+10=32', '44+32=76'] Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,59 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,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:[44, 35], Operations: ['22+10=32', '67-32=35'] Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,59 unequal: No Solution Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,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,1 Current State: 59:[67, 12], Operations: ['22+10=32', '44-32=12'] Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,59 unequal: No Solution Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,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:[67, 22, 54], Operations: ['44+10=54'] Exploring Operation: 22+54=76, Resulting Numbers: [67, 76] Generated Node #0,2,0: 59:[67, 76] Operation: 22+54=76 Exploring Operation: 67+22=89, Resulting Numbers: [54, 89] Generated Node #0,2,1: 59:[54, 89] Operation: 67+22=89 Exploring Operation: 67-22=45, Resulting Numbers: [54, 45] Generated Node #0,2,2: 59:[54, 45] Operation: 67-22=45 Moving to Node #0,0 Current State: 59:[44, 22, 57], Operations: ['67-10=57'] Exploring Operation: 44-22=22, Resulting Numbers: [57, 22] Generated Node #0,0,0: 59:[57, 22] Operation: 44-22=22 Exploring Operation: 22+57=79, Resulting Numbers: [44, 79] Generated Node #0,0,1: 59:[44, 79] Operation: 22+57=79 Exploring Operation: 44+22=66, Resulting Numbers: [57, 66] Generated Node #0,0,2: 59:[57, 66] Operation: 44+22=66 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[57, 66], Operations: ['67-10=57', '44+22=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,59 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,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:[44, 79], Operations: ['67-10=57', '22+57=79'] Exploring Operation: 44+79=123, Resulting Numbers: [123] 123,59 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 44*79=3476, Resulting Numbers: [3476] 3476,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:[57, 22], Operations: ['67-10=57', '44-22=22'] Exploring Operation: 57*22=1254, Resulting Numbers: [1254] 1254,59 unequal: No Solution Exploring Operation: 57+22=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 59:[54, 45], Operations: ['44+10=54', '67-22=45'] Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,59 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[67, 76], Operations: ['44+10=54', '22+54=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,59 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[54, 89], Operations: ['44+10=54', '67+22=89'] Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,59 unequal: No Solution Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 97, 25, 93, 95 ]
34
[ "97-95=2", "93-25=68", "68/2=34" ]
Current State: 34:[97, 25, 93, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [25, 93, 2] Generated Node #2: [25, 93, 2] from Operation: 97-95=2 Current State: 34:[25, 93, 2], Operations: ['97-95=2'] Exploring Operation: 93-25=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 93-25=68 Current State: 34:[2, 68], Operations: ['97-95=2', '93-25=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[97, 25, 93, 95], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [25, 95, 4] Generated Node #0,0: 34:[25, 95, 4] Operation: 97-93=4 Exploring Operation: 97-95=2, Resulting Numbers: [25, 93, 2] Generated Node #0,1: 34:[25, 93, 2] Operation: 97-95=2 Moving to Node #0,1 Current State: 34:[25, 93, 2], Operations: ['97-95=2'] Exploring Operation: 25-2=23, Resulting Numbers: [93, 23] Generated Node #0,1,0: 34:[93, 23] Operation: 25-2=23 Exploring Operation: 93-25=68, Resulting Numbers: [2, 68] Generated Node #0,1,1: 34:[2, 68] Operation: 93-25=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[2, 68], Operations: ['97-95=2', '93-25=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[97, 25, 93, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [25, 93, 2] Generated Node #0,1: 34:[25, 93, 2] Operation: 97-95=2 Moving to Node #0,1 Current State: 34:[25, 93, 2], Operations: ['97-95=2'] Exploring Operation: 93-25=68, Resulting Numbers: [2, 68] Generated Node #0,1,1: 34:[2, 68] Operation: 93-25=68 Moving to Node #0,1,1 Current State: 34:[2, 68], Operations: ['97-95=2', '93-25=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 44, 64, 23, 55 ]
52
[ "64-44=20", "55-23=32", "20+32=52" ]
Current State: 52:[44, 64, 23, 55], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [23, 55, 20] Generated Node #2: [23, 55, 20] from Operation: 64-44=20 Current State: 52:[23, 55, 20], Operations: ['64-44=20'] Exploring Operation: 55-23=32, Resulting Numbers: [20, 32] Generated Node #3: [20, 32] from Operation: 55-23=32 Current State: 52:[20, 32], Operations: ['64-44=20', '55-23=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[44, 64, 23, 55], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [23, 55, 20] Generated Node #0,0: 52:[23, 55, 20] Operation: 64-44=20 Exploring Operation: 64-55=9, Resulting Numbers: [44, 23, 9] Generated Node #0,1: 52:[44, 23, 9] Operation: 64-55=9 Exploring Operation: 55-44=11, Resulting Numbers: [64, 23, 11] Generated Node #0,2: 52:[64, 23, 11] Operation: 55-44=11 Exploring Operation: 44-23=21, Resulting Numbers: [64, 55, 21] Generated Node #0,3: 52:[64, 55, 21] Operation: 44-23=21 Moving to Node #0,0 Current State: 52:[23, 55, 20], Operations: ['64-44=20'] Exploring Operation: 23+20=43, Resulting Numbers: [55, 43] Generated Node #0,0,0: 52:[55, 43] Operation: 23+20=43 Exploring Operation: 23-20=3, Resulting Numbers: [55, 3] Generated Node #0,0,1: 52:[55, 3] Operation: 23-20=3 Exploring Operation: 55-23=32, Resulting Numbers: [20, 32] Generated Node #0,0,2: 52:[20, 32] Operation: 55-23=32 Exploring Operation: 55-20=35, Resulting Numbers: [23, 35] Generated Node #0,0,3: 52:[23, 35] Operation: 55-20=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[55, 3], Operations: ['64-44=20', '23-20=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,52 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[44, 64, 23, 55], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [23, 55, 20] Generated Node #0,0: 52:[23, 55, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 52:[23, 55, 20], Operations: ['64-44=20'] Exploring Operation: 23-20=3, Resulting Numbers: [55, 3] Generated Node #0,0,1: 52:[55, 3] Operation: 23-20=3 Moving to Node #0,0,1 Current State: 52:[55, 3], Operations: ['64-44=20', '23-20=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 72, 34, 14, 70 ]
94
[ "72-34=38", "70-14=56", "38+56=94" ]
Current State: 94:[72, 34, 14, 70], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [14, 70, 38] Generated Node #2: [14, 70, 38] from Operation: 72-34=38 Current State: 94:[14, 70, 38], Operations: ['72-34=38'] Exploring Operation: 70-14=56, Resulting Numbers: [38, 56] Generated Node #3: [38, 56] from Operation: 70-14=56 Current State: 94:[38, 56], Operations: ['72-34=38', '70-14=56'] Exploring Operation: 38+56=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[72, 34, 14, 70], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [72, 34, 5] Generated Node #0,0: 94:[72, 34, 5] Operation: 70/14=5 Exploring Operation: 72-70=2, Resulting Numbers: [34, 14, 2] Generated Node #0,1: 94:[34, 14, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[34, 14, 2], Operations: ['72-70=2'] Exploring Operation: 34+14=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 94:[2, 48] Operation: 34+14=48 Exploring Operation: 34-14=20, Resulting Numbers: [2, 20] Generated Node #0,1,1: 94:[2, 20] Operation: 34-14=20 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[2, 48], Operations: ['72-70=2', '34+14=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,94 unequal: No Solution No 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: 94:[2, 20], Operations: ['72-70=2', '34-14=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[72, 34, 5], Operations: ['70/14=5'] Exploring Operation: 72+34=106, Resulting Numbers: [5, 106] Generated Node #0,0,0: 94:[5, 106] Operation: 72+34=106 Exploring Operation: 72-34=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 94:[5, 38] Operation: 72-34=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[5, 38], Operations: ['70/14=5', '72-34=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,94 unequal: No Solution No 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: 94:[5, 106], Operations: ['70/14=5', '72+34=106'] Exploring Operation: 106-5=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 5+106=111, Resulting Numbers: [111] 111,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_2
mult_heuristic
[ 18, 35, 6, 43 ]
31
[ "35+43=78", "78/6=13", "18+13=31" ]
Current State: 31:[18, 35, 6, 43], Operations: [] Exploring Operation: 35+43=78, Resulting Numbers: [18, 6, 78] Generated Node #2: [18, 6, 78] from Operation: 35+43=78 Current State: 31:[18, 6, 78], Operations: ['35+43=78'] Exploring Operation: 78/6=13, Resulting Numbers: [18, 13] Generated Node #3: [18, 13] from Operation: 78/6=13 Current State: 31:[18, 13], Operations: ['35+43=78', '78/6=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[18, 35, 6, 43], Operations: [] Exploring Operation: 18+6=24, Resulting Numbers: [35, 43, 24] Generated Node #0,0: 31:[35, 43, 24] Operation: 18+6=24 Exploring Operation: 43-6=37, Resulting Numbers: [18, 35, 37] Generated Node #0,1: 31:[18, 35, 37] Operation: 43-6=37 Exploring Operation: 35-6=29, Resulting Numbers: [18, 43, 29] Generated Node #0,2: 31:[18, 43, 29] Operation: 35-6=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[35, 43, 24], Operations: ['18+6=24'] Exploring Operation: 43-35=8, Resulting Numbers: [24, 8] Generated Node #0,0,0: 31:[24, 8] Operation: 43-35=8 Exploring Operation: 43-24=19, Resulting Numbers: [35, 19] Generated Node #0,0,1: 31:[35, 19] Operation: 43-24=19 Exploring Operation: 35-24=11, Resulting Numbers: [43, 11] Generated Node #0,0,2: 31:[43, 11] Operation: 35-24=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[35, 19], Operations: ['18+6=24', '43-24=19'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,31 unequal: No Solution No 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: 31:[24, 8], Operations: ['18+6=24', '43-35=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,31 unequal: No Solution No 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: 31:[43, 11], Operations: ['18+6=24', '35-24=11'] Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,31 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: 31:[18, 35, 37], Operations: ['43-6=37'] Exploring Operation: 35-18=17, Resulting Numbers: [37, 17] Generated Node #0,1,0: 31:[37, 17] Operation: 35-18=17 Exploring Operation: 18+35=53, Resulting Numbers: [37, 53] Generated Node #0,1,1: 31:[37, 53] Operation: 18+35=53 Exploring Operation: 37-18=19, Resulting Numbers: [35, 19] Generated Node #0,1,2: 31:[35, 19] Operation: 37-18=19 Moving to Node #0,1,2 Current State: 31:[35, 19], Operations: ['43-6=37', '37-18=19'] Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,31 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[37, 17], Operations: ['43-6=37', '35-18=17'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,31 unequal: No Solution Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,31 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[37, 53], Operations: ['43-6=37', '18+35=53'] Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,31 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[18, 43, 29], Operations: ['35-6=29'] Exploring Operation: 43-29=14, Resulting Numbers: [18, 14] Generated Node #0,2,0: 31:[18, 14] Operation: 43-29=14 Exploring Operation: 43-18=25, Resulting Numbers: [29, 25] Generated Node #0,2,1: 31:[29, 25] Operation: 43-18=25 Exploring Operation: 18+29=47, Resulting Numbers: [43, 47] Generated Node #0,2,2: 31:[43, 47] Operation: 18+29=47 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[29, 25], Operations: ['35-6=29', '43-18=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,31 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,31 unequal: No Solution No 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: 31:[43, 47], Operations: ['35-6=29', '18+29=47'] Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 43*47=2021, Resulting Numbers: [2021] 2021,31 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,31 unequal: No Solution No 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: 31:[18, 14], Operations: ['35-6=29', '43-29=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,31 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
[ 21, 72, 4, 24 ]
72
[ "21+4=25", "25-24=1", "72*1=72" ]
Current State: 72:[21, 72, 4, 24], Operations: [] Exploring Operation: 21+4=25, Resulting Numbers: [72, 24, 25] Generated Node #2: [72, 24, 25] from Operation: 21+4=25 Current State: 72:[72, 24, 25], Operations: ['21+4=25'] Exploring Operation: 25-24=1, Resulting Numbers: [72, 1] Generated Node #3: [72, 1] from Operation: 25-24=1 Current State: 72:[72, 1], Operations: ['21+4=25', '25-24=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[21, 72, 4, 24], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [72, 4, 3] Generated Node #0,0: 72:[72, 4, 3] Operation: 24-21=3 Exploring Operation: 21+4=25, Resulting Numbers: [72, 24, 25] Generated Node #0,1: 72:[72, 24, 25] Operation: 21+4=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[72, 4, 3], Operations: ['24-21=3'] Exploring Operation: 72/4=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 72:[3, 18] Operation: 72/4=18 Exploring Operation: 72/3=24, Resulting Numbers: [4, 24] Generated Node #0,0,1: 72:[4, 24] Operation: 72/3=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[3, 18], Operations: ['24-21=3', '72/4=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,72 unequal: No Solution No 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: 72:[4, 24], Operations: ['24-21=3', '72/3=24'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,72 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: 72:[72, 24, 25], Operations: ['21+4=25'] Exploring Operation: 25-24=1, Resulting Numbers: [72, 1] Generated Node #0,1,0: 72:[72, 1] Operation: 25-24=1 Exploring Operation: 72/24=3, Resulting Numbers: [25, 3] Generated Node #0,1,1: 72:[25, 3] Operation: 72/24=3 Moving to Node #0,1,0 Current State: 72:[72, 1], Operations: ['21+4=25', '25-24=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[21, 72, 4, 24], Operations: [] Exploring Operation: 21+4=25, Resulting Numbers: [72, 24, 25] Generated Node #0,1: 72:[72, 24, 25] Operation: 21+4=25 Moving to Node #0,1 Current State: 72:[72, 24, 25], Operations: ['21+4=25'] Exploring Operation: 25-24=1, Resulting Numbers: [72, 1] Generated Node #0,1,0: 72:[72, 1] Operation: 25-24=1 Moving to Node #0,1,0 Current State: 72:[72, 1], Operations: ['21+4=25', '25-24=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 57, 6, 95, 26 ]
21
[ "57+95=152", "152-26=126", "126/6=21" ]
Current State: 21:[57, 6, 95, 26], Operations: [] Exploring Operation: 57+95=152, Resulting Numbers: [6, 26, 152] Generated Node #2: [6, 26, 152] from Operation: 57+95=152 Current State: 21:[6, 26, 152], Operations: ['57+95=152'] Exploring Operation: 152-26=126, Resulting Numbers: [6, 126] Generated Node #3: [6, 126] from Operation: 152-26=126 Current State: 21:[6, 126], Operations: ['57+95=152', '152-26=126'] Exploring Operation: 126/6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[57, 6, 95, 26], Operations: [] Exploring Operation: 57-6=51, Resulting Numbers: [95, 26, 51] Generated Node #0,0: 21:[95, 26, 51] Operation: 57-6=51 Exploring Operation: 57-26=31, Resulting Numbers: [6, 95, 31] Generated Node #0,1: 21:[6, 95, 31] Operation: 57-26=31 Exploring Operation: 95-26=69, Resulting Numbers: [57, 6, 69] Generated Node #0,2: 21:[57, 6, 69] Operation: 95-26=69 Exploring Operation: 95-57=38, Resulting Numbers: [6, 26, 38] Generated Node #0,3: 21:[6, 26, 38] Operation: 95-57=38 Moving to Node #0,3 Current State: 21:[6, 26, 38], Operations: ['95-57=38'] Exploring Operation: 26-6=20, Resulting Numbers: [38, 20] Generated Node #0,3,0: 21:[38, 20] Operation: 26-6=20 Exploring Operation: 38-26=12, Resulting Numbers: [6, 12] Generated Node #0,3,1: 21:[6, 12] Operation: 38-26=12 Exploring Operation: 6+26=32, Resulting Numbers: [38, 32] Generated Node #0,3,2: 21:[38, 32] Operation: 6+26=32 Exploring Operation: 38-6=32, Resulting Numbers: [26, 32] Generated Node #0,3,3: 21:[26, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[6, 12], Operations: ['95-57=38', '38-26=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,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,3 Current State: 21:[26, 32], Operations: ['95-57=38', '38-6=32'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,21 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,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,0 Current State: 21:[38, 20], Operations: ['95-57=38', '26-6=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,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:[38, 32], Operations: ['95-57=38', '6+26=32'] Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,21 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,21 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: 21:[57, 6, 69], Operations: ['95-26=69'] Exploring Operation: 57+6=63, Resulting Numbers: [69, 63] Generated Node #0,2,0: 21:[69, 63] Operation: 57+6=63 Exploring Operation: 57-6=51, Resulting Numbers: [69, 51] Generated Node #0,2,1: 21:[69, 51] Operation: 57-6=51 Exploring Operation: 69-6=63, Resulting Numbers: [57, 63] Generated Node #0,2,2: 21:[57, 63] Operation: 69-6=63 Exploring Operation: 69-57=12, Resulting Numbers: [6, 12] Generated Node #0,2,3: 21:[6, 12] Operation: 69-57=12 Moving to Node #0,1 Current State: 21:[6, 95, 31], Operations: ['57-26=31'] Exploring Operation: 95-31=64, Resulting Numbers: [6, 64] Generated Node #0,1,0: 21:[6, 64] Operation: 95-31=64 Exploring Operation: 31-6=25, Resulting Numbers: [95, 25] Generated Node #0,1,1: 21:[95, 25] Operation: 31-6=25 Exploring Operation: 95-6=89, Resulting Numbers: [31, 89] Generated Node #0,1,2: 21:[31, 89] Operation: 95-6=89 Exploring Operation: 6+95=101, Resulting Numbers: [31, 101] Generated Node #0,1,3: 21:[31, 101] Operation: 6+95=101 Moving to Node #0,0 Current State: 21:[95, 26, 51], Operations: ['57-6=51'] Exploring Operation: 95-26=69, Resulting Numbers: [51, 69] Generated Node #0,0,0: 21:[51, 69] Operation: 95-26=69 Exploring Operation: 95+26=121, Resulting Numbers: [51, 121] Generated Node #0,0,1: 21:[51, 121] Operation: 95+26=121 Exploring Operation: 95-51=44, Resulting Numbers: [26, 44] Generated Node #0,0,2: 21:[26, 44] Operation: 95-51=44 Exploring Operation: 51-26=25, Resulting Numbers: [95, 25] Generated Node #0,0,3: 21:[95, 25] Operation: 51-26=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[26, 44], Operations: ['57-6=51', '95-51=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 26*44=1144, Resulting Numbers: [1144] 1144,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,0,0 Current State: 21:[51, 69], Operations: ['57-6=51', '95-26=69'] Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,21 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,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,0,3 Current State: 21:[95, 25], Operations: ['57-6=51', '51-26=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,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,0,1 Current State: 21:[51, 121], Operations: ['57-6=51', '95+26=121'] Exploring Operation: 121-51=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 51+121=172, Resulting Numbers: [172] 172,21 unequal: No Solution Exploring Operation: 51*121=6171, Resulting Numbers: [6171] 6171,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 21:[6, 12], Operations: ['95-26=69', '69-57=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[6, 64], Operations: ['57-26=31', '95-31=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[57, 63], Operations: ['95-26=69', '69-6=63'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[95, 25], Operations: ['57-26=31', '31-6=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,21 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[31, 89], Operations: ['57-26=31', '95-6=89'] Exploring Operation: 31+89=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,21 unequal: No Solution Exploring Operation: 31*89=2759, Resulting Numbers: [2759] 2759,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[69, 51], Operations: ['95-26=69', '57-6=51'] Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[69, 63], Operations: ['95-26=69', '57+6=63'] Exploring Operation: 69+63=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 69*63=4347, Resulting Numbers: [4347] 4347,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[31, 101], Operations: ['57-26=31', '6+95=101'] Exploring Operation: 31+101=132, Resulting Numbers: [132] 132,21 unequal: No Solution Exploring Operation: 101-31=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 31*101=3131, Resulting Numbers: [3131] 3131,21 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 39, 29, 88 ]
17
[ "37+39=76", "88-29=59", "76-59=17" ]
Current State: 17:[37, 39, 29, 88], Operations: [] Exploring Operation: 37+39=76, Resulting Numbers: [29, 88, 76] Generated Node #2: [29, 88, 76] from Operation: 37+39=76 Current State: 17:[29, 88, 76], Operations: ['37+39=76'] Exploring Operation: 88-29=59, Resulting Numbers: [76, 59] Generated Node #3: [76, 59] from Operation: 88-29=59 Current State: 17:[76, 59], Operations: ['37+39=76', '88-29=59'] Exploring Operation: 76-59=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[37, 39, 29, 88], Operations: [] Exploring Operation: 88-29=59, Resulting Numbers: [37, 39, 59] Generated Node #0,0: 17:[37, 39, 59] Operation: 88-29=59 Exploring Operation: 39-37=2, Resulting Numbers: [29, 88, 2] Generated Node #0,1: 17:[29, 88, 2] Operation: 39-37=2 Exploring Operation: 88-37=51, Resulting Numbers: [39, 29, 51] Generated Node #0,2: 17:[39, 29, 51] Operation: 88-37=51 Exploring Operation: 88-39=49, Resulting Numbers: [37, 29, 49] Generated Node #0,3: 17:[37, 29, 49] Operation: 88-39=49 Moving to Node #0,3 Current State: 17:[37, 29, 49], Operations: ['88-39=49'] Exploring Operation: 49-37=12, Resulting Numbers: [29, 12] Generated Node #0,3,0: 17:[29, 12] Operation: 49-37=12 Exploring Operation: 37-29=8, Resulting Numbers: [49, 8] Generated Node #0,3,1: 17:[49, 8] Operation: 37-29=8 Exploring Operation: 49-29=20, Resulting Numbers: [37, 20] Generated Node #0,3,2: 17:[37, 20] Operation: 49-29=20 Exploring Operation: 37+29=66, Resulting Numbers: [49, 66] Generated Node #0,3,3: 17:[49, 66] Operation: 37+29=66 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[29, 12], Operations: ['88-39=49', '49-37=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,17 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[37, 39, 29, 88], Operations: [] Exploring Operation: 88-39=49, Resulting Numbers: [37, 29, 49] Generated Node #0,3: 17:[37, 29, 49] Operation: 88-39=49 Moving to Node #0,3 Current State: 17:[37, 29, 49], Operations: ['88-39=49'] Exploring Operation: 49-37=12, Resulting Numbers: [29, 12] Generated Node #0,3,0: 17:[29, 12] Operation: 49-37=12 Moving to Node #0,3,0 Current State: 17:[29, 12], Operations: ['88-39=49', '49-37=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 6, 80, 96, 6 ]
17
[ "6/6=1", "96-80=16", "1+16=17" ]
Current State: 17:[6, 80, 96, 6], Operations: [] Exploring Operation: 6/6=1, Resulting Numbers: [80, 96, 1] Generated Node #2: [80, 96, 1] from Operation: 6/6=1 Current State: 17:[80, 96, 1], Operations: ['6/6=1'] Exploring Operation: 96-80=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 96-80=16 Current State: 17:[1, 16], Operations: ['6/6=1', '96-80=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[6, 80, 96, 6], Operations: [] Exploring Operation: 96-6=90, Resulting Numbers: [80, 6, 90] Generated Node #0,0: 17:[80, 6, 90] Operation: 96-6=90 Exploring Operation: 96-80=16, Resulting Numbers: [6, 6, 16] Generated Node #0,1: 17:[6, 6, 16] Operation: 96-80=16 Exploring Operation: 80-6=74, Resulting Numbers: [96, 6, 74] Generated Node #0,2: 17:[96, 6, 74] Operation: 80-6=74 Exploring Operation: 96/6=16, Resulting Numbers: [6, 80, 16] Generated Node #0,3: 17:[6, 80, 16] Operation: 96/6=16 Exploring Operation: 96/6=16, Resulting Numbers: [80, 6, 16] Generated Node #0,4: 17:[80, 6, 16] Operation: 96/6=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[6, 6, 16], Operations: ['96-80=16'] Exploring Operation: 6-6=0, Resulting Numbers: [16, 0] Generated Node #0,1,0: 17:[16, 0] Operation: 6-6=0 Exploring Operation: 6/6=1, Resulting Numbers: [16, 1] Generated Node #0,1,1: 17:[16, 1] Operation: 6/6=1 Exploring Operation: 6+6=12, Resulting Numbers: [16, 12] Generated Node #0,1,2: 17:[16, 12] Operation: 6+6=12 Exploring Operation: 6+16=22, Resulting Numbers: [6, 22] Generated Node #0,1,3: 17:[6, 22] Operation: 6+16=22 Exploring Operation: 6+16=22, Resulting Numbers: [6, 22] Generated Node #0,1,4: 17:[6, 22] Operation: 6+16=22 Moving to Node #0,1,2 Current State: 17:[16, 12], Operations: ['96-80=16', '6+6=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[6, 22], Operations: ['96-80=16', '6+16=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,17 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,1,3 Current State: 17:[6, 22], Operations: ['96-80=16', '6+16=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,17 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[16, 1], Operations: ['96-80=16', '6/6=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[6, 80, 96, 6], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [6, 6, 16] Generated Node #0,1: 17:[6, 6, 16] Operation: 96-80=16 Moving to Node #0,1 Current State: 17:[6, 6, 16], Operations: ['96-80=16'] Exploring Operation: 6/6=1, Resulting Numbers: [16, 1] Generated Node #0,1,1: 17:[16, 1] Operation: 6/6=1 Moving to Node #0,1,1 Current State: 17:[16, 1], Operations: ['96-80=16', '6/6=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 22, 15, 81, 45 ]
18
[ "22-15=7", "81+45=126", "126/7=18" ]
Current State: 18:[22, 15, 81, 45], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [81, 45, 7] Generated Node #2: [81, 45, 7] from Operation: 22-15=7 Current State: 18:[81, 45, 7], Operations: ['22-15=7'] Exploring Operation: 81+45=126, Resulting Numbers: [7, 126] Generated Node #3: [7, 126] from Operation: 81+45=126 Current State: 18:[7, 126], Operations: ['22-15=7', '81+45=126'] Exploring Operation: 126/7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[22, 15, 81, 45], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [22, 81, 3] Generated Node #0,0: 18:[22, 81, 3] Operation: 45/15=3 Exploring Operation: 81-45=36, Resulting Numbers: [22, 15, 36] Generated Node #0,1: 18:[22, 15, 36] Operation: 81-45=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[22, 15, 36], Operations: ['81-45=36'] Exploring Operation: 36-22=14, Resulting Numbers: [15, 14] Generated Node #0,1,0: 18:[15, 14] Operation: 36-22=14 Exploring Operation: 36-15=21, Resulting Numbers: [22, 21] Generated Node #0,1,1: 18:[22, 21] Operation: 36-15=21 Moving to Node #0,1,0 Current State: 18:[15, 14], Operations: ['81-45=36', '36-22=14'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 15+14=29, Resulting Numbers: [29] 29,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[22, 21], Operations: ['81-45=36', '36-15=21'] Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[22, 81, 3], Operations: ['45/15=3'] Exploring Operation: 81/3=27, Resulting Numbers: [22, 27] Generated Node #0,0,0: 18:[22, 27] Operation: 81/3=27 Exploring Operation: 81-22=59, Resulting Numbers: [3, 59] Generated Node #0,0,1: 18:[3, 59] Operation: 81-22=59 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[22, 27], Operations: ['45/15=3', '81/3=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,18 unequal: No Solution No 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: 18:[3, 59], Operations: ['45/15=3', '81-22=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,18 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,18 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
[ 50, 78, 27, 20 ]
19
[ "78-50=28", "27+20=47", "47-28=19" ]
Current State: 19:[50, 78, 27, 20], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [27, 20, 28] Generated Node #2: [27, 20, 28] from Operation: 78-50=28 Current State: 19:[27, 20, 28], Operations: ['78-50=28'] Exploring Operation: 27+20=47, Resulting Numbers: [28, 47] Generated Node #3: [28, 47] from Operation: 27+20=47 Current State: 19:[28, 47], Operations: ['78-50=28', '27+20=47'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[50, 78, 27, 20], Operations: [] Exploring Operation: 78-27=51, Resulting Numbers: [50, 20, 51] Generated Node #0,0: 19:[50, 20, 51] Operation: 78-27=51 Exploring Operation: 78-50=28, Resulting Numbers: [27, 20, 28] Generated Node #0,1: 19:[27, 20, 28] Operation: 78-50=28 Exploring Operation: 78-20=58, Resulting Numbers: [50, 27, 58] Generated Node #0,2: 19:[50, 27, 58] Operation: 78-20=58 Exploring Operation: 50-27=23, Resulting Numbers: [78, 20, 23] Generated Node #0,3: 19:[78, 20, 23] Operation: 50-27=23 Exploring Operation: 50-20=30, Resulting Numbers: [78, 27, 30] Generated Node #0,4: 19:[78, 27, 30] Operation: 50-20=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[27, 20, 28], Operations: ['78-50=28'] Exploring Operation: 28-20=8, Resulting Numbers: [27, 8] Generated Node #0,1,0: 19:[27, 8] Operation: 28-20=8 Exploring Operation: 27-20=7, Resulting Numbers: [28, 7] Generated Node #0,1,1: 19:[28, 7] Operation: 27-20=7 Exploring Operation: 27+20=47, Resulting Numbers: [28, 47] Generated Node #0,1,2: 19:[28, 47] Operation: 27+20=47 Exploring Operation: 27+28=55, Resulting Numbers: [20, 55] Generated Node #0,1,3: 19:[20, 55] Operation: 27+28=55 Exploring Operation: 28-27=1, Resulting Numbers: [20, 1] Generated Node #0,1,4: 19:[20, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[27, 8], Operations: ['78-50=28', '28-20=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[50, 78, 27, 20], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [27, 20, 28] Generated Node #0,1: 19:[27, 20, 28] Operation: 78-50=28 Moving to Node #0,1 Current State: 19:[27, 20, 28], Operations: ['78-50=28'] Exploring Operation: 28-20=8, Resulting Numbers: [27, 8] Generated Node #0,1,0: 19:[27, 8] Operation: 28-20=8 Moving to Node #0,1,0 Current State: 19:[27, 8], Operations: ['78-50=28', '28-20=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 7, 29, 88, 71 ]
94
[ "71-29=42", "42/7=6", "88+6=94" ]
Current State: 94:[7, 29, 88, 71], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [7, 88, 42] Generated Node #2: [7, 88, 42] from Operation: 71-29=42 Current State: 94:[7, 88, 42], Operations: ['71-29=42'] Exploring Operation: 42/7=6, Resulting Numbers: [88, 6] Generated Node #3: [88, 6] from Operation: 42/7=6 Current State: 94:[88, 6], Operations: ['71-29=42', '42/7=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[7, 29, 88, 71], Operations: [] Exploring Operation: 7+71=78, Resulting Numbers: [29, 88, 78] Generated Node #0,0: 94:[29, 88, 78] Operation: 7+71=78 Exploring Operation: 88-71=17, Resulting Numbers: [7, 29, 17] Generated Node #0,1: 94:[7, 29, 17] Operation: 88-71=17 Exploring Operation: 7+29=36, Resulting Numbers: [88, 71, 36] Generated Node #0,2: 94:[88, 71, 36] Operation: 7+29=36 Exploring Operation: 29+71=100, Resulting Numbers: [7, 88, 100] Generated Node #0,3: 94:[7, 88, 100] Operation: 29+71=100 Exploring Operation: 71-29=42, Resulting Numbers: [7, 88, 42] Generated Node #0,4: 94:[7, 88, 42] Operation: 71-29=42 Moving to Node #0,4 Current State: 94:[7, 88, 42], Operations: ['71-29=42'] Exploring Operation: 88-42=46, Resulting Numbers: [7, 46] Generated Node #0,4,0: 94:[7, 46] Operation: 88-42=46 Exploring Operation: 7+42=49, Resulting Numbers: [88, 49] Generated Node #0,4,1: 94:[88, 49] Operation: 7+42=49 Exploring Operation: 7+88=95, Resulting Numbers: [42, 95] Generated Node #0,4,2: 94:[42, 95] Operation: 7+88=95 Exploring Operation: 88-7=81, Resulting Numbers: [42, 81] Generated Node #0,4,3: 94:[42, 81] Operation: 88-7=81 Exploring Operation: 42/7=6, Resulting Numbers: [88, 6] Generated Node #0,4,4: 94:[88, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[7, 46], Operations: ['71-29=42', '88-42=46'] Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,94 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,94 unequal: No Solution No 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: 94:[42, 95], Operations: ['71-29=42', '7+88=95'] Exploring Operation: 42*95=3990, Resulting Numbers: [3990] 3990,94 unequal: No Solution Exploring Operation: 95-42=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 42+95=137, Resulting Numbers: [137] 137,94 unequal: No Solution No 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: 94:[88, 49], Operations: ['71-29=42', '7+42=49'] Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,94 unequal: No Solution No 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: 94:[88, 6], Operations: ['71-29=42', '42/7=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[7, 29, 88, 71], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [7, 88, 42] Generated Node #0,4: 94:[7, 88, 42] Operation: 71-29=42 Moving to Node #0,4 Current State: 94:[7, 88, 42], Operations: ['71-29=42'] Exploring Operation: 42/7=6, Resulting Numbers: [88, 6] Generated Node #0,4,4: 94:[88, 6] Operation: 42/7=6 Moving to Node #0,4,4 Current State: 94:[88, 6], Operations: ['71-29=42', '42/7=6'] Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
sum_heuristic
[ 79, 9, 16, 76 ]
19
[ "79+16=95", "76+95=171", "171/9=19" ]
Current State: 19:[79, 9, 16, 76], Operations: [] Exploring Operation: 79+16=95, Resulting Numbers: [9, 76, 95] Generated Node #2: [9, 76, 95] from Operation: 79+16=95 Current State: 19:[9, 76, 95], Operations: ['79+16=95'] Exploring Operation: 76+95=171, Resulting Numbers: [9, 171] Generated Node #3: [9, 171] from Operation: 76+95=171 Current State: 19:[9, 171], Operations: ['79+16=95', '76+95=171'] Exploring Operation: 171/9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[79, 9, 16, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [9, 16, 3] Generated Node #0,0: 19:[9, 16, 3] Operation: 79-76=3 Exploring Operation: 79-16=63, Resulting Numbers: [9, 76, 63] Generated Node #0,1: 19:[9, 76, 63] Operation: 79-16=63 Exploring Operation: 79-9=70, Resulting Numbers: [16, 76, 70] Generated Node #0,2: 19:[16, 76, 70] Operation: 79-9=70 Moving to Node #0,0 Current State: 19:[9, 16, 3], Operations: ['79-76=3'] Exploring Operation: 9+3=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 19:[16, 12] Operation: 9+3=12 Exploring Operation: 16+3=19, Resulting Numbers: [9, 19] Generated Node #0,0,1: 19:[9, 19] Operation: 16+3=19 Exploring Operation: 9*3=27, Resulting Numbers: [16, 27] Generated Node #0,0,2: 19:[16, 27] Operation: 9*3=27 Moving to Node #0,1 Current State: 19:[9, 76, 63], Operations: ['79-16=63'] Exploring Operation: 76-9=67, Resulting Numbers: [63, 67] Generated Node #0,1,0: 19:[63, 67] Operation: 76-9=67 Exploring Operation: 63/9=7, Resulting Numbers: [76, 7] Generated Node #0,1,1: 19:[76, 7] Operation: 63/9=7 Exploring Operation: 76-63=13, Resulting Numbers: [9, 13] Generated Node #0,1,2: 19:[9, 13] Operation: 76-63=13 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[9, 13], Operations: ['79-16=63', '76-63=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,19 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,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:[76, 7], Operations: ['79-16=63', '63/9=7'] Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,19 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,19 unequal: No Solution Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,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,0 Current State: 19:[63, 67], Operations: ['79-16=63', '76-9=67'] Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,19 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,19 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,19 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: 19:[16, 76, 70], Operations: ['79-9=70'] Exploring Operation: 70-16=54, Resulting Numbers: [76, 54] Generated Node #0,2,0: 19:[76, 54] Operation: 70-16=54 Exploring Operation: 76-16=60, Resulting Numbers: [70, 60] Generated Node #0,2,1: 19:[70, 60] Operation: 76-16=60 Exploring Operation: 76-70=6, Resulting Numbers: [16, 6] Generated Node #0,2,2: 19:[16, 6] Operation: 76-70=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 19:[16, 6], Operations: ['79-9=70', '76-70=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,19 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 19:[76, 54], Operations: ['79-9=70', '70-16=54'] Exploring Operation: 76+54=130, Resulting Numbers: [130] 130,19 unequal: No Solution Exploring Operation: 76-54=22, Resulting Numbers: [22] 22,19 unequal: No Solution Exploring Operation: 76*54=4104, Resulting Numbers: [4104] 4104,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[70, 60], Operations: ['79-9=70', '76-16=60'] Exploring Operation: 70*60=4200, Resulting Numbers: [4200] 4200,19 unequal: No Solution Exploring Operation: 70+60=130, Resulting Numbers: [130] 130,19 unequal: No Solution Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,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:[16, 12], Operations: ['79-76=3', '9+3=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[9, 19], Operations: ['79-76=3', '16+3=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,19 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[16, 27], Operations: ['79-76=3', '9*3=27'] Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,19 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,19 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 17, 35, 51 ]
81
[ "35-8=27", "51/17=3", "27*3=81" ]
Current State: 81:[8, 17, 35, 51], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [17, 51, 27] Generated Node #2: [17, 51, 27] from Operation: 35-8=27 Current State: 81:[17, 51, 27], Operations: ['35-8=27'] Exploring Operation: 51/17=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 51/17=3 Current State: 81:[27, 3], Operations: ['35-8=27', '51/17=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[8, 17, 35, 51], Operations: [] Exploring Operation: 17+51=68, Resulting Numbers: [8, 35, 68] Generated Node #0,0: 81:[8, 35, 68] Operation: 17+51=68 Exploring Operation: 51-35=16, Resulting Numbers: [8, 17, 16] Generated Node #0,1: 81:[8, 17, 16] Operation: 51-35=16 Exploring Operation: 51/17=3, Resulting Numbers: [8, 35, 3] Generated Node #0,2: 81:[8, 35, 3] Operation: 51/17=3 Exploring Operation: 35+51=86, Resulting Numbers: [8, 17, 86] Generated Node #0,3: 81:[8, 17, 86] Operation: 35+51=86 Exploring Operation: 51-17=34, Resulting Numbers: [8, 35, 34] Generated Node #0,4: 81:[8, 35, 34] Operation: 51-17=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[8, 35, 3], Operations: ['51/17=3'] Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,2,0: 81:[3, 27] Operation: 35-8=27 Exploring Operation: 8-3=5, Resulting Numbers: [35, 5] Generated Node #0,2,1: 81:[35, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [35, 11] Generated Node #0,2,2: 81:[35, 11] Operation: 8+3=11 Exploring Operation: 35-3=32, Resulting Numbers: [8, 32] Generated Node #0,2,3: 81:[8, 32] Operation: 35-3=32 Exploring Operation: 8*3=24, Resulting Numbers: [35, 24] Generated Node #0,2,4: 81:[35, 24] Operation: 8*3=24 Moving to Node #0,2,0 Current State: 81:[3, 27], Operations: ['51/17=3', '35-8=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[8, 17, 35, 51], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [8, 35, 3] Generated Node #0,2: 81:[8, 35, 3] Operation: 51/17=3 Moving to Node #0,2 Current State: 81:[8, 35, 3], Operations: ['51/17=3'] Exploring Operation: 35-8=27, Resulting Numbers: [3, 27] Generated Node #0,2,0: 81:[3, 27] Operation: 35-8=27 Moving to Node #0,2,0 Current State: 81:[3, 27], Operations: ['51/17=3', '35-8=27'] Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 71, 3, 25, 94 ]
44
[ "71-25=46", "3*46=138", "138-94=44" ]
Current State: 44:[71, 3, 25, 94], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [3, 94, 46] Generated Node #2: [3, 94, 46] from Operation: 71-25=46 Current State: 44:[3, 94, 46], Operations: ['71-25=46'] Exploring Operation: 3*46=138, Resulting Numbers: [94, 138] Generated Node #3: [94, 138] from Operation: 3*46=138 Current State: 44:[94, 138], Operations: ['71-25=46', '3*46=138'] Exploring Operation: 138-94=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[71, 3, 25, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [3, 25, 23] Generated Node #0,0: 44:[3, 25, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 44:[3, 25, 23], Operations: ['94-71=23'] Exploring Operation: 25-3=22, Resulting Numbers: [23, 22] Generated Node #0,0,0: 44:[23, 22] Operation: 25-3=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[23, 22], Operations: ['94-71=23', '25-3=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 7, 98, 67 ]
68
[ "67-7=60", "60/2=30", "98-30=68" ]
Current State: 68:[2, 7, 98, 67], Operations: [] Exploring Operation: 67-7=60, Resulting Numbers: [2, 98, 60] Generated Node #2: [2, 98, 60] from Operation: 67-7=60 Current State: 68:[2, 98, 60], Operations: ['67-7=60'] Exploring Operation: 60/2=30, Resulting Numbers: [98, 30] Generated Node #3: [98, 30] from Operation: 60/2=30 Current State: 68:[98, 30], Operations: ['67-7=60', '60/2=30'] Exploring Operation: 98-30=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 7, 98, 67], Operations: [] Exploring Operation: 98-7=91, Resulting Numbers: [2, 67, 91] Generated Node #0,0: 68:[2, 67, 91] Operation: 98-7=91 Exploring Operation: 98/7=14, Resulting Numbers: [2, 67, 14] Generated Node #0,1: 68:[2, 67, 14] Operation: 98/7=14 Exploring Operation: 98-67=31, Resulting Numbers: [2, 7, 31] Generated Node #0,2: 68:[2, 7, 31] Operation: 98-67=31 Exploring Operation: 98/2=49, Resulting Numbers: [7, 67, 49] Generated Node #0,3: 68:[7, 67, 49] Operation: 98/2=49 Moving to Node #0,1 Current State: 68:[2, 67, 14], Operations: ['98/7=14'] Exploring Operation: 2+14=16, Resulting Numbers: [67, 16] Generated Node #0,1,0: 68:[67, 16] Operation: 2+14=16 Exploring Operation: 2+67=69, Resulting Numbers: [14, 69] Generated Node #0,1,1: 68:[14, 69] Operation: 2+67=69 Exploring Operation: 67-2=65, Resulting Numbers: [14, 65] Generated Node #0,1,2: 68:[14, 65] Operation: 67-2=65 Exploring Operation: 14/2=7, Resulting Numbers: [67, 7] Generated Node #0,1,3: 68:[67, 7] Operation: 14/2=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[67, 16], Operations: ['98/7=14', '2+14=16'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 67*16=1072, Resulting Numbers: [1072] 1072,68 unequal: No Solution Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[14, 69], Operations: ['98/7=14', '2+67=69'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 14+69=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 14*69=966, Resulting Numbers: [966] 966,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[67, 7], Operations: ['98/7=14', '14/2=7'] Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[14, 65], Operations: ['98/7=14', '67-2=65'] Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,68 unequal: No Solution Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,68 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,68 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: 68:[2, 7, 31], Operations: ['98-67=31'] Exploring Operation: 7-2=5, Resulting Numbers: [31, 5] Generated Node #0,2,0: 68:[31, 5] Operation: 7-2=5 Exploring Operation: 2+31=33, Resulting Numbers: [7, 33] Generated Node #0,2,1: 68:[7, 33] Operation: 2+31=33 Exploring Operation: 2*7=14, Resulting Numbers: [31, 14] Generated Node #0,2,2: 68:[31, 14] Operation: 2*7=14 Exploring Operation: 7+31=38, Resulting Numbers: [2, 38] Generated Node #0,2,3: 68:[2, 38] Operation: 7+31=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[31, 5], Operations: ['98-67=31', '7-2=5'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[7, 33], Operations: ['98-67=31', '2+31=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,68 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,68 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[2, 38], Operations: ['98-67=31', '7+31=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,68 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,68 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[31, 14], Operations: ['98-67=31', '2*7=14'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,68 unequal: No Solution Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,68 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: 68:[7, 67, 49], Operations: ['98/2=49'] Exploring Operation: 67-49=18, Resulting Numbers: [7, 18] Generated Node #0,3,0: 68:[7, 18] Operation: 67-49=18 Exploring Operation: 49/7=7, Resulting Numbers: [67, 7] Generated Node #0,3,1: 68:[67, 7] Operation: 49/7=7 Exploring Operation: 7+49=56, Resulting Numbers: [67, 56] Generated Node #0,3,2: 68:[67, 56] Operation: 7+49=56 Exploring Operation: 49-7=42, Resulting Numbers: [67, 42] Generated Node #0,3,3: 68:[67, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[7, 18], Operations: ['98/2=49', '67-49=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[67, 7], Operations: ['98/2=49', '49/7=7'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,68 unequal: No Solution Exploring Operation: 67+7=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 67*7=469, Resulting Numbers: [469] 469,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[67, 42], Operations: ['98/2=49', '49-7=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,68 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[67, 56], Operations: ['98/2=49', '7+49=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,68 unequal: No Solution Exploring Operation: 67+56=123, Resulting Numbers: [123] 123,68 unequal: No Solution Exploring Operation: 67*56=3752, Resulting Numbers: [3752] 3752,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[2, 67, 91], Operations: ['98-7=91'] Exploring Operation: 91-67=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 68:[2, 24] Operation: 91-67=24 Exploring Operation: 2+67=69, Resulting Numbers: [91, 69] Generated Node #0,0,1: 68:[91, 69] Operation: 2+67=69 Exploring Operation: 67-2=65, Resulting Numbers: [91, 65] Generated Node #0,0,2: 68:[91, 65] Operation: 67-2=65 Exploring Operation: 91-2=89, Resulting Numbers: [67, 89] Generated Node #0,0,3: 68:[67, 89] Operation: 91-2=89 Moving to Node #0,0,0 Current State: 68:[2, 24], Operations: ['98-7=91', '91-67=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[67, 89], Operations: ['98-7=91', '91-2=89'] Exploring Operation: 67*89=5963, Resulting Numbers: [5963] 5963,68 unequal: No Solution Exploring Operation: 67+89=156, Resulting Numbers: [156] 156,68 unequal: No Solution Exploring Operation: 89-67=22, Resulting Numbers: [22] 22,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[91, 69], Operations: ['98-7=91', '2+67=69'] Exploring Operation: 91*69=6279, Resulting Numbers: [6279] 6279,68 unequal: No Solution Exploring Operation: 91-69=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 91+69=160, Resulting Numbers: [160] 160,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[91, 65], Operations: ['98-7=91', '67-2=65'] Exploring Operation: 91*65=5915, Resulting Numbers: [5915] 5915,68 unequal: No Solution Exploring Operation: 91-65=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 91+65=156, Resulting Numbers: [156] 156,68 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 66, 98, 15, 1 ]
73
[ "15-1=14", "98/14=7", "66+7=73" ]
Current State: 73:[66, 98, 15, 1], Operations: [] Exploring Operation: 15-1=14, Resulting Numbers: [66, 98, 14] Generated Node #2: [66, 98, 14] from Operation: 15-1=14 Current State: 73:[66, 98, 14], Operations: ['15-1=14'] Exploring Operation: 98/14=7, Resulting Numbers: [66, 7] Generated Node #3: [66, 7] from Operation: 98/14=7 Current State: 73:[66, 7], Operations: ['15-1=14', '98/14=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 98, 15, 1], Operations: [] Exploring Operation: 98-1=97, Resulting Numbers: [66, 15, 97] Generated Node #0,0: 73:[66, 15, 97] Operation: 98-1=97 Exploring Operation: 98-15=83, Resulting Numbers: [66, 1, 83] Generated Node #0,1: 73:[66, 1, 83] Operation: 98-15=83 Exploring Operation: 66+1=67, Resulting Numbers: [98, 15, 67] Generated Node #0,2: 73:[98, 15, 67] Operation: 66+1=67 Moving to Node #0,0 Current State: 73:[66, 15, 97], Operations: ['98-1=97'] Exploring Operation: 66+15=81, Resulting Numbers: [97, 81] Generated Node #0,0,0: 73:[97, 81] Operation: 66+15=81 Exploring Operation: 66-15=51, Resulting Numbers: [97, 51] Generated Node #0,0,1: 73:[97, 51] Operation: 66-15=51 Exploring Operation: 97-15=82, Resulting Numbers: [66, 82] Generated Node #0,0,2: 73:[66, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[66, 82], Operations: ['98-1=97', '97-15=82'] Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,73 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,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:[97, 81], Operations: ['98-1=97', '66+15=81'] Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,73 unequal: No Solution Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,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:[97, 51], Operations: ['98-1=97', '66-15=51'] Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 97*51=4947, Resulting Numbers: [4947] 4947,73 unequal: No Solution Exploring Operation: 97+51=148, Resulting Numbers: [148] 148,73 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: 73:[66, 1, 83], Operations: ['98-15=83'] Exploring Operation: 66*1=66, Resulting Numbers: [83, 66] Generated Node #0,1,0: 73:[83, 66] Operation: 66*1=66 Exploring Operation: 83-1=82, Resulting Numbers: [66, 82] Generated Node #0,1,1: 73:[66, 82] Operation: 83-1=82 Exploring Operation: 66+1=67, Resulting Numbers: [83, 67] Generated Node #0,1,2: 73:[83, 67] Operation: 66+1=67 Moving to Node #0,2 Current State: 73:[98, 15, 67], Operations: ['66+1=67'] Exploring Operation: 98-15=83, Resulting Numbers: [67, 83] Generated Node #0,2,0: 73:[67, 83] Operation: 98-15=83 Exploring Operation: 15+67=82, Resulting Numbers: [98, 82] Generated Node #0,2,1: 73:[98, 82] Operation: 15+67=82 Exploring Operation: 98+15=113, Resulting Numbers: [67, 113] Generated Node #0,2,2: 73:[67, 113] Operation: 98+15=113 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[67, 83], Operations: ['66+1=67', '98-15=83'] Exploring Operation: 67*83=5561, Resulting Numbers: [5561] 5561,73 unequal: No Solution Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 67+83=150, Resulting Numbers: [150] 150,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:[98, 82], Operations: ['66+1=67', '15+67=82'] Exploring Operation: 98-82=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 98+82=180, Resulting Numbers: [180] 180,73 unequal: No Solution Exploring Operation: 98*82=8036, Resulting Numbers: [8036] 8036,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:[67, 113], Operations: ['66+1=67', '98+15=113'] Exploring Operation: 67*113=7571, Resulting Numbers: [7571] 7571,73 unequal: No Solution Exploring Operation: 113-67=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 67+113=180, Resulting Numbers: [180] 180,73 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: 73:[66, 82], Operations: ['98-15=83', '83-1=82'] Exploring Operation: 66+82=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 66*82=5412, Resulting Numbers: [5412] 5412,73 unequal: No Solution Exploring Operation: 82-66=16, Resulting Numbers: [16] 16,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[83, 67], Operations: ['98-15=83', '66+1=67'] Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 83*67=5561, Resulting Numbers: [5561] 5561,73 unequal: No Solution Exploring Operation: 83+67=150, Resulting Numbers: [150] 150,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[83, 66], Operations: ['98-15=83', '66*1=66'] Exploring Operation: 83-66=17, Resulting Numbers: [17] 17,73 unequal: No Solution Exploring Operation: 83+66=149, Resulting Numbers: [149] 149,73 unequal: No Solution Exploring Operation: 83*66=5478, Resulting Numbers: [5478] 5478,73 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 9, 6, 93 ]
57
[ "24*9=216", "216/6=36", "93-36=57" ]
Current State: 57:[24, 9, 6, 93], Operations: [] Exploring Operation: 24*9=216, Resulting Numbers: [6, 93, 216] Generated Node #2: [6, 93, 216] from Operation: 24*9=216 Current State: 57:[6, 93, 216], Operations: ['24*9=216'] Exploring Operation: 216/6=36, Resulting Numbers: [93, 36] Generated Node #3: [93, 36] from Operation: 216/6=36 Current State: 57:[93, 36], Operations: ['24*9=216', '216/6=36'] Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[24, 9, 6, 93], Operations: [] Exploring Operation: 24-9=15, Resulting Numbers: [6, 93, 15] Generated Node #0,0: 57:[6, 93, 15] Operation: 24-9=15 Exploring Operation: 93-24=69, Resulting Numbers: [9, 6, 69] Generated Node #0,1: 57:[9, 6, 69] Operation: 93-24=69 Exploring Operation: 9-6=3, Resulting Numbers: [24, 93, 3] Generated Node #0,2: 57:[24, 93, 3] Operation: 9-6=3 Exploring Operation: 93-6=87, Resulting Numbers: [24, 9, 87] Generated Node #0,3: 57:[24, 9, 87] Operation: 93-6=87 Exploring Operation: 93-9=84, Resulting Numbers: [24, 6, 84] Generated Node #0,4: 57:[24, 6, 84] Operation: 93-9=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[9, 6, 69], Operations: ['93-24=69'] Exploring Operation: 9+6=15, Resulting Numbers: [69, 15] Generated Node #0,1,0: 57:[69, 15] Operation: 9+6=15 Exploring Operation: 9*6=54, Resulting Numbers: [69, 54] Generated Node #0,1,1: 57:[69, 54] Operation: 9*6=54 Exploring Operation: 69-6=63, Resulting Numbers: [9, 63] Generated Node #0,1,2: 57:[9, 63] Operation: 69-6=63 Exploring Operation: 9-6=3, Resulting Numbers: [69, 3] Generated Node #0,1,3: 57:[69, 3] Operation: 9-6=3 Exploring Operation: 69-9=60, Resulting Numbers: [6, 60] Generated Node #0,1,4: 57:[6, 60] Operation: 69-9=60 Moving to Node #0,1,4 Current State: 57:[6, 60], Operations: ['93-24=69', '69-9=60'] Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,57 unequal: No Solution Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,57 unequal: No Solution Moving to Node #0,1,3 Current State: 57:[69, 3], Operations: ['93-24=69', '9-6=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,57 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,57 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[9, 63], Operations: ['93-24=69', '69-6=63'] Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,57 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[69, 54], Operations: ['93-24=69', '9*6=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,57 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,57 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[69, 15], Operations: ['93-24=69', '9+6=15'] Exploring Operation: 69+15=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 69-15=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 69*15=1035, Resulting Numbers: [1035] 1035,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,4 Current State: 57:[24, 6, 84], Operations: ['93-9=84'] Exploring Operation: 84-24=60, Resulting Numbers: [6, 60] Generated Node #0,4,0: 57:[6, 60] Operation: 84-24=60 Exploring Operation: 84-6=78, Resulting Numbers: [24, 78] Generated Node #0,4,1: 57:[24, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [24, 14] Generated Node #0,4,2: 57:[24, 14] Operation: 84/6=14 Exploring Operation: 24/6=4, Resulting Numbers: [84, 4] Generated Node #0,4,3: 57:[84, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [84, 18] Generated Node #0,4,4: 57:[84, 18] Operation: 24-6=18 Moving to Node #0,4,0 Current State: 57:[6, 60], Operations: ['93-9=84', '84-24=60'] Exploring Operation: 6+60=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 60/6=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 6*60=360, Resulting Numbers: [360] 360,57 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,57 unequal: No Solution Moving to Node #0,4,2 Current State: 57:[24, 14], Operations: ['93-9=84', '84/6=14'] Exploring Operation: 24+14=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 24*14=336, Resulting Numbers: [336] 336,57 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,57 unequal: No Solution Moving to Node #0,4,1 Current State: 57:[24, 78], Operations: ['93-9=84', '84-6=78'] Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,57 unequal: No Solution Moving to Node #0,4,3 Current State: 57:[84, 4], Operations: ['93-9=84', '24/6=4'] Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,57 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,57 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,57 unequal: No Solution Moving to Node #0,4,4 Current State: 57:[84, 18], Operations: ['93-9=84', '24-6=18'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 84*18=1512, Resulting Numbers: [1512] 1512,57 unequal: No Solution Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[24, 93, 3], Operations: ['9-6=3'] Exploring Operation: 93/3=31, Resulting Numbers: [24, 31] Generated Node #0,2,0: 57:[24, 31] Operation: 93/3=31 Exploring Operation: 93-3=90, Resulting Numbers: [24, 90] Generated Node #0,2,1: 57:[24, 90] Operation: 93-3=90 Exploring Operation: 24/3=8, Resulting Numbers: [93, 8] Generated Node #0,2,2: 57:[93, 8] Operation: 24/3=8 Exploring Operation: 93-24=69, Resulting Numbers: [3, 69] Generated Node #0,2,3: 57:[3, 69] Operation: 93-24=69 Exploring Operation: 24-3=21, Resulting Numbers: [93, 21] Generated Node #0,2,4: 57:[93, 21] Operation: 24-3=21 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 57:[3, 69], Operations: ['9-6=3', '93-24=69'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,57 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,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,2,0 Current State: 57:[24, 31], Operations: ['9-6=3', '93/3=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,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,2,1 Current State: 57:[24, 90], Operations: ['9-6=3', '93-3=90'] Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 24*90=2160, Resulting Numbers: [2160] 2160,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,2,4 Current State: 57:[93, 21], Operations: ['9-6=3', '24-3=21'] Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,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,2,2 Current State: 57:[93, 8], Operations: ['9-6=3', '24/3=8'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,57 unequal: No Solution Exploring Operation: 93+8=101, Resulting Numbers: [101] 101,57 unequal: No Solution Exploring Operation: 93*8=744, Resulting Numbers: [744] 744,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[24, 9, 87], Operations: ['93-6=87'] Exploring Operation: 9+87=96, Resulting Numbers: [24, 96] Generated Node #0,3,0: 57:[24, 96] Operation: 9+87=96 Exploring Operation: 87-9=78, Resulting Numbers: [24, 78] Generated Node #0,3,1: 57:[24, 78] Operation: 87-9=78 Exploring Operation: 24-9=15, Resulting Numbers: [87, 15] Generated Node #0,3,2: 57:[87, 15] Operation: 24-9=15 Exploring Operation: 87-24=63, Resulting Numbers: [9, 63] Generated Node #0,3,3: 57:[9, 63] Operation: 87-24=63 Exploring Operation: 24+9=33, Resulting Numbers: [87, 33] Generated Node #0,3,4: 57:[87, 33] Operation: 24+9=33 Moving to Node #0,3,3 Current State: 57:[9, 63], Operations: ['93-6=87', '87-24=63'] Exploring Operation: 9*63=567, Resulting Numbers: [567] 567,57 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,57 unequal: No Solution Moving to Node #0,3,1 Current State: 57:[24, 78], Operations: ['93-6=87', '87-9=78'] Exploring Operation: 24+78=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 78-24=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 24*78=1872, Resulting Numbers: [1872] 1872,57 unequal: No Solution Moving to Node #0,3,2 Current State: 57:[87, 15], Operations: ['93-6=87', '24-9=15'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,57 unequal: No Solution Moving to Node #0,3,0 Current State: 57:[24, 96], Operations: ['93-6=87', '9+87=96'] Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 24+96=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 24*96=2304, Resulting Numbers: [2304] 2304,57 unequal: No Solution Moving to Node #0,3,4 Current State: 57:[87, 33], Operations: ['93-6=87', '24+9=33'] Exploring Operation: 87+33=120, Resulting Numbers: [120] 120,57 unequal: No Solution Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 87*33=2871, Resulting Numbers: [2871] 2871,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[6, 93, 15], Operations: ['24-9=15'] Exploring Operation: 93-6=87, Resulting Numbers: [15, 87] Generated Node #0,0,0: 57:[15, 87] Operation: 93-6=87 Exploring Operation: 93-15=78, Resulting Numbers: [6, 78] Generated Node #0,0,1: 57:[6, 78] Operation: 93-15=78 Exploring Operation: 6+15=21, Resulting Numbers: [93, 21] Generated Node #0,0,2: 57:[93, 21] Operation: 6+15=21 Exploring Operation: 15-6=9, Resulting Numbers: [93, 9] Generated Node #0,0,3: 57:[93, 9] Operation: 15-6=9 Exploring Operation: 6+93=99, Resulting Numbers: [15, 99] Generated Node #0,0,4: 57:[15, 99] Operation: 6+93=99 Moving to Node #0,0,1 Current State: 57:[6, 78], Operations: ['24-9=15', '93-15=78'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,57 unequal: No Solution Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 6*78=468, Resulting Numbers: [468] 468,57 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[15, 87], Operations: ['24-9=15', '93-6=87'] Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,57 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[93, 21], Operations: ['24-9=15', '6+15=21'] Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,57 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[93, 9], Operations: ['24-9=15', '15-6=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,57 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,57 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,57 unequal: No Solution Moving to Node #0,0,4 Current State: 57:[15, 99], Operations: ['24-9=15', '6+93=99'] Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,57 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,57 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
[ 13, 12, 27, 33 ]
36
[ "12+27=39", "39/13=3", "33+3=36" ]
Current State: 36:[13, 12, 27, 33], Operations: [] Exploring Operation: 12+27=39, Resulting Numbers: [13, 33, 39] Generated Node #2: [13, 33, 39] from Operation: 12+27=39 Current State: 36:[13, 33, 39], Operations: ['12+27=39'] Exploring Operation: 39/13=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 39/13=3 Current State: 36:[33, 3], Operations: ['12+27=39', '39/13=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[13, 12, 27, 33], Operations: [] Exploring Operation: 27-13=14, Resulting Numbers: [12, 33, 14] Generated Node #0,0: 36:[12, 33, 14] Operation: 27-13=14 Exploring Operation: 33-27=6, Resulting Numbers: [13, 12, 6] Generated Node #0,1: 36:[13, 12, 6] Operation: 33-27=6 Exploring Operation: 13+27=40, Resulting Numbers: [12, 33, 40] Generated Node #0,2: 36:[12, 33, 40] Operation: 13+27=40 Moving to Node #0,1 Current State: 36:[13, 12, 6], Operations: ['33-27=6'] Exploring Operation: 13-12=1, Resulting Numbers: [6, 1] Generated Node #0,1,0: 36:[6, 1] Operation: 13-12=1 Exploring Operation: 13+6=19, Resulting Numbers: [12, 19] Generated Node #0,1,1: 36:[12, 19] Operation: 13+6=19 Exploring Operation: 13-6=7, Resulting Numbers: [12, 7] Generated Node #0,1,2: 36:[12, 7] Operation: 13-6=7 Moving to Node #0,0 Current State: 36:[12, 33, 14], Operations: ['27-13=14'] Exploring Operation: 33-12=21, Resulting Numbers: [14, 21] Generated Node #0,0,0: 36:[14, 21] Operation: 33-12=21 Exploring Operation: 33-14=19, Resulting Numbers: [12, 19] Generated Node #0,0,1: 36:[12, 19] Operation: 33-14=19 Exploring Operation: 14-12=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 36:[33, 2] Operation: 14-12=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[12, 19], Operations: ['27-13=14', '33-14=19'] Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,36 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,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,0,2 Current State: 36:[33, 2], Operations: ['27-13=14', '14-12=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,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,0,0 Current State: 36:[14, 21], Operations: ['27-13=14', '33-12=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,36 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: 36:[12, 33, 40], Operations: ['13+27=40'] Exploring Operation: 40-33=7, Resulting Numbers: [12, 7] Generated Node #0,2,0: 36:[12, 7] Operation: 40-33=7 Exploring Operation: 40-12=28, Resulting Numbers: [33, 28] Generated Node #0,2,1: 36:[33, 28] Operation: 40-12=28 Exploring Operation: 33-12=21, Resulting Numbers: [40, 21] Generated Node #0,2,2: 36:[40, 21] Operation: 33-12=21 Moving to Node #0,1,0 Current State: 36:[6, 1], Operations: ['33-27=6', '13-12=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,36 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[12, 7], Operations: ['33-27=6', '13-6=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,36 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[12, 19], Operations: ['33-27=6', '13+6=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[12, 7], Operations: ['13+27=40', '40-33=7'] Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,36 unequal: No Solution Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[40, 21], Operations: ['13+27=40', '33-12=21'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[33, 28], Operations: ['13+27=40', '40-12=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,36 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,36 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,36 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 21, 94, 16, 79 ]
75
[ "21-16=5", "94-79=15", "5*15=75" ]
Current State: 75:[21, 94, 16, 79], Operations: [] Exploring Operation: 21-16=5, Resulting Numbers: [94, 79, 5] Generated Node #2: [94, 79, 5] from Operation: 21-16=5 Current State: 75:[94, 79, 5], Operations: ['21-16=5'] Exploring Operation: 94-79=15, Resulting Numbers: [5, 15] Generated Node #3: [5, 15] from Operation: 94-79=15 Current State: 75:[5, 15], Operations: ['21-16=5', '94-79=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[21, 94, 16, 79], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [21, 16, 15] Generated Node #0,0: 75:[21, 16, 15] Operation: 94-79=15 Exploring Operation: 21-16=5, Resulting Numbers: [94, 79, 5] Generated Node #0,1: 75:[94, 79, 5] Operation: 21-16=5 Exploring Operation: 21+16=37, Resulting Numbers: [94, 79, 37] Generated Node #0,2: 75:[94, 79, 37] Operation: 21+16=37 Exploring Operation: 94-21=73, Resulting Numbers: [16, 79, 73] Generated Node #0,3: 75:[16, 79, 73] Operation: 94-21=73 Exploring Operation: 94-16=78, Resulting Numbers: [21, 79, 78] Generated Node #0,4: 75:[21, 79, 78] Operation: 94-16=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[21, 16, 15], Operations: ['94-79=15'] Exploring Operation: 16+15=31, Resulting Numbers: [21, 31] Generated Node #0,0,0: 75:[21, 31] Operation: 16+15=31 Exploring Operation: 16-15=1, Resulting Numbers: [21, 1] Generated Node #0,0,1: 75:[21, 1] Operation: 16-15=1 Exploring Operation: 21+16=37, Resulting Numbers: [15, 37] Generated Node #0,0,2: 75:[15, 37] Operation: 21+16=37 Exploring Operation: 21-15=6, Resulting Numbers: [16, 6] Generated Node #0,0,3: 75:[16, 6] Operation: 21-15=6 Exploring Operation: 21-16=5, Resulting Numbers: [15, 5] Generated Node #0,0,4: 75:[15, 5] Operation: 21-16=5 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 75:[15, 5], Operations: ['94-79=15', '21-16=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[21, 94, 16, 79], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [21, 16, 15] Generated Node #0,0: 75:[21, 16, 15] Operation: 94-79=15 Moving to Node #0,0 Current State: 75:[21, 16, 15], Operations: ['94-79=15'] Exploring Operation: 21-16=5, Resulting Numbers: [15, 5] Generated Node #0,0,4: 75:[15, 5] Operation: 21-16=5 Moving to Node #0,0,4 Current State: 75:[15, 5], Operations: ['94-79=15', '21-16=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 84, 28, 7, 86 ]
23
[ "84-28=56", "86-7=79", "79-56=23" ]
Current State: 23:[84, 28, 7, 86], Operations: [] Exploring Operation: 84-28=56, Resulting Numbers: [7, 86, 56] Generated Node #2: [7, 86, 56] from Operation: 84-28=56 Current State: 23:[7, 86, 56], Operations: ['84-28=56'] Exploring Operation: 86-7=79, Resulting Numbers: [56, 79] Generated Node #3: [56, 79] from Operation: 86-7=79 Current State: 23:[56, 79], Operations: ['84-28=56', '86-7=79'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[84, 28, 7, 86], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [28, 7, 2] Generated Node #0,0: 23:[28, 7, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 23:[28, 7, 2], Operations: ['86-84=2'] Exploring Operation: 7*2=14, Resulting Numbers: [28, 14] Generated Node #0,0,0: 23:[28, 14] Operation: 7*2=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[28, 14], Operations: ['86-84=2', '7*2=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 73, 78, 39, 97 ]
63
[ "78-73=5", "97-39=58", "5+58=63" ]
Current State: 63:[73, 78, 39, 97], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [39, 97, 5] Generated Node #2: [39, 97, 5] from Operation: 78-73=5 Current State: 63:[39, 97, 5], Operations: ['78-73=5'] Exploring Operation: 97-39=58, Resulting Numbers: [5, 58] Generated Node #3: [5, 58] from Operation: 97-39=58 Current State: 63:[5, 58], Operations: ['78-73=5', '97-39=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[73, 78, 39, 97], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [73, 78, 58] Generated Node #0,0: 63:[73, 78, 58] Operation: 97-39=58 Exploring Operation: 97-78=19, Resulting Numbers: [73, 39, 19] Generated Node #0,1: 63:[73, 39, 19] Operation: 97-78=19 Moving to Node #0,0 Current State: 63:[73, 78, 58], Operations: ['97-39=58'] Exploring Operation: 78-73=5, Resulting Numbers: [58, 5] Generated Node #0,0,0: 63:[58, 5] Operation: 78-73=5 Exploring Operation: 78-58=20, Resulting Numbers: [73, 20] Generated Node #0,0,1: 63:[73, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[58, 5], Operations: ['97-39=58', '78-73=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[73, 78, 39, 97], Operations: [] Exploring Operation: 97-39=58, Resulting Numbers: [73, 78, 58] Generated Node #0,0: 63:[73, 78, 58] Operation: 97-39=58 Moving to Node #0,0 Current State: 63:[73, 78, 58], Operations: ['97-39=58'] Exploring Operation: 78-73=5, Resulting Numbers: [58, 5] Generated Node #0,0,0: 63:[58, 5] Operation: 78-73=5 Moving to Node #0,0,0 Current State: 63:[58, 5], Operations: ['97-39=58', '78-73=5'] Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 65, 58, 20, 46 ]
27
[ "65*20=1300", "1300-58=1242", "1242/46=27" ]
Current State: 27:[65, 58, 20, 46], Operations: [] Exploring Operation: 65*20=1300, Resulting Numbers: [58, 46, 1300] Generated Node #2: [58, 46, 1300] from Operation: 65*20=1300 Current State: 27:[58, 46, 1300], Operations: ['65*20=1300'] Exploring Operation: 1300-58=1242, Resulting Numbers: [46, 1242] Generated Node #3: [46, 1242] from Operation: 1300-58=1242 Current State: 27:[46, 1242], Operations: ['65*20=1300', '1300-58=1242'] Exploring Operation: 1242/46=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[65, 58, 20, 46], Operations: [] Exploring Operation: 65-58=7, Resulting Numbers: [20, 46, 7] Generated Node #0,0: 27:[20, 46, 7] Operation: 65-58=7 Exploring Operation: 65-46=19, Resulting Numbers: [58, 20, 19] Generated Node #0,1: 27:[58, 20, 19] Operation: 65-46=19 Exploring Operation: 58-46=12, Resulting Numbers: [65, 20, 12] Generated Node #0,2: 27:[65, 20, 12] Operation: 58-46=12 Exploring Operation: 65-20=45, Resulting Numbers: [58, 46, 45] Generated Node #0,3: 27:[58, 46, 45] Operation: 65-20=45 Moving to Node #0,0 Current State: 27:[20, 46, 7], Operations: ['65-58=7'] Exploring Operation: 46-7=39, Resulting Numbers: [20, 39] Generated Node #0,0,0: 27:[20, 39] Operation: 46-7=39 Exploring Operation: 46-20=26, Resulting Numbers: [7, 26] Generated Node #0,0,1: 27:[7, 26] Operation: 46-20=26 Exploring Operation: 20+7=27, Resulting Numbers: [46, 27] Generated Node #0,0,2: 27:[46, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [46, 13] Generated Node #0,0,3: 27:[46, 13] Operation: 20-7=13 Moving to Node #0,1 Current State: 27:[58, 20, 19], Operations: ['65-46=19'] Exploring Operation: 20-19=1, Resulting Numbers: [58, 1] Generated Node #0,1,0: 27:[58, 1] Operation: 20-19=1 Exploring Operation: 58-19=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 27:[20, 39] Operation: 58-19=39 Exploring Operation: 20+19=39, Resulting Numbers: [58, 39] Generated Node #0,1,2: 27:[58, 39] Operation: 20+19=39 Exploring Operation: 58-20=38, Resulting Numbers: [19, 38] Generated Node #0,1,3: 27:[19, 38] Operation: 58-20=38 Moving to Node #0,2 Current State: 27:[65, 20, 12], Operations: ['58-46=12'] Exploring Operation: 20+12=32, Resulting Numbers: [65, 32] Generated Node #0,2,0: 27:[65, 32] Operation: 20+12=32 Exploring Operation: 65-12=53, Resulting Numbers: [20, 53] Generated Node #0,2,1: 27:[20, 53] Operation: 65-12=53 Exploring Operation: 65-20=45, Resulting Numbers: [12, 45] Generated Node #0,2,2: 27:[12, 45] Operation: 65-20=45 Exploring Operation: 20-12=8, Resulting Numbers: [65, 8] Generated Node #0,2,3: 27:[65, 8] Operation: 20-12=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[12, 45], Operations: ['58-46=12', '65-20=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,27 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[20, 53], Operations: ['58-46=12', '65-12=53'] Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,27 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[65, 8], Operations: ['58-46=12', '20-12=8'] Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[65, 32], Operations: ['58-46=12', '20+12=32'] Exploring Operation: 65*32=2080, Resulting Numbers: [2080] 2080,27 unequal: No Solution Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 65+32=97, Resulting Numbers: [97] 97,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 27:[58, 46, 45], Operations: ['65-20=45'] Exploring Operation: 46-45=1, Resulting Numbers: [58, 1] Generated Node #0,3,0: 27:[58, 1] Operation: 46-45=1 Exploring Operation: 58+46=104, Resulting Numbers: [45, 104] Generated Node #0,3,1: 27:[45, 104] Operation: 58+46=104 Exploring Operation: 58-45=13, Resulting Numbers: [46, 13] Generated Node #0,3,2: 27:[46, 13] Operation: 58-45=13 Exploring Operation: 58-46=12, Resulting Numbers: [45, 12] Generated Node #0,3,3: 27:[45, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 27:[45, 12], Operations: ['65-20=45', '58-46=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 27:[46, 13], Operations: ['65-20=45', '58-45=13'] Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[58, 1], Operations: ['65-20=45', '46-45=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 27:[45, 104], Operations: ['65-20=45', '58+46=104'] Exploring Operation: 45*104=4680, Resulting Numbers: [4680] 4680,27 unequal: No Solution Exploring Operation: 104-45=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 45+104=149, Resulting Numbers: [149] 149,27 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: 27:[7, 26], Operations: ['65-58=7', '46-20=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,27 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[46, 27], Operations: ['65-58=7', '20+7=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[19, 38], Operations: ['65-46=19', '58-20=38'] Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 19*38=722, Resulting Numbers: [722] 722,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[20, 39], Operations: ['65-58=7', '46-7=39'] Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,27 unequal: No Solution Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[20, 39], Operations: ['65-46=19', '58-19=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[46, 13], Operations: ['65-58=7', '20-7=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,27 unequal: No Solution Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[58, 1], Operations: ['65-46=19', '20-19=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[58, 39], Operations: ['65-46=19', '20+19=39'] Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,27 unequal: No Solution Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,27 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,27 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 4, 78, 52, 80 ]
85
[ "80-52=28", "28/4=7", "78+7=85" ]
Current State: 85:[4, 78, 52, 80], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [4, 78, 28] Generated Node #2: [4, 78, 28] from Operation: 80-52=28 Current State: 85:[4, 78, 28], Operations: ['80-52=28'] Exploring Operation: 28/4=7, Resulting Numbers: [78, 7] Generated Node #3: [78, 7] from Operation: 28/4=7 Current State: 85:[78, 7], Operations: ['80-52=28', '28/4=7'] Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[4, 78, 52, 80], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [4, 52, 2] Generated Node #0,0: 85:[4, 52, 2] Operation: 80-78=2 Exploring Operation: 80-52=28, Resulting Numbers: [4, 78, 28] Generated Node #0,1: 85:[4, 78, 28] Operation: 80-52=28 Exploring Operation: 78-52=26, Resulting Numbers: [4, 80, 26] Generated Node #0,2: 85:[4, 80, 26] Operation: 78-52=26 Exploring Operation: 52/4=13, Resulting Numbers: [78, 80, 13] Generated Node #0,3: 85:[78, 80, 13] Operation: 52/4=13 Exploring Operation: 4+78=82, Resulting Numbers: [52, 80, 82] Generated Node #0,4: 85:[52, 80, 82] Operation: 4+78=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[4, 80, 26], Operations: ['78-52=26'] Exploring Operation: 4+80=84, Resulting Numbers: [26, 84] Generated Node #0,2,0: 85:[26, 84] Operation: 4+80=84 Exploring Operation: 80/4=20, Resulting Numbers: [26, 20] Generated Node #0,2,1: 85:[26, 20] Operation: 80/4=20 Exploring Operation: 4+26=30, Resulting Numbers: [80, 30] Generated Node #0,2,2: 85:[80, 30] Operation: 4+26=30 Exploring Operation: 80-4=76, Resulting Numbers: [26, 76] Generated Node #0,2,3: 85:[26, 76] Operation: 80-4=76 Exploring Operation: 26-4=22, Resulting Numbers: [80, 22] Generated Node #0,2,4: 85:[80, 22] Operation: 26-4=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[26, 84], Operations: ['78-52=26', '4+80=84'] Exploring Operation: 26*84=2184, Resulting Numbers: [2184] 2184,85 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,85 unequal: No Solution Exploring Operation: 26+84=110, Resulting Numbers: [110] 110,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 85:[80, 22], Operations: ['78-52=26', '26-4=22'] Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,85 unequal: No Solution Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,85 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[26, 20], Operations: ['78-52=26', '80/4=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,85 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,85 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[80, 30], Operations: ['78-52=26', '4+26=30'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 80*30=2400, Resulting Numbers: [2400] 2400,85 unequal: No Solution Exploring Operation: 80+30=110, Resulting Numbers: [110] 110,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[26, 76], Operations: ['78-52=26', '80-4=76'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,85 unequal: No Solution Exploring Operation: 26*76=1976, Resulting Numbers: [1976] 1976,85 unequal: No Solution Exploring Operation: 26+76=102, Resulting Numbers: [102] 102,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[78, 80, 13], Operations: ['52/4=13'] Exploring Operation: 78-13=65, Resulting Numbers: [80, 65] Generated Node #0,3,0: 85:[80, 65] Operation: 78-13=65 Exploring Operation: 78+13=91, Resulting Numbers: [80, 91] Generated Node #0,3,1: 85:[80, 91] Operation: 78+13=91 Exploring Operation: 80+13=93, Resulting Numbers: [78, 93] Generated Node #0,3,2: 85:[78, 93] Operation: 80+13=93 Exploring Operation: 80-78=2, Resulting Numbers: [13, 2] Generated Node #0,3,3: 85:[13, 2] Operation: 80-78=2 Exploring Operation: 78/13=6, Resulting Numbers: [80, 6] Generated Node #0,3,4: 85:[80, 6] Operation: 78/13=6 Moving to Node #0,3,4 Current State: 85:[80, 6], Operations: ['52/4=13', '78/13=6'] Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,85 unequal: No Solution Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,85 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[13, 2], Operations: ['52/4=13', '80-78=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,85 unequal: No Solution Moving to Node #0,3,1 Current State: 85:[80, 91], Operations: ['52/4=13', '78+13=91'] Exploring Operation: 80*91=7280, Resulting Numbers: [7280] 7280,85 unequal: No Solution Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 80+91=171, Resulting Numbers: [171] 171,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[78, 93], Operations: ['52/4=13', '80+13=93'] Exploring Operation: 78+93=171, Resulting Numbers: [171] 171,85 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 78*93=7254, Resulting Numbers: [7254] 7254,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[80, 65], Operations: ['52/4=13', '78-13=65'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,85 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[4, 78, 28], Operations: ['80-52=28'] Exploring Operation: 4+78=82, Resulting Numbers: [28, 82] Generated Node #0,1,0: 85:[28, 82] Operation: 4+78=82 Exploring Operation: 4+28=32, Resulting Numbers: [78, 32] Generated Node #0,1,1: 85:[78, 32] Operation: 4+28=32 Exploring Operation: 28/4=7, Resulting Numbers: [78, 7] Generated Node #0,1,2: 85:[78, 7] Operation: 28/4=7 Exploring Operation: 78-4=74, Resulting Numbers: [28, 74] Generated Node #0,1,3: 85:[28, 74] Operation: 78-4=74 Exploring Operation: 28-4=24, Resulting Numbers: [78, 24] Generated Node #0,1,4: 85:[78, 24] Operation: 28-4=24 Moving to Node #0,1,2 Current State: 85:[78, 7], Operations: ['80-52=28', '28/4=7'] Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,85 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,85 unequal: No Solution Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[4, 78, 52, 80], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [4, 78, 28] Generated Node #0,1: 85:[4, 78, 28] Operation: 80-52=28 Moving to Node #0,1 Current State: 85:[4, 78, 28], Operations: ['80-52=28'] Exploring Operation: 28/4=7, Resulting Numbers: [78, 7] Generated Node #0,1,2: 85:[78, 7] Operation: 28/4=7 Moving to Node #0,1,2 Current State: 85:[78, 7], Operations: ['80-52=28', '28/4=7'] Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 87, 9, 71, 89 ]
85
[ "89-71=18", "18/9=2", "87-2=85" ]
Current State: 85:[87, 9, 71, 89], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [87, 9, 18] Generated Node #2: [87, 9, 18] from Operation: 89-71=18 Current State: 85:[87, 9, 18], Operations: ['89-71=18'] Exploring Operation: 18/9=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 18/9=2 Current State: 85:[87, 2], Operations: ['89-71=18', '18/9=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[87, 9, 71, 89], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [87, 9, 18] Generated Node #0,0: 85:[87, 9, 18] Operation: 89-71=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[87, 9, 18], Operations: ['89-71=18'] Exploring Operation: 18/9=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 85:[87, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 85:[87, 2], Operations: ['89-71=18', '18/9=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[87, 9, 71, 89], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [87, 9, 18] Generated Node #0,0: 85:[87, 9, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 85:[87, 9, 18], Operations: ['89-71=18'] Exploring Operation: 18/9=2, Resulting Numbers: [87, 2] Generated Node #0,0,0: 85:[87, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 85:[87, 2], Operations: ['89-71=18', '18/9=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 74, 2, 14, 8 ]
82
[ "74+2=76", "14-8=6", "76+6=82" ]
Current State: 82:[74, 2, 14, 8], Operations: [] Exploring Operation: 74+2=76, Resulting Numbers: [14, 8, 76] Generated Node #2: [14, 8, 76] from Operation: 74+2=76 Current State: 82:[14, 8, 76], Operations: ['74+2=76'] Exploring Operation: 14-8=6, Resulting Numbers: [76, 6] Generated Node #3: [76, 6] from Operation: 14-8=6 Current State: 82:[76, 6], Operations: ['74+2=76', '14-8=6'] Exploring Operation: 76+6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[74, 2, 14, 8], Operations: [] Exploring Operation: 14/2=7, Resulting Numbers: [74, 8, 7] Generated Node #0,0: 82:[74, 8, 7] Operation: 14/2=7 Exploring Operation: 74+8=82, Resulting Numbers: [2, 14, 82] Generated Node #0,1: 82:[2, 14, 82] Operation: 74+8=82 Exploring Operation: 74/2=37, Resulting Numbers: [14, 8, 37] Generated Node #0,2: 82:[14, 8, 37] Operation: 74/2=37 Exploring Operation: 14-8=6, Resulting Numbers: [74, 2, 6] Generated Node #0,3: 82:[74, 2, 6] Operation: 14-8=6 Exploring Operation: 74+14=88, Resulting Numbers: [2, 8, 88] Generated Node #0,4: 82:[2, 8, 88] Operation: 74+14=88 Moving to Node #0,1 Current State: 82:[2, 14, 82], Operations: ['74+8=82'] Exploring Operation: 14/2=7, Resulting Numbers: [82, 7] Generated Node #0,1,0: 82:[82, 7] Operation: 14/2=7 Exploring Operation: 2*14=28, Resulting Numbers: [82, 28] Generated Node #0,1,1: 82:[82, 28] Operation: 2*14=28 Exploring Operation: 82/2=41, Resulting Numbers: [14, 41] Generated Node #0,1,2: 82:[14, 41] Operation: 82/2=41 Exploring Operation: 2+14=16, Resulting Numbers: [82, 16] Generated Node #0,1,3: 82:[82, 16] Operation: 2+14=16 Exploring Operation: 14-2=12, Resulting Numbers: [82, 12] Generated Node #0,1,4: 82:[82, 12] Operation: 14-2=12 Moving to Node #0,4 Current State: 82:[2, 8, 88], Operations: ['74+14=88'] Exploring Operation: 8/2=4, Resulting Numbers: [88, 4] Generated Node #0,4,0: 82:[88, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [88, 6] Generated Node #0,4,1: 82:[88, 6] Operation: 8-2=6 Exploring Operation: 88-8=80, Resulting Numbers: [2, 80] Generated Node #0,4,2: 82:[2, 80] Operation: 88-8=80 Exploring Operation: 88/8=11, Resulting Numbers: [2, 11] Generated Node #0,4,3: 82:[2, 11] Operation: 88/8=11 Exploring Operation: 88/2=44, Resulting Numbers: [8, 44] Generated Node #0,4,4: 82:[8, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[2, 80], Operations: ['74+14=88', '88-8=80'] Exploring Operation: 2*80=160, Resulting Numbers: [160] 160,82 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[74, 2, 14, 8], Operations: [] Exploring Operation: 74+14=88, Resulting Numbers: [2, 8, 88] Generated Node #0,4: 82:[2, 8, 88] Operation: 74+14=88 Moving to Node #0,4 Current State: 82:[2, 8, 88], Operations: ['74+14=88'] Exploring Operation: 88-8=80, Resulting Numbers: [2, 80] Generated Node #0,4,2: 82:[2, 80] Operation: 88-8=80 Moving to Node #0,4,2 Current State: 82:[2, 80], Operations: ['74+14=88', '88-8=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 1, 90, 79, 77 ]
92
[ "1*90=90", "79-77=2", "90+2=92" ]
Current State: 92:[1, 90, 79, 77], Operations: [] Exploring Operation: 1*90=90, Resulting Numbers: [79, 77, 90] Generated Node #2: [79, 77, 90] from Operation: 1*90=90 Current State: 92:[79, 77, 90], Operations: ['1*90=90'] Exploring Operation: 79-77=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 79-77=2 Current State: 92:[90, 2], Operations: ['1*90=90', '79-77=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[1, 90, 79, 77], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [1, 90, 2] Generated Node #0,0: 92:[1, 90, 2] Operation: 79-77=2 Exploring Operation: 90-79=11, Resulting Numbers: [1, 77, 11] Generated Node #0,1: 92:[1, 77, 11] Operation: 90-79=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[1, 90, 2], Operations: ['79-77=2'] Exploring Operation: 90+2=92, Resulting Numbers: [1, 92] Generated Node #0,0,0: 92:[1, 92] Operation: 90+2=92 Exploring Operation: 1+90=91, Resulting Numbers: [2, 91] Generated Node #0,0,1: 92:[2, 91] Operation: 1+90=91 Moving to Node #0,0,0 Current State: 92:[1, 92], Operations: ['79-77=2', '90+2=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[1, 90, 79, 77], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [1, 90, 2] Generated Node #0,0: 92:[1, 90, 2] Operation: 79-77=2 Moving to Node #0,0 Current State: 92:[1, 90, 2], Operations: ['79-77=2'] Exploring Operation: 90+2=92, Resulting Numbers: [1, 92] Generated Node #0,0,0: 92:[1, 92] Operation: 90+2=92 Moving to Node #0,0,0 Current State: 92:[1, 92], Operations: ['79-77=2', '90+2=92'] Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 79, 65, 92, 17 ]
56
[ "79*65=5135", "17+5135=5152", "5152/92=56" ]
Current State: 56:[79, 65, 92, 17], Operations: [] Exploring Operation: 79*65=5135, Resulting Numbers: [92, 17, 5135] Generated Node #2: [92, 17, 5135] from Operation: 79*65=5135 Current State: 56:[92, 17, 5135], Operations: ['79*65=5135'] Exploring Operation: 17+5135=5152, Resulting Numbers: [92, 5152] Generated Node #3: [92, 5152] from Operation: 17+5135=5152 Current State: 56:[92, 5152], Operations: ['79*65=5135', '17+5135=5152'] Exploring Operation: 5152/92=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[79, 65, 92, 17], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [65, 17, 13] Generated Node #0,0: 56:[65, 17, 13] Operation: 92-79=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[65, 17, 13], Operations: ['92-79=13'] Exploring Operation: 65/13=5, Resulting Numbers: [17, 5] Generated Node #0,0,0: 56:[17, 5] Operation: 65/13=5 Moving to Node #0,0,0 Current State: 56:[17, 5], Operations: ['92-79=13', '65/13=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,56 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
[ 18, 54, 41, 1 ]
76
[ "54-18=36", "41-1=40", "36+40=76" ]
Current State: 76:[18, 54, 41, 1], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [41, 1, 36] Generated Node #2: [41, 1, 36] from Operation: 54-18=36 Current State: 76:[41, 1, 36], Operations: ['54-18=36'] Exploring Operation: 41-1=40, Resulting Numbers: [36, 40] Generated Node #3: [36, 40] from Operation: 41-1=40 Current State: 76:[36, 40], Operations: ['54-18=36', '41-1=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[18, 54, 41, 1], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [41, 1, 36] Generated Node #0,0: 76:[41, 1, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [41, 1, 3] Generated Node #0,1: 76:[41, 1, 3] Operation: 54/18=3 Exploring Operation: 18+54=72, Resulting Numbers: [41, 1, 72] Generated Node #0,2: 76:[41, 1, 72] Operation: 18+54=72 Exploring Operation: 54-41=13, Resulting Numbers: [18, 1, 13] Generated Node #0,3: 76:[18, 1, 13] Operation: 54-41=13 Moving to Node #0,1 Current State: 76:[41, 1, 3], Operations: ['54/18=3'] Exploring Operation: 1+3=4, Resulting Numbers: [41, 4] Generated Node #0,1,0: 76:[41, 4] Operation: 1+3=4 Exploring Operation: 41-3=38, Resulting Numbers: [1, 38] Generated Node #0,1,1: 76:[1, 38] Operation: 41-3=38 Exploring Operation: 3-1=2, Resulting Numbers: [41, 2] Generated Node #0,1,2: 76:[41, 2] Operation: 3-1=2 Exploring Operation: 41-1=40, Resulting Numbers: [3, 40] Generated Node #0,1,3: 76:[3, 40] Operation: 41-1=40 Moving to Node #0,0 Current State: 76:[41, 1, 36], Operations: ['54-18=36'] Exploring Operation: 1+36=37, Resulting Numbers: [41, 37] Generated Node #0,0,0: 76:[41, 37] Operation: 1+36=37 Exploring Operation: 41-36=5, Resulting Numbers: [1, 5] Generated Node #0,0,1: 76:[1, 5] Operation: 41-36=5 Exploring Operation: 41-1=40, Resulting Numbers: [36, 40] Generated Node #0,0,2: 76:[36, 40] Operation: 41-1=40 Exploring Operation: 41+36=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 76:[1, 77] Operation: 41+36=77 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[1, 5], Operations: ['54-18=36', '41-36=5'] Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,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,0,3 Current State: 76:[1, 77], Operations: ['54-18=36', '41+36=77'] Exploring Operation: 1+77=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 1*77=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[18, 54, 41, 1], Operations: [] Exploring Operation: 54-18=36, Resulting Numbers: [41, 1, 36] Generated Node #0,0: 76:[41, 1, 36] Operation: 54-18=36 Moving to Node #0,0 Current State: 76:[41, 1, 36], Operations: ['54-18=36'] Exploring Operation: 41+36=77, Resulting Numbers: [1, 77] Generated Node #0,0,3: 76:[1, 77] Operation: 41+36=77 Moving to Node #0,0,3 Current State: 76:[1, 77], Operations: ['54-18=36', '41+36=77'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 7, 14, 81, 1 ]
78
[ "14/7=2", "81-1=80", "80-2=78" ]
Current State: 78:[7, 14, 81, 1], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [81, 1, 2] Generated Node #2: [81, 1, 2] from Operation: 14/7=2 Current State: 78:[81, 1, 2], Operations: ['14/7=2'] Exploring Operation: 81-1=80, Resulting Numbers: [2, 80] Generated Node #3: [2, 80] from Operation: 81-1=80 Current State: 78:[2, 80], Operations: ['14/7=2', '81-1=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[7, 14, 81, 1], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [14, 81, 6] Generated Node #0,0: 78:[14, 81, 6] Operation: 7-1=6 Exploring Operation: 14/7=2, Resulting Numbers: [81, 1, 2] Generated Node #0,1: 78:[81, 1, 2] Operation: 14/7=2 Exploring Operation: 14-1=13, Resulting Numbers: [7, 81, 13] Generated Node #0,2: 78:[7, 81, 13] Operation: 14-1=13 Moving to Node #0,0 Current State: 78:[14, 81, 6], Operations: ['7-1=6'] Exploring Operation: 14-6=8, Resulting Numbers: [81, 8] Generated Node #0,0,0: 78:[81, 8] Operation: 14-6=8 Exploring Operation: 81-6=75, Resulting Numbers: [14, 75] Generated Node #0,0,1: 78:[14, 75] Operation: 81-6=75 Exploring Operation: 14+6=20, Resulting Numbers: [81, 20] Generated Node #0,0,2: 78:[81, 20] Operation: 14+6=20 Moving to Node #0,1 Current State: 78:[81, 1, 2], Operations: ['14/7=2'] Exploring Operation: 81-1=80, Resulting Numbers: [2, 80] Generated Node #0,1,0: 78:[2, 80] Operation: 81-1=80 Exploring Operation: 81*1=81, Resulting Numbers: [2, 81] Generated Node #0,1,1: 78:[2, 81] Operation: 81*1=81 Exploring Operation: 81-2=79, Resulting Numbers: [1, 79] Generated Node #0,1,2: 78:[1, 79] Operation: 81-2=79 Moving to Node #0,2 Current State: 78:[7, 81, 13], Operations: ['14-1=13'] Exploring Operation: 7+13=20, Resulting Numbers: [81, 20] Generated Node #0,2,0: 78:[81, 20] Operation: 7+13=20 Exploring Operation: 13-7=6, Resulting Numbers: [81, 6] Generated Node #0,2,1: 78:[81, 6] Operation: 13-7=6 Exploring Operation: 81-7=74, Resulting Numbers: [13, 74] Generated Node #0,2,2: 78:[13, 74] Operation: 81-7=74 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[81, 6], Operations: ['14-1=13', '13-7=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,78 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,78 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 78:[13, 74], Operations: ['14-1=13', '81-7=74'] Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,78 unequal: No Solution Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,78 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 78:[81, 20], Operations: ['14-1=13', '7+13=20'] Exploring Operation: 81*20=1620, Resulting Numbers: [1620] 1620,78 unequal: No Solution Exploring Operation: 81+20=101, Resulting Numbers: [101] 101,78 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,78 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: 78:[2, 80], Operations: ['14/7=2', '81-1=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[7, 14, 81, 1], Operations: [] Exploring Operation: 14/7=2, Resulting Numbers: [81, 1, 2] Generated Node #0,1: 78:[81, 1, 2] Operation: 14/7=2 Moving to Node #0,1 Current State: 78:[81, 1, 2], Operations: ['14/7=2'] Exploring Operation: 81-1=80, Resulting Numbers: [2, 80] Generated Node #0,1,0: 78:[2, 80] Operation: 81-1=80 Moving to Node #0,1,0 Current State: 78:[2, 80], Operations: ['14/7=2', '81-1=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 4, 5, 26, 71 ]
77
[ "4*5=20", "26+71=97", "97-20=77" ]
Current State: 77:[4, 5, 26, 71], Operations: [] Exploring Operation: 4*5=20, Resulting Numbers: [26, 71, 20] Generated Node #2: [26, 71, 20] from Operation: 4*5=20 Current State: 77:[26, 71, 20], Operations: ['4*5=20'] Exploring Operation: 26+71=97, Resulting Numbers: [20, 97] Generated Node #3: [20, 97] from Operation: 26+71=97 Current State: 77:[20, 97], Operations: ['4*5=20', '26+71=97'] Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[4, 5, 26, 71], Operations: [] Exploring Operation: 4+71=75, Resulting Numbers: [5, 26, 75] Generated Node #0,0: 77:[5, 26, 75] Operation: 4+71=75 Exploring Operation: 26-5=21, Resulting Numbers: [4, 71, 21] Generated Node #0,1: 77:[4, 71, 21] Operation: 26-5=21 Exploring Operation: 26-4=22, Resulting Numbers: [5, 71, 22] Generated Node #0,2: 77:[5, 71, 22] Operation: 26-4=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[5, 26, 75], Operations: ['4+71=75'] Exploring Operation: 75/5=15, Resulting Numbers: [26, 15] Generated Node #0,0,0: 77:[26, 15] Operation: 75/5=15 Exploring Operation: 5+75=80, Resulting Numbers: [26, 80] Generated Node #0,0,1: 77:[26, 80] Operation: 5+75=80 Exploring Operation: 26-5=21, Resulting Numbers: [75, 21] Generated Node #0,0,2: 77:[75, 21] Operation: 26-5=21 Moving to Node #0,0,2 Current State: 77:[75, 21], Operations: ['4+71=75', '26-5=21'] Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,77 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[26, 80], Operations: ['4+71=75', '5+75=80'] Exploring Operation: 26*80=2080, Resulting Numbers: [2080] 2080,77 unequal: No Solution Exploring Operation: 26+80=106, Resulting Numbers: [106] 106,77 unequal: No Solution Exploring Operation: 80-26=54, Resulting Numbers: [54] 54,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[26, 15], Operations: ['4+71=75', '75/5=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,77 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,77 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[4, 71, 21], Operations: ['26-5=21'] Exploring Operation: 4*21=84, Resulting Numbers: [71, 84] Generated Node #0,1,0: 77:[71, 84] Operation: 4*21=84 Exploring Operation: 4+71=75, Resulting Numbers: [21, 75] Generated Node #0,1,1: 77:[21, 75] Operation: 4+71=75 Exploring Operation: 21-4=17, Resulting Numbers: [71, 17] Generated Node #0,1,2: 77:[71, 17] Operation: 21-4=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[21, 75], Operations: ['26-5=21', '4+71=75'] Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 21*75=1575, Resulting Numbers: [1575] 1575,77 unequal: No Solution Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,77 unequal: No Solution No 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: 77:[71, 17], Operations: ['26-5=21', '21-4=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,77 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,77 unequal: No Solution No 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: 77:[71, 84], Operations: ['26-5=21', '4*21=84'] Exploring Operation: 84-71=13, Resulting Numbers: [13] 13,77 unequal: No Solution Exploring Operation: 71+84=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 71*84=5964, Resulting Numbers: [5964] 5964,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[5, 71, 22], Operations: ['26-4=22'] Exploring Operation: 5+71=76, Resulting Numbers: [22, 76] Generated Node #0,2,0: 77:[22, 76] Operation: 5+71=76 Exploring Operation: 22-5=17, Resulting Numbers: [71, 17] Generated Node #0,2,1: 77:[71, 17] Operation: 22-5=17 Exploring Operation: 71+22=93, Resulting Numbers: [5, 93] Generated Node #0,2,2: 77:[5, 93] Operation: 71+22=93 Moving to Node #0,2,0 Current State: 77:[22, 76], Operations: ['26-4=22', '5+71=76'] Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 22*76=1672, Resulting Numbers: [1672] 1672,77 unequal: No Solution Exploring Operation: 22+76=98, Resulting Numbers: [98] 98,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[71, 17], Operations: ['26-4=22', '22-5=17'] Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,77 unequal: No Solution Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[5, 93], Operations: ['26-4=22', '71+22=93'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,77 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,77 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
[ 87, 38, 49, 24 ]
74
[ "87-38=49", "49-24=25", "49+25=74" ]
Current State: 74:[87, 38, 49, 24], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [49, 24, 49] Generated Node #2: [49, 24, 49] from Operation: 87-38=49 Current State: 74:[49, 24, 49], Operations: ['87-38=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,74 equal: Goal Reached Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[87, 38, 49, 24], Operations: [] Exploring Operation: 87-24=63, Resulting Numbers: [38, 49, 63] Generated Node #0,0: 74:[38, 49, 63] Operation: 87-24=63 Exploring Operation: 49+24=73, Resulting Numbers: [87, 38, 73] Generated Node #0,1: 74:[87, 38, 73] Operation: 49+24=73 Exploring Operation: 87-49=38, Resulting Numbers: [38, 24, 38] Generated Node #0,2: 74:[38, 24, 38] Operation: 87-49=38 Moving to Node #0,1 Current State: 74:[87, 38, 73], Operations: ['49+24=73'] Exploring Operation: 73-38=35, Resulting Numbers: [87, 35] Generated Node #0,1,0: 74:[87, 35] Operation: 73-38=35 Exploring Operation: 87-73=14, Resulting Numbers: [38, 14] Generated Node #0,1,1: 74:[38, 14] Operation: 87-73=14 Exploring Operation: 87-38=49, Resulting Numbers: [73, 49] Generated Node #0,1,2: 74:[73, 49] Operation: 87-38=49 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[38, 14], Operations: ['49+24=73', '87-73=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[73, 49], Operations: ['49+24=73', '87-38=49'] Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,74 unequal: No Solution Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[87, 35], Operations: ['49+24=73', '73-38=35'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 87+35=122, Resulting Numbers: [122] 122,74 unequal: No Solution Exploring Operation: 87*35=3045, Resulting Numbers: [3045] 3045,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 74:[38, 24, 38], Operations: ['87-49=38'] Exploring Operation: 38-24=14, Resulting Numbers: [38, 14] Generated Node #0,2,0: 74:[38, 14] Operation: 38-24=14 Exploring Operation: 38+24=62, Resulting Numbers: [38, 62] Generated Node #0,2,1: 74:[38, 62] Operation: 38+24=62 Exploring Operation: 24+38=62, Resulting Numbers: [38, 62] Generated Node #0,2,2: 74:[38, 62] Operation: 24+38=62 Moving to Node #0,0 Current State: 74:[38, 49, 63], Operations: ['87-24=63'] Exploring Operation: 38+49=87, Resulting Numbers: [63, 87] Generated Node #0,0,0: 74:[63, 87] Operation: 38+49=87 Exploring Operation: 49-38=11, Resulting Numbers: [63, 11] Generated Node #0,0,1: 74:[63, 11] Operation: 49-38=11 Exploring Operation: 63-49=14, Resulting Numbers: [38, 14] Generated Node #0,0,2: 74:[38, 14] Operation: 63-49=14 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[38, 14], Operations: ['87-24=63', '63-49=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[63, 11], Operations: ['87-24=63', '49-38=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,74 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[87, 38, 49, 24], Operations: [] Exploring Operation: 87-24=63, Resulting Numbers: [38, 49, 63] Generated Node #0,0: 74:[38, 49, 63] Operation: 87-24=63 Moving to Node #0,0 Current State: 74:[38, 49, 63], Operations: ['87-24=63'] Exploring Operation: 49-38=11, Resulting Numbers: [63, 11] Generated Node #0,0,1: 74:[63, 11] Operation: 49-38=11 Moving to Node #0,0,1 Current State: 74:[63, 11], Operations: ['87-24=63', '49-38=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 14, 48, 8, 31 ]
85
[ "14+48=62", "31-8=23", "62+23=85" ]
Current State: 85:[14, 48, 8, 31], Operations: [] Exploring Operation: 14+48=62, Resulting Numbers: [8, 31, 62] Generated Node #2: [8, 31, 62] from Operation: 14+48=62 Current State: 85:[8, 31, 62], Operations: ['14+48=62'] Exploring Operation: 31-8=23, Resulting Numbers: [62, 23] Generated Node #3: [62, 23] from Operation: 31-8=23 Current State: 85:[62, 23], Operations: ['14+48=62', '31-8=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[14, 48, 8, 31], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [14, 8, 17] Generated Node #0,0: 85:[14, 8, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[14, 8, 17], Operations: ['48-31=17'] Exploring Operation: 14-8=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 85:[17, 6] Operation: 14-8=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[17, 6], Operations: ['48-31=17', '14-8=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 99, 28, 40 ]
40
[ "9+99=108", "28+40=68", "108-68=40" ]
Current State: 40:[9, 99, 28, 40], Operations: [] Exploring Operation: 9+99=108, Resulting Numbers: [28, 40, 108] Generated Node #2: [28, 40, 108] from Operation: 9+99=108 Current State: 40:[28, 40, 108], Operations: ['9+99=108'] Exploring Operation: 28+40=68, Resulting Numbers: [108, 68] Generated Node #3: [108, 68] from Operation: 28+40=68 Current State: 40:[108, 68], Operations: ['9+99=108', '28+40=68'] Exploring Operation: 108-68=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[9, 99, 28, 40], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [28, 40, 11] Generated Node #0,0: 40:[28, 40, 11] Operation: 99/9=11 Exploring Operation: 99-40=59, Resulting Numbers: [9, 28, 59] Generated Node #0,1: 40:[9, 28, 59] Operation: 99-40=59 Exploring Operation: 99-28=71, Resulting Numbers: [9, 40, 71] Generated Node #0,2: 40:[9, 40, 71] Operation: 99-28=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[28, 40, 11], Operations: ['99/9=11'] Exploring Operation: 28-11=17, Resulting Numbers: [40, 17] Generated Node #0,0,0: 40:[40, 17] Operation: 28-11=17 Exploring Operation: 28+11=39, Resulting Numbers: [40, 39] Generated Node #0,0,1: 40:[40, 39] Operation: 28+11=39 Exploring Operation: 40-28=12, Resulting Numbers: [11, 12] Generated Node #0,0,2: 40:[11, 12] Operation: 40-28=12 Moving to Node #0,0,1 Current State: 40:[40, 39], Operations: ['99/9=11', '28+11=39'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,40 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[40, 17], Operations: ['99/9=11', '28-11=17'] Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,40 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[11, 12], Operations: ['99/9=11', '40-28=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,40 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,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 Current State: 40:[9, 28, 59], Operations: ['99-40=59'] Exploring Operation: 28-9=19, Resulting Numbers: [59, 19] Generated Node #0,1,0: 40:[59, 19] Operation: 28-9=19 Exploring Operation: 59-9=50, Resulting Numbers: [28, 50] Generated Node #0,1,1: 40:[28, 50] Operation: 59-9=50 Exploring Operation: 59-28=31, Resulting Numbers: [9, 31] Generated Node #0,1,2: 40:[9, 31] Operation: 59-28=31 Moving to Node #0,1,2 Current State: 40:[9, 31], Operations: ['99-40=59', '59-28=31'] Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,40 unequal: No Solution Exploring Operation: 9*31=279, Resulting Numbers: [279] 279,40 unequal: No Solution Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[9, 99, 28, 40], Operations: [] Exploring Operation: 99-40=59, Resulting Numbers: [9, 28, 59] Generated Node #0,1: 40:[9, 28, 59] Operation: 99-40=59 Moving to Node #0,1 Current State: 40:[9, 28, 59], Operations: ['99-40=59'] Exploring Operation: 59-28=31, Resulting Numbers: [9, 31] Generated Node #0,1,2: 40:[9, 31] Operation: 59-28=31 Moving to Node #0,1,2 Current State: 40:[9, 31], Operations: ['99-40=59', '59-28=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 26, 2, 58, 80 ]
70
[ "80-58=22", "2*22=44", "26+44=70" ]
Current State: 70:[26, 2, 58, 80], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [26, 2, 22] Generated Node #2: [26, 2, 22] from Operation: 80-58=22 Current State: 70:[26, 2, 22], Operations: ['80-58=22'] Exploring Operation: 2*22=44, Resulting Numbers: [26, 44] Generated Node #3: [26, 44] from Operation: 2*22=44 Current State: 70:[26, 44], Operations: ['80-58=22', '2*22=44'] Exploring Operation: 26+44=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[26, 2, 58, 80], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [26, 2, 22] Generated Node #0,0: 70:[26, 2, 22] Operation: 80-58=22 Exploring Operation: 58-26=32, Resulting Numbers: [2, 80, 32] Generated Node #0,1: 70:[2, 80, 32] Operation: 58-26=32 Exploring Operation: 26+58=84, Resulting Numbers: [2, 80, 84] Generated Node #0,2: 70:[2, 80, 84] Operation: 26+58=84 Exploring Operation: 58/2=29, Resulting Numbers: [26, 80, 29] Generated Node #0,3: 70:[26, 80, 29] Operation: 58/2=29 Exploring Operation: 26/2=13, Resulting Numbers: [58, 80, 13] Generated Node #0,4: 70:[58, 80, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[2, 80, 32], Operations: ['58-26=32'] Exploring Operation: 80-32=48, Resulting Numbers: [2, 48] Generated Node #0,1,0: 70:[2, 48] Operation: 80-32=48 Exploring Operation: 2+32=34, Resulting Numbers: [80, 34] Generated Node #0,1,1: 70:[80, 34] Operation: 2+32=34 Exploring Operation: 80-2=78, Resulting Numbers: [32, 78] Generated Node #0,1,2: 70:[32, 78] Operation: 80-2=78 Exploring Operation: 32/2=16, Resulting Numbers: [80, 16] Generated Node #0,1,3: 70:[80, 16] Operation: 32/2=16 Exploring Operation: 80/2=40, Resulting Numbers: [32, 40] Generated Node #0,1,4: 70:[32, 40] Operation: 80/2=40 Moving to Node #0,1,4 Current State: 70:[32, 40], Operations: ['58-26=32', '80/2=40'] Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,70 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[32, 78], Operations: ['58-26=32', '80-2=78'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,70 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[80, 34], Operations: ['58-26=32', '2+32=34'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,70 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[80, 16], Operations: ['58-26=32', '32/2=16'] Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,70 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[2, 48], Operations: ['58-26=32', '80-32=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[26, 2, 22], Operations: ['80-58=22'] Exploring Operation: 26+22=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 70:[2, 48] Operation: 26+22=48 Exploring Operation: 26+2=28, Resulting Numbers: [22, 28] Generated Node #0,0,1: 70:[22, 28] Operation: 26+2=28 Exploring Operation: 26-22=4, Resulting Numbers: [2, 4] Generated Node #0,0,2: 70:[2, 4] Operation: 26-22=4 Exploring Operation: 22/2=11, Resulting Numbers: [26, 11] Generated Node #0,0,3: 70:[26, 11] Operation: 22/2=11 Exploring Operation: 26/2=13, Resulting Numbers: [22, 13] Generated Node #0,0,4: 70:[22, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[2, 4], Operations: ['80-58=22', '26-22=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,70 unequal: No Solution No 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: 70:[22, 13], Operations: ['80-58=22', '26/2=13'] Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,70 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,70 unequal: No Solution No 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: 70:[26, 11], Operations: ['80-58=22', '22/2=11'] Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,70 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,70 unequal: No Solution No 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: 70:[2, 48], Operations: ['80-58=22', '26+22=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,70 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,70 unequal: No Solution No 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: 70:[22, 28], Operations: ['80-58=22', '26+2=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,70 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,70 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: 70:[58, 80, 13], Operations: ['26/2=13'] Exploring Operation: 80-13=67, Resulting Numbers: [58, 67] Generated Node #0,4,0: 70:[58, 67] Operation: 80-13=67 Exploring Operation: 80-58=22, Resulting Numbers: [13, 22] Generated Node #0,4,1: 70:[13, 22] Operation: 80-58=22 Exploring Operation: 58+13=71, Resulting Numbers: [80, 71] Generated Node #0,4,2: 70:[80, 71] Operation: 58+13=71 Exploring Operation: 80+13=93, Resulting Numbers: [58, 93] Generated Node #0,4,3: 70:[58, 93] Operation: 80+13=93 Exploring Operation: 58-13=45, Resulting Numbers: [80, 45] Generated Node #0,4,4: 70:[80, 45] Operation: 58-13=45 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 70:[13, 22], Operations: ['26/2=13', '80-58=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,70 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,70 unequal: No Solution No 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: 70:[80, 71], Operations: ['26/2=13', '58+13=71'] Exploring Operation: 80*71=5680, Resulting Numbers: [5680] 5680,70 unequal: No Solution Exploring Operation: 80-71=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 80+71=151, Resulting Numbers: [151] 151,70 unequal: No Solution No 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: 70:[58, 67], Operations: ['26/2=13', '80-13=67'] Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,70 unequal: No Solution Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,70 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,70 unequal: No Solution No 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: 70:[80, 45], Operations: ['26/2=13', '58-13=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,70 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,70 unequal: No Solution No 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: 70:[58, 93], Operations: ['26/2=13', '80+13=93'] Exploring Operation: 58*93=5394, Resulting Numbers: [5394] 5394,70 unequal: No Solution Exploring Operation: 58+93=151, Resulting Numbers: [151] 151,70 unequal: No Solution Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,70 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: 70:[2, 80, 84], Operations: ['26+58=84'] Exploring Operation: 84-80=4, Resulting Numbers: [2, 4] Generated Node #0,2,0: 70:[2, 4] Operation: 84-80=4 Exploring Operation: 80/2=40, Resulting Numbers: [84, 40] Generated Node #0,2,1: 70:[84, 40] Operation: 80/2=40 Exploring Operation: 84/2=42, Resulting Numbers: [80, 42] Generated Node #0,2,2: 70:[80, 42] Operation: 84/2=42 Exploring Operation: 80-2=78, Resulting Numbers: [84, 78] Generated Node #0,2,3: 70:[84, 78] Operation: 80-2=78 Exploring Operation: 84-2=82, Resulting Numbers: [80, 82] Generated Node #0,2,4: 70:[80, 82] Operation: 84-2=82 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[2, 4], Operations: ['26+58=84', '84-80=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,70 unequal: No Solution No 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: 70:[80, 42], Operations: ['26+58=84', '84/2=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,70 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,70 unequal: No Solution No 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: 70:[84, 40], Operations: ['26+58=84', '80/2=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,70 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,70 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[84, 78], Operations: ['26+58=84', '80-2=78'] Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,70 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 70:[80, 82], Operations: ['26+58=84', '84-2=82'] Exploring Operation: 80*82=6560, Resulting Numbers: [6560] 6560,70 unequal: No Solution Exploring Operation: 82-80=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 80+82=162, Resulting Numbers: [162] 162,70 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: 70:[26, 80, 29], Operations: ['58/2=29'] Exploring Operation: 80-26=54, Resulting Numbers: [29, 54] Generated Node #0,3,0: 70:[29, 54] Operation: 80-26=54 Exploring Operation: 26+29=55, Resulting Numbers: [80, 55] Generated Node #0,3,1: 70:[80, 55] Operation: 26+29=55 Exploring Operation: 29-26=3, Resulting Numbers: [80, 3] Generated Node #0,3,2: 70:[80, 3] Operation: 29-26=3 Exploring Operation: 26+80=106, Resulting Numbers: [29, 106] Generated Node #0,3,3: 70:[29, 106] Operation: 26+80=106 Exploring Operation: 80-29=51, Resulting Numbers: [26, 51] Generated Node #0,3,4: 70:[26, 51] Operation: 80-29=51 Moving to Node #0,3,2 Current State: 70:[80, 3], Operations: ['58/2=29', '29-26=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,70 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[29, 54], Operations: ['58/2=29', '80-26=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[80, 55], Operations: ['58/2=29', '26+29=55'] Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,70 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,70 unequal: No Solution Moving to Node #0,3,4 Current State: 70:[26, 51], Operations: ['58/2=29', '80-29=51'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,70 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[29, 106], Operations: ['58/2=29', '26+80=106'] Exploring Operation: 106-29=77, Resulting Numbers: [77] 77,70 unequal: No Solution Exploring Operation: 29*106=3074, Resulting Numbers: [3074] 3074,70 unequal: No Solution Exploring Operation: 29+106=135, Resulting Numbers: [135] 135,70 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
[ 69, 65, 2, 47 ]
53
[ "69-65=4", "2+47=49", "4+49=53" ]
Current State: 53:[69, 65, 2, 47], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [2, 47, 4] Generated Node #2: [2, 47, 4] from Operation: 69-65=4 Current State: 53:[2, 47, 4], Operations: ['69-65=4'] Exploring Operation: 2+47=49, Resulting Numbers: [4, 49] Generated Node #3: [4, 49] from Operation: 2+47=49 Current State: 53:[4, 49], Operations: ['69-65=4', '2+47=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[69, 65, 2, 47], Operations: [] Exploring Operation: 69-2=67, Resulting Numbers: [65, 47, 67] Generated Node #0,0: 53:[65, 47, 67] Operation: 69-2=67 Moving to Node #0,0 Current State: 53:[65, 47, 67], Operations: ['69-2=67'] Exploring Operation: 67-47=20, Resulting Numbers: [65, 20] Generated Node #0,0,0: 53:[65, 20] Operation: 67-47=20 Moving to Node #0,0,0 Current State: 53:[65, 20], Operations: ['69-2=67', '67-47=20'] Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,53 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 51, 81, 40 ]
33
[ "81/27=3", "51-40=11", "3*11=33" ]
Current State: 33:[27, 51, 81, 40], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [51, 40, 3] Generated Node #2: [51, 40, 3] from Operation: 81/27=3 Current State: 33:[51, 40, 3], Operations: ['81/27=3'] Exploring Operation: 51-40=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 51-40=11 Current State: 33:[3, 11], Operations: ['81/27=3', '51-40=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[27, 51, 81, 40], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [27, 40, 30] Generated Node #0,0: 33:[27, 40, 30] Operation: 81-51=30 Exploring Operation: 81/27=3, Resulting Numbers: [51, 40, 3] Generated Node #0,1: 33:[51, 40, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[27, 40, 30], Operations: ['81-51=30'] Exploring Operation: 30-27=3, Resulting Numbers: [40, 3] Generated Node #0,0,0: 33:[40, 3] Operation: 30-27=3 Exploring Operation: 40-27=13, Resulting Numbers: [30, 13] Generated Node #0,0,1: 33:[30, 13] Operation: 40-27=13 Moving to Node #0,0,1 Current State: 33:[30, 13], Operations: ['81-51=30', '40-27=13'] Exploring Operation: 30+13=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[40, 3], Operations: ['81-51=30', '30-27=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[51, 40, 3], Operations: ['81/27=3'] Exploring Operation: 51-40=11, Resulting Numbers: [3, 11] Generated Node #0,1,0: 33:[3, 11] Operation: 51-40=11 Exploring Operation: 51/3=17, Resulting Numbers: [40, 17] Generated Node #0,1,1: 33:[40, 17] Operation: 51/3=17 Moving to Node #0,1,0 Current State: 33:[3, 11], Operations: ['81/27=3', '51-40=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[27, 51, 81, 40], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [51, 40, 3] Generated Node #0,1: 33:[51, 40, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 33:[51, 40, 3], Operations: ['81/27=3'] Exploring Operation: 51-40=11, Resulting Numbers: [3, 11] Generated Node #0,1,0: 33:[3, 11] Operation: 51-40=11 Moving to Node #0,1,0 Current State: 33:[3, 11], Operations: ['81/27=3', '51-40=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 76, 94, 7, 23 ]
97
[ "76-7=69", "69/23=3", "94+3=97" ]
Current State: 97:[76, 94, 7, 23], Operations: [] Exploring Operation: 76-7=69, Resulting Numbers: [94, 23, 69] Generated Node #2: [94, 23, 69] from Operation: 76-7=69 Current State: 97:[94, 23, 69], Operations: ['76-7=69'] Exploring Operation: 69/23=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 69/23=3 Current State: 97:[94, 3], Operations: ['76-7=69', '69/23=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[76, 94, 7, 23], Operations: [] Exploring Operation: 7+23=30, Resulting Numbers: [76, 94, 30] Generated Node #0,0: 97:[76, 94, 30] Operation: 7+23=30 Exploring Operation: 76+7=83, Resulting Numbers: [94, 23, 83] Generated Node #0,1: 97:[94, 23, 83] Operation: 76+7=83 Exploring Operation: 7*23=161, Resulting Numbers: [76, 94, 161] Generated Node #0,2: 97:[76, 94, 161] Operation: 7*23=161 Moving to Node #0,2 Current State: 97:[76, 94, 161], Operations: ['7*23=161'] Exploring Operation: 76+94=170, Resulting Numbers: [161, 170] Generated Node #0,2,0: 97:[161, 170] Operation: 76+94=170 Exploring Operation: 161-76=85, Resulting Numbers: [94, 85] Generated Node #0,2,1: 97:[94, 85] Operation: 161-76=85 Exploring Operation: 161-94=67, Resulting Numbers: [76, 67] Generated Node #0,2,2: 97:[76, 67] Operation: 161-94=67 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[94, 85], Operations: ['7*23=161', '161-76=85'] Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,97 unequal: No Solution Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[76, 67], Operations: ['7*23=161', '161-94=67'] Exploring Operation: 76+67=143, Resulting Numbers: [143] 143,97 unequal: No Solution Exploring Operation: 76*67=5092, Resulting Numbers: [5092] 5092,97 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[161, 170], Operations: ['7*23=161', '76+94=170'] Exploring Operation: 161*170=27370, Resulting Numbers: [27370] 27370,97 unequal: No Solution Exploring Operation: 161+170=331, Resulting Numbers: [331] 331,97 unequal: No Solution Exploring Operation: 170-161=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 97:[76, 94, 30], Operations: ['7+23=30'] Exploring Operation: 76+30=106, Resulting Numbers: [94, 106] Generated Node #0,0,0: 97:[94, 106] Operation: 76+30=106 Exploring Operation: 94+30=124, Resulting Numbers: [76, 124] Generated Node #0,0,1: 97:[76, 124] Operation: 94+30=124 Exploring Operation: 76-30=46, Resulting Numbers: [94, 46] Generated Node #0,0,2: 97:[94, 46] Operation: 76-30=46 Moving to Node #0,1 Current State: 97:[94, 23, 83], Operations: ['76+7=83'] Exploring Operation: 23+83=106, Resulting Numbers: [94, 106] Generated Node #0,1,0: 97:[94, 106] Operation: 23+83=106 Exploring Operation: 94-23=71, Resulting Numbers: [83, 71] Generated Node #0,1,1: 97:[83, 71] Operation: 94-23=71 Exploring Operation: 94+23=117, Resulting Numbers: [83, 117] Generated Node #0,1,2: 97:[83, 117] Operation: 94+23=117 Moving to Node #0,0,0 Current State: 97:[94, 106], Operations: ['7+23=30', '76+30=106'] Exploring Operation: 94*106=9964, Resulting Numbers: [9964] 9964,97 unequal: No Solution Exploring Operation: 94+106=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 106-94=12, Resulting Numbers: [12] 12,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[94, 106], Operations: ['76+7=83', '23+83=106'] Exploring Operation: 94+106=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 106-94=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 94*106=9964, Resulting Numbers: [9964] 9964,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[83, 117], Operations: ['76+7=83', '94+23=117'] Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,97 unequal: No Solution Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[83, 71], Operations: ['76+7=83', '94-23=71'] Exploring Operation: 83-71=12, Resulting Numbers: [12] 12,97 unequal: No Solution Exploring Operation: 83*71=5893, Resulting Numbers: [5893] 5893,97 unequal: No Solution Exploring Operation: 83+71=154, Resulting Numbers: [154] 154,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[76, 124], Operations: ['7+23=30', '94+30=124'] Exploring Operation: 76+124=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 124-76=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 76*124=9424, Resulting Numbers: [9424] 9424,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[94, 46], Operations: ['7+23=30', '76-30=46'] Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,97 unequal: No Solution Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 10, 41, 62, 55 ]
24
[ "41-10=31", "62-55=7", "31-7=24" ]
Current State: 24:[10, 41, 62, 55], Operations: [] Exploring Operation: 41-10=31, Resulting Numbers: [62, 55, 31] Generated Node #2: [62, 55, 31] from Operation: 41-10=31 Current State: 24:[62, 55, 31], Operations: ['41-10=31'] Exploring Operation: 62-55=7, Resulting Numbers: [31, 7] Generated Node #3: [31, 7] from Operation: 62-55=7 Current State: 24:[31, 7], Operations: ['41-10=31', '62-55=7'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[10, 41, 62, 55], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [10, 41, 7] Generated Node #0,0: 24:[10, 41, 7] Operation: 62-55=7 Exploring Operation: 55-41=14, Resulting Numbers: [10, 62, 14] Generated Node #0,1: 24:[10, 62, 14] Operation: 55-41=14 Exploring Operation: 62-41=21, Resulting Numbers: [10, 55, 21] Generated Node #0,2: 24:[10, 55, 21] Operation: 62-41=21 Moving to Node #0,0 Current State: 24:[10, 41, 7], Operations: ['62-55=7'] Exploring Operation: 41-7=34, Resulting Numbers: [10, 34] Generated Node #0,0,0: 24:[10, 34] Operation: 41-7=34 Exploring Operation: 10-7=3, Resulting Numbers: [41, 3] Generated Node #0,0,1: 24:[41, 3] Operation: 10-7=3 Exploring Operation: 41-10=31, Resulting Numbers: [7, 31] Generated Node #0,0,2: 24:[7, 31] Operation: 41-10=31 Moving to Node #0,2 Current State: 24:[10, 55, 21], Operations: ['62-41=21'] Exploring Operation: 21-10=11, Resulting Numbers: [55, 11] Generated Node #0,2,0: 24:[55, 11] Operation: 21-10=11 Exploring Operation: 55-21=34, Resulting Numbers: [10, 34] Generated Node #0,2,1: 24:[10, 34] Operation: 55-21=34 Exploring Operation: 55-10=45, Resulting Numbers: [21, 45] Generated Node #0,2,2: 24:[21, 45] Operation: 55-10=45 Moving to Node #0,1 Current State: 24:[10, 62, 14], Operations: ['55-41=14'] Exploring Operation: 62-10=52, Resulting Numbers: [14, 52] Generated Node #0,1,0: 24:[14, 52] Operation: 62-10=52 Exploring Operation: 62-14=48, Resulting Numbers: [10, 48] Generated Node #0,1,1: 24:[10, 48] Operation: 62-14=48 Exploring Operation: 10+14=24, Resulting Numbers: [62, 24] Generated Node #0,1,2: 24:[62, 24] Operation: 10+14=24 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[10, 48], Operations: ['55-41=14', '62-14=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,24 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[14, 52], Operations: ['55-41=14', '62-10=52'] Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,24 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[62, 24], Operations: ['55-41=14', '10+14=24'] Exploring Operation: 62+24=86, Resulting Numbers: [86] 86,24 unequal: No Solution Exploring Operation: 62*24=1488, Resulting Numbers: [1488] 1488,24 unequal: No Solution Exploring Operation: 62-24=38, Resulting Numbers: [38] 38,24 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: 24:[7, 31], Operations: ['62-55=7', '41-10=31'] Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[10, 41, 62, 55], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [10, 41, 7] Generated Node #0,0: 24:[10, 41, 7] Operation: 62-55=7 Moving to Node #0,0 Current State: 24:[10, 41, 7], Operations: ['62-55=7'] Exploring Operation: 41-10=31, Resulting Numbers: [7, 31] Generated Node #0,0,2: 24:[7, 31] Operation: 41-10=31 Moving to Node #0,0,2 Current State: 24:[7, 31], Operations: ['62-55=7', '41-10=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 86, 54, 6, 11 ]
15
[ "86-54=32", "6+11=17", "32-17=15" ]
Current State: 15:[86, 54, 6, 11], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [6, 11, 32] Generated Node #2: [6, 11, 32] from Operation: 86-54=32 Current State: 15:[6, 11, 32], Operations: ['86-54=32'] Exploring Operation: 6+11=17, Resulting Numbers: [32, 17] Generated Node #3: [32, 17] from Operation: 6+11=17 Current State: 15:[32, 17], Operations: ['86-54=32', '6+11=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[86, 54, 6, 11], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [6, 11, 32] Generated Node #0,0: 15:[6, 11, 32] Operation: 86-54=32 Exploring Operation: 54-11=43, Resulting Numbers: [86, 6, 43] Generated Node #0,1: 15:[86, 6, 43] Operation: 54-11=43 Exploring Operation: 54/6=9, Resulting Numbers: [86, 11, 9] Generated Node #0,2: 15:[86, 11, 9] Operation: 54/6=9 Exploring Operation: 86-11=75, Resulting Numbers: [54, 6, 75] Generated Node #0,3: 15:[54, 6, 75] Operation: 86-11=75 Exploring Operation: 86-6=80, Resulting Numbers: [54, 11, 80] Generated Node #0,4: 15:[54, 11, 80] Operation: 86-6=80 Moving to Node #0,0 Current State: 15:[6, 11, 32], Operations: ['86-54=32'] Exploring Operation: 11-6=5, Resulting Numbers: [32, 5] Generated Node #0,0,0: 15:[32, 5] Operation: 11-6=5 Exploring Operation: 32-11=21, Resulting Numbers: [6, 21] Generated Node #0,0,1: 15:[6, 21] Operation: 32-11=21 Exploring Operation: 6+11=17, Resulting Numbers: [32, 17] Generated Node #0,0,2: 15:[32, 17] Operation: 6+11=17 Exploring Operation: 32-6=26, Resulting Numbers: [11, 26] Generated Node #0,0,3: 15:[11, 26] Operation: 32-6=26 Exploring Operation: 6+32=38, Resulting Numbers: [11, 38] Generated Node #0,0,4: 15:[11, 38] Operation: 6+32=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[6, 21], Operations: ['86-54=32', '32-11=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[86, 54, 6, 11], Operations: [] Exploring Operation: 86-54=32, Resulting Numbers: [6, 11, 32] Generated Node #0,0: 15:[6, 11, 32] Operation: 86-54=32 Moving to Node #0,0 Current State: 15:[6, 11, 32], Operations: ['86-54=32'] Exploring Operation: 32-11=21, Resulting Numbers: [6, 21] Generated Node #0,0,1: 15:[6, 21] Operation: 32-11=21 Moving to Node #0,0,1 Current State: 15:[6, 21], Operations: ['86-54=32', '32-11=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 34, 90, 95, 80 ]
50
[ "95-90=5", "80/5=16", "34+16=50" ]
Current State: 50:[34, 90, 95, 80], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [34, 80, 5] Generated Node #2: [34, 80, 5] from Operation: 95-90=5 Current State: 50:[34, 80, 5], Operations: ['95-90=5'] Exploring Operation: 80/5=16, Resulting Numbers: [34, 16] Generated Node #3: [34, 16] from Operation: 80/5=16 Current State: 50:[34, 16], Operations: ['95-90=5', '80/5=16'] Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[34, 90, 95, 80], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [34, 80, 5] Generated Node #0,0: 50:[34, 80, 5] Operation: 95-90=5 Moving to Node #0,0 Current State: 50:[34, 80, 5], Operations: ['95-90=5'] Exploring Operation: 80-34=46, Resulting Numbers: [5, 46] Generated Node #0,0,0: 50:[5, 46] Operation: 80-34=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[5, 46], Operations: ['95-90=5', '80-34=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 29, 30, 58, 27 ]
26
[ "29+30=59", "58+27=85", "85-59=26" ]
Current State: 26:[29, 30, 58, 27], Operations: [] Exploring Operation: 29+30=59, Resulting Numbers: [58, 27, 59] Generated Node #2: [58, 27, 59] from Operation: 29+30=59 Current State: 26:[58, 27, 59], Operations: ['29+30=59'] Exploring Operation: 58+27=85, Resulting Numbers: [59, 85] Generated Node #3: [59, 85] from Operation: 58+27=85 Current State: 26:[59, 85], Operations: ['29+30=59', '58+27=85'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[29, 30, 58, 27], Operations: [] Exploring Operation: 30-29=1, Resulting Numbers: [58, 27, 1] Generated Node #0,0: 26:[58, 27, 1] Operation: 30-29=1 Exploring Operation: 58/29=2, Resulting Numbers: [30, 27, 2] Generated Node #0,1: 26:[30, 27, 2] Operation: 58/29=2 Exploring Operation: 58-29=29, Resulting Numbers: [30, 27, 29] Generated Node #0,2: 26:[30, 27, 29] Operation: 58-29=29 Exploring Operation: 58-30=28, Resulting Numbers: [29, 27, 28] Generated Node #0,3: 26:[29, 27, 28] Operation: 58-30=28 Exploring Operation: 58-27=31, Resulting Numbers: [29, 30, 31] Generated Node #0,4: 26:[29, 30, 31] Operation: 58-27=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[30, 27, 2], Operations: ['58/29=2'] Exploring Operation: 30+2=32, Resulting Numbers: [27, 32] Generated Node #0,1,0: 26:[27, 32] Operation: 30+2=32 Exploring Operation: 30-2=28, Resulting Numbers: [27, 28] Generated Node #0,1,1: 26:[27, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [27, 15] Generated Node #0,1,2: 26:[27, 15] Operation: 30/2=15 Exploring Operation: 30-27=3, Resulting Numbers: [2, 3] Generated Node #0,1,3: 26:[2, 3] Operation: 30-27=3 Exploring Operation: 27-2=25, Resulting Numbers: [30, 25] Generated Node #0,1,4: 26:[30, 25] Operation: 27-2=25 Moving to Node #0,1,3 Current State: 26:[2, 3], Operations: ['58/29=2', '30-27=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[27, 15], Operations: ['58/29=2', '30/2=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,26 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[27, 28], Operations: ['58/29=2', '30-2=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[30, 25], Operations: ['58/29=2', '27-2=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[27, 32], Operations: ['58/29=2', '30+2=32'] Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,26 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,26 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,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 Current State: 26:[29, 27, 28], Operations: ['58-30=28'] Exploring Operation: 29-28=1, Resulting Numbers: [27, 1] Generated Node #0,3,0: 26:[27, 1] Operation: 29-28=1 Exploring Operation: 28-27=1, Resulting Numbers: [29, 1] Generated Node #0,3,1: 26:[29, 1] Operation: 28-27=1 Exploring Operation: 29+27=56, Resulting Numbers: [28, 56] Generated Node #0,3,2: 26:[28, 56] Operation: 29+27=56 Exploring Operation: 29+28=57, Resulting Numbers: [27, 57] Generated Node #0,3,3: 26:[27, 57] Operation: 29+28=57 Exploring Operation: 29-27=2, Resulting Numbers: [28, 2] Generated Node #0,3,4: 26:[28, 2] Operation: 29-27=2 Moving to Node #0,3,0 Current State: 26:[27, 1], Operations: ['58-30=28', '29-28=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[29, 30, 58, 27], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [29, 27, 28] Generated Node #0,3: 26:[29, 27, 28] Operation: 58-30=28 Moving to Node #0,3 Current State: 26:[29, 27, 28], Operations: ['58-30=28'] Exploring Operation: 29-28=1, Resulting Numbers: [27, 1] Generated Node #0,3,0: 26:[27, 1] Operation: 29-28=1 Moving to Node #0,3,0 Current State: 26:[27, 1], Operations: ['58-30=28', '29-28=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 34, 3, 56, 11 ]
30
[ "34+3=37", "56+11=67", "67-37=30" ]
Current State: 30:[34, 3, 56, 11], Operations: [] Exploring Operation: 34+3=37, Resulting Numbers: [56, 11, 37] Generated Node #2: [56, 11, 37] from Operation: 34+3=37 Current State: 30:[56, 11, 37], Operations: ['34+3=37'] Exploring Operation: 56+11=67, Resulting Numbers: [37, 67] Generated Node #3: [37, 67] from Operation: 56+11=67 Current State: 30:[37, 67], Operations: ['34+3=37', '56+11=67'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[34, 3, 56, 11], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [34, 3, 45] Generated Node #0,0: 30:[34, 3, 45] Operation: 56-11=45 Exploring Operation: 3+11=14, Resulting Numbers: [34, 56, 14] Generated Node #0,1: 30:[34, 56, 14] Operation: 3+11=14 Exploring Operation: 56-34=22, Resulting Numbers: [3, 11, 22] Generated Node #0,2: 30:[3, 11, 22] Operation: 56-34=22 Exploring Operation: 34-3=31, Resulting Numbers: [56, 11, 31] Generated Node #0,3: 30:[56, 11, 31] Operation: 34-3=31 Exploring Operation: 56-3=53, Resulting Numbers: [34, 11, 53] Generated Node #0,4: 30:[34, 11, 53] Operation: 56-3=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[3, 11, 22], Operations: ['56-34=22'] Exploring Operation: 22/11=2, Resulting Numbers: [3, 2] Generated Node #0,2,0: 30:[3, 2] Operation: 22/11=2 Exploring Operation: 11+22=33, Resulting Numbers: [3, 33] Generated Node #0,2,1: 30:[3, 33] Operation: 11+22=33 Exploring Operation: 3+22=25, Resulting Numbers: [11, 25] Generated Node #0,2,2: 30:[11, 25] Operation: 3+22=25 Exploring Operation: 22-11=11, Resulting Numbers: [3, 11] Generated Node #0,2,3: 30:[3, 11] Operation: 22-11=11 Exploring Operation: 22-3=19, Resulting Numbers: [11, 19] Generated Node #0,2,4: 30:[11, 19] Operation: 22-3=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[3, 2], Operations: ['56-34=22', '22/11=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[3, 11], Operations: ['56-34=22', '22-11=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,30 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,2,1 Current State: 30:[3, 33], Operations: ['56-34=22', '11+22=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,30 unequal: No Solution Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[34, 3, 56, 11], Operations: [] Exploring Operation: 56-34=22, Resulting Numbers: [3, 11, 22] Generated Node #0,2: 30:[3, 11, 22] Operation: 56-34=22 Moving to Node #0,2 Current State: 30:[3, 11, 22], Operations: ['56-34=22'] Exploring Operation: 11+22=33, Resulting Numbers: [3, 33] Generated Node #0,2,1: 30:[3, 33] Operation: 11+22=33 Moving to Node #0,2,1 Current State: 30:[3, 33], Operations: ['56-34=22', '11+22=33'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 98, 49, 29, 33 ]
13
[ "98-49=49", "29+33=62", "62-49=13" ]
Current State: 13:[98, 49, 29, 33], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [29, 33, 49] Generated Node #2: [29, 33, 49] from Operation: 98-49=49 Current State: 13:[29, 33, 49], Operations: ['98-49=49'] Exploring Operation: 29+33=62, Resulting Numbers: [49, 62] Generated Node #3: [49, 62] from Operation: 29+33=62 Current State: 13:[49, 62], Operations: ['98-49=49', '29+33=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[98, 49, 29, 33], Operations: [] Exploring Operation: 98-33=65, Resulting Numbers: [49, 29, 65] Generated Node #0,0: 13:[49, 29, 65] Operation: 98-33=65 Exploring Operation: 98/49=2, Resulting Numbers: [29, 33, 2] Generated Node #0,1: 13:[29, 33, 2] Operation: 98/49=2 Exploring Operation: 98-49=49, Resulting Numbers: [29, 33, 49] Generated Node #0,2: 13:[29, 33, 49] Operation: 98-49=49 Exploring Operation: 49-33=16, Resulting Numbers: [98, 29, 16] Generated Node #0,3: 13:[98, 29, 16] Operation: 49-33=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[29, 33, 2], Operations: ['98/49=2'] Exploring Operation: 33-2=31, Resulting Numbers: [29, 31] Generated Node #0,1,0: 13:[29, 31] Operation: 33-2=31 Exploring Operation: 29+2=31, Resulting Numbers: [33, 31] Generated Node #0,1,1: 13:[33, 31] Operation: 29+2=31 Exploring Operation: 29-2=27, Resulting Numbers: [33, 27] Generated Node #0,1,2: 13:[33, 27] Operation: 29-2=27 Exploring Operation: 33-29=4, Resulting Numbers: [2, 4] Generated Node #0,1,3: 13:[2, 4] Operation: 33-29=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[2, 4], Operations: ['98/49=2', '33-29=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[29, 31], Operations: ['98/49=2', '33-2=31'] Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,13 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[33, 27], Operations: ['98/49=2', '29-2=27'] Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[33, 31], Operations: ['98/49=2', '29+2=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,13 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[29, 33, 49], Operations: ['98-49=49'] Exploring Operation: 29+33=62, Resulting Numbers: [49, 62] Generated Node #0,2,0: 13:[49, 62] Operation: 29+33=62 Exploring Operation: 49-29=20, Resulting Numbers: [33, 20] Generated Node #0,2,1: 13:[33, 20] Operation: 49-29=20 Exploring Operation: 49-33=16, Resulting Numbers: [29, 16] Generated Node #0,2,2: 13:[29, 16] Operation: 49-33=16 Exploring Operation: 33-29=4, Resulting Numbers: [49, 4] Generated Node #0,2,3: 13:[49, 4] Operation: 33-29=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 13:[29, 16], Operations: ['98-49=49', '49-33=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[98, 49, 29, 33], Operations: [] Exploring Operation: 98-49=49, Resulting Numbers: [29, 33, 49] Generated Node #0,2: 13:[29, 33, 49] Operation: 98-49=49 Moving to Node #0,2 Current State: 13:[29, 33, 49], Operations: ['98-49=49'] Exploring Operation: 49-33=16, Resulting Numbers: [29, 16] Generated Node #0,2,2: 13:[29, 16] Operation: 49-33=16 Moving to Node #0,2,2 Current State: 13:[29, 16], Operations: ['98-49=49', '49-33=16'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 75, 62, 80, 73 ]
22
[ "75-73=2", "80/2=40", "62-40=22" ]
Current State: 22:[75, 62, 80, 73], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [62, 80, 2] Generated Node #2: [62, 80, 2] from Operation: 75-73=2 Current State: 22:[62, 80, 2], Operations: ['75-73=2'] Exploring Operation: 80/2=40, Resulting Numbers: [62, 40] Generated Node #3: [62, 40] from Operation: 80/2=40 Current State: 22:[62, 40], Operations: ['75-73=2', '80/2=40'] Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[75, 62, 80, 73], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [62, 73, 5] Generated Node #0,0: 22:[62, 73, 5] Operation: 80-75=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[62, 73, 5], Operations: ['80-75=5'] Exploring Operation: 73-62=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 22:[5, 11] Operation: 73-62=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[5, 11], Operations: ['80-75=5', '73-62=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 96, 23, 36, 78 ]
31
[ "96-23=73", "78-36=42", "73-42=31" ]
Current State: 31:[96, 23, 36, 78], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [36, 78, 73] Generated Node #2: [36, 78, 73] from Operation: 96-23=73 Current State: 31:[36, 78, 73], Operations: ['96-23=73'] Exploring Operation: 78-36=42, Resulting Numbers: [73, 42] Generated Node #3: [73, 42] from Operation: 78-36=42 Current State: 31:[73, 42], Operations: ['96-23=73', '78-36=42'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[96, 23, 36, 78], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [96, 23, 42] Generated Node #0,0: 31:[96, 23, 42] Operation: 78-36=42 Exploring Operation: 96-78=18, Resulting Numbers: [23, 36, 18] Generated Node #0,1: 31:[23, 36, 18] Operation: 96-78=18 Exploring Operation: 78-23=55, Resulting Numbers: [96, 36, 55] Generated Node #0,2: 31:[96, 36, 55] Operation: 78-23=55 Exploring Operation: 96-36=60, Resulting Numbers: [23, 78, 60] Generated Node #0,3: 31:[23, 78, 60] Operation: 96-36=60 Exploring Operation: 96-23=73, Resulting Numbers: [36, 78, 73] Generated Node #0,4: 31:[36, 78, 73] Operation: 96-23=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[23, 36, 18], Operations: ['96-78=18'] Exploring Operation: 23+18=41, Resulting Numbers: [36, 41] Generated Node #0,1,0: 31:[36, 41] Operation: 23+18=41 Exploring Operation: 36+18=54, Resulting Numbers: [23, 54] Generated Node #0,1,1: 31:[23, 54] Operation: 36+18=54 Exploring Operation: 36-18=18, Resulting Numbers: [23, 18] Generated Node #0,1,2: 31:[23, 18] Operation: 36-18=18 Exploring Operation: 23-18=5, Resulting Numbers: [36, 5] Generated Node #0,1,3: 31:[36, 5] Operation: 23-18=5 Exploring Operation: 36-23=13, Resulting Numbers: [18, 13] Generated Node #0,1,4: 31:[18, 13] Operation: 36-23=13 Moving to Node #0,1,0 Current State: 31:[36, 41], Operations: ['96-78=18', '23+18=41'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,31 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[23, 18], Operations: ['96-78=18', '36-18=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,31 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[23, 54], Operations: ['96-78=18', '36+18=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[96, 23, 36, 78], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [23, 36, 18] Generated Node #0,1: 31:[23, 36, 18] Operation: 96-78=18 Moving to Node #0,1 Current State: 31:[23, 36, 18], Operations: ['96-78=18'] Exploring Operation: 36+18=54, Resulting Numbers: [23, 54] Generated Node #0,1,1: 31:[23, 54] Operation: 36+18=54 Moving to Node #0,1,1 Current State: 31:[23, 54], Operations: ['96-78=18', '36+18=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 86, 13, 87, 12 ]
99
[ "86*12=1032", "13*87=1131", "1131-1032=99" ]
Current State: 99:[86, 13, 87, 12], Operations: [] Exploring Operation: 86*12=1032, Resulting Numbers: [13, 87, 1032] Generated Node #2: [13, 87, 1032] from Operation: 86*12=1032 Current State: 99:[13, 87, 1032], Operations: ['86*12=1032'] Exploring Operation: 13*87=1131, Resulting Numbers: [1032, 1131] Generated Node #3: [1032, 1131] from Operation: 13*87=1131 Current State: 99:[1032, 1131], Operations: ['86*12=1032', '13*87=1131'] Exploring Operation: 1131-1032=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[86, 13, 87, 12], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [13, 12, 1] Generated Node #0,0: 99:[13, 12, 1] Operation: 87-86=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[13, 12, 1], Operations: ['87-86=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 99:[12, 12] Operation: 13-1=12 Moving to Node #0,0,0 Current State: 99:[12, 12], Operations: ['87-86=1', '13-1=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 59, 68, 2, 11 ]
69
[ "59+68=127", "11+127=138", "138/2=69" ]
Current State: 69:[59, 68, 2, 11], Operations: [] Exploring Operation: 59+68=127, Resulting Numbers: [2, 11, 127] Generated Node #2: [2, 11, 127] from Operation: 59+68=127 Current State: 69:[2, 11, 127], Operations: ['59+68=127'] Exploring Operation: 11+127=138, Resulting Numbers: [2, 138] Generated Node #3: [2, 138] from Operation: 11+127=138 Current State: 69:[2, 138], Operations: ['59+68=127', '11+127=138'] Exploring Operation: 138/2=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[59, 68, 2, 11], Operations: [] Exploring Operation: 59+11=70, Resulting Numbers: [68, 2, 70] Generated Node #0,0: 69:[68, 2, 70] Operation: 59+11=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[68, 2, 70], Operations: ['59+11=70'] Exploring Operation: 68+2=70, Resulting Numbers: [70, 70] Generated Node #0,0,0: 69:[70, 70] Operation: 68+2=70 Moving to Node #0,0,0 Current State: 69:[70, 70], Operations: ['59+11=70', '68+2=70'] Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 19, 76, 72, 65 ]
47
[ "76/19=4", "72/4=18", "65-18=47" ]
Current State: 47:[19, 76, 72, 65], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [72, 65, 4] Generated Node #2: [72, 65, 4] from Operation: 76/19=4 Current State: 47:[72, 65, 4], Operations: ['76/19=4'] Exploring Operation: 72/4=18, Resulting Numbers: [65, 18] Generated Node #3: [65, 18] from Operation: 72/4=18 Current State: 47:[65, 18], Operations: ['76/19=4', '72/4=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[19, 76, 72, 65], Operations: [] Exploring Operation: 76-19=57, Resulting Numbers: [72, 65, 57] Generated Node #0,0: 47:[72, 65, 57] Operation: 76-19=57 Exploring Operation: 65-19=46, Resulting Numbers: [76, 72, 46] Generated Node #0,1: 47:[76, 72, 46] Operation: 65-19=46 Exploring Operation: 72-19=53, Resulting Numbers: [76, 65, 53] Generated Node #0,2: 47:[76, 65, 53] Operation: 72-19=53 Moving to Node #0,0 Current State: 47:[72, 65, 57], Operations: ['76-19=57'] Exploring Operation: 72-65=7, Resulting Numbers: [57, 7] Generated Node #0,0,0: 47:[57, 7] Operation: 72-65=7 Exploring Operation: 65-57=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 47:[72, 8] Operation: 65-57=8 Exploring Operation: 72-57=15, Resulting Numbers: [65, 15] Generated Node #0,0,2: 47:[65, 15] Operation: 72-57=15 Moving to Node #0,2 Current State: 47:[76, 65, 53], Operations: ['72-19=53'] Exploring Operation: 76-53=23, Resulting Numbers: [65, 23] Generated Node #0,2,0: 47:[65, 23] Operation: 76-53=23 Exploring Operation: 76-65=11, Resulting Numbers: [53, 11] Generated Node #0,2,1: 47:[53, 11] Operation: 76-65=11 Exploring Operation: 65-53=12, Resulting Numbers: [76, 12] Generated Node #0,2,2: 47:[76, 12] Operation: 65-53=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[65, 23], Operations: ['72-19=53', '76-53=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,47 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,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:[53, 11], Operations: ['72-19=53', '76-65=11'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 53*11=583, Resulting Numbers: [583] 583,47 unequal: No Solution Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,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,2 Current State: 47:[76, 12], Operations: ['72-19=53', '65-53=12'] Exploring Operation: 76+12=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 76*12=912, Resulting Numbers: [912] 912,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:[76, 72, 46], Operations: ['65-19=46'] Exploring Operation: 76-46=30, Resulting Numbers: [72, 30] Generated Node #0,1,0: 47:[72, 30] Operation: 76-46=30 Exploring Operation: 72-46=26, Resulting Numbers: [76, 26] Generated Node #0,1,1: 47:[76, 26] Operation: 72-46=26 Exploring Operation: 76-72=4, Resulting Numbers: [46, 4] Generated Node #0,1,2: 47:[46, 4] Operation: 76-72=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[72, 30], Operations: ['65-19=46', '76-46=30'] Exploring Operation: 72+30=102, Resulting Numbers: [102] 102,47 unequal: No Solution Exploring Operation: 72*30=2160, Resulting Numbers: [2160] 2160,47 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[46, 4], Operations: ['65-19=46', '76-72=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,47 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,47 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[76, 26], Operations: ['65-19=46', '72-46=26'] Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,47 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,47 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: 47:[57, 7], Operations: ['76-19=57', '72-65=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[65, 15], Operations: ['76-19=57', '72-57=15'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,47 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,47 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[72, 8], Operations: ['76-19=57', '65-57=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 19, 31, 17 ]
86
[ "19-17=2", "31*2=62", "24+62=86" ]
Current State: 86:[24, 19, 31, 17], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [24, 31, 2] Generated Node #2: [24, 31, 2] from Operation: 19-17=2 Current State: 86:[24, 31, 2], Operations: ['19-17=2'] Exploring Operation: 31*2=62, Resulting Numbers: [24, 62] Generated Node #3: [24, 62] from Operation: 31*2=62 Current State: 86:[24, 62], Operations: ['19-17=2', '31*2=62'] Exploring Operation: 24+62=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 19, 31, 17], Operations: [] Exploring Operation: 24+19=43, Resulting Numbers: [31, 17, 43] Generated Node #0,0: 86:[31, 17, 43] Operation: 24+19=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[31, 17, 43], Operations: ['24+19=43'] Exploring Operation: 31+17=48, Resulting Numbers: [43, 48] Generated Node #0,0,0: 86:[43, 48] Operation: 31+17=48 Moving to Node #0,0,0 Current State: 86:[43, 48], Operations: ['24+19=43', '31+17=48'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 98, 20, 2 ]
19
[ "98-20=78", "78/2=39", "39-20=19" ]
Current State: 19:[20, 98, 20, 2], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [2, 78] Generated Node #2: [2, 78] from Operation: 98-20=78 Current State: 19:[2, 78], Operations: ['98-20=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,19 equal: Goal Reached Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[20, 98, 20, 2], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [20, 20, 49] Generated Node #0,0: 19:[20, 20, 49] Operation: 98/2=49 Exploring Operation: 98-20=78, Resulting Numbers: [20, 2, 78] Generated Node #0,1: 19:[20, 2, 78] Operation: 98-20=78 Moving to Node #0,0 Current State: 19:[20, 20, 49], Operations: ['98/2=49'] Exploring Operation: 49-20=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 19:[20, 29] Operation: 49-20=29 Exploring Operation: 49-20=29, Resulting Numbers: [20, 29] Generated Node #0,0,1: 19:[20, 29] Operation: 49-20=29 Moving to Node #0,1 Current State: 19:[20, 2, 78], Operations: ['98-20=78'] Exploring Operation: 78/2=39, Resulting Numbers: [20, 39] Generated Node #0,1,0: 19:[20, 39] Operation: 78/2=39 Exploring Operation: 78-20=58, Resulting Numbers: [2, 58] Generated Node #0,1,1: 19:[2, 58] Operation: 78-20=58 Moving to Node #0,0,0 Current State: 19:[20, 29], Operations: ['98/2=49', '49-20=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,19 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[20, 29], Operations: ['98/2=49', '49-20=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,19 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[20, 39], Operations: ['98-20=78', '78/2=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[20, 98, 20, 2], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [20, 2, 78] Generated Node #0,1: 19:[20, 2, 78] Operation: 98-20=78 Moving to Node #0,1 Current State: 19:[20, 2, 78], Operations: ['98-20=78'] Exploring Operation: 78/2=39, Resulting Numbers: [20, 39] Generated Node #0,1,0: 19:[20, 39] Operation: 78/2=39 Moving to Node #0,1,0 Current State: 19:[20, 39], Operations: ['98-20=78', '78/2=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 2, 11, 65, 53 ]
63
[ "11+53=64", "2*64=128", "128-65=63" ]
Current State: 63:[2, 11, 65, 53], Operations: [] Exploring Operation: 11+53=64, Resulting Numbers: [2, 65, 64] Generated Node #2: [2, 65, 64] from Operation: 11+53=64 Current State: 63:[2, 65, 64], Operations: ['11+53=64'] Exploring Operation: 2*64=128, Resulting Numbers: [65, 128] Generated Node #3: [65, 128] from Operation: 2*64=128 Current State: 63:[65, 128], Operations: ['11+53=64', '2*64=128'] Exploring Operation: 128-65=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[2, 11, 65, 53], Operations: [] Exploring Operation: 11+53=64, Resulting Numbers: [2, 65, 64] Generated Node #0,0: 63:[2, 65, 64] Operation: 11+53=64 Exploring Operation: 65-53=12, Resulting Numbers: [2, 11, 12] Generated Node #0,1: 63:[2, 11, 12] Operation: 65-53=12 Moving to Node #0,0 Current State: 63:[2, 65, 64], Operations: ['11+53=64'] Exploring Operation: 64-2=62, Resulting Numbers: [65, 62] Generated Node #0,0,0: 63:[65, 62] Operation: 64-2=62 Exploring Operation: 65-2=63, Resulting Numbers: [64, 63] Generated Node #0,0,1: 63:[64, 63] Operation: 65-2=63 Moving to Node #0,1 Current State: 63:[2, 11, 12], Operations: ['65-53=12'] Exploring Operation: 11-2=9, Resulting Numbers: [12, 9] Generated Node #0,1,0: 63:[12, 9] Operation: 11-2=9 Exploring Operation: 12-2=10, Resulting Numbers: [11, 10] Generated Node #0,1,1: 63:[11, 10] Operation: 12-2=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[12, 9], Operations: ['65-53=12', '11-2=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[11, 10], Operations: ['65-53=12', '12-2=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,63 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: 63:[64, 63], Operations: ['11+53=64', '65-2=63'] Exploring Operation: 64+63=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,63 unequal: No Solution Moving to Node #0,0,0 Current State: 63:[65, 62], Operations: ['11+53=64', '64-2=62'] Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 7, 58, 7, 83 ]
92
[ "7*7=49", "58+83=141", "141-49=92" ]
Current State: 92:[7, 58, 7, 83], Operations: [] Exploring Operation: 7*7=49, Resulting Numbers: [58, 83, 49] Generated Node #2: [58, 83, 49] from Operation: 7*7=49 Current State: 92:[58, 83, 49], Operations: ['7*7=49'] Exploring Operation: 58+83=141, Resulting Numbers: [49, 141] Generated Node #3: [49, 141] from Operation: 58+83=141 Current State: 92:[49, 141], Operations: ['7*7=49', '58+83=141'] Exploring Operation: 141-49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[7, 58, 7, 83], Operations: [] Exploring Operation: 83-58=25, Resulting Numbers: [7, 7, 25] Generated Node #0,0: 92:[7, 7, 25] Operation: 83-58=25 Exploring Operation: 58-7=51, Resulting Numbers: [7, 83, 51] Generated Node #0,1: 92:[7, 83, 51] Operation: 58-7=51 Exploring Operation: 7+83=90, Resulting Numbers: [58, 7, 90] Generated Node #0,2: 92:[58, 7, 90] Operation: 7+83=90 Exploring Operation: 58-7=51, Resulting Numbers: [7, 83, 51] Generated Node #0,3: 92:[7, 83, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[7, 7, 25], Operations: ['83-58=25'] Exploring Operation: 7/7=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 92:[25, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [25, 0] Generated Node #0,0,1: 92:[25, 0] Operation: 7-7=0 Exploring Operation: 7*7=49, Resulting Numbers: [25, 49] Generated Node #0,0,2: 92:[25, 49] Operation: 7*7=49 Exploring Operation: 25-7=18, Resulting Numbers: [7, 18] Generated Node #0,0,3: 92:[7, 18] Operation: 25-7=18 Moving to Node #0,0,0 Current State: 92:[25, 1], Operations: ['83-58=25', '7/7=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[25, 0], Operations: ['83-58=25', '7-7=0'] Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[25, 49], Operations: ['83-58=25', '7*7=49'] Exploring Operation: 25+49=74, Resulting Numbers: [74] 74,92 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 25*49=1225, Resulting Numbers: [1225] 1225,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[7, 18], Operations: ['83-58=25', '25-7=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,92 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[7, 83, 51], Operations: ['58-7=51'] Exploring Operation: 83-51=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 92:[7, 32] Operation: 83-51=32 Exploring Operation: 51-7=44, Resulting Numbers: [83, 44] Generated Node #0,1,1: 92:[83, 44] Operation: 51-7=44 Exploring Operation: 7+83=90, Resulting Numbers: [51, 90] Generated Node #0,1,2: 92:[51, 90] Operation: 7+83=90 Exploring Operation: 83-7=76, Resulting Numbers: [51, 76] Generated Node #0,1,3: 92:[51, 76] Operation: 83-7=76 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[51, 90], Operations: ['58-7=51', '7+83=90'] Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[83, 44], Operations: ['58-7=51', '51-7=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,92 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[7, 32], Operations: ['58-7=51', '83-51=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,92 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 92:[51, 76], Operations: ['58-7=51', '83-7=76'] Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,92 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[58, 7, 90], Operations: ['7+83=90'] Exploring Operation: 90-58=32, Resulting Numbers: [7, 32] Generated Node #0,2,0: 92:[7, 32] Operation: 90-58=32 Exploring Operation: 58-7=51, Resulting Numbers: [90, 51] Generated Node #0,2,1: 92:[90, 51] Operation: 58-7=51 Exploring Operation: 58+7=65, Resulting Numbers: [90, 65] Generated Node #0,2,2: 92:[90, 65] Operation: 58+7=65 Exploring Operation: 7+90=97, Resulting Numbers: [58, 97] Generated Node #0,2,3: 92:[58, 97] Operation: 7+90=97 Moving to Node #0,2,1 Current State: 92:[90, 51], Operations: ['7+83=90', '58-7=51'] Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[7, 32], Operations: ['7+83=90', '90-58=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[58, 97], Operations: ['7+83=90', '7+90=97'] Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 58+97=155, Resulting Numbers: [155] 155,92 unequal: No Solution Exploring Operation: 58*97=5626, Resulting Numbers: [5626] 5626,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[90, 65], Operations: ['7+83=90', '58+7=65'] Exploring Operation: 90+65=155, Resulting Numbers: [155] 155,92 unequal: No Solution Exploring Operation: 90*65=5850, Resulting Numbers: [5850] 5850,92 unequal: No Solution Exploring Operation: 90-65=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[7, 83, 51], Operations: ['58-7=51'] Exploring Operation: 83-51=32, Resulting Numbers: [7, 32] Generated Node #0,3,0: 92:[7, 32] Operation: 83-51=32 Exploring Operation: 51-7=44, Resulting Numbers: [83, 44] Generated Node #0,3,1: 92:[83, 44] Operation: 51-7=44 Exploring Operation: 7+83=90, Resulting Numbers: [51, 90] Generated Node #0,3,2: 92:[51, 90] Operation: 7+83=90 Exploring Operation: 83-7=76, Resulting Numbers: [51, 76] Generated Node #0,3,3: 92:[51, 76] Operation: 83-7=76 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[51, 90], Operations: ['58-7=51', '7+83=90'] Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,92 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[83, 44], Operations: ['58-7=51', '51-7=44'] Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,92 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[7, 32], Operations: ['58-7=51', '83-51=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[51, 76], Operations: ['58-7=51', '83-7=76'] Exploring Operation: 51+76=127, Resulting Numbers: [127] 127,92 unequal: No Solution Exploring Operation: 51*76=3876, Resulting Numbers: [3876] 3876,92 unequal: No Solution Exploring Operation: 76-51=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 81, 33, 55, 36 ]
82
[ "36-33=3", "81/3=27", "55+27=82" ]
Current State: 82:[81, 33, 55, 36], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [81, 55, 3] Generated Node #2: [81, 55, 3] from Operation: 36-33=3 Current State: 82:[81, 55, 3], Operations: ['36-33=3'] Exploring Operation: 81/3=27, Resulting Numbers: [55, 27] Generated Node #3: [55, 27] from Operation: 81/3=27 Current State: 82:[55, 27], Operations: ['36-33=3', '81/3=27'] Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[81, 33, 55, 36], Operations: [] Exploring Operation: 36-33=3, Resulting Numbers: [81, 55, 3] Generated Node #0,0: 82:[81, 55, 3] Operation: 36-33=3 Exploring Operation: 33+55=88, Resulting Numbers: [81, 36, 88] Generated Node #0,1: 82:[81, 36, 88] Operation: 33+55=88 Exploring Operation: 55+36=91, Resulting Numbers: [81, 33, 91] Generated Node #0,2: 82:[81, 33, 91] Operation: 55+36=91 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[81, 36, 88], Operations: ['33+55=88'] Exploring Operation: 88-81=7, Resulting Numbers: [36, 7] Generated Node #0,1,0: 82:[36, 7] Operation: 88-81=7 Exploring Operation: 81-36=45, Resulting Numbers: [88, 45] Generated Node #0,1,1: 82:[88, 45] Operation: 81-36=45 Exploring Operation: 88-36=52, Resulting Numbers: [81, 52] Generated Node #0,1,2: 82:[81, 52] Operation: 88-36=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[36, 7], Operations: ['33+55=88', '88-81=7'] Exploring Operation: 36+7=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 36*7=252, Resulting Numbers: [252] 252,82 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,82 unequal: No Solution No 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: 82:[88, 45], Operations: ['33+55=88', '81-36=45'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,82 unequal: No Solution Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,82 unequal: No Solution No 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: 82:[81, 52], Operations: ['33+55=88', '88-36=52'] Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,82 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: 82:[81, 55, 3], Operations: ['36-33=3'] Exploring Operation: 81-55=26, Resulting Numbers: [3, 26] Generated Node #0,0,0: 82:[3, 26] Operation: 81-55=26 Exploring Operation: 81+3=84, Resulting Numbers: [55, 84] Generated Node #0,0,1: 82:[55, 84] Operation: 81+3=84 Exploring Operation: 55-3=52, Resulting Numbers: [81, 52] Generated Node #0,0,2: 82:[81, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[81, 52], Operations: ['36-33=3', '55-3=52'] Exploring Operation: 81+52=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 81*52=4212, Resulting Numbers: [4212] 4212,82 unequal: No Solution Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,82 unequal: No Solution No 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: 82:[3, 26], Operations: ['36-33=3', '81-55=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,82 unequal: No Solution No 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: 82:[55, 84], Operations: ['36-33=3', '81+3=84'] Exploring Operation: 55+84=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 55*84=4620, Resulting Numbers: [4620] 4620,82 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: 82:[81, 33, 91], Operations: ['55+36=91'] Exploring Operation: 91-81=10, Resulting Numbers: [33, 10] Generated Node #0,2,0: 82:[33, 10] Operation: 91-81=10 Exploring Operation: 81-33=48, Resulting Numbers: [91, 48] Generated Node #0,2,1: 82:[91, 48] Operation: 81-33=48 Exploring Operation: 91-33=58, Resulting Numbers: [81, 58] Generated Node #0,2,2: 82:[81, 58] Operation: 91-33=58 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[33, 10], Operations: ['55+36=91', '91-81=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,82 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,82 unequal: No Solution No 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: 82:[91, 48], Operations: ['55+36=91', '81-33=48'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,82 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,82 unequal: No Solution No 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: 82:[81, 58], Operations: ['55+36=91', '91-33=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,82 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,82 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,82 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
[ 59, 23, 84, 33 ]
21
[ "59+33=92", "23*84=1932", "1932/92=21" ]
Current State: 21:[59, 23, 84, 33], Operations: [] Exploring Operation: 59+33=92, Resulting Numbers: [23, 84, 92] Generated Node #2: [23, 84, 92] from Operation: 59+33=92 Current State: 21:[23, 84, 92], Operations: ['59+33=92'] Exploring Operation: 23*84=1932, Resulting Numbers: [92, 1932] Generated Node #3: [92, 1932] from Operation: 23*84=1932 Current State: 21:[92, 1932], Operations: ['59+33=92', '23*84=1932'] Exploring Operation: 1932/92=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[59, 23, 84, 33], Operations: [] Exploring Operation: 84-59=25, Resulting Numbers: [23, 33, 25] Generated Node #0,0: 21:[23, 33, 25] Operation: 84-59=25 Exploring Operation: 84-33=51, Resulting Numbers: [59, 23, 51] Generated Node #0,1: 21:[59, 23, 51] Operation: 84-33=51 Exploring Operation: 59-33=26, Resulting Numbers: [23, 84, 26] Generated Node #0,2: 21:[23, 84, 26] Operation: 59-33=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[23, 33, 25], Operations: ['84-59=25'] Exploring Operation: 33-25=8, Resulting Numbers: [23, 8] Generated Node #0,0,0: 21:[23, 8] Operation: 33-25=8 Exploring Operation: 25-23=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 21:[33, 2] Operation: 25-23=2 Exploring Operation: 33-23=10, Resulting Numbers: [25, 10] Generated Node #0,0,2: 21:[25, 10] Operation: 33-23=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[23, 8], Operations: ['84-59=25', '33-25=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,21 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution No 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: 21:[25, 10], Operations: ['84-59=25', '33-23=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,21 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,21 unequal: No Solution No 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: 21:[33, 2], Operations: ['84-59=25', '25-23=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,21 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,21 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: 21:[59, 23, 51], Operations: ['84-33=51'] Exploring Operation: 59-23=36, Resulting Numbers: [51, 36] Generated Node #0,1,0: 21:[51, 36] Operation: 59-23=36 Exploring Operation: 51-23=28, Resulting Numbers: [59, 28] Generated Node #0,1,1: 21:[59, 28] Operation: 51-23=28 Exploring Operation: 59-51=8, Resulting Numbers: [23, 8] Generated Node #0,1,2: 21:[23, 8] Operation: 59-51=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[23, 8], Operations: ['84-33=51', '59-51=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,21 unequal: No Solution Exploring Operation: 23*8=184, Resulting Numbers: [184] 184,21 unequal: No Solution No 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: 21:[51, 36], Operations: ['84-33=51', '59-23=36'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,21 unequal: No Solution Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,21 unequal: No Solution No 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: 21:[59, 28], Operations: ['84-33=51', '51-23=28'] Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,21 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,21 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,21 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: 21:[23, 84, 26], Operations: ['59-33=26'] Exploring Operation: 84-23=61, Resulting Numbers: [26, 61] Generated Node #0,2,0: 21:[26, 61] Operation: 84-23=61 Exploring Operation: 26-23=3, Resulting Numbers: [84, 3] Generated Node #0,2,1: 21:[84, 3] Operation: 26-23=3 Exploring Operation: 84-26=58, Resulting Numbers: [23, 58] Generated Node #0,2,2: 21:[23, 58] Operation: 84-26=58 Moving to Node #0,2,2 Current State: 21:[23, 58], Operations: ['59-33=26', '84-26=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,21 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,21 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[26, 61], Operations: ['59-33=26', '84-23=61'] Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,21 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,21 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[84, 3], Operations: ['59-33=26', '26-23=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,21 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,21 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,21 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
[ 13, 85, 73, 86 ]
61
[ "13+85=98", "73+86=159", "159-98=61" ]
Current State: 61:[13, 85, 73, 86], Operations: [] Exploring Operation: 13+85=98, Resulting Numbers: [73, 86, 98] Generated Node #2: [73, 86, 98] from Operation: 13+85=98 Current State: 61:[73, 86, 98], Operations: ['13+85=98'] Exploring Operation: 73+86=159, Resulting Numbers: [98, 159] Generated Node #3: [98, 159] from Operation: 73+86=159 Current State: 61:[98, 159], Operations: ['13+85=98', '73+86=159'] Exploring Operation: 159-98=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[13, 85, 73, 86], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [73, 86, 72] Generated Node #0,0: 61:[73, 86, 72] Operation: 85-13=72 Exploring Operation: 86-13=73, Resulting Numbers: [85, 73, 73] Generated Node #0,1: 61:[85, 73, 73] Operation: 86-13=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[73, 86, 72], Operations: ['85-13=72'] Exploring Operation: 86-72=14, Resulting Numbers: [73, 14] Generated Node #0,0,0: 61:[73, 14] Operation: 86-72=14 Exploring Operation: 86-73=13, Resulting Numbers: [72, 13] Generated Node #0,0,1: 61:[72, 13] Operation: 86-73=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[73, 14], Operations: ['85-13=72', '86-72=14'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[72, 13], Operations: ['85-13=72', '86-73=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,61 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: 61:[85, 73, 73], Operations: ['86-13=73'] Exploring Operation: 85-73=12, Resulting Numbers: [73, 12] Generated Node #0,1,0: 61:[73, 12] Operation: 85-73=12 Exploring Operation: 85-73=12, Resulting Numbers: [73, 12] Generated Node #0,1,1: 61:[73, 12] Operation: 85-73=12 Moving to Node #0,1,0 Current State: 61:[73, 12], Operations: ['86-13=73', '85-73=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[13, 85, 73, 86], Operations: [] Exploring Operation: 86-13=73, Resulting Numbers: [85, 73, 73] Generated Node #0,1: 61:[85, 73, 73] Operation: 86-13=73 Moving to Node #0,1 Current State: 61:[85, 73, 73], Operations: ['86-13=73'] Exploring Operation: 85-73=12, Resulting Numbers: [73, 12] Generated Node #0,1,0: 61:[73, 12] Operation: 85-73=12 Moving to Node #0,1,0 Current State: 61:[73, 12], Operations: ['86-13=73', '85-73=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 12, 14, 4, 7 ]
94
[ "12*7=84", "14-4=10", "84+10=94" ]
Current State: 94:[12, 14, 4, 7], Operations: [] Exploring Operation: 12*7=84, Resulting Numbers: [14, 4, 84] Generated Node #2: [14, 4, 84] from Operation: 12*7=84 Current State: 94:[14, 4, 84], Operations: ['12*7=84'] Exploring Operation: 14-4=10, Resulting Numbers: [84, 10] Generated Node #3: [84, 10] from Operation: 14-4=10 Current State: 94:[84, 10], Operations: ['12*7=84', '14-4=10'] Exploring Operation: 84+10=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[12, 14, 4, 7], Operations: [] Exploring Operation: 14-7=7, Resulting Numbers: [12, 4, 7] Generated Node #0,0: 94:[12, 4, 7] Operation: 14-7=7 Exploring Operation: 14/7=2, Resulting Numbers: [12, 4, 2] Generated Node #0,1: 94:[12, 4, 2] Operation: 14/7=2 Exploring Operation: 12-7=5, Resulting Numbers: [14, 4, 5] Generated Node #0,2: 94:[14, 4, 5] Operation: 12-7=5 Exploring Operation: 14-12=2, Resulting Numbers: [4, 7, 2] Generated Node #0,3: 94:[4, 7, 2] Operation: 14-12=2 Exploring Operation: 14*7=98, Resulting Numbers: [12, 4, 98] Generated Node #0,4: 94:[12, 4, 98] Operation: 14*7=98 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[4, 7, 2], Operations: ['14-12=2'] Exploring Operation: 4+7=11, Resulting Numbers: [2, 11] Generated Node #0,3,0: 94:[2, 11] Operation: 4+7=11 Exploring Operation: 7-4=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 94:[2, 3] Operation: 7-4=3 Exploring Operation: 7-2=5, Resulting Numbers: [4, 5] Generated Node #0,3,2: 94:[4, 5] Operation: 7-2=5 Exploring Operation: 4-2=2, Resulting Numbers: [7, 2] Generated Node #0,3,3: 94:[7, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [7, 2] Generated Node #0,3,4: 94:[7, 2] Operation: 4/2=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 94:[2, 3], Operations: ['14-12=2', '7-4=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,94 unequal: No Solution No 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: 94:[4, 5], Operations: ['14-12=2', '7-2=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,94 unequal: No Solution No 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: 94:[7, 2], Operations: ['14-12=2', '4-2=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,94 unequal: No Solution No 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: 94:[7, 2], Operations: ['14-12=2', '4/2=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,94 unequal: No Solution No 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: 94:[2, 11], Operations: ['14-12=2', '4+7=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,94 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[12, 4, 2], Operations: ['14/7=2'] Exploring Operation: 12/4=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 94:[2, 3] Operation: 12/4=3 Exploring Operation: 12*4=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 94:[2, 48] Operation: 12*4=48 Exploring Operation: 12-4=8, Resulting Numbers: [2, 8] Generated Node #0,1,2: 94:[2, 8] Operation: 12-4=8 Exploring Operation: 12/2=6, Resulting Numbers: [4, 6] Generated Node #0,1,3: 94:[4, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [4, 10] Generated Node #0,1,4: 94:[4, 10] Operation: 12-2=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[2, 3], Operations: ['14/7=2', '12/4=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,94 unequal: No Solution No 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: 94:[2, 48], Operations: ['14/7=2', '12*4=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,94 unequal: No Solution No 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: 94:[2, 8], Operations: ['14/7=2', '12-4=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,94 unequal: No Solution No 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: 94:[4, 6], Operations: ['14/7=2', '12/2=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,94 unequal: No Solution No 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: 94:[4, 10], Operations: ['14/7=2', '12-2=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[12, 4, 98], Operations: ['14*7=98'] Exploring Operation: 12/4=3, Resulting Numbers: [98, 3] Generated Node #0,4,0: 94:[98, 3] Operation: 12/4=3 Exploring Operation: 98-12=86, Resulting Numbers: [4, 86] Generated Node #0,4,1: 94:[4, 86] Operation: 98-12=86 Exploring Operation: 12*4=48, Resulting Numbers: [98, 48] Generated Node #0,4,2: 94:[98, 48] Operation: 12*4=48 Exploring Operation: 98-4=94, Resulting Numbers: [12, 94] Generated Node #0,4,3: 94:[12, 94] Operation: 98-4=94 Exploring Operation: 12-4=8, Resulting Numbers: [98, 8] Generated Node #0,4,4: 94:[98, 8] Operation: 12-4=8 Moving to Node #0,4,0 Current State: 94:[98, 3], Operations: ['14*7=98', '12/4=3'] Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 98*3=294, Resulting Numbers: [294] 294,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[98, 48], Operations: ['14*7=98', '12*4=48'] Exploring Operation: 98*48=4704, Resulting Numbers: [4704] 4704,94 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 98+48=146, Resulting Numbers: [146] 146,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[4, 86], Operations: ['14*7=98', '98-12=86'] Exploring Operation: 4*86=344, Resulting Numbers: [344] 344,94 unequal: No Solution Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[12, 94], Operations: ['14*7=98', '98-4=94'] Exploring Operation: 94-12=82, Resulting Numbers: [82] 82,94 unequal: No Solution Exploring Operation: 12+94=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 12*94=1128, Resulting Numbers: [1128] 1128,94 unequal: No Solution Moving to Node #0,4,4 Current State: 94:[98, 8], Operations: ['14*7=98', '12-4=8'] Exploring Operation: 98+8=106, Resulting Numbers: [106] 106,94 unequal: No Solution Exploring Operation: 98*8=784, Resulting Numbers: [784] 784,94 unequal: No Solution Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,94 unequal: No Solution No 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: 94:[12, 4, 7], Operations: ['14-7=7'] Exploring Operation: 12-7=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 94:[4, 5] Operation: 12-7=5 Exploring Operation: 7-4=3, Resulting Numbers: [12, 3] Generated Node #0,0,1: 94:[12, 3] Operation: 7-4=3 Exploring Operation: 12/4=3, Resulting Numbers: [7, 3] Generated Node #0,0,2: 94:[7, 3] Operation: 12/4=3 Exploring Operation: 12*4=48, Resulting Numbers: [7, 48] Generated Node #0,0,3: 94:[7, 48] Operation: 12*4=48 Exploring Operation: 12-4=8, Resulting Numbers: [7, 8] Generated Node #0,0,4: 94:[7, 8] Operation: 12-4=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[4, 5], Operations: ['14-7=7', '12-7=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,94 unequal: No Solution No 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: 94:[7, 3], Operations: ['14-7=7', '12/4=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,94 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,94 unequal: No Solution No 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: 94:[7, 48], Operations: ['14-7=7', '12*4=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,94 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,94 unequal: No Solution No 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: 94:[12, 3], Operations: ['14-7=7', '7-4=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,94 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,94 unequal: No Solution No 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: 94:[7, 8], Operations: ['14-7=7', '12-4=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[14, 4, 5], Operations: ['12-7=5'] Exploring Operation: 14+4=18, Resulting Numbers: [5, 18] Generated Node #0,2,0: 94:[5, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [5, 10] Generated Node #0,2,1: 94:[5, 10] Operation: 14-4=10 Exploring Operation: 5-4=1, Resulting Numbers: [14, 1] Generated Node #0,2,2: 94:[14, 1] Operation: 5-4=1 Exploring Operation: 14-5=9, Resulting Numbers: [4, 9] Generated Node #0,2,3: 94:[4, 9] Operation: 14-5=9 Exploring Operation: 14*4=56, Resulting Numbers: [5, 56] Generated Node #0,2,4: 94:[5, 56] Operation: 14*4=56 Moving to Node #0,2,3 Current State: 94:[4, 9], Operations: ['12-7=5', '14-5=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[5, 10], Operations: ['12-7=5', '14-4=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,2,4 Current State: 94:[5, 56], Operations: ['12-7=5', '14*4=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[14, 1], Operations: ['12-7=5', '5-4=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[5, 18], Operations: ['12-7=5', '14+4=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,94 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,94 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
[ 5, 25, 26, 3 ]
16
[ "5+25=30", "30/3=10", "26-10=16" ]
Current State: 16:[5, 25, 26, 3], Operations: [] Exploring Operation: 5+25=30, Resulting Numbers: [26, 3, 30] Generated Node #2: [26, 3, 30] from Operation: 5+25=30 Current State: 16:[26, 3, 30], Operations: ['5+25=30'] Exploring Operation: 30/3=10, Resulting Numbers: [26, 10] Generated Node #3: [26, 10] from Operation: 30/3=10 Current State: 16:[26, 10], Operations: ['5+25=30', '30/3=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 25, 26, 3], Operations: [] Exploring Operation: 25-5=20, Resulting Numbers: [26, 3, 20] Generated Node #0,0: 16:[26, 3, 20] Operation: 25-5=20 Exploring Operation: 25/5=5, Resulting Numbers: [26, 3, 5] Generated Node #0,1: 16:[26, 3, 5] Operation: 25/5=5 Exploring Operation: 26-5=21, Resulting Numbers: [25, 3, 21] Generated Node #0,2: 16:[25, 3, 21] Operation: 26-5=21 Exploring Operation: 25-3=22, Resulting Numbers: [5, 26, 22] Generated Node #0,3: 16:[5, 26, 22] Operation: 25-3=22 Exploring Operation: 26-25=1, Resulting Numbers: [5, 3, 1] Generated Node #0,4: 16:[5, 3, 1] Operation: 26-25=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 16:[5, 3, 1], Operations: ['26-25=1'] Exploring Operation: 5+3=8, Resulting Numbers: [1, 8] Generated Node #0,4,0: 16:[1, 8] Operation: 5+3=8 Exploring Operation: 5-3=2, Resulting Numbers: [1, 2] Generated Node #0,4,1: 16:[1, 2] Operation: 5-3=2 Exploring Operation: 5-1=4, Resulting Numbers: [3, 4] Generated Node #0,4,2: 16:[3, 4] Operation: 5-1=4 Exploring Operation: 3+1=4, Resulting Numbers: [5, 4] Generated Node #0,4,3: 16:[5, 4] Operation: 3+1=4 Exploring Operation: 3-1=2, Resulting Numbers: [5, 2] Generated Node #0,4,4: 16:[5, 2] Operation: 3-1=2 Moving to Node #0,4,0 Current State: 16:[1, 8], Operations: ['26-25=1', '5+3=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[3, 4], Operations: ['26-25=1', '5-1=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[5, 2], Operations: ['26-25=1', '3-1=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[1, 2], Operations: ['26-25=1', '5-3=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[5, 4], Operations: ['26-25=1', '3+1=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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,1 Current State: 16:[26, 3, 5], Operations: ['25/5=5'] Exploring Operation: 26-5=21, Resulting Numbers: [3, 21] Generated Node #0,1,0: 16:[3, 21] Operation: 26-5=21 Exploring Operation: 3+5=8, Resulting Numbers: [26, 8] Generated Node #0,1,1: 16:[26, 8] Operation: 3+5=8 Exploring Operation: 26-3=23, Resulting Numbers: [5, 23] Generated Node #0,1,2: 16:[5, 23] Operation: 26-3=23 Exploring Operation: 5-3=2, Resulting Numbers: [26, 2] Generated Node #0,1,3: 16:[26, 2] Operation: 5-3=2 Exploring Operation: 3*5=15, Resulting Numbers: [26, 15] Generated Node #0,1,4: 16:[26, 15] Operation: 3*5=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 16:[3, 21], Operations: ['25/5=5', '26-5=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,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,1,2 Current State: 16:[5, 23], Operations: ['25/5=5', '26-3=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,16 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,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,1,1 Current State: 16:[26, 8], Operations: ['25/5=5', '3+5=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,16 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,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,1,3 Current State: 16:[26, 2], Operations: ['25/5=5', '5-3=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,16 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,16 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,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,1,4 Current State: 16:[26, 15], Operations: ['25/5=5', '3*5=15'] Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,16 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,16 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[26, 3, 20], Operations: ['25-5=20'] Exploring Operation: 3+20=23, Resulting Numbers: [26, 23] Generated Node #0,0,0: 16:[26, 23] Operation: 3+20=23 Exploring Operation: 26+3=29, Resulting Numbers: [20, 29] Generated Node #0,0,1: 16:[20, 29] Operation: 26+3=29 Exploring Operation: 20-3=17, Resulting Numbers: [26, 17] Generated Node #0,0,2: 16:[26, 17] Operation: 20-3=17 Exploring Operation: 26-20=6, Resulting Numbers: [3, 6] Generated Node #0,0,3: 16:[3, 6] Operation: 26-20=6 Exploring Operation: 26-3=23, Resulting Numbers: [20, 23] Generated Node #0,0,4: 16:[20, 23] Operation: 26-3=23 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 16:[3, 6], Operations: ['25-5=20', '26-20=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,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,0,2 Current State: 16:[26, 17], Operations: ['25-5=20', '20-3=17'] Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,16 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,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,0,4 Current State: 16:[20, 23], Operations: ['25-5=20', '26-3=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,16 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,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,0,0 Current State: 16:[26, 23], Operations: ['25-5=20', '3+20=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,16 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,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,0,1 Current State: 16:[20, 29], Operations: ['25-5=20', '26+3=29'] Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,16 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[25, 3, 21], Operations: ['26-5=21'] Exploring Operation: 25-3=22, Resulting Numbers: [21, 22] Generated Node #0,2,0: 16:[21, 22] Operation: 25-3=22 Exploring Operation: 21/3=7, Resulting Numbers: [25, 7] Generated Node #0,2,1: 16:[25, 7] Operation: 21/3=7 Exploring Operation: 25+3=28, Resulting Numbers: [21, 28] Generated Node #0,2,2: 16:[21, 28] Operation: 25+3=28 Exploring Operation: 25-21=4, Resulting Numbers: [3, 4] Generated Node #0,2,3: 16:[3, 4] Operation: 25-21=4 Exploring Operation: 21-3=18, Resulting Numbers: [25, 18] Generated Node #0,2,4: 16:[25, 18] Operation: 21-3=18 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 16:[3, 4], Operations: ['26-5=21', '25-21=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,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:[25, 7], Operations: ['26-5=21', '21/3=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,16 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,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:[21, 22], Operations: ['26-5=21', '25-3=22'] Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,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,4 Current State: 16:[25, 18], Operations: ['26-5=21', '21-3=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,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,2 Current State: 16:[21, 28], Operations: ['26-5=21', '25+3=28'] Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[5, 26, 22], Operations: ['25-3=22'] Exploring Operation: 26-22=4, Resulting Numbers: [5, 4] Generated Node #0,3,0: 16:[5, 4] Operation: 26-22=4 Exploring Operation: 5+22=27, Resulting Numbers: [26, 27] Generated Node #0,3,1: 16:[26, 27] Operation: 5+22=27 Exploring Operation: 22-5=17, Resulting Numbers: [26, 17] Generated Node #0,3,2: 16:[26, 17] Operation: 22-5=17 Exploring Operation: 5+26=31, Resulting Numbers: [22, 31] Generated Node #0,3,3: 16:[22, 31] Operation: 5+26=31 Exploring Operation: 26-5=21, Resulting Numbers: [22, 21] Generated Node #0,3,4: 16:[22, 21] Operation: 26-5=21 Moving to Node #0,3,0 Current State: 16:[5, 4], Operations: ['25-3=22', '26-22=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,16 unequal: No Solution Moving to Node #0,3,4 Current State: 16:[22, 21], Operations: ['25-3=22', '26-5=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,16 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,16 unequal: No Solution Moving to Node #0,3,2 Current State: 16:[26, 17], Operations: ['25-3=22', '22-5=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,16 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,16 unequal: No Solution Moving to Node #0,3,1 Current State: 16:[26, 27], Operations: ['25-3=22', '5+22=27'] Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,16 unequal: No Solution Moving to Node #0,3,3 Current State: 16:[22, 31], Operations: ['25-3=22', '5+26=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,16 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,16 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,16 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
[ 55, 34, 57, 19 ]
63
[ "55-34=21", "57/19=3", "21*3=63" ]
Current State: 63:[55, 34, 57, 19], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [57, 19, 21] Generated Node #2: [57, 19, 21] from Operation: 55-34=21 Current State: 63:[57, 19, 21], Operations: ['55-34=21'] Exploring Operation: 57/19=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 57/19=3 Current State: 63:[21, 3], Operations: ['55-34=21', '57/19=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[55, 34, 57, 19], Operations: [] Exploring Operation: 57-34=23, Resulting Numbers: [55, 19, 23] Generated Node #0,0: 63:[55, 19, 23] Operation: 57-34=23 Exploring Operation: 55-34=21, Resulting Numbers: [57, 19, 21] Generated Node #0,1: 63:[57, 19, 21] Operation: 55-34=21 Moving to Node #0,1 Current State: 63:[57, 19, 21], Operations: ['55-34=21'] Exploring Operation: 57/19=3, Resulting Numbers: [21, 3] Generated Node #0,1,0: 63:[21, 3] Operation: 57/19=3 Exploring Operation: 21-19=2, Resulting Numbers: [57, 2] Generated Node #0,1,1: 63:[57, 2] Operation: 21-19=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[21, 3], Operations: ['55-34=21', '57/19=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[55, 34, 57, 19], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [57, 19, 21] Generated Node #0,1: 63:[57, 19, 21] Operation: 55-34=21 Moving to Node #0,1 Current State: 63:[57, 19, 21], Operations: ['55-34=21'] Exploring Operation: 57/19=3, Resulting Numbers: [21, 3] Generated Node #0,1,0: 63:[21, 3] Operation: 57/19=3 Moving to Node #0,1,0 Current State: 63:[21, 3], Operations: ['55-34=21', '57/19=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 66, 54, 13, 6 ]
59
[ "66-54=12", "6*12=72", "72-13=59" ]
Current State: 59:[66, 54, 13, 6], Operations: [] Exploring Operation: 66-54=12, Resulting Numbers: [13, 6, 12] Generated Node #2: [13, 6, 12] from Operation: 66-54=12 Current State: 59:[13, 6, 12], Operations: ['66-54=12'] Exploring Operation: 6*12=72, Resulting Numbers: [13, 72] Generated Node #3: [13, 72] from Operation: 6*12=72 Current State: 59:[13, 72], Operations: ['66-54=12', '6*12=72'] Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[66, 54, 13, 6], Operations: [] Exploring Operation: 13+6=19, Resulting Numbers: [66, 54, 19] Generated Node #0,0: 59:[66, 54, 19] Operation: 13+6=19 Exploring Operation: 13*6=78, Resulting Numbers: [66, 54, 78] Generated Node #0,1: 59:[66, 54, 78] Operation: 13*6=78 Exploring Operation: 66-6=60, Resulting Numbers: [54, 13, 60] Generated Node #0,2: 59:[54, 13, 60] Operation: 66-6=60 Moving to Node #0,1 Current State: 59:[66, 54, 78], Operations: ['13*6=78'] Exploring Operation: 66-54=12, Resulting Numbers: [78, 12] Generated Node #0,1,0: 59:[78, 12] Operation: 66-54=12 Exploring Operation: 78-54=24, Resulting Numbers: [66, 24] Generated Node #0,1,1: 59:[66, 24] Operation: 78-54=24 Exploring Operation: 78-66=12, Resulting Numbers: [54, 12] Generated Node #0,1,2: 59:[54, 12] Operation: 78-66=12 Moving to Node #0,0 Current State: 59:[66, 54, 19], Operations: ['13+6=19'] Exploring Operation: 66-19=47, Resulting Numbers: [54, 47] Generated Node #0,0,0: 59:[54, 47] Operation: 66-19=47 Exploring Operation: 54+19=73, Resulting Numbers: [66, 73] Generated Node #0,0,1: 59:[66, 73] Operation: 54+19=73 Exploring Operation: 66+19=85, Resulting Numbers: [54, 85] Generated Node #0,0,2: 59:[54, 85] Operation: 66+19=85 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[54, 47], Operations: ['13+6=19', '66-19=47'] Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,59 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,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:[66, 73], Operations: ['13+6=19', '54+19=73'] Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,59 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,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:[54, 85], Operations: ['13+6=19', '66+19=85'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 54+85=139, Resulting Numbers: [139] 139,59 unequal: No Solution Exploring Operation: 54*85=4590, Resulting Numbers: [4590] 4590,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:[54, 13, 60], Operations: ['66-6=60'] Exploring Operation: 60-13=47, Resulting Numbers: [54, 47] Generated Node #0,2,0: 59:[54, 47] Operation: 60-13=47 Exploring Operation: 54+13=67, Resulting Numbers: [60, 67] Generated Node #0,2,1: 59:[60, 67] Operation: 54+13=67 Exploring Operation: 54-13=41, Resulting Numbers: [60, 41] Generated Node #0,2,2: 59:[60, 41] Operation: 54-13=41 Moving to Node #0,2,1 Current State: 59:[60, 67], Operations: ['66-6=60', '54+13=67'] Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,59 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,59 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[54, 47], Operations: ['66-6=60', '60-13=47'] Exploring Operation: 54*47=2538, Resulting Numbers: [2538] 2538,59 unequal: No Solution Exploring Operation: 54+47=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[60, 41], Operations: ['66-6=60', '54-13=41'] Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,59 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[66, 24], Operations: ['13*6=78', '78-54=24'] Exploring Operation: 66*24=1584, Resulting Numbers: [1584] 1584,59 unequal: No Solution Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[54, 12], Operations: ['13*6=78', '78-66=12'] Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,59 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[78, 12], Operations: ['13*6=78', '66-54=12'] Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,59 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,59 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 55, 47, 52, 35 ]
79
[ "55-47=8", "52+35=87", "87-8=79" ]
Current State: 79:[55, 47, 52, 35], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [52, 35, 8] Generated Node #2: [52, 35, 8] from Operation: 55-47=8 Current State: 79:[52, 35, 8], Operations: ['55-47=8'] Exploring Operation: 52+35=87, Resulting Numbers: [8, 87] Generated Node #3: [8, 87] from Operation: 52+35=87 Current State: 79:[8, 87], Operations: ['55-47=8', '52+35=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[55, 47, 52, 35], Operations: [] Exploring Operation: 47+35=82, Resulting Numbers: [55, 52, 82] Generated Node #0,0: 79:[55, 52, 82] Operation: 47+35=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[55, 52, 82], Operations: ['47+35=82'] Exploring Operation: 55+52=107, Resulting Numbers: [82, 107] Generated Node #0,0,0: 79:[82, 107] Operation: 55+52=107 Moving to Node #0,0,0 Current State: 79:[82, 107], Operations: ['47+35=82', '55+52=107'] Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,79 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
[ 66, 20, 87, 77 ]
64
[ "87-77=10", "20/10=2", "66-2=64" ]
Current State: 64:[66, 20, 87, 77], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [66, 20, 10] Generated Node #2: [66, 20, 10] from Operation: 87-77=10 Current State: 64:[66, 20, 10], Operations: ['87-77=10'] Exploring Operation: 20/10=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 20/10=2 Current State: 64:[66, 2], Operations: ['87-77=10', '20/10=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[66, 20, 87, 77], Operations: [] Exploring Operation: 87-20=67, Resulting Numbers: [66, 77, 67] Generated Node #0,0: 64:[66, 77, 67] Operation: 87-20=67 Exploring Operation: 87-77=10, Resulting Numbers: [66, 20, 10] Generated Node #0,1: 64:[66, 20, 10] Operation: 87-77=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[66, 20, 10], Operations: ['87-77=10'] Exploring Operation: 20+10=30, Resulting Numbers: [66, 30] Generated Node #0,1,0: 64:[66, 30] Operation: 20+10=30 Exploring Operation: 20/10=2, Resulting Numbers: [66, 2] Generated Node #0,1,1: 64:[66, 2] Operation: 20/10=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[66, 2], Operations: ['87-77=10', '20/10=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[66, 20, 87, 77], Operations: [] Exploring Operation: 87-77=10, Resulting Numbers: [66, 20, 10] Generated Node #0,1: 64:[66, 20, 10] Operation: 87-77=10 Moving to Node #0,1 Current State: 64:[66, 20, 10], Operations: ['87-77=10'] Exploring Operation: 20/10=2, Resulting Numbers: [66, 2] Generated Node #0,1,1: 64:[66, 2] Operation: 20/10=2 Moving to Node #0,1,1 Current State: 64:[66, 2], Operations: ['87-77=10', '20/10=2'] Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 30, 66, 49, 10 ]
20
[ "30/10=3", "66-49=17", "3+17=20" ]
Current State: 20:[30, 66, 49, 10], Operations: [] Exploring Operation: 30/10=3, Resulting Numbers: [66, 49, 3] Generated Node #2: [66, 49, 3] from Operation: 30/10=3 Current State: 20:[66, 49, 3], Operations: ['30/10=3'] Exploring Operation: 66-49=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 66-49=17 Current State: 20:[3, 17], Operations: ['30/10=3', '66-49=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[30, 66, 49, 10], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [30, 10, 17] Generated Node #0,0: 20:[30, 10, 17] Operation: 66-49=17 Exploring Operation: 66-30=36, Resulting Numbers: [49, 10, 36] Generated Node #0,1: 20:[49, 10, 36] Operation: 66-30=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[30, 10, 17], Operations: ['66-49=17'] Exploring Operation: 30-17=13, Resulting Numbers: [10, 13] Generated Node #0,0,0: 20:[10, 13] Operation: 30-17=13 Exploring Operation: 30-10=20, Resulting Numbers: [17, 20] Generated Node #0,0,1: 20:[17, 20] Operation: 30-10=20 Moving to Node #0,0,0 Current State: 20:[10, 13], Operations: ['66-49=17', '30-17=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[17, 20], Operations: ['66-49=17', '30-10=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,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 Current State: 20:[49, 10, 36], Operations: ['66-30=36'] Exploring Operation: 49-10=39, Resulting Numbers: [36, 39] Generated Node #0,1,0: 20:[36, 39] Operation: 49-10=39 Exploring Operation: 49-36=13, Resulting Numbers: [10, 13] Generated Node #0,1,1: 20:[10, 13] Operation: 49-36=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[10, 13], Operations: ['66-30=36', '49-36=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[36, 39], Operations: ['66-30=36', '49-10=39'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 43, 26, 17 ]
71
[ "34/17=2", "43+26=69", "2+69=71" ]
Current State: 71:[34, 43, 26, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [43, 26, 2] Generated Node #2: [43, 26, 2] from Operation: 34/17=2 Current State: 71:[43, 26, 2], Operations: ['34/17=2'] Exploring Operation: 43+26=69, Resulting Numbers: [2, 69] Generated Node #3: [2, 69] from Operation: 43+26=69 Current State: 71:[2, 69], Operations: ['34/17=2', '43+26=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[34, 43, 26, 17], Operations: [] Exploring Operation: 43+17=60, Resulting Numbers: [34, 26, 60] Generated Node #0,0: 71:[34, 26, 60] Operation: 43+17=60 Exploring Operation: 34+17=51, Resulting Numbers: [43, 26, 51] Generated Node #0,1: 71:[43, 26, 51] Operation: 34+17=51 Exploring Operation: 34+26=60, Resulting Numbers: [43, 17, 60] Generated Node #0,2: 71:[43, 17, 60] Operation: 34+26=60 Exploring Operation: 26+17=43, Resulting Numbers: [34, 43, 43] Generated Node #0,3: 71:[34, 43, 43] Operation: 26+17=43 Exploring Operation: 43+26=69, Resulting Numbers: [34, 17, 69] Generated Node #0,4: 71:[34, 17, 69] Operation: 43+26=69 Moving to Node #0,0 Current State: 71:[34, 26, 60], Operations: ['43+17=60'] Exploring Operation: 26+60=86, Resulting Numbers: [34, 86] Generated Node #0,0,0: 71:[34, 86] Operation: 26+60=86 Exploring Operation: 34+26=60, Resulting Numbers: [60, 60] Generated Node #0,0,1: 71:[60, 60] Operation: 34+26=60 Exploring Operation: 34-26=8, Resulting Numbers: [60, 8] Generated Node #0,0,2: 71:[60, 8] Operation: 34-26=8 Exploring Operation: 60-26=34, Resulting Numbers: [34, 34] Generated Node #0,0,3: 71:[34, 34] Operation: 60-26=34 Exploring Operation: 34+60=94, Resulting Numbers: [26, 94] Generated Node #0,0,4: 71:[26, 94] Operation: 34+60=94 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[60, 60], Operations: ['43+17=60', '34+26=60'] Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,71 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[34, 86], Operations: ['43+17=60', '26+60=86'] Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 34*86=2924, Resulting Numbers: [2924] 2924,71 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[26, 94], Operations: ['43+17=60', '34+60=94'] Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,71 unequal: No Solution Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[60, 8], Operations: ['43+17=60', '34-26=8'] Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[34, 34], Operations: ['43+17=60', '60-26=34'] Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,71 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 71:[43, 17, 60], Operations: ['34+26=60'] Exploring Operation: 43-17=26, Resulting Numbers: [60, 26] Generated Node #0,2,0: 71:[60, 26] Operation: 43-17=26 Exploring Operation: 43+60=103, Resulting Numbers: [17, 103] Generated Node #0,2,1: 71:[17, 103] Operation: 43+60=103 Exploring Operation: 60-17=43, Resulting Numbers: [43, 43] Generated Node #0,2,2: 71:[43, 43] Operation: 60-17=43 Exploring Operation: 17+60=77, Resulting Numbers: [43, 77] Generated Node #0,2,3: 71:[43, 77] Operation: 17+60=77 Exploring Operation: 43+17=60, Resulting Numbers: [60, 60] Generated Node #0,2,4: 71:[60, 60] Operation: 43+17=60 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 71:[60, 60], Operations: ['34+26=60', '43+17=60'] Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,71 unequal: No Solution Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[43, 77], Operations: ['34+26=60', '17+60=77'] Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,71 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[60, 26], Operations: ['34+26=60', '43-17=26'] Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,71 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[43, 43], Operations: ['34+26=60', '60-17=43'] Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,71 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[17, 103], Operations: ['34+26=60', '43+60=103'] Exploring Operation: 103-17=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 17*103=1751, Resulting Numbers: [1751] 1751,71 unequal: No Solution Exploring Operation: 17+103=120, Resulting Numbers: [120] 120,71 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: 71:[34, 17, 69], Operations: ['43+26=69'] Exploring Operation: 69-17=52, Resulting Numbers: [34, 52] Generated Node #0,4,0: 71:[34, 52] Operation: 69-17=52 Exploring Operation: 34-17=17, Resulting Numbers: [69, 17] Generated Node #0,4,1: 71:[69, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [69, 2] Generated Node #0,4,2: 71:[69, 2] Operation: 34/17=2 Exploring Operation: 17+69=86, Resulting Numbers: [34, 86] Generated Node #0,4,3: 71:[34, 86] Operation: 17+69=86 Exploring Operation: 34+17=51, Resulting Numbers: [69, 51] Generated Node #0,4,4: 71:[69, 51] Operation: 34+17=51 Moving to Node #0,1 Current State: 71:[43, 26, 51], Operations: ['34+17=51'] Exploring Operation: 43+26=69, Resulting Numbers: [51, 69] Generated Node #0,1,0: 71:[51, 69] Operation: 43+26=69 Exploring Operation: 43-26=17, Resulting Numbers: [51, 17] Generated Node #0,1,1: 71:[51, 17] Operation: 43-26=17 Exploring Operation: 51-26=25, Resulting Numbers: [43, 25] Generated Node #0,1,2: 71:[43, 25] Operation: 51-26=25 Exploring Operation: 43+51=94, Resulting Numbers: [26, 94] Generated Node #0,1,3: 71:[26, 94] Operation: 43+51=94 Exploring Operation: 26+51=77, Resulting Numbers: [43, 77] Generated Node #0,1,4: 71:[43, 77] Operation: 26+51=77 Moving to Node #0,3 Current State: 71:[34, 43, 43], Operations: ['26+17=43'] Exploring Operation: 34+43=77, Resulting Numbers: [43, 77] Generated Node #0,3,0: 71:[43, 77] Operation: 34+43=77 Exploring Operation: 43-34=9, Resulting Numbers: [43, 9] Generated Node #0,3,1: 71:[43, 9] Operation: 43-34=9 Exploring Operation: 43-34=9, Resulting Numbers: [43, 9] Generated Node #0,3,2: 71:[43, 9] Operation: 43-34=9 Exploring Operation: 43+43=86, Resulting Numbers: [34, 86] Generated Node #0,3,3: 71:[34, 86] Operation: 43+43=86 Exploring Operation: 34+43=77, Resulting Numbers: [43, 77] Generated Node #0,3,4: 71:[43, 77] Operation: 34+43=77 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[43, 77], Operations: ['26+17=43', '34+43=77'] Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,71 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 71:[43, 77], Operations: ['26+17=43', '34+43=77'] Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,71 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[34, 86], Operations: ['26+17=43', '43+43=86'] Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 34*86=2924, Resulting Numbers: [2924] 2924,71 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[43, 9], Operations: ['26+17=43', '43-34=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[43, 9], Operations: ['26+17=43', '43-34=9'] Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 43+9=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 43*9=387, Resulting Numbers: [387] 387,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 71:[69, 51], Operations: ['43+26=69', '34+17=51'] Exploring Operation: 69+51=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 69*51=3519, Resulting Numbers: [3519] 3519,71 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[51, 69], Operations: ['34+17=51', '43+26=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,71 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[43, 77], Operations: ['34+17=51', '26+51=77'] Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,71 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,71 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[34, 86], Operations: ['43+26=69', '17+69=86'] Exploring Operation: 34*86=2924, Resulting Numbers: [2924] 2924,71 unequal: No Solution Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,71 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[34, 52], Operations: ['43+26=69', '69-17=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[69, 17], Operations: ['43+26=69', '34-17=17'] Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 69+17=86, Resulting Numbers: [86] 86,71 unequal: No Solution Exploring Operation: 69*17=1173, Resulting Numbers: [1173] 1173,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[26, 94], Operations: ['34+17=51', '43+51=94'] Exploring Operation: 26*94=2444, Resulting Numbers: [2444] 2444,71 unequal: No Solution Exploring Operation: 94-26=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 26+94=120, Resulting Numbers: [120] 120,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[69, 2], Operations: ['43+26=69', '34/17=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[34, 43, 26, 17], Operations: [] Exploring Operation: 43+26=69, Resulting Numbers: [34, 17, 69] Generated Node #0,4: 71:[34, 17, 69] Operation: 43+26=69 Moving to Node #0,4 Current State: 71:[34, 17, 69], Operations: ['43+26=69'] Exploring Operation: 34/17=2, Resulting Numbers: [69, 2] Generated Node #0,4,2: 71:[69, 2] Operation: 34/17=2 Moving to Node #0,4,2 Current State: 71:[69, 2], Operations: ['43+26=69', '34/17=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.907986
hs_5
sum_heuristic
[ 55, 98, 93, 83 ]
94
[ "98-93=5", "55/5=11", "83+11=94" ]
Current State: 94:[55, 98, 93, 83], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [55, 83, 5] Generated Node #2: [55, 83, 5] from Operation: 98-93=5 Current State: 94:[55, 83, 5], Operations: ['98-93=5'] Exploring Operation: 55/5=11, Resulting Numbers: [83, 11] Generated Node #3: [83, 11] from Operation: 55/5=11 Current State: 94:[83, 11], Operations: ['98-93=5', '55/5=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[55, 98, 93, 83], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [93, 83, 43] Generated Node #0,0: 94:[93, 83, 43] Operation: 98-55=43 Exploring Operation: 98-83=15, Resulting Numbers: [55, 93, 15] Generated Node #0,1: 94:[55, 93, 15] Operation: 98-83=15 Exploring Operation: 93-83=10, Resulting Numbers: [55, 98, 10] Generated Node #0,2: 94:[55, 98, 10] Operation: 93-83=10 Exploring Operation: 98-93=5, Resulting Numbers: [55, 83, 5] Generated Node #0,3: 94:[55, 83, 5] Operation: 98-93=5 Moving to Node #0,0 Current State: 94:[93, 83, 43], Operations: ['98-55=43'] Exploring Operation: 93-83=10, Resulting Numbers: [43, 10] Generated Node #0,0,0: 94:[43, 10] Operation: 93-83=10 Exploring Operation: 83-43=40, Resulting Numbers: [93, 40] Generated Node #0,0,1: 94:[93, 40] Operation: 83-43=40 Exploring Operation: 83+43=126, Resulting Numbers: [93, 126] Generated Node #0,0,2: 94:[93, 126] Operation: 83+43=126 Exploring Operation: 93-43=50, Resulting Numbers: [83, 50] Generated Node #0,0,3: 94:[83, 50] Operation: 93-43=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[93, 40], Operations: ['98-55=43', '83-43=40'] Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,94 unequal: No Solution No 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: 94:[43, 10], Operations: ['98-55=43', '93-83=10'] Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,94 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,94 unequal: No Solution No 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: 94:[83, 50], Operations: ['98-55=43', '93-43=50'] Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 83*50=4150, Resulting Numbers: [4150] 4150,94 unequal: No Solution Exploring Operation: 83+50=133, Resulting Numbers: [133] 133,94 unequal: No Solution No 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: 94:[93, 126], Operations: ['98-55=43', '83+43=126'] Exploring Operation: 93+126=219, Resulting Numbers: [219] 219,94 unequal: No Solution Exploring Operation: 93*126=11718, Resulting Numbers: [11718] 11718,94 unequal: No Solution Exploring Operation: 126-93=33, Resulting Numbers: [33] 33,94 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: 94:[55, 98, 10], Operations: ['93-83=10'] Exploring Operation: 55-10=45, Resulting Numbers: [98, 45] Generated Node #0,2,0: 94:[98, 45] Operation: 55-10=45 Exploring Operation: 98-55=43, Resulting Numbers: [10, 43] Generated Node #0,2,1: 94:[10, 43] Operation: 98-55=43 Exploring Operation: 98-10=88, Resulting Numbers: [55, 88] Generated Node #0,2,2: 94:[55, 88] Operation: 98-10=88 Exploring Operation: 55+10=65, Resulting Numbers: [98, 65] Generated Node #0,2,3: 94:[98, 65] Operation: 55+10=65 Moving to Node #0,3 Current State: 94:[55, 83, 5], Operations: ['98-93=5'] Exploring Operation: 55-5=50, Resulting Numbers: [83, 50] Generated Node #0,3,0: 94:[83, 50] Operation: 55-5=50 Exploring Operation: 83+5=88, Resulting Numbers: [55, 88] Generated Node #0,3,1: 94:[55, 88] Operation: 83+5=88 Exploring Operation: 83-55=28, Resulting Numbers: [5, 28] Generated Node #0,3,2: 94:[5, 28] Operation: 83-55=28 Exploring Operation: 55/5=11, Resulting Numbers: [83, 11] Generated Node #0,3,3: 94:[83, 11] Operation: 55/5=11 Moving to Node #0,1 Current State: 94:[55, 93, 15], Operations: ['98-83=15'] Exploring Operation: 93-55=38, Resulting Numbers: [15, 38] Generated Node #0,1,0: 94:[15, 38] Operation: 93-55=38 Exploring Operation: 55+15=70, Resulting Numbers: [93, 70] Generated Node #0,1,1: 94:[93, 70] Operation: 55+15=70 Exploring Operation: 55-15=40, Resulting Numbers: [93, 40] Generated Node #0,1,2: 94:[93, 40] Operation: 55-15=40 Exploring Operation: 93+15=108, Resulting Numbers: [55, 108] Generated Node #0,1,3: 94:[55, 108] Operation: 93+15=108 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[93, 40], Operations: ['98-83=15', '55-15=40'] Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,94 unequal: No Solution Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,94 unequal: No Solution No 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: 94:[15, 38], Operations: ['98-83=15', '93-55=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,94 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,94 unequal: No Solution No 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: 94:[55, 108], Operations: ['98-83=15', '93+15=108'] Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,94 unequal: No Solution Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,94 unequal: No Solution No 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: 94:[93, 70], Operations: ['98-83=15', '55+15=70'] Exploring Operation: 93+70=163, Resulting Numbers: [163] 163,94 unequal: No Solution Exploring Operation: 93-70=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 93*70=6510, Resulting Numbers: [6510] 6510,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 94:[98, 45], Operations: ['93-83=10', '55-10=45'] Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,94 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[10, 43], Operations: ['93-83=10', '98-55=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[55, 88], Operations: ['93-83=10', '98-10=88'] Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[55, 88], Operations: ['98-93=5', '83+5=88'] Exploring Operation: 55*88=4840, Resulting Numbers: [4840] 4840,94 unequal: No Solution Exploring Operation: 55+88=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 88-55=33, Resulting Numbers: [33] 33,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[83, 50], Operations: ['98-93=5', '55-5=50'] Exploring Operation: 83*50=4150, Resulting Numbers: [4150] 4150,94 unequal: No Solution Exploring Operation: 83+50=133, Resulting Numbers: [133] 133,94 unequal: No Solution Exploring Operation: 83-50=33, Resulting Numbers: [33] 33,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[83, 11], Operations: ['98-93=5', '55/5=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[55, 98, 93, 83], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [55, 83, 5] Generated Node #0,3: 94:[55, 83, 5] Operation: 98-93=5 Moving to Node #0,3 Current State: 94:[55, 83, 5], Operations: ['98-93=5'] Exploring Operation: 55/5=11, Resulting Numbers: [83, 11] Generated Node #0,3,3: 94:[83, 11] Operation: 55/5=11 Moving to Node #0,3,3 Current State: 94:[83, 11], Operations: ['98-93=5', '55/5=11'] Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.944444
hs_4
sum_heuristic
[ 1, 42, 34, 21 ]
30
[ "1+42=43", "34-21=13", "43-13=30" ]
Current State: 30:[1, 42, 34, 21], Operations: [] Exploring Operation: 1+42=43, Resulting Numbers: [34, 21, 43] Generated Node #2: [34, 21, 43] from Operation: 1+42=43 Current State: 30:[34, 21, 43], Operations: ['1+42=43'] Exploring Operation: 34-21=13, Resulting Numbers: [43, 13] Generated Node #3: [43, 13] from Operation: 34-21=13 Current State: 30:[43, 13], Operations: ['1+42=43', '34-21=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[1, 42, 34, 21], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [1, 34, 2] Generated Node #0,0: 30:[1, 34, 2] Operation: 42/21=2 Exploring Operation: 42-34=8, Resulting Numbers: [1, 21, 8] Generated Node #0,1: 30:[1, 21, 8] Operation: 42-34=8 Exploring Operation: 42-21=21, Resulting Numbers: [1, 34, 21] Generated Node #0,2: 30:[1, 34, 21] Operation: 42-21=21 Exploring Operation: 34-21=13, Resulting Numbers: [1, 42, 13] Generated Node #0,3: 30:[1, 42, 13] Operation: 34-21=13 Exploring Operation: 42-1=41, Resulting Numbers: [34, 21, 41] Generated Node #0,4: 30:[34, 21, 41] Operation: 42-1=41 Moving to Node #0,0 Current State: 30:[1, 34, 2], Operations: ['42/21=2'] Exploring Operation: 1*34=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 30:[2, 34] Operation: 1*34=34 Exploring Operation: 34-1=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 30:[2, 33] Operation: 34-1=33 Exploring Operation: 34/1=34, Resulting Numbers: [2, 34] Generated Node #0,0,2: 30:[2, 34] Operation: 34/1=34 Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,0,3: 30:[1, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [1, 32] Generated Node #0,0,4: 30:[1, 32] Operation: 34-2=32 Moving to Node #0,1 Current State: 30:[1, 21, 8], Operations: ['42-34=8'] Exploring Operation: 21-8=13, Resulting Numbers: [1, 13] Generated Node #0,1,0: 30:[1, 13] Operation: 21-8=13 Exploring Operation: 1+8=9, Resulting Numbers: [21, 9] Generated Node #0,1,1: 30:[21, 9] Operation: 1+8=9 Exploring Operation: 8-1=7, Resulting Numbers: [21, 7] Generated Node #0,1,2: 30:[21, 7] Operation: 8-1=7 Exploring Operation: 21-1=20, Resulting Numbers: [8, 20] Generated Node #0,1,3: 30:[8, 20] Operation: 21-1=20 Exploring Operation: 21+8=29, Resulting Numbers: [1, 29] Generated Node #0,1,4: 30:[1, 29] Operation: 21+8=29 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 30:[1, 29], Operations: ['42-34=8', '21+8=29'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,30 unequal: No Solution Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[1, 42, 34, 21], Operations: [] Exploring Operation: 42-34=8, Resulting Numbers: [1, 21, 8] Generated Node #0,1: 30:[1, 21, 8] Operation: 42-34=8 Moving to Node #0,1 Current State: 30:[1, 21, 8], Operations: ['42-34=8'] Exploring Operation: 21+8=29, Resulting Numbers: [1, 29] Generated Node #0,1,4: 30:[1, 29] Operation: 21+8=29 Moving to Node #0,1,4 Current State: 30:[1, 29], Operations: ['42-34=8', '21+8=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 5, 43, 13, 39 ]
47
[ "43-39=4", "13*4=52", "52-5=47" ]
Current State: 47:[5, 43, 13, 39], Operations: [] Exploring Operation: 43-39=4, Resulting Numbers: [5, 13, 4] Generated Node #2: [5, 13, 4] from Operation: 43-39=4 Current State: 47:[5, 13, 4], Operations: ['43-39=4'] Exploring Operation: 13*4=52, Resulting Numbers: [5, 52] Generated Node #3: [5, 52] from Operation: 13*4=52 Current State: 47:[5, 52], Operations: ['43-39=4', '13*4=52'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[5, 43, 13, 39], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [13, 39, 38] Generated Node #0,0: 47:[13, 39, 38] Operation: 43-5=38 Exploring Operation: 5+39=44, Resulting Numbers: [43, 13, 44] Generated Node #0,1: 47:[43, 13, 44] Operation: 5+39=44 Exploring Operation: 5+43=48, Resulting Numbers: [13, 39, 48] Generated Node #0,2: 47:[13, 39, 48] Operation: 5+43=48 Exploring Operation: 5+13=18, Resulting Numbers: [43, 39, 18] Generated Node #0,3: 47:[43, 39, 18] Operation: 5+13=18 Exploring Operation: 5*13=65, Resulting Numbers: [43, 39, 65] Generated Node #0,4: 47:[43, 39, 65] Operation: 5*13=65 Moving to Node #0,4 Current State: 47:[43, 39, 65], Operations: ['5*13=65'] Exploring Operation: 65-39=26, Resulting Numbers: [43, 26] Generated Node #0,4,0: 47:[43, 26] Operation: 65-39=26 Exploring Operation: 43-39=4, Resulting Numbers: [65, 4] Generated Node #0,4,1: 47:[65, 4] Operation: 43-39=4 Exploring Operation: 39+65=104, Resulting Numbers: [43, 104] Generated Node #0,4,2: 47:[43, 104] Operation: 39+65=104 Exploring Operation: 65-43=22, Resulting Numbers: [39, 22] Generated Node #0,4,3: 47:[39, 22] Operation: 65-43=22 Exploring Operation: 43+39=82, Resulting Numbers: [65, 82] Generated Node #0,4,4: 47:[65, 82] Operation: 43+39=82 Moving to Node #0,3 Current State: 47:[43, 39, 18], Operations: ['5+13=18'] Exploring Operation: 43+39=82, Resulting Numbers: [18, 82] Generated Node #0,3,0: 47:[18, 82] Operation: 43+39=82 Exploring Operation: 43-18=25, Resulting Numbers: [39, 25] Generated Node #0,3,1: 47:[39, 25] Operation: 43-18=25 Exploring Operation: 43+18=61, Resulting Numbers: [39, 61] Generated Node #0,3,2: 47:[39, 61] Operation: 43+18=61 Exploring Operation: 39+18=57, Resulting Numbers: [43, 57] Generated Node #0,3,3: 47:[43, 57] Operation: 39+18=57 Exploring Operation: 39-18=21, Resulting Numbers: [43, 21] Generated Node #0,3,4: 47:[43, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[43, 57], Operations: ['5+13=18', '39+18=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,47 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,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,2 Current State: 47:[39, 61], Operations: ['5+13=18', '43+18=61'] Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,47 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,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:[39, 25], Operations: ['5+13=18', '43-18=25'] Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,47 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,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:[43, 21], Operations: ['5+13=18', '39-18=21'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,47 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,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:[18, 82], Operations: ['5+13=18', '43+39=82'] Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 18*82=1476, Resulting Numbers: [1476] 1476,47 unequal: No Solution Exploring Operation: 18+82=100, Resulting Numbers: [100] 100,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:[43, 13, 44], Operations: ['5+39=44'] Exploring Operation: 43+44=87, Resulting Numbers: [13, 87] Generated Node #0,1,0: 47:[13, 87] Operation: 43+44=87 Exploring Operation: 43+13=56, Resulting Numbers: [44, 56] Generated Node #0,1,1: 47:[44, 56] Operation: 43+13=56 Exploring Operation: 44-13=31, Resulting Numbers: [43, 31] Generated Node #0,1,2: 47:[43, 31] Operation: 44-13=31 Exploring Operation: 13+44=57, Resulting Numbers: [43, 57] Generated Node #0,1,3: 47:[43, 57] Operation: 13+44=57 Exploring Operation: 43-13=30, Resulting Numbers: [44, 30] Generated Node #0,1,4: 47:[44, 30] Operation: 43-13=30 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[44, 56], Operations: ['5+39=44', '43+13=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,47 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[43, 57], Operations: ['5+39=44', '13+44=57'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[43, 31], Operations: ['5+39=44', '44-13=31'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 47:[44, 30], Operations: ['5+39=44', '43-13=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[13, 87], Operations: ['5+39=44', '43+44=87'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 13+87=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 13*87=1131, Resulting Numbers: [1131] 1131,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:[13, 39, 48], Operations: ['5+43=48'] Exploring Operation: 13+39=52, Resulting Numbers: [48, 52] Generated Node #0,2,0: 47:[48, 52] Operation: 13+39=52 Exploring Operation: 13+48=61, Resulting Numbers: [39, 61] Generated Node #0,2,1: 47:[39, 61] Operation: 13+48=61 Exploring Operation: 39-13=26, Resulting Numbers: [48, 26] Generated Node #0,2,2: 47:[48, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [48, 3] Generated Node #0,2,3: 47:[48, 3] Operation: 39/13=3 Exploring Operation: 48-13=35, Resulting Numbers: [39, 35] Generated Node #0,2,4: 47:[39, 35] Operation: 48-13=35 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[48, 52], Operations: ['5+43=48', '13+39=52'] Exploring Operation: 48*52=2496, Resulting Numbers: [2496] 2496,47 unequal: No Solution Exploring Operation: 48+52=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,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:[39, 35], Operations: ['5+43=48', '48-13=35'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 39+35=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 39*35=1365, Resulting Numbers: [1365] 1365,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, 61], Operations: ['5+43=48', '13+48=61'] Exploring Operation: 39+61=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 39*61=2379, Resulting Numbers: [2379] 2379,47 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,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,2 Current State: 47:[48, 26], Operations: ['5+43=48', '39-13=26'] Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,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:[48, 3], Operations: ['5+43=48', '39/13=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,47 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,47 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,47 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: 47:[13, 39, 38], Operations: ['43-5=38'] Exploring Operation: 39-13=26, Resulting Numbers: [38, 26] Generated Node #0,0,0: 47:[38, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 47:[38, 3] Operation: 39/13=3 Exploring Operation: 13+38=51, Resulting Numbers: [39, 51] Generated Node #0,0,2: 47:[39, 51] Operation: 13+38=51 Exploring Operation: 13+39=52, Resulting Numbers: [38, 52] Generated Node #0,0,3: 47:[38, 52] Operation: 13+39=52 Exploring Operation: 38-13=25, Resulting Numbers: [39, 25] Generated Node #0,0,4: 47:[39, 25] Operation: 38-13=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[39, 51], Operations: ['43-5=38', '13+38=51'] Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,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:[38, 52], Operations: ['43-5=38', '13+39=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,47 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,47 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,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:[38, 26], Operations: ['43-5=38', '39-13=26'] Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,47 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,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:[39, 25], Operations: ['43-5=38', '38-13=25'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,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,1 Current State: 47:[38, 3], Operations: ['43-5=38', '39/13=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,47 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,0 Current State: 47:[43, 26], Operations: ['5*13=65', '65-39=26'] Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,47 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[39, 22], Operations: ['5*13=65', '65-43=22'] Exploring Operation: 39*22=858, Resulting Numbers: [858] 858,47 unequal: No Solution Exploring Operation: 39-22=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 39+22=61, Resulting Numbers: [61] 61,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[65, 82], Operations: ['5*13=65', '43+39=82'] Exploring Operation: 82-65=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 65*82=5330, Resulting Numbers: [5330] 5330,47 unequal: No Solution Exploring Operation: 65+82=147, Resulting Numbers: [147] 147,47 unequal: No Solution Moving to Node #0,4,1 Current State: 47:[65, 4], Operations: ['5*13=65', '43-39=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[43, 104], Operations: ['5*13=65', '39+65=104'] Exploring Operation: 43+104=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 43*104=4472, Resulting Numbers: [4472] 4472,47 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 68, 45, 25, 35 ]
53
[ "68+45=113", "25+35=60", "113-60=53" ]
Current State: 53:[68, 45, 25, 35], Operations: [] Exploring Operation: 68+45=113, Resulting Numbers: [25, 35, 113] Generated Node #2: [25, 35, 113] from Operation: 68+45=113 Current State: 53:[25, 35, 113], Operations: ['68+45=113'] Exploring Operation: 25+35=60, Resulting Numbers: [113, 60] Generated Node #3: [113, 60] from Operation: 25+35=60 Current State: 53:[113, 60], Operations: ['68+45=113', '25+35=60'] Exploring Operation: 113-60=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[68, 45, 25, 35], Operations: [] Exploring Operation: 45+25=70, Resulting Numbers: [68, 35, 70] Generated Node #0,0: 53:[68, 35, 70] Operation: 45+25=70 Exploring Operation: 68-25=43, Resulting Numbers: [45, 35, 43] Generated Node #0,1: 53:[45, 35, 43] Operation: 68-25=43 Exploring Operation: 68-35=33, Resulting Numbers: [45, 25, 33] Generated Node #0,2: 53:[45, 25, 33] Operation: 68-35=33 Exploring Operation: 25+35=60, Resulting Numbers: [68, 45, 60] Generated Node #0,3: 53:[68, 45, 60] Operation: 25+35=60 Exploring Operation: 68+25=93, Resulting Numbers: [45, 35, 93] Generated Node #0,4: 53:[45, 35, 93] Operation: 68+25=93 Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[68, 45, 60], Operations: ['25+35=60'] Exploring Operation: 68-45=23, Resulting Numbers: [60, 23] Generated Node #0,3,0: 53:[60, 23] Operation: 68-45=23 Exploring Operation: 60-45=15, Resulting Numbers: [68, 15] Generated Node #0,3,1: 53:[68, 15] Operation: 60-45=15 Exploring Operation: 68+45=113, Resulting Numbers: [60, 113] Generated Node #0,3,2: 53:[60, 113] Operation: 68+45=113 Exploring Operation: 68-60=8, Resulting Numbers: [45, 8] Generated Node #0,3,3: 53:[45, 8] Operation: 68-60=8 Exploring Operation: 45+60=105, Resulting Numbers: [68, 105] Generated Node #0,3,4: 53:[68, 105] Operation: 45+60=105 Moving to Node #0,3,0 Current State: 53:[60, 23], Operations: ['25+35=60', '68-45=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[45, 8], Operations: ['25+35=60', '68-60=8'] Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,53 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[68, 45, 25, 35], Operations: [] Exploring Operation: 25+35=60, Resulting Numbers: [68, 45, 60] Generated Node #0,3: 53:[68, 45, 60] Operation: 25+35=60 Moving to Node #0,3 Current State: 53:[68, 45, 60], Operations: ['25+35=60'] Exploring Operation: 68-60=8, Resulting Numbers: [45, 8] Generated Node #0,3,3: 53:[45, 8] Operation: 68-60=8 Moving to Node #0,3,3 Current State: 53:[45, 8], Operations: ['25+35=60', '68-60=8'] Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 45, 75, 51, 16 ]
69
[ "45+51=96", "96/16=6", "75-6=69" ]
Current State: 69:[45, 75, 51, 16], Operations: [] Exploring Operation: 45+51=96, Resulting Numbers: [75, 16, 96] Generated Node #2: [75, 16, 96] from Operation: 45+51=96 Current State: 69:[75, 16, 96], Operations: ['45+51=96'] Exploring Operation: 96/16=6, Resulting Numbers: [75, 6] Generated Node #3: [75, 6] from Operation: 96/16=6 Current State: 69:[75, 6], Operations: ['45+51=96', '96/16=6'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[45, 75, 51, 16], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [75, 51, 29] Generated Node #0,0: 69:[75, 51, 29] Operation: 45-16=29 Exploring Operation: 51-45=6, Resulting Numbers: [75, 16, 6] Generated Node #0,1: 69:[75, 16, 6] Operation: 51-45=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[75, 16, 6], Operations: ['51-45=6'] Exploring Operation: 16+6=22, Resulting Numbers: [75, 22] Generated Node #0,1,0: 69:[75, 22] Operation: 16+6=22 Exploring Operation: 75-6=69, Resulting Numbers: [16, 69] Generated Node #0,1,1: 69:[16, 69] Operation: 75-6=69 Moving to Node #0,1,0 Current State: 69:[75, 22], Operations: ['51-45=6', '16+6=22'] Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,69 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[16, 69], Operations: ['51-45=6', '75-6=69'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[75, 51, 29], Operations: ['45-16=29'] Exploring Operation: 51-29=22, Resulting Numbers: [75, 22] Generated Node #0,0,0: 69:[75, 22] Operation: 51-29=22 Exploring Operation: 75-51=24, Resulting Numbers: [29, 24] Generated Node #0,0,1: 69:[29, 24] Operation: 75-51=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[75, 22], Operations: ['45-16=29', '51-29=22'] Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 75+22=97, Resulting Numbers: [97] 97,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[29, 24], Operations: ['45-16=29', '75-51=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,69 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 40, 4, 3, 55 ]
35
[ "40*4=160", "160-55=105", "105/3=35" ]
Current State: 35:[40, 4, 3, 55], Operations: [] Exploring Operation: 40*4=160, Resulting Numbers: [3, 55, 160] Generated Node #2: [3, 55, 160] from Operation: 40*4=160 Current State: 35:[3, 55, 160], Operations: ['40*4=160'] Exploring Operation: 160-55=105, Resulting Numbers: [3, 105] Generated Node #3: [3, 105] from Operation: 160-55=105 Current State: 35:[3, 105], Operations: ['40*4=160', '160-55=105'] Exploring Operation: 105/3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[40, 4, 3, 55], Operations: [] Exploring Operation: 55-40=15, Resulting Numbers: [4, 3, 15] Generated Node #0,0: 35:[4, 3, 15] Operation: 55-40=15 Exploring Operation: 40-3=37, Resulting Numbers: [4, 55, 37] Generated Node #0,1: 35:[4, 55, 37] Operation: 40-3=37 Exploring Operation: 40-4=36, Resulting Numbers: [3, 55, 36] Generated Node #0,2: 35:[3, 55, 36] Operation: 40-4=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[4, 3, 15], Operations: ['55-40=15'] Exploring Operation: 15-4=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 35:[3, 11] Operation: 15-4=11 Exploring Operation: 15/3=5, Resulting Numbers: [4, 5] Generated Node #0,0,1: 35:[4, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [4, 12] Generated Node #0,0,2: 35:[4, 12] Operation: 15-3=12 Moving to Node #0,0,1 Current State: 35:[4, 5], Operations: ['55-40=15', '15/3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[3, 11], Operations: ['55-40=15', '15-4=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[4, 12], Operations: ['55-40=15', '15-3=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[4, 55, 37], Operations: ['40-3=37'] Exploring Operation: 37-4=33, Resulting Numbers: [55, 33] Generated Node #0,1,0: 35:[55, 33] Operation: 37-4=33 Exploring Operation: 55-4=51, Resulting Numbers: [37, 51] Generated Node #0,1,1: 35:[37, 51] Operation: 55-4=51 Exploring Operation: 55-37=18, Resulting Numbers: [4, 18] Generated Node #0,1,2: 35:[4, 18] Operation: 55-37=18 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[4, 18], Operations: ['40-3=37', '55-37=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[37, 51], Operations: ['40-3=37', '55-4=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[55, 33], Operations: ['40-3=37', '37-4=33'] Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 55*33=1815, Resulting Numbers: [1815] 1815,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[3, 55, 36], Operations: ['40-4=36'] Exploring Operation: 55-3=52, Resulting Numbers: [36, 52] Generated Node #0,2,0: 35:[36, 52] Operation: 55-3=52 Exploring Operation: 55-36=19, Resulting Numbers: [3, 19] Generated Node #0,2,1: 35:[3, 19] Operation: 55-36=19 Exploring Operation: 36-3=33, Resulting Numbers: [55, 33] Generated Node #0,2,2: 35:[55, 33] Operation: 36-3=33 Moving to Node #0,2,1 Current State: 35:[3, 19], Operations: ['40-4=36', '55-36=19'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[36, 52], Operations: ['40-4=36', '55-3=52'] Exploring Operation: 36*52=1872, Resulting Numbers: [1872] 1872,35 unequal: No Solution Exploring Operation: 36+52=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[55, 33], Operations: ['40-4=36', '36-3=33'] Exploring Operation: 55+33=88, Resulting Numbers: [88] 88,35 unequal: No Solution Exploring Operation: 55-33=22, Resulting Numbers: [22] 22,35 unequal: No Solution Exploring Operation: 55*33=1815, Resulting Numbers: [1815] 1815,35 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
[ 4, 9, 32, 77 ]
50
[ "9-4=5", "77-32=45", "5+45=50" ]
Current State: 50:[4, 9, 32, 77], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [32, 77, 5] Generated Node #2: [32, 77, 5] from Operation: 9-4=5 Current State: 50:[32, 77, 5], Operations: ['9-4=5'] Exploring Operation: 77-32=45, Resulting Numbers: [5, 45] Generated Node #3: [5, 45] from Operation: 77-32=45 Current State: 50:[5, 45], Operations: ['9-4=5', '77-32=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[4, 9, 32, 77], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [9, 77, 8] Generated Node #0,0: 50:[9, 77, 8] Operation: 32/4=8 Exploring Operation: 32-9=23, Resulting Numbers: [4, 77, 23] Generated Node #0,1: 50:[4, 77, 23] Operation: 32-9=23 Exploring Operation: 32-4=28, Resulting Numbers: [9, 77, 28] Generated Node #0,2: 50:[9, 77, 28] Operation: 32-4=28 Exploring Operation: 77-32=45, Resulting Numbers: [4, 9, 45] Generated Node #0,3: 50:[4, 9, 45] Operation: 77-32=45 Exploring Operation: 77-9=68, Resulting Numbers: [4, 32, 68] Generated Node #0,4: 50:[4, 32, 68] Operation: 77-9=68 Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[4, 9, 45], Operations: ['77-32=45'] Exploring Operation: 9+45=54, Resulting Numbers: [4, 54] Generated Node #0,3,0: 50:[4, 54] Operation: 9+45=54 Exploring Operation: 4+9=13, Resulting Numbers: [45, 13] Generated Node #0,3,1: 50:[45, 13] Operation: 4+9=13 Exploring Operation: 45/9=5, Resulting Numbers: [4, 5] Generated Node #0,3,2: 50:[4, 5] Operation: 45/9=5 Exploring Operation: 9-4=5, Resulting Numbers: [45, 5] Generated Node #0,3,3: 50:[45, 5] Operation: 9-4=5 Exploring Operation: 4+45=49, Resulting Numbers: [9, 49] Generated Node #0,3,4: 50:[9, 49] Operation: 4+45=49 Moving to Node #0,3,2 Current State: 50:[4, 5], Operations: ['77-32=45', '45/9=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,50 unequal: No Solution Moving to Node #0,3,4 Current State: 50:[9, 49], Operations: ['77-32=45', '4+45=49'] Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,50 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[4, 54], Operations: ['77-32=45', '9+45=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,50 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,50 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[4, 9, 32, 77], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [4, 9, 45] Generated Node #0,3: 50:[4, 9, 45] Operation: 77-32=45 Moving to Node #0,3 Current State: 50:[4, 9, 45], Operations: ['77-32=45'] Exploring Operation: 9+45=54, Resulting Numbers: [4, 54] Generated Node #0,3,0: 50:[4, 54] Operation: 9+45=54 Moving to Node #0,3,0 Current State: 50:[4, 54], Operations: ['77-32=45', '9+45=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 3, 73, 5, 33 ]
95
[ "73-3=70", "5*33=165", "165-70=95" ]
Current State: 95:[3, 73, 5, 33], Operations: [] Exploring Operation: 73-3=70, Resulting Numbers: [5, 33, 70] Generated Node #2: [5, 33, 70] from Operation: 73-3=70 Current State: 95:[5, 33, 70], Operations: ['73-3=70'] Exploring Operation: 5*33=165, Resulting Numbers: [70, 165] Generated Node #3: [70, 165] from Operation: 5*33=165 Current State: 95:[70, 165], Operations: ['73-3=70', '5*33=165'] Exploring Operation: 165-70=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[3, 73, 5, 33], Operations: [] Exploring Operation: 73-33=40, Resulting Numbers: [3, 5, 40] Generated Node #0,0: 95:[3, 5, 40] Operation: 73-33=40 Exploring Operation: 3*33=99, Resulting Numbers: [73, 5, 99] Generated Node #0,1: 95:[73, 5, 99] Operation: 3*33=99 Exploring Operation: 73+33=106, Resulting Numbers: [3, 5, 106] Generated Node #0,2: 95:[3, 5, 106] Operation: 73+33=106 Moving to Node #0,2 Current State: 95:[3, 5, 106], Operations: ['73+33=106'] Exploring Operation: 106-3=103, Resulting Numbers: [5, 103] Generated Node #0,2,0: 95:[5, 103] Operation: 106-3=103 Exploring Operation: 106-5=101, Resulting Numbers: [3, 101] Generated Node #0,2,1: 95:[3, 101] Operation: 106-5=101 Exploring Operation: 3+5=8, Resulting Numbers: [106, 8] Generated Node #0,2,2: 95:[106, 8] Operation: 3+5=8 Moving to Node #0,0 Current State: 95:[3, 5, 40], Operations: ['73-33=40'] Exploring Operation: 40-3=37, Resulting Numbers: [5, 37] Generated Node #0,0,0: 95:[5, 37] Operation: 40-3=37 Exploring Operation: 40/5=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 95:[3, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [3, 35] Generated Node #0,0,2: 95:[3, 35] Operation: 40-5=35 Moving to Node #0,1 Current State: 95:[73, 5, 99], Operations: ['3*33=99'] Exploring Operation: 99-73=26, Resulting Numbers: [5, 26] Generated Node #0,1,0: 95:[5, 26] Operation: 99-73=26 Exploring Operation: 73+5=78, Resulting Numbers: [99, 78] Generated Node #0,1,1: 95:[99, 78] Operation: 73+5=78 Exploring Operation: 99-5=94, Resulting Numbers: [73, 94] Generated Node #0,1,2: 95:[73, 94] Operation: 99-5=94 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[5, 26], Operations: ['3*33=99', '99-73=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,95 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[99, 78], Operations: ['3*33=99', '73+5=78'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 99*78=7722, Resulting Numbers: [7722] 7722,95 unequal: No Solution Exploring Operation: 99+78=177, Resulting Numbers: [177] 177,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[73, 94], Operations: ['3*33=99', '99-5=94'] Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 73+94=167, Resulting Numbers: [167] 167,95 unequal: No Solution Exploring Operation: 73*94=6862, Resulting Numbers: [6862] 6862,95 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: 95:[3, 8], Operations: ['73-33=40', '40/5=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[5, 103], Operations: ['73+33=106', '106-3=103'] Exploring Operation: 103-5=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 5+103=108, Resulting Numbers: [108] 108,95 unequal: No Solution Exploring Operation: 5*103=515, Resulting Numbers: [515] 515,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[3, 101], Operations: ['73+33=106', '106-5=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 3*101=303, Resulting Numbers: [303] 303,95 unequal: No Solution Exploring Operation: 3+101=104, Resulting Numbers: [104] 104,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[106, 8], Operations: ['73+33=106', '3+5=8'] Exploring Operation: 106*8=848, Resulting Numbers: [848] 848,95 unequal: No Solution Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,95 unequal: No Solution Exploring Operation: 106+8=114, Resulting Numbers: [114] 114,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[3, 35], Operations: ['73-33=40', '40-5=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[5, 37], Operations: ['73-33=40', '40-3=37'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,95 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,95 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,95 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 24, 8, 35, 85 ]
20
[ "24/8=3", "35*3=105", "105-85=20" ]
Current State: 20:[24, 8, 35, 85], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [35, 85, 3] Generated Node #2: [35, 85, 3] from Operation: 24/8=3 Current State: 20:[35, 85, 3], Operations: ['24/8=3'] Exploring Operation: 35*3=105, Resulting Numbers: [85, 105] Generated Node #3: [85, 105] from Operation: 35*3=105 Current State: 20:[85, 105], Operations: ['24/8=3', '35*3=105'] Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[24, 8, 35, 85], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [24, 35, 77] Generated Node #0,0: 20:[24, 35, 77] Operation: 85-8=77 Exploring Operation: 85-24=61, Resulting Numbers: [8, 35, 61] Generated Node #0,1: 20:[8, 35, 61] Operation: 85-24=61 Exploring Operation: 35-24=11, Resulting Numbers: [8, 85, 11] Generated Node #0,2: 20:[8, 85, 11] Operation: 35-24=11 Exploring Operation: 85-35=50, Resulting Numbers: [24, 8, 50] Generated Node #0,3: 20:[24, 8, 50] Operation: 85-35=50 Exploring Operation: 35-8=27, Resulting Numbers: [24, 85, 27] Generated Node #0,4: 20:[24, 85, 27] Operation: 35-8=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[24, 8, 50], Operations: ['85-35=50'] Exploring Operation: 24+8=32, Resulting Numbers: [50, 32] Generated Node #0,3,0: 20:[50, 32] Operation: 24+8=32 Exploring Operation: 24-8=16, Resulting Numbers: [50, 16] Generated Node #0,3,1: 20:[50, 16] Operation: 24-8=16 Exploring Operation: 50-24=26, Resulting Numbers: [8, 26] Generated Node #0,3,2: 20:[8, 26] Operation: 50-24=26 Exploring Operation: 50-8=42, Resulting Numbers: [24, 42] Generated Node #0,3,3: 20:[24, 42] Operation: 50-8=42 Exploring Operation: 24/8=3, Resulting Numbers: [50, 3] Generated Node #0,3,4: 20:[50, 3] Operation: 24/8=3 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[8, 26], Operations: ['85-35=50', '50-24=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,20 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[24, 42], Operations: ['85-35=50', '50-8=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,20 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 20:[50, 3], Operations: ['85-35=50', '24/8=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,20 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[50, 16], Operations: ['85-35=50', '24-8=16'] Exploring Operation: 50+16=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 50*16=800, Resulting Numbers: [800] 800,20 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[50, 32], Operations: ['85-35=50', '24+8=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[8, 35, 61], Operations: ['85-24=61'] Exploring Operation: 8+35=43, Resulting Numbers: [61, 43] Generated Node #0,1,0: 20:[61, 43] Operation: 8+35=43 Exploring Operation: 61-35=26, Resulting Numbers: [8, 26] Generated Node #0,1,1: 20:[8, 26] Operation: 61-35=26 Exploring Operation: 8+61=69, Resulting Numbers: [35, 69] Generated Node #0,1,2: 20:[35, 69] Operation: 8+61=69 Exploring Operation: 61-8=53, Resulting Numbers: [35, 53] Generated Node #0,1,3: 20:[35, 53] Operation: 61-8=53 Exploring Operation: 35-8=27, Resulting Numbers: [61, 27] Generated Node #0,1,4: 20:[61, 27] Operation: 35-8=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[8, 26], Operations: ['85-24=61', '61-35=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,20 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[35, 53], Operations: ['85-24=61', '61-8=53'] Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,20 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 20:[61, 27], Operations: ['85-24=61', '35-8=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[61, 43], Operations: ['85-24=61', '8+35=43'] Exploring Operation: 61*43=2623, Resulting Numbers: [2623] 2623,20 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 61+43=104, Resulting Numbers: [104] 104,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[35, 69], Operations: ['85-24=61', '8+61=69'] Exploring Operation: 35+69=104, Resulting Numbers: [104] 104,20 unequal: No Solution Exploring Operation: 35*69=2415, Resulting Numbers: [2415] 2415,20 unequal: No Solution Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[8, 85, 11], Operations: ['35-24=11'] Exploring Operation: 85-8=77, Resulting Numbers: [11, 77] Generated Node #0,2,0: 20:[11, 77] Operation: 85-8=77 Exploring Operation: 8+85=93, Resulting Numbers: [11, 93] Generated Node #0,2,1: 20:[11, 93] Operation: 8+85=93 Exploring Operation: 8+11=19, Resulting Numbers: [85, 19] Generated Node #0,2,2: 20:[85, 19] Operation: 8+11=19 Exploring Operation: 85-11=74, Resulting Numbers: [8, 74] Generated Node #0,2,3: 20:[8, 74] Operation: 85-11=74 Exploring Operation: 11-8=3, Resulting Numbers: [85, 3] Generated Node #0,2,4: 20:[85, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[8, 74], Operations: ['35-24=11', '85-11=74'] Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,20 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[11, 77], Operations: ['35-24=11', '85-8=77'] Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 11*77=847, Resulting Numbers: [847] 847,20 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[85, 19], Operations: ['35-24=11', '8+11=19'] Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,20 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,20 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 20:[85, 3], Operations: ['35-24=11', '11-8=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[11, 93], Operations: ['35-24=11', '8+85=93'] Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,20 unequal: No Solution Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,20 unequal: No Solution Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[24, 35, 77], Operations: ['85-8=77'] Exploring Operation: 77-35=42, Resulting Numbers: [24, 42] Generated Node #0,0,0: 20:[24, 42] Operation: 77-35=42 Exploring Operation: 24+35=59, Resulting Numbers: [77, 59] Generated Node #0,0,1: 20:[77, 59] Operation: 24+35=59 Exploring Operation: 77-24=53, Resulting Numbers: [35, 53] Generated Node #0,0,2: 20:[35, 53] Operation: 77-24=53 Exploring Operation: 35-24=11, Resulting Numbers: [77, 11] Generated Node #0,0,3: 20:[77, 11] Operation: 35-24=11 Exploring Operation: 24+77=101, Resulting Numbers: [35, 101] Generated Node #0,0,4: 20:[35, 101] Operation: 24+77=101 Moving to Node #0,0,0 Current State: 20:[24, 42], Operations: ['85-8=77', '77-35=42'] Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,20 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[35, 53], Operations: ['85-8=77', '77-24=53'] Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 35*53=1855, Resulting Numbers: [1855] 1855,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[77, 11], Operations: ['85-8=77', '35-24=11'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,20 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[77, 59], Operations: ['85-8=77', '24+35=59'] Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,20 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[35, 101], Operations: ['85-8=77', '24+77=101'] Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,20 unequal: No Solution Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[24, 85, 27], Operations: ['35-8=27'] Exploring Operation: 85-24=61, Resulting Numbers: [27, 61] Generated Node #0,4,0: 20:[27, 61] Operation: 85-24=61 Exploring Operation: 27-24=3, Resulting Numbers: [85, 3] Generated Node #0,4,1: 20:[85, 3] Operation: 27-24=3 Exploring Operation: 24+27=51, Resulting Numbers: [85, 51] Generated Node #0,4,2: 20:[85, 51] Operation: 24+27=51 Exploring Operation: 24+85=109, Resulting Numbers: [27, 109] Generated Node #0,4,3: 20:[27, 109] Operation: 24+85=109 Exploring Operation: 85-27=58, Resulting Numbers: [24, 58] Generated Node #0,4,4: 20:[24, 58] Operation: 85-27=58 Moving to Node #0,4,4 Current State: 20:[24, 58], Operations: ['35-8=27', '85-27=58'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 24*58=1392, Resulting Numbers: [1392] 1392,20 unequal: No Solution Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[27, 61], Operations: ['35-8=27', '85-24=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,20 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[85, 3], Operations: ['35-8=27', '27-24=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,20 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[85, 51], Operations: ['35-8=27', '24+27=51'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,20 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,20 unequal: No Solution Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[27, 109], Operations: ['35-8=27', '24+85=109'] Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,20 unequal: No Solution Exploring Operation: 27+109=136, Resulting Numbers: [136] 136,20 unequal: No Solution Exploring Operation: 27*109=2943, Resulting Numbers: [2943] 2943,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 93, 17, 47, 41 ]
85
[ "93-47=46", "46-41=5", "17*5=85" ]
Current State: 85:[93, 17, 47, 41], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [17, 41, 46] Generated Node #2: [17, 41, 46] from Operation: 93-47=46 Current State: 85:[17, 41, 46], Operations: ['93-47=46'] Exploring Operation: 46-41=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 46-41=5 Current State: 85:[17, 5], Operations: ['93-47=46', '46-41=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[93, 17, 47, 41], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [93, 17, 6] Generated Node #0,0: 85:[93, 17, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 85:[93, 17, 6], Operations: ['47-41=6'] Exploring Operation: 93-6=87, Resulting Numbers: [17, 87] Generated Node #0,0,0: 85:[17, 87] Operation: 93-6=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[17, 87], Operations: ['47-41=6', '93-6=87'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 45, 81, 48, 64 ]
52
[ "81-45=36", "64-48=16", "36+16=52" ]
Current State: 52:[45, 81, 48, 64], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [48, 64, 36] Generated Node #2: [48, 64, 36] from Operation: 81-45=36 Current State: 52:[48, 64, 36], Operations: ['81-45=36'] Exploring Operation: 64-48=16, Resulting Numbers: [36, 16] Generated Node #3: [36, 16] from Operation: 64-48=16 Current State: 52:[36, 16], Operations: ['81-45=36', '64-48=16'] Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[45, 81, 48, 64], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [45, 48, 17] Generated Node #0,0: 52:[45, 48, 17] Operation: 81-64=17 Exploring Operation: 81-45=36, Resulting Numbers: [48, 64, 36] Generated Node #0,1: 52:[48, 64, 36] Operation: 81-45=36 Moving to Node #0,0 Current State: 52:[45, 48, 17], Operations: ['81-64=17'] Exploring Operation: 45-17=28, Resulting Numbers: [48, 28] Generated Node #0,0,0: 52:[48, 28] Operation: 45-17=28 Exploring Operation: 48-45=3, Resulting Numbers: [17, 3] Generated Node #0,0,1: 52:[17, 3] Operation: 48-45=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[17, 3], Operations: ['81-64=17', '48-45=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[48, 28], Operations: ['81-64=17', '45-17=28'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,52 unequal: No Solution Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,52 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: 52:[48, 64, 36], Operations: ['81-45=36'] Exploring Operation: 64-36=28, Resulting Numbers: [48, 28] Generated Node #0,1,0: 52:[48, 28] Operation: 64-36=28 Exploring Operation: 64-48=16, Resulting Numbers: [36, 16] Generated Node #0,1,1: 52:[36, 16] Operation: 64-48=16 Moving to Node #0,1,0 Current State: 52:[48, 28], Operations: ['81-45=36', '64-36=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[36, 16], Operations: ['81-45=36', '64-48=16'] Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[45, 81, 48, 64], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [48, 64, 36] Generated Node #0,1: 52:[48, 64, 36] Operation: 81-45=36 Moving to Node #0,1 Current State: 52:[48, 64, 36], Operations: ['81-45=36'] Exploring Operation: 64-48=16, Resulting Numbers: [36, 16] Generated Node #0,1,1: 52:[36, 16] Operation: 64-48=16 Moving to Node #0,1,1 Current State: 52:[36, 16], Operations: ['81-45=36', '64-48=16'] Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 30, 55, 13, 81 ]
28
[ "81-55=26", "26/13=2", "30-2=28" ]
Current State: 28:[30, 55, 13, 81], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [30, 13, 26] Generated Node #2: [30, 13, 26] from Operation: 81-55=26 Current State: 28:[30, 13, 26], Operations: ['81-55=26'] Exploring Operation: 26/13=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 26/13=2 Current State: 28:[30, 2], Operations: ['81-55=26', '26/13=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[30, 55, 13, 81], Operations: [] Exploring Operation: 81-30=51, Resulting Numbers: [55, 13, 51] Generated Node #0,0: 28:[55, 13, 51] Operation: 81-30=51 Exploring Operation: 81-55=26, Resulting Numbers: [30, 13, 26] Generated Node #0,1: 28:[30, 13, 26] Operation: 81-55=26 Exploring Operation: 55-30=25, Resulting Numbers: [13, 81, 25] Generated Node #0,2: 28:[13, 81, 25] Operation: 55-30=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[30, 13, 26], Operations: ['81-55=26'] Exploring Operation: 26/13=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 28:[30, 2] Operation: 26/13=2 Exploring Operation: 26-13=13, Resulting Numbers: [30, 13] Generated Node #0,1,1: 28:[30, 13] Operation: 26-13=13 Exploring Operation: 30-26=4, Resulting Numbers: [13, 4] Generated Node #0,1,2: 28:[13, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 28:[13, 4], Operations: ['81-55=26', '30-26=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[30, 2], Operations: ['81-55=26', '26/13=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,28 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[30, 55, 13, 81], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [30, 13, 26] Generated Node #0,1: 28:[30, 13, 26] Operation: 81-55=26 Moving to Node #0,1 Current State: 28:[30, 13, 26], Operations: ['81-55=26'] Exploring Operation: 26/13=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 28:[30, 2] Operation: 26/13=2 Moving to Node #0,1,0 Current State: 28:[30, 2], Operations: ['81-55=26', '26/13=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 59, 39, 71, 78 ]
10
[ "71-59=12", "78/39=2", "12-2=10" ]
Current State: 10:[59, 39, 71, 78], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [39, 78, 12] Generated Node #2: [39, 78, 12] from Operation: 71-59=12 Current State: 10:[39, 78, 12], Operations: ['71-59=12'] Exploring Operation: 78/39=2, Resulting Numbers: [12, 2] Generated Node #3: [12, 2] from Operation: 78/39=2 Current State: 10:[12, 2], Operations: ['71-59=12', '78/39=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[59, 39, 71, 78], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [39, 78, 12] Generated Node #0,0: 10:[39, 78, 12] Operation: 71-59=12 Exploring Operation: 78/39=2, Resulting Numbers: [59, 71, 2] Generated Node #0,1: 10:[59, 71, 2] Operation: 78/39=2 Exploring Operation: 78-71=7, Resulting Numbers: [59, 39, 7] Generated Node #0,2: 10:[59, 39, 7] Operation: 78-71=7 Exploring Operation: 78-59=19, Resulting Numbers: [39, 71, 19] Generated Node #0,3: 10:[39, 71, 19] Operation: 78-59=19 Moving to Node #0,2 Current State: 10:[59, 39, 7], Operations: ['78-71=7'] Exploring Operation: 39-7=32, Resulting Numbers: [59, 32] Generated Node #0,2,0: 10:[59, 32] Operation: 39-7=32 Exploring Operation: 59-39=20, Resulting Numbers: [7, 20] Generated Node #0,2,1: 10:[7, 20] Operation: 59-39=20 Exploring Operation: 59-7=52, Resulting Numbers: [39, 52] Generated Node #0,2,2: 10:[39, 52] Operation: 59-7=52 Exploring Operation: 59+7=66, Resulting Numbers: [39, 66] Generated Node #0,2,3: 10:[39, 66] Operation: 59+7=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[7, 20], Operations: ['78-71=7', '59-39=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,10 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[59, 32], Operations: ['78-71=7', '39-7=32'] Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,10 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,10 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[39, 52], Operations: ['78-71=7', '59-7=52'] Exploring Operation: 39*52=2028, Resulting Numbers: [2028] 2028,10 unequal: No Solution Exploring Operation: 52-39=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 39+52=91, Resulting Numbers: [91] 91,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[39, 66], Operations: ['78-71=7', '59+7=66'] Exploring Operation: 39+66=105, Resulting Numbers: [105] 105,10 unequal: No Solution Exploring Operation: 39*66=2574, Resulting Numbers: [2574] 2574,10 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,10 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: 10:[39, 71, 19], Operations: ['78-59=19'] Exploring Operation: 39+71=110, Resulting Numbers: [19, 110] Generated Node #0,3,0: 10:[19, 110] Operation: 39+71=110 Exploring Operation: 71-19=52, Resulting Numbers: [39, 52] Generated Node #0,3,1: 10:[39, 52] Operation: 71-19=52 Exploring Operation: 71-39=32, Resulting Numbers: [19, 32] Generated Node #0,3,2: 10:[19, 32] Operation: 71-39=32 Exploring Operation: 39-19=20, Resulting Numbers: [71, 20] Generated Node #0,3,3: 10:[71, 20] Operation: 39-19=20 Moving to Node #0,0 Current State: 10:[39, 78, 12], Operations: ['71-59=12'] Exploring Operation: 78/39=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 10:[12, 2] Operation: 78/39=2 Exploring Operation: 39-12=27, Resulting Numbers: [78, 27] Generated Node #0,0,1: 10:[78, 27] Operation: 39-12=27 Exploring Operation: 78-12=66, Resulting Numbers: [39, 66] Generated Node #0,0,2: 10:[39, 66] Operation: 78-12=66 Exploring Operation: 78-39=39, Resulting Numbers: [12, 39] Generated Node #0,0,3: 10:[12, 39] Operation: 78-39=39 Moving to Node #0,1 Current State: 10:[59, 71, 2], Operations: ['78/39=2'] Exploring Operation: 71-2=69, Resulting Numbers: [59, 69] Generated Node #0,1,0: 10:[59, 69] Operation: 71-2=69 Exploring Operation: 71-59=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 10:[2, 12] Operation: 71-59=12 Exploring Operation: 59+2=61, Resulting Numbers: [71, 61] Generated Node #0,1,2: 10:[71, 61] Operation: 59+2=61 Exploring Operation: 59-2=57, Resulting Numbers: [71, 57] Generated Node #0,1,3: 10:[71, 57] Operation: 59-2=57 Moving to Node #0,0,0 Current State: 10:[12, 2], Operations: ['71-59=12', '78/39=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[59, 39, 71, 78], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [39, 78, 12] Generated Node #0,0: 10:[39, 78, 12] Operation: 71-59=12 Moving to Node #0,0 Current State: 10:[39, 78, 12], Operations: ['71-59=12'] Exploring Operation: 78/39=2, Resulting Numbers: [12, 2] Generated Node #0,0,0: 10:[12, 2] Operation: 78/39=2 Moving to Node #0,0,0 Current State: 10:[12, 2], Operations: ['71-59=12', '78/39=2'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.967882
hs_4
sum_heuristic
[ 2, 94, 8, 33 ]
72
[ "94/2=47", "33-8=25", "47+25=72" ]
Current State: 72:[2, 94, 8, 33], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [8, 33, 47] Generated Node #2: [8, 33, 47] from Operation: 94/2=47 Current State: 72:[8, 33, 47], Operations: ['94/2=47'] Exploring Operation: 33-8=25, Resulting Numbers: [47, 25] Generated Node #3: [47, 25] from Operation: 33-8=25 Current State: 72:[47, 25], Operations: ['94/2=47', '33-8=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 94, 8, 33], Operations: [] Exploring Operation: 94-2=92, Resulting Numbers: [8, 33, 92] Generated Node #0,0: 72:[8, 33, 92] Operation: 94-2=92 Exploring Operation: 94/2=47, Resulting Numbers: [8, 33, 47] Generated Node #0,1: 72:[8, 33, 47] Operation: 94/2=47 Exploring Operation: 94-8=86, Resulting Numbers: [2, 33, 86] Generated Node #0,2: 72:[2, 33, 86] Operation: 94-8=86 Exploring Operation: 2+33=35, Resulting Numbers: [94, 8, 35] Generated Node #0,3: 72:[94, 8, 35] Operation: 2+33=35 Exploring Operation: 94-33=61, Resulting Numbers: [2, 8, 61] Generated Node #0,4: 72:[2, 8, 61] Operation: 94-33=61 Start Sub Search at level 1: Moving to Node #0,4 Current State: 72:[2, 8, 61], Operations: ['94-33=61'] Exploring Operation: 8-2=6, Resulting Numbers: [61, 6] Generated Node #0,4,0: 72:[61, 6] Operation: 8-2=6 Exploring Operation: 8+61=69, Resulting Numbers: [2, 69] Generated Node #0,4,1: 72:[2, 69] Operation: 8+61=69 Exploring Operation: 2+8=10, Resulting Numbers: [61, 10] Generated Node #0,4,2: 72:[61, 10] Operation: 2+8=10 Exploring Operation: 2+61=63, Resulting Numbers: [8, 63] Generated Node #0,4,3: 72:[8, 63] Operation: 2+61=63 Exploring Operation: 8/2=4, Resulting Numbers: [61, 4] Generated Node #0,4,4: 72:[61, 4] Operation: 8/2=4 Moving to Node #0,4,1 Current State: 72:[2, 69], Operations: ['94-33=61', '8+61=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,72 unequal: No Solution Moving to Node #0,4,3 Current State: 72:[8, 63], Operations: ['94-33=61', '2+61=63'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,72 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[61, 6], Operations: ['94-33=61', '8-2=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,72 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,72 unequal: No Solution Moving to Node #0,4,4 Current State: 72:[61, 4], Operations: ['94-33=61', '8/2=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,72 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,72 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,72 unequal: No Solution Moving to Node #0,4,2 Current State: 72:[61, 10], Operations: ['94-33=61', '2+8=10'] Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,72 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,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,1 Current State: 72:[8, 33, 47], Operations: ['94/2=47'] Exploring Operation: 33-8=25, Resulting Numbers: [47, 25] Generated Node #0,1,0: 72:[47, 25] Operation: 33-8=25 Exploring Operation: 47-33=14, Resulting Numbers: [8, 14] Generated Node #0,1,1: 72:[8, 14] Operation: 47-33=14 Exploring Operation: 8+33=41, Resulting Numbers: [47, 41] Generated Node #0,1,2: 72:[47, 41] Operation: 8+33=41 Exploring Operation: 47-8=39, Resulting Numbers: [33, 39] Generated Node #0,1,3: 72:[33, 39] Operation: 47-8=39 Exploring Operation: 33+47=80, Resulting Numbers: [8, 80] Generated Node #0,1,4: 72:[8, 80] Operation: 33+47=80 Moving to Node #0,1,1 Current State: 72:[8, 14], Operations: ['94/2=47', '47-33=14'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[33, 39], Operations: ['94/2=47', '47-8=39'] Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,72 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 94, 8, 33], Operations: [] Exploring Operation: 94/2=47, Resulting Numbers: [8, 33, 47] Generated Node #0,1: 72:[8, 33, 47] Operation: 94/2=47 Moving to Node #0,1 Current State: 72:[8, 33, 47], Operations: ['94/2=47'] Exploring Operation: 47-8=39, Resulting Numbers: [33, 39] Generated Node #0,1,3: 72:[33, 39] Operation: 47-8=39 Moving to Node #0,1,3 Current State: 72:[33, 39], Operations: ['94/2=47', '47-8=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 57, 8, 50, 4 ]
28
[ "57-50=7", "8-4=4", "7*4=28" ]
Current State: 28:[57, 8, 50, 4], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [8, 4, 7] Generated Node #2: [8, 4, 7] from Operation: 57-50=7 Current State: 28:[8, 4, 7], Operations: ['57-50=7'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #3: [7, 4] from Operation: 8-4=4 Current State: 28:[7, 4], Operations: ['57-50=7', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[57, 8, 50, 4], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [8, 4, 7] Generated Node #0,0: 28:[8, 4, 7] Operation: 57-50=7 Moving to Node #0,0 Current State: 28:[8, 4, 7], Operations: ['57-50=7'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 28:[7, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[7, 4], Operations: ['57-50=7', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[57, 8, 50, 4], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [8, 4, 7] Generated Node #0,0: 28:[8, 4, 7] Operation: 57-50=7 Moving to Node #0,0 Current State: 28:[8, 4, 7], Operations: ['57-50=7'] Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 28:[7, 4] Operation: 8-4=4 Moving to Node #0,0,0 Current State: 28:[7, 4], Operations: ['57-50=7', '8-4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 66, 57, 89, 2 ]
71
[ "66-57=9", "2*9=18", "89-18=71" ]
Current State: 71:[66, 57, 89, 2], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [89, 2, 9] Generated Node #2: [89, 2, 9] from Operation: 66-57=9 Current State: 71:[89, 2, 9], Operations: ['66-57=9'] Exploring Operation: 2*9=18, Resulting Numbers: [89, 18] Generated Node #3: [89, 18] from Operation: 2*9=18 Current State: 71:[89, 18], Operations: ['66-57=9', '2*9=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[66, 57, 89, 2], Operations: [] Exploring Operation: 66+2=68, Resulting Numbers: [57, 89, 68] Generated Node #0,0: 71:[57, 89, 68] Operation: 66+2=68 Exploring Operation: 89-2=87, Resulting Numbers: [66, 57, 87] Generated Node #0,1: 71:[66, 57, 87] Operation: 89-2=87 Exploring Operation: 57+2=59, Resulting Numbers: [66, 89, 59] Generated Node #0,2: 71:[66, 89, 59] Operation: 57+2=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[57, 89, 68], Operations: ['66+2=68'] Exploring Operation: 89-68=21, Resulting Numbers: [57, 21] Generated Node #0,0,0: 71:[57, 21] Operation: 89-68=21 Exploring Operation: 89-57=32, Resulting Numbers: [68, 32] Generated Node #0,0,1: 71:[68, 32] Operation: 89-57=32 Exploring Operation: 57+68=125, Resulting Numbers: [89, 125] Generated Node #0,0,2: 71:[89, 125] Operation: 57+68=125 Moving to Node #0,0,1 Current State: 71:[68, 32], Operations: ['66+2=68', '89-57=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,71 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[57, 21], Operations: ['66+2=68', '89-68=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,71 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[89, 125], Operations: ['66+2=68', '57+68=125'] Exploring Operation: 89+125=214, Resulting Numbers: [214] 214,71 unequal: No Solution Exploring Operation: 125-89=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 89*125=11125, Resulting Numbers: [11125] 11125,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[66, 57, 87], Operations: ['89-2=87'] Exploring Operation: 66+57=123, Resulting Numbers: [87, 123] Generated Node #0,1,0: 71:[87, 123] Operation: 66+57=123 Exploring Operation: 87-57=30, Resulting Numbers: [66, 30] Generated Node #0,1,1: 71:[66, 30] Operation: 87-57=30 Exploring Operation: 87-66=21, Resulting Numbers: [57, 21] Generated Node #0,1,2: 71:[57, 21] Operation: 87-66=21 Moving to Node #0,1,1 Current State: 71:[66, 30], Operations: ['89-2=87', '87-57=30'] Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,71 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[57, 21], Operations: ['89-2=87', '87-66=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,71 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[87, 123], Operations: ['89-2=87', '66+57=123'] Exploring Operation: 87+123=210, Resulting Numbers: [210] 210,71 unequal: No Solution Exploring Operation: 123-87=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 87*123=10701, Resulting Numbers: [10701] 10701,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[66, 89, 59], Operations: ['57+2=59'] Exploring Operation: 89-59=30, Resulting Numbers: [66, 30] Generated Node #0,2,0: 71:[66, 30] Operation: 89-59=30 Exploring Operation: 89-66=23, Resulting Numbers: [59, 23] Generated Node #0,2,1: 71:[59, 23] Operation: 89-66=23 Exploring Operation: 66+59=125, Resulting Numbers: [89, 125] Generated Node #0,2,2: 71:[89, 125] Operation: 66+59=125 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[66, 30], Operations: ['57+2=59', '89-59=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,71 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,71 unequal: No Solution No 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: 71:[59, 23], Operations: ['57+2=59', '89-66=23'] Exploring Operation: 59-23=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 59+23=82, Resulting Numbers: [82] 82,71 unequal: No Solution Exploring Operation: 59*23=1357, Resulting Numbers: [1357] 1357,71 unequal: No Solution No 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: 71:[89, 125], Operations: ['57+2=59', '66+59=125'] Exploring Operation: 89*125=11125, Resulting Numbers: [11125] 11125,71 unequal: No Solution Exploring Operation: 125-89=36, Resulting Numbers: [36] 36,71 unequal: No Solution Exploring Operation: 89+125=214, Resulting Numbers: [214] 214,71 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