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
[ 27, 58, 85, 67 ]
66
[ "27+58=85", "85/85=1", "67-1=66" ]
Current State: 66:[27, 58, 85, 67], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [85, 67, 85] Generated Node #2: [85, 67, 85] from Operation: 27+58=85 Current State: 66:[85, 67, 85], Operations: ['27+58=85'] Exploring Operation: 85/85=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 85/85=1 Current State: 66:[67, 1], Operations: ['27+58=85', '85/85=1'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[27, 58, 85, 67], Operations: [] Exploring Operation: 85-27=58, Resulting Numbers: [58, 67, 58] Generated Node #0,0: 66:[58, 67, 58] Operation: 85-27=58 Exploring Operation: 85-58=27, Resulting Numbers: [27, 67, 27] Generated Node #0,1: 66:[27, 67, 27] Operation: 85-58=27 Moving to Node #0,1 Current State: 66:[27, 67, 27], Operations: ['85-58=27'] Exploring Operation: 27/27=1, Resulting Numbers: [67, 1] Generated Node #0,1,0: 66:[67, 1] Operation: 27/27=1 Exploring Operation: 27-27=0, Resulting Numbers: [67, 0] Generated Node #0,1,1: 66:[67, 0] Operation: 27-27=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[67, 1], Operations: ['85-58=27', '27/27=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[27, 58, 85, 67], Operations: [] Exploring Operation: 85-58=27, Resulting Numbers: [27, 67, 27] Generated Node #0,1: 66:[27, 67, 27] Operation: 85-58=27 Moving to Node #0,1 Current State: 66:[27, 67, 27], Operations: ['85-58=27'] Exploring Operation: 27/27=1, Resulting Numbers: [67, 1] Generated Node #0,1,0: 66:[67, 1] Operation: 27/27=1 Moving to Node #0,1,0 Current State: 66:[67, 1], Operations: ['85-58=27', '27/27=1'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 96, 28, 4, 28 ]
59
[ "96+28=124", "124/4=31", "28+31=59" ]
Current State: 59:[96, 28, 4, 28], Operations: [] Exploring Operation: 96+28=124, Resulting Numbers: [4, 124] Generated Node #2: [4, 124] from Operation: 96+28=124 Current State: 59:[4, 124], Operations: ['96+28=124'] Exploring Operation: 124/4=31, Resulting Numbers: [31] 31,59 equal: Goal Reached Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[96, 28, 4, 28], Operations: [] Exploring Operation: 96-28=68, Resulting Numbers: [4, 28, 68] Generated Node #0,0: 59:[4, 28, 68] Operation: 96-28=68 Exploring Operation: 96-4=92, Resulting Numbers: [28, 28, 92] Generated Node #0,1: 59:[28, 28, 92] Operation: 96-4=92 Exploring Operation: 28+4=32, Resulting Numbers: [96, 28, 32] Generated Node #0,2: 59:[96, 28, 32] Operation: 28+4=32 Exploring Operation: 96-28=68, Resulting Numbers: [28, 4, 68] Generated Node #0,3: 59:[28, 4, 68] Operation: 96-28=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[4, 28, 68], Operations: ['96-28=68'] Exploring Operation: 28-4=24, Resulting Numbers: [68, 24] Generated Node #0,0,0: 59:[68, 24] Operation: 28-4=24 Exploring Operation: 68-4=64, Resulting Numbers: [28, 64] Generated Node #0,0,1: 59:[28, 64] Operation: 68-4=64 Exploring Operation: 4+68=72, Resulting Numbers: [28, 72] Generated Node #0,0,2: 59:[28, 72] Operation: 4+68=72 Exploring Operation: 4+28=32, Resulting Numbers: [68, 32] Generated Node #0,0,3: 59:[68, 32] Operation: 4+28=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[28, 64], Operations: ['96-28=68', '68-4=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[68, 32], Operations: ['96-28=68', '4+28=32'] Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,59 unequal: No Solution Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[68, 24], Operations: ['96-28=68', '28-4=24'] Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,59 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[28, 72], Operations: ['96-28=68', '4+68=72'] Exploring Operation: 28*72=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,59 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: 59:[28, 28, 92], Operations: ['96-4=92'] Exploring Operation: 28+28=56, Resulting Numbers: [92, 56] Generated Node #0,1,0: 59:[92, 56] Operation: 28+28=56 Exploring Operation: 92-28=64, Resulting Numbers: [28, 64] Generated Node #0,1,1: 59:[28, 64] Operation: 92-28=64 Exploring Operation: 28/28=1, Resulting Numbers: [92, 1] Generated Node #0,1,2: 59:[92, 1] Operation: 28/28=1 Exploring Operation: 92-28=64, Resulting Numbers: [28, 64] Generated Node #0,1,3: 59:[28, 64] Operation: 92-28=64 Moving to Node #0,1,0 Current State: 59:[92, 56], Operations: ['96-4=92', '28+28=56'] Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[28, 64], Operations: ['96-4=92', '92-28=64'] Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[28, 64], Operations: ['96-4=92', '92-28=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[92, 1], Operations: ['96-4=92', '28/28=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,59 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[96, 28, 32], Operations: ['28+4=32'] Exploring Operation: 96-28=68, Resulting Numbers: [32, 68] Generated Node #0,2,0: 59:[32, 68] Operation: 96-28=68 Exploring Operation: 96-32=64, Resulting Numbers: [28, 64] Generated Node #0,2,1: 59:[28, 64] Operation: 96-32=64 Exploring Operation: 96/32=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 59:[28, 3] Operation: 96/32=3 Exploring Operation: 28+32=60, Resulting Numbers: [96, 60] Generated Node #0,2,3: 59:[96, 60] Operation: 28+32=60 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[32, 68], Operations: ['28+4=32', '96-28=68'] Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,59 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[28, 64], Operations: ['28+4=32', '96-32=64'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 59:[96, 60], Operations: ['28+4=32', '28+32=60'] Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 96*60=5760, Resulting Numbers: [5760] 5760,59 unequal: No Solution Exploring Operation: 96+60=156, Resulting Numbers: [156] 156,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[28, 3], Operations: ['28+4=32', '96/32=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,59 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: 59:[28, 4, 68], Operations: ['96-28=68'] Exploring Operation: 28+4=32, Resulting Numbers: [68, 32] Generated Node #0,3,0: 59:[68, 32] Operation: 28+4=32 Exploring Operation: 28-4=24, Resulting Numbers: [68, 24] Generated Node #0,3,1: 59:[68, 24] Operation: 28-4=24 Exploring Operation: 68-4=64, Resulting Numbers: [28, 64] Generated Node #0,3,2: 59:[28, 64] Operation: 68-4=64 Exploring Operation: 4+68=72, Resulting Numbers: [28, 72] Generated Node #0,3,3: 59:[28, 72] Operation: 4+68=72 Moving to Node #0,3,0 Current State: 59:[68, 32], Operations: ['96-28=68', '28+4=32'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,59 unequal: No Solution Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 68*32=2176, Resulting Numbers: [2176] 2176,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[28, 64], Operations: ['96-28=68', '68-4=64'] Exploring Operation: 28*64=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[28, 72], Operations: ['96-28=68', '4+68=72'] Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 28*72=2016, Resulting Numbers: [2016] 2016,59 unequal: No Solution Exploring Operation: 28+72=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[68, 24], Operations: ['96-28=68', '28-4=24'] Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,59 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,59 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,59 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
[ 9, 8, 12, 92 ]
16
[ "92-8=84", "84/12=7", "9+7=16" ]
Current State: 16:[9, 8, 12, 92], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [9, 12, 84] Generated Node #2: [9, 12, 84] from Operation: 92-8=84 Current State: 16:[9, 12, 84], Operations: ['92-8=84'] Exploring Operation: 84/12=7, Resulting Numbers: [9, 7] Generated Node #3: [9, 7] from Operation: 84/12=7 Current State: 16:[9, 7], Operations: ['92-8=84', '84/12=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[9, 8, 12, 92], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [9, 8, 80] Generated Node #0,0: 16:[9, 8, 80] Operation: 92-12=80 Exploring Operation: 92-9=83, Resulting Numbers: [8, 12, 83] Generated Node #0,1: 16:[8, 12, 83] Operation: 92-9=83 Exploring Operation: 12-9=3, Resulting Numbers: [8, 92, 3] Generated Node #0,2: 16:[8, 92, 3] Operation: 12-9=3 Exploring Operation: 92-8=84, Resulting Numbers: [9, 12, 84] Generated Node #0,3: 16:[9, 12, 84] Operation: 92-8=84 Moving to Node #0,0 Current State: 16:[9, 8, 80], Operations: ['92-12=80'] Exploring Operation: 80/8=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 16:[9, 10] Operation: 80/8=10 Exploring Operation: 9+8=17, Resulting Numbers: [80, 17] Generated Node #0,0,1: 16:[80, 17] Operation: 9+8=17 Exploring Operation: 80-8=72, Resulting Numbers: [9, 72] Generated Node #0,0,2: 16:[9, 72] Operation: 80-8=72 Exploring Operation: 80-9=71, Resulting Numbers: [8, 71] Generated Node #0,0,3: 16:[8, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[9, 10], Operations: ['92-12=80', '80/8=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,16 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[8, 71], Operations: ['92-12=80', '80-9=71'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,16 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[9, 72], Operations: ['92-12=80', '80-8=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,16 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[80, 17], Operations: ['92-12=80', '9+8=17'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 80*17=1360, Resulting Numbers: [1360] 1360,16 unequal: No Solution Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,16 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: 16:[8, 12, 83], Operations: ['92-9=83'] Exploring Operation: 12-8=4, Resulting Numbers: [83, 4] Generated Node #0,1,0: 16:[83, 4] Operation: 12-8=4 Exploring Operation: 83-12=71, Resulting Numbers: [8, 71] Generated Node #0,1,1: 16:[8, 71] Operation: 83-12=71 Exploring Operation: 8+12=20, Resulting Numbers: [83, 20] Generated Node #0,1,2: 16:[83, 20] Operation: 8+12=20 Exploring Operation: 83-8=75, Resulting Numbers: [12, 75] Generated Node #0,1,3: 16:[12, 75] Operation: 83-8=75 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[8, 71], Operations: ['92-9=83', '83-12=71'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 8+71=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 8*71=568, Resulting Numbers: [568] 568,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 16:[12, 75], Operations: ['92-9=83', '83-8=75'] Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,16 unequal: No Solution Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[83, 4], Operations: ['92-9=83', '12-8=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,16 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[83, 20], Operations: ['92-9=83', '8+12=20'] Exploring Operation: 83+20=103, Resulting Numbers: [103] 103,16 unequal: No Solution Exploring Operation: 83*20=1660, Resulting Numbers: [1660] 1660,16 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,16 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: 16:[9, 12, 84], Operations: ['92-8=84'] Exploring Operation: 12-9=3, Resulting Numbers: [84, 3] Generated Node #0,3,0: 16:[84, 3] Operation: 12-9=3 Exploring Operation: 84-9=75, Resulting Numbers: [12, 75] Generated Node #0,3,1: 16:[12, 75] Operation: 84-9=75 Exploring Operation: 84/12=7, Resulting Numbers: [9, 7] Generated Node #0,3,2: 16:[9, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [9, 72] Generated Node #0,3,3: 16:[9, 72] Operation: 84-12=72 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[9, 7], Operations: ['92-8=84', '84/12=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[9, 8, 12, 92], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [9, 12, 84] Generated Node #0,3: 16:[9, 12, 84] Operation: 92-8=84 Moving to Node #0,3 Current State: 16:[9, 12, 84], Operations: ['92-8=84'] Exploring Operation: 84/12=7, Resulting Numbers: [9, 7] Generated Node #0,3,2: 16:[9, 7] Operation: 84/12=7 Moving to Node #0,3,2 Current State: 16:[9, 7], Operations: ['92-8=84', '84/12=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 97, 54, 99, 94 ]
21
[ "97-94=3", "99/3=33", "54-33=21" ]
Current State: 21:[97, 54, 99, 94], Operations: [] Exploring Operation: 97-94=3, Resulting Numbers: [54, 99, 3] Generated Node #2: [54, 99, 3] from Operation: 97-94=3 Current State: 21:[54, 99, 3], Operations: ['97-94=3'] Exploring Operation: 99/3=33, Resulting Numbers: [54, 33] Generated Node #3: [54, 33] from Operation: 99/3=33 Current State: 21:[54, 33], Operations: ['97-94=3', '99/3=33'] Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[97, 54, 99, 94], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [54, 94, 2] Generated Node #0,0: 21:[54, 94, 2] Operation: 99-97=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[54, 94, 2], Operations: ['99-97=2'] Exploring Operation: 94-54=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 21:[2, 40] Operation: 94-54=40 Moving to Node #0,0,0 Current State: 21:[2, 40], Operations: ['99-97=2', '94-54=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,21 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, 2, 86, 71 ]
76
[ "59+2=61", "86-71=15", "61+15=76" ]
Current State: 76:[59, 2, 86, 71], Operations: [] Exploring Operation: 59+2=61, Resulting Numbers: [86, 71, 61] Generated Node #2: [86, 71, 61] from Operation: 59+2=61 Current State: 76:[86, 71, 61], Operations: ['59+2=61'] Exploring Operation: 86-71=15, Resulting Numbers: [61, 15] Generated Node #3: [61, 15] from Operation: 86-71=15 Current State: 76:[61, 15], Operations: ['59+2=61', '86-71=15'] Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[59, 2, 86, 71], Operations: [] Exploring Operation: 86-59=27, Resulting Numbers: [2, 71, 27] Generated Node #0,0: 76:[2, 71, 27] Operation: 86-59=27 Exploring Operation: 71-59=12, Resulting Numbers: [2, 86, 12] Generated Node #0,1: 76:[2, 86, 12] Operation: 71-59=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[2, 71, 27], Operations: ['86-59=27'] Exploring Operation: 71-27=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 76:[2, 44] Operation: 71-27=44 Exploring Operation: 2+71=73, Resulting Numbers: [27, 73] Generated Node #0,0,1: 76:[27, 73] Operation: 2+71=73 Moving to Node #0,0,0 Current State: 76:[2, 44], Operations: ['86-59=27', '71-27=44'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[27, 73], Operations: ['86-59=27', '2+71=73'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 86, 12], Operations: ['71-59=12'] Exploring Operation: 86/2=43, Resulting Numbers: [12, 43] Generated Node #0,1,0: 76:[12, 43] Operation: 86/2=43 Exploring Operation: 86-12=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 86-12=74 Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['71-59=12', '86-12=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[59, 2, 86, 71], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [2, 86, 12] Generated Node #0,1: 76:[2, 86, 12] Operation: 71-59=12 Moving to Node #0,1 Current State: 76:[2, 86, 12], Operations: ['71-59=12'] Exploring Operation: 86-12=74, Resulting Numbers: [2, 74] Generated Node #0,1,1: 76:[2, 74] Operation: 86-12=74 Moving to Node #0,1,1 Current State: 76:[2, 74], Operations: ['71-59=12', '86-12=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 5, 32, 49, 13 ]
82
[ "5*13=65", "49-32=17", "65+17=82" ]
Current State: 82:[5, 32, 49, 13], Operations: [] Exploring Operation: 5*13=65, Resulting Numbers: [32, 49, 65] Generated Node #2: [32, 49, 65] from Operation: 5*13=65 Current State: 82:[32, 49, 65], Operations: ['5*13=65'] Exploring Operation: 49-32=17, Resulting Numbers: [65, 17] Generated Node #3: [65, 17] from Operation: 49-32=17 Current State: 82:[65, 17], Operations: ['5*13=65', '49-32=17'] Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[5, 32, 49, 13], Operations: [] Exploring Operation: 32+49=81, Resulting Numbers: [5, 13, 81] Generated Node #0,0: 82:[5, 13, 81] Operation: 32+49=81 Moving to Node #0,0 Current State: 82:[5, 13, 81], Operations: ['32+49=81'] Exploring Operation: 13-5=8, Resulting Numbers: [81, 8] Generated Node #0,0,0: 82:[81, 8] Operation: 13-5=8 Moving to Node #0,0,0 Current State: 82:[81, 8], Operations: ['32+49=81', '13-5=8'] Exploring Operation: 81+8=89, Resulting Numbers: [89] 89,82 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 28, 36, 42, 96 ]
74
[ "28+36=64", "42+96=138", "138-64=74" ]
Current State: 74:[28, 36, 42, 96], Operations: [] Exploring Operation: 28+36=64, Resulting Numbers: [42, 96, 64] Generated Node #2: [42, 96, 64] from Operation: 28+36=64 Current State: 74:[42, 96, 64], Operations: ['28+36=64'] Exploring Operation: 42+96=138, Resulting Numbers: [64, 138] Generated Node #3: [64, 138] from Operation: 42+96=138 Current State: 74:[64, 138], Operations: ['28+36=64', '42+96=138'] Exploring Operation: 138-64=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[28, 36, 42, 96], Operations: [] Exploring Operation: 28+42=70, Resulting Numbers: [36, 96, 70] Generated Node #0,0: 74:[36, 96, 70] Operation: 28+42=70 Exploring Operation: 96-28=68, Resulting Numbers: [36, 42, 68] Generated Node #0,1: 74:[36, 42, 68] Operation: 96-28=68 Exploring Operation: 96-42=54, Resulting Numbers: [28, 36, 54] Generated Node #0,2: 74:[28, 36, 54] Operation: 96-42=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[36, 42, 68], Operations: ['96-28=68'] Exploring Operation: 42-36=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 74:[68, 6] Operation: 42-36=6 Exploring Operation: 36+42=78, Resulting Numbers: [68, 78] Generated Node #0,1,1: 74:[68, 78] Operation: 36+42=78 Exploring Operation: 68-36=32, Resulting Numbers: [42, 32] Generated Node #0,1,2: 74:[42, 32] Operation: 68-36=32 Moving to Node #0,1,0 Current State: 74:[68, 6], Operations: ['96-28=68', '42-36=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,74 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[28, 36, 42, 96], Operations: [] Exploring Operation: 96-28=68, Resulting Numbers: [36, 42, 68] Generated Node #0,1: 74:[36, 42, 68] Operation: 96-28=68 Moving to Node #0,1 Current State: 74:[36, 42, 68], Operations: ['96-28=68'] Exploring Operation: 42-36=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 74:[68, 6] Operation: 42-36=6 Moving to Node #0,1,0 Current State: 74:[68, 6], Operations: ['96-28=68', '42-36=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 22, 19, 5, 56 ]
64
[ "22-19=3", "5+56=61", "3+61=64" ]
Current State: 64:[22, 19, 5, 56], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [5, 56, 3] Generated Node #2: [5, 56, 3] from Operation: 22-19=3 Current State: 64:[5, 56, 3], Operations: ['22-19=3'] Exploring Operation: 5+56=61, Resulting Numbers: [3, 61] Generated Node #3: [3, 61] from Operation: 5+56=61 Current State: 64:[3, 61], Operations: ['22-19=3', '5+56=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[22, 19, 5, 56], Operations: [] Exploring Operation: 22-5=17, Resulting Numbers: [19, 56, 17] Generated Node #0,0: 64:[19, 56, 17] Operation: 22-5=17 Exploring Operation: 56-22=34, Resulting Numbers: [19, 5, 34] Generated Node #0,1: 64:[19, 5, 34] Operation: 56-22=34 Exploring Operation: 22-19=3, Resulting Numbers: [5, 56, 3] Generated Node #0,2: 64:[5, 56, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[19, 5, 34], Operations: ['56-22=34'] Exploring Operation: 19-5=14, Resulting Numbers: [34, 14] Generated Node #0,1,0: 64:[34, 14] Operation: 19-5=14 Exploring Operation: 34-19=15, Resulting Numbers: [5, 15] Generated Node #0,1,1: 64:[5, 15] Operation: 34-19=15 Exploring Operation: 34-5=29, Resulting Numbers: [19, 29] Generated Node #0,1,2: 64:[19, 29] Operation: 34-5=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[5, 15], Operations: ['56-22=34', '34-19=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,64 unequal: No Solution No 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: 64:[34, 14], Operations: ['56-22=34', '19-5=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,64 unequal: No Solution No 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: 64:[19, 29], Operations: ['56-22=34', '34-5=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,64 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,64 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: 64:[5, 56, 3], Operations: ['22-19=3'] Exploring Operation: 5+3=8, Resulting Numbers: [56, 8] Generated Node #0,2,0: 64:[56, 8] Operation: 5+3=8 Exploring Operation: 56+3=59, Resulting Numbers: [5, 59] Generated Node #0,2,1: 64:[5, 59] Operation: 56+3=59 Exploring Operation: 5+56=61, Resulting Numbers: [3, 61] Generated Node #0,2,2: 64:[3, 61] Operation: 5+56=61 Moving to Node #0,2,2 Current State: 64:[3, 61], Operations: ['22-19=3', '5+56=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[22, 19, 5, 56], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [5, 56, 3] Generated Node #0,2: 64:[5, 56, 3] Operation: 22-19=3 Moving to Node #0,2 Current State: 64:[5, 56, 3], Operations: ['22-19=3'] Exploring Operation: 5+56=61, Resulting Numbers: [3, 61] Generated Node #0,2,2: 64:[3, 61] Operation: 5+56=61 Moving to Node #0,2,2 Current State: 64:[3, 61], Operations: ['22-19=3', '5+56=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 7, 48, 10, 40 ]
56
[ "10-7=3", "48/3=16", "40+16=56" ]
Current State: 56:[7, 48, 10, 40], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [48, 40, 3] Generated Node #2: [48, 40, 3] from Operation: 10-7=3 Current State: 56:[48, 40, 3], Operations: ['10-7=3'] Exploring Operation: 48/3=16, Resulting Numbers: [40, 16] Generated Node #3: [40, 16] from Operation: 48/3=16 Current State: 56:[40, 16], Operations: ['10-7=3', '48/3=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[7, 48, 10, 40], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [7, 10, 8] Generated Node #0,0: 56:[7, 10, 8] Operation: 48-40=8 Moving to Node #0,0 Current State: 56:[7, 10, 8], Operations: ['48-40=8'] Exploring Operation: 10-8=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 56:[7, 2] Operation: 10-8=2 Moving to Node #0,0,0 Current State: 56:[7, 2], Operations: ['48-40=8', '10-8=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,56 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 79, 54, 2, 35 ]
17
[ "79-35=44", "54/2=27", "44-27=17" ]
Current State: 17:[79, 54, 2, 35], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [54, 2, 44] Generated Node #2: [54, 2, 44] from Operation: 79-35=44 Current State: 17:[54, 2, 44], Operations: ['79-35=44'] Exploring Operation: 54/2=27, Resulting Numbers: [44, 27] Generated Node #3: [44, 27] from Operation: 54/2=27 Current State: 17:[44, 27], Operations: ['79-35=44', '54/2=27'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[79, 54, 2, 35], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [2, 35, 25] Generated Node #0,0: 17:[2, 35, 25] Operation: 79-54=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[2, 35, 25], Operations: ['79-54=25'] Exploring Operation: 35-25=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 17:[2, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 17:[2, 10], Operations: ['79-54=25', '35-25=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,17 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
[ 17, 73, 34, 63 ]
41
[ "73-17=56", "34+63=97", "97-56=41" ]
Current State: 41:[17, 73, 34, 63], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [34, 63, 56] Generated Node #2: [34, 63, 56] from Operation: 73-17=56 Current State: 41:[34, 63, 56], Operations: ['73-17=56'] Exploring Operation: 34+63=97, Resulting Numbers: [56, 97] Generated Node #3: [56, 97] from Operation: 34+63=97 Current State: 41:[56, 97], Operations: ['73-17=56', '34+63=97'] Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[17, 73, 34, 63], Operations: [] Exploring Operation: 17+34=51, Resulting Numbers: [73, 63, 51] Generated Node #0,0: 41:[73, 63, 51] Operation: 17+34=51 Exploring Operation: 73-63=10, Resulting Numbers: [17, 34, 10] Generated Node #0,1: 41:[17, 34, 10] Operation: 73-63=10 Exploring Operation: 73-34=39, Resulting Numbers: [17, 63, 39] Generated Node #0,2: 41:[17, 63, 39] Operation: 73-34=39 Exploring Operation: 73-17=56, Resulting Numbers: [34, 63, 56] Generated Node #0,3: 41:[34, 63, 56] Operation: 73-17=56 Exploring Operation: 63-17=46, Resulting Numbers: [73, 34, 46] Generated Node #0,4: 41:[73, 34, 46] Operation: 63-17=46 Moving to Node #0,3 Current State: 41:[34, 63, 56], Operations: ['73-17=56'] Exploring Operation: 56-34=22, Resulting Numbers: [63, 22] Generated Node #0,3,0: 41:[63, 22] Operation: 56-34=22 Exploring Operation: 34+63=97, Resulting Numbers: [56, 97] Generated Node #0,3,1: 41:[56, 97] Operation: 34+63=97 Exploring Operation: 63-34=29, Resulting Numbers: [56, 29] Generated Node #0,3,2: 41:[56, 29] Operation: 63-34=29 Exploring Operation: 34+56=90, Resulting Numbers: [63, 90] Generated Node #0,3,3: 41:[63, 90] Operation: 34+56=90 Exploring Operation: 63-56=7, Resulting Numbers: [34, 7] Generated Node #0,3,4: 41:[34, 7] Operation: 63-56=7 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[56, 29], Operations: ['73-17=56', '63-34=29'] Exploring Operation: 56+29=85, Resulting Numbers: [85] 85,41 unequal: No Solution Exploring Operation: 56-29=27, Resulting Numbers: [27] 27,41 unequal: No Solution Exploring Operation: 56*29=1624, Resulting Numbers: [1624] 1624,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:[63, 22], Operations: ['73-17=56', '56-34=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[17, 73, 34, 63], Operations: [] Exploring Operation: 73-17=56, Resulting Numbers: [34, 63, 56] Generated Node #0,3: 41:[34, 63, 56] Operation: 73-17=56 Moving to Node #0,3 Current State: 41:[34, 63, 56], Operations: ['73-17=56'] Exploring Operation: 56-34=22, Resulting Numbers: [63, 22] Generated Node #0,3,0: 41:[63, 22] Operation: 56-34=22 Moving to Node #0,3,0 Current State: 41:[63, 22], Operations: ['73-17=56', '56-34=22'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 54, 15, 10, 70 ]
90
[ "54+10=64", "70-64=6", "15*6=90" ]
Current State: 90:[54, 15, 10, 70], Operations: [] Exploring Operation: 54+10=64, Resulting Numbers: [15, 70, 64] Generated Node #2: [15, 70, 64] from Operation: 54+10=64 Current State: 90:[15, 70, 64], Operations: ['54+10=64'] Exploring Operation: 70-64=6, Resulting Numbers: [15, 6] Generated Node #3: [15, 6] from Operation: 70-64=6 Current State: 90:[15, 6], Operations: ['54+10=64', '70-64=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[54, 15, 10, 70], Operations: [] Exploring Operation: 10+70=80, Resulting Numbers: [54, 15, 80] Generated Node #0,0: 90:[54, 15, 80] Operation: 10+70=80 Exploring Operation: 70-54=16, Resulting Numbers: [15, 10, 16] Generated Node #0,1: 90:[15, 10, 16] Operation: 70-54=16 Exploring Operation: 15+70=85, Resulting Numbers: [54, 10, 85] Generated Node #0,2: 90:[54, 10, 85] Operation: 15+70=85 Exploring Operation: 70-15=55, Resulting Numbers: [54, 10, 55] Generated Node #0,3: 90:[54, 10, 55] Operation: 70-15=55 Exploring Operation: 70/10=7, Resulting Numbers: [54, 15, 7] Generated Node #0,4: 90:[54, 15, 7] Operation: 70/10=7 Moving to Node #0,1 Current State: 90:[15, 10, 16], Operations: ['70-54=16'] Exploring Operation: 16-10=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 90:[15, 6] Operation: 16-10=6 Exploring Operation: 16-15=1, Resulting Numbers: [10, 1] Generated Node #0,1,1: 90:[10, 1] Operation: 16-15=1 Exploring Operation: 10+16=26, Resulting Numbers: [15, 26] Generated Node #0,1,2: 90:[15, 26] Operation: 10+16=26 Exploring Operation: 15+16=31, Resulting Numbers: [10, 31] Generated Node #0,1,3: 90:[10, 31] Operation: 15+16=31 Exploring Operation: 15-10=5, Resulting Numbers: [16, 5] Generated Node #0,1,4: 90:[16, 5] Operation: 15-10=5 Moving to Node #0,4 Current State: 90:[54, 15, 7], Operations: ['70/10=7'] Exploring Operation: 54+7=61, Resulting Numbers: [15, 61] Generated Node #0,4,0: 90:[15, 61] Operation: 54+7=61 Exploring Operation: 15-7=8, Resulting Numbers: [54, 8] Generated Node #0,4,1: 90:[54, 8] Operation: 15-7=8 Exploring Operation: 54-15=39, Resulting Numbers: [7, 39] Generated Node #0,4,2: 90:[7, 39] Operation: 54-15=39 Exploring Operation: 15+7=22, Resulting Numbers: [54, 22] Generated Node #0,4,3: 90:[54, 22] Operation: 15+7=22 Exploring Operation: 54-7=47, Resulting Numbers: [15, 47] Generated Node #0,4,4: 90:[15, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 90:[15, 47], Operations: ['70/10=7', '54-7=47'] Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,90 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 47-15=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,4,2 Current State: 90:[7, 39], Operations: ['70/10=7', '54-15=39'] Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,90 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 39-7=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,4,1 Current State: 90:[54, 8], Operations: ['70/10=7', '15-7=8'] Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,90 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,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,4,3 Current State: 90:[54, 22], Operations: ['70/10=7', '15+7=22'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,90 unequal: No Solution Exploring Operation: 54*22=1188, Resulting Numbers: [1188] 1188,90 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,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,4,0 Current State: 90:[15, 61], Operations: ['70/10=7', '54+7=61'] Exploring Operation: 15*61=915, Resulting Numbers: [915] 915,90 unequal: No Solution Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 15+61=76, Resulting Numbers: [76] 76,90 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: 90:[54, 10, 85], Operations: ['15+70=85'] Exploring Operation: 54+10=64, Resulting Numbers: [85, 64] Generated Node #0,2,0: 90:[85, 64] Operation: 54+10=64 Exploring Operation: 85-10=75, Resulting Numbers: [54, 75] Generated Node #0,2,1: 90:[54, 75] Operation: 85-10=75 Exploring Operation: 85-54=31, Resulting Numbers: [10, 31] Generated Node #0,2,2: 90:[10, 31] Operation: 85-54=31 Exploring Operation: 10+85=95, Resulting Numbers: [54, 95] Generated Node #0,2,3: 90:[54, 95] Operation: 10+85=95 Exploring Operation: 54-10=44, Resulting Numbers: [85, 44] Generated Node #0,2,4: 90:[85, 44] Operation: 54-10=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[10, 31], Operations: ['15+70=85', '85-54=31'] Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,90 unequal: No Solution Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,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,4 Current State: 90:[85, 44], Operations: ['15+70=85', '54-10=44'] Exploring Operation: 85*44=3740, Resulting Numbers: [3740] 3740,90 unequal: No Solution Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 85+44=129, Resulting Numbers: [129] 129,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:[54, 95], Operations: ['15+70=85', '10+85=95'] Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,90 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,90 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,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,0 Current State: 90:[85, 64], Operations: ['15+70=85', '54+10=64'] Exploring Operation: 85*64=5440, Resulting Numbers: [5440] 5440,90 unequal: No Solution Exploring Operation: 85+64=149, Resulting Numbers: [149] 149,90 unequal: No Solution Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,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:[54, 75], Operations: ['15+70=85', '85-10=75'] Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,90 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,90 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: 90:[54, 15, 80], Operations: ['10+70=80'] Exploring Operation: 54-15=39, Resulting Numbers: [80, 39] Generated Node #0,0,0: 90:[80, 39] Operation: 54-15=39 Exploring Operation: 54+15=69, Resulting Numbers: [80, 69] Generated Node #0,0,1: 90:[80, 69] Operation: 54+15=69 Exploring Operation: 80-15=65, Resulting Numbers: [54, 65] Generated Node #0,0,2: 90:[54, 65] Operation: 80-15=65 Exploring Operation: 80-54=26, Resulting Numbers: [15, 26] Generated Node #0,0,3: 90:[15, 26] Operation: 80-54=26 Exploring Operation: 15+80=95, Resulting Numbers: [54, 95] Generated Node #0,0,4: 90:[54, 95] Operation: 15+80=95 Moving to Node #0,3 Current State: 90:[54, 10, 55], Operations: ['70-15=55'] Exploring Operation: 54+10=64, Resulting Numbers: [55, 64] Generated Node #0,3,0: 90:[55, 64] Operation: 54+10=64 Exploring Operation: 54-10=44, Resulting Numbers: [55, 44] Generated Node #0,3,1: 90:[55, 44] Operation: 54-10=44 Exploring Operation: 55-10=45, Resulting Numbers: [54, 45] Generated Node #0,3,2: 90:[54, 45] Operation: 55-10=45 Exploring Operation: 55-54=1, Resulting Numbers: [10, 1] Generated Node #0,3,3: 90:[10, 1] Operation: 55-54=1 Exploring Operation: 54+55=109, Resulting Numbers: [10, 109] Generated Node #0,3,4: 90:[10, 109] Operation: 54+55=109 Moving to Node #0,1,0 Current State: 90:[15, 6], Operations: ['70-54=16', '16-10=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[54, 15, 10, 70], Operations: [] Exploring Operation: 70-54=16, Resulting Numbers: [15, 10, 16] Generated Node #0,1: 90:[15, 10, 16] Operation: 70-54=16 Moving to Node #0,1 Current State: 90:[15, 10, 16], Operations: ['70-54=16'] Exploring Operation: 16-10=6, Resulting Numbers: [15, 6] Generated Node #0,1,0: 90:[15, 6] Operation: 16-10=6 Moving to Node #0,1,0 Current State: 90:[15, 6], Operations: ['70-54=16', '16-10=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 58, 30, 8, 8 ]
10
[ "58+30=88", "88-8=80", "80/8=10" ]
Current State: 10:[58, 30, 8, 8], Operations: [] Exploring Operation: 58+30=88, Resulting Numbers: [8, 8, 88] Generated Node #2: [8, 8, 88] from Operation: 58+30=88 Current State: 10:[8, 8, 88], Operations: ['58+30=88'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,10 equal: Goal Reached Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[58, 30, 8, 8], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [8, 8, 28] Generated Node #0,0: 10:[8, 8, 28] Operation: 58-30=28 Exploring Operation: 58-8=50, Resulting Numbers: [30, 8, 50] Generated Node #0,1: 10:[30, 8, 50] Operation: 58-8=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[8, 8, 28], Operations: ['58-30=28'] Exploring Operation: 28-8=20, Resulting Numbers: [8, 20] Generated Node #0,0,0: 10:[8, 20] Operation: 28-8=20 Exploring Operation: 28-8=20, Resulting Numbers: [8, 20] Generated Node #0,0,1: 10:[8, 20] Operation: 28-8=20 Moving to Node #0,0,0 Current State: 10:[8, 20], Operations: ['58-30=28', '28-8=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[8, 20], Operations: ['58-30=28', '28-8=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[30, 8, 50], Operations: ['58-8=50'] Exploring Operation: 30-8=22, Resulting Numbers: [50, 22] Generated Node #0,1,0: 10:[50, 22] Operation: 30-8=22 Exploring Operation: 50-30=20, Resulting Numbers: [8, 20] Generated Node #0,1,1: 10:[8, 20] Operation: 50-30=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 10:[8, 20], Operations: ['58-8=50', '50-30=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,10 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,10 unequal: No Solution No 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: 10:[50, 22], Operations: ['58-8=50', '30-8=22'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,10 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,10 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
[ 27, 71, 34, 47 ]
74
[ "34+47=81", "81/27=3", "71+3=74" ]
Current State: 74:[27, 71, 34, 47], Operations: [] Exploring Operation: 34+47=81, Resulting Numbers: [27, 71, 81] Generated Node #2: [27, 71, 81] from Operation: 34+47=81 Current State: 74:[27, 71, 81], Operations: ['34+47=81'] Exploring Operation: 81/27=3, Resulting Numbers: [71, 3] Generated Node #3: [71, 3] from Operation: 81/27=3 Current State: 74:[71, 3], Operations: ['34+47=81', '81/27=3'] Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[27, 71, 34, 47], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [71, 47, 7] Generated Node #0,0: 74:[71, 47, 7] Operation: 34-27=7 Exploring Operation: 27+47=74, Resulting Numbers: [71, 34, 74] Generated Node #0,1: 74:[71, 34, 74] Operation: 27+47=74 Moving to Node #0,1 Current State: 74:[71, 34, 74], Operations: ['27+47=74'] Exploring Operation: 71-34=37, Resulting Numbers: [74, 37] Generated Node #0,1,0: 74:[74, 37] Operation: 71-34=37 Exploring Operation: 74-71=3, Resulting Numbers: [34, 3] Generated Node #0,1,1: 74:[34, 3] Operation: 74-71=3 Moving to Node #0,0 Current State: 74:[71, 47, 7], Operations: ['34-27=7'] Exploring Operation: 47-7=40, Resulting Numbers: [71, 40] Generated Node #0,0,0: 74:[71, 40] Operation: 47-7=40 Exploring Operation: 71+7=78, Resulting Numbers: [47, 78] Generated Node #0,0,1: 74:[47, 78] Operation: 71+7=78 Moving to Node #0,1,0 Current State: 74:[74, 37], Operations: ['27+47=74', '71-34=37'] Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[34, 3], Operations: ['27+47=74', '74-71=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[71, 40], Operations: ['34-27=7', '47-7=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,74 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[47, 78], Operations: ['34-27=7', '71+7=78'] Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,74 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 6, 34, 26 ]
15
[ "13-6=7", "34-26=8", "7+8=15" ]
Current State: 15:[13, 6, 34, 26], Operations: [] Exploring Operation: 13-6=7, Resulting Numbers: [34, 26, 7] Generated Node #2: [34, 26, 7] from Operation: 13-6=7 Current State: 15:[34, 26, 7], Operations: ['13-6=7'] Exploring Operation: 34-26=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 34-26=8 Current State: 15:[7, 8], Operations: ['13-6=7', '34-26=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[13, 6, 34, 26], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [6, 26, 21] Generated Node #0,0: 15:[6, 26, 21] Operation: 34-13=21 Exploring Operation: 26/13=2, Resulting Numbers: [6, 34, 2] Generated Node #0,1: 15:[6, 34, 2] Operation: 26/13=2 Exploring Operation: 34-26=8, Resulting Numbers: [13, 6, 8] Generated Node #0,2: 15:[13, 6, 8] Operation: 34-26=8 Moving to Node #0,2 Current State: 15:[13, 6, 8], Operations: ['34-26=8'] Exploring Operation: 6+8=14, Resulting Numbers: [13, 14] Generated Node #0,2,0: 15:[13, 14] Operation: 6+8=14 Exploring Operation: 8-6=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 15:[13, 2] Operation: 8-6=2 Exploring Operation: 13-8=5, Resulting Numbers: [6, 5] Generated Node #0,2,2: 15:[6, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[6, 5], Operations: ['34-26=8', '13-8=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,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,0 Current State: 15:[13, 14], Operations: ['34-26=8', '6+8=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,15 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,15 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,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,1 Current State: 15:[13, 2], Operations: ['34-26=8', '8-6=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[13, 6, 34, 26], Operations: [] Exploring Operation: 34-26=8, Resulting Numbers: [13, 6, 8] Generated Node #0,2: 15:[13, 6, 8] Operation: 34-26=8 Moving to Node #0,2 Current State: 15:[13, 6, 8], Operations: ['34-26=8'] Exploring Operation: 8-6=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 15:[13, 2] Operation: 8-6=2 Moving to Node #0,2,1 Current State: 15:[13, 2], Operations: ['34-26=8', '8-6=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 71, 1, 46, 74 ]
49
[ "71*1=71", "46+74=120", "120-71=49" ]
Current State: 49:[71, 1, 46, 74], Operations: [] Exploring Operation: 71*1=71, Resulting Numbers: [46, 74, 71] Generated Node #2: [46, 74, 71] from Operation: 71*1=71 Current State: 49:[46, 74, 71], Operations: ['71*1=71'] Exploring Operation: 46+74=120, Resulting Numbers: [71, 120] Generated Node #3: [71, 120] from Operation: 46+74=120 Current State: 49:[71, 120], Operations: ['71*1=71', '46+74=120'] Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[71, 1, 46, 74], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [1, 46, 3] Generated Node #0,0: 49:[1, 46, 3] Operation: 74-71=3 Exploring Operation: 71-46=25, Resulting Numbers: [1, 74, 25] Generated Node #0,1: 49:[1, 74, 25] Operation: 71-46=25 Exploring Operation: 1+46=47, Resulting Numbers: [71, 74, 47] Generated Node #0,2: 49:[71, 74, 47] Operation: 1+46=47 Exploring Operation: 71-1=70, Resulting Numbers: [46, 74, 70] Generated Node #0,3: 49:[46, 74, 70] Operation: 71-1=70 Exploring Operation: 74-1=73, Resulting Numbers: [71, 46, 73] Generated Node #0,4: 49:[71, 46, 73] Operation: 74-1=73 Moving to Node #0,0 Current State: 49:[1, 46, 3], Operations: ['74-71=3'] Exploring Operation: 46+3=49, Resulting Numbers: [1, 49] Generated Node #0,0,0: 49:[1, 49] Operation: 46+3=49 Exploring Operation: 1+3=4, Resulting Numbers: [46, 4] Generated Node #0,0,1: 49:[46, 4] Operation: 1+3=4 Exploring Operation: 46/1=46, Resulting Numbers: [3, 46] Generated Node #0,0,2: 49:[3, 46] Operation: 46/1=46 Exploring Operation: 1+46=47, Resulting Numbers: [3, 47] Generated Node #0,0,3: 49:[3, 47] Operation: 1+46=47 Exploring Operation: 1*46=46, Resulting Numbers: [3, 46] Generated Node #0,0,4: 49:[3, 46] Operation: 1*46=46 Moving to Node #0,2 Current State: 49:[71, 74, 47], Operations: ['1+46=47'] Exploring Operation: 74+47=121, Resulting Numbers: [71, 121] Generated Node #0,2,0: 49:[71, 121] Operation: 74+47=121 Exploring Operation: 71-47=24, Resulting Numbers: [74, 24] Generated Node #0,2,1: 49:[74, 24] Operation: 71-47=24 Exploring Operation: 74-71=3, Resulting Numbers: [47, 3] Generated Node #0,2,2: 49:[47, 3] Operation: 74-71=3 Exploring Operation: 74-47=27, Resulting Numbers: [71, 27] Generated Node #0,2,3: 49:[71, 27] Operation: 74-47=27 Exploring Operation: 71+47=118, Resulting Numbers: [74, 118] Generated Node #0,2,4: 49:[74, 118] Operation: 71+47=118 Moving to Node #0,4 Current State: 49:[71, 46, 73], Operations: ['74-1=73'] Exploring Operation: 73-46=27, Resulting Numbers: [71, 27] Generated Node #0,4,0: 49:[71, 27] Operation: 73-46=27 Exploring Operation: 73-71=2, Resulting Numbers: [46, 2] Generated Node #0,4,1: 49:[46, 2] Operation: 73-71=2 Exploring Operation: 71-46=25, Resulting Numbers: [73, 25] Generated Node #0,4,2: 49:[73, 25] Operation: 71-46=25 Exploring Operation: 71+46=117, Resulting Numbers: [73, 117] Generated Node #0,4,3: 49:[73, 117] Operation: 71+46=117 Exploring Operation: 46+73=119, Resulting Numbers: [71, 119] Generated Node #0,4,4: 49:[71, 119] Operation: 46+73=119 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[46, 2], Operations: ['74-1=73', '73-71=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,49 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,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,4,0 Current State: 49:[71, 27], Operations: ['74-1=73', '73-46=27'] Exploring Operation: 71+27=98, Resulting Numbers: [98] 98,49 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 71*27=1917, Resulting Numbers: [1917] 1917,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,4,2 Current State: 49:[73, 25], Operations: ['74-1=73', '71-46=25'] Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,49 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,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,4,3 Current State: 49:[73, 117], Operations: ['74-1=73', '71+46=117'] Exploring Operation: 117-73=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 73*117=8541, Resulting Numbers: [8541] 8541,49 unequal: No Solution Exploring Operation: 73+117=190, Resulting Numbers: [190] 190,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,4,4 Current State: 49:[71, 119], Operations: ['74-1=73', '46+73=119'] Exploring Operation: 71*119=8449, Resulting Numbers: [8449] 8449,49 unequal: No Solution Exploring Operation: 119-71=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 71+119=190, Resulting Numbers: [190] 190,49 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: 49:[1, 74, 25], Operations: ['71-46=25'] Exploring Operation: 74/1=74, Resulting Numbers: [25, 74] Generated Node #0,1,0: 49:[25, 74] Operation: 74/1=74 Exploring Operation: 74-1=73, Resulting Numbers: [25, 73] Generated Node #0,1,1: 49:[25, 73] Operation: 74-1=73 Exploring Operation: 25-1=24, Resulting Numbers: [74, 24] Generated Node #0,1,2: 49:[74, 24] Operation: 25-1=24 Exploring Operation: 1*74=74, Resulting Numbers: [25, 74] Generated Node #0,1,3: 49:[25, 74] Operation: 1*74=74 Exploring Operation: 74-25=49, Resulting Numbers: [1, 49] Generated Node #0,1,4: 49:[1, 49] Operation: 74-25=49 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 49:[1, 49], Operations: ['71-46=25', '74-25=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[71, 1, 46, 74], Operations: [] Exploring Operation: 71-46=25, Resulting Numbers: [1, 74, 25] Generated Node #0,1: 49:[1, 74, 25] Operation: 71-46=25 Moving to Node #0,1 Current State: 49:[1, 74, 25], Operations: ['71-46=25'] Exploring Operation: 74-25=49, Resulting Numbers: [1, 49] Generated Node #0,1,4: 49:[1, 49] Operation: 74-25=49 Moving to Node #0,1,4 Current State: 49:[1, 49], Operations: ['71-46=25', '74-25=49'] Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
sum_heuristic
[ 25, 61, 3, 64 ]
56
[ "64-25=39", "3*39=117", "117-61=56" ]
Current State: 56:[25, 61, 3, 64], Operations: [] Exploring Operation: 64-25=39, Resulting Numbers: [61, 3, 39] Generated Node #2: [61, 3, 39] from Operation: 64-25=39 Current State: 56:[61, 3, 39], Operations: ['64-25=39'] Exploring Operation: 3*39=117, Resulting Numbers: [61, 117] Generated Node #3: [61, 117] from Operation: 3*39=117 Current State: 56:[61, 117], Operations: ['64-25=39', '3*39=117'] Exploring Operation: 117-61=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[25, 61, 3, 64], Operations: [] Exploring Operation: 64-3=61, Resulting Numbers: [25, 61, 61] Generated Node #0,0: 56:[25, 61, 61] Operation: 64-3=61 Exploring Operation: 25+3=28, Resulting Numbers: [61, 64, 28] Generated Node #0,1: 56:[61, 64, 28] Operation: 25+3=28 Exploring Operation: 61-3=58, Resulting Numbers: [25, 64, 58] Generated Node #0,2: 56:[25, 64, 58] Operation: 61-3=58 Exploring Operation: 64-61=3, Resulting Numbers: [25, 3, 3] Generated Node #0,3: 56:[25, 3, 3] Operation: 64-61=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[25, 3, 3], Operations: ['64-61=3'] Exploring Operation: 25+3=28, Resulting Numbers: [3, 28] Generated Node #0,3,0: 56:[3, 28] Operation: 25+3=28 Exploring Operation: 3+3=6, Resulting Numbers: [25, 6] Generated Node #0,3,1: 56:[25, 6] Operation: 3+3=6 Exploring Operation: 3*3=9, Resulting Numbers: [25, 9] Generated Node #0,3,2: 56:[25, 9] Operation: 3*3=9 Exploring Operation: 25+3=28, Resulting Numbers: [3, 28] Generated Node #0,3,3: 56:[3, 28] Operation: 25+3=28 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[3, 28], Operations: ['64-61=3', '25+3=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[3, 28], Operations: ['64-61=3', '25+3=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[25, 6], Operations: ['64-61=3', '3+3=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[25, 9], Operations: ['64-61=3', '3*3=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,56 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: 56:[25, 61, 61], Operations: ['64-3=61'] Exploring Operation: 61/61=1, Resulting Numbers: [25, 1] Generated Node #0,0,0: 56:[25, 1] Operation: 61/61=1 Exploring Operation: 61-61=0, Resulting Numbers: [25, 0] Generated Node #0,0,1: 56:[25, 0] Operation: 61-61=0 Exploring Operation: 61-25=36, Resulting Numbers: [61, 36] Generated Node #0,0,2: 56:[61, 36] Operation: 61-25=36 Exploring Operation: 61-25=36, Resulting Numbers: [61, 36] Generated Node #0,0,3: 56:[61, 36] Operation: 61-25=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[25, 1], Operations: ['64-3=61', '61/61=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,56 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[25, 0], Operations: ['64-3=61', '61-61=0'] Exploring Operation: 25+0=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 25*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 25-0=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[61, 36], Operations: ['64-3=61', '61-25=36'] Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,56 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[61, 36], Operations: ['64-3=61', '61-25=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,56 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,56 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: 56:[61, 64, 28], Operations: ['25+3=28'] Exploring Operation: 61+28=89, Resulting Numbers: [64, 89] Generated Node #0,1,0: 56:[64, 89] Operation: 61+28=89 Exploring Operation: 64-28=36, Resulting Numbers: [61, 36] Generated Node #0,1,1: 56:[61, 36] Operation: 64-28=36 Exploring Operation: 61-28=33, Resulting Numbers: [64, 33] Generated Node #0,1,2: 56:[64, 33] Operation: 61-28=33 Exploring Operation: 64-61=3, Resulting Numbers: [28, 3] Generated Node #0,1,3: 56:[28, 3] Operation: 64-61=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[28, 3], Operations: ['25+3=28', '64-61=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[61, 36], Operations: ['25+3=28', '64-28=36'] Exploring Operation: 61*36=2196, Resulting Numbers: [2196] 2196,56 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[64, 33], Operations: ['25+3=28', '61-28=33'] Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,56 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[64, 89], Operations: ['25+3=28', '61+28=89'] Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,56 unequal: No Solution Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,56 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: 56:[25, 64, 58], Operations: ['61-3=58'] Exploring Operation: 64-58=6, Resulting Numbers: [25, 6] Generated Node #0,2,0: 56:[25, 6] Operation: 64-58=6 Exploring Operation: 64-25=39, Resulting Numbers: [58, 39] Generated Node #0,2,1: 56:[58, 39] Operation: 64-25=39 Exploring Operation: 25+64=89, Resulting Numbers: [58, 89] Generated Node #0,2,2: 56:[58, 89] Operation: 25+64=89 Exploring Operation: 58-25=33, Resulting Numbers: [64, 33] Generated Node #0,2,3: 56:[64, 33] Operation: 58-25=33 Moving to Node #0,2,0 Current State: 56:[25, 6], Operations: ['61-3=58', '64-58=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[64, 33], Operations: ['61-3=58', '58-25=33'] Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,56 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[58, 39], Operations: ['61-3=58', '64-25=39'] Exploring Operation: 58*39=2262, Resulting Numbers: [2262] 2262,56 unequal: No Solution Exploring Operation: 58-39=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 58+39=97, Resulting Numbers: [97] 97,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[58, 89], Operations: ['61-3=58', '25+64=89'] Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 58+89=147, Resulting Numbers: [147] 147,56 unequal: No Solution Exploring Operation: 58*89=5162, Resulting Numbers: [5162] 5162,56 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
[ 2, 44, 41, 94 ]
93
[ "44-2=42", "41+94=135", "135-42=93" ]
Current State: 93:[2, 44, 41, 94], Operations: [] Exploring Operation: 44-2=42, Resulting Numbers: [41, 94, 42] Generated Node #2: [41, 94, 42] from Operation: 44-2=42 Current State: 93:[41, 94, 42], Operations: ['44-2=42'] Exploring Operation: 41+94=135, Resulting Numbers: [42, 135] Generated Node #3: [42, 135] from Operation: 41+94=135 Current State: 93:[42, 135], Operations: ['44-2=42', '41+94=135'] Exploring Operation: 135-42=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 44, 41, 94], Operations: [] Exploring Operation: 44-2=42, Resulting Numbers: [41, 94, 42] Generated Node #0,0: 93:[41, 94, 42] Operation: 44-2=42 Exploring Operation: 2*44=88, Resulting Numbers: [41, 94, 88] Generated Node #0,1: 93:[41, 94, 88] Operation: 2*44=88 Exploring Operation: 44-41=3, Resulting Numbers: [2, 94, 3] Generated Node #0,2: 93:[2, 94, 3] Operation: 44-41=3 Exploring Operation: 44/2=22, Resulting Numbers: [41, 94, 22] Generated Node #0,3: 93:[41, 94, 22] Operation: 44/2=22 Exploring Operation: 44+41=85, Resulting Numbers: [2, 94, 85] Generated Node #0,4: 93:[2, 94, 85] Operation: 44+41=85 Moving to Node #0,2 Current State: 93:[2, 94, 3], Operations: ['44-41=3'] Exploring Operation: 94-2=92, Resulting Numbers: [3, 92] Generated Node #0,2,0: 93:[3, 92] Operation: 94-2=92 Exploring Operation: 2+94=96, Resulting Numbers: [3, 96] Generated Node #0,2,1: 93:[3, 96] Operation: 2+94=96 Exploring Operation: 3-2=1, Resulting Numbers: [94, 1] Generated Node #0,2,2: 93:[94, 1] Operation: 3-2=1 Exploring Operation: 94-3=91, Resulting Numbers: [2, 91] Generated Node #0,2,3: 93:[2, 91] Operation: 94-3=91 Exploring Operation: 2+3=5, Resulting Numbers: [94, 5] Generated Node #0,2,4: 93:[94, 5] Operation: 2+3=5 Moving to Node #0,4 Current State: 93:[2, 94, 85], Operations: ['44+41=85'] Exploring Operation: 94-2=92, Resulting Numbers: [85, 92] Generated Node #0,4,0: 93:[85, 92] Operation: 94-2=92 Exploring Operation: 2+94=96, Resulting Numbers: [85, 96] Generated Node #0,4,1: 93:[85, 96] Operation: 2+94=96 Exploring Operation: 94-85=9, Resulting Numbers: [2, 9] Generated Node #0,4,2: 93:[2, 9] Operation: 94-85=9 Exploring Operation: 85-2=83, Resulting Numbers: [94, 83] Generated Node #0,4,3: 93:[94, 83] Operation: 85-2=83 Exploring Operation: 2+85=87, Resulting Numbers: [94, 87] Generated Node #0,4,4: 93:[94, 87] Operation: 2+85=87 Moving to Node #0,1 Current State: 93:[41, 94, 88], Operations: ['2*44=88'] Exploring Operation: 88-41=47, Resulting Numbers: [94, 47] Generated Node #0,1,0: 93:[94, 47] Operation: 88-41=47 Exploring Operation: 41+88=129, Resulting Numbers: [94, 129] Generated Node #0,1,1: 93:[94, 129] Operation: 41+88=129 Exploring Operation: 94-88=6, Resulting Numbers: [41, 6] Generated Node #0,1,2: 93:[41, 6] Operation: 94-88=6 Exploring Operation: 94-41=53, Resulting Numbers: [88, 53] Generated Node #0,1,3: 93:[88, 53] Operation: 94-41=53 Exploring Operation: 41+94=135, Resulting Numbers: [88, 135] Generated Node #0,1,4: 93:[88, 135] Operation: 41+94=135 Moving to Node #0,3 Current State: 93:[41, 94, 22], Operations: ['44/2=22'] Exploring Operation: 41+22=63, Resulting Numbers: [94, 63] Generated Node #0,3,0: 93:[94, 63] Operation: 41+22=63 Exploring Operation: 94+22=116, Resulting Numbers: [41, 116] Generated Node #0,3,1: 93:[41, 116] Operation: 94+22=116 Exploring Operation: 41-22=19, Resulting Numbers: [94, 19] Generated Node #0,3,2: 93:[94, 19] Operation: 41-22=19 Exploring Operation: 94-22=72, Resulting Numbers: [41, 72] Generated Node #0,3,3: 93:[41, 72] Operation: 94-22=72 Exploring Operation: 94-41=53, Resulting Numbers: [22, 53] Generated Node #0,3,4: 93:[22, 53] Operation: 94-41=53 Moving to Node #0,0 Current State: 93:[41, 94, 42], Operations: ['44-2=42'] Exploring Operation: 41+42=83, Resulting Numbers: [94, 83] Generated Node #0,0,0: 93:[94, 83] Operation: 41+42=83 Exploring Operation: 94-41=53, Resulting Numbers: [42, 53] Generated Node #0,0,1: 93:[42, 53] Operation: 94-41=53 Exploring Operation: 94-42=52, Resulting Numbers: [41, 52] Generated Node #0,0,2: 93:[41, 52] Operation: 94-42=52 Exploring Operation: 41+94=135, Resulting Numbers: [42, 135] Generated Node #0,0,3: 93:[42, 135] Operation: 41+94=135 Exploring Operation: 42-41=1, Resulting Numbers: [94, 1] Generated Node #0,0,4: 93:[94, 1] Operation: 42-41=1 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 93:[94, 1], Operations: ['44-2=42', '42-41=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[2, 44, 41, 94], Operations: [] Exploring Operation: 44-2=42, Resulting Numbers: [41, 94, 42] Generated Node #0,0: 93:[41, 94, 42] Operation: 44-2=42 Moving to Node #0,0 Current State: 93:[41, 94, 42], Operations: ['44-2=42'] Exploring Operation: 42-41=1, Resulting Numbers: [94, 1] Generated Node #0,0,4: 93:[94, 1] Operation: 42-41=1 Moving to Node #0,0,4 Current State: 93:[94, 1], Operations: ['44-2=42', '42-41=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 58, 22, 3, 89 ]
12
[ "58+22=80", "3+89=92", "92-80=12" ]
Current State: 12:[58, 22, 3, 89], Operations: [] Exploring Operation: 58+22=80, Resulting Numbers: [3, 89, 80] Generated Node #2: [3, 89, 80] from Operation: 58+22=80 Current State: 12:[3, 89, 80], Operations: ['58+22=80'] Exploring Operation: 3+89=92, Resulting Numbers: [80, 92] Generated Node #3: [80, 92] from Operation: 3+89=92 Current State: 12:[80, 92], Operations: ['58+22=80', '3+89=92'] Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[58, 22, 3, 89], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [22, 3, 31] Generated Node #0,0: 12:[22, 3, 31] Operation: 89-58=31 Exploring Operation: 89-22=67, Resulting Numbers: [58, 3, 67] Generated Node #0,1: 12:[58, 3, 67] Operation: 89-22=67 Exploring Operation: 58-22=36, Resulting Numbers: [3, 89, 36] Generated Node #0,2: 12:[3, 89, 36] Operation: 58-22=36 Moving to Node #0,0 Current State: 12:[22, 3, 31], Operations: ['89-58=31'] Exploring Operation: 31-22=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 12:[3, 9] Operation: 31-22=9 Exploring Operation: 22-3=19, Resulting Numbers: [31, 19] Generated Node #0,0,1: 12:[31, 19] Operation: 22-3=19 Exploring Operation: 31-3=28, Resulting Numbers: [22, 28] Generated Node #0,0,2: 12:[22, 28] Operation: 31-3=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[3, 9], Operations: ['89-58=31', '31-22=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[58, 22, 3, 89], Operations: [] Exploring Operation: 89-58=31, Resulting Numbers: [22, 3, 31] Generated Node #0,0: 12:[22, 3, 31] Operation: 89-58=31 Moving to Node #0,0 Current State: 12:[22, 3, 31], Operations: ['89-58=31'] Exploring Operation: 31-22=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 12:[3, 9] Operation: 31-22=9 Moving to Node #0,0,0 Current State: 12:[3, 9], Operations: ['89-58=31', '31-22=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 13, 12, 57, 54 ]
93
[ "13*57=741", "12*54=648", "741-648=93" ]
Current State: 93:[13, 12, 57, 54], Operations: [] Exploring Operation: 13*57=741, Resulting Numbers: [12, 54, 741] Generated Node #2: [12, 54, 741] from Operation: 13*57=741 Current State: 93:[12, 54, 741], Operations: ['13*57=741'] Exploring Operation: 12*54=648, Resulting Numbers: [741, 648] Generated Node #3: [741, 648] from Operation: 12*54=648 Current State: 93:[741, 648], Operations: ['13*57=741', '12*54=648'] Exploring Operation: 741-648=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[13, 12, 57, 54], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [13, 12, 3] Generated Node #0,0: 93:[13, 12, 3] Operation: 57-54=3 Exploring Operation: 54-13=41, Resulting Numbers: [12, 57, 41] Generated Node #0,1: 93:[12, 57, 41] Operation: 54-13=41 Exploring Operation: 57-12=45, Resulting Numbers: [13, 54, 45] Generated Node #0,2: 93:[13, 54, 45] Operation: 57-12=45 Exploring Operation: 57-13=44, Resulting Numbers: [12, 54, 44] Generated Node #0,3: 93:[12, 54, 44] Operation: 57-13=44 Exploring Operation: 57+54=111, Resulting Numbers: [13, 12, 111] Generated Node #0,4: 93:[13, 12, 111] Operation: 57+54=111 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[13, 12, 3], Operations: ['57-54=3'] Exploring Operation: 13+12=25, Resulting Numbers: [3, 25] Generated Node #0,0,0: 93:[3, 25] Operation: 13+12=25 Exploring Operation: 12/3=4, Resulting Numbers: [13, 4] Generated Node #0,0,1: 93:[13, 4] Operation: 12/3=4 Exploring Operation: 13-3=10, Resulting Numbers: [12, 10] Generated Node #0,0,2: 93:[12, 10] Operation: 13-3=10 Exploring Operation: 13-12=1, Resulting Numbers: [3, 1] Generated Node #0,0,3: 93:[3, 1] Operation: 13-12=1 Exploring Operation: 12*3=36, Resulting Numbers: [13, 36] Generated Node #0,0,4: 93:[13, 36] Operation: 12*3=36 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 93:[3, 1], Operations: ['57-54=3', '13-12=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[3, 25], Operations: ['57-54=3', '13+12=25'] Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 93:[13, 4], Operations: ['57-54=3', '12/3=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 93:[13, 36], Operations: ['57-54=3', '12*3=36'] Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,93 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 93:[12, 10], Operations: ['57-54=3', '13-3=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,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,4 Current State: 93:[13, 12, 111], Operations: ['57+54=111'] Exploring Operation: 13+12=25, Resulting Numbers: [111, 25] Generated Node #0,4,0: 93:[111, 25] Operation: 13+12=25 Exploring Operation: 13-12=1, Resulting Numbers: [111, 1] Generated Node #0,4,1: 93:[111, 1] Operation: 13-12=1 Exploring Operation: 13+111=124, Resulting Numbers: [12, 124] Generated Node #0,4,2: 93:[12, 124] Operation: 13+111=124 Exploring Operation: 111-13=98, Resulting Numbers: [12, 98] Generated Node #0,4,3: 93:[12, 98] Operation: 111-13=98 Exploring Operation: 111-12=99, Resulting Numbers: [13, 99] Generated Node #0,4,4: 93:[13, 99] Operation: 111-12=99 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 93:[12, 98], Operations: ['57+54=111', '111-13=98'] Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,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,4,4 Current State: 93:[13, 99], Operations: ['57+54=111', '111-12=99'] Exploring Operation: 13*99=1287, Resulting Numbers: [1287] 1287,93 unequal: No Solution Exploring Operation: 13+99=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,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,4,1 Current State: 93:[111, 1], Operations: ['57+54=111', '13-12=1'] Exploring Operation: 111-1=110, Resulting Numbers: [110] 110,93 unequal: No Solution Exploring Operation: 111+1=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 111*1=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 111/1=111, Resulting Numbers: [111] 111,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,4,0 Current State: 93:[111, 25], Operations: ['57+54=111', '13+12=25'] Exploring Operation: 111-25=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 111+25=136, Resulting Numbers: [136] 136,93 unequal: No Solution Exploring Operation: 111*25=2775, Resulting Numbers: [2775] 2775,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,4,2 Current State: 93:[12, 124], Operations: ['57+54=111', '13+111=124'] Exploring Operation: 12+124=136, Resulting Numbers: [136] 136,93 unequal: No Solution Exploring Operation: 124-12=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 12*124=1488, Resulting Numbers: [1488] 1488,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,1 Current State: 93:[12, 57, 41], Operations: ['54-13=41'] Exploring Operation: 57+41=98, Resulting Numbers: [12, 98] Generated Node #0,1,0: 93:[12, 98] Operation: 57+41=98 Exploring Operation: 57-41=16, Resulting Numbers: [12, 16] Generated Node #0,1,1: 93:[12, 16] Operation: 57-41=16 Exploring Operation: 12+57=69, Resulting Numbers: [41, 69] Generated Node #0,1,2: 93:[41, 69] Operation: 12+57=69 Exploring Operation: 41-12=29, Resulting Numbers: [57, 29] Generated Node #0,1,3: 93:[57, 29] Operation: 41-12=29 Exploring Operation: 57-12=45, Resulting Numbers: [41, 45] Generated Node #0,1,4: 93:[41, 45] Operation: 57-12=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[12, 98], Operations: ['54-13=41', '57+41=98'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,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,1 Current State: 93:[12, 16], Operations: ['54-13=41', '57-41=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,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,4 Current State: 93:[41, 45], Operations: ['54-13=41', '57-12=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,93 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,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:[57, 29], Operations: ['54-13=41', '41-12=29'] Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 57+29=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 57*29=1653, Resulting Numbers: [1653] 1653,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:[41, 69], Operations: ['54-13=41', '12+57=69'] Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,93 unequal: No Solution Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,93 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[12, 54, 44], Operations: ['57-13=44'] Exploring Operation: 54+44=98, Resulting Numbers: [12, 98] Generated Node #0,3,0: 93:[12, 98] Operation: 54+44=98 Exploring Operation: 54-12=42, Resulting Numbers: [44, 42] Generated Node #0,3,1: 93:[44, 42] Operation: 54-12=42 Exploring Operation: 54-44=10, Resulting Numbers: [12, 10] Generated Node #0,3,2: 93:[12, 10] Operation: 54-44=10 Exploring Operation: 12+54=66, Resulting Numbers: [44, 66] Generated Node #0,3,3: 93:[44, 66] Operation: 12+54=66 Exploring Operation: 44-12=32, Resulting Numbers: [54, 32] Generated Node #0,3,4: 93:[54, 32] Operation: 44-12=32 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[12, 98], Operations: ['57-13=44', '54+44=98'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 12*98=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution Exploring Operation: 12+98=110, Resulting Numbers: [110] 110,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,3,2 Current State: 93:[12, 10], Operations: ['57-13=44', '54-44=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,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,3,1 Current State: 93:[44, 42], Operations: ['57-13=44', '54-12=42'] Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,93 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,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,3,4 Current State: 93:[54, 32], Operations: ['57-13=44', '44-12=32'] Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,93 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,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,3,3 Current State: 93:[44, 66], Operations: ['57-13=44', '12+54=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,93 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,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,2 Current State: 93:[13, 54, 45], Operations: ['57-12=45'] Exploring Operation: 13+54=67, Resulting Numbers: [45, 67] Generated Node #0,2,0: 93:[45, 67] Operation: 13+54=67 Exploring Operation: 54-45=9, Resulting Numbers: [13, 9] Generated Node #0,2,1: 93:[13, 9] Operation: 54-45=9 Exploring Operation: 45-13=32, Resulting Numbers: [54, 32] Generated Node #0,2,2: 93:[54, 32] Operation: 45-13=32 Exploring Operation: 54+45=99, Resulting Numbers: [13, 99] Generated Node #0,2,3: 93:[13, 99] Operation: 54+45=99 Exploring Operation: 54-13=41, Resulting Numbers: [45, 41] Generated Node #0,2,4: 93:[45, 41] Operation: 54-13=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[13, 9], Operations: ['57-12=45', '54-45=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,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:[13, 99], Operations: ['57-12=45', '54+45=99'] Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 13*99=1287, Resulting Numbers: [1287] 1287,93 unequal: No Solution Exploring Operation: 13+99=112, Resulting Numbers: [112] 112,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,2 Current State: 93:[54, 32], Operations: ['57-12=45', '45-13=32'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 54+32=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 54*32=1728, Resulting Numbers: [1728] 1728,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,4 Current State: 93:[45, 41], Operations: ['57-12=45', '54-13=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,93 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,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:[45, 67], Operations: ['57-12=45', '13+54=67'] Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 45*67=3015, Resulting Numbers: [3015] 3015,93 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,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_5
mult_heuristic
[ 37, 7, 39, 48 ]
74
[ "7+39=46", "48-46=2", "37*2=74" ]
Current State: 74:[37, 7, 39, 48], Operations: [] Exploring Operation: 7+39=46, Resulting Numbers: [37, 48, 46] Generated Node #2: [37, 48, 46] from Operation: 7+39=46 Current State: 74:[37, 48, 46], Operations: ['7+39=46'] Exploring Operation: 48-46=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 48-46=2 Current State: 74:[37, 2], Operations: ['7+39=46', '48-46=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[37, 7, 39, 48], Operations: [] Exploring Operation: 48-39=9, Resulting Numbers: [37, 7, 9] Generated Node #0,0: 74:[37, 7, 9] Operation: 48-39=9 Exploring Operation: 48-7=41, Resulting Numbers: [37, 39, 41] Generated Node #0,1: 74:[37, 39, 41] Operation: 48-7=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[37, 39, 41], Operations: ['48-7=41'] Exploring Operation: 39-37=2, Resulting Numbers: [41, 2] Generated Node #0,1,0: 74:[41, 2] Operation: 39-37=2 Exploring Operation: 41-39=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 74:[37, 2] Operation: 41-39=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[37, 2], Operations: ['48-7=41', '41-39=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[37, 7, 39, 48], Operations: [] Exploring Operation: 48-7=41, Resulting Numbers: [37, 39, 41] Generated Node #0,1: 74:[37, 39, 41] Operation: 48-7=41 Moving to Node #0,1 Current State: 74:[37, 39, 41], Operations: ['48-7=41'] Exploring Operation: 41-39=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 74:[37, 2] Operation: 41-39=2 Moving to Node #0,1,1 Current State: 74:[37, 2], Operations: ['48-7=41', '41-39=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 46, 74, 60, 91 ]
93
[ "46+74=120", "120/60=2", "91+2=93" ]
Current State: 93:[46, 74, 60, 91], Operations: [] Exploring Operation: 46+74=120, Resulting Numbers: [60, 91, 120] Generated Node #2: [60, 91, 120] from Operation: 46+74=120 Current State: 93:[60, 91, 120], Operations: ['46+74=120'] Exploring Operation: 120/60=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 120/60=2 Current State: 93:[91, 2], Operations: ['46+74=120', '120/60=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[46, 74, 60, 91], Operations: [] Exploring Operation: 74-60=14, Resulting Numbers: [46, 91, 14] Generated Node #0,0: 93:[46, 91, 14] Operation: 74-60=14 Exploring Operation: 60-46=14, Resulting Numbers: [74, 91, 14] Generated Node #0,1: 93:[74, 91, 14] Operation: 60-46=14 Moving to Node #0,0 Current State: 93:[46, 91, 14], Operations: ['74-60=14'] Exploring Operation: 46-14=32, Resulting Numbers: [91, 32] Generated Node #0,0,0: 93:[91, 32] Operation: 46-14=32 Exploring Operation: 91-46=45, Resulting Numbers: [14, 45] Generated Node #0,0,1: 93:[14, 45] Operation: 91-46=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[91, 32], Operations: ['74-60=14', '46-14=32'] Exploring Operation: 91+32=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,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,1 Current State: 93:[14, 45], Operations: ['74-60=14', '91-46=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,93 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: 93:[74, 91, 14], Operations: ['60-46=14'] Exploring Operation: 74+14=88, Resulting Numbers: [91, 88] Generated Node #0,1,0: 93:[91, 88] Operation: 74+14=88 Exploring Operation: 91-74=17, Resulting Numbers: [14, 17] Generated Node #0,1,1: 93:[14, 17] Operation: 91-74=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[91, 88], Operations: ['60-46=14', '74+14=88'] Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,93 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,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,1 Current State: 93:[14, 17], Operations: ['60-46=14', '91-74=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,93 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,93 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
[ 24, 6, 19, 34 ]
56
[ "24+34=58", "6*19=114", "114-58=56" ]
Current State: 56:[24, 6, 19, 34], Operations: [] Exploring Operation: 24+34=58, Resulting Numbers: [6, 19, 58] Generated Node #2: [6, 19, 58] from Operation: 24+34=58 Current State: 56:[6, 19, 58], Operations: ['24+34=58'] Exploring Operation: 6*19=114, Resulting Numbers: [58, 114] Generated Node #3: [58, 114] from Operation: 6*19=114 Current State: 56:[58, 114], Operations: ['24+34=58', '6*19=114'] Exploring Operation: 114-58=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[24, 6, 19, 34], Operations: [] Exploring Operation: 34-19=15, Resulting Numbers: [24, 6, 15] Generated Node #0,0: 56:[24, 6, 15] Operation: 34-19=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[24, 6, 15], Operations: ['34-19=15'] Exploring Operation: 24/6=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 56:[15, 4] Operation: 24/6=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[15, 4], Operations: ['34-19=15', '24/6=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,56 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
[ 53, 51, 14, 97 ]
81
[ "53-51=2", "97-14=83", "83-2=81" ]
Current State: 81:[53, 51, 14, 97], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [14, 97, 2] Generated Node #2: [14, 97, 2] from Operation: 53-51=2 Current State: 81:[14, 97, 2], Operations: ['53-51=2'] Exploring Operation: 97-14=83, Resulting Numbers: [2, 83] Generated Node #3: [2, 83] from Operation: 97-14=83 Current State: 81:[2, 83], Operations: ['53-51=2', '97-14=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[53, 51, 14, 97], Operations: [] Exploring Operation: 53+51=104, Resulting Numbers: [14, 97, 104] Generated Node #0,0: 81:[14, 97, 104] Operation: 53+51=104 Exploring Operation: 53-51=2, Resulting Numbers: [14, 97, 2] Generated Node #0,1: 81:[14, 97, 2] Operation: 53-51=2 Moving to Node #0,1 Current State: 81:[14, 97, 2], Operations: ['53-51=2'] Exploring Operation: 97-14=83, Resulting Numbers: [2, 83] Generated Node #0,1,0: 81:[2, 83] Operation: 97-14=83 Exploring Operation: 14*2=28, Resulting Numbers: [97, 28] Generated Node #0,1,1: 81:[97, 28] Operation: 14*2=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[2, 83], Operations: ['53-51=2', '97-14=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[53, 51, 14, 97], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [14, 97, 2] Generated Node #0,1: 81:[14, 97, 2] Operation: 53-51=2 Moving to Node #0,1 Current State: 81:[14, 97, 2], Operations: ['53-51=2'] Exploring Operation: 97-14=83, Resulting Numbers: [2, 83] Generated Node #0,1,0: 81:[2, 83] Operation: 97-14=83 Moving to Node #0,1,0 Current State: 81:[2, 83], Operations: ['53-51=2', '97-14=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 29, 56, 54, 35 ]
23
[ "56-54=2", "29*2=58", "58-35=23" ]
Current State: 23:[29, 56, 54, 35], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [29, 35, 2] Generated Node #2: [29, 35, 2] from Operation: 56-54=2 Current State: 23:[29, 35, 2], Operations: ['56-54=2'] Exploring Operation: 29*2=58, Resulting Numbers: [35, 58] Generated Node #3: [35, 58] from Operation: 29*2=58 Current State: 23:[35, 58], Operations: ['56-54=2', '29*2=58'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[29, 56, 54, 35], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [29, 35, 2] Generated Node #0,0: 23:[29, 35, 2] Operation: 56-54=2 Exploring Operation: 56-35=21, Resulting Numbers: [29, 54, 21] Generated Node #0,1: 23:[29, 54, 21] Operation: 56-35=21 Moving to Node #0,0 Current State: 23:[29, 35, 2], Operations: ['56-54=2'] Exploring Operation: 35-2=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 23:[29, 33] Operation: 35-2=33 Exploring Operation: 29-2=27, Resulting Numbers: [35, 27] Generated Node #0,0,1: 23:[35, 27] Operation: 29-2=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[29, 33], Operations: ['56-54=2', '35-2=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[35, 27], Operations: ['56-54=2', '29-2=27'] Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,23 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,23 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: 23:[29, 54, 21], Operations: ['56-35=21'] Exploring Operation: 54-21=33, Resulting Numbers: [29, 33] Generated Node #0,1,0: 23:[29, 33] Operation: 54-21=33 Exploring Operation: 54-29=25, Resulting Numbers: [21, 25] Generated Node #0,1,1: 23:[21, 25] Operation: 54-29=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[21, 25], Operations: ['56-35=21', '54-29=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[29, 33], Operations: ['56-35=21', '54-21=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,23 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
[ 96, 20, 1, 94 ]
23
[ "96+20=116", "94-1=93", "116-93=23" ]
Current State: 23:[96, 20, 1, 94], Operations: [] Exploring Operation: 96+20=116, Resulting Numbers: [1, 94, 116] Generated Node #2: [1, 94, 116] from Operation: 96+20=116 Current State: 23:[1, 94, 116], Operations: ['96+20=116'] Exploring Operation: 94-1=93, Resulting Numbers: [116, 93] Generated Node #3: [116, 93] from Operation: 94-1=93 Current State: 23:[116, 93], Operations: ['96+20=116', '94-1=93'] Exploring Operation: 116-93=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[96, 20, 1, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [20, 1, 2] Generated Node #0,0: 23:[20, 1, 2] Operation: 96-94=2 Exploring Operation: 96-20=76, Resulting Numbers: [1, 94, 76] Generated Node #0,1: 23:[1, 94, 76] Operation: 96-20=76 Moving to Node #0,0 Current State: 23:[20, 1, 2], Operations: ['96-94=2'] Exploring Operation: 20+1=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 23:[2, 21] Operation: 20+1=21 Exploring Operation: 20+2=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 23:[1, 22] Operation: 20+2=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[2, 21], Operations: ['96-94=2', '20+1=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[96, 20, 1, 94], Operations: [] Exploring Operation: 96-94=2, Resulting Numbers: [20, 1, 2] Generated Node #0,0: 23:[20, 1, 2] Operation: 96-94=2 Moving to Node #0,0 Current State: 23:[20, 1, 2], Operations: ['96-94=2'] Exploring Operation: 20+1=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 23:[2, 21] Operation: 20+1=21 Moving to Node #0,0,0 Current State: 23:[2, 21], Operations: ['96-94=2', '20+1=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 45, 63, 46, 2 ]
66
[ "63-45=18", "46+2=48", "18+48=66" ]
Current State: 66:[45, 63, 46, 2], Operations: [] Exploring Operation: 63-45=18, Resulting Numbers: [46, 2, 18] Generated Node #2: [46, 2, 18] from Operation: 63-45=18 Current State: 66:[46, 2, 18], Operations: ['63-45=18'] Exploring Operation: 46+2=48, Resulting Numbers: [18, 48] Generated Node #3: [18, 48] from Operation: 46+2=48 Current State: 66:[18, 48], Operations: ['63-45=18', '46+2=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[45, 63, 46, 2], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [63, 2, 1] Generated Node #0,0: 66:[63, 2, 1] Operation: 46-45=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[63, 2, 1], Operations: ['46-45=1'] Exploring Operation: 63+2=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 66:[1, 65] Operation: 63+2=65 Moving to Node #0,0,0 Current State: 66:[1, 65], Operations: ['46-45=1', '63+2=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[45, 63, 46, 2], Operations: [] Exploring Operation: 46-45=1, Resulting Numbers: [63, 2, 1] Generated Node #0,0: 66:[63, 2, 1] Operation: 46-45=1 Moving to Node #0,0 Current State: 66:[63, 2, 1], Operations: ['46-45=1'] Exploring Operation: 63+2=65, Resulting Numbers: [1, 65] Generated Node #0,0,0: 66:[1, 65] Operation: 63+2=65 Moving to Node #0,0,0 Current State: 66:[1, 65], Operations: ['46-45=1', '63+2=65'] Exploring Operation: 1+65=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 55, 28, 24, 85 ]
88
[ "55-28=27", "85-24=61", "27+61=88" ]
Current State: 88:[55, 28, 24, 85], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [24, 85, 27] Generated Node #2: [24, 85, 27] from Operation: 55-28=27 Current State: 88:[24, 85, 27], Operations: ['55-28=27'] Exploring Operation: 85-24=61, Resulting Numbers: [27, 61] Generated Node #3: [27, 61] from Operation: 85-24=61 Current State: 88:[27, 61], Operations: ['55-28=27', '85-24=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[55, 28, 24, 85], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [24, 85, 27] Generated Node #0,0: 88:[24, 85, 27] Operation: 55-28=27 Exploring Operation: 55+28=83, Resulting Numbers: [24, 85, 83] Generated Node #0,1: 88:[24, 85, 83] Operation: 55+28=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[24, 85, 27], Operations: ['55-28=27'] Exploring Operation: 24+27=51, Resulting Numbers: [85, 51] Generated Node #0,0,0: 88:[85, 51] Operation: 24+27=51 Exploring Operation: 27-24=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 88:[85, 3] Operation: 27-24=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[85, 3], Operations: ['55-28=27', '27-24=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[55, 28, 24, 85], Operations: [] Exploring Operation: 55-28=27, Resulting Numbers: [24, 85, 27] Generated Node #0,0: 88:[24, 85, 27] Operation: 55-28=27 Moving to Node #0,0 Current State: 88:[24, 85, 27], Operations: ['55-28=27'] Exploring Operation: 27-24=3, Resulting Numbers: [85, 3] Generated Node #0,0,1: 88:[85, 3] Operation: 27-24=3 Moving to Node #0,0,1 Current State: 88:[85, 3], Operations: ['55-28=27', '27-24=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 34, 43, 75, 90 ]
88
[ "34+43=77", "75+90=165", "165-77=88" ]
Current State: 88:[34, 43, 75, 90], Operations: [] Exploring Operation: 34+43=77, Resulting Numbers: [75, 90, 77] Generated Node #2: [75, 90, 77] from Operation: 34+43=77 Current State: 88:[75, 90, 77], Operations: ['34+43=77'] Exploring Operation: 75+90=165, Resulting Numbers: [77, 165] Generated Node #3: [77, 165] from Operation: 75+90=165 Current State: 88:[77, 165], Operations: ['34+43=77', '75+90=165'] Exploring Operation: 165-77=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[34, 43, 75, 90], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [34, 43, 15] Generated Node #0,0: 88:[34, 43, 15] Operation: 90-75=15 Exploring Operation: 75-34=41, Resulting Numbers: [43, 90, 41] Generated Node #0,1: 88:[43, 90, 41] Operation: 75-34=41 Moving to Node #0,1 Current State: 88:[43, 90, 41], Operations: ['75-34=41'] Exploring Operation: 90-43=47, Resulting Numbers: [41, 47] Generated Node #0,1,0: 88:[41, 47] Operation: 90-43=47 Exploring Operation: 43-41=2, Resulting Numbers: [90, 2] Generated Node #0,1,1: 88:[90, 2] Operation: 43-41=2 Moving to Node #0,0 Current State: 88:[34, 43, 15], Operations: ['90-75=15'] Exploring Operation: 43-34=9, Resulting Numbers: [15, 9] Generated Node #0,0,0: 88:[15, 9] Operation: 43-34=9 Exploring Operation: 34-15=19, Resulting Numbers: [43, 19] Generated Node #0,0,1: 88:[43, 19] Operation: 34-15=19 Moving to Node #0,1,1 Current State: 88:[90, 2], Operations: ['75-34=41', '43-41=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[34, 43, 75, 90], Operations: [] Exploring Operation: 75-34=41, Resulting Numbers: [43, 90, 41] Generated Node #0,1: 88:[43, 90, 41] Operation: 75-34=41 Moving to Node #0,1 Current State: 88:[43, 90, 41], Operations: ['75-34=41'] Exploring Operation: 43-41=2, Resulting Numbers: [90, 2] Generated Node #0,1,1: 88:[90, 2] Operation: 43-41=2 Moving to Node #0,1,1 Current State: 88:[90, 2], Operations: ['75-34=41', '43-41=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 68, 9, 38, 39 ]
59
[ "68-9=59", "39-38=1", "59*1=59" ]
Current State: 59:[68, 9, 38, 39], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [38, 39, 59] Generated Node #2: [38, 39, 59] from Operation: 68-9=59 Current State: 59:[38, 39, 59], Operations: ['68-9=59'] Exploring Operation: 39-38=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 39-38=1 Current State: 59:[59, 1], Operations: ['68-9=59', '39-38=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[68, 9, 38, 39], Operations: [] Exploring Operation: 9+38=47, Resulting Numbers: [68, 39, 47] Generated Node #0,0: 59:[68, 39, 47] Operation: 9+38=47 Exploring Operation: 9+39=48, Resulting Numbers: [68, 38, 48] Generated Node #0,1: 59:[68, 38, 48] Operation: 9+39=48 Exploring Operation: 68+9=77, Resulting Numbers: [38, 39, 77] Generated Node #0,2: 59:[38, 39, 77] Operation: 68+9=77 Exploring Operation: 68-9=59, Resulting Numbers: [38, 39, 59] Generated Node #0,3: 59:[38, 39, 59] Operation: 68-9=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[68, 39, 47], Operations: ['9+38=47'] Exploring Operation: 39+47=86, Resulting Numbers: [68, 86] Generated Node #0,0,0: 59:[68, 86] Operation: 39+47=86 Exploring Operation: 68-47=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 59:[39, 21] Operation: 68-47=21 Exploring Operation: 68-39=29, Resulting Numbers: [47, 29] Generated Node #0,0,2: 59:[47, 29] Operation: 68-39=29 Exploring Operation: 68+39=107, Resulting Numbers: [47, 107] Generated Node #0,0,3: 59:[47, 107] Operation: 68+39=107 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[68, 86], Operations: ['9+38=47', '39+47=86'] Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[47, 29], Operations: ['9+38=47', '68-39=29'] Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,59 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[39, 21], Operations: ['9+38=47', '68-47=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,59 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[47, 107], Operations: ['9+38=47', '68+39=107'] Exploring Operation: 107-47=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 47+107=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 47*107=5029, Resulting Numbers: [5029] 5029,59 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: 59:[68, 38, 48], Operations: ['9+39=48'] Exploring Operation: 68-38=30, Resulting Numbers: [48, 30] Generated Node #0,1,0: 59:[48, 30] Operation: 68-38=30 Exploring Operation: 68+38=106, Resulting Numbers: [48, 106] Generated Node #0,1,1: 59:[48, 106] Operation: 68+38=106 Exploring Operation: 38+48=86, Resulting Numbers: [68, 86] Generated Node #0,1,2: 59:[68, 86] Operation: 38+48=86 Exploring Operation: 48-38=10, Resulting Numbers: [68, 10] Generated Node #0,1,3: 59:[68, 10] Operation: 48-38=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[68, 86], Operations: ['9+39=48', '38+48=86'] Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[48, 30], Operations: ['9+39=48', '68-38=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[48, 106], Operations: ['9+39=48', '68+38=106'] Exploring Operation: 48*106=5088, Resulting Numbers: [5088] 5088,59 unequal: No Solution Exploring Operation: 48+106=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 106-48=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[68, 10], Operations: ['9+39=48', '48-38=10'] Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,59 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: 59:[38, 39, 59], Operations: ['68-9=59'] Exploring Operation: 38+59=97, Resulting Numbers: [39, 97] Generated Node #0,3,0: 59:[39, 97] Operation: 38+59=97 Exploring Operation: 38+39=77, Resulting Numbers: [59, 77] Generated Node #0,3,1: 59:[59, 77] Operation: 38+39=77 Exploring Operation: 39-38=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 59:[59, 1] Operation: 39-38=1 Exploring Operation: 59-38=21, Resulting Numbers: [39, 21] Generated Node #0,3,3: 59:[39, 21] Operation: 59-38=21 Moving to Node #0,3,1 Current State: 59:[59, 77], Operations: ['68-9=59', '38+39=77'] Exploring Operation: 59+77=136, Resulting Numbers: [136] 136,59 unequal: No Solution Exploring Operation: 59*77=4543, Resulting Numbers: [4543] 4543,59 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[59, 1], Operations: ['68-9=59', '39-38=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[68, 9, 38, 39], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [38, 39, 59] Generated Node #0,3: 59:[38, 39, 59] Operation: 68-9=59 Moving to Node #0,3 Current State: 59:[38, 39, 59], Operations: ['68-9=59'] Exploring Operation: 39-38=1, Resulting Numbers: [59, 1] Generated Node #0,3,2: 59:[59, 1] Operation: 39-38=1 Moving to Node #0,3,2 Current State: 59:[59, 1], Operations: ['68-9=59', '39-38=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_4
sum_heuristic
[ 1, 55, 34, 44 ]
24
[ "55-1=54", "34+44=78", "78-54=24" ]
Current State: 24:[1, 55, 34, 44], Operations: [] Exploring Operation: 55-1=54, Resulting Numbers: [34, 44, 54] Generated Node #2: [34, 44, 54] from Operation: 55-1=54 Current State: 24:[34, 44, 54], Operations: ['55-1=54'] Exploring Operation: 34+44=78, Resulting Numbers: [54, 78] Generated Node #3: [54, 78] from Operation: 34+44=78 Current State: 24:[54, 78], Operations: ['55-1=54', '34+44=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[1, 55, 34, 44], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [1, 34, 11] Generated Node #0,0: 24:[1, 34, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 24:[1, 34, 11], Operations: ['55-44=11'] Exploring Operation: 34-11=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 34-11=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['55-44=11', '34-11=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[1, 55, 34, 44], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [1, 34, 11] Generated Node #0,0: 24:[1, 34, 11] Operation: 55-44=11 Moving to Node #0,0 Current State: 24:[1, 34, 11], Operations: ['55-44=11'] Exploring Operation: 34-11=23, Resulting Numbers: [1, 23] Generated Node #0,0,0: 24:[1, 23] Operation: 34-11=23 Moving to Node #0,0,0 Current State: 24:[1, 23], Operations: ['55-44=11', '34-11=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 67, 87, 20, 47 ]
40
[ "87+47=134", "134/67=2", "20*2=40" ]
Current State: 40:[67, 87, 20, 47], Operations: [] Exploring Operation: 87+47=134, Resulting Numbers: [67, 20, 134] Generated Node #2: [67, 20, 134] from Operation: 87+47=134 Current State: 40:[67, 20, 134], Operations: ['87+47=134'] Exploring Operation: 134/67=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 134/67=2 Current State: 40:[20, 2], Operations: ['87+47=134', '134/67=2'] Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[67, 87, 20, 47], Operations: [] Exploring Operation: 87-47=40, Resulting Numbers: [67, 20, 40] Generated Node #0,0: 40:[67, 20, 40] Operation: 87-47=40 Exploring Operation: 67-47=20, Resulting Numbers: [87, 20, 20] Generated Node #0,1: 40:[87, 20, 20] Operation: 67-47=20 Exploring Operation: 87-67=20, Resulting Numbers: [20, 47, 20] Generated Node #0,2: 40:[20, 47, 20] Operation: 87-67=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[20, 47, 20], Operations: ['87-67=20'] Exploring Operation: 47-20=27, Resulting Numbers: [20, 27] Generated Node #0,2,0: 40:[20, 27] Operation: 47-20=27 Exploring Operation: 47-20=27, Resulting Numbers: [20, 27] Generated Node #0,2,1: 40:[20, 27] Operation: 47-20=27 Exploring Operation: 20+20=40, Resulting Numbers: [47, 40] Generated Node #0,2,2: 40:[47, 40] Operation: 20+20=40 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[20, 27], Operations: ['87-67=20', '47-20=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,40 unequal: No Solution No 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: 40:[20, 27], Operations: ['87-67=20', '47-20=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,40 unequal: No Solution No 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: 40:[47, 40], Operations: ['87-67=20', '20+20=40'] Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,40 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,40 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: 40:[67, 20, 40], Operations: ['87-47=40'] Exploring Operation: 67-40=27, Resulting Numbers: [20, 27] Generated Node #0,0,0: 40:[20, 27] Operation: 67-40=27 Exploring Operation: 40-20=20, Resulting Numbers: [67, 20] Generated Node #0,0,1: 40:[67, 20] Operation: 40-20=20 Exploring Operation: 67-20=47, Resulting Numbers: [40, 47] Generated Node #0,0,2: 40:[40, 47] Operation: 67-20=47 Moving to Node #0,0,0 Current State: 40:[20, 27], Operations: ['87-47=40', '67-40=27'] Exploring Operation: 20+27=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 20*27=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,40 unequal: No Solution Moving to Node #0,0,2 Current State: 40:[40, 47], Operations: ['87-47=40', '67-20=47'] Exploring Operation: 40*47=1880, Resulting Numbers: [1880] 1880,40 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,40 unequal: No Solution Exploring Operation: 40+47=87, Resulting Numbers: [87] 87,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[67, 20], Operations: ['87-47=40', '40-20=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[87, 20, 20], Operations: ['67-47=20'] Exploring Operation: 20+20=40, Resulting Numbers: [87, 40] Generated Node #0,1,0: 40:[87, 40] Operation: 20+20=40 Exploring Operation: 87-20=67, Resulting Numbers: [20, 67] Generated Node #0,1,1: 40:[20, 67] Operation: 87-20=67 Exploring Operation: 87-20=67, Resulting Numbers: [20, 67] Generated Node #0,1,2: 40:[20, 67] Operation: 87-20=67 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[20, 67], Operations: ['67-47=20', '87-20=67'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,40 unequal: No Solution No 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: 40:[20, 67], Operations: ['67-47=20', '87-20=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,40 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,40 unequal: No Solution No 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: 40:[87, 40], Operations: ['67-47=20', '20+20=40'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,40 unequal: No Solution Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,40 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 72, 17, 9 ]
35
[ "72-45=27", "17-9=8", "27+8=35" ]
Current State: 35:[45, 72, 17, 9], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [17, 9, 27] Generated Node #2: [17, 9, 27] from Operation: 72-45=27 Current State: 35:[17, 9, 27], Operations: ['72-45=27'] Exploring Operation: 17-9=8, Resulting Numbers: [27, 8] Generated Node #3: [27, 8] from Operation: 17-9=8 Current State: 35:[27, 8], Operations: ['72-45=27', '17-9=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[45, 72, 17, 9], Operations: [] Exploring Operation: 45-17=28, Resulting Numbers: [72, 9, 28] Generated Node #0,0: 35:[72, 9, 28] Operation: 45-17=28 Exploring Operation: 72/9=8, Resulting Numbers: [45, 17, 8] Generated Node #0,1: 35:[45, 17, 8] Operation: 72/9=8 Exploring Operation: 72-17=55, Resulting Numbers: [45, 9, 55] Generated Node #0,2: 35:[45, 9, 55] Operation: 72-17=55 Exploring Operation: 72-45=27, Resulting Numbers: [17, 9, 27] Generated Node #0,3: 35:[17, 9, 27] Operation: 72-45=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[17, 9, 27], Operations: ['72-45=27'] Exploring Operation: 17-9=8, Resulting Numbers: [27, 8] Generated Node #0,3,0: 35:[27, 8] Operation: 17-9=8 Exploring Operation: 17+27=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 35:[9, 44] Operation: 17+27=44 Exploring Operation: 9+27=36, Resulting Numbers: [17, 36] Generated Node #0,3,2: 35:[17, 36] Operation: 9+27=36 Exploring Operation: 27-17=10, Resulting Numbers: [9, 10] Generated Node #0,3,3: 35:[9, 10] Operation: 27-17=10 Moving to Node #0,3,3 Current State: 35:[9, 10], Operations: ['72-45=27', '27-17=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[27, 8], Operations: ['72-45=27', '17-9=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[45, 72, 17, 9], Operations: [] Exploring Operation: 72-45=27, Resulting Numbers: [17, 9, 27] Generated Node #0,3: 35:[17, 9, 27] Operation: 72-45=27 Moving to Node #0,3 Current State: 35:[17, 9, 27], Operations: ['72-45=27'] Exploring Operation: 17-9=8, Resulting Numbers: [27, 8] Generated Node #0,3,0: 35:[27, 8] Operation: 17-9=8 Moving to Node #0,3,0 Current State: 35:[27, 8], Operations: ['72-45=27', '17-9=8'] Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 58, 57, 82, 85 ]
39
[ "85-82=3", "57/3=19", "58-19=39" ]
Current State: 39:[58, 57, 82, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [58, 57, 3] Generated Node #2: [58, 57, 3] from Operation: 85-82=3 Current State: 39:[58, 57, 3], Operations: ['85-82=3'] Exploring Operation: 57/3=19, Resulting Numbers: [58, 19] Generated Node #3: [58, 19] from Operation: 57/3=19 Current State: 39:[58, 19], Operations: ['85-82=3', '57/3=19'] Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[58, 57, 82, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [58, 57, 3] Generated Node #0,0: 39:[58, 57, 3] Operation: 85-82=3 Moving to Node #0,0 Current State: 39:[58, 57, 3], Operations: ['85-82=3'] Exploring Operation: 58-57=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 39:[3, 1] Operation: 58-57=1 Moving to Node #0,0,0 Current State: 39:[3, 1], Operations: ['85-82=3', '58-57=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 19, 10, 46, 12 ]
87
[ "19+10=29", "46+12=58", "29+58=87" ]
Current State: 87:[19, 10, 46, 12], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [46, 12, 29] Generated Node #2: [46, 12, 29] from Operation: 19+10=29 Current State: 87:[46, 12, 29], Operations: ['19+10=29'] Exploring Operation: 46+12=58, Resulting Numbers: [29, 58] Generated Node #3: [29, 58] from Operation: 46+12=58 Current State: 87:[29, 58], Operations: ['19+10=29', '46+12=58'] Exploring Operation: 29+58=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[19, 10, 46, 12], Operations: [] Exploring Operation: 46-19=27, Resulting Numbers: [10, 12, 27] Generated Node #0,0: 87:[10, 12, 27] Operation: 46-19=27 Exploring Operation: 46-12=34, Resulting Numbers: [19, 10, 34] Generated Node #0,1: 87:[19, 10, 34] Operation: 46-12=34 Exploring Operation: 19+10=29, Resulting Numbers: [46, 12, 29] Generated Node #0,2: 87:[46, 12, 29] Operation: 19+10=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[10, 12, 27], Operations: ['46-19=27'] Exploring Operation: 10+27=37, Resulting Numbers: [12, 37] Generated Node #0,0,0: 87:[12, 37] Operation: 10+27=37 Exploring Operation: 12-10=2, Resulting Numbers: [27, 2] Generated Node #0,0,1: 87:[27, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [27, 22] Generated Node #0,0,2: 87:[27, 22] Operation: 10+12=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[27, 2], Operations: ['46-19=27', '12-10=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,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:[27, 22], Operations: ['46-19=27', '10+12=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,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:[12, 37], Operations: ['46-19=27', '10+27=37'] Exploring Operation: 12+37=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 12*37=444, Resulting Numbers: [444] 444,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:[19, 10, 34], Operations: ['46-12=34'] Exploring Operation: 34-10=24, Resulting Numbers: [19, 24] Generated Node #0,1,0: 87:[19, 24] Operation: 34-10=24 Exploring Operation: 19-10=9, Resulting Numbers: [34, 9] Generated Node #0,1,1: 87:[34, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [34, 29] Generated Node #0,1,2: 87:[34, 29] Operation: 19+10=29 Moving to Node #0,1,2 Current State: 87:[34, 29], Operations: ['46-12=34', '19+10=29'] Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 34*29=986, Resulting Numbers: [986] 986,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[34, 9], Operations: ['46-12=34', '19-10=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[19, 24], Operations: ['46-12=34', '34-10=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,87 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,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,2 Current State: 87:[46, 12, 29], Operations: ['19+10=29'] Exploring Operation: 46+29=75, Resulting Numbers: [12, 75] Generated Node #0,2,0: 87:[12, 75] Operation: 46+29=75 Exploring Operation: 46-12=34, Resulting Numbers: [29, 34] Generated Node #0,2,1: 87:[29, 34] Operation: 46-12=34 Exploring Operation: 46-29=17, Resulting Numbers: [12, 17] Generated Node #0,2,2: 87:[12, 17] Operation: 46-29=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[29, 34], Operations: ['19+10=29', '46-12=34'] Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,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,2,0 Current State: 87:[12, 75], Operations: ['19+10=29', '46+29=75'] Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,87 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[19, 10, 46, 12], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [46, 12, 29] Generated Node #0,2: 87:[46, 12, 29] Operation: 19+10=29 Moving to Node #0,2 Current State: 87:[46, 12, 29], Operations: ['19+10=29'] Exploring Operation: 46+29=75, Resulting Numbers: [12, 75] Generated Node #0,2,0: 87:[12, 75] Operation: 46+29=75 Moving to Node #0,2,0 Current State: 87:[12, 75], Operations: ['19+10=29', '46+29=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 77, 62, 38, 6 ]
67
[ "62-38=24", "6*24=144", "144-77=67" ]
Current State: 67:[77, 62, 38, 6], Operations: [] Exploring Operation: 62-38=24, Resulting Numbers: [77, 6, 24] Generated Node #2: [77, 6, 24] from Operation: 62-38=24 Current State: 67:[77, 6, 24], Operations: ['62-38=24'] Exploring Operation: 6*24=144, Resulting Numbers: [77, 144] Generated Node #3: [77, 144] from Operation: 6*24=144 Current State: 67:[77, 144], Operations: ['62-38=24', '6*24=144'] Exploring Operation: 144-77=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[77, 62, 38, 6], Operations: [] Exploring Operation: 77+6=83, Resulting Numbers: [62, 38, 83] Generated Node #0,0: 67:[62, 38, 83] Operation: 77+6=83 Exploring Operation: 62+6=68, Resulting Numbers: [77, 38, 68] Generated Node #0,1: 67:[77, 38, 68] Operation: 62+6=68 Exploring Operation: 77-6=71, Resulting Numbers: [62, 38, 71] Generated Node #0,2: 67:[62, 38, 71] Operation: 77-6=71 Exploring Operation: 38+6=44, Resulting Numbers: [77, 62, 44] Generated Node #0,3: 67:[77, 62, 44] Operation: 38+6=44 Moving to Node #0,2 Current State: 67:[62, 38, 71], Operations: ['77-6=71'] Exploring Operation: 71-38=33, Resulting Numbers: [62, 33] Generated Node #0,2,0: 67:[62, 33] Operation: 71-38=33 Exploring Operation: 38+71=109, Resulting Numbers: [62, 109] Generated Node #0,2,1: 67:[62, 109] Operation: 38+71=109 Exploring Operation: 62-38=24, Resulting Numbers: [71, 24] Generated Node #0,2,2: 67:[71, 24] Operation: 62-38=24 Exploring Operation: 62+38=100, Resulting Numbers: [71, 100] Generated Node #0,2,3: 67:[71, 100] Operation: 62+38=100 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 67:[71, 100], Operations: ['77-6=71', '62+38=100'] Exploring Operation: 71+100=171, Resulting Numbers: [171] 171,67 unequal: No Solution Exploring Operation: 100-71=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 71*100=7100, Resulting Numbers: [7100] 7100,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[62, 33], Operations: ['77-6=71', '71-38=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[62, 109], Operations: ['77-6=71', '38+71=109'] Exploring Operation: 62*109=6758, Resulting Numbers: [6758] 6758,67 unequal: No Solution Exploring Operation: 109-62=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 62+109=171, Resulting Numbers: [171] 171,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[71, 24], Operations: ['77-6=71', '62-38=24'] Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,67 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 67:[77, 62, 44], Operations: ['38+6=44'] Exploring Operation: 62-44=18, Resulting Numbers: [77, 18] Generated Node #0,3,0: 67:[77, 18] Operation: 62-44=18 Exploring Operation: 62+44=106, Resulting Numbers: [77, 106] Generated Node #0,3,1: 67:[77, 106] Operation: 62+44=106 Exploring Operation: 77+44=121, Resulting Numbers: [62, 121] Generated Node #0,3,2: 67:[62, 121] Operation: 77+44=121 Exploring Operation: 77-44=33, Resulting Numbers: [62, 33] Generated Node #0,3,3: 67:[62, 33] Operation: 77-44=33 Moving to Node #0,1 Current State: 67:[77, 38, 68], Operations: ['62+6=68'] Exploring Operation: 77-38=39, Resulting Numbers: [68, 39] Generated Node #0,1,0: 67:[68, 39] Operation: 77-38=39 Exploring Operation: 38+68=106, Resulting Numbers: [77, 106] Generated Node #0,1,1: 67:[77, 106] Operation: 38+68=106 Exploring Operation: 77+38=115, Resulting Numbers: [68, 115] Generated Node #0,1,2: 67:[68, 115] Operation: 77+38=115 Exploring Operation: 68-38=30, Resulting Numbers: [77, 30] Generated Node #0,1,3: 67:[77, 30] Operation: 68-38=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[68, 39], Operations: ['62+6=68', '77-38=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,67 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[77, 30], Operations: ['62+6=68', '68-38=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[77, 106], Operations: ['62+6=68', '38+68=106'] Exploring Operation: 77+106=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 77*106=8162, Resulting Numbers: [8162] 8162,67 unequal: No Solution Exploring Operation: 106-77=29, Resulting Numbers: [29] 29,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[68, 115], Operations: ['62+6=68', '77+38=115'] Exploring Operation: 115-68=47, Resulting Numbers: [47] 47,67 unequal: No Solution Exploring Operation: 68+115=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 68*115=7820, Resulting Numbers: [7820] 7820,67 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: 67:[62, 38, 83], Operations: ['77+6=83'] Exploring Operation: 62+38=100, Resulting Numbers: [83, 100] Generated Node #0,0,0: 67:[83, 100] Operation: 62+38=100 Exploring Operation: 83-38=45, Resulting Numbers: [62, 45] Generated Node #0,0,1: 67:[62, 45] Operation: 83-38=45 Exploring Operation: 38+83=121, Resulting Numbers: [62, 121] Generated Node #0,0,2: 67:[62, 121] Operation: 38+83=121 Exploring Operation: 62-38=24, Resulting Numbers: [83, 24] Generated Node #0,0,3: 67:[83, 24] Operation: 62-38=24 Moving to Node #0,0,1 Current State: 67:[62, 45], Operations: ['77+6=83', '83-38=45'] Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,67 unequal: No Solution Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[62, 33], Operations: ['38+6=44', '77-44=33'] Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 62*33=2046, Resulting Numbers: [2046] 2046,67 unequal: No Solution Exploring Operation: 62+33=95, Resulting Numbers: [95] 95,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[83, 100], Operations: ['77+6=83', '62+38=100'] Exploring Operation: 100-83=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 83+100=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 83*100=8300, Resulting Numbers: [8300] 8300,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[77, 106], Operations: ['38+6=44', '62+44=106'] Exploring Operation: 106-77=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 77+106=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 77*106=8162, Resulting Numbers: [8162] 8162,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[77, 18], Operations: ['38+6=44', '62-44=18'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 77*18=1386, Resulting Numbers: [1386] 1386,67 unequal: No Solution Exploring Operation: 77+18=95, Resulting Numbers: [95] 95,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[62, 121], Operations: ['77+6=83', '38+83=121'] Exploring Operation: 62*121=7502, Resulting Numbers: [7502] 7502,67 unequal: No Solution Exploring Operation: 62+121=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 121-62=59, Resulting Numbers: [59] 59,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[83, 24], Operations: ['77+6=83', '62-38=24'] Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 83*24=1992, Resulting Numbers: [1992] 1992,67 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[62, 121], Operations: ['38+6=44', '77+44=121'] Exploring Operation: 62+121=183, Resulting Numbers: [183] 183,67 unequal: No Solution Exploring Operation: 121-62=59, Resulting Numbers: [59] 59,67 unequal: No Solution Exploring Operation: 62*121=7502, Resulting Numbers: [7502] 7502,67 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 51, 95, 87, 90 ]
31
[ "51+95=146", "87+90=177", "177-146=31" ]
Current State: 31:[51, 95, 87, 90], Operations: [] Exploring Operation: 51+95=146, Resulting Numbers: [87, 90, 146] Generated Node #2: [87, 90, 146] from Operation: 51+95=146 Current State: 31:[87, 90, 146], Operations: ['51+95=146'] Exploring Operation: 87+90=177, Resulting Numbers: [146, 177] Generated Node #3: [146, 177] from Operation: 87+90=177 Current State: 31:[146, 177], Operations: ['51+95=146', '87+90=177'] Exploring Operation: 177-146=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[51, 95, 87, 90], Operations: [] Exploring Operation: 95-87=8, Resulting Numbers: [51, 90, 8] Generated Node #0,0: 31:[51, 90, 8] Operation: 95-87=8 Exploring Operation: 95-90=5, Resulting Numbers: [51, 87, 5] Generated Node #0,1: 31:[51, 87, 5] Operation: 95-90=5 Exploring Operation: 90-87=3, Resulting Numbers: [51, 95, 3] Generated Node #0,2: 31:[51, 95, 3] Operation: 90-87=3 Moving to Node #0,0 Current State: 31:[51, 90, 8], Operations: ['95-87=8'] Exploring Operation: 90-51=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 31:[8, 39] Operation: 90-51=39 Exploring Operation: 90-8=82, Resulting Numbers: [51, 82] Generated Node #0,0,1: 31:[51, 82] Operation: 90-8=82 Exploring Operation: 51-8=43, Resulting Numbers: [90, 43] Generated Node #0,0,2: 31:[90, 43] Operation: 51-8=43 Moving to Node #0,1 Current State: 31:[51, 87, 5], Operations: ['95-90=5'] Exploring Operation: 87-51=36, Resulting Numbers: [5, 36] Generated Node #0,1,0: 31:[5, 36] Operation: 87-51=36 Exploring Operation: 87-5=82, Resulting Numbers: [51, 82] Generated Node #0,1,1: 31:[51, 82] Operation: 87-5=82 Exploring Operation: 51-5=46, Resulting Numbers: [87, 46] Generated Node #0,1,2: 31:[87, 46] Operation: 51-5=46 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[5, 36], Operations: ['95-90=5', '87-51=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[51, 95, 87, 90], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [51, 87, 5] Generated Node #0,1: 31:[51, 87, 5] Operation: 95-90=5 Moving to Node #0,1 Current State: 31:[51, 87, 5], Operations: ['95-90=5'] Exploring Operation: 87-51=36, Resulting Numbers: [5, 36] Generated Node #0,1,0: 31:[5, 36] Operation: 87-51=36 Moving to Node #0,1,0 Current State: 31:[5, 36], Operations: ['95-90=5', '87-51=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 36, 21, 60, 11 ]
30
[ "21-11=10", "60/10=6", "36-6=30" ]
Current State: 30:[36, 21, 60, 11], Operations: [] Exploring Operation: 21-11=10, Resulting Numbers: [36, 60, 10] Generated Node #2: [36, 60, 10] from Operation: 21-11=10 Current State: 30:[36, 60, 10], Operations: ['21-11=10'] Exploring Operation: 60/10=6, Resulting Numbers: [36, 6] Generated Node #3: [36, 6] from Operation: 60/10=6 Current State: 30:[36, 6], Operations: ['21-11=10', '60/10=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[36, 21, 60, 11], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [21, 11, 24] Generated Node #0,0: 30:[21, 11, 24] Operation: 60-36=24 Exploring Operation: 60-21=39, Resulting Numbers: [36, 11, 39] Generated Node #0,1: 30:[36, 11, 39] Operation: 60-21=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[21, 11, 24], Operations: ['60-36=24'] Exploring Operation: 21-11=10, Resulting Numbers: [24, 10] Generated Node #0,0,0: 30:[24, 10] Operation: 21-11=10 Exploring Operation: 24-21=3, Resulting Numbers: [11, 3] Generated Node #0,0,1: 30:[11, 3] Operation: 24-21=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[11, 3], Operations: ['60-36=24', '24-21=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[24, 10], Operations: ['60-36=24', '21-11=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,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,1 Current State: 30:[36, 11, 39], Operations: ['60-21=39'] Exploring Operation: 39-11=28, Resulting Numbers: [36, 28] Generated Node #0,1,0: 30:[36, 28] Operation: 39-11=28 Exploring Operation: 39-36=3, Resulting Numbers: [11, 3] Generated Node #0,1,1: 30:[11, 3] Operation: 39-36=3 Moving to Node #0,1,1 Current State: 30:[11, 3], Operations: ['60-21=39', '39-36=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[36, 28], Operations: ['60-21=39', '39-11=28'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,30 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,30 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
[ 11, 14, 40, 7 ]
61
[ "14-11=3", "7*3=21", "40+21=61" ]
Current State: 61:[11, 14, 40, 7], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [40, 7, 3] Generated Node #2: [40, 7, 3] from Operation: 14-11=3 Current State: 61:[40, 7, 3], Operations: ['14-11=3'] Exploring Operation: 7*3=21, Resulting Numbers: [40, 21] Generated Node #3: [40, 21] from Operation: 7*3=21 Current State: 61:[40, 21], Operations: ['14-11=3', '7*3=21'] Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[11, 14, 40, 7], Operations: [] Exploring Operation: 11+7=18, Resulting Numbers: [14, 40, 18] Generated Node #0,0: 61:[14, 40, 18] Operation: 11+7=18 Exploring Operation: 11+40=51, Resulting Numbers: [14, 7, 51] Generated Node #0,1: 61:[14, 7, 51] Operation: 11+40=51 Exploring Operation: 11*7=77, Resulting Numbers: [14, 40, 77] Generated Node #0,2: 61:[14, 40, 77] Operation: 11*7=77 Exploring Operation: 14*7=98, Resulting Numbers: [11, 40, 98] Generated Node #0,3: 61:[11, 40, 98] Operation: 14*7=98 Exploring Operation: 11+14=25, Resulting Numbers: [40, 7, 25] Generated Node #0,4: 61:[40, 7, 25] Operation: 11+14=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[14, 40, 77], Operations: ['11*7=77'] Exploring Operation: 40-14=26, Resulting Numbers: [77, 26] Generated Node #0,2,0: 61:[77, 26] Operation: 40-14=26 Exploring Operation: 77-14=63, Resulting Numbers: [40, 63] Generated Node #0,2,1: 61:[40, 63] Operation: 77-14=63 Exploring Operation: 77-40=37, Resulting Numbers: [14, 37] Generated Node #0,2,2: 61:[14, 37] Operation: 77-40=37 Exploring Operation: 14+77=91, Resulting Numbers: [40, 91] Generated Node #0,2,3: 61:[40, 91] Operation: 14+77=91 Exploring Operation: 14+40=54, Resulting Numbers: [77, 54] Generated Node #0,2,4: 61:[77, 54] Operation: 14+40=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 61:[40, 63], Operations: ['11*7=77', '77-14=63'] Exploring Operation: 40+63=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 40*63=2520, Resulting Numbers: [2520] 2520,61 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,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,4 Current State: 61:[77, 54], Operations: ['11*7=77', '14+40=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,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:[77, 26], Operations: ['11*7=77', '40-14=26'] Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,61 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,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:[40, 91], Operations: ['11*7=77', '14+77=91'] Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,61 unequal: No Solution Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,61 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,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:[14, 37], Operations: ['11*7=77', '77-40=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,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,3 Current State: 61:[11, 40, 98], Operations: ['14*7=98'] Exploring Operation: 11+98=109, Resulting Numbers: [40, 109] Generated Node #0,3,0: 61:[40, 109] Operation: 11+98=109 Exploring Operation: 11+40=51, Resulting Numbers: [98, 51] Generated Node #0,3,1: 61:[98, 51] Operation: 11+40=51 Exploring Operation: 98-40=58, Resulting Numbers: [11, 58] Generated Node #0,3,2: 61:[11, 58] Operation: 98-40=58 Exploring Operation: 98-11=87, Resulting Numbers: [40, 87] Generated Node #0,3,3: 61:[40, 87] Operation: 98-11=87 Exploring Operation: 40-11=29, Resulting Numbers: [98, 29] Generated Node #0,3,4: 61:[98, 29] Operation: 40-11=29 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[98, 51], Operations: ['14*7=98', '11+40=51'] Exploring Operation: 98+51=149, Resulting Numbers: [149] 149,61 unequal: No Solution Exploring Operation: 98*51=4998, Resulting Numbers: [4998] 4998,61 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,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,3,3 Current State: 61:[40, 87], Operations: ['14*7=98', '98-11=87'] Exploring Operation: 40+87=127, Resulting Numbers: [127] 127,61 unequal: No Solution Exploring Operation: 40*87=3480, Resulting Numbers: [3480] 3480,61 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,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,3,2 Current State: 61:[11, 58], Operations: ['14*7=98', '98-40=58'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 11+58=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 11*58=638, Resulting Numbers: [638] 638,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,3,0 Current State: 61:[40, 109], Operations: ['14*7=98', '11+98=109'] Exploring Operation: 109-40=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 40*109=4360, Resulting Numbers: [4360] 4360,61 unequal: No Solution Exploring Operation: 40+109=149, Resulting Numbers: [149] 149,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,3,4 Current State: 61:[98, 29], Operations: ['14*7=98', '40-11=29'] Exploring Operation: 98*29=2842, Resulting Numbers: [2842] 2842,61 unequal: No Solution Exploring Operation: 98-29=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 98+29=127, Resulting Numbers: [127] 127,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,0 Current State: 61:[14, 40, 18], Operations: ['11+7=18'] Exploring Operation: 40-14=26, Resulting Numbers: [18, 26] Generated Node #0,0,0: 61:[18, 26] Operation: 40-14=26 Exploring Operation: 18-14=4, Resulting Numbers: [40, 4] Generated Node #0,0,1: 61:[40, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [40, 32] Generated Node #0,0,2: 61:[40, 32] Operation: 14+18=32 Exploring Operation: 40+18=58, Resulting Numbers: [14, 58] Generated Node #0,0,3: 61:[14, 58] Operation: 40+18=58 Exploring Operation: 14+40=54, Resulting Numbers: [18, 54] Generated Node #0,0,4: 61:[18, 54] Operation: 14+40=54 Moving to Node #0,0,2 Current State: 61:[40, 32], Operations: ['11+7=18', '14+18=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,61 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[18, 54], Operations: ['11+7=18', '14+40=54'] Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 18*54=972, Resulting Numbers: [972] 972,61 unequal: No Solution Exploring Operation: 18+54=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[14, 58], Operations: ['11+7=18', '40+18=58'] Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,61 unequal: No Solution Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[18, 26], Operations: ['11+7=18', '40-14=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,61 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[40, 4], Operations: ['11+7=18', '18-14=4'] Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,61 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[14, 7, 51], Operations: ['11+40=51'] Exploring Operation: 14-7=7, Resulting Numbers: [51, 7] Generated Node #0,1,0: 61:[51, 7] Operation: 14-7=7 Exploring Operation: 14*7=98, Resulting Numbers: [51, 98] Generated Node #0,1,1: 61:[51, 98] Operation: 14*7=98 Exploring Operation: 7+51=58, Resulting Numbers: [14, 58] Generated Node #0,1,2: 61:[14, 58] Operation: 7+51=58 Exploring Operation: 14+7=21, Resulting Numbers: [51, 21] Generated Node #0,1,3: 61:[51, 21] Operation: 14+7=21 Exploring Operation: 14+51=65, Resulting Numbers: [7, 65] Generated Node #0,1,4: 61:[7, 65] Operation: 14+51=65 Moving to Node #0,1,1 Current State: 61:[51, 98], Operations: ['11+40=51', '14*7=98'] Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,61 unequal: No Solution Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,61 unequal: No Solution Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[51, 21], Operations: ['11+40=51', '14+7=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,61 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[14, 58], Operations: ['11+40=51', '7+51=58'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,61 unequal: No Solution Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[7, 65], Operations: ['11+40=51', '14+51=65'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,61 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[51, 7], Operations: ['11+40=51', '14-7=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,61 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[40, 7, 25], Operations: ['11+14=25'] Exploring Operation: 7+25=32, Resulting Numbers: [40, 32] Generated Node #0,4,0: 61:[40, 32] Operation: 7+25=32 Exploring Operation: 40-7=33, Resulting Numbers: [25, 33] Generated Node #0,4,1: 61:[25, 33] Operation: 40-7=33 Exploring Operation: 25-7=18, Resulting Numbers: [40, 18] Generated Node #0,4,2: 61:[40, 18] Operation: 25-7=18 Exploring Operation: 40+25=65, Resulting Numbers: [7, 65] Generated Node #0,4,3: 61:[7, 65] Operation: 40+25=65 Exploring Operation: 40+7=47, Resulting Numbers: [25, 47] Generated Node #0,4,4: 61:[25, 47] Operation: 40+7=47 Moving to Node #0,4,0 Current State: 61:[40, 32], Operations: ['11+14=25', '7+25=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,61 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[25, 47], Operations: ['11+14=25', '40+7=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[7, 65], Operations: ['11+14=25', '40+25=65'] Exploring Operation: 65-7=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 7*65=455, Resulting Numbers: [455] 455,61 unequal: No Solution Exploring Operation: 7+65=72, Resulting Numbers: [72] 72,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[25, 33], Operations: ['11+14=25', '40-7=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,61 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,61 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[40, 18], Operations: ['11+14=25', '25-7=18'] Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,61 unequal: No Solution Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,61 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 82, 80, 4, 54 ]
32
[ "82-54=28", "4*28=112", "112-80=32" ]
Current State: 32:[82, 80, 4, 54], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [80, 4, 28] Generated Node #2: [80, 4, 28] from Operation: 82-54=28 Current State: 32:[80, 4, 28], Operations: ['82-54=28'] Exploring Operation: 4*28=112, Resulting Numbers: [80, 112] Generated Node #3: [80, 112] from Operation: 4*28=112 Current State: 32:[80, 112], Operations: ['82-54=28', '4*28=112'] Exploring Operation: 112-80=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[82, 80, 4, 54], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [4, 54, 2] Generated Node #0,0: 32:[4, 54, 2] Operation: 82-80=2 Exploring Operation: 82-54=28, Resulting Numbers: [80, 4, 28] Generated Node #0,1: 32:[80, 4, 28] Operation: 82-54=28 Moving to Node #0,0 Current State: 32:[4, 54, 2], Operations: ['82-80=2'] Exploring Operation: 54-4=50, Resulting Numbers: [2, 50] Generated Node #0,0,0: 32:[2, 50] Operation: 54-4=50 Exploring Operation: 54/2=27, Resulting Numbers: [4, 27] Generated Node #0,0,1: 32:[4, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 32:[80, 4, 28], Operations: ['82-54=28'] Exploring Operation: 80/4=20, Resulting Numbers: [28, 20] Generated Node #0,1,0: 32:[28, 20] Operation: 80/4=20 Exploring Operation: 80-28=52, Resulting Numbers: [4, 52] Generated Node #0,1,1: 32:[4, 52] Operation: 80-28=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[28, 20], Operations: ['82-54=28', '80/4=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,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,1,1 Current State: 32:[4, 52], Operations: ['82-54=28', '80-28=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,32 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: 32:[4, 27], Operations: ['82-80=2', '54/2=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[2, 50], Operations: ['82-80=2', '54-4=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,32 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 29, 46, 16 ]
14
[ "12+46=58", "58/29=2", "16-2=14" ]
Current State: 14:[12, 29, 46, 16], Operations: [] Exploring Operation: 12+46=58, Resulting Numbers: [29, 16, 58] Generated Node #2: [29, 16, 58] from Operation: 12+46=58 Current State: 14:[29, 16, 58], Operations: ['12+46=58'] Exploring Operation: 58/29=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 58/29=2 Current State: 14:[16, 2], Operations: ['12+46=58', '58/29=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[12, 29, 46, 16], Operations: [] Exploring Operation: 29-16=13, Resulting Numbers: [12, 46, 13] Generated Node #0,0: 14:[12, 46, 13] Operation: 29-16=13 Exploring Operation: 46-16=30, Resulting Numbers: [12, 29, 30] Generated Node #0,1: 14:[12, 29, 30] Operation: 46-16=30 Exploring Operation: 46-12=34, Resulting Numbers: [29, 16, 34] Generated Node #0,2: 14:[29, 16, 34] Operation: 46-12=34 Exploring Operation: 46-29=17, Resulting Numbers: [12, 16, 17] Generated Node #0,3: 14:[12, 16, 17] Operation: 46-29=17 Exploring Operation: 29-12=17, Resulting Numbers: [46, 16, 17] Generated Node #0,4: 14:[46, 16, 17] Operation: 29-12=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[12, 16, 17], Operations: ['46-29=17'] Exploring Operation: 17-16=1, Resulting Numbers: [12, 1] Generated Node #0,3,0: 14:[12, 1] Operation: 17-16=1 Exploring Operation: 17-12=5, Resulting Numbers: [16, 5] Generated Node #0,3,1: 14:[16, 5] Operation: 17-12=5 Exploring Operation: 12+16=28, Resulting Numbers: [17, 28] Generated Node #0,3,2: 14:[17, 28] Operation: 12+16=28 Exploring Operation: 16-12=4, Resulting Numbers: [17, 4] Generated Node #0,3,3: 14:[17, 4] Operation: 16-12=4 Exploring Operation: 12+17=29, Resulting Numbers: [16, 29] Generated Node #0,3,4: 14:[16, 29] Operation: 12+17=29 Moving to Node #0,3,0 Current State: 14:[12, 1], Operations: ['46-29=17', '17-16=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[16, 5], Operations: ['46-29=17', '17-12=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[17, 4], Operations: ['46-29=17', '16-12=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,14 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[17, 28], Operations: ['46-29=17', '12+16=28'] Exploring Operation: 17+28=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 17*28=476, Resulting Numbers: [476] 476,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[16, 29], Operations: ['46-29=17', '12+17=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,14 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,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 Current State: 14:[12, 29, 30], Operations: ['46-16=30'] Exploring Operation: 30-12=18, Resulting Numbers: [29, 18] Generated Node #0,1,0: 14:[29, 18] Operation: 30-12=18 Exploring Operation: 12+30=42, Resulting Numbers: [29, 42] Generated Node #0,1,1: 14:[29, 42] Operation: 12+30=42 Exploring Operation: 12+29=41, Resulting Numbers: [30, 41] Generated Node #0,1,2: 14:[30, 41] Operation: 12+29=41 Exploring Operation: 29-12=17, Resulting Numbers: [30, 17] Generated Node #0,1,3: 14:[30, 17] Operation: 29-12=17 Exploring Operation: 30-29=1, Resulting Numbers: [12, 1] Generated Node #0,1,4: 14:[12, 1] Operation: 30-29=1 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 14:[12, 1], Operations: ['46-16=30', '30-29=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,14 unequal: No Solution No 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: 14:[29, 18], Operations: ['46-16=30', '30-12=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,14 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,14 unequal: No Solution No 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: 14:[30, 17], Operations: ['46-16=30', '29-12=17'] Exploring Operation: 30+17=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 30*17=510, Resulting Numbers: [510] 510,14 unequal: No Solution No 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: 14:[29, 42], Operations: ['46-16=30', '12+30=42'] Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,14 unequal: No Solution Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,14 unequal: No Solution No 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: 14:[30, 41], Operations: ['46-16=30', '12+29=41'] Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,14 unequal: No Solution Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,14 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: 14:[12, 46, 13], Operations: ['29-16=13'] Exploring Operation: 12+46=58, Resulting Numbers: [13, 58] Generated Node #0,0,0: 14:[13, 58] Operation: 12+46=58 Exploring Operation: 13-12=1, Resulting Numbers: [46, 1] Generated Node #0,0,1: 14:[46, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [46, 25] Generated Node #0,0,2: 14:[46, 25] Operation: 12+13=25 Exploring Operation: 46-13=33, Resulting Numbers: [12, 33] Generated Node #0,0,3: 14:[12, 33] Operation: 46-13=33 Exploring Operation: 46-12=34, Resulting Numbers: [13, 34] Generated Node #0,0,4: 14:[13, 34] Operation: 46-12=34 Moving to Node #0,0,3 Current State: 14:[12, 33], Operations: ['29-16=13', '46-13=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,14 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[13, 34], Operations: ['29-16=13', '46-12=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 13*34=442, Resulting Numbers: [442] 442,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[46, 1], Operations: ['29-16=13', '13-12=1'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[46, 25], Operations: ['29-16=13', '12+13=25'] Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[13, 58], Operations: ['29-16=13', '12+46=58'] Exploring Operation: 13+58=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 13*58=754, Resulting Numbers: [754] 754,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,2 Current State: 14:[29, 16, 34], Operations: ['46-12=34'] Exploring Operation: 29+16=45, Resulting Numbers: [34, 45] Generated Node #0,2,0: 14:[34, 45] Operation: 29+16=45 Exploring Operation: 34-29=5, Resulting Numbers: [16, 5] Generated Node #0,2,1: 14:[16, 5] Operation: 34-29=5 Exploring Operation: 29+34=63, Resulting Numbers: [16, 63] Generated Node #0,2,2: 14:[16, 63] Operation: 29+34=63 Exploring Operation: 34-16=18, Resulting Numbers: [29, 18] Generated Node #0,2,3: 14:[29, 18] Operation: 34-16=18 Exploring Operation: 29-16=13, Resulting Numbers: [34, 13] Generated Node #0,2,4: 14:[34, 13] Operation: 29-16=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[16, 5], Operations: ['46-12=34', '34-29=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,14 unequal: No Solution No 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: 14:[29, 18], Operations: ['46-12=34', '34-16=18'] Exploring Operation: 29*18=522, Resulting Numbers: [522] 522,14 unequal: No Solution Exploring Operation: 29+18=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,14 unequal: No Solution No 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: 14:[34, 13], Operations: ['46-12=34', '29-16=13'] Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,14 unequal: No Solution Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,14 unequal: No Solution No 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: 14:[34, 45], Operations: ['46-12=34', '29+16=45'] Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,14 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,14 unequal: No Solution No 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: 14:[16, 63], Operations: ['46-12=34', '29+34=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 14:[46, 16, 17], Operations: ['29-12=17'] Exploring Operation: 46+17=63, Resulting Numbers: [16, 63] Generated Node #0,4,0: 14:[16, 63] Operation: 46+17=63 Exploring Operation: 46-17=29, Resulting Numbers: [16, 29] Generated Node #0,4,1: 14:[16, 29] Operation: 46-17=29 Exploring Operation: 46+16=62, Resulting Numbers: [17, 62] Generated Node #0,4,2: 14:[17, 62] Operation: 46+16=62 Exploring Operation: 46-16=30, Resulting Numbers: [17, 30] Generated Node #0,4,3: 14:[17, 30] Operation: 46-16=30 Exploring Operation: 17-16=1, Resulting Numbers: [46, 1] Generated Node #0,4,4: 14:[46, 1] Operation: 17-16=1 Moving to Node #0,4,1 Current State: 14:[16, 29], Operations: ['29-12=17', '46-17=29'] Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,14 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,14 unequal: No Solution Moving to Node #0,4,3 Current State: 14:[17, 30], Operations: ['29-12=17', '46-16=30'] Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,14 unequal: No Solution Moving to Node #0,4,4 Current State: 14:[46, 1], Operations: ['29-12=17', '17-16=1'] Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,14 unequal: No Solution Moving to Node #0,4,0 Current State: 14:[16, 63], Operations: ['29-12=17', '46+17=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,14 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,14 unequal: No Solution Moving to Node #0,4,2 Current State: 14:[17, 62], Operations: ['29-12=17', '46+16=62'] Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,14 unequal: No Solution Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 53, 32, 46, 7 ]
17
[ "53-46=7", "7*7=49", "49-32=17" ]
Current State: 17:[53, 32, 46, 7], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [32, 7, 7] Generated Node #2: [32, 7, 7] from Operation: 53-46=7 Current State: 17:[32, 7, 7], Operations: ['53-46=7'] Exploring Operation: 7*7=49, Resulting Numbers: [32, 49] Generated Node #3: [32, 49] from Operation: 7*7=49 Current State: 17:[32, 49], Operations: ['53-46=7', '7*7=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[53, 32, 46, 7], Operations: [] Exploring Operation: 53-46=7, Resulting Numbers: [32, 7, 7] Generated Node #0,0: 17:[32, 7, 7] Operation: 53-46=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[32, 7, 7], Operations: ['53-46=7'] Exploring Operation: 32-7=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 17:[7, 25] Operation: 32-7=25 Moving to Node #0,0,0 Current State: 17:[7, 25], Operations: ['53-46=7', '32-7=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,17 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
[ 47, 44, 76, 55 ]
63
[ "47-44=3", "76-55=21", "3*21=63" ]
Current State: 63:[47, 44, 76, 55], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [76, 55, 3] Generated Node #2: [76, 55, 3] from Operation: 47-44=3 Current State: 63:[76, 55, 3], Operations: ['47-44=3'] Exploring Operation: 76-55=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 76-55=21 Current State: 63:[3, 21], Operations: ['47-44=3', '76-55=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[47, 44, 76, 55], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [76, 55, 3] Generated Node #0,0: 63:[76, 55, 3] Operation: 47-44=3 Exploring Operation: 55-47=8, Resulting Numbers: [44, 76, 8] Generated Node #0,1: 63:[44, 76, 8] Operation: 55-47=8 Exploring Operation: 55-44=11, Resulting Numbers: [47, 76, 11] Generated Node #0,2: 63:[47, 76, 11] Operation: 55-44=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[76, 55, 3], Operations: ['47-44=3'] Exploring Operation: 55+3=58, Resulting Numbers: [76, 58] Generated Node #0,0,0: 63:[76, 58] Operation: 55+3=58 Exploring Operation: 76-55=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 76-55=21 Exploring Operation: 76-3=73, Resulting Numbers: [55, 73] Generated Node #0,0,2: 63:[55, 73] Operation: 76-3=73 Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['47-44=3', '76-55=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[47, 44, 76, 55], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [76, 55, 3] Generated Node #0,0: 63:[76, 55, 3] Operation: 47-44=3 Moving to Node #0,0 Current State: 63:[76, 55, 3], Operations: ['47-44=3'] Exploring Operation: 76-55=21, Resulting Numbers: [3, 21] Generated Node #0,0,1: 63:[3, 21] Operation: 76-55=21 Moving to Node #0,0,1 Current State: 63:[3, 21], Operations: ['47-44=3', '76-55=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 95, 81, 27 ]
23
[ "95-75=20", "81/27=3", "20+3=23" ]
Current State: 23:[75, 95, 81, 27], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [81, 27, 20] Generated Node #2: [81, 27, 20] from Operation: 95-75=20 Current State: 23:[81, 27, 20], Operations: ['95-75=20'] Exploring Operation: 81/27=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 81/27=3 Current State: 23:[20, 3], Operations: ['95-75=20', '81/27=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[75, 95, 81, 27], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [81, 27, 20] Generated Node #0,0: 23:[81, 27, 20] Operation: 95-75=20 Exploring Operation: 81/27=3, Resulting Numbers: [75, 95, 3] Generated Node #0,1: 23:[75, 95, 3] Operation: 81/27=3 Exploring Operation: 95-81=14, Resulting Numbers: [75, 27, 14] Generated Node #0,2: 23:[75, 27, 14] Operation: 95-81=14 Exploring Operation: 81-75=6, Resulting Numbers: [95, 27, 6] Generated Node #0,3: 23:[95, 27, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[81, 27, 20], Operations: ['95-75=20'] Exploring Operation: 27-20=7, Resulting Numbers: [81, 7] Generated Node #0,0,0: 23:[81, 7] Operation: 27-20=7 Exploring Operation: 81-27=54, Resulting Numbers: [20, 54] Generated Node #0,0,1: 23:[20, 54] Operation: 81-27=54 Exploring Operation: 81-20=61, Resulting Numbers: [27, 61] Generated Node #0,0,2: 23:[27, 61] Operation: 81-20=61 Exploring Operation: 81/27=3, Resulting Numbers: [20, 3] Generated Node #0,0,3: 23:[20, 3] Operation: 81/27=3 Moving to Node #0,0,3 Current State: 23:[20, 3], Operations: ['95-75=20', '81/27=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[75, 95, 81, 27], Operations: [] Exploring Operation: 95-75=20, Resulting Numbers: [81, 27, 20] Generated Node #0,0: 23:[81, 27, 20] Operation: 95-75=20 Moving to Node #0,0 Current State: 23:[81, 27, 20], Operations: ['95-75=20'] Exploring Operation: 81/27=3, Resulting Numbers: [20, 3] Generated Node #0,0,3: 23:[20, 3] Operation: 81/27=3 Moving to Node #0,0,3 Current State: 23:[20, 3], Operations: ['95-75=20', '81/27=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 3, 44, 64, 54 ]
54
[ "3*54=162", "44+64=108", "162-108=54" ]
Current State: 54:[3, 44, 64, 54], Operations: [] Exploring Operation: 3*54=162, Resulting Numbers: [44, 64, 162] Generated Node #2: [44, 64, 162] from Operation: 3*54=162 Current State: 54:[44, 64, 162], Operations: ['3*54=162'] Exploring Operation: 44+64=108, Resulting Numbers: [162, 108] Generated Node #3: [162, 108] from Operation: 44+64=108 Current State: 54:[162, 108], Operations: ['3*54=162', '44+64=108'] Exploring Operation: 162-108=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[3, 44, 64, 54], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [3, 54, 20] Generated Node #0,0: 54:[3, 54, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 54:[3, 54, 20], Operations: ['64-44=20'] Exploring Operation: 20-3=17, Resulting Numbers: [54, 17] Generated Node #0,0,0: 54:[54, 17] Operation: 20-3=17 Moving to Node #0,0,0 Current State: 54:[54, 17], Operations: ['64-44=20', '20-3=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,54 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 55, 95, 79, 60 ]
38
[ "79-55=24", "95*24=2280", "2280/60=38" ]
Current State: 38:[55, 95, 79, 60], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [95, 60, 24] Generated Node #2: [95, 60, 24] from Operation: 79-55=24 Current State: 38:[95, 60, 24], Operations: ['79-55=24'] Exploring Operation: 95*24=2280, Resulting Numbers: [60, 2280] Generated Node #3: [60, 2280] from Operation: 95*24=2280 Current State: 38:[60, 2280], Operations: ['79-55=24', '95*24=2280'] Exploring Operation: 2280/60=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[55, 95, 79, 60], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [79, 60, 40] Generated Node #0,0: 38:[79, 60, 40] Operation: 95-55=40 Exploring Operation: 95-79=16, Resulting Numbers: [55, 60, 16] Generated Node #0,1: 38:[55, 60, 16] Operation: 95-79=16 Exploring Operation: 95-60=35, Resulting Numbers: [55, 79, 35] Generated Node #0,2: 38:[55, 79, 35] Operation: 95-60=35 Moving to Node #0,1 Current State: 38:[55, 60, 16], Operations: ['95-79=16'] Exploring Operation: 60-16=44, Resulting Numbers: [55, 44] Generated Node #0,1,0: 38:[55, 44] Operation: 60-16=44 Exploring Operation: 60-55=5, Resulting Numbers: [16, 5] Generated Node #0,1,1: 38:[16, 5] Operation: 60-55=5 Exploring Operation: 55-16=39, Resulting Numbers: [60, 39] Generated Node #0,1,2: 38:[60, 39] Operation: 55-16=39 Moving to Node #0,2 Current State: 38:[55, 79, 35], Operations: ['95-60=35'] Exploring Operation: 55-35=20, Resulting Numbers: [79, 20] Generated Node #0,2,0: 38:[79, 20] Operation: 55-35=20 Exploring Operation: 79-35=44, Resulting Numbers: [55, 44] Generated Node #0,2,1: 38:[55, 44] Operation: 79-35=44 Exploring Operation: 79-55=24, Resulting Numbers: [35, 24] Generated Node #0,2,2: 38:[35, 24] Operation: 79-55=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[35, 24], Operations: ['95-60=35', '79-55=24'] Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,38 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,38 unequal: No Solution No 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: 38:[55, 44], Operations: ['95-60=35', '79-35=44'] Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,38 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,38 unequal: No Solution No 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: 38:[79, 20], Operations: ['95-60=35', '55-35=20'] Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,38 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,38 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: 38:[79, 60, 40], Operations: ['95-55=40'] Exploring Operation: 60-40=20, Resulting Numbers: [79, 20] Generated Node #0,0,0: 38:[79, 20] Operation: 60-40=20 Exploring Operation: 79-60=19, Resulting Numbers: [40, 19] Generated Node #0,0,1: 38:[40, 19] Operation: 79-60=19 Exploring Operation: 79-40=39, Resulting Numbers: [60, 39] Generated Node #0,0,2: 38:[60, 39] Operation: 79-40=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[40, 19], Operations: ['95-55=40', '79-60=19'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,38 unequal: No Solution No 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: 38:[60, 39], Operations: ['95-55=40', '79-40=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,38 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,38 unequal: No Solution No 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: 38:[79, 20], Operations: ['95-55=40', '60-40=20'] Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,38 unequal: No Solution Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 38:[16, 5], Operations: ['95-79=16', '60-55=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[55, 44], Operations: ['95-79=16', '60-16=44'] Exploring Operation: 55*44=2420, Resulting Numbers: [2420] 2420,38 unequal: No Solution Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,38 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[60, 39], Operations: ['95-79=16', '55-16=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,38 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,38 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,38 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 96, 56, 44, 34 ]
25
[ "44*34=1496", "1496-96=1400", "1400/56=25" ]
Current State: 25:[96, 56, 44, 34], Operations: [] Exploring Operation: 44*34=1496, Resulting Numbers: [96, 56, 1496] Generated Node #2: [96, 56, 1496] from Operation: 44*34=1496 Current State: 25:[96, 56, 1496], Operations: ['44*34=1496'] Exploring Operation: 1496-96=1400, Resulting Numbers: [56, 1400] Generated Node #3: [56, 1400] from Operation: 1496-96=1400 Current State: 25:[56, 1400], Operations: ['44*34=1496', '1496-96=1400'] Exploring Operation: 1400/56=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[96, 56, 44, 34], Operations: [] Exploring Operation: 56-44=12, Resulting Numbers: [96, 34, 12] Generated Node #0,0: 25:[96, 34, 12] Operation: 56-44=12 Exploring Operation: 96-56=40, Resulting Numbers: [44, 34, 40] Generated Node #0,1: 25:[44, 34, 40] Operation: 96-56=40 Exploring Operation: 96-34=62, Resulting Numbers: [56, 44, 62] Generated Node #0,2: 25:[56, 44, 62] Operation: 96-34=62 Exploring Operation: 96-44=52, Resulting Numbers: [56, 34, 52] Generated Node #0,3: 25:[56, 34, 52] Operation: 96-44=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[44, 34, 40], Operations: ['96-56=40'] Exploring Operation: 44-40=4, Resulting Numbers: [34, 4] Generated Node #0,1,0: 25:[34, 4] Operation: 44-40=4 Exploring Operation: 40-34=6, Resulting Numbers: [44, 6] Generated Node #0,1,1: 25:[44, 6] Operation: 40-34=6 Exploring Operation: 44+34=78, Resulting Numbers: [40, 78] Generated Node #0,1,2: 25:[40, 78] Operation: 44+34=78 Exploring Operation: 44-34=10, Resulting Numbers: [40, 10] Generated Node #0,1,3: 25:[40, 10] Operation: 44-34=10 Moving to Node #0,1,0 Current State: 25:[34, 4], Operations: ['96-56=40', '44-40=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[40, 10], Operations: ['96-56=40', '44-34=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 40*10=400, Resulting Numbers: [400] 400,25 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 40+10=50, Resulting Numbers: [50] 50,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[44, 6], Operations: ['96-56=40', '40-34=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[40, 78], Operations: ['96-56=40', '44+34=78'] Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,25 unequal: No Solution Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[56, 34, 52], Operations: ['96-44=52'] Exploring Operation: 56-34=22, Resulting Numbers: [52, 22] Generated Node #0,3,0: 25:[52, 22] Operation: 56-34=22 Exploring Operation: 56+34=90, Resulting Numbers: [52, 90] Generated Node #0,3,1: 25:[52, 90] Operation: 56+34=90 Exploring Operation: 52-34=18, Resulting Numbers: [56, 18] Generated Node #0,3,2: 25:[56, 18] Operation: 52-34=18 Exploring Operation: 56-52=4, Resulting Numbers: [34, 4] Generated Node #0,3,3: 25:[34, 4] Operation: 56-52=4 Moving to Node #0,3,3 Current State: 25:[34, 4], Operations: ['96-44=52', '56-52=4'] Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,25 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[52, 22], Operations: ['96-44=52', '56-34=22'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,25 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[56, 18], Operations: ['96-44=52', '52-34=18'] Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,25 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[52, 90], Operations: ['96-44=52', '56+34=90'] Exploring Operation: 52+90=142, Resulting Numbers: [142] 142,25 unequal: No Solution Exploring Operation: 52*90=4680, Resulting Numbers: [4680] 4680,25 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[96, 34, 12], Operations: ['56-44=12'] Exploring Operation: 96-34=62, Resulting Numbers: [12, 62] Generated Node #0,0,0: 25:[12, 62] Operation: 96-34=62 Exploring Operation: 96-12=84, Resulting Numbers: [34, 84] Generated Node #0,0,1: 25:[34, 84] Operation: 96-12=84 Exploring Operation: 34-12=22, Resulting Numbers: [96, 22] Generated Node #0,0,2: 25:[96, 22] Operation: 34-12=22 Exploring Operation: 96/12=8, Resulting Numbers: [34, 8] Generated Node #0,0,3: 25:[34, 8] Operation: 96/12=8 Moving to Node #0,0,3 Current State: 25:[34, 8], Operations: ['56-44=12', '96/12=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,25 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[12, 62], Operations: ['56-44=12', '96-34=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[34, 84], Operations: ['56-44=12', '96-12=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,25 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[96, 22], Operations: ['56-44=12', '34-12=22'] Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,25 unequal: No Solution Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,25 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[56, 44, 62], Operations: ['96-34=62'] Exploring Operation: 62-44=18, Resulting Numbers: [56, 18] Generated Node #0,2,0: 25:[56, 18] Operation: 62-44=18 Exploring Operation: 56+44=100, Resulting Numbers: [62, 100] Generated Node #0,2,1: 25:[62, 100] Operation: 56+44=100 Exploring Operation: 56-44=12, Resulting Numbers: [62, 12] Generated Node #0,2,2: 25:[62, 12] Operation: 56-44=12 Exploring Operation: 62-56=6, Resulting Numbers: [44, 6] Generated Node #0,2,3: 25:[44, 6] Operation: 62-56=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[44, 6], Operations: ['96-34=62', '62-56=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,25 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,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,2,0 Current State: 25:[56, 18], Operations: ['96-34=62', '62-44=18'] Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,25 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,25 unequal: No Solution Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,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,2,2 Current State: 25:[62, 12], Operations: ['96-34=62', '56-44=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,25 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,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,2,1 Current State: 25:[62, 100], Operations: ['96-34=62', '56+44=100'] Exploring Operation: 100-62=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 62*100=6200, Resulting Numbers: [6200] 6200,25 unequal: No Solution Exploring Operation: 62+100=162, Resulting Numbers: [162] 162,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 No solution found.
0
hs_4
mult_heuristic
[ 4, 37, 37, 42 ]
69
[ "4*37=148", "37+42=79", "148-79=69" ]
Current State: 69:[4, 37, 37, 42], Operations: [] Exploring Operation: 4*37=148, Resulting Numbers: [42, 148] Generated Node #2: [42, 148] from Operation: 4*37=148 Current State: 69:[42, 148], Operations: ['4*37=148'] Exploring Operation: 37+42=79, Resulting Numbers: [148, 79] Generated Node #3: [148, 79] from Operation: 37+42=79 Current State: 69:[148, 79], Operations: ['4*37=148', '37+42=79'] Exploring Operation: 148-79=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[4, 37, 37, 42], Operations: [] Exploring Operation: 37/37=1, Resulting Numbers: [4, 42, 1] Generated Node #0,0: 69:[4, 42, 1] Operation: 37/37=1 Exploring Operation: 42-37=5, Resulting Numbers: [4, 37, 5] Generated Node #0,1: 69:[4, 37, 5] Operation: 42-37=5 Exploring Operation: 42-37=5, Resulting Numbers: [4, 37, 5] Generated Node #0,2: 69:[4, 37, 5] Operation: 42-37=5 Moving to Node #0,1 Current State: 69:[4, 37, 5], Operations: ['42-37=5'] Exploring Operation: 5-4=1, Resulting Numbers: [37, 1] Generated Node #0,1,0: 69:[37, 1] Operation: 5-4=1 Exploring Operation: 37-4=33, Resulting Numbers: [5, 33] Generated Node #0,1,1: 69:[5, 33] Operation: 37-4=33 Exploring Operation: 37-5=32, Resulting Numbers: [4, 32] Generated Node #0,1,2: 69:[4, 32] Operation: 37-5=32 Moving to Node #0,2 Current State: 69:[4, 37, 5], Operations: ['42-37=5'] Exploring Operation: 5-4=1, Resulting Numbers: [37, 1] Generated Node #0,2,0: 69:[37, 1] Operation: 5-4=1 Exploring Operation: 37-4=33, Resulting Numbers: [5, 33] Generated Node #0,2,1: 69:[5, 33] Operation: 37-4=33 Exploring Operation: 37-5=32, Resulting Numbers: [4, 32] Generated Node #0,2,2: 69:[4, 32] Operation: 37-5=32 Moving to Node #0,0 Current State: 69:[4, 42, 1], Operations: ['37/37=1'] Exploring Operation: 42-1=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 69:[4, 41] Operation: 42-1=41 Exploring Operation: 42-4=38, Resulting Numbers: [1, 38] Generated Node #0,0,1: 69:[1, 38] Operation: 42-4=38 Exploring Operation: 4-1=3, Resulting Numbers: [42, 3] Generated Node #0,0,2: 69:[42, 3] Operation: 4-1=3 Moving to Node #0,1,2 Current State: 69:[4, 32], Operations: ['42-37=5', '37-5=32'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[4, 32], Operations: ['42-37=5', '37-5=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[5, 33], Operations: ['42-37=5', '37-4=33'] Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,69 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[5, 33], Operations: ['42-37=5', '37-4=33'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 5+33=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 5*33=165, Resulting Numbers: [165] 165,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[37, 1], Operations: ['42-37=5', '5-4=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[37, 1], Operations: ['42-37=5', '5-4=1'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[1, 38], Operations: ['37/37=1', '42-4=38'] Exploring Operation: 1*38=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[4, 41], Operations: ['37/37=1', '42-1=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,69 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[42, 3], Operations: ['37/37=1', '4-1=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 19, 81, 61, 66 ]
65
[ "81-19=62", "61+66=127", "127-62=65" ]
Current State: 65:[19, 81, 61, 66], Operations: [] Exploring Operation: 81-19=62, Resulting Numbers: [61, 66, 62] Generated Node #2: [61, 66, 62] from Operation: 81-19=62 Current State: 65:[61, 66, 62], Operations: ['81-19=62'] Exploring Operation: 61+66=127, Resulting Numbers: [62, 127] Generated Node #3: [62, 127] from Operation: 61+66=127 Current State: 65:[62, 127], Operations: ['81-19=62', '61+66=127'] Exploring Operation: 127-62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[19, 81, 61, 66], Operations: [] Exploring Operation: 81-19=62, Resulting Numbers: [61, 66, 62] Generated Node #0,0: 65:[61, 66, 62] Operation: 81-19=62 Exploring Operation: 81-61=20, Resulting Numbers: [19, 66, 20] Generated Node #0,1: 65:[19, 66, 20] Operation: 81-61=20 Exploring Operation: 81-66=15, Resulting Numbers: [19, 61, 15] Generated Node #0,2: 65:[19, 61, 15] Operation: 81-66=15 Exploring Operation: 66-61=5, Resulting Numbers: [19, 81, 5] Generated Node #0,3: 65:[19, 81, 5] Operation: 66-61=5 Exploring Operation: 19+61=80, Resulting Numbers: [81, 66, 80] Generated Node #0,4: 65:[81, 66, 80] Operation: 19+61=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[61, 66, 62], Operations: ['81-19=62'] Exploring Operation: 61+62=123, Resulting Numbers: [66, 123] Generated Node #0,0,0: 65:[66, 123] Operation: 61+62=123 Exploring Operation: 66-61=5, Resulting Numbers: [62, 5] Generated Node #0,0,1: 65:[62, 5] Operation: 66-61=5 Exploring Operation: 61+66=127, Resulting Numbers: [62, 127] Generated Node #0,0,2: 65:[62, 127] Operation: 61+66=127 Exploring Operation: 62-61=1, Resulting Numbers: [66, 1] Generated Node #0,0,3: 65:[66, 1] Operation: 62-61=1 Exploring Operation: 66-62=4, Resulting Numbers: [61, 4] Generated Node #0,0,4: 65:[61, 4] Operation: 66-62=4 Moving to Node #0,0,1 Current State: 65:[62, 5], Operations: ['81-19=62', '66-61=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,65 unequal: No Solution Moving to Node #0,0,4 Current State: 65:[61, 4], Operations: ['81-19=62', '66-62=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,65 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[19, 81, 61, 66], Operations: [] Exploring Operation: 81-19=62, Resulting Numbers: [61, 66, 62] Generated Node #0,0: 65:[61, 66, 62] Operation: 81-19=62 Moving to Node #0,0 Current State: 65:[61, 66, 62], Operations: ['81-19=62'] Exploring Operation: 66-62=4, Resulting Numbers: [61, 4] Generated Node #0,0,4: 65:[61, 4] Operation: 66-62=4 Moving to Node #0,0,4 Current State: 65:[61, 4], Operations: ['81-19=62', '66-62=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 68, 30, 52, 12 ]
34
[ "68+30=98", "52+12=64", "98-64=34" ]
Current State: 34:[68, 30, 52, 12], Operations: [] Exploring Operation: 68+30=98, Resulting Numbers: [52, 12, 98] Generated Node #2: [52, 12, 98] from Operation: 68+30=98 Current State: 34:[52, 12, 98], Operations: ['68+30=98'] Exploring Operation: 52+12=64, Resulting Numbers: [98, 64] Generated Node #3: [98, 64] from Operation: 52+12=64 Current State: 34:[98, 64], Operations: ['68+30=98', '52+12=64'] Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[68, 30, 52, 12], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [68, 12, 22] Generated Node #0,0: 34:[68, 12, 22] Operation: 52-30=22 Exploring Operation: 68-52=16, Resulting Numbers: [30, 12, 16] Generated Node #0,1: 34:[30, 12, 16] Operation: 68-52=16 Exploring Operation: 68-30=38, Resulting Numbers: [52, 12, 38] Generated Node #0,2: 34:[52, 12, 38] Operation: 68-30=38 Exploring Operation: 52-12=40, Resulting Numbers: [68, 30, 40] Generated Node #0,3: 34:[68, 30, 40] Operation: 52-12=40 Exploring Operation: 68-12=56, Resulting Numbers: [30, 52, 56] Generated Node #0,4: 34:[30, 52, 56] Operation: 68-12=56 Moving to Node #0,1 Current State: 34:[30, 12, 16], Operations: ['68-52=16'] Exploring Operation: 30+12=42, Resulting Numbers: [16, 42] Generated Node #0,1,0: 34:[16, 42] Operation: 30+12=42 Exploring Operation: 16-12=4, Resulting Numbers: [30, 4] Generated Node #0,1,1: 34:[30, 4] Operation: 16-12=4 Exploring Operation: 30-12=18, Resulting Numbers: [16, 18] Generated Node #0,1,2: 34:[16, 18] Operation: 30-12=18 Exploring Operation: 30-16=14, Resulting Numbers: [12, 14] Generated Node #0,1,3: 34:[12, 14] Operation: 30-16=14 Exploring Operation: 12+16=28, Resulting Numbers: [30, 28] Generated Node #0,1,4: 34:[30, 28] Operation: 12+16=28 Moving to Node #0,2 Current State: 34:[52, 12, 38], Operations: ['68-30=38'] Exploring Operation: 52-12=40, Resulting Numbers: [38, 40] Generated Node #0,2,0: 34:[38, 40] Operation: 52-12=40 Exploring Operation: 12+38=50, Resulting Numbers: [52, 50] Generated Node #0,2,1: 34:[52, 50] Operation: 12+38=50 Exploring Operation: 52-38=14, Resulting Numbers: [12, 14] Generated Node #0,2,2: 34:[12, 14] Operation: 52-38=14 Exploring Operation: 38-12=26, Resulting Numbers: [52, 26] Generated Node #0,2,3: 34:[52, 26] Operation: 38-12=26 Exploring Operation: 52+12=64, Resulting Numbers: [38, 64] Generated Node #0,2,4: 34:[38, 64] Operation: 52+12=64 Moving to Node #0,0 Current State: 34:[68, 12, 22], Operations: ['52-30=22'] Exploring Operation: 68-12=56, Resulting Numbers: [22, 56] Generated Node #0,0,0: 34:[22, 56] Operation: 68-12=56 Exploring Operation: 12+22=34, Resulting Numbers: [68, 34] Generated Node #0,0,1: 34:[68, 34] Operation: 12+22=34 Exploring Operation: 22-12=10, Resulting Numbers: [68, 10] Generated Node #0,0,2: 34:[68, 10] Operation: 22-12=10 Exploring Operation: 68-22=46, Resulting Numbers: [12, 46] Generated Node #0,0,3: 34:[12, 46] Operation: 68-22=46 Exploring Operation: 68+12=80, Resulting Numbers: [22, 80] Generated Node #0,0,4: 34:[22, 80] Operation: 68+12=80 Moving to Node #0,3 Current State: 34:[68, 30, 40], Operations: ['52-12=40'] Exploring Operation: 68+30=98, Resulting Numbers: [40, 98] Generated Node #0,3,0: 34:[40, 98] Operation: 68+30=98 Exploring Operation: 40-30=10, Resulting Numbers: [68, 10] Generated Node #0,3,1: 34:[68, 10] Operation: 40-30=10 Exploring Operation: 68-30=38, Resulting Numbers: [40, 38] Generated Node #0,3,2: 34:[40, 38] Operation: 68-30=38 Exploring Operation: 30+40=70, Resulting Numbers: [68, 70] Generated Node #0,3,3: 34:[68, 70] Operation: 30+40=70 Exploring Operation: 68-40=28, Resulting Numbers: [30, 28] Generated Node #0,3,4: 34:[30, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[40, 38], Operations: ['52-12=40', '68-30=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,34 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,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,4 Current State: 34:[30, 28], Operations: ['52-12=40', '68-40=28'] Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,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,1 Current State: 34:[68, 10], Operations: ['52-12=40', '40-30=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 68*10=680, Resulting Numbers: [680] 680,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:[40, 98], Operations: ['52-12=40', '68+30=98'] Exploring Operation: 40*98=3920, Resulting Numbers: [3920] 3920,34 unequal: No Solution Exploring Operation: 40+98=138, Resulting Numbers: [138] 138,34 unequal: No Solution Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,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:[68, 70], Operations: ['52-12=40', '30+40=70'] Exploring Operation: 68*70=4760, Resulting Numbers: [4760] 4760,34 unequal: No Solution Exploring Operation: 68+70=138, Resulting Numbers: [138] 138,34 unequal: No Solution Exploring Operation: 70-68=2, Resulting Numbers: [2] 2,34 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: 34:[30, 52, 56], Operations: ['68-12=56'] Exploring Operation: 30+52=82, Resulting Numbers: [56, 82] Generated Node #0,4,0: 34:[56, 82] Operation: 30+52=82 Exploring Operation: 56-52=4, Resulting Numbers: [30, 4] Generated Node #0,4,1: 34:[30, 4] Operation: 56-52=4 Exploring Operation: 56-30=26, Resulting Numbers: [52, 26] Generated Node #0,4,2: 34:[52, 26] Operation: 56-30=26 Exploring Operation: 30+56=86, Resulting Numbers: [52, 86] Generated Node #0,4,3: 34:[52, 86] Operation: 30+56=86 Exploring Operation: 52-30=22, Resulting Numbers: [56, 22] Generated Node #0,4,4: 34:[56, 22] Operation: 52-30=22 Moving to Node #0,1,2 Current State: 34:[16, 18], Operations: ['68-52=16', '30-12=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,34 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[68, 30, 52, 12], Operations: [] Exploring Operation: 68-52=16, Resulting Numbers: [30, 12, 16] Generated Node #0,1: 34:[30, 12, 16] Operation: 68-52=16 Moving to Node #0,1 Current State: 34:[30, 12, 16], Operations: ['68-52=16'] Exploring Operation: 30-12=18, Resulting Numbers: [16, 18] Generated Node #0,1,2: 34:[16, 18] Operation: 30-12=18 Moving to Node #0,1,2 Current State: 34:[16, 18], Operations: ['68-52=16', '30-12=18'] Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 4, 96, 95, 95 ]
93
[ "96-4=92", "95/95=1", "92+1=93" ]
Current State: 93:[4, 96, 95, 95], Operations: [] Exploring Operation: 96-4=92, Resulting Numbers: [95, 95, 92] Generated Node #2: [95, 95, 92] from Operation: 96-4=92 Current State: 93:[95, 95, 92], Operations: ['96-4=92'] Exploring Operation: 95/95=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 95/95=1 Current State: 93:[92, 1], Operations: ['96-4=92', '95/95=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[4, 96, 95, 95], Operations: [] Exploring Operation: 96-4=92, Resulting Numbers: [95, 95, 92] Generated Node #0,0: 93:[95, 95, 92] Operation: 96-4=92 Exploring Operation: 96-95=1, Resulting Numbers: [4, 95, 1] Generated Node #0,1: 93:[4, 95, 1] Operation: 96-95=1 Exploring Operation: 96-95=1, Resulting Numbers: [4, 95, 1] Generated Node #0,2: 93:[4, 95, 1] Operation: 96-95=1 Exploring Operation: 95/95=1, Resulting Numbers: [4, 96, 1] Generated Node #0,3: 93:[4, 96, 1] Operation: 95/95=1 Moving to Node #0,0 Current State: 93:[95, 95, 92], Operations: ['96-4=92'] Exploring Operation: 95-92=3, Resulting Numbers: [95, 3] Generated Node #0,0,0: 93:[95, 3] Operation: 95-92=3 Exploring Operation: 95/95=1, Resulting Numbers: [92, 1] Generated Node #0,0,1: 93:[92, 1] Operation: 95/95=1 Exploring Operation: 95-92=3, Resulting Numbers: [95, 3] Generated Node #0,0,2: 93:[95, 3] Operation: 95-92=3 Exploring Operation: 95-95=0, Resulting Numbers: [92, 0] Generated Node #0,0,3: 93:[92, 0] Operation: 95-95=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[95, 3], Operations: ['96-4=92', '95-92=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,93 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,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,2 Current State: 93:[95, 3], Operations: ['96-4=92', '95-92=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,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,1 Current State: 93:[92, 1], Operations: ['96-4=92', '95/95=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[4, 96, 95, 95], Operations: [] Exploring Operation: 96-4=92, Resulting Numbers: [95, 95, 92] Generated Node #0,0: 93:[95, 95, 92] Operation: 96-4=92 Moving to Node #0,0 Current State: 93:[95, 95, 92], Operations: ['96-4=92'] Exploring Operation: 95/95=1, Resulting Numbers: [92, 1] Generated Node #0,0,1: 93:[92, 1] Operation: 95/95=1 Moving to Node #0,0,1 Current State: 93:[92, 1], Operations: ['96-4=92', '95/95=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 96, 91, 9, 12 ]
90
[ "96/12=8", "91-9=82", "8+82=90" ]
Current State: 90:[96, 91, 9, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [91, 9, 8] Generated Node #2: [91, 9, 8] from Operation: 96/12=8 Current State: 90:[91, 9, 8], Operations: ['96/12=8'] Exploring Operation: 91-9=82, Resulting Numbers: [8, 82] Generated Node #3: [8, 82] from Operation: 91-9=82 Current State: 90:[8, 82], Operations: ['96/12=8', '91-9=82'] Exploring Operation: 8+82=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[96, 91, 9, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [91, 9, 8] Generated Node #0,0: 90:[91, 9, 8] Operation: 96/12=8 Exploring Operation: 96-91=5, Resulting Numbers: [9, 12, 5] Generated Node #0,1: 90:[9, 12, 5] Operation: 96-91=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[91, 9, 8], Operations: ['96/12=8'] Exploring Operation: 9+8=17, Resulting Numbers: [91, 17] Generated Node #0,0,0: 90:[91, 17] Operation: 9+8=17 Exploring Operation: 9-8=1, Resulting Numbers: [91, 1] Generated Node #0,0,1: 90:[91, 1] Operation: 9-8=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[91, 17], Operations: ['96/12=8', '9+8=17'] Exploring Operation: 91+17=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 91-17=74, Resulting Numbers: [74] 74,90 unequal: No Solution No 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: 90:[91, 1], Operations: ['96/12=8', '9-8=1'] Exploring Operation: 91*1=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[96, 91, 9, 12], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [91, 9, 8] Generated Node #0,0: 90:[91, 9, 8] Operation: 96/12=8 Moving to Node #0,0 Current State: 90:[91, 9, 8], Operations: ['96/12=8'] Exploring Operation: 9-8=1, Resulting Numbers: [91, 1] Generated Node #0,0,1: 90:[91, 1] Operation: 9-8=1 Moving to Node #0,0,1 Current State: 90:[91, 1], Operations: ['96/12=8', '9-8=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 69, 66, 29, 89 ]
20
[ "69-66=3", "89-29=60", "60/3=20" ]
Current State: 20:[69, 66, 29, 89], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [29, 89, 3] Generated Node #2: [29, 89, 3] from Operation: 69-66=3 Current State: 20:[29, 89, 3], Operations: ['69-66=3'] Exploring Operation: 89-29=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 89-29=60 Current State: 20:[3, 60], Operations: ['69-66=3', '89-29=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[69, 66, 29, 89], Operations: [] Exploring Operation: 89-69=20, Resulting Numbers: [66, 29, 20] Generated Node #0,0: 20:[66, 29, 20] Operation: 89-69=20 Moving to Node #0,0 Current State: 20:[66, 29, 20], Operations: ['89-69=20'] Exploring Operation: 66-29=37, Resulting Numbers: [20, 37] Generated Node #0,0,0: 20:[20, 37] Operation: 66-29=37 Moving to Node #0,0,0 Current State: 20:[20, 37], Operations: ['89-69=20', '66-29=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,20 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 53, 78, 20 ]
57
[ "53-52=1", "78-20=58", "58-1=57" ]
Current State: 57:[52, 53, 78, 20], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [78, 20, 1] Generated Node #2: [78, 20, 1] from Operation: 53-52=1 Current State: 57:[78, 20, 1], Operations: ['53-52=1'] Exploring Operation: 78-20=58, Resulting Numbers: [1, 58] Generated Node #3: [1, 58] from Operation: 78-20=58 Current State: 57:[1, 58], Operations: ['53-52=1', '78-20=58'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[52, 53, 78, 20], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [53, 20, 26] Generated Node #0,0: 57:[53, 20, 26] Operation: 78-52=26 Exploring Operation: 78-20=58, Resulting Numbers: [52, 53, 58] Generated Node #0,1: 57:[52, 53, 58] Operation: 78-20=58 Moving to Node #0,1 Current State: 57:[52, 53, 58], Operations: ['78-20=58'] Exploring Operation: 58-52=6, Resulting Numbers: [53, 6] Generated Node #0,1,0: 57:[53, 6] Operation: 58-52=6 Exploring Operation: 53-52=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 57:[58, 1] Operation: 53-52=1 Moving to Node #0,0 Current State: 57:[53, 20, 26], Operations: ['78-52=26'] Exploring Operation: 26-20=6, Resulting Numbers: [53, 6] Generated Node #0,0,0: 57:[53, 6] Operation: 26-20=6 Exploring Operation: 53-26=27, Resulting Numbers: [20, 27] Generated Node #0,0,1: 57:[20, 27] Operation: 53-26=27 Moving to Node #0,1,1 Current State: 57:[58, 1], Operations: ['78-20=58', '53-52=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[52, 53, 78, 20], Operations: [] Exploring Operation: 78-20=58, Resulting Numbers: [52, 53, 58] Generated Node #0,1: 57:[52, 53, 58] Operation: 78-20=58 Moving to Node #0,1 Current State: 57:[52, 53, 58], Operations: ['78-20=58'] Exploring Operation: 53-52=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 57:[58, 1] Operation: 53-52=1 Moving to Node #0,1,1 Current State: 57:[58, 1], Operations: ['78-20=58', '53-52=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 12, 2, 51, 57 ]
94
[ "12+2=14", "51+57=108", "108-14=94" ]
Current State: 94:[12, 2, 51, 57], Operations: [] Exploring Operation: 12+2=14, Resulting Numbers: [51, 57, 14] Generated Node #2: [51, 57, 14] from Operation: 12+2=14 Current State: 94:[51, 57, 14], Operations: ['12+2=14'] Exploring Operation: 51+57=108, Resulting Numbers: [14, 108] Generated Node #3: [14, 108] from Operation: 51+57=108 Current State: 94:[14, 108], Operations: ['12+2=14', '51+57=108'] Exploring Operation: 108-14=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[12, 2, 51, 57], Operations: [] Exploring Operation: 57-12=45, Resulting Numbers: [2, 51, 45] Generated Node #0,0: 94:[2, 51, 45] Operation: 57-12=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[2, 51, 45], Operations: ['57-12=45'] Exploring Operation: 51+45=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 51+45=96 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['57-12=45', '51+45=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[12, 2, 51, 57], Operations: [] Exploring Operation: 57-12=45, Resulting Numbers: [2, 51, 45] Generated Node #0,0: 94:[2, 51, 45] Operation: 57-12=45 Moving to Node #0,0 Current State: 94:[2, 51, 45], Operations: ['57-12=45'] Exploring Operation: 51+45=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 94:[2, 96] Operation: 51+45=96 Moving to Node #0,0,0 Current State: 94:[2, 96], Operations: ['57-12=45', '51+45=96'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 16, 51, 66, 64 ]
60
[ "64/16=4", "66-51=15", "4*15=60" ]
Current State: 60:[16, 51, 66, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [51, 66, 4] Generated Node #2: [51, 66, 4] from Operation: 64/16=4 Current State: 60:[51, 66, 4], Operations: ['64/16=4'] Exploring Operation: 66-51=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 66-51=15 Current State: 60:[4, 15], Operations: ['64/16=4', '66-51=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[16, 51, 66, 64], Operations: [] Exploring Operation: 51-16=35, Resulting Numbers: [66, 64, 35] Generated Node #0,0: 60:[66, 64, 35] Operation: 51-16=35 Exploring Operation: 64/16=4, Resulting Numbers: [51, 66, 4] Generated Node #0,1: 60:[51, 66, 4] Operation: 64/16=4 Exploring Operation: 66-51=15, Resulting Numbers: [16, 64, 15] Generated Node #0,2: 60:[16, 64, 15] Operation: 66-51=15 Exploring Operation: 66-64=2, Resulting Numbers: [16, 51, 2] Generated Node #0,3: 60:[16, 51, 2] Operation: 66-64=2 Exploring Operation: 64-51=13, Resulting Numbers: [16, 66, 13] Generated Node #0,4: 60:[16, 66, 13] Operation: 64-51=13 Moving to Node #0,2 Current State: 60:[16, 64, 15], Operations: ['66-51=15'] Exploring Operation: 16+15=31, Resulting Numbers: [64, 31] Generated Node #0,2,0: 60:[64, 31] Operation: 16+15=31 Exploring Operation: 16-15=1, Resulting Numbers: [64, 1] Generated Node #0,2,1: 60:[64, 1] Operation: 16-15=1 Exploring Operation: 64/16=4, Resulting Numbers: [15, 4] Generated Node #0,2,2: 60:[15, 4] Operation: 64/16=4 Exploring Operation: 64-15=49, Resulting Numbers: [16, 49] Generated Node #0,2,3: 60:[16, 49] Operation: 64-15=49 Exploring Operation: 64-16=48, Resulting Numbers: [15, 48] Generated Node #0,2,4: 60:[15, 48] Operation: 64-16=48 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 60:[15, 4], Operations: ['66-51=15', '64/16=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[16, 51, 66, 64], Operations: [] Exploring Operation: 66-51=15, Resulting Numbers: [16, 64, 15] Generated Node #0,2: 60:[16, 64, 15] Operation: 66-51=15 Moving to Node #0,2 Current State: 60:[16, 64, 15], Operations: ['66-51=15'] Exploring Operation: 64/16=4, Resulting Numbers: [15, 4] Generated Node #0,2,2: 60:[15, 4] Operation: 64/16=4 Moving to Node #0,2,2 Current State: 60:[15, 4], Operations: ['66-51=15', '64/16=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 48, 63, 38, 61 ]
20
[ "48-38=10", "63-61=2", "10*2=20" ]
Current State: 20:[48, 63, 38, 61], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [63, 61, 10] Generated Node #2: [63, 61, 10] from Operation: 48-38=10 Current State: 20:[63, 61, 10], Operations: ['48-38=10'] Exploring Operation: 63-61=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 63-61=2 Current State: 20:[10, 2], Operations: ['48-38=10', '63-61=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[48, 63, 38, 61], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [38, 61, 15] Generated Node #0,0: 20:[38, 61, 15] Operation: 63-48=15 Exploring Operation: 63-61=2, Resulting Numbers: [48, 38, 2] Generated Node #0,1: 20:[48, 38, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 20:[48, 38, 2], Operations: ['63-61=2'] Exploring Operation: 48-38=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 20:[2, 10] Operation: 48-38=10 Exploring Operation: 48/2=24, Resulting Numbers: [38, 24] Generated Node #0,1,1: 20:[38, 24] Operation: 48/2=24 Moving to Node #0,0 Current State: 20:[38, 61, 15], Operations: ['63-48=15'] Exploring Operation: 38-15=23, Resulting Numbers: [61, 23] Generated Node #0,0,0: 20:[61, 23] Operation: 38-15=23 Exploring Operation: 61-38=23, Resulting Numbers: [15, 23] Generated Node #0,0,1: 20:[15, 23] Operation: 61-38=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[15, 23], Operations: ['63-48=15', '61-38=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[61, 23], Operations: ['63-48=15', '38-15=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,20 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: 20:[2, 10], Operations: ['63-61=2', '48-38=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[48, 63, 38, 61], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [48, 38, 2] Generated Node #0,1: 20:[48, 38, 2] Operation: 63-61=2 Moving to Node #0,1 Current State: 20:[48, 38, 2], Operations: ['63-61=2'] Exploring Operation: 48-38=10, Resulting Numbers: [2, 10] Generated Node #0,1,0: 20:[2, 10] Operation: 48-38=10 Moving to Node #0,1,0 Current State: 20:[2, 10], Operations: ['63-61=2', '48-38=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 18, 78, 25, 93 ]
22
[ "18+78=96", "25+93=118", "118-96=22" ]
Current State: 22:[18, 78, 25, 93], Operations: [] Exploring Operation: 18+78=96, Resulting Numbers: [25, 93, 96] Generated Node #2: [25, 93, 96] from Operation: 18+78=96 Current State: 22:[25, 93, 96], Operations: ['18+78=96'] Exploring Operation: 25+93=118, Resulting Numbers: [96, 118] Generated Node #3: [96, 118] from Operation: 25+93=118 Current State: 22:[96, 118], Operations: ['18+78=96', '25+93=118'] Exploring Operation: 118-96=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[18, 78, 25, 93], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [18, 93, 53] Generated Node #0,0: 22:[18, 93, 53] Operation: 78-25=53 Exploring Operation: 93-78=15, Resulting Numbers: [18, 25, 15] Generated Node #0,1: 22:[18, 25, 15] Operation: 93-78=15 Exploring Operation: 93-25=68, Resulting Numbers: [18, 78, 68] Generated Node #0,2: 22:[18, 78, 68] Operation: 93-25=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[18, 25, 15], Operations: ['93-78=15'] Exploring Operation: 18-15=3, Resulting Numbers: [25, 3] Generated Node #0,1,0: 22:[25, 3] Operation: 18-15=3 Exploring Operation: 25-15=10, Resulting Numbers: [18, 10] Generated Node #0,1,1: 22:[18, 10] Operation: 25-15=10 Exploring Operation: 25-18=7, Resulting Numbers: [15, 7] Generated Node #0,1,2: 22:[15, 7] Operation: 25-18=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[25, 3], Operations: ['93-78=15', '18-15=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,22 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[18, 78, 25, 93], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [18, 25, 15] Generated Node #0,1: 22:[18, 25, 15] Operation: 93-78=15 Moving to Node #0,1 Current State: 22:[18, 25, 15], Operations: ['93-78=15'] Exploring Operation: 18-15=3, Resulting Numbers: [25, 3] Generated Node #0,1,0: 22:[25, 3] Operation: 18-15=3 Moving to Node #0,1,0 Current State: 22:[25, 3], Operations: ['93-78=15', '18-15=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 91, 50, 4, 91 ]
45
[ "91/91=1", "50-4=46", "46-1=45" ]
Current State: 45:[91, 50, 4, 91], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [50, 4, 1] Generated Node #2: [50, 4, 1] from Operation: 91/91=1 Current State: 45:[50, 4, 1], Operations: ['91/91=1'] Exploring Operation: 50-4=46, Resulting Numbers: [1, 46] Generated Node #3: [1, 46] from Operation: 50-4=46 Current State: 45:[1, 46], Operations: ['91/91=1', '50-4=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[91, 50, 4, 91], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [50, 4, 1] Generated Node #0,0: 45:[50, 4, 1] Operation: 91/91=1 Moving to Node #0,0 Current State: 45:[50, 4, 1], Operations: ['91/91=1'] Exploring Operation: 50-4=46, Resulting Numbers: [1, 46] Generated Node #0,0,0: 45:[1, 46] Operation: 50-4=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[1, 46], Operations: ['91/91=1', '50-4=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[91, 50, 4, 91], Operations: [] Exploring Operation: 91/91=1, Resulting Numbers: [50, 4, 1] Generated Node #0,0: 45:[50, 4, 1] Operation: 91/91=1 Moving to Node #0,0 Current State: 45:[50, 4, 1], Operations: ['91/91=1'] Exploring Operation: 50-4=46, Resulting Numbers: [1, 46] Generated Node #0,0,0: 45:[1, 46] Operation: 50-4=46 Moving to Node #0,0,0 Current State: 45:[1, 46], Operations: ['91/91=1', '50-4=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 47, 21, 56, 72 ]
84
[ "47+21=68", "72-56=16", "68+16=84" ]
Current State: 84:[47, 21, 56, 72], Operations: [] Exploring Operation: 47+21=68, Resulting Numbers: [56, 72, 68] Generated Node #2: [56, 72, 68] from Operation: 47+21=68 Current State: 84:[56, 72, 68], Operations: ['47+21=68'] Exploring Operation: 72-56=16, Resulting Numbers: [68, 16] Generated Node #3: [68, 16] from Operation: 72-56=16 Current State: 84:[68, 16], Operations: ['47+21=68', '72-56=16'] Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[47, 21, 56, 72], Operations: [] Exploring Operation: 56-21=35, Resulting Numbers: [47, 72, 35] Generated Node #0,0: 84:[47, 72, 35] Operation: 56-21=35 Exploring Operation: 21+56=77, Resulting Numbers: [47, 72, 77] Generated Node #0,1: 84:[47, 72, 77] Operation: 21+56=77 Exploring Operation: 72-47=25, Resulting Numbers: [21, 56, 25] Generated Node #0,2: 84:[21, 56, 25] Operation: 72-47=25 Exploring Operation: 56-47=9, Resulting Numbers: [21, 72, 9] Generated Node #0,3: 84:[21, 72, 9] Operation: 56-47=9 Exploring Operation: 72-56=16, Resulting Numbers: [47, 21, 16] Generated Node #0,4: 84:[47, 21, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 84:[47, 21, 16], Operations: ['72-56=16'] Exploring Operation: 47+21=68, Resulting Numbers: [16, 68] Generated Node #0,4,0: 84:[16, 68] Operation: 47+21=68 Exploring Operation: 47-16=31, Resulting Numbers: [21, 31] Generated Node #0,4,1: 84:[21, 31] Operation: 47-16=31 Exploring Operation: 21+16=37, Resulting Numbers: [47, 37] Generated Node #0,4,2: 84:[47, 37] Operation: 21+16=37 Exploring Operation: 47-21=26, Resulting Numbers: [16, 26] Generated Node #0,4,3: 84:[16, 26] Operation: 47-21=26 Exploring Operation: 21-16=5, Resulting Numbers: [47, 5] Generated Node #0,4,4: 84:[47, 5] Operation: 21-16=5 Moving to Node #0,4,1 Current State: 84:[21, 31], Operations: ['72-56=16', '47-16=31'] Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,84 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,84 unequal: No Solution Moving to Node #0,4,3 Current State: 84:[16, 26], Operations: ['72-56=16', '47-21=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[47, 5], Operations: ['72-56=16', '21-16=5'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,84 unequal: No Solution Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 47*5=235, Resulting Numbers: [235] 235,84 unequal: No Solution Moving to Node #0,4,2 Current State: 84:[47, 37], Operations: ['72-56=16', '21+16=37'] Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,84 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[47, 21, 56, 72], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [47, 21, 16] Generated Node #0,4: 84:[47, 21, 16] Operation: 72-56=16 Moving to Node #0,4 Current State: 84:[47, 21, 16], Operations: ['72-56=16'] Exploring Operation: 21+16=37, Resulting Numbers: [47, 37] Generated Node #0,4,2: 84:[47, 37] Operation: 21+16=37 Moving to Node #0,4,2 Current State: 84:[47, 37], Operations: ['72-56=16', '21+16=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 32, 13, 23, 89 ]
93
[ "32-13=19", "23+89=112", "112-19=93" ]
Current State: 93:[32, 13, 23, 89], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [23, 89, 19] Generated Node #2: [23, 89, 19] from Operation: 32-13=19 Current State: 93:[23, 89, 19], Operations: ['32-13=19'] Exploring Operation: 23+89=112, Resulting Numbers: [19, 112] Generated Node #3: [19, 112] from Operation: 23+89=112 Current State: 93:[19, 112], Operations: ['32-13=19', '23+89=112'] Exploring Operation: 112-19=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[32, 13, 23, 89], Operations: [] Exploring Operation: 13+23=36, Resulting Numbers: [32, 89, 36] Generated Node #0,0: 93:[32, 89, 36] Operation: 13+23=36 Moving to Node #0,0 Current State: 93:[32, 89, 36], Operations: ['13+23=36'] Exploring Operation: 36-32=4, Resulting Numbers: [89, 4] Generated Node #0,0,0: 93:[89, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[89, 4], Operations: ['13+23=36', '36-32=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[32, 13, 23, 89], Operations: [] Exploring Operation: 13+23=36, Resulting Numbers: [32, 89, 36] Generated Node #0,0: 93:[32, 89, 36] Operation: 13+23=36 Moving to Node #0,0 Current State: 93:[32, 89, 36], Operations: ['13+23=36'] Exploring Operation: 36-32=4, Resulting Numbers: [89, 4] Generated Node #0,0,0: 93:[89, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 93:[89, 4], Operations: ['13+23=36', '36-32=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 84, 19, 22, 31 ]
59
[ "84*22=1848", "1848-19=1829", "1829/31=59" ]
Current State: 59:[84, 19, 22, 31], Operations: [] Exploring Operation: 84*22=1848, Resulting Numbers: [19, 31, 1848] Generated Node #2: [19, 31, 1848] from Operation: 84*22=1848 Current State: 59:[19, 31, 1848], Operations: ['84*22=1848'] Exploring Operation: 1848-19=1829, Resulting Numbers: [31, 1829] Generated Node #3: [31, 1829] from Operation: 1848-19=1829 Current State: 59:[31, 1829], Operations: ['84*22=1848', '1848-19=1829'] Exploring Operation: 1829/31=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[84, 19, 22, 31], Operations: [] Exploring Operation: 19+22=41, Resulting Numbers: [84, 31, 41] Generated Node #0,0: 59:[84, 31, 41] Operation: 19+22=41 Exploring Operation: 84-22=62, Resulting Numbers: [19, 31, 62] Generated Node #0,1: 59:[19, 31, 62] Operation: 84-22=62 Exploring Operation: 84-19=65, Resulting Numbers: [22, 31, 65] Generated Node #0,2: 59:[22, 31, 65] Operation: 84-19=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[84, 31, 41], Operations: ['19+22=41'] Exploring Operation: 31+41=72, Resulting Numbers: [84, 72] Generated Node #0,0,0: 59:[84, 72] Operation: 31+41=72 Exploring Operation: 84-41=43, Resulting Numbers: [31, 43] Generated Node #0,0,1: 59:[31, 43] Operation: 84-41=43 Exploring Operation: 84-31=53, Resulting Numbers: [41, 53] Generated Node #0,0,2: 59:[41, 53] Operation: 84-31=53 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[41, 53], Operations: ['19+22=41', '84-31=53'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[84, 72], Operations: ['19+22=41', '31+41=72'] Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[31, 43], Operations: ['19+22=41', '84-41=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,59 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: 59:[19, 31, 62], Operations: ['84-22=62'] Exploring Operation: 31-19=12, Resulting Numbers: [62, 12] Generated Node #0,1,0: 59:[62, 12] Operation: 31-19=12 Exploring Operation: 62-19=43, Resulting Numbers: [31, 43] Generated Node #0,1,1: 59:[31, 43] Operation: 62-19=43 Exploring Operation: 19+31=50, Resulting Numbers: [62, 50] Generated Node #0,1,2: 59:[62, 50] Operation: 19+31=50 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[62, 50], Operations: ['84-22=62', '19+31=50'] Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,59 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[31, 43], Operations: ['84-22=62', '62-19=43'] Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,59 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[62, 12], Operations: ['84-22=62', '31-19=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,59 unequal: No Solution Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,59 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: 59:[22, 31, 65], Operations: ['84-19=65'] Exploring Operation: 31-22=9, Resulting Numbers: [65, 9] Generated Node #0,2,0: 59:[65, 9] Operation: 31-22=9 Exploring Operation: 22+31=53, Resulting Numbers: [65, 53] Generated Node #0,2,1: 59:[65, 53] Operation: 22+31=53 Exploring Operation: 65-22=43, Resulting Numbers: [31, 43] Generated Node #0,2,2: 59:[31, 43] Operation: 65-22=43 Moving to Node #0,2,1 Current State: 59:[65, 53], Operations: ['84-19=65', '22+31=53'] Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,59 unequal: No Solution Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,59 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[31, 43], Operations: ['84-19=65', '65-22=43'] Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 31*43=1333, Resulting Numbers: [1333] 1333,59 unequal: No Solution Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[65, 9], Operations: ['84-19=65', '31-22=9'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,59 unequal: No Solution Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 13, 65, 72, 75 ]
15
[ "65/13=5", "75-72=3", "5*3=15" ]
Current State: 15:[13, 65, 72, 75], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [72, 75, 5] Generated Node #2: [72, 75, 5] from Operation: 65/13=5 Current State: 15:[72, 75, 5], Operations: ['65/13=5'] Exploring Operation: 75-72=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 75-72=3 Current State: 15:[5, 3], Operations: ['65/13=5', '75-72=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[13, 65, 72, 75], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [13, 65, 3] Generated Node #0,0: 15:[13, 65, 3] Operation: 75-72=3 Moving to Node #0,0 Current State: 15:[13, 65, 3], Operations: ['75-72=3'] Exploring Operation: 65/13=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 15:[3, 5] Operation: 65/13=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[3, 5], Operations: ['75-72=3', '65/13=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[13, 65, 72, 75], Operations: [] Exploring Operation: 75-72=3, Resulting Numbers: [13, 65, 3] Generated Node #0,0: 15:[13, 65, 3] Operation: 75-72=3 Moving to Node #0,0 Current State: 15:[13, 65, 3], Operations: ['75-72=3'] Exploring Operation: 65/13=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 15:[3, 5] Operation: 65/13=5 Moving to Node #0,0,0 Current State: 15:[3, 5], Operations: ['75-72=3', '65/13=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 9, 7, 38 ]
10
[ "9-7=2", "56/2=28", "38-28=10" ]
Current State: 10:[56, 9, 7, 38], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [56, 38, 2] Generated Node #2: [56, 38, 2] from Operation: 9-7=2 Current State: 10:[56, 38, 2], Operations: ['9-7=2'] Exploring Operation: 56/2=28, Resulting Numbers: [38, 28] Generated Node #3: [38, 28] from Operation: 56/2=28 Current State: 10:[38, 28], Operations: ['9-7=2', '56/2=28'] Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[56, 9, 7, 38], Operations: [] Exploring Operation: 56-38=18, Resulting Numbers: [9, 7, 18] Generated Node #0,0: 10:[9, 7, 18] Operation: 56-38=18 Moving to Node #0,0 Current State: 10:[9, 7, 18], Operations: ['56-38=18'] Exploring Operation: 18/9=2, Resulting Numbers: [7, 2] Generated Node #0,0,0: 10:[7, 2] Operation: 18/9=2 Moving to Node #0,0,0 Current State: 10:[7, 2], Operations: ['56-38=18', '18/9=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 80, 82, 67, 16 ]
79
[ "80+82=162", "67+16=83", "162-83=79" ]
Current State: 79:[80, 82, 67, 16], Operations: [] Exploring Operation: 80+82=162, Resulting Numbers: [67, 16, 162] Generated Node #2: [67, 16, 162] from Operation: 80+82=162 Current State: 79:[67, 16, 162], Operations: ['80+82=162'] Exploring Operation: 67+16=83, Resulting Numbers: [162, 83] Generated Node #3: [162, 83] from Operation: 67+16=83 Current State: 79:[162, 83], Operations: ['80+82=162', '67+16=83'] Exploring Operation: 162-83=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[80, 82, 67, 16], Operations: [] Exploring Operation: 82-16=66, Resulting Numbers: [80, 67, 66] Generated Node #0,0: 79:[80, 67, 66] Operation: 82-16=66 Exploring Operation: 80-16=64, Resulting Numbers: [82, 67, 64] Generated Node #0,1: 79:[82, 67, 64] Operation: 80-16=64 Exploring Operation: 67+16=83, Resulting Numbers: [80, 82, 83] Generated Node #0,2: 79:[80, 82, 83] Operation: 67+16=83 Exploring Operation: 80+16=96, Resulting Numbers: [82, 67, 96] Generated Node #0,3: 79:[82, 67, 96] Operation: 80+16=96 Moving to Node #0,2 Current State: 79:[80, 82, 83], Operations: ['67+16=83'] Exploring Operation: 80+82=162, Resulting Numbers: [83, 162] Generated Node #0,2,0: 79:[83, 162] Operation: 80+82=162 Exploring Operation: 83-82=1, Resulting Numbers: [80, 1] Generated Node #0,2,1: 79:[80, 1] Operation: 83-82=1 Exploring Operation: 82-80=2, Resulting Numbers: [83, 2] Generated Node #0,2,2: 79:[83, 2] Operation: 82-80=2 Exploring Operation: 83-80=3, Resulting Numbers: [82, 3] Generated Node #0,2,3: 79:[82, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[80, 1], Operations: ['67+16=83', '83-82=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[80, 82, 67, 16], Operations: [] Exploring Operation: 67+16=83, Resulting Numbers: [80, 82, 83] Generated Node #0,2: 79:[80, 82, 83] Operation: 67+16=83 Moving to Node #0,2 Current State: 79:[80, 82, 83], Operations: ['67+16=83'] Exploring Operation: 83-82=1, Resulting Numbers: [80, 1] Generated Node #0,2,1: 79:[80, 1] Operation: 83-82=1 Moving to Node #0,2,1 Current State: 79:[80, 1], Operations: ['67+16=83', '83-82=1'] Exploring Operation: 80-1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 62, 1, 3, 48 ]
46
[ "62*1=62", "48/3=16", "62-16=46" ]
Current State: 46:[62, 1, 3, 48], Operations: [] Exploring Operation: 62*1=62, Resulting Numbers: [3, 48, 62] Generated Node #2: [3, 48, 62] from Operation: 62*1=62 Current State: 46:[3, 48, 62], Operations: ['62*1=62'] Exploring Operation: 48/3=16, Resulting Numbers: [62, 16] Generated Node #3: [62, 16] from Operation: 48/3=16 Current State: 46:[62, 16], Operations: ['62*1=62', '48/3=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[62, 1, 3, 48], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [1, 3, 14] Generated Node #0,0: 46:[1, 3, 14] Operation: 62-48=14 Moving to Node #0,0 Current State: 46:[1, 3, 14], Operations: ['62-48=14'] Exploring Operation: 3*14=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 46:[1, 42] Operation: 3*14=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[1, 42], Operations: ['62-48=14', '3*14=42'] Exploring Operation: 1+42=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
sum_heuristic
[ 5, 13, 29, 40 ]
34
[ "13-5=8", "40/8=5", "29+5=34" ]
Current State: 34:[5, 13, 29, 40], Operations: [] Exploring Operation: 13-5=8, Resulting Numbers: [29, 40, 8] Generated Node #2: [29, 40, 8] from Operation: 13-5=8 Current State: 34:[29, 40, 8], Operations: ['13-5=8'] Exploring Operation: 40/8=5, Resulting Numbers: [29, 5] Generated Node #3: [29, 5] from Operation: 40/8=5 Current State: 34:[29, 5], Operations: ['13-5=8', '40/8=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[5, 13, 29, 40], Operations: [] Exploring Operation: 5+29=34, Resulting Numbers: [13, 40, 34] Generated Node #0,0: 34:[13, 40, 34] Operation: 5+29=34 Exploring Operation: 29-13=16, Resulting Numbers: [5, 40, 16] Generated Node #0,1: 34:[5, 40, 16] Operation: 29-13=16 Exploring Operation: 40-5=35, Resulting Numbers: [13, 29, 35] Generated Node #0,2: 34:[13, 29, 35] Operation: 40-5=35 Moving to Node #0,0 Current State: 34:[13, 40, 34], Operations: ['5+29=34'] Exploring Operation: 40-34=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 34:[13, 6] Operation: 40-34=6 Exploring Operation: 40-13=27, Resulting Numbers: [34, 27] Generated Node #0,0,1: 34:[34, 27] Operation: 40-13=27 Exploring Operation: 34-13=21, Resulting Numbers: [40, 21] Generated Node #0,0,2: 34:[40, 21] Operation: 34-13=21 Moving to Node #0,1 Current State: 34:[5, 40, 16], Operations: ['29-13=16'] Exploring Operation: 5+16=21, Resulting Numbers: [40, 21] Generated Node #0,1,0: 34:[40, 21] Operation: 5+16=21 Exploring Operation: 40/5=8, Resulting Numbers: [16, 8] Generated Node #0,1,1: 34:[16, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [16, 35] Generated Node #0,1,2: 34:[16, 35] Operation: 40-5=35 Moving to Node #0,2 Current State: 34:[13, 29, 35], Operations: ['40-5=35'] Exploring Operation: 29-13=16, Resulting Numbers: [35, 16] Generated Node #0,2,0: 34:[35, 16] Operation: 29-13=16 Exploring Operation: 35-29=6, Resulting Numbers: [13, 6] Generated Node #0,2,1: 34:[13, 6] Operation: 35-29=6 Exploring Operation: 13+29=42, Resulting Numbers: [35, 42] Generated Node #0,2,2: 34:[35, 42] Operation: 13+29=42 Moving to Node #0,1,2 Current State: 34:[16, 35], Operations: ['29-13=16', '40-5=35'] Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 16+35=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 16*35=560, Resulting Numbers: [560] 560,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[35, 16], Operations: ['40-5=35', '29-13=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,34 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[34, 27], Operations: ['5+29=34', '40-13=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,34 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[16, 8], Operations: ['29-13=16', '40/5=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[13, 6], Operations: ['40-5=35', '35-29=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[13, 6], Operations: ['5+29=34', '40-34=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[35, 42], Operations: ['40-5=35', '13+29=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,34 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[40, 21], Operations: ['29-13=16', '5+16=21'] Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[40, 21], Operations: ['5+29=34', '34-13=21'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 40*21=840, Resulting Numbers: [840] 840,34 unequal: No Solution Exploring Operation: 40+21=61, Resulting Numbers: [61] 61,34 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 18, 91, 65, 13 ]
68
[ "91-18=73", "65/13=5", "73-5=68" ]
Current State: 68:[18, 91, 65, 13], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [65, 13, 73] Generated Node #2: [65, 13, 73] from Operation: 91-18=73 Current State: 68:[65, 13, 73], Operations: ['91-18=73'] Exploring Operation: 65/13=5, Resulting Numbers: [73, 5] Generated Node #3: [73, 5] from Operation: 65/13=5 Current State: 68:[73, 5], Operations: ['91-18=73', '65/13=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[18, 91, 65, 13], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [65, 13, 73] Generated Node #0,0: 68:[65, 13, 73] Operation: 91-18=73 Exploring Operation: 91/13=7, Resulting Numbers: [18, 65, 7] Generated Node #0,1: 68:[18, 65, 7] Operation: 91/13=7 Exploring Operation: 91-65=26, Resulting Numbers: [18, 13, 26] Generated Node #0,2: 68:[18, 13, 26] Operation: 91-65=26 Moving to Node #0,1 Current State: 68:[18, 65, 7], Operations: ['91/13=7'] Exploring Operation: 65+7=72, Resulting Numbers: [18, 72] Generated Node #0,1,0: 68:[18, 72] Operation: 65+7=72 Exploring Operation: 18-7=11, Resulting Numbers: [65, 11] Generated Node #0,1,1: 68:[65, 11] Operation: 18-7=11 Exploring Operation: 18+7=25, Resulting Numbers: [65, 25] Generated Node #0,1,2: 68:[65, 25] Operation: 18+7=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[18, 72], Operations: ['91/13=7', '65+7=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[65, 11], Operations: ['91/13=7', '18-7=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,68 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,68 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,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:[65, 25], Operations: ['91/13=7', '18+7=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,68 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,68 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[65, 13, 73], Operations: ['91-18=73'] Exploring Operation: 73-65=8, Resulting Numbers: [13, 8] Generated Node #0,0,0: 68:[13, 8] Operation: 73-65=8 Exploring Operation: 73-13=60, Resulting Numbers: [65, 60] Generated Node #0,0,1: 68:[65, 60] Operation: 73-13=60 Exploring Operation: 65/13=5, Resulting Numbers: [73, 5] Generated Node #0,0,2: 68:[73, 5] Operation: 65/13=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[73, 5], Operations: ['91-18=73', '65/13=5'] Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,68 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[18, 91, 65, 13], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [65, 13, 73] Generated Node #0,0: 68:[65, 13, 73] Operation: 91-18=73 Moving to Node #0,0 Current State: 68:[65, 13, 73], Operations: ['91-18=73'] Exploring Operation: 65/13=5, Resulting Numbers: [73, 5] Generated Node #0,0,2: 68:[73, 5] Operation: 65/13=5 Moving to Node #0,0,2 Current State: 68:[73, 5], Operations: ['91-18=73', '65/13=5'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 58, 3, 25, 59 ]
86
[ "25+59=84", "84/3=28", "58+28=86" ]
Current State: 86:[58, 3, 25, 59], Operations: [] Exploring Operation: 25+59=84, Resulting Numbers: [58, 3, 84] Generated Node #2: [58, 3, 84] from Operation: 25+59=84 Current State: 86:[58, 3, 84], Operations: ['25+59=84'] Exploring Operation: 84/3=28, Resulting Numbers: [58, 28] Generated Node #3: [58, 28] from Operation: 84/3=28 Current State: 86:[58, 28], Operations: ['25+59=84', '84/3=28'] Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[58, 3, 25, 59], Operations: [] Exploring Operation: 25+59=84, Resulting Numbers: [58, 3, 84] Generated Node #0,0: 86:[58, 3, 84] Operation: 25+59=84 Exploring Operation: 59-25=34, Resulting Numbers: [58, 3, 34] Generated Node #0,1: 86:[58, 3, 34] Operation: 59-25=34 Exploring Operation: 58+25=83, Resulting Numbers: [3, 59, 83] Generated Node #0,2: 86:[3, 59, 83] Operation: 58+25=83 Exploring Operation: 59-58=1, Resulting Numbers: [3, 25, 1] Generated Node #0,3: 86:[3, 25, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 86:[58, 3, 84], Operations: ['25+59=84'] Exploring Operation: 58+3=61, Resulting Numbers: [84, 61] Generated Node #0,0,0: 86:[84, 61] Operation: 58+3=61 Exploring Operation: 84-58=26, Resulting Numbers: [3, 26] Generated Node #0,0,1: 86:[3, 26] Operation: 84-58=26 Exploring Operation: 58-3=55, Resulting Numbers: [84, 55] Generated Node #0,0,2: 86:[84, 55] Operation: 58-3=55 Exploring Operation: 3+84=87, Resulting Numbers: [58, 87] Generated Node #0,0,3: 86:[58, 87] Operation: 3+84=87 Moving to Node #0,3 Current State: 86:[3, 25, 1], Operations: ['59-58=1'] Exploring Operation: 3-1=2, Resulting Numbers: [25, 2] Generated Node #0,3,0: 86:[25, 2] Operation: 3-1=2 Exploring Operation: 3*25=75, Resulting Numbers: [1, 75] Generated Node #0,3,1: 86:[1, 75] Operation: 3*25=75 Exploring Operation: 3+25=28, Resulting Numbers: [1, 28] Generated Node #0,3,2: 86:[1, 28] Operation: 3+25=28 Exploring Operation: 25+1=26, Resulting Numbers: [3, 26] Generated Node #0,3,3: 86:[3, 26] Operation: 25+1=26 Moving to Node #0,2 Current State: 86:[3, 59, 83], Operations: ['58+25=83'] Exploring Operation: 83-59=24, Resulting Numbers: [3, 24] Generated Node #0,2,0: 86:[3, 24] Operation: 83-59=24 Exploring Operation: 3+83=86, Resulting Numbers: [59, 86] Generated Node #0,2,1: 86:[59, 86] Operation: 3+83=86 Exploring Operation: 3+59=62, Resulting Numbers: [83, 62] Generated Node #0,2,2: 86:[83, 62] Operation: 3+59=62 Exploring Operation: 59-3=56, Resulting Numbers: [83, 56] Generated Node #0,2,3: 86:[83, 56] Operation: 59-3=56 Moving to Node #0,1 Current State: 86:[58, 3, 34], Operations: ['59-25=34'] Exploring Operation: 58+34=92, Resulting Numbers: [3, 92] Generated Node #0,1,0: 86:[3, 92] Operation: 58+34=92 Exploring Operation: 3+34=37, Resulting Numbers: [58, 37] Generated Node #0,1,1: 86:[58, 37] Operation: 3+34=37 Exploring Operation: 58-34=24, Resulting Numbers: [3, 24] Generated Node #0,1,2: 86:[3, 24] Operation: 58-34=24 Exploring Operation: 58-3=55, Resulting Numbers: [34, 55] Generated Node #0,1,3: 86:[34, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[3, 92], Operations: ['59-25=34', '58+34=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,86 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[3, 24], Operations: ['59-25=34', '58-34=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,86 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[58, 37], Operations: ['59-25=34', '3+34=37'] Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,86 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[34, 55], Operations: ['59-25=34', '58-3=55'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 34+55=89, Resulting Numbers: [89] 89,86 unequal: No Solution Exploring Operation: 34*55=1870, Resulting Numbers: [1870] 1870,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 86:[1, 75], Operations: ['59-58=1', '3*25=75'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,86 unequal: No Solution Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,86 unequal: No Solution Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[84, 55], Operations: ['25+59=84', '58-3=55'] Exploring Operation: 84+55=139, Resulting Numbers: [139] 139,86 unequal: No Solution Exploring Operation: 84-55=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 84*55=4620, Resulting Numbers: [4620] 4620,86 unequal: No Solution Moving to Node #0,3,2 Current State: 86:[1, 28], Operations: ['59-58=1', '3+25=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,86 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[58, 87], Operations: ['25+59=84', '3+84=87'] Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,86 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[83, 56], Operations: ['58+25=83', '59-3=56'] Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,86 unequal: No Solution Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[59, 86], Operations: ['58+25=83', '3+83=86'] Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,86 unequal: No Solution Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,86 unequal: No Solution Moving to Node #0,3,0 Current State: 86:[25, 2], Operations: ['59-58=1', '3-1=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[3, 26], Operations: ['25+59=84', '84-58=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,86 unequal: No Solution Moving to Node #0,3,3 Current State: 86:[3, 26], Operations: ['59-58=1', '25+1=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,86 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[3, 24], Operations: ['58+25=83', '83-59=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,86 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[84, 61], Operations: ['25+59=84', '58+3=61'] Exploring Operation: 84-61=23, Resulting Numbers: [23] 23,86 unequal: No Solution Exploring Operation: 84*61=5124, Resulting Numbers: [5124] 5124,86 unequal: No Solution Exploring Operation: 84+61=145, Resulting Numbers: [145] 145,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[83, 62], Operations: ['58+25=83', '3+59=62'] Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,86 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 22, 25, 62, 41 ]
88
[ "62-25=37", "41-37=4", "22*4=88" ]
Current State: 88:[22, 25, 62, 41], Operations: [] Exploring Operation: 62-25=37, Resulting Numbers: [22, 41, 37] Generated Node #2: [22, 41, 37] from Operation: 62-25=37 Current State: 88:[22, 41, 37], Operations: ['62-25=37'] Exploring Operation: 41-37=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 41-37=4 Current State: 88:[22, 4], Operations: ['62-25=37', '41-37=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[22, 25, 62, 41], Operations: [] Exploring Operation: 25+62=87, Resulting Numbers: [22, 41, 87] Generated Node #0,0: 88:[22, 41, 87] Operation: 25+62=87 Exploring Operation: 62-22=40, Resulting Numbers: [25, 41, 40] Generated Node #0,1: 88:[25, 41, 40] Operation: 62-22=40 Exploring Operation: 62-25=37, Resulting Numbers: [22, 41, 37] Generated Node #0,2: 88:[22, 41, 37] Operation: 62-25=37 Exploring Operation: 22+62=84, Resulting Numbers: [25, 41, 84] Generated Node #0,3: 88:[25, 41, 84] Operation: 22+62=84 Exploring Operation: 62-41=21, Resulting Numbers: [22, 25, 21] Generated Node #0,4: 88:[22, 25, 21] Operation: 62-41=21 Moving to Node #0,0 Current State: 88:[22, 41, 87], Operations: ['25+62=87'] Exploring Operation: 22+41=63, Resulting Numbers: [87, 63] Generated Node #0,0,0: 88:[87, 63] Operation: 22+41=63 Exploring Operation: 22+87=109, Resulting Numbers: [41, 109] Generated Node #0,0,1: 88:[41, 109] Operation: 22+87=109 Exploring Operation: 87-41=46, Resulting Numbers: [22, 46] Generated Node #0,0,2: 88:[22, 46] Operation: 87-41=46 Exploring Operation: 41-22=19, Resulting Numbers: [87, 19] Generated Node #0,0,3: 88:[87, 19] Operation: 41-22=19 Exploring Operation: 87-22=65, Resulting Numbers: [41, 65] Generated Node #0,0,4: 88:[41, 65] Operation: 87-22=65 Moving to Node #0,4 Current State: 88:[22, 25, 21], Operations: ['62-41=21'] Exploring Operation: 25-21=4, Resulting Numbers: [22, 4] Generated Node #0,4,0: 88:[22, 4] Operation: 25-21=4 Exploring Operation: 22+25=47, Resulting Numbers: [21, 47] Generated Node #0,4,1: 88:[21, 47] Operation: 22+25=47 Exploring Operation: 25+21=46, Resulting Numbers: [22, 46] Generated Node #0,4,2: 88:[22, 46] Operation: 25+21=46 Exploring Operation: 22+21=43, Resulting Numbers: [25, 43] Generated Node #0,4,3: 88:[25, 43] Operation: 22+21=43 Exploring Operation: 25-22=3, Resulting Numbers: [21, 3] Generated Node #0,4,4: 88:[21, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[22, 4], Operations: ['62-41=21', '25-21=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[22, 25, 62, 41], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [22, 25, 21] Generated Node #0,4: 88:[22, 25, 21] Operation: 62-41=21 Moving to Node #0,4 Current State: 88:[22, 25, 21], Operations: ['62-41=21'] Exploring Operation: 25-21=4, Resulting Numbers: [22, 4] Generated Node #0,4,0: 88:[22, 4] Operation: 25-21=4 Moving to Node #0,4,0 Current State: 88:[22, 4], Operations: ['62-41=21', '25-21=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 36, 19, 32, 32 ]
52
[ "36-32=4", "32-19=13", "4*13=52" ]
Current State: 52:[36, 19, 32, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [19, 4] Generated Node #2: [19, 4] from Operation: 36-32=4 Current State: 52:[19, 4], Operations: ['36-32=4'] Exploring Operation: 32-19=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 32-19=13 Current State: 52:[4, 13], Operations: ['36-32=4', '32-19=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[36, 19, 32, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [19, 32, 4] Generated Node #0,0: 52:[19, 32, 4] Operation: 36-32=4 Exploring Operation: 36-32=4, Resulting Numbers: [19, 32, 4] Generated Node #0,1: 52:[19, 32, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[19, 32, 4], Operations: ['36-32=4'] Exploring Operation: 32-19=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 52:[4, 13] Operation: 32-19=13 Exploring Operation: 19+32=51, Resulting Numbers: [4, 51] Generated Node #0,0,1: 52:[4, 51] Operation: 19+32=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[4, 13], Operations: ['36-32=4', '32-19=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[36, 19, 32, 32], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [19, 32, 4] Generated Node #0,0: 52:[19, 32, 4] Operation: 36-32=4 Moving to Node #0,0 Current State: 52:[19, 32, 4], Operations: ['36-32=4'] Exploring Operation: 32-19=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 52:[4, 13] Operation: 32-19=13 Moving to Node #0,0,0 Current State: 52:[4, 13], Operations: ['36-32=4', '32-19=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 43, 23, 59, 66 ]
25
[ "23*66=1518", "1518-43=1475", "1475/59=25" ]
Current State: 25:[43, 23, 59, 66], Operations: [] Exploring Operation: 23*66=1518, Resulting Numbers: [43, 59, 1518] Generated Node #2: [43, 59, 1518] from Operation: 23*66=1518 Current State: 25:[43, 59, 1518], Operations: ['23*66=1518'] Exploring Operation: 1518-43=1475, Resulting Numbers: [59, 1475] Generated Node #3: [59, 1475] from Operation: 1518-43=1475 Current State: 25:[59, 1475], Operations: ['23*66=1518', '1518-43=1475'] Exploring Operation: 1475/59=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[43, 23, 59, 66], Operations: [] Exploring Operation: 66-43=23, Resulting Numbers: [23, 59, 23] Generated Node #0,0: 25:[23, 59, 23] Operation: 66-43=23 Exploring Operation: 66-23=43, Resulting Numbers: [43, 59, 43] Generated Node #0,1: 25:[43, 59, 43] Operation: 66-23=43 Exploring Operation: 59-23=36, Resulting Numbers: [43, 66, 36] Generated Node #0,2: 25:[43, 66, 36] Operation: 59-23=36 Exploring Operation: 59-43=16, Resulting Numbers: [23, 66, 16] Generated Node #0,3: 25:[23, 66, 16] Operation: 59-43=16 Exploring Operation: 66-59=7, Resulting Numbers: [43, 23, 7] Generated Node #0,4: 25:[43, 23, 7] Operation: 66-59=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[43, 23, 7], Operations: ['66-59=7'] Exploring Operation: 43-23=20, Resulting Numbers: [7, 20] Generated Node #0,4,0: 25:[7, 20] Operation: 43-23=20 Exploring Operation: 43+7=50, Resulting Numbers: [23, 50] Generated Node #0,4,1: 25:[23, 50] Operation: 43+7=50 Exploring Operation: 23-7=16, Resulting Numbers: [43, 16] Generated Node #0,4,2: 25:[43, 16] Operation: 23-7=16 Exploring Operation: 23+7=30, Resulting Numbers: [43, 30] Generated Node #0,4,3: 25:[43, 30] Operation: 23+7=30 Exploring Operation: 43-7=36, Resulting Numbers: [23, 36] Generated Node #0,4,4: 25:[23, 36] Operation: 43-7=36 Moving to Node #0,4,0 Current State: 25:[7, 20], Operations: ['66-59=7', '43-23=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[23, 36], Operations: ['66-59=7', '43-7=36'] Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,25 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[43, 30], Operations: ['66-59=7', '23+7=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,25 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[23, 50], Operations: ['66-59=7', '43+7=50'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[43, 16], Operations: ['66-59=7', '23-7=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,25 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[23, 59, 23], Operations: ['66-43=23'] Exploring Operation: 23+23=46, Resulting Numbers: [59, 46] Generated Node #0,0,0: 25:[59, 46] Operation: 23+23=46 Exploring Operation: 59-23=36, Resulting Numbers: [23, 36] Generated Node #0,0,1: 25:[23, 36] Operation: 59-23=36 Exploring Operation: 23-23=0, Resulting Numbers: [59, 0] Generated Node #0,0,2: 25:[59, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [59, 1] Generated Node #0,0,3: 25:[59, 1] Operation: 23/23=1 Exploring Operation: 59-23=36, Resulting Numbers: [23, 36] Generated Node #0,0,4: 25:[23, 36] Operation: 59-23=36 Moving to Node #0,0,1 Current State: 25:[23, 36], Operations: ['66-43=23', '59-23=36'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[23, 36], Operations: ['66-43=23', '59-23=36'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[59, 1], Operations: ['66-43=23', '23/23=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[59, 0], Operations: ['66-43=23', '23-23=0'] Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[59, 46], Operations: ['66-43=23', '23+23=46'] Exploring Operation: 59*46=2714, Resulting Numbers: [2714] 2714,25 unequal: No Solution Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[23, 66, 16], Operations: ['59-43=16'] Exploring Operation: 23+16=39, Resulting Numbers: [66, 39] Generated Node #0,3,0: 25:[66, 39] Operation: 23+16=39 Exploring Operation: 66-16=50, Resulting Numbers: [23, 50] Generated Node #0,3,1: 25:[23, 50] Operation: 66-16=50 Exploring Operation: 23-16=7, Resulting Numbers: [66, 7] Generated Node #0,3,2: 25:[66, 7] Operation: 23-16=7 Exploring Operation: 66+16=82, Resulting Numbers: [23, 82] Generated Node #0,3,3: 25:[23, 82] Operation: 66+16=82 Exploring Operation: 66-23=43, Resulting Numbers: [16, 43] Generated Node #0,3,4: 25:[16, 43] Operation: 66-23=43 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 25:[23, 50], Operations: ['59-43=16', '66-16=50'] Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,25 unequal: No Solution Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,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,3,4 Current State: 25:[16, 43], Operations: ['59-43=16', '66-23=43'] Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,25 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,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,3,2 Current State: 25:[66, 7], Operations: ['59-43=16', '23-16=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,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,3,0 Current State: 25:[66, 39], Operations: ['59-43=16', '23+16=39'] Exploring Operation: 66*39=2574, Resulting Numbers: [2574] 2574,25 unequal: No Solution Exploring Operation: 66+39=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 66-39=27, Resulting Numbers: [27] 27,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,3,3 Current State: 25:[23, 82], Operations: ['59-43=16', '66+16=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,25 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,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:[43, 59, 43], Operations: ['66-23=43'] Exploring Operation: 59-43=16, Resulting Numbers: [43, 16] Generated Node #0,1,0: 25:[43, 16] Operation: 59-43=16 Exploring Operation: 43+59=102, Resulting Numbers: [43, 102] Generated Node #0,1,1: 25:[43, 102] Operation: 43+59=102 Exploring Operation: 43/43=1, Resulting Numbers: [59, 1] Generated Node #0,1,2: 25:[59, 1] Operation: 43/43=1 Exploring Operation: 59-43=16, Resulting Numbers: [43, 16] Generated Node #0,1,3: 25:[43, 16] Operation: 59-43=16 Exploring Operation: 43-43=0, Resulting Numbers: [59, 0] Generated Node #0,1,4: 25:[59, 0] Operation: 43-43=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[43, 16], Operations: ['66-23=43', '59-43=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,25 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,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,3 Current State: 25:[43, 16], Operations: ['66-23=43', '59-43=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,25 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,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,2 Current State: 25:[59, 1], Operations: ['66-23=43', '43/43=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,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,4 Current State: 25:[59, 0], Operations: ['66-23=43', '43-43=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,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:[43, 102], Operations: ['66-23=43', '43+59=102'] Exploring Operation: 102-43=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 43+102=145, Resulting Numbers: [145] 145,25 unequal: No Solution Exploring Operation: 43*102=4386, Resulting Numbers: [4386] 4386,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:[43, 66, 36], Operations: ['59-23=36'] Exploring Operation: 66-43=23, Resulting Numbers: [36, 23] Generated Node #0,2,0: 25:[36, 23] Operation: 66-43=23 Exploring Operation: 43-36=7, Resulting Numbers: [66, 7] Generated Node #0,2,1: 25:[66, 7] Operation: 43-36=7 Exploring Operation: 43+36=79, Resulting Numbers: [66, 79] Generated Node #0,2,2: 25:[66, 79] Operation: 43+36=79 Exploring Operation: 43+66=109, Resulting Numbers: [36, 109] Generated Node #0,2,3: 25:[36, 109] Operation: 43+66=109 Exploring Operation: 66-36=30, Resulting Numbers: [43, 30] Generated Node #0,2,4: 25:[43, 30] Operation: 66-36=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[36, 23], Operations: ['59-23=36', '66-43=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,25 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,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,2,4 Current State: 25:[43, 30], Operations: ['59-23=36', '66-36=30'] Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,25 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,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,2,1 Current State: 25:[66, 7], Operations: ['59-23=36', '43-36=7'] Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,25 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,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,2,2 Current State: 25:[66, 79], Operations: ['59-23=36', '43+36=79'] Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,25 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,25 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,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,2,3 Current State: 25:[36, 109], Operations: ['59-23=36', '43+66=109'] Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,25 unequal: No Solution Exploring Operation: 36+109=145, Resulting Numbers: [145] 145,25 unequal: No Solution Exploring Operation: 36*109=3924, Resulting Numbers: [3924] 3924,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 No solution found.
0
hs_5
mult_heuristic
[ 19, 77, 2, 29 ]
43
[ "77-29=48", "48/2=24", "19+24=43" ]
Current State: 43:[19, 77, 2, 29], Operations: [] Exploring Operation: 77-29=48, Resulting Numbers: [19, 2, 48] Generated Node #2: [19, 2, 48] from Operation: 77-29=48 Current State: 43:[19, 2, 48], Operations: ['77-29=48'] Exploring Operation: 48/2=24, Resulting Numbers: [19, 24] Generated Node #3: [19, 24] from Operation: 48/2=24 Current State: 43:[19, 24], Operations: ['77-29=48', '48/2=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[19, 77, 2, 29], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [77, 29, 38] Generated Node #0,0: 43:[77, 29, 38] Operation: 19*2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[77, 29, 38], Operations: ['19*2=38'] Exploring Operation: 77-29=48, Resulting Numbers: [38, 48] Generated Node #0,0,0: 43:[38, 48] Operation: 77-29=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[38, 48], Operations: ['19*2=38', '77-29=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,43 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
[ 74, 6, 26, 62 ]
98
[ "74-62=12", "6*12=72", "26+72=98" ]
Current State: 98:[74, 6, 26, 62], Operations: [] Exploring Operation: 74-62=12, Resulting Numbers: [6, 26, 12] Generated Node #2: [6, 26, 12] from Operation: 74-62=12 Current State: 98:[6, 26, 12], Operations: ['74-62=12'] Exploring Operation: 6*12=72, Resulting Numbers: [26, 72] Generated Node #3: [26, 72] from Operation: 6*12=72 Current State: 98:[26, 72], Operations: ['74-62=12', '6*12=72'] Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[74, 6, 26, 62], Operations: [] Exploring Operation: 26+62=88, Resulting Numbers: [74, 6, 88] Generated Node #0,0: 98:[74, 6, 88] Operation: 26+62=88 Exploring Operation: 74-62=12, Resulting Numbers: [6, 26, 12] Generated Node #0,1: 98:[6, 26, 12] Operation: 74-62=12 Exploring Operation: 62-26=36, Resulting Numbers: [74, 6, 36] Generated Node #0,2: 98:[74, 6, 36] Operation: 62-26=36 Exploring Operation: 74+26=100, Resulting Numbers: [6, 62, 100] Generated Node #0,3: 98:[6, 62, 100] Operation: 74+26=100 Exploring Operation: 74-26=48, Resulting Numbers: [6, 62, 48] Generated Node #0,4: 98:[6, 62, 48] Operation: 74-26=48 Moving to Node #0,1 Current State: 98:[6, 26, 12], Operations: ['74-62=12'] Exploring Operation: 26-12=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 98:[6, 14] Operation: 26-12=14 Exploring Operation: 26+12=38, Resulting Numbers: [6, 38] Generated Node #0,1,1: 98:[6, 38] Operation: 26+12=38 Exploring Operation: 12-6=6, Resulting Numbers: [26, 6] Generated Node #0,1,2: 98:[26, 6] Operation: 12-6=6 Exploring Operation: 26-6=20, Resulting Numbers: [12, 20] Generated Node #0,1,3: 98:[12, 20] Operation: 26-6=20 Exploring Operation: 12/6=2, Resulting Numbers: [26, 2] Generated Node #0,1,4: 98:[26, 2] Operation: 12/6=2 Moving to Node #0,4 Current State: 98:[6, 62, 48], Operations: ['74-26=48'] Exploring Operation: 6+48=54, Resulting Numbers: [62, 54] Generated Node #0,4,0: 98:[62, 54] Operation: 6+48=54 Exploring Operation: 62-48=14, Resulting Numbers: [6, 14] Generated Node #0,4,1: 98:[6, 14] Operation: 62-48=14 Exploring Operation: 62+48=110, Resulting Numbers: [6, 110] Generated Node #0,4,2: 98:[6, 110] Operation: 62+48=110 Exploring Operation: 48/6=8, Resulting Numbers: [62, 8] Generated Node #0,4,3: 98:[62, 8] Operation: 48/6=8 Exploring Operation: 62-6=56, Resulting Numbers: [48, 56] Generated Node #0,4,4: 98:[48, 56] Operation: 62-6=56 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 98:[6, 14], Operations: ['74-26=48', '62-48=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 98:[48, 56], Operations: ['74-26=48', '62-6=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 98:[6, 110], Operations: ['74-26=48', '62+48=110'] Exploring Operation: 110-6=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 6+110=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 6*110=660, Resulting Numbers: [660] 660,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 98:[62, 8], Operations: ['74-26=48', '48/6=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,98 unequal: No Solution Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,98 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 98:[62, 54], Operations: ['74-26=48', '6+48=54'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 62*54=3348, Resulting Numbers: [3348] 3348,98 unequal: No Solution Exploring Operation: 62+54=116, Resulting Numbers: [116] 116,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 98:[6, 62, 100], Operations: ['74+26=100'] Exploring Operation: 6+100=106, Resulting Numbers: [62, 106] Generated Node #0,3,0: 98:[62, 106] Operation: 6+100=106 Exploring Operation: 100-62=38, Resulting Numbers: [6, 38] Generated Node #0,3,1: 98:[6, 38] Operation: 100-62=38 Exploring Operation: 100-6=94, Resulting Numbers: [62, 94] Generated Node #0,3,2: 98:[62, 94] Operation: 100-6=94 Exploring Operation: 62-6=56, Resulting Numbers: [100, 56] Generated Node #0,3,3: 98:[100, 56] Operation: 62-6=56 Exploring Operation: 6+62=68, Resulting Numbers: [100, 68] Generated Node #0,3,4: 98:[100, 68] Operation: 6+62=68 Moving to Node #0,0 Current State: 98:[74, 6, 88], Operations: ['26+62=88'] Exploring Operation: 6+88=94, Resulting Numbers: [74, 94] Generated Node #0,0,0: 98:[74, 94] Operation: 6+88=94 Exploring Operation: 74-6=68, Resulting Numbers: [88, 68] Generated Node #0,0,1: 98:[88, 68] Operation: 74-6=68 Exploring Operation: 88-74=14, Resulting Numbers: [6, 14] Generated Node #0,0,2: 98:[6, 14] Operation: 88-74=14 Exploring Operation: 74+6=80, Resulting Numbers: [88, 80] Generated Node #0,0,3: 98:[88, 80] Operation: 74+6=80 Exploring Operation: 88-6=82, Resulting Numbers: [74, 82] Generated Node #0,0,4: 98:[74, 82] Operation: 88-6=82 Moving to Node #0,2 Current State: 98:[74, 6, 36], Operations: ['62-26=36'] Exploring Operation: 36/6=6, Resulting Numbers: [74, 6] Generated Node #0,2,0: 98:[74, 6] Operation: 36/6=6 Exploring Operation: 74-36=38, Resulting Numbers: [6, 38] Generated Node #0,2,1: 98:[6, 38] Operation: 74-36=38 Exploring Operation: 6+36=42, Resulting Numbers: [74, 42] Generated Node #0,2,2: 98:[74, 42] Operation: 6+36=42 Exploring Operation: 74+36=110, Resulting Numbers: [6, 110] Generated Node #0,2,3: 98:[6, 110] Operation: 74+36=110 Exploring Operation: 74+6=80, Resulting Numbers: [36, 80] Generated Node #0,2,4: 98:[36, 80] Operation: 74+6=80 Moving to Node #0,1,0 Current State: 98:[6, 14], Operations: ['74-62=12', '26-12=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[6, 14], Operations: ['26+62=88', '88-74=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[12, 20], Operations: ['74-62=12', '26-6=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[100, 56], Operations: ['74+26=100', '62-6=56'] Exploring Operation: 100*56=5600, Resulting Numbers: [5600] 5600,98 unequal: No Solution Exploring Operation: 100+56=156, Resulting Numbers: [156] 156,98 unequal: No Solution Exploring Operation: 100-56=44, Resulting Numbers: [44] 44,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[6, 38], Operations: ['74+26=100', '100-62=38'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[6, 38], Operations: ['74-62=12', '26+12=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[26, 2], Operations: ['74-62=12', '12/6=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,98 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[6, 38], Operations: ['62-26=36', '74-36=38'] Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,98 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[26, 6], Operations: ['74-62=12', '12-6=6'] Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[6, 110], Operations: ['62-26=36', '74+36=110'] Exploring Operation: 6+110=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 110-6=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 6*110=660, Resulting Numbers: [660] 660,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[62, 94], Operations: ['74+26=100', '100-6=94'] Exploring Operation: 62*94=5828, Resulting Numbers: [5828] 5828,98 unequal: No Solution Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 62+94=156, Resulting Numbers: [156] 156,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[100, 68], Operations: ['74+26=100', '6+62=68'] Exploring Operation: 100+68=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 100*68=6800, Resulting Numbers: [6800] 6800,98 unequal: No Solution Exploring Operation: 100-68=32, Resulting Numbers: [32] 32,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[62, 106], Operations: ['74+26=100', '6+100=106'] Exploring Operation: 62+106=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 106-62=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 62*106=6572, Resulting Numbers: [6572] 6572,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[74, 6], Operations: ['62-26=36', '36/6=6'] Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,98 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,98 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[88, 80], Operations: ['26+62=88', '74+6=80'] Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 88*80=7040, Resulting Numbers: [7040] 7040,98 unequal: No Solution Exploring Operation: 88+80=168, Resulting Numbers: [168] 168,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[74, 94], Operations: ['26+62=88', '6+88=94'] Exploring Operation: 74*94=6956, Resulting Numbers: [6956] 6956,98 unequal: No Solution Exploring Operation: 74+94=168, Resulting Numbers: [168] 168,98 unequal: No Solution Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[88, 68], Operations: ['26+62=88', '74-6=68'] Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,98 unequal: No Solution Exploring Operation: 88*68=5984, Resulting Numbers: [5984] 5984,98 unequal: No Solution Exploring Operation: 88+68=156, Resulting Numbers: [156] 156,98 unequal: No Solution Moving to Node #0,2,4 Current State: 98:[36, 80], Operations: ['62-26=36', '74+6=80'] Exploring Operation: 80-36=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 36+80=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 36*80=2880, Resulting Numbers: [2880] 2880,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[74, 42], Operations: ['62-26=36', '6+36=42'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,98 unequal: No Solution Exploring Operation: 74+42=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 74*42=3108, Resulting Numbers: [3108] 3108,98 unequal: No Solution Moving to Node #0,0,4 Current State: 98:[74, 82], Operations: ['26+62=88', '88-6=82'] Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,98 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,98 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 75, 38, 39, 58 ]
16
[ "75+38=113", "39+58=97", "113-97=16" ]
Current State: 16:[75, 38, 39, 58], Operations: [] Exploring Operation: 75+38=113, Resulting Numbers: [39, 58, 113] Generated Node #2: [39, 58, 113] from Operation: 75+38=113 Current State: 16:[39, 58, 113], Operations: ['75+38=113'] Exploring Operation: 39+58=97, Resulting Numbers: [113, 97] Generated Node #3: [113, 97] from Operation: 39+58=97 Current State: 16:[113, 97], Operations: ['75+38=113', '39+58=97'] Exploring Operation: 113-97=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[75, 38, 39, 58], Operations: [] Exploring Operation: 75-38=37, Resulting Numbers: [39, 58, 37] Generated Node #0,0: 16:[39, 58, 37] Operation: 75-38=37 Exploring Operation: 58-39=19, Resulting Numbers: [75, 38, 19] Generated Node #0,1: 16:[75, 38, 19] Operation: 58-39=19 Exploring Operation: 75-58=17, Resulting Numbers: [38, 39, 17] Generated Node #0,2: 16:[38, 39, 17] Operation: 75-58=17 Exploring Operation: 75-39=36, Resulting Numbers: [38, 58, 36] Generated Node #0,3: 16:[38, 58, 36] Operation: 75-39=36 Exploring Operation: 58-38=20, Resulting Numbers: [75, 39, 20] Generated Node #0,4: 16:[75, 39, 20] Operation: 58-38=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[38, 39, 17], Operations: ['75-58=17'] Exploring Operation: 39-38=1, Resulting Numbers: [17, 1] Generated Node #0,2,0: 16:[17, 1] Operation: 39-38=1 Exploring Operation: 38+17=55, Resulting Numbers: [39, 55] Generated Node #0,2,1: 16:[39, 55] Operation: 38+17=55 Exploring Operation: 38+39=77, Resulting Numbers: [17, 77] Generated Node #0,2,2: 16:[17, 77] Operation: 38+39=77 Exploring Operation: 39-17=22, Resulting Numbers: [38, 22] Generated Node #0,2,3: 16:[38, 22] Operation: 39-17=22 Exploring Operation: 38-17=21, Resulting Numbers: [39, 21] Generated Node #0,2,4: 16:[39, 21] Operation: 38-17=21 Moving to Node #0,2,0 Current State: 16:[17, 1], Operations: ['75-58=17', '39-38=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[75, 38, 39, 58], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [38, 39, 17] Generated Node #0,2: 16:[38, 39, 17] Operation: 75-58=17 Moving to Node #0,2 Current State: 16:[38, 39, 17], Operations: ['75-58=17'] Exploring Operation: 39-38=1, Resulting Numbers: [17, 1] Generated Node #0,2,0: 16:[17, 1] Operation: 39-38=1 Moving to Node #0,2,0 Current State: 16:[17, 1], Operations: ['75-58=17', '39-38=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 51, 51, 96, 46 ]
51
[ "51/51=1", "96-46=50", "1+50=51" ]
Current State: 51:[51, 51, 96, 46], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [96, 46, 1] Generated Node #2: [96, 46, 1] from Operation: 51/51=1 Current State: 51:[96, 46, 1], Operations: ['51/51=1'] Exploring Operation: 96-46=50, Resulting Numbers: [1, 50] Generated Node #3: [1, 50] from Operation: 96-46=50 Current State: 51:[1, 50], Operations: ['51/51=1', '96-46=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[51, 51, 96, 46], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [51, 46, 45] Generated Node #0,0: 51:[51, 46, 45] Operation: 96-51=45 Exploring Operation: 96-51=45, Resulting Numbers: [51, 46, 45] Generated Node #0,1: 51:[51, 46, 45] Operation: 96-51=45 Exploring Operation: 96-46=50, Resulting Numbers: [51, 51, 50] Generated Node #0,2: 51:[51, 51, 50] Operation: 96-46=50 Moving to Node #0,2 Current State: 51:[51, 51, 50], Operations: ['96-46=50'] Exploring Operation: 51/51=1, Resulting Numbers: [50, 1] Generated Node #0,2,0: 51:[50, 1] Operation: 51/51=1 Exploring Operation: 51-50=1, Resulting Numbers: [51, 1] Generated Node #0,2,1: 51:[51, 1] Operation: 51-50=1 Exploring Operation: 51-50=1, Resulting Numbers: [51, 1] Generated Node #0,2,2: 51:[51, 1] Operation: 51-50=1 Moving to Node #0,0 Current State: 51:[51, 46, 45], Operations: ['96-51=45'] Exploring Operation: 51-45=6, Resulting Numbers: [46, 6] Generated Node #0,0,0: 51:[46, 6] Operation: 51-45=6 Exploring Operation: 51-46=5, Resulting Numbers: [45, 5] Generated Node #0,0,1: 51:[45, 5] Operation: 51-46=5 Exploring Operation: 46-45=1, Resulting Numbers: [51, 1] Generated Node #0,0,2: 51:[51, 1] Operation: 46-45=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[51, 1], Operations: ['96-51=45', '46-45=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[51, 51, 96, 46], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [51, 46, 45] Generated Node #0,0: 51:[51, 46, 45] Operation: 96-51=45 Moving to Node #0,0 Current State: 51:[51, 46, 45], Operations: ['96-51=45'] Exploring Operation: 46-45=1, Resulting Numbers: [51, 1] Generated Node #0,0,2: 51:[51, 1] Operation: 46-45=1 Moving to Node #0,0,2 Current State: 51:[51, 1], Operations: ['96-51=45', '46-45=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 33, 36, 64, 52 ]
29
[ "52-36=16", "64/16=4", "33-4=29" ]
Current State: 29:[33, 36, 64, 52], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [33, 64, 16] Generated Node #2: [33, 64, 16] from Operation: 52-36=16 Current State: 29:[33, 64, 16], Operations: ['52-36=16'] Exploring Operation: 64/16=4, Resulting Numbers: [33, 4] Generated Node #3: [33, 4] from Operation: 64/16=4 Current State: 29:[33, 4], Operations: ['52-36=16', '64/16=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[33, 36, 64, 52], Operations: [] Exploring Operation: 64-36=28, Resulting Numbers: [33, 52, 28] Generated Node #0,0: 29:[33, 52, 28] Operation: 64-36=28 Exploring Operation: 64-52=12, Resulting Numbers: [33, 36, 12] Generated Node #0,1: 29:[33, 36, 12] Operation: 64-52=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[33, 52, 28], Operations: ['64-36=28'] Exploring Operation: 52-33=19, Resulting Numbers: [28, 19] Generated Node #0,0,0: 29:[28, 19] Operation: 52-33=19 Exploring Operation: 52-28=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 29:[33, 24] Operation: 52-28=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[33, 24], Operations: ['64-36=28', '52-28=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[28, 19], Operations: ['64-36=28', '52-33=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[33, 36, 12], Operations: ['64-52=12'] Exploring Operation: 33-12=21, Resulting Numbers: [36, 21] Generated Node #0,1,0: 29:[36, 21] Operation: 33-12=21 Exploring Operation: 36-12=24, Resulting Numbers: [33, 24] Generated Node #0,1,1: 29:[33, 24] Operation: 36-12=24 Moving to Node #0,1,1 Current State: 29:[33, 24], Operations: ['64-52=12', '36-12=24'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[36, 21], Operations: ['64-52=12', '33-12=21'] Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,29 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
[ 59, 14, 12, 72 ]
51
[ "59-14=45", "72/12=6", "45+6=51" ]
Current State: 51:[59, 14, 12, 72], Operations: [] Exploring Operation: 59-14=45, Resulting Numbers: [12, 72, 45] Generated Node #2: [12, 72, 45] from Operation: 59-14=45 Current State: 51:[12, 72, 45], Operations: ['59-14=45'] Exploring Operation: 72/12=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 72/12=6 Current State: 51:[45, 6], Operations: ['59-14=45', '72/12=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[59, 14, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [59, 14, 6] Generated Node #0,0: 51:[59, 14, 6] Operation: 72/12=6 Exploring Operation: 72-14=58, Resulting Numbers: [59, 12, 58] Generated Node #0,1: 51:[59, 12, 58] Operation: 72-14=58 Exploring Operation: 72-59=13, Resulting Numbers: [14, 12, 13] Generated Node #0,2: 51:[14, 12, 13] Operation: 72-59=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[14, 12, 13], Operations: ['72-59=13'] Exploring Operation: 13-12=1, Resulting Numbers: [14, 1] Generated Node #0,2,0: 51:[14, 1] Operation: 13-12=1 Exploring Operation: 14-13=1, Resulting Numbers: [12, 1] Generated Node #0,2,1: 51:[12, 1] Operation: 14-13=1 Exploring Operation: 14-12=2, Resulting Numbers: [13, 2] Generated Node #0,2,2: 51:[13, 2] Operation: 14-12=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[14, 1], Operations: ['72-59=13', '13-12=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,51 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[13, 2], Operations: ['72-59=13', '14-12=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[12, 1], Operations: ['72-59=13', '14-13=1'] Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[59, 14, 6], Operations: ['72/12=6'] Exploring Operation: 59-6=53, Resulting Numbers: [14, 53] Generated Node #0,0,0: 51:[14, 53] Operation: 59-6=53 Exploring Operation: 14+6=20, Resulting Numbers: [59, 20] Generated Node #0,0,1: 51:[59, 20] Operation: 14+6=20 Exploring Operation: 59-14=45, Resulting Numbers: [6, 45] Generated Node #0,0,2: 51:[6, 45] Operation: 59-14=45 Moving to Node #0,0,0 Current State: 51:[14, 53], Operations: ['72/12=6', '59-6=53'] Exploring Operation: 14*53=742, Resulting Numbers: [742] 742,51 unequal: No Solution Exploring Operation: 14+53=67, Resulting Numbers: [67] 67,51 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[6, 45], Operations: ['72/12=6', '59-14=45'] Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,51 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[59, 14, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [59, 14, 6] Generated Node #0,0: 51:[59, 14, 6] Operation: 72/12=6 Moving to Node #0,0 Current State: 51:[59, 14, 6], Operations: ['72/12=6'] Exploring Operation: 59-14=45, Resulting Numbers: [6, 45] Generated Node #0,0,2: 51:[6, 45] Operation: 59-14=45 Moving to Node #0,0,2 Current State: 51:[6, 45], Operations: ['72/12=6', '59-14=45'] Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 5, 33, 25, 16 ]
12
[ "25/5=5", "33-16=17", "17-5=12" ]
Current State: 12:[5, 33, 25, 16], Operations: [] Exploring Operation: 25/5=5, Resulting Numbers: [33, 16, 5] Generated Node #2: [33, 16, 5] from Operation: 25/5=5 Current State: 12:[33, 16, 5], Operations: ['25/5=5'] Exploring Operation: 33-16=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 33-16=17 Current State: 12:[5, 17], Operations: ['25/5=5', '33-16=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 33, 25, 16], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [5, 16, 8] Generated Node #0,0: 12:[5, 16, 8] Operation: 33-25=8 Exploring Operation: 33-16=17, Resulting Numbers: [5, 25, 17] Generated Node #0,1: 12:[5, 25, 17] Operation: 33-16=17 Moving to Node #0,0 Current State: 12:[5, 16, 8], Operations: ['33-25=8'] Exploring Operation: 16-5=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 12:[8, 11] Operation: 16-5=11 Exploring Operation: 16/8=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 12:[5, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[5, 2], Operations: ['33-25=8', '16/8=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,12 unequal: No Solution No 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: 12:[8, 11], Operations: ['33-25=8', '16-5=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,12 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: 12:[5, 25, 17], Operations: ['33-16=17'] Exploring Operation: 25-17=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 12:[5, 8] Operation: 25-17=8 Exploring Operation: 25/5=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 12:[17, 5] Operation: 25/5=5 Moving to Node #0,1,0 Current State: 12:[5, 8], Operations: ['33-16=17', '25-17=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,12 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[17, 5], Operations: ['33-16=17', '25/5=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[5, 33, 25, 16], Operations: [] Exploring Operation: 33-16=17, Resulting Numbers: [5, 25, 17] Generated Node #0,1: 12:[5, 25, 17] Operation: 33-16=17 Moving to Node #0,1 Current State: 12:[5, 25, 17], Operations: ['33-16=17'] Exploring Operation: 25/5=5, Resulting Numbers: [17, 5] Generated Node #0,1,1: 12:[17, 5] Operation: 25/5=5 Moving to Node #0,1,1 Current State: 12:[17, 5], Operations: ['33-16=17', '25/5=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.984375
hs_2
sum_heuristic
[ 44, 75, 48, 76 ]
91
[ "44+75=119", "76-48=28", "119-28=91" ]
Current State: 91:[44, 75, 48, 76], Operations: [] Exploring Operation: 44+75=119, Resulting Numbers: [48, 76, 119] Generated Node #2: [48, 76, 119] from Operation: 44+75=119 Current State: 91:[48, 76, 119], Operations: ['44+75=119'] Exploring Operation: 76-48=28, Resulting Numbers: [119, 28] Generated Node #3: [119, 28] from Operation: 76-48=28 Current State: 91:[119, 28], Operations: ['44+75=119', '76-48=28'] Exploring Operation: 119-28=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[44, 75, 48, 76], Operations: [] Exploring Operation: 44+48=92, Resulting Numbers: [75, 76, 92] Generated Node #0,0: 91:[75, 76, 92] Operation: 44+48=92 Exploring Operation: 76-48=28, Resulting Numbers: [44, 75, 28] Generated Node #0,1: 91:[44, 75, 28] Operation: 76-48=28 Exploring Operation: 75-48=27, Resulting Numbers: [44, 76, 27] Generated Node #0,2: 91:[44, 76, 27] Operation: 75-48=27 Exploring Operation: 48-44=4, Resulting Numbers: [75, 76, 4] Generated Node #0,3: 91:[75, 76, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[75, 76, 92], Operations: ['44+48=92'] Exploring Operation: 92-75=17, Resulting Numbers: [76, 17] Generated Node #0,0,0: 91:[76, 17] Operation: 92-75=17 Exploring Operation: 76-75=1, Resulting Numbers: [92, 1] Generated Node #0,0,1: 91:[92, 1] Operation: 76-75=1 Exploring Operation: 92-76=16, Resulting Numbers: [75, 16] Generated Node #0,0,2: 91:[75, 16] Operation: 92-76=16 Exploring Operation: 75+76=151, Resulting Numbers: [92, 151] Generated Node #0,0,3: 91:[92, 151] Operation: 75+76=151 Moving to Node #0,0,1 Current State: 91:[92, 1], Operations: ['44+48=92', '76-75=1'] Exploring Operation: 92*1=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[44, 75, 48, 76], Operations: [] Exploring Operation: 44+48=92, Resulting Numbers: [75, 76, 92] Generated Node #0,0: 91:[75, 76, 92] Operation: 44+48=92 Moving to Node #0,0 Current State: 91:[75, 76, 92], Operations: ['44+48=92'] Exploring Operation: 76-75=1, Resulting Numbers: [92, 1] Generated Node #0,0,1: 91:[92, 1] Operation: 76-75=1 Moving to Node #0,0,1 Current State: 91:[92, 1], Operations: ['44+48=92', '76-75=1'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 96, 57, 90, 84 ]
73
[ "90-84=6", "96/6=16", "57+16=73" ]
Current State: 73:[96, 57, 90, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [96, 57, 6] Generated Node #2: [96, 57, 6] from Operation: 90-84=6 Current State: 73:[96, 57, 6], Operations: ['90-84=6'] Exploring Operation: 96/6=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 96/6=16 Current State: 73:[57, 16], Operations: ['90-84=6', '96/6=16'] Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[96, 57, 90, 84], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [96, 90, 27] Generated Node #0,0: 73:[96, 90, 27] Operation: 84-57=27 Exploring Operation: 90-57=33, Resulting Numbers: [96, 84, 33] Generated Node #0,1: 73:[96, 84, 33] Operation: 90-57=33 Exploring Operation: 96-57=39, Resulting Numbers: [90, 84, 39] Generated Node #0,2: 73:[90, 84, 39] Operation: 96-57=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[90, 84, 39], Operations: ['96-57=39'] Exploring Operation: 90-39=51, Resulting Numbers: [84, 51] Generated Node #0,2,0: 73:[84, 51] Operation: 90-39=51 Exploring Operation: 90+39=129, Resulting Numbers: [84, 129] Generated Node #0,2,1: 73:[84, 129] Operation: 90+39=129 Exploring Operation: 84-39=45, Resulting Numbers: [90, 45] Generated Node #0,2,2: 73:[90, 45] Operation: 84-39=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[84, 51], Operations: ['96-57=39', '90-39=51'] Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 84+51=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 84*51=4284, Resulting Numbers: [4284] 4284,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[90, 45], Operations: ['96-57=39', '84-39=45'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[84, 129], Operations: ['96-57=39', '90+39=129'] Exploring Operation: 84+129=213, Resulting Numbers: [213] 213,73 unequal: No Solution Exploring Operation: 84*129=10836, Resulting Numbers: [10836] 10836,73 unequal: No Solution Exploring Operation: 129-84=45, Resulting Numbers: [45] 45,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[96, 84, 33], Operations: ['90-57=33'] Exploring Operation: 84-33=51, Resulting Numbers: [96, 51] Generated Node #0,1,0: 73:[96, 51] Operation: 84-33=51 Exploring Operation: 96-33=63, Resulting Numbers: [84, 63] Generated Node #0,1,1: 73:[84, 63] Operation: 96-33=63 Exploring Operation: 96+33=129, Resulting Numbers: [84, 129] Generated Node #0,1,2: 73:[84, 129] Operation: 96+33=129 Moving to Node #0,1,1 Current State: 73:[84, 63], Operations: ['90-57=33', '96-33=63'] Exploring Operation: 84*63=5292, Resulting Numbers: [5292] 5292,73 unequal: No Solution Exploring Operation: 84+63=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 84-63=21, Resulting Numbers: [21] 21,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[96, 51], Operations: ['90-57=33', '84-33=51'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[84, 129], Operations: ['90-57=33', '96+33=129'] Exploring Operation: 129-84=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 84+129=213, Resulting Numbers: [213] 213,73 unequal: No Solution Exploring Operation: 84*129=10836, Resulting Numbers: [10836] 10836,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[96, 90, 27], Operations: ['84-57=27'] Exploring Operation: 90-27=63, Resulting Numbers: [96, 63] Generated Node #0,0,0: 73:[96, 63] Operation: 90-27=63 Exploring Operation: 96-27=69, Resulting Numbers: [90, 69] Generated Node #0,0,1: 73:[90, 69] Operation: 96-27=69 Exploring Operation: 96+27=123, Resulting Numbers: [90, 123] Generated Node #0,0,2: 73:[90, 123] Operation: 96+27=123 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[90, 69], Operations: ['84-57=27', '96-27=69'] Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,73 unequal: No Solution Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,73 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,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:[96, 63], Operations: ['84-57=27', '90-27=63'] Exploring Operation: 96*63=6048, Resulting Numbers: [6048] 6048,73 unequal: No Solution Exploring Operation: 96+63=159, Resulting Numbers: [159] 159,73 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,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,2 Current State: 73:[90, 123], Operations: ['84-57=27', '96+27=123'] Exploring Operation: 90*123=11070, Resulting Numbers: [11070] 11070,73 unequal: No Solution Exploring Operation: 123-90=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 90+123=213, Resulting Numbers: [213] 213,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 45, 66, 11, 8 ]
73
[ "45+11=56", "56/8=7", "66+7=73" ]
Current State: 73:[45, 66, 11, 8], Operations: [] Exploring Operation: 45+11=56, Resulting Numbers: [66, 8, 56] Generated Node #2: [66, 8, 56] from Operation: 45+11=56 Current State: 73:[66, 8, 56], Operations: ['45+11=56'] Exploring Operation: 56/8=7, Resulting Numbers: [66, 7] Generated Node #3: [66, 7] from Operation: 56/8=7 Current State: 73:[66, 7], Operations: ['45+11=56', '56/8=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[45, 66, 11, 8], Operations: [] Exploring Operation: 11*8=88, Resulting Numbers: [45, 66, 88] Generated Node #0,0: 73:[45, 66, 88] Operation: 11*8=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[45, 66, 88], Operations: ['11*8=88'] Exploring Operation: 88-45=43, Resulting Numbers: [66, 43] Generated Node #0,0,0: 73:[66, 43] Operation: 88-45=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[66, 43], Operations: ['11*8=88', '88-45=43'] Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 43, 26, 42 ]
59
[ "85-26=59", "43-42=1", "59*1=59" ]
Current State: 59:[85, 43, 26, 42], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [43, 42, 59] Generated Node #2: [43, 42, 59] from Operation: 85-26=59 Current State: 59:[43, 42, 59], Operations: ['85-26=59'] Exploring Operation: 43-42=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 43-42=1 Current State: 59:[59, 1], Operations: ['85-26=59', '43-42=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[85, 43, 26, 42], Operations: [] Exploring Operation: 85-42=43, Resulting Numbers: [43, 26, 43] Generated Node #0,0: 59:[43, 26, 43] Operation: 85-42=43 Exploring Operation: 85-26=59, Resulting Numbers: [43, 42, 59] Generated Node #0,1: 59:[43, 42, 59] Operation: 85-26=59 Exploring Operation: 85-43=42, Resulting Numbers: [26, 42, 42] Generated Node #0,2: 59:[26, 42, 42] Operation: 85-43=42 Exploring Operation: 26+42=68, Resulting Numbers: [85, 43, 68] Generated Node #0,3: 59:[85, 43, 68] Operation: 26+42=68 Exploring Operation: 43+26=69, Resulting Numbers: [85, 42, 69] Generated Node #0,4: 59:[85, 42, 69] Operation: 43+26=69 Moving to Node #0,1 Current State: 59:[43, 42, 59], Operations: ['85-26=59'] Exploring Operation: 42+59=101, Resulting Numbers: [43, 101] Generated Node #0,1,0: 59:[43, 101] Operation: 42+59=101 Exploring Operation: 43-42=1, Resulting Numbers: [59, 1] Generated Node #0,1,1: 59:[59, 1] Operation: 43-42=1 Exploring Operation: 43+42=85, Resulting Numbers: [59, 85] Generated Node #0,1,2: 59:[59, 85] Operation: 43+42=85 Exploring Operation: 43+59=102, Resulting Numbers: [42, 102] Generated Node #0,1,3: 59:[42, 102] Operation: 43+59=102 Exploring Operation: 59-42=17, Resulting Numbers: [43, 17] Generated Node #0,1,4: 59:[43, 17] Operation: 59-42=17 Moving to Node #0,3 Current State: 59:[85, 43, 68], Operations: ['26+42=68'] Exploring Operation: 85-68=17, Resulting Numbers: [43, 17] Generated Node #0,3,0: 59:[43, 17] Operation: 85-68=17 Exploring Operation: 68-43=25, Resulting Numbers: [85, 25] Generated Node #0,3,1: 59:[85, 25] Operation: 68-43=25 Exploring Operation: 43+68=111, Resulting Numbers: [85, 111] Generated Node #0,3,2: 59:[85, 111] Operation: 43+68=111 Exploring Operation: 85+43=128, Resulting Numbers: [68, 128] Generated Node #0,3,3: 59:[68, 128] Operation: 85+43=128 Exploring Operation: 85-43=42, Resulting Numbers: [68, 42] Generated Node #0,3,4: 59:[68, 42] Operation: 85-43=42 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[68, 42], Operations: ['26+42=68', '85-43=42'] Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,59 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[43, 17], Operations: ['26+42=68', '85-68=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[85, 25], Operations: ['26+42=68', '68-43=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,59 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[85, 111], Operations: ['26+42=68', '43+68=111'] Exploring Operation: 85*111=9435, Resulting Numbers: [9435] 9435,59 unequal: No Solution Exploring Operation: 111-85=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 85+111=196, Resulting Numbers: [196] 196,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[68, 128], Operations: ['26+42=68', '85+43=128'] Exploring Operation: 68*128=8704, Resulting Numbers: [8704] 8704,59 unequal: No Solution Exploring Operation: 128-68=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 68+128=196, Resulting Numbers: [196] 196,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 59:[85, 42, 69], Operations: ['43+26=69'] Exploring Operation: 85-42=43, Resulting Numbers: [69, 43] Generated Node #0,4,0: 59:[69, 43] Operation: 85-42=43 Exploring Operation: 85-69=16, Resulting Numbers: [42, 16] Generated Node #0,4,1: 59:[42, 16] Operation: 85-69=16 Exploring Operation: 85+42=127, Resulting Numbers: [69, 127] Generated Node #0,4,2: 59:[69, 127] Operation: 85+42=127 Exploring Operation: 42+69=111, Resulting Numbers: [85, 111] Generated Node #0,4,3: 59:[85, 111] Operation: 42+69=111 Exploring Operation: 69-42=27, Resulting Numbers: [85, 27] Generated Node #0,4,4: 59:[85, 27] Operation: 69-42=27 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[69, 43], Operations: ['43+26=69', '85-42=43'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[85, 27], Operations: ['43+26=69', '69-42=27'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 85*27=2295, Resulting Numbers: [2295] 2295,59 unequal: No Solution Exploring Operation: 85+27=112, Resulting Numbers: [112] 112,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[42, 16], Operations: ['43+26=69', '85-69=16'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[69, 127], Operations: ['43+26=69', '85+42=127'] Exploring Operation: 69+127=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 127-69=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 69*127=8763, Resulting Numbers: [8763] 8763,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[85, 111], Operations: ['43+26=69', '42+69=111'] Exploring Operation: 85*111=9435, Resulting Numbers: [9435] 9435,59 unequal: No Solution Exploring Operation: 85+111=196, Resulting Numbers: [196] 196,59 unequal: No Solution Exploring Operation: 111-85=26, Resulting Numbers: [26] 26,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 59:[43, 26, 43], Operations: ['85-42=43'] Exploring Operation: 43+43=86, Resulting Numbers: [26, 86] Generated Node #0,0,0: 59:[26, 86] Operation: 43+43=86 Exploring Operation: 43-26=17, Resulting Numbers: [43, 17] Generated Node #0,0,1: 59:[43, 17] Operation: 43-26=17 Exploring Operation: 26+43=69, Resulting Numbers: [43, 69] Generated Node #0,0,2: 59:[43, 69] Operation: 26+43=69 Exploring Operation: 43+26=69, Resulting Numbers: [43, 69] Generated Node #0,0,3: 59:[43, 69] Operation: 43+26=69 Exploring Operation: 43-26=17, Resulting Numbers: [43, 17] Generated Node #0,0,4: 59:[43, 17] Operation: 43-26=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[43, 69], Operations: ['85-42=43', '26+43=69'] Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[43, 69], Operations: ['85-42=43', '43+26=69'] Exploring Operation: 43+69=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 43*69=2967, Resulting Numbers: [2967] 2967,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[43, 17], Operations: ['85-42=43', '43-26=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[43, 17], Operations: ['85-42=43', '43-26=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[26, 86], Operations: ['85-42=43', '43+43=86'] Exploring Operation: 26+86=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 26*86=2236, Resulting Numbers: [2236] 2236,59 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[26, 42, 42], Operations: ['85-43=42'] Exploring Operation: 26+42=68, Resulting Numbers: [42, 68] Generated Node #0,2,0: 59:[42, 68] Operation: 26+42=68 Exploring Operation: 42+42=84, Resulting Numbers: [26, 84] Generated Node #0,2,1: 59:[26, 84] Operation: 42+42=84 Exploring Operation: 26+42=68, Resulting Numbers: [42, 68] Generated Node #0,2,2: 59:[42, 68] Operation: 26+42=68 Exploring Operation: 42-26=16, Resulting Numbers: [42, 16] Generated Node #0,2,3: 59:[42, 16] Operation: 42-26=16 Exploring Operation: 42-26=16, Resulting Numbers: [42, 16] Generated Node #0,2,4: 59:[42, 16] Operation: 42-26=16 Moving to Node #0,1,2 Current State: 59:[59, 85], Operations: ['85-26=59', '43+42=85'] Exploring Operation: 59*85=5015, Resulting Numbers: [5015] 5015,59 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 59+85=144, Resulting Numbers: [144] 144,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[42, 68], Operations: ['85-43=42', '26+42=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,59 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[42, 68], Operations: ['85-43=42', '26+42=68'] Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,59 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[59, 1], Operations: ['85-26=59', '43-42=1'] Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,59 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[85, 43, 26, 42], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [43, 42, 59] Generated Node #0,1: 59:[43, 42, 59] Operation: 85-26=59 Moving to Node #0,1 Current State: 59:[43, 42, 59], Operations: ['85-26=59'] Exploring Operation: 43-42=1, Resulting Numbers: [59, 1] Generated Node #0,1,1: 59:[59, 1] Operation: 43-42=1 Moving to Node #0,1,1 Current State: 59:[59, 1], Operations: ['85-26=59', '43-42=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.921007
hs_5
mult_heuristic
[ 75, 21, 20, 17 ]
15
[ "21-17=4", "75*4=300", "300/20=15" ]
Current State: 15:[75, 21, 20, 17], Operations: [] Exploring Operation: 21-17=4, Resulting Numbers: [75, 20, 4] Generated Node #2: [75, 20, 4] from Operation: 21-17=4 Current State: 15:[75, 20, 4], Operations: ['21-17=4'] Exploring Operation: 75*4=300, Resulting Numbers: [20, 300] Generated Node #3: [20, 300] from Operation: 75*4=300 Current State: 15:[20, 300], Operations: ['21-17=4', '75*4=300'] Exploring Operation: 300/20=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[75, 21, 20, 17], Operations: [] Exploring Operation: 75-21=54, Resulting Numbers: [20, 17, 54] Generated Node #0,0: 15:[20, 17, 54] Operation: 75-21=54 Exploring Operation: 75-20=55, Resulting Numbers: [21, 17, 55] Generated Node #0,1: 15:[21, 17, 55] Operation: 75-20=55 Exploring Operation: 75-17=58, Resulting Numbers: [21, 20, 58] Generated Node #0,2: 15:[21, 20, 58] Operation: 75-17=58 Moving to Node #0,0 Current State: 15:[20, 17, 54], Operations: ['75-21=54'] Exploring Operation: 54-20=34, Resulting Numbers: [17, 34] Generated Node #0,0,0: 15:[17, 34] Operation: 54-20=34 Exploring Operation: 20-17=3, Resulting Numbers: [54, 3] Generated Node #0,0,1: 15:[54, 3] Operation: 20-17=3 Exploring Operation: 54-17=37, Resulting Numbers: [20, 37] Generated Node #0,0,2: 15:[20, 37] Operation: 54-17=37 Moving to Node #0,1 Current State: 15:[21, 17, 55], Operations: ['75-20=55'] Exploring Operation: 21-17=4, Resulting Numbers: [55, 4] Generated Node #0,1,0: 15:[55, 4] Operation: 21-17=4 Exploring Operation: 55-17=38, Resulting Numbers: [21, 38] Generated Node #0,1,1: 15:[21, 38] Operation: 55-17=38 Exploring Operation: 55-21=34, Resulting Numbers: [17, 34] Generated Node #0,1,2: 15:[17, 34] Operation: 55-21=34 Moving to Node #0,2 Current State: 15:[21, 20, 58], Operations: ['75-17=58'] Exploring Operation: 58-21=37, Resulting Numbers: [20, 37] Generated Node #0,2,0: 15:[20, 37] Operation: 58-21=37 Exploring Operation: 21-20=1, Resulting Numbers: [58, 1] Generated Node #0,2,1: 15:[58, 1] Operation: 21-20=1 Exploring Operation: 58-20=38, Resulting Numbers: [21, 38] Generated Node #0,2,2: 15:[21, 38] Operation: 58-20=38 Moving to Node #0,0,0 Current State: 15:[17, 34], Operations: ['75-21=54', '54-20=34'] Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[17, 34], Operations: ['75-20=55', '55-21=34'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 17+34=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[20, 37], Operations: ['75-17=58', '58-21=37'] Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[20, 37], Operations: ['75-21=54', '54-17=37'] Exploring Operation: 20*37=740, Resulting Numbers: [740] 740,15 unequal: No Solution Exploring Operation: 20+37=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 37-20=17, Resulting Numbers: [17] 17,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[21, 38], Operations: ['75-20=55', '55-17=38'] Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,15 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[21, 38], Operations: ['75-17=58', '58-20=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,15 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[54, 3], Operations: ['75-21=54', '20-17=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[55, 4], Operations: ['75-20=55', '21-17=4'] Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,15 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[58, 1], Operations: ['75-17=58', '21-20=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,15 unequal: No Solution Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,15 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,15 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 90, 72, 11, 80 ]
53
[ "72*80=5760", "5760/90=64", "64-11=53" ]
Current State: 53:[90, 72, 11, 80], Operations: [] Exploring Operation: 72*80=5760, Resulting Numbers: [90, 11, 5760] Generated Node #2: [90, 11, 5760] from Operation: 72*80=5760 Current State: 53:[90, 11, 5760], Operations: ['72*80=5760'] Exploring Operation: 5760/90=64, Resulting Numbers: [11, 64] Generated Node #3: [11, 64] from Operation: 5760/90=64 Current State: 53:[11, 64], Operations: ['72*80=5760', '5760/90=64'] Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[90, 72, 11, 80], Operations: [] Exploring Operation: 90-11=79, Resulting Numbers: [72, 80, 79] Generated Node #0,0: 53:[72, 80, 79] Operation: 90-11=79 Exploring Operation: 72-11=61, Resulting Numbers: [90, 80, 61] Generated Node #0,1: 53:[90, 80, 61] Operation: 72-11=61 Exploring Operation: 80-11=69, Resulting Numbers: [90, 72, 69] Generated Node #0,2: 53:[90, 72, 69] Operation: 80-11=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[72, 80, 79], Operations: ['90-11=79'] Exploring Operation: 80-72=8, Resulting Numbers: [79, 8] Generated Node #0,0,0: 53:[79, 8] Operation: 80-72=8 Exploring Operation: 80-79=1, Resulting Numbers: [72, 1] Generated Node #0,0,1: 53:[72, 1] Operation: 80-79=1 Exploring Operation: 79-72=7, Resulting Numbers: [80, 7] Generated Node #0,0,2: 53:[80, 7] Operation: 79-72=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[79, 8], Operations: ['90-11=79', '80-72=8'] Exploring Operation: 79+8=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 79*8=632, Resulting Numbers: [632] 632,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[72, 1], Operations: ['90-11=79', '80-79=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,53 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[80, 7], Operations: ['90-11=79', '79-72=7'] Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,53 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[90, 80, 61], Operations: ['72-11=61'] Exploring Operation: 90-61=29, Resulting Numbers: [80, 29] Generated Node #0,1,0: 53:[80, 29] Operation: 90-61=29 Exploring Operation: 80-61=19, Resulting Numbers: [90, 19] Generated Node #0,1,1: 53:[90, 19] Operation: 80-61=19 Exploring Operation: 90-80=10, Resulting Numbers: [61, 10] Generated Node #0,1,2: 53:[61, 10] Operation: 90-80=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[80, 29], Operations: ['72-11=61', '90-61=29'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 80*29=2320, Resulting Numbers: [2320] 2320,53 unequal: No Solution Exploring Operation: 80+29=109, Resulting Numbers: [109] 109,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[61, 10], Operations: ['72-11=61', '90-80=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[90, 19], Operations: ['72-11=61', '80-61=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,53 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,53 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[90, 72, 69], Operations: ['80-11=69'] Exploring Operation: 90-69=21, Resulting Numbers: [72, 21] Generated Node #0,2,0: 53:[72, 21] Operation: 90-69=21 Exploring Operation: 90-72=18, Resulting Numbers: [69, 18] Generated Node #0,2,1: 53:[69, 18] Operation: 90-72=18 Exploring Operation: 72-69=3, Resulting Numbers: [90, 3] Generated Node #0,2,2: 53:[90, 3] Operation: 72-69=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[72, 21], Operations: ['80-11=69', '90-69=21'] Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[69, 18], Operations: ['80-11=69', '90-72=18'] Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,53 unequal: No Solution Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[90, 3], Operations: ['80-11=69', '72-69=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,53 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 51, 51, 83 ]
38
[ "51+51=102", "102-83=19", "2*19=38" ]
Current State: 38:[2, 51, 51, 83], Operations: [] Exploring Operation: 51+51=102, Resulting Numbers: [2, 83, 102] Generated Node #2: [2, 83, 102] from Operation: 51+51=102 Current State: 38:[2, 83, 102], Operations: ['51+51=102'] Exploring Operation: 102-83=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 102-83=19 Current State: 38:[2, 19], Operations: ['51+51=102', '102-83=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[2, 51, 51, 83], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [2, 51, 32] Generated Node #0,0: 38:[2, 51, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[2, 51, 32], Operations: ['83-51=32'] Exploring Operation: 51-32=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 38:[2, 19] Operation: 51-32=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[2, 19], Operations: ['83-51=32', '51-32=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[2, 51, 51, 83], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [2, 51, 32] Generated Node #0,0: 38:[2, 51, 32] Operation: 83-51=32 Moving to Node #0,0 Current State: 38:[2, 51, 32], Operations: ['83-51=32'] Exploring Operation: 51-32=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 38:[2, 19] Operation: 51-32=19 Moving to Node #0,0,0 Current State: 38:[2, 19], Operations: ['83-51=32', '51-32=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 53, 29, 17, 62 ]
21
[ "53-29=24", "62-17=45", "45-24=21" ]
Current State: 21:[53, 29, 17, 62], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [17, 62, 24] Generated Node #2: [17, 62, 24] from Operation: 53-29=24 Current State: 21:[17, 62, 24], Operations: ['53-29=24'] Exploring Operation: 62-17=45, Resulting Numbers: [24, 45] Generated Node #3: [24, 45] from Operation: 62-17=45 Current State: 21:[24, 45], Operations: ['53-29=24', '62-17=45'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[53, 29, 17, 62], Operations: [] Exploring Operation: 53-29=24, Resulting Numbers: [17, 62, 24] Generated Node #0,0: 21:[17, 62, 24] Operation: 53-29=24 Exploring Operation: 62-53=9, Resulting Numbers: [29, 17, 9] Generated Node #0,1: 21:[29, 17, 9] Operation: 62-53=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[29, 17, 9], Operations: ['62-53=9'] Exploring Operation: 29-17=12, Resulting Numbers: [9, 12] Generated Node #0,1,0: 21:[9, 12] Operation: 29-17=12 Exploring Operation: 29-9=20, Resulting Numbers: [17, 20] Generated Node #0,1,1: 21:[17, 20] Operation: 29-9=20 Moving to Node #0,1,1 Current State: 21:[17, 20], Operations: ['62-53=9', '29-9=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 17+20=37, Resulting Numbers: [37] 37,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[9, 12], Operations: ['62-53=9', '29-17=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[53, 29, 17, 62], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [29, 17, 9] Generated Node #0,1: 21:[29, 17, 9] Operation: 62-53=9 Moving to Node #0,1 Current State: 21:[29, 17, 9], Operations: ['62-53=9'] Exploring Operation: 29-17=12, Resulting Numbers: [9, 12] Generated Node #0,1,0: 21:[9, 12] Operation: 29-17=12 Moving to Node #0,1,0 Current State: 21:[9, 12], Operations: ['62-53=9', '29-17=12'] Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 25, 19, 87, 8 ]
30
[ "87+8=95", "95/19=5", "25+5=30" ]
Current State: 30:[25, 19, 87, 8], Operations: [] Exploring Operation: 87+8=95, Resulting Numbers: [25, 19, 95] Generated Node #2: [25, 19, 95] from Operation: 87+8=95 Current State: 30:[25, 19, 95], Operations: ['87+8=95'] Exploring Operation: 95/19=5, Resulting Numbers: [25, 5] Generated Node #3: [25, 5] from Operation: 95/19=5 Current State: 30:[25, 5], Operations: ['87+8=95', '95/19=5'] Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[25, 19, 87, 8], Operations: [] Exploring Operation: 87-25=62, Resulting Numbers: [19, 8, 62] Generated Node #0,0: 30:[19, 8, 62] Operation: 87-25=62 Exploring Operation: 87-19=68, Resulting Numbers: [25, 8, 68] Generated Node #0,1: 30:[25, 8, 68] Operation: 87-19=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[19, 8, 62], Operations: ['87-25=62'] Exploring Operation: 62-19=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 30:[8, 43] Operation: 62-19=43 Exploring Operation: 62-8=54, Resulting Numbers: [19, 54] Generated Node #0,0,1: 30:[19, 54] Operation: 62-8=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[8, 43], Operations: ['87-25=62', '62-19=43'] Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,30 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 30:[19, 54], Operations: ['87-25=62', '62-8=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,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,1 Current State: 30:[25, 8, 68], Operations: ['87-19=68'] Exploring Operation: 68-25=43, Resulting Numbers: [8, 43] Generated Node #0,1,0: 30:[8, 43] Operation: 68-25=43 Exploring Operation: 68-8=60, Resulting Numbers: [25, 60] Generated Node #0,1,1: 30:[25, 60] Operation: 68-8=60 Moving to Node #0,1,0 Current State: 30:[8, 43], Operations: ['87-19=68', '68-25=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,30 unequal: No Solution Moving to Node #0,1,1 Current State: 30:[25, 60], Operations: ['87-19=68', '68-8=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,30 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
[ 16, 79, 25, 66 ]
22
[ "79-16=63", "66-25=41", "63-41=22" ]
Current State: 22:[16, 79, 25, 66], Operations: [] Exploring Operation: 79-16=63, Resulting Numbers: [25, 66, 63] Generated Node #2: [25, 66, 63] from Operation: 79-16=63 Current State: 22:[25, 66, 63], Operations: ['79-16=63'] Exploring Operation: 66-25=41, Resulting Numbers: [63, 41] Generated Node #3: [63, 41] from Operation: 66-25=41 Current State: 22:[63, 41], Operations: ['79-16=63', '66-25=41'] Exploring Operation: 63-41=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[16, 79, 25, 66], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [16, 25, 13] Generated Node #0,0: 22:[16, 25, 13] Operation: 79-66=13 Exploring Operation: 79-25=54, Resulting Numbers: [16, 66, 54] Generated Node #0,1: 22:[16, 66, 54] Operation: 79-25=54 Exploring Operation: 66-25=41, Resulting Numbers: [16, 79, 41] Generated Node #0,2: 22:[16, 79, 41] Operation: 66-25=41 Moving to Node #0,0 Current State: 22:[16, 25, 13], Operations: ['79-66=13'] Exploring Operation: 25-16=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 22:[13, 9] Operation: 25-16=9 Exploring Operation: 16-13=3, Resulting Numbers: [25, 3] Generated Node #0,0,1: 22:[25, 3] Operation: 16-13=3 Exploring Operation: 25-13=12, Resulting Numbers: [16, 12] Generated Node #0,0,2: 22:[16, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[13, 9], Operations: ['79-66=13', '25-16=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[16, 79, 25, 66], Operations: [] Exploring Operation: 79-66=13, Resulting Numbers: [16, 25, 13] Generated Node #0,0: 22:[16, 25, 13] Operation: 79-66=13 Moving to Node #0,0 Current State: 22:[16, 25, 13], Operations: ['79-66=13'] Exploring Operation: 25-16=9, Resulting Numbers: [13, 9] Generated Node #0,0,0: 22:[13, 9] Operation: 25-16=9 Moving to Node #0,0,0 Current State: 22:[13, 9], Operations: ['79-66=13', '25-16=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 45, 2, 15, 58 ]
20
[ "45/15=3", "2+58=60", "60/3=20" ]
Current State: 20:[45, 2, 15, 58], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [2, 58, 3] Generated Node #2: [2, 58, 3] from Operation: 45/15=3 Current State: 20:[2, 58, 3], Operations: ['45/15=3'] Exploring Operation: 2+58=60, Resulting Numbers: [3, 60] Generated Node #3: [3, 60] from Operation: 2+58=60 Current State: 20:[3, 60], Operations: ['45/15=3', '2+58=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[45, 2, 15, 58], Operations: [] Exploring Operation: 45/15=3, Resulting Numbers: [2, 58, 3] Generated Node #0,0: 20:[2, 58, 3] Operation: 45/15=3 Exploring Operation: 58-45=13, Resulting Numbers: [2, 15, 13] Generated Node #0,1: 20:[2, 15, 13] Operation: 58-45=13 Moving to Node #0,1 Current State: 20:[2, 15, 13], Operations: ['58-45=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 20:[2, 2] Operation: 15-13=2 Exploring Operation: 2+15=17, Resulting Numbers: [13, 17] Generated Node #0,1,1: 20:[13, 17] Operation: 2+15=17 Moving to Node #0,0 Current State: 20:[2, 58, 3], Operations: ['45/15=3'] Exploring Operation: 58/2=29, Resulting Numbers: [3, 29] Generated Node #0,0,0: 20:[3, 29] Operation: 58/2=29 Exploring Operation: 58-3=55, Resulting Numbers: [2, 55] Generated Node #0,0,1: 20:[2, 55] Operation: 58-3=55 Moving to Node #0,1,0 Current State: 20:[2, 2], Operations: ['58-45=13', '15-13=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[13, 17], Operations: ['58-45=13', '2+15=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[3, 29], Operations: ['45/15=3', '58/2=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[2, 55], Operations: ['45/15=3', '58-3=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,20 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 72, 5, 98 ]
34
[ "65+72=137", "5+98=103", "137-103=34" ]
Current State: 34:[65, 72, 5, 98], Operations: [] Exploring Operation: 65+72=137, Resulting Numbers: [5, 98, 137] Generated Node #2: [5, 98, 137] from Operation: 65+72=137 Current State: 34:[5, 98, 137], Operations: ['65+72=137'] Exploring Operation: 5+98=103, Resulting Numbers: [137, 103] Generated Node #3: [137, 103] from Operation: 5+98=103 Current State: 34:[137, 103], Operations: ['65+72=137', '5+98=103'] Exploring Operation: 137-103=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[65, 72, 5, 98], Operations: [] Exploring Operation: 72-65=7, Resulting Numbers: [5, 98, 7] Generated Node #0,0: 34:[5, 98, 7] Operation: 72-65=7 Exploring Operation: 98-72=26, Resulting Numbers: [65, 5, 26] Generated Node #0,1: 34:[65, 5, 26] Operation: 98-72=26 Exploring Operation: 98-65=33, Resulting Numbers: [72, 5, 33] Generated Node #0,2: 34:[72, 5, 33] Operation: 98-65=33 Moving to Node #0,1 Current State: 34:[65, 5, 26], Operations: ['98-72=26'] Exploring Operation: 65-5=60, Resulting Numbers: [26, 60] Generated Node #0,1,0: 34:[26, 60] Operation: 65-5=60 Exploring Operation: 65/5=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 34:[26, 13] Operation: 65/5=13 Exploring Operation: 65-26=39, Resulting Numbers: [5, 39] Generated Node #0,1,2: 34:[5, 39] Operation: 65-26=39 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[5, 39], Operations: ['98-72=26', '65-26=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[65, 72, 5, 98], Operations: [] Exploring Operation: 98-72=26, Resulting Numbers: [65, 5, 26] Generated Node #0,1: 34:[65, 5, 26] Operation: 98-72=26 Moving to Node #0,1 Current State: 34:[65, 5, 26], Operations: ['98-72=26'] Exploring Operation: 65-26=39, Resulting Numbers: [5, 39] Generated Node #0,1,2: 34:[5, 39] Operation: 65-26=39 Moving to Node #0,1,2 Current State: 34:[5, 39], Operations: ['98-72=26', '65-26=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 23, 97, 81, 26 ]
93
[ "23+81=104", "104/26=4", "97-4=93" ]
Current State: 93:[23, 97, 81, 26], Operations: [] Exploring Operation: 23+81=104, Resulting Numbers: [97, 26, 104] Generated Node #2: [97, 26, 104] from Operation: 23+81=104 Current State: 93:[97, 26, 104], Operations: ['23+81=104'] Exploring Operation: 104/26=4, Resulting Numbers: [97, 4] Generated Node #3: [97, 4] from Operation: 104/26=4 Current State: 93:[97, 4], Operations: ['23+81=104', '104/26=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[23, 97, 81, 26], Operations: [] Exploring Operation: 23+81=104, Resulting Numbers: [97, 26, 104] Generated Node #0,0: 93:[97, 26, 104] Operation: 23+81=104 Exploring Operation: 26-23=3, Resulting Numbers: [97, 81, 3] Generated Node #0,1: 93:[97, 81, 3] Operation: 26-23=3 Moving to Node #0,1 Current State: 93:[97, 81, 3], Operations: ['26-23=3'] Exploring Operation: 97-81=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 93:[3, 16] Operation: 97-81=16 Exploring Operation: 81/3=27, Resulting Numbers: [97, 27] Generated Node #0,1,1: 93:[97, 27] Operation: 81/3=27 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[97, 27], Operations: ['26-23=3', '81/3=27'] Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 97+27=124, Resulting Numbers: [124] 124,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,0 Current State: 93:[3, 16], Operations: ['26-23=3', '97-81=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,93 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: 93:[97, 26, 104], Operations: ['23+81=104'] Exploring Operation: 104-97=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 93:[26, 7] Operation: 104-97=7 Exploring Operation: 104/26=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 93:[97, 4] Operation: 104/26=4 Moving to Node #0,0,1 Current State: 93:[97, 4], Operations: ['23+81=104', '104/26=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[23, 97, 81, 26], Operations: [] Exploring Operation: 23+81=104, Resulting Numbers: [97, 26, 104] Generated Node #0,0: 93:[97, 26, 104] Operation: 23+81=104 Moving to Node #0,0 Current State: 93:[97, 26, 104], Operations: ['23+81=104'] Exploring Operation: 104/26=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 93:[97, 4] Operation: 104/26=4 Moving to Node #0,0,1 Current State: 93:[97, 4], Operations: ['23+81=104', '104/26=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 81, 27, 12, 8 ]
27
[ "81+27=108", "12-8=4", "108/4=27" ]
Current State: 27:[81, 27, 12, 8], Operations: [] Exploring Operation: 81+27=108, Resulting Numbers: [12, 8, 108] Generated Node #2: [12, 8, 108] from Operation: 81+27=108 Current State: 27:[12, 8, 108], Operations: ['81+27=108'] Exploring Operation: 12-8=4, Resulting Numbers: [108, 4] Generated Node #3: [108, 4] from Operation: 12-8=4 Current State: 27:[108, 4], Operations: ['81+27=108', '12-8=4'] Exploring Operation: 108/4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[81, 27, 12, 8], Operations: [] Exploring Operation: 81-12=69, Resulting Numbers: [27, 8, 69] Generated Node #0,0: 27:[27, 8, 69] Operation: 81-12=69 Exploring Operation: 81-27=54, Resulting Numbers: [12, 8, 54] Generated Node #0,1: 27:[12, 8, 54] Operation: 81-27=54 Exploring Operation: 81-8=73, Resulting Numbers: [27, 12, 73] Generated Node #0,2: 27:[27, 12, 73] Operation: 81-8=73 Exploring Operation: 81/27=3, Resulting Numbers: [12, 8, 3] Generated Node #0,3: 27:[12, 8, 3] Operation: 81/27=3 Moving to Node #0,3 Current State: 27:[12, 8, 3], Operations: ['81/27=3'] Exploring Operation: 12-8=4, Resulting Numbers: [3, 4] Generated Node #0,3,0: 27:[3, 4] Operation: 12-8=4 Exploring Operation: 12/3=4, Resulting Numbers: [8, 4] Generated Node #0,3,1: 27:[8, 4] Operation: 12/3=4 Exploring Operation: 8+3=11, Resulting Numbers: [12, 11] Generated Node #0,3,2: 27:[12, 11] Operation: 8+3=11 Exploring Operation: 12-3=9, Resulting Numbers: [8, 9] Generated Node #0,3,3: 27:[8, 9] Operation: 12-3=9 Moving to Node #0,1 Current State: 27:[12, 8, 54], Operations: ['81-27=54'] Exploring Operation: 54-8=46, Resulting Numbers: [12, 46] Generated Node #0,1,0: 27:[12, 46] Operation: 54-8=46 Exploring Operation: 54-12=42, Resulting Numbers: [8, 42] Generated Node #0,1,1: 27:[8, 42] Operation: 54-12=42 Exploring Operation: 12+8=20, Resulting Numbers: [54, 20] Generated Node #0,1,2: 27:[54, 20] Operation: 12+8=20 Exploring Operation: 12-8=4, Resulting Numbers: [54, 4] Generated Node #0,1,3: 27:[54, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[8, 42], Operations: ['81-27=54', '54-12=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,27 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[12, 46], Operations: ['81-27=54', '54-8=46'] Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,27 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 46-12=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,1,3 Current State: 27:[54, 4], Operations: ['81-27=54', '12-8=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,27 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[54, 20], Operations: ['81-27=54', '12+8=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,27 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 27:[27, 8, 69], Operations: ['81-12=69'] Exploring Operation: 27+8=35, Resulting Numbers: [69, 35] Generated Node #0,0,0: 27:[69, 35] Operation: 27+8=35 Exploring Operation: 69-8=61, Resulting Numbers: [27, 61] Generated Node #0,0,1: 27:[27, 61] Operation: 69-8=61 Exploring Operation: 27-8=19, Resulting Numbers: [69, 19] Generated Node #0,0,2: 27:[69, 19] Operation: 27-8=19 Exploring Operation: 69-27=42, Resulting Numbers: [8, 42] Generated Node #0,0,3: 27:[8, 42] Operation: 69-27=42 Moving to Node #0,2 Current State: 27:[27, 12, 73], Operations: ['81-8=73'] Exploring Operation: 73-27=46, Resulting Numbers: [12, 46] Generated Node #0,2,0: 27:[12, 46] Operation: 73-27=46 Exploring Operation: 27-12=15, Resulting Numbers: [73, 15] Generated Node #0,2,1: 27:[73, 15] Operation: 27-12=15 Exploring Operation: 27+12=39, Resulting Numbers: [73, 39] Generated Node #0,2,2: 27:[73, 39] Operation: 27+12=39 Exploring Operation: 73-12=61, Resulting Numbers: [27, 61] Generated Node #0,2,3: 27:[27, 61] Operation: 73-12=61 Moving to Node #0,3,0 Current State: 27:[3, 4], Operations: ['81/27=3', '12-8=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[8, 9], Operations: ['81/27=3', '12-3=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[8, 4], Operations: ['81/27=3', '12/3=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,27 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[12, 11], Operations: ['81/27=3', '8+3=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,27 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[8, 42], Operations: ['81-12=69', '69-27=42'] Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[12, 46], Operations: ['81-8=73', '73-27=46'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[27, 61], Operations: ['81-12=69', '69-8=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,27 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[27, 61], Operations: ['81-8=73', '73-12=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[69, 35], Operations: ['81-12=69', '27+8=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 69*35=2415, Resulting Numbers: [2415] 2415,27 unequal: No Solution Exploring Operation: 69+35=104, Resulting Numbers: [104] 104,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[69, 19], Operations: ['81-12=69', '27-8=19'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[73, 15], Operations: ['81-8=73', '27-12=15'] Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,27 unequal: No Solution Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,27 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[73, 39], Operations: ['81-8=73', '27+12=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,27 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,27 unequal: No Solution Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,27 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 4, 36, 61, 97 ]
76
[ "4+36=40", "97-61=36", "40+36=76" ]
Current State: 76:[4, 36, 61, 97], Operations: [] Exploring Operation: 4+36=40, Resulting Numbers: [61, 97, 40] Generated Node #2: [61, 97, 40] from Operation: 4+36=40 Current State: 76:[61, 97, 40], Operations: ['4+36=40'] Exploring Operation: 97-61=36, Resulting Numbers: [40, 36] Generated Node #3: [40, 36] from Operation: 97-61=36 Current State: 76:[40, 36], Operations: ['4+36=40', '97-61=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 36, 61, 97], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [4, 97, 25] Generated Node #0,0: 76:[4, 97, 25] Operation: 61-36=25 Exploring Operation: 97-61=36, Resulting Numbers: [4, 36, 36] Generated Node #0,1: 76:[4, 36, 36] Operation: 97-61=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[4, 36, 36], Operations: ['97-61=36'] Exploring Operation: 36-36=0, Resulting Numbers: [4, 0] Generated Node #0,1,0: 76:[4, 0] Operation: 36-36=0 Exploring Operation: 36/36=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 76:[4, 1] Operation: 36/36=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[4, 1], Operations: ['97-61=36', '36/36=1'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,76 unequal: No Solution No 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: 76:[4, 0], Operations: ['97-61=36', '36-36=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,76 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: 76:[4, 97, 25], Operations: ['61-36=25'] Exploring Operation: 97-4=93, Resulting Numbers: [25, 93] Generated Node #0,0,0: 76:[25, 93] Operation: 97-4=93 Exploring Operation: 97-25=72, Resulting Numbers: [4, 72] Generated Node #0,0,1: 76:[4, 72] Operation: 97-25=72 Moving to Node #0,0,1 Current State: 76:[4, 72], Operations: ['61-36=25', '97-25=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[4, 36, 61, 97], Operations: [] Exploring Operation: 61-36=25, Resulting Numbers: [4, 97, 25] Generated Node #0,0: 76:[4, 97, 25] Operation: 61-36=25 Moving to Node #0,0 Current State: 76:[4, 97, 25], Operations: ['61-36=25'] Exploring Operation: 97-25=72, Resulting Numbers: [4, 72] Generated Node #0,0,1: 76:[4, 72] Operation: 97-25=72 Moving to Node #0,0,1 Current State: 76:[4, 72], Operations: ['61-36=25', '97-25=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 5, 87, 57, 81 ]
58
[ "87-5=82", "81-57=24", "82-24=58" ]
Current State: 58:[5, 87, 57, 81], Operations: [] Exploring Operation: 87-5=82, Resulting Numbers: [57, 81, 82] Generated Node #2: [57, 81, 82] from Operation: 87-5=82 Current State: 58:[57, 81, 82], Operations: ['87-5=82'] Exploring Operation: 81-57=24, Resulting Numbers: [82, 24] Generated Node #3: [82, 24] from Operation: 81-57=24 Current State: 58:[82, 24], Operations: ['87-5=82', '81-57=24'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[5, 87, 57, 81], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [5, 57, 6] Generated Node #0,0: 58:[5, 57, 6] Operation: 87-81=6 Moving to Node #0,0 Current State: 58:[5, 57, 6], Operations: ['87-81=6'] Exploring Operation: 5*6=30, Resulting Numbers: [57, 30] Generated Node #0,0,0: 58:[57, 30] Operation: 5*6=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[57, 30], Operations: ['87-81=6', '5*6=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,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
sum_heuristic
[ 53, 86, 16, 65 ]
18
[ "16*65=1040", "1040-86=954", "954/53=18" ]
Current State: 18:[53, 86, 16, 65], Operations: [] Exploring Operation: 16*65=1040, Resulting Numbers: [53, 86, 1040] Generated Node #2: [53, 86, 1040] from Operation: 16*65=1040 Current State: 18:[53, 86, 1040], Operations: ['16*65=1040'] Exploring Operation: 1040-86=954, Resulting Numbers: [53, 954] Generated Node #3: [53, 954] from Operation: 1040-86=954 Current State: 18:[53, 954], Operations: ['16*65=1040', '1040-86=954'] Exploring Operation: 954/53=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[53, 86, 16, 65], Operations: [] Exploring Operation: 65-53=12, Resulting Numbers: [86, 16, 12] Generated Node #0,0: 18:[86, 16, 12] Operation: 65-53=12 Exploring Operation: 86-53=33, Resulting Numbers: [16, 65, 33] Generated Node #0,1: 18:[16, 65, 33] Operation: 86-53=33 Exploring Operation: 53-16=37, Resulting Numbers: [86, 65, 37] Generated Node #0,2: 18:[86, 65, 37] Operation: 53-16=37 Exploring Operation: 86-65=21, Resulting Numbers: [53, 16, 21] Generated Node #0,3: 18:[53, 16, 21] Operation: 86-65=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[53, 16, 21], Operations: ['86-65=21'] Exploring Operation: 21-16=5, Resulting Numbers: [53, 5] Generated Node #0,3,0: 18:[53, 5] Operation: 21-16=5 Exploring Operation: 53-16=37, Resulting Numbers: [21, 37] Generated Node #0,3,1: 18:[21, 37] Operation: 53-16=37 Exploring Operation: 53-21=32, Resulting Numbers: [16, 32] Generated Node #0,3,2: 18:[16, 32] Operation: 53-21=32 Exploring Operation: 53+16=69, Resulting Numbers: [21, 69] Generated Node #0,3,3: 18:[21, 69] Operation: 53+16=69 Moving to Node #0,3,2 Current State: 18:[16, 32], Operations: ['86-65=21', '53-21=32'] Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,18 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[21, 37], Operations: ['86-65=21', '53-16=37'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[53, 5], Operations: ['86-65=21', '21-16=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[21, 69], Operations: ['86-65=21', '53+16=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,18 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,18 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[16, 65, 33], Operations: ['86-53=33'] Exploring Operation: 65-33=32, Resulting Numbers: [16, 32] Generated Node #0,1,0: 18:[16, 32] Operation: 65-33=32 Exploring Operation: 65-16=49, Resulting Numbers: [33, 49] Generated Node #0,1,1: 18:[33, 49] Operation: 65-16=49 Exploring Operation: 33-16=17, Resulting Numbers: [65, 17] Generated Node #0,1,2: 18:[65, 17] Operation: 33-16=17 Exploring Operation: 16+65=81, Resulting Numbers: [33, 81] Generated Node #0,1,3: 18:[33, 81] Operation: 16+65=81 Moving to Node #0,1,0 Current State: 18:[16, 32], Operations: ['86-53=33', '65-33=32'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,18 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[33, 49], Operations: ['86-53=33', '65-16=49'] Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,18 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,18 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[65, 17], Operations: ['86-53=33', '33-16=17'] Exploring Operation: 65*17=1105, Resulting Numbers: [1105] 1105,18 unequal: No Solution Exploring Operation: 65+17=82, Resulting Numbers: [82] 82,18 unequal: No Solution Exploring Operation: 65-17=48, Resulting Numbers: [48] 48,18 unequal: No Solution Moving to Node #0,1,3 Current State: 18:[33, 81], Operations: ['86-53=33', '16+65=81'] Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,18 unequal: No Solution Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[86, 16, 12], Operations: ['65-53=12'] Exploring Operation: 86-16=70, Resulting Numbers: [12, 70] Generated Node #0,0,0: 18:[12, 70] Operation: 86-16=70 Exploring Operation: 16+12=28, Resulting Numbers: [86, 28] Generated Node #0,0,1: 18:[86, 28] Operation: 16+12=28 Exploring Operation: 16-12=4, Resulting Numbers: [86, 4] Generated Node #0,0,2: 18:[86, 4] Operation: 16-12=4 Exploring Operation: 86-12=74, Resulting Numbers: [16, 74] Generated Node #0,0,3: 18:[16, 74] Operation: 86-12=74 Moving to Node #0,0,0 Current State: 18:[12, 70], Operations: ['65-53=12', '86-16=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,18 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[16, 74], Operations: ['65-53=12', '86-12=74'] Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,18 unequal: No Solution Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[86, 4], Operations: ['65-53=12', '16-12=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,18 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,18 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[86, 28], Operations: ['65-53=12', '16+12=28'] Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[86, 65, 37], Operations: ['53-16=37'] Exploring Operation: 86+65=151, Resulting Numbers: [37, 151] Generated Node #0,2,0: 18:[37, 151] Operation: 86+65=151 Exploring Operation: 86-65=21, Resulting Numbers: [37, 21] Generated Node #0,2,1: 18:[37, 21] Operation: 86-65=21 Exploring Operation: 86-37=49, Resulting Numbers: [65, 49] Generated Node #0,2,2: 18:[65, 49] Operation: 86-37=49 Exploring Operation: 65-37=28, Resulting Numbers: [86, 28] Generated Node #0,2,3: 18:[86, 28] Operation: 65-37=28 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[37, 21], Operations: ['53-16=37', '86-65=21'] Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,18 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[65, 49], Operations: ['53-16=37', '86-37=49'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,18 unequal: No Solution Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 18:[86, 28], Operations: ['53-16=37', '65-37=28'] Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,18 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,18 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[37, 151], Operations: ['53-16=37', '86+65=151'] Exploring Operation: 151-37=114, Resulting Numbers: [114] 114,18 unequal: No Solution Exploring Operation: 37*151=5587, Resulting Numbers: [5587] 5587,18 unequal: No Solution Exploring Operation: 37+151=188, Resulting Numbers: [188] 188,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 86, 45, 6, 46 ]
47
[ "86+6=92", "92/46=2", "45+2=47" ]
Current State: 47:[86, 45, 6, 46], Operations: [] Exploring Operation: 86+6=92, Resulting Numbers: [45, 46, 92] Generated Node #2: [45, 46, 92] from Operation: 86+6=92 Current State: 47:[45, 46, 92], Operations: ['86+6=92'] Exploring Operation: 92/46=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 92/46=2 Current State: 47:[45, 2], Operations: ['86+6=92', '92/46=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[86, 45, 6, 46], Operations: [] Exploring Operation: 86-6=80, Resulting Numbers: [45, 46, 80] Generated Node #0,0: 47:[45, 46, 80] Operation: 86-6=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[45, 46, 80], Operations: ['86-6=80'] Exploring Operation: 80-45=35, Resulting Numbers: [46, 35] Generated Node #0,0,0: 47:[46, 35] Operation: 80-45=35 Moving to Node #0,0,0 Current State: 47:[46, 35], Operations: ['86-6=80', '80-45=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,47 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
[ 46, 66, 42, 2 ]
34
[ "66-42=24", "24/2=12", "46-12=34" ]
Current State: 34:[46, 66, 42, 2], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [46, 2, 24] Generated Node #2: [46, 2, 24] from Operation: 66-42=24 Current State: 34:[46, 2, 24], Operations: ['66-42=24'] Exploring Operation: 24/2=12, Resulting Numbers: [46, 12] Generated Node #3: [46, 12] from Operation: 24/2=12 Current State: 34:[46, 12], Operations: ['66-42=24', '24/2=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 66, 42, 2], Operations: [] Exploring Operation: 66-42=24, Resulting Numbers: [46, 2, 24] Generated Node #0,0: 34:[46, 2, 24] Operation: 66-42=24 Exploring Operation: 66-46=20, Resulting Numbers: [42, 2, 20] Generated Node #0,1: 34:[42, 2, 20] Operation: 66-46=20 Moving to Node #0,1 Current State: 34:[42, 2, 20], Operations: ['66-46=20'] Exploring Operation: 42/2=21, Resulting Numbers: [20, 21] Generated Node #0,1,0: 34:[20, 21] Operation: 42/2=21 Exploring Operation: 42-20=22, Resulting Numbers: [2, 22] Generated Node #0,1,1: 34:[2, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[2, 22], Operations: ['66-46=20', '42-20=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,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,0 Current State: 34:[20, 21], Operations: ['66-46=20', '42/2=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,34 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,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:[46, 2, 24], Operations: ['66-42=24'] Exploring Operation: 46-24=22, Resulting Numbers: [2, 22] Generated Node #0,0,0: 34:[2, 22] Operation: 46-24=22 Exploring Operation: 46/2=23, Resulting Numbers: [24, 23] Generated Node #0,0,1: 34:[24, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[2, 22], Operations: ['66-42=24', '46-24=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[24, 23], Operations: ['66-42=24', '46/2=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,34 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
[ 16, 3, 65, 90 ]
57
[ "16+65=81", "90+81=171", "171/3=57" ]
Current State: 57:[16, 3, 65, 90], Operations: [] Exploring Operation: 16+65=81, Resulting Numbers: [3, 90, 81] Generated Node #2: [3, 90, 81] from Operation: 16+65=81 Current State: 57:[3, 90, 81], Operations: ['16+65=81'] Exploring Operation: 90+81=171, Resulting Numbers: [3, 171] Generated Node #3: [3, 171] from Operation: 90+81=171 Current State: 57:[3, 171], Operations: ['16+65=81', '90+81=171'] Exploring Operation: 171/3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[16, 3, 65, 90], Operations: [] Exploring Operation: 90-65=25, Resulting Numbers: [16, 3, 25] Generated Node #0,0: 57:[16, 3, 25] Operation: 90-65=25 Exploring Operation: 90/3=30, Resulting Numbers: [16, 65, 30] Generated Node #0,1: 57:[16, 65, 30] Operation: 90/3=30 Moving to Node #0,0 Current State: 57:[16, 3, 25], Operations: ['90-65=25'] Exploring Operation: 16+3=19, Resulting Numbers: [25, 19] Generated Node #0,0,0: 57:[25, 19] Operation: 16+3=19 Exploring Operation: 25-16=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 57:[3, 9] Operation: 25-16=9 Moving to Node #0,1 Current State: 57:[16, 65, 30], Operations: ['90/3=30'] Exploring Operation: 30-16=14, Resulting Numbers: [65, 14] Generated Node #0,1,0: 57:[65, 14] Operation: 30-16=14 Exploring Operation: 65-16=49, Resulting Numbers: [30, 49] Generated Node #0,1,1: 57:[30, 49] Operation: 65-16=49 Moving to Node #0,0,0 Current State: 57:[25, 19], Operations: ['90-65=25', '16+3=19'] Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 25+19=44, Resulting Numbers: [44] 44,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[3, 9], Operations: ['90-65=25', '25-16=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[65, 14], Operations: ['90/3=30', '30-16=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[30, 49], Operations: ['90/3=30', '65-16=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 30+49=79, Resulting Numbers: [79] 79,57 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 13, 17, 27, 38 ]
35
[ "13+17=30", "27+38=65", "65-30=35" ]
Current State: 35:[13, 17, 27, 38], Operations: [] Exploring Operation: 13+17=30, Resulting Numbers: [27, 38, 30] Generated Node #2: [27, 38, 30] from Operation: 13+17=30 Current State: 35:[27, 38, 30], Operations: ['13+17=30'] Exploring Operation: 27+38=65, Resulting Numbers: [30, 65] Generated Node #3: [30, 65] from Operation: 27+38=65 Current State: 35:[30, 65], Operations: ['13+17=30', '27+38=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[13, 17, 27, 38], Operations: [] Exploring Operation: 13+27=40, Resulting Numbers: [17, 38, 40] Generated Node #0,0: 35:[17, 38, 40] Operation: 13+27=40 Exploring Operation: 17-13=4, Resulting Numbers: [27, 38, 4] Generated Node #0,1: 35:[27, 38, 4] Operation: 17-13=4 Exploring Operation: 27-17=10, Resulting Numbers: [13, 38, 10] Generated Node #0,2: 35:[13, 38, 10] Operation: 27-17=10 Exploring Operation: 13+17=30, Resulting Numbers: [27, 38, 30] Generated Node #0,3: 35:[27, 38, 30] Operation: 13+17=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[27, 38, 4], Operations: ['17-13=4'] Exploring Operation: 38-4=34, Resulting Numbers: [27, 34] Generated Node #0,1,0: 35:[27, 34] Operation: 38-4=34 Exploring Operation: 27-4=23, Resulting Numbers: [38, 23] Generated Node #0,1,1: 35:[38, 23] Operation: 27-4=23 Exploring Operation: 27+4=31, Resulting Numbers: [38, 31] Generated Node #0,1,2: 35:[38, 31] Operation: 27+4=31 Exploring Operation: 38-27=11, Resulting Numbers: [4, 11] Generated Node #0,1,3: 35:[4, 11] Operation: 38-27=11 Moving to Node #0,1,3 Current State: 35:[4, 11], Operations: ['17-13=4', '38-27=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[38, 31], Operations: ['17-13=4', '27+4=31'] Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,35 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,35 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[27, 34], Operations: ['17-13=4', '38-4=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[38, 23], Operations: ['17-13=4', '27-4=23'] Exploring Operation: 38+23=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 38*23=874, Resulting Numbers: [874] 874,35 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[13, 38, 10], Operations: ['27-17=10'] Exploring Operation: 38-10=28, Resulting Numbers: [13, 28] Generated Node #0,2,0: 35:[13, 28] Operation: 38-10=28 Exploring Operation: 13-10=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 35:[38, 3] Operation: 13-10=3 Exploring Operation: 38-13=25, Resulting Numbers: [10, 25] Generated Node #0,2,2: 35:[10, 25] Operation: 38-13=25 Exploring Operation: 13+10=23, Resulting Numbers: [38, 23] Generated Node #0,2,3: 35:[38, 23] Operation: 13+10=23 Moving to Node #0,2,1 Current State: 35:[38, 3], Operations: ['27-17=10', '13-10=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[13, 17, 27, 38], Operations: [] Exploring Operation: 27-17=10, Resulting Numbers: [13, 38, 10] Generated Node #0,2: 35:[13, 38, 10] Operation: 27-17=10 Moving to Node #0,2 Current State: 35:[13, 38, 10], Operations: ['27-17=10'] Exploring Operation: 13-10=3, Resulting Numbers: [38, 3] Generated Node #0,2,1: 35:[38, 3] Operation: 13-10=3 Moving to Node #0,2,1 Current State: 35:[38, 3], Operations: ['27-17=10', '13-10=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic