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
[ 37, 29, 36, 28 ]
73
[ "37+36=73", "29-28=1", "73*1=73" ]
Current State: 73:[37, 29, 36, 28], Operations: [] Exploring Operation: 37+36=73, Resulting Numbers: [29, 28, 73] Generated Node #2: [29, 28, 73] from Operation: 37+36=73 Current State: 73:[29, 28, 73], Operations: ['37+36=73'] Exploring Operation: 29-28=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 29-28=1 Current State: 73:[73, 1], Operations: ['37+36=73', '29-28=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[37, 29, 36, 28], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [36, 28, 66] Generated Node #0,0: 73:[36, 28, 66] Operation: 37+29=66 Exploring Operation: 37+36=73, Resulting Numbers: [29, 28, 73] Generated Node #0,1: 73:[29, 28, 73] Operation: 37+36=73 Exploring Operation: 37+28=65, Resulting Numbers: [29, 36, 65] Generated Node #0,2: 73:[29, 36, 65] Operation: 37+28=65 Moving to Node #0,0 Current State: 73:[36, 28, 66], Operations: ['37+29=66'] Exploring Operation: 36+28=64, Resulting Numbers: [66, 64] Generated Node #0,0,0: 73:[66, 64] Operation: 36+28=64 Exploring Operation: 36-28=8, Resulting Numbers: [66, 8] Generated Node #0,0,1: 73:[66, 8] Operation: 36-28=8 Exploring Operation: 28+66=94, Resulting Numbers: [36, 94] Generated Node #0,0,2: 73:[36, 94] Operation: 28+66=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[66, 64], Operations: ['37+29=66', '36+28=64'] Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,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,2 Current State: 73:[36, 94], Operations: ['37+29=66', '28+66=94'] Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,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:[66, 8], Operations: ['37+29=66', '36-28=8'] Exploring Operation: 66*8=528, Resulting Numbers: [528] 528,73 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 66+8=74, Resulting Numbers: [74] 74,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:[29, 28, 73], Operations: ['37+36=73'] Exploring Operation: 29+28=57, Resulting Numbers: [73, 57] Generated Node #0,1,0: 73:[73, 57] Operation: 29+28=57 Exploring Operation: 29-28=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 73:[73, 1] Operation: 29-28=1 Exploring Operation: 28+73=101, Resulting Numbers: [29, 101] Generated Node #0,1,2: 73:[29, 101] Operation: 28+73=101 Moving to Node #0,2 Current State: 73:[29, 36, 65], Operations: ['37+28=65'] Exploring Operation: 36+65=101, Resulting Numbers: [29, 101] Generated Node #0,2,0: 73:[29, 101] Operation: 36+65=101 Exploring Operation: 29+65=94, Resulting Numbers: [36, 94] Generated Node #0,2,1: 73:[36, 94] Operation: 29+65=94 Exploring Operation: 29+36=65, Resulting Numbers: [65, 65] Generated Node #0,2,2: 73:[65, 65] Operation: 29+36=65 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[65, 65], Operations: ['37+28=65', '29+36=65'] Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,73 unequal: No Solution Exploring Operation: 65+65=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,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:[36, 94], Operations: ['37+28=65', '29+65=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,73 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,73 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[29, 101], Operations: ['37+28=65', '36+65=101'] Exploring Operation: 29+101=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 29*101=2929, Resulting Numbers: [2929] 2929,73 unequal: No Solution Exploring Operation: 101-29=72, Resulting Numbers: [72] 72,73 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: 73:[73, 57], Operations: ['37+36=73', '29+28=57'] Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,73 unequal: No Solution Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[73, 1], Operations: ['37+36=73', '29-28=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[37, 29, 36, 28], Operations: [] Exploring Operation: 37+36=73, Resulting Numbers: [29, 28, 73] Generated Node #0,1: 73:[29, 28, 73] Operation: 37+36=73 Moving to Node #0,1 Current State: 73:[29, 28, 73], Operations: ['37+36=73'] Exploring Operation: 29-28=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 73:[73, 1] Operation: 29-28=1 Moving to Node #0,1,1 Current State: 73:[73, 1], Operations: ['37+36=73', '29-28=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 10, 60, 90, 47 ]
98
[ "90/10=9", "60+47=107", "107-9=98" ]
Current State: 98:[10, 60, 90, 47], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [60, 47, 9] Generated Node #2: [60, 47, 9] from Operation: 90/10=9 Current State: 98:[60, 47, 9], Operations: ['90/10=9'] Exploring Operation: 60+47=107, Resulting Numbers: [9, 107] Generated Node #3: [9, 107] from Operation: 60+47=107 Current State: 98:[9, 107], Operations: ['90/10=9', '60+47=107'] Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[10, 60, 90, 47], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [90, 47, 6] Generated Node #0,0: 98:[90, 47, 6] Operation: 60/10=6 Exploring Operation: 60-10=50, Resulting Numbers: [90, 47, 50] Generated Node #0,1: 98:[90, 47, 50] Operation: 60-10=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[90, 47, 6], Operations: ['60/10=6'] Exploring Operation: 90/6=15, Resulting Numbers: [47, 15] Generated Node #0,0,0: 98:[47, 15] Operation: 90/6=15 Exploring Operation: 90+6=96, Resulting Numbers: [47, 96] Generated Node #0,0,1: 98:[47, 96] Operation: 90+6=96 Moving to Node #0,0,0 Current State: 98:[47, 15], Operations: ['60/10=6', '90/6=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[47, 96], Operations: ['60/10=6', '90+6=96'] Exploring Operation: 47+96=143, Resulting Numbers: [143] 143,98 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[90, 47, 50], Operations: ['60-10=50'] Exploring Operation: 90-47=43, Resulting Numbers: [50, 43] Generated Node #0,1,0: 98:[50, 43] Operation: 90-47=43 Exploring Operation: 47+50=97, Resulting Numbers: [90, 97] Generated Node #0,1,1: 98:[90, 97] Operation: 47+50=97 Moving to Node #0,1,0 Current State: 98:[50, 43], Operations: ['60-10=50', '90-47=43'] Exploring Operation: 50+43=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 50-43=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[90, 97], Operations: ['60-10=50', '47+50=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,98 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
[ 39, 8, 71, 73 ]
55
[ "73-71=2", "8*2=16", "39+16=55" ]
Current State: 55:[39, 8, 71, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [39, 8, 2] Generated Node #2: [39, 8, 2] from Operation: 73-71=2 Current State: 55:[39, 8, 2], Operations: ['73-71=2'] Exploring Operation: 8*2=16, Resulting Numbers: [39, 16] Generated Node #3: [39, 16] from Operation: 8*2=16 Current State: 55:[39, 16], Operations: ['73-71=2', '8*2=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[39, 8, 71, 73], Operations: [] Exploring Operation: 71-8=63, Resulting Numbers: [39, 73, 63] Generated Node #0,0: 55:[39, 73, 63] Operation: 71-8=63 Exploring Operation: 73-39=34, Resulting Numbers: [8, 71, 34] Generated Node #0,1: 55:[8, 71, 34] Operation: 73-39=34 Exploring Operation: 71-39=32, Resulting Numbers: [8, 73, 32] Generated Node #0,2: 55:[8, 73, 32] Operation: 71-39=32 Exploring Operation: 39+8=47, Resulting Numbers: [71, 73, 47] Generated Node #0,3: 55:[71, 73, 47] Operation: 39+8=47 Exploring Operation: 73-71=2, Resulting Numbers: [39, 8, 2] Generated Node #0,4: 55:[39, 8, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[39, 8, 2], Operations: ['73-71=2'] Exploring Operation: 8+2=10, Resulting Numbers: [39, 10] Generated Node #0,4,0: 55:[39, 10] Operation: 8+2=10 Exploring Operation: 8/2=4, Resulting Numbers: [39, 4] Generated Node #0,4,1: 55:[39, 4] Operation: 8/2=4 Exploring Operation: 39+2=41, Resulting Numbers: [8, 41] Generated Node #0,4,2: 55:[8, 41] Operation: 39+2=41 Exploring Operation: 8-2=6, Resulting Numbers: [39, 6] Generated Node #0,4,3: 55:[39, 6] Operation: 8-2=6 Exploring Operation: 39+8=47, Resulting Numbers: [2, 47] Generated Node #0,4,4: 55:[2, 47] Operation: 39+8=47 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 55:[2, 47], Operations: ['73-71=2', '39+8=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 55:[39, 10], Operations: ['73-71=2', '8+2=10'] Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,55 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 55:[39, 4], Operations: ['73-71=2', '8/2=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,55 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,55 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 55:[8, 41], Operations: ['73-71=2', '39+2=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 55:[39, 6], Operations: ['73-71=2', '8-2=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[8, 71, 34], Operations: ['73-39=34'] Exploring Operation: 8+34=42, Resulting Numbers: [71, 42] Generated Node #0,1,0: 55:[71, 42] Operation: 8+34=42 Exploring Operation: 71-34=37, Resulting Numbers: [8, 37] Generated Node #0,1,1: 55:[8, 37] Operation: 71-34=37 Exploring Operation: 8+71=79, Resulting Numbers: [34, 79] Generated Node #0,1,2: 55:[34, 79] Operation: 8+71=79 Exploring Operation: 71-8=63, Resulting Numbers: [34, 63] Generated Node #0,1,3: 55:[34, 63] Operation: 71-8=63 Exploring Operation: 34-8=26, Resulting Numbers: [71, 26] Generated Node #0,1,4: 55:[71, 26] Operation: 34-8=26 Moving to Node #0,1,1 Current State: 55:[8, 37], Operations: ['73-39=34', '71-34=37'] Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,55 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[34, 63], Operations: ['73-39=34', '71-8=63'] Exploring Operation: 34*63=2142, Resulting Numbers: [2142] 2142,55 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 34+63=97, Resulting Numbers: [97] 97,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[71, 42], Operations: ['73-39=34', '8+34=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,55 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[71, 26], Operations: ['73-39=34', '34-8=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[34, 79], Operations: ['73-39=34', '8+71=79'] Exploring Operation: 34+79=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 34*79=2686, Resulting Numbers: [2686] 2686,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 Current State: 55:[39, 73, 63], Operations: ['71-8=63'] Exploring Operation: 39+63=102, Resulting Numbers: [73, 102] Generated Node #0,0,0: 55:[73, 102] Operation: 39+63=102 Exploring Operation: 73-63=10, Resulting Numbers: [39, 10] Generated Node #0,0,1: 55:[39, 10] Operation: 73-63=10 Exploring Operation: 73-39=34, Resulting Numbers: [63, 34] Generated Node #0,0,2: 55:[63, 34] Operation: 73-39=34 Exploring Operation: 39+73=112, Resulting Numbers: [63, 112] Generated Node #0,0,3: 55:[63, 112] Operation: 39+73=112 Exploring Operation: 63-39=24, Resulting Numbers: [73, 24] Generated Node #0,0,4: 55:[73, 24] Operation: 63-39=24 Moving to Node #0,0,1 Current State: 55:[39, 10], Operations: ['71-8=63', '73-63=10'] Exploring Operation: 39*10=390, Resulting Numbers: [390] 390,55 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[63, 34], Operations: ['71-8=63', '73-39=34'] Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,55 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[73, 24], Operations: ['71-8=63', '63-39=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,55 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[73, 102], Operations: ['71-8=63', '39+63=102'] Exploring Operation: 102-73=29, Resulting Numbers: [29] 29,55 unequal: No Solution Exploring Operation: 73+102=175, Resulting Numbers: [175] 175,55 unequal: No Solution Exploring Operation: 73*102=7446, Resulting Numbers: [7446] 7446,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[63, 112], Operations: ['71-8=63', '39+73=112'] Exploring Operation: 112-63=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 63*112=7056, Resulting Numbers: [7056] 7056,55 unequal: No Solution Exploring Operation: 63+112=175, Resulting Numbers: [175] 175,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[8, 73, 32], Operations: ['71-39=32'] Exploring Operation: 8+32=40, Resulting Numbers: [73, 40] Generated Node #0,2,0: 55:[73, 40] Operation: 8+32=40 Exploring Operation: 73-8=65, Resulting Numbers: [32, 65] Generated Node #0,2,1: 55:[32, 65] Operation: 73-8=65 Exploring Operation: 32-8=24, Resulting Numbers: [73, 24] Generated Node #0,2,2: 55:[73, 24] Operation: 32-8=24 Exploring Operation: 73-32=41, Resulting Numbers: [8, 41] Generated Node #0,2,3: 55:[8, 41] Operation: 73-32=41 Exploring Operation: 32/8=4, Resulting Numbers: [73, 4] Generated Node #0,2,4: 55:[73, 4] Operation: 32/8=4 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[8, 41], Operations: ['71-39=32', '73-32=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 55:[73, 4], Operations: ['71-39=32', '32/8=4'] Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,55 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,55 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[32, 65], Operations: ['71-39=32', '73-8=65'] Exploring Operation: 65-32=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 32+65=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 32*65=2080, Resulting Numbers: [2080] 2080,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[73, 24], Operations: ['71-39=32', '32-8=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,55 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[73, 40], Operations: ['71-39=32', '8+32=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,55 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[71, 73, 47], Operations: ['39+8=47'] Exploring Operation: 71-47=24, Resulting Numbers: [73, 24] Generated Node #0,3,0: 55:[73, 24] Operation: 71-47=24 Exploring Operation: 73-47=26, Resulting Numbers: [71, 26] Generated Node #0,3,1: 55:[71, 26] Operation: 73-47=26 Exploring Operation: 73-71=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 55:[47, 2] Operation: 73-71=2 Exploring Operation: 73+47=120, Resulting Numbers: [71, 120] Generated Node #0,3,3: 55:[71, 120] Operation: 73+47=120 Exploring Operation: 71+47=118, Resulting Numbers: [73, 118] Generated Node #0,3,4: 55:[73, 118] Operation: 71+47=118 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[47, 2], Operations: ['39+8=47', '73-71=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[73, 24], Operations: ['39+8=47', '71-47=24'] Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,55 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[71, 26], Operations: ['39+8=47', '73-47=26'] Exploring Operation: 71+26=97, Resulting Numbers: [97] 97,55 unequal: No Solution Exploring Operation: 71-26=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 71*26=1846, Resulting Numbers: [1846] 1846,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[71, 120], Operations: ['39+8=47', '73+47=120'] Exploring Operation: 71*120=8520, Resulting Numbers: [8520] 8520,55 unequal: No Solution Exploring Operation: 71+120=191, Resulting Numbers: [191] 191,55 unequal: No Solution Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 55:[73, 118], Operations: ['39+8=47', '71+47=118'] Exploring Operation: 118-73=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 73+118=191, Resulting Numbers: [191] 191,55 unequal: No Solution Exploring Operation: 73*118=8614, Resulting Numbers: [8614] 8614,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 57, 45, 5, 18 ]
11
[ "57-45=12", "5+18=23", "23-12=11" ]
Current State: 11:[57, 45, 5, 18], Operations: [] Exploring Operation: 57-45=12, Resulting Numbers: [5, 18, 12] Generated Node #2: [5, 18, 12] from Operation: 57-45=12 Current State: 11:[5, 18, 12], Operations: ['57-45=12'] Exploring Operation: 5+18=23, Resulting Numbers: [12, 23] Generated Node #3: [12, 23] from Operation: 5+18=23 Current State: 11:[12, 23], Operations: ['57-45=12', '5+18=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[57, 45, 5, 18], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [57, 18, 9] Generated Node #0,0: 11:[57, 18, 9] Operation: 45/5=9 Exploring Operation: 57-45=12, Resulting Numbers: [5, 18, 12] Generated Node #0,1: 11:[5, 18, 12] Operation: 57-45=12 Moving to Node #0,1 Current State: 11:[5, 18, 12], Operations: ['57-45=12'] Exploring Operation: 18-5=13, Resulting Numbers: [12, 13] Generated Node #0,1,0: 11:[12, 13] Operation: 18-5=13 Exploring Operation: 12-5=7, Resulting Numbers: [18, 7] Generated Node #0,1,1: 11:[18, 7] Operation: 12-5=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[12, 13], Operations: ['57-45=12', '18-5=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,11 unequal: No Solution No 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: 11:[18, 7], Operations: ['57-45=12', '12-5=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[57, 45, 5, 18], Operations: [] Exploring Operation: 57-45=12, Resulting Numbers: [5, 18, 12] Generated Node #0,1: 11:[5, 18, 12] Operation: 57-45=12 Moving to Node #0,1 Current State: 11:[5, 18, 12], Operations: ['57-45=12'] Exploring Operation: 12-5=7, Resulting Numbers: [18, 7] Generated Node #0,1,1: 11:[18, 7] Operation: 12-5=7 Moving to Node #0,1,1 Current State: 11:[18, 7], Operations: ['57-45=12', '12-5=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 47, 96, 5, 80 ]
69
[ "80-47=33", "5*33=165", "165-96=69" ]
Current State: 69:[47, 96, 5, 80], Operations: [] Exploring Operation: 80-47=33, Resulting Numbers: [96, 5, 33] Generated Node #2: [96, 5, 33] from Operation: 80-47=33 Current State: 69:[96, 5, 33], Operations: ['80-47=33'] Exploring Operation: 5*33=165, Resulting Numbers: [96, 165] Generated Node #3: [96, 165] from Operation: 5*33=165 Current State: 69:[96, 165], Operations: ['80-47=33', '5*33=165'] Exploring Operation: 165-96=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[47, 96, 5, 80], Operations: [] Exploring Operation: 80-47=33, Resulting Numbers: [96, 5, 33] Generated Node #0,0: 69:[96, 5, 33] Operation: 80-47=33 Exploring Operation: 96-80=16, Resulting Numbers: [47, 5, 16] Generated Node #0,1: 69:[47, 5, 16] Operation: 96-80=16 Exploring Operation: 96-47=49, Resulting Numbers: [5, 80, 49] Generated Node #0,2: 69:[5, 80, 49] Operation: 96-47=49 Moving to Node #0,1 Current State: 69:[47, 5, 16], Operations: ['96-80=16'] Exploring Operation: 47+16=63, Resulting Numbers: [5, 63] Generated Node #0,1,0: 69:[5, 63] Operation: 47+16=63 Exploring Operation: 47-16=31, Resulting Numbers: [5, 31] Generated Node #0,1,1: 69:[5, 31] Operation: 47-16=31 Exploring Operation: 47+5=52, Resulting Numbers: [16, 52] Generated Node #0,1,2: 69:[16, 52] Operation: 47+5=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[5, 63], Operations: ['96-80=16', '47+16=63'] Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,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,1,1 Current State: 69:[5, 31], Operations: ['96-80=16', '47-16=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,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,1,2 Current State: 69:[16, 52], Operations: ['96-80=16', '47+5=52'] Exploring Operation: 16*52=832, Resulting Numbers: [832] 832,69 unequal: No Solution Exploring Operation: 16+52=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,69 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: 69:[5, 80, 49], Operations: ['96-47=49'] Exploring Operation: 5+49=54, Resulting Numbers: [80, 54] Generated Node #0,2,0: 69:[80, 54] Operation: 5+49=54 Exploring Operation: 80-5=75, Resulting Numbers: [49, 75] Generated Node #0,2,1: 69:[49, 75] Operation: 80-5=75 Exploring Operation: 80-49=31, Resulting Numbers: [5, 31] Generated Node #0,2,2: 69:[5, 31] Operation: 80-49=31 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[5, 31], Operations: ['96-47=49', '80-49=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,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,2,0 Current State: 69:[80, 54], Operations: ['96-47=49', '5+49=54'] Exploring Operation: 80*54=4320, Resulting Numbers: [4320] 4320,69 unequal: No Solution Exploring Operation: 80+54=134, Resulting Numbers: [134] 134,69 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,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,2,1 Current State: 69:[49, 75], Operations: ['96-47=49', '80-5=75'] Exploring Operation: 49*75=3675, Resulting Numbers: [3675] 3675,69 unequal: No Solution Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 49+75=124, Resulting Numbers: [124] 124,69 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: 69:[96, 5, 33], Operations: ['80-47=33'] Exploring Operation: 33-5=28, Resulting Numbers: [96, 28] Generated Node #0,0,0: 69:[96, 28] Operation: 33-5=28 Exploring Operation: 96-33=63, Resulting Numbers: [5, 63] Generated Node #0,0,1: 69:[5, 63] Operation: 96-33=63 Exploring Operation: 96-5=91, Resulting Numbers: [33, 91] Generated Node #0,0,2: 69:[33, 91] Operation: 96-5=91 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[5, 63], Operations: ['80-47=33', '96-33=63'] Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,69 unequal: No Solution Exploring Operation: 5*63=315, Resulting Numbers: [315] 315,69 unequal: No Solution Exploring Operation: 5+63=68, Resulting Numbers: [68] 68,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[96, 28], Operations: ['80-47=33', '33-5=28'] Exploring Operation: 96+28=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 96*28=2688, Resulting Numbers: [2688] 2688,69 unequal: No Solution Exploring Operation: 96-28=68, Resulting Numbers: [68] 68,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[33, 91], Operations: ['80-47=33', '96-5=91'] Exploring Operation: 33+91=124, Resulting Numbers: [124] 124,69 unequal: No Solution Exploring Operation: 33*91=3003, Resulting Numbers: [3003] 3003,69 unequal: No Solution Exploring Operation: 91-33=58, Resulting Numbers: [58] 58,69 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
[ 35, 30, 37, 63 ]
31
[ "35-30=5", "63-37=26", "5+26=31" ]
Current State: 31:[35, 30, 37, 63], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [37, 63, 5] Generated Node #2: [37, 63, 5] from Operation: 35-30=5 Current State: 31:[37, 63, 5], Operations: ['35-30=5'] Exploring Operation: 63-37=26, Resulting Numbers: [5, 26] Generated Node #3: [5, 26] from Operation: 63-37=26 Current State: 31:[5, 26], Operations: ['35-30=5', '63-37=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[35, 30, 37, 63], Operations: [] Exploring Operation: 63-30=33, Resulting Numbers: [35, 37, 33] Generated Node #0,0: 31:[35, 37, 33] Operation: 63-30=33 Exploring Operation: 37-35=2, Resulting Numbers: [30, 63, 2] Generated Node #0,1: 31:[30, 63, 2] Operation: 37-35=2 Exploring Operation: 63-37=26, Resulting Numbers: [35, 30, 26] Generated Node #0,2: 31:[35, 30, 26] Operation: 63-37=26 Exploring Operation: 37-30=7, Resulting Numbers: [35, 63, 7] Generated Node #0,3: 31:[35, 63, 7] Operation: 37-30=7 Exploring Operation: 63-35=28, Resulting Numbers: [30, 37, 28] Generated Node #0,4: 31:[30, 37, 28] Operation: 63-35=28 Moving to Node #0,2 Current State: 31:[35, 30, 26], Operations: ['63-37=26'] Exploring Operation: 30+26=56, Resulting Numbers: [35, 56] Generated Node #0,2,0: 31:[35, 56] Operation: 30+26=56 Exploring Operation: 35-26=9, Resulting Numbers: [30, 9] Generated Node #0,2,1: 31:[30, 9] Operation: 35-26=9 Exploring Operation: 35-30=5, Resulting Numbers: [26, 5] Generated Node #0,2,2: 31:[26, 5] Operation: 35-30=5 Exploring Operation: 30-26=4, Resulting Numbers: [35, 4] Generated Node #0,2,3: 31:[35, 4] Operation: 30-26=4 Exploring Operation: 35+26=61, Resulting Numbers: [30, 61] Generated Node #0,2,4: 31:[30, 61] Operation: 35+26=61 Moving to Node #0,4 Current State: 31:[30, 37, 28], Operations: ['63-35=28'] Exploring Operation: 37-30=7, Resulting Numbers: [28, 7] Generated Node #0,4,0: 31:[28, 7] Operation: 37-30=7 Exploring Operation: 30-28=2, Resulting Numbers: [37, 2] Generated Node #0,4,1: 31:[37, 2] Operation: 30-28=2 Exploring Operation: 37+28=65, Resulting Numbers: [30, 65] Generated Node #0,4,2: 31:[30, 65] Operation: 37+28=65 Exploring Operation: 30+28=58, Resulting Numbers: [37, 58] Generated Node #0,4,3: 31:[37, 58] Operation: 30+28=58 Exploring Operation: 37-28=9, Resulting Numbers: [30, 9] Generated Node #0,4,4: 31:[30, 9] Operation: 37-28=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[30, 9], Operations: ['63-35=28', '37-28=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[28, 7], Operations: ['63-35=28', '37-30=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,31 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[37, 58], Operations: ['63-35=28', '30+28=58'] Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,31 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[37, 2], Operations: ['63-35=28', '30-28=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[30, 65], Operations: ['63-35=28', '37+28=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,31 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,31 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: 31:[35, 37, 33], Operations: ['63-30=33'] Exploring Operation: 35+37=72, Resulting Numbers: [33, 72] Generated Node #0,0,0: 31:[33, 72] Operation: 35+37=72 Exploring Operation: 37-35=2, Resulting Numbers: [33, 2] Generated Node #0,0,1: 31:[33, 2] Operation: 37-35=2 Exploring Operation: 37-33=4, Resulting Numbers: [35, 4] Generated Node #0,0,2: 31:[35, 4] Operation: 37-33=4 Exploring Operation: 35-33=2, Resulting Numbers: [37, 2] Generated Node #0,0,3: 31:[37, 2] Operation: 35-33=2 Exploring Operation: 35+33=68, Resulting Numbers: [37, 68] Generated Node #0,0,4: 31:[37, 68] Operation: 35+33=68 Moving to Node #0,3 Current State: 31:[35, 63, 7], Operations: ['37-30=7'] Exploring Operation: 35-7=28, Resulting Numbers: [63, 28] Generated Node #0,3,0: 31:[63, 28] Operation: 35-7=28 Exploring Operation: 63-7=56, Resulting Numbers: [35, 56] Generated Node #0,3,1: 31:[35, 56] Operation: 63-7=56 Exploring Operation: 35+7=42, Resulting Numbers: [63, 42] Generated Node #0,3,2: 31:[63, 42] Operation: 35+7=42 Exploring Operation: 63-35=28, Resulting Numbers: [7, 28] Generated Node #0,3,3: 31:[7, 28] Operation: 63-35=28 Exploring Operation: 63/7=9, Resulting Numbers: [35, 9] Generated Node #0,3,4: 31:[35, 9] Operation: 63/7=9 Moving to Node #0,1 Current State: 31:[30, 63, 2], Operations: ['37-35=2'] Exploring Operation: 63+2=65, Resulting Numbers: [30, 65] Generated Node #0,1,0: 31:[30, 65] Operation: 63+2=65 Exploring Operation: 63-30=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 31:[2, 33] Operation: 63-30=33 Exploring Operation: 30-2=28, Resulting Numbers: [63, 28] Generated Node #0,1,2: 31:[63, 28] Operation: 30-2=28 Exploring Operation: 30+2=32, Resulting Numbers: [63, 32] Generated Node #0,1,3: 31:[63, 32] Operation: 30+2=32 Exploring Operation: 63-2=61, Resulting Numbers: [30, 61] Generated Node #0,1,4: 31:[30, 61] Operation: 63-2=61 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[2, 33], Operations: ['37-35=2', '63-30=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[35, 30, 37, 63], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [30, 63, 2] Generated Node #0,1: 31:[30, 63, 2] Operation: 37-35=2 Moving to Node #0,1 Current State: 31:[30, 63, 2], Operations: ['37-35=2'] Exploring Operation: 63-30=33, Resulting Numbers: [2, 33] Generated Node #0,1,1: 31:[2, 33] Operation: 63-30=33 Moving to Node #0,1,1 Current State: 31:[2, 33], Operations: ['37-35=2', '63-30=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
sum_heuristic
[ 96, 71, 60, 17 ]
18
[ "96-71=25", "60-17=43", "43-25=18" ]
Current State: 18:[96, 71, 60, 17], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [60, 17, 25] Generated Node #2: [60, 17, 25] from Operation: 96-71=25 Current State: 18:[60, 17, 25], Operations: ['96-71=25'] Exploring Operation: 60-17=43, Resulting Numbers: [25, 43] Generated Node #3: [25, 43] from Operation: 60-17=43 Current State: 18:[25, 43], Operations: ['96-71=25', '60-17=43'] Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[96, 71, 60, 17], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [60, 17, 25] Generated Node #0,0: 18:[60, 17, 25] Operation: 96-71=25 Exploring Operation: 96-60=36, Resulting Numbers: [71, 17, 36] Generated Node #0,1: 18:[71, 17, 36] Operation: 96-60=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[60, 17, 25], Operations: ['96-71=25'] Exploring Operation: 60-25=35, Resulting Numbers: [17, 35] Generated Node #0,0,0: 18:[17, 35] Operation: 60-25=35 Exploring Operation: 60-17=43, Resulting Numbers: [25, 43] Generated Node #0,0,1: 18:[25, 43] Operation: 60-17=43 Moving to Node #0,0,0 Current State: 18:[17, 35], Operations: ['96-71=25', '60-25=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[96, 71, 60, 17], Operations: [] Exploring Operation: 96-71=25, Resulting Numbers: [60, 17, 25] Generated Node #0,0: 18:[60, 17, 25] Operation: 96-71=25 Moving to Node #0,0 Current State: 18:[60, 17, 25], Operations: ['96-71=25'] Exploring Operation: 60-25=35, Resulting Numbers: [17, 35] Generated Node #0,0,0: 18:[17, 35] Operation: 60-25=35 Moving to Node #0,0,0 Current State: 18:[17, 35], Operations: ['96-71=25', '60-25=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 8, 74, 4, 3 ]
34
[ "8/4=2", "74/2=37", "37-3=34" ]
Current State: 34:[8, 74, 4, 3], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [74, 3, 2] Generated Node #2: [74, 3, 2] from Operation: 8/4=2 Current State: 34:[74, 3, 2], Operations: ['8/4=2'] Exploring Operation: 74/2=37, Resulting Numbers: [3, 37] Generated Node #3: [3, 37] from Operation: 74/2=37 Current State: 34:[3, 37], Operations: ['8/4=2', '74/2=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[8, 74, 4, 3], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [74, 3, 2] Generated Node #0,0: 34:[74, 3, 2] Operation: 8/4=2 Exploring Operation: 74-8=66, Resulting Numbers: [4, 3, 66] Generated Node #0,1: 34:[4, 3, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[4, 3, 66], Operations: ['74-8=66'] Exploring Operation: 66-4=62, Resulting Numbers: [3, 62] Generated Node #0,1,0: 34:[3, 62] Operation: 66-4=62 Exploring Operation: 66/3=22, Resulting Numbers: [4, 22] Generated Node #0,1,1: 34:[4, 22] Operation: 66/3=22 Moving to Node #0,1,1 Current State: 34:[4, 22], Operations: ['74-8=66', '66/3=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,34 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[3, 62], Operations: ['74-8=66', '66-4=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[74, 3, 2], Operations: ['8/4=2'] Exploring Operation: 74-3=71, Resulting Numbers: [2, 71] Generated Node #0,0,0: 34:[2, 71] Operation: 74-3=71 Exploring Operation: 74/2=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 34:[3, 37] Operation: 74/2=37 Moving to Node #0,0,1 Current State: 34:[3, 37], Operations: ['8/4=2', '74/2=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[8, 74, 4, 3], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [74, 3, 2] Generated Node #0,0: 34:[74, 3, 2] Operation: 8/4=2 Moving to Node #0,0 Current State: 34:[74, 3, 2], Operations: ['8/4=2'] Exploring Operation: 74/2=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 34:[3, 37] Operation: 74/2=37 Moving to Node #0,0,1 Current State: 34:[3, 37], Operations: ['8/4=2', '74/2=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 2, 82, 73, 11 ]
53
[ "2*73=146", "82+11=93", "146-93=53" ]
Current State: 53:[2, 82, 73, 11], Operations: [] Exploring Operation: 2*73=146, Resulting Numbers: [82, 11, 146] Generated Node #2: [82, 11, 146] from Operation: 2*73=146 Current State: 53:[82, 11, 146], Operations: ['2*73=146'] Exploring Operation: 82+11=93, Resulting Numbers: [146, 93] Generated Node #3: [146, 93] from Operation: 82+11=93 Current State: 53:[146, 93], Operations: ['2*73=146', '82+11=93'] Exploring Operation: 146-93=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[2, 82, 73, 11], Operations: [] Exploring Operation: 2*11=22, Resulting Numbers: [82, 73, 22] Generated Node #0,0: 53:[82, 73, 22] Operation: 2*11=22 Exploring Operation: 82/2=41, Resulting Numbers: [73, 11, 41] Generated Node #0,1: 53:[73, 11, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [73, 11, 80] Generated Node #0,2: 53:[73, 11, 80] Operation: 82-2=80 Exploring Operation: 73-2=71, Resulting Numbers: [82, 11, 71] Generated Node #0,3: 53:[82, 11, 71] Operation: 73-2=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[73, 11, 41], Operations: ['82/2=41'] Exploring Operation: 73+11=84, Resulting Numbers: [41, 84] Generated Node #0,1,0: 53:[41, 84] Operation: 73+11=84 Exploring Operation: 41-11=30, Resulting Numbers: [73, 30] Generated Node #0,1,1: 53:[73, 30] Operation: 41-11=30 Exploring Operation: 73-11=62, Resulting Numbers: [41, 62] Generated Node #0,1,2: 53:[41, 62] Operation: 73-11=62 Exploring Operation: 11+41=52, Resulting Numbers: [73, 52] Generated Node #0,1,3: 53:[73, 52] Operation: 11+41=52 Moving to Node #0,1,2 Current State: 53:[41, 62], Operations: ['82/2=41', '73-11=62'] Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[73, 52], Operations: ['82/2=41', '11+41=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[73, 30], Operations: ['82/2=41', '41-11=30'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,53 unequal: No Solution Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,53 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[41, 84], Operations: ['82/2=41', '73+11=84'] Exploring Operation: 41+84=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 41*84=3444, Resulting Numbers: [3444] 3444,53 unequal: No Solution Exploring Operation: 84-41=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[82, 73, 22], Operations: ['2*11=22'] Exploring Operation: 82-22=60, Resulting Numbers: [73, 60] Generated Node #0,0,0: 53:[73, 60] Operation: 82-22=60 Exploring Operation: 82+22=104, Resulting Numbers: [73, 104] Generated Node #0,0,1: 53:[73, 104] Operation: 82+22=104 Exploring Operation: 73+22=95, Resulting Numbers: [82, 95] Generated Node #0,0,2: 53:[82, 95] Operation: 73+22=95 Exploring Operation: 73-22=51, Resulting Numbers: [82, 51] Generated Node #0,0,3: 53:[82, 51] Operation: 73-22=51 Moving to Node #0,0,0 Current State: 53:[73, 60], Operations: ['2*11=22', '82-22=60'] Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 73+60=133, Resulting Numbers: [133] 133,53 unequal: No Solution Exploring Operation: 73*60=4380, Resulting Numbers: [4380] 4380,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[82, 51], Operations: ['2*11=22', '73-22=51'] Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,53 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[82, 95], Operations: ['2*11=22', '73+22=95'] Exploring Operation: 82+95=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 82*95=7790, Resulting Numbers: [7790] 7790,53 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[73, 104], Operations: ['2*11=22', '82+22=104'] Exploring Operation: 73+104=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 73*104=7592, Resulting Numbers: [7592] 7592,53 unequal: No Solution Exploring Operation: 104-73=31, Resulting Numbers: [31] 31,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[73, 11, 80], Operations: ['82-2=80'] Exploring Operation: 80-11=69, Resulting Numbers: [73, 69] Generated Node #0,2,0: 53:[73, 69] Operation: 80-11=69 Exploring Operation: 73-11=62, Resulting Numbers: [80, 62] Generated Node #0,2,1: 53:[80, 62] Operation: 73-11=62 Exploring Operation: 11+80=91, Resulting Numbers: [73, 91] Generated Node #0,2,2: 53:[73, 91] Operation: 11+80=91 Exploring Operation: 73+11=84, Resulting Numbers: [80, 84] Generated Node #0,2,3: 53:[80, 84] Operation: 73+11=84 Moving to Node #0,2,0 Current State: 53:[73, 69], Operations: ['82-2=80', '80-11=69'] Exploring Operation: 73+69=142, Resulting Numbers: [142] 142,53 unequal: No Solution Exploring Operation: 73*69=5037, Resulting Numbers: [5037] 5037,53 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[80, 62], Operations: ['82-2=80', '73-11=62'] Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,53 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[80, 84], Operations: ['82-2=80', '73+11=84'] Exploring Operation: 80+84=164, Resulting Numbers: [164] 164,53 unequal: No Solution Exploring Operation: 84-80=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 80*84=6720, Resulting Numbers: [6720] 6720,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[73, 91], Operations: ['82-2=80', '11+80=91'] Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,53 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[82, 11, 71], Operations: ['73-2=71'] Exploring Operation: 82+11=93, Resulting Numbers: [71, 93] Generated Node #0,3,0: 53:[71, 93] Operation: 82+11=93 Exploring Operation: 71-11=60, Resulting Numbers: [82, 60] Generated Node #0,3,1: 53:[82, 60] Operation: 71-11=60 Exploring Operation: 82-11=71, Resulting Numbers: [71, 71] Generated Node #0,3,2: 53:[71, 71] Operation: 82-11=71 Exploring Operation: 11+71=82, Resulting Numbers: [82, 82] Generated Node #0,3,3: 53:[82, 82] Operation: 11+71=82 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[82, 60], Operations: ['73-2=71', '71-11=60'] Exploring Operation: 82*60=4920, Resulting Numbers: [4920] 4920,53 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 82+60=142, Resulting Numbers: [142] 142,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[71, 71], Operations: ['73-2=71', '82-11=71'] Exploring Operation: 71*71=5041, Resulting Numbers: [5041] 5041,53 unequal: No Solution Exploring Operation: 71-71=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 71+71=142, Resulting Numbers: [142] 142,53 unequal: No Solution Exploring Operation: 71/71=1, Resulting Numbers: [1] 1,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[71, 93], Operations: ['73-2=71', '82+11=93'] Exploring Operation: 71*93=6603, Resulting Numbers: [6603] 6603,53 unequal: No Solution Exploring Operation: 93-71=22, Resulting Numbers: [22] 22,53 unequal: No Solution Exploring Operation: 71+93=164, Resulting Numbers: [164] 164,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[82, 82], Operations: ['73-2=71', '11+71=82'] Exploring Operation: 82+82=164, Resulting Numbers: [164] 164,53 unequal: No Solution Exploring Operation: 82/82=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 82-82=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 82*82=6724, Resulting Numbers: [6724] 6724,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 57, 7, 13, 60 ]
97
[ "57-7=50", "60-13=47", "50+47=97" ]
Current State: 97:[57, 7, 13, 60], Operations: [] Exploring Operation: 57-7=50, Resulting Numbers: [13, 60, 50] Generated Node #2: [13, 60, 50] from Operation: 57-7=50 Current State: 97:[13, 60, 50], Operations: ['57-7=50'] Exploring Operation: 60-13=47, Resulting Numbers: [50, 47] Generated Node #3: [50, 47] from Operation: 60-13=47 Current State: 97:[50, 47], Operations: ['57-7=50', '60-13=47'] Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[57, 7, 13, 60], Operations: [] Exploring Operation: 57+7=64, Resulting Numbers: [13, 60, 64] Generated Node #0,0: 97:[13, 60, 64] Operation: 57+7=64 Exploring Operation: 57+13=70, Resulting Numbers: [7, 60, 70] Generated Node #0,1: 97:[7, 60, 70] Operation: 57+13=70 Exploring Operation: 7+13=20, Resulting Numbers: [57, 60, 20] Generated Node #0,2: 97:[57, 60, 20] Operation: 7+13=20 Exploring Operation: 7*13=91, Resulting Numbers: [57, 60, 91] Generated Node #0,3: 97:[57, 60, 91] Operation: 7*13=91 Moving to Node #0,3 Current State: 97:[57, 60, 91], Operations: ['7*13=91'] Exploring Operation: 57+60=117, Resulting Numbers: [91, 117] Generated Node #0,3,0: 97:[91, 117] Operation: 57+60=117 Exploring Operation: 57+91=148, Resulting Numbers: [60, 148] Generated Node #0,3,1: 97:[60, 148] Operation: 57+91=148 Exploring Operation: 60+91=151, Resulting Numbers: [57, 151] Generated Node #0,3,2: 97:[57, 151] Operation: 60+91=151 Exploring Operation: 60-57=3, Resulting Numbers: [91, 3] Generated Node #0,3,3: 97:[91, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[91, 117], Operations: ['7*13=91', '57+60=117'] Exploring Operation: 117-91=26, Resulting Numbers: [26] 26,97 unequal: No Solution Exploring Operation: 91*117=10647, Resulting Numbers: [10647] 10647,97 unequal: No Solution Exploring Operation: 91+117=208, Resulting Numbers: [208] 208,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,3,1 Current State: 97:[60, 148], Operations: ['7*13=91', '57+91=148'] Exploring Operation: 148-60=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 60+148=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 60*148=8880, Resulting Numbers: [8880] 8880,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,3,2 Current State: 97:[57, 151], Operations: ['7*13=91', '60+91=151'] Exploring Operation: 57*151=8607, Resulting Numbers: [8607] 8607,97 unequal: No Solution Exploring Operation: 57+151=208, Resulting Numbers: [208] 208,97 unequal: No Solution Exploring Operation: 151-57=94, Resulting Numbers: [94] 94,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,3,3 Current State: 97:[91, 3], Operations: ['7*13=91', '60-57=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,97 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[7, 60, 70], Operations: ['57+13=70'] Exploring Operation: 60-7=53, Resulting Numbers: [70, 53] Generated Node #0,1,0: 97:[70, 53] Operation: 60-7=53 Exploring Operation: 7+60=67, Resulting Numbers: [70, 67] Generated Node #0,1,1: 97:[70, 67] Operation: 7+60=67 Exploring Operation: 70-7=63, Resulting Numbers: [60, 63] Generated Node #0,1,2: 97:[60, 63] Operation: 70-7=63 Exploring Operation: 7+70=77, Resulting Numbers: [60, 77] Generated Node #0,1,3: 97:[60, 77] Operation: 7+70=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[70, 67], Operations: ['57+13=70', '7+60=67'] Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 70+67=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 70*67=4690, Resulting Numbers: [4690] 4690,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[60, 77], Operations: ['57+13=70', '7+70=77'] Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,97 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[70, 53], Operations: ['57+13=70', '60-7=53'] Exploring Operation: 70*53=3710, Resulting Numbers: [3710] 3710,97 unequal: No Solution Exploring Operation: 70+53=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[60, 63], Operations: ['57+13=70', '70-7=63'] Exploring Operation: 60*63=3780, Resulting Numbers: [3780] 3780,97 unequal: No Solution Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,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:[13, 60, 64], Operations: ['57+7=64'] Exploring Operation: 13+64=77, Resulting Numbers: [60, 77] Generated Node #0,0,0: 97:[60, 77] Operation: 13+64=77 Exploring Operation: 60-13=47, Resulting Numbers: [64, 47] Generated Node #0,0,1: 97:[64, 47] Operation: 60-13=47 Exploring Operation: 13+60=73, Resulting Numbers: [64, 73] Generated Node #0,0,2: 97:[64, 73] Operation: 13+60=73 Exploring Operation: 64-13=51, Resulting Numbers: [60, 51] Generated Node #0,0,3: 97:[60, 51] Operation: 64-13=51 Moving to Node #0,2 Current State: 97:[57, 60, 20], Operations: ['7+13=20'] Exploring Operation: 57+60=117, Resulting Numbers: [20, 117] Generated Node #0,2,0: 97:[20, 117] Operation: 57+60=117 Exploring Operation: 57+20=77, Resulting Numbers: [60, 77] Generated Node #0,2,1: 97:[60, 77] Operation: 57+20=77 Exploring Operation: 60+20=80, Resulting Numbers: [57, 80] Generated Node #0,2,2: 97:[57, 80] Operation: 60+20=80 Exploring Operation: 57-20=37, Resulting Numbers: [60, 37] Generated Node #0,2,3: 97:[60, 37] Operation: 57-20=37 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[60, 77], Operations: ['7+13=20', '57+20=77'] Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,97 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,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:[57, 80], Operations: ['7+13=20', '60+20=80'] Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,97 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,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:[20, 117], Operations: ['7+13=20', '57+60=117'] Exploring Operation: 20*117=2340, Resulting Numbers: [2340] 2340,97 unequal: No Solution Exploring Operation: 117-20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[57, 7, 13, 60], Operations: [] Exploring Operation: 7+13=20, Resulting Numbers: [57, 60, 20] Generated Node #0,2: 97:[57, 60, 20] Operation: 7+13=20 Moving to Node #0,2 Current State: 97:[57, 60, 20], Operations: ['7+13=20'] Exploring Operation: 57+60=117, Resulting Numbers: [20, 117] Generated Node #0,2,0: 97:[20, 117] Operation: 57+60=117 Moving to Node #0,2,0 Current State: 97:[20, 117], Operations: ['7+13=20', '57+60=117'] Exploring Operation: 117-20=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_4
mult_heuristic
[ 28, 16, 19, 11 ]
100
[ "19-11=8", "16*8=128", "128-28=100" ]
Current State: 100:[28, 16, 19, 11], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [28, 16, 8] Generated Node #2: [28, 16, 8] from Operation: 19-11=8 Current State: 100:[28, 16, 8], Operations: ['19-11=8'] Exploring Operation: 16*8=128, Resulting Numbers: [28, 128] Generated Node #3: [28, 128] from Operation: 16*8=128 Current State: 100:[28, 128], Operations: ['19-11=8', '16*8=128'] Exploring Operation: 128-28=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[28, 16, 19, 11], Operations: [] Exploring Operation: 28-16=12, Resulting Numbers: [19, 11, 12] Generated Node #0,0: 100:[19, 11, 12] Operation: 28-16=12 Exploring Operation: 16-11=5, Resulting Numbers: [28, 19, 5] Generated Node #0,1: 100:[28, 19, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[19, 11, 12], Operations: ['28-16=12'] Exploring Operation: 12-11=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 100:[19, 1] Operation: 12-11=1 Exploring Operation: 19-12=7, Resulting Numbers: [11, 7] Generated Node #0,0,1: 100:[11, 7] Operation: 19-12=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[19, 1], Operations: ['28-16=12', '12-11=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,100 unequal: No Solution No 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: 100:[11, 7], Operations: ['28-16=12', '19-12=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,100 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: 100:[28, 19, 5], Operations: ['16-11=5'] Exploring Operation: 28-19=9, Resulting Numbers: [5, 9] Generated Node #0,1,0: 100:[5, 9] Operation: 28-19=9 Exploring Operation: 28+19=47, Resulting Numbers: [5, 47] Generated Node #0,1,1: 100:[5, 47] Operation: 28+19=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[5, 9], Operations: ['16-11=5', '28-19=9'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,100 unequal: No Solution No 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: 100:[5, 47], Operations: ['16-11=5', '28+19=47'] Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,100 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
[ 14, 98, 10, 52 ]
42
[ "98-14=84", "52-10=42", "84-42=42" ]
Current State: 42:[14, 98, 10, 52], Operations: [] Exploring Operation: 98-14=84, Resulting Numbers: [10, 52, 84] Generated Node #2: [10, 52, 84] from Operation: 98-14=84 Current State: 42:[10, 52, 84], Operations: ['98-14=84'] Exploring Operation: 52-10=42, Resulting Numbers: [84, 42] Generated Node #3: [84, 42] from Operation: 52-10=42 Current State: 42:[84, 42], Operations: ['98-14=84', '52-10=42'] Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[14, 98, 10, 52], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [14, 10, 46] Generated Node #0,0: 42:[14, 10, 46] Operation: 98-52=46 Exploring Operation: 98/14=7, Resulting Numbers: [10, 52, 7] Generated Node #0,1: 42:[10, 52, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 42:[14, 10, 46], Operations: ['98-52=46'] Exploring Operation: 14-10=4, Resulting Numbers: [46, 4] Generated Node #0,0,0: 42:[46, 4] Operation: 14-10=4 Exploring Operation: 46-10=36, Resulting Numbers: [14, 36] Generated Node #0,0,1: 42:[14, 36] Operation: 46-10=36 Moving to Node #0,1 Current State: 42:[10, 52, 7], Operations: ['98/14=7'] Exploring Operation: 52-10=42, Resulting Numbers: [7, 42] Generated Node #0,1,0: 42:[7, 42] Operation: 52-10=42 Exploring Operation: 52-7=45, Resulting Numbers: [10, 45] Generated Node #0,1,1: 42:[10, 45] Operation: 52-7=45 Moving to Node #0,1,0 Current State: 42:[7, 42], Operations: ['98/14=7', '52-10=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,42 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[46, 4], Operations: ['98-52=46', '14-10=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[14, 98, 10, 52], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [14, 10, 46] Generated Node #0,0: 42:[14, 10, 46] Operation: 98-52=46 Moving to Node #0,0 Current State: 42:[14, 10, 46], Operations: ['98-52=46'] Exploring Operation: 14-10=4, Resulting Numbers: [46, 4] Generated Node #0,0,0: 42:[46, 4] Operation: 14-10=4 Moving to Node #0,0,0 Current State: 42:[46, 4], Operations: ['98-52=46', '14-10=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 49, 56, 94, 75 ]
26
[ "56-49=7", "94-75=19", "7+19=26" ]
Current State: 26:[49, 56, 94, 75], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [94, 75, 7] Generated Node #2: [94, 75, 7] from Operation: 56-49=7 Current State: 26:[94, 75, 7], Operations: ['56-49=7'] Exploring Operation: 94-75=19, Resulting Numbers: [7, 19] Generated Node #3: [7, 19] from Operation: 94-75=19 Current State: 26:[7, 19], Operations: ['56-49=7', '94-75=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[49, 56, 94, 75], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [49, 56, 19] Generated Node #0,0: 26:[49, 56, 19] Operation: 94-75=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[49, 56, 19], Operations: ['94-75=19'] Exploring Operation: 56-49=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 26:[19, 7] Operation: 56-49=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[19, 7], Operations: ['94-75=19', '56-49=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[49, 56, 94, 75], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [49, 56, 19] Generated Node #0,0: 26:[49, 56, 19] Operation: 94-75=19 Moving to Node #0,0 Current State: 26:[49, 56, 19], Operations: ['94-75=19'] Exploring Operation: 56-49=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 26:[19, 7] Operation: 56-49=7 Moving to Node #0,0,0 Current State: 26:[19, 7], Operations: ['94-75=19', '56-49=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 17, 51, 18 ]
42
[ "51/17=3", "18+3=21", "2*21=42" ]
Current State: 42:[2, 17, 51, 18], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [2, 18, 3] Generated Node #2: [2, 18, 3] from Operation: 51/17=3 Current State: 42:[2, 18, 3], Operations: ['51/17=3'] Exploring Operation: 18+3=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 18+3=21 Current State: 42:[2, 21], Operations: ['51/17=3', '18+3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[2, 17, 51, 18], Operations: [] Exploring Operation: 18-17=1, Resulting Numbers: [2, 51, 1] Generated Node #0,0: 42:[2, 51, 1] Operation: 18-17=1 Exploring Operation: 51-17=34, Resulting Numbers: [2, 18, 34] Generated Node #0,1: 42:[2, 18, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [2, 18, 3] Generated Node #0,2: 42:[2, 18, 3] Operation: 51/17=3 Exploring Operation: 51-18=33, Resulting Numbers: [2, 17, 33] Generated Node #0,3: 42:[2, 17, 33] Operation: 51-18=33 Moving to Node #0,2 Current State: 42:[2, 18, 3], Operations: ['51/17=3'] Exploring Operation: 18+3=21, Resulting Numbers: [2, 21] Generated Node #0,2,0: 42:[2, 21] Operation: 18+3=21 Exploring Operation: 18-3=15, Resulting Numbers: [2, 15] Generated Node #0,2,1: 42:[2, 15] Operation: 18-3=15 Exploring Operation: 18/3=6, Resulting Numbers: [2, 6] Generated Node #0,2,2: 42:[2, 6] Operation: 18/3=6 Exploring Operation: 2+18=20, Resulting Numbers: [3, 20] Generated Node #0,2,3: 42:[3, 20] Operation: 2+18=20 Moving to Node #0,0 Current State: 42:[2, 51, 1], Operations: ['18-17=1'] Exploring Operation: 51-1=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 42:[2, 50] Operation: 51-1=50 Exploring Operation: 2*1=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 42:[51, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [51, 3] Generated Node #0,0,2: 42:[51, 3] Operation: 2+1=3 Exploring Operation: 51-2=49, Resulting Numbers: [1, 49] Generated Node #0,0,3: 42:[1, 49] Operation: 51-2=49 Moving to Node #0,1 Current State: 42:[2, 18, 34], Operations: ['51-17=34'] Exploring Operation: 34/2=17, Resulting Numbers: [18, 17] Generated Node #0,1,0: 42:[18, 17] Operation: 34/2=17 Exploring Operation: 2+18=20, Resulting Numbers: [34, 20] Generated Node #0,1,1: 42:[34, 20] Operation: 2+18=20 Exploring Operation: 2+34=36, Resulting Numbers: [18, 36] Generated Node #0,1,2: 42:[18, 36] Operation: 2+34=36 Exploring Operation: 34-18=16, Resulting Numbers: [2, 16] Generated Node #0,1,3: 42:[2, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[2, 16], Operations: ['51-17=34', '34-18=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[18, 17], Operations: ['51-17=34', '34/2=17'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,42 unequal: No Solution Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[34, 20], Operations: ['51-17=34', '2+18=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[18, 36], Operations: ['51-17=34', '2+34=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 18*36=648, Resulting Numbers: [648] 648,42 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: 42:[2, 17, 33], Operations: ['51-18=33'] Exploring Operation: 17-2=15, Resulting Numbers: [33, 15] Generated Node #0,3,0: 42:[33, 15] Operation: 17-2=15 Exploring Operation: 33-17=16, Resulting Numbers: [2, 16] Generated Node #0,3,1: 42:[2, 16] Operation: 33-17=16 Exploring Operation: 2+33=35, Resulting Numbers: [17, 35] Generated Node #0,3,2: 42:[17, 35] Operation: 2+33=35 Exploring Operation: 17+33=50, Resulting Numbers: [2, 50] Generated Node #0,3,3: 42:[2, 50] Operation: 17+33=50 Moving to Node #0,2,0 Current State: 42:[2, 21], Operations: ['51/17=3', '18+3=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,42 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[2, 17, 51, 18], Operations: [] Exploring Operation: 51/17=3, Resulting Numbers: [2, 18, 3] Generated Node #0,2: 42:[2, 18, 3] Operation: 51/17=3 Moving to Node #0,2 Current State: 42:[2, 18, 3], Operations: ['51/17=3'] Exploring Operation: 18+3=21, Resulting Numbers: [2, 21] Generated Node #0,2,0: 42:[2, 21] Operation: 18+3=21 Moving to Node #0,2,0 Current State: 42:[2, 21], Operations: ['51/17=3', '18+3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.96441
hs_4
sum_heuristic
[ 32, 9, 32, 23 ]
33
[ "32-9=23", "23/23=1", "32+1=33" ]
Current State: 33:[32, 9, 32, 23], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [23, 23] Generated Node #2: [23, 23] from Operation: 32-9=23 Current State: 33:[23, 23], Operations: ['32-9=23'] Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,33 equal: Goal Reached Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[32, 9, 32, 23], Operations: [] Exploring Operation: 32/32=1, Resulting Numbers: [9, 23, 1] Generated Node #0,0: 33:[9, 23, 1] Operation: 32/32=1 Exploring Operation: 9+23=32, Resulting Numbers: [32, 32, 32] Generated Node #0,1: 33:[32, 32, 32] Operation: 9+23=32 Exploring Operation: 32-23=9, Resulting Numbers: [9, 32, 9] Generated Node #0,2: 33:[9, 32, 9] Operation: 32-23=9 Exploring Operation: 32-23=9, Resulting Numbers: [32, 9, 9] Generated Node #0,3: 33:[32, 9, 9] Operation: 32-23=9 Exploring Operation: 23-9=14, Resulting Numbers: [32, 32, 14] Generated Node #0,4: 33:[32, 32, 14] Operation: 23-9=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[32, 32, 32], Operations: ['9+23=32'] Exploring Operation: 32/32=1, Resulting Numbers: [32, 1] Generated Node #0,1,0: 33:[32, 1] Operation: 32/32=1 Exploring Operation: 32/32=1, Resulting Numbers: [32, 1] Generated Node #0,1,1: 33:[32, 1] Operation: 32/32=1 Exploring Operation: 32-32=0, Resulting Numbers: [32, 0] Generated Node #0,1,2: 33:[32, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [32, 1] Generated Node #0,1,3: 33:[32, 1] Operation: 32/32=1 Exploring Operation: 32-32=0, Resulting Numbers: [32, 0] Generated Node #0,1,4: 33:[32, 0] Operation: 32-32=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[32, 1], Operations: ['9+23=32', '32/32=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[32, 9, 32, 23], Operations: [] Exploring Operation: 9+23=32, Resulting Numbers: [32, 32, 32] Generated Node #0,1: 33:[32, 32, 32] Operation: 9+23=32 Moving to Node #0,1 Current State: 33:[32, 32, 32], Operations: ['9+23=32'] Exploring Operation: 32/32=1, Resulting Numbers: [32, 1] Generated Node #0,1,0: 33:[32, 1] Operation: 32/32=1 Moving to Node #0,1,0 Current State: 33:[32, 1], Operations: ['9+23=32', '32/32=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 17, 12, 75, 73 ]
58
[ "17+12=29", "75-73=2", "29*2=58" ]
Current State: 58:[17, 12, 75, 73], Operations: [] Exploring Operation: 17+12=29, Resulting Numbers: [75, 73, 29] Generated Node #2: [75, 73, 29] from Operation: 17+12=29 Current State: 58:[75, 73, 29], Operations: ['17+12=29'] Exploring Operation: 75-73=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 75-73=2 Current State: 58:[29, 2], Operations: ['17+12=29', '75-73=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[17, 12, 75, 73], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [17, 12, 2] Generated Node #0,0: 58:[17, 12, 2] Operation: 75-73=2 Exploring Operation: 75-17=58, Resulting Numbers: [12, 73, 58] Generated Node #0,1: 58:[12, 73, 58] Operation: 75-17=58 Moving to Node #0,0 Current State: 58:[17, 12, 2], Operations: ['75-73=2'] Exploring Operation: 17-12=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 58:[2, 5] Operation: 17-12=5 Exploring Operation: 17+12=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 17+12=29 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['75-73=2', '17+12=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[17, 12, 75, 73], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [17, 12, 2] Generated Node #0,0: 58:[17, 12, 2] Operation: 75-73=2 Moving to Node #0,0 Current State: 58:[17, 12, 2], Operations: ['75-73=2'] Exploring Operation: 17+12=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 58:[2, 29] Operation: 17+12=29 Moving to Node #0,0,1 Current State: 58:[2, 29], Operations: ['75-73=2', '17+12=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 12, 44, 2, 81 ]
53
[ "12+44=56", "56/2=28", "81-28=53" ]
Current State: 53:[12, 44, 2, 81], Operations: [] Exploring Operation: 12+44=56, Resulting Numbers: [2, 81, 56] Generated Node #2: [2, 81, 56] from Operation: 12+44=56 Current State: 53:[2, 81, 56], Operations: ['12+44=56'] Exploring Operation: 56/2=28, Resulting Numbers: [81, 28] Generated Node #3: [81, 28] from Operation: 56/2=28 Current State: 53:[81, 28], Operations: ['12+44=56', '56/2=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[12, 44, 2, 81], Operations: [] Exploring Operation: 12*2=24, Resulting Numbers: [44, 81, 24] Generated Node #0,0: 53:[44, 81, 24] Operation: 12*2=24 Moving to Node #0,0 Current State: 53:[44, 81, 24], Operations: ['12*2=24'] Exploring Operation: 81-24=57, Resulting Numbers: [44, 57] Generated Node #0,0,0: 53:[44, 57] Operation: 81-24=57 Moving to Node #0,0,0 Current State: 53:[44, 57], Operations: ['12*2=24', '81-24=57'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,53 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 70, 35, 7 ]
92
[ "27+70=97", "35/7=5", "97-5=92" ]
Current State: 92:[27, 70, 35, 7], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [35, 7, 97] Generated Node #2: [35, 7, 97] from Operation: 27+70=97 Current State: 92:[35, 7, 97], Operations: ['27+70=97'] Exploring Operation: 35/7=5, Resulting Numbers: [97, 5] Generated Node #3: [97, 5] from Operation: 35/7=5 Current State: 92:[97, 5], Operations: ['27+70=97', '35/7=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[27, 70, 35, 7], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [35, 7, 97] Generated Node #0,0: 92:[35, 7, 97] Operation: 27+70=97 Exploring Operation: 70+35=105, Resulting Numbers: [27, 7, 105] Generated Node #0,1: 92:[27, 7, 105] Operation: 70+35=105 Exploring Operation: 70-35=35, Resulting Numbers: [27, 7, 35] Generated Node #0,2: 92:[27, 7, 35] Operation: 70-35=35 Exploring Operation: 70-27=43, Resulting Numbers: [35, 7, 43] Generated Node #0,3: 92:[35, 7, 43] Operation: 70-27=43 Exploring Operation: 70/35=2, Resulting Numbers: [27, 7, 2] Generated Node #0,4: 92:[27, 7, 2] Operation: 70/35=2 Moving to Node #0,4 Current State: 92:[27, 7, 2], Operations: ['70/35=2'] Exploring Operation: 27-2=25, Resulting Numbers: [7, 25] Generated Node #0,4,0: 92:[7, 25] Operation: 27-2=25 Exploring Operation: 27+2=29, Resulting Numbers: [7, 29] Generated Node #0,4,1: 92:[7, 29] Operation: 27+2=29 Exploring Operation: 27-7=20, Resulting Numbers: [2, 20] Generated Node #0,4,2: 92:[2, 20] Operation: 27-7=20 Exploring Operation: 7-2=5, Resulting Numbers: [27, 5] Generated Node #0,4,3: 92:[27, 5] Operation: 7-2=5 Exploring Operation: 7+2=9, Resulting Numbers: [27, 9] Generated Node #0,4,4: 92:[27, 9] Operation: 7+2=9 Moving to Node #0,3 Current State: 92:[35, 7, 43], Operations: ['70-27=43'] Exploring Operation: 35/7=5, Resulting Numbers: [43, 5] Generated Node #0,3,0: 92:[43, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [43, 28] Generated Node #0,3,1: 92:[43, 28] Operation: 35-7=28 Exploring Operation: 7+43=50, Resulting Numbers: [35, 50] Generated Node #0,3,2: 92:[35, 50] Operation: 7+43=50 Exploring Operation: 35+7=42, Resulting Numbers: [43, 42] Generated Node #0,3,3: 92:[43, 42] Operation: 35+7=42 Exploring Operation: 43-35=8, Resulting Numbers: [7, 8] Generated Node #0,3,4: 92:[7, 8] Operation: 43-35=8 Moving to Node #0,2 Current State: 92:[27, 7, 35], Operations: ['70-35=35'] Exploring Operation: 35/7=5, Resulting Numbers: [27, 5] Generated Node #0,2,0: 92:[27, 5] Operation: 35/7=5 Exploring Operation: 35-27=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 92:[7, 8] Operation: 35-27=8 Exploring Operation: 7+35=42, Resulting Numbers: [27, 42] Generated Node #0,2,2: 92:[27, 42] Operation: 7+35=42 Exploring Operation: 27-7=20, Resulting Numbers: [35, 20] Generated Node #0,2,3: 92:[35, 20] Operation: 27-7=20 Exploring Operation: 35-7=28, Resulting Numbers: [27, 28] Generated Node #0,2,4: 92:[27, 28] Operation: 35-7=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[27, 5], Operations: ['70-35=35', '35/7=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,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,2,1 Current State: 92:[7, 8], Operations: ['70-35=35', '35-27=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,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,2,2 Current State: 92:[27, 42], Operations: ['70-35=35', '7+35=42'] Exploring Operation: 27*42=1134, Resulting Numbers: [1134] 1134,92 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 27+42=69, Resulting Numbers: [69] 69,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,2,4 Current State: 92:[27, 28], Operations: ['70-35=35', '35-7=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 27*28=756, Resulting Numbers: [756] 756,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,2,3 Current State: 92:[35, 20], Operations: ['70-35=35', '27-7=20'] Exploring Operation: 35*20=700, Resulting Numbers: [700] 700,92 unequal: No Solution Exploring Operation: 35+20=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,92 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: 92:[35, 7, 97], Operations: ['27+70=97'] Exploring Operation: 35+7=42, Resulting Numbers: [97, 42] Generated Node #0,0,0: 92:[97, 42] Operation: 35+7=42 Exploring Operation: 35-7=28, Resulting Numbers: [97, 28] Generated Node #0,0,1: 92:[97, 28] Operation: 35-7=28 Exploring Operation: 97-7=90, Resulting Numbers: [35, 90] Generated Node #0,0,2: 92:[35, 90] Operation: 97-7=90 Exploring Operation: 97-35=62, Resulting Numbers: [7, 62] Generated Node #0,0,3: 92:[7, 62] Operation: 97-35=62 Exploring Operation: 35/7=5, Resulting Numbers: [97, 5] Generated Node #0,0,4: 92:[97, 5] Operation: 35/7=5 Moving to Node #0,1 Current State: 92:[27, 7, 105], Operations: ['70+35=105'] Exploring Operation: 105-7=98, Resulting Numbers: [27, 98] Generated Node #0,1,0: 92:[27, 98] Operation: 105-7=98 Exploring Operation: 105-27=78, Resulting Numbers: [7, 78] Generated Node #0,1,1: 92:[7, 78] Operation: 105-27=78 Exploring Operation: 27-7=20, Resulting Numbers: [105, 20] Generated Node #0,1,2: 92:[105, 20] Operation: 27-7=20 Exploring Operation: 27+7=34, Resulting Numbers: [105, 34] Generated Node #0,1,3: 92:[105, 34] Operation: 27+7=34 Exploring Operation: 105/7=15, Resulting Numbers: [27, 15] Generated Node #0,1,4: 92:[27, 15] Operation: 105/7=15 Moving to Node #0,4,2 Current State: 92:[2, 20], Operations: ['70/35=2', '27-7=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[43, 5], Operations: ['70-27=43', '35/7=5'] Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,92 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,92 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[27, 5], Operations: ['70/35=2', '7-2=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,92 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[7, 25], Operations: ['70/35=2', '27-2=25'] Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,92 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[97, 5], Operations: ['27+70=97', '35/7=5'] Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,92 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[27, 70, 35, 7], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [35, 7, 97] Generated Node #0,0: 92:[35, 7, 97] Operation: 27+70=97 Moving to Node #0,0 Current State: 92:[35, 7, 97], Operations: ['27+70=97'] Exploring Operation: 35/7=5, Resulting Numbers: [97, 5] Generated Node #0,0,4: 92:[97, 5] Operation: 35/7=5 Moving to Node #0,0,4 Current State: 92:[97, 5], Operations: ['27+70=97', '35/7=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.944444
hs_5
mult_heuristic
[ 15, 10, 26, 33 ]
45
[ "10+26=36", "36-33=3", "15*3=45" ]
Current State: 45:[15, 10, 26, 33], Operations: [] Exploring Operation: 10+26=36, Resulting Numbers: [15, 33, 36] Generated Node #2: [15, 33, 36] from Operation: 10+26=36 Current State: 45:[15, 33, 36], Operations: ['10+26=36'] Exploring Operation: 36-33=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 36-33=3 Current State: 45:[15, 3], Operations: ['10+26=36', '36-33=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[15, 10, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [15, 10, 7] Generated Node #0,0: 45:[15, 10, 7] Operation: 33-26=7 Exploring Operation: 10+33=43, Resulting Numbers: [15, 26, 43] Generated Node #0,1: 45:[15, 26, 43] Operation: 10+33=43 Exploring Operation: 26-10=16, Resulting Numbers: [15, 33, 16] Generated Node #0,2: 45:[15, 33, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[15, 10, 7], Operations: ['33-26=7'] Exploring Operation: 15-10=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 45:[7, 5] Operation: 15-10=5 Exploring Operation: 15-7=8, Resulting Numbers: [10, 8] Generated Node #0,0,1: 45:[10, 8] Operation: 15-7=8 Exploring Operation: 10-7=3, Resulting Numbers: [15, 3] Generated Node #0,0,2: 45:[15, 3] Operation: 10-7=3 Moving to Node #0,0,2 Current State: 45:[15, 3], Operations: ['33-26=7', '10-7=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[15, 10, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [15, 10, 7] Generated Node #0,0: 45:[15, 10, 7] Operation: 33-26=7 Moving to Node #0,0 Current State: 45:[15, 10, 7], Operations: ['33-26=7'] Exploring Operation: 10-7=3, Resulting Numbers: [15, 3] Generated Node #0,0,2: 45:[15, 3] Operation: 10-7=3 Moving to Node #0,0,2 Current State: 45:[15, 3], Operations: ['33-26=7', '10-7=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 84, 30, 18, 46 ]
86
[ "84+30=114", "46-18=28", "114-28=86" ]
Current State: 86:[84, 30, 18, 46], Operations: [] Exploring Operation: 84+30=114, Resulting Numbers: [18, 46, 114] Generated Node #2: [18, 46, 114] from Operation: 84+30=114 Current State: 86:[18, 46, 114], Operations: ['84+30=114'] Exploring Operation: 46-18=28, Resulting Numbers: [114, 28] Generated Node #3: [114, 28] from Operation: 46-18=28 Current State: 86:[114, 28], Operations: ['84+30=114', '46-18=28'] Exploring Operation: 114-28=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[84, 30, 18, 46], Operations: [] Exploring Operation: 30+46=76, Resulting Numbers: [84, 18, 76] Generated Node #0,0: 86:[84, 18, 76] Operation: 30+46=76 Exploring Operation: 84-30=54, Resulting Numbers: [18, 46, 54] Generated Node #0,1: 86:[18, 46, 54] Operation: 84-30=54 Exploring Operation: 30-18=12, Resulting Numbers: [84, 46, 12] Generated Node #0,2: 86:[84, 46, 12] Operation: 30-18=12 Exploring Operation: 30+18=48, Resulting Numbers: [84, 46, 48] Generated Node #0,3: 86:[84, 46, 48] Operation: 30+18=48 Moving to Node #0,3 Current State: 86:[84, 46, 48], Operations: ['30+18=48'] Exploring Operation: 46+48=94, Resulting Numbers: [84, 94] Generated Node #0,3,0: 86:[84, 94] Operation: 46+48=94 Exploring Operation: 48-46=2, Resulting Numbers: [84, 2] Generated Node #0,3,1: 86:[84, 2] Operation: 48-46=2 Exploring Operation: 84-46=38, Resulting Numbers: [48, 38] Generated Node #0,3,2: 86:[48, 38] Operation: 84-46=38 Exploring Operation: 84-48=36, Resulting Numbers: [46, 36] Generated Node #0,3,3: 86:[46, 36] Operation: 84-48=36 Moving to Node #0,2 Current State: 86:[84, 46, 12], Operations: ['30-18=12'] Exploring Operation: 84+12=96, Resulting Numbers: [46, 96] Generated Node #0,2,0: 86:[46, 96] Operation: 84+12=96 Exploring Operation: 46-12=34, Resulting Numbers: [84, 34] Generated Node #0,2,1: 86:[84, 34] Operation: 46-12=34 Exploring Operation: 84/12=7, Resulting Numbers: [46, 7] Generated Node #0,2,2: 86:[46, 7] Operation: 84/12=7 Exploring Operation: 84-46=38, Resulting Numbers: [12, 38] Generated Node #0,2,3: 86:[12, 38] Operation: 84-46=38 Moving to Node #0,0 Current State: 86:[84, 18, 76], Operations: ['30+46=76'] Exploring Operation: 84+18=102, Resulting Numbers: [76, 102] Generated Node #0,0,0: 86:[76, 102] Operation: 84+18=102 Exploring Operation: 76-18=58, Resulting Numbers: [84, 58] Generated Node #0,0,1: 86:[84, 58] Operation: 76-18=58 Exploring Operation: 84-76=8, Resulting Numbers: [18, 8] Generated Node #0,0,2: 86:[18, 8] Operation: 84-76=8 Exploring Operation: 18+76=94, Resulting Numbers: [84, 94] Generated Node #0,0,3: 86:[84, 94] Operation: 18+76=94 Moving to Node #0,1 Current State: 86:[18, 46, 54], Operations: ['84-30=54'] Exploring Operation: 18+54=72, Resulting Numbers: [46, 72] Generated Node #0,1,0: 86:[46, 72] Operation: 18+54=72 Exploring Operation: 54/18=3, Resulting Numbers: [46, 3] Generated Node #0,1,1: 86:[46, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [46, 36] Generated Node #0,1,2: 86:[46, 36] Operation: 54-18=36 Exploring Operation: 54-46=8, Resulting Numbers: [18, 8] Generated Node #0,1,3: 86:[18, 8] Operation: 54-46=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[46, 3], Operations: ['84-30=54', '54/18=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,86 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[46, 36], Operations: ['84-30=54', '54-18=36'] Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,86 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[46, 72], Operations: ['84-30=54', '18+54=72'] Exploring Operation: 46+72=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 46*72=3312, Resulting Numbers: [3312] 3312,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[18, 8], Operations: ['84-30=54', '54-46=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,86 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 86:[84, 2], Operations: ['30+18=48', '48-46=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 84*2=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[84, 30, 18, 46], Operations: [] Exploring Operation: 30+18=48, Resulting Numbers: [84, 46, 48] Generated Node #0,3: 86:[84, 46, 48] Operation: 30+18=48 Moving to Node #0,3 Current State: 86:[84, 46, 48], Operations: ['30+18=48'] Exploring Operation: 48-46=2, Resulting Numbers: [84, 2] Generated Node #0,3,1: 86:[84, 2] Operation: 48-46=2 Moving to Node #0,3,1 Current State: 86:[84, 2], Operations: ['30+18=48', '48-46=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 17, 35, 21, 87 ]
14
[ "17+35=52", "87-21=66", "66-52=14" ]
Current State: 14:[17, 35, 21, 87], Operations: [] Exploring Operation: 17+35=52, Resulting Numbers: [21, 87, 52] Generated Node #2: [21, 87, 52] from Operation: 17+35=52 Current State: 14:[21, 87, 52], Operations: ['17+35=52'] Exploring Operation: 87-21=66, Resulting Numbers: [52, 66] Generated Node #3: [52, 66] from Operation: 87-21=66 Current State: 14:[52, 66], Operations: ['17+35=52', '87-21=66'] Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 35, 21, 87], Operations: [] Exploring Operation: 35-21=14, Resulting Numbers: [17, 87, 14] Generated Node #0,0: 14:[17, 87, 14] Operation: 35-21=14 Exploring Operation: 87-21=66, Resulting Numbers: [17, 35, 66] Generated Node #0,1: 14:[17, 35, 66] Operation: 87-21=66 Exploring Operation: 87-35=52, Resulting Numbers: [17, 21, 52] Generated Node #0,2: 14:[17, 21, 52] Operation: 87-35=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[17, 21, 52], Operations: ['87-35=52'] Exploring Operation: 52-21=31, Resulting Numbers: [17, 31] Generated Node #0,2,0: 14:[17, 31] Operation: 52-21=31 Exploring Operation: 52-17=35, Resulting Numbers: [21, 35] Generated Node #0,2,1: 14:[21, 35] Operation: 52-17=35 Exploring Operation: 21-17=4, Resulting Numbers: [52, 4] Generated Node #0,2,2: 14:[52, 4] Operation: 21-17=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[17, 31], Operations: ['87-35=52', '52-21=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[17, 35, 21, 87], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [17, 21, 52] Generated Node #0,2: 14:[17, 21, 52] Operation: 87-35=52 Moving to Node #0,2 Current State: 14:[17, 21, 52], Operations: ['87-35=52'] Exploring Operation: 52-21=31, Resulting Numbers: [17, 31] Generated Node #0,2,0: 14:[17, 31] Operation: 52-21=31 Moving to Node #0,2,0 Current State: 14:[17, 31], Operations: ['87-35=52', '52-21=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 39, 46, 41, 20 ]
54
[ "46-39=7", "41+20=61", "61-7=54" ]
Current State: 54:[39, 46, 41, 20], Operations: [] Exploring Operation: 46-39=7, Resulting Numbers: [41, 20, 7] Generated Node #2: [41, 20, 7] from Operation: 46-39=7 Current State: 54:[41, 20, 7], Operations: ['46-39=7'] Exploring Operation: 41+20=61, Resulting Numbers: [7, 61] Generated Node #3: [7, 61] from Operation: 41+20=61 Current State: 54:[7, 61], Operations: ['46-39=7', '41+20=61'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[39, 46, 41, 20], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [46, 20, 2] Generated Node #0,0: 54:[46, 20, 2] Operation: 41-39=2 Exploring Operation: 46-41=5, Resulting Numbers: [39, 20, 5] Generated Node #0,1: 54:[39, 20, 5] Operation: 46-41=5 Moving to Node #0,0 Current State: 54:[46, 20, 2], Operations: ['41-39=2'] Exploring Operation: 46/2=23, Resulting Numbers: [20, 23] Generated Node #0,0,0: 54:[20, 23] Operation: 46/2=23 Exploring Operation: 46-20=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 54:[2, 26] Operation: 46-20=26 Moving to Node #0,1 Current State: 54:[39, 20, 5], Operations: ['46-41=5'] Exploring Operation: 39+20=59, Resulting Numbers: [5, 59] Generated Node #0,1,0: 54:[5, 59] Operation: 39+20=59 Exploring Operation: 39-20=19, Resulting Numbers: [5, 19] Generated Node #0,1,1: 54:[5, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[5, 19], Operations: ['46-41=5', '39-20=19'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,54 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[5, 59], Operations: ['46-41=5', '39+20=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[39, 46, 41, 20], Operations: [] Exploring Operation: 46-41=5, Resulting Numbers: [39, 20, 5] Generated Node #0,1: 54:[39, 20, 5] Operation: 46-41=5 Moving to Node #0,1 Current State: 54:[39, 20, 5], Operations: ['46-41=5'] Exploring Operation: 39+20=59, Resulting Numbers: [5, 59] Generated Node #0,1,0: 54:[5, 59] Operation: 39+20=59 Moving to Node #0,1,0 Current State: 54:[5, 59], Operations: ['46-41=5', '39+20=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_2
mult_heuristic
[ 8, 75, 79, 50 ]
91
[ "8*75=600", "600/50=12", "79+12=91" ]
Current State: 91:[8, 75, 79, 50], Operations: [] Exploring Operation: 8*75=600, Resulting Numbers: [79, 50, 600] Generated Node #2: [79, 50, 600] from Operation: 8*75=600 Current State: 91:[79, 50, 600], Operations: ['8*75=600'] Exploring Operation: 600/50=12, Resulting Numbers: [79, 12] Generated Node #3: [79, 12] from Operation: 600/50=12 Current State: 91:[79, 12], Operations: ['8*75=600', '600/50=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[8, 75, 79, 50], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [8, 50, 4] Generated Node #0,0: 91:[8, 50, 4] Operation: 79-75=4 Exploring Operation: 75-50=25, Resulting Numbers: [8, 79, 25] Generated Node #0,1: 91:[8, 79, 25] Operation: 75-50=25 Exploring Operation: 79-50=29, Resulting Numbers: [8, 75, 29] Generated Node #0,2: 91:[8, 75, 29] Operation: 79-50=29 Exploring Operation: 75+50=125, Resulting Numbers: [8, 79, 125] Generated Node #0,3: 91:[8, 79, 125] Operation: 75+50=125 Exploring Operation: 79+50=129, Resulting Numbers: [8, 75, 129] Generated Node #0,4: 91:[8, 75, 129] Operation: 79+50=129 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[8, 79, 25], Operations: ['75-50=25'] Exploring Operation: 79+25=104, Resulting Numbers: [8, 104] Generated Node #0,1,0: 91:[8, 104] Operation: 79+25=104 Exploring Operation: 79-8=71, Resulting Numbers: [25, 71] Generated Node #0,1,1: 91:[25, 71] Operation: 79-8=71 Exploring Operation: 25-8=17, Resulting Numbers: [79, 17] Generated Node #0,1,2: 91:[79, 17] Operation: 25-8=17 Exploring Operation: 8+79=87, Resulting Numbers: [25, 87] Generated Node #0,1,3: 91:[25, 87] Operation: 8+79=87 Exploring Operation: 8+25=33, Resulting Numbers: [79, 33] Generated Node #0,1,4: 91:[79, 33] Operation: 8+25=33 Moving to Node #0,1,0 Current State: 91:[8, 104], Operations: ['75-50=25', '79+25=104'] Exploring Operation: 8+104=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 8*104=832, Resulting Numbers: [832] 832,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[25, 87], Operations: ['75-50=25', '8+79=87'] Exploring Operation: 25*87=2175, Resulting Numbers: [2175] 2175,91 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 25+87=112, Resulting Numbers: [112] 112,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[79, 17], Operations: ['75-50=25', '25-8=17'] Exploring Operation: 79+17=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 79*17=1343, Resulting Numbers: [1343] 1343,91 unequal: No Solution Exploring Operation: 79-17=62, Resulting Numbers: [62] 62,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[25, 71], Operations: ['75-50=25', '79-8=71'] Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,91 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[79, 33], Operations: ['75-50=25', '8+25=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[8, 75, 29], Operations: ['79-50=29'] Exploring Operation: 75-29=46, Resulting Numbers: [8, 46] Generated Node #0,2,0: 91:[8, 46] Operation: 75-29=46 Exploring Operation: 75-8=67, Resulting Numbers: [29, 67] Generated Node #0,2,1: 91:[29, 67] Operation: 75-8=67 Exploring Operation: 75+29=104, Resulting Numbers: [8, 104] Generated Node #0,2,2: 91:[8, 104] Operation: 75+29=104 Exploring Operation: 8+75=83, Resulting Numbers: [29, 83] Generated Node #0,2,3: 91:[29, 83] Operation: 8+75=83 Exploring Operation: 29-8=21, Resulting Numbers: [75, 21] Generated Node #0,2,4: 91:[75, 21] Operation: 29-8=21 Moving to Node #0,2,2 Current State: 91:[8, 104], Operations: ['79-50=29', '75+29=104'] Exploring Operation: 8*104=832, Resulting Numbers: [832] 832,91 unequal: No Solution Exploring Operation: 8+104=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[75, 21], Operations: ['79-50=29', '29-8=21'] Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,91 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,91 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[29, 83], Operations: ['79-50=29', '8+75=83'] Exploring Operation: 29+83=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 29*83=2407, Resulting Numbers: [2407] 2407,91 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[8, 46], Operations: ['79-50=29', '75-29=46'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,91 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[29, 67], Operations: ['79-50=29', '75-8=67'] Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 29*67=1943, Resulting Numbers: [1943] 1943,91 unequal: No Solution Exploring Operation: 29+67=96, Resulting Numbers: [96] 96,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[8, 50, 4], Operations: ['79-75=4'] Exploring Operation: 50+4=54, Resulting Numbers: [8, 54] Generated Node #0,0,0: 91:[8, 54] Operation: 50+4=54 Exploring Operation: 50-4=46, Resulting Numbers: [8, 46] Generated Node #0,0,1: 91:[8, 46] Operation: 50-4=46 Exploring Operation: 8+4=12, Resulting Numbers: [50, 12] Generated Node #0,0,2: 91:[50, 12] Operation: 8+4=12 Exploring Operation: 50-8=42, Resulting Numbers: [4, 42] Generated Node #0,0,3: 91:[4, 42] Operation: 50-8=42 Exploring Operation: 8+50=58, Resulting Numbers: [4, 58] Generated Node #0,0,4: 91:[4, 58] Operation: 8+50=58 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 91:[4, 42], Operations: ['79-75=4', '50-8=42'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[8, 46], Operations: ['79-75=4', '50-4=46'] Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,91 unequal: No Solution Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 91:[4, 58], Operations: ['79-75=4', '8+50=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,91 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[8, 54], Operations: ['79-75=4', '50+4=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 91:[50, 12], Operations: ['79-75=4', '8+4=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[8, 79, 125], Operations: ['75+50=125'] Exploring Operation: 79-8=71, Resulting Numbers: [125, 71] Generated Node #0,3,0: 91:[125, 71] Operation: 79-8=71 Exploring Operation: 8+79=87, Resulting Numbers: [125, 87] Generated Node #0,3,1: 91:[125, 87] Operation: 8+79=87 Exploring Operation: 125-79=46, Resulting Numbers: [8, 46] Generated Node #0,3,2: 91:[8, 46] Operation: 125-79=46 Exploring Operation: 8+125=133, Resulting Numbers: [79, 133] Generated Node #0,3,3: 91:[79, 133] Operation: 8+125=133 Exploring Operation: 125-8=117, Resulting Numbers: [79, 117] Generated Node #0,3,4: 91:[79, 117] Operation: 125-8=117 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 91:[8, 46], Operations: ['75+50=125', '125-79=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,91 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 91:[125, 87], Operations: ['75+50=125', '8+79=87'] Exploring Operation: 125+87=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 125*87=10875, Resulting Numbers: [10875] 10875,91 unequal: No Solution Exploring Operation: 125-87=38, Resulting Numbers: [38] 38,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 91:[79, 117], Operations: ['75+50=125', '125-8=117'] Exploring Operation: 117-79=38, Resulting Numbers: [38] 38,91 unequal: No Solution Exploring Operation: 79+117=196, Resulting Numbers: [196] 196,91 unequal: No Solution Exploring Operation: 79*117=9243, Resulting Numbers: [9243] 9243,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 91:[125, 71], Operations: ['75+50=125', '79-8=71'] Exploring Operation: 125-71=54, Resulting Numbers: [54] 54,91 unequal: No Solution Exploring Operation: 125*71=8875, Resulting Numbers: [8875] 8875,91 unequal: No Solution Exploring Operation: 125+71=196, Resulting Numbers: [196] 196,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 91:[79, 133], Operations: ['75+50=125', '8+125=133'] Exploring Operation: 79*133=10507, Resulting Numbers: [10507] 10507,91 unequal: No Solution Exploring Operation: 79+133=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 133-79=54, Resulting Numbers: [54] 54,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[8, 75, 129], Operations: ['79+50=129'] Exploring Operation: 129-8=121, Resulting Numbers: [75, 121] Generated Node #0,4,0: 91:[75, 121] Operation: 129-8=121 Exploring Operation: 8+75=83, Resulting Numbers: [129, 83] Generated Node #0,4,1: 91:[129, 83] Operation: 8+75=83 Exploring Operation: 129-75=54, Resulting Numbers: [8, 54] Generated Node #0,4,2: 91:[8, 54] Operation: 129-75=54 Exploring Operation: 8+129=137, Resulting Numbers: [75, 137] Generated Node #0,4,3: 91:[75, 137] Operation: 8+129=137 Exploring Operation: 75-8=67, Resulting Numbers: [129, 67] Generated Node #0,4,4: 91:[129, 67] Operation: 75-8=67 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 91:[8, 54], Operations: ['79+50=129', '129-75=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,91 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[75, 121], Operations: ['79+50=129', '129-8=121'] Exploring Operation: 75+121=196, Resulting Numbers: [196] 196,91 unequal: No Solution Exploring Operation: 75*121=9075, Resulting Numbers: [9075] 9075,91 unequal: No Solution Exploring Operation: 121-75=46, Resulting Numbers: [46] 46,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 91:[129, 83], Operations: ['79+50=129', '8+75=83'] Exploring Operation: 129*83=10707, Resulting Numbers: [10707] 10707,91 unequal: No Solution Exploring Operation: 129+83=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 129-83=46, Resulting Numbers: [46] 46,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 91:[75, 137], Operations: ['79+50=129', '8+129=137'] Exploring Operation: 75+137=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 75*137=10275, Resulting Numbers: [10275] 10275,91 unequal: No Solution Exploring Operation: 137-75=62, Resulting Numbers: [62] 62,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 91:[129, 67], Operations: ['79+50=129', '75-8=67'] Exploring Operation: 129+67=196, Resulting Numbers: [196] 196,91 unequal: No Solution Exploring Operation: 129-67=62, Resulting Numbers: [62] 62,91 unequal: No Solution Exploring Operation: 129*67=8643, Resulting Numbers: [8643] 8643,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 63, 48, 22, 84 ]
47
[ "63-48=15", "84-22=62", "62-15=47" ]
Current State: 47:[63, 48, 22, 84], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [22, 84, 15] Generated Node #2: [22, 84, 15] from Operation: 63-48=15 Current State: 47:[22, 84, 15], Operations: ['63-48=15'] Exploring Operation: 84-22=62, Resulting Numbers: [15, 62] Generated Node #3: [15, 62] from Operation: 84-22=62 Current State: 47:[15, 62], Operations: ['63-48=15', '84-22=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[63, 48, 22, 84], Operations: [] Exploring Operation: 84-63=21, Resulting Numbers: [48, 22, 21] Generated Node #0,0: 47:[48, 22, 21] Operation: 84-63=21 Exploring Operation: 63-22=41, Resulting Numbers: [48, 84, 41] Generated Node #0,1: 47:[48, 84, 41] Operation: 63-22=41 Exploring Operation: 84-22=62, Resulting Numbers: [63, 48, 62] Generated Node #0,2: 47:[63, 48, 62] Operation: 84-22=62 Exploring Operation: 84-48=36, Resulting Numbers: [63, 22, 36] Generated Node #0,3: 47:[63, 22, 36] Operation: 84-48=36 Moving to Node #0,2 Current State: 47:[63, 48, 62], Operations: ['84-22=62'] Exploring Operation: 63+48=111, Resulting Numbers: [62, 111] Generated Node #0,2,0: 47:[62, 111] Operation: 63+48=111 Exploring Operation: 63-62=1, Resulting Numbers: [48, 1] Generated Node #0,2,1: 47:[48, 1] Operation: 63-62=1 Exploring Operation: 62-48=14, Resulting Numbers: [63, 14] Generated Node #0,2,2: 47:[63, 14] Operation: 62-48=14 Exploring Operation: 63-48=15, Resulting Numbers: [62, 15] Generated Node #0,2,3: 47:[62, 15] Operation: 63-48=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[48, 1], Operations: ['84-22=62', '63-62=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[63, 48, 22, 84], Operations: [] Exploring Operation: 84-22=62, Resulting Numbers: [63, 48, 62] Generated Node #0,2: 47:[63, 48, 62] Operation: 84-22=62 Moving to Node #0,2 Current State: 47:[63, 48, 62], Operations: ['84-22=62'] Exploring Operation: 63-62=1, Resulting Numbers: [48, 1] Generated Node #0,2,1: 47:[48, 1] Operation: 63-62=1 Moving to Node #0,2,1 Current State: 47:[48, 1], Operations: ['84-22=62', '63-62=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 35, 50, 13, 13 ]
26
[ "50-35=15", "15-13=2", "13*2=26" ]
Current State: 26:[35, 50, 13, 13], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [13, 13, 15] Generated Node #2: [13, 13, 15] from Operation: 50-35=15 Current State: 26:[13, 13, 15], Operations: ['50-35=15'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,26 equal: Goal Reached Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[35, 50, 13, 13], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [13, 13, 15] Generated Node #0,0: 26:[13, 13, 15] Operation: 50-35=15 Exploring Operation: 50-13=37, Resulting Numbers: [35, 13, 37] Generated Node #0,1: 26:[35, 13, 37] Operation: 50-13=37 Moving to Node #0,0 Current State: 26:[13, 13, 15], Operations: ['50-35=15'] Exploring Operation: 15-13=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 26:[13, 2] Operation: 15-13=2 Exploring Operation: 15-13=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 26:[13, 2] Operation: 15-13=2 Moving to Node #0,1 Current State: 26:[35, 13, 37], Operations: ['50-13=37'] Exploring Operation: 37-13=24, Resulting Numbers: [35, 24] Generated Node #0,1,0: 26:[35, 24] Operation: 37-13=24 Exploring Operation: 37-35=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 37-35=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['50-13=37', '37-35=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[35, 50, 13, 13], Operations: [] Exploring Operation: 50-13=37, Resulting Numbers: [35, 13, 37] Generated Node #0,1: 26:[35, 13, 37] Operation: 50-13=37 Moving to Node #0,1 Current State: 26:[35, 13, 37], Operations: ['50-13=37'] Exploring Operation: 37-35=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 37-35=2 Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['50-13=37', '37-35=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 88, 14, 99, 76 ]
73
[ "88+14=102", "99+76=175", "175-102=73" ]
Current State: 73:[88, 14, 99, 76], Operations: [] Exploring Operation: 88+14=102, Resulting Numbers: [99, 76, 102] Generated Node #2: [99, 76, 102] from Operation: 88+14=102 Current State: 73:[99, 76, 102], Operations: ['88+14=102'] Exploring Operation: 99+76=175, Resulting Numbers: [102, 175] Generated Node #3: [102, 175] from Operation: 99+76=175 Current State: 73:[102, 175], Operations: ['88+14=102', '99+76=175'] Exploring Operation: 175-102=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[88, 14, 99, 76], Operations: [] Exploring Operation: 88-14=74, Resulting Numbers: [99, 76, 74] Generated Node #0,0: 73:[99, 76, 74] Operation: 88-14=74 Exploring Operation: 99-14=85, Resulting Numbers: [88, 76, 85] Generated Node #0,1: 73:[88, 76, 85] Operation: 99-14=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[99, 76, 74], Operations: ['88-14=74'] Exploring Operation: 99-74=25, Resulting Numbers: [76, 25] Generated Node #0,0,0: 73:[76, 25] Operation: 99-74=25 Exploring Operation: 99-76=23, Resulting Numbers: [74, 23] Generated Node #0,0,1: 73:[74, 23] Operation: 99-76=23 Moving to Node #0,0,0 Current State: 73:[76, 25], Operations: ['88-14=74', '99-74=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[74, 23], Operations: ['88-14=74', '99-76=23'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[88, 76, 85], Operations: ['99-14=85'] Exploring Operation: 88-85=3, Resulting Numbers: [76, 3] Generated Node #0,1,0: 73:[76, 3] Operation: 88-85=3 Exploring Operation: 88-76=12, Resulting Numbers: [85, 12] Generated Node #0,1,1: 73:[85, 12] Operation: 88-76=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[76, 3], Operations: ['99-14=85', '88-85=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[88, 14, 99, 76], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [88, 76, 85] Generated Node #0,1: 73:[88, 76, 85] Operation: 99-14=85 Moving to Node #0,1 Current State: 73:[88, 76, 85], Operations: ['99-14=85'] Exploring Operation: 88-85=3, Resulting Numbers: [76, 3] Generated Node #0,1,0: 73:[76, 3] Operation: 88-85=3 Moving to Node #0,1,0 Current State: 73:[76, 3], Operations: ['99-14=85', '88-85=3'] Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 20, 46, 43, 81 ]
79
[ "43-20=23", "46/23=2", "81-2=79" ]
Current State: 79:[20, 46, 43, 81], Operations: [] Exploring Operation: 43-20=23, Resulting Numbers: [46, 81, 23] Generated Node #2: [46, 81, 23] from Operation: 43-20=23 Current State: 79:[46, 81, 23], Operations: ['43-20=23'] Exploring Operation: 46/23=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 46/23=2 Current State: 79:[81, 2], Operations: ['43-20=23', '46/23=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[20, 46, 43, 81], Operations: [] Exploring Operation: 20+46=66, Resulting Numbers: [43, 81, 66] Generated Node #0,0: 79:[43, 81, 66] Operation: 20+46=66 Exploring Operation: 20+43=63, Resulting Numbers: [46, 81, 63] Generated Node #0,1: 79:[46, 81, 63] Operation: 20+43=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[43, 81, 66], Operations: ['20+46=66'] Exploring Operation: 81-43=38, Resulting Numbers: [66, 38] Generated Node #0,0,0: 79:[66, 38] Operation: 81-43=38 Exploring Operation: 43+66=109, Resulting Numbers: [81, 109] Generated Node #0,0,1: 79:[81, 109] Operation: 43+66=109 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[81, 109], Operations: ['20+46=66', '43+66=109'] Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[66, 38], Operations: ['20+46=66', '81-43=38'] Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 66+38=104, Resulting Numbers: [104] 104,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[46, 81, 63], Operations: ['20+43=63'] Exploring Operation: 46+63=109, Resulting Numbers: [81, 109] Generated Node #0,1,0: 79:[81, 109] Operation: 46+63=109 Exploring Operation: 81-46=35, Resulting Numbers: [63, 35] Generated Node #0,1,1: 79:[63, 35] Operation: 81-46=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[81, 109], Operations: ['20+43=63', '46+63=109'] Exploring Operation: 81+109=190, Resulting Numbers: [190] 190,79 unequal: No Solution Exploring Operation: 109-81=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[63, 35], Operations: ['20+43=63', '81-46=35'] Exploring Operation: 63+35=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 10, 33, 52, 93 ]
97
[ "52-33=19", "10*19=190", "190-93=97" ]
Current State: 97:[10, 33, 52, 93], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [10, 93, 19] Generated Node #2: [10, 93, 19] from Operation: 52-33=19 Current State: 97:[10, 93, 19], Operations: ['52-33=19'] Exploring Operation: 10*19=190, Resulting Numbers: [93, 190] Generated Node #3: [93, 190] from Operation: 10*19=190 Current State: 97:[93, 190], Operations: ['52-33=19', '10*19=190'] Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[10, 33, 52, 93], Operations: [] Exploring Operation: 10+33=43, Resulting Numbers: [52, 93, 43] Generated Node #0,0: 97:[52, 93, 43] Operation: 10+33=43 Exploring Operation: 33+52=85, Resulting Numbers: [10, 93, 85] Generated Node #0,1: 97:[10, 93, 85] Operation: 33+52=85 Exploring Operation: 10+52=62, Resulting Numbers: [33, 93, 62] Generated Node #0,2: 97:[33, 93, 62] Operation: 10+52=62 Moving to Node #0,0 Current State: 97:[52, 93, 43], Operations: ['10+33=43'] Exploring Operation: 52-43=9, Resulting Numbers: [93, 9] Generated Node #0,0,0: 97:[93, 9] Operation: 52-43=9 Exploring Operation: 52+43=95, Resulting Numbers: [93, 95] Generated Node #0,0,1: 97:[93, 95] Operation: 52+43=95 Exploring Operation: 93+43=136, Resulting Numbers: [52, 136] Generated Node #0,0,2: 97:[52, 136] Operation: 93+43=136 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[93, 95], Operations: ['10+33=43', '52+43=95'] Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,97 unequal: No Solution Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[52, 136], Operations: ['10+33=43', '93+43=136'] Exploring Operation: 136-52=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 52+136=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 52*136=7072, Resulting Numbers: [7072] 7072,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[93, 9], Operations: ['10+33=43', '52-43=9'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,97 unequal: No Solution Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,97 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[10, 93, 85], Operations: ['33+52=85'] Exploring Operation: 10+93=103, Resulting Numbers: [85, 103] Generated Node #0,1,0: 97:[85, 103] Operation: 10+93=103 Exploring Operation: 93-10=83, Resulting Numbers: [85, 83] Generated Node #0,1,1: 97:[85, 83] Operation: 93-10=83 Exploring Operation: 10+85=95, Resulting Numbers: [93, 95] Generated Node #0,1,2: 97:[93, 95] Operation: 10+85=95 Moving to Node #0,2 Current State: 97:[33, 93, 62], Operations: ['10+52=62'] Exploring Operation: 33+62=95, Resulting Numbers: [93, 95] Generated Node #0,2,0: 97:[93, 95] Operation: 33+62=95 Exploring Operation: 33+93=126, Resulting Numbers: [62, 126] Generated Node #0,2,1: 97:[62, 126] Operation: 33+93=126 Exploring Operation: 93-33=60, Resulting Numbers: [62, 60] Generated Node #0,2,2: 97:[62, 60] Operation: 93-33=60 Moving to Node #0,1,2 Current State: 97:[93, 95], Operations: ['33+52=85', '10+85=95'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[93, 95], Operations: ['10+52=62', '33+62=95'] Exploring Operation: 93+95=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 93*95=8835, Resulting Numbers: [8835] 8835,97 unequal: No Solution Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[85, 103], Operations: ['33+52=85', '10+93=103'] Exploring Operation: 103-85=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 85+103=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 85*103=8755, Resulting Numbers: [8755] 8755,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[85, 83], Operations: ['33+52=85', '93-10=83'] Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,97 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[62, 126], Operations: ['10+52=62', '33+93=126'] Exploring Operation: 126-62=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 62+126=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 62*126=7812, Resulting Numbers: [7812] 7812,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[62, 60], Operations: ['10+52=62', '93-33=60'] Exploring Operation: 62*60=3720, Resulting Numbers: [3720] 3720,97 unequal: No Solution Exploring Operation: 62-60=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 62+60=122, Resulting Numbers: [122] 122,97 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 38, 16, 22, 44 ]
88
[ "38-16=22", "22+44=66", "22+66=88" ]
Current State: 88:[38, 16, 22, 44], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [22, 44, 22] Generated Node #2: [22, 44, 22] from Operation: 38-16=22 Current State: 88:[22, 44, 22], Operations: ['38-16=22'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,88 equal: Goal Reached Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[38, 16, 22, 44], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [22, 44, 22] Generated Node #0,0: 88:[22, 44, 22] Operation: 38-16=22 Exploring Operation: 22-16=6, Resulting Numbers: [38, 44, 6] Generated Node #0,1: 88:[38, 44, 6] Operation: 22-16=6 Exploring Operation: 44-38=6, Resulting Numbers: [16, 22, 6] Generated Node #0,2: 88:[16, 22, 6] Operation: 44-38=6 Moving to Node #0,0 Current State: 88:[22, 44, 22], Operations: ['38-16=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22, 22] Generated Node #0,0,0: 88:[22, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 88:[22, 2] Operation: 44/22=2 Exploring Operation: 22+22=44, Resulting Numbers: [44, 44] Generated Node #0,0,2: 88:[44, 44] Operation: 22+22=44 Moving to Node #0,2 Current State: 88:[16, 22, 6], Operations: ['44-38=6'] Exploring Operation: 16-6=10, Resulting Numbers: [22, 10] Generated Node #0,2,0: 88:[22, 10] Operation: 16-6=10 Exploring Operation: 22-16=6, Resulting Numbers: [6, 6] Generated Node #0,2,1: 88:[6, 6] Operation: 22-16=6 Exploring Operation: 16+6=22, Resulting Numbers: [22, 22] Generated Node #0,2,2: 88:[22, 22] Operation: 16+6=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[22, 22], Operations: ['44-38=6', '16+6=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[22, 10], Operations: ['44-38=6', '16-6=10'] Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,88 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[6, 6], Operations: ['44-38=6', '22-16=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,88 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: 88:[38, 44, 6], Operations: ['22-16=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44, 44] Generated Node #0,1,0: 88:[44, 44] Operation: 38+6=44 Exploring Operation: 44-38=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 88:[6, 6] Operation: 44-38=6 Exploring Operation: 38+44=82, Resulting Numbers: [6, 82] Generated Node #0,1,2: 88:[6, 82] Operation: 38+44=82 Moving to Node #0,0,0 Current State: 88:[22, 22], Operations: ['38-16=22', '44-22=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[44, 44], Operations: ['38-16=22', '22+22=44'] Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[38, 16, 22, 44], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [22, 44, 22] Generated Node #0,0: 88:[22, 44, 22] Operation: 38-16=22 Moving to Node #0,0 Current State: 88:[22, 44, 22], Operations: ['38-16=22'] Exploring Operation: 22+22=44, Resulting Numbers: [44, 44] Generated Node #0,0,2: 88:[44, 44] Operation: 22+22=44 Moving to Node #0,0,2 Current State: 88:[44, 44], Operations: ['38-16=22', '22+22=44'] Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.97309
hs_3
sum_heuristic
[ 24, 77, 83, 83 ]
65
[ "24+77=101", "83+83=166", "166-101=65" ]
Current State: 65:[24, 77, 83, 83], Operations: [] Exploring Operation: 24+77=101, Resulting Numbers: [83, 83, 101] Generated Node #2: [83, 83, 101] from Operation: 24+77=101 Current State: 65:[83, 83, 101], Operations: ['24+77=101'] Exploring Operation: 83+83=166, Resulting Numbers: [101, 166] Generated Node #3: [101, 166] from Operation: 83+83=166 Current State: 65:[101, 166], Operations: ['24+77=101', '83+83=166'] Exploring Operation: 166-101=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[24, 77, 83, 83], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [24, 83, 6] Generated Node #0,0: 65:[24, 83, 6] Operation: 83-77=6 Exploring Operation: 83/83=1, Resulting Numbers: [24, 77, 1] Generated Node #0,1: 65:[24, 77, 1] Operation: 83/83=1 Exploring Operation: 83-83=0, Resulting Numbers: [24, 77, 0] Generated Node #0,2: 65:[24, 77, 0] Operation: 83-83=0 Moving to Node #0,1 Current State: 65:[24, 77, 1], Operations: ['83/83=1'] Exploring Operation: 24-1=23, Resulting Numbers: [77, 23] Generated Node #0,1,0: 65:[77, 23] Operation: 24-1=23 Exploring Operation: 77-1=76, Resulting Numbers: [24, 76] Generated Node #0,1,1: 65:[24, 76] Operation: 77-1=76 Exploring Operation: 77-24=53, Resulting Numbers: [1, 53] Generated Node #0,1,2: 65:[1, 53] Operation: 77-24=53 Moving to Node #0,2 Current State: 65:[24, 77, 0], Operations: ['83-83=0'] Exploring Operation: 24*0=0, Resulting Numbers: [77, 0] Generated Node #0,2,0: 65:[77, 0] Operation: 24*0=0 Exploring Operation: 77*0=0, Resulting Numbers: [24, 0] Generated Node #0,2,1: 65:[24, 0] Operation: 77*0=0 Exploring Operation: 77-24=53, Resulting Numbers: [0, 53] Generated Node #0,2,2: 65:[0, 53] Operation: 77-24=53 Moving to Node #0,0 Current State: 65:[24, 83, 6], Operations: ['83-77=6'] Exploring Operation: 24-6=18, Resulting Numbers: [83, 18] Generated Node #0,0,0: 65:[83, 18] Operation: 24-6=18 Exploring Operation: 24/6=4, Resulting Numbers: [83, 4] Generated Node #0,0,1: 65:[83, 4] Operation: 24/6=4 Exploring Operation: 83-24=59, Resulting Numbers: [6, 59] Generated Node #0,0,2: 65:[6, 59] Operation: 83-24=59 Moving to Node #0,0,2 Current State: 65:[6, 59], Operations: ['83-77=6', '83-24=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[24, 77, 83, 83], Operations: [] Exploring Operation: 83-77=6, Resulting Numbers: [24, 83, 6] Generated Node #0,0: 65:[24, 83, 6] Operation: 83-77=6 Moving to Node #0,0 Current State: 65:[24, 83, 6], Operations: ['83-77=6'] Exploring Operation: 83-24=59, Resulting Numbers: [6, 59] Generated Node #0,0,2: 65:[6, 59] Operation: 83-24=59 Moving to Node #0,0,2 Current State: 65:[6, 59], Operations: ['83-77=6', '83-24=59'] Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 52, 51, 38, 84 ]
57
[ "52+51=103", "84-38=46", "103-46=57" ]
Current State: 57:[52, 51, 38, 84], Operations: [] Exploring Operation: 52+51=103, Resulting Numbers: [38, 84, 103] Generated Node #2: [38, 84, 103] from Operation: 52+51=103 Current State: 57:[38, 84, 103], Operations: ['52+51=103'] Exploring Operation: 84-38=46, Resulting Numbers: [103, 46] Generated Node #3: [103, 46] from Operation: 84-38=46 Current State: 57:[103, 46], Operations: ['52+51=103', '84-38=46'] Exploring Operation: 103-46=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[52, 51, 38, 84], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [51, 38, 32] Generated Node #0,0: 57:[51, 38, 32] Operation: 84-52=32 Exploring Operation: 84-51=33, Resulting Numbers: [52, 38, 33] Generated Node #0,1: 57:[52, 38, 33] Operation: 84-51=33 Exploring Operation: 84-38=46, Resulting Numbers: [52, 51, 46] Generated Node #0,2: 57:[52, 51, 46] Operation: 84-38=46 Exploring Operation: 52-38=14, Resulting Numbers: [51, 84, 14] Generated Node #0,3: 57:[51, 84, 14] Operation: 52-38=14 Exploring Operation: 51-38=13, Resulting Numbers: [52, 84, 13] Generated Node #0,4: 57:[52, 84, 13] Operation: 51-38=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[52, 51, 46], Operations: ['84-38=46'] Exploring Operation: 51+46=97, Resulting Numbers: [52, 97] Generated Node #0,2,0: 57:[52, 97] Operation: 51+46=97 Exploring Operation: 52-51=1, Resulting Numbers: [46, 1] Generated Node #0,2,1: 57:[46, 1] Operation: 52-51=1 Exploring Operation: 52+46=98, Resulting Numbers: [51, 98] Generated Node #0,2,2: 57:[51, 98] Operation: 52+46=98 Exploring Operation: 52-46=6, Resulting Numbers: [51, 6] Generated Node #0,2,3: 57:[51, 6] Operation: 52-46=6 Exploring Operation: 51-46=5, Resulting Numbers: [52, 5] Generated Node #0,2,4: 57:[52, 5] Operation: 51-46=5 Moving to Node #0,2,4 Current State: 57:[52, 5], Operations: ['84-38=46', '51-46=5'] Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,57 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,57 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[52, 51, 38, 84], Operations: [] Exploring Operation: 84-38=46, Resulting Numbers: [52, 51, 46] Generated Node #0,2: 57:[52, 51, 46] Operation: 84-38=46 Moving to Node #0,2 Current State: 57:[52, 51, 46], Operations: ['84-38=46'] Exploring Operation: 51-46=5, Resulting Numbers: [52, 5] Generated Node #0,2,4: 57:[52, 5] Operation: 51-46=5 Moving to Node #0,2,4 Current State: 57:[52, 5], Operations: ['84-38=46', '51-46=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 6, 80, 4, 95 ]
25
[ "6*80=480", "480/4=120", "120-95=25" ]
Current State: 25:[6, 80, 4, 95], Operations: [] Exploring Operation: 6*80=480, Resulting Numbers: [4, 95, 480] Generated Node #2: [4, 95, 480] from Operation: 6*80=480 Current State: 25:[4, 95, 480], Operations: ['6*80=480'] Exploring Operation: 480/4=120, Resulting Numbers: [95, 120] Generated Node #3: [95, 120] from Operation: 480/4=120 Current State: 25:[95, 120], Operations: ['6*80=480', '480/4=120'] Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[6, 80, 4, 95], Operations: [] Exploring Operation: 80/4=20, Resulting Numbers: [6, 95, 20] Generated Node #0,0: 25:[6, 95, 20] Operation: 80/4=20 Exploring Operation: 95-80=15, Resulting Numbers: [6, 4, 15] Generated Node #0,1: 25:[6, 4, 15] Operation: 95-80=15 Moving to Node #0,1 Current State: 25:[6, 4, 15], Operations: ['95-80=15'] Exploring Operation: 15-6=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 25:[4, 9] Operation: 15-6=9 Exploring Operation: 6+15=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 25:[4, 21] Operation: 6+15=21 Moving to Node #0,0 Current State: 25:[6, 95, 20], Operations: ['80/4=20'] Exploring Operation: 95-6=89, Resulting Numbers: [20, 89] Generated Node #0,0,0: 25:[20, 89] Operation: 95-6=89 Exploring Operation: 95-20=75, Resulting Numbers: [6, 75] Generated Node #0,0,1: 25:[6, 75] Operation: 95-20=75 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[6, 75], Operations: ['80/4=20', '95-20=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[20, 89], Operations: ['80/4=20', '95-6=89'] Exploring Operation: 20+89=109, Resulting Numbers: [109] 109,25 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,25 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: 25:[4, 9], Operations: ['95-80=15', '15-6=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[4, 21], Operations: ['95-80=15', '6+15=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[6, 80, 4, 95], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [6, 4, 15] Generated Node #0,1: 25:[6, 4, 15] Operation: 95-80=15 Moving to Node #0,1 Current State: 25:[6, 4, 15], Operations: ['95-80=15'] Exploring Operation: 6+15=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 25:[4, 21] Operation: 6+15=21 Moving to Node #0,1,1 Current State: 25:[4, 21], Operations: ['95-80=15', '6+15=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 2, 74, 26, 49 ]
71
[ "2*26=52", "74+49=123", "123-52=71" ]
Current State: 71:[2, 74, 26, 49], Operations: [] Exploring Operation: 2*26=52, Resulting Numbers: [74, 49, 52] Generated Node #2: [74, 49, 52] from Operation: 2*26=52 Current State: 71:[74, 49, 52], Operations: ['2*26=52'] Exploring Operation: 74+49=123, Resulting Numbers: [52, 123] Generated Node #3: [52, 123] from Operation: 74+49=123 Current State: 71:[52, 123], Operations: ['2*26=52', '74+49=123'] Exploring Operation: 123-52=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[2, 74, 26, 49], Operations: [] Exploring Operation: 74-2=72, Resulting Numbers: [26, 49, 72] Generated Node #0,0: 71:[26, 49, 72] Operation: 74-2=72 Exploring Operation: 2+26=28, Resulting Numbers: [74, 49, 28] Generated Node #0,1: 71:[74, 49, 28] Operation: 2+26=28 Exploring Operation: 2*26=52, Resulting Numbers: [74, 49, 52] Generated Node #0,2: 71:[74, 49, 52] Operation: 2*26=52 Exploring Operation: 2+49=51, Resulting Numbers: [74, 26, 51] Generated Node #0,3: 71:[74, 26, 51] Operation: 2+49=51 Moving to Node #0,2 Current State: 71:[74, 49, 52], Operations: ['2*26=52'] Exploring Operation: 49+52=101, Resulting Numbers: [74, 101] Generated Node #0,2,0: 71:[74, 101] Operation: 49+52=101 Exploring Operation: 74-52=22, Resulting Numbers: [49, 22] Generated Node #0,2,1: 71:[49, 22] Operation: 74-52=22 Exploring Operation: 74-49=25, Resulting Numbers: [52, 25] Generated Node #0,2,2: 71:[52, 25] Operation: 74-49=25 Exploring Operation: 74+49=123, Resulting Numbers: [52, 123] Generated Node #0,2,3: 71:[52, 123] Operation: 74+49=123 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[74, 101], Operations: ['2*26=52', '49+52=101'] Exploring Operation: 101-74=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 74+101=175, Resulting Numbers: [175] 175,71 unequal: No Solution Exploring Operation: 74*101=7474, Resulting Numbers: [7474] 7474,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:[52, 25], Operations: ['2*26=52', '74-49=25'] Exploring Operation: 52*25=1300, Resulting Numbers: [1300] 1300,71 unequal: No Solution Exploring Operation: 52-25=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 52+25=77, Resulting Numbers: [77] 77,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:[49, 22], Operations: ['2*26=52', '74-52=22'] Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,71 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[2, 74, 26, 49], Operations: [] Exploring Operation: 2*26=52, Resulting Numbers: [74, 49, 52] Generated Node #0,2: 71:[74, 49, 52] Operation: 2*26=52 Moving to Node #0,2 Current State: 71:[74, 49, 52], Operations: ['2*26=52'] Exploring Operation: 74-52=22, Resulting Numbers: [49, 22] Generated Node #0,2,1: 71:[49, 22] Operation: 74-52=22 Moving to Node #0,2,1 Current State: 71:[49, 22], Operations: ['2*26=52', '74-52=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 58, 47, 74, 93 ]
79
[ "58*74=4292", "47*93=4371", "4371-4292=79" ]
Current State: 79:[58, 47, 74, 93], Operations: [] Exploring Operation: 58*74=4292, Resulting Numbers: [47, 93, 4292] Generated Node #2: [47, 93, 4292] from Operation: 58*74=4292 Current State: 79:[47, 93, 4292], Operations: ['58*74=4292'] Exploring Operation: 47*93=4371, Resulting Numbers: [4292, 4371] Generated Node #3: [4292, 4371] from Operation: 47*93=4371 Current State: 79:[4292, 4371], Operations: ['58*74=4292', '47*93=4371'] Exploring Operation: 4371-4292=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[58, 47, 74, 93], Operations: [] Exploring Operation: 93-47=46, Resulting Numbers: [58, 74, 46] Generated Node #0,0: 79:[58, 74, 46] Operation: 93-47=46 Exploring Operation: 58+47=105, Resulting Numbers: [74, 93, 105] Generated Node #0,1: 79:[74, 93, 105] Operation: 58+47=105 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[74, 93, 105], Operations: ['58+47=105'] Exploring Operation: 105-93=12, Resulting Numbers: [74, 12] Generated Node #0,1,0: 79:[74, 12] Operation: 105-93=12 Exploring Operation: 105-74=31, Resulting Numbers: [93, 31] Generated Node #0,1,1: 79:[93, 31] Operation: 105-74=31 Moving to Node #0,1,1 Current State: 79:[93, 31], Operations: ['58+47=105', '105-74=31'] Exploring Operation: 93+31=124, Resulting Numbers: [124] 124,79 unequal: No Solution Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[74, 12], Operations: ['58+47=105', '105-93=12'] Exploring Operation: 74+12=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[58, 74, 46], Operations: ['93-47=46'] Exploring Operation: 74+46=120, Resulting Numbers: [58, 120] Generated Node #0,0,0: 79:[58, 120] Operation: 74+46=120 Exploring Operation: 58+46=104, Resulting Numbers: [74, 104] Generated Node #0,0,1: 79:[74, 104] Operation: 58+46=104 Moving to Node #0,0,1 Current State: 79:[74, 104], Operations: ['93-47=46', '58+46=104'] Exploring Operation: 74+104=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 104-74=30, Resulting Numbers: [30] 30,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[58, 120], Operations: ['93-47=46', '74+46=120'] Exploring Operation: 58+120=178, Resulting Numbers: [178] 178,79 unequal: No Solution Exploring Operation: 120-58=62, Resulting Numbers: [62] 62,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 43, 35, 56, 37 ]
85
[ "43-35=8", "56+37=93", "93-8=85" ]
Current State: 85:[43, 35, 56, 37], Operations: [] Exploring Operation: 43-35=8, Resulting Numbers: [56, 37, 8] Generated Node #2: [56, 37, 8] from Operation: 43-35=8 Current State: 85:[56, 37, 8], Operations: ['43-35=8'] Exploring Operation: 56+37=93, Resulting Numbers: [8, 93] Generated Node #3: [8, 93] from Operation: 56+37=93 Current State: 85:[8, 93], Operations: ['43-35=8', '56+37=93'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 35, 56, 37], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [35, 56, 6] Generated Node #0,0: 85:[35, 56, 6] Operation: 43-37=6 Exploring Operation: 56-37=19, Resulting Numbers: [43, 35, 19] Generated Node #0,1: 85:[43, 35, 19] Operation: 56-37=19 Exploring Operation: 56-35=21, Resulting Numbers: [43, 37, 21] Generated Node #0,2: 85:[43, 37, 21] Operation: 56-35=21 Exploring Operation: 56-43=13, Resulting Numbers: [35, 37, 13] Generated Node #0,3: 85:[35, 37, 13] Operation: 56-43=13 Moving to Node #0,3 Current State: 85:[35, 37, 13], Operations: ['56-43=13'] Exploring Operation: 35-13=22, Resulting Numbers: [37, 22] Generated Node #0,3,0: 85:[37, 22] Operation: 35-13=22 Exploring Operation: 37-13=24, Resulting Numbers: [35, 24] Generated Node #0,3,1: 85:[35, 24] Operation: 37-13=24 Exploring Operation: 35+37=72, Resulting Numbers: [13, 72] Generated Node #0,3,2: 85:[13, 72] Operation: 35+37=72 Exploring Operation: 37-35=2, Resulting Numbers: [13, 2] Generated Node #0,3,3: 85:[13, 2] Operation: 37-35=2 Moving to Node #0,1 Current State: 85:[43, 35, 19], Operations: ['56-37=19'] Exploring Operation: 43+35=78, Resulting Numbers: [19, 78] Generated Node #0,1,0: 85:[19, 78] Operation: 43+35=78 Exploring Operation: 43-19=24, Resulting Numbers: [35, 24] Generated Node #0,1,1: 85:[35, 24] Operation: 43-19=24 Exploring Operation: 43-35=8, Resulting Numbers: [19, 8] Generated Node #0,1,2: 85:[19, 8] Operation: 43-35=8 Exploring Operation: 35-19=16, Resulting Numbers: [43, 16] Generated Node #0,1,3: 85:[43, 16] Operation: 35-19=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[19, 8], Operations: ['56-37=19', '43-35=8'] Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,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,0 Current State: 85:[19, 78], Operations: ['56-37=19', '43+35=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,85 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,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,1 Current State: 85:[35, 24], Operations: ['56-37=19', '43-19=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,85 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,85 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,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,3 Current State: 85:[43, 16], Operations: ['56-37=19', '35-19=16'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,85 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: 85:[35, 56, 6], Operations: ['43-37=6'] Exploring Operation: 56+6=62, Resulting Numbers: [35, 62] Generated Node #0,0,0: 85:[35, 62] Operation: 56+6=62 Exploring Operation: 35+56=91, Resulting Numbers: [6, 91] Generated Node #0,0,1: 85:[6, 91] Operation: 35+56=91 Exploring Operation: 56-35=21, Resulting Numbers: [6, 21] Generated Node #0,0,2: 85:[6, 21] Operation: 56-35=21 Exploring Operation: 35-6=29, Resulting Numbers: [56, 29] Generated Node #0,0,3: 85:[56, 29] Operation: 35-6=29 Moving to Node #0,2 Current State: 85:[43, 37, 21], Operations: ['56-35=21'] Exploring Operation: 37-21=16, Resulting Numbers: [43, 16] Generated Node #0,2,0: 85:[43, 16] Operation: 37-21=16 Exploring Operation: 43+37=80, Resulting Numbers: [21, 80] Generated Node #0,2,1: 85:[21, 80] Operation: 43+37=80 Exploring Operation: 43-21=22, Resulting Numbers: [37, 22] Generated Node #0,2,2: 85:[37, 22] Operation: 43-21=22 Exploring Operation: 43-37=6, Resulting Numbers: [21, 6] Generated Node #0,2,3: 85:[21, 6] Operation: 43-37=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 85:[21, 6], Operations: ['56-35=21', '43-37=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,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,2,1 Current State: 85:[21, 80], Operations: ['56-35=21', '43+37=80'] Exploring Operation: 21*80=1680, Resulting Numbers: [1680] 1680,85 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 21+80=101, Resulting Numbers: [101] 101,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,2,2 Current State: 85:[37, 22], Operations: ['56-35=21', '43-21=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,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,2,0 Current State: 85:[43, 16], Operations: ['56-35=21', '37-21=16'] Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,85 unequal: No Solution Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,85 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,85 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: 85:[6, 21], Operations: ['43-37=6', '56-35=21'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,85 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,85 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[6, 91], Operations: ['43-37=6', '35+56=91'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[43, 35, 56, 37], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [35, 56, 6] Generated Node #0,0: 85:[35, 56, 6] Operation: 43-37=6 Moving to Node #0,0 Current State: 85:[35, 56, 6], Operations: ['43-37=6'] Exploring Operation: 35+56=91, Resulting Numbers: [6, 91] Generated Node #0,0,1: 85:[6, 91] Operation: 35+56=91 Moving to Node #0,0,1 Current State: 85:[6, 91], Operations: ['43-37=6', '35+56=91'] Exploring Operation: 91-6=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
0.954861
hs_4
sum_heuristic
[ 71, 1, 45, 25 ]
92
[ "71+1=72", "45-25=20", "72+20=92" ]
Current State: 92:[71, 1, 45, 25], Operations: [] Exploring Operation: 71+1=72, Resulting Numbers: [45, 25, 72] Generated Node #2: [45, 25, 72] from Operation: 71+1=72 Current State: 92:[45, 25, 72], Operations: ['71+1=72'] Exploring Operation: 45-25=20, Resulting Numbers: [72, 20] Generated Node #3: [72, 20] from Operation: 45-25=20 Current State: 92:[72, 20], Operations: ['71+1=72', '45-25=20'] Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[71, 1, 45, 25], Operations: [] Exploring Operation: 71-45=26, Resulting Numbers: [1, 25, 26] Generated Node #0,0: 92:[1, 25, 26] Operation: 71-45=26 Exploring Operation: 71-25=46, Resulting Numbers: [1, 45, 46] Generated Node #0,1: 92:[1, 45, 46] Operation: 71-25=46 Exploring Operation: 71+25=96, Resulting Numbers: [1, 45, 96] Generated Node #0,2: 92:[1, 45, 96] Operation: 71+25=96 Moving to Node #0,1 Current State: 92:[1, 45, 46], Operations: ['71-25=46'] Exploring Operation: 1+45=46, Resulting Numbers: [46, 46] Generated Node #0,1,0: 92:[46, 46] Operation: 1+45=46 Exploring Operation: 45/1=45, Resulting Numbers: [46, 45] Generated Node #0,1,1: 92:[46, 45] Operation: 45/1=45 Exploring Operation: 1*45=45, Resulting Numbers: [46, 45] Generated Node #0,1,2: 92:[46, 45] Operation: 1*45=45 Moving to Node #0,0 Current State: 92:[1, 25, 26], Operations: ['71-45=26'] Exploring Operation: 25-1=24, Resulting Numbers: [26, 24] Generated Node #0,0,0: 92:[26, 24] Operation: 25-1=24 Exploring Operation: 26-25=1, Resulting Numbers: [1, 1] Generated Node #0,0,1: 92:[1, 1] Operation: 26-25=1 Exploring Operation: 26-1=25, Resulting Numbers: [25, 25] Generated Node #0,0,2: 92:[25, 25] Operation: 26-1=25 Moving to Node #0,2 Current State: 92:[1, 45, 96], Operations: ['71+25=96'] Exploring Operation: 1*45=45, Resulting Numbers: [96, 45] Generated Node #0,2,0: 92:[96, 45] Operation: 1*45=45 Exploring Operation: 96-1=95, Resulting Numbers: [45, 95] Generated Node #0,2,1: 92:[45, 95] Operation: 96-1=95 Exploring Operation: 1+45=46, Resulting Numbers: [96, 46] Generated Node #0,2,2: 92:[96, 46] Operation: 1+45=46 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[45, 95], Operations: ['71+25=96', '96-1=95'] Exploring Operation: 45+95=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 45*95=4275, Resulting Numbers: [4275] 4275,92 unequal: No Solution Exploring Operation: 95-45=50, Resulting Numbers: [50] 50,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,2,2 Current State: 92:[96, 46], Operations: ['71+25=96', '1+45=46'] Exploring Operation: 96*46=4416, Resulting Numbers: [4416] 4416,92 unequal: No Solution Exploring Operation: 96+46=142, Resulting Numbers: [142] 142,92 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,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,2,0 Current State: 92:[96, 45], Operations: ['71+25=96', '1*45=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,92 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: 92:[46, 46], Operations: ['71-25=46', '1+45=46'] Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[71, 1, 45, 25], Operations: [] Exploring Operation: 71-25=46, Resulting Numbers: [1, 45, 46] Generated Node #0,1: 92:[1, 45, 46] Operation: 71-25=46 Moving to Node #0,1 Current State: 92:[1, 45, 46], Operations: ['71-25=46'] Exploring Operation: 1+45=46, Resulting Numbers: [46, 46] Generated Node #0,1,0: 92:[46, 46] Operation: 1+45=46 Moving to Node #0,1,0 Current State: 92:[46, 46], Operations: ['71-25=46', '1+45=46'] Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 70, 30, 9, 1 ]
22
[ "70*9=630", "630/30=21", "1+21=22" ]
Current State: 22:[70, 30, 9, 1], Operations: [] Exploring Operation: 70*9=630, Resulting Numbers: [30, 1, 630] Generated Node #2: [30, 1, 630] from Operation: 70*9=630 Current State: 22:[30, 1, 630], Operations: ['70*9=630'] Exploring Operation: 630/30=21, Resulting Numbers: [1, 21] Generated Node #3: [1, 21] from Operation: 630/30=21 Current State: 22:[1, 21], Operations: ['70*9=630', '630/30=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[70, 30, 9, 1], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [9, 1, 40] Generated Node #0,0: 22:[9, 1, 40] Operation: 70-30=40 Exploring Operation: 70-9=61, Resulting Numbers: [30, 1, 61] Generated Node #0,1: 22:[30, 1, 61] Operation: 70-9=61 Exploring Operation: 30-9=21, Resulting Numbers: [70, 1, 21] Generated Node #0,2: 22:[70, 1, 21] Operation: 30-9=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[9, 1, 40], Operations: ['70-30=40'] Exploring Operation: 9+1=10, Resulting Numbers: [40, 10] Generated Node #0,0,0: 22:[40, 10] Operation: 9+1=10 Exploring Operation: 40-1=39, Resulting Numbers: [9, 39] Generated Node #0,0,1: 22:[9, 39] Operation: 40-1=39 Exploring Operation: 40-9=31, Resulting Numbers: [1, 31] Generated Node #0,0,2: 22:[1, 31] Operation: 40-9=31 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 22:[1, 31], Operations: ['70-30=40', '40-9=31'] Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,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,0 Current State: 22:[40, 10], Operations: ['70-30=40', '9+1=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,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:[9, 39], Operations: ['70-30=40', '40-1=39'] Exploring Operation: 9*39=351, Resulting Numbers: [351] 351,22 unequal: No Solution Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,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:[30, 1, 61], Operations: ['70-9=61'] Exploring Operation: 61-1=60, Resulting Numbers: [30, 60] Generated Node #0,1,0: 22:[30, 60] Operation: 61-1=60 Exploring Operation: 61-30=31, Resulting Numbers: [1, 31] Generated Node #0,1,1: 22:[1, 31] Operation: 61-30=31 Exploring Operation: 30-1=29, Resulting Numbers: [61, 29] Generated Node #0,1,2: 22:[61, 29] Operation: 30-1=29 Moving to Node #0,1,1 Current State: 22:[1, 31], Operations: ['70-9=61', '61-30=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,22 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[30, 60], Operations: ['70-9=61', '61-1=60'] Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[61, 29], Operations: ['70-9=61', '30-1=29'] Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,22 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,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,2 Current State: 22:[70, 1, 21], Operations: ['30-9=21'] Exploring Operation: 70-1=69, Resulting Numbers: [21, 69] Generated Node #0,2,0: 22:[21, 69] Operation: 70-1=69 Exploring Operation: 70-21=49, Resulting Numbers: [1, 49] Generated Node #0,2,1: 22:[1, 49] Operation: 70-21=49 Exploring Operation: 1+21=22, Resulting Numbers: [70, 22] Generated Node #0,2,2: 22:[70, 22] Operation: 1+21=22 Moving to Node #0,2,1 Current State: 22:[1, 49], Operations: ['30-9=21', '70-21=49'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,22 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[21, 69], Operations: ['30-9=21', '70-1=69'] Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,22 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[70, 22], Operations: ['30-9=21', '1+21=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,22 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,22 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
[ 90, 82, 2, 36 ]
67
[ "82-36=46", "46/2=23", "90-23=67" ]
Current State: 67:[90, 82, 2, 36], Operations: [] Exploring Operation: 82-36=46, Resulting Numbers: [90, 2, 46] Generated Node #2: [90, 2, 46] from Operation: 82-36=46 Current State: 67:[90, 2, 46], Operations: ['82-36=46'] Exploring Operation: 46/2=23, Resulting Numbers: [90, 23] Generated Node #3: [90, 23] from Operation: 46/2=23 Current State: 67:[90, 23], Operations: ['82-36=46', '46/2=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[90, 82, 2, 36], Operations: [] Exploring Operation: 2*36=72, Resulting Numbers: [90, 82, 72] Generated Node #0,0: 67:[90, 82, 72] Operation: 2*36=72 Moving to Node #0,0 Current State: 67:[90, 82, 72], Operations: ['2*36=72'] Exploring Operation: 90-82=8, Resulting Numbers: [72, 8] Generated Node #0,0,0: 67:[72, 8] Operation: 90-82=8 Moving to Node #0,0,0 Current State: 67:[72, 8], Operations: ['2*36=72', '90-82=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 27, 48, 88, 30 ]
96
[ "88*30=2640", "2640-48=2592", "2592/27=96" ]
Current State: 96:[27, 48, 88, 30], Operations: [] Exploring Operation: 88*30=2640, Resulting Numbers: [27, 48, 2640] Generated Node #2: [27, 48, 2640] from Operation: 88*30=2640 Current State: 96:[27, 48, 2640], Operations: ['88*30=2640'] Exploring Operation: 2640-48=2592, Resulting Numbers: [27, 2592] Generated Node #3: [27, 2592] from Operation: 2640-48=2592 Current State: 96:[27, 2592], Operations: ['88*30=2640', '2640-48=2592'] Exploring Operation: 2592/27=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[27, 48, 88, 30], Operations: [] Exploring Operation: 30-27=3, Resulting Numbers: [48, 88, 3] Generated Node #0,0: 96:[48, 88, 3] Operation: 30-27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[48, 88, 3], Operations: ['30-27=3'] Exploring Operation: 88+3=91, Resulting Numbers: [48, 91] Generated Node #0,0,0: 96:[48, 91] Operation: 88+3=91 Moving to Node #0,0,0 Current State: 96:[48, 91], Operations: ['30-27=3', '88+3=91'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 65, 66, 62, 52 ]
10
[ "66-65=1", "62-52=10", "1*10=10" ]
Current State: 10:[65, 66, 62, 52], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [62, 52, 1] Generated Node #2: [62, 52, 1] from Operation: 66-65=1 Current State: 10:[62, 52, 1], Operations: ['66-65=1'] Exploring Operation: 62-52=10, Resulting Numbers: [1, 10] Generated Node #3: [1, 10] from Operation: 62-52=10 Current State: 10:[1, 10], Operations: ['66-65=1', '62-52=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[65, 66, 62, 52], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [62, 52, 1] Generated Node #0,0: 10:[62, 52, 1] Operation: 66-65=1 Exploring Operation: 66-62=4, Resulting Numbers: [65, 52, 4] Generated Node #0,1: 10:[65, 52, 4] Operation: 66-62=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[62, 52, 1], Operations: ['66-65=1'] Exploring Operation: 62-52=10, Resulting Numbers: [1, 10] Generated Node #0,0,0: 10:[1, 10] Operation: 62-52=10 Exploring Operation: 62-1=61, Resulting Numbers: [52, 61] Generated Node #0,0,1: 10:[52, 61] Operation: 62-1=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[1, 10], Operations: ['66-65=1', '62-52=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[65, 66, 62, 52], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [62, 52, 1] Generated Node #0,0: 10:[62, 52, 1] Operation: 66-65=1 Moving to Node #0,0 Current State: 10:[62, 52, 1], Operations: ['66-65=1'] Exploring Operation: 62-52=10, Resulting Numbers: [1, 10] Generated Node #0,0,0: 10:[1, 10] Operation: 62-52=10 Moving to Node #0,0,0 Current State: 10:[1, 10], Operations: ['66-65=1', '62-52=10'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 10, 76, 82, 58 ]
62
[ "10+76=86", "82-58=24", "86-24=62" ]
Current State: 62:[10, 76, 82, 58], Operations: [] Exploring Operation: 10+76=86, Resulting Numbers: [82, 58, 86] Generated Node #2: [82, 58, 86] from Operation: 10+76=86 Current State: 62:[82, 58, 86], Operations: ['10+76=86'] Exploring Operation: 82-58=24, Resulting Numbers: [86, 24] Generated Node #3: [86, 24] from Operation: 82-58=24 Current State: 62:[86, 24], Operations: ['10+76=86', '82-58=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[10, 76, 82, 58], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [10, 58, 6] Generated Node #0,0: 62:[10, 58, 6] Operation: 82-76=6 Exploring Operation: 76-10=66, Resulting Numbers: [82, 58, 66] Generated Node #0,1: 62:[82, 58, 66] Operation: 76-10=66 Moving to Node #0,0 Current State: 62:[10, 58, 6], Operations: ['82-76=6'] Exploring Operation: 10-6=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 62:[58, 4] Operation: 10-6=4 Exploring Operation: 10*6=60, Resulting Numbers: [58, 60] Generated Node #0,0,1: 62:[58, 60] Operation: 10*6=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[58, 4], Operations: ['82-76=6', '10-6=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,62 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[10, 76, 82, 58], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [10, 58, 6] Generated Node #0,0: 62:[10, 58, 6] Operation: 82-76=6 Moving to Node #0,0 Current State: 62:[10, 58, 6], Operations: ['82-76=6'] Exploring Operation: 10-6=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 62:[58, 4] Operation: 10-6=4 Moving to Node #0,0,0 Current State: 62:[58, 4], Operations: ['82-76=6', '10-6=4'] Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 76, 86, 17, 60 ]
86
[ "76-17=59", "60-59=1", "86*1=86" ]
Current State: 86:[76, 86, 17, 60], Operations: [] Exploring Operation: 76-17=59, Resulting Numbers: [86, 60, 59] Generated Node #2: [86, 60, 59] from Operation: 76-17=59 Current State: 86:[86, 60, 59], Operations: ['76-17=59'] Exploring Operation: 60-59=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 60-59=1 Current State: 86:[86, 1], Operations: ['76-17=59', '60-59=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[76, 86, 17, 60], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [76, 86, 43] Generated Node #0,0: 86:[76, 86, 43] Operation: 60-17=43 Exploring Operation: 17+60=77, Resulting Numbers: [76, 86, 77] Generated Node #0,1: 86:[76, 86, 77] Operation: 17+60=77 Exploring Operation: 76+17=93, Resulting Numbers: [86, 60, 93] Generated Node #0,2: 86:[86, 60, 93] Operation: 76+17=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[76, 86, 43], Operations: ['60-17=43'] Exploring Operation: 86-76=10, Resulting Numbers: [43, 10] Generated Node #0,0,0: 86:[43, 10] Operation: 86-76=10 Exploring Operation: 86-43=43, Resulting Numbers: [76, 43] Generated Node #0,0,1: 86:[76, 43] Operation: 86-43=43 Exploring Operation: 76-43=33, Resulting Numbers: [86, 33] Generated Node #0,0,2: 86:[86, 33] Operation: 76-43=33 Moving to Node #0,0,0 Current State: 86:[43, 10], Operations: ['60-17=43', '86-76=10'] Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,86 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[76, 43], Operations: ['60-17=43', '86-43=43'] Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,86 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[86, 33], Operations: ['60-17=43', '76-43=33'] Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,86 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,86 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[76, 86, 77], Operations: ['17+60=77'] Exploring Operation: 86-77=9, Resulting Numbers: [76, 9] Generated Node #0,1,0: 86:[76, 9] Operation: 86-77=9 Exploring Operation: 86-76=10, Resulting Numbers: [77, 10] Generated Node #0,1,1: 86:[77, 10] Operation: 86-76=10 Exploring Operation: 77-76=1, Resulting Numbers: [86, 1] Generated Node #0,1,2: 86:[86, 1] Operation: 77-76=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[86, 1], Operations: ['17+60=77', '77-76=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[76, 86, 17, 60], Operations: [] Exploring Operation: 17+60=77, Resulting Numbers: [76, 86, 77] Generated Node #0,1: 86:[76, 86, 77] Operation: 17+60=77 Moving to Node #0,1 Current State: 86:[76, 86, 77], Operations: ['17+60=77'] Exploring Operation: 77-76=1, Resulting Numbers: [86, 1] Generated Node #0,1,2: 86:[86, 1] Operation: 77-76=1 Moving to Node #0,1,2 Current State: 86:[86, 1], Operations: ['17+60=77', '77-76=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 10, 48, 16, 9 ]
51
[ "10+48=58", "16-9=7", "58-7=51" ]
Current State: 51:[10, 48, 16, 9], Operations: [] Exploring Operation: 10+48=58, Resulting Numbers: [16, 9, 58] Generated Node #2: [16, 9, 58] from Operation: 10+48=58 Current State: 51:[16, 9, 58], Operations: ['10+48=58'] Exploring Operation: 16-9=7, Resulting Numbers: [58, 7] Generated Node #3: [58, 7] from Operation: 16-9=7 Current State: 51:[58, 7], Operations: ['10+48=58', '16-9=7'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 48, 16, 9], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [48, 16, 1] Generated Node #0,0: 51:[48, 16, 1] Operation: 10-9=1 Exploring Operation: 10+9=19, Resulting Numbers: [48, 16, 19] Generated Node #0,1: 51:[48, 16, 19] Operation: 10+9=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[48, 16, 1], Operations: ['10-9=1'] Exploring Operation: 48+1=49, Resulting Numbers: [16, 49] Generated Node #0,0,0: 51:[16, 49] Operation: 48+1=49 Exploring Operation: 48/16=3, Resulting Numbers: [1, 3] Generated Node #0,0,1: 51:[1, 3] Operation: 48/16=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[1, 3], Operations: ['10-9=1', '48/16=3'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,51 unequal: No Solution No 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: 51:[16, 49], Operations: ['10-9=1', '48+1=49'] Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,51 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,51 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: 51:[48, 16, 19], Operations: ['10+9=19'] Exploring Operation: 48/16=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 51:[19, 3] Operation: 48/16=3 Exploring Operation: 19-16=3, Resulting Numbers: [48, 3] Generated Node #0,1,1: 51:[48, 3] Operation: 19-16=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[19, 3], Operations: ['10+9=19', '48/16=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,51 unequal: No Solution No 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: 51:[48, 3], Operations: ['10+9=19', '19-16=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[10, 48, 16, 9], Operations: [] Exploring Operation: 10+9=19, Resulting Numbers: [48, 16, 19] Generated Node #0,1: 51:[48, 16, 19] Operation: 10+9=19 Moving to Node #0,1 Current State: 51:[48, 16, 19], Operations: ['10+9=19'] Exploring Operation: 19-16=3, Resulting Numbers: [48, 3] Generated Node #0,1,1: 51:[48, 3] Operation: 19-16=3 Moving to Node #0,1,1 Current State: 51:[48, 3], Operations: ['10+9=19', '19-16=3'] Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
mult_heuristic
[ 10, 47, 80, 10 ]
94
[ "80/10=8", "10-8=2", "47*2=94" ]
Current State: 94:[10, 47, 80, 10], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [47, 8] Generated Node #2: [47, 8] from Operation: 80/10=8 Current State: 94:[47, 8], Operations: ['80/10=8'] Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 10-8=2 Current State: 94:[47, 2], Operations: ['80/10=8', '10-8=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[10, 47, 80, 10], Operations: [] Exploring Operation: 80+10=90, Resulting Numbers: [10, 47, 90] Generated Node #0,0: 94:[10, 47, 90] Operation: 80+10=90 Exploring Operation: 10+80=90, Resulting Numbers: [47, 10, 90] Generated Node #0,1: 94:[47, 10, 90] Operation: 10+80=90 Exploring Operation: 10/10=1, Resulting Numbers: [47, 80, 1] Generated Node #0,2: 94:[47, 80, 1] Operation: 10/10=1 Exploring Operation: 80/10=8, Resulting Numbers: [10, 47, 8] Generated Node #0,3: 94:[10, 47, 8] Operation: 80/10=8 Exploring Operation: 80/10=8, Resulting Numbers: [47, 10, 8] Generated Node #0,4: 94:[47, 10, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[10, 47, 90], Operations: ['80+10=90'] Exploring Operation: 90-47=43, Resulting Numbers: [10, 43] Generated Node #0,0,0: 94:[10, 43] Operation: 90-47=43 Exploring Operation: 90/10=9, Resulting Numbers: [47, 9] Generated Node #0,0,1: 94:[47, 9] Operation: 90/10=9 Exploring Operation: 10+47=57, Resulting Numbers: [90, 57] Generated Node #0,0,2: 94:[90, 57] Operation: 10+47=57 Exploring Operation: 10+90=100, Resulting Numbers: [47, 100] Generated Node #0,0,3: 94:[47, 100] Operation: 10+90=100 Exploring Operation: 47-10=37, Resulting Numbers: [90, 37] Generated Node #0,0,4: 94:[90, 37] Operation: 47-10=37 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 94:[47, 100], Operations: ['80+10=90', '10+90=100'] Exploring Operation: 47+100=147, Resulting Numbers: [147] 147,94 unequal: No Solution Exploring Operation: 47*100=4700, Resulting Numbers: [4700] 4700,94 unequal: No Solution Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,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:[47, 9], Operations: ['80+10=90', '90/10=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,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:[10, 43], Operations: ['80+10=90', '90-47=43'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,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:[90, 57], Operations: ['80+10=90', '10+47=57'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,94 unequal: No Solution Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,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:[90, 37], Operations: ['80+10=90', '47-10=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,94 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,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:[47, 10, 90], Operations: ['10+80=90'] Exploring Operation: 90/10=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 94:[47, 9] Operation: 90/10=9 Exploring Operation: 10+90=100, Resulting Numbers: [47, 100] Generated Node #0,1,1: 94:[47, 100] Operation: 10+90=100 Exploring Operation: 47+10=57, Resulting Numbers: [90, 57] Generated Node #0,1,2: 94:[90, 57] Operation: 47+10=57 Exploring Operation: 47-10=37, Resulting Numbers: [90, 37] Generated Node #0,1,3: 94:[90, 37] Operation: 47-10=37 Exploring Operation: 90-47=43, Resulting Numbers: [10, 43] Generated Node #0,1,4: 94:[10, 43] Operation: 90-47=43 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[47, 100], Operations: ['10+80=90', '10+90=100'] Exploring Operation: 100-47=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 47*100=4700, Resulting Numbers: [4700] 4700,94 unequal: No Solution Exploring Operation: 47+100=147, Resulting Numbers: [147] 147,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,0 Current State: 94:[47, 9], Operations: ['10+80=90', '90/10=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,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:[10, 43], Operations: ['10+80=90', '90-47=43'] Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 10*43=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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[90, 57], Operations: ['10+80=90', '47+10=57'] Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,94 unequal: No Solution Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,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:[90, 37], Operations: ['10+80=90', '47-10=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,94 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,94 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,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,3 Current State: 94:[10, 47, 8], Operations: ['80/10=8'] Exploring Operation: 10+8=18, Resulting Numbers: [47, 18] Generated Node #0,3,0: 94:[47, 18] Operation: 10+8=18 Exploring Operation: 10*8=80, Resulting Numbers: [47, 80] Generated Node #0,3,1: 94:[47, 80] Operation: 10*8=80 Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 94:[47, 2] Operation: 10-8=2 Exploring Operation: 10+47=57, Resulting Numbers: [8, 57] Generated Node #0,3,3: 94:[8, 57] Operation: 10+47=57 Exploring Operation: 47-10=37, Resulting Numbers: [8, 37] Generated Node #0,3,4: 94:[8, 37] Operation: 47-10=37 Moving to Node #0,3,2 Current State: 94:[47, 2], Operations: ['80/10=8', '10-8=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[10, 47, 80, 10], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [10, 47, 8] Generated Node #0,3: 94:[10, 47, 8] Operation: 80/10=8 Moving to Node #0,3 Current State: 94:[10, 47, 8], Operations: ['80/10=8'] Exploring Operation: 10-8=2, Resulting Numbers: [47, 2] Generated Node #0,3,2: 94:[47, 2] Operation: 10-8=2 Moving to Node #0,3,2 Current State: 94:[47, 2], Operations: ['80/10=8', '10-8=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 46, 2, 80, 38 ]
70
[ "46+2=48", "80+38=118", "118-48=70" ]
Current State: 70:[46, 2, 80, 38], Operations: [] Exploring Operation: 46+2=48, Resulting Numbers: [80, 38, 48] Generated Node #2: [80, 38, 48] from Operation: 46+2=48 Current State: 70:[80, 38, 48], Operations: ['46+2=48'] Exploring Operation: 80+38=118, Resulting Numbers: [48, 118] Generated Node #3: [48, 118] from Operation: 80+38=118 Current State: 70:[48, 118], Operations: ['46+2=48', '80+38=118'] Exploring Operation: 118-48=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[46, 2, 80, 38], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [2, 38, 34] Generated Node #0,0: 70:[2, 38, 34] Operation: 80-46=34 Exploring Operation: 46-38=8, Resulting Numbers: [2, 80, 8] Generated Node #0,1: 70:[2, 80, 8] Operation: 46-38=8 Exploring Operation: 80-38=42, Resulting Numbers: [46, 2, 42] Generated Node #0,2: 70:[46, 2, 42] Operation: 80-38=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[2, 38, 34], Operations: ['80-46=34'] Exploring Operation: 38-2=36, Resulting Numbers: [34, 36] Generated Node #0,0,0: 70:[34, 36] Operation: 38-2=36 Exploring Operation: 38-34=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 70:[2, 4] Operation: 38-34=4 Exploring Operation: 38+34=72, Resulting Numbers: [2, 72] Generated Node #0,0,2: 70:[2, 72] Operation: 38+34=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[2, 4], Operations: ['80-46=34', '38-34=4'] 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,0 Current State: 70:[34, 36], Operations: ['80-46=34', '38-2=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[46, 2, 80, 38], Operations: [] Exploring Operation: 80-46=34, Resulting Numbers: [2, 38, 34] Generated Node #0,0: 70:[2, 38, 34] Operation: 80-46=34 Moving to Node #0,0 Current State: 70:[2, 38, 34], Operations: ['80-46=34'] Exploring Operation: 38-2=36, Resulting Numbers: [34, 36] Generated Node #0,0,0: 70:[34, 36] Operation: 38-2=36 Moving to Node #0,0,0 Current State: 70:[34, 36], Operations: ['80-46=34', '38-2=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 28, 1, 17, 8 ]
54
[ "28+1=29", "17+8=25", "29+25=54" ]
Current State: 54:[28, 1, 17, 8], Operations: [] Exploring Operation: 28+1=29, Resulting Numbers: [17, 8, 29] Generated Node #2: [17, 8, 29] from Operation: 28+1=29 Current State: 54:[17, 8, 29], Operations: ['28+1=29'] Exploring Operation: 17+8=25, Resulting Numbers: [29, 25] Generated Node #3: [29, 25] from Operation: 17+8=25 Current State: 54:[29, 25], Operations: ['28+1=29', '17+8=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[28, 1, 17, 8], Operations: [] Exploring Operation: 1+8=9, Resulting Numbers: [28, 17, 9] Generated Node #0,0: 54:[28, 17, 9] Operation: 1+8=9 Exploring Operation: 1+17=18, Resulting Numbers: [28, 8, 18] Generated Node #0,1: 54:[28, 8, 18] Operation: 1+17=18 Exploring Operation: 17-8=9, Resulting Numbers: [28, 1, 9] Generated Node #0,2: 54:[28, 1, 9] Operation: 17-8=9 Exploring Operation: 28-1=27, Resulting Numbers: [17, 8, 27] Generated Node #0,3: 54:[17, 8, 27] Operation: 28-1=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[28, 17, 9], Operations: ['1+8=9'] Exploring Operation: 17+9=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 54:[28, 26] Operation: 17+9=26 Exploring Operation: 17-9=8, Resulting Numbers: [28, 8] Generated Node #0,0,1: 54:[28, 8] Operation: 17-9=8 Exploring Operation: 28-17=11, Resulting Numbers: [9, 11] Generated Node #0,0,2: 54:[9, 11] Operation: 28-17=11 Exploring Operation: 28-9=19, Resulting Numbers: [17, 19] Generated Node #0,0,3: 54:[17, 19] Operation: 28-9=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[28, 26], Operations: ['1+8=9', '17+9=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[28, 1, 17, 8], Operations: [] Exploring Operation: 1+8=9, Resulting Numbers: [28, 17, 9] Generated Node #0,0: 54:[28, 17, 9] Operation: 1+8=9 Moving to Node #0,0 Current State: 54:[28, 17, 9], Operations: ['1+8=9'] Exploring Operation: 17+9=26, Resulting Numbers: [28, 26] Generated Node #0,0,0: 54:[28, 26] Operation: 17+9=26 Moving to Node #0,0,0 Current State: 54:[28, 26], Operations: ['1+8=9', '17+9=26'] Exploring Operation: 28+26=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 77, 32, 4, 33 ]
18
[ "77+33=110", "32*4=128", "128-110=18" ]
Current State: 18:[77, 32, 4, 33], Operations: [] Exploring Operation: 77+33=110, Resulting Numbers: [32, 4, 110] Generated Node #2: [32, 4, 110] from Operation: 77+33=110 Current State: 18:[32, 4, 110], Operations: ['77+33=110'] Exploring Operation: 32*4=128, Resulting Numbers: [110, 128] Generated Node #3: [110, 128] from Operation: 32*4=128 Current State: 18:[110, 128], Operations: ['77+33=110', '32*4=128'] Exploring Operation: 128-110=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[77, 32, 4, 33], Operations: [] Exploring Operation: 77-33=44, Resulting Numbers: [32, 4, 44] Generated Node #0,0: 18:[32, 4, 44] Operation: 77-33=44 Exploring Operation: 33-32=1, Resulting Numbers: [77, 4, 1] Generated Node #0,1: 18:[77, 4, 1] Operation: 33-32=1 Exploring Operation: 77-32=45, Resulting Numbers: [4, 33, 45] Generated Node #0,2: 18:[4, 33, 45] Operation: 77-32=45 Moving to Node #0,0 Current State: 18:[32, 4, 44], Operations: ['77-33=44'] Exploring Operation: 44/4=11, Resulting Numbers: [32, 11] Generated Node #0,0,0: 18:[32, 11] Operation: 44/4=11 Exploring Operation: 32/4=8, Resulting Numbers: [44, 8] Generated Node #0,0,1: 18:[44, 8] Operation: 32/4=8 Exploring Operation: 44-32=12, Resulting Numbers: [4, 12] Generated Node #0,0,2: 18:[4, 12] Operation: 44-32=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[4, 12], Operations: ['77-33=44', '44-32=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,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,0 Current State: 18:[32, 11], Operations: ['77-33=44', '44/4=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,18 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,18 unequal: No Solution Exploring Operation: 32+11=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,1 Current State: 18:[44, 8], Operations: ['77-33=44', '32/4=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,18 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,18 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: 18:[4, 33, 45], Operations: ['77-32=45'] Exploring Operation: 45-33=12, Resulting Numbers: [4, 12] Generated Node #0,2,0: 18:[4, 12] Operation: 45-33=12 Exploring Operation: 33-4=29, Resulting Numbers: [45, 29] Generated Node #0,2,1: 18:[45, 29] Operation: 33-4=29 Exploring Operation: 45-4=41, Resulting Numbers: [33, 41] Generated Node #0,2,2: 18:[33, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[4, 12], Operations: ['77-32=45', '45-33=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,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:[45, 29], Operations: ['77-32=45', '33-4=29'] Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,18 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,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,2 Current State: 18:[33, 41], Operations: ['77-32=45', '45-4=41'] Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,18 unequal: No Solution Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,18 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: 18:[77, 4, 1], Operations: ['33-32=1'] Exploring Operation: 4-1=3, Resulting Numbers: [77, 3] Generated Node #0,1,0: 18:[77, 3] Operation: 4-1=3 Exploring Operation: 77-4=73, Resulting Numbers: [1, 73] Generated Node #0,1,1: 18:[1, 73] Operation: 77-4=73 Exploring Operation: 77-1=76, Resulting Numbers: [4, 76] Generated Node #0,1,2: 18:[4, 76] Operation: 77-1=76 Moving to Node #0,1,1 Current State: 18:[1, 73], Operations: ['33-32=1', '77-4=73'] Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[77, 3], Operations: ['33-32=1', '4-1=3'] Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,18 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[4, 76], Operations: ['33-32=1', '77-1=76'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,18 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 4+76=80, Resulting Numbers: [80] 80,18 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 55, 84, 69, 46 ]
17
[ "55-46=9", "84+69=153", "153/9=17" ]
Current State: 17:[55, 84, 69, 46], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [84, 69, 9] Generated Node #2: [84, 69, 9] from Operation: 55-46=9 Current State: 17:[84, 69, 9], Operations: ['55-46=9'] Exploring Operation: 84+69=153, Resulting Numbers: [9, 153] Generated Node #3: [9, 153] from Operation: 84+69=153 Current State: 17:[9, 153], Operations: ['55-46=9', '84+69=153'] Exploring Operation: 153/9=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[55, 84, 69, 46], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [69, 46, 29] Generated Node #0,0: 17:[69, 46, 29] Operation: 84-55=29 Exploring Operation: 84-69=15, Resulting Numbers: [55, 46, 15] Generated Node #0,1: 17:[55, 46, 15] Operation: 84-69=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[55, 46, 15], Operations: ['84-69=15'] Exploring Operation: 55-46=9, Resulting Numbers: [15, 9] Generated Node #0,1,0: 17:[15, 9] Operation: 55-46=9 Exploring Operation: 55-15=40, Resulting Numbers: [46, 40] Generated Node #0,1,1: 17:[46, 40] Operation: 55-15=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[15, 9], Operations: ['84-69=15', '55-46=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[46, 40], Operations: ['84-69=15', '55-15=40'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[69, 46, 29], Operations: ['84-55=29'] Exploring Operation: 69-29=40, Resulting Numbers: [46, 40] Generated Node #0,0,0: 17:[46, 40] Operation: 69-29=40 Exploring Operation: 69-46=23, Resulting Numbers: [29, 23] Generated Node #0,0,1: 17:[29, 23] Operation: 69-46=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[29, 23], Operations: ['84-55=29', '69-46=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[46, 40], Operations: ['84-55=29', '69-29=40'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 49, 21, 77, 7 ]
14
[ "49+21=70", "77+7=84", "84-70=14" ]
Current State: 14:[49, 21, 77, 7], Operations: [] Exploring Operation: 49+21=70, Resulting Numbers: [77, 7, 70] Generated Node #2: [77, 7, 70] from Operation: 49+21=70 Current State: 14:[77, 7, 70], Operations: ['49+21=70'] Exploring Operation: 77+7=84, Resulting Numbers: [70, 84] Generated Node #3: [70, 84] from Operation: 77+7=84 Current State: 14:[70, 84], Operations: ['49+21=70', '77+7=84'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[49, 21, 77, 7], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [49, 21, 11] Generated Node #0,0: 14:[49, 21, 11] Operation: 77/7=11 Exploring Operation: 77-49=28, Resulting Numbers: [21, 7, 28] Generated Node #0,1: 14:[21, 7, 28] Operation: 77-49=28 Exploring Operation: 49-21=28, Resulting Numbers: [77, 7, 28] Generated Node #0,2: 14:[77, 7, 28] Operation: 49-21=28 Exploring Operation: 49/7=7, Resulting Numbers: [21, 77, 7] Generated Node #0,3: 14:[21, 77, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[21, 7, 28], Operations: ['77-49=28'] Exploring Operation: 28/7=4, Resulting Numbers: [21, 4] Generated Node #0,1,0: 14:[21, 4] Operation: 28/7=4 Exploring Operation: 28-21=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 14:[7, 7] Operation: 28-21=7 Exploring Operation: 21-7=14, Resulting Numbers: [28, 14] Generated Node #0,1,2: 14:[28, 14] Operation: 21-7=14 Exploring Operation: 28-7=21, Resulting Numbers: [21, 21] Generated Node #0,1,3: 14:[21, 21] Operation: 28-7=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[7, 7], Operations: ['77-49=28', '28-21=7'] Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,14 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[49, 21, 77, 7], Operations: [] Exploring Operation: 77-49=28, Resulting Numbers: [21, 7, 28] Generated Node #0,1: 14:[21, 7, 28] Operation: 77-49=28 Moving to Node #0,1 Current State: 14:[21, 7, 28], Operations: ['77-49=28'] Exploring Operation: 28-21=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 14:[7, 7] Operation: 28-21=7 Moving to Node #0,1,1 Current State: 14:[7, 7], Operations: ['77-49=28', '28-21=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 44, 25, 68, 2 ]
35
[ "44+25=69", "68/2=34", "69-34=35" ]
Current State: 35:[44, 25, 68, 2], Operations: [] Exploring Operation: 44+25=69, Resulting Numbers: [68, 2, 69] Generated Node #2: [68, 2, 69] from Operation: 44+25=69 Current State: 35:[68, 2, 69], Operations: ['44+25=69'] Exploring Operation: 68/2=34, Resulting Numbers: [69, 34] Generated Node #3: [69, 34] from Operation: 68/2=34 Current State: 35:[69, 34], Operations: ['44+25=69', '68/2=34'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[44, 25, 68, 2], Operations: [] Exploring Operation: 68-25=43, Resulting Numbers: [44, 2, 43] Generated Node #0,0: 35:[44, 2, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[44, 2, 43], Operations: ['68-25=43'] Exploring Operation: 44-43=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 35:[2, 1] Operation: 44-43=1 Moving to Node #0,0,0 Current State: 35:[2, 1], Operations: ['68-25=43', '44-43=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 82, 14, 23 ]
60
[ "84-82=2", "23*2=46", "14+46=60" ]
Current State: 60:[84, 82, 14, 23], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [14, 23, 2] Generated Node #2: [14, 23, 2] from Operation: 84-82=2 Current State: 60:[14, 23, 2], Operations: ['84-82=2'] Exploring Operation: 23*2=46, Resulting Numbers: [14, 46] Generated Node #3: [14, 46] from Operation: 23*2=46 Current State: 60:[14, 46], Operations: ['84-82=2', '23*2=46'] Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[84, 82, 14, 23], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [14, 23, 2] Generated Node #0,0: 60:[14, 23, 2] Operation: 84-82=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[14, 23, 2], Operations: ['84-82=2'] Exploring Operation: 23-14=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 60:[2, 9] Operation: 23-14=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[2, 9], Operations: ['84-82=2', '23-14=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,60 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
[ 78, 74, 17, 43 ]
56
[ "78-74=4", "17+43=60", "60-4=56" ]
Current State: 56:[78, 74, 17, 43], Operations: [] Exploring Operation: 78-74=4, Resulting Numbers: [17, 43, 4] Generated Node #2: [17, 43, 4] from Operation: 78-74=4 Current State: 56:[17, 43, 4], Operations: ['78-74=4'] Exploring Operation: 17+43=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 17+43=60 Current State: 56:[4, 60], Operations: ['78-74=4', '17+43=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[78, 74, 17, 43], Operations: [] Exploring Operation: 78-43=35, Resulting Numbers: [74, 17, 35] Generated Node #0,0: 56:[74, 17, 35] Operation: 78-43=35 Exploring Operation: 78-74=4, Resulting Numbers: [17, 43, 4] Generated Node #0,1: 56:[17, 43, 4] Operation: 78-74=4 Exploring Operation: 74-43=31, Resulting Numbers: [78, 17, 31] Generated Node #0,2: 56:[78, 17, 31] Operation: 74-43=31 Exploring Operation: 78-17=61, Resulting Numbers: [74, 43, 61] Generated Node #0,3: 56:[74, 43, 61] Operation: 78-17=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[17, 43, 4], Operations: ['78-74=4'] Exploring Operation: 43+4=47, Resulting Numbers: [17, 47] Generated Node #0,1,0: 56:[17, 47] Operation: 43+4=47 Exploring Operation: 17+43=60, Resulting Numbers: [4, 60] Generated Node #0,1,1: 56:[4, 60] Operation: 17+43=60 Exploring Operation: 43-17=26, Resulting Numbers: [4, 26] Generated Node #0,1,2: 56:[4, 26] Operation: 43-17=26 Exploring Operation: 17-4=13, Resulting Numbers: [43, 13] Generated Node #0,1,3: 56:[43, 13] Operation: 17-4=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[4, 26], Operations: ['78-74=4', '43-17=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,56 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[4, 60], Operations: ['78-74=4', '17+43=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[78, 74, 17, 43], Operations: [] Exploring Operation: 78-74=4, Resulting Numbers: [17, 43, 4] Generated Node #0,1: 56:[17, 43, 4] Operation: 78-74=4 Moving to Node #0,1 Current State: 56:[17, 43, 4], Operations: ['78-74=4'] Exploring Operation: 17+43=60, Resulting Numbers: [4, 60] Generated Node #0,1,1: 56:[4, 60] Operation: 17+43=60 Moving to Node #0,1,1 Current State: 56:[4, 60], Operations: ['78-74=4', '17+43=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 67, 21, 49, 21 ]
24
[ "67-21=46", "49+21=70", "70-46=24" ]
Current State: 24:[67, 21, 49, 21], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [49, 46] Generated Node #2: [49, 46] from Operation: 67-21=46 Current State: 24:[49, 46], Operations: ['67-21=46'] Exploring Operation: 49+21=70, Resulting Numbers: [46, 70] Generated Node #3: [46, 70] from Operation: 49+21=70 Current State: 24:[46, 70], Operations: ['67-21=46', '49+21=70'] Exploring Operation: 70-46=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[67, 21, 49, 21], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [21, 21, 18] Generated Node #0,0: 24:[21, 21, 18] Operation: 67-49=18 Exploring Operation: 67-21=46, Resulting Numbers: [21, 49, 46] Generated Node #0,1: 24:[21, 49, 46] Operation: 67-21=46 Exploring Operation: 67-21=46, Resulting Numbers: [49, 21, 46] Generated Node #0,2: 24:[49, 21, 46] Operation: 67-21=46 Moving to Node #0,0 Current State: 24:[21, 21, 18], Operations: ['67-49=18'] Exploring Operation: 21-18=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 24:[21, 3] Operation: 21-18=3 Exploring Operation: 21/21=1, Resulting Numbers: [18, 1] Generated Node #0,0,1: 24:[18, 1] Operation: 21/21=1 Exploring Operation: 21-18=3, Resulting Numbers: [21, 3] Generated Node #0,0,2: 24:[21, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[21, 3], Operations: ['67-49=18', '21-18=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,24 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[67, 21, 49, 21], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [21, 21, 18] Generated Node #0,0: 24:[21, 21, 18] Operation: 67-49=18 Moving to Node #0,0 Current State: 24:[21, 21, 18], Operations: ['67-49=18'] Exploring Operation: 21-18=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 24:[21, 3] Operation: 21-18=3 Moving to Node #0,0,0 Current State: 24:[21, 3], Operations: ['67-49=18', '21-18=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 1, 78, 49, 91 ]
61
[ "1+78=79", "49+91=140", "140-79=61" ]
Current State: 61:[1, 78, 49, 91], Operations: [] Exploring Operation: 1+78=79, Resulting Numbers: [49, 91, 79] Generated Node #2: [49, 91, 79] from Operation: 1+78=79 Current State: 61:[49, 91, 79], Operations: ['1+78=79'] Exploring Operation: 49+91=140, Resulting Numbers: [79, 140] Generated Node #3: [79, 140] from Operation: 49+91=140 Current State: 61:[79, 140], Operations: ['1+78=79', '49+91=140'] Exploring Operation: 140-79=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[1, 78, 49, 91], Operations: [] Exploring Operation: 1*78=78, Resulting Numbers: [49, 91, 78] Generated Node #0,0: 61:[49, 91, 78] Operation: 1*78=78 Exploring Operation: 1+49=50, Resulting Numbers: [78, 91, 50] Generated Node #0,1: 61:[78, 91, 50] Operation: 1+49=50 Exploring Operation: 78-1=77, Resulting Numbers: [49, 91, 77] Generated Node #0,2: 61:[49, 91, 77] Operation: 78-1=77 Exploring Operation: 91-1=90, Resulting Numbers: [78, 49, 90] Generated Node #0,3: 61:[78, 49, 90] Operation: 91-1=90 Moving to Node #0,1 Current State: 61:[78, 91, 50], Operations: ['1+49=50'] Exploring Operation: 78-50=28, Resulting Numbers: [91, 28] Generated Node #0,1,0: 61:[91, 28] Operation: 78-50=28 Exploring Operation: 78+50=128, Resulting Numbers: [91, 128] Generated Node #0,1,1: 61:[91, 128] Operation: 78+50=128 Exploring Operation: 91-78=13, Resulting Numbers: [50, 13] Generated Node #0,1,2: 61:[50, 13] Operation: 91-78=13 Exploring Operation: 91-50=41, Resulting Numbers: [78, 41] Generated Node #0,1,3: 61:[78, 41] Operation: 91-50=41 Moving to Node #0,3 Current State: 61:[78, 49, 90], Operations: ['91-1=90'] Exploring Operation: 90-78=12, Resulting Numbers: [49, 12] Generated Node #0,3,0: 61:[49, 12] Operation: 90-78=12 Exploring Operation: 90-49=41, Resulting Numbers: [78, 41] Generated Node #0,3,1: 61:[78, 41] Operation: 90-49=41 Exploring Operation: 78-49=29, Resulting Numbers: [90, 29] Generated Node #0,3,2: 61:[90, 29] Operation: 78-49=29 Exploring Operation: 78+49=127, Resulting Numbers: [90, 127] Generated Node #0,3,3: 61:[90, 127] Operation: 78+49=127 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[78, 41], Operations: ['91-1=90', '90-49=41'] Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,61 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,61 unequal: No Solution No 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: 61:[49, 12], Operations: ['91-1=90', '90-78=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,61 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[1, 78, 49, 91], Operations: [] Exploring Operation: 91-1=90, Resulting Numbers: [78, 49, 90] Generated Node #0,3: 61:[78, 49, 90] Operation: 91-1=90 Moving to Node #0,3 Current State: 61:[78, 49, 90], Operations: ['91-1=90'] Exploring Operation: 90-78=12, Resulting Numbers: [49, 12] Generated Node #0,3,0: 61:[49, 12] Operation: 90-78=12 Moving to Node #0,3,0 Current State: 61:[49, 12], Operations: ['91-1=90', '90-78=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 15, 94, 99, 38 ]
97
[ "15+99=114", "114/38=3", "94+3=97" ]
Current State: 97:[15, 94, 99, 38], Operations: [] Exploring Operation: 15+99=114, Resulting Numbers: [94, 38, 114] Generated Node #2: [94, 38, 114] from Operation: 15+99=114 Current State: 97:[94, 38, 114], Operations: ['15+99=114'] Exploring Operation: 114/38=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 114/38=3 Current State: 97:[94, 3], Operations: ['15+99=114', '114/38=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 94, 99, 38], Operations: [] Exploring Operation: 15+38=53, Resulting Numbers: [94, 99, 53] Generated Node #0,0: 97:[94, 99, 53] Operation: 15+38=53 Exploring Operation: 15+94=109, Resulting Numbers: [99, 38, 109] Generated Node #0,1: 97:[99, 38, 109] Operation: 15+94=109 Exploring Operation: 99-15=84, Resulting Numbers: [94, 38, 84] Generated Node #0,2: 97:[94, 38, 84] Operation: 99-15=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[94, 99, 53], Operations: ['15+38=53'] Exploring Operation: 94-53=41, Resulting Numbers: [99, 41] Generated Node #0,0,0: 97:[99, 41] Operation: 94-53=41 Exploring Operation: 99-53=46, Resulting Numbers: [94, 46] Generated Node #0,0,1: 97:[94, 46] Operation: 99-53=46 Exploring Operation: 94+53=147, Resulting Numbers: [99, 147] Generated Node #0,0,2: 97:[99, 147] Operation: 94+53=147 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[99, 147], Operations: ['15+38=53', '94+53=147'] Exploring Operation: 99+147=246, Resulting Numbers: [246] 246,97 unequal: No Solution Exploring Operation: 99*147=14553, Resulting Numbers: [14553] 14553,97 unequal: No Solution Exploring Operation: 147-99=48, Resulting Numbers: [48] 48,97 unequal: No Solution No 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: 97:[94, 46], Operations: ['15+38=53', '99-53=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. 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: 97:[99, 41], Operations: ['15+38=53', '94-53=41'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 99+41=140, Resulting Numbers: [140] 140,97 unequal: No Solution Exploring Operation: 99*41=4059, Resulting Numbers: [4059] 4059,97 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: 97:[99, 38, 109], Operations: ['15+94=109'] Exploring Operation: 99-38=61, Resulting Numbers: [109, 61] Generated Node #0,1,0: 97:[109, 61] Operation: 99-38=61 Exploring Operation: 109-38=71, Resulting Numbers: [99, 71] Generated Node #0,1,1: 97:[99, 71] Operation: 109-38=71 Exploring Operation: 99+38=137, Resulting Numbers: [109, 137] Generated Node #0,1,2: 97:[109, 137] Operation: 99+38=137 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[99, 71], Operations: ['15+94=109', '109-38=71'] Exploring Operation: 99+71=170, Resulting Numbers: [170] 170,97 unequal: No Solution Exploring Operation: 99*71=7029, Resulting Numbers: [7029] 7029,97 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,97 unequal: No Solution No 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: 97:[109, 61], Operations: ['15+94=109', '99-38=61'] Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 109*61=6649, Resulting Numbers: [6649] 6649,97 unequal: No Solution Exploring Operation: 109+61=170, Resulting Numbers: [170] 170,97 unequal: No Solution No 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: 97:[109, 137], Operations: ['15+94=109', '99+38=137'] Exploring Operation: 109+137=246, Resulting Numbers: [246] 246,97 unequal: No Solution Exploring Operation: 109*137=14933, Resulting Numbers: [14933] 14933,97 unequal: No Solution Exploring Operation: 137-109=28, Resulting Numbers: [28] 28,97 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: 97:[94, 38, 84], Operations: ['99-15=84'] Exploring Operation: 94+38=132, Resulting Numbers: [84, 132] Generated Node #0,2,0: 97:[84, 132] Operation: 94+38=132 Exploring Operation: 94-38=56, Resulting Numbers: [84, 56] Generated Node #0,2,1: 97:[84, 56] Operation: 94-38=56 Exploring Operation: 38+84=122, Resulting Numbers: [94, 122] Generated Node #0,2,2: 97:[94, 122] Operation: 38+84=122 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[94, 122], Operations: ['99-15=84', '38+84=122'] Exploring Operation: 122-94=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 94*122=11468, Resulting Numbers: [11468] 11468,97 unequal: No Solution Exploring Operation: 94+122=216, Resulting Numbers: [216] 216,97 unequal: No Solution No 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: 97:[84, 132], Operations: ['99-15=84', '94+38=132'] Exploring Operation: 84*132=11088, Resulting Numbers: [11088] 11088,97 unequal: No Solution Exploring Operation: 84+132=216, Resulting Numbers: [216] 216,97 unequal: No Solution Exploring Operation: 132-84=48, Resulting Numbers: [48] 48,97 unequal: No Solution No 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: 97:[84, 56], Operations: ['99-15=84', '94-38=56'] Exploring Operation: 84-56=28, Resulting Numbers: [28] 28,97 unequal: No Solution Exploring Operation: 84+56=140, Resulting Numbers: [140] 140,97 unequal: No Solution Exploring Operation: 84*56=4704, Resulting Numbers: [4704] 4704,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 72, 38, 99, 9 ]
53
[ "72/9=8", "99-38=61", "61-8=53" ]
Current State: 53:[72, 38, 99, 9], Operations: [] Exploring Operation: 72/9=8, Resulting Numbers: [38, 99, 8] Generated Node #2: [38, 99, 8] from Operation: 72/9=8 Current State: 53:[38, 99, 8], Operations: ['72/9=8'] Exploring Operation: 99-38=61, Resulting Numbers: [8, 61] Generated Node #3: [8, 61] from Operation: 99-38=61 Current State: 53:[8, 61], Operations: ['72/9=8', '99-38=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[72, 38, 99, 9], Operations: [] Exploring Operation: 72-9=63, Resulting Numbers: [38, 99, 63] Generated Node #0,0: 53:[38, 99, 63] Operation: 72-9=63 Exploring Operation: 99-38=61, Resulting Numbers: [72, 9, 61] Generated Node #0,1: 53:[72, 9, 61] Operation: 99-38=61 Moving to Node #0,0 Current State: 53:[38, 99, 63], Operations: ['72-9=63'] Exploring Operation: 99-63=36, Resulting Numbers: [38, 36] Generated Node #0,0,0: 53:[38, 36] Operation: 99-63=36 Exploring Operation: 99-38=61, Resulting Numbers: [63, 61] Generated Node #0,0,1: 53:[63, 61] Operation: 99-38=61 Moving to Node #0,1 Current State: 53:[72, 9, 61], Operations: ['99-38=61'] Exploring Operation: 61-9=52, Resulting Numbers: [72, 52] Generated Node #0,1,0: 53:[72, 52] Operation: 61-9=52 Exploring Operation: 72-9=63, Resulting Numbers: [61, 63] Generated Node #0,1,1: 53:[61, 63] Operation: 72-9=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[61, 63], Operations: ['99-38=61', '72-9=63'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 61+63=124, Resulting Numbers: [124] 124,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[72, 52], Operations: ['99-38=61', '61-9=52'] Exploring Operation: 72-52=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 72+52=124, Resulting Numbers: [124] 124,53 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: 53:[63, 61], Operations: ['72-9=63', '99-38=61'] Exploring Operation: 63+61=124, Resulting Numbers: [124] 124,53 unequal: No Solution Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[38, 36], Operations: ['72-9=63', '99-63=36'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,53 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 10, 6, 81, 29 ]
83
[ "10+81=91", "6*29=174", "174-91=83" ]
Current State: 83:[10, 6, 81, 29], Operations: [] Exploring Operation: 10+81=91, Resulting Numbers: [6, 29, 91] Generated Node #2: [6, 29, 91] from Operation: 10+81=91 Current State: 83:[6, 29, 91], Operations: ['10+81=91'] Exploring Operation: 6*29=174, Resulting Numbers: [91, 174] Generated Node #3: [91, 174] from Operation: 6*29=174 Current State: 83:[91, 174], Operations: ['10+81=91', '6*29=174'] Exploring Operation: 174-91=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[10, 6, 81, 29], Operations: [] Exploring Operation: 10*6=60, Resulting Numbers: [81, 29, 60] Generated Node #0,0: 83:[81, 29, 60] Operation: 10*6=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[81, 29, 60], Operations: ['10*6=60'] Exploring Operation: 29+60=89, Resulting Numbers: [81, 89] Generated Node #0,0,0: 83:[81, 89] Operation: 29+60=89 Moving to Node #0,0,0 Current State: 83:[81, 89], Operations: ['10*6=60', '29+60=89'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 7, 37, 59, 73 ]
74
[ "73-59=14", "14/7=2", "37*2=74" ]
Current State: 74:[7, 37, 59, 73], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [7, 37, 14] Generated Node #2: [7, 37, 14] from Operation: 73-59=14 Current State: 74:[7, 37, 14], Operations: ['73-59=14'] Exploring Operation: 14/7=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 14/7=2 Current State: 74:[37, 2], Operations: ['73-59=14', '14/7=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[7, 37, 59, 73], Operations: [] Exploring Operation: 7+59=66, Resulting Numbers: [37, 73, 66] Generated Node #0,0: 74:[37, 73, 66] Operation: 7+59=66 Exploring Operation: 7+73=80, Resulting Numbers: [37, 59, 80] Generated Node #0,1: 74:[37, 59, 80] Operation: 7+73=80 Exploring Operation: 73-59=14, Resulting Numbers: [7, 37, 14] Generated Node #0,2: 74:[7, 37, 14] Operation: 73-59=14 Exploring Operation: 59-7=52, Resulting Numbers: [37, 73, 52] Generated Node #0,3: 74:[37, 73, 52] Operation: 59-7=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[37, 73, 66], Operations: ['7+59=66'] Exploring Operation: 66-37=29, Resulting Numbers: [73, 29] Generated Node #0,0,0: 74:[73, 29] Operation: 66-37=29 Exploring Operation: 73-66=7, Resulting Numbers: [37, 7] Generated Node #0,0,1: 74:[37, 7] Operation: 73-66=7 Exploring Operation: 37+66=103, Resulting Numbers: [73, 103] Generated Node #0,0,2: 74:[73, 103] Operation: 37+66=103 Exploring Operation: 73-37=36, Resulting Numbers: [66, 36] Generated Node #0,0,3: 74:[66, 36] Operation: 73-37=36 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[37, 7], Operations: ['7+59=66', '73-66=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,74 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[73, 29], Operations: ['7+59=66', '66-37=29'] Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,74 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 74:[66, 36], Operations: ['7+59=66', '73-37=36'] Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,74 unequal: No Solution Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,74 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[73, 103], Operations: ['7+59=66', '37+66=103'] Exploring Operation: 73+103=176, Resulting Numbers: [176] 176,74 unequal: No Solution Exploring Operation: 103-73=30, Resulting Numbers: [30] 30,74 unequal: No Solution Exploring Operation: 73*103=7519, Resulting Numbers: [7519] 7519,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[37, 73, 52], Operations: ['59-7=52'] Exploring Operation: 37+52=89, Resulting Numbers: [73, 89] Generated Node #0,3,0: 74:[73, 89] Operation: 37+52=89 Exploring Operation: 73-37=36, Resulting Numbers: [52, 36] Generated Node #0,3,1: 74:[52, 36] Operation: 73-37=36 Exploring Operation: 52-37=15, Resulting Numbers: [73, 15] Generated Node #0,3,2: 74:[73, 15] Operation: 52-37=15 Exploring Operation: 73-52=21, Resulting Numbers: [37, 21] Generated Node #0,3,3: 74:[37, 21] Operation: 73-52=21 Moving to Node #0,3,2 Current State: 74:[73, 15], Operations: ['59-7=52', '52-37=15'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,74 unequal: No Solution Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,74 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[52, 36], Operations: ['59-7=52', '73-37=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,74 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[73, 89], Operations: ['59-7=52', '37+52=89'] Exploring Operation: 73*89=6497, Resulting Numbers: [6497] 6497,74 unequal: No Solution Exploring Operation: 89-73=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 73+89=162, Resulting Numbers: [162] 162,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[37, 21], Operations: ['59-7=52', '73-52=21'] Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,74 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,74 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[7, 37, 14], Operations: ['73-59=14'] Exploring Operation: 14-7=7, Resulting Numbers: [37, 7] Generated Node #0,2,0: 74:[37, 7] Operation: 14-7=7 Exploring Operation: 14/7=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 74:[37, 2] Operation: 14/7=2 Exploring Operation: 7+14=21, Resulting Numbers: [37, 21] Generated Node #0,2,2: 74:[37, 21] Operation: 7+14=21 Exploring Operation: 7+37=44, Resulting Numbers: [14, 44] Generated Node #0,2,3: 74:[14, 44] Operation: 7+37=44 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[37, 2], Operations: ['73-59=14', '14/7=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[7, 37, 59, 73], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [7, 37, 14] Generated Node #0,2: 74:[7, 37, 14] Operation: 73-59=14 Moving to Node #0,2 Current State: 74:[7, 37, 14], Operations: ['73-59=14'] Exploring Operation: 14/7=2, Resulting Numbers: [37, 2] Generated Node #0,2,1: 74:[37, 2] Operation: 14/7=2 Moving to Node #0,2,1 Current State: 74:[37, 2], Operations: ['73-59=14', '14/7=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 8, 7, 2, 57 ]
40
[ "8+7=15", "57-2=55", "55-15=40" ]
Current State: 40:[8, 7, 2, 57], Operations: [] Exploring Operation: 8+7=15, Resulting Numbers: [2, 57, 15] Generated Node #2: [2, 57, 15] from Operation: 8+7=15 Current State: 40:[2, 57, 15], Operations: ['8+7=15'] Exploring Operation: 57-2=55, Resulting Numbers: [15, 55] Generated Node #3: [15, 55] from Operation: 57-2=55 Current State: 40:[15, 55], Operations: ['8+7=15', '57-2=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[8, 7, 2, 57], Operations: [] Exploring Operation: 57-2=55, Resulting Numbers: [8, 7, 55] Generated Node #0,0: 40:[8, 7, 55] Operation: 57-2=55 Exploring Operation: 57-8=49, Resulting Numbers: [7, 2, 49] Generated Node #0,1: 40:[7, 2, 49] Operation: 57-8=49 Exploring Operation: 7-2=5, Resulting Numbers: [8, 57, 5] Generated Node #0,2: 40:[8, 57, 5] Operation: 7-2=5 Exploring Operation: 57-7=50, Resulting Numbers: [8, 2, 50] Generated Node #0,3: 40:[8, 2, 50] Operation: 57-7=50 Moving to Node #0,1 Current State: 40:[7, 2, 49], Operations: ['57-8=49'] Exploring Operation: 7-2=5, Resulting Numbers: [49, 5] Generated Node #0,1,0: 40:[49, 5] Operation: 7-2=5 Exploring Operation: 49-7=42, Resulting Numbers: [2, 42] Generated Node #0,1,1: 40:[2, 42] Operation: 49-7=42 Exploring Operation: 49-2=47, Resulting Numbers: [7, 47] Generated Node #0,1,2: 40:[7, 47] Operation: 49-2=47 Exploring Operation: 49/7=7, Resulting Numbers: [2, 7] Generated Node #0,1,3: 40:[2, 7] Operation: 49/7=7 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[2, 7], Operations: ['57-8=49', '49/7=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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,1 Current State: 40:[2, 42], Operations: ['57-8=49', '49-7=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,40 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,40 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[8, 7, 2, 57], Operations: [] Exploring Operation: 57-8=49, Resulting Numbers: [7, 2, 49] Generated Node #0,1: 40:[7, 2, 49] Operation: 57-8=49 Moving to Node #0,1 Current State: 40:[7, 2, 49], Operations: ['57-8=49'] Exploring Operation: 49-7=42, Resulting Numbers: [2, 42] Generated Node #0,1,1: 40:[2, 42] Operation: 49-7=42 Moving to Node #0,1,1 Current State: 40:[2, 42], Operations: ['57-8=49', '49-7=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 40, 29, 2, 28 ]
67
[ "40-29=11", "2*28=56", "11+56=67" ]
Current State: 67:[40, 29, 2, 28], Operations: [] Exploring Operation: 40-29=11, Resulting Numbers: [2, 28, 11] Generated Node #2: [2, 28, 11] from Operation: 40-29=11 Current State: 67:[2, 28, 11], Operations: ['40-29=11'] Exploring Operation: 2*28=56, Resulting Numbers: [11, 56] Generated Node #3: [11, 56] from Operation: 2*28=56 Current State: 67:[11, 56], Operations: ['40-29=11', '2*28=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[40, 29, 2, 28], Operations: [] Exploring Operation: 40*2=80, Resulting Numbers: [29, 28, 80] Generated Node #0,0: 67:[29, 28, 80] Operation: 40*2=80 Exploring Operation: 29*2=58, Resulting Numbers: [40, 28, 58] Generated Node #0,1: 67:[40, 28, 58] Operation: 29*2=58 Exploring Operation: 2*28=56, Resulting Numbers: [40, 29, 56] Generated Node #0,2: 67:[40, 29, 56] Operation: 2*28=56 Moving to Node #0,1 Current State: 67:[40, 28, 58], Operations: ['29*2=58'] Exploring Operation: 40+28=68, Resulting Numbers: [58, 68] Generated Node #0,1,0: 67:[58, 68] Operation: 40+28=68 Exploring Operation: 28+58=86, Resulting Numbers: [40, 86] Generated Node #0,1,1: 67:[40, 86] Operation: 28+58=86 Exploring Operation: 40-28=12, Resulting Numbers: [58, 12] Generated Node #0,1,2: 67:[58, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[58, 68], Operations: ['29*2=58', '40+28=68'] Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[40, 86], Operations: ['29*2=58', '28+58=86'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 40*86=3440, Resulting Numbers: [3440] 3440,67 unequal: No Solution Exploring Operation: 40+86=126, Resulting Numbers: [126] 126,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[58, 12], Operations: ['29*2=58', '40-28=12'] Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,67 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,67 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[40, 29, 56], Operations: ['2*28=56'] Exploring Operation: 29+56=85, Resulting Numbers: [40, 85] Generated Node #0,2,0: 67:[40, 85] Operation: 29+56=85 Exploring Operation: 40+29=69, Resulting Numbers: [56, 69] Generated Node #0,2,1: 67:[56, 69] Operation: 40+29=69 Exploring Operation: 40-29=11, Resulting Numbers: [56, 11] Generated Node #0,2,2: 67:[56, 11] Operation: 40-29=11 Moving to Node #0,0 Current State: 67:[29, 28, 80], Operations: ['40*2=80'] Exploring Operation: 29+28=57, Resulting Numbers: [80, 57] Generated Node #0,0,0: 67:[80, 57] Operation: 29+28=57 Exploring Operation: 80-28=52, Resulting Numbers: [29, 52] Generated Node #0,0,1: 67:[29, 52] Operation: 80-28=52 Exploring Operation: 80-29=51, Resulting Numbers: [28, 51] Generated Node #0,0,2: 67:[28, 51] Operation: 80-29=51 Moving to Node #0,2,1 Current State: 67:[56, 69], Operations: ['2*28=56', '40+29=69'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,67 unequal: No Solution Exploring Operation: 56+69=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 56*69=3864, Resulting Numbers: [3864] 3864,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[80, 57], Operations: ['40*2=80', '29+28=57'] Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,67 unequal: No Solution Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[40, 85], Operations: ['2*28=56', '29+56=85'] Exploring Operation: 40+85=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 40*85=3400, Resulting Numbers: [3400] 3400,67 unequal: No Solution Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[29, 52], Operations: ['40*2=80', '80-28=52'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,67 unequal: No Solution Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[28, 51], Operations: ['40*2=80', '80-29=51'] Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[56, 11], Operations: ['2*28=56', '40-29=11'] Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,67 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[40, 29, 2, 28], Operations: [] Exploring Operation: 2*28=56, Resulting Numbers: [40, 29, 56] Generated Node #0,2: 67:[40, 29, 56] Operation: 2*28=56 Moving to Node #0,2 Current State: 67:[40, 29, 56], Operations: ['2*28=56'] Exploring Operation: 40-29=11, Resulting Numbers: [56, 11] Generated Node #0,2,2: 67:[56, 11] Operation: 40-29=11 Moving to Node #0,2,2 Current State: 67:[56, 11], Operations: ['2*28=56', '40-29=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.963542
hs_3
sum_heuristic
[ 16, 36, 10, 54 ]
84
[ "36-16=20", "10+54=64", "20+64=84" ]
Current State: 84:[16, 36, 10, 54], Operations: [] Exploring Operation: 36-16=20, Resulting Numbers: [10, 54, 20] Generated Node #2: [10, 54, 20] from Operation: 36-16=20 Current State: 84:[10, 54, 20], Operations: ['36-16=20'] Exploring Operation: 10+54=64, Resulting Numbers: [20, 64] Generated Node #3: [20, 64] from Operation: 10+54=64 Current State: 84:[20, 64], Operations: ['36-16=20', '10+54=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[16, 36, 10, 54], Operations: [] Exploring Operation: 36+54=90, Resulting Numbers: [16, 10, 90] Generated Node #0,0: 84:[16, 10, 90] Operation: 36+54=90 Exploring Operation: 54-36=18, Resulting Numbers: [16, 10, 18] Generated Node #0,1: 84:[16, 10, 18] Operation: 54-36=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[16, 10, 18], Operations: ['54-36=18'] Exploring Operation: 18-16=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 84:[10, 2] Operation: 18-16=2 Exploring Operation: 10+18=28, Resulting Numbers: [16, 28] Generated Node #0,1,1: 84:[16, 28] Operation: 10+18=28 Moving to Node #0,1,0 Current State: 84:[10, 2], Operations: ['54-36=18', '18-16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[16, 28], Operations: ['54-36=18', '10+18=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[16, 10, 90], Operations: ['36+54=90'] Exploring Operation: 16-10=6, Resulting Numbers: [90, 6] Generated Node #0,0,0: 84:[90, 6] Operation: 16-10=6 Exploring Operation: 90/10=9, Resulting Numbers: [16, 9] Generated Node #0,0,1: 84:[16, 9] Operation: 90/10=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[16, 9], Operations: ['36+54=90', '90/10=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[90, 6], Operations: ['36+54=90', '16-10=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,84 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[16, 36, 10, 54], Operations: [] Exploring Operation: 36+54=90, Resulting Numbers: [16, 10, 90] Generated Node #0,0: 84:[16, 10, 90] Operation: 36+54=90 Moving to Node #0,0 Current State: 84:[16, 10, 90], Operations: ['36+54=90'] Exploring Operation: 16-10=6, Resulting Numbers: [90, 6] Generated Node #0,0,0: 84:[90, 6] Operation: 16-10=6 Moving to Node #0,0,0 Current State: 84:[90, 6], Operations: ['36+54=90', '16-10=6'] Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 3, 31, 50, 2 ]
86
[ "3+31=34", "50+2=52", "34+52=86" ]
Current State: 86:[3, 31, 50, 2], Operations: [] Exploring Operation: 3+31=34, Resulting Numbers: [50, 2, 34] Generated Node #2: [50, 2, 34] from Operation: 3+31=34 Current State: 86:[50, 2, 34], Operations: ['3+31=34'] Exploring Operation: 50+2=52, Resulting Numbers: [34, 52] Generated Node #3: [34, 52] from Operation: 50+2=52 Current State: 86:[34, 52], Operations: ['3+31=34', '50+2=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[3, 31, 50, 2], Operations: [] Exploring Operation: 31+50=81, Resulting Numbers: [3, 2, 81] Generated Node #0,0: 86:[3, 2, 81] Operation: 31+50=81 Exploring Operation: 3+31=34, Resulting Numbers: [50, 2, 34] Generated Node #0,1: 86:[50, 2, 34] Operation: 3+31=34 Exploring Operation: 50-3=47, Resulting Numbers: [31, 2, 47] Generated Node #0,2: 86:[31, 2, 47] Operation: 50-3=47 Exploring Operation: 3*31=93, Resulting Numbers: [50, 2, 93] Generated Node #0,3: 86:[50, 2, 93] Operation: 3*31=93 Exploring Operation: 50-31=19, Resulting Numbers: [3, 2, 19] Generated Node #0,4: 86:[3, 2, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[3, 2, 81], Operations: ['31+50=81'] Exploring Operation: 81-3=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 86:[2, 78] Operation: 81-3=78 Exploring Operation: 3+2=5, Resulting Numbers: [81, 5] Generated Node #0,0,1: 86:[81, 5] Operation: 3+2=5 Exploring Operation: 3+81=84, Resulting Numbers: [2, 84] Generated Node #0,0,2: 86:[2, 84] Operation: 3+81=84 Exploring Operation: 3-2=1, Resulting Numbers: [81, 1] Generated Node #0,0,3: 86:[81, 1] Operation: 3-2=1 Exploring Operation: 2+81=83, Resulting Numbers: [3, 83] Generated Node #0,0,4: 86:[3, 83] Operation: 2+81=83 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 86:[2, 84], Operations: ['31+50=81', '3+81=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[3, 31, 50, 2], Operations: [] Exploring Operation: 31+50=81, Resulting Numbers: [3, 2, 81] Generated Node #0,0: 86:[3, 2, 81] Operation: 31+50=81 Moving to Node #0,0 Current State: 86:[3, 2, 81], Operations: ['31+50=81'] Exploring Operation: 3+81=84, Resulting Numbers: [2, 84] Generated Node #0,0,2: 86:[2, 84] Operation: 3+81=84 Moving to Node #0,0,2 Current State: 86:[2, 84], Operations: ['31+50=81', '3+81=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 96, 28, 94, 87 ]
57
[ "96+28=124", "94+87=181", "181-124=57" ]
Current State: 57:[96, 28, 94, 87], Operations: [] Exploring Operation: 96+28=124, Resulting Numbers: [94, 87, 124] Generated Node #2: [94, 87, 124] from Operation: 96+28=124 Current State: 57:[94, 87, 124], Operations: ['96+28=124'] Exploring Operation: 94+87=181, Resulting Numbers: [124, 181] Generated Node #3: [124, 181] from Operation: 94+87=181 Current State: 57:[124, 181], Operations: ['96+28=124', '94+87=181'] Exploring Operation: 181-124=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[96, 28, 94, 87], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [28, 94, 9] Generated Node #0,0: 57:[28, 94, 9] Operation: 96-87=9 Exploring Operation: 94-28=66, Resulting Numbers: [96, 87, 66] Generated Node #0,1: 57:[96, 87, 66] Operation: 94-28=66 Exploring Operation: 96-28=68, Resulting Numbers: [94, 87, 68] Generated Node #0,2: 57:[94, 87, 68] Operation: 96-28=68 Exploring Operation: 94-87=7, Resulting Numbers: [96, 28, 7] Generated Node #0,3: 57:[96, 28, 7] Operation: 94-87=7 Exploring Operation: 96-94=2, Resulting Numbers: [28, 87, 2] Generated Node #0,4: 57:[28, 87, 2] Operation: 96-94=2 Moving to Node #0,4 Current State: 57:[28, 87, 2], Operations: ['96-94=2'] Exploring Operation: 28-2=26, Resulting Numbers: [87, 26] Generated Node #0,4,0: 57:[87, 26] Operation: 28-2=26 Exploring Operation: 28*2=56, Resulting Numbers: [87, 56] Generated Node #0,4,1: 57:[87, 56] Operation: 28*2=56 Exploring Operation: 87-2=85, Resulting Numbers: [28, 85] Generated Node #0,4,2: 57:[28, 85] Operation: 87-2=85 Exploring Operation: 87-28=59, Resulting Numbers: [2, 59] Generated Node #0,4,3: 57:[2, 59] Operation: 87-28=59 Exploring Operation: 28/2=14, Resulting Numbers: [87, 14] Generated Node #0,4,4: 57:[87, 14] Operation: 28/2=14 Moving to Node #0,3 Current State: 57:[96, 28, 7], Operations: ['94-87=7'] Exploring Operation: 96+7=103, Resulting Numbers: [28, 103] Generated Node #0,3,0: 57:[28, 103] Operation: 96+7=103 Exploring Operation: 96-7=89, Resulting Numbers: [28, 89] Generated Node #0,3,1: 57:[28, 89] Operation: 96-7=89 Exploring Operation: 96-28=68, Resulting Numbers: [7, 68] Generated Node #0,3,2: 57:[7, 68] Operation: 96-28=68 Exploring Operation: 28-7=21, Resulting Numbers: [96, 21] Generated Node #0,3,3: 57:[96, 21] Operation: 28-7=21 Exploring Operation: 28/7=4, Resulting Numbers: [96, 4] Generated Node #0,3,4: 57:[96, 4] Operation: 28/7=4 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[7, 68], Operations: ['94-87=7', '96-28=68'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,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,4 Current State: 57:[96, 4], Operations: ['94-87=7', '28/7=4'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 96*4=384, Resulting Numbers: [384] 384,57 unequal: No Solution Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,57 unequal: No Solution Exploring Operation: 96+4=100, Resulting Numbers: [100] 100,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,1 Current State: 57:[28, 89], Operations: ['94-87=7', '96-7=89'] Exploring Operation: 28*89=2492, Resulting Numbers: [2492] 2492,57 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 28+89=117, Resulting Numbers: [117] 117,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,3 Current State: 57:[96, 21], Operations: ['94-87=7', '28-7=21'] Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,57 unequal: No Solution Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,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,0 Current State: 57:[28, 103], Operations: ['94-87=7', '96+7=103'] Exploring Operation: 28+103=131, Resulting Numbers: [131] 131,57 unequal: No Solution Exploring Operation: 103-28=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 28*103=2884, Resulting Numbers: [2884] 2884,57 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: 57:[28, 94, 9], Operations: ['96-87=9'] Exploring Operation: 94-9=85, Resulting Numbers: [28, 85] Generated Node #0,0,0: 57:[28, 85] Operation: 94-9=85 Exploring Operation: 28-9=19, Resulting Numbers: [94, 19] Generated Node #0,0,1: 57:[94, 19] Operation: 28-9=19 Exploring Operation: 94+9=103, Resulting Numbers: [28, 103] Generated Node #0,0,2: 57:[28, 103] Operation: 94+9=103 Exploring Operation: 94-28=66, Resulting Numbers: [9, 66] Generated Node #0,0,3: 57:[9, 66] Operation: 94-28=66 Exploring Operation: 28+9=37, Resulting Numbers: [94, 37] Generated Node #0,0,4: 57:[94, 37] Operation: 28+9=37 Moving to Node #0,1 Current State: 57:[96, 87, 66], Operations: ['94-28=66'] Exploring Operation: 96-66=30, Resulting Numbers: [87, 30] Generated Node #0,1,0: 57:[87, 30] Operation: 96-66=30 Exploring Operation: 96-87=9, Resulting Numbers: [66, 9] Generated Node #0,1,1: 57:[66, 9] Operation: 96-87=9 Exploring Operation: 87-66=21, Resulting Numbers: [96, 21] Generated Node #0,1,2: 57:[96, 21] Operation: 87-66=21 Exploring Operation: 96+66=162, Resulting Numbers: [87, 162] Generated Node #0,1,3: 57:[87, 162] Operation: 96+66=162 Exploring Operation: 96+87=183, Resulting Numbers: [66, 183] Generated Node #0,1,4: 57:[66, 183] Operation: 96+87=183 Moving to Node #0,2 Current State: 57:[94, 87, 68], Operations: ['96-28=68'] Exploring Operation: 94+87=181, Resulting Numbers: [68, 181] Generated Node #0,2,0: 57:[68, 181] Operation: 94+87=181 Exploring Operation: 87-68=19, Resulting Numbers: [94, 19] Generated Node #0,2,1: 57:[94, 19] Operation: 87-68=19 Exploring Operation: 94+68=162, Resulting Numbers: [87, 162] Generated Node #0,2,2: 57:[87, 162] Operation: 94+68=162 Exploring Operation: 94-68=26, Resulting Numbers: [87, 26] Generated Node #0,2,3: 57:[87, 26] Operation: 94-68=26 Exploring Operation: 94-87=7, Resulting Numbers: [68, 7] Generated Node #0,2,4: 57:[68, 7] Operation: 94-87=7 Moving to Node #0,4,3 Current State: 57:[2, 59], Operations: ['96-94=2', '87-28=59'] Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[96, 28, 94, 87], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [28, 87, 2] Generated Node #0,4: 57:[28, 87, 2] Operation: 96-94=2 Moving to Node #0,4 Current State: 57:[28, 87, 2], Operations: ['96-94=2'] Exploring Operation: 87-28=59, Resulting Numbers: [2, 59] Generated Node #0,4,3: 57:[2, 59] Operation: 87-28=59 Moving to Node #0,4,3 Current State: 57:[2, 59], Operations: ['96-94=2', '87-28=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.954861
hs_5
mult_heuristic
[ 36, 70, 35, 42 ]
29
[ "36+70=106", "35+42=77", "106-77=29" ]
Current State: 29:[36, 70, 35, 42], Operations: [] Exploring Operation: 36+70=106, Resulting Numbers: [35, 42, 106] Generated Node #2: [35, 42, 106] from Operation: 36+70=106 Current State: 29:[35, 42, 106], Operations: ['36+70=106'] Exploring Operation: 35+42=77, Resulting Numbers: [106, 77] Generated Node #3: [106, 77] from Operation: 35+42=77 Current State: 29:[106, 77], Operations: ['36+70=106', '35+42=77'] Exploring Operation: 106-77=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[36, 70, 35, 42], Operations: [] Exploring Operation: 70-42=28, Resulting Numbers: [36, 35, 28] Generated Node #0,0: 29:[36, 35, 28] Operation: 70-42=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[36, 35, 28], Operations: ['70-42=28'] Exploring Operation: 36-28=8, Resulting Numbers: [35, 8] Generated Node #0,0,0: 29:[35, 8] Operation: 36-28=8 Moving to Node #0,0,0 Current State: 29:[35, 8], Operations: ['70-42=28', '36-28=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,29 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, 40, 44, 88 ]
98
[ "40*88=3520", "3520/44=80", "18+80=98" ]
Current State: 98:[18, 40, 44, 88], Operations: [] Exploring Operation: 40*88=3520, Resulting Numbers: [18, 44, 3520] Generated Node #2: [18, 44, 3520] from Operation: 40*88=3520 Current State: 98:[18, 44, 3520], Operations: ['40*88=3520'] Exploring Operation: 3520/44=80, Resulting Numbers: [18, 80] Generated Node #3: [18, 80] from Operation: 3520/44=80 Current State: 98:[18, 80], Operations: ['40*88=3520', '3520/44=80'] Exploring Operation: 18+80=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[18, 40, 44, 88], Operations: [] Exploring Operation: 88-40=48, Resulting Numbers: [18, 44, 48] Generated Node #0,0: 98:[18, 44, 48] Operation: 88-40=48 Moving to Node #0,0 Current State: 98:[18, 44, 48], Operations: ['88-40=48'] Exploring Operation: 48-44=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 98:[18, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[18, 4], Operations: ['88-40=48', '48-44=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,98 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
[ 55, 79, 30, 84 ]
90
[ "79-55=24", "30+84=114", "114-24=90" ]
Current State: 90:[55, 79, 30, 84], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [30, 84, 24] Generated Node #2: [30, 84, 24] from Operation: 79-55=24 Current State: 90:[30, 84, 24], Operations: ['79-55=24'] Exploring Operation: 30+84=114, Resulting Numbers: [24, 114] Generated Node #3: [24, 114] from Operation: 30+84=114 Current State: 90:[24, 114], Operations: ['79-55=24', '30+84=114'] Exploring Operation: 114-24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[55, 79, 30, 84], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [55, 30, 5] Generated Node #0,0: 90:[55, 30, 5] Operation: 84-79=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[55, 30, 5], Operations: ['84-79=5'] Exploring Operation: 55/5=11, Resulting Numbers: [30, 11] Generated Node #0,0,0: 90:[30, 11] Operation: 55/5=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[30, 11], Operations: ['84-79=5', '55/5=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,90 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
[ 53, 3, 20, 13 ]
83
[ "53-3=50", "20+13=33", "50+33=83" ]
Current State: 83:[53, 3, 20, 13], Operations: [] Exploring Operation: 53-3=50, Resulting Numbers: [20, 13, 50] Generated Node #2: [20, 13, 50] from Operation: 53-3=50 Current State: 83:[20, 13, 50], Operations: ['53-3=50'] Exploring Operation: 20+13=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 20+13=33 Current State: 83:[50, 33], Operations: ['53-3=50', '20+13=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[53, 3, 20, 13], Operations: [] Exploring Operation: 53+20=73, Resulting Numbers: [3, 13, 73] Generated Node #0,0: 83:[3, 13, 73] Operation: 53+20=73 Exploring Operation: 3*20=60, Resulting Numbers: [53, 13, 60] Generated Node #0,1: 83:[53, 13, 60] Operation: 3*20=60 Exploring Operation: 3*13=39, Resulting Numbers: [53, 20, 39] Generated Node #0,2: 83:[53, 20, 39] Operation: 3*13=39 Exploring Operation: 53+13=66, Resulting Numbers: [3, 20, 66] Generated Node #0,3: 83:[3, 20, 66] Operation: 53+13=66 Exploring Operation: 53+3=56, Resulting Numbers: [20, 13, 56] Generated Node #0,4: 83:[20, 13, 56] Operation: 53+3=56 Moving to Node #0,1 Current State: 83:[53, 13, 60], Operations: ['3*20=60'] Exploring Operation: 53-13=40, Resulting Numbers: [60, 40] Generated Node #0,1,0: 83:[60, 40] Operation: 53-13=40 Exploring Operation: 13+60=73, Resulting Numbers: [53, 73] Generated Node #0,1,1: 83:[53, 73] Operation: 13+60=73 Exploring Operation: 53+13=66, Resulting Numbers: [60, 66] Generated Node #0,1,2: 83:[60, 66] Operation: 53+13=66 Exploring Operation: 53+60=113, Resulting Numbers: [13, 113] Generated Node #0,1,3: 83:[13, 113] Operation: 53+60=113 Exploring Operation: 60-13=47, Resulting Numbers: [53, 47] Generated Node #0,1,4: 83:[53, 47] Operation: 60-13=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[53, 73], Operations: ['3*20=60', '13+60=73'] Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 53+73=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 53*73=3869, Resulting Numbers: [3869] 3869,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[60, 66], Operations: ['3*20=60', '53+13=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,83 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[60, 40], Operations: ['3*20=60', '53-13=40'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 60*40=2400, Resulting Numbers: [2400] 2400,83 unequal: No Solution Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[53, 47], Operations: ['3*20=60', '60-13=47'] Exploring Operation: 53-47=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 53*47=2491, Resulting Numbers: [2491] 2491,83 unequal: No Solution Exploring Operation: 53+47=100, Resulting Numbers: [100] 100,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[13, 113], Operations: ['3*20=60', '53+60=113'] Exploring Operation: 13*113=1469, Resulting Numbers: [1469] 1469,83 unequal: No Solution Exploring Operation: 13+113=126, Resulting Numbers: [126] 126,83 unequal: No Solution Exploring Operation: 113-13=100, Resulting Numbers: [100] 100,83 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: 83:[53, 20, 39], Operations: ['3*13=39'] Exploring Operation: 39-20=19, Resulting Numbers: [53, 19] Generated Node #0,2,0: 83:[53, 19] Operation: 39-20=19 Exploring Operation: 20+39=59, Resulting Numbers: [53, 59] Generated Node #0,2,1: 83:[53, 59] Operation: 20+39=59 Exploring Operation: 53+20=73, Resulting Numbers: [39, 73] Generated Node #0,2,2: 83:[39, 73] Operation: 53+20=73 Exploring Operation: 53-20=33, Resulting Numbers: [39, 33] Generated Node #0,2,3: 83:[39, 33] Operation: 53-20=33 Exploring Operation: 53+39=92, Resulting Numbers: [20, 92] Generated Node #0,2,4: 83:[20, 92] Operation: 53+39=92 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[53, 59], Operations: ['3*13=39', '20+39=59'] Exploring Operation: 53*59=3127, Resulting Numbers: [3127] 3127,83 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[39, 73], Operations: ['3*13=39', '53+20=73'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,83 unequal: No Solution Exploring Operation: 39*73=2847, Resulting Numbers: [2847] 2847,83 unequal: No Solution Exploring Operation: 39+73=112, Resulting Numbers: [112] 112,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[20, 92], Operations: ['3*13=39', '53+39=92'] Exploring Operation: 20*92=1840, Resulting Numbers: [1840] 1840,83 unequal: No Solution Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 20+92=112, Resulting Numbers: [112] 112,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[53, 19], Operations: ['3*13=39', '39-20=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,83 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,83 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[39, 33], Operations: ['3*13=39', '53-20=33'] Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,83 unequal: No Solution Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 83:[3, 13, 73], Operations: ['53+20=73'] Exploring Operation: 13-3=10, Resulting Numbers: [73, 10] Generated Node #0,0,0: 83:[73, 10] Operation: 13-3=10 Exploring Operation: 3+13=16, Resulting Numbers: [73, 16] Generated Node #0,0,1: 83:[73, 16] Operation: 3+13=16 Exploring Operation: 3+73=76, Resulting Numbers: [13, 76] Generated Node #0,0,2: 83:[13, 76] Operation: 3+73=76 Exploring Operation: 3*13=39, Resulting Numbers: [73, 39] Generated Node #0,0,3: 83:[73, 39] Operation: 3*13=39 Exploring Operation: 73-3=70, Resulting Numbers: [13, 70] Generated Node #0,0,4: 83:[13, 70] Operation: 73-3=70 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[73, 39], Operations: ['53+20=73', '3*13=39'] Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,83 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[73, 16], Operations: ['53+20=73', '3+13=16'] Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,83 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[13, 76], Operations: ['53+20=73', '3+73=76'] Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[73, 10], Operations: ['53+20=73', '13-3=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[53, 3, 20, 13], Operations: [] Exploring Operation: 53+20=73, Resulting Numbers: [3, 13, 73] Generated Node #0,0: 83:[3, 13, 73] Operation: 53+20=73 Moving to Node #0,0 Current State: 83:[3, 13, 73], Operations: ['53+20=73'] Exploring Operation: 13-3=10, Resulting Numbers: [73, 10] Generated Node #0,0,0: 83:[73, 10] Operation: 13-3=10 Moving to Node #0,0,0 Current State: 83:[73, 10], Operations: ['53+20=73', '13-3=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.944444
hs_5
sum_heuristic
[ 34, 95, 1, 2 ]
64
[ "34+95=129", "129-1=128", "128/2=64" ]
Current State: 64:[34, 95, 1, 2], Operations: [] Exploring Operation: 34+95=129, Resulting Numbers: [1, 2, 129] Generated Node #2: [1, 2, 129] from Operation: 34+95=129 Current State: 64:[1, 2, 129], Operations: ['34+95=129'] Exploring Operation: 129-1=128, Resulting Numbers: [2, 128] Generated Node #3: [2, 128] from Operation: 129-1=128 Current State: 64:[2, 128], Operations: ['34+95=129', '129-1=128'] Exploring Operation: 128/2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[34, 95, 1, 2], Operations: [] Exploring Operation: 95-34=61, Resulting Numbers: [1, 2, 61] Generated Node #0,0: 64:[1, 2, 61] Operation: 95-34=61 Exploring Operation: 34-2=32, Resulting Numbers: [95, 1, 32] Generated Node #0,1: 64:[95, 1, 32] Operation: 34-2=32 Exploring Operation: 95-1=94, Resulting Numbers: [34, 2, 94] Generated Node #0,2: 64:[34, 2, 94] Operation: 95-1=94 Exploring Operation: 95-2=93, Resulting Numbers: [34, 1, 93] Generated Node #0,3: 64:[34, 1, 93] Operation: 95-2=93 Exploring Operation: 34-1=33, Resulting Numbers: [95, 2, 33] Generated Node #0,4: 64:[95, 2, 33] Operation: 34-1=33 Moving to Node #0,0 Current State: 64:[1, 2, 61], Operations: ['95-34=61'] Exploring Operation: 2/1=2, Resulting Numbers: [61, 2] Generated Node #0,0,0: 64:[61, 2] Operation: 2/1=2 Exploring Operation: 2+61=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 64:[1, 63] Operation: 2+61=63 Exploring Operation: 1*61=61, Resulting Numbers: [2, 61] Generated Node #0,0,2: 64:[2, 61] Operation: 1*61=61 Exploring Operation: 1*2=2, Resulting Numbers: [61, 2] Generated Node #0,0,3: 64:[61, 2] Operation: 1*2=2 Exploring Operation: 1+61=62, Resulting Numbers: [2, 62] Generated Node #0,0,4: 64:[2, 62] Operation: 1+61=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[1, 63], Operations: ['95-34=61', '2+61=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[34, 95, 1, 2], Operations: [] Exploring Operation: 95-34=61, Resulting Numbers: [1, 2, 61] Generated Node #0,0: 64:[1, 2, 61] Operation: 95-34=61 Moving to Node #0,0 Current State: 64:[1, 2, 61], Operations: ['95-34=61'] Exploring Operation: 2+61=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 64:[1, 63] Operation: 2+61=63 Moving to Node #0,0,1 Current State: 64:[1, 63], Operations: ['95-34=61', '2+61=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 63, 3, 79, 39 ]
71
[ "63*3=189", "79+39=118", "189-118=71" ]
Current State: 71:[63, 3, 79, 39], Operations: [] Exploring Operation: 63*3=189, Resulting Numbers: [79, 39, 189] Generated Node #2: [79, 39, 189] from Operation: 63*3=189 Current State: 71:[79, 39, 189], Operations: ['63*3=189'] Exploring Operation: 79+39=118, Resulting Numbers: [189, 118] Generated Node #3: [189, 118] from Operation: 79+39=118 Current State: 71:[189, 118], Operations: ['63*3=189', '79+39=118'] Exploring Operation: 189-118=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[63, 3, 79, 39], Operations: [] Exploring Operation: 63+3=66, Resulting Numbers: [79, 39, 66] Generated Node #0,0: 71:[79, 39, 66] Operation: 63+3=66 Exploring Operation: 79-3=76, Resulting Numbers: [63, 39, 76] Generated Node #0,1: 71:[63, 39, 76] Operation: 79-3=76 Moving to Node #0,0 Current State: 71:[79, 39, 66], Operations: ['63+3=66'] Exploring Operation: 39+66=105, Resulting Numbers: [79, 105] Generated Node #0,0,0: 71:[79, 105] Operation: 39+66=105 Exploring Operation: 79-39=40, Resulting Numbers: [66, 40] Generated Node #0,0,1: 71:[66, 40] Operation: 79-39=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[66, 40], Operations: ['63+3=66', '79-39=40'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,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:[79, 105], Operations: ['63+3=66', '39+66=105'] Exploring Operation: 79+105=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 105-79=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 71:[63, 39, 76], Operations: ['79-3=76'] Exploring Operation: 76-39=37, Resulting Numbers: [63, 37] Generated Node #0,1,0: 71:[63, 37] Operation: 76-39=37 Exploring Operation: 63+39=102, Resulting Numbers: [76, 102] Generated Node #0,1,1: 71:[76, 102] Operation: 63+39=102 Moving to Node #0,1,1 Current State: 71:[76, 102], Operations: ['79-3=76', '63+39=102'] Exploring Operation: 102-76=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 76+102=178, Resulting Numbers: [178] 178,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[63, 37], Operations: ['79-3=76', '76-39=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,71 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 1, 3, 47, 88 ]
50
[ "47-1=46", "3*46=138", "138-88=50" ]
Current State: 50:[1, 3, 47, 88], Operations: [] Exploring Operation: 47-1=46, Resulting Numbers: [3, 88, 46] Generated Node #2: [3, 88, 46] from Operation: 47-1=46 Current State: 50:[3, 88, 46], Operations: ['47-1=46'] Exploring Operation: 3*46=138, Resulting Numbers: [88, 138] Generated Node #3: [88, 138] from Operation: 3*46=138 Current State: 50:[88, 138], Operations: ['47-1=46', '3*46=138'] Exploring Operation: 138-88=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[1, 3, 47, 88], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [1, 3, 41] Generated Node #0,0: 50:[1, 3, 41] Operation: 88-47=41 Exploring Operation: 1+47=48, Resulting Numbers: [3, 88, 48] Generated Node #0,1: 50:[3, 88, 48] Operation: 1+47=48 Exploring Operation: 3+47=50, Resulting Numbers: [1, 88, 50] Generated Node #0,2: 50:[1, 88, 50] Operation: 3+47=50 Exploring Operation: 88-3=85, Resulting Numbers: [1, 47, 85] Generated Node #0,3: 50:[1, 47, 85] Operation: 88-3=85 Exploring Operation: 3-1=2, Resulting Numbers: [47, 88, 2] Generated Node #0,4: 50:[47, 88, 2] Operation: 3-1=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[1, 3, 41], Operations: ['88-47=41'] Exploring Operation: 1*3=3, Resulting Numbers: [41, 3] Generated Node #0,0,0: 50:[41, 3] Operation: 1*3=3 Exploring Operation: 3-1=2, Resulting Numbers: [41, 2] Generated Node #0,0,1: 50:[41, 2] Operation: 3-1=2 Exploring Operation: 1+41=42, Resulting Numbers: [3, 42] Generated Node #0,0,2: 50:[3, 42] Operation: 1+41=42 Exploring Operation: 1+3=4, Resulting Numbers: [41, 4] Generated Node #0,0,3: 50:[41, 4] Operation: 1+3=4 Exploring Operation: 3+41=44, Resulting Numbers: [1, 44] Generated Node #0,0,4: 50:[1, 44] Operation: 3+41=44 Moving to Node #0,0,4 Current State: 50:[1, 44], Operations: ['88-47=41', '3+41=44'] Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[3, 42], Operations: ['88-47=41', '1+41=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,50 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[41, 2], Operations: ['88-47=41', '3-1=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[41, 3], Operations: ['88-47=41', '1*3=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,50 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[41, 4], Operations: ['88-47=41', '1+3=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[1, 88, 50], Operations: ['3+47=50'] Exploring Operation: 88/1=88, Resulting Numbers: [50, 88] Generated Node #0,2,0: 50:[50, 88] Operation: 88/1=88 Exploring Operation: 88-50=38, Resulting Numbers: [1, 38] Generated Node #0,2,1: 50:[1, 38] Operation: 88-50=38 Exploring Operation: 1*50=50, Resulting Numbers: [88, 50] Generated Node #0,2,2: 50:[88, 50] Operation: 1*50=50 Exploring Operation: 1*88=88, Resulting Numbers: [50, 88] Generated Node #0,2,3: 50:[50, 88] Operation: 1*88=88 Exploring Operation: 88-1=87, Resulting Numbers: [50, 87] Generated Node #0,2,4: 50:[50, 87] Operation: 88-1=87 Moving to Node #0,2,1 Current State: 50:[1, 38], Operations: ['3+47=50', '88-50=38'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[50, 87], Operations: ['3+47=50', '88-1=87'] Exploring Operation: 50*87=4350, Resulting Numbers: [4350] 4350,50 unequal: No Solution Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 50+87=137, Resulting Numbers: [137] 137,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[50, 88], Operations: ['3+47=50', '88/1=88'] Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,50 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,50 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[88, 50], Operations: ['3+47=50', '1*50=50'] Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,50 unequal: No Solution Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[50, 88], Operations: ['3+47=50', '1*88=88'] Exploring Operation: 50*88=4400, Resulting Numbers: [4400] 4400,50 unequal: No Solution Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,50 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[1, 47, 85], Operations: ['88-3=85'] Exploring Operation: 85-47=38, Resulting Numbers: [1, 38] Generated Node #0,3,0: 50:[1, 38] Operation: 85-47=38 Exploring Operation: 85-1=84, Resulting Numbers: [47, 84] Generated Node #0,3,1: 50:[47, 84] Operation: 85-1=84 Exploring Operation: 1*47=47, Resulting Numbers: [85, 47] Generated Node #0,3,2: 50:[85, 47] Operation: 1*47=47 Exploring Operation: 1+47=48, Resulting Numbers: [85, 48] Generated Node #0,3,3: 50:[85, 48] Operation: 1+47=48 Exploring Operation: 47/1=47, Resulting Numbers: [85, 47] Generated Node #0,3,4: 50:[85, 47] Operation: 47/1=47 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[1, 38], Operations: ['88-3=85', '85-47=38'] Exploring Operation: 1+38=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 50:[47, 84], Operations: ['88-3=85', '85-1=84'] Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,50 unequal: No Solution Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[85, 48], Operations: ['88-3=85', '1+47=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,50 unequal: No Solution Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 50:[85, 47], Operations: ['88-3=85', '1*47=47'] Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,50 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,50 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 50:[85, 47], Operations: ['88-3=85', '47/1=47'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,50 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,50 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[3, 88, 48], Operations: ['1+47=48'] Exploring Operation: 88-48=40, Resulting Numbers: [3, 40] Generated Node #0,1,0: 50:[3, 40] Operation: 88-48=40 Exploring Operation: 3+48=51, Resulting Numbers: [88, 51] Generated Node #0,1,1: 50:[88, 51] Operation: 3+48=51 Exploring Operation: 3+88=91, Resulting Numbers: [48, 91] Generated Node #0,1,2: 50:[48, 91] Operation: 3+88=91 Exploring Operation: 48-3=45, Resulting Numbers: [88, 45] Generated Node #0,1,3: 50:[88, 45] Operation: 48-3=45 Exploring Operation: 88-3=85, Resulting Numbers: [48, 85] Generated Node #0,1,4: 50:[48, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[3, 40], Operations: ['1+47=48', '88-48=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,50 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 50:[48, 85], Operations: ['1+47=48', '88-3=85'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 48*85=4080, Resulting Numbers: [4080] 4080,50 unequal: No Solution Exploring Operation: 48+85=133, Resulting Numbers: [133] 133,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[88, 51], Operations: ['1+47=48', '3+48=51'] Exploring Operation: 88+51=139, Resulting Numbers: [139] 139,50 unequal: No Solution Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,50 unequal: No Solution Exploring Operation: 88*51=4488, Resulting Numbers: [4488] 4488,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[48, 91], Operations: ['1+47=48', '3+88=91'] Exploring Operation: 48*91=4368, Resulting Numbers: [4368] 4368,50 unequal: No Solution Exploring Operation: 48+91=139, Resulting Numbers: [139] 139,50 unequal: No Solution Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 50:[88, 45], Operations: ['1+47=48', '48-3=45'] Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[47, 88, 2], Operations: ['3-1=2'] Exploring Operation: 88-47=41, Resulting Numbers: [2, 41] Generated Node #0,4,0: 50:[2, 41] Operation: 88-47=41 Exploring Operation: 47+2=49, Resulting Numbers: [88, 49] Generated Node #0,4,1: 50:[88, 49] Operation: 47+2=49 Exploring Operation: 47-2=45, Resulting Numbers: [88, 45] Generated Node #0,4,2: 50:[88, 45] Operation: 47-2=45 Exploring Operation: 88-2=86, Resulting Numbers: [47, 86] Generated Node #0,4,3: 50:[47, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [47, 44] Generated Node #0,4,4: 50:[47, 44] Operation: 88/2=44 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 50:[2, 41], Operations: ['3-1=2', '88-47=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 50:[47, 44], Operations: ['3-1=2', '88/2=44'] Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,50 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,50 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 50:[88, 49], Operations: ['3-1=2', '47+2=49'] Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,50 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,50 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 50:[47, 86], Operations: ['3-1=2', '88-2=86'] Exploring Operation: 47*86=4042, Resulting Numbers: [4042] 4042,50 unequal: No Solution Exploring Operation: 47+86=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 50:[88, 45], Operations: ['3-1=2', '47-2=45'] Exploring Operation: 88-45=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 88+45=133, Resulting Numbers: [133] 133,50 unequal: No Solution Exploring Operation: 88*45=3960, Resulting Numbers: [3960] 3960,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 16, 66, 23, 45 ]
14
[ "16+66=82", "23+45=68", "82-68=14" ]
Current State: 14:[16, 66, 23, 45], Operations: [] Exploring Operation: 16+66=82, Resulting Numbers: [23, 45, 82] Generated Node #2: [23, 45, 82] from Operation: 16+66=82 Current State: 14:[23, 45, 82], Operations: ['16+66=82'] Exploring Operation: 23+45=68, Resulting Numbers: [82, 68] Generated Node #3: [82, 68] from Operation: 23+45=68 Current State: 14:[82, 68], Operations: ['16+66=82', '23+45=68'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[16, 66, 23, 45], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [16, 23, 21] Generated Node #0,0: 14:[16, 23, 21] Operation: 66-45=21 Moving to Node #0,0 Current State: 14:[16, 23, 21], Operations: ['66-45=21'] Exploring Operation: 23-21=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 14:[16, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[16, 2], Operations: ['66-45=21', '23-21=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[16, 66, 23, 45], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [16, 23, 21] Generated Node #0,0: 14:[16, 23, 21] Operation: 66-45=21 Moving to Node #0,0 Current State: 14:[16, 23, 21], Operations: ['66-45=21'] Exploring Operation: 23-21=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 14:[16, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 14:[16, 2], Operations: ['66-45=21', '23-21=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 20, 32, 88, 18 ]
82
[ "32-20=12", "88-18=70", "12+70=82" ]
Current State: 82:[20, 32, 88, 18], Operations: [] Exploring Operation: 32-20=12, Resulting Numbers: [88, 18, 12] Generated Node #2: [88, 18, 12] from Operation: 32-20=12 Current State: 82:[88, 18, 12], Operations: ['32-20=12'] Exploring Operation: 88-18=70, Resulting Numbers: [12, 70] Generated Node #3: [12, 70] from Operation: 88-18=70 Current State: 82:[12, 70], Operations: ['32-20=12', '88-18=70'] Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[20, 32, 88, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [32, 88, 2] Generated Node #0,0: 82:[32, 88, 2] Operation: 20-18=2 Exploring Operation: 32-20=12, Resulting Numbers: [88, 18, 12] Generated Node #0,1: 82:[88, 18, 12] Operation: 32-20=12 Exploring Operation: 20+18=38, Resulting Numbers: [32, 88, 38] Generated Node #0,2: 82:[32, 88, 38] Operation: 20+18=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[32, 88, 2], Operations: ['20-18=2'] Exploring Operation: 88/2=44, Resulting Numbers: [32, 44] Generated Node #0,0,0: 82:[32, 44] Operation: 88/2=44 Exploring Operation: 32+2=34, Resulting Numbers: [88, 34] Generated Node #0,0,1: 82:[88, 34] Operation: 32+2=34 Exploring Operation: 88-2=86, Resulting Numbers: [32, 86] Generated Node #0,0,2: 82:[32, 86] Operation: 88-2=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[32, 44], Operations: ['20-18=2', '88/2=44'] Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,82 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,82 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,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:[88, 34], Operations: ['20-18=2', '32+2=34'] Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,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,2 Current State: 82:[32, 86], Operations: ['20-18=2', '88-2=86'] Exploring Operation: 86-32=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 32+86=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 32*86=2752, Resulting Numbers: [2752] 2752,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:[32, 88, 38], Operations: ['20+18=38'] Exploring Operation: 88-32=56, Resulting Numbers: [38, 56] Generated Node #0,2,0: 82:[38, 56] Operation: 88-32=56 Exploring Operation: 32+38=70, Resulting Numbers: [88, 70] Generated Node #0,2,1: 82:[88, 70] Operation: 32+38=70 Exploring Operation: 38-32=6, Resulting Numbers: [88, 6] Generated Node #0,2,2: 82:[88, 6] Operation: 38-32=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[88, 6], Operations: ['20+18=38', '38-32=6'] Exploring Operation: 88*6=528, Resulting Numbers: [528] 528,82 unequal: No Solution Exploring Operation: 88+6=94, Resulting Numbers: [94] 94,82 unequal: No Solution Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[20, 32, 88, 18], Operations: [] Exploring Operation: 20+18=38, Resulting Numbers: [32, 88, 38] Generated Node #0,2: 82:[32, 88, 38] Operation: 20+18=38 Moving to Node #0,2 Current State: 82:[32, 88, 38], Operations: ['20+18=38'] Exploring Operation: 38-32=6, Resulting Numbers: [88, 6] Generated Node #0,2,2: 82:[88, 6] Operation: 38-32=6 Moving to Node #0,2,2 Current State: 82:[88, 6], Operations: ['20+18=38', '38-32=6'] Exploring Operation: 88-6=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 75, 87, 4, 2 ]
85
[ "75+87=162", "162/2=81", "4+81=85" ]
Current State: 85:[75, 87, 4, 2], Operations: [] Exploring Operation: 75+87=162, Resulting Numbers: [4, 2, 162] Generated Node #2: [4, 2, 162] from Operation: 75+87=162 Current State: 85:[4, 2, 162], Operations: ['75+87=162'] Exploring Operation: 162/2=81, Resulting Numbers: [4, 81] Generated Node #3: [4, 81] from Operation: 162/2=81 Current State: 85:[4, 81], Operations: ['75+87=162', '162/2=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[75, 87, 4, 2], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [4, 2, 12] Generated Node #0,0: 85:[4, 2, 12] Operation: 87-75=12 Moving to Node #0,0 Current State: 85:[4, 2, 12], Operations: ['87-75=12'] Exploring Operation: 12/2=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 85:[4, 6] Operation: 12/2=6 Moving to Node #0,0,0 Current State: 85:[4, 6], Operations: ['87-75=12', '12/2=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 39, 94, 97 ]
15
[ "7*97=679", "679-94=585", "585/39=15" ]
Current State: 15:[7, 39, 94, 97], Operations: [] Exploring Operation: 7*97=679, Resulting Numbers: [39, 94, 679] Generated Node #2: [39, 94, 679] from Operation: 7*97=679 Current State: 15:[39, 94, 679], Operations: ['7*97=679'] Exploring Operation: 679-94=585, Resulting Numbers: [39, 585] Generated Node #3: [39, 585] from Operation: 679-94=585 Current State: 15:[39, 585], Operations: ['7*97=679', '679-94=585'] Exploring Operation: 585/39=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[7, 39, 94, 97], Operations: [] Exploring Operation: 94-39=55, Resulting Numbers: [7, 97, 55] Generated Node #0,0: 15:[7, 97, 55] Operation: 94-39=55 Exploring Operation: 97-94=3, Resulting Numbers: [7, 39, 3] Generated Node #0,1: 15:[7, 39, 3] Operation: 97-94=3 Exploring Operation: 97-39=58, Resulting Numbers: [7, 94, 58] Generated Node #0,2: 15:[7, 94, 58] Operation: 97-39=58 Exploring Operation: 39-7=32, Resulting Numbers: [94, 97, 32] Generated Node #0,3: 15:[94, 97, 32] Operation: 39-7=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[7, 39, 3], Operations: ['97-94=3'] Exploring Operation: 39-7=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 15:[3, 32] Operation: 39-7=32 Exploring Operation: 39/3=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 15:[7, 13] Operation: 39/3=13 Exploring Operation: 7-3=4, Resulting Numbers: [39, 4] Generated Node #0,1,2: 15:[39, 4] Operation: 7-3=4 Exploring Operation: 39-3=36, Resulting Numbers: [7, 36] Generated Node #0,1,3: 15:[7, 36] Operation: 39-3=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[7, 13], Operations: ['97-94=3', '39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,15 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,15 unequal: No Solution No 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: 15:[3, 32], Operations: ['97-94=3', '39-7=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,15 unequal: No Solution No 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: 15:[7, 36], Operations: ['97-94=3', '39-3=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,15 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,15 unequal: No Solution No 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: 15:[39, 4], Operations: ['97-94=3', '7-3=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,15 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: 15:[7, 97, 55], Operations: ['94-39=55'] Exploring Operation: 97-7=90, Resulting Numbers: [55, 90] Generated Node #0,0,0: 15:[55, 90] Operation: 97-7=90 Exploring Operation: 7+97=104, Resulting Numbers: [55, 104] Generated Node #0,0,1: 15:[55, 104] Operation: 7+97=104 Exploring Operation: 55-7=48, Resulting Numbers: [97, 48] Generated Node #0,0,2: 15:[97, 48] Operation: 55-7=48 Exploring Operation: 97-55=42, Resulting Numbers: [7, 42] Generated Node #0,0,3: 15:[7, 42] Operation: 97-55=42 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 15:[7, 42], Operations: ['94-39=55', '97-55=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,15 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,15 unequal: No Solution No 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: 15:[55, 90], Operations: ['94-39=55', '97-7=90'] Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,15 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,15 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,15 unequal: No Solution No 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: 15:[97, 48], Operations: ['94-39=55', '55-7=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,15 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,15 unequal: No Solution No 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: 15:[55, 104], Operations: ['94-39=55', '7+97=104'] Exploring Operation: 104-55=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 55*104=5720, Resulting Numbers: [5720] 5720,15 unequal: No Solution Exploring Operation: 55+104=159, Resulting Numbers: [159] 159,15 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: 15:[7, 94, 58], Operations: ['97-39=58'] Exploring Operation: 94-7=87, Resulting Numbers: [58, 87] Generated Node #0,2,0: 15:[58, 87] Operation: 94-7=87 Exploring Operation: 94-58=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 15:[7, 36] Operation: 94-58=36 Exploring Operation: 7+94=101, Resulting Numbers: [58, 101] Generated Node #0,2,2: 15:[58, 101] Operation: 7+94=101 Exploring Operation: 58-7=51, Resulting Numbers: [94, 51] Generated Node #0,2,3: 15:[94, 51] Operation: 58-7=51 Moving to Node #0,2,1 Current State: 15:[7, 36], Operations: ['97-39=58', '94-58=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,15 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[94, 51], Operations: ['97-39=58', '58-7=51'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 94+51=145, Resulting Numbers: [145] 145,15 unequal: No Solution Exploring Operation: 94*51=4794, Resulting Numbers: [4794] 4794,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[58, 87], Operations: ['97-39=58', '94-7=87'] Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,15 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,15 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[58, 101], Operations: ['97-39=58', '7+94=101'] Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,15 unequal: No Solution Exploring Operation: 58*101=5858, Resulting Numbers: [5858] 5858,15 unequal: No Solution Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,15 unequal: No Solution No 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: 15:[94, 97, 32], Operations: ['39-7=32'] Exploring Operation: 97-94=3, Resulting Numbers: [32, 3] Generated Node #0,3,0: 15:[32, 3] Operation: 97-94=3 Exploring Operation: 94-32=62, Resulting Numbers: [97, 62] Generated Node #0,3,1: 15:[97, 62] Operation: 94-32=62 Exploring Operation: 94+97=191, Resulting Numbers: [32, 191] Generated Node #0,3,2: 15:[32, 191] Operation: 94+97=191 Exploring Operation: 97-32=65, Resulting Numbers: [94, 65] Generated Node #0,3,3: 15:[94, 65] Operation: 97-32=65 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[32, 3], Operations: ['39-7=32', '97-94=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,15 unequal: No Solution No 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: 15:[97, 62], Operations: ['39-7=32', '94-32=62'] Exploring Operation: 97+62=159, Resulting Numbers: [159] 159,15 unequal: No Solution Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 97*62=6014, Resulting Numbers: [6014] 6014,15 unequal: No Solution No 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: 15:[94, 65], Operations: ['39-7=32', '97-32=65'] Exploring Operation: 94*65=6110, Resulting Numbers: [6110] 6110,15 unequal: No Solution Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 94+65=159, Resulting Numbers: [159] 159,15 unequal: No Solution No 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: 15:[32, 191], Operations: ['39-7=32', '94+97=191'] Exploring Operation: 32+191=223, Resulting Numbers: [223] 223,15 unequal: No Solution Exploring Operation: 32*191=6112, Resulting Numbers: [6112] 6112,15 unequal: No Solution Exploring Operation: 191-32=159, Resulting Numbers: [159] 159,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 53, 94, 16, 19 ]
65
[ "19-16=3", "53*3=159", "159-94=65" ]
Current State: 65:[53, 94, 16, 19], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [53, 94, 3] Generated Node #2: [53, 94, 3] from Operation: 19-16=3 Current State: 65:[53, 94, 3], Operations: ['19-16=3'] Exploring Operation: 53*3=159, Resulting Numbers: [94, 159] Generated Node #3: [94, 159] from Operation: 53*3=159 Current State: 65:[94, 159], Operations: ['19-16=3', '53*3=159'] Exploring Operation: 159-94=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[53, 94, 16, 19], Operations: [] Exploring Operation: 94-16=78, Resulting Numbers: [53, 19, 78] Generated Node #0,0: 65:[53, 19, 78] Operation: 94-16=78 Exploring Operation: 94-19=75, Resulting Numbers: [53, 16, 75] Generated Node #0,1: 65:[53, 16, 75] Operation: 94-19=75 Exploring Operation: 53+19=72, Resulting Numbers: [94, 16, 72] Generated Node #0,2: 65:[94, 16, 72] Operation: 53+19=72 Exploring Operation: 94-53=41, Resulting Numbers: [16, 19, 41] Generated Node #0,3: 65:[16, 19, 41] Operation: 94-53=41 Exploring Operation: 53+16=69, Resulting Numbers: [94, 19, 69] Generated Node #0,4: 65:[94, 19, 69] Operation: 53+16=69 Moving to Node #0,1 Current State: 65:[53, 16, 75], Operations: ['94-19=75'] Exploring Operation: 16+75=91, Resulting Numbers: [53, 91] Generated Node #0,1,0: 65:[53, 91] Operation: 16+75=91 Exploring Operation: 75-16=59, Resulting Numbers: [53, 59] Generated Node #0,1,1: 65:[53, 59] Operation: 75-16=59 Exploring Operation: 53-16=37, Resulting Numbers: [75, 37] Generated Node #0,1,2: 65:[75, 37] Operation: 53-16=37 Exploring Operation: 75-53=22, Resulting Numbers: [16, 22] Generated Node #0,1,3: 65:[16, 22] Operation: 75-53=22 Exploring Operation: 53+16=69, Resulting Numbers: [75, 69] Generated Node #0,1,4: 65:[75, 69] Operation: 53+16=69 Moving to Node #0,0 Current State: 65:[53, 19, 78], Operations: ['94-16=78'] Exploring Operation: 78-19=59, Resulting Numbers: [53, 59] Generated Node #0,0,0: 65:[53, 59] Operation: 78-19=59 Exploring Operation: 78-53=25, Resulting Numbers: [19, 25] Generated Node #0,0,1: 65:[19, 25] Operation: 78-53=25 Exploring Operation: 53-19=34, Resulting Numbers: [78, 34] Generated Node #0,0,2: 65:[78, 34] Operation: 53-19=34 Exploring Operation: 53+19=72, Resulting Numbers: [78, 72] Generated Node #0,0,3: 65:[78, 72] Operation: 53+19=72 Exploring Operation: 19+78=97, Resulting Numbers: [53, 97] Generated Node #0,0,4: 65:[53, 97] Operation: 19+78=97 Moving to Node #0,3 Current State: 65:[16, 19, 41], Operations: ['94-53=41'] Exploring Operation: 41-19=22, Resulting Numbers: [16, 22] Generated Node #0,3,0: 65:[16, 22] Operation: 41-19=22 Exploring Operation: 19-16=3, Resulting Numbers: [41, 3] Generated Node #0,3,1: 65:[41, 3] Operation: 19-16=3 Exploring Operation: 41-16=25, Resulting Numbers: [19, 25] Generated Node #0,3,2: 65:[19, 25] Operation: 41-16=25 Exploring Operation: 16+41=57, Resulting Numbers: [19, 57] Generated Node #0,3,3: 65:[19, 57] Operation: 16+41=57 Exploring Operation: 19+41=60, Resulting Numbers: [16, 60] Generated Node #0,3,4: 65:[16, 60] Operation: 19+41=60 Moving to Node #0,2 Current State: 65:[94, 16, 72], Operations: ['53+19=72'] Exploring Operation: 94+16=110, Resulting Numbers: [72, 110] Generated Node #0,2,0: 65:[72, 110] Operation: 94+16=110 Exploring Operation: 16+72=88, Resulting Numbers: [94, 88] Generated Node #0,2,1: 65:[94, 88] Operation: 16+72=88 Exploring Operation: 94-72=22, Resulting Numbers: [16, 22] Generated Node #0,2,2: 65:[16, 22] Operation: 94-72=22 Exploring Operation: 94-16=78, Resulting Numbers: [72, 78] Generated Node #0,2,3: 65:[72, 78] Operation: 94-16=78 Exploring Operation: 72-16=56, Resulting Numbers: [94, 56] Generated Node #0,2,4: 65:[94, 56] Operation: 72-16=56 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[16, 22], Operations: ['53+19=72', '94-72=22'] Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,65 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 65:[72, 78], Operations: ['53+19=72', '94-16=78'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,65 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 65:[94, 56], Operations: ['53+19=72', '72-16=56'] Exploring Operation: 94-56=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 94*56=5264, Resulting Numbers: [5264] 5264,65 unequal: No Solution Exploring Operation: 94+56=150, Resulting Numbers: [150] 150,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[72, 110], Operations: ['53+19=72', '94+16=110'] Exploring Operation: 72*110=7920, Resulting Numbers: [7920] 7920,65 unequal: No Solution Exploring Operation: 72+110=182, Resulting Numbers: [182] 182,65 unequal: No Solution Exploring Operation: 110-72=38, Resulting Numbers: [38] 38,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[94, 88], Operations: ['53+19=72', '16+72=88'] Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 94*88=8272, Resulting Numbers: [8272] 8272,65 unequal: No Solution Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,65 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: 65:[94, 19, 69], Operations: ['53+16=69'] Exploring Operation: 19+69=88, Resulting Numbers: [94, 88] Generated Node #0,4,0: 65:[94, 88] Operation: 19+69=88 Exploring Operation: 94-19=75, Resulting Numbers: [69, 75] Generated Node #0,4,1: 65:[69, 75] Operation: 94-19=75 Exploring Operation: 69-19=50, Resulting Numbers: [94, 50] Generated Node #0,4,2: 65:[94, 50] Operation: 69-19=50 Exploring Operation: 94+19=113, Resulting Numbers: [69, 113] Generated Node #0,4,3: 65:[69, 113] Operation: 94+19=113 Exploring Operation: 94-69=25, Resulting Numbers: [19, 25] Generated Node #0,4,4: 65:[19, 25] Operation: 94-69=25 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 65:[69, 75], Operations: ['53+16=69', '94-19=75'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 69+75=144, Resulting Numbers: [144] 144,65 unequal: No Solution Exploring Operation: 69*75=5175, Resulting Numbers: [5175] 5175,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 65:[19, 25], Operations: ['53+16=69', '94-69=25'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,65 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 65:[94, 50], Operations: ['53+16=69', '69-19=50'] Exploring Operation: 94-50=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 94*50=4700, Resulting Numbers: [4700] 4700,65 unequal: No Solution Exploring Operation: 94+50=144, Resulting Numbers: [144] 144,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 65:[94, 88], Operations: ['53+16=69', '19+69=88'] Exploring Operation: 94-88=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 94*88=8272, Resulting Numbers: [8272] 8272,65 unequal: No Solution Exploring Operation: 94+88=182, Resulting Numbers: [182] 182,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 65:[69, 113], Operations: ['53+16=69', '94+19=113'] Exploring Operation: 113-69=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 69*113=7797, Resulting Numbers: [7797] 7797,65 unequal: No Solution Exploring Operation: 69+113=182, Resulting Numbers: [182] 182,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 65:[16, 60], Operations: ['94-53=41', '19+41=60'] Exploring Operation: 16+60=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 16*60=960, Resulting Numbers: [960] 960,65 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[16, 22], Operations: ['94-53=41', '41-19=22'] Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,65 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[16, 22], Operations: ['94-19=75', '75-53=22'] Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,65 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[19, 57], Operations: ['94-53=41', '16+41=57'] Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,65 unequal: No Solution Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[75, 69], Operations: ['94-19=75', '53+16=69'] Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,65 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,65 unequal: No Solution Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[19, 25], Operations: ['94-16=78', '78-53=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,65 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[53, 59], Operations: ['94-19=75', '75-16=59'] Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 53*59=3127, Resulting Numbers: [3127] 3127,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[19, 25], Operations: ['94-53=41', '41-16=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,65 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[53, 59], Operations: ['94-16=78', '78-19=59'] Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,65 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 53*59=3127, Resulting Numbers: [3127] 3127,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[78, 72], Operations: ['94-16=78', '53+19=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,65 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[41, 3], Operations: ['94-53=41', '19-16=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,65 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[78, 34], Operations: ['94-16=78', '53-19=34'] Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,65 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[75, 37], Operations: ['94-19=75', '53-16=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,65 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[53, 91], Operations: ['94-19=75', '16+75=91'] Exploring Operation: 91-53=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 53*91=4823, Resulting Numbers: [4823] 4823,65 unequal: No Solution Exploring Operation: 53+91=144, Resulting Numbers: [144] 144,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[53, 97], Operations: ['94-16=78', '19+78=97'] Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,65 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,65 unequal: No Solution Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,65 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 88, 94, 30, 65 ]
89
[ "94-88=6", "30+65=95", "95-6=89" ]
Current State: 89:[88, 94, 30, 65], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [30, 65, 6] Generated Node #2: [30, 65, 6] from Operation: 94-88=6 Current State: 89:[30, 65, 6], Operations: ['94-88=6'] Exploring Operation: 30+65=95, Resulting Numbers: [6, 95] Generated Node #3: [6, 95] from Operation: 30+65=95 Current State: 89:[6, 95], Operations: ['94-88=6', '30+65=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[88, 94, 30, 65], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [94, 65, 58] Generated Node #0,0: 89:[94, 65, 58] Operation: 88-30=58 Exploring Operation: 30+65=95, Resulting Numbers: [88, 94, 95] Generated Node #0,1: 89:[88, 94, 95] Operation: 30+65=95 Exploring Operation: 88+30=118, Resulting Numbers: [94, 65, 118] Generated Node #0,2: 89:[94, 65, 118] Operation: 88+30=118 Exploring Operation: 94-30=64, Resulting Numbers: [88, 65, 64] Generated Node #0,3: 89:[88, 65, 64] Operation: 94-30=64 Moving to Node #0,1 Current State: 89:[88, 94, 95], Operations: ['30+65=95'] Exploring Operation: 95-88=7, Resulting Numbers: [94, 7] Generated Node #0,1,0: 89:[94, 7] Operation: 95-88=7 Exploring Operation: 94-88=6, Resulting Numbers: [95, 6] Generated Node #0,1,1: 89:[95, 6] Operation: 94-88=6 Exploring Operation: 88+94=182, Resulting Numbers: [95, 182] Generated Node #0,1,2: 89:[95, 182] Operation: 88+94=182 Exploring Operation: 95-94=1, Resulting Numbers: [88, 1] Generated Node #0,1,3: 89:[88, 1] Operation: 95-94=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[94, 7], Operations: ['30+65=95', '95-88=7'] Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,89 unequal: No Solution Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,89 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[95, 6], Operations: ['30+65=95', '94-88=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[88, 94, 30, 65], Operations: [] Exploring Operation: 30+65=95, Resulting Numbers: [88, 94, 95] Generated Node #0,1: 89:[88, 94, 95] Operation: 30+65=95 Moving to Node #0,1 Current State: 89:[88, 94, 95], Operations: ['30+65=95'] Exploring Operation: 94-88=6, Resulting Numbers: [95, 6] Generated Node #0,1,1: 89:[95, 6] Operation: 94-88=6 Moving to Node #0,1,1 Current State: 89:[95, 6], Operations: ['30+65=95', '94-88=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 57, 30, 5, 83 ]
100
[ "83-57=26", "5*26=130", "130-30=100" ]
Current State: 100:[57, 30, 5, 83], Operations: [] Exploring Operation: 83-57=26, Resulting Numbers: [30, 5, 26] Generated Node #2: [30, 5, 26] from Operation: 83-57=26 Current State: 100:[30, 5, 26], Operations: ['83-57=26'] Exploring Operation: 5*26=130, Resulting Numbers: [30, 130] Generated Node #3: [30, 130] from Operation: 5*26=130 Current State: 100:[30, 130], Operations: ['83-57=26', '5*26=130'] Exploring Operation: 130-30=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[57, 30, 5, 83], Operations: [] Exploring Operation: 57-5=52, Resulting Numbers: [30, 83, 52] Generated Node #0,0: 100:[30, 83, 52] Operation: 57-5=52 Exploring Operation: 57-30=27, Resulting Numbers: [5, 83, 27] Generated Node #0,1: 100:[5, 83, 27] Operation: 57-30=27 Exploring Operation: 83-57=26, Resulting Numbers: [30, 5, 26] Generated Node #0,2: 100:[30, 5, 26] Operation: 83-57=26 Exploring Operation: 30+83=113, Resulting Numbers: [57, 5, 113] Generated Node #0,3: 100:[57, 5, 113] Operation: 30+83=113 Exploring Operation: 83-30=53, Resulting Numbers: [57, 5, 53] Generated Node #0,4: 100:[57, 5, 53] Operation: 83-30=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[30, 5, 26], Operations: ['83-57=26'] Exploring Operation: 30-5=25, Resulting Numbers: [26, 25] Generated Node #0,2,0: 100:[26, 25] Operation: 30-5=25 Exploring Operation: 26-5=21, Resulting Numbers: [30, 21] Generated Node #0,2,1: 100:[30, 21] Operation: 26-5=21 Exploring Operation: 30-26=4, Resulting Numbers: [5, 4] Generated Node #0,2,2: 100:[5, 4] Operation: 30-26=4 Exploring Operation: 30/5=6, Resulting Numbers: [26, 6] Generated Node #0,2,3: 100:[26, 6] Operation: 30/5=6 Exploring Operation: 30+26=56, Resulting Numbers: [5, 56] Generated Node #0,2,4: 100:[5, 56] Operation: 30+26=56 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 100:[5, 4], Operations: ['83-57=26', '30-26=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution No 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: 100:[26, 25], Operations: ['83-57=26', '30-5=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,100 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,100 unequal: No Solution No 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: 100:[26, 6], Operations: ['83-57=26', '30/5=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,100 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,100 unequal: No Solution No 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: 100:[30, 21], Operations: ['83-57=26', '26-5=21'] Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,100 unequal: No Solution No 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: 100:[5, 56], Operations: ['83-57=26', '30+26=56'] Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,100 unequal: No Solution Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,100 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: 100:[57, 5, 53], Operations: ['83-30=53'] Exploring Operation: 57-53=4, Resulting Numbers: [5, 4] Generated Node #0,4,0: 100:[5, 4] Operation: 57-53=4 Exploring Operation: 57+53=110, Resulting Numbers: [5, 110] Generated Node #0,4,1: 100:[5, 110] Operation: 57+53=110 Exploring Operation: 57+5=62, Resulting Numbers: [53, 62] Generated Node #0,4,2: 100:[53, 62] Operation: 57+5=62 Exploring Operation: 57-5=52, Resulting Numbers: [53, 52] Generated Node #0,4,3: 100:[53, 52] Operation: 57-5=52 Exploring Operation: 53-5=48, Resulting Numbers: [57, 48] Generated Node #0,4,4: 100:[57, 48] Operation: 53-5=48 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[5, 4], Operations: ['83-30=53', '57-53=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,100 unequal: No Solution No 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: 100:[53, 52], Operations: ['83-30=53', '57-5=52'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,100 unequal: No Solution Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,100 unequal: No Solution No 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: 100:[57, 48], Operations: ['83-30=53', '53-5=48'] Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,100 unequal: No Solution No 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: 100:[5, 110], Operations: ['83-30=53', '57+53=110'] Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 5*110=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,100 unequal: No Solution No 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: 100:[53, 62], Operations: ['83-30=53', '57+5=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,100 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,100 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: 100:[5, 83, 27], Operations: ['57-30=27'] Exploring Operation: 83+27=110, Resulting Numbers: [5, 110] Generated Node #0,1,0: 100:[5, 110] Operation: 83+27=110 Exploring Operation: 83-5=78, Resulting Numbers: [27, 78] Generated Node #0,1,1: 100:[27, 78] Operation: 83-5=78 Exploring Operation: 5+83=88, Resulting Numbers: [27, 88] Generated Node #0,1,2: 100:[27, 88] Operation: 5+83=88 Exploring Operation: 83-27=56, Resulting Numbers: [5, 56] Generated Node #0,1,3: 100:[5, 56] Operation: 83-27=56 Exploring Operation: 27-5=22, Resulting Numbers: [83, 22] Generated Node #0,1,4: 100:[83, 22] Operation: 27-5=22 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[5, 56], Operations: ['57-30=27', '83-27=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,100 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,100 unequal: No Solution No 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: 100:[5, 110], Operations: ['57-30=27', '83+27=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 5*110=550, Resulting Numbers: [550] 550,100 unequal: No Solution Exploring Operation: 5+110=115, Resulting Numbers: [115] 115,100 unequal: No Solution No 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: 100:[27, 88], Operations: ['57-30=27', '5+83=88'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,100 unequal: No Solution Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,100 unequal: No Solution No 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: 100:[83, 22], Operations: ['57-30=27', '27-5=22'] Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,100 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,100 unequal: No Solution No 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: 100:[27, 78], Operations: ['57-30=27', '83-5=78'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 27+78=105, Resulting Numbers: [105] 105,100 unequal: No Solution Exploring Operation: 27*78=2106, Resulting Numbers: [2106] 2106,100 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: 100:[57, 5, 113], Operations: ['30+83=113'] Exploring Operation: 57+5=62, Resulting Numbers: [113, 62] Generated Node #0,3,0: 100:[113, 62] Operation: 57+5=62 Exploring Operation: 57-5=52, Resulting Numbers: [113, 52] Generated Node #0,3,1: 100:[113, 52] Operation: 57-5=52 Exploring Operation: 113-5=108, Resulting Numbers: [57, 108] Generated Node #0,3,2: 100:[57, 108] Operation: 113-5=108 Exploring Operation: 113-57=56, Resulting Numbers: [5, 56] Generated Node #0,3,3: 100:[5, 56] Operation: 113-57=56 Exploring Operation: 5+113=118, Resulting Numbers: [57, 118] Generated Node #0,3,4: 100:[57, 118] Operation: 5+113=118 Moving to Node #0,3,3 Current State: 100:[5, 56], Operations: ['30+83=113', '113-57=56'] Exploring Operation: 56-5=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 5*56=280, Resulting Numbers: [280] 280,100 unequal: No Solution Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[57, 108], Operations: ['30+83=113', '113-5=108'] Exploring Operation: 57*108=6156, Resulting Numbers: [6156] 6156,100 unequal: No Solution Exploring Operation: 57+108=165, Resulting Numbers: [165] 165,100 unequal: No Solution Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[113, 52], Operations: ['30+83=113', '57-5=52'] Exploring Operation: 113+52=165, Resulting Numbers: [165] 165,100 unequal: No Solution Exploring Operation: 113-52=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 113*52=5876, Resulting Numbers: [5876] 5876,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[113, 62], Operations: ['30+83=113', '57+5=62'] Exploring Operation: 113+62=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 113*62=7006, Resulting Numbers: [7006] 7006,100 unequal: No Solution Exploring Operation: 113-62=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[57, 118], Operations: ['30+83=113', '5+113=118'] Exploring Operation: 57+118=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 57*118=6726, Resulting Numbers: [6726] 6726,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[30, 83, 52], Operations: ['57-5=52'] Exploring Operation: 52-30=22, Resulting Numbers: [83, 22] Generated Node #0,0,0: 100:[83, 22] Operation: 52-30=22 Exploring Operation: 83-30=53, Resulting Numbers: [52, 53] Generated Node #0,0,1: 100:[52, 53] Operation: 83-30=53 Exploring Operation: 30+52=82, Resulting Numbers: [83, 82] Generated Node #0,0,2: 100:[83, 82] Operation: 30+52=82 Exploring Operation: 83-52=31, Resulting Numbers: [30, 31] Generated Node #0,0,3: 100:[30, 31] Operation: 83-52=31 Exploring Operation: 30+83=113, Resulting Numbers: [52, 113] Generated Node #0,0,4: 100:[52, 113] Operation: 30+83=113 Moving to Node #0,0,1 Current State: 100:[52, 53], Operations: ['57-5=52', '83-30=53'] Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,100 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[30, 31], Operations: ['57-5=52', '83-52=31'] Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,100 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,0,4 Current State: 100:[52, 113], Operations: ['57-5=52', '30+83=113'] Exploring Operation: 52+113=165, Resulting Numbers: [165] 165,100 unequal: No Solution Exploring Operation: 113-52=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 52*113=5876, Resulting Numbers: [5876] 5876,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[83, 22], Operations: ['57-5=52', '52-30=22'] Exploring Operation: 83*22=1826, Resulting Numbers: [1826] 1826,100 unequal: No Solution Exploring Operation: 83-22=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 83+22=105, Resulting Numbers: [105] 105,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[83, 82], Operations: ['57-5=52', '30+52=82'] Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,100 unequal: No Solution Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,100 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
[ 78, 58, 7, 31 ]
58
[ "78-58=20", "7+31=38", "20+38=58" ]
Current State: 58:[78, 58, 7, 31], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [7, 31, 20] Generated Node #2: [7, 31, 20] from Operation: 78-58=20 Current State: 58:[7, 31, 20], Operations: ['78-58=20'] Exploring Operation: 7+31=38, Resulting Numbers: [20, 38] Generated Node #3: [20, 38] from Operation: 7+31=38 Current State: 58:[20, 38], Operations: ['78-58=20', '7+31=38'] Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[78, 58, 7, 31], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [7, 31, 20] Generated Node #0,0: 58:[7, 31, 20] Operation: 78-58=20 Exploring Operation: 78-31=47, Resulting Numbers: [58, 7, 47] Generated Node #0,1: 58:[58, 7, 47] Operation: 78-31=47 Exploring Operation: 31-7=24, Resulting Numbers: [78, 58, 24] Generated Node #0,2: 58:[78, 58, 24] Operation: 31-7=24 Exploring Operation: 78-7=71, Resulting Numbers: [58, 31, 71] Generated Node #0,3: 58:[58, 31, 71] Operation: 78-7=71 Exploring Operation: 58-31=27, Resulting Numbers: [78, 7, 27] Generated Node #0,4: 58:[78, 7, 27] Operation: 58-31=27 Moving to Node #0,3 Current State: 58:[58, 31, 71], Operations: ['78-7=71'] Exploring Operation: 58-31=27, Resulting Numbers: [71, 27] Generated Node #0,3,0: 58:[71, 27] Operation: 58-31=27 Exploring Operation: 31+71=102, Resulting Numbers: [58, 102] Generated Node #0,3,1: 58:[58, 102] Operation: 31+71=102 Exploring Operation: 71-58=13, Resulting Numbers: [31, 13] Generated Node #0,3,2: 58:[31, 13] Operation: 71-58=13 Exploring Operation: 58+31=89, Resulting Numbers: [71, 89] Generated Node #0,3,3: 58:[71, 89] Operation: 58+31=89 Exploring Operation: 71-31=40, Resulting Numbers: [58, 40] Generated Node #0,3,4: 58:[58, 40] Operation: 71-31=40 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 58:[58, 40], Operations: ['78-7=71', '71-31=40'] Exploring Operation: 58+40=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 58*40=2320, Resulting Numbers: [2320] 2320,58 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[31, 13], Operations: ['78-7=71', '71-58=13'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[71, 27], Operations: ['78-7=71', '58-31=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,58 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,58 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[58, 102], Operations: ['78-7=71', '31+71=102'] Exploring Operation: 102-58=44, Resulting Numbers: [44] 44,58 unequal: No Solution Exploring Operation: 58*102=5916, Resulting Numbers: [5916] 5916,58 unequal: No Solution Exploring Operation: 58+102=160, Resulting Numbers: [160] 160,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[71, 89], Operations: ['78-7=71', '58+31=89'] Exploring Operation: 71*89=6319, Resulting Numbers: [6319] 6319,58 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 71+89=160, Resulting Numbers: [160] 160,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[58, 7, 47], Operations: ['78-31=47'] Exploring Operation: 7+47=54, Resulting Numbers: [58, 54] Generated Node #0,1,0: 58:[58, 54] Operation: 7+47=54 Exploring Operation: 58+7=65, Resulting Numbers: [47, 65] Generated Node #0,1,1: 58:[47, 65] Operation: 58+7=65 Exploring Operation: 58-7=51, Resulting Numbers: [47, 51] Generated Node #0,1,2: 58:[47, 51] Operation: 58-7=51 Exploring Operation: 58-47=11, Resulting Numbers: [7, 11] Generated Node #0,1,3: 58:[7, 11] Operation: 58-47=11 Exploring Operation: 47-7=40, Resulting Numbers: [58, 40] Generated Node #0,1,4: 58:[58, 40] Operation: 47-7=40 Moving to Node #0,0 Current State: 58:[7, 31, 20], Operations: ['78-58=20'] Exploring Operation: 31-7=24, Resulting Numbers: [20, 24] Generated Node #0,0,0: 58:[20, 24] Operation: 31-7=24 Exploring Operation: 7+20=27, Resulting Numbers: [31, 27] Generated Node #0,0,1: 58:[31, 27] Operation: 7+20=27 Exploring Operation: 31-20=11, Resulting Numbers: [7, 11] Generated Node #0,0,2: 58:[7, 11] Operation: 31-20=11 Exploring Operation: 20-7=13, Resulting Numbers: [31, 13] Generated Node #0,0,3: 58:[31, 13] Operation: 20-7=13 Exploring Operation: 31+20=51, Resulting Numbers: [7, 51] Generated Node #0,0,4: 58:[7, 51] Operation: 31+20=51 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[31, 27], Operations: ['78-58=20', '7+20=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[78, 58, 7, 31], Operations: [] Exploring Operation: 78-58=20, Resulting Numbers: [7, 31, 20] Generated Node #0,0: 58:[7, 31, 20] Operation: 78-58=20 Moving to Node #0,0 Current State: 58:[7, 31, 20], Operations: ['78-58=20'] Exploring Operation: 7+20=27, Resulting Numbers: [31, 27] Generated Node #0,0,1: 58:[31, 27] Operation: 7+20=27 Moving to Node #0,0,1 Current State: 58:[31, 27], Operations: ['78-58=20', '7+20=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 48, 18, 16, 50 ]
10
[ "50-48=2", "16/2=8", "18-8=10" ]
Current State: 10:[48, 18, 16, 50], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [18, 16, 2] Generated Node #2: [18, 16, 2] from Operation: 50-48=2 Current State: 10:[18, 16, 2], Operations: ['50-48=2'] Exploring Operation: 16/2=8, Resulting Numbers: [18, 8] Generated Node #3: [18, 8] from Operation: 16/2=8 Current State: 10:[18, 8], Operations: ['50-48=2', '16/2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[48, 18, 16, 50], Operations: [] Exploring Operation: 50-18=32, Resulting Numbers: [48, 16, 32] Generated Node #0,0: 10:[48, 16, 32] Operation: 50-18=32 Exploring Operation: 48/16=3, Resulting Numbers: [18, 50, 3] Generated Node #0,1: 10:[18, 50, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [18, 50, 32] Generated Node #0,2: 10:[18, 50, 32] Operation: 48-16=32 Exploring Operation: 50-48=2, Resulting Numbers: [18, 16, 2] Generated Node #0,3: 10:[18, 16, 2] Operation: 50-48=2 Exploring Operation: 48-18=30, Resulting Numbers: [16, 50, 30] Generated Node #0,4: 10:[16, 50, 30] Operation: 48-18=30 Moving to Node #0,3 Current State: 10:[18, 16, 2], Operations: ['50-48=2'] Exploring Operation: 16/2=8, Resulting Numbers: [18, 8] Generated Node #0,3,0: 10:[18, 8] Operation: 16/2=8 Exploring Operation: 18-16=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 10:[2, 2] Operation: 18-16=2 Exploring Operation: 18-2=16, Resulting Numbers: [16, 16] Generated Node #0,3,2: 10:[16, 16] Operation: 18-2=16 Exploring Operation: 16-2=14, Resulting Numbers: [18, 14] Generated Node #0,3,3: 10:[18, 14] Operation: 16-2=14 Exploring Operation: 18/2=9, Resulting Numbers: [16, 9] Generated Node #0,3,4: 10:[16, 9] Operation: 18/2=9 Moving to Node #0,1 Current State: 10:[18, 50, 3], Operations: ['48/16=3'] Exploring Operation: 50-18=32, Resulting Numbers: [3, 32] Generated Node #0,1,0: 10:[3, 32] Operation: 50-18=32 Exploring Operation: 18/3=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 10:[50, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [50, 15] Generated Node #0,1,2: 10:[50, 15] Operation: 18-3=15 Exploring Operation: 50-3=47, Resulting Numbers: [18, 47] Generated Node #0,1,3: 10:[18, 47] Operation: 50-3=47 Exploring Operation: 18+3=21, Resulting Numbers: [50, 21] Generated Node #0,1,4: 10:[50, 21] Operation: 18+3=21 Moving to Node #0,0 Current State: 10:[48, 16, 32], Operations: ['50-18=32'] Exploring Operation: 32-16=16, Resulting Numbers: [48, 16] Generated Node #0,0,0: 10:[48, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [48, 2] Generated Node #0,0,1: 10:[48, 2] Operation: 32/16=2 Exploring Operation: 48-16=32, Resulting Numbers: [32, 32] Generated Node #0,0,2: 10:[32, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [32, 3] Generated Node #0,0,3: 10:[32, 3] Operation: 48/16=3 Exploring Operation: 48-32=16, Resulting Numbers: [16, 16] Generated Node #0,0,4: 10:[16, 16] Operation: 48-32=16 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[16, 16], Operations: ['50-18=32', '48-32=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,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,3 Current State: 10:[32, 3], Operations: ['50-18=32', '48/16=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,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,1 Current State: 10:[48, 2], Operations: ['50-18=32', '32/16=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,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,0 Current State: 10:[48, 16], Operations: ['50-18=32', '32-16=16'] Exploring Operation: 48-16=32, Resulting Numbers: [32] 32,10 unequal: No Solution Exploring Operation: 48+16=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 48/16=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 48*16=768, Resulting Numbers: [768] 768,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,2 Current State: 10:[32, 32], Operations: ['50-18=32', '48-16=32'] Exploring Operation: 32*32=1024, Resulting Numbers: [1024] 1024,10 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,10 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: 10:[16, 50, 30], Operations: ['48-18=30'] Exploring Operation: 50-16=34, Resulting Numbers: [30, 34] Generated Node #0,4,0: 10:[30, 34] Operation: 50-16=34 Exploring Operation: 16+30=46, Resulting Numbers: [50, 46] Generated Node #0,4,1: 10:[50, 46] Operation: 16+30=46 Exploring Operation: 50-30=20, Resulting Numbers: [16, 20] Generated Node #0,4,2: 10:[16, 20] Operation: 50-30=20 Exploring Operation: 30-16=14, Resulting Numbers: [50, 14] Generated Node #0,4,3: 10:[50, 14] Operation: 30-16=14 Exploring Operation: 16+50=66, Resulting Numbers: [30, 66] Generated Node #0,4,4: 10:[30, 66] Operation: 16+50=66 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[16, 20], Operations: ['48-18=30', '50-30=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,10 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,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,4,0 Current State: 10:[30, 34], Operations: ['48-18=30', '50-16=34'] Exploring Operation: 30+34=64, Resulting Numbers: [64] 64,10 unequal: No Solution Exploring Operation: 30*34=1020, Resulting Numbers: [1020] 1020,10 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,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,4,3 Current State: 10:[50, 14], Operations: ['48-18=30', '30-16=14'] Exploring Operation: 50*14=700, Resulting Numbers: [700] 700,10 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 50+14=64, Resulting Numbers: [64] 64,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,4,1 Current State: 10:[50, 46], Operations: ['48-18=30', '16+30=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,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,4,4 Current State: 10:[30, 66], Operations: ['48-18=30', '16+50=66'] Exploring Operation: 30+66=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 30*66=1980, Resulting Numbers: [1980] 1980,10 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,10 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: 10:[18, 50, 32], Operations: ['48-16=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50, 50] Generated Node #0,2,0: 10:[50, 50] Operation: 18+32=50 Exploring Operation: 50-18=32, Resulting Numbers: [32, 32] Generated Node #0,2,1: 10:[32, 32] Operation: 50-18=32 Exploring Operation: 32-18=14, Resulting Numbers: [50, 14] Generated Node #0,2,2: 10:[50, 14] Operation: 32-18=14 Exploring Operation: 18+50=68, Resulting Numbers: [32, 68] Generated Node #0,2,3: 10:[32, 68] Operation: 18+50=68 Exploring Operation: 50-32=18, Resulting Numbers: [18, 18] Generated Node #0,2,4: 10:[18, 18] Operation: 50-32=18 Moving to Node #0,3,1 Current State: 10:[2, 2], Operations: ['50-48=2', '18-16=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[16, 9], Operations: ['50-48=2', '18/2=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,10 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,10 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[18, 8], Operations: ['50-48=2', '16/2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[48, 18, 16, 50], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [18, 16, 2] Generated Node #0,3: 10:[18, 16, 2] Operation: 50-48=2 Moving to Node #0,3 Current State: 10:[18, 16, 2], Operations: ['50-48=2'] Exploring Operation: 16/2=8, Resulting Numbers: [18, 8] Generated Node #0,3,0: 10:[18, 8] Operation: 16/2=8 Moving to Node #0,3,0 Current State: 10:[18, 8], Operations: ['50-48=2', '16/2=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.934028
hs_5
sum_heuristic
[ 58, 27, 72, 2 ]
67
[ "58-27=31", "72/2=36", "31+36=67" ]
Current State: 67:[58, 27, 72, 2], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [72, 2, 31] Generated Node #2: [72, 2, 31] from Operation: 58-27=31 Current State: 67:[72, 2, 31], Operations: ['58-27=31'] Exploring Operation: 72/2=36, Resulting Numbers: [31, 36] Generated Node #3: [31, 36] from Operation: 72/2=36 Current State: 67:[31, 36], Operations: ['58-27=31', '72/2=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[58, 27, 72, 2], Operations: [] Exploring Operation: 27+2=29, Resulting Numbers: [58, 72, 29] Generated Node #0,0: 67:[58, 72, 29] Operation: 27+2=29 Exploring Operation: 27*2=54, Resulting Numbers: [58, 72, 54] Generated Node #0,1: 67:[58, 72, 54] Operation: 27*2=54 Exploring Operation: 58+2=60, Resulting Numbers: [27, 72, 60] Generated Node #0,2: 67:[27, 72, 60] Operation: 58+2=60 Exploring Operation: 72-2=70, Resulting Numbers: [58, 27, 70] Generated Node #0,3: 67:[58, 27, 70] Operation: 72-2=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[58, 72, 54], Operations: ['27*2=54'] Exploring Operation: 58-54=4, Resulting Numbers: [72, 4] Generated Node #0,1,0: 67:[72, 4] Operation: 58-54=4 Exploring Operation: 72-58=14, Resulting Numbers: [54, 14] Generated Node #0,1,1: 67:[54, 14] Operation: 72-58=14 Exploring Operation: 72-54=18, Resulting Numbers: [58, 18] Generated Node #0,1,2: 67:[58, 18] Operation: 72-54=18 Exploring Operation: 58+54=112, Resulting Numbers: [72, 112] Generated Node #0,1,3: 67:[72, 112] Operation: 58+54=112 Moving to Node #0,1,3 Current State: 67:[72, 112], Operations: ['27*2=54', '58+54=112'] Exploring Operation: 72*112=8064, Resulting Numbers: [8064] 8064,67 unequal: No Solution Exploring Operation: 112-72=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 72+112=184, Resulting Numbers: [184] 184,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[58, 18], Operations: ['27*2=54', '72-54=18'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 58+18=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 58*18=1044, Resulting Numbers: [1044] 1044,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[54, 14], Operations: ['27*2=54', '72-58=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,67 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,67 unequal: No Solution Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[72, 4], Operations: ['27*2=54', '58-54=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 72*4=288, Resulting Numbers: [288] 288,67 unequal: No Solution Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 72-4=68, Resulting Numbers: [68] 68,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[58, 72, 29], Operations: ['27+2=29'] Exploring Operation: 58-29=29, Resulting Numbers: [72, 29] Generated Node #0,0,0: 67:[72, 29] Operation: 58-29=29 Exploring Operation: 58+29=87, Resulting Numbers: [72, 87] Generated Node #0,0,1: 67:[72, 87] Operation: 58+29=87 Exploring Operation: 72+29=101, Resulting Numbers: [58, 101] Generated Node #0,0,2: 67:[58, 101] Operation: 72+29=101 Exploring Operation: 72-29=43, Resulting Numbers: [58, 43] Generated Node #0,0,3: 67:[58, 43] Operation: 72-29=43 Moving to Node #0,0,1 Current State: 67:[72, 87], Operations: ['27+2=29', '58+29=87'] Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,67 unequal: No Solution Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[58, 43], Operations: ['27+2=29', '72-29=43'] Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,67 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[58, 101], Operations: ['27+2=29', '72+29=101'] Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,67 unequal: No Solution Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 58*101=5858, Resulting Numbers: [5858] 5858,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[72, 29], Operations: ['27+2=29', '58-29=29'] Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,67 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[27, 72, 60], Operations: ['58+2=60'] Exploring Operation: 60-27=33, Resulting Numbers: [72, 33] Generated Node #0,2,0: 67:[72, 33] Operation: 60-27=33 Exploring Operation: 72-27=45, Resulting Numbers: [60, 45] Generated Node #0,2,1: 67:[60, 45] Operation: 72-27=45 Exploring Operation: 27+72=99, Resulting Numbers: [60, 99] Generated Node #0,2,2: 67:[60, 99] Operation: 27+72=99 Exploring Operation: 27+60=87, Resulting Numbers: [72, 87] Generated Node #0,2,3: 67:[72, 87] Operation: 27+60=87 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[72, 87], Operations: ['58+2=60', '27+60=87'] Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,67 unequal: No Solution Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[60, 45], Operations: ['58+2=60', '72-27=45'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[72, 33], Operations: ['58+2=60', '60-27=33'] Exploring Operation: 72*33=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution Exploring Operation: 72-33=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 72+33=105, Resulting Numbers: [105] 105,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[60, 99], Operations: ['58+2=60', '27+72=99'] Exploring Operation: 60*99=5940, Resulting Numbers: [5940] 5940,67 unequal: No Solution Exploring Operation: 99-60=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 60+99=159, Resulting Numbers: [159] 159,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[58, 27, 70], Operations: ['72-2=70'] Exploring Operation: 58+27=85, Resulting Numbers: [70, 85] Generated Node #0,3,0: 67:[70, 85] Operation: 58+27=85 Exploring Operation: 58-27=31, Resulting Numbers: [70, 31] Generated Node #0,3,1: 67:[70, 31] Operation: 58-27=31 Exploring Operation: 70-27=43, Resulting Numbers: [58, 43] Generated Node #0,3,2: 67:[58, 43] Operation: 70-27=43 Exploring Operation: 27+70=97, Resulting Numbers: [58, 97] Generated Node #0,3,3: 67:[58, 97] Operation: 27+70=97 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[70, 85], Operations: ['72-2=70', '58+27=85'] Exploring Operation: 70*85=5950, Resulting Numbers: [5950] 5950,67 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 70+85=155, Resulting Numbers: [155] 155,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[58, 43], Operations: ['72-2=70', '70-27=43'] Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,67 unequal: No Solution Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,67 unequal: No Solution Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[70, 31], Operations: ['72-2=70', '58-27=31'] Exploring Operation: 70+31=101, Resulting Numbers: [101] 101,67 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 70*31=2170, Resulting Numbers: [2170] 2170,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[58, 97], Operations: ['72-2=70', '27+70=97'] Exploring Operation: 58+97=155, Resulting Numbers: [155] 155,67 unequal: No Solution Exploring Operation: 58*97=5626, Resulting Numbers: [5626] 5626,67 unequal: No Solution Exploring Operation: 97-58=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 89, 27, 17, 81 ]
80
[ "89-81=8", "27-17=10", "8*10=80" ]
Current State: 80:[89, 27, 17, 81], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [27, 17, 8] Generated Node #2: [27, 17, 8] from Operation: 89-81=8 Current State: 80:[27, 17, 8], Operations: ['89-81=8'] Exploring Operation: 27-17=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 27-17=10 Current State: 80:[8, 10], Operations: ['89-81=8', '27-17=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[89, 27, 17, 81], Operations: [] Exploring Operation: 27+17=44, Resulting Numbers: [89, 81, 44] Generated Node #0,0: 80:[89, 81, 44] Operation: 27+17=44 Exploring Operation: 89-17=72, Resulting Numbers: [27, 81, 72] Generated Node #0,1: 80:[27, 81, 72] Operation: 89-17=72 Exploring Operation: 89-81=8, Resulting Numbers: [27, 17, 8] Generated Node #0,2: 80:[27, 17, 8] Operation: 89-81=8 Exploring Operation: 81/27=3, Resulting Numbers: [89, 17, 3] Generated Node #0,3: 80:[89, 17, 3] Operation: 81/27=3 Exploring Operation: 27-17=10, Resulting Numbers: [89, 81, 10] Generated Node #0,4: 80:[89, 81, 10] Operation: 27-17=10 Moving to Node #0,2 Current State: 80:[27, 17, 8], Operations: ['89-81=8'] Exploring Operation: 27+17=44, Resulting Numbers: [8, 44] Generated Node #0,2,0: 80:[8, 44] Operation: 27+17=44 Exploring Operation: 17-8=9, Resulting Numbers: [27, 9] Generated Node #0,2,1: 80:[27, 9] Operation: 17-8=9 Exploring Operation: 27+8=35, Resulting Numbers: [17, 35] Generated Node #0,2,2: 80:[17, 35] Operation: 27+8=35 Exploring Operation: 27-8=19, Resulting Numbers: [17, 19] Generated Node #0,2,3: 80:[17, 19] Operation: 27-8=19 Exploring Operation: 27-17=10, Resulting Numbers: [8, 10] Generated Node #0,2,4: 80:[8, 10] Operation: 27-17=10 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 80:[8, 10], Operations: ['89-81=8', '27-17=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[89, 27, 17, 81], Operations: [] Exploring Operation: 89-81=8, Resulting Numbers: [27, 17, 8] Generated Node #0,2: 80:[27, 17, 8] Operation: 89-81=8 Moving to Node #0,2 Current State: 80:[27, 17, 8], Operations: ['89-81=8'] Exploring Operation: 27-17=10, Resulting Numbers: [8, 10] Generated Node #0,2,4: 80:[8, 10] Operation: 27-17=10 Moving to Node #0,2,4 Current State: 80:[8, 10], Operations: ['89-81=8', '27-17=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 79, 56, 4, 39 ]
24
[ "79+56=135", "135-39=96", "96/4=24" ]
Current State: 24:[79, 56, 4, 39], Operations: [] Exploring Operation: 79+56=135, Resulting Numbers: [4, 39, 135] Generated Node #2: [4, 39, 135] from Operation: 79+56=135 Current State: 24:[4, 39, 135], Operations: ['79+56=135'] Exploring Operation: 135-39=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 135-39=96 Current State: 24:[4, 96], Operations: ['79+56=135', '135-39=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[79, 56, 4, 39], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [56, 4, 40] Generated Node #0,0: 24:[56, 4, 40] Operation: 79-39=40 Exploring Operation: 79-56=23, Resulting Numbers: [4, 39, 23] Generated Node #0,1: 24:[4, 39, 23] Operation: 79-56=23 Moving to Node #0,1 Current State: 24:[4, 39, 23], Operations: ['79-56=23'] Exploring Operation: 39-4=35, Resulting Numbers: [23, 35] Generated Node #0,1,0: 24:[23, 35] Operation: 39-4=35 Exploring Operation: 39-23=16, Resulting Numbers: [4, 16] Generated Node #0,1,1: 24:[4, 16] Operation: 39-23=16 Moving to Node #0,0 Current State: 24:[56, 4, 40], Operations: ['79-39=40'] Exploring Operation: 56-40=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 24:[4, 16] Operation: 56-40=16 Exploring Operation: 56/4=14, Resulting Numbers: [40, 14] Generated Node #0,0,1: 24:[40, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[4, 16], Operations: ['79-39=40', '56-40=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[40, 14], Operations: ['79-39=40', '56/4=14'] Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,24 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 24:[4, 16], Operations: ['79-56=23', '39-23=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[23, 35], Operations: ['79-56=23', '39-4=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,24 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 8, 28, 13, 14 ]
23
[ "8+13=21", "28/14=2", "21+2=23" ]
Current State: 23:[8, 28, 13, 14], Operations: [] Exploring Operation: 8+13=21, Resulting Numbers: [28, 14, 21] Generated Node #2: [28, 14, 21] from Operation: 8+13=21 Current State: 23:[28, 14, 21], Operations: ['8+13=21'] Exploring Operation: 28/14=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 28/14=2 Current State: 23:[21, 2], Operations: ['8+13=21', '28/14=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[8, 28, 13, 14], Operations: [] Exploring Operation: 8+13=21, Resulting Numbers: [28, 14, 21] Generated Node #0,0: 23:[28, 14, 21] Operation: 8+13=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[28, 14, 21], Operations: ['8+13=21'] Exploring Operation: 28-14=14, Resulting Numbers: [21, 14] Generated Node #0,0,0: 23:[21, 14] Operation: 28-14=14 Moving to Node #0,0,0 Current State: 23:[21, 14], Operations: ['8+13=21', '28-14=14'] Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 18, 37, 17, 54 ]
17
[ "18+37=55", "55-54=1", "17*1=17" ]
Current State: 17:[18, 37, 17, 54], Operations: [] Exploring Operation: 18+37=55, Resulting Numbers: [17, 54, 55] Generated Node #2: [17, 54, 55] from Operation: 18+37=55 Current State: 17:[17, 54, 55], Operations: ['18+37=55'] Exploring Operation: 55-54=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 55-54=1 Current State: 17:[17, 1], Operations: ['18+37=55', '55-54=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[18, 37, 17, 54], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [37, 17, 3] Generated Node #0,0: 17:[37, 17, 3] Operation: 54/18=3 Exploring Operation: 37-18=19, Resulting Numbers: [17, 54, 19] Generated Node #0,1: 17:[17, 54, 19] Operation: 37-18=19 Exploring Operation: 54-37=17, Resulting Numbers: [18, 17, 17] Generated Node #0,2: 17:[18, 17, 17] Operation: 54-37=17 Moving to Node #0,2 Current State: 17:[18, 17, 17], Operations: ['54-37=17'] Exploring Operation: 18-17=1, Resulting Numbers: [17, 1] Generated Node #0,2,0: 17:[17, 1] Operation: 18-17=1 Exploring Operation: 18-17=1, Resulting Numbers: [17, 1] Generated Node #0,2,1: 17:[17, 1] Operation: 18-17=1 Exploring Operation: 17/17=1, Resulting Numbers: [18, 1] Generated Node #0,2,2: 17:[18, 1] Operation: 17/17=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[17, 1], Operations: ['54-37=17', '18-17=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[18, 37, 17, 54], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [18, 17, 17] Generated Node #0,2: 17:[18, 17, 17] Operation: 54-37=17 Moving to Node #0,2 Current State: 17:[18, 17, 17], Operations: ['54-37=17'] Exploring Operation: 18-17=1, Resulting Numbers: [17, 1] Generated Node #0,2,0: 17:[17, 1] Operation: 18-17=1 Moving to Node #0,2,0 Current State: 17:[17, 1], Operations: ['54-37=17', '18-17=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 37, 31, 87, 80 ]
84
[ "37+87=124", "124/31=4", "80+4=84" ]
Current State: 84:[37, 31, 87, 80], Operations: [] Exploring Operation: 37+87=124, Resulting Numbers: [31, 80, 124] Generated Node #2: [31, 80, 124] from Operation: 37+87=124 Current State: 84:[31, 80, 124], Operations: ['37+87=124'] Exploring Operation: 124/31=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 124/31=4 Current State: 84:[80, 4], Operations: ['37+87=124', '124/31=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[37, 31, 87, 80], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [31, 87, 43] Generated Node #0,0: 84:[31, 87, 43] Operation: 80-37=43 Exploring Operation: 37-31=6, Resulting Numbers: [87, 80, 6] Generated Node #0,1: 84:[87, 80, 6] Operation: 37-31=6 Moving to Node #0,0 Current State: 84:[31, 87, 43], Operations: ['80-37=43'] Exploring Operation: 43-31=12, Resulting Numbers: [87, 12] Generated Node #0,0,0: 84:[87, 12] Operation: 43-31=12 Exploring Operation: 87-43=44, Resulting Numbers: [31, 44] Generated Node #0,0,1: 84:[31, 44] Operation: 87-43=44 Moving to Node #0,1 Current State: 84:[87, 80, 6], Operations: ['37-31=6'] Exploring Operation: 80+6=86, Resulting Numbers: [87, 86] Generated Node #0,1,0: 84:[87, 86] Operation: 80+6=86 Exploring Operation: 87-80=7, Resulting Numbers: [6, 7] Generated Node #0,1,1: 84:[6, 7] Operation: 87-80=7 Moving to Node #0,1,1 Current State: 84:[6, 7], Operations: ['37-31=6', '87-80=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[87, 12], Operations: ['80-37=43', '43-31=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[31, 44], Operations: ['80-37=43', '87-43=44'] Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[87, 86], Operations: ['37-31=6', '80+6=86'] Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,84 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,84 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 75, 73, 1, 97 ]
99
[ "75-73=2", "1*97=97", "2+97=99" ]
Current State: 99:[75, 73, 1, 97], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [1, 97, 2] Generated Node #2: [1, 97, 2] from Operation: 75-73=2 Current State: 99:[1, 97, 2], Operations: ['75-73=2'] Exploring Operation: 1*97=97, Resulting Numbers: [2, 97] Generated Node #3: [2, 97] from Operation: 1*97=97 Current State: 99:[2, 97], Operations: ['75-73=2', '1*97=97'] Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[75, 73, 1, 97], Operations: [] Exploring Operation: 75-73=2, Resulting Numbers: [1, 97, 2] Generated Node #0,0: 99:[1, 97, 2] Operation: 75-73=2 Moving to Node #0,0 Current State: 99:[1, 97, 2], Operations: ['75-73=2'] Exploring Operation: 1+97=98, Resulting Numbers: [2, 98] Generated Node #0,0,0: 99:[2, 98] Operation: 1+97=98 Moving to Node #0,0,0 Current State: 99:[2, 98], Operations: ['75-73=2', '1+97=98'] Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,99 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 53, 31, 84 ]
99
[ "53-7=46", "84-31=53", "46+53=99" ]
Current State: 99:[7, 53, 31, 84], Operations: [] Exploring Operation: 53-7=46, Resulting Numbers: [31, 84, 46] Generated Node #2: [31, 84, 46] from Operation: 53-7=46 Current State: 99:[31, 84, 46], Operations: ['53-7=46'] Exploring Operation: 84-31=53, Resulting Numbers: [46, 53] Generated Node #3: [46, 53] from Operation: 84-31=53 Current State: 99:[46, 53], Operations: ['53-7=46', '84-31=53'] Exploring Operation: 46+53=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[7, 53, 31, 84], Operations: [] Exploring Operation: 53-31=22, Resulting Numbers: [7, 84, 22] Generated Node #0,0: 99:[7, 84, 22] Operation: 53-31=22 Exploring Operation: 84/7=12, Resulting Numbers: [53, 31, 12] Generated Node #0,1: 99:[53, 31, 12] Operation: 84/7=12 Exploring Operation: 84-53=31, Resulting Numbers: [7, 31, 31] Generated Node #0,2: 99:[7, 31, 31] Operation: 84-53=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[7, 31, 31], Operations: ['84-53=31'] Exploring Operation: 31/31=1, Resulting Numbers: [7, 1] Generated Node #0,2,0: 99:[7, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [7, 0] Generated Node #0,2,1: 99:[7, 0] Operation: 31-31=0 Exploring Operation: 7+31=38, Resulting Numbers: [31, 38] Generated Node #0,2,2: 99:[31, 38] Operation: 7+31=38 Moving to Node #0,2,0 Current State: 99:[7, 1], Operations: ['84-53=31', '31/31=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[7, 0], Operations: ['84-53=31', '31-31=0'] Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[31, 38], Operations: ['84-53=31', '7+31=38'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,99 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[53, 31, 12], Operations: ['84/7=12'] Exploring Operation: 53-31=22, Resulting Numbers: [12, 22] Generated Node #0,1,0: 99:[12, 22] Operation: 53-31=22 Exploring Operation: 53-12=41, Resulting Numbers: [31, 41] Generated Node #0,1,1: 99:[31, 41] Operation: 53-12=41 Exploring Operation: 53+31=84, Resulting Numbers: [12, 84] Generated Node #0,1,2: 99:[12, 84] Operation: 53+31=84 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[31, 41], Operations: ['84/7=12', '53-12=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[12, 22], Operations: ['84/7=12', '53-31=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,99 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[12, 84], Operations: ['84/7=12', '53+31=84'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,99 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,99 unequal: No Solution Exploring Operation: 12+84=96, Resulting Numbers: [96] 96,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[7, 84, 22], Operations: ['53-31=22'] Exploring Operation: 84/7=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 99:[22, 12] Operation: 84/7=12 Exploring Operation: 84+22=106, Resulting Numbers: [7, 106] Generated Node #0,0,1: 99:[7, 106] Operation: 84+22=106 Exploring Operation: 7+84=91, Resulting Numbers: [22, 91] Generated Node #0,0,2: 99:[22, 91] Operation: 7+84=91 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 99:[7, 106], Operations: ['53-31=22', '84+22=106'] Exploring Operation: 7*106=742, Resulting Numbers: [742] 742,99 unequal: No Solution Exploring Operation: 7+106=113, Resulting Numbers: [113] 113,99 unequal: No Solution Exploring Operation: 106-7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[7, 53, 31, 84], Operations: [] Exploring Operation: 53-31=22, Resulting Numbers: [7, 84, 22] Generated Node #0,0: 99:[7, 84, 22] Operation: 53-31=22 Moving to Node #0,0 Current State: 99:[7, 84, 22], Operations: ['53-31=22'] Exploring Operation: 84+22=106, Resulting Numbers: [7, 106] Generated Node #0,0,1: 99:[7, 106] Operation: 84+22=106 Moving to Node #0,0,1 Current State: 99:[7, 106], Operations: ['53-31=22', '84+22=106'] Exploring Operation: 106-7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic
[ 4, 12, 49, 1 ]
53
[ "12/4=3", "49+1=50", "3+50=53" ]
Current State: 53:[4, 12, 49, 1], Operations: [] Exploring Operation: 12/4=3, Resulting Numbers: [49, 1, 3] Generated Node #2: [49, 1, 3] from Operation: 12/4=3 Current State: 53:[49, 1, 3], Operations: ['12/4=3'] Exploring Operation: 49+1=50, Resulting Numbers: [3, 50] Generated Node #3: [3, 50] from Operation: 49+1=50 Current State: 53:[3, 50], Operations: ['12/4=3', '49+1=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[4, 12, 49, 1], Operations: [] Exploring Operation: 4+12=16, Resulting Numbers: [49, 1, 16] Generated Node #0,0: 53:[49, 1, 16] Operation: 4+12=16 Exploring Operation: 4*12=48, Resulting Numbers: [49, 1, 48] Generated Node #0,1: 53:[49, 1, 48] Operation: 4*12=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[49, 1, 48], Operations: ['4*12=48'] Exploring Operation: 1+48=49, Resulting Numbers: [49, 49] Generated Node #0,1,0: 53:[49, 49] Operation: 1+48=49 Exploring Operation: 49+1=50, Resulting Numbers: [48, 50] Generated Node #0,1,1: 53:[48, 50] Operation: 49+1=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[49, 49], Operations: ['4*12=48', '1+48=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[48, 50], Operations: ['4*12=48', '49+1=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[49, 1, 16], Operations: ['4+12=16'] Exploring Operation: 49+1=50, Resulting Numbers: [16, 50] Generated Node #0,0,0: 53:[16, 50] Operation: 49+1=50 Exploring Operation: 1+16=17, Resulting Numbers: [49, 17] Generated Node #0,0,1: 53:[49, 17] Operation: 1+16=17 Moving to Node #0,0,0 Current State: 53:[16, 50], Operations: ['4+12=16', '49+1=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[49, 17], Operations: ['4+12=16', '1+16=17'] Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,53 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
[ 61, 88, 27, 58 ]
97
[ "61-58=3", "27/3=9", "88+9=97" ]
Current State: 97:[61, 88, 27, 58], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [88, 27, 3] Generated Node #2: [88, 27, 3] from Operation: 61-58=3 Current State: 97:[88, 27, 3], Operations: ['61-58=3'] Exploring Operation: 27/3=9, Resulting Numbers: [88, 9] Generated Node #3: [88, 9] from Operation: 27/3=9 Current State: 97:[88, 9], Operations: ['61-58=3', '27/3=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[61, 88, 27, 58], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [61, 88, 85] Generated Node #0,0: 97:[61, 88, 85] Operation: 27+58=85 Exploring Operation: 88+27=115, Resulting Numbers: [61, 58, 115] Generated Node #0,1: 97:[61, 58, 115] Operation: 88+27=115 Exploring Operation: 61+58=119, Resulting Numbers: [88, 27, 119] Generated Node #0,2: 97:[88, 27, 119] Operation: 61+58=119 Exploring Operation: 61+27=88, Resulting Numbers: [88, 58, 88] Generated Node #0,3: 97:[88, 58, 88] Operation: 61+27=88 Moving to Node #0,0 Current State: 97:[61, 88, 85], Operations: ['27+58=85'] Exploring Operation: 61+85=146, Resulting Numbers: [88, 146] Generated Node #0,0,0: 97:[88, 146] Operation: 61+85=146 Exploring Operation: 88-61=27, Resulting Numbers: [85, 27] Generated Node #0,0,1: 97:[85, 27] Operation: 88-61=27 Exploring Operation: 85-61=24, Resulting Numbers: [88, 24] Generated Node #0,0,2: 97:[88, 24] Operation: 85-61=24 Exploring Operation: 61+88=149, Resulting Numbers: [85, 149] Generated Node #0,0,3: 97:[85, 149] Operation: 61+88=149 Moving to Node #0,3 Current State: 97:[88, 58, 88], Operations: ['61+27=88'] Exploring Operation: 58+88=146, Resulting Numbers: [88, 146] Generated Node #0,3,0: 97:[88, 146] Operation: 58+88=146 Exploring Operation: 88+58=146, Resulting Numbers: [88, 146] Generated Node #0,3,1: 97:[88, 146] Operation: 88+58=146 Exploring Operation: 88-58=30, Resulting Numbers: [88, 30] Generated Node #0,3,2: 97:[88, 30] Operation: 88-58=30 Exploring Operation: 88-58=30, Resulting Numbers: [88, 30] Generated Node #0,3,3: 97:[88, 30] Operation: 88-58=30 Moving to Node #0,1 Current State: 97:[61, 58, 115], Operations: ['88+27=115'] Exploring Operation: 61-58=3, Resulting Numbers: [115, 3] Generated Node #0,1,0: 97:[115, 3] Operation: 61-58=3 Exploring Operation: 115-61=54, Resulting Numbers: [58, 54] Generated Node #0,1,1: 97:[58, 54] Operation: 115-61=54 Exploring Operation: 115-58=57, Resulting Numbers: [61, 57] Generated Node #0,1,2: 97:[61, 57] Operation: 115-58=57 Exploring Operation: 61+58=119, Resulting Numbers: [115, 119] Generated Node #0,1,3: 97:[115, 119] Operation: 61+58=119 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[115, 119], Operations: ['88+27=115', '61+58=119'] Exploring Operation: 115+119=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 115*119=13685, Resulting Numbers: [13685] 13685,97 unequal: No Solution Exploring Operation: 119-115=4, Resulting Numbers: [4] 4,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[61, 57], Operations: ['88+27=115', '115-58=57'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 61+57=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 61*57=3477, Resulting Numbers: [3477] 3477,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[58, 54], Operations: ['88+27=115', '115-61=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,97 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[115, 3], Operations: ['88+27=115', '61-58=3'] Exploring Operation: 115+3=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 115-3=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 115*3=345, Resulting Numbers: [345] 345,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 97:[88, 27, 119], Operations: ['61+58=119'] Exploring Operation: 88+27=115, Resulting Numbers: [119, 115] Generated Node #0,2,0: 97:[119, 115] Operation: 88+27=115 Exploring Operation: 27+119=146, Resulting Numbers: [88, 146] Generated Node #0,2,1: 97:[88, 146] Operation: 27+119=146 Exploring Operation: 88-27=61, Resulting Numbers: [119, 61] Generated Node #0,2,2: 97:[119, 61] Operation: 88-27=61 Exploring Operation: 119-27=92, Resulting Numbers: [88, 92] Generated Node #0,2,3: 97:[88, 92] Operation: 119-27=92 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[88, 92], Operations: ['61+58=119', '119-27=92'] Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 88+92=180, Resulting Numbers: [180] 180,97 unequal: No Solution Exploring Operation: 88*92=8096, Resulting Numbers: [8096] 8096,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:[119, 115], Operations: ['61+58=119', '88+27=115'] Exploring Operation: 119-115=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 119*115=13685, Resulting Numbers: [13685] 13685,97 unequal: No Solution Exploring Operation: 119+115=234, Resulting Numbers: [234] 234,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,1 Current State: 97:[88, 146], Operations: ['61+58=119', '27+119=146'] Exploring Operation: 88*146=12848, Resulting Numbers: [12848] 12848,97 unequal: No Solution Exploring Operation: 88+146=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 146-88=58, Resulting Numbers: [58] 58,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:[119, 61], Operations: ['61+58=119', '88-27=61'] Exploring Operation: 119-61=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 119*61=7259, Resulting Numbers: [7259] 7259,97 unequal: No Solution Exploring Operation: 119+61=180, Resulting Numbers: [180] 180,97 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: 97:[88, 146], Operations: ['27+58=85', '61+85=146'] Exploring Operation: 88*146=12848, Resulting Numbers: [12848] 12848,97 unequal: No Solution Exploring Operation: 88+146=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 146-88=58, Resulting Numbers: [58] 58,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[88, 146], Operations: ['61+27=88', '88+58=146'] Exploring Operation: 88*146=12848, Resulting Numbers: [12848] 12848,97 unequal: No Solution Exploring Operation: 88+146=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 146-88=58, Resulting Numbers: [58] 58,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[88, 146], Operations: ['61+27=88', '58+88=146'] Exploring Operation: 88*146=12848, Resulting Numbers: [12848] 12848,97 unequal: No Solution Exploring Operation: 146-88=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 88+146=234, Resulting Numbers: [234] 234,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[85, 149], Operations: ['27+58=85', '61+88=149'] Exploring Operation: 85*149=12665, Resulting Numbers: [12665] 12665,97 unequal: No Solution Exploring Operation: 85+149=234, Resulting Numbers: [234] 234,97 unequal: No Solution Exploring Operation: 149-85=64, Resulting Numbers: [64] 64,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[88, 30], Operations: ['61+27=88', '88-58=30'] Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,97 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[88, 30], Operations: ['61+27=88', '88-58=30'] Exploring Operation: 88+30=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,97 unequal: No Solution Exploring Operation: 88*30=2640, Resulting Numbers: [2640] 2640,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[85, 27], Operations: ['27+58=85', '88-61=27'] Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,97 unequal: No Solution Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[88, 24], Operations: ['27+58=85', '85-61=24'] Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,97 unequal: No Solution Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,97 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 6, 49, 3, 43 ]
94
[ "6/3=2", "49+43=92", "2+92=94" ]
Current State: 94:[6, 49, 3, 43], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [49, 43, 2] Generated Node #2: [49, 43, 2] from Operation: 6/3=2 Current State: 94:[49, 43, 2], Operations: ['6/3=2'] Exploring Operation: 49+43=92, Resulting Numbers: [2, 92] Generated Node #3: [2, 92] from Operation: 49+43=92 Current State: 94:[2, 92], Operations: ['6/3=2', '49+43=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[6, 49, 3, 43], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [49, 43, 2] Generated Node #0,0: 94:[49, 43, 2] Operation: 6/3=2 Exploring Operation: 3+43=46, Resulting Numbers: [6, 49, 46] Generated Node #0,1: 94:[6, 49, 46] Operation: 3+43=46 Exploring Operation: 6-3=3, Resulting Numbers: [49, 43, 3] Generated Node #0,2: 94:[49, 43, 3] Operation: 6-3=3 Exploring Operation: 49+43=92, Resulting Numbers: [6, 3, 92] Generated Node #0,3: 94:[6, 3, 92] Operation: 49+43=92 Exploring Operation: 6+43=49, Resulting Numbers: [49, 3, 49] Generated Node #0,4: 94:[49, 3, 49] Operation: 6+43=49 Moving to Node #0,4 Current State: 94:[49, 3, 49], Operations: ['6+43=49'] Exploring Operation: 49-49=0, Resulting Numbers: [3, 0] Generated Node #0,4,0: 94:[3, 0] Operation: 49-49=0 Exploring Operation: 49/49=1, Resulting Numbers: [3, 1] Generated Node #0,4,1: 94:[3, 1] Operation: 49/49=1 Exploring Operation: 49-3=46, Resulting Numbers: [49, 46] Generated Node #0,4,2: 94:[49, 46] Operation: 49-3=46 Exploring Operation: 49+49=98, Resulting Numbers: [3, 98] Generated Node #0,4,3: 94:[3, 98] Operation: 49+49=98 Exploring Operation: 49-3=46, Resulting Numbers: [49, 46] Generated Node #0,4,4: 94:[49, 46] Operation: 49-3=46 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[3, 1], Operations: ['6+43=49', '49/49=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,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,0 Current State: 94:[3, 0], Operations: ['6+43=49', '49-49=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,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:[49, 46], Operations: ['6+43=49', '49-3=46'] Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,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:[49, 46], Operations: ['6+43=49', '49-3=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,94 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,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,3 Current State: 94:[3, 98], Operations: ['6+43=49', '49+49=98'] Exploring Operation: 3+98=101, Resulting Numbers: [101] 101,94 unequal: No Solution Exploring Operation: 3*98=294, Resulting Numbers: [294] 294,94 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,94 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: 94:[49, 43, 2], Operations: ['6/3=2'] Exploring Operation: 43+2=45, Resulting Numbers: [49, 45] Generated Node #0,0,0: 94:[49, 45] Operation: 43+2=45 Exploring Operation: 49+43=92, Resulting Numbers: [2, 92] Generated Node #0,0,1: 94:[2, 92] Operation: 49+43=92 Exploring Operation: 49+2=51, Resulting Numbers: [43, 51] Generated Node #0,0,2: 94:[43, 51] Operation: 49+2=51 Exploring Operation: 49-2=47, Resulting Numbers: [43, 47] Generated Node #0,0,3: 94:[43, 47] Operation: 49-2=47 Exploring Operation: 49-43=6, Resulting Numbers: [2, 6] Generated Node #0,0,4: 94:[2, 6] Operation: 49-43=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[2, 92], Operations: ['6/3=2', '49+43=92'] Exploring Operation: 2*92=184, Resulting Numbers: [184] 184,94 unequal: No Solution Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[6, 49, 3, 43], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [49, 43, 2] Generated Node #0,0: 94:[49, 43, 2] Operation: 6/3=2 Moving to Node #0,0 Current State: 94:[49, 43, 2], Operations: ['6/3=2'] Exploring Operation: 49+43=92, Resulting Numbers: [2, 92] Generated Node #0,0,1: 94:[2, 92] Operation: 49+43=92 Moving to Node #0,0,1 Current State: 94:[2, 92], Operations: ['6/3=2', '49+43=92'] Exploring Operation: 2+92=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 73, 27, 24, 82 ]
12
[ "73-27=46", "82-24=58", "58-46=12" ]
Current State: 12:[73, 27, 24, 82], Operations: [] Exploring Operation: 73-27=46, Resulting Numbers: [24, 82, 46] Generated Node #2: [24, 82, 46] from Operation: 73-27=46 Current State: 12:[24, 82, 46], Operations: ['73-27=46'] Exploring Operation: 82-24=58, Resulting Numbers: [46, 58] Generated Node #3: [46, 58] from Operation: 82-24=58 Current State: 12:[46, 58], Operations: ['73-27=46', '82-24=58'] Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[73, 27, 24, 82], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [27, 24, 9] Generated Node #0,0: 12:[27, 24, 9] Operation: 82-73=9 Exploring Operation: 73-24=49, Resulting Numbers: [27, 82, 49] Generated Node #0,1: 12:[27, 82, 49] Operation: 73-24=49 Exploring Operation: 73-27=46, Resulting Numbers: [24, 82, 46] Generated Node #0,2: 12:[24, 82, 46] Operation: 73-27=46 Exploring Operation: 82-27=55, Resulting Numbers: [73, 24, 55] Generated Node #0,3: 12:[73, 24, 55] Operation: 82-27=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[27, 24, 9], Operations: ['82-73=9'] Exploring Operation: 27-9=18, Resulting Numbers: [24, 18] Generated Node #0,0,0: 12:[24, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 12:[24, 3] Operation: 27/9=3 Exploring Operation: 27-24=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 12:[9, 3] Operation: 27-24=3 Exploring Operation: 24-9=15, Resulting Numbers: [27, 15] Generated Node #0,0,3: 12:[27, 15] Operation: 24-9=15 Moving to Node #0,0,2 Current State: 12:[9, 3], Operations: ['82-73=9', '27-24=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[73, 27, 24, 82], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [27, 24, 9] Generated Node #0,0: 12:[27, 24, 9] Operation: 82-73=9 Moving to Node #0,0 Current State: 12:[27, 24, 9], Operations: ['82-73=9'] Exploring Operation: 27-24=3, Resulting Numbers: [9, 3] Generated Node #0,0,2: 12:[9, 3] Operation: 27-24=3 Moving to Node #0,0,2 Current State: 12:[9, 3], Operations: ['82-73=9', '27-24=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 54, 84, 56, 21 ]
21
[ "56-54=2", "84/2=42", "42-21=21" ]
Current State: 21:[54, 84, 56, 21], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [84, 21, 2] Generated Node #2: [84, 21, 2] from Operation: 56-54=2 Current State: 21:[84, 21, 2], Operations: ['56-54=2'] Exploring Operation: 84/2=42, Resulting Numbers: [21, 42] Generated Node #3: [21, 42] from Operation: 84/2=42 Current State: 21:[21, 42], Operations: ['56-54=2', '84/2=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 84, 56, 21], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [84, 21, 2] Generated Node #0,0: 21:[84, 21, 2] Operation: 56-54=2 Exploring Operation: 84-56=28, Resulting Numbers: [54, 21, 28] Generated Node #0,1: 21:[54, 21, 28] Operation: 84-56=28 Exploring Operation: 84-54=30, Resulting Numbers: [56, 21, 30] Generated Node #0,2: 21:[56, 21, 30] Operation: 84-54=30 Exploring Operation: 84/21=4, Resulting Numbers: [54, 56, 4] Generated Node #0,3: 21:[54, 56, 4] Operation: 84/21=4 Exploring Operation: 54-21=33, Resulting Numbers: [84, 56, 33] Generated Node #0,4: 21:[84, 56, 33] Operation: 54-21=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[54, 21, 28], Operations: ['84-56=28'] Exploring Operation: 28-21=7, Resulting Numbers: [54, 7] Generated Node #0,1,0: 21:[54, 7] Operation: 28-21=7 Exploring Operation: 54+28=82, Resulting Numbers: [21, 82] Generated Node #0,1,1: 21:[21, 82] Operation: 54+28=82 Exploring Operation: 54+21=75, Resulting Numbers: [28, 75] Generated Node #0,1,2: 21:[28, 75] Operation: 54+21=75 Exploring Operation: 54-21=33, Resulting Numbers: [28, 33] Generated Node #0,1,3: 21:[28, 33] Operation: 54-21=33 Exploring Operation: 54-28=26, Resulting Numbers: [21, 26] Generated Node #0,1,4: 21:[21, 26] Operation: 54-28=26 Moving to Node #0,1,4 Current State: 21:[21, 26], Operations: ['84-56=28', '54-28=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[28, 33], Operations: ['84-56=28', '54-21=33'] Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,21 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[54, 7], Operations: ['84-56=28', '28-21=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[21, 82], Operations: ['84-56=28', '54+28=82'] Exploring Operation: 21*82=1722, Resulting Numbers: [1722] 1722,21 unequal: No Solution Exploring Operation: 21+82=103, Resulting Numbers: [103] 103,21 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[28, 75], Operations: ['84-56=28', '54+21=75'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,21 unequal: No Solution Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[56, 21, 30], Operations: ['84-54=30'] Exploring Operation: 56-21=35, Resulting Numbers: [30, 35] Generated Node #0,2,0: 21:[30, 35] Operation: 56-21=35 Exploring Operation: 56+30=86, Resulting Numbers: [21, 86] Generated Node #0,2,1: 21:[21, 86] Operation: 56+30=86 Exploring Operation: 56-30=26, Resulting Numbers: [21, 26] Generated Node #0,2,2: 21:[21, 26] Operation: 56-30=26 Exploring Operation: 30-21=9, Resulting Numbers: [56, 9] Generated Node #0,2,3: 21:[56, 9] Operation: 30-21=9 Exploring Operation: 56+21=77, Resulting Numbers: [30, 77] Generated Node #0,2,4: 21:[30, 77] Operation: 56+21=77 Moving to Node #0,2,2 Current State: 21:[21, 26], Operations: ['84-54=30', '56-30=26'] Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,21 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[30, 35], Operations: ['84-54=30', '56-21=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,21 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[56, 9], Operations: ['84-54=30', '30-21=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,21 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[21, 86], Operations: ['84-54=30', '56+30=86'] Exploring Operation: 21*86=1806, Resulting Numbers: [1806] 1806,21 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,21 unequal: No Solution Exploring Operation: 21+86=107, Resulting Numbers: [107] 107,21 unequal: No Solution Moving to Node #0,2,4 Current State: 21:[30, 77], Operations: ['84-54=30', '56+21=77'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,21 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,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 Current State: 21:[84, 21, 2], Operations: ['56-54=2'] Exploring Operation: 84/21=4, Resulting Numbers: [2, 4] Generated Node #0,0,0: 21:[2, 4] Operation: 84/21=4 Exploring Operation: 84/2=42, Resulting Numbers: [21, 42] Generated Node #0,0,1: 21:[21, 42] Operation: 84/2=42 Exploring Operation: 84+2=86, Resulting Numbers: [21, 86] Generated Node #0,0,2: 21:[21, 86] Operation: 84+2=86 Exploring Operation: 84-2=82, Resulting Numbers: [21, 82] Generated Node #0,0,3: 21:[21, 82] Operation: 84-2=82 Exploring Operation: 84-21=63, Resulting Numbers: [2, 63] Generated Node #0,0,4: 21:[2, 63] Operation: 84-21=63 Moving to Node #0,0,0 Current State: 21:[2, 4], Operations: ['56-54=2', '84/21=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[21, 42], Operations: ['56-54=2', '84/2=42'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[54, 84, 56, 21], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [84, 21, 2] Generated Node #0,0: 21:[84, 21, 2] Operation: 56-54=2 Moving to Node #0,0 Current State: 21:[84, 21, 2], Operations: ['56-54=2'] Exploring Operation: 84/2=42, Resulting Numbers: [21, 42] Generated Node #0,0,1: 21:[21, 42] Operation: 84/2=42 Moving to Node #0,0,1 Current State: 21:[21, 42], Operations: ['56-54=2', '84/2=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.947917
hs_5
sum_heuristic
[ 80, 74, 51, 73 ]
77
[ "80+73=153", "153/51=3", "74+3=77" ]
Current State: 77:[80, 74, 51, 73], Operations: [] Exploring Operation: 80+73=153, Resulting Numbers: [74, 51, 153] Generated Node #2: [74, 51, 153] from Operation: 80+73=153 Current State: 77:[74, 51, 153], Operations: ['80+73=153'] Exploring Operation: 153/51=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 153/51=3 Current State: 77:[74, 3], Operations: ['80+73=153', '153/51=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[80, 74, 51, 73], Operations: [] Exploring Operation: 73-51=22, Resulting Numbers: [80, 74, 22] Generated Node #0,0: 77:[80, 74, 22] Operation: 73-51=22 Exploring Operation: 74-51=23, Resulting Numbers: [80, 73, 23] Generated Node #0,1: 77:[80, 73, 23] Operation: 74-51=23 Moving to Node #0,0 Current State: 77:[80, 74, 22], Operations: ['73-51=22'] Exploring Operation: 80-74=6, Resulting Numbers: [22, 6] Generated Node #0,0,0: 77:[22, 6] Operation: 80-74=6 Exploring Operation: 80-22=58, Resulting Numbers: [74, 58] Generated Node #0,0,1: 77:[74, 58] Operation: 80-22=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[22, 6], Operations: ['73-51=22', '80-74=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[74, 58], Operations: ['73-51=22', '80-22=58'] Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,77 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: 77:[80, 73, 23], Operations: ['74-51=23'] Exploring Operation: 73+23=96, Resulting Numbers: [80, 96] Generated Node #0,1,0: 77:[80, 96] Operation: 73+23=96 Exploring Operation: 80-73=7, Resulting Numbers: [23, 7] Generated Node #0,1,1: 77:[23, 7] Operation: 80-73=7 Moving to Node #0,1,1 Current State: 77:[23, 7], Operations: ['74-51=23', '80-73=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[80, 96], Operations: ['74-51=23', '73+23=96'] Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 53, 48, 56, 84 ]
20
[ "56-53=3", "84/3=28", "48-28=20" ]
Current State: 20:[53, 48, 56, 84], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [48, 84, 3] Generated Node #2: [48, 84, 3] from Operation: 56-53=3 Current State: 20:[48, 84, 3], Operations: ['56-53=3'] Exploring Operation: 84/3=28, Resulting Numbers: [48, 28] Generated Node #3: [48, 28] from Operation: 84/3=28 Current State: 20:[48, 28], Operations: ['56-53=3', '84/3=28'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[53, 48, 56, 84], Operations: [] Exploring Operation: 84-48=36, Resulting Numbers: [53, 56, 36] Generated Node #0,0: 20:[53, 56, 36] Operation: 84-48=36 Exploring Operation: 56-53=3, Resulting Numbers: [48, 84, 3] Generated Node #0,1: 20:[48, 84, 3] Operation: 56-53=3 Exploring Operation: 56-48=8, Resulting Numbers: [53, 84, 8] Generated Node #0,2: 20:[53, 84, 8] Operation: 56-48=8 Exploring Operation: 84-53=31, Resulting Numbers: [48, 56, 31] Generated Node #0,3: 20:[48, 56, 31] Operation: 84-53=31 Exploring Operation: 84-56=28, Resulting Numbers: [53, 48, 28] Generated Node #0,4: 20:[53, 48, 28] Operation: 84-56=28 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[53, 48, 28], Operations: ['84-56=28'] Exploring Operation: 48-28=20, Resulting Numbers: [53, 20] Generated Node #0,4,0: 20:[53, 20] Operation: 48-28=20 Exploring Operation: 53-28=25, Resulting Numbers: [48, 25] Generated Node #0,4,1: 20:[48, 25] Operation: 53-28=25 Exploring Operation: 53+28=81, Resulting Numbers: [48, 81] Generated Node #0,4,2: 20:[48, 81] Operation: 53+28=81 Exploring Operation: 53+48=101, Resulting Numbers: [28, 101] Generated Node #0,4,3: 20:[28, 101] Operation: 53+48=101 Exploring Operation: 53-48=5, Resulting Numbers: [28, 5] Generated Node #0,4,4: 20:[28, 5] Operation: 53-48=5 Moving to Node #0,4,4 Current State: 20:[28, 5], Operations: ['84-56=28', '53-48=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,20 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[48, 25], Operations: ['84-56=28', '53-28=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,20 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,20 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[53, 20], Operations: ['84-56=28', '48-28=20'] Exploring Operation: 53*20=1060, Resulting Numbers: [1060] 1060,20 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[48, 81], Operations: ['84-56=28', '53+28=81'] Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,20 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,20 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[28, 101], Operations: ['84-56=28', '53+48=101'] Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,20 unequal: No Solution Exploring Operation: 28*101=2828, Resulting Numbers: [2828] 2828,20 unequal: No Solution Exploring Operation: 28+101=129, Resulting Numbers: [129] 129,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[48, 56, 31], Operations: ['84-53=31'] Exploring Operation: 48-31=17, Resulting Numbers: [56, 17] Generated Node #0,3,0: 20:[56, 17] Operation: 48-31=17 Exploring Operation: 56-48=8, Resulting Numbers: [31, 8] Generated Node #0,3,1: 20:[31, 8] Operation: 56-48=8 Exploring Operation: 48+56=104, Resulting Numbers: [31, 104] Generated Node #0,3,2: 20:[31, 104] Operation: 48+56=104 Exploring Operation: 48+31=79, Resulting Numbers: [56, 79] Generated Node #0,3,3: 20:[56, 79] Operation: 48+31=79 Exploring Operation: 56-31=25, Resulting Numbers: [48, 25] Generated Node #0,3,4: 20:[48, 25] Operation: 56-31=25 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[31, 8], Operations: ['84-53=31', '56-48=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,20 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,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:[48, 25], Operations: ['84-53=31', '56-31=25'] Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,20 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,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:[56, 17], Operations: ['84-53=31', '48-31=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,20 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,20 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[31, 104], Operations: ['84-53=31', '48+56=104'] Exploring Operation: 31+104=135, Resulting Numbers: [135] 135,20 unequal: No Solution Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,20 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,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:[56, 79], Operations: ['84-53=31', '48+31=79'] Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,20 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,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:[53, 56, 36], Operations: ['84-48=36'] Exploring Operation: 53+36=89, Resulting Numbers: [56, 89] Generated Node #0,0,0: 20:[56, 89] Operation: 53+36=89 Exploring Operation: 56-36=20, Resulting Numbers: [53, 20] Generated Node #0,0,1: 20:[53, 20] Operation: 56-36=20 Exploring Operation: 56-53=3, Resulting Numbers: [36, 3] Generated Node #0,0,2: 20:[36, 3] Operation: 56-53=3 Exploring Operation: 53+56=109, Resulting Numbers: [36, 109] Generated Node #0,0,3: 20:[36, 109] Operation: 53+56=109 Exploring Operation: 53-36=17, Resulting Numbers: [56, 17] Generated Node #0,0,4: 20:[56, 17] Operation: 53-36=17 Moving to Node #0,0,2 Current State: 20:[36, 3], Operations: ['84-48=36', '56-53=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[53, 20], Operations: ['84-48=36', '56-36=20'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 53*20=1060, Resulting Numbers: [1060] 1060,20 unequal: No Solution Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[56, 17], Operations: ['84-48=36', '53-36=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,20 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[56, 89], Operations: ['84-48=36', '53+36=89'] Exploring Operation: 56*89=4984, Resulting Numbers: [4984] 4984,20 unequal: No Solution Exploring Operation: 56+89=145, Resulting Numbers: [145] 145,20 unequal: No Solution Exploring Operation: 89-56=33, Resulting Numbers: [33] 33,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[36, 109], Operations: ['84-48=36', '53+56=109'] Exploring Operation: 36+109=145, Resulting Numbers: [145] 145,20 unequal: No Solution Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,20 unequal: No Solution Exploring Operation: 36*109=3924, Resulting Numbers: [3924] 3924,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:[48, 84, 3], Operations: ['56-53=3'] Exploring Operation: 84-48=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 20:[3, 36] Operation: 84-48=36 Exploring Operation: 84-3=81, Resulting Numbers: [48, 81] Generated Node #0,1,1: 20:[48, 81] Operation: 84-3=81 Exploring Operation: 84/3=28, Resulting Numbers: [48, 28] Generated Node #0,1,2: 20:[48, 28] Operation: 84/3=28 Exploring Operation: 48/3=16, Resulting Numbers: [84, 16] Generated Node #0,1,3: 20:[84, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [84, 45] Generated Node #0,1,4: 20:[84, 45] Operation: 48-3=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[3, 36], Operations: ['56-53=3', '84-48=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,20 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,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:[48, 28], Operations: ['56-53=3', '84/3=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 48*28=1344, Resulting Numbers: [1344] 1344,20 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[53, 48, 56, 84], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [48, 84, 3] Generated Node #0,1: 20:[48, 84, 3] Operation: 56-53=3 Moving to Node #0,1 Current State: 20:[48, 84, 3], Operations: ['56-53=3'] Exploring Operation: 84/3=28, Resulting Numbers: [48, 28] Generated Node #0,1,2: 20:[48, 28] Operation: 84/3=28 Moving to Node #0,1,2 Current State: 20:[48, 28], Operations: ['56-53=3', '84/3=28'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.928819
hs_5
mult_heuristic
[ 87, 64, 3, 5 ]
38
[ "87-64=23", "3*5=15", "23+15=38" ]
Current State: 38:[87, 64, 3, 5], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [3, 5, 23] Generated Node #2: [3, 5, 23] from Operation: 87-64=23 Current State: 38:[3, 5, 23], Operations: ['87-64=23'] Exploring Operation: 3*5=15, Resulting Numbers: [23, 15] Generated Node #3: [23, 15] from Operation: 3*5=15 Current State: 38:[23, 15], Operations: ['87-64=23', '3*5=15'] Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[87, 64, 3, 5], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [3, 5, 23] Generated Node #0,0: 38:[3, 5, 23] Operation: 87-64=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[3, 5, 23], Operations: ['87-64=23'] Exploring Operation: 23-5=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 38:[3, 18] Operation: 23-5=18 Moving to Node #0,0,0 Current State: 38:[3, 18], Operations: ['87-64=23', '23-5=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,38 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
[ 40, 16, 21, 95 ]
50
[ "40-16=24", "95-21=74", "74-24=50" ]
Current State: 50:[40, 16, 21, 95], Operations: [] Exploring Operation: 40-16=24, Resulting Numbers: [21, 95, 24] Generated Node #2: [21, 95, 24] from Operation: 40-16=24 Current State: 50:[21, 95, 24], Operations: ['40-16=24'] Exploring Operation: 95-21=74, Resulting Numbers: [24, 74] Generated Node #3: [24, 74] from Operation: 95-21=74 Current State: 50:[24, 74], Operations: ['40-16=24', '95-21=74'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[40, 16, 21, 95], Operations: [] Exploring Operation: 95-21=74, Resulting Numbers: [40, 16, 74] Generated Node #0,0: 50:[40, 16, 74] Operation: 95-21=74 Exploring Operation: 95-16=79, Resulting Numbers: [40, 21, 79] Generated Node #0,1: 50:[40, 21, 79] Operation: 95-16=79 Exploring Operation: 95-40=55, Resulting Numbers: [16, 21, 55] Generated Node #0,2: 50:[16, 21, 55] Operation: 95-40=55 Exploring Operation: 40-16=24, Resulting Numbers: [21, 95, 24] Generated Node #0,3: 50:[21, 95, 24] Operation: 40-16=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[16, 21, 55], Operations: ['95-40=55'] Exploring Operation: 55-21=34, Resulting Numbers: [16, 34] Generated Node #0,2,0: 50:[16, 34] Operation: 55-21=34 Exploring Operation: 16+21=37, Resulting Numbers: [55, 37] Generated Node #0,2,1: 50:[55, 37] Operation: 16+21=37 Exploring Operation: 55-16=39, Resulting Numbers: [21, 39] Generated Node #0,2,2: 50:[21, 39] Operation: 55-16=39 Exploring Operation: 21-16=5, Resulting Numbers: [55, 5] Generated Node #0,2,3: 50:[55, 5] Operation: 21-16=5 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 50:[55, 5], Operations: ['95-40=55', '21-16=5'] Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,50 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[40, 16, 21, 95], Operations: [] Exploring Operation: 95-40=55, Resulting Numbers: [16, 21, 55] Generated Node #0,2: 50:[16, 21, 55] Operation: 95-40=55 Moving to Node #0,2 Current State: 50:[16, 21, 55], Operations: ['95-40=55'] Exploring Operation: 21-16=5, Resulting Numbers: [55, 5] Generated Node #0,2,3: 50:[55, 5] Operation: 21-16=5 Moving to Node #0,2,3 Current State: 50:[55, 5], Operations: ['95-40=55', '21-16=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 76, 84, 29, 78 ]
26
[ "78-76=2", "29*2=58", "84-58=26" ]
Current State: 26:[76, 84, 29, 78], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [84, 29, 2] Generated Node #2: [84, 29, 2] from Operation: 78-76=2 Current State: 26:[84, 29, 2], Operations: ['78-76=2'] Exploring Operation: 29*2=58, Resulting Numbers: [84, 58] Generated Node #3: [84, 58] from Operation: 29*2=58 Current State: 26:[84, 58], Operations: ['78-76=2', '29*2=58'] Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[76, 84, 29, 78], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [29, 78, 8] Generated Node #0,0: 26:[29, 78, 8] Operation: 84-76=8 Exploring Operation: 78-76=2, Resulting Numbers: [84, 29, 2] Generated Node #0,1: 26:[84, 29, 2] Operation: 78-76=2 Exploring Operation: 84-78=6, Resulting Numbers: [76, 29, 6] Generated Node #0,2: 26:[76, 29, 6] Operation: 84-78=6 Moving to Node #0,2 Current State: 26:[76, 29, 6], Operations: ['84-78=6'] Exploring Operation: 29-6=23, Resulting Numbers: [76, 23] Generated Node #0,2,0: 26:[76, 23] Operation: 29-6=23 Exploring Operation: 76-29=47, Resulting Numbers: [6, 47] Generated Node #0,2,1: 26:[6, 47] Operation: 76-29=47 Exploring Operation: 76-6=70, Resulting Numbers: [29, 70] Generated Node #0,2,2: 26:[29, 70] Operation: 76-6=70 Moving to Node #0,0 Current State: 26:[29, 78, 8], Operations: ['84-76=8'] Exploring Operation: 78-8=70, Resulting Numbers: [29, 70] Generated Node #0,0,0: 26:[29, 70] Operation: 78-8=70 Exploring Operation: 29-8=21, Resulting Numbers: [78, 21] Generated Node #0,0,1: 26:[78, 21] Operation: 29-8=21 Exploring Operation: 78-29=49, Resulting Numbers: [8, 49] Generated Node #0,0,2: 26:[8, 49] Operation: 78-29=49 Moving to Node #0,1 Current State: 26:[84, 29, 2], Operations: ['78-76=2'] Exploring Operation: 84-29=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 26:[2, 55] Operation: 84-29=55 Exploring Operation: 84-2=82, Resulting Numbers: [29, 82] Generated Node #0,1,1: 26:[29, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [29, 42] Generated Node #0,1,2: 26:[29, 42] Operation: 84/2=42 Moving to Node #0,1,2 Current State: 26:[29, 42], Operations: ['78-76=2', '84/2=42'] Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,26 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,26 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[6, 47], Operations: ['84-78=6', '76-29=47'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[8, 49], Operations: ['84-76=8', '78-29=49'] Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[2, 55], Operations: ['78-76=2', '84-29=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,26 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,26 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[29, 70], Operations: ['84-76=8', '78-8=70'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 29*70=2030, Resulting Numbers: [2030] 2030,26 unequal: No Solution Exploring Operation: 29+70=99, Resulting Numbers: [99] 99,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[29, 70], Operations: ['84-78=6', '76-6=70'] Exploring Operation: 29+70=99, Resulting Numbers: [99] 99,26 unequal: No Solution Exploring Operation: 29*70=2030, Resulting Numbers: [2030] 2030,26 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[76, 23], Operations: ['84-78=6', '29-6=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,26 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,26 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[78, 21], Operations: ['84-76=8', '29-8=21'] Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,26 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,26 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[29, 82], Operations: ['78-76=2', '84-2=82'] Exploring Operation: 29+82=111, Resulting Numbers: [111] 111,26 unequal: No Solution Exploring Operation: 29*82=2378, Resulting Numbers: [2378] 2378,26 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,26 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 84, 58, 80, 78 ]
100
[ "80-78=2", "84/2=42", "58+42=100" ]
Current State: 100:[84, 58, 80, 78], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [84, 58, 2] Generated Node #2: [84, 58, 2] from Operation: 80-78=2 Current State: 100:[84, 58, 2], Operations: ['80-78=2'] Exploring Operation: 84/2=42, Resulting Numbers: [58, 42] Generated Node #3: [58, 42] from Operation: 84/2=42 Current State: 100:[58, 42], Operations: ['80-78=2', '84/2=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[84, 58, 80, 78], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [84, 58, 2] Generated Node #0,0: 100:[84, 58, 2] Operation: 80-78=2 Exploring Operation: 84-80=4, Resulting Numbers: [58, 78, 4] Generated Node #0,1: 100:[58, 78, 4] Operation: 84-80=4 Exploring Operation: 84-78=6, Resulting Numbers: [58, 80, 6] Generated Node #0,2: 100:[58, 80, 6] Operation: 84-78=6 Exploring Operation: 78-58=20, Resulting Numbers: [84, 80, 20] Generated Node #0,3: 100:[84, 80, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[84, 58, 2], Operations: ['80-78=2'] Exploring Operation: 58/2=29, Resulting Numbers: [84, 29] Generated Node #0,0,0: 100:[84, 29] Operation: 58/2=29 Exploring Operation: 84/2=42, Resulting Numbers: [58, 42] Generated Node #0,0,1: 100:[58, 42] Operation: 84/2=42 Exploring Operation: 84-58=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 100:[2, 26] Operation: 84-58=26 Exploring Operation: 84+2=86, Resulting Numbers: [58, 86] Generated Node #0,0,3: 100:[58, 86] Operation: 84+2=86 Moving to Node #0,0,2 Current State: 100:[2, 26], Operations: ['80-78=2', '84-58=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,100 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,100 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[58, 42], Operations: ['80-78=2', '84/2=42'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[84, 58, 80, 78], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [84, 58, 2] Generated Node #0,0: 100:[84, 58, 2] Operation: 80-78=2 Moving to Node #0,0 Current State: 100:[84, 58, 2], Operations: ['80-78=2'] Exploring Operation: 84/2=42, Resulting Numbers: [58, 42] Generated Node #0,0,1: 100:[58, 42] Operation: 84/2=42 Moving to Node #0,0,1 Current State: 100:[58, 42], Operations: ['80-78=2', '84/2=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 63, 12, 41, 49 ]
82
[ "63-12=51", "51-49=2", "41*2=82" ]
Current State: 82:[63, 12, 41, 49], Operations: [] Exploring Operation: 63-12=51, Resulting Numbers: [41, 49, 51] Generated Node #2: [41, 49, 51] from Operation: 63-12=51 Current State: 82:[41, 49, 51], Operations: ['63-12=51'] Exploring Operation: 51-49=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 51-49=2 Current State: 82:[41, 2], Operations: ['63-12=51', '51-49=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[63, 12, 41, 49], Operations: [] Exploring Operation: 63+12=75, Resulting Numbers: [41, 49, 75] Generated Node #0,0: 82:[41, 49, 75] Operation: 63+12=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[41, 49, 75], Operations: ['63+12=75'] Exploring Operation: 49-41=8, Resulting Numbers: [75, 8] Generated Node #0,0,0: 82:[75, 8] Operation: 49-41=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[75, 8], Operations: ['63+12=75', '49-41=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,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_1
sum_heuristic
[ 74, 90, 59, 72 ]
29
[ "90-74=16", "72-59=13", "16+13=29" ]
Current State: 29:[74, 90, 59, 72], Operations: [] Exploring Operation: 90-74=16, Resulting Numbers: [59, 72, 16] Generated Node #2: [59, 72, 16] from Operation: 90-74=16 Current State: 29:[59, 72, 16], Operations: ['90-74=16'] Exploring Operation: 72-59=13, Resulting Numbers: [16, 13] Generated Node #3: [16, 13] from Operation: 72-59=13 Current State: 29:[16, 13], Operations: ['90-74=16', '72-59=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[74, 90, 59, 72], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [74, 72, 31] Generated Node #0,0: 29:[74, 72, 31] Operation: 90-59=31 Exploring Operation: 90-72=18, Resulting Numbers: [74, 59, 18] Generated Node #0,1: 29:[74, 59, 18] Operation: 90-72=18 Exploring Operation: 90-74=16, Resulting Numbers: [59, 72, 16] Generated Node #0,2: 29:[59, 72, 16] Operation: 90-74=16 Moving to Node #0,1 Current State: 29:[74, 59, 18], Operations: ['90-72=18'] Exploring Operation: 74-18=56, Resulting Numbers: [59, 56] Generated Node #0,1,0: 29:[59, 56] Operation: 74-18=56 Exploring Operation: 59-18=41, Resulting Numbers: [74, 41] Generated Node #0,1,1: 29:[74, 41] Operation: 59-18=41 Exploring Operation: 74-59=15, Resulting Numbers: [18, 15] Generated Node #0,1,2: 29:[18, 15] Operation: 74-59=15 Moving to Node #0,2 Current State: 29:[59, 72, 16], Operations: ['90-74=16'] Exploring Operation: 72-59=13, Resulting Numbers: [16, 13] Generated Node #0,2,0: 29:[16, 13] Operation: 72-59=13 Exploring Operation: 59-16=43, Resulting Numbers: [72, 43] Generated Node #0,2,1: 29:[72, 43] Operation: 59-16=43 Exploring Operation: 72-16=56, Resulting Numbers: [59, 56] Generated Node #0,2,2: 29:[59, 56] Operation: 72-16=56 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[16, 13], Operations: ['90-74=16', '72-59=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[74, 90, 59, 72], Operations: [] Exploring Operation: 90-74=16, Resulting Numbers: [59, 72, 16] Generated Node #0,2: 29:[59, 72, 16] Operation: 90-74=16 Moving to Node #0,2 Current State: 29:[59, 72, 16], Operations: ['90-74=16'] Exploring Operation: 72-59=13, Resulting Numbers: [16, 13] Generated Node #0,2,0: 29:[16, 13] Operation: 72-59=13 Moving to Node #0,2,0 Current State: 29:[16, 13], Operations: ['90-74=16', '72-59=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic