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
[ 66, 29, 13, 22 ]
11
[ "29-13=16", "22-16=6", "66/6=11" ]
Current State: 11:[66, 29, 13, 22], Operations: [] Exploring Operation: 29-13=16, Resulting Numbers: [66, 22, 16] Generated Node #2: [66, 22, 16] from Operation: 29-13=16 Current State: 11:[66, 22, 16], Operations: ['29-13=16'] Exploring Operation: 22-16=6, Resulting Numbers: [66, 6] Generated Node #3: [66, 6] from Operation: 22-16=6 Current State: 11:[66, 6], Operations: ['29-13=16', '22-16=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[66, 29, 13, 22], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [29, 13, 3] Generated Node #0,0: 11:[29, 13, 3] Operation: 66/22=3 Exploring Operation: 66-22=44, Resulting Numbers: [29, 13, 44] Generated Node #0,1: 11:[29, 13, 44] Operation: 66-22=44 Exploring Operation: 29-22=7, Resulting Numbers: [66, 13, 7] Generated Node #0,2: 11:[66, 13, 7] Operation: 29-22=7 Exploring Operation: 66-29=37, Resulting Numbers: [13, 22, 37] Generated Node #0,3: 11:[13, 22, 37] Operation: 66-29=37 Exploring Operation: 66-13=53, Resulting Numbers: [29, 22, 53] Generated Node #0,4: 11:[29, 22, 53] Operation: 66-13=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[29, 13, 3], Operations: ['66/22=3'] Exploring Operation: 13+3=16, Resulting Numbers: [29, 16] Generated Node #0,0,0: 11:[29, 16] Operation: 13+3=16 Exploring Operation: 29-3=26, Resulting Numbers: [13, 26] Generated Node #0,0,1: 11:[13, 26] Operation: 29-3=26 Exploring Operation: 29-13=16, Resulting Numbers: [3, 16] Generated Node #0,0,2: 11:[3, 16] Operation: 29-13=16 Exploring Operation: 13-3=10, Resulting Numbers: [29, 10] Generated Node #0,0,3: 11:[29, 10] Operation: 13-3=10 Exploring Operation: 29+3=32, Resulting Numbers: [13, 32] Generated Node #0,0,4: 11:[13, 32] Operation: 29+3=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 11:[3, 16], Operations: ['66/22=3', '29-13=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,11 unequal: No Solution No 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: 11:[13, 26], Operations: ['66/22=3', '29-3=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,11 unequal: No Solution No 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: 11:[29, 10], Operations: ['66/22=3', '13-3=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,11 unequal: No Solution Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,11 unequal: No Solution No 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: 11:[29, 16], Operations: ['66/22=3', '13+3=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,11 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,11 unequal: No Solution No 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: 11:[13, 32], Operations: ['66/22=3', '29+3=32'] Exploring Operation: 13+32=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 13*32=416, Resulting Numbers: [416] 416,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[13, 22, 37], Operations: ['66-29=37'] Exploring Operation: 37-13=24, Resulting Numbers: [22, 24] Generated Node #0,3,0: 11:[22, 24] Operation: 37-13=24 Exploring Operation: 22-13=9, Resulting Numbers: [37, 9] Generated Node #0,3,1: 11:[37, 9] Operation: 22-13=9 Exploring Operation: 37-22=15, Resulting Numbers: [13, 15] Generated Node #0,3,2: 11:[13, 15] Operation: 37-22=15 Exploring Operation: 13+22=35, Resulting Numbers: [37, 35] Generated Node #0,3,3: 11:[37, 35] Operation: 13+22=35 Exploring Operation: 13+37=50, Resulting Numbers: [22, 50] Generated Node #0,3,4: 11:[22, 50] Operation: 13+37=50 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 11:[13, 15], Operations: ['66-29=37', '37-22=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,11 unequal: No Solution No 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: 11:[22, 24], Operations: ['66-29=37', '37-13=24'] Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,11 unequal: No Solution No 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: 11:[37, 9], Operations: ['66-29=37', '22-13=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,11 unequal: No Solution No 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: 11:[37, 35], Operations: ['66-29=37', '13+22=35'] Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,11 unequal: No Solution No 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: 11:[22, 50], Operations: ['66-29=37', '13+37=50'] Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,11 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[29, 13, 44], Operations: ['66-22=44'] Exploring Operation: 44-13=31, Resulting Numbers: [29, 31] Generated Node #0,1,0: 11:[29, 31] Operation: 44-13=31 Exploring Operation: 29+44=73, Resulting Numbers: [13, 73] Generated Node #0,1,1: 11:[13, 73] Operation: 29+44=73 Exploring Operation: 29+13=42, Resulting Numbers: [44, 42] Generated Node #0,1,2: 11:[44, 42] Operation: 29+13=42 Exploring Operation: 29-13=16, Resulting Numbers: [44, 16] Generated Node #0,1,3: 11:[44, 16] Operation: 29-13=16 Exploring Operation: 44-29=15, Resulting Numbers: [13, 15] Generated Node #0,1,4: 11:[13, 15] Operation: 44-29=15 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 11:[13, 15], Operations: ['66-22=44', '44-29=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,11 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,11 unequal: No Solution No 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: 11:[29, 31], Operations: ['66-22=44', '44-13=31'] Exploring Operation: 29*31=899, Resulting Numbers: [899] 899,11 unequal: No Solution Exploring Operation: 29+31=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,11 unequal: No Solution No 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: 11:[44, 16], Operations: ['66-22=44', '29-13=16'] Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,11 unequal: No Solution Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,11 unequal: No Solution No 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: 11:[13, 73], Operations: ['66-22=44', '29+44=73'] Exploring Operation: 13*73=949, Resulting Numbers: [949] 949,11 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 13+73=86, Resulting Numbers: [86] 86,11 unequal: No Solution No 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: 11:[44, 42], Operations: ['66-22=44', '29+13=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,11 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[66, 13, 7], Operations: ['29-22=7'] Exploring Operation: 13+7=20, Resulting Numbers: [66, 20] Generated Node #0,2,0: 11:[66, 20] Operation: 13+7=20 Exploring Operation: 13-7=6, Resulting Numbers: [66, 6] Generated Node #0,2,1: 11:[66, 6] Operation: 13-7=6 Exploring Operation: 66-7=59, Resulting Numbers: [13, 59] Generated Node #0,2,2: 11:[13, 59] Operation: 66-7=59 Exploring Operation: 66-13=53, Resulting Numbers: [7, 53] Generated Node #0,2,3: 11:[7, 53] Operation: 66-13=53 Exploring Operation: 66+7=73, Resulting Numbers: [13, 73] Generated Node #0,2,4: 11:[13, 73] Operation: 66+7=73 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 11:[7, 53], Operations: ['29-22=7', '66-13=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,11 unequal: No Solution Exploring Operation: 7*53=371, Resulting Numbers: [371] 371,11 unequal: No Solution No 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: 11:[13, 59], Operations: ['29-22=7', '66-7=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,11 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,11 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,11 unequal: No Solution No 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: 11:[66, 6], Operations: ['29-22=7', '13-7=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,11 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[66, 29, 13, 22], Operations: [] Exploring Operation: 29-22=7, Resulting Numbers: [66, 13, 7] Generated Node #0,2: 11:[66, 13, 7] Operation: 29-22=7 Moving to Node #0,2 Current State: 11:[66, 13, 7], Operations: ['29-22=7'] Exploring Operation: 13-7=6, Resulting Numbers: [66, 6] Generated Node #0,2,1: 11:[66, 6] Operation: 13-7=6 Moving to Node #0,2,1 Current State: 11:[66, 6], Operations: ['29-22=7', '13-7=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.927951
hs_5
mult_heuristic
[ 15, 36, 5, 81 ]
69
[ "15/5=3", "36/3=12", "81-12=69" ]
Current State: 69:[15, 36, 5, 81], Operations: [] Exploring Operation: 15/5=3, Resulting Numbers: [36, 81, 3] Generated Node #2: [36, 81, 3] from Operation: 15/5=3 Current State: 69:[36, 81, 3], Operations: ['15/5=3'] Exploring Operation: 36/3=12, Resulting Numbers: [81, 12] Generated Node #3: [81, 12] from Operation: 36/3=12 Current State: 69:[81, 12], Operations: ['15/5=3', '36/3=12'] Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[15, 36, 5, 81], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [5, 81, 21] Generated Node #0,0: 69:[5, 81, 21] Operation: 36-15=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[5, 81, 21], Operations: ['36-15=21'] Exploring Operation: 81-5=76, Resulting Numbers: [21, 76] Generated Node #0,0,0: 69:[21, 76] Operation: 81-5=76 Moving to Node #0,0,0 Current State: 69:[21, 76], Operations: ['36-15=21', '81-5=76'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 8, 69, 68, 41 ]
48
[ "69-8=61", "68+41=109", "109-61=48" ]
Current State: 48:[8, 69, 68, 41], Operations: [] Exploring Operation: 69-8=61, Resulting Numbers: [68, 41, 61] Generated Node #2: [68, 41, 61] from Operation: 69-8=61 Current State: 48:[68, 41, 61], Operations: ['69-8=61'] Exploring Operation: 68+41=109, Resulting Numbers: [61, 109] Generated Node #3: [61, 109] from Operation: 68+41=109 Current State: 48:[61, 109], Operations: ['69-8=61', '68+41=109'] Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[8, 69, 68, 41], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [8, 41, 1] Generated Node #0,0: 48:[8, 41, 1] Operation: 69-68=1 Exploring Operation: 69-41=28, Resulting Numbers: [8, 68, 28] Generated Node #0,1: 48:[8, 68, 28] Operation: 69-41=28 Moving to Node #0,0 Current State: 48:[8, 41, 1], Operations: ['69-68=1'] Exploring Operation: 8+41=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 48:[1, 49] Operation: 8+41=49 Exploring Operation: 41+1=42, Resulting Numbers: [8, 42] Generated Node #0,0,1: 48:[8, 42] Operation: 41+1=42 Moving to Node #0,1 Current State: 48:[8, 68, 28], Operations: ['69-41=28'] Exploring Operation: 68-8=60, Resulting Numbers: [28, 60] Generated Node #0,1,0: 48:[28, 60] Operation: 68-8=60 Exploring Operation: 68-28=40, Resulting Numbers: [8, 40] Generated Node #0,1,1: 48:[8, 40] Operation: 68-28=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[8, 40], Operations: ['69-41=28', '68-28=40'] Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[8, 69, 68, 41], Operations: [] Exploring Operation: 69-41=28, Resulting Numbers: [8, 68, 28] Generated Node #0,1: 48:[8, 68, 28] Operation: 69-41=28 Moving to Node #0,1 Current State: 48:[8, 68, 28], Operations: ['69-41=28'] Exploring Operation: 68-28=40, Resulting Numbers: [8, 40] Generated Node #0,1,1: 48:[8, 40] Operation: 68-28=40 Moving to Node #0,1,1 Current State: 48:[8, 40], Operations: ['69-41=28', '68-28=40'] Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 48, 23, 66, 9 ]
93
[ "48+66=114", "23*9=207", "207-114=93" ]
Current State: 93:[48, 23, 66, 9], Operations: [] Exploring Operation: 48+66=114, Resulting Numbers: [23, 9, 114] Generated Node #2: [23, 9, 114] from Operation: 48+66=114 Current State: 93:[23, 9, 114], Operations: ['48+66=114'] Exploring Operation: 23*9=207, Resulting Numbers: [114, 207] Generated Node #3: [114, 207] from Operation: 23*9=207 Current State: 93:[114, 207], Operations: ['48+66=114', '23*9=207'] Exploring Operation: 207-114=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[48, 23, 66, 9], Operations: [] Exploring Operation: 66-23=43, Resulting Numbers: [48, 9, 43] Generated Node #0,0: 93:[48, 9, 43] Operation: 66-23=43 Exploring Operation: 48+66=114, Resulting Numbers: [23, 9, 114] Generated Node #0,1: 93:[23, 9, 114] Operation: 48+66=114 Exploring Operation: 23+66=89, Resulting Numbers: [48, 9, 89] Generated Node #0,2: 93:[48, 9, 89] Operation: 23+66=89 Exploring Operation: 66-48=18, Resulting Numbers: [23, 9, 18] Generated Node #0,3: 93:[23, 9, 18] Operation: 66-48=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[48, 9, 89], Operations: ['23+66=89'] Exploring Operation: 48+9=57, Resulting Numbers: [89, 57] Generated Node #0,2,0: 93:[89, 57] Operation: 48+9=57 Exploring Operation: 89-48=41, Resulting Numbers: [9, 41] Generated Node #0,2,1: 93:[9, 41] Operation: 89-48=41 Exploring Operation: 48-9=39, Resulting Numbers: [89, 39] Generated Node #0,2,2: 93:[89, 39] Operation: 48-9=39 Exploring Operation: 9+89=98, Resulting Numbers: [48, 98] Generated Node #0,2,3: 93:[48, 98] Operation: 9+89=98 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[89, 39], Operations: ['23+66=89', '48-9=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,93 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[9, 41], Operations: ['23+66=89', '89-48=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,93 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[48, 98], Operations: ['23+66=89', '9+89=98'] Exploring Operation: 48+98=146, Resulting Numbers: [146] 146,93 unequal: No Solution Exploring Operation: 98-48=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 48*98=4704, Resulting Numbers: [4704] 4704,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[89, 57], Operations: ['23+66=89', '48+9=57'] Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,93 unequal: No Solution Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,93 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[23, 9, 18], Operations: ['66-48=18'] Exploring Operation: 23+9=32, Resulting Numbers: [18, 32] Generated Node #0,3,0: 93:[18, 32] Operation: 23+9=32 Exploring Operation: 18/9=2, Resulting Numbers: [23, 2] Generated Node #0,3,1: 93:[23, 2] Operation: 18/9=2 Exploring Operation: 23-18=5, Resulting Numbers: [9, 5] Generated Node #0,3,2: 93:[9, 5] Operation: 23-18=5 Exploring Operation: 9+18=27, Resulting Numbers: [23, 27] Generated Node #0,3,3: 93:[23, 27] Operation: 9+18=27 Moving to Node #0,3,2 Current State: 93:[9, 5], Operations: ['66-48=18', '23-18=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[23, 2], Operations: ['66-48=18', '18/9=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[23, 27], Operations: ['66-48=18', '9+18=27'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,93 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[18, 32], Operations: ['66-48=18', '23+9=32'] Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[48, 9, 43], Operations: ['66-23=43'] Exploring Operation: 48+43=91, Resulting Numbers: [9, 91] Generated Node #0,0,0: 93:[9, 91] Operation: 48+43=91 Exploring Operation: 48-9=39, Resulting Numbers: [43, 39] Generated Node #0,0,1: 93:[43, 39] Operation: 48-9=39 Exploring Operation: 48-43=5, Resulting Numbers: [9, 5] Generated Node #0,0,2: 93:[9, 5] Operation: 48-43=5 Exploring Operation: 43-9=34, Resulting Numbers: [48, 34] Generated Node #0,0,3: 93:[48, 34] Operation: 43-9=34 Moving to Node #0,0,0 Current State: 93:[9, 91], Operations: ['66-23=43', '48+43=91'] Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,93 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[9, 5], Operations: ['66-23=43', '48-43=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,93 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[48, 34], Operations: ['66-23=43', '43-9=34'] Exploring Operation: 48+34=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 48*34=1632, Resulting Numbers: [1632] 1632,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[43, 39], Operations: ['66-23=43', '48-9=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,93 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[23, 9, 114], Operations: ['48+66=114'] Exploring Operation: 114-9=105, Resulting Numbers: [23, 105] Generated Node #0,1,0: 93:[23, 105] Operation: 114-9=105 Exploring Operation: 114-23=91, Resulting Numbers: [9, 91] Generated Node #0,1,1: 93:[9, 91] Operation: 114-23=91 Exploring Operation: 23-9=14, Resulting Numbers: [114, 14] Generated Node #0,1,2: 93:[114, 14] Operation: 23-9=14 Exploring Operation: 23+9=32, Resulting Numbers: [114, 32] Generated Node #0,1,3: 93:[114, 32] Operation: 23+9=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[9, 91], Operations: ['48+66=114', '114-23=91'] Exploring Operation: 9*91=819, Resulting Numbers: [819] 819,93 unequal: No Solution Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 9+91=100, Resulting Numbers: [100] 100,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[23, 105], Operations: ['48+66=114', '114-9=105'] Exploring Operation: 23*105=2415, Resulting Numbers: [2415] 2415,93 unequal: No Solution Exploring Operation: 23+105=128, Resulting Numbers: [128] 128,93 unequal: No Solution Exploring Operation: 105-23=82, Resulting Numbers: [82] 82,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[114, 32], Operations: ['48+66=114', '23+9=32'] Exploring Operation: 114-32=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 114*32=3648, Resulting Numbers: [3648] 3648,93 unequal: No Solution Exploring Operation: 114+32=146, Resulting Numbers: [146] 146,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[114, 14], Operations: ['48+66=114', '23-9=14'] Exploring Operation: 114*14=1596, Resulting Numbers: [1596] 1596,93 unequal: No Solution Exploring Operation: 114+14=128, Resulting Numbers: [128] 128,93 unequal: No Solution Exploring Operation: 114-14=100, Resulting Numbers: [100] 100,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 5, 2, 8 ]
77
[ "3+8=11", "5+2=7", "11*7=77" ]
Current State: 77:[3, 5, 2, 8], Operations: [] Exploring Operation: 3+8=11, Resulting Numbers: [5, 2, 11] Generated Node #2: [5, 2, 11] from Operation: 3+8=11 Current State: 77:[5, 2, 11], Operations: ['3+8=11'] Exploring Operation: 5+2=7, Resulting Numbers: [11, 7] Generated Node #3: [11, 7] from Operation: 5+2=7 Current State: 77:[11, 7], Operations: ['3+8=11', '5+2=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[3, 5, 2, 8], Operations: [] Exploring Operation: 5*2=10, Resulting Numbers: [3, 8, 10] Generated Node #0,0: 77:[3, 8, 10] Operation: 5*2=10 Exploring Operation: 5+2=7, Resulting Numbers: [3, 8, 7] Generated Node #0,1: 77:[3, 8, 7] Operation: 5+2=7 Exploring Operation: 3*2=6, Resulting Numbers: [5, 8, 6] Generated Node #0,2: 77:[5, 8, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [5, 8, 5] Generated Node #0,3: 77:[5, 8, 5] Operation: 3+2=5 Moving to Node #0,2 Current State: 77:[5, 8, 6], Operations: ['3*2=6'] Exploring Operation: 5+6=11, Resulting Numbers: [8, 11] Generated Node #0,2,0: 77:[8, 11] Operation: 5+6=11 Exploring Operation: 5+8=13, Resulting Numbers: [6, 13] Generated Node #0,2,1: 77:[6, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [6, 3] Generated Node #0,2,2: 77:[6, 3] Operation: 8-5=3 Exploring Operation: 8+6=14, Resulting Numbers: [5, 14] Generated Node #0,2,3: 77:[5, 14] Operation: 8+6=14 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[8, 11], Operations: ['3*2=6', '5+6=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[6, 13], Operations: ['3*2=6', '5+8=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,77 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[6, 3], Operations: ['3*2=6', '8-5=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[5, 14], Operations: ['3*2=6', '8+6=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 77:[5, 8, 5], Operations: ['3+2=5'] Exploring Operation: 5+8=13, Resulting Numbers: [5, 13] Generated Node #0,3,0: 77:[5, 13] Operation: 5+8=13 Exploring Operation: 8+5=13, Resulting Numbers: [5, 13] Generated Node #0,3,1: 77:[5, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [5, 3] Generated Node #0,3,2: 77:[5, 3] Operation: 8-5=3 Exploring Operation: 5+5=10, Resulting Numbers: [8, 10] Generated Node #0,3,3: 77:[8, 10] Operation: 5+5=10 Moving to Node #0,1 Current State: 77:[3, 8, 7], Operations: ['5+2=7'] Exploring Operation: 3+7=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 77:[8, 10] Operation: 3+7=10 Exploring Operation: 7-3=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 77:[8, 4] Operation: 7-3=4 Exploring Operation: 3+8=11, Resulting Numbers: [7, 11] Generated Node #0,1,2: 77:[7, 11] Operation: 3+8=11 Exploring Operation: 8-3=5, Resulting Numbers: [7, 5] Generated Node #0,1,3: 77:[7, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[7, 11], Operations: ['5+2=7', '3+8=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[3, 5, 2, 8], Operations: [] Exploring Operation: 5+2=7, Resulting Numbers: [3, 8, 7] Generated Node #0,1: 77:[3, 8, 7] Operation: 5+2=7 Moving to Node #0,1 Current State: 77:[3, 8, 7], Operations: ['5+2=7'] Exploring Operation: 3+8=11, Resulting Numbers: [7, 11] Generated Node #0,1,2: 77:[7, 11] Operation: 3+8=11 Moving to Node #0,1,2 Current State: 77:[7, 11], Operations: ['5+2=7', '3+8=11'] Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 20, 47, 12, 55 ]
16
[ "47-20=27", "55-12=43", "43-27=16" ]
Current State: 16:[20, 47, 12, 55], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [12, 55, 27] Generated Node #2: [12, 55, 27] from Operation: 47-20=27 Current State: 16:[12, 55, 27], Operations: ['47-20=27'] Exploring Operation: 55-12=43, Resulting Numbers: [27, 43] Generated Node #3: [27, 43] from Operation: 55-12=43 Current State: 16:[27, 43], Operations: ['47-20=27', '55-12=43'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[20, 47, 12, 55], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [12, 55, 27] Generated Node #0,0: 16:[12, 55, 27] Operation: 47-20=27 Exploring Operation: 55-47=8, Resulting Numbers: [20, 12, 8] Generated Node #0,1: 16:[20, 12, 8] Operation: 55-47=8 Exploring Operation: 55-20=35, Resulting Numbers: [47, 12, 35] Generated Node #0,2: 16:[47, 12, 35] Operation: 55-20=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[20, 12, 8], Operations: ['55-47=8'] Exploring Operation: 12-8=4, Resulting Numbers: [20, 4] Generated Node #0,1,0: 16:[20, 4] Operation: 12-8=4 Exploring Operation: 20-12=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 16:[8, 8] Operation: 20-12=8 Exploring Operation: 20-8=12, Resulting Numbers: [12, 12] Generated Node #0,1,2: 16:[12, 12] Operation: 20-8=12 Moving to Node #0,1,1 Current State: 16:[8, 8], Operations: ['55-47=8', '20-12=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[20, 47, 12, 55], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [20, 12, 8] Generated Node #0,1: 16:[20, 12, 8] Operation: 55-47=8 Moving to Node #0,1 Current State: 16:[20, 12, 8], Operations: ['55-47=8'] Exploring Operation: 20-12=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 16:[8, 8] Operation: 20-12=8 Moving to Node #0,1,1 Current State: 16:[8, 8], Operations: ['55-47=8', '20-12=8'] Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 95, 68, 72, 67 ]
32
[ "95-68=27", "72-67=5", "27+5=32" ]
Current State: 32:[95, 68, 72, 67], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [72, 67, 27] Generated Node #2: [72, 67, 27] from Operation: 95-68=27 Current State: 32:[72, 67, 27], Operations: ['95-68=27'] Exploring Operation: 72-67=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 72-67=5 Current State: 32:[27, 5], Operations: ['95-68=27', '72-67=5'] Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[95, 68, 72, 67], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [95, 67, 4] Generated Node #0,0: 32:[95, 67, 4] Operation: 72-68=4 Exploring Operation: 95-68=27, Resulting Numbers: [72, 67, 27] Generated Node #0,1: 32:[72, 67, 27] Operation: 95-68=27 Exploring Operation: 95-67=28, Resulting Numbers: [68, 72, 28] Generated Node #0,2: 32:[68, 72, 28] Operation: 95-67=28 Exploring Operation: 72-67=5, Resulting Numbers: [95, 68, 5] Generated Node #0,3: 32:[95, 68, 5] Operation: 72-67=5 Exploring Operation: 95-72=23, Resulting Numbers: [68, 67, 23] Generated Node #0,4: 32:[68, 67, 23] Operation: 95-72=23 Moving to Node #0,4 Current State: 32:[68, 67, 23], Operations: ['95-72=23'] Exploring Operation: 68-67=1, Resulting Numbers: [23, 1] Generated Node #0,4,0: 32:[23, 1] Operation: 68-67=1 Exploring Operation: 67-23=44, Resulting Numbers: [68, 44] Generated Node #0,4,1: 32:[68, 44] Operation: 67-23=44 Exploring Operation: 67+23=90, Resulting Numbers: [68, 90] Generated Node #0,4,2: 32:[68, 90] Operation: 67+23=90 Exploring Operation: 68-23=45, Resulting Numbers: [67, 45] Generated Node #0,4,3: 32:[67, 45] Operation: 68-23=45 Exploring Operation: 68+23=91, Resulting Numbers: [67, 91] Generated Node #0,4,4: 32:[67, 91] Operation: 68+23=91 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[23, 1], Operations: ['95-72=23', '68-67=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[68, 44], Operations: ['95-72=23', '67-23=44'] Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,32 unequal: No Solution Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[67, 45], Operations: ['95-72=23', '68-23=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,32 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,32 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[68, 90], Operations: ['95-72=23', '67+23=90'] Exploring Operation: 68*90=6120, Resulting Numbers: [6120] 6120,32 unequal: No Solution Exploring Operation: 68+90=158, Resulting Numbers: [158] 158,32 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[67, 91], Operations: ['95-72=23', '68+23=91'] Exploring Operation: 91-67=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 67*91=6097, Resulting Numbers: [6097] 6097,32 unequal: No Solution Exploring Operation: 67+91=158, Resulting Numbers: [158] 158,32 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: 32:[68, 72, 28], Operations: ['95-67=28'] Exploring Operation: 72-68=4, Resulting Numbers: [28, 4] Generated Node #0,2,0: 32:[28, 4] Operation: 72-68=4 Exploring Operation: 68-28=40, Resulting Numbers: [72, 40] Generated Node #0,2,1: 32:[72, 40] Operation: 68-28=40 Exploring Operation: 72-28=44, Resulting Numbers: [68, 44] Generated Node #0,2,2: 32:[68, 44] Operation: 72-28=44 Exploring Operation: 68+28=96, Resulting Numbers: [72, 96] Generated Node #0,2,3: 32:[72, 96] Operation: 68+28=96 Exploring Operation: 72+28=100, Resulting Numbers: [68, 100] Generated Node #0,2,4: 32:[68, 100] Operation: 72+28=100 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[28, 4], Operations: ['95-67=28', '72-68=4'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,32 unequal: No Solution Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[95, 68, 72, 67], Operations: [] Exploring Operation: 95-67=28, Resulting Numbers: [68, 72, 28] Generated Node #0,2: 32:[68, 72, 28] Operation: 95-67=28 Moving to Node #0,2 Current State: 32:[68, 72, 28], Operations: ['95-67=28'] Exploring Operation: 72-68=4, Resulting Numbers: [28, 4] Generated Node #0,2,0: 32:[28, 4] Operation: 72-68=4 Moving to Node #0,2,0 Current State: 32:[28, 4], Operations: ['95-67=28', '72-68=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 81, 64, 55, 80 ]
42
[ "81-64=17", "80-55=25", "17+25=42" ]
Current State: 42:[81, 64, 55, 80], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [55, 80, 17] Generated Node #2: [55, 80, 17] from Operation: 81-64=17 Current State: 42:[55, 80, 17], Operations: ['81-64=17'] Exploring Operation: 80-55=25, Resulting Numbers: [17, 25] Generated Node #3: [17, 25] from Operation: 80-55=25 Current State: 42:[17, 25], Operations: ['81-64=17', '80-55=25'] Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[81, 64, 55, 80], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [64, 55, 1] Generated Node #0,0: 42:[64, 55, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 42:[64, 55, 1], Operations: ['81-80=1'] Exploring Operation: 64-55=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 42:[1, 9] Operation: 64-55=9 Moving to Node #0,0,0 Current State: 42:[1, 9], Operations: ['81-80=1', '64-55=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 48, 4, 48 ]
75
[ "84/4=21", "48+48=96", "96-21=75" ]
Current State: 75:[84, 48, 4, 48], Operations: [] Exploring Operation: 84/4=21, Resulting Numbers: [48, 48, 21] Generated Node #2: [48, 48, 21] from Operation: 84/4=21 Current State: 75:[48, 48, 21], Operations: ['84/4=21'] Exploring Operation: 48+48=96, Resulting Numbers: [21, 96] Generated Node #3: [21, 96] from Operation: 48+48=96 Current State: 75:[21, 96], Operations: ['84/4=21', '48+48=96'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[84, 48, 4, 48], Operations: [] Exploring Operation: 48/48=1, Resulting Numbers: [84, 4, 1] Generated Node #0,0: 75:[84, 4, 1] Operation: 48/48=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[84, 4, 1], Operations: ['48/48=1'] Exploring Operation: 84/4=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 75:[1, 21] Operation: 84/4=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[1, 21], Operations: ['48/48=1', '84/4=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,75 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
[ 50, 12, 57, 77 ]
72
[ "50+12=62", "57+77=134", "134-62=72" ]
Current State: 72:[50, 12, 57, 77], Operations: [] Exploring Operation: 50+12=62, Resulting Numbers: [57, 77, 62] Generated Node #2: [57, 77, 62] from Operation: 50+12=62 Current State: 72:[57, 77, 62], Operations: ['50+12=62'] Exploring Operation: 57+77=134, Resulting Numbers: [62, 134] Generated Node #3: [62, 134] from Operation: 57+77=134 Current State: 72:[62, 134], Operations: ['50+12=62', '57+77=134'] Exploring Operation: 134-62=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[50, 12, 57, 77], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [12, 77, 7] Generated Node #0,0: 72:[12, 77, 7] Operation: 57-50=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[12, 77, 7], Operations: ['57-50=7'] Exploring Operation: 77/7=11, Resulting Numbers: [12, 11] Generated Node #0,0,0: 72:[12, 11] Operation: 77/7=11 Moving to Node #0,0,0 Current State: 72:[12, 11], Operations: ['57-50=7', '77/7=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,72 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
[ 4, 68, 13, 94 ]
98
[ "68/4=17", "94-13=81", "17+81=98" ]
Current State: 98:[4, 68, 13, 94], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [13, 94, 17] Generated Node #2: [13, 94, 17] from Operation: 68/4=17 Current State: 98:[13, 94, 17], Operations: ['68/4=17'] Exploring Operation: 94-13=81, Resulting Numbers: [17, 81] Generated Node #3: [17, 81] from Operation: 94-13=81 Current State: 98:[17, 81], Operations: ['68/4=17', '94-13=81'] Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[4, 68, 13, 94], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [13, 94, 64] Generated Node #0,0: 98:[13, 94, 64] Operation: 68-4=64 Exploring Operation: 94-68=26, Resulting Numbers: [4, 13, 26] Generated Node #0,1: 98:[4, 13, 26] Operation: 94-68=26 Exploring Operation: 68/4=17, Resulting Numbers: [13, 94, 17] Generated Node #0,2: 98:[13, 94, 17] Operation: 68/4=17 Exploring Operation: 68-13=55, Resulting Numbers: [4, 94, 55] Generated Node #0,3: 98:[4, 94, 55] Operation: 68-13=55 Moving to Node #0,2 Current State: 98:[13, 94, 17], Operations: ['68/4=17'] Exploring Operation: 17-13=4, Resulting Numbers: [94, 4] Generated Node #0,2,0: 98:[94, 4] Operation: 17-13=4 Exploring Operation: 94+17=111, Resulting Numbers: [13, 111] Generated Node #0,2,1: 98:[13, 111] Operation: 94+17=111 Exploring Operation: 13+94=107, Resulting Numbers: [17, 107] Generated Node #0,2,2: 98:[17, 107] Operation: 13+94=107 Exploring Operation: 94-13=81, Resulting Numbers: [17, 81] Generated Node #0,2,3: 98:[17, 81] Operation: 94-13=81 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[94, 4], Operations: ['68/4=17', '17-13=4'] Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,98 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,98 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[4, 68, 13, 94], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [13, 94, 17] Generated Node #0,2: 98:[13, 94, 17] Operation: 68/4=17 Moving to Node #0,2 Current State: 98:[13, 94, 17], Operations: ['68/4=17'] Exploring Operation: 17-13=4, Resulting Numbers: [94, 4] Generated Node #0,2,0: 98:[94, 4] Operation: 17-13=4 Moving to Node #0,2,0 Current State: 98:[94, 4], Operations: ['68/4=17', '17-13=4'] Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 45, 97, 21, 86 ]
77
[ "45+97=142", "86-21=65", "142-65=77" ]
Current State: 77:[45, 97, 21, 86], Operations: [] Exploring Operation: 45+97=142, Resulting Numbers: [21, 86, 142] Generated Node #2: [21, 86, 142] from Operation: 45+97=142 Current State: 77:[21, 86, 142], Operations: ['45+97=142'] Exploring Operation: 86-21=65, Resulting Numbers: [142, 65] Generated Node #3: [142, 65] from Operation: 86-21=65 Current State: 77:[142, 65], Operations: ['45+97=142', '86-21=65'] Exploring Operation: 142-65=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[45, 97, 21, 86], Operations: [] Exploring Operation: 45+21=66, Resulting Numbers: [97, 86, 66] Generated Node #0,0: 77:[97, 86, 66] Operation: 45+21=66 Moving to Node #0,0 Current State: 77:[97, 86, 66], Operations: ['45+21=66'] Exploring Operation: 97-86=11, Resulting Numbers: [66, 11] Generated Node #0,0,0: 77:[66, 11] Operation: 97-86=11 Moving to Node #0,0,0 Current State: 77:[66, 11], Operations: ['45+21=66', '97-86=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[45, 97, 21, 86], Operations: [] Exploring Operation: 45+21=66, Resulting Numbers: [97, 86, 66] Generated Node #0,0: 77:[97, 86, 66] Operation: 45+21=66 Moving to Node #0,0 Current State: 77:[97, 86, 66], Operations: ['45+21=66'] Exploring Operation: 97-86=11, Resulting Numbers: [66, 11] Generated Node #0,0,0: 77:[66, 11] Operation: 97-86=11 Moving to Node #0,0,0 Current State: 77:[66, 11], Operations: ['45+21=66', '97-86=11'] Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 30, 8, 46, 2 ]
66
[ "30-8=22", "46-2=44", "22+44=66" ]
Current State: 66:[30, 8, 46, 2], Operations: [] Exploring Operation: 30-8=22, Resulting Numbers: [46, 2, 22] Generated Node #2: [46, 2, 22] from Operation: 30-8=22 Current State: 66:[46, 2, 22], Operations: ['30-8=22'] Exploring Operation: 46-2=44, Resulting Numbers: [22, 44] Generated Node #3: [22, 44] from Operation: 46-2=44 Current State: 66:[22, 44], Operations: ['30-8=22', '46-2=44'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[30, 8, 46, 2], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [30, 8, 23] Generated Node #0,0: 66:[30, 8, 23] Operation: 46/2=23 Exploring Operation: 46-30=16, Resulting Numbers: [8, 2, 16] Generated Node #0,1: 66:[8, 2, 16] Operation: 46-30=16 Moving to Node #0,0 Current State: 66:[30, 8, 23], Operations: ['46/2=23'] Exploring Operation: 30-8=22, Resulting Numbers: [23, 22] Generated Node #0,0,0: 66:[23, 22] Operation: 30-8=22 Exploring Operation: 30-23=7, Resulting Numbers: [8, 7] Generated Node #0,0,1: 66:[8, 7] Operation: 30-23=7 Moving to Node #0,1 Current State: 66:[8, 2, 16], Operations: ['46-30=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 66:[2, 2] Operation: 16/8=2 Exploring Operation: 8+16=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 66:[2, 24] Operation: 8+16=24 Moving to Node #0,1,0 Current State: 66:[2, 2], Operations: ['46-30=16', '16/8=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[23, 22], Operations: ['46/2=23', '30-8=22'] Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,66 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[2, 24], Operations: ['46-30=16', '8+16=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[8, 7], Operations: ['46/2=23', '30-23=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 44, 20, 63, 41 ]
22
[ "63-20=43", "43-41=2", "44/2=22" ]
Current State: 22:[44, 20, 63, 41], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [44, 41, 43] Generated Node #2: [44, 41, 43] from Operation: 63-20=43 Current State: 22:[44, 41, 43], Operations: ['63-20=43'] Exploring Operation: 43-41=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 43-41=2 Current State: 22:[44, 2], Operations: ['63-20=43', '43-41=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[44, 20, 63, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [44, 20, 22] Generated Node #0,0: 22:[44, 20, 22] Operation: 63-41=22 Exploring Operation: 63-44=19, Resulting Numbers: [20, 41, 19] Generated Node #0,1: 22:[20, 41, 19] Operation: 63-44=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[44, 20, 22], Operations: ['63-41=22'] Exploring Operation: 44-22=22, Resulting Numbers: [20, 22] Generated Node #0,0,0: 22:[20, 22] Operation: 44-22=22 Exploring Operation: 44-20=24, Resulting Numbers: [22, 24] Generated Node #0,0,1: 22:[22, 24] Operation: 44-20=24 Moving to Node #0,0,0 Current State: 22:[20, 22], Operations: ['63-41=22', '44-22=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[22, 24], Operations: ['63-41=22', '44-20=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,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,1 Current State: 22:[20, 41, 19], Operations: ['63-44=19'] Exploring Operation: 41-20=21, Resulting Numbers: [19, 21] Generated Node #0,1,0: 22:[19, 21] Operation: 41-20=21 Exploring Operation: 41-19=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 22:[20, 22] Operation: 41-19=22 Moving to Node #0,1,1 Current State: 22:[20, 22], Operations: ['63-44=19', '41-19=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[19, 21], Operations: ['63-44=19', '41-20=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,22 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
[ 41, 37, 3, 69 ]
49
[ "41+37=78", "69+78=147", "147/3=49" ]
Current State: 49:[41, 37, 3, 69], Operations: [] Exploring Operation: 41+37=78, Resulting Numbers: [3, 69, 78] Generated Node #2: [3, 69, 78] from Operation: 41+37=78 Current State: 49:[3, 69, 78], Operations: ['41+37=78'] Exploring Operation: 69+78=147, Resulting Numbers: [3, 147] Generated Node #3: [3, 147] from Operation: 69+78=147 Current State: 49:[3, 147], Operations: ['41+37=78', '69+78=147'] Exploring Operation: 147/3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[41, 37, 3, 69], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [41, 37, 23] Generated Node #0,0: 49:[41, 37, 23] Operation: 69/3=23 Exploring Operation: 69-37=32, Resulting Numbers: [41, 3, 32] Generated Node #0,1: 49:[41, 3, 32] Operation: 69-37=32 Exploring Operation: 41-37=4, Resulting Numbers: [3, 69, 4] Generated Node #0,2: 49:[3, 69, 4] Operation: 41-37=4 Exploring Operation: 41+3=44, Resulting Numbers: [37, 69, 44] Generated Node #0,3: 49:[37, 69, 44] Operation: 41+3=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[3, 69, 4], Operations: ['41-37=4'] Exploring Operation: 3+4=7, Resulting Numbers: [69, 7] Generated Node #0,2,0: 49:[69, 7] Operation: 3+4=7 Exploring Operation: 69-3=66, Resulting Numbers: [4, 66] Generated Node #0,2,1: 49:[4, 66] Operation: 69-3=66 Exploring Operation: 69-4=65, Resulting Numbers: [3, 65] Generated Node #0,2,2: 49:[3, 65] Operation: 69-4=65 Exploring Operation: 69/3=23, Resulting Numbers: [4, 23] Generated Node #0,2,3: 49:[4, 23] Operation: 69/3=23 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[4, 23], Operations: ['41-37=4', '69/3=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,49 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,49 unequal: No Solution No 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: 49:[69, 7], Operations: ['41-37=4', '3+4=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,49 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,49 unequal: No Solution No 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: 49:[4, 66], Operations: ['41-37=4', '69-3=66'] Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,49 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,49 unequal: No Solution No 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: 49:[3, 65], Operations: ['41-37=4', '69-4=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,49 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: 49:[41, 3, 32], Operations: ['69-37=32'] Exploring Operation: 3+32=35, Resulting Numbers: [41, 35] Generated Node #0,1,0: 49:[41, 35] Operation: 3+32=35 Exploring Operation: 41+3=44, Resulting Numbers: [32, 44] Generated Node #0,1,1: 49:[32, 44] Operation: 41+3=44 Exploring Operation: 41-32=9, Resulting Numbers: [3, 9] Generated Node #0,1,2: 49:[3, 9] Operation: 41-32=9 Exploring Operation: 41-3=38, Resulting Numbers: [32, 38] Generated Node #0,1,3: 49:[32, 38] Operation: 41-3=38 Moving to Node #0,1,2 Current State: 49:[3, 9], Operations: ['69-37=32', '41-32=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[32, 44], Operations: ['69-37=32', '41+3=44'] Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[41, 35], Operations: ['69-37=32', '3+32=35'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,49 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,49 unequal: No Solution Moving to Node #0,1,3 Current State: 49:[32, 38], Operations: ['69-37=32', '41-3=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,49 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,49 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[41, 37, 23], Operations: ['69/3=23'] Exploring Operation: 37-23=14, Resulting Numbers: [41, 14] Generated Node #0,0,0: 49:[41, 14] Operation: 37-23=14 Exploring Operation: 41-23=18, Resulting Numbers: [37, 18] Generated Node #0,0,1: 49:[37, 18] Operation: 41-23=18 Exploring Operation: 41-37=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 49:[23, 4] Operation: 41-37=4 Exploring Operation: 37+23=60, Resulting Numbers: [41, 60] Generated Node #0,0,3: 49:[41, 60] Operation: 37+23=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[41, 14], Operations: ['69/3=23', '37-23=14'] Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,49 unequal: No Solution No 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: 49:[23, 4], Operations: ['69/3=23', '41-37=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,49 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,49 unequal: No Solution No 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: 49:[41, 60], Operations: ['69/3=23', '37+23=60'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,49 unequal: No Solution Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,49 unequal: No Solution No 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: 49:[37, 18], Operations: ['69/3=23', '41-23=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,49 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,49 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,49 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: 49:[37, 69, 44], Operations: ['41+3=44'] Exploring Operation: 37+44=81, Resulting Numbers: [69, 81] Generated Node #0,3,0: 49:[69, 81] Operation: 37+44=81 Exploring Operation: 44-37=7, Resulting Numbers: [69, 7] Generated Node #0,3,1: 49:[69, 7] Operation: 44-37=7 Exploring Operation: 69-37=32, Resulting Numbers: [44, 32] Generated Node #0,3,2: 49:[44, 32] Operation: 69-37=32 Exploring Operation: 69-44=25, Resulting Numbers: [37, 25] Generated Node #0,3,3: 49:[37, 25] Operation: 69-44=25 Moving to Node #0,3,1 Current State: 49:[69, 7], Operations: ['41+3=44', '44-37=7'] Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,49 unequal: No Solution Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[44, 32], Operations: ['41+3=44', '69-37=32'] Exploring Operation: 44+32=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 44*32=1408, Resulting Numbers: [1408] 1408,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[37, 25], Operations: ['41+3=44', '69-44=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,49 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[69, 81], Operations: ['41+3=44', '37+44=81'] Exploring Operation: 69+81=150, Resulting Numbers: [150] 150,49 unequal: No Solution Exploring Operation: 69*81=5589, Resulting Numbers: [5589] 5589,49 unequal: No Solution Exploring Operation: 81-69=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 93, 3, 44, 6 ]
67
[ "93-44=49", "3*6=18", "49+18=67" ]
Current State: 67:[93, 3, 44, 6], Operations: [] Exploring Operation: 93-44=49, Resulting Numbers: [3, 6, 49] Generated Node #2: [3, 6, 49] from Operation: 93-44=49 Current State: 67:[3, 6, 49], Operations: ['93-44=49'] Exploring Operation: 3*6=18, Resulting Numbers: [49, 18] Generated Node #3: [49, 18] from Operation: 3*6=18 Current State: 67:[49, 18], Operations: ['93-44=49', '3*6=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[93, 3, 44, 6], Operations: [] Exploring Operation: 3*6=18, Resulting Numbers: [93, 44, 18] Generated Node #0,0: 67:[93, 44, 18] Operation: 3*6=18 Exploring Operation: 93-3=90, Resulting Numbers: [44, 6, 90] Generated Node #0,1: 67:[44, 6, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[93, 44, 18], Operations: ['3*6=18'] Exploring Operation: 44+18=62, Resulting Numbers: [93, 62] Generated Node #0,0,0: 67:[93, 62] Operation: 44+18=62 Exploring Operation: 93-18=75, Resulting Numbers: [44, 75] Generated Node #0,0,1: 67:[44, 75] Operation: 93-18=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[93, 62], Operations: ['3*6=18', '44+18=62'] Exploring Operation: 93-62=31, Resulting Numbers: [31] 31,67 unequal: No Solution Exploring Operation: 93+62=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,0,1 Current State: 67:[44, 75], Operations: ['3*6=18', '93-18=75'] Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,67 unequal: No Solution Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[44, 6, 90], Operations: ['93-3=90'] Exploring Operation: 90-6=84, Resulting Numbers: [44, 84] Generated Node #0,1,0: 67:[44, 84] Operation: 90-6=84 Exploring Operation: 44+6=50, Resulting Numbers: [90, 50] Generated Node #0,1,1: 67:[90, 50] Operation: 44+6=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[44, 84], Operations: ['93-3=90', '90-6=84'] Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,67 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,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,1,1 Current State: 67:[90, 50], Operations: ['93-3=90', '44+6=50'] Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,67 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,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_2
mult_heuristic
[ 24, 2, 90, 25 ]
43
[ "24-2=22", "90-25=65", "65-22=43" ]
Current State: 43:[24, 2, 90, 25], Operations: [] Exploring Operation: 24-2=22, Resulting Numbers: [90, 25, 22] Generated Node #2: [90, 25, 22] from Operation: 24-2=22 Current State: 43:[90, 25, 22], Operations: ['24-2=22'] Exploring Operation: 90-25=65, Resulting Numbers: [22, 65] Generated Node #3: [22, 65] from Operation: 90-25=65 Current State: 43:[22, 65], Operations: ['24-2=22', '90-25=65'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[24, 2, 90, 25], Operations: [] Exploring Operation: 90/2=45, Resulting Numbers: [24, 25, 45] Generated Node #0,0: 43:[24, 25, 45] Operation: 90/2=45 Moving to Node #0,0 Current State: 43:[24, 25, 45], Operations: ['90/2=45'] Exploring Operation: 24+25=49, Resulting Numbers: [45, 49] Generated Node #0,0,0: 43:[45, 49] Operation: 24+25=49 Moving to Node #0,0,0 Current State: 43:[45, 49], Operations: ['90/2=45', '24+25=49'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,43 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 93, 76, 15, 56 ]
24
[ "93-76=17", "56-15=41", "41-17=24" ]
Current State: 24:[93, 76, 15, 56], Operations: [] Exploring Operation: 93-76=17, Resulting Numbers: [15, 56, 17] Generated Node #2: [15, 56, 17] from Operation: 93-76=17 Current State: 24:[15, 56, 17], Operations: ['93-76=17'] Exploring Operation: 56-15=41, Resulting Numbers: [17, 41] Generated Node #3: [17, 41] from Operation: 56-15=41 Current State: 24:[17, 41], Operations: ['93-76=17', '56-15=41'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[93, 76, 15, 56], Operations: [] Exploring Operation: 93-15=78, Resulting Numbers: [76, 56, 78] Generated Node #0,0: 24:[76, 56, 78] Operation: 93-15=78 Exploring Operation: 76-15=61, Resulting Numbers: [93, 56, 61] Generated Node #0,1: 24:[93, 56, 61] Operation: 76-15=61 Exploring Operation: 76-56=20, Resulting Numbers: [93, 15, 20] Generated Node #0,2: 24:[93, 15, 20] Operation: 76-56=20 Exploring Operation: 93-56=37, Resulting Numbers: [76, 15, 37] Generated Node #0,3: 24:[76, 15, 37] Operation: 93-56=37 Exploring Operation: 93-76=17, Resulting Numbers: [15, 56, 17] Generated Node #0,4: 24:[15, 56, 17] Operation: 93-76=17 Moving to Node #0,4 Current State: 24:[15, 56, 17], Operations: ['93-76=17'] Exploring Operation: 15+17=32, Resulting Numbers: [56, 32] Generated Node #0,4,0: 24:[56, 32] Operation: 15+17=32 Exploring Operation: 56-15=41, Resulting Numbers: [17, 41] Generated Node #0,4,1: 24:[17, 41] Operation: 56-15=41 Exploring Operation: 15+56=71, Resulting Numbers: [17, 71] Generated Node #0,4,2: 24:[17, 71] Operation: 15+56=71 Exploring Operation: 17-15=2, Resulting Numbers: [56, 2] Generated Node #0,4,3: 24:[56, 2] Operation: 17-15=2 Exploring Operation: 56-17=39, Resulting Numbers: [15, 39] Generated Node #0,4,4: 24:[15, 39] Operation: 56-17=39 Moving to Node #0,3 Current State: 24:[76, 15, 37], Operations: ['93-56=37'] Exploring Operation: 15+37=52, Resulting Numbers: [76, 52] Generated Node #0,3,0: 24:[76, 52] Operation: 15+37=52 Exploring Operation: 37-15=22, Resulting Numbers: [76, 22] Generated Node #0,3,1: 24:[76, 22] Operation: 37-15=22 Exploring Operation: 76+15=91, Resulting Numbers: [37, 91] Generated Node #0,3,2: 24:[37, 91] Operation: 76+15=91 Exploring Operation: 76-15=61, Resulting Numbers: [37, 61] Generated Node #0,3,3: 24:[37, 61] Operation: 76-15=61 Exploring Operation: 76-37=39, Resulting Numbers: [15, 39] Generated Node #0,3,4: 24:[15, 39] Operation: 76-37=39 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 24:[15, 39], Operations: ['93-56=37', '76-37=39'] Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,24 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[93, 76, 15, 56], Operations: [] Exploring Operation: 93-56=37, Resulting Numbers: [76, 15, 37] Generated Node #0,3: 24:[76, 15, 37] Operation: 93-56=37 Moving to Node #0,3 Current State: 24:[76, 15, 37], Operations: ['93-56=37'] Exploring Operation: 76-37=39, Resulting Numbers: [15, 39] Generated Node #0,3,4: 24:[15, 39] Operation: 76-37=39 Moving to Node #0,3,4 Current State: 24:[15, 39], Operations: ['93-56=37', '76-37=39'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 3, 44, 61, 12 ]
53
[ "3*12=36", "61-44=17", "36+17=53" ]
Current State: 53:[3, 44, 61, 12], Operations: [] Exploring Operation: 3*12=36, Resulting Numbers: [44, 61, 36] Generated Node #2: [44, 61, 36] from Operation: 3*12=36 Current State: 53:[44, 61, 36], Operations: ['3*12=36'] Exploring Operation: 61-44=17, Resulting Numbers: [36, 17] Generated Node #3: [36, 17] from Operation: 61-44=17 Current State: 53:[36, 17], Operations: ['3*12=36', '61-44=17'] Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[3, 44, 61, 12], Operations: [] Exploring Operation: 3+44=47, Resulting Numbers: [61, 12, 47] Generated Node #0,0: 53:[61, 12, 47] Operation: 3+44=47 Exploring Operation: 3*12=36, Resulting Numbers: [44, 61, 36] Generated Node #0,1: 53:[44, 61, 36] Operation: 3*12=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[44, 61, 36], Operations: ['3*12=36'] Exploring Operation: 61-36=25, Resulting Numbers: [44, 25] Generated Node #0,1,0: 53:[44, 25] Operation: 61-36=25 Exploring Operation: 44+36=80, Resulting Numbers: [61, 80] Generated Node #0,1,1: 53:[61, 80] Operation: 44+36=80 Moving to Node #0,1,1 Current State: 53:[61, 80], Operations: ['3*12=36', '44+36=80'] Exploring Operation: 61+80=141, Resulting Numbers: [141] 141,53 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[44, 25], Operations: ['3*12=36', '61-36=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,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:[61, 12, 47], Operations: ['3+44=47'] Exploring Operation: 12+47=59, Resulting Numbers: [61, 59] Generated Node #0,0,0: 53:[61, 59] Operation: 12+47=59 Exploring Operation: 61-12=49, Resulting Numbers: [47, 49] Generated Node #0,0,1: 53:[47, 49] Operation: 61-12=49 Moving to Node #0,0,1 Current State: 53:[47, 49], Operations: ['3+44=47', '61-12=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[61, 59], Operations: ['3+44=47', '12+47=59'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,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
sum_heuristic
[ 78, 4, 10, 86 ]
32
[ "86-78=8", "4*10=40", "40-8=32" ]
Current State: 32:[78, 4, 10, 86], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [4, 10, 8] Generated Node #2: [4, 10, 8] from Operation: 86-78=8 Current State: 32:[4, 10, 8], Operations: ['86-78=8'] Exploring Operation: 4*10=40, Resulting Numbers: [8, 40] Generated Node #3: [8, 40] from Operation: 4*10=40 Current State: 32:[8, 40], Operations: ['86-78=8', '4*10=40'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[78, 4, 10, 86], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [4, 10, 8] Generated Node #0,0: 32:[4, 10, 8] Operation: 86-78=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[4, 10, 8], Operations: ['86-78=8'] Exploring Operation: 10-8=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 32:[4, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 32:[4, 2], Operations: ['86-78=8', '10-8=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 35, 28, 66 ]
77
[ "80+35=115", "66-28=38", "115-38=77" ]
Current State: 77:[80, 35, 28, 66], Operations: [] Exploring Operation: 80+35=115, Resulting Numbers: [28, 66, 115] Generated Node #2: [28, 66, 115] from Operation: 80+35=115 Current State: 77:[28, 66, 115], Operations: ['80+35=115'] Exploring Operation: 66-28=38, Resulting Numbers: [115, 38] Generated Node #3: [115, 38] from Operation: 66-28=38 Current State: 77:[115, 38], Operations: ['80+35=115', '66-28=38'] Exploring Operation: 115-38=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[80, 35, 28, 66], Operations: [] Exploring Operation: 35-28=7, Resulting Numbers: [80, 66, 7] Generated Node #0,0: 77:[80, 66, 7] Operation: 35-28=7 Exploring Operation: 35+28=63, Resulting Numbers: [80, 66, 63] Generated Node #0,1: 77:[80, 66, 63] Operation: 35+28=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[80, 66, 7], Operations: ['35-28=7'] Exploring Operation: 80-66=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 77:[7, 14] Operation: 80-66=14 Exploring Operation: 66+7=73, Resulting Numbers: [80, 73] Generated Node #0,0,1: 77:[80, 73] Operation: 66+7=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[7, 14], Operations: ['35-28=7', '80-66=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 77:[80, 73], Operations: ['35-28=7', '66+7=73'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 80+73=153, Resulting Numbers: [153] 153,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[80, 66, 63], Operations: ['35+28=63'] Exploring Operation: 66-63=3, Resulting Numbers: [80, 3] Generated Node #0,1,0: 77:[80, 3] Operation: 66-63=3 Exploring Operation: 80-66=14, Resulting Numbers: [63, 14] Generated Node #0,1,1: 77:[63, 14] Operation: 80-66=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[80, 3], Operations: ['35+28=63', '66-63=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[80, 35, 28, 66], Operations: [] Exploring Operation: 35+28=63, Resulting Numbers: [80, 66, 63] Generated Node #0,1: 77:[80, 66, 63] Operation: 35+28=63 Moving to Node #0,1 Current State: 77:[80, 66, 63], Operations: ['35+28=63'] Exploring Operation: 66-63=3, Resulting Numbers: [80, 3] Generated Node #0,1,0: 77:[80, 3] Operation: 66-63=3 Moving to Node #0,1,0 Current State: 77:[80, 3], Operations: ['35+28=63', '66-63=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 82, 78, 78, 42 ]
90
[ "82-78=4", "42*4=168", "168-78=90" ]
Current State: 90:[82, 78, 78, 42], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [42, 4] Generated Node #2: [42, 4] from Operation: 82-78=4 Current State: 90:[42, 4], Operations: ['82-78=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,90 equal: Goal Reached Exploring Operation: 168-78=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[82, 78, 78, 42], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [82, 42, 0] Generated Node #0,0: 90:[82, 42, 0] Operation: 78-78=0 Exploring Operation: 78/78=1, Resulting Numbers: [82, 42, 1] Generated Node #0,1: 90:[82, 42, 1] Operation: 78/78=1 Exploring Operation: 82-78=4, Resulting Numbers: [78, 42, 4] Generated Node #0,2: 90:[78, 42, 4] Operation: 82-78=4 Exploring Operation: 82-78=4, Resulting Numbers: [78, 42, 4] Generated Node #0,3: 90:[78, 42, 4] Operation: 82-78=4 Moving to Node #0,1 Current State: 90:[82, 42, 1], Operations: ['78/78=1'] Exploring Operation: 82*1=82, Resulting Numbers: [42, 82] Generated Node #0,1,0: 90:[42, 82] Operation: 82*1=82 Exploring Operation: 42+1=43, Resulting Numbers: [82, 43] Generated Node #0,1,1: 90:[82, 43] Operation: 42+1=43 Exploring Operation: 82+1=83, Resulting Numbers: [42, 83] Generated Node #0,1,2: 90:[42, 83] Operation: 82+1=83 Exploring Operation: 82-42=40, Resulting Numbers: [1, 40] Generated Node #0,1,3: 90:[1, 40] Operation: 82-42=40 Moving to Node #0,0 Current State: 90:[82, 42, 0], Operations: ['78-78=0'] Exploring Operation: 82-42=40, Resulting Numbers: [0, 40] Generated Node #0,0,0: 90:[0, 40] Operation: 82-42=40 Exploring Operation: 42*0=0, Resulting Numbers: [82, 0] Generated Node #0,0,1: 90:[82, 0] Operation: 42*0=0 Exploring Operation: 82+0=82, Resulting Numbers: [42, 82] Generated Node #0,0,2: 90:[42, 82] Operation: 82+0=82 Exploring Operation: 82*0=0, Resulting Numbers: [42, 0] Generated Node #0,0,3: 90:[42, 0] Operation: 82*0=0 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[42, 0], Operations: ['78-78=0', '82*0=0'] Exploring Operation: 42*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 42-0=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 42+0=42, Resulting Numbers: [42] 42,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[0, 40], Operations: ['78-78=0', '82-42=40'] Exploring Operation: 0*40=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 0+40=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 40-0=40, Resulting Numbers: [40] 40,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[82, 0], Operations: ['78-78=0', '42*0=0'] Exploring Operation: 82-0=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,90 unequal: No Solution Exploring Operation: 82*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[42, 82], Operations: ['78-78=0', '82+0=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,90 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,90 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: 90:[78, 42, 4], Operations: ['82-78=4'] Exploring Operation: 42+4=46, Resulting Numbers: [78, 46] Generated Node #0,3,0: 90:[78, 46] Operation: 42+4=46 Exploring Operation: 78+4=82, Resulting Numbers: [42, 82] Generated Node #0,3,1: 90:[42, 82] Operation: 78+4=82 Exploring Operation: 78-4=74, Resulting Numbers: [42, 74] Generated Node #0,3,2: 90:[42, 74] Operation: 78-4=74 Exploring Operation: 78-42=36, Resulting Numbers: [4, 36] Generated Node #0,3,3: 90:[4, 36] Operation: 78-42=36 Moving to Node #0,2 Current State: 90:[78, 42, 4], Operations: ['82-78=4'] Exploring Operation: 78-42=36, Resulting Numbers: [4, 36] Generated Node #0,2,0: 90:[4, 36] Operation: 78-42=36 Exploring Operation: 78-4=74, Resulting Numbers: [42, 74] Generated Node #0,2,1: 90:[42, 74] Operation: 78-4=74 Exploring Operation: 42+4=46, Resulting Numbers: [78, 46] Generated Node #0,2,2: 90:[78, 46] Operation: 42+4=46 Exploring Operation: 78+4=82, Resulting Numbers: [42, 82] Generated Node #0,2,3: 90:[42, 82] Operation: 78+4=82 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[4, 36], Operations: ['82-78=4', '78-42=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,90 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[42, 82], Operations: ['82-78=4', '78+4=82'] Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,90 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,90 unequal: No Solution Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[78, 46], Operations: ['82-78=4', '42+4=46'] Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,90 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,90 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[42, 74], Operations: ['82-78=4', '78-4=74'] Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,90 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 90:[1, 40], Operations: ['78/78=1', '82-42=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,90 unequal: No Solution Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[4, 36], Operations: ['82-78=4', '78-42=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,90 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[42, 83], Operations: ['78/78=1', '82+1=83'] Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,90 unequal: No Solution Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 42*83=3486, Resulting Numbers: [3486] 3486,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[82, 43], Operations: ['78/78=1', '42+1=43'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,90 unequal: No Solution Exploring Operation: 82*43=3526, Resulting Numbers: [3526] 3526,90 unequal: No Solution Exploring Operation: 82+43=125, Resulting Numbers: [125] 125,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[42, 82], Operations: ['82-78=4', '78+4=82'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,90 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[42, 82], Operations: ['78/78=1', '82*1=82'] Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,90 unequal: No Solution Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,90 unequal: No Solution Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[78, 46], Operations: ['82-78=4', '42+4=46'] Exploring Operation: 78*46=3588, Resulting Numbers: [3588] 3588,90 unequal: No Solution Exploring Operation: 78-46=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 78+46=124, Resulting Numbers: [124] 124,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[42, 74], Operations: ['82-78=4', '78-4=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,90 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 42, 6, 88 ]
31
[ "83+42=125", "6+88=94", "125-94=31" ]
Current State: 31:[83, 42, 6, 88], Operations: [] Exploring Operation: 83+42=125, Resulting Numbers: [6, 88, 125] Generated Node #2: [6, 88, 125] from Operation: 83+42=125 Current State: 31:[6, 88, 125], Operations: ['83+42=125'] Exploring Operation: 6+88=94, Resulting Numbers: [125, 94] Generated Node #3: [125, 94] from Operation: 6+88=94 Current State: 31:[125, 94], Operations: ['83+42=125', '6+88=94'] Exploring Operation: 125-94=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[83, 42, 6, 88], Operations: [] Exploring Operation: 83-42=41, Resulting Numbers: [6, 88, 41] Generated Node #0,0: 31:[6, 88, 41] Operation: 83-42=41 Exploring Operation: 88-83=5, Resulting Numbers: [42, 6, 5] Generated Node #0,1: 31:[42, 6, 5] Operation: 88-83=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[42, 6, 5], Operations: ['88-83=5'] Exploring Operation: 6*5=30, Resulting Numbers: [42, 30] Generated Node #0,1,0: 31:[42, 30] Operation: 6*5=30 Exploring Operation: 42-6=36, Resulting Numbers: [5, 36] Generated Node #0,1,1: 31:[5, 36] Operation: 42-6=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[42, 30], Operations: ['88-83=5', '6*5=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,31 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[5, 36], Operations: ['88-83=5', '42-6=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[83, 42, 6, 88], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [42, 6, 5] Generated Node #0,1: 31:[42, 6, 5] Operation: 88-83=5 Moving to Node #0,1 Current State: 31:[42, 6, 5], Operations: ['88-83=5'] Exploring Operation: 42-6=36, Resulting Numbers: [5, 36] Generated Node #0,1,1: 31:[5, 36] Operation: 42-6=36 Moving to Node #0,1,1 Current State: 31:[5, 36], Operations: ['88-83=5', '42-6=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 72, 65, 22, 3 ]
73
[ "72-65=7", "22*3=66", "7+66=73" ]
Current State: 73:[72, 65, 22, 3], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [22, 3, 7] Generated Node #2: [22, 3, 7] from Operation: 72-65=7 Current State: 73:[22, 3, 7], Operations: ['72-65=7'] Exploring Operation: 22*3=66, Resulting Numbers: [7, 66] Generated Node #3: [7, 66] from Operation: 22*3=66 Current State: 73:[7, 66], Operations: ['72-65=7', '22*3=66'] Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[72, 65, 22, 3], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [72, 65, 66] Generated Node #0,0: 73:[72, 65, 66] Operation: 22*3=66 Exploring Operation: 65+3=68, Resulting Numbers: [72, 22, 68] Generated Node #0,1: 73:[72, 22, 68] Operation: 65+3=68 Exploring Operation: 72+3=75, Resulting Numbers: [65, 22, 75] Generated Node #0,2: 73:[65, 22, 75] Operation: 72+3=75 Exploring Operation: 22+3=25, Resulting Numbers: [72, 65, 25] Generated Node #0,3: 73:[72, 65, 25] Operation: 22+3=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[72, 65, 66], Operations: ['22*3=66'] Exploring Operation: 72-65=7, Resulting Numbers: [66, 7] Generated Node #0,0,0: 73:[66, 7] Operation: 72-65=7 Exploring Operation: 72+65=137, Resulting Numbers: [66, 137] Generated Node #0,0,1: 73:[66, 137] Operation: 72+65=137 Exploring Operation: 72+66=138, Resulting Numbers: [65, 138] Generated Node #0,0,2: 73:[65, 138] Operation: 72+66=138 Exploring Operation: 65+66=131, Resulting Numbers: [72, 131] Generated Node #0,0,3: 73:[72, 131] Operation: 65+66=131 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[72, 131], Operations: ['22*3=66', '65+66=131'] Exploring Operation: 131-72=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 72+131=203, Resulting Numbers: [203] 203,73 unequal: No Solution Exploring Operation: 72*131=9432, Resulting Numbers: [9432] 9432,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[66, 137], Operations: ['22*3=66', '72+65=137'] Exploring Operation: 66+137=203, Resulting Numbers: [203] 203,73 unequal: No Solution Exploring Operation: 66*137=9042, Resulting Numbers: [9042] 9042,73 unequal: No Solution Exploring Operation: 137-66=71, Resulting Numbers: [71] 71,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[66, 7], Operations: ['22*3=66', '72-65=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,73 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[72, 65, 22, 3], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [72, 65, 66] Generated Node #0,0: 73:[72, 65, 66] Operation: 22*3=66 Moving to Node #0,0 Current State: 73:[72, 65, 66], Operations: ['22*3=66'] Exploring Operation: 72-65=7, Resulting Numbers: [66, 7] Generated Node #0,0,0: 73:[66, 7] Operation: 72-65=7 Moving to Node #0,0,0 Current State: 73:[66, 7], Operations: ['22*3=66', '72-65=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 22, 2, 90, 42 ]
90
[ "42/2=21", "22-21=1", "90*1=90" ]
Current State: 90:[22, 2, 90, 42], Operations: [] Exploring Operation: 42/2=21, Resulting Numbers: [22, 90, 21] Generated Node #2: [22, 90, 21] from Operation: 42/2=21 Current State: 90:[22, 90, 21], Operations: ['42/2=21'] Exploring Operation: 22-21=1, Resulting Numbers: [90, 1] Generated Node #3: [90, 1] from Operation: 22-21=1 Current State: 90:[90, 1], Operations: ['42/2=21', '22-21=1'] Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[22, 2, 90, 42], Operations: [] Exploring Operation: 42-22=20, Resulting Numbers: [2, 90, 20] Generated Node #0,0: 90:[2, 90, 20] Operation: 42-22=20 Exploring Operation: 22*2=44, Resulting Numbers: [90, 42, 44] Generated Node #0,1: 90:[90, 42, 44] Operation: 22*2=44 Moving to Node #0,0 Current State: 90:[2, 90, 20], Operations: ['42-22=20'] Exploring Operation: 20/2=10, Resulting Numbers: [90, 10] Generated Node #0,0,0: 90:[90, 10] Operation: 20/2=10 Exploring Operation: 20-2=18, Resulting Numbers: [90, 18] Generated Node #0,0,1: 90:[90, 18] Operation: 20-2=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[90, 10], Operations: ['42-22=20', '20/2=10'] Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,90 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[90, 18], Operations: ['42-22=20', '20-2=18'] Exploring Operation: 90+18=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 90/18=5, Resulting Numbers: [5] 5,90 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: 90:[90, 42, 44], Operations: ['22*2=44'] Exploring Operation: 90-42=48, Resulting Numbers: [44, 48] Generated Node #0,1,0: 90:[44, 48] Operation: 90-42=48 Exploring Operation: 44-42=2, Resulting Numbers: [90, 2] Generated Node #0,1,1: 90:[90, 2] Operation: 44-42=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[90, 2], Operations: ['22*2=44', '44-42=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[44, 48], Operations: ['22*2=44', '90-42=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,90 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,90 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
[ 14, 99, 43, 22 ]
92
[ "14+99=113", "43-22=21", "113-21=92" ]
Current State: 92:[14, 99, 43, 22], Operations: [] Exploring Operation: 14+99=113, Resulting Numbers: [43, 22, 113] Generated Node #2: [43, 22, 113] from Operation: 14+99=113 Current State: 92:[43, 22, 113], Operations: ['14+99=113'] Exploring Operation: 43-22=21, Resulting Numbers: [113, 21] Generated Node #3: [113, 21] from Operation: 43-22=21 Current State: 92:[113, 21], Operations: ['14+99=113', '43-22=21'] Exploring Operation: 113-21=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[14, 99, 43, 22], Operations: [] Exploring Operation: 22-14=8, Resulting Numbers: [99, 43, 8] Generated Node #0,0: 92:[99, 43, 8] Operation: 22-14=8 Exploring Operation: 99-14=85, Resulting Numbers: [43, 22, 85] Generated Node #0,1: 92:[43, 22, 85] Operation: 99-14=85 Exploring Operation: 43-14=29, Resulting Numbers: [99, 22, 29] Generated Node #0,2: 92:[99, 22, 29] Operation: 43-14=29 Exploring Operation: 43-22=21, Resulting Numbers: [14, 99, 21] Generated Node #0,3: 92:[14, 99, 21] Operation: 43-22=21 Moving to Node #0,1 Current State: 92:[43, 22, 85], Operations: ['99-14=85'] Exploring Operation: 43-22=21, Resulting Numbers: [85, 21] Generated Node #0,1,0: 92:[85, 21] Operation: 43-22=21 Exploring Operation: 85-43=42, Resulting Numbers: [22, 42] Generated Node #0,1,1: 92:[22, 42] Operation: 85-43=42 Exploring Operation: 85-22=63, Resulting Numbers: [43, 63] Generated Node #0,1,2: 92:[43, 63] Operation: 85-22=63 Exploring Operation: 22+85=107, Resulting Numbers: [43, 107] Generated Node #0,1,3: 92:[43, 107] Operation: 22+85=107 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[22, 42], Operations: ['99-14=85', '85-43=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,92 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[85, 21], Operations: ['99-14=85', '43-22=21'] Exploring Operation: 85+21=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 85*21=1785, Resulting Numbers: [1785] 1785,92 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[43, 107], Operations: ['99-14=85', '22+85=107'] Exploring Operation: 107-43=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 43*107=4601, Resulting Numbers: [4601] 4601,92 unequal: No Solution Exploring Operation: 43+107=150, Resulting Numbers: [150] 150,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[43, 63], Operations: ['99-14=85', '85-22=63'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 43+63=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 43*63=2709, Resulting Numbers: [2709] 2709,92 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: 92:[99, 22, 29], Operations: ['43-14=29'] Exploring Operation: 29-22=7, Resulting Numbers: [99, 7] Generated Node #0,2,0: 92:[99, 7] Operation: 29-22=7 Exploring Operation: 99-22=77, Resulting Numbers: [29, 77] Generated Node #0,2,1: 92:[29, 77] Operation: 99-22=77 Exploring Operation: 22+29=51, Resulting Numbers: [99, 51] Generated Node #0,2,2: 92:[99, 51] Operation: 22+29=51 Exploring Operation: 99-29=70, Resulting Numbers: [22, 70] Generated Node #0,2,3: 92:[22, 70] Operation: 99-29=70 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[99, 7], Operations: ['43-14=29', '29-22=7'] Exploring Operation: 99*7=693, Resulting Numbers: [693] 693,92 unequal: No Solution Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[14, 99, 43, 22], Operations: [] Exploring Operation: 43-14=29, Resulting Numbers: [99, 22, 29] Generated Node #0,2: 92:[99, 22, 29] Operation: 43-14=29 Moving to Node #0,2 Current State: 92:[99, 22, 29], Operations: ['43-14=29'] Exploring Operation: 29-22=7, Resulting Numbers: [99, 7] Generated Node #0,2,0: 92:[99, 7] Operation: 29-22=7 Moving to Node #0,2,0 Current State: 92:[99, 7], Operations: ['43-14=29', '29-22=7'] Exploring Operation: 99-7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 60, 6, 15, 42 ]
62
[ "6+15=21", "42/21=2", "60+2=62" ]
Current State: 62:[60, 6, 15, 42], Operations: [] Exploring Operation: 6+15=21, Resulting Numbers: [60, 42, 21] Generated Node #2: [60, 42, 21] from Operation: 6+15=21 Current State: 62:[60, 42, 21], Operations: ['6+15=21'] Exploring Operation: 42/21=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 42/21=2 Current State: 62:[60, 2], Operations: ['6+15=21', '42/21=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[60, 6, 15, 42], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [60, 6, 27] Generated Node #0,0: 62:[60, 6, 27] Operation: 42-15=27 Exploring Operation: 15+42=57, Resulting Numbers: [60, 6, 57] Generated Node #0,1: 62:[60, 6, 57] Operation: 15+42=57 Moving to Node #0,0 Current State: 62:[60, 6, 27], Operations: ['42-15=27'] Exploring Operation: 60-27=33, Resulting Numbers: [6, 33] Generated Node #0,0,0: 62:[6, 33] Operation: 60-27=33 Exploring Operation: 6+27=33, Resulting Numbers: [60, 33] Generated Node #0,0,1: 62:[60, 33] Operation: 6+27=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[60, 33], Operations: ['42-15=27', '6+27=33'] Exploring Operation: 60+33=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[6, 33], Operations: ['42-15=27', '60-27=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,62 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: 62:[60, 6, 57], Operations: ['15+42=57'] Exploring Operation: 6+57=63, Resulting Numbers: [60, 63] Generated Node #0,1,0: 62:[60, 63] Operation: 6+57=63 Exploring Operation: 60-57=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 62:[6, 3] Operation: 60-57=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[60, 63], Operations: ['15+42=57', '6+57=63'] Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[6, 3], Operations: ['15+42=57', '60-57=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 5, 56, 37 ]
39
[ "56/8=7", "37-5=32", "7+32=39" ]
Current State: 39:[8, 5, 56, 37], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [5, 37, 7] Generated Node #2: [5, 37, 7] from Operation: 56/8=7 Current State: 39:[5, 37, 7], Operations: ['56/8=7'] Exploring Operation: 37-5=32, Resulting Numbers: [7, 32] Generated Node #3: [7, 32] from Operation: 37-5=32 Current State: 39:[7, 32], Operations: ['56/8=7', '37-5=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 5, 56, 37], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [56, 37, 3] Generated Node #0,0: 39:[56, 37, 3] Operation: 8-5=3 Exploring Operation: 56-37=19, Resulting Numbers: [8, 5, 19] Generated Node #0,1: 39:[8, 5, 19] Operation: 56-37=19 Exploring Operation: 8+5=13, Resulting Numbers: [56, 37, 13] Generated Node #0,2: 39:[56, 37, 13] Operation: 8+5=13 Exploring Operation: 56-8=48, Resulting Numbers: [5, 37, 48] Generated Node #0,3: 39:[5, 37, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [5, 37, 7] Generated Node #0,4: 39:[5, 37, 7] Operation: 56/8=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[5, 37, 7], Operations: ['56/8=7'] Exploring Operation: 5+7=12, Resulting Numbers: [37, 12] Generated Node #0,4,0: 39:[37, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [37, 2] Generated Node #0,4,1: 39:[37, 2] Operation: 7-5=2 Exploring Operation: 37+7=44, Resulting Numbers: [5, 44] Generated Node #0,4,2: 39:[5, 44] Operation: 37+7=44 Exploring Operation: 5+37=42, Resulting Numbers: [7, 42] Generated Node #0,4,3: 39:[7, 42] Operation: 5+37=42 Exploring Operation: 5*7=35, Resulting Numbers: [37, 35] Generated Node #0,4,4: 39:[37, 35] Operation: 5*7=35 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 39:[37, 12], Operations: ['56/8=7', '5+7=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,39 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,39 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,39 unequal: No Solution No 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: 39:[37, 2], Operations: ['56/8=7', '7-5=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,39 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 5, 56, 37], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [5, 37, 7] Generated Node #0,4: 39:[5, 37, 7] Operation: 56/8=7 Moving to Node #0,4 Current State: 39:[5, 37, 7], Operations: ['56/8=7'] Exploring Operation: 7-5=2, Resulting Numbers: [37, 2] Generated Node #0,4,1: 39:[37, 2] Operation: 7-5=2 Moving to Node #0,4,1 Current State: 39:[37, 2], Operations: ['56/8=7', '7-5=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 87, 6, 57, 61 ]
58
[ "61-57=4", "87*4=348", "348/6=58" ]
Current State: 58:[87, 6, 57, 61], Operations: [] Exploring Operation: 61-57=4, Resulting Numbers: [87, 6, 4] Generated Node #2: [87, 6, 4] from Operation: 61-57=4 Current State: 58:[87, 6, 4], Operations: ['61-57=4'] Exploring Operation: 87*4=348, Resulting Numbers: [6, 348] Generated Node #3: [6, 348] from Operation: 87*4=348 Current State: 58:[6, 348], Operations: ['61-57=4', '87*4=348'] Exploring Operation: 348/6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[87, 6, 57, 61], Operations: [] Exploring Operation: 87-57=30, Resulting Numbers: [6, 61, 30] Generated Node #0,0: 58:[6, 61, 30] Operation: 87-57=30 Moving to Node #0,0 Current State: 58:[6, 61, 30], Operations: ['87-57=30'] Exploring Operation: 61-6=55, Resulting Numbers: [30, 55] Generated Node #0,0,0: 58:[30, 55] Operation: 61-6=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[30, 55], Operations: ['87-57=30', '61-6=55'] Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,58 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
[ 82, 28, 12, 87 ]
35
[ "82+28=110", "87-12=75", "110-75=35" ]
Current State: 35:[82, 28, 12, 87], Operations: [] Exploring Operation: 82+28=110, Resulting Numbers: [12, 87, 110] Generated Node #2: [12, 87, 110] from Operation: 82+28=110 Current State: 35:[12, 87, 110], Operations: ['82+28=110'] Exploring Operation: 87-12=75, Resulting Numbers: [110, 75] Generated Node #3: [110, 75] from Operation: 87-12=75 Current State: 35:[110, 75], Operations: ['82+28=110', '87-12=75'] Exploring Operation: 110-75=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[82, 28, 12, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [28, 12, 5] Generated Node #0,0: 35:[28, 12, 5] Operation: 87-82=5 Exploring Operation: 82-28=54, Resulting Numbers: [12, 87, 54] Generated Node #0,1: 35:[12, 87, 54] Operation: 82-28=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[28, 12, 5], Operations: ['87-82=5'] Exploring Operation: 28+5=33, Resulting Numbers: [12, 33] Generated Node #0,0,0: 35:[12, 33] Operation: 28+5=33 Exploring Operation: 28+12=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 35:[5, 40] Operation: 28+12=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[5, 40], Operations: ['87-82=5', '28+12=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[82, 28, 12, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [28, 12, 5] Generated Node #0,0: 35:[28, 12, 5] Operation: 87-82=5 Moving to Node #0,0 Current State: 35:[28, 12, 5], Operations: ['87-82=5'] Exploring Operation: 28+12=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 35:[5, 40] Operation: 28+12=40 Moving to Node #0,0,1 Current State: 35:[5, 40], Operations: ['87-82=5', '28+12=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 99, 86, 6, 25 ]
32
[ "99-86=13", "25-6=19", "13+19=32" ]
Current State: 32:[99, 86, 6, 25], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [6, 25, 13] Generated Node #2: [6, 25, 13] from Operation: 99-86=13 Current State: 32:[6, 25, 13], Operations: ['99-86=13'] Exploring Operation: 25-6=19, Resulting Numbers: [13, 19] Generated Node #3: [13, 19] from Operation: 25-6=19 Current State: 32:[13, 19], Operations: ['99-86=13', '25-6=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[99, 86, 6, 25], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [99, 6, 61] Generated Node #0,0: 32:[99, 6, 61] Operation: 86-25=61 Exploring Operation: 99-86=13, Resulting Numbers: [6, 25, 13] Generated Node #0,1: 32:[6, 25, 13] Operation: 99-86=13 Exploring Operation: 99-25=74, Resulting Numbers: [86, 6, 74] Generated Node #0,2: 32:[86, 6, 74] Operation: 99-25=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[6, 25, 13], Operations: ['99-86=13'] Exploring Operation: 25-13=12, Resulting Numbers: [6, 12] Generated Node #0,1,0: 32:[6, 12] Operation: 25-13=12 Exploring Operation: 6+25=31, Resulting Numbers: [13, 31] Generated Node #0,1,1: 32:[13, 31] Operation: 6+25=31 Exploring Operation: 25-6=19, Resulting Numbers: [13, 19] Generated Node #0,1,2: 32:[13, 19] Operation: 25-6=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[13, 31], Operations: ['99-86=13', '6+25=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,32 unequal: No Solution No 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: 32:[6, 12], Operations: ['99-86=13', '25-13=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,32 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,32 unequal: No Solution No 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: 32:[13, 19], Operations: ['99-86=13', '25-6=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[99, 86, 6, 25], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [6, 25, 13] Generated Node #0,1: 32:[6, 25, 13] Operation: 99-86=13 Moving to Node #0,1 Current State: 32:[6, 25, 13], Operations: ['99-86=13'] Exploring Operation: 25-6=19, Resulting Numbers: [13, 19] Generated Node #0,1,2: 32:[13, 19] Operation: 25-6=19 Moving to Node #0,1,2 Current State: 32:[13, 19], Operations: ['99-86=13', '25-6=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 73, 17, 51, 99 ]
94
[ "73-17=56", "51+99=150", "150-56=94" ]
Current State: 94:[73, 17, 51, 99], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [51, 99, 56] Generated Node #2: [51, 99, 56] from Operation: 73-17=56 Current State: 94:[51, 99, 56], Operations: ['73-17=56'] Exploring Operation: 51+99=150, Resulting Numbers: [56, 150] Generated Node #3: [56, 150] from Operation: 51+99=150 Current State: 94:[56, 150], Operations: ['73-17=56', '51+99=150'] Exploring Operation: 150-56=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[73, 17, 51, 99], Operations: [] Exploring Operation: 73+17=90, Resulting Numbers: [51, 99, 90] Generated Node #0,0: 94:[51, 99, 90] Operation: 73+17=90 Exploring Operation: 73-17=56, Resulting Numbers: [51, 99, 56] Generated Node #0,1: 94:[51, 99, 56] Operation: 73-17=56 Exploring Operation: 51/17=3, Resulting Numbers: [73, 99, 3] Generated Node #0,2: 94:[73, 99, 3] Operation: 51/17=3 Exploring Operation: 99-51=48, Resulting Numbers: [73, 17, 48] Generated Node #0,3: 94:[73, 17, 48] Operation: 99-51=48 Exploring Operation: 99-17=82, Resulting Numbers: [73, 51, 82] Generated Node #0,4: 94:[73, 51, 82] Operation: 99-17=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[51, 99, 90], Operations: ['73+17=90'] Exploring Operation: 99-90=9, Resulting Numbers: [51, 9] Generated Node #0,0,0: 94:[51, 9] Operation: 99-90=9 Exploring Operation: 51+90=141, Resulting Numbers: [99, 141] Generated Node #0,0,1: 94:[99, 141] Operation: 51+90=141 Exploring Operation: 51+99=150, Resulting Numbers: [90, 150] Generated Node #0,0,2: 94:[90, 150] Operation: 51+99=150 Exploring Operation: 99-51=48, Resulting Numbers: [90, 48] Generated Node #0,0,3: 94:[90, 48] Operation: 99-51=48 Exploring Operation: 90-51=39, Resulting Numbers: [99, 39] Generated Node #0,0,4: 94:[99, 39] Operation: 90-51=39 Moving to Node #0,0,3 Current State: 94:[90, 48], Operations: ['73+17=90', '99-51=48'] Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,94 unequal: No Solution Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,94 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,94 unequal: No Solution Moving to Node #0,0,0 Current State: 94:[51, 9], Operations: ['73+17=90', '99-90=9'] Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 51*9=459, Resulting Numbers: [459] 459,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[99, 39], Operations: ['73+17=90', '90-51=39'] Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 99*39=3861, Resulting Numbers: [3861] 3861,94 unequal: No Solution Exploring Operation: 99+39=138, Resulting Numbers: [138] 138,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[99, 141], Operations: ['73+17=90', '51+90=141'] Exploring Operation: 99+141=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 141-99=42, Resulting Numbers: [42] 42,94 unequal: No Solution Exploring Operation: 99*141=13959, Resulting Numbers: [13959] 13959,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[90, 150], Operations: ['73+17=90', '51+99=150'] Exploring Operation: 150-90=60, Resulting Numbers: [60] 60,94 unequal: No Solution Exploring Operation: 90+150=240, Resulting Numbers: [240] 240,94 unequal: No Solution Exploring Operation: 90*150=13500, Resulting Numbers: [13500] 13500,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[51, 99, 56], Operations: ['73-17=56'] Exploring Operation: 99-56=43, Resulting Numbers: [51, 43] Generated Node #0,1,0: 94:[51, 43] Operation: 99-56=43 Exploring Operation: 99-51=48, Resulting Numbers: [56, 48] Generated Node #0,1,1: 94:[56, 48] Operation: 99-51=48 Exploring Operation: 51+56=107, Resulting Numbers: [99, 107] Generated Node #0,1,2: 94:[99, 107] Operation: 51+56=107 Exploring Operation: 51+99=150, Resulting Numbers: [56, 150] Generated Node #0,1,3: 94:[56, 150] Operation: 51+99=150 Exploring Operation: 56-51=5, Resulting Numbers: [99, 5] Generated Node #0,1,4: 94:[99, 5] Operation: 56-51=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[51, 43], Operations: ['73-17=56', '99-56=43'] Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 51*43=2193, Resulting Numbers: [2193] 2193,94 unequal: No Solution Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[73, 17, 51, 99], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [51, 99, 56] Generated Node #0,1: 94:[51, 99, 56] Operation: 73-17=56 Moving to Node #0,1 Current State: 94:[51, 99, 56], Operations: ['73-17=56'] Exploring Operation: 99-56=43, Resulting Numbers: [51, 43] Generated Node #0,1,0: 94:[51, 43] Operation: 99-56=43 Moving to Node #0,1,0 Current State: 94:[51, 43], Operations: ['73-17=56', '99-56=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 92, 34, 18, 37 ]
30
[ "92+34=126", "126/18=7", "37-7=30" ]
Current State: 30:[92, 34, 18, 37], Operations: [] Exploring Operation: 92+34=126, Resulting Numbers: [18, 37, 126] Generated Node #2: [18, 37, 126] from Operation: 92+34=126 Current State: 30:[18, 37, 126], Operations: ['92+34=126'] Exploring Operation: 126/18=7, Resulting Numbers: [37, 7] Generated Node #3: [37, 7] from Operation: 126/18=7 Current State: 30:[37, 7], Operations: ['92+34=126', '126/18=7'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 34, 18, 37], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [34, 18, 55] Generated Node #0,0: 30:[34, 18, 55] Operation: 92-37=55 Exploring Operation: 92-34=58, Resulting Numbers: [18, 37, 58] Generated Node #0,1: 30:[18, 37, 58] Operation: 92-34=58 Exploring Operation: 92-18=74, Resulting Numbers: [34, 37, 74] Generated Node #0,2: 30:[34, 37, 74] Operation: 92-18=74 Moving to Node #0,0 Current State: 30:[34, 18, 55], Operations: ['92-37=55'] Exploring Operation: 55-18=37, Resulting Numbers: [34, 37] Generated Node #0,0,0: 30:[34, 37] Operation: 55-18=37 Exploring Operation: 55-34=21, Resulting Numbers: [18, 21] Generated Node #0,0,1: 30:[18, 21] Operation: 55-34=21 Exploring Operation: 34-18=16, Resulting Numbers: [55, 16] Generated Node #0,0,2: 30:[55, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[18, 21], Operations: ['92-37=55', '55-34=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[34, 37], Operations: ['92-37=55', '55-18=37'] Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,30 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[55, 16], Operations: ['92-37=55', '34-18=16'] Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 55*16=880, Resulting Numbers: [880] 880,30 unequal: No Solution Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,30 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: 30:[18, 37, 58], Operations: ['92-34=58'] Exploring Operation: 37-18=19, Resulting Numbers: [58, 19] Generated Node #0,1,0: 30:[58, 19] Operation: 37-18=19 Exploring Operation: 58-37=21, Resulting Numbers: [18, 21] Generated Node #0,1,1: 30:[18, 21] Operation: 58-37=21 Exploring Operation: 58-18=40, Resulting Numbers: [37, 40] Generated Node #0,1,2: 30:[37, 40] Operation: 58-18=40 Moving to Node #0,2 Current State: 30:[34, 37, 74], Operations: ['92-18=74'] Exploring Operation: 74-34=40, Resulting Numbers: [37, 40] Generated Node #0,2,0: 30:[37, 40] Operation: 74-34=40 Exploring Operation: 74-37=37, Resulting Numbers: [34, 37] Generated Node #0,2,1: 30:[34, 37] Operation: 74-37=37 Exploring Operation: 74/37=2, Resulting Numbers: [34, 2] Generated Node #0,2,2: 30:[34, 2] Operation: 74/37=2 Moving to Node #0,2,2 Current State: 30:[34, 2], Operations: ['92-18=74', '74/37=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[18, 21], Operations: ['92-34=58', '58-37=21'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,30 unequal: No Solution Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[34, 37], Operations: ['92-18=74', '74-37=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,30 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[37, 40], Operations: ['92-18=74', '74-34=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[37, 40], Operations: ['92-34=58', '58-18=40'] Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,30 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[58, 19], Operations: ['92-34=58', '37-18=19'] Exploring Operation: 58+19=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 58*19=1102, Resulting Numbers: [1102] 1102,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 95, 52, 6, 72 ]
55
[ "95-52=43", "72/6=12", "43+12=55" ]
Current State: 55:[95, 52, 6, 72], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [6, 72, 43] Generated Node #2: [6, 72, 43] from Operation: 95-52=43 Current State: 55:[6, 72, 43], Operations: ['95-52=43'] Exploring Operation: 72/6=12, Resulting Numbers: [43, 12] Generated Node #3: [43, 12] from Operation: 72/6=12 Current State: 55:[43, 12], Operations: ['95-52=43', '72/6=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[95, 52, 6, 72], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [6, 72, 43] Generated Node #0,0: 55:[6, 72, 43] Operation: 95-52=43 Exploring Operation: 72/6=12, Resulting Numbers: [95, 52, 12] Generated Node #0,1: 55:[95, 52, 12] Operation: 72/6=12 Exploring Operation: 72-52=20, Resulting Numbers: [95, 6, 20] Generated Node #0,2: 55:[95, 6, 20] Operation: 72-52=20 Exploring Operation: 95-72=23, Resulting Numbers: [52, 6, 23] Generated Node #0,3: 55:[52, 6, 23] Operation: 95-72=23 Exploring Operation: 95-6=89, Resulting Numbers: [52, 72, 89] Generated Node #0,4: 55:[52, 72, 89] Operation: 95-6=89 Moving to Node #0,3 Current State: 55:[52, 6, 23], Operations: ['95-72=23'] Exploring Operation: 52-23=29, Resulting Numbers: [6, 29] Generated Node #0,3,0: 55:[6, 29] Operation: 52-23=29 Exploring Operation: 52+23=75, Resulting Numbers: [6, 75] Generated Node #0,3,1: 55:[6, 75] Operation: 52+23=75 Exploring Operation: 52-6=46, Resulting Numbers: [23, 46] Generated Node #0,3,2: 55:[23, 46] Operation: 52-6=46 Exploring Operation: 23-6=17, Resulting Numbers: [52, 17] Generated Node #0,3,3: 55:[52, 17] Operation: 23-6=17 Exploring Operation: 52+6=58, Resulting Numbers: [23, 58] Generated Node #0,3,4: 55:[23, 58] Operation: 52+6=58 Moving to Node #0,0 Current State: 55:[6, 72, 43], Operations: ['95-52=43'] Exploring Operation: 72-6=66, Resulting Numbers: [43, 66] Generated Node #0,0,0: 55:[43, 66] Operation: 72-6=66 Exploring Operation: 6+43=49, Resulting Numbers: [72, 49] Generated Node #0,0,1: 55:[72, 49] Operation: 6+43=49 Exploring Operation: 72/6=12, Resulting Numbers: [43, 12] Generated Node #0,0,2: 55:[43, 12] Operation: 72/6=12 Exploring Operation: 6+72=78, Resulting Numbers: [43, 78] Generated Node #0,0,3: 55:[43, 78] Operation: 6+72=78 Exploring Operation: 72-43=29, Resulting Numbers: [6, 29] Generated Node #0,0,4: 55:[6, 29] Operation: 72-43=29 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[43, 12], Operations: ['95-52=43', '72/6=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[95, 52, 6, 72], Operations: [] Exploring Operation: 95-52=43, Resulting Numbers: [6, 72, 43] Generated Node #0,0: 55:[6, 72, 43] Operation: 95-52=43 Moving to Node #0,0 Current State: 55:[6, 72, 43], Operations: ['95-52=43'] Exploring Operation: 72/6=12, Resulting Numbers: [43, 12] Generated Node #0,0,2: 55:[43, 12] Operation: 72/6=12 Moving to Node #0,0,2 Current State: 55:[43, 12], Operations: ['95-52=43', '72/6=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 41, 36, 6, 55 ]
84
[ "55-41=14", "36/6=6", "14*6=84" ]
Current State: 84:[41, 36, 6, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [36, 6, 14] Generated Node #2: [36, 6, 14] from Operation: 55-41=14 Current State: 84:[36, 6, 14], Operations: ['55-41=14'] Exploring Operation: 36/6=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 36/6=6 Current State: 84:[14, 6], Operations: ['55-41=14', '36/6=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[41, 36, 6, 55], Operations: [] Exploring Operation: 36+55=91, Resulting Numbers: [41, 6, 91] Generated Node #0,0: 84:[41, 6, 91] Operation: 36+55=91 Exploring Operation: 55-41=14, Resulting Numbers: [36, 6, 14] Generated Node #0,1: 84:[36, 6, 14] Operation: 55-41=14 Exploring Operation: 55-36=19, Resulting Numbers: [41, 6, 19] Generated Node #0,2: 84:[41, 6, 19] Operation: 55-36=19 Moving to Node #0,2 Current State: 84:[41, 6, 19], Operations: ['55-36=19'] Exploring Operation: 41-19=22, Resulting Numbers: [6, 22] Generated Node #0,2,0: 84:[6, 22] Operation: 41-19=22 Exploring Operation: 6+19=25, Resulting Numbers: [41, 25] Generated Node #0,2,1: 84:[41, 25] Operation: 6+19=25 Exploring Operation: 19-6=13, Resulting Numbers: [41, 13] Generated Node #0,2,2: 84:[41, 13] Operation: 19-6=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[6, 22], Operations: ['55-36=19', '41-19=22'] Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[41, 13], Operations: ['55-36=19', '19-6=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,84 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[41, 25], Operations: ['55-36=19', '6+19=25'] Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,84 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 84:[36, 6, 14], Operations: ['55-41=14'] Exploring Operation: 36-14=22, Resulting Numbers: [6, 22] Generated Node #0,1,0: 84:[6, 22] Operation: 36-14=22 Exploring Operation: 36+6=42, Resulting Numbers: [14, 42] Generated Node #0,1,1: 84:[14, 42] Operation: 36+6=42 Exploring Operation: 36/6=6, Resulting Numbers: [14, 6] Generated Node #0,1,2: 84:[14, 6] Operation: 36/6=6 Moving to Node #0,0 Current State: 84:[41, 6, 91], Operations: ['36+55=91'] Exploring Operation: 91-41=50, Resulting Numbers: [6, 50] Generated Node #0,0,0: 84:[6, 50] Operation: 91-41=50 Exploring Operation: 91-6=85, Resulting Numbers: [41, 85] Generated Node #0,0,1: 84:[41, 85] Operation: 91-6=85 Exploring Operation: 41+6=47, Resulting Numbers: [91, 47] Generated Node #0,0,2: 84:[91, 47] Operation: 41+6=47 Moving to Node #0,1,1 Current State: 84:[14, 42], Operations: ['55-41=14', '36+6=42'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,84 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[14, 6], Operations: ['55-41=14', '36/6=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[41, 36, 6, 55], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [36, 6, 14] Generated Node #0,1: 84:[36, 6, 14] Operation: 55-41=14 Moving to Node #0,1 Current State: 84:[36, 6, 14], Operations: ['55-41=14'] Exploring Operation: 36/6=6, Resulting Numbers: [14, 6] Generated Node #0,1,2: 84:[14, 6] Operation: 36/6=6 Moving to Node #0,1,2 Current State: 84:[14, 6], Operations: ['55-41=14', '36/6=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 72, 32, 88, 41 ]
46
[ "72+88=160", "160/32=5", "41+5=46" ]
Current State: 46:[72, 32, 88, 41], Operations: [] Exploring Operation: 72+88=160, Resulting Numbers: [32, 41, 160] Generated Node #2: [32, 41, 160] from Operation: 72+88=160 Current State: 46:[32, 41, 160], Operations: ['72+88=160'] Exploring Operation: 160/32=5, Resulting Numbers: [41, 5] Generated Node #3: [41, 5] from Operation: 160/32=5 Current State: 46:[41, 5], Operations: ['72+88=160', '160/32=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[72, 32, 88, 41], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [32, 41, 16] Generated Node #0,0: 46:[32, 41, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[32, 41, 16], Operations: ['88-72=16'] Exploring Operation: 32/16=2, Resulting Numbers: [41, 2] Generated Node #0,0,0: 46:[41, 2] Operation: 32/16=2 Moving to Node #0,0,0 Current State: 46:[41, 2], Operations: ['88-72=16', '32/16=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,46 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
[ 5, 86, 17, 4 ]
16
[ "86-5=81", "81-17=64", "64/4=16" ]
Current State: 16:[5, 86, 17, 4], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [17, 4, 81] Generated Node #2: [17, 4, 81] from Operation: 86-5=81 Current State: 16:[17, 4, 81], Operations: ['86-5=81'] Exploring Operation: 81-17=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 81-17=64 Current State: 16:[4, 64], Operations: ['86-5=81', '81-17=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[5, 86, 17, 4], Operations: [] Exploring Operation: 86-5=81, Resulting Numbers: [17, 4, 81] Generated Node #0,0: 16:[17, 4, 81] Operation: 86-5=81 Exploring Operation: 5-4=1, Resulting Numbers: [86, 17, 1] Generated Node #0,1: 16:[86, 17, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [86, 17, 9] Generated Node #0,2: 16:[86, 17, 9] Operation: 5+4=9 Exploring Operation: 86-17=69, Resulting Numbers: [5, 4, 69] Generated Node #0,3: 16:[5, 4, 69] Operation: 86-17=69 Exploring Operation: 86-4=82, Resulting Numbers: [5, 17, 82] Generated Node #0,4: 16:[5, 17, 82] Operation: 86-4=82 Start Sub Search at level 1: Moving to Node #0,3 Current State: 16:[5, 4, 69], Operations: ['86-17=69'] Exploring Operation: 5*4=20, Resulting Numbers: [69, 20] Generated Node #0,3,0: 16:[69, 20] Operation: 5*4=20 Exploring Operation: 69-5=64, Resulting Numbers: [4, 64] Generated Node #0,3,1: 16:[4, 64] Operation: 69-5=64 Exploring Operation: 5+4=9, Resulting Numbers: [69, 9] Generated Node #0,3,2: 16:[69, 9] Operation: 5+4=9 Exploring Operation: 69-4=65, Resulting Numbers: [5, 65] Generated Node #0,3,3: 16:[5, 65] Operation: 69-4=65 Exploring Operation: 5-4=1, Resulting Numbers: [69, 1] Generated Node #0,3,4: 16:[69, 1] Operation: 5-4=1 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 16:[4, 64], Operations: ['86-17=69', '69-5=64'] Exploring Operation: 4*64=256, Resulting Numbers: [256] 256,16 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,16 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[5, 86, 17, 4], Operations: [] Exploring Operation: 86-17=69, Resulting Numbers: [5, 4, 69] Generated Node #0,3: 16:[5, 4, 69] Operation: 86-17=69 Moving to Node #0,3 Current State: 16:[5, 4, 69], Operations: ['86-17=69'] Exploring Operation: 69-5=64, Resulting Numbers: [4, 64] Generated Node #0,3,1: 16:[4, 64] Operation: 69-5=64 Moving to Node #0,3,1 Current State: 16:[4, 64], Operations: ['86-17=69', '69-5=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 5, 6, 94, 2 ]
95
[ "6-5=1", "94+2=96", "96-1=95" ]
Current State: 95:[5, 6, 94, 2], Operations: [] Exploring Operation: 6-5=1, Resulting Numbers: [94, 2, 1] Generated Node #2: [94, 2, 1] from Operation: 6-5=1 Current State: 95:[94, 2, 1], Operations: ['6-5=1'] Exploring Operation: 94+2=96, Resulting Numbers: [1, 96] Generated Node #3: [1, 96] from Operation: 94+2=96 Current State: 95:[1, 96], Operations: ['6-5=1', '94+2=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[5, 6, 94, 2], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [5, 94, 4] Generated Node #0,0: 95:[5, 94, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [5, 94, 3] Generated Node #0,1: 95:[5, 94, 3] Operation: 6/2=3 Exploring Operation: 94+2=96, Resulting Numbers: [5, 6, 96] Generated Node #0,2: 95:[5, 6, 96] Operation: 94+2=96 Moving to Node #0,0 Current State: 95:[5, 94, 4], Operations: ['6-2=4'] Exploring Operation: 5*4=20, Resulting Numbers: [94, 20] Generated Node #0,0,0: 95:[94, 20] Operation: 5*4=20 Exploring Operation: 5+94=99, Resulting Numbers: [4, 99] Generated Node #0,0,1: 95:[4, 99] Operation: 5+94=99 Exploring Operation: 94+4=98, Resulting Numbers: [5, 98] Generated Node #0,0,2: 95:[5, 98] Operation: 94+4=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[94, 20], Operations: ['6-2=4', '5*4=20'] Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[5, 98], Operations: ['6-2=4', '94+4=98'] Exploring Operation: 5*98=490, Resulting Numbers: [490] 490,95 unequal: No Solution Exploring Operation: 5+98=103, Resulting Numbers: [103] 103,95 unequal: No Solution Exploring Operation: 98-5=93, Resulting Numbers: [93] 93,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[4, 99], Operations: ['6-2=4', '5+94=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[5, 6, 94, 2], Operations: [] Exploring Operation: 6-2=4, Resulting Numbers: [5, 94, 4] Generated Node #0,0: 95:[5, 94, 4] Operation: 6-2=4 Moving to Node #0,0 Current State: 95:[5, 94, 4], Operations: ['6-2=4'] Exploring Operation: 5+94=99, Resulting Numbers: [4, 99] Generated Node #0,0,1: 95:[4, 99] Operation: 5+94=99 Moving to Node #0,0,1 Current State: 95:[4, 99], Operations: ['6-2=4', '5+94=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 49, 90, 83, 2 ]
79
[ "83-49=34", "90/2=45", "34+45=79" ]
Current State: 79:[49, 90, 83, 2], Operations: [] Exploring Operation: 83-49=34, Resulting Numbers: [90, 2, 34] Generated Node #2: [90, 2, 34] from Operation: 83-49=34 Current State: 79:[90, 2, 34], Operations: ['83-49=34'] Exploring Operation: 90/2=45, Resulting Numbers: [34, 45] Generated Node #3: [34, 45] from Operation: 90/2=45 Current State: 79:[34, 45], Operations: ['83-49=34', '90/2=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[49, 90, 83, 2], Operations: [] Exploring Operation: 90-2=88, Resulting Numbers: [49, 83, 88] Generated Node #0,0: 79:[49, 83, 88] Operation: 90-2=88 Exploring Operation: 49*2=98, Resulting Numbers: [90, 83, 98] Generated Node #0,1: 79:[90, 83, 98] Operation: 49*2=98 Exploring Operation: 49+2=51, Resulting Numbers: [90, 83, 51] Generated Node #0,2: 79:[90, 83, 51] Operation: 49+2=51 Exploring Operation: 83-2=81, Resulting Numbers: [49, 90, 81] Generated Node #0,3: 79:[49, 90, 81] Operation: 83-2=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[90, 83, 98], Operations: ['49*2=98'] Exploring Operation: 90+83=173, Resulting Numbers: [98, 173] Generated Node #0,1,0: 79:[98, 173] Operation: 90+83=173 Exploring Operation: 98-90=8, Resulting Numbers: [83, 8] Generated Node #0,1,1: 79:[83, 8] Operation: 98-90=8 Exploring Operation: 90-83=7, Resulting Numbers: [98, 7] Generated Node #0,1,2: 79:[98, 7] Operation: 90-83=7 Exploring Operation: 98-83=15, Resulting Numbers: [90, 15] Generated Node #0,1,3: 79:[90, 15] Operation: 98-83=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[83, 8], Operations: ['49*2=98', '98-90=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,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,3 Current State: 79:[90, 15], Operations: ['49*2=98', '98-83=15'] Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,79 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,79 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,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,2 Current State: 79:[98, 7], Operations: ['49*2=98', '90-83=7'] Exploring Operation: 98-7=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 98*7=686, Resulting Numbers: [686] 686,79 unequal: No Solution Exploring Operation: 98/7=14, Resulting Numbers: [14] 14,79 unequal: No Solution Exploring Operation: 98+7=105, Resulting Numbers: [105] 105,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,0 Current State: 79:[98, 173], Operations: ['49*2=98', '90+83=173'] Exploring Operation: 173-98=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 98+173=271, Resulting Numbers: [271] 271,79 unequal: No Solution Exploring Operation: 98*173=16954, Resulting Numbers: [16954] 16954,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,0 Current State: 79:[49, 83, 88], Operations: ['90-2=88'] Exploring Operation: 88-49=39, Resulting Numbers: [83, 39] Generated Node #0,0,0: 79:[83, 39] Operation: 88-49=39 Exploring Operation: 83-49=34, Resulting Numbers: [88, 34] Generated Node #0,0,1: 79:[88, 34] Operation: 83-49=34 Exploring Operation: 49+88=137, Resulting Numbers: [83, 137] Generated Node #0,0,2: 79:[83, 137] Operation: 49+88=137 Exploring Operation: 49+83=132, Resulting Numbers: [88, 132] Generated Node #0,0,3: 79:[88, 132] Operation: 49+83=132 Moving to Node #0,0,0 Current State: 79:[83, 39], Operations: ['90-2=88', '88-49=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[88, 34], Operations: ['90-2=88', '83-49=34'] Exploring Operation: 88+34=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 88*34=2992, Resulting Numbers: [2992] 2992,79 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[88, 132], Operations: ['90-2=88', '49+83=132'] Exploring Operation: 88*132=11616, Resulting Numbers: [11616] 11616,79 unequal: No Solution Exploring Operation: 88+132=220, Resulting Numbers: [220] 220,79 unequal: No Solution Exploring Operation: 132-88=44, Resulting Numbers: [44] 44,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[83, 137], Operations: ['90-2=88', '49+88=137'] Exploring Operation: 83+137=220, Resulting Numbers: [220] 220,79 unequal: No Solution Exploring Operation: 137-83=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 83*137=11371, Resulting Numbers: [11371] 11371,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[90, 83, 51], Operations: ['49+2=51'] Exploring Operation: 90-51=39, Resulting Numbers: [83, 39] Generated Node #0,2,0: 79:[83, 39] Operation: 90-51=39 Exploring Operation: 83-51=32, Resulting Numbers: [90, 32] Generated Node #0,2,1: 79:[90, 32] Operation: 83-51=32 Exploring Operation: 83+51=134, Resulting Numbers: [90, 134] Generated Node #0,2,2: 79:[90, 134] Operation: 83+51=134 Exploring Operation: 90+51=141, Resulting Numbers: [83, 141] Generated Node #0,2,3: 79:[83, 141] Operation: 90+51=141 Moving to Node #0,2,0 Current State: 79:[83, 39], Operations: ['49+2=51', '90-51=39'] Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 83*39=3237, Resulting Numbers: [3237] 3237,79 unequal: No Solution Exploring Operation: 83+39=122, Resulting Numbers: [122] 122,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[90, 32], Operations: ['49+2=51', '83-51=32'] Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,79 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,79 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[83, 141], Operations: ['49+2=51', '90+51=141'] Exploring Operation: 83*141=11703, Resulting Numbers: [11703] 11703,79 unequal: No Solution Exploring Operation: 141-83=58, Resulting Numbers: [58] 58,79 unequal: No Solution Exploring Operation: 83+141=224, Resulting Numbers: [224] 224,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[90, 134], Operations: ['49+2=51', '83+51=134'] Exploring Operation: 90+134=224, Resulting Numbers: [224] 224,79 unequal: No Solution Exploring Operation: 134-90=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 90*134=12060, Resulting Numbers: [12060] 12060,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,3 Current State: 79:[49, 90, 81], Operations: ['83-2=81'] Exploring Operation: 49+81=130, Resulting Numbers: [90, 130] Generated Node #0,3,0: 79:[90, 130] Operation: 49+81=130 Exploring Operation: 49+90=139, Resulting Numbers: [81, 139] Generated Node #0,3,1: 79:[81, 139] Operation: 49+90=139 Exploring Operation: 90-49=41, Resulting Numbers: [81, 41] Generated Node #0,3,2: 79:[81, 41] Operation: 90-49=41 Exploring Operation: 81-49=32, Resulting Numbers: [90, 32] Generated Node #0,3,3: 79:[90, 32] Operation: 81-49=32 Moving to Node #0,3,2 Current State: 79:[81, 41], Operations: ['83-2=81', '90-49=41'] Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 81+41=122, Resulting Numbers: [122] 122,79 unequal: No Solution Exploring Operation: 81*41=3321, Resulting Numbers: [3321] 3321,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[90, 32], Operations: ['83-2=81', '81-49=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,79 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,79 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[81, 139], Operations: ['83-2=81', '49+90=139'] Exploring Operation: 81+139=220, Resulting Numbers: [220] 220,79 unequal: No Solution Exploring Operation: 139-81=58, Resulting Numbers: [58] 58,79 unequal: No Solution Exploring Operation: 81*139=11259, Resulting Numbers: [11259] 11259,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[90, 130], Operations: ['83-2=81', '49+81=130'] Exploring Operation: 130-90=40, Resulting Numbers: [40] 40,79 unequal: No Solution Exploring Operation: 90+130=220, Resulting Numbers: [220] 220,79 unequal: No Solution Exploring Operation: 90*130=11700, Resulting Numbers: [11700] 11700,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 34, 14, 17, 98 ]
58
[ "34+17=51", "98/14=7", "51+7=58" ]
Current State: 58:[34, 14, 17, 98], Operations: [] Exploring Operation: 34+17=51, Resulting Numbers: [14, 98, 51] Generated Node #2: [14, 98, 51] from Operation: 34+17=51 Current State: 58:[14, 98, 51], Operations: ['34+17=51'] Exploring Operation: 98/14=7, Resulting Numbers: [51, 7] Generated Node #3: [51, 7] from Operation: 98/14=7 Current State: 58:[51, 7], Operations: ['34+17=51', '98/14=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[34, 14, 17, 98], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [34, 17, 7] Generated Node #0,0: 58:[34, 17, 7] Operation: 98/14=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[34, 17, 7], Operations: ['98/14=7'] Exploring Operation: 34/17=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 58:[7, 2] Operation: 34/17=2 Moving to Node #0,0,0 Current State: 58:[7, 2], Operations: ['98/14=7', '34/17=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 59, 3, 99, 86 ]
98
[ "99-86=13", "3*13=39", "59+39=98" ]
Current State: 98:[59, 3, 99, 86], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [59, 3, 13] Generated Node #2: [59, 3, 13] from Operation: 99-86=13 Current State: 98:[59, 3, 13], Operations: ['99-86=13'] Exploring Operation: 3*13=39, Resulting Numbers: [59, 39] Generated Node #3: [59, 39] from Operation: 3*13=39 Current State: 98:[59, 39], Operations: ['99-86=13', '3*13=39'] Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[59, 3, 99, 86], Operations: [] Exploring Operation: 59-3=56, Resulting Numbers: [99, 86, 56] Generated Node #0,0: 98:[99, 86, 56] Operation: 59-3=56 Exploring Operation: 99-86=13, Resulting Numbers: [59, 3, 13] Generated Node #0,1: 98:[59, 3, 13] Operation: 99-86=13 Exploring Operation: 86-59=27, Resulting Numbers: [3, 99, 27] Generated Node #0,2: 98:[3, 99, 27] Operation: 86-59=27 Moving to Node #0,1 Current State: 98:[59, 3, 13], Operations: ['99-86=13'] Exploring Operation: 59-3=56, Resulting Numbers: [13, 56] Generated Node #0,1,0: 98:[13, 56] Operation: 59-3=56 Exploring Operation: 59-13=46, Resulting Numbers: [3, 46] Generated Node #0,1,1: 98:[3, 46] Operation: 59-13=46 Exploring Operation: 3+13=16, Resulting Numbers: [59, 16] Generated Node #0,1,2: 98:[59, 16] Operation: 3+13=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[3, 46], Operations: ['99-86=13', '59-13=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,98 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 3+46=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,0 Current State: 98:[13, 56], Operations: ['99-86=13', '59-3=56'] Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[59, 16], Operations: ['99-86=13', '3+13=16'] Exploring Operation: 59+16=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 59*16=944, Resulting Numbers: [944] 944,98 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: 98:[3, 99, 27], Operations: ['86-59=27'] Exploring Operation: 27/3=9, Resulting Numbers: [99, 9] Generated Node #0,2,0: 98:[99, 9] Operation: 27/3=9 Exploring Operation: 99-3=96, Resulting Numbers: [27, 96] Generated Node #0,2,1: 98:[27, 96] Operation: 99-3=96 Exploring Operation: 27-3=24, Resulting Numbers: [99, 24] Generated Node #0,2,2: 98:[99, 24] Operation: 27-3=24 Moving to Node #0,0 Current State: 98:[99, 86, 56], Operations: ['59-3=56'] Exploring Operation: 86-56=30, Resulting Numbers: [99, 30] Generated Node #0,0,0: 98:[99, 30] Operation: 86-56=30 Exploring Operation: 99-56=43, Resulting Numbers: [86, 43] Generated Node #0,0,1: 98:[86, 43] Operation: 99-56=43 Exploring Operation: 99-86=13, Resulting Numbers: [56, 13] Generated Node #0,0,2: 98:[56, 13] Operation: 99-86=13 Moving to Node #0,2,0 Current State: 98:[99, 9], Operations: ['86-59=27', '27/3=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,98 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,98 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[56, 13], Operations: ['59-3=56', '99-86=13'] Exploring Operation: 56*13=728, Resulting Numbers: [728] 728,98 unequal: No Solution Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 56+13=69, Resulting Numbers: [69] 69,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[99, 24], Operations: ['86-59=27', '27-3=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,98 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,98 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[27, 96], Operations: ['86-59=27', '99-3=96'] Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,98 unequal: No Solution Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[99, 30], Operations: ['59-3=56', '86-56=30'] Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,98 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,98 unequal: No Solution Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[86, 43], Operations: ['59-3=56', '99-56=43'] Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,98 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,98 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 64, 93, 44, 28 ]
45
[ "93-64=29", "44-28=16", "29+16=45" ]
Current State: 45:[64, 93, 44, 28], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [44, 28, 29] Generated Node #2: [44, 28, 29] from Operation: 93-64=29 Current State: 45:[44, 28, 29], Operations: ['93-64=29'] Exploring Operation: 44-28=16, Resulting Numbers: [29, 16] Generated Node #3: [29, 16] from Operation: 44-28=16 Current State: 45:[29, 16], Operations: ['93-64=29', '44-28=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[64, 93, 44, 28], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [93, 44, 36] Generated Node #0,0: 45:[93, 44, 36] Operation: 64-28=36 Exploring Operation: 93-28=65, Resulting Numbers: [64, 44, 65] Generated Node #0,1: 45:[64, 44, 65] Operation: 93-28=65 Exploring Operation: 93-44=49, Resulting Numbers: [64, 28, 49] Generated Node #0,2: 45:[64, 28, 49] Operation: 93-44=49 Exploring Operation: 64-44=20, Resulting Numbers: [93, 28, 20] Generated Node #0,3: 45:[93, 28, 20] Operation: 64-44=20 Exploring Operation: 93-64=29, Resulting Numbers: [44, 28, 29] Generated Node #0,4: 45:[44, 28, 29] Operation: 93-64=29 Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[44, 28, 29], Operations: ['93-64=29'] Exploring Operation: 44+28=72, Resulting Numbers: [29, 72] Generated Node #0,4,0: 45:[29, 72] Operation: 44+28=72 Exploring Operation: 44-28=16, Resulting Numbers: [29, 16] Generated Node #0,4,1: 45:[29, 16] Operation: 44-28=16 Exploring Operation: 28+29=57, Resulting Numbers: [44, 57] Generated Node #0,4,2: 45:[44, 57] Operation: 28+29=57 Exploring Operation: 44-29=15, Resulting Numbers: [28, 15] Generated Node #0,4,3: 45:[28, 15] Operation: 44-29=15 Exploring Operation: 29-28=1, Resulting Numbers: [44, 1] Generated Node #0,4,4: 45:[44, 1] Operation: 29-28=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 45:[44, 1], Operations: ['93-64=29', '29-28=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[64, 93, 44, 28], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [44, 28, 29] Generated Node #0,4: 45:[44, 28, 29] Operation: 93-64=29 Moving to Node #0,4 Current State: 45:[44, 28, 29], Operations: ['93-64=29'] Exploring Operation: 29-28=1, Resulting Numbers: [44, 1] Generated Node #0,4,4: 45:[44, 1] Operation: 29-28=1 Moving to Node #0,4,4 Current State: 45:[44, 1], Operations: ['93-64=29', '29-28=1'] Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 20, 14, 14, 33 ]
53
[ "20+14=34", "33-14=19", "34+19=53" ]
Current State: 53:[20, 14, 14, 33], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [33, 34] Generated Node #2: [33, 34] from Operation: 20+14=34 Current State: 53:[33, 34], Operations: ['20+14=34'] Exploring Operation: 33-14=19, Resulting Numbers: [34, 19] Generated Node #3: [34, 19] from Operation: 33-14=19 Current State: 53:[34, 19], Operations: ['20+14=34', '33-14=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[20, 14, 14, 33], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [14, 33, 34] Generated Node #0,0: 53:[14, 33, 34] Operation: 20+14=34 Exploring Operation: 20+14=34, Resulting Numbers: [14, 33, 34] Generated Node #0,1: 53:[14, 33, 34] Operation: 20+14=34 Moving to Node #0,0 Current State: 53:[14, 33, 34], Operations: ['20+14=34'] Exploring Operation: 14+33=47, Resulting Numbers: [34, 47] Generated Node #0,0,0: 53:[34, 47] Operation: 14+33=47 Exploring Operation: 14+34=48, Resulting Numbers: [33, 48] Generated Node #0,0,1: 53:[33, 48] Operation: 14+34=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[34, 47], Operations: ['20+14=34', '14+33=47'] Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[33, 48], Operations: ['20+14=34', '14+34=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[14, 33, 34], Operations: ['20+14=34'] Exploring Operation: 14+33=47, Resulting Numbers: [34, 47] Generated Node #0,1,0: 53:[34, 47] Operation: 14+33=47 Exploring Operation: 14+34=48, Resulting Numbers: [33, 48] Generated Node #0,1,1: 53:[33, 48] Operation: 14+34=48 Moving to Node #0,1,0 Current State: 53:[34, 47], Operations: ['20+14=34', '14+33=47'] Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,53 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[33, 48], Operations: ['20+14=34', '14+34=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,53 unequal: No Solution Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,53 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 83, 52, 32, 63 ]
63
[ "83-52=31", "32-31=1", "63*1=63" ]
Current State: 63:[83, 52, 32, 63], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [32, 63, 31] Generated Node #2: [32, 63, 31] from Operation: 83-52=31 Current State: 63:[32, 63, 31], Operations: ['83-52=31'] Exploring Operation: 32-31=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 32-31=1 Current State: 63:[63, 1], Operations: ['83-52=31', '32-31=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[83, 52, 32, 63], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [52, 63, 51] Generated Node #0,0: 63:[52, 63, 51] Operation: 83-32=51 Exploring Operation: 83-52=31, Resulting Numbers: [32, 63, 31] Generated Node #0,1: 63:[32, 63, 31] Operation: 83-52=31 Exploring Operation: 52-32=20, Resulting Numbers: [83, 63, 20] Generated Node #0,2: 63:[83, 63, 20] Operation: 52-32=20 Exploring Operation: 83-63=20, Resulting Numbers: [52, 32, 20] Generated Node #0,3: 63:[52, 32, 20] Operation: 83-63=20 Moving to Node #0,1 Current State: 63:[32, 63, 31], Operations: ['83-52=31'] Exploring Operation: 32+31=63, Resulting Numbers: [63, 63] Generated Node #0,1,0: 63:[63, 63] Operation: 32+31=63 Exploring Operation: 32-31=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 63:[63, 1] Operation: 32-31=1 Exploring Operation: 63-32=31, Resulting Numbers: [31, 31] Generated Node #0,1,2: 63:[31, 31] Operation: 63-32=31 Exploring Operation: 63-31=32, Resulting Numbers: [32, 32] Generated Node #0,1,3: 63:[32, 32] Operation: 63-31=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[63, 63], Operations: ['83-52=31', '32+31=63'] Exploring Operation: 63-63=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 63+63=126, Resulting Numbers: [126] 126,63 unequal: No Solution Exploring Operation: 63*63=3969, Resulting Numbers: [3969] 3969,63 unequal: No Solution Exploring Operation: 63/63=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[63, 1], Operations: ['83-52=31', '32-31=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[83, 52, 32, 63], Operations: [] Exploring Operation: 83-52=31, Resulting Numbers: [32, 63, 31] Generated Node #0,1: 63:[32, 63, 31] Operation: 83-52=31 Moving to Node #0,1 Current State: 63:[32, 63, 31], Operations: ['83-52=31'] Exploring Operation: 32-31=1, Resulting Numbers: [63, 1] Generated Node #0,1,1: 63:[63, 1] Operation: 32-31=1 Moving to Node #0,1,1 Current State: 63:[63, 1], Operations: ['83-52=31', '32-31=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 97, 47, 18, 3 ]
30
[ "97+47=144", "144/3=48", "48-18=30" ]
Current State: 30:[97, 47, 18, 3], Operations: [] Exploring Operation: 97+47=144, Resulting Numbers: [18, 3, 144] Generated Node #2: [18, 3, 144] from Operation: 97+47=144 Current State: 30:[18, 3, 144], Operations: ['97+47=144'] Exploring Operation: 144/3=48, Resulting Numbers: [18, 48] Generated Node #3: [18, 48] from Operation: 144/3=48 Current State: 30:[18, 48], Operations: ['97+47=144', '144/3=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[97, 47, 18, 3], Operations: [] Exploring Operation: 97-47=50, Resulting Numbers: [18, 3, 50] Generated Node #0,0: 30:[18, 3, 50] Operation: 97-47=50 Exploring Operation: 97-18=79, Resulting Numbers: [47, 3, 79] Generated Node #0,1: 30:[47, 3, 79] Operation: 97-18=79 Moving to Node #0,0 Current State: 30:[18, 3, 50], Operations: ['97-47=50'] Exploring Operation: 18-3=15, Resulting Numbers: [50, 15] Generated Node #0,0,0: 30:[50, 15] Operation: 18-3=15 Exploring Operation: 50-18=32, Resulting Numbers: [3, 32] Generated Node #0,0,1: 30:[3, 32] Operation: 50-18=32 Moving to Node #0,1 Current State: 30:[47, 3, 79], Operations: ['97-18=79'] Exploring Operation: 47-3=44, Resulting Numbers: [79, 44] Generated Node #0,1,0: 30:[79, 44] Operation: 47-3=44 Exploring Operation: 79-47=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 30:[3, 32] Operation: 79-47=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[3, 32], Operations: ['97-18=79', '79-47=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,30 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[79, 44], Operations: ['97-18=79', '47-3=44'] Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,30 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: 30:[3, 32], Operations: ['97-47=50', '50-18=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[50, 15], Operations: ['97-47=50', '18-3=15'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,30 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 72, 70, 58, 6 ]
26
[ "72-70=2", "58-6=52", "52/2=26" ]
Current State: 26:[72, 70, 58, 6], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [58, 6, 2] Generated Node #2: [58, 6, 2] from Operation: 72-70=2 Current State: 26:[58, 6, 2], Operations: ['72-70=2'] Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #3: [2, 52] from Operation: 58-6=52 Current State: 26:[2, 52], Operations: ['72-70=2', '58-6=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[72, 70, 58, 6], Operations: [] Exploring Operation: 72-58=14, Resulting Numbers: [70, 6, 14] Generated Node #0,0: 26:[70, 6, 14] Operation: 72-58=14 Exploring Operation: 70-58=12, Resulting Numbers: [72, 6, 12] Generated Node #0,1: 26:[72, 6, 12] Operation: 70-58=12 Exploring Operation: 72-70=2, Resulting Numbers: [58, 6, 2] Generated Node #0,2: 26:[58, 6, 2] Operation: 72-70=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[58, 6, 2], Operations: ['72-70=2'] Exploring Operation: 58/2=29, Resulting Numbers: [6, 29] Generated Node #0,2,0: 26:[6, 29] Operation: 58/2=29 Exploring Operation: 6*2=12, Resulting Numbers: [58, 12] Generated Node #0,2,1: 26:[58, 12] Operation: 6*2=12 Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #0,2,2: 26:[2, 52] Operation: 58-6=52 Moving to Node #0,2,0 Current State: 26:[6, 29], Operations: ['72-70=2', '58/2=29'] Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[2, 52], Operations: ['72-70=2', '58-6=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,26 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[72, 70, 58, 6], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [58, 6, 2] Generated Node #0,2: 26:[58, 6, 2] Operation: 72-70=2 Moving to Node #0,2 Current State: 26:[58, 6, 2], Operations: ['72-70=2'] Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #0,2,2: 26:[2, 52] Operation: 58-6=52 Moving to Node #0,2,2 Current State: 26:[2, 52], Operations: ['72-70=2', '58-6=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 73, 5, 58, 92 ]
44
[ "73+5=78", "92-58=34", "78-34=44" ]
Current State: 44:[73, 5, 58, 92], Operations: [] Exploring Operation: 73+5=78, Resulting Numbers: [58, 92, 78] Generated Node #2: [58, 92, 78] from Operation: 73+5=78 Current State: 44:[58, 92, 78], Operations: ['73+5=78'] Exploring Operation: 92-58=34, Resulting Numbers: [78, 34] Generated Node #3: [78, 34] from Operation: 92-58=34 Current State: 44:[78, 34], Operations: ['73+5=78', '92-58=34'] Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[73, 5, 58, 92], Operations: [] Exploring Operation: 73-5=68, Resulting Numbers: [58, 92, 68] Generated Node #0,0: 44:[58, 92, 68] Operation: 73-5=68 Exploring Operation: 73-58=15, Resulting Numbers: [5, 92, 15] Generated Node #0,1: 44:[5, 92, 15] Operation: 73-58=15 Exploring Operation: 92-73=19, Resulting Numbers: [5, 58, 19] Generated Node #0,2: 44:[5, 58, 19] Operation: 92-73=19 Exploring Operation: 92-58=34, Resulting Numbers: [73, 5, 34] Generated Node #0,3: 44:[73, 5, 34] Operation: 92-58=34 Exploring Operation: 58-5=53, Resulting Numbers: [73, 92, 53] Generated Node #0,4: 44:[73, 92, 53] Operation: 58-5=53 Moving to Node #0,2 Current State: 44:[5, 58, 19], Operations: ['92-73=19'] Exploring Operation: 58-5=53, Resulting Numbers: [19, 53] Generated Node #0,2,0: 44:[19, 53] Operation: 58-5=53 Exploring Operation: 19-5=14, Resulting Numbers: [58, 14] Generated Node #0,2,1: 44:[58, 14] Operation: 19-5=14 Exploring Operation: 5+19=24, Resulting Numbers: [58, 24] Generated Node #0,2,2: 44:[58, 24] Operation: 5+19=24 Exploring Operation: 5+58=63, Resulting Numbers: [19, 63] Generated Node #0,2,3: 44:[19, 63] Operation: 5+58=63 Exploring Operation: 58-19=39, Resulting Numbers: [5, 39] Generated Node #0,2,4: 44:[5, 39] Operation: 58-19=39 Moving to Node #0,3 Current State: 44:[73, 5, 34], Operations: ['92-58=34'] Exploring Operation: 73-34=39, Resulting Numbers: [5, 39] Generated Node #0,3,0: 44:[5, 39] Operation: 73-34=39 Exploring Operation: 73-5=68, Resulting Numbers: [34, 68] Generated Node #0,3,1: 44:[34, 68] Operation: 73-5=68 Exploring Operation: 5+34=39, Resulting Numbers: [73, 39] Generated Node #0,3,2: 44:[73, 39] Operation: 5+34=39 Exploring Operation: 73+5=78, Resulting Numbers: [34, 78] Generated Node #0,3,3: 44:[34, 78] Operation: 73+5=78 Exploring Operation: 34-5=29, Resulting Numbers: [73, 29] Generated Node #0,3,4: 44:[73, 29] Operation: 34-5=29 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 44:[5, 39], Operations: ['92-58=34', '73-34=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[73, 5, 58, 92], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [73, 5, 34] Generated Node #0,3: 44:[73, 5, 34] Operation: 92-58=34 Moving to Node #0,3 Current State: 44:[73, 5, 34], Operations: ['92-58=34'] Exploring Operation: 73-34=39, Resulting Numbers: [5, 39] Generated Node #0,3,0: 44:[5, 39] Operation: 73-34=39 Moving to Node #0,3,0 Current State: 44:[5, 39], Operations: ['92-58=34', '73-34=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 82, 72, 22, 26 ]
40
[ "82-72=10", "26-22=4", "10*4=40" ]
Current State: 40:[82, 72, 22, 26], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [22, 26, 10] Generated Node #2: [22, 26, 10] from Operation: 82-72=10 Current State: 40:[22, 26, 10], Operations: ['82-72=10'] Exploring Operation: 26-22=4, Resulting Numbers: [10, 4] Generated Node #3: [10, 4] from Operation: 26-22=4 Current State: 40:[10, 4], Operations: ['82-72=10', '26-22=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[82, 72, 22, 26], Operations: [] Exploring Operation: 82-22=60, Resulting Numbers: [72, 26, 60] Generated Node #0,0: 40:[72, 26, 60] Operation: 82-22=60 Exploring Operation: 72-26=46, Resulting Numbers: [82, 22, 46] Generated Node #0,1: 40:[82, 22, 46] Operation: 72-26=46 Exploring Operation: 82-26=56, Resulting Numbers: [72, 22, 56] Generated Node #0,2: 40:[72, 22, 56] Operation: 82-26=56 Exploring Operation: 82-72=10, Resulting Numbers: [22, 26, 10] Generated Node #0,3: 40:[22, 26, 10] Operation: 82-72=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 40:[22, 26, 10], Operations: ['82-72=10'] Exploring Operation: 22+26=48, Resulting Numbers: [10, 48] Generated Node #0,3,0: 40:[10, 48] Operation: 22+26=48 Exploring Operation: 26+10=36, Resulting Numbers: [22, 36] Generated Node #0,3,1: 40:[22, 36] Operation: 26+10=36 Exploring Operation: 26-10=16, Resulting Numbers: [22, 16] Generated Node #0,3,2: 40:[22, 16] Operation: 26-10=16 Exploring Operation: 26-22=4, Resulting Numbers: [10, 4] Generated Node #0,3,3: 40:[10, 4] Operation: 26-22=4 Moving to Node #0,3,3 Current State: 40:[10, 4], Operations: ['82-72=10', '26-22=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[82, 72, 22, 26], Operations: [] Exploring Operation: 82-72=10, Resulting Numbers: [22, 26, 10] Generated Node #0,3: 40:[22, 26, 10] Operation: 82-72=10 Moving to Node #0,3 Current State: 40:[22, 26, 10], Operations: ['82-72=10'] Exploring Operation: 26-22=4, Resulting Numbers: [10, 4] Generated Node #0,3,3: 40:[10, 4] Operation: 26-22=4 Moving to Node #0,3,3 Current State: 40:[10, 4], Operations: ['82-72=10', '26-22=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 33, 34, 55, 41 ]
96
[ "34-33=1", "55+41=96", "1*96=96" ]
Current State: 96:[33, 34, 55, 41], Operations: [] Exploring Operation: 34-33=1, Resulting Numbers: [55, 41, 1] Generated Node #2: [55, 41, 1] from Operation: 34-33=1 Current State: 96:[55, 41, 1], Operations: ['34-33=1'] Exploring Operation: 55+41=96, Resulting Numbers: [1, 96] Generated Node #3: [1, 96] from Operation: 55+41=96 Current State: 96:[1, 96], Operations: ['34-33=1', '55+41=96'] Exploring Operation: 1*96=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[33, 34, 55, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [33, 55, 7] Generated Node #0,0: 96:[33, 55, 7] Operation: 41-34=7 Exploring Operation: 55+41=96, Resulting Numbers: [33, 34, 96] Generated Node #0,1: 96:[33, 34, 96] Operation: 55+41=96 Exploring Operation: 55-33=22, Resulting Numbers: [34, 41, 22] Generated Node #0,2: 96:[34, 41, 22] Operation: 55-33=22 Exploring Operation: 41-33=8, Resulting Numbers: [34, 55, 8] Generated Node #0,3: 96:[34, 55, 8] Operation: 41-33=8 Exploring Operation: 55-41=14, Resulting Numbers: [33, 34, 14] Generated Node #0,4: 96:[33, 34, 14] Operation: 55-41=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[33, 34, 96], Operations: ['55+41=96'] Exploring Operation: 96-34=62, Resulting Numbers: [33, 62] Generated Node #0,1,0: 96:[33, 62] Operation: 96-34=62 Exploring Operation: 33+34=67, Resulting Numbers: [96, 67] Generated Node #0,1,1: 96:[96, 67] Operation: 33+34=67 Exploring Operation: 33+96=129, Resulting Numbers: [34, 129] Generated Node #0,1,2: 96:[34, 129] Operation: 33+96=129 Exploring Operation: 96-33=63, Resulting Numbers: [34, 63] Generated Node #0,1,3: 96:[34, 63] Operation: 96-33=63 Exploring Operation: 34-33=1, Resulting Numbers: [96, 1] Generated Node #0,1,4: 96:[96, 1] Operation: 34-33=1 Moving to Node #0,1,4 Current State: 96:[96, 1], Operations: ['55+41=96', '34-33=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[33, 34, 55, 41], Operations: [] Exploring Operation: 55+41=96, Resulting Numbers: [33, 34, 96] Generated Node #0,1: 96:[33, 34, 96] Operation: 55+41=96 Moving to Node #0,1 Current State: 96:[33, 34, 96], Operations: ['55+41=96'] Exploring Operation: 34-33=1, Resulting Numbers: [96, 1] Generated Node #0,1,4: 96:[96, 1] Operation: 34-33=1 Moving to Node #0,1,4 Current State: 96:[96, 1], Operations: ['55+41=96', '34-33=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 15, 49, 57, 37 ]
83
[ "57-49=8", "15*8=120", "120-37=83" ]
Current State: 83:[15, 49, 57, 37], Operations: [] Exploring Operation: 57-49=8, Resulting Numbers: [15, 37, 8] Generated Node #2: [15, 37, 8] from Operation: 57-49=8 Current State: 83:[15, 37, 8], Operations: ['57-49=8'] Exploring Operation: 15*8=120, Resulting Numbers: [37, 120] Generated Node #3: [37, 120] from Operation: 15*8=120 Current State: 83:[37, 120], Operations: ['57-49=8', '15*8=120'] Exploring Operation: 120-37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 49, 57, 37], Operations: [] Exploring Operation: 49+37=86, Resulting Numbers: [15, 57, 86] Generated Node #0,0: 83:[15, 57, 86] Operation: 49+37=86 Exploring Operation: 15+57=72, Resulting Numbers: [49, 37, 72] Generated Node #0,1: 83:[49, 37, 72] Operation: 15+57=72 Exploring Operation: 15+37=52, Resulting Numbers: [49, 57, 52] Generated Node #0,2: 83:[49, 57, 52] Operation: 15+37=52 Exploring Operation: 15+49=64, Resulting Numbers: [57, 37, 64] Generated Node #0,3: 83:[57, 37, 64] Operation: 15+49=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[49, 37, 72], Operations: ['15+57=72'] Exploring Operation: 37+72=109, Resulting Numbers: [49, 109] Generated Node #0,1,0: 83:[49, 109] Operation: 37+72=109 Exploring Operation: 49+37=86, Resulting Numbers: [72, 86] Generated Node #0,1,1: 83:[72, 86] Operation: 49+37=86 Exploring Operation: 49-37=12, Resulting Numbers: [72, 12] Generated Node #0,1,2: 83:[72, 12] Operation: 49-37=12 Exploring Operation: 72-37=35, Resulting Numbers: [49, 35] Generated Node #0,1,3: 83:[49, 35] Operation: 72-37=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[72, 86], Operations: ['15+57=72', '49+37=86'] Exploring Operation: 72*86=6192, Resulting Numbers: [6192] 6192,83 unequal: No Solution Exploring Operation: 72+86=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,83 unequal: No Solution No 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: 83:[49, 109], Operations: ['15+57=72', '37+72=109'] Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution No 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: 83:[72, 12], Operations: ['15+57=72', '49-37=12'] Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,83 unequal: No Solution Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,83 unequal: No Solution No 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: 83:[49, 35], Operations: ['15+57=72', '72-37=35'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,83 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[49, 57, 52], Operations: ['15+37=52'] Exploring Operation: 57-49=8, Resulting Numbers: [52, 8] Generated Node #0,2,0: 83:[52, 8] Operation: 57-49=8 Exploring Operation: 57+52=109, Resulting Numbers: [49, 109] Generated Node #0,2,1: 83:[49, 109] Operation: 57+52=109 Exploring Operation: 49+52=101, Resulting Numbers: [57, 101] Generated Node #0,2,2: 83:[57, 101] Operation: 49+52=101 Exploring Operation: 49+57=106, Resulting Numbers: [52, 106] Generated Node #0,2,3: 83:[52, 106] Operation: 49+57=106 Moving to Node #0,2,2 Current State: 83:[57, 101], Operations: ['15+37=52', '49+52=101'] Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,83 unequal: No Solution Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[52, 106], Operations: ['15+37=52', '49+57=106'] Exploring Operation: 52+106=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 106-52=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 52*106=5512, Resulting Numbers: [5512] 5512,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[49, 109], Operations: ['15+37=52', '57+52=109'] Exploring Operation: 49+109=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 109-49=60, Resulting Numbers: [60] 60,83 unequal: No Solution Exploring Operation: 49*109=5341, Resulting Numbers: [5341] 5341,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[52, 8], Operations: ['15+37=52', '57-49=8'] Exploring Operation: 52*8=416, Resulting Numbers: [416] 416,83 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[57, 37, 64], Operations: ['15+49=64'] Exploring Operation: 57-37=20, Resulting Numbers: [64, 20] Generated Node #0,3,0: 83:[64, 20] Operation: 57-37=20 Exploring Operation: 57+37=94, Resulting Numbers: [64, 94] Generated Node #0,3,1: 83:[64, 94] Operation: 57+37=94 Exploring Operation: 37+64=101, Resulting Numbers: [57, 101] Generated Node #0,3,2: 83:[57, 101] Operation: 37+64=101 Exploring Operation: 64-37=27, Resulting Numbers: [57, 27] Generated Node #0,3,3: 83:[57, 27] Operation: 64-37=27 Moving to Node #0,3,1 Current State: 83:[64, 94], Operations: ['15+49=64', '57+37=94'] Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,83 unequal: No Solution Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[57, 101], Operations: ['15+49=64', '37+64=101'] Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,83 unequal: No Solution Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[57, 27], Operations: ['15+49=64', '64-37=27'] Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,83 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[64, 20], Operations: ['15+49=64', '57-37=20'] Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,83 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,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 Current State: 83:[15, 57, 86], Operations: ['49+37=86'] Exploring Operation: 57-15=42, Resulting Numbers: [86, 42] Generated Node #0,0,0: 83:[86, 42] Operation: 57-15=42 Exploring Operation: 15+57=72, Resulting Numbers: [86, 72] Generated Node #0,0,1: 83:[86, 72] Operation: 15+57=72 Exploring Operation: 15+86=101, Resulting Numbers: [57, 101] Generated Node #0,0,2: 83:[57, 101] Operation: 15+86=101 Exploring Operation: 86-15=71, Resulting Numbers: [57, 71] Generated Node #0,0,3: 83:[57, 71] Operation: 86-15=71 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[86, 72], Operations: ['49+37=86', '15+57=72'] Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 86*72=6192, Resulting Numbers: [6192] 6192,83 unequal: No Solution Exploring Operation: 86+72=158, Resulting Numbers: [158] 158,83 unequal: No Solution No 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: 83:[57, 71], Operations: ['49+37=86', '86-15=71'] Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,83 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,83 unequal: No Solution Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,83 unequal: No Solution No 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: 83:[86, 42], Operations: ['49+37=86', '57-15=42'] Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,83 unequal: No Solution No 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: 83:[57, 101], Operations: ['49+37=86', '15+86=101'] Exploring Operation: 57*101=5757, Resulting Numbers: [5757] 5757,83 unequal: No Solution Exploring Operation: 57+101=158, Resulting Numbers: [158] 158,83 unequal: No Solution Exploring Operation: 101-57=44, Resulting Numbers: [44] 44,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 97, 99, 98, 66 ]
68
[ "97+99=196", "196/98=2", "66+2=68" ]
Current State: 68:[97, 99, 98, 66], Operations: [] Exploring Operation: 97+99=196, Resulting Numbers: [98, 66, 196] Generated Node #2: [98, 66, 196] from Operation: 97+99=196 Current State: 68:[98, 66, 196], Operations: ['97+99=196'] Exploring Operation: 196/98=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 196/98=2 Current State: 68:[66, 2], Operations: ['97+99=196', '196/98=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[97, 99, 98, 66], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [98, 66, 2] Generated Node #0,0: 68:[98, 66, 2] Operation: 99-97=2 Exploring Operation: 98-97=1, Resulting Numbers: [99, 66, 1] Generated Node #0,1: 68:[99, 66, 1] Operation: 98-97=1 Exploring Operation: 99-66=33, Resulting Numbers: [97, 98, 33] Generated Node #0,2: 68:[97, 98, 33] Operation: 99-66=33 Exploring Operation: 99-98=1, Resulting Numbers: [97, 66, 1] Generated Node #0,3: 68:[97, 66, 1] Operation: 99-98=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[98, 66, 2], Operations: ['99-97=2'] Exploring Operation: 98/2=49, Resulting Numbers: [66, 49] Generated Node #0,0,0: 68:[66, 49] Operation: 98/2=49 Exploring Operation: 66+2=68, Resulting Numbers: [98, 68] Generated Node #0,0,1: 68:[98, 68] Operation: 66+2=68 Exploring Operation: 98-66=32, Resulting Numbers: [2, 32] Generated Node #0,0,2: 68:[2, 32] Operation: 98-66=32 Exploring Operation: 98-2=96, Resulting Numbers: [66, 96] Generated Node #0,0,3: 68:[66, 96] Operation: 98-2=96 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[2, 32], Operations: ['99-97=2', '98-66=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,68 unequal: No Solution No 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: 68:[66, 49], Operations: ['99-97=2', '98/2=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,68 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,68 unequal: No Solution No 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: 68:[98, 68], Operations: ['99-97=2', '66+2=68'] Exploring Operation: 98*68=6664, Resulting Numbers: [6664] 6664,68 unequal: No Solution Exploring Operation: 98+68=166, Resulting Numbers: [166] 166,68 unequal: No Solution Exploring Operation: 98-68=30, Resulting Numbers: [30] 30,68 unequal: No Solution No 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: 68:[66, 96], Operations: ['99-97=2', '98-2=96'] Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,68 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,68 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,68 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: 68:[97, 66, 1], Operations: ['99-98=1'] Exploring Operation: 97*1=97, Resulting Numbers: [66, 97] Generated Node #0,3,0: 68:[66, 97] Operation: 97*1=97 Exploring Operation: 66+1=67, Resulting Numbers: [97, 67] Generated Node #0,3,1: 68:[97, 67] Operation: 66+1=67 Exploring Operation: 97-66=31, Resulting Numbers: [1, 31] Generated Node #0,3,2: 68:[1, 31] Operation: 97-66=31 Exploring Operation: 97-1=96, Resulting Numbers: [66, 96] Generated Node #0,3,3: 68:[66, 96] Operation: 97-1=96 Moving to Node #0,3,2 Current State: 68:[1, 31], Operations: ['99-98=1', '97-66=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,68 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[66, 96], Operations: ['99-98=1', '97-1=96'] Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,68 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,68 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[97, 67], Operations: ['99-98=1', '66+1=67'] Exploring Operation: 97-67=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 97+67=164, Resulting Numbers: [164] 164,68 unequal: No Solution Exploring Operation: 97*67=6499, Resulting Numbers: [6499] 6499,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[66, 97], Operations: ['99-98=1', '97*1=97'] Exploring Operation: 66+97=163, Resulting Numbers: [163] 163,68 unequal: No Solution Exploring Operation: 66*97=6402, Resulting Numbers: [6402] 6402,68 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[99, 66, 1], Operations: ['98-97=1'] Exploring Operation: 66+1=67, Resulting Numbers: [99, 67] Generated Node #0,1,0: 68:[99, 67] Operation: 66+1=67 Exploring Operation: 99*1=99, Resulting Numbers: [66, 99] Generated Node #0,1,1: 68:[66, 99] Operation: 99*1=99 Exploring Operation: 99-66=33, Resulting Numbers: [1, 33] Generated Node #0,1,2: 68:[1, 33] Operation: 99-66=33 Exploring Operation: 99-1=98, Resulting Numbers: [66, 98] Generated Node #0,1,3: 68:[66, 98] Operation: 99-1=98 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[1, 33], Operations: ['98-97=1', '99-66=33'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,68 unequal: No Solution No 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: 68:[99, 67], Operations: ['98-97=1', '66+1=67'] Exploring Operation: 99*67=6633, Resulting Numbers: [6633] 6633,68 unequal: No Solution Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 99+67=166, Resulting Numbers: [166] 166,68 unequal: No Solution No 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: 68:[66, 98], Operations: ['98-97=1', '99-1=98'] Exploring Operation: 66+98=164, Resulting Numbers: [164] 164,68 unequal: No Solution Exploring Operation: 66*98=6468, Resulting Numbers: [6468] 6468,68 unequal: No Solution Exploring Operation: 98-66=32, Resulting Numbers: [32] 32,68 unequal: No Solution No 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: 68:[66, 99], Operations: ['98-97=1', '99*1=99'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 66+99=165, Resulting Numbers: [165] 165,68 unequal: No Solution Exploring Operation: 66*99=6534, Resulting Numbers: [6534] 6534,68 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: 68:[97, 98, 33], Operations: ['99-66=33'] Exploring Operation: 98-97=1, Resulting Numbers: [33, 1] Generated Node #0,2,0: 68:[33, 1] Operation: 98-97=1 Exploring Operation: 98-33=65, Resulting Numbers: [97, 65] Generated Node #0,2,1: 68:[97, 65] Operation: 98-33=65 Exploring Operation: 97-33=64, Resulting Numbers: [98, 64] Generated Node #0,2,2: 68:[98, 64] Operation: 97-33=64 Exploring Operation: 97+33=130, Resulting Numbers: [98, 130] Generated Node #0,2,3: 68:[98, 130] Operation: 97+33=130 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[33, 1], Operations: ['99-66=33', '98-97=1'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,68 unequal: No Solution No 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: 68:[97, 65], Operations: ['99-66=33', '98-33=65'] Exploring Operation: 97-65=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 97*65=6305, Resulting Numbers: [6305] 6305,68 unequal: No Solution Exploring Operation: 97+65=162, Resulting Numbers: [162] 162,68 unequal: No Solution No 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: 68:[98, 64], Operations: ['99-66=33', '97-33=64'] Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,68 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,68 unequal: No Solution No 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: 68:[98, 130], Operations: ['99-66=33', '97+33=130'] Exploring Operation: 98+130=228, Resulting Numbers: [228] 228,68 unequal: No Solution Exploring Operation: 98*130=12740, Resulting Numbers: [12740] 12740,68 unequal: No Solution Exploring Operation: 130-98=32, Resulting Numbers: [32] 32,68 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
[ 25, 1, 14, 74 ]
86
[ "25+1=26", "74-14=60", "26+60=86" ]
Current State: 86:[25, 1, 14, 74], Operations: [] Exploring Operation: 25+1=26, Resulting Numbers: [14, 74, 26] Generated Node #2: [14, 74, 26] from Operation: 25+1=26 Current State: 86:[14, 74, 26], Operations: ['25+1=26'] Exploring Operation: 74-14=60, Resulting Numbers: [26, 60] Generated Node #3: [26, 60] from Operation: 74-14=60 Current State: 86:[26, 60], Operations: ['25+1=26', '74-14=60'] Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[25, 1, 14, 74], Operations: [] Exploring Operation: 25+14=39, Resulting Numbers: [1, 74, 39] Generated Node #0,0: 86:[1, 74, 39] Operation: 25+14=39 Moving to Node #0,0 Current State: 86:[1, 74, 39], Operations: ['25+14=39'] Exploring Operation: 74-39=35, Resulting Numbers: [1, 35] Generated Node #0,0,0: 86:[1, 35] Operation: 74-39=35 Moving to Node #0,0,0 Current State: 86:[1, 35], Operations: ['25+14=39', '74-39=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 94, 11, 70, 51 ]
34
[ "94+11=105", "70*51=3570", "3570/105=34" ]
Current State: 34:[94, 11, 70, 51], Operations: [] Exploring Operation: 94+11=105, Resulting Numbers: [70, 51, 105] Generated Node #2: [70, 51, 105] from Operation: 94+11=105 Current State: 34:[70, 51, 105], Operations: ['94+11=105'] Exploring Operation: 70*51=3570, Resulting Numbers: [105, 3570] Generated Node #3: [105, 3570] from Operation: 70*51=3570 Current State: 34:[105, 3570], Operations: ['94+11=105', '70*51=3570'] Exploring Operation: 3570/105=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[94, 11, 70, 51], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [11, 70, 43] Generated Node #0,0: 34:[11, 70, 43] Operation: 94-51=43 Exploring Operation: 70-51=19, Resulting Numbers: [94, 11, 19] Generated Node #0,1: 34:[94, 11, 19] Operation: 70-51=19 Exploring Operation: 94-11=83, Resulting Numbers: [70, 51, 83] Generated Node #0,2: 34:[70, 51, 83] Operation: 94-11=83 Exploring Operation: 94-70=24, Resulting Numbers: [11, 51, 24] Generated Node #0,3: 34:[11, 51, 24] Operation: 94-70=24 Moving to Node #0,3 Current State: 34:[11, 51, 24], Operations: ['94-70=24'] Exploring Operation: 24-11=13, Resulting Numbers: [51, 13] Generated Node #0,3,0: 34:[51, 13] Operation: 24-11=13 Exploring Operation: 51-11=40, Resulting Numbers: [24, 40] Generated Node #0,3,1: 34:[24, 40] Operation: 51-11=40 Exploring Operation: 11+24=35, Resulting Numbers: [51, 35] Generated Node #0,3,2: 34:[51, 35] Operation: 11+24=35 Exploring Operation: 51-24=27, Resulting Numbers: [11, 27] Generated Node #0,3,3: 34:[11, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[24, 40], Operations: ['94-70=24', '51-11=40'] Exploring Operation: 24*40=960, Resulting Numbers: [960] 960,34 unequal: No Solution Exploring Operation: 24+40=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,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,3,3 Current State: 34:[11, 27], Operations: ['94-70=24', '51-24=27'] Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,34 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,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,3,2 Current State: 34:[51, 35], Operations: ['94-70=24', '11+24=35'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,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,3,0 Current State: 34:[51, 13], Operations: ['94-70=24', '24-11=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,34 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,34 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: 34:[11, 70, 43], Operations: ['94-51=43'] Exploring Operation: 11+70=81, Resulting Numbers: [43, 81] Generated Node #0,0,0: 34:[43, 81] Operation: 11+70=81 Exploring Operation: 43-11=32, Resulting Numbers: [70, 32] Generated Node #0,0,1: 34:[70, 32] Operation: 43-11=32 Exploring Operation: 70-11=59, Resulting Numbers: [43, 59] Generated Node #0,0,2: 34:[43, 59] Operation: 70-11=59 Exploring Operation: 70-43=27, Resulting Numbers: [11, 27] Generated Node #0,0,3: 34:[11, 27] Operation: 70-43=27 Moving to Node #0,1 Current State: 34:[94, 11, 19], Operations: ['70-51=19'] Exploring Operation: 94-19=75, Resulting Numbers: [11, 75] Generated Node #0,1,0: 34:[11, 75] Operation: 94-19=75 Exploring Operation: 19-11=8, Resulting Numbers: [94, 8] Generated Node #0,1,1: 34:[94, 8] Operation: 19-11=8 Exploring Operation: 94-11=83, Resulting Numbers: [19, 83] Generated Node #0,1,2: 34:[19, 83] Operation: 94-11=83 Exploring Operation: 11+19=30, Resulting Numbers: [94, 30] Generated Node #0,1,3: 34:[94, 30] Operation: 11+19=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[11, 75], Operations: ['70-51=19', '94-19=75'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,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,1,2 Current State: 34:[19, 83], Operations: ['70-51=19', '94-11=83'] Exploring Operation: 19*83=1577, Resulting Numbers: [1577] 1577,34 unequal: No Solution Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,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,1,3 Current State: 34:[94, 30], Operations: ['70-51=19', '11+19=30'] Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,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,1,1 Current State: 34:[94, 8], Operations: ['70-51=19', '19-11=8'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 94+8=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 94*8=752, Resulting Numbers: [752] 752,34 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: 34:[70, 51, 83], Operations: ['94-11=83'] Exploring Operation: 70-51=19, Resulting Numbers: [83, 19] Generated Node #0,2,0: 34:[83, 19] Operation: 70-51=19 Exploring Operation: 83-51=32, Resulting Numbers: [70, 32] Generated Node #0,2,1: 34:[70, 32] Operation: 83-51=32 Exploring Operation: 70+51=121, Resulting Numbers: [83, 121] Generated Node #0,2,2: 34:[83, 121] Operation: 70+51=121 Exploring Operation: 83-70=13, Resulting Numbers: [51, 13] Generated Node #0,2,3: 34:[51, 13] Operation: 83-70=13 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 34:[51, 13], Operations: ['94-11=83', '83-70=13'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,34 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,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,2,1 Current State: 34:[70, 32], Operations: ['94-11=83', '83-51=32'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,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,2,0 Current State: 34:[83, 19], Operations: ['94-11=83', '70-51=19'] Exploring Operation: 83*19=1577, Resulting Numbers: [1577] 1577,34 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,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,2,2 Current State: 34:[83, 121], Operations: ['94-11=83', '70+51=121'] Exploring Operation: 83*121=10043, Resulting Numbers: [10043] 10043,34 unequal: No Solution Exploring Operation: 83+121=204, Resulting Numbers: [204] 204,34 unequal: No Solution Exploring Operation: 121-83=38, Resulting Numbers: [38] 38,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 34:[11, 27], Operations: ['94-51=43', '70-43=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[43, 59], Operations: ['94-51=43', '70-11=59'] Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[70, 32], Operations: ['94-51=43', '43-11=32'] Exploring Operation: 70-32=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 70*32=2240, Resulting Numbers: [2240] 2240,34 unequal: No Solution Exploring Operation: 70+32=102, Resulting Numbers: [102] 102,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[43, 81], Operations: ['94-51=43', '11+70=81'] Exploring Operation: 43+81=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 43*81=3483, Resulting Numbers: [3483] 3483,34 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,34 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 21, 9, 24, 41 ]
68
[ "24-21=3", "9*3=27", "41+27=68" ]
Current State: 68:[21, 9, 24, 41], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [9, 41, 3] Generated Node #2: [9, 41, 3] from Operation: 24-21=3 Current State: 68:[9, 41, 3], Operations: ['24-21=3'] Exploring Operation: 9*3=27, Resulting Numbers: [41, 27] Generated Node #3: [41, 27] from Operation: 9*3=27 Current State: 68:[41, 27], Operations: ['24-21=3', '9*3=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[21, 9, 24, 41], Operations: [] Exploring Operation: 24+41=65, Resulting Numbers: [21, 9, 65] Generated Node #0,0: 68:[21, 9, 65] Operation: 24+41=65 Exploring Operation: 9+24=33, Resulting Numbers: [21, 41, 33] Generated Node #0,1: 68:[21, 41, 33] Operation: 9+24=33 Exploring Operation: 24-21=3, Resulting Numbers: [9, 41, 3] Generated Node #0,2: 68:[9, 41, 3] Operation: 24-21=3 Exploring Operation: 41-24=17, Resulting Numbers: [21, 9, 17] Generated Node #0,3: 68:[21, 9, 17] Operation: 41-24=17 Moving to Node #0,3 Current State: 68:[21, 9, 17], Operations: ['41-24=17'] Exploring Operation: 21-17=4, Resulting Numbers: [9, 4] Generated Node #0,3,0: 68:[9, 4] Operation: 21-17=4 Exploring Operation: 21-9=12, Resulting Numbers: [17, 12] Generated Node #0,3,1: 68:[17, 12] Operation: 21-9=12 Exploring Operation: 21+9=30, Resulting Numbers: [17, 30] Generated Node #0,3,2: 68:[17, 30] Operation: 21+9=30 Exploring Operation: 17-9=8, Resulting Numbers: [21, 8] Generated Node #0,3,3: 68:[21, 8] Operation: 17-9=8 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[17, 30], Operations: ['41-24=17', '21+9=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,68 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[9, 4], Operations: ['41-24=17', '21-17=4'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[17, 12], Operations: ['41-24=17', '21-9=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,68 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[21, 8], Operations: ['41-24=17', '17-9=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,68 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: 68:[21, 41, 33], Operations: ['9+24=33'] Exploring Operation: 41-21=20, Resulting Numbers: [33, 20] Generated Node #0,1,0: 68:[33, 20] Operation: 41-21=20 Exploring Operation: 41+33=74, Resulting Numbers: [21, 74] Generated Node #0,1,1: 68:[21, 74] Operation: 41+33=74 Exploring Operation: 41-33=8, Resulting Numbers: [21, 8] Generated Node #0,1,2: 68:[21, 8] Operation: 41-33=8 Exploring Operation: 21+41=62, Resulting Numbers: [33, 62] Generated Node #0,1,3: 68:[33, 62] Operation: 21+41=62 Moving to Node #0,0 Current State: 68:[21, 9, 65], Operations: ['24+41=65'] Exploring Operation: 21+9=30, Resulting Numbers: [65, 30] Generated Node #0,0,0: 68:[65, 30] Operation: 21+9=30 Exploring Operation: 65-21=44, Resulting Numbers: [9, 44] Generated Node #0,0,1: 68:[9, 44] Operation: 65-21=44 Exploring Operation: 9+65=74, Resulting Numbers: [21, 74] Generated Node #0,0,2: 68:[21, 74] Operation: 9+65=74 Exploring Operation: 21-9=12, Resulting Numbers: [65, 12] Generated Node #0,0,3: 68:[65, 12] Operation: 21-9=12 Moving to Node #0,2 Current State: 68:[9, 41, 3], Operations: ['24-21=3'] Exploring Operation: 41-9=32, Resulting Numbers: [3, 32] Generated Node #0,2,0: 68:[3, 32] Operation: 41-9=32 Exploring Operation: 9-3=6, Resulting Numbers: [41, 6] Generated Node #0,2,1: 68:[41, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [41, 3] Generated Node #0,2,2: 68:[41, 3] Operation: 9/3=3 Exploring Operation: 41-3=38, Resulting Numbers: [9, 38] Generated Node #0,2,3: 68:[9, 38] Operation: 41-3=38 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[3, 32], Operations: ['24-21=3', '41-9=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,68 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[41, 3], Operations: ['24-21=3', '9/3=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,68 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[41, 6], Operations: ['24-21=3', '9-3=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,68 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[9, 38], Operations: ['24-21=3', '41-3=38'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,68 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: 68:[33, 20], Operations: ['9+24=33', '41-21=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,68 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[33, 62], Operations: ['9+24=33', '21+41=62'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,68 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[65, 30], Operations: ['24+41=65', '21+9=30'] Exploring Operation: 65+30=95, Resulting Numbers: [95] 95,68 unequal: No Solution Exploring Operation: 65*30=1950, Resulting Numbers: [1950] 1950,68 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[21, 8], Operations: ['9+24=33', '41-33=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,68 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[65, 12], Operations: ['24+41=65', '21-9=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,68 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[21, 74], Operations: ['9+24=33', '41+33=74'] Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,68 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[21, 74], Operations: ['24+41=65', '9+65=74'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,68 unequal: No Solution Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[9, 44], Operations: ['24+41=65', '65-21=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,68 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,68 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,68 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 24, 63, 56 ]
83
[ "12+24=36", "63+56=119", "119-36=83" ]
Current State: 83:[12, 24, 63, 56], Operations: [] Exploring Operation: 12+24=36, Resulting Numbers: [63, 56, 36] Generated Node #2: [63, 56, 36] from Operation: 12+24=36 Current State: 83:[63, 56, 36], Operations: ['12+24=36'] Exploring Operation: 63+56=119, Resulting Numbers: [36, 119] Generated Node #3: [36, 119] from Operation: 63+56=119 Current State: 83:[36, 119], Operations: ['12+24=36', '63+56=119'] Exploring Operation: 119-36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[12, 24, 63, 56], Operations: [] Exploring Operation: 12+24=36, Resulting Numbers: [63, 56, 36] Generated Node #0,0: 83:[63, 56, 36] Operation: 12+24=36 Exploring Operation: 12+63=75, Resulting Numbers: [24, 56, 75] Generated Node #0,1: 83:[24, 56, 75] Operation: 12+63=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[63, 56, 36], Operations: ['12+24=36'] Exploring Operation: 63+36=99, Resulting Numbers: [56, 99] Generated Node #0,0,0: 83:[56, 99] Operation: 63+36=99 Exploring Operation: 56+36=92, Resulting Numbers: [63, 92] Generated Node #0,0,1: 83:[63, 92] Operation: 56+36=92 Moving to Node #0,0,1 Current State: 83:[63, 92], Operations: ['12+24=36', '56+36=92'] Exploring Operation: 63+92=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 92-63=29, Resulting Numbers: [29] 29,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[56, 99], Operations: ['12+24=36', '63+36=99'] Exploring Operation: 56+99=155, Resulting Numbers: [155] 155,83 unequal: No Solution Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,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 Current State: 83:[24, 56, 75], Operations: ['12+63=75'] Exploring Operation: 24+56=80, Resulting Numbers: [75, 80] Generated Node #0,1,0: 83:[75, 80] Operation: 24+56=80 Exploring Operation: 24+75=99, Resulting Numbers: [56, 99] Generated Node #0,1,1: 83:[56, 99] Operation: 24+75=99 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[75, 80], Operations: ['12+63=75', '24+56=80'] Exploring Operation: 80-75=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 75+80=155, Resulting Numbers: [155] 155,83 unequal: No Solution No 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: 83:[56, 99], Operations: ['12+63=75', '24+75=99'] Exploring Operation: 99-56=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 56+99=155, Resulting Numbers: [155] 155,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 54, 58, 5 ]
15
[ "58-54=4", "80/4=20", "20-5=15" ]
Current State: 15:[80, 54, 58, 5], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [80, 5, 4] Generated Node #2: [80, 5, 4] from Operation: 58-54=4 Current State: 15:[80, 5, 4], Operations: ['58-54=4'] Exploring Operation: 80/4=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 80/4=20 Current State: 15:[5, 20], Operations: ['58-54=4', '80/4=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 54, 58, 5], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [58, 5, 26] Generated Node #0,0: 15:[58, 5, 26] Operation: 80-54=26 Exploring Operation: 80-58=22, Resulting Numbers: [54, 5, 22] Generated Node #0,1: 15:[54, 5, 22] Operation: 80-58=22 Exploring Operation: 58-54=4, Resulting Numbers: [80, 5, 4] Generated Node #0,2: 15:[80, 5, 4] Operation: 58-54=4 Exploring Operation: 80/5=16, Resulting Numbers: [54, 58, 16] Generated Node #0,3: 15:[54, 58, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[54, 5, 22], Operations: ['80-58=22'] Exploring Operation: 54+5=59, Resulting Numbers: [22, 59] Generated Node #0,1,0: 15:[22, 59] Operation: 54+5=59 Exploring Operation: 22-5=17, Resulting Numbers: [54, 17] Generated Node #0,1,1: 15:[54, 17] Operation: 22-5=17 Exploring Operation: 54-5=49, Resulting Numbers: [22, 49] Generated Node #0,1,2: 15:[22, 49] Operation: 54-5=49 Exploring Operation: 54-22=32, Resulting Numbers: [5, 32] Generated Node #0,1,3: 15:[5, 32] Operation: 54-22=32 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[5, 32], Operations: ['80-58=22', '54-22=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,15 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,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,1 Current State: 15:[54, 17], Operations: ['80-58=22', '22-5=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,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:[22, 49], Operations: ['80-58=22', '54-5=49'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,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:[22, 59], Operations: ['80-58=22', '54+5=59'] Exploring Operation: 22+59=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 22*59=1298, Resulting Numbers: [1298] 1298,15 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,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:[58, 5, 26], Operations: ['80-54=26'] Exploring Operation: 58+5=63, Resulting Numbers: [26, 63] Generated Node #0,0,0: 15:[26, 63] Operation: 58+5=63 Exploring Operation: 58-5=53, Resulting Numbers: [26, 53] Generated Node #0,0,1: 15:[26, 53] Operation: 58-5=53 Exploring Operation: 26-5=21, Resulting Numbers: [58, 21] Generated Node #0,0,2: 15:[58, 21] Operation: 26-5=21 Exploring Operation: 58-26=32, Resulting Numbers: [5, 32] Generated Node #0,0,3: 15:[5, 32] Operation: 58-26=32 Moving to Node #0,0,3 Current State: 15:[5, 32], Operations: ['80-54=26', '58-26=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,15 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[58, 21], Operations: ['80-54=26', '26-5=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[26, 53], Operations: ['80-54=26', '58-5=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 26+53=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 26*53=1378, Resulting Numbers: [1378] 1378,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[26, 63], Operations: ['80-54=26', '58+5=63'] Exploring Operation: 26+63=89, Resulting Numbers: [89] 89,15 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,15 unequal: No Solution Exploring Operation: 26*63=1638, Resulting Numbers: [1638] 1638,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,2 Current State: 15:[80, 5, 4], Operations: ['58-54=4'] Exploring Operation: 80/4=20, Resulting Numbers: [5, 20] Generated Node #0,2,0: 15:[5, 20] Operation: 80/4=20 Exploring Operation: 80-4=76, Resulting Numbers: [5, 76] Generated Node #0,2,1: 15:[5, 76] Operation: 80-4=76 Exploring Operation: 80/5=16, Resulting Numbers: [4, 16] Generated Node #0,2,2: 15:[4, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [4, 75] Generated Node #0,2,3: 15:[4, 75] Operation: 80-5=75 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[4, 16], Operations: ['58-54=4', '80/5=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,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,2,0 Current State: 15:[5, 20], Operations: ['58-54=4', '80/4=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,15 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[80, 54, 58, 5], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [80, 5, 4] Generated Node #0,2: 15:[80, 5, 4] Operation: 58-54=4 Moving to Node #0,2 Current State: 15:[80, 5, 4], Operations: ['58-54=4'] Exploring Operation: 80/4=20, Resulting Numbers: [5, 20] Generated Node #0,2,0: 15:[5, 20] Operation: 80/4=20 Moving to Node #0,2,0 Current State: 15:[5, 20], Operations: ['58-54=4', '80/4=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.955729
hs_4
sum_heuristic
[ 30, 97, 18, 4 ]
49
[ "30-18=12", "4*12=48", "97-48=49" ]
Current State: 49:[30, 97, 18, 4], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [97, 4, 12] Generated Node #2: [97, 4, 12] from Operation: 30-18=12 Current State: 49:[97, 4, 12], Operations: ['30-18=12'] Exploring Operation: 4*12=48, Resulting Numbers: [97, 48] Generated Node #3: [97, 48] from Operation: 4*12=48 Current State: 49:[97, 48], Operations: ['30-18=12', '4*12=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[30, 97, 18, 4], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [97, 4, 12] Generated Node #0,0: 49:[97, 4, 12] Operation: 30-18=12 Exploring Operation: 97-30=67, Resulting Numbers: [18, 4, 67] Generated Node #0,1: 49:[18, 4, 67] Operation: 97-30=67 Exploring Operation: 97-18=79, Resulting Numbers: [30, 4, 79] Generated Node #0,2: 49:[30, 4, 79] Operation: 97-18=79 Exploring Operation: 30+18=48, Resulting Numbers: [97, 4, 48] Generated Node #0,3: 49:[97, 4, 48] Operation: 30+18=48 Exploring Operation: 30+4=34, Resulting Numbers: [97, 18, 34] Generated Node #0,4: 49:[97, 18, 34] Operation: 30+4=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[18, 4, 67], Operations: ['97-30=67'] Exploring Operation: 4+67=71, Resulting Numbers: [18, 71] Generated Node #0,1,0: 49:[18, 71] Operation: 4+67=71 Exploring Operation: 67-18=49, Resulting Numbers: [4, 49] Generated Node #0,1,1: 49:[4, 49] Operation: 67-18=49 Exploring Operation: 18-4=14, Resulting Numbers: [67, 14] Generated Node #0,1,2: 49:[67, 14] Operation: 18-4=14 Exploring Operation: 67-4=63, Resulting Numbers: [18, 63] Generated Node #0,1,3: 49:[18, 63] Operation: 67-4=63 Exploring Operation: 18+4=22, Resulting Numbers: [67, 22] Generated Node #0,1,4: 49:[67, 22] Operation: 18+4=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[4, 49], Operations: ['97-30=67', '67-18=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,49 unequal: No Solution No 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: 49:[67, 14], Operations: ['97-30=67', '18-4=14'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 67+14=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 67*14=938, Resulting Numbers: [938] 938,49 unequal: No Solution No 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: 49:[18, 63], Operations: ['97-30=67', '67-4=63'] Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,49 unequal: No Solution Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,49 unequal: No Solution No 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: 49:[18, 71], Operations: ['97-30=67', '4+67=71'] Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,49 unequal: No Solution No 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: 49:[67, 22], Operations: ['97-30=67', '18+4=22'] Exploring Operation: 67*22=1474, Resulting Numbers: [1474] 1474,49 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 67+22=89, Resulting Numbers: [89] 89,49 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: 49:[30, 4, 79], Operations: ['97-18=79'] Exploring Operation: 4+79=83, Resulting Numbers: [30, 83] Generated Node #0,2,0: 49:[30, 83] Operation: 4+79=83 Exploring Operation: 30+4=34, Resulting Numbers: [79, 34] Generated Node #0,2,1: 49:[79, 34] Operation: 30+4=34 Exploring Operation: 79-4=75, Resulting Numbers: [30, 75] Generated Node #0,2,2: 49:[30, 75] Operation: 79-4=75 Exploring Operation: 79-30=49, Resulting Numbers: [4, 49] Generated Node #0,2,3: 49:[4, 49] Operation: 79-30=49 Exploring Operation: 30-4=26, Resulting Numbers: [79, 26] Generated Node #0,2,4: 49:[79, 26] Operation: 30-4=26 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[4, 49], Operations: ['97-18=79', '79-30=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,49 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,49 unequal: No Solution No 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: 49:[79, 34], Operations: ['97-18=79', '30+4=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 79*34=2686, Resulting Numbers: [2686] 2686,49 unequal: No Solution No 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: 49:[30, 75], Operations: ['97-18=79', '79-4=75'] Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,49 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,49 unequal: No Solution No 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: 49:[79, 26], Operations: ['97-18=79', '30-4=26'] Exploring Operation: 79+26=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 79*26=2054, Resulting Numbers: [2054] 2054,49 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,49 unequal: No Solution No 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: 49:[30, 83], Operations: ['97-18=79', '4+79=83'] Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,49 unequal: No Solution Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,49 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,49 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: 49:[97, 4, 48], Operations: ['30+18=48'] Exploring Operation: 97-4=93, Resulting Numbers: [48, 93] Generated Node #0,3,0: 49:[48, 93] Operation: 97-4=93 Exploring Operation: 97+4=101, Resulting Numbers: [48, 101] Generated Node #0,3,1: 49:[48, 101] Operation: 97+4=101 Exploring Operation: 97-48=49, Resulting Numbers: [4, 49] Generated Node #0,3,2: 49:[4, 49] Operation: 97-48=49 Exploring Operation: 48-4=44, Resulting Numbers: [97, 44] Generated Node #0,3,3: 49:[97, 44] Operation: 48-4=44 Exploring Operation: 4+48=52, Resulting Numbers: [97, 52] Generated Node #0,3,4: 49:[97, 52] Operation: 4+48=52 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[4, 49], Operations: ['30+18=48', '97-48=49'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,49 unequal: No Solution No 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: 49:[48, 93], Operations: ['30+18=48', '97-4=93'] Exploring Operation: 48+93=141, Resulting Numbers: [141] 141,49 unequal: No Solution Exploring Operation: 48*93=4464, Resulting Numbers: [4464] 4464,49 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,49 unequal: No Solution No 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: 49:[97, 52], Operations: ['30+18=48', '4+48=52'] Exploring Operation: 97+52=149, Resulting Numbers: [149] 149,49 unequal: No Solution Exploring Operation: 97-52=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 97*52=5044, Resulting Numbers: [5044] 5044,49 unequal: No Solution No 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: 49:[48, 101], Operations: ['30+18=48', '97+4=101'] Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,49 unequal: No Solution Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,49 unequal: No Solution Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,49 unequal: No Solution No 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: 49:[97, 44], Operations: ['30+18=48', '48-4=44'] Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,49 unequal: No Solution Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,49 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: 49:[97, 4, 12], Operations: ['30-18=12'] Exploring Operation: 97-4=93, Resulting Numbers: [12, 93] Generated Node #0,0,0: 49:[12, 93] Operation: 97-4=93 Exploring Operation: 12-4=8, Resulting Numbers: [97, 8] Generated Node #0,0,1: 49:[97, 8] Operation: 12-4=8 Exploring Operation: 12/4=3, Resulting Numbers: [97, 3] Generated Node #0,0,2: 49:[97, 3] Operation: 12/4=3 Exploring Operation: 97-12=85, Resulting Numbers: [4, 85] Generated Node #0,0,3: 49:[4, 85] Operation: 97-12=85 Exploring Operation: 4*12=48, Resulting Numbers: [97, 48] Generated Node #0,0,4: 49:[97, 48] Operation: 4*12=48 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[4, 85], Operations: ['30-18=12', '97-12=85'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 4+85=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 4*85=340, Resulting Numbers: [340] 340,49 unequal: No Solution No 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: 49:[12, 93], Operations: ['30-18=12', '97-4=93'] Exploring Operation: 12*93=1116, Resulting Numbers: [1116] 1116,49 unequal: No Solution Exploring Operation: 12+93=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,49 unequal: No Solution No 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: 49:[97, 8], Operations: ['30-18=12', '12-4=8'] Exploring Operation: 97+8=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,49 unequal: No Solution Exploring Operation: 97*8=776, Resulting Numbers: [776] 776,49 unequal: No Solution No 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: 49:[97, 48], Operations: ['30-18=12', '4*12=48'] Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,49 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,49 unequal: No Solution Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[30, 97, 18, 4], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [97, 4, 12] Generated Node #0,0: 49:[97, 4, 12] Operation: 30-18=12 Moving to Node #0,0 Current State: 49:[97, 4, 12], Operations: ['30-18=12'] Exploring Operation: 4*12=48, Resulting Numbers: [97, 48] Generated Node #0,0,4: 49:[97, 48] Operation: 4*12=48 Moving to Node #0,0,4 Current State: 49:[97, 48], Operations: ['30-18=12', '4*12=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.925347
hs_5
sum_heuristic
[ 19, 59, 82, 29 ]
71
[ "59-19=40", "82+29=111", "111-40=71" ]
Current State: 71:[19, 59, 82, 29], Operations: [] Exploring Operation: 59-19=40, Resulting Numbers: [82, 29, 40] Generated Node #2: [82, 29, 40] from Operation: 59-19=40 Current State: 71:[82, 29, 40], Operations: ['59-19=40'] Exploring Operation: 82+29=111, Resulting Numbers: [40, 111] Generated Node #3: [40, 111] from Operation: 82+29=111 Current State: 71:[40, 111], Operations: ['59-19=40', '82+29=111'] Exploring Operation: 111-40=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[19, 59, 82, 29], Operations: [] Exploring Operation: 82-29=53, Resulting Numbers: [19, 59, 53] Generated Node #0,0: 71:[19, 59, 53] Operation: 82-29=53 Exploring Operation: 59+29=88, Resulting Numbers: [19, 82, 88] Generated Node #0,1: 71:[19, 82, 88] Operation: 59+29=88 Exploring Operation: 19+59=78, Resulting Numbers: [82, 29, 78] Generated Node #0,2: 71:[82, 29, 78] Operation: 19+59=78 Exploring Operation: 19+29=48, Resulting Numbers: [59, 82, 48] Generated Node #0,3: 71:[59, 82, 48] Operation: 19+29=48 Exploring Operation: 82-19=63, Resulting Numbers: [59, 29, 63] Generated Node #0,4: 71:[59, 29, 63] Operation: 82-19=63 Moving to Node #0,3 Current State: 71:[59, 82, 48], Operations: ['19+29=48'] Exploring Operation: 82-48=34, Resulting Numbers: [59, 34] Generated Node #0,3,0: 71:[59, 34] Operation: 82-48=34 Exploring Operation: 82-59=23, Resulting Numbers: [48, 23] Generated Node #0,3,1: 71:[48, 23] Operation: 82-59=23 Exploring Operation: 59+48=107, Resulting Numbers: [82, 107] Generated Node #0,3,2: 71:[82, 107] Operation: 59+48=107 Exploring Operation: 59-48=11, Resulting Numbers: [82, 11] Generated Node #0,3,3: 71:[82, 11] Operation: 59-48=11 Exploring Operation: 82+48=130, Resulting Numbers: [59, 130] Generated Node #0,3,4: 71:[59, 130] Operation: 82+48=130 Moving to Node #0,2 Current State: 71:[82, 29, 78], Operations: ['19+59=78'] Exploring Operation: 82-78=4, Resulting Numbers: [29, 4] Generated Node #0,2,0: 71:[29, 4] Operation: 82-78=4 Exploring Operation: 82-29=53, Resulting Numbers: [78, 53] Generated Node #0,2,1: 71:[78, 53] Operation: 82-29=53 Exploring Operation: 29+78=107, Resulting Numbers: [82, 107] Generated Node #0,2,2: 71:[82, 107] Operation: 29+78=107 Exploring Operation: 78-29=49, Resulting Numbers: [82, 49] Generated Node #0,2,3: 71:[82, 49] Operation: 78-29=49 Exploring Operation: 82+29=111, Resulting Numbers: [78, 111] Generated Node #0,2,4: 71:[78, 111] Operation: 82+29=111 Moving to Node #0,4 Current State: 71:[59, 29, 63], Operations: ['82-19=63'] Exploring Operation: 59+63=122, Resulting Numbers: [29, 122] Generated Node #0,4,0: 71:[29, 122] Operation: 59+63=122 Exploring Operation: 59+29=88, Resulting Numbers: [63, 88] Generated Node #0,4,1: 71:[63, 88] Operation: 59+29=88 Exploring Operation: 29+63=92, Resulting Numbers: [59, 92] Generated Node #0,4,2: 71:[59, 92] Operation: 29+63=92 Exploring Operation: 59-29=30, Resulting Numbers: [63, 30] Generated Node #0,4,3: 71:[63, 30] Operation: 59-29=30 Exploring Operation: 63-29=34, Resulting Numbers: [59, 34] Generated Node #0,4,4: 71:[59, 34] Operation: 63-29=34 Moving to Node #0,1 Current State: 71:[19, 82, 88], Operations: ['59+29=88'] Exploring Operation: 82-19=63, Resulting Numbers: [88, 63] Generated Node #0,1,0: 71:[88, 63] Operation: 82-19=63 Exploring Operation: 88-82=6, Resulting Numbers: [19, 6] Generated Node #0,1,1: 71:[19, 6] Operation: 88-82=6 Exploring Operation: 19+88=107, Resulting Numbers: [82, 107] Generated Node #0,1,2: 71:[82, 107] Operation: 19+88=107 Exploring Operation: 19+82=101, Resulting Numbers: [88, 101] Generated Node #0,1,3: 71:[88, 101] Operation: 19+82=101 Exploring Operation: 88-19=69, Resulting Numbers: [82, 69] Generated Node #0,1,4: 71:[82, 69] Operation: 88-19=69 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 71:[82, 69], Operations: ['59+29=88', '88-19=69'] Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,71 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[88, 63], Operations: ['59+29=88', '82-19=63'] Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 88*63=5544, Resulting Numbers: [5544] 5544,71 unequal: No Solution Exploring Operation: 88+63=151, Resulting Numbers: [151] 151,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[82, 107], Operations: ['59+29=88', '19+88=107'] Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,71 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,71 unequal: No Solution Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[88, 101], Operations: ['59+29=88', '19+82=101'] Exploring Operation: 88+101=189, Resulting Numbers: [189] 189,71 unequal: No Solution Exploring Operation: 88*101=8888, Resulting Numbers: [8888] 8888,71 unequal: No Solution Exploring Operation: 101-88=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[19, 6], Operations: ['59+29=88', '88-82=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 71:[19, 59, 53], Operations: ['82-29=53'] Exploring Operation: 59+53=112, Resulting Numbers: [19, 112] Generated Node #0,0,0: 71:[19, 112] Operation: 59+53=112 Exploring Operation: 19+59=78, Resulting Numbers: [53, 78] Generated Node #0,0,1: 71:[53, 78] Operation: 19+59=78 Exploring Operation: 19+53=72, Resulting Numbers: [59, 72] Generated Node #0,0,2: 71:[59, 72] Operation: 19+53=72 Exploring Operation: 53-19=34, Resulting Numbers: [59, 34] Generated Node #0,0,3: 71:[59, 34] Operation: 53-19=34 Exploring Operation: 59-19=40, Resulting Numbers: [53, 40] Generated Node #0,0,4: 71:[53, 40] Operation: 59-19=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[59, 72], Operations: ['82-29=53', '19+53=72'] Exploring Operation: 59*72=4248, Resulting Numbers: [4248] 4248,71 unequal: No Solution Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 59+72=131, Resulting Numbers: [131] 131,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[53, 78], Operations: ['82-29=53', '19+59=78'] Exploring Operation: 53+78=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 53*78=4134, Resulting Numbers: [4134] 4134,71 unequal: No Solution Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[59, 34], Operations: ['82-29=53', '53-19=34'] Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,71 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 71:[53, 40], Operations: ['82-29=53', '59-19=40'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 53*40=2120, Resulting Numbers: [2120] 2120,71 unequal: No Solution Exploring Operation: 53+40=93, Resulting Numbers: [93] 93,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:[19, 112], Operations: ['82-29=53', '59+53=112'] Exploring Operation: 112-19=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 19*112=2128, Resulting Numbers: [2128] 2128,71 unequal: No Solution Exploring Operation: 19+112=131, Resulting Numbers: [131] 131,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 71:[78, 53], Operations: ['19+59=78', '82-29=53'] Exploring Operation: 78+53=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 78-53=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 78*53=4134, Resulting Numbers: [4134] 4134,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[63, 88], Operations: ['82-19=63', '59+29=88'] Exploring Operation: 63+88=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 63*88=5544, Resulting Numbers: [5544] 5544,71 unequal: No Solution Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[82, 49], Operations: ['19+59=78', '78-29=49'] Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 82*49=4018, Resulting Numbers: [4018] 4018,71 unequal: No Solution Exploring Operation: 82+49=131, Resulting Numbers: [131] 131,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[59, 92], Operations: ['82-19=63', '29+63=92'] Exploring Operation: 92-59=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 59+92=151, Resulting Numbers: [151] 151,71 unequal: No Solution Exploring Operation: 59*92=5428, Resulting Numbers: [5428] 5428,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[82, 107], Operations: ['19+29=48', '59+48=107'] Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,71 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,71 unequal: No Solution Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[82, 107], Operations: ['19+59=78', '29+78=107'] Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,71 unequal: No Solution Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[78, 111], Operations: ['19+59=78', '82+29=111'] Exploring Operation: 78*111=8658, Resulting Numbers: [8658] 8658,71 unequal: No Solution Exploring Operation: 111-78=33, Resulting Numbers: [33] 33,71 unequal: No Solution Exploring Operation: 78+111=189, Resulting Numbers: [189] 189,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[59, 34], Operations: ['82-19=63', '63-29=34'] Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,71 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[63, 30], Operations: ['82-19=63', '59-29=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,71 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,71 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[59, 34], Operations: ['19+29=48', '82-48=34'] Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,71 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[48, 23], Operations: ['19+29=48', '82-59=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,71 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[19, 59, 82, 29], Operations: [] Exploring Operation: 19+29=48, Resulting Numbers: [59, 82, 48] Generated Node #0,3: 71:[59, 82, 48] Operation: 19+29=48 Moving to Node #0,3 Current State: 71:[59, 82, 48], Operations: ['19+29=48'] Exploring Operation: 82-59=23, Resulting Numbers: [48, 23] Generated Node #0,3,1: 71:[48, 23] Operation: 82-59=23 Moving to Node #0,3,1 Current State: 71:[48, 23], Operations: ['19+29=48', '82-59=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
0.915799
hs_5
mult_heuristic
[ 58, 8, 37, 64 ]
87
[ "58+37=95", "64/8=8", "95-8=87" ]
Current State: 87:[58, 8, 37, 64], Operations: [] Exploring Operation: 58+37=95, Resulting Numbers: [8, 64, 95] Generated Node #2: [8, 64, 95] from Operation: 58+37=95 Current State: 87:[8, 64, 95], Operations: ['58+37=95'] Exploring Operation: 64/8=8, Resulting Numbers: [95, 8] Generated Node #3: [95, 8] from Operation: 64/8=8 Current State: 87:[95, 8], Operations: ['58+37=95', '64/8=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[58, 8, 37, 64], Operations: [] Exploring Operation: 58-37=21, Resulting Numbers: [8, 64, 21] Generated Node #0,0: 87:[8, 64, 21] Operation: 58-37=21 Exploring Operation: 58+37=95, Resulting Numbers: [8, 64, 95] Generated Node #0,1: 87:[8, 64, 95] Operation: 58+37=95 Exploring Operation: 64-37=27, Resulting Numbers: [58, 8, 27] Generated Node #0,2: 87:[58, 8, 27] Operation: 64-37=27 Exploring Operation: 64-58=6, Resulting Numbers: [8, 37, 6] Generated Node #0,3: 87:[8, 37, 6] Operation: 64-58=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[8, 37, 6], Operations: ['64-58=6'] Exploring Operation: 37-8=29, Resulting Numbers: [6, 29] Generated Node #0,3,0: 87:[6, 29] Operation: 37-8=29 Exploring Operation: 8-6=2, Resulting Numbers: [37, 2] Generated Node #0,3,1: 87:[37, 2] Operation: 8-6=2 Exploring Operation: 8+37=45, Resulting Numbers: [6, 45] Generated Node #0,3,2: 87:[6, 45] Operation: 8+37=45 Exploring Operation: 37-6=31, Resulting Numbers: [8, 31] Generated Node #0,3,3: 87:[8, 31] Operation: 37-6=31 Moving to Node #0,3,0 Current State: 87:[6, 29], Operations: ['64-58=6', '37-8=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,87 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,87 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[8, 31], Operations: ['64-58=6', '37-6=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,87 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[37, 2], Operations: ['64-58=6', '8-6=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[6, 45], Operations: ['64-58=6', '8+37=45'] Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,87 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,87 unequal: No Solution No 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: 87:[8, 64, 21], Operations: ['58-37=21'] Exploring Operation: 64-21=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 87:[8, 43] Operation: 64-21=43 Exploring Operation: 64+21=85, Resulting Numbers: [8, 85] Generated Node #0,0,1: 87:[8, 85] Operation: 64+21=85 Exploring Operation: 64/8=8, Resulting Numbers: [21, 8] Generated Node #0,0,2: 87:[21, 8] Operation: 64/8=8 Exploring Operation: 8+64=72, Resulting Numbers: [21, 72] Generated Node #0,0,3: 87:[21, 72] Operation: 8+64=72 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[8, 85], Operations: ['58-37=21', '64+21=85'] Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,87 unequal: No Solution No 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: 87:[21, 8], Operations: ['58-37=21', '64/8=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,87 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,87 unequal: No Solution No 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: 87:[8, 43], Operations: ['58-37=21', '64-21=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,87 unequal: No Solution No 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: 87:[21, 72], Operations: ['58-37=21', '8+64=72'] Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,87 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[8, 64, 95], Operations: ['58+37=95'] Exploring Operation: 95-8=87, Resulting Numbers: [64, 87] Generated Node #0,1,0: 87:[64, 87] Operation: 95-8=87 Exploring Operation: 8+64=72, Resulting Numbers: [95, 72] Generated Node #0,1,1: 87:[95, 72] Operation: 8+64=72 Exploring Operation: 95-64=31, Resulting Numbers: [8, 31] Generated Node #0,1,2: 87:[8, 31] Operation: 95-64=31 Exploring Operation: 64/8=8, Resulting Numbers: [95, 8] Generated Node #0,1,3: 87:[95, 8] Operation: 64/8=8 Moving to Node #0,1,2 Current State: 87:[8, 31], Operations: ['58+37=95', '95-64=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,87 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,87 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[95, 8], Operations: ['58+37=95', '64/8=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[58, 8, 37, 64], Operations: [] Exploring Operation: 58+37=95, Resulting Numbers: [8, 64, 95] Generated Node #0,1: 87:[8, 64, 95] Operation: 58+37=95 Moving to Node #0,1 Current State: 87:[8, 64, 95], Operations: ['58+37=95'] Exploring Operation: 64/8=8, Resulting Numbers: [95, 8] Generated Node #0,1,3: 87:[95, 8] Operation: 64/8=8 Moving to Node #0,1,3 Current State: 87:[95, 8], Operations: ['58+37=95', '64/8=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
mult_heuristic
[ 22, 64, 31, 62 ]
40
[ "64-22=42", "62/31=2", "42-2=40" ]
Current State: 40:[22, 64, 31, 62], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [31, 62, 42] Generated Node #2: [31, 62, 42] from Operation: 64-22=42 Current State: 40:[31, 62, 42], Operations: ['64-22=42'] Exploring Operation: 62/31=2, Resulting Numbers: [42, 2] Generated Node #3: [42, 2] from Operation: 62/31=2 Current State: 40:[42, 2], Operations: ['64-22=42', '62/31=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[22, 64, 31, 62], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [22, 62, 33] Generated Node #0,0: 40:[22, 62, 33] Operation: 64-31=33 Exploring Operation: 62/31=2, Resulting Numbers: [22, 64, 2] Generated Node #0,1: 40:[22, 64, 2] Operation: 62/31=2 Exploring Operation: 64-62=2, Resulting Numbers: [22, 31, 2] Generated Node #0,2: 40:[22, 31, 2] Operation: 64-62=2 Moving to Node #0,2 Current State: 40:[22, 31, 2], Operations: ['64-62=2'] Exploring Operation: 22-2=20, Resulting Numbers: [31, 20] Generated Node #0,2,0: 40:[31, 20] Operation: 22-2=20 Exploring Operation: 31-22=9, Resulting Numbers: [2, 9] Generated Node #0,2,1: 40:[2, 9] Operation: 31-22=9 Exploring Operation: 31+2=33, Resulting Numbers: [22, 33] Generated Node #0,2,2: 40:[22, 33] Operation: 31+2=33 Moving to Node #0,1 Current State: 40:[22, 64, 2], Operations: ['62/31=2'] Exploring Operation: 64-22=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 40:[2, 42] Operation: 64-22=42 Exploring Operation: 22-2=20, Resulting Numbers: [64, 20] Generated Node #0,1,1: 40:[64, 20] Operation: 22-2=20 Exploring Operation: 64/2=32, Resulting Numbers: [22, 32] Generated Node #0,1,2: 40:[22, 32] Operation: 64/2=32 Moving to Node #0,0 Current State: 40:[22, 62, 33], Operations: ['64-31=33'] Exploring Operation: 62-22=40, Resulting Numbers: [33, 40] Generated Node #0,0,0: 40:[33, 40] Operation: 62-22=40 Exploring Operation: 62-33=29, Resulting Numbers: [22, 29] Generated Node #0,0,1: 40:[22, 29] Operation: 62-33=29 Exploring Operation: 33-22=11, Resulting Numbers: [62, 11] Generated Node #0,0,2: 40:[62, 11] Operation: 33-22=11 Moving to Node #0,2,1 Current State: 40:[2, 9], Operations: ['64-62=2', '31-22=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,40 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[2, 42], Operations: ['62/31=2', '64-22=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[22, 64, 31, 62], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [22, 64, 2] Generated Node #0,1: 40:[22, 64, 2] Operation: 62/31=2 Moving to Node #0,1 Current State: 40:[22, 64, 2], Operations: ['62/31=2'] Exploring Operation: 64-22=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 40:[2, 42] Operation: 64-22=42 Moving to Node #0,1,0 Current State: 40:[2, 42], Operations: ['62/31=2', '64-22=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 52, 30, 34, 2 ]
71
[ "52+34=86", "30/2=15", "86-15=71" ]
Current State: 71:[52, 30, 34, 2], Operations: [] Exploring Operation: 52+34=86, Resulting Numbers: [30, 2, 86] Generated Node #2: [30, 2, 86] from Operation: 52+34=86 Current State: 71:[30, 2, 86], Operations: ['52+34=86'] Exploring Operation: 30/2=15, Resulting Numbers: [86, 15] Generated Node #3: [86, 15] from Operation: 30/2=15 Current State: 71:[86, 15], Operations: ['52+34=86', '30/2=15'] Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[52, 30, 34, 2], Operations: [] Exploring Operation: 52+2=54, Resulting Numbers: [30, 34, 54] Generated Node #0,0: 71:[30, 34, 54] Operation: 52+2=54 Exploring Operation: 30*2=60, Resulting Numbers: [52, 34, 60] Generated Node #0,1: 71:[52, 34, 60] Operation: 30*2=60 Exploring Operation: 34*2=68, Resulting Numbers: [52, 30, 68] Generated Node #0,2: 71:[52, 30, 68] Operation: 34*2=68 Exploring Operation: 30+34=64, Resulting Numbers: [52, 2, 64] Generated Node #0,3: 71:[52, 2, 64] Operation: 30+34=64 Moving to Node #0,2 Current State: 71:[52, 30, 68], Operations: ['34*2=68'] Exploring Operation: 68-30=38, Resulting Numbers: [52, 38] Generated Node #0,2,0: 71:[52, 38] Operation: 68-30=38 Exploring Operation: 52-30=22, Resulting Numbers: [68, 22] Generated Node #0,2,1: 71:[68, 22] Operation: 52-30=22 Exploring Operation: 30+68=98, Resulting Numbers: [52, 98] Generated Node #0,2,2: 71:[52, 98] Operation: 30+68=98 Exploring Operation: 52+30=82, Resulting Numbers: [68, 82] Generated Node #0,2,3: 71:[68, 82] Operation: 52+30=82 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[68, 82], Operations: ['34*2=68', '52+30=82'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 68+82=150, Resulting Numbers: [150] 150,71 unequal: No Solution Exploring Operation: 68*82=5576, Resulting Numbers: [5576] 5576,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, 98], Operations: ['34*2=68', '30+68=98'] Exploring Operation: 52*98=5096, Resulting Numbers: [5096] 5096,71 unequal: No Solution Exploring Operation: 52+98=150, Resulting Numbers: [150] 150,71 unequal: No Solution Exploring Operation: 98-52=46, Resulting Numbers: [46] 46,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[52, 38], Operations: ['34*2=68', '68-30=38'] Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,71 unequal: No Solution Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,71 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,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:[68, 22], Operations: ['34*2=68', '52-30=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,71 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,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:[52, 34, 60], Operations: ['30*2=60'] Exploring Operation: 60-34=26, Resulting Numbers: [52, 26] Generated Node #0,1,0: 71:[52, 26] Operation: 60-34=26 Exploring Operation: 52+34=86, Resulting Numbers: [60, 86] Generated Node #0,1,1: 71:[60, 86] Operation: 52+34=86 Exploring Operation: 52-34=18, Resulting Numbers: [60, 18] Generated Node #0,1,2: 71:[60, 18] Operation: 52-34=18 Exploring Operation: 34+60=94, Resulting Numbers: [52, 94] Generated Node #0,1,3: 71:[52, 94] Operation: 34+60=94 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[60, 86], Operations: ['30*2=60', '52+34=86'] Exploring Operation: 86-60=26, Resulting Numbers: [26] 26,71 unequal: No Solution Exploring Operation: 60*86=5160, Resulting Numbers: [5160] 5160,71 unequal: No Solution Exploring Operation: 60+86=146, Resulting Numbers: [146] 146,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 71:[52, 94], Operations: ['30*2=60', '34+60=94'] Exploring Operation: 52*94=4888, Resulting Numbers: [4888] 4888,71 unequal: No Solution Exploring Operation: 52+94=146, Resulting Numbers: [146] 146,71 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[52, 26], Operations: ['30*2=60', '60-34=26'] Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,71 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[60, 18], Operations: ['30*2=60', '52-34=18'] Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,71 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,71 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,71 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: 71:[52, 2, 64], Operations: ['30+34=64'] Exploring Operation: 2+64=66, Resulting Numbers: [52, 66] Generated Node #0,3,0: 71:[52, 66] Operation: 2+64=66 Exploring Operation: 52+2=54, Resulting Numbers: [64, 54] Generated Node #0,3,1: 71:[64, 54] Operation: 52+2=54 Exploring Operation: 52-2=50, Resulting Numbers: [64, 50] Generated Node #0,3,2: 71:[64, 50] Operation: 52-2=50 Exploring Operation: 64-2=62, Resulting Numbers: [52, 62] Generated Node #0,3,3: 71:[52, 62] Operation: 64-2=62 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[52, 66], Operations: ['30+34=64', '2+64=66'] Exploring Operation: 52+66=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 66-52=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 52*66=3432, Resulting Numbers: [3432] 3432,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[64, 54], Operations: ['30+34=64', '52+2=54'] Exploring Operation: 64+54=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 64*54=3456, Resulting Numbers: [3456] 3456,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[64, 50], Operations: ['30+34=64', '52-2=50'] Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,71 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[52, 62], Operations: ['30+34=64', '64-2=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,71 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 71:[30, 34, 54], Operations: ['52+2=54'] Exploring Operation: 30+54=84, Resulting Numbers: [34, 84] Generated Node #0,0,0: 71:[34, 84] Operation: 30+54=84 Exploring Operation: 30+34=64, Resulting Numbers: [54, 64] Generated Node #0,0,1: 71:[54, 64] Operation: 30+34=64 Exploring Operation: 34+54=88, Resulting Numbers: [30, 88] Generated Node #0,0,2: 71:[30, 88] Operation: 34+54=88 Exploring Operation: 34-30=4, Resulting Numbers: [54, 4] Generated Node #0,0,3: 71:[54, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 71:[54, 64], Operations: ['52+2=54', '30+34=64'] Exploring Operation: 54+64=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,71 unequal: No Solution Exploring Operation: 54*64=3456, Resulting Numbers: [3456] 3456,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[34, 84], Operations: ['52+2=54', '30+54=84'] Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,71 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,71 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[30, 88], Operations: ['52+2=54', '34+54=88'] Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,71 unequal: No Solution Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[54, 4], Operations: ['52+2=54', '34-30=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,71 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 91, 35, 59 ]
79
[ "12+91=103", "59-35=24", "103-24=79" ]
Current State: 79:[12, 91, 35, 59], Operations: [] Exploring Operation: 12+91=103, Resulting Numbers: [35, 59, 103] Generated Node #2: [35, 59, 103] from Operation: 12+91=103 Current State: 79:[35, 59, 103], Operations: ['12+91=103'] Exploring Operation: 59-35=24, Resulting Numbers: [103, 24] Generated Node #3: [103, 24] from Operation: 59-35=24 Current State: 79:[103, 24], Operations: ['12+91=103', '59-35=24'] Exploring Operation: 103-24=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[12, 91, 35, 59], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [91, 59, 23] Generated Node #0,0: 79:[91, 59, 23] Operation: 35-12=23 Exploring Operation: 12+91=103, Resulting Numbers: [35, 59, 103] Generated Node #0,1: 79:[35, 59, 103] Operation: 12+91=103 Exploring Operation: 12+59=71, Resulting Numbers: [91, 35, 71] Generated Node #0,2: 79:[91, 35, 71] Operation: 12+59=71 Exploring Operation: 91-12=79, Resulting Numbers: [35, 59, 79] Generated Node #0,3: 79:[35, 59, 79] Operation: 91-12=79 Exploring Operation: 12+35=47, Resulting Numbers: [91, 59, 47] Generated Node #0,4: 79:[91, 59, 47] Operation: 12+35=47 Moving to Node #0,2 Current State: 79:[91, 35, 71], Operations: ['12+59=71'] Exploring Operation: 71-35=36, Resulting Numbers: [91, 36] Generated Node #0,2,0: 79:[91, 36] Operation: 71-35=36 Exploring Operation: 35+71=106, Resulting Numbers: [91, 106] Generated Node #0,2,1: 79:[91, 106] Operation: 35+71=106 Exploring Operation: 91+35=126, Resulting Numbers: [71, 126] Generated Node #0,2,2: 79:[71, 126] Operation: 91+35=126 Exploring Operation: 91-35=56, Resulting Numbers: [71, 56] Generated Node #0,2,3: 79:[71, 56] Operation: 91-35=56 Exploring Operation: 91-71=20, Resulting Numbers: [35, 20] Generated Node #0,2,4: 79:[35, 20] Operation: 91-71=20 Moving to Node #0,4 Current State: 79:[91, 59, 47], Operations: ['12+35=47'] Exploring Operation: 91-47=44, Resulting Numbers: [59, 44] Generated Node #0,4,0: 79:[59, 44] Operation: 91-47=44 Exploring Operation: 59-47=12, Resulting Numbers: [91, 12] Generated Node #0,4,1: 79:[91, 12] Operation: 59-47=12 Exploring Operation: 59+47=106, Resulting Numbers: [91, 106] Generated Node #0,4,2: 79:[91, 106] Operation: 59+47=106 Exploring Operation: 91+47=138, Resulting Numbers: [59, 138] Generated Node #0,4,3: 79:[59, 138] Operation: 91+47=138 Exploring Operation: 91-59=32, Resulting Numbers: [47, 32] Generated Node #0,4,4: 79:[47, 32] Operation: 91-59=32 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 79:[91, 106], Operations: ['12+35=47', '59+47=106'] Exploring Operation: 91+106=197, Resulting Numbers: [197] 197,79 unequal: No Solution Exploring Operation: 106-91=15, Resulting Numbers: [15] 15,79 unequal: No Solution Exploring Operation: 91*106=9646, Resulting Numbers: [9646] 9646,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,4,0 Current State: 79:[59, 44], Operations: ['12+35=47', '91-47=44'] Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,79 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,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,4,1 Current State: 79:[91, 12], Operations: ['12+35=47', '59-47=12'] Exploring Operation: 91*12=1092, Resulting Numbers: [1092] 1092,79 unequal: No Solution Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[12, 91, 35, 59], Operations: [] Exploring Operation: 12+35=47, Resulting Numbers: [91, 59, 47] Generated Node #0,4: 79:[91, 59, 47] Operation: 12+35=47 Moving to Node #0,4 Current State: 79:[91, 59, 47], Operations: ['12+35=47'] Exploring Operation: 59-47=12, Resulting Numbers: [91, 12] Generated Node #0,4,1: 79:[91, 12] Operation: 59-47=12 Moving to Node #0,4,1 Current State: 79:[91, 12], Operations: ['12+35=47', '59-47=12'] Exploring Operation: 91-12=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 73, 72, 69, 8 ]
76
[ "73-72=1", "69+8=77", "77-1=76" ]
Current State: 76:[73, 72, 69, 8], Operations: [] Exploring Operation: 73-72=1, Resulting Numbers: [69, 8, 1] Generated Node #2: [69, 8, 1] from Operation: 73-72=1 Current State: 76:[69, 8, 1], Operations: ['73-72=1'] Exploring Operation: 69+8=77, Resulting Numbers: [1, 77] Generated Node #3: [1, 77] from Operation: 69+8=77 Current State: 76:[1, 77], Operations: ['73-72=1', '69+8=77'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[73, 72, 69, 8], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [72, 8, 4] Generated Node #0,0: 76:[72, 8, 4] Operation: 73-69=4 Exploring Operation: 69+8=77, Resulting Numbers: [73, 72, 77] Generated Node #0,1: 76:[73, 72, 77] Operation: 69+8=77 Exploring Operation: 72-69=3, Resulting Numbers: [73, 8, 3] Generated Node #0,2: 76:[73, 8, 3] Operation: 72-69=3 Moving to Node #0,0 Current State: 76:[72, 8, 4], Operations: ['73-69=4'] Exploring Operation: 8-4=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 76:[72, 4] Operation: 8-4=4 Exploring Operation: 72+4=76, Resulting Numbers: [8, 76] Generated Node #0,0,1: 76:[8, 76] Operation: 72+4=76 Exploring Operation: 72+8=80, Resulting Numbers: [4, 80] Generated Node #0,0,2: 76:[4, 80] Operation: 72+8=80 Moving to Node #0,1 Current State: 76:[73, 72, 77], Operations: ['69+8=77'] Exploring Operation: 73-72=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 76:[77, 1] Operation: 73-72=1 Exploring Operation: 77-72=5, Resulting Numbers: [73, 5] Generated Node #0,1,1: 76:[73, 5] Operation: 77-72=5 Exploring Operation: 77-73=4, Resulting Numbers: [72, 4] Generated Node #0,1,2: 76:[72, 4] Operation: 77-73=4 Moving to Node #0,2 Current State: 76:[73, 8, 3], Operations: ['72-69=3'] Exploring Operation: 8-3=5, Resulting Numbers: [73, 5] Generated Node #0,2,0: 76:[73, 5] Operation: 8-3=5 Exploring Operation: 73+8=81, Resulting Numbers: [3, 81] Generated Node #0,2,1: 76:[3, 81] Operation: 73+8=81 Exploring Operation: 73+3=76, Resulting Numbers: [8, 76] Generated Node #0,2,2: 76:[8, 76] Operation: 73+3=76 Moving to Node #0,1,0 Current State: 76:[77, 1], Operations: ['69+8=77', '73-72=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[73, 72, 69, 8], Operations: [] Exploring Operation: 69+8=77, Resulting Numbers: [73, 72, 77] Generated Node #0,1: 76:[73, 72, 77] Operation: 69+8=77 Moving to Node #0,1 Current State: 76:[73, 72, 77], Operations: ['69+8=77'] Exploring Operation: 73-72=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 76:[77, 1] Operation: 73-72=1 Moving to Node #0,1,0 Current State: 76:[77, 1], Operations: ['69+8=77', '73-72=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 45, 90, 30, 33 ]
27
[ "90/45=2", "30*2=60", "60-33=27" ]
Current State: 27:[45, 90, 30, 33], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [30, 33, 2] Generated Node #2: [30, 33, 2] from Operation: 90/45=2 Current State: 27:[30, 33, 2], Operations: ['90/45=2'] Exploring Operation: 30*2=60, Resulting Numbers: [33, 60] Generated Node #3: [33, 60] from Operation: 30*2=60 Current State: 27:[33, 60], Operations: ['90/45=2', '30*2=60'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[45, 90, 30, 33], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [30, 33, 45] Generated Node #0,0: 27:[30, 33, 45] Operation: 90-45=45 Exploring Operation: 90/30=3, Resulting Numbers: [45, 33, 3] Generated Node #0,1: 27:[45, 33, 3] Operation: 90/30=3 Exploring Operation: 90/45=2, Resulting Numbers: [30, 33, 2] Generated Node #0,2: 27:[30, 33, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[30, 33, 2], Operations: ['90/45=2'] Exploring Operation: 30-2=28, Resulting Numbers: [33, 28] Generated Node #0,2,0: 27:[33, 28] Operation: 30-2=28 Exploring Operation: 33-30=3, Resulting Numbers: [2, 3] Generated Node #0,2,1: 27:[2, 3] Operation: 33-30=3 Exploring Operation: 33-2=31, Resulting Numbers: [30, 31] Generated Node #0,2,2: 27:[30, 31] Operation: 33-2=31 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[2, 3], Operations: ['90/45=2', '33-30=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[33, 28], Operations: ['90/45=2', '30-2=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[30, 31], Operations: ['90/45=2', '33-2=31'] Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,27 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[45, 33, 3], Operations: ['90/30=3'] Exploring Operation: 45/3=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 27:[33, 15] Operation: 45/3=15 Exploring Operation: 33/3=11, Resulting Numbers: [45, 11] Generated Node #0,1,1: 27:[45, 11] Operation: 33/3=11 Exploring Operation: 45-33=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 27:[3, 12] Operation: 45-33=12 Moving to Node #0,1,2 Current State: 27:[3, 12], Operations: ['90/30=3', '45-33=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[33, 15], Operations: ['90/30=3', '45/3=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,27 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[45, 11], Operations: ['90/30=3', '33/3=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 45*11=495, Resulting Numbers: [495] 495,27 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[30, 33, 45], Operations: ['90-45=45'] Exploring Operation: 45-30=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 27:[33, 15] Operation: 45-30=15 Exploring Operation: 33-30=3, Resulting Numbers: [45, 3] Generated Node #0,0,1: 27:[45, 3] Operation: 33-30=3 Exploring Operation: 45-33=12, Resulting Numbers: [30, 12] Generated Node #0,0,2: 27:[30, 12] Operation: 45-33=12 Moving to Node #0,0,2 Current State: 27:[30, 12], Operations: ['90-45=45', '45-33=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,27 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[33, 15], Operations: ['90-45=45', '45-30=15'] Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,27 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[45, 3], Operations: ['90-45=45', '33-30=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,27 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,27 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
[ 91, 6, 3, 90 ]
19
[ "91-90=1", "6*3=18", "1+18=19" ]
Current State: 19:[91, 6, 3, 90], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [6, 3, 1] Generated Node #2: [6, 3, 1] from Operation: 91-90=1 Current State: 19:[6, 3, 1], Operations: ['91-90=1'] Exploring Operation: 6*3=18, Resulting Numbers: [1, 18] Generated Node #3: [1, 18] from Operation: 6*3=18 Current State: 19:[1, 18], Operations: ['91-90=1', '6*3=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[91, 6, 3, 90], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [6, 3, 1] Generated Node #0,0: 19:[6, 3, 1] Operation: 91-90=1 Exploring Operation: 90/6=15, Resulting Numbers: [91, 3, 15] Generated Node #0,1: 19:[91, 3, 15] Operation: 90/6=15 Moving to Node #0,0 Current State: 19:[6, 3, 1], Operations: ['91-90=1'] Exploring Operation: 6+3=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 19:[1, 9] Operation: 6+3=9 Exploring Operation: 6*3=18, Resulting Numbers: [1, 18] Generated Node #0,0,1: 19:[1, 18] Operation: 6*3=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[1, 18], Operations: ['91-90=1', '6*3=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[91, 6, 3, 90], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [6, 3, 1] Generated Node #0,0: 19:[6, 3, 1] Operation: 91-90=1 Moving to Node #0,0 Current State: 19:[6, 3, 1], Operations: ['91-90=1'] Exploring Operation: 6*3=18, Resulting Numbers: [1, 18] Generated Node #0,0,1: 19:[1, 18] Operation: 6*3=18 Moving to Node #0,0,1 Current State: 19:[1, 18], Operations: ['91-90=1', '6*3=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 72, 38, 14, 48 ]
71
[ "72*38=2736", "2736/48=57", "14+57=71" ]
Current State: 71:[72, 38, 14, 48], Operations: [] Exploring Operation: 72*38=2736, Resulting Numbers: [14, 48, 2736] Generated Node #2: [14, 48, 2736] from Operation: 72*38=2736 Current State: 71:[14, 48, 2736], Operations: ['72*38=2736'] Exploring Operation: 2736/48=57, Resulting Numbers: [14, 57] Generated Node #3: [14, 57] from Operation: 2736/48=57 Current State: 71:[14, 57], Operations: ['72*38=2736', '2736/48=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[72, 38, 14, 48], Operations: [] Exploring Operation: 38+14=52, Resulting Numbers: [72, 48, 52] Generated Node #0,0: 71:[72, 48, 52] Operation: 38+14=52 Exploring Operation: 72-14=58, Resulting Numbers: [38, 48, 58] Generated Node #0,1: 71:[38, 48, 58] Operation: 72-14=58 Exploring Operation: 14+48=62, Resulting Numbers: [72, 38, 62] Generated Node #0,2: 71:[72, 38, 62] Operation: 14+48=62 Moving to Node #0,0 Current State: 71:[72, 48, 52], Operations: ['38+14=52'] Exploring Operation: 72+48=120, Resulting Numbers: [52, 120] Generated Node #0,0,0: 71:[52, 120] Operation: 72+48=120 Exploring Operation: 48+52=100, Resulting Numbers: [72, 100] Generated Node #0,0,1: 71:[72, 100] Operation: 48+52=100 Exploring Operation: 72-48=24, Resulting Numbers: [52, 24] Generated Node #0,0,2: 71:[52, 24] Operation: 72-48=24 Moving to Node #0,2 Current State: 71:[72, 38, 62], Operations: ['14+48=62'] Exploring Operation: 72+38=110, Resulting Numbers: [62, 110] Generated Node #0,2,0: 71:[62, 110] Operation: 72+38=110 Exploring Operation: 72-38=34, Resulting Numbers: [62, 34] Generated Node #0,2,1: 71:[62, 34] Operation: 72-38=34 Exploring Operation: 38+62=100, Resulting Numbers: [72, 100] Generated Node #0,2,2: 71:[72, 100] Operation: 38+62=100 Moving to Node #0,1 Current State: 71:[38, 48, 58], Operations: ['72-14=58'] Exploring Operation: 48+58=106, Resulting Numbers: [38, 106] Generated Node #0,1,0: 71:[38, 106] Operation: 48+58=106 Exploring Operation: 38+48=86, Resulting Numbers: [58, 86] Generated Node #0,1,1: 71:[58, 86] Operation: 38+48=86 Exploring Operation: 38+58=96, Resulting Numbers: [48, 96] Generated Node #0,1,2: 71:[48, 96] Operation: 38+58=96 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 71:[58, 86], Operations: ['72-14=58', '38+48=86'] Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 71:[48, 96], Operations: ['72-14=58', '38+58=96'] Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,71 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[38, 106], Operations: ['72-14=58', '48+58=106'] Exploring Operation: 38+106=144, Resulting Numbers: [144] 144,71 unequal: No Solution Exploring Operation: 38*106=4028, Resulting Numbers: [4028] 4028,71 unequal: No Solution Exploring Operation: 106-38=68, Resulting Numbers: [68] 68,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 71:[72, 100], Operations: ['38+14=52', '48+52=100'] Exploring Operation: 72+100=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 72*100=7200, Resulting Numbers: [7200] 7200,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[72, 100], Operations: ['14+48=62', '38+62=100'] Exploring Operation: 72+100=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 72*100=7200, Resulting Numbers: [7200] 7200,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[62, 34], Operations: ['14+48=62', '72-38=34'] Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,71 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,71 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[62, 110], Operations: ['14+48=62', '72+38=110'] Exploring Operation: 62+110=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 62*110=6820, Resulting Numbers: [6820] 6820,71 unequal: No Solution Exploring Operation: 110-62=48, Resulting Numbers: [48] 48,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[52, 24], Operations: ['38+14=52', '72-48=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,71 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[52, 120], Operations: ['38+14=52', '72+48=120'] Exploring Operation: 120-52=68, Resulting Numbers: [68] 68,71 unequal: No Solution Exploring Operation: 52+120=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 52*120=6240, Resulting Numbers: [6240] 6240,71 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 9, 99, 82, 57 ]
14
[ "99/9=11", "82-57=25", "25-11=14" ]
Current State: 14:[9, 99, 82, 57], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [82, 57, 11] Generated Node #2: [82, 57, 11] from Operation: 99/9=11 Current State: 14:[82, 57, 11], Operations: ['99/9=11'] Exploring Operation: 82-57=25, Resulting Numbers: [11, 25] Generated Node #3: [11, 25] from Operation: 82-57=25 Current State: 14:[11, 25], Operations: ['99/9=11', '82-57=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[9, 99, 82, 57], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [9, 57, 17] Generated Node #0,0: 14:[9, 57, 17] Operation: 99-82=17 Exploring Operation: 99-57=42, Resulting Numbers: [9, 82, 42] Generated Node #0,1: 14:[9, 82, 42] Operation: 99-57=42 Exploring Operation: 82-57=25, Resulting Numbers: [9, 99, 25] Generated Node #0,2: 14:[9, 99, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 14:[9, 57, 17], Operations: ['99-82=17'] Exploring Operation: 17-9=8, Resulting Numbers: [57, 8] Generated Node #0,0,0: 14:[57, 8] Operation: 17-9=8 Exploring Operation: 57-17=40, Resulting Numbers: [9, 40] Generated Node #0,0,1: 14:[9, 40] Operation: 57-17=40 Exploring Operation: 57-9=48, Resulting Numbers: [17, 48] Generated Node #0,0,2: 14:[17, 48] Operation: 57-9=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[9, 40], Operations: ['99-82=17', '57-17=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,14 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,14 unequal: No Solution No 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: 14:[17, 48], Operations: ['99-82=17', '57-9=48'] Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,14 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,14 unequal: No Solution No 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: 14:[57, 8], Operations: ['99-82=17', '17-9=8'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 57*8=456, Resulting Numbers: [456] 456,14 unequal: No Solution Exploring Operation: 57+8=65, Resulting Numbers: [65] 65,14 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: 14:[9, 82, 42], Operations: ['99-57=42'] Exploring Operation: 82-9=73, Resulting Numbers: [42, 73] Generated Node #0,1,0: 14:[42, 73] Operation: 82-9=73 Exploring Operation: 42-9=33, Resulting Numbers: [82, 33] Generated Node #0,1,1: 14:[82, 33] Operation: 42-9=33 Exploring Operation: 82-42=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 14:[9, 40] Operation: 82-42=40 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 14:[9, 40], Operations: ['99-57=42', '82-42=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,14 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,14 unequal: No Solution No 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: 14:[42, 73], Operations: ['99-57=42', '82-9=73'] Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 42+73=115, Resulting Numbers: [115] 115,14 unequal: No Solution Exploring Operation: 42*73=3066, Resulting Numbers: [3066] 3066,14 unequal: No Solution No 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: 14:[82, 33], Operations: ['99-57=42', '42-9=33'] Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 82+33=115, Resulting Numbers: [115] 115,14 unequal: No Solution Exploring Operation: 82*33=2706, Resulting Numbers: [2706] 2706,14 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: 14:[9, 99, 25], Operations: ['82-57=25'] Exploring Operation: 99-25=74, Resulting Numbers: [9, 74] Generated Node #0,2,0: 14:[9, 74] Operation: 99-25=74 Exploring Operation: 99/9=11, Resulting Numbers: [25, 11] Generated Node #0,2,1: 14:[25, 11] Operation: 99/9=11 Exploring Operation: 99-9=90, Resulting Numbers: [25, 90] Generated Node #0,2,2: 14:[25, 90] Operation: 99-9=90 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[25, 11], Operations: ['82-57=25', '99/9=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[9, 99, 82, 57], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [9, 99, 25] Generated Node #0,2: 14:[9, 99, 25] Operation: 82-57=25 Moving to Node #0,2 Current State: 14:[9, 99, 25], Operations: ['82-57=25'] Exploring Operation: 99/9=11, Resulting Numbers: [25, 11] Generated Node #0,2,1: 14:[25, 11] Operation: 99/9=11 Moving to Node #0,2,1 Current State: 14:[25, 11], Operations: ['82-57=25', '99/9=11'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 55, 43, 72, 16 ]
56
[ "43*72=3096", "3096-16=3080", "3080/55=56" ]
Current State: 56:[55, 43, 72, 16], Operations: [] Exploring Operation: 43*72=3096, Resulting Numbers: [55, 16, 3096] Generated Node #2: [55, 16, 3096] from Operation: 43*72=3096 Current State: 56:[55, 16, 3096], Operations: ['43*72=3096'] Exploring Operation: 3096-16=3080, Resulting Numbers: [55, 3080] Generated Node #3: [55, 3080] from Operation: 3096-16=3080 Current State: 56:[55, 3080], Operations: ['43*72=3096', '3096-16=3080'] Exploring Operation: 3080/55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 43, 72, 16], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [55, 72, 27] Generated Node #0,0: 56:[55, 72, 27] Operation: 43-16=27 Exploring Operation: 72-43=29, Resulting Numbers: [55, 16, 29] Generated Node #0,1: 56:[55, 16, 29] Operation: 72-43=29 Exploring Operation: 72-55=17, Resulting Numbers: [43, 16, 17] Generated Node #0,2: 56:[43, 16, 17] Operation: 72-55=17 Exploring Operation: 72-16=56, Resulting Numbers: [55, 43, 56] Generated Node #0,3: 56:[55, 43, 56] Operation: 72-16=56 Moving to Node #0,1 Current State: 56:[55, 16, 29], Operations: ['72-43=29'] Exploring Operation: 29-16=13, Resulting Numbers: [55, 13] Generated Node #0,1,0: 56:[55, 13] Operation: 29-16=13 Exploring Operation: 55-29=26, Resulting Numbers: [16, 26] Generated Node #0,1,1: 56:[16, 26] Operation: 55-29=26 Exploring Operation: 16+29=45, Resulting Numbers: [55, 45] Generated Node #0,1,2: 56:[55, 45] Operation: 16+29=45 Exploring Operation: 55-16=39, Resulting Numbers: [29, 39] Generated Node #0,1,3: 56:[29, 39] Operation: 55-16=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[55, 13], Operations: ['72-43=29', '29-16=13'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,56 unequal: No Solution No 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: 56:[16, 26], Operations: ['72-43=29', '55-29=26'] Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,56 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,56 unequal: No Solution No 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: 56:[55, 45], Operations: ['72-43=29', '16+29=45'] Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,56 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,56 unequal: No Solution No 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: 56:[29, 39], Operations: ['72-43=29', '55-16=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 29*39=1131, Resulting Numbers: [1131] 1131,56 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,56 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: 56:[55, 43, 56], Operations: ['72-16=56'] Exploring Operation: 56-43=13, Resulting Numbers: [55, 13] Generated Node #0,3,0: 56:[55, 13] Operation: 56-43=13 Exploring Operation: 55-43=12, Resulting Numbers: [56, 12] Generated Node #0,3,1: 56:[56, 12] Operation: 55-43=12 Exploring Operation: 55+43=98, Resulting Numbers: [56, 98] Generated Node #0,3,2: 56:[56, 98] Operation: 55+43=98 Exploring Operation: 56-55=1, Resulting Numbers: [43, 1] Generated Node #0,3,3: 56:[43, 1] Operation: 56-55=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[55, 13], Operations: ['72-16=56', '56-43=13'] Exploring Operation: 55+13=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 55*13=715, Resulting Numbers: [715] 715,56 unequal: No Solution Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,56 unequal: No Solution No 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: 56:[56, 12], Operations: ['72-16=56', '55-43=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,56 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,56 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,56 unequal: No Solution No 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: 56:[43, 1], Operations: ['72-16=56', '56-55=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,56 unequal: No Solution No 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: 56:[56, 98], Operations: ['72-16=56', '55+43=98'] Exploring Operation: 56*98=5488, Resulting Numbers: [5488] 5488,56 unequal: No Solution Exploring Operation: 56+98=154, Resulting Numbers: [154] 154,56 unequal: No Solution Exploring Operation: 98-56=42, Resulting Numbers: [42] 42,56 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: 56:[43, 16, 17], Operations: ['72-55=17'] Exploring Operation: 43-16=27, Resulting Numbers: [17, 27] Generated Node #0,2,0: 56:[17, 27] Operation: 43-16=27 Exploring Operation: 43+17=60, Resulting Numbers: [16, 60] Generated Node #0,2,1: 56:[16, 60] Operation: 43+17=60 Exploring Operation: 43+16=59, Resulting Numbers: [17, 59] Generated Node #0,2,2: 56:[17, 59] Operation: 43+16=59 Exploring Operation: 43-17=26, Resulting Numbers: [16, 26] Generated Node #0,2,3: 56:[16, 26] Operation: 43-17=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[17, 27], Operations: ['72-55=17', '43-16=27'] Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,56 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,56 unequal: No Solution No 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: 56:[16, 26], Operations: ['72-55=17', '43-17=26'] Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,56 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,56 unequal: No Solution No 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: 56:[16, 60], Operations: ['72-55=17', '43+17=60'] Exploring Operation: 16+60=76, Resulting Numbers: [76] 76,56 unequal: No Solution Exploring Operation: 16*60=960, Resulting Numbers: [960] 960,56 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,56 unequal: No Solution No 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: 56:[17, 59], Operations: ['72-55=17', '43+16=59'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,56 unequal: No Solution Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,56 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: 56:[55, 72, 27], Operations: ['43-16=27'] Exploring Operation: 72-55=17, Resulting Numbers: [27, 17] Generated Node #0,0,0: 56:[27, 17] Operation: 72-55=17 Exploring Operation: 55-27=28, Resulting Numbers: [72, 28] Generated Node #0,0,1: 56:[72, 28] Operation: 55-27=28 Exploring Operation: 72-27=45, Resulting Numbers: [55, 45] Generated Node #0,0,2: 56:[55, 45] Operation: 72-27=45 Exploring Operation: 55+27=82, Resulting Numbers: [72, 82] Generated Node #0,0,3: 56:[72, 82] Operation: 55+27=82 Moving to Node #0,0,0 Current State: 56:[27, 17], Operations: ['43-16=27', '72-55=17'] Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,56 unequal: No Solution Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[55, 45], Operations: ['43-16=27', '72-27=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,56 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[72, 28], Operations: ['43-16=27', '55-27=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,56 unequal: No Solution Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[72, 82], Operations: ['43-16=27', '55+27=82'] Exploring Operation: 72+82=154, Resulting Numbers: [154] 154,56 unequal: No Solution Exploring Operation: 72*82=5904, Resulting Numbers: [5904] 5904,56 unequal: No Solution Exploring Operation: 82-72=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 10, 61, 89 ]
84
[ "10-7=3", "89-61=28", "3*28=84" ]
Current State: 84:[7, 10, 61, 89], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [61, 89, 3] Generated Node #2: [61, 89, 3] from Operation: 10-7=3 Current State: 84:[61, 89, 3], Operations: ['10-7=3'] Exploring Operation: 89-61=28, Resulting Numbers: [3, 28] Generated Node #3: [3, 28] from Operation: 89-61=28 Current State: 84:[3, 28], Operations: ['10-7=3', '89-61=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[7, 10, 61, 89], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [7, 89, 51] Generated Node #0,0: 84:[7, 89, 51] Operation: 61-10=51 Exploring Operation: 10+61=71, Resulting Numbers: [7, 89, 71] Generated Node #0,1: 84:[7, 89, 71] Operation: 10+61=71 Exploring Operation: 89-61=28, Resulting Numbers: [7, 10, 28] Generated Node #0,2: 84:[7, 10, 28] Operation: 89-61=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[7, 10, 28], Operations: ['89-61=28'] Exploring Operation: 28/7=4, Resulting Numbers: [10, 4] Generated Node #0,2,0: 84:[10, 4] Operation: 28/7=4 Exploring Operation: 10-7=3, Resulting Numbers: [28, 3] Generated Node #0,2,1: 84:[28, 3] Operation: 10-7=3 Exploring Operation: 28-7=21, Resulting Numbers: [10, 21] Generated Node #0,2,2: 84:[10, 21] Operation: 28-7=21 Moving to Node #0,2,1 Current State: 84:[28, 3], Operations: ['89-61=28', '10-7=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,84 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[7, 10, 61, 89], Operations: [] Exploring Operation: 89-61=28, Resulting Numbers: [7, 10, 28] Generated Node #0,2: 84:[7, 10, 28] Operation: 89-61=28 Moving to Node #0,2 Current State: 84:[7, 10, 28], Operations: ['89-61=28'] Exploring Operation: 10-7=3, Resulting Numbers: [28, 3] Generated Node #0,2,1: 84:[28, 3] Operation: 10-7=3 Moving to Node #0,2,1 Current State: 84:[28, 3], Operations: ['89-61=28', '10-7=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 52, 23, 99, 72 ]
56
[ "52-23=29", "99-72=27", "29+27=56" ]
Current State: 56:[52, 23, 99, 72], Operations: [] Exploring Operation: 52-23=29, Resulting Numbers: [99, 72, 29] Generated Node #2: [99, 72, 29] from Operation: 52-23=29 Current State: 56:[99, 72, 29], Operations: ['52-23=29'] Exploring Operation: 99-72=27, Resulting Numbers: [29, 27] Generated Node #3: [29, 27] from Operation: 99-72=27 Current State: 56:[29, 27], Operations: ['52-23=29', '99-72=27'] Exploring Operation: 29+27=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[52, 23, 99, 72], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [52, 23, 27] Generated Node #0,0: 56:[52, 23, 27] Operation: 99-72=27 Exploring Operation: 99-52=47, Resulting Numbers: [23, 72, 47] Generated Node #0,1: 56:[23, 72, 47] Operation: 99-52=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[52, 23, 27], Operations: ['99-72=27'] Exploring Operation: 52-23=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 56:[27, 29] Operation: 52-23=29 Exploring Operation: 27-23=4, Resulting Numbers: [52, 4] Generated Node #0,0,1: 56:[52, 4] Operation: 27-23=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[27, 29], Operations: ['99-72=27', '52-23=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[52, 23, 99, 72], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [52, 23, 27] Generated Node #0,0: 56:[52, 23, 27] Operation: 99-72=27 Moving to Node #0,0 Current State: 56:[52, 23, 27], Operations: ['99-72=27'] Exploring Operation: 52-23=29, Resulting Numbers: [27, 29] Generated Node #0,0,0: 56:[27, 29] Operation: 52-23=29 Moving to Node #0,0,0 Current State: 56:[27, 29], Operations: ['99-72=27', '52-23=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 9, 8, 60, 55 ]
100
[ "9*60=540", "8*55=440", "540-440=100" ]
Current State: 100:[9, 8, 60, 55], Operations: [] Exploring Operation: 9*60=540, Resulting Numbers: [8, 55, 540] Generated Node #2: [8, 55, 540] from Operation: 9*60=540 Current State: 100:[8, 55, 540], Operations: ['9*60=540'] Exploring Operation: 8*55=440, Resulting Numbers: [540, 440] Generated Node #3: [540, 440] from Operation: 8*55=440 Current State: 100:[540, 440], Operations: ['9*60=540', '8*55=440'] Exploring Operation: 540-440=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 8, 60, 55], Operations: [] Exploring Operation: 60-9=51, Resulting Numbers: [8, 55, 51] Generated Node #0,0: 100:[8, 55, 51] Operation: 60-9=51 Exploring Operation: 55-8=47, Resulting Numbers: [9, 60, 47] Generated Node #0,1: 100:[9, 60, 47] Operation: 55-8=47 Exploring Operation: 9-8=1, Resulting Numbers: [60, 55, 1] Generated Node #0,2: 100:[60, 55, 1] Operation: 9-8=1 Exploring Operation: 60-8=52, Resulting Numbers: [9, 55, 52] Generated Node #0,3: 100:[9, 55, 52] Operation: 60-8=52 Exploring Operation: 60-55=5, Resulting Numbers: [9, 8, 5] Generated Node #0,4: 100:[9, 8, 5] Operation: 60-55=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[9, 8, 5], Operations: ['60-55=5'] Exploring Operation: 9-8=1, Resulting Numbers: [5, 1] Generated Node #0,4,0: 100:[5, 1] Operation: 9-8=1 Exploring Operation: 9+8=17, Resulting Numbers: [5, 17] Generated Node #0,4,1: 100:[5, 17] Operation: 9+8=17 Exploring Operation: 8-5=3, Resulting Numbers: [9, 3] Generated Node #0,4,2: 100:[9, 3] Operation: 8-5=3 Exploring Operation: 9-5=4, Resulting Numbers: [8, 4] Generated Node #0,4,3: 100:[8, 4] Operation: 9-5=4 Exploring Operation: 8+5=13, Resulting Numbers: [9, 13] Generated Node #0,4,4: 100:[9, 13] Operation: 8+5=13 Moving to Node #0,4,0 Current State: 100:[5, 1], Operations: ['60-55=5', '9-8=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,4,3 Current State: 100:[8, 4], Operations: ['60-55=5', '9-5=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,4,2 Current State: 100:[9, 3], Operations: ['60-55=5', '8-5=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Moving to Node #0,4,1 Current State: 100:[5, 17], Operations: ['60-55=5', '9+8=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,100 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,4,4 Current State: 100:[9, 13], Operations: ['60-55=5', '8+5=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,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:[8, 55, 51], Operations: ['60-9=51'] Exploring Operation: 55-8=47, Resulting Numbers: [51, 47] Generated Node #0,0,0: 100:[51, 47] Operation: 55-8=47 Exploring Operation: 8+55=63, Resulting Numbers: [51, 63] Generated Node #0,0,1: 100:[51, 63] Operation: 8+55=63 Exploring Operation: 55+51=106, Resulting Numbers: [8, 106] Generated Node #0,0,2: 100:[8, 106] Operation: 55+51=106 Exploring Operation: 55-51=4, Resulting Numbers: [8, 4] Generated Node #0,0,3: 100:[8, 4] Operation: 55-51=4 Exploring Operation: 51-8=43, Resulting Numbers: [55, 43] Generated Node #0,0,4: 100:[55, 43] Operation: 51-8=43 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[8, 4], Operations: ['60-9=51', '55-51=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,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,0 Current State: 100:[51, 47], Operations: ['60-9=51', '55-8=47'] Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,100 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,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,2 Current State: 100:[8, 106], Operations: ['60-9=51', '55+51=106'] Exploring Operation: 106-8=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 8+106=114, Resulting Numbers: [114] 114,100 unequal: No Solution Exploring Operation: 8*106=848, Resulting Numbers: [848] 848,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,4 Current State: 100:[55, 43], Operations: ['60-9=51', '51-8=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,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:[51, 63], Operations: ['60-9=51', '8+55=63'] Exploring Operation: 51*63=3213, Resulting Numbers: [3213] 3213,100 unequal: No Solution Exploring Operation: 51+63=114, Resulting Numbers: [114] 114,100 unequal: No Solution Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,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:[9, 55, 52], Operations: ['60-8=52'] Exploring Operation: 55+52=107, Resulting Numbers: [9, 107] Generated Node #0,3,0: 100:[9, 107] Operation: 55+52=107 Exploring Operation: 55-52=3, Resulting Numbers: [9, 3] Generated Node #0,3,1: 100:[9, 3] Operation: 55-52=3 Exploring Operation: 52-9=43, Resulting Numbers: [55, 43] Generated Node #0,3,2: 100:[55, 43] Operation: 52-9=43 Exploring Operation: 55-9=46, Resulting Numbers: [52, 46] Generated Node #0,3,3: 100:[52, 46] Operation: 55-9=46 Exploring Operation: 9+55=64, Resulting Numbers: [52, 64] Generated Node #0,3,4: 100:[52, 64] Operation: 9+55=64 Moving to Node #0,3,1 Current State: 100:[9, 3], Operations: ['60-8=52', '55-52=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[52, 46], Operations: ['60-8=52', '55-9=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,100 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[9, 107], Operations: ['60-8=52', '55+52=107'] Exploring Operation: 9*107=963, Resulting Numbers: [963] 963,100 unequal: No Solution Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 9+107=116, Resulting Numbers: [116] 116,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[55, 43], Operations: ['60-8=52', '52-9=43'] Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,100 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[52, 64], Operations: ['60-8=52', '9+55=64'] Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,100 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,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,1 Current State: 100:[9, 60, 47], Operations: ['55-8=47'] Exploring Operation: 9+47=56, Resulting Numbers: [60, 56] Generated Node #0,1,0: 100:[60, 56] Operation: 9+47=56 Exploring Operation: 60-47=13, Resulting Numbers: [9, 13] Generated Node #0,1,1: 100:[9, 13] Operation: 60-47=13 Exploring Operation: 60-9=51, Resulting Numbers: [47, 51] Generated Node #0,1,2: 100:[47, 51] Operation: 60-9=51 Exploring Operation: 60+47=107, Resulting Numbers: [9, 107] Generated Node #0,1,3: 100:[9, 107] Operation: 60+47=107 Exploring Operation: 9+60=69, Resulting Numbers: [47, 69] Generated Node #0,1,4: 100:[47, 69] Operation: 9+60=69 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[9, 13], Operations: ['55-8=47', '60-47=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,100 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,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:[47, 51], Operations: ['55-8=47', '60-9=51'] Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,100 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,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,3 Current State: 100:[9, 107], Operations: ['55-8=47', '60+47=107'] Exploring Operation: 9*107=963, Resulting Numbers: [963] 963,100 unequal: No Solution Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 9+107=116, Resulting Numbers: [116] 116,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:[60, 56], Operations: ['55-8=47', '9+47=56'] Exploring Operation: 60-56=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 60*56=3360, Resulting Numbers: [3360] 3360,100 unequal: No Solution Exploring Operation: 60+56=116, Resulting Numbers: [116] 116,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:[47, 69], Operations: ['55-8=47', '9+60=69'] Exploring Operation: 47+69=116, Resulting Numbers: [116] 116,100 unequal: No Solution Exploring Operation: 69-47=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 47*69=3243, Resulting Numbers: [3243] 3243,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,2 Current State: 100:[60, 55, 1], Operations: ['9-8=1'] Exploring Operation: 60/1=60, Resulting Numbers: [55, 60] Generated Node #0,2,0: 100:[55, 60] Operation: 60/1=60 Exploring Operation: 60-55=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 100:[1, 5] Operation: 60-55=5 Exploring Operation: 60-1=59, Resulting Numbers: [55, 59] Generated Node #0,2,2: 100:[55, 59] Operation: 60-1=59 Exploring Operation: 55-1=54, Resulting Numbers: [60, 54] Generated Node #0,2,3: 100:[60, 54] Operation: 55-1=54 Exploring Operation: 60*1=60, Resulting Numbers: [55, 60] Generated Node #0,2,4: 100:[55, 60] Operation: 60*1=60 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 100:[1, 5], Operations: ['9-8=1', '60-55=5'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,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,2 Current State: 100:[55, 59], Operations: ['9-8=1', '60-1=59'] Exploring Operation: 55*59=3245, Resulting Numbers: [3245] 3245,100 unequal: No Solution Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,100 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,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:[60, 54], Operations: ['9-8=1', '55-1=54'] Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,100 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,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:[55, 60], Operations: ['9-8=1', '60/1=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,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:[55, 60], Operations: ['9-8=1', '60*1=60'] Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,100 unequal: No Solution Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,100 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,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_5
mult_heuristic
[ 65, 4, 2, 54 ]
72
[ "65*2=130", "4+54=58", "130-58=72" ]
Current State: 72:[65, 4, 2, 54], Operations: [] Exploring Operation: 65*2=130, Resulting Numbers: [4, 54, 130] Generated Node #2: [4, 54, 130] from Operation: 65*2=130 Current State: 72:[4, 54, 130], Operations: ['65*2=130'] Exploring Operation: 4+54=58, Resulting Numbers: [130, 58] Generated Node #3: [130, 58] from Operation: 4+54=58 Current State: 72:[130, 58], Operations: ['65*2=130', '4+54=58'] Exploring Operation: 130-58=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[65, 4, 2, 54], Operations: [] Exploring Operation: 65+4=69, Resulting Numbers: [2, 54, 69] Generated Node #0,0: 72:[2, 54, 69] Operation: 65+4=69 Exploring Operation: 65-54=11, Resulting Numbers: [4, 2, 11] Generated Node #0,1: 72:[4, 2, 11] Operation: 65-54=11 Exploring Operation: 54/2=27, Resulting Numbers: [65, 4, 27] Generated Node #0,2: 72:[65, 4, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 72:[4, 2, 11], Operations: ['65-54=11'] Exploring Operation: 4+2=6, Resulting Numbers: [11, 6] Generated Node #0,1,0: 72:[11, 6] Operation: 4+2=6 Exploring Operation: 4*2=8, Resulting Numbers: [11, 8] Generated Node #0,1,1: 72:[11, 8] Operation: 4*2=8 Exploring Operation: 11-2=9, Resulting Numbers: [4, 9] Generated Node #0,1,2: 72:[4, 9] Operation: 11-2=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[4, 9], Operations: ['65-54=11', '11-2=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[11, 6], Operations: ['65-54=11', '4+2=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[11, 8], Operations: ['65-54=11', '4*2=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 72:[65, 4, 27], Operations: ['54/2=27'] Exploring Operation: 65+4=69, Resulting Numbers: [27, 69] Generated Node #0,2,0: 72:[27, 69] Operation: 65+4=69 Exploring Operation: 27-4=23, Resulting Numbers: [65, 23] Generated Node #0,2,1: 72:[65, 23] Operation: 27-4=23 Exploring Operation: 65-27=38, Resulting Numbers: [4, 38] Generated Node #0,2,2: 72:[4, 38] Operation: 65-27=38 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[4, 38], Operations: ['54/2=27', '65-27=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,72 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,72 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[27, 69], Operations: ['54/2=27', '65+4=69'] Exploring Operation: 27*69=1863, Resulting Numbers: [1863] 1863,72 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 27+69=96, Resulting Numbers: [96] 96,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[65, 23], Operations: ['54/2=27', '27-4=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,72 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,72 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: 72:[2, 54, 69], Operations: ['65+4=69'] Exploring Operation: 2+54=56, Resulting Numbers: [69, 56] Generated Node #0,0,0: 72:[69, 56] Operation: 2+54=56 Exploring Operation: 69-54=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 72:[2, 15] Operation: 69-54=15 Exploring Operation: 54/2=27, Resulting Numbers: [69, 27] Generated Node #0,0,2: 72:[69, 27] Operation: 54/2=27 Moving to Node #0,0,1 Current State: 72:[2, 15], Operations: ['65+4=69', '69-54=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[69, 27], Operations: ['65+4=69', '54/2=27'] Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,72 unequal: No Solution Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[69, 56], Operations: ['65+4=69', '2+54=56'] Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,72 unequal: No Solution Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,72 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 62, 54, 83, 70 ]
94
[ "62*83=5146", "5146-70=5076", "5076/54=94" ]
Current State: 94:[62, 54, 83, 70], Operations: [] Exploring Operation: 62*83=5146, Resulting Numbers: [54, 70, 5146] Generated Node #2: [54, 70, 5146] from Operation: 62*83=5146 Current State: 94:[54, 70, 5146], Operations: ['62*83=5146'] Exploring Operation: 5146-70=5076, Resulting Numbers: [54, 5076] Generated Node #3: [54, 5076] from Operation: 5146-70=5076 Current State: 94:[54, 5076], Operations: ['62*83=5146', '5146-70=5076'] Exploring Operation: 5076/54=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[62, 54, 83, 70], Operations: [] Exploring Operation: 70-62=8, Resulting Numbers: [54, 83, 8] Generated Node #0,0: 94:[54, 83, 8] Operation: 70-62=8 Exploring Operation: 83-70=13, Resulting Numbers: [62, 54, 13] Generated Node #0,1: 94:[62, 54, 13] Operation: 83-70=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[54, 83, 8], Operations: ['70-62=8'] Exploring Operation: 54-8=46, Resulting Numbers: [83, 46] Generated Node #0,0,0: 94:[83, 46] Operation: 54-8=46 Exploring Operation: 83+8=91, Resulting Numbers: [54, 91] Generated Node #0,0,1: 94:[54, 91] Operation: 83+8=91 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[54, 91], Operations: ['70-62=8', '83+8=91'] Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,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:[83, 46], Operations: ['70-62=8', '54-8=46'] Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,94 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,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:[62, 54, 13], Operations: ['83-70=13'] Exploring Operation: 62-54=8, Resulting Numbers: [13, 8] Generated Node #0,1,0: 94:[13, 8] Operation: 62-54=8 Exploring Operation: 62-13=49, Resulting Numbers: [54, 49] Generated Node #0,1,1: 94:[54, 49] Operation: 62-13=49 Moving to Node #0,1,1 Current State: 94:[54, 49], Operations: ['83-70=13', '62-13=49'] Exploring Operation: 54+49=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[13, 8], Operations: ['83-70=13', '62-54=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,94 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
[ 97, 15, 4, 14 ]
17
[ "97-15=82", "82-14=68", "68/4=17" ]
Current State: 17:[97, 15, 4, 14], Operations: [] Exploring Operation: 97-15=82, Resulting Numbers: [4, 14, 82] Generated Node #2: [4, 14, 82] from Operation: 97-15=82 Current State: 17:[4, 14, 82], Operations: ['97-15=82'] Exploring Operation: 82-14=68, Resulting Numbers: [4, 68] Generated Node #3: [4, 68] from Operation: 82-14=68 Current State: 17:[4, 68], Operations: ['97-15=82', '82-14=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[97, 15, 4, 14], Operations: [] Exploring Operation: 4+14=18, Resulting Numbers: [97, 15, 18] Generated Node #0,0: 17:[97, 15, 18] Operation: 4+14=18 Exploring Operation: 97-4=93, Resulting Numbers: [15, 14, 93] Generated Node #0,1: 17:[15, 14, 93] Operation: 97-4=93 Exploring Operation: 97-15=82, Resulting Numbers: [4, 14, 82] Generated Node #0,2: 17:[4, 14, 82] Operation: 97-15=82 Exploring Operation: 15+4=19, Resulting Numbers: [97, 14, 19] Generated Node #0,3: 17:[97, 14, 19] Operation: 15+4=19 Exploring Operation: 97-14=83, Resulting Numbers: [15, 4, 83] Generated Node #0,4: 17:[15, 4, 83] Operation: 97-14=83 Moving to Node #0,1 Current State: 17:[15, 14, 93], Operations: ['97-4=93'] Exploring Operation: 93-15=78, Resulting Numbers: [14, 78] Generated Node #0,1,0: 17:[14, 78] Operation: 93-15=78 Exploring Operation: 93-14=79, Resulting Numbers: [15, 79] Generated Node #0,1,1: 17:[15, 79] Operation: 93-14=79 Exploring Operation: 15-14=1, Resulting Numbers: [93, 1] Generated Node #0,1,2: 17:[93, 1] Operation: 15-14=1 Exploring Operation: 14+93=107, Resulting Numbers: [15, 107] Generated Node #0,1,3: 17:[15, 107] Operation: 14+93=107 Exploring Operation: 15+14=29, Resulting Numbers: [93, 29] Generated Node #0,1,4: 17:[93, 29] Operation: 15+14=29 Moving to Node #0,4 Current State: 17:[15, 4, 83], Operations: ['97-14=83'] Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,4,0: 17:[4, 68] Operation: 83-15=68 Exploring Operation: 15+4=19, Resulting Numbers: [83, 19] Generated Node #0,4,1: 17:[83, 19] Operation: 15+4=19 Exploring Operation: 4+83=87, Resulting Numbers: [15, 87] Generated Node #0,4,2: 17:[15, 87] Operation: 4+83=87 Exploring Operation: 15-4=11, Resulting Numbers: [83, 11] Generated Node #0,4,3: 17:[83, 11] Operation: 15-4=11 Exploring Operation: 83-4=79, Resulting Numbers: [15, 79] Generated Node #0,4,4: 17:[15, 79] Operation: 83-4=79 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 17:[4, 68], Operations: ['97-14=83', '83-15=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[97, 15, 4, 14], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [15, 4, 83] Generated Node #0,4: 17:[15, 4, 83] Operation: 97-14=83 Moving to Node #0,4 Current State: 17:[15, 4, 83], Operations: ['97-14=83'] Exploring Operation: 83-15=68, Resulting Numbers: [4, 68] Generated Node #0,4,0: 17:[4, 68] Operation: 83-15=68 Moving to Node #0,4,0 Current State: 17:[4, 68], Operations: ['97-14=83', '83-15=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 48, 18, 24, 87 ]
78
[ "48/24=2", "18/2=9", "87-9=78" ]
Current State: 78:[48, 18, 24, 87], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [18, 87, 2] Generated Node #2: [18, 87, 2] from Operation: 48/24=2 Current State: 78:[18, 87, 2], Operations: ['48/24=2'] Exploring Operation: 18/2=9, Resulting Numbers: [87, 9] Generated Node #3: [87, 9] from Operation: 18/2=9 Current State: 78:[87, 9], Operations: ['48/24=2', '18/2=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[48, 18, 24, 87], Operations: [] Exploring Operation: 48-18=30, Resulting Numbers: [24, 87, 30] Generated Node #0,0: 78:[24, 87, 30] Operation: 48-18=30 Exploring Operation: 48-24=24, Resulting Numbers: [18, 87, 24] Generated Node #0,1: 78:[18, 87, 24] Operation: 48-24=24 Exploring Operation: 87-48=39, Resulting Numbers: [18, 24, 39] Generated Node #0,2: 78:[18, 24, 39] Operation: 87-48=39 Exploring Operation: 48/24=2, Resulting Numbers: [18, 87, 2] Generated Node #0,3: 78:[18, 87, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[18, 24, 39], Operations: ['87-48=39'] Exploring Operation: 39-24=15, Resulting Numbers: [18, 15] Generated Node #0,2,0: 78:[18, 15] Operation: 39-24=15 Exploring Operation: 39-18=21, Resulting Numbers: [24, 21] Generated Node #0,2,1: 78:[24, 21] Operation: 39-18=21 Exploring Operation: 24-18=6, Resulting Numbers: [39, 6] Generated Node #0,2,2: 78:[39, 6] Operation: 24-18=6 Exploring Operation: 18+24=42, Resulting Numbers: [39, 42] Generated Node #0,2,3: 78:[39, 42] Operation: 18+24=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[39, 6], Operations: ['87-48=39', '24-18=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,78 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,78 unequal: No Solution No 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: 78:[39, 42], Operations: ['87-48=39', '18+24=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,78 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,78 unequal: No Solution No 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: 78:[18, 15], Operations: ['87-48=39', '39-24=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,78 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,78 unequal: No Solution No 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: 78:[24, 21], Operations: ['87-48=39', '39-18=21'] Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,78 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,78 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: 78:[18, 87, 2], Operations: ['48/24=2'] Exploring Operation: 18/2=9, Resulting Numbers: [87, 9] Generated Node #0,3,0: 78:[87, 9] Operation: 18/2=9 Exploring Operation: 18*2=36, Resulting Numbers: [87, 36] Generated Node #0,3,1: 78:[87, 36] Operation: 18*2=36 Exploring Operation: 87-18=69, Resulting Numbers: [2, 69] Generated Node #0,3,2: 78:[2, 69] Operation: 87-18=69 Exploring Operation: 18-2=16, Resulting Numbers: [87, 16] Generated Node #0,3,3: 78:[87, 16] Operation: 18-2=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[2, 69], Operations: ['48/24=2', '87-18=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,78 unequal: No Solution No 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: 78:[87, 9], Operations: ['48/24=2', '18/2=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[48, 18, 24, 87], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [18, 87, 2] Generated Node #0,3: 78:[18, 87, 2] Operation: 48/24=2 Moving to Node #0,3 Current State: 78:[18, 87, 2], Operations: ['48/24=2'] Exploring Operation: 18/2=9, Resulting Numbers: [87, 9] Generated Node #0,3,0: 78:[87, 9] Operation: 18/2=9 Moving to Node #0,3,0 Current State: 78:[87, 9], Operations: ['48/24=2', '18/2=9'] Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 48, 76, 12, 92 ]
20
[ "48+76=124", "12+92=104", "124-104=20" ]
Current State: 20:[48, 76, 12, 92], Operations: [] Exploring Operation: 48+76=124, Resulting Numbers: [12, 92, 124] Generated Node #2: [12, 92, 124] from Operation: 48+76=124 Current State: 20:[12, 92, 124], Operations: ['48+76=124'] Exploring Operation: 12+92=104, Resulting Numbers: [124, 104] Generated Node #3: [124, 104] from Operation: 12+92=104 Current State: 20:[124, 104], Operations: ['48+76=124', '12+92=104'] Exploring Operation: 124-104=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[48, 76, 12, 92], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [48, 12, 16] Generated Node #0,0: 20:[48, 12, 16] Operation: 92-76=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[48, 12, 16], Operations: ['92-76=16'] Exploring Operation: 48/16=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 20:[12, 3] Operation: 48/16=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[12, 3], Operations: ['92-76=16', '48/16=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 44, 59, 32, 7 ]
54
[ "59-44=15", "32+7=39", "15+39=54" ]
Current State: 54:[44, 59, 32, 7], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [32, 7, 15] Generated Node #2: [32, 7, 15] from Operation: 59-44=15 Current State: 54:[32, 7, 15], Operations: ['59-44=15'] Exploring Operation: 32+7=39, Resulting Numbers: [15, 39] Generated Node #3: [15, 39] from Operation: 32+7=39 Current State: 54:[15, 39], Operations: ['59-44=15', '32+7=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[44, 59, 32, 7], Operations: [] Exploring Operation: 59-44=15, Resulting Numbers: [32, 7, 15] Generated Node #0,0: 54:[32, 7, 15] Operation: 59-44=15 Exploring Operation: 44-32=12, Resulting Numbers: [59, 7, 12] Generated Node #0,1: 54:[59, 7, 12] Operation: 44-32=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[32, 7, 15], Operations: ['59-44=15'] Exploring Operation: 32-15=17, Resulting Numbers: [7, 17] Generated Node #0,0,0: 54:[7, 17] Operation: 32-15=17 Exploring Operation: 32-7=25, Resulting Numbers: [15, 25] Generated Node #0,0,1: 54:[15, 25] Operation: 32-7=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[7, 17], Operations: ['59-44=15', '32-15=17'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,54 unequal: No Solution No 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: 54:[15, 25], Operations: ['59-44=15', '32-7=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,54 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: 54:[59, 7, 12], Operations: ['44-32=12'] Exploring Operation: 59-7=52, Resulting Numbers: [12, 52] Generated Node #0,1,0: 54:[12, 52] Operation: 59-7=52 Exploring Operation: 7+12=19, Resulting Numbers: [59, 19] Generated Node #0,1,1: 54:[59, 19] Operation: 7+12=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 54:[12, 52], Operations: ['44-32=12', '59-7=52'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,54 unequal: No Solution No 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: 54:[59, 19], Operations: ['44-32=12', '7+12=19'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,54 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
[ 98, 82, 90, 30 ]
16
[ "98+30=128", "90-82=8", "128/8=16" ]
Current State: 16:[98, 82, 90, 30], Operations: [] Exploring Operation: 98+30=128, Resulting Numbers: [82, 90, 128] Generated Node #2: [82, 90, 128] from Operation: 98+30=128 Current State: 16:[82, 90, 128], Operations: ['98+30=128'] Exploring Operation: 90-82=8, Resulting Numbers: [128, 8] Generated Node #3: [128, 8] from Operation: 90-82=8 Current State: 16:[128, 8], Operations: ['98+30=128', '90-82=8'] Exploring Operation: 128/8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[98, 82, 90, 30], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [82, 30, 8] Generated Node #0,0: 16:[82, 30, 8] Operation: 98-90=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[82, 30, 8], Operations: ['98-90=8'] Exploring Operation: 82-30=52, Resulting Numbers: [8, 52] Generated Node #0,0,0: 16:[8, 52] Operation: 82-30=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[8, 52], Operations: ['98-90=8', '82-30=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 2, 67, 64 ]
48
[ "49+2=51", "67-64=3", "51-3=48" ]
Current State: 48:[49, 2, 67, 64], Operations: [] Exploring Operation: 49+2=51, Resulting Numbers: [67, 64, 51] Generated Node #2: [67, 64, 51] from Operation: 49+2=51 Current State: 48:[67, 64, 51], Operations: ['49+2=51'] Exploring Operation: 67-64=3, Resulting Numbers: [51, 3] Generated Node #3: [51, 3] from Operation: 67-64=3 Current State: 48:[51, 3], Operations: ['49+2=51', '67-64=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[49, 2, 67, 64], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [49, 2, 3] Generated Node #0,0: 48:[49, 2, 3] Operation: 67-64=3 Exploring Operation: 67-49=18, Resulting Numbers: [2, 64, 18] Generated Node #0,1: 48:[2, 64, 18] Operation: 67-49=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[49, 2, 3], Operations: ['67-64=3'] Exploring Operation: 49-2=47, Resulting Numbers: [3, 47] Generated Node #0,0,0: 48:[3, 47] Operation: 49-2=47 Exploring Operation: 2*3=6, Resulting Numbers: [49, 6] Generated Node #0,0,1: 48:[49, 6] Operation: 2*3=6 Moving to Node #0,0,0 Current State: 48:[3, 47], Operations: ['67-64=3', '49-2=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[49, 6], Operations: ['67-64=3', '2*3=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,48 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[2, 64, 18], Operations: ['67-49=18'] Exploring Operation: 64-18=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 48:[2, 46] Operation: 64-18=46 Exploring Operation: 64/2=32, Resulting Numbers: [18, 32] Generated Node #0,1,1: 48:[18, 32] Operation: 64/2=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[2, 46], Operations: ['67-49=18', '64-18=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[49, 2, 67, 64], Operations: [] Exploring Operation: 67-49=18, Resulting Numbers: [2, 64, 18] Generated Node #0,1: 48:[2, 64, 18] Operation: 67-49=18 Moving to Node #0,1 Current State: 48:[2, 64, 18], Operations: ['67-49=18'] Exploring Operation: 64-18=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 48:[2, 46] Operation: 64-18=46 Moving to Node #0,1,0 Current State: 48:[2, 46], Operations: ['67-49=18', '64-18=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 92, 34, 68, 88 ]
68
[ "92-88=4", "34*4=136", "136-68=68" ]
Current State: 68:[92, 34, 68, 88], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [34, 68, 4] Generated Node #2: [34, 68, 4] from Operation: 92-88=4 Current State: 68:[34, 68, 4], Operations: ['92-88=4'] Exploring Operation: 34*4=136, Resulting Numbers: [68, 136] Generated Node #3: [68, 136] from Operation: 34*4=136 Current State: 68:[68, 136], Operations: ['92-88=4', '34*4=136'] Exploring Operation: 136-68=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[92, 34, 68, 88], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [34, 68, 4] Generated Node #0,0: 68:[34, 68, 4] Operation: 92-88=4 Exploring Operation: 88-68=20, Resulting Numbers: [92, 34, 20] Generated Node #0,1: 68:[92, 34, 20] Operation: 88-68=20 Exploring Operation: 92-68=24, Resulting Numbers: [34, 88, 24] Generated Node #0,2: 68:[34, 88, 24] Operation: 92-68=24 Moving to Node #0,0 Current State: 68:[34, 68, 4], Operations: ['92-88=4'] Exploring Operation: 68-34=34, Resulting Numbers: [4, 34] Generated Node #0,0,0: 68:[4, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 68:[4, 2] Operation: 68/34=2 Exploring Operation: 68/4=17, Resulting Numbers: [34, 17] Generated Node #0,0,2: 68:[34, 17] Operation: 68/4=17 Moving to Node #0,1 Current State: 68:[92, 34, 20], Operations: ['88-68=20'] Exploring Operation: 92-34=58, Resulting Numbers: [20, 58] Generated Node #0,1,0: 68:[20, 58] Operation: 92-34=58 Exploring Operation: 92-20=72, Resulting Numbers: [34, 72] Generated Node #0,1,1: 68:[34, 72] Operation: 92-20=72 Exploring Operation: 34-20=14, Resulting Numbers: [92, 14] Generated Node #0,1,2: 68:[92, 14] Operation: 34-20=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[34, 72], Operations: ['88-68=20', '92-20=72'] Exploring Operation: 34+72=106, Resulting Numbers: [106] 106,68 unequal: No Solution Exploring Operation: 72-34=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 34*72=2448, Resulting Numbers: [2448] 2448,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[20, 58], Operations: ['88-68=20', '92-34=58'] Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 20*58=1160, Resulting Numbers: [1160] 1160,68 unequal: No Solution Exploring Operation: 20+58=78, Resulting Numbers: [78] 78,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[92, 14], Operations: ['88-68=20', '34-20=14'] Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,68 unequal: No Solution Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 68:[34, 88, 24], Operations: ['92-68=24'] Exploring Operation: 88-24=64, Resulting Numbers: [34, 64] Generated Node #0,2,0: 68:[34, 64] Operation: 88-24=64 Exploring Operation: 88-34=54, Resulting Numbers: [24, 54] Generated Node #0,2,1: 68:[24, 54] Operation: 88-34=54 Exploring Operation: 34-24=10, Resulting Numbers: [88, 10] Generated Node #0,2,2: 68:[88, 10] Operation: 34-24=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[34, 64], Operations: ['92-68=24', '88-24=64'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,68 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[24, 54], Operations: ['92-68=24', '88-34=54'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,68 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[88, 10], Operations: ['92-68=24', '34-24=10'] Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,68 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 68:[4, 34], Operations: ['92-88=4', '68-34=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,68 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[4, 2], Operations: ['92-88=4', '68/34=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,68 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[34, 17], Operations: ['92-88=4', '68/4=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,68 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 18, 61, 26, 99 ]
82
[ "61-18=43", "26+99=125", "125-43=82" ]
Current State: 82:[18, 61, 26, 99], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [26, 99, 43] Generated Node #2: [26, 99, 43] from Operation: 61-18=43 Current State: 82:[26, 99, 43], Operations: ['61-18=43'] Exploring Operation: 26+99=125, Resulting Numbers: [43, 125] Generated Node #3: [43, 125] from Operation: 26+99=125 Current State: 82:[43, 125], Operations: ['61-18=43', '26+99=125'] Exploring Operation: 125-43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[18, 61, 26, 99], Operations: [] Exploring Operation: 99-18=81, Resulting Numbers: [61, 26, 81] Generated Node #0,0: 82:[61, 26, 81] Operation: 99-18=81 Exploring Operation: 99-61=38, Resulting Numbers: [18, 26, 38] Generated Node #0,1: 82:[18, 26, 38] Operation: 99-61=38 Exploring Operation: 61-18=43, Resulting Numbers: [26, 99, 43] Generated Node #0,2: 82:[26, 99, 43] Operation: 61-18=43 Exploring Operation: 18+61=79, Resulting Numbers: [26, 99, 79] Generated Node #0,3: 82:[26, 99, 79] Operation: 18+61=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[18, 26, 38], Operations: ['99-61=38'] Exploring Operation: 26-18=8, Resulting Numbers: [38, 8] Generated Node #0,1,0: 82:[38, 8] Operation: 26-18=8 Exploring Operation: 18+38=56, Resulting Numbers: [26, 56] Generated Node #0,1,1: 82:[26, 56] Operation: 18+38=56 Exploring Operation: 18+26=44, Resulting Numbers: [38, 44] Generated Node #0,1,2: 82:[38, 44] Operation: 18+26=44 Exploring Operation: 38-26=12, Resulting Numbers: [18, 12] Generated Node #0,1,3: 82:[18, 12] Operation: 38-26=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[38, 44], Operations: ['99-61=38', '18+26=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[18, 61, 26, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [18, 26, 38] Generated Node #0,1: 82:[18, 26, 38] Operation: 99-61=38 Moving to Node #0,1 Current State: 82:[18, 26, 38], Operations: ['99-61=38'] Exploring Operation: 18+26=44, Resulting Numbers: [38, 44] Generated Node #0,1,2: 82:[38, 44] Operation: 18+26=44 Moving to Node #0,1,2 Current State: 82:[38, 44], Operations: ['99-61=38', '18+26=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 60, 34, 82, 4 ]
41
[ "34-4=30", "60/30=2", "82/2=41" ]
Current State: 41:[60, 34, 82, 4], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [60, 82, 30] Generated Node #2: [60, 82, 30] from Operation: 34-4=30 Current State: 41:[60, 82, 30], Operations: ['34-4=30'] Exploring Operation: 60/30=2, Resulting Numbers: [82, 2] Generated Node #3: [82, 2] from Operation: 60/30=2 Current State: 41:[82, 2], Operations: ['34-4=30', '60/30=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[60, 34, 82, 4], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [34, 4, 22] Generated Node #0,0: 41:[34, 4, 22] Operation: 82-60=22 Exploring Operation: 60-4=56, Resulting Numbers: [34, 82, 56] Generated Node #0,1: 41:[34, 82, 56] Operation: 60-4=56 Exploring Operation: 34+4=38, Resulting Numbers: [60, 82, 38] Generated Node #0,2: 41:[60, 82, 38] Operation: 34+4=38 Exploring Operation: 82-34=48, Resulting Numbers: [60, 4, 48] Generated Node #0,3: 41:[60, 4, 48] Operation: 82-34=48 Exploring Operation: 82-4=78, Resulting Numbers: [60, 34, 78] Generated Node #0,4: 41:[60, 34, 78] Operation: 82-4=78 Moving to Node #0,0 Current State: 41:[34, 4, 22], Operations: ['82-60=22'] Exploring Operation: 22-4=18, Resulting Numbers: [34, 18] Generated Node #0,0,0: 41:[34, 18] Operation: 22-4=18 Exploring Operation: 34+22=56, Resulting Numbers: [4, 56] Generated Node #0,0,1: 41:[4, 56] Operation: 34+22=56 Exploring Operation: 4+22=26, Resulting Numbers: [34, 26] Generated Node #0,0,2: 41:[34, 26] Operation: 4+22=26 Exploring Operation: 34+4=38, Resulting Numbers: [22, 38] Generated Node #0,0,3: 41:[22, 38] Operation: 34+4=38 Exploring Operation: 34-4=30, Resulting Numbers: [22, 30] Generated Node #0,0,4: 41:[22, 30] Operation: 34-4=30 Moving to Node #0,2 Current State: 41:[60, 82, 38], Operations: ['34+4=38'] Exploring Operation: 82-60=22, Resulting Numbers: [38, 22] Generated Node #0,2,0: 41:[38, 22] Operation: 82-60=22 Exploring Operation: 82+38=120, Resulting Numbers: [60, 120] Generated Node #0,2,1: 41:[60, 120] Operation: 82+38=120 Exploring Operation: 82-38=44, Resulting Numbers: [60, 44] Generated Node #0,2,2: 41:[60, 44] Operation: 82-38=44 Exploring Operation: 60+38=98, Resulting Numbers: [82, 98] Generated Node #0,2,3: 41:[82, 98] Operation: 60+38=98 Exploring Operation: 60-38=22, Resulting Numbers: [82, 22] Generated Node #0,2,4: 41:[82, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[38, 22], Operations: ['34+4=38', '82-60=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,41 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[60, 44], Operations: ['34+4=38', '82-38=44'] Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[82, 22], Operations: ['34+4=38', '60-38=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,41 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[60, 120], Operations: ['34+4=38', '82+38=120'] Exploring Operation: 120/60=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60+120=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 120-60=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 60*120=7200, Resulting Numbers: [7200] 7200,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[82, 98], Operations: ['34+4=38', '60+38=98'] Exploring Operation: 82*98=8036, Resulting Numbers: [8036] 8036,41 unequal: No Solution Exploring Operation: 82+98=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 98-82=16, Resulting Numbers: [16] 16,41 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: 41:[60, 34, 78], Operations: ['82-4=78'] Exploring Operation: 34+78=112, Resulting Numbers: [60, 112] Generated Node #0,4,0: 41:[60, 112] Operation: 34+78=112 Exploring Operation: 60-34=26, Resulting Numbers: [78, 26] Generated Node #0,4,1: 41:[78, 26] Operation: 60-34=26 Exploring Operation: 78-60=18, Resulting Numbers: [34, 18] Generated Node #0,4,2: 41:[34, 18] Operation: 78-60=18 Exploring Operation: 78-34=44, Resulting Numbers: [60, 44] Generated Node #0,4,3: 41:[60, 44] Operation: 78-34=44 Exploring Operation: 60+34=94, Resulting Numbers: [78, 94] Generated Node #0,4,4: 41:[78, 94] Operation: 60+34=94 Moving to Node #0,1 Current State: 41:[34, 82, 56], Operations: ['60-4=56'] Exploring Operation: 34+56=90, Resulting Numbers: [82, 90] Generated Node #0,1,0: 41:[82, 90] Operation: 34+56=90 Exploring Operation: 56-34=22, Resulting Numbers: [82, 22] Generated Node #0,1,1: 41:[82, 22] Operation: 56-34=22 Exploring Operation: 34+82=116, Resulting Numbers: [56, 116] Generated Node #0,1,2: 41:[56, 116] Operation: 34+82=116 Exploring Operation: 82-56=26, Resulting Numbers: [34, 26] Generated Node #0,1,3: 41:[34, 26] Operation: 82-56=26 Exploring Operation: 82-34=48, Resulting Numbers: [56, 48] Generated Node #0,1,4: 41:[56, 48] Operation: 82-34=48 Moving to Node #0,3 Current State: 41:[60, 4, 48], Operations: ['82-34=48'] Exploring Operation: 60-4=56, Resulting Numbers: [48, 56] Generated Node #0,3,0: 41:[48, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [48, 15] Generated Node #0,3,1: 41:[48, 15] Operation: 60/4=15 Exploring Operation: 4+48=52, Resulting Numbers: [60, 52] Generated Node #0,3,2: 41:[60, 52] Operation: 4+48=52 Exploring Operation: 60+4=64, Resulting Numbers: [48, 64] Generated Node #0,3,3: 41:[48, 64] Operation: 60+4=64 Exploring Operation: 48-4=44, Resulting Numbers: [60, 44] Generated Node #0,3,4: 41:[60, 44] Operation: 48-4=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[48, 56], Operations: ['82-34=48', '60-4=56'] Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,41 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[60, 44], Operations: ['82-34=48', '48-4=44'] Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[60, 52], Operations: ['82-34=48', '4+48=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[48, 64], Operations: ['82-34=48', '60+4=64'] Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,41 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[48, 15], Operations: ['82-34=48', '60/4=15'] Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,41 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: 41:[34, 26], Operations: ['82-60=22', '4+22=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[60, 44], Operations: ['82-4=78', '78-34=44'] Exploring Operation: 60*44=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 60-44=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 60+44=104, Resulting Numbers: [104] 104,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[56, 48], Operations: ['60-4=56', '82-34=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [2688] 2688,41 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[22, 38], Operations: ['82-60=22', '34+4=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 22*38=836, Resulting Numbers: [836] 836,41 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[34, 26], Operations: ['60-4=56', '82-56=26'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[34, 18], Operations: ['82-4=78', '78-60=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[34, 18], Operations: ['82-60=22', '22-4=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,41 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[22, 30], Operations: ['82-60=22', '34-4=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,41 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,41 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[4, 56], Operations: ['82-60=22', '34+22=56'] Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,41 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[78, 26], Operations: ['82-4=78', '60-34=26'] Exploring Operation: 78*26=2028, Resulting Numbers: [2028] 2028,41 unequal: No Solution Exploring Operation: 78-26=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 78/26=3, Resulting Numbers: [3] 3,41 unequal: No Solution Exploring Operation: 78+26=104, Resulting Numbers: [104] 104,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[82, 22], Operations: ['60-4=56', '56-34=22'] Exploring Operation: 82*22=1804, Resulting Numbers: [1804] 1804,41 unequal: No Solution Exploring Operation: 82-22=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 82+22=104, Resulting Numbers: [104] 104,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[78, 94], Operations: ['82-4=78', '60+34=94'] Exploring Operation: 78*94=7332, Resulting Numbers: [7332] 7332,41 unequal: No Solution Exploring Operation: 78+94=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 94-78=16, Resulting Numbers: [16] 16,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[82, 90], Operations: ['60-4=56', '34+56=90'] Exploring Operation: 82*90=7380, Resulting Numbers: [7380] 7380,41 unequal: No Solution Exploring Operation: 82+90=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 90-82=8, Resulting Numbers: [8] 8,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[60, 112], Operations: ['82-4=78', '34+78=112'] Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,41 unequal: No Solution Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[56, 116], Operations: ['60-4=56', '34+82=116'] Exploring Operation: 116-56=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 56*116=6496, Resulting Numbers: [6496] 6496,41 unequal: No Solution Exploring Operation: 56+116=172, Resulting Numbers: [172] 172,41 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 60, 98, 10, 28 ]
25
[ "98*10=980", "980/28=35", "60-35=25" ]
Current State: 25:[60, 98, 10, 28], Operations: [] Exploring Operation: 98*10=980, Resulting Numbers: [60, 28, 980] Generated Node #2: [60, 28, 980] from Operation: 98*10=980 Current State: 25:[60, 28, 980], Operations: ['98*10=980'] Exploring Operation: 980/28=35, Resulting Numbers: [60, 35] Generated Node #3: [60, 35] from Operation: 980/28=35 Current State: 25:[60, 35], Operations: ['98*10=980', '980/28=35'] Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[60, 98, 10, 28], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [10, 28, 38] Generated Node #0,0: 25:[10, 28, 38] Operation: 98-60=38 Exploring Operation: 60/10=6, Resulting Numbers: [98, 28, 6] Generated Node #0,1: 25:[98, 28, 6] Operation: 60/10=6 Exploring Operation: 60-28=32, Resulting Numbers: [98, 10, 32] Generated Node #0,2: 25:[98, 10, 32] Operation: 60-28=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[10, 28, 38], Operations: ['98-60=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28, 28] Generated Node #0,0,0: 25:[28, 28] Operation: 38-10=28 Exploring Operation: 38-28=10, Resulting Numbers: [10, 10] Generated Node #0,0,1: 25:[10, 10] Operation: 38-28=10 Exploring Operation: 28-10=18, Resulting Numbers: [38, 18] Generated Node #0,0,2: 25:[38, 18] Operation: 28-10=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[28, 28], Operations: ['98-60=38', '38-10=28'] Exploring Operation: 28/28=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 28+28=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 28-28=0, Resulting Numbers: [0] 0,25 unequal: No Solution No 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: 25:[10, 10], Operations: ['98-60=38', '38-28=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,25 unequal: No Solution No 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: 25:[38, 18], Operations: ['98-60=38', '28-10=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,25 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,25 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: 25:[98, 28, 6], Operations: ['60/10=6'] Exploring Operation: 98-6=92, Resulting Numbers: [28, 92] Generated Node #0,1,0: 25:[28, 92] Operation: 98-6=92 Exploring Operation: 28-6=22, Resulting Numbers: [98, 22] Generated Node #0,1,1: 25:[98, 22] Operation: 28-6=22 Exploring Operation: 98-28=70, Resulting Numbers: [6, 70] Generated Node #0,1,2: 25:[6, 70] Operation: 98-28=70 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[6, 70], Operations: ['60/10=6', '98-28=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,25 unequal: No Solution No 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: 25:[28, 92], Operations: ['60/10=6', '98-6=92'] Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,25 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,25 unequal: No Solution No 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: 25:[98, 22], Operations: ['60/10=6', '28-6=22'] Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,25 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: 25:[98, 10, 32], Operations: ['60-28=32'] Exploring Operation: 98-10=88, Resulting Numbers: [32, 88] Generated Node #0,2,0: 25:[32, 88] Operation: 98-10=88 Exploring Operation: 98-32=66, Resulting Numbers: [10, 66] Generated Node #0,2,1: 25:[10, 66] Operation: 98-32=66 Exploring Operation: 32-10=22, Resulting Numbers: [98, 22] Generated Node #0,2,2: 25:[98, 22] Operation: 32-10=22 Moving to Node #0,2,1 Current State: 25:[10, 66], Operations: ['60-28=32', '98-32=66'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,25 unequal: No Solution Exploring Operation: 10+66=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 10*66=660, Resulting Numbers: [660] 660,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[32, 88], Operations: ['60-28=32', '98-10=88'] Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,25 unequal: No Solution Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[98, 22], Operations: ['60-28=32', '32-10=22'] Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,25 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 76, 74, 81, 17 ]
96
[ "76-74=2", "81+17=98", "98-2=96" ]
Current State: 96:[76, 74, 81, 17], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [81, 17, 2] Generated Node #2: [81, 17, 2] from Operation: 76-74=2 Current State: 96:[81, 17, 2], Operations: ['76-74=2'] Exploring Operation: 81+17=98, Resulting Numbers: [2, 98] Generated Node #3: [2, 98] from Operation: 81+17=98 Current State: 96:[2, 98], Operations: ['76-74=2', '81+17=98'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[76, 74, 81, 17], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [81, 17, 2] Generated Node #0,0: 96:[81, 17, 2] Operation: 76-74=2 Exploring Operation: 81-76=5, Resulting Numbers: [74, 17, 5] Generated Node #0,1: 96:[74, 17, 5] Operation: 81-76=5 Exploring Operation: 81-74=7, Resulting Numbers: [76, 17, 7] Generated Node #0,2: 96:[76, 17, 7] Operation: 81-74=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[81, 17, 2], Operations: ['76-74=2'] Exploring Operation: 81+2=83, Resulting Numbers: [17, 83] Generated Node #0,0,0: 96:[17, 83] Operation: 81+2=83 Exploring Operation: 81+17=98, Resulting Numbers: [2, 98] Generated Node #0,0,1: 96:[2, 98] Operation: 81+17=98 Exploring Operation: 81-17=64, Resulting Numbers: [2, 64] Generated Node #0,0,2: 96:[2, 64] Operation: 81-17=64 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[2, 98], Operations: ['76-74=2', '81+17=98'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[76, 74, 81, 17], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [81, 17, 2] Generated Node #0,0: 96:[81, 17, 2] Operation: 76-74=2 Moving to Node #0,0 Current State: 96:[81, 17, 2], Operations: ['76-74=2'] Exploring Operation: 81+17=98, Resulting Numbers: [2, 98] Generated Node #0,0,1: 96:[2, 98] Operation: 81+17=98 Moving to Node #0,0,1 Current State: 96:[2, 98], Operations: ['76-74=2', '81+17=98'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 13, 75, 55, 46 ]
42
[ "55-46=9", "13*9=117", "117-75=42" ]
Current State: 42:[13, 75, 55, 46], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [13, 75, 9] Generated Node #2: [13, 75, 9] from Operation: 55-46=9 Current State: 42:[13, 75, 9], Operations: ['55-46=9'] Exploring Operation: 13*9=117, Resulting Numbers: [75, 117] Generated Node #3: [75, 117] from Operation: 13*9=117 Current State: 42:[75, 117], Operations: ['55-46=9', '13*9=117'] Exploring Operation: 117-75=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[13, 75, 55, 46], Operations: [] Exploring Operation: 75-55=20, Resulting Numbers: [13, 46, 20] Generated Node #0,0: 42:[13, 46, 20] Operation: 75-55=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[13, 46, 20], Operations: ['75-55=20'] Exploring Operation: 20-13=7, Resulting Numbers: [46, 7] Generated Node #0,0,0: 42:[46, 7] Operation: 20-13=7 Moving to Node #0,0,0 Current State: 42:[46, 7], Operations: ['75-55=20', '20-13=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 98, 58, 83 ]
65
[ "2*58=116", "98+83=181", "181-116=65" ]
Current State: 65:[2, 98, 58, 83], Operations: [] Exploring Operation: 2*58=116, Resulting Numbers: [98, 83, 116] Generated Node #2: [98, 83, 116] from Operation: 2*58=116 Current State: 65:[98, 83, 116], Operations: ['2*58=116'] Exploring Operation: 98+83=181, Resulting Numbers: [116, 181] Generated Node #3: [116, 181] from Operation: 98+83=181 Current State: 65:[116, 181], Operations: ['2*58=116', '98+83=181'] Exploring Operation: 181-116=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[2, 98, 58, 83], Operations: [] Exploring Operation: 98-83=15, Resulting Numbers: [2, 58, 15] Generated Node #0,0: 65:[2, 58, 15] Operation: 98-83=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[2, 58, 15], Operations: ['98-83=15'] Exploring Operation: 2+58=60, Resulting Numbers: [15, 60] Generated Node #0,0,0: 65:[15, 60] Operation: 2+58=60 Moving to Node #0,0,0 Current State: 65:[15, 60], Operations: ['98-83=15', '2+58=60'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,65 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
[ 67, 60, 90, 7 ]
41
[ "67-60=7", "7*7=49", "90-49=41" ]
Current State: 41:[67, 60, 90, 7], Operations: [] Exploring Operation: 67-60=7, Resulting Numbers: [90, 7, 7] Generated Node #2: [90, 7, 7] from Operation: 67-60=7 Current State: 41:[90, 7, 7], Operations: ['67-60=7'] Exploring Operation: 7*7=49, Resulting Numbers: [90, 49] Generated Node #3: [90, 49] from Operation: 7*7=49 Current State: 41:[90, 49], Operations: ['67-60=7', '7*7=49'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[67, 60, 90, 7], Operations: [] Exploring Operation: 67-7=60, Resulting Numbers: [60, 90, 60] Generated Node #0,0: 41:[60, 90, 60] Operation: 67-7=60 Exploring Operation: 90-7=83, Resulting Numbers: [67, 60, 83] Generated Node #0,1: 41:[67, 60, 83] Operation: 90-7=83 Exploring Operation: 90-60=30, Resulting Numbers: [67, 7, 30] Generated Node #0,2: 41:[67, 7, 30] Operation: 90-60=30 Exploring Operation: 90-67=23, Resulting Numbers: [60, 7, 23] Generated Node #0,3: 41:[60, 7, 23] Operation: 90-67=23 Exploring Operation: 60-7=53, Resulting Numbers: [67, 90, 53] Generated Node #0,4: 41:[67, 90, 53] Operation: 60-7=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[67, 7, 30], Operations: ['90-60=30'] Exploring Operation: 67-7=60, Resulting Numbers: [30, 60] Generated Node #0,2,0: 41:[30, 60] Operation: 67-7=60 Exploring Operation: 30-7=23, Resulting Numbers: [67, 23] Generated Node #0,2,1: 41:[67, 23] Operation: 30-7=23 Exploring Operation: 7+30=37, Resulting Numbers: [67, 37] Generated Node #0,2,2: 41:[67, 37] Operation: 7+30=37 Exploring Operation: 67-30=37, Resulting Numbers: [7, 37] Generated Node #0,2,3: 41:[7, 37] Operation: 67-30=37 Exploring Operation: 67+7=74, Resulting Numbers: [30, 74] Generated Node #0,2,4: 41:[30, 74] Operation: 67+7=74 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[30, 60], Operations: ['90-60=30', '67-7=60'] Exploring Operation: 30+60=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 30*60=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[67, 37], Operations: ['90-60=30', '7+30=37'] Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,41 unequal: No Solution Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[7, 37], Operations: ['90-60=30', '67-30=37'] Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,41 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[67, 23], Operations: ['90-60=30', '30-7=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,41 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 41:[30, 74], Operations: ['90-60=30', '67+7=74'] Exploring Operation: 30+74=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 30*74=2220, Resulting Numbers: [2220] 2220,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[60, 7, 23], Operations: ['90-67=23'] Exploring Operation: 23-7=16, Resulting Numbers: [60, 16] Generated Node #0,3,0: 41:[60, 16] Operation: 23-7=16 Exploring Operation: 60-23=37, Resulting Numbers: [7, 37] Generated Node #0,3,1: 41:[7, 37] Operation: 60-23=37 Exploring Operation: 7+23=30, Resulting Numbers: [60, 30] Generated Node #0,3,2: 41:[60, 30] Operation: 7+23=30 Exploring Operation: 60-7=53, Resulting Numbers: [23, 53] Generated Node #0,3,3: 41:[23, 53] Operation: 60-7=53 Exploring Operation: 60+7=67, Resulting Numbers: [23, 67] Generated Node #0,3,4: 41:[23, 67] Operation: 60+7=67 Moving to Node #0,3,2 Current State: 41:[60, 30], Operations: ['90-67=23', '7+23=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[23, 53], Operations: ['90-67=23', '60-7=53'] Exploring Operation: 23*53=1219, Resulting Numbers: [1219] 1219,41 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 23+53=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[7, 37], Operations: ['90-67=23', '60-23=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,41 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[60, 16], Operations: ['90-67=23', '23-7=16'] Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,41 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[23, 67], Operations: ['90-67=23', '60+7=67'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[60, 90, 60], Operations: ['67-7=60'] Exploring Operation: 90-60=30, Resulting Numbers: [60, 30] Generated Node #0,0,0: 41:[60, 30] Operation: 90-60=30 Exploring Operation: 60-60=0, Resulting Numbers: [90, 0] Generated Node #0,0,1: 41:[90, 0] Operation: 60-60=0 Exploring Operation: 90-60=30, Resulting Numbers: [60, 30] Generated Node #0,0,2: 41:[60, 30] Operation: 90-60=30 Exploring Operation: 60/60=1, Resulting Numbers: [90, 1] Generated Node #0,0,3: 41:[90, 1] Operation: 60/60=1 Exploring Operation: 60+90=150, Resulting Numbers: [60, 150] Generated Node #0,0,4: 41:[60, 150] Operation: 60+90=150 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[60, 30], Operations: ['67-7=60', '90-60=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[60, 30], Operations: ['67-7=60', '90-60=30'] Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,41 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[90, 1], Operations: ['67-7=60', '60/60=1'] Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,41 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[90, 0], Operations: ['67-7=60', '60-60=0'] Exploring Operation: 90-0=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 90*0=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 90+0=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 41:[60, 150], Operations: ['67-7=60', '60+90=150'] Exploring Operation: 150-60=90, Resulting Numbers: [90] 90,41 unequal: No Solution Exploring Operation: 60+150=210, Resulting Numbers: [210] 210,41 unequal: No Solution Exploring Operation: 60*150=9000, Resulting Numbers: [9000] 9000,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[67, 60, 83], Operations: ['90-7=83'] Exploring Operation: 67+60=127, Resulting Numbers: [83, 127] Generated Node #0,1,0: 41:[83, 127] Operation: 67+60=127 Exploring Operation: 83-67=16, Resulting Numbers: [60, 16] Generated Node #0,1,1: 41:[60, 16] Operation: 83-67=16 Exploring Operation: 83-60=23, Resulting Numbers: [67, 23] Generated Node #0,1,2: 41:[67, 23] Operation: 83-60=23 Exploring Operation: 67+83=150, Resulting Numbers: [60, 150] Generated Node #0,1,3: 41:[60, 150] Operation: 67+83=150 Exploring Operation: 67-60=7, Resulting Numbers: [83, 7] Generated Node #0,1,4: 41:[83, 7] Operation: 67-60=7 Moving to Node #0,1,1 Current State: 41:[60, 16], Operations: ['90-7=83', '83-67=16'] Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,41 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[67, 23], Operations: ['90-7=83', '83-60=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,41 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[83, 7], Operations: ['90-7=83', '67-60=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,41 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[83, 127], Operations: ['90-7=83', '67+60=127'] Exploring Operation: 83*127=10541, Resulting Numbers: [10541] 10541,41 unequal: No Solution Exploring Operation: 127-83=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 83+127=210, Resulting Numbers: [210] 210,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[60, 150], Operations: ['90-7=83', '67+83=150'] Exploring Operation: 60*150=9000, Resulting Numbers: [9000] 9000,41 unequal: No Solution Exploring Operation: 60+150=210, Resulting Numbers: [210] 210,41 unequal: No Solution Exploring Operation: 150-60=90, Resulting Numbers: [90] 90,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[67, 90, 53], Operations: ['60-7=53'] Exploring Operation: 67+53=120, Resulting Numbers: [90, 120] Generated Node #0,4,0: 41:[90, 120] Operation: 67+53=120 Exploring Operation: 67-53=14, Resulting Numbers: [90, 14] Generated Node #0,4,1: 41:[90, 14] Operation: 67-53=14 Exploring Operation: 90-67=23, Resulting Numbers: [53, 23] Generated Node #0,4,2: 41:[53, 23] Operation: 90-67=23 Exploring Operation: 67+90=157, Resulting Numbers: [53, 157] Generated Node #0,4,3: 41:[53, 157] Operation: 67+90=157 Exploring Operation: 90-53=37, Resulting Numbers: [67, 37] Generated Node #0,4,4: 41:[67, 37] Operation: 90-53=37 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 41:[53, 23], Operations: ['60-7=53', '90-67=23'] Exploring Operation: 53*23=1219, Resulting Numbers: [1219] 1219,41 unequal: No Solution Exploring Operation: 53-23=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 53+23=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 41:[67, 37], Operations: ['60-7=53', '90-53=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 41:[90, 14], Operations: ['60-7=53', '67-53=14'] Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,41 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 41:[90, 120], Operations: ['60-7=53', '67+53=120'] Exploring Operation: 90*120=10800, Resulting Numbers: [10800] 10800,41 unequal: No Solution Exploring Operation: 120-90=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 90+120=210, Resulting Numbers: [210] 210,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 41:[53, 157], Operations: ['60-7=53', '67+90=157'] Exploring Operation: 157-53=104, Resulting Numbers: [104] 104,41 unequal: No Solution Exploring Operation: 53*157=8321, Resulting Numbers: [8321] 8321,41 unequal: No Solution Exploring Operation: 53+157=210, Resulting Numbers: [210] 210,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 32, 9, 96, 27 ]
61
[ "96-32=64", "27/9=3", "64-3=61" ]
Current State: 61:[32, 9, 96, 27], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [9, 27, 64] Generated Node #2: [9, 27, 64] from Operation: 96-32=64 Current State: 61:[9, 27, 64], Operations: ['96-32=64'] Exploring Operation: 27/9=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 27/9=3 Current State: 61:[64, 3], Operations: ['96-32=64', '27/9=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[32, 9, 96, 27], Operations: [] Exploring Operation: 32+27=59, Resulting Numbers: [9, 96, 59] Generated Node #0,0: 61:[9, 96, 59] Operation: 32+27=59 Exploring Operation: 32+9=41, Resulting Numbers: [96, 27, 41] Generated Node #0,1: 61:[96, 27, 41] Operation: 32+9=41 Exploring Operation: 96-32=64, Resulting Numbers: [9, 27, 64] Generated Node #0,2: 61:[9, 27, 64] Operation: 96-32=64 Exploring Operation: 9+27=36, Resulting Numbers: [32, 96, 36] Generated Node #0,3: 61:[32, 96, 36] Operation: 9+27=36 Exploring Operation: 96-9=87, Resulting Numbers: [32, 27, 87] Generated Node #0,4: 61:[32, 27, 87] Operation: 96-9=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[9, 96, 59], Operations: ['32+27=59'] Exploring Operation: 9+96=105, Resulting Numbers: [59, 105] Generated Node #0,0,0: 61:[59, 105] Operation: 9+96=105 Exploring Operation: 59-9=50, Resulting Numbers: [96, 50] Generated Node #0,0,1: 61:[96, 50] Operation: 59-9=50 Exploring Operation: 9+59=68, Resulting Numbers: [96, 68] Generated Node #0,0,2: 61:[96, 68] Operation: 9+59=68 Exploring Operation: 96-59=37, Resulting Numbers: [9, 37] Generated Node #0,0,3: 61:[9, 37] Operation: 96-59=37 Exploring Operation: 96-9=87, Resulting Numbers: [59, 87] Generated Node #0,0,4: 61:[59, 87] Operation: 96-9=87 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 61:[59, 87], Operations: ['32+27=59', '96-9=87'] Exploring Operation: 59+87=146, Resulting Numbers: [146] 146,61 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 59*87=5133, Resulting Numbers: [5133] 5133,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 61:[96, 68], Operations: ['32+27=59', '9+59=68'] Exploring Operation: 96*68=6528, Resulting Numbers: [6528] 6528,61 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 96+68=164, Resulting Numbers: [164] 164,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[59, 105], Operations: ['32+27=59', '9+96=105'] Exploring Operation: 105-59=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 59*105=6195, Resulting Numbers: [6195] 6195,61 unequal: No Solution Exploring Operation: 59+105=164, Resulting Numbers: [164] 164,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[96, 50], Operations: ['32+27=59', '59-9=50'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 96+50=146, Resulting Numbers: [146] 146,61 unequal: No Solution Exploring Operation: 96*50=4800, Resulting Numbers: [4800] 4800,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 61:[9, 37], Operations: ['32+27=59', '96-59=37'] Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,61 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[96, 27, 41], Operations: ['32+9=41'] Exploring Operation: 96-27=69, Resulting Numbers: [41, 69] Generated Node #0,1,0: 61:[41, 69] Operation: 96-27=69 Exploring Operation: 41-27=14, Resulting Numbers: [96, 14] Generated Node #0,1,1: 61:[96, 14] Operation: 41-27=14 Exploring Operation: 96-41=55, Resulting Numbers: [27, 55] Generated Node #0,1,2: 61:[27, 55] Operation: 96-41=55 Exploring Operation: 96+27=123, Resulting Numbers: [41, 123] Generated Node #0,1,3: 61:[41, 123] Operation: 96+27=123 Exploring Operation: 27+41=68, Resulting Numbers: [96, 68] Generated Node #0,1,4: 61:[96, 68] Operation: 27+41=68 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[41, 69], Operations: ['32+9=41', '96-27=69'] Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[27, 55], Operations: ['32+9=41', '96-41=55'] Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 61:[96, 68], Operations: ['32+9=41', '27+41=68'] Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 96*68=6528, Resulting Numbers: [6528] 6528,61 unequal: No Solution Exploring Operation: 96+68=164, Resulting Numbers: [164] 164,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[96, 14], Operations: ['32+9=41', '41-27=14'] Exploring Operation: 96-14=82, Resulting Numbers: [82] 82,61 unequal: No Solution Exploring Operation: 96*14=1344, Resulting Numbers: [1344] 1344,61 unequal: No Solution Exploring Operation: 96+14=110, Resulting Numbers: [110] 110,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 61:[41, 123], Operations: ['32+9=41', '96+27=123'] Exploring Operation: 41*123=5043, Resulting Numbers: [5043] 5043,61 unequal: No Solution Exploring Operation: 41+123=164, Resulting Numbers: [164] 164,61 unequal: No Solution Exploring Operation: 123/41=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 123-41=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[9, 27, 64], Operations: ['96-32=64'] Exploring Operation: 64-9=55, Resulting Numbers: [27, 55] Generated Node #0,2,0: 61:[27, 55] Operation: 64-9=55 Exploring Operation: 27/9=3, Resulting Numbers: [64, 3] Generated Node #0,2,1: 61:[64, 3] Operation: 27/9=3 Exploring Operation: 9+64=73, Resulting Numbers: [27, 73] Generated Node #0,2,2: 61:[27, 73] Operation: 9+64=73 Exploring Operation: 27-9=18, Resulting Numbers: [64, 18] Generated Node #0,2,3: 61:[64, 18] Operation: 27-9=18 Exploring Operation: 9+27=36, Resulting Numbers: [64, 36] Generated Node #0,2,4: 61:[64, 36] Operation: 9+27=36 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 61:[64, 36], Operations: ['96-32=64', '9+27=36'] Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,61 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 61:[27, 55], Operations: ['96-32=64', '64-9=55'] Exploring Operation: 27*55=1485, Resulting Numbers: [1485] 1485,61 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 27+55=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 61:[27, 73], Operations: ['96-32=64', '9+64=73'] Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,61 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 61:[64, 18], Operations: ['96-32=64', '27-9=18'] Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,61 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[64, 3], Operations: ['96-32=64', '27/9=3'] Exploring Operation: 64*3=192, Resulting Numbers: [192] 192,61 unequal: No Solution Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[32, 9, 96, 27], Operations: [] Exploring Operation: 96-32=64, Resulting Numbers: [9, 27, 64] Generated Node #0,2: 61:[9, 27, 64] Operation: 96-32=64 Moving to Node #0,2 Current State: 61:[9, 27, 64], Operations: ['96-32=64'] Exploring Operation: 27/9=3, Resulting Numbers: [64, 3] Generated Node #0,2,1: 61:[64, 3] Operation: 27/9=3 Moving to Node #0,2,1 Current State: 61:[64, 3], Operations: ['96-32=64', '27/9=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.939236
hs_5
mult_heuristic
[ 21, 85, 34, 3 ]
27
[ "85-21=64", "34+3=37", "64-37=27" ]
Current State: 27:[21, 85, 34, 3], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [34, 3, 64] Generated Node #2: [34, 3, 64] from Operation: 85-21=64 Current State: 27:[34, 3, 64], Operations: ['85-21=64'] Exploring Operation: 34+3=37, Resulting Numbers: [64, 37] Generated Node #3: [64, 37] from Operation: 34+3=37 Current State: 27:[64, 37], Operations: ['85-21=64', '34+3=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[21, 85, 34, 3], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [34, 3, 64] Generated Node #0,0: 27:[34, 3, 64] Operation: 85-21=64 Exploring Operation: 34-21=13, Resulting Numbers: [85, 3, 13] Generated Node #0,1: 27:[85, 3, 13] Operation: 34-21=13 Exploring Operation: 85-34=51, Resulting Numbers: [21, 3, 51] Generated Node #0,2: 27:[21, 3, 51] Operation: 85-34=51 Exploring Operation: 21/3=7, Resulting Numbers: [85, 34, 7] Generated Node #0,3: 27:[85, 34, 7] Operation: 21/3=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[21, 3, 51], Operations: ['85-34=51'] Exploring Operation: 51-21=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 27:[3, 30] Operation: 51-21=30 Exploring Operation: 21+3=24, Resulting Numbers: [51, 24] Generated Node #0,2,1: 27:[51, 24] Operation: 21+3=24 Exploring Operation: 21/3=7, Resulting Numbers: [51, 7] Generated Node #0,2,2: 27:[51, 7] Operation: 21/3=7 Exploring Operation: 51/3=17, Resulting Numbers: [21, 17] Generated Node #0,2,3: 27:[21, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[3, 30], Operations: ['85-34=51', '51-21=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,27 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[21, 85, 34, 3], Operations: [] Exploring Operation: 85-34=51, Resulting Numbers: [21, 3, 51] Generated Node #0,2: 27:[21, 3, 51] Operation: 85-34=51 Moving to Node #0,2 Current State: 27:[21, 3, 51], Operations: ['85-34=51'] Exploring Operation: 51-21=30, Resulting Numbers: [3, 30] Generated Node #0,2,0: 27:[3, 30] Operation: 51-21=30 Moving to Node #0,2,0 Current State: 27:[3, 30], Operations: ['85-34=51', '51-21=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 67, 83, 32, 10 ]
12
[ "83-67=16", "32/16=2", "10+2=12" ]
Current State: 12:[67, 83, 32, 10], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [32, 10, 16] Generated Node #2: [32, 10, 16] from Operation: 83-67=16 Current State: 12:[32, 10, 16], Operations: ['83-67=16'] Exploring Operation: 32/16=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 32/16=2 Current State: 12:[10, 2], Operations: ['83-67=16', '32/16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[67, 83, 32, 10], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [32, 10, 16] Generated Node #0,0: 12:[32, 10, 16] Operation: 83-67=16 Exploring Operation: 67-32=35, Resulting Numbers: [83, 10, 35] Generated Node #0,1: 12:[83, 10, 35] Operation: 67-32=35 Moving to Node #0,0 Current State: 12:[32, 10, 16], Operations: ['83-67=16'] Exploring Operation: 32/16=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 12:[10, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [10, 16] Generated Node #0,0,1: 12:[10, 16] Operation: 32-16=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[10, 2], Operations: ['83-67=16', '32/16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[67, 83, 32, 10], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [32, 10, 16] Generated Node #0,0: 12:[32, 10, 16] Operation: 83-67=16 Moving to Node #0,0 Current State: 12:[32, 10, 16], Operations: ['83-67=16'] Exploring Operation: 32/16=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 12:[10, 2] Operation: 32/16=2 Moving to Node #0,0,0 Current State: 12:[10, 2], Operations: ['83-67=16', '32/16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 34, 12, 22, 37 ]
30
[ "37-34=3", "22-12=10", "3*10=30" ]
Current State: 30:[34, 12, 22, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [12, 22, 3] Generated Node #2: [12, 22, 3] from Operation: 37-34=3 Current State: 30:[12, 22, 3], Operations: ['37-34=3'] Exploring Operation: 22-12=10, Resulting Numbers: [3, 10] Generated Node #3: [3, 10] from Operation: 22-12=10 Current State: 30:[3, 10], Operations: ['37-34=3', '22-12=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[34, 12, 22, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [12, 22, 3] Generated Node #0,0: 30:[12, 22, 3] Operation: 37-34=3 Exploring Operation: 37-22=15, Resulting Numbers: [34, 12, 15] Generated Node #0,1: 30:[34, 12, 15] Operation: 37-22=15 Exploring Operation: 34-22=12, Resulting Numbers: [12, 37, 12] Generated Node #0,2: 30:[12, 37, 12] Operation: 34-22=12 Exploring Operation: 22-12=10, Resulting Numbers: [34, 37, 10] Generated Node #0,3: 30:[34, 37, 10] Operation: 22-12=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[34, 12, 15], Operations: ['37-22=15'] Exploring Operation: 34-12=22, Resulting Numbers: [15, 22] Generated Node #0,1,0: 30:[15, 22] Operation: 34-12=22 Exploring Operation: 34-15=19, Resulting Numbers: [12, 19] Generated Node #0,1,1: 30:[12, 19] Operation: 34-15=19 Exploring Operation: 15-12=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 30:[34, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [34, 27] Generated Node #0,1,3: 30:[34, 27] Operation: 12+15=27 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[34, 3], Operations: ['37-22=15', '15-12=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,30 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,30 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[12, 19], Operations: ['37-22=15', '34-15=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[15, 22], Operations: ['37-22=15', '34-12=22'] Exploring Operation: 15*22=330, Resulting Numbers: [330] 330,30 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 30:[34, 27], Operations: ['37-22=15', '12+15=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,30 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,30 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[12, 22, 3], Operations: ['37-34=3'] Exploring Operation: 12+22=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 30:[3, 34] Operation: 12+22=34 Exploring Operation: 12+3=15, Resulting Numbers: [22, 15] Generated Node #0,0,1: 30:[22, 15] Operation: 12+3=15 Exploring Operation: 22-3=19, Resulting Numbers: [12, 19] Generated Node #0,0,2: 30:[12, 19] Operation: 22-3=19 Exploring Operation: 22-12=10, Resulting Numbers: [3, 10] Generated Node #0,0,3: 30:[3, 10] Operation: 22-12=10 Moving to Node #0,0,3 Current State: 30:[3, 10], Operations: ['37-34=3', '22-12=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[34, 12, 22, 37], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [12, 22, 3] Generated Node #0,0: 30:[12, 22, 3] Operation: 37-34=3 Moving to Node #0,0 Current State: 30:[12, 22, 3], Operations: ['37-34=3'] Exploring Operation: 22-12=10, Resulting Numbers: [3, 10] Generated Node #0,0,3: 30:[3, 10] Operation: 22-12=10 Moving to Node #0,0,3 Current State: 30:[3, 10], Operations: ['37-34=3', '22-12=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 14, 82, 25, 13 ]
57
[ "14-13=1", "82-25=57", "1*57=57" ]
Current State: 57:[14, 82, 25, 13], Operations: [] Exploring Operation: 14-13=1, Resulting Numbers: [82, 25, 1] Generated Node #2: [82, 25, 1] from Operation: 14-13=1 Current State: 57:[82, 25, 1], Operations: ['14-13=1'] Exploring Operation: 82-25=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 82-25=57 Current State: 57:[1, 57], Operations: ['14-13=1', '82-25=57'] Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[14, 82, 25, 13], Operations: [] Exploring Operation: 82-25=57, Resulting Numbers: [14, 13, 57] Generated Node #0,0: 57:[14, 13, 57] Operation: 82-25=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[14, 13, 57], Operations: ['82-25=57'] Exploring Operation: 14-13=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 57:[57, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 57:[57, 1], Operations: ['82-25=57', '14-13=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[14, 82, 25, 13], Operations: [] Exploring Operation: 82-25=57, Resulting Numbers: [14, 13, 57] Generated Node #0,0: 57:[14, 13, 57] Operation: 82-25=57 Moving to Node #0,0 Current State: 57:[14, 13, 57], Operations: ['82-25=57'] Exploring Operation: 14-13=1, Resulting Numbers: [57, 1] Generated Node #0,0,0: 57:[57, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 57:[57, 1], Operations: ['82-25=57', '14-13=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 53, 83, 75 ]
38
[ "83-53=30", "83-75=8", "30+8=38" ]
Current State: 38:[83, 53, 83, 75], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [75, 30] Generated Node #2: [75, 30] from Operation: 83-53=30 Current State: 38:[75, 30], Operations: ['83-53=30'] Exploring Operation: 83-75=8, Resulting Numbers: [30, 8] Generated Node #3: [30, 8] from Operation: 83-75=8 Current State: 38:[30, 8], Operations: ['83-53=30', '83-75=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[83, 53, 83, 75], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [53, 75, 1] Generated Node #0,0: 38:[53, 75, 1] Operation: 83/83=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[53, 75, 1], Operations: ['83/83=1'] Exploring Operation: 75-53=22, Resulting Numbers: [1, 22] Generated Node #0,0,0: 38:[1, 22] Operation: 75-53=22 Moving to Node #0,0,0 Current State: 38:[1, 22], Operations: ['83/83=1', '75-53=22'] Exploring Operation: 22-1=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
[ 41, 69, 52, 74 ]
13
[ "52-41=11", "69+74=143", "143/11=13" ]
Current State: 13:[41, 69, 52, 74], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [69, 74, 11] Generated Node #2: [69, 74, 11] from Operation: 52-41=11 Current State: 13:[69, 74, 11], Operations: ['52-41=11'] Exploring Operation: 69+74=143, Resulting Numbers: [11, 143] Generated Node #3: [11, 143] from Operation: 69+74=143 Current State: 13:[11, 143], Operations: ['52-41=11', '69+74=143'] Exploring Operation: 143/11=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[41, 69, 52, 74], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [41, 74, 17] Generated Node #0,0: 13:[41, 74, 17] Operation: 69-52=17 Exploring Operation: 74-69=5, Resulting Numbers: [41, 52, 5] Generated Node #0,1: 13:[41, 52, 5] Operation: 74-69=5 Moving to Node #0,1 Current State: 13:[41, 52, 5], Operations: ['74-69=5'] Exploring Operation: 41-5=36, Resulting Numbers: [52, 36] Generated Node #0,1,0: 13:[52, 36] Operation: 41-5=36 Exploring Operation: 52-41=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 13:[5, 11] Operation: 52-41=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[5, 11], Operations: ['74-69=5', '52-41=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[52, 36], Operations: ['74-69=5', '41-5=36'] Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,13 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,13 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: 13:[41, 74, 17], Operations: ['69-52=17'] Exploring Operation: 41-17=24, Resulting Numbers: [74, 24] Generated Node #0,0,0: 13:[74, 24] Operation: 41-17=24 Exploring Operation: 74-41=33, Resulting Numbers: [17, 33] Generated Node #0,0,1: 13:[17, 33] Operation: 74-41=33 Moving to Node #0,0,1 Current State: 13:[17, 33], Operations: ['69-52=17', '74-41=33'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[74, 24], Operations: ['69-52=17', '41-17=24'] Exploring Operation: 74+24=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 96, 24, 62, 79 ]
89
[ "96-24=72", "79-62=17", "72+17=89" ]
Current State: 89:[96, 24, 62, 79], Operations: [] Exploring Operation: 96-24=72, Resulting Numbers: [62, 79, 72] Generated Node #2: [62, 79, 72] from Operation: 96-24=72 Current State: 89:[62, 79, 72], Operations: ['96-24=72'] Exploring Operation: 79-62=17, Resulting Numbers: [72, 17] Generated Node #3: [72, 17] from Operation: 79-62=17 Current State: 89:[72, 17], Operations: ['96-24=72', '79-62=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[96, 24, 62, 79], Operations: [] Exploring Operation: 24+62=86, Resulting Numbers: [96, 79, 86] Generated Node #0,0: 89:[96, 79, 86] Operation: 24+62=86 Exploring Operation: 24+79=103, Resulting Numbers: [96, 62, 103] Generated Node #0,1: 89:[96, 62, 103] Operation: 24+79=103 Moving to Node #0,0 Current State: 89:[96, 79, 86], Operations: ['24+62=86'] Exploring Operation: 96-79=17, Resulting Numbers: [86, 17] Generated Node #0,0,0: 89:[86, 17] Operation: 96-79=17 Exploring Operation: 79+86=165, Resulting Numbers: [96, 165] Generated Node #0,0,1: 89:[96, 165] Operation: 79+86=165 Moving to Node #0,1 Current State: 89:[96, 62, 103], Operations: ['24+79=103'] Exploring Operation: 96-62=34, Resulting Numbers: [103, 34] Generated Node #0,1,0: 89:[103, 34] Operation: 96-62=34 Exploring Operation: 103-62=41, Resulting Numbers: [96, 41] Generated Node #0,1,1: 89:[96, 41] Operation: 103-62=41 Moving to Node #0,1,1 Current State: 89:[96, 41], Operations: ['24+79=103', '103-62=41'] Exploring Operation: 96+41=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[103, 34], Operations: ['24+79=103', '96-62=34'] Exploring Operation: 103-34=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 103+34=137, Resulting Numbers: [137] 137,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[86, 17], Operations: ['24+62=86', '96-79=17'] Exploring Operation: 86+17=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 86-17=69, Resulting Numbers: [69] 69,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[96, 165], Operations: ['24+62=86', '79+86=165'] Exploring Operation: 165-96=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 96+165=261, Resulting Numbers: [261] 261,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 98, 37, 8, 38 ]
54
[ "98+38=136", "136/8=17", "37+17=54" ]
Current State: 54:[98, 37, 8, 38], Operations: [] Exploring Operation: 98+38=136, Resulting Numbers: [37, 8, 136] Generated Node #2: [37, 8, 136] from Operation: 98+38=136 Current State: 54:[37, 8, 136], Operations: ['98+38=136'] Exploring Operation: 136/8=17, Resulting Numbers: [37, 17] Generated Node #3: [37, 17] from Operation: 136/8=17 Current State: 54:[37, 17], Operations: ['98+38=136', '136/8=17'] Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[98, 37, 8, 38], Operations: [] Exploring Operation: 98-38=60, Resulting Numbers: [37, 8, 60] Generated Node #0,0: 54:[37, 8, 60] Operation: 98-38=60 Exploring Operation: 38-37=1, Resulting Numbers: [98, 8, 1] Generated Node #0,1: 54:[98, 8, 1] Operation: 38-37=1 Exploring Operation: 98-8=90, Resulting Numbers: [37, 38, 90] Generated Node #0,2: 54:[37, 38, 90] Operation: 98-8=90 Exploring Operation: 98-37=61, Resulting Numbers: [8, 38, 61] Generated Node #0,3: 54:[8, 38, 61] Operation: 98-37=61 Moving to Node #0,0 Current State: 54:[37, 8, 60], Operations: ['98-38=60'] Exploring Operation: 37-8=29, Resulting Numbers: [60, 29] Generated Node #0,0,0: 54:[60, 29] Operation: 37-8=29 Exploring Operation: 37+8=45, Resulting Numbers: [60, 45] Generated Node #0,0,1: 54:[60, 45] Operation: 37+8=45 Exploring Operation: 60-37=23, Resulting Numbers: [8, 23] Generated Node #0,0,2: 54:[8, 23] Operation: 60-37=23 Exploring Operation: 60-8=52, Resulting Numbers: [37, 52] Generated Node #0,0,3: 54:[37, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 54:[8, 23], Operations: ['98-38=60', '60-37=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[60, 29], Operations: ['98-38=60', '37-8=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,54 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 54:[37, 52], Operations: ['98-38=60', '60-8=52'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 37*52=1924, Resulting Numbers: [1924] 1924,54 unequal: No Solution Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 54:[60, 45], Operations: ['98-38=60', '37+8=45'] Exploring Operation: 60+45=105, Resulting Numbers: [105] 105,54 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 60*45=2700, Resulting Numbers: [2700] 2700,54 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: 54:[8, 38, 61], Operations: ['98-37=61'] Exploring Operation: 61-38=23, Resulting Numbers: [8, 23] Generated Node #0,3,0: 54:[8, 23] Operation: 61-38=23 Exploring Operation: 8+38=46, Resulting Numbers: [61, 46] Generated Node #0,3,1: 54:[61, 46] Operation: 8+38=46 Exploring Operation: 38-8=30, Resulting Numbers: [61, 30] Generated Node #0,3,2: 54:[61, 30] Operation: 38-8=30 Exploring Operation: 61-8=53, Resulting Numbers: [38, 53] Generated Node #0,3,3: 54:[38, 53] Operation: 61-8=53 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[8, 23], Operations: ['98-37=61', '61-38=23'] Exploring Operation: 8*23=184, Resulting Numbers: [184] 184,54 unequal: No Solution Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,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,3,2 Current State: 54:[61, 30], Operations: ['98-37=61', '38-8=30'] Exploring Operation: 61*30=1830, Resulting Numbers: [1830] 1830,54 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 61+30=91, Resulting Numbers: [91] 91,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,3,3 Current State: 54:[38, 53], Operations: ['98-37=61', '61-8=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,54 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,54 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,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,3,1 Current State: 54:[61, 46], Operations: ['98-37=61', '8+38=46'] Exploring Operation: 61*46=2806, Resulting Numbers: [2806] 2806,54 unequal: No Solution Exploring Operation: 61+46=107, Resulting Numbers: [107] 107,54 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 54:[98, 8, 1], Operations: ['38-37=1'] Exploring Operation: 98*1=98, Resulting Numbers: [8, 98] Generated Node #0,1,0: 54:[8, 98] Operation: 98*1=98 Exploring Operation: 98-1=97, Resulting Numbers: [8, 97] Generated Node #0,1,1: 54:[8, 97] Operation: 98-1=97 Exploring Operation: 8+1=9, Resulting Numbers: [98, 9] Generated Node #0,1,2: 54:[98, 9] Operation: 8+1=9 Exploring Operation: 98-8=90, Resulting Numbers: [1, 90] Generated Node #0,1,3: 54:[1, 90] Operation: 98-8=90 Moving to Node #0,2 Current State: 54:[37, 38, 90], Operations: ['98-8=90'] Exploring Operation: 90-37=53, Resulting Numbers: [38, 53] Generated Node #0,2,0: 54:[38, 53] Operation: 90-37=53 Exploring Operation: 37+38=75, Resulting Numbers: [90, 75] Generated Node #0,2,1: 54:[90, 75] Operation: 37+38=75 Exploring Operation: 90-38=52, Resulting Numbers: [37, 52] Generated Node #0,2,2: 54:[37, 52] Operation: 90-38=52 Exploring Operation: 38-37=1, Resulting Numbers: [90, 1] Generated Node #0,2,3: 54:[90, 1] Operation: 38-37=1 Moving to Node #0,2,0 Current State: 54:[38, 53], Operations: ['98-8=90', '90-37=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,54 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[37, 52], Operations: ['98-8=90', '90-38=52'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 37*52=1924, Resulting Numbers: [1924] 1924,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[90, 1], Operations: ['98-8=90', '38-37=1'] Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 90+1=91, Resulting Numbers: [91] 91,54 unequal: No Solution Exploring Operation: 90*1=90, Resulting Numbers: [90] 90,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[1, 90], Operations: ['38-37=1', '98-8=90'] Exploring Operation: 1*90=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 1+90=91, Resulting Numbers: [91] 91,54 unequal: No Solution Exploring Operation: 90-1=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 90/1=90, Resulting Numbers: [90] 90,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[98, 9], Operations: ['38-37=1', '8+1=9'] Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,54 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[8, 97], Operations: ['38-37=1', '98-1=97'] Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 8*97=776, Resulting Numbers: [776] 776,54 unequal: No Solution Exploring Operation: 8+97=105, Resulting Numbers: [105] 105,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[8, 98], Operations: ['38-37=1', '98*1=98'] Exploring Operation: 98-8=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 8*98=784, Resulting Numbers: [784] 784,54 unequal: No Solution Exploring Operation: 8+98=106, Resulting Numbers: [106] 106,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[90, 75], Operations: ['98-8=90', '37+38=75'] Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,54 unequal: No Solution Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,54 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 47, 21, 33, 15 ]
21
[ "47-33=14", "15-14=1", "21*1=21" ]
Current State: 21:[47, 21, 33, 15], Operations: [] Exploring Operation: 47-33=14, Resulting Numbers: [21, 15, 14] Generated Node #2: [21, 15, 14] from Operation: 47-33=14 Current State: 21:[21, 15, 14], Operations: ['47-33=14'] Exploring Operation: 15-14=1, Resulting Numbers: [21, 1] Generated Node #3: [21, 1] from Operation: 15-14=1 Current State: 21:[21, 1], Operations: ['47-33=14', '15-14=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[47, 21, 33, 15], Operations: [] Exploring Operation: 33-15=18, Resulting Numbers: [47, 21, 18] Generated Node #0,0: 21:[47, 21, 18] Operation: 33-15=18 Exploring Operation: 47-33=14, Resulting Numbers: [21, 15, 14] Generated Node #0,1: 21:[21, 15, 14] Operation: 47-33=14 Exploring Operation: 33-21=12, Resulting Numbers: [47, 15, 12] Generated Node #0,2: 21:[47, 15, 12] Operation: 33-21=12 Exploring Operation: 47-15=32, Resulting Numbers: [21, 33, 32] Generated Node #0,3: 21:[21, 33, 32] Operation: 47-15=32 Exploring Operation: 47-21=26, Resulting Numbers: [33, 15, 26] Generated Node #0,4: 21:[33, 15, 26] Operation: 47-21=26 Moving to Node #0,1 Current State: 21:[21, 15, 14], Operations: ['47-33=14'] Exploring Operation: 15+14=29, Resulting Numbers: [21, 29] Generated Node #0,1,0: 21:[21, 29] Operation: 15+14=29 Exploring Operation: 21-14=7, Resulting Numbers: [15, 7] Generated Node #0,1,1: 21:[15, 7] Operation: 21-14=7 Exploring Operation: 21-15=6, Resulting Numbers: [14, 6] Generated Node #0,1,2: 21:[14, 6] Operation: 21-15=6 Exploring Operation: 21+14=35, Resulting Numbers: [15, 35] Generated Node #0,1,3: 21:[15, 35] Operation: 21+14=35 Exploring Operation: 15-14=1, Resulting Numbers: [21, 1] Generated Node #0,1,4: 21:[21, 1] Operation: 15-14=1 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 21:[21, 1], Operations: ['47-33=14', '15-14=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[47, 21, 33, 15], Operations: [] Exploring Operation: 47-33=14, Resulting Numbers: [21, 15, 14] Generated Node #0,1: 21:[21, 15, 14] Operation: 47-33=14 Moving to Node #0,1 Current State: 21:[21, 15, 14], Operations: ['47-33=14'] Exploring Operation: 15-14=1, Resulting Numbers: [21, 1] Generated Node #0,1,4: 21:[21, 1] Operation: 15-14=1 Moving to Node #0,1,4 Current State: 21:[21, 1], Operations: ['47-33=14', '15-14=1'] Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 78, 89, 86, 29 ]
46
[ "89-78=11", "86-29=57", "57-11=46" ]
Current State: 46:[78, 89, 86, 29], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [86, 29, 11] Generated Node #2: [86, 29, 11] from Operation: 89-78=11 Current State: 46:[86, 29, 11], Operations: ['89-78=11'] Exploring Operation: 86-29=57, Resulting Numbers: [11, 57] Generated Node #3: [11, 57] from Operation: 86-29=57 Current State: 46:[11, 57], Operations: ['89-78=11', '86-29=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[78, 89, 86, 29], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [89, 29, 8] Generated Node #0,0: 46:[89, 29, 8] Operation: 86-78=8 Exploring Operation: 89-78=11, Resulting Numbers: [86, 29, 11] Generated Node #0,1: 46:[86, 29, 11] Operation: 89-78=11 Exploring Operation: 89-86=3, Resulting Numbers: [78, 29, 3] Generated Node #0,2: 46:[78, 29, 3] Operation: 89-86=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[78, 29, 3], Operations: ['89-86=3'] Exploring Operation: 78-3=75, Resulting Numbers: [29, 75] Generated Node #0,2,0: 46:[29, 75] Operation: 78-3=75 Exploring Operation: 78-29=49, Resulting Numbers: [3, 49] Generated Node #0,2,1: 46:[3, 49] Operation: 78-29=49 Exploring Operation: 78/3=26, Resulting Numbers: [29, 26] Generated Node #0,2,2: 46:[29, 26] Operation: 78/3=26 Moving to Node #0,2,1 Current State: 46:[3, 49], Operations: ['89-86=3', '78-29=49'] Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,46 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[78, 89, 86, 29], Operations: [] Exploring Operation: 89-86=3, Resulting Numbers: [78, 29, 3] Generated Node #0,2: 46:[78, 29, 3] Operation: 89-86=3 Moving to Node #0,2 Current State: 46:[78, 29, 3], Operations: ['89-86=3'] Exploring Operation: 78-29=49, Resulting Numbers: [3, 49] Generated Node #0,2,1: 46:[3, 49] Operation: 78-29=49 Moving to Node #0,2,1 Current State: 46:[3, 49], Operations: ['89-86=3', '78-29=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 73, 30, 72, 2 ]
41
[ "73+30=103", "72*2=144", "144-103=41" ]
Current State: 41:[73, 30, 72, 2], Operations: [] Exploring Operation: 73+30=103, Resulting Numbers: [72, 2, 103] Generated Node #2: [72, 2, 103] from Operation: 73+30=103 Current State: 41:[72, 2, 103], Operations: ['73+30=103'] Exploring Operation: 72*2=144, Resulting Numbers: [103, 144] Generated Node #3: [103, 144] from Operation: 72*2=144 Current State: 41:[103, 144], Operations: ['73+30=103', '72*2=144'] Exploring Operation: 144-103=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[73, 30, 72, 2], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [30, 72, 71] Generated Node #0,0: 41:[30, 72, 71] Operation: 73-2=71 Exploring Operation: 72/2=36, Resulting Numbers: [73, 30, 36] Generated Node #0,1: 41:[73, 30, 36] Operation: 72/2=36 Exploring Operation: 73-30=43, Resulting Numbers: [72, 2, 43] Generated Node #0,2: 41:[72, 2, 43] Operation: 73-30=43 Exploring Operation: 30+2=32, Resulting Numbers: [73, 72, 32] Generated Node #0,3: 41:[73, 72, 32] Operation: 30+2=32 Exploring Operation: 72-30=42, Resulting Numbers: [73, 2, 42] Generated Node #0,4: 41:[73, 2, 42] Operation: 72-30=42 Moving to Node #0,1 Current State: 41:[73, 30, 36], Operations: ['72/2=36'] Exploring Operation: 30+36=66, Resulting Numbers: [73, 66] Generated Node #0,1,0: 41:[73, 66] Operation: 30+36=66 Exploring Operation: 73+30=103, Resulting Numbers: [36, 103] Generated Node #0,1,1: 41:[36, 103] Operation: 73+30=103 Exploring Operation: 36-30=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 41:[73, 6] Operation: 36-30=6 Exploring Operation: 73-30=43, Resulting Numbers: [36, 43] Generated Node #0,1,3: 41:[36, 43] Operation: 73-30=43 Exploring Operation: 73-36=37, Resulting Numbers: [30, 37] Generated Node #0,1,4: 41:[30, 37] Operation: 73-36=37 Moving to Node #0,2 Current State: 41:[72, 2, 43], Operations: ['73-30=43'] Exploring Operation: 72+2=74, Resulting Numbers: [43, 74] Generated Node #0,2,0: 41:[43, 74] Operation: 72+2=74 Exploring Operation: 2+43=45, Resulting Numbers: [72, 45] Generated Node #0,2,1: 41:[72, 45] Operation: 2+43=45 Exploring Operation: 43-2=41, Resulting Numbers: [72, 41] Generated Node #0,2,2: 41:[72, 41] Operation: 43-2=41 Exploring Operation: 72/2=36, Resulting Numbers: [43, 36] Generated Node #0,2,3: 41:[43, 36] Operation: 72/2=36 Exploring Operation: 72-2=70, Resulting Numbers: [43, 70] Generated Node #0,2,4: 41:[43, 70] Operation: 72-2=70 Moving to Node #0,4 Current State: 41:[73, 2, 42], Operations: ['72-30=42'] Exploring Operation: 2+42=44, Resulting Numbers: [73, 44] Generated Node #0,4,0: 41:[73, 44] Operation: 2+42=44 Exploring Operation: 42-2=40, Resulting Numbers: [73, 40] Generated Node #0,4,1: 41:[73, 40] Operation: 42-2=40 Exploring Operation: 73-2=71, Resulting Numbers: [42, 71] Generated Node #0,4,2: 41:[42, 71] Operation: 73-2=71 Exploring Operation: 73+2=75, Resulting Numbers: [42, 75] Generated Node #0,4,3: 41:[42, 75] Operation: 73+2=75 Exploring Operation: 73-42=31, Resulting Numbers: [2, 31] Generated Node #0,4,4: 41:[2, 31] Operation: 73-42=31 Moving to Node #0,0 Current State: 41:[30, 72, 71], Operations: ['73-2=71'] Exploring Operation: 71-30=41, Resulting Numbers: [72, 41] Generated Node #0,0,0: 41:[72, 41] Operation: 71-30=41 Exploring Operation: 72-71=1, Resulting Numbers: [30, 1] Generated Node #0,0,1: 41:[30, 1] Operation: 72-71=1 Exploring Operation: 30+71=101, Resulting Numbers: [72, 101] Generated Node #0,0,2: 41:[72, 101] Operation: 30+71=101 Exploring Operation: 72-30=42, Resulting Numbers: [71, 42] Generated Node #0,0,3: 41:[71, 42] Operation: 72-30=42 Exploring Operation: 30+72=102, Resulting Numbers: [71, 102] Generated Node #0,0,4: 41:[71, 102] Operation: 30+72=102 Moving to Node #0,3 Current State: 41:[73, 72, 32], Operations: ['30+2=32'] Exploring Operation: 72+32=104, Resulting Numbers: [73, 104] Generated Node #0,3,0: 41:[73, 104] Operation: 72+32=104 Exploring Operation: 73-32=41, Resulting Numbers: [72, 41] Generated Node #0,3,1: 41:[72, 41] Operation: 73-32=41 Exploring Operation: 73+32=105, Resulting Numbers: [72, 105] Generated Node #0,3,2: 41:[72, 105] Operation: 73+32=105 Exploring Operation: 73-72=1, Resulting Numbers: [32, 1] Generated Node #0,3,3: 41:[32, 1] Operation: 73-72=1 Exploring Operation: 72-32=40, Resulting Numbers: [73, 40] Generated Node #0,3,4: 41:[73, 40] Operation: 72-32=40 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[72, 41], Operations: ['30+2=32', '73-32=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,41 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[73, 40], Operations: ['30+2=32', '72-32=40'] Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,41 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[32, 1], Operations: ['30+2=32', '73-72=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[73, 104], Operations: ['30+2=32', '72+32=104'] Exploring Operation: 73*104=7592, Resulting Numbers: [7592] 7592,41 unequal: No Solution Exploring Operation: 73+104=177, Resulting Numbers: [177] 177,41 unequal: No Solution Exploring Operation: 104-73=31, Resulting Numbers: [31] 31,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[72, 105], Operations: ['30+2=32', '73+32=105'] Exploring Operation: 72+105=177, Resulting Numbers: [177] 177,41 unequal: No Solution Exploring Operation: 72*105=7560, Resulting Numbers: [7560] 7560,41 unequal: No Solution Exploring Operation: 105-72=33, Resulting Numbers: [33] 33,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 41:[36, 43], Operations: ['72/2=36', '73-30=43'] Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,41 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[43, 36], Operations: ['73-30=43', '72/2=36'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 43*36=1548, Resulting Numbers: [1548] 1548,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[30, 37], Operations: ['72/2=36', '73-36=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 30*37=1110, Resulting Numbers: [1110] 1110,41 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[72, 41], Operations: ['73-30=43', '43-2=41'] Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,41 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[42, 71], Operations: ['72-30=42', '73-2=71'] Exploring Operation: 42+71=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 42*71=2982, Resulting Numbers: [2982] 2982,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[43, 70], Operations: ['73-30=43', '72-2=70'] Exploring Operation: 43+70=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 43*70=3010, Resulting Numbers: [3010] 3010,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[72, 41], Operations: ['73-2=71', '71-30=41'] Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[71, 42], Operations: ['73-2=71', '72-30=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,41 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,41 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[73, 40], Operations: ['72-30=42', '42-2=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,41 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[42, 75], Operations: ['72-30=42', '73+2=75'] Exploring Operation: 75-42=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 42+75=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 42*75=3150, Resulting Numbers: [3150] 3150,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[73, 44], Operations: ['72-30=42', '2+42=44'] Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 73*44=3212, Resulting Numbers: [3212] 3212,41 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[72, 45], Operations: ['73-30=43', '2+43=45'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 72+45=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 72*45=3240, Resulting Numbers: [3240] 3240,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[43, 74], Operations: ['73-30=43', '72+2=74'] Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,41 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[2, 31], Operations: ['72-30=42', '73-42=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[30, 1], Operations: ['73-2=71', '72-71=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[73, 66], Operations: ['72/2=36', '30+36=66'] Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,41 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[73, 6], Operations: ['72/2=36', '36-30=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,41 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[36, 103], Operations: ['72/2=36', '73+30=103'] Exploring Operation: 36*103=3708, Resulting Numbers: [3708] 3708,41 unequal: No Solution Exploring Operation: 103-36=67, Resulting Numbers: [67] 67,41 unequal: No Solution Exploring Operation: 36+103=139, Resulting Numbers: [139] 139,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[71, 102], Operations: ['73-2=71', '30+72=102'] Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,41 unequal: No Solution Exploring Operation: 71*102=7242, Resulting Numbers: [7242] 7242,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[72, 101], Operations: ['73-2=71', '30+71=101'] Exploring Operation: 72*101=7272, Resulting Numbers: [7272] 7272,41 unequal: No Solution Exploring Operation: 101-72=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 72+101=173, Resulting Numbers: [173] 173,41 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 58, 43, 56, 46 ]
66
[ "58-56=2", "46/2=23", "43+23=66" ]
Current State: 66:[58, 43, 56, 46], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [43, 46, 2] Generated Node #2: [43, 46, 2] from Operation: 58-56=2 Current State: 66:[43, 46, 2], Operations: ['58-56=2'] Exploring Operation: 46/2=23, Resulting Numbers: [43, 23] Generated Node #3: [43, 23] from Operation: 46/2=23 Current State: 66:[43, 23], Operations: ['58-56=2', '46/2=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[58, 43, 56, 46], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [58, 56, 3] Generated Node #0,0: 66:[58, 56, 3] Operation: 46-43=3 Exploring Operation: 56-43=13, Resulting Numbers: [58, 46, 13] Generated Node #0,1: 66:[58, 46, 13] Operation: 56-43=13 Exploring Operation: 56-46=10, Resulting Numbers: [58, 43, 10] Generated Node #0,2: 66:[58, 43, 10] Operation: 56-46=10 Exploring Operation: 58-56=2, Resulting Numbers: [43, 46, 2] Generated Node #0,3: 66:[43, 46, 2] Operation: 58-56=2 Exploring Operation: 58-46=12, Resulting Numbers: [43, 56, 12] Generated Node #0,4: 66:[43, 56, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[58, 56, 3], Operations: ['46-43=3'] Exploring Operation: 58-3=55, Resulting Numbers: [56, 55] Generated Node #0,0,0: 66:[56, 55] Operation: 58-3=55 Exploring Operation: 56+3=59, Resulting Numbers: [58, 59] Generated Node #0,0,1: 66:[58, 59] Operation: 56+3=59 Exploring Operation: 56-3=53, Resulting Numbers: [58, 53] Generated Node #0,0,2: 66:[58, 53] Operation: 56-3=53 Exploring Operation: 58-56=2, Resulting Numbers: [3, 2] Generated Node #0,0,3: 66:[3, 2] Operation: 58-56=2 Exploring Operation: 58+3=61, Resulting Numbers: [56, 61] Generated Node #0,0,4: 66:[56, 61] Operation: 58+3=61 Moving to Node #0,0,3 Current State: 66:[3, 2], Operations: ['46-43=3', '58-56=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[56, 61], Operations: ['46-43=3', '58+3=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,66 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,66 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[58, 59], Operations: ['46-43=3', '56+3=59'] Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,66 unequal: No Solution Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,66 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[56, 55], Operations: ['46-43=3', '58-3=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,66 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,66 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[58, 53], Operations: ['46-43=3', '56-3=53'] Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,66 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,66 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[58, 43, 10], Operations: ['56-46=10'] Exploring Operation: 43-10=33, Resulting Numbers: [58, 33] Generated Node #0,2,0: 66:[58, 33] Operation: 43-10=33 Exploring Operation: 58+10=68, Resulting Numbers: [43, 68] Generated Node #0,2,1: 66:[43, 68] Operation: 58+10=68 Exploring Operation: 58-10=48, Resulting Numbers: [43, 48] Generated Node #0,2,2: 66:[43, 48] Operation: 58-10=48 Exploring Operation: 43+10=53, Resulting Numbers: [58, 53] Generated Node #0,2,3: 66:[58, 53] Operation: 43+10=53 Exploring Operation: 58-43=15, Resulting Numbers: [10, 15] Generated Node #0,2,4: 66:[10, 15] Operation: 58-43=15 Moving to Node #0,2,4 Current State: 66:[10, 15], Operations: ['56-46=10', '58-43=15'] Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,66 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[58, 33], Operations: ['56-46=10', '43-10=33'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,66 unequal: No Solution Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[43, 68], Operations: ['56-46=10', '58+10=68'] Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,66 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,66 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[58, 53], Operations: ['56-46=10', '43+10=53'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,66 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[43, 48], Operations: ['56-46=10', '58-10=48'] Exploring Operation: 43*48=2064, Resulting Numbers: [2064] 2064,66 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 43+48=91, Resulting Numbers: [91] 91,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 66:[43, 56, 12], Operations: ['58-46=12'] Exploring Operation: 43-12=31, Resulting Numbers: [56, 31] Generated Node #0,4,0: 66:[56, 31] Operation: 43-12=31 Exploring Operation: 56-12=44, Resulting Numbers: [43, 44] Generated Node #0,4,1: 66:[43, 44] Operation: 56-12=44 Exploring Operation: 43+12=55, Resulting Numbers: [56, 55] Generated Node #0,4,2: 66:[56, 55] Operation: 43+12=55 Exploring Operation: 56+12=68, Resulting Numbers: [43, 68] Generated Node #0,4,3: 66:[43, 68] Operation: 56+12=68 Exploring Operation: 56-43=13, Resulting Numbers: [12, 13] Generated Node #0,4,4: 66:[12, 13] Operation: 56-43=13 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 66:[12, 13], Operations: ['58-46=12', '56-43=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 66:[56, 31], Operations: ['58-46=12', '43-12=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,66 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,66 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 66:[43, 68], Operations: ['58-46=12', '56+12=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,66 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 66:[43, 44], Operations: ['58-46=12', '56-12=44'] Exploring Operation: 44-43=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 43*44=1892, Resulting Numbers: [1892] 1892,66 unequal: No Solution Exploring Operation: 43+44=87, Resulting Numbers: [87] 87,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 66:[56, 55], Operations: ['58-46=12', '43+12=55'] Exploring Operation: 56+55=111, Resulting Numbers: [111] 111,66 unequal: No Solution Exploring Operation: 56*55=3080, Resulting Numbers: [3080] 3080,66 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[58, 46, 13], Operations: ['56-43=13'] Exploring Operation: 58-46=12, Resulting Numbers: [13, 12] Generated Node #0,1,0: 66:[13, 12] Operation: 58-46=12 Exploring Operation: 46+13=59, Resulting Numbers: [58, 59] Generated Node #0,1,1: 66:[58, 59] Operation: 46+13=59 Exploring Operation: 58-13=45, Resulting Numbers: [46, 45] Generated Node #0,1,2: 66:[46, 45] Operation: 58-13=45 Exploring Operation: 46-13=33, Resulting Numbers: [58, 33] Generated Node #0,1,3: 66:[58, 33] Operation: 46-13=33 Exploring Operation: 58+13=71, Resulting Numbers: [46, 71] Generated Node #0,1,4: 66:[46, 71] Operation: 58+13=71 Moving to Node #0,1,0 Current State: 66:[13, 12], Operations: ['56-43=13', '58-46=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,66 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,66 unequal: No Solution Moving to Node #0,1,3 Current State: 66:[58, 33], Operations: ['56-43=13', '46-13=33'] Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,66 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[58, 59], Operations: ['56-43=13', '46+13=59'] Exploring Operation: 58+59=117, Resulting Numbers: [117] 117,66 unequal: No Solution Exploring Operation: 58*59=3422, Resulting Numbers: [3422] 3422,66 unequal: No Solution Exploring Operation: 59-58=1, Resulting Numbers: [1] 1,66 unequal: No Solution Moving to Node #0,1,4 Current State: 66:[46, 71], Operations: ['56-43=13', '58+13=71'] Exploring Operation: 46*71=3266, Resulting Numbers: [3266] 3266,66 unequal: No Solution Exploring Operation: 46+71=117, Resulting Numbers: [117] 117,66 unequal: No Solution Exploring Operation: 71-46=25, Resulting Numbers: [25] 25,66 unequal: No Solution Moving to Node #0,1,2 Current State: 66:[46, 45], Operations: ['56-43=13', '58-13=45'] Exploring Operation: 46+45=91, Resulting Numbers: [91] 91,66 unequal: No Solution Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 46*45=2070, Resulting Numbers: [2070] 2070,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[43, 46, 2], Operations: ['58-56=2'] Exploring Operation: 46-2=44, Resulting Numbers: [43, 44] Generated Node #0,3,0: 66:[43, 44] Operation: 46-2=44 Exploring Operation: 43-2=41, Resulting Numbers: [46, 41] Generated Node #0,3,1: 66:[46, 41] Operation: 43-2=41 Exploring Operation: 46/2=23, Resulting Numbers: [43, 23] Generated Node #0,3,2: 66:[43, 23] Operation: 46/2=23 Exploring Operation: 46-43=3, Resulting Numbers: [2, 3] Generated Node #0,3,3: 66:[2, 3] Operation: 46-43=3 Exploring Operation: 43+46=89, Resulting Numbers: [2, 89] Generated Node #0,3,4: 66:[2, 89] Operation: 43+46=89 Moving to Node #0,3,3 Current State: 66:[2, 3], Operations: ['58-56=2', '46-43=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[43, 23], Operations: ['58-56=2', '46/2=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[58, 43, 56, 46], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [43, 46, 2] Generated Node #0,3: 66:[43, 46, 2] Operation: 58-56=2 Moving to Node #0,3 Current State: 66:[43, 46, 2], Operations: ['58-56=2'] Exploring Operation: 46/2=23, Resulting Numbers: [43, 23] Generated Node #0,3,2: 66:[43, 23] Operation: 46/2=23 Moving to Node #0,3,2 Current State: 66:[43, 23], Operations: ['58-56=2', '46/2=23'] Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.914931
hs_5
sum_heuristic