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
[ 82, 5, 7, 8 ]
88
[ "82+5=87", "8-7=1", "87+1=88" ]
Current State: 88:[82, 5, 7, 8], Operations: [] Exploring Operation: 82+5=87, Resulting Numbers: [7, 8, 87] Generated Node #2: [7, 8, 87] from Operation: 82+5=87 Current State: 88:[7, 8, 87], Operations: ['82+5=87'] Exploring Operation: 8-7=1, Resulting Numbers: [87, 1] Generated Node #3: [87, 1] from Operation: 8-7=1 Current State: 88:[87, 1], Operations: ['82+5=87', '8-7=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[82, 5, 7, 8], Operations: [] Exploring Operation: 82+7=89, Resulting Numbers: [5, 8, 89] Generated Node #0,0: 88:[5, 8, 89] Operation: 82+7=89 Exploring Operation: 82+5=87, Resulting Numbers: [7, 8, 87] Generated Node #0,1: 88:[7, 8, 87] Operation: 82+5=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[5, 8, 89], Operations: ['82+7=89'] Exploring Operation: 5+8=13, Resulting Numbers: [89, 13] Generated Node #0,0,0: 88:[89, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [89, 3] Generated Node #0,0,1: 88:[89, 3] Operation: 8-5=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[89, 3], Operations: ['82+7=89', '8-5=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,88 unequal: No Solution No 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: 88:[89, 13], Operations: ['82+7=89', '5+8=13'] Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,88 unequal: No Solution Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,88 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: 88:[7, 8, 87], Operations: ['82+5=87'] Exploring Operation: 7+8=15, Resulting Numbers: [87, 15] Generated Node #0,1,0: 88:[87, 15] Operation: 7+8=15 Exploring Operation: 8-7=1, Resulting Numbers: [87, 1] Generated Node #0,1,1: 88:[87, 1] Operation: 8-7=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[87, 1], Operations: ['82+5=87', '8-7=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[82, 5, 7, 8], Operations: [] Exploring Operation: 82+5=87, Resulting Numbers: [7, 8, 87] Generated Node #0,1: 88:[7, 8, 87] Operation: 82+5=87 Moving to Node #0,1 Current State: 88:[7, 8, 87], Operations: ['82+5=87'] Exploring Operation: 8-7=1, Resulting Numbers: [87, 1] Generated Node #0,1,1: 88:[87, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 88:[87, 1], Operations: ['82+5=87', '8-7=1'] Exploring Operation: 87+1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 1, 67, 79, 2 ]
45
[ "1+67=68", "68/2=34", "79-34=45" ]
Current State: 45:[1, 67, 79, 2], Operations: [] Exploring Operation: 1+67=68, Resulting Numbers: [79, 2, 68] Generated Node #2: [79, 2, 68] from Operation: 1+67=68 Current State: 45:[79, 2, 68], Operations: ['1+67=68'] Exploring Operation: 68/2=34, Resulting Numbers: [79, 34] Generated Node #3: [79, 34] from Operation: 68/2=34 Current State: 45:[79, 34], Operations: ['1+67=68', '68/2=34'] Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[1, 67, 79, 2], Operations: [] Exploring Operation: 67-1=66, Resulting Numbers: [79, 2, 66] Generated Node #0,0: 45:[79, 2, 66] Operation: 67-1=66 Exploring Operation: 1+2=3, Resulting Numbers: [67, 79, 3] Generated Node #0,1: 45:[67, 79, 3] Operation: 1+2=3 Exploring Operation: 79-67=12, Resulting Numbers: [1, 2, 12] Generated Node #0,2: 45:[1, 2, 12] Operation: 79-67=12 Exploring Operation: 79-1=78, Resulting Numbers: [67, 2, 78] Generated Node #0,3: 45:[67, 2, 78] Operation: 79-1=78 Moving to Node #0,2 Current State: 45:[1, 2, 12], Operations: ['79-67=12'] Exploring Operation: 2+12=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 45:[1, 14] Operation: 2+12=14 Exploring Operation: 12-1=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 45:[2, 11] Operation: 12-1=11 Exploring Operation: 1+2=3, Resulting Numbers: [12, 3] Generated Node #0,2,2: 45:[12, 3] Operation: 1+2=3 Exploring Operation: 1+12=13, Resulting Numbers: [2, 13] Generated Node #0,2,3: 45:[2, 13] Operation: 1+12=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[1, 14], Operations: ['79-67=12', '2+12=14'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,45 unequal: No Solution No 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: 45:[2, 11], Operations: ['79-67=12', '12-1=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,45 unequal: No Solution No 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: 45:[12, 3], Operations: ['79-67=12', '1+2=3'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,45 unequal: No Solution No 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: 45:[2, 13], Operations: ['79-67=12', '1+12=13'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,45 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: 45:[67, 79, 3], Operations: ['1+2=3'] Exploring Operation: 67+3=70, Resulting Numbers: [79, 70] Generated Node #0,1,0: 45:[79, 70] Operation: 67+3=70 Exploring Operation: 79-67=12, Resulting Numbers: [3, 12] Generated Node #0,1,1: 45:[3, 12] Operation: 79-67=12 Exploring Operation: 79-3=76, Resulting Numbers: [67, 76] Generated Node #0,1,2: 45:[67, 76] Operation: 79-3=76 Exploring Operation: 67-3=64, Resulting Numbers: [79, 64] Generated Node #0,1,3: 45:[79, 64] Operation: 67-3=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[3, 12], Operations: ['1+2=3', '79-67=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,45 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,45 unequal: No Solution No 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: 45:[67, 76], Operations: ['1+2=3', '79-3=76'] Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,45 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,45 unequal: No Solution No 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: 45:[79, 64], Operations: ['1+2=3', '67-3=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,45 unequal: No Solution No 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: 45:[79, 70], Operations: ['1+2=3', '67+3=70'] Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 79*70=5530, Resulting Numbers: [5530] 5530,45 unequal: No Solution Exploring Operation: 79+70=149, Resulting Numbers: [149] 149,45 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: 45:[79, 2, 66], Operations: ['67-1=66'] Exploring Operation: 66/2=33, Resulting Numbers: [79, 33] Generated Node #0,0,0: 45:[79, 33] Operation: 66/2=33 Exploring Operation: 66-2=64, Resulting Numbers: [79, 64] Generated Node #0,0,1: 45:[79, 64] Operation: 66-2=64 Exploring Operation: 79-66=13, Resulting Numbers: [2, 13] Generated Node #0,0,2: 45:[2, 13] Operation: 79-66=13 Exploring Operation: 79-2=77, Resulting Numbers: [66, 77] Generated Node #0,0,3: 45:[66, 77] Operation: 79-2=77 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[2, 13], Operations: ['67-1=66', '79-66=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,45 unequal: No Solution Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,45 unequal: No Solution No 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: 45:[79, 33], Operations: ['67-1=66', '66/2=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,45 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,45 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,45 unequal: No Solution No 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: 45:[79, 64], Operations: ['67-1=66', '66-2=64'] Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,45 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,45 unequal: No Solution No 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: 45:[66, 77], Operations: ['67-1=66', '79-2=77'] Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 66*77=5082, Resulting Numbers: [5082] 5082,45 unequal: No Solution Exploring Operation: 66+77=143, Resulting Numbers: [143] 143,45 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: 45:[67, 2, 78], Operations: ['79-1=78'] Exploring Operation: 78-2=76, Resulting Numbers: [67, 76] Generated Node #0,3,0: 45:[67, 76] Operation: 78-2=76 Exploring Operation: 78-67=11, Resulting Numbers: [2, 11] Generated Node #0,3,1: 45:[2, 11] Operation: 78-67=11 Exploring Operation: 67-2=65, Resulting Numbers: [78, 65] Generated Node #0,3,2: 45:[78, 65] Operation: 67-2=65 Exploring Operation: 78/2=39, Resulting Numbers: [67, 39] Generated Node #0,3,3: 45:[67, 39] Operation: 78/2=39 Moving to Node #0,3,1 Current State: 45:[2, 11], Operations: ['79-1=78', '78-67=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[67, 39], Operations: ['79-1=78', '78/2=39'] Exploring Operation: 67*39=2613, Resulting Numbers: [2613] 2613,45 unequal: No Solution Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,45 unequal: No Solution Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[78, 65], Operations: ['79-1=78', '67-2=65'] Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 78*65=5070, Resulting Numbers: [5070] 5070,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[67, 76], Operations: ['79-1=78', '78-2=76'] Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,45 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 92, 60, 40 ]
44
[ "92-26=66", "40*66=2640", "2640/60=44" ]
Current State: 44:[26, 92, 60, 40], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [60, 40, 66] Generated Node #2: [60, 40, 66] from Operation: 92-26=66 Current State: 44:[60, 40, 66], Operations: ['92-26=66'] Exploring Operation: 40*66=2640, Resulting Numbers: [60, 2640] Generated Node #3: [60, 2640] from Operation: 40*66=2640 Current State: 44:[60, 2640], Operations: ['92-26=66', '40*66=2640'] Exploring Operation: 2640/60=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[26, 92, 60, 40], Operations: [] Exploring Operation: 92-40=52, Resulting Numbers: [26, 60, 52] Generated Node #0,0: 44:[26, 60, 52] Operation: 92-40=52 Exploring Operation: 60-40=20, Resulting Numbers: [26, 92, 20] Generated Node #0,1: 44:[26, 92, 20] Operation: 60-40=20 Exploring Operation: 60-26=34, Resulting Numbers: [92, 40, 34] Generated Node #0,2: 44:[92, 40, 34] Operation: 60-26=34 Exploring Operation: 92-60=32, Resulting Numbers: [26, 40, 32] Generated Node #0,3: 44:[26, 40, 32] Operation: 92-60=32 Exploring Operation: 92-26=66, Resulting Numbers: [60, 40, 66] Generated Node #0,4: 44:[60, 40, 66] Operation: 92-26=66 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[26, 40, 32], Operations: ['92-60=32'] Exploring Operation: 26+32=58, Resulting Numbers: [40, 58] Generated Node #0,3,0: 44:[40, 58] Operation: 26+32=58 Exploring Operation: 40-32=8, Resulting Numbers: [26, 8] Generated Node #0,3,1: 44:[26, 8] Operation: 40-32=8 Exploring Operation: 26+40=66, Resulting Numbers: [32, 66] Generated Node #0,3,2: 44:[32, 66] Operation: 26+40=66 Exploring Operation: 32-26=6, Resulting Numbers: [40, 6] Generated Node #0,3,3: 44:[40, 6] Operation: 32-26=6 Exploring Operation: 40-26=14, Resulting Numbers: [32, 14] Generated Node #0,3,4: 44:[32, 14] Operation: 40-26=14 Moving to Node #0,3,3 Current State: 44:[40, 6], Operations: ['92-60=32', '32-26=6'] Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[26, 8], Operations: ['92-60=32', '40-32=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,44 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[32, 14], Operations: ['92-60=32', '40-26=14'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[40, 58], Operations: ['92-60=32', '26+32=58'] Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[32, 66], Operations: ['92-60=32', '26+40=66'] Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 32*66=2112, Resulting Numbers: [2112] 2112,44 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,44 unequal: No Solution No 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: 44:[26, 60, 52], Operations: ['92-40=52'] Exploring Operation: 52-26=26, Resulting Numbers: [60, 26] Generated Node #0,0,0: 44:[60, 26] Operation: 52-26=26 Exploring Operation: 26+60=86, Resulting Numbers: [52, 86] Generated Node #0,0,1: 44:[52, 86] Operation: 26+60=86 Exploring Operation: 60-26=34, Resulting Numbers: [52, 34] Generated Node #0,0,2: 44:[52, 34] Operation: 60-26=34 Exploring Operation: 52/26=2, Resulting Numbers: [60, 2] Generated Node #0,0,3: 44:[60, 2] Operation: 52/26=2 Exploring Operation: 60-52=8, Resulting Numbers: [26, 8] Generated Node #0,0,4: 44:[26, 8] Operation: 60-52=8 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 44:[26, 8], Operations: ['92-40=52', '60-52=8'] Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,44 unequal: No Solution No 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: 44:[60, 2], Operations: ['92-40=52', '52/26=2'] Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,44 unequal: No Solution No 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: 44:[52, 34], Operations: ['92-40=52', '60-26=34'] Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,44 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,44 unequal: No Solution No 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: 44:[60, 26], Operations: ['92-40=52', '52-26=26'] Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,44 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,44 unequal: No Solution No 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: 44:[52, 86], Operations: ['92-40=52', '26+60=86'] Exploring Operation: 52+86=138, Resulting Numbers: [138] 138,44 unequal: No Solution Exploring Operation: 86-52=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 52*86=4472, Resulting Numbers: [4472] 4472,44 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: 44:[60, 40, 66], Operations: ['92-26=66'] Exploring Operation: 40+66=106, Resulting Numbers: [60, 106] Generated Node #0,4,0: 44:[60, 106] Operation: 40+66=106 Exploring Operation: 60+40=100, Resulting Numbers: [66, 100] Generated Node #0,4,1: 44:[66, 100] Operation: 60+40=100 Exploring Operation: 66-40=26, Resulting Numbers: [60, 26] Generated Node #0,4,2: 44:[60, 26] Operation: 66-40=26 Exploring Operation: 66-60=6, Resulting Numbers: [40, 6] Generated Node #0,4,3: 44:[40, 6] Operation: 66-60=6 Exploring Operation: 60-40=20, Resulting Numbers: [66, 20] Generated Node #0,4,4: 44:[66, 20] Operation: 60-40=20 Moving to Node #0,4,3 Current State: 44:[40, 6], Operations: ['92-26=66', '66-60=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,44 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,4,2 Current State: 44:[60, 26], Operations: ['92-26=66', '66-40=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,44 unequal: No Solution Moving to Node #0,4,4 Current State: 44:[66, 20], Operations: ['92-26=66', '60-40=20'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,44 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,44 unequal: No Solution Moving to Node #0,4,0 Current State: 44:[60, 106], Operations: ['92-26=66', '40+66=106'] Exploring Operation: 106-60=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 60*106=6360, Resulting Numbers: [6360] 6360,44 unequal: No Solution Exploring Operation: 60+106=166, Resulting Numbers: [166] 166,44 unequal: No Solution Moving to Node #0,4,1 Current State: 44:[66, 100], Operations: ['92-26=66', '60+40=100'] Exploring Operation: 100-66=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 66*100=6600, Resulting Numbers: [6600] 6600,44 unequal: No Solution Exploring Operation: 66+100=166, Resulting Numbers: [166] 166,44 unequal: No Solution No 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: 44:[26, 92, 20], Operations: ['60-40=20'] Exploring Operation: 92+20=112, Resulting Numbers: [26, 112] Generated Node #0,1,0: 44:[26, 112] Operation: 92+20=112 Exploring Operation: 92-26=66, Resulting Numbers: [20, 66] Generated Node #0,1,1: 44:[20, 66] Operation: 92-26=66 Exploring Operation: 26+20=46, Resulting Numbers: [92, 46] Generated Node #0,1,2: 44:[92, 46] Operation: 26+20=46 Exploring Operation: 26-20=6, Resulting Numbers: [92, 6] Generated Node #0,1,3: 44:[92, 6] Operation: 26-20=6 Exploring Operation: 92-20=72, Resulting Numbers: [26, 72] Generated Node #0,1,4: 44:[26, 72] Operation: 92-20=72 Moving to Node #0,1,1 Current State: 44:[20, 66], Operations: ['60-40=20', '92-26=66'] Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,44 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,44 unequal: No Solution Moving to Node #0,1,4 Current State: 44:[26, 72], Operations: ['60-40=20', '92-20=72'] Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 26*72=1872, Resulting Numbers: [1872] 1872,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[92, 46], Operations: ['60-40=20', '26+20=46'] Exploring Operation: 92/46=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 92+46=138, Resulting Numbers: [138] 138,44 unequal: No Solution Exploring Operation: 92*46=4232, Resulting Numbers: [4232] 4232,44 unequal: No Solution Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[92, 6], Operations: ['60-40=20', '26-20=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[26, 112], Operations: ['60-40=20', '92+20=112'] Exploring Operation: 26+112=138, Resulting Numbers: [138] 138,44 unequal: No Solution Exploring Operation: 26*112=2912, Resulting Numbers: [2912] 2912,44 unequal: No Solution Exploring Operation: 112-26=86, Resulting Numbers: [86] 86,44 unequal: No Solution No 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: 44:[92, 40, 34], Operations: ['60-26=34'] Exploring Operation: 92+34=126, Resulting Numbers: [40, 126] Generated Node #0,2,0: 44:[40, 126] Operation: 92+34=126 Exploring Operation: 92-40=52, Resulting Numbers: [34, 52] Generated Node #0,2,1: 44:[34, 52] Operation: 92-40=52 Exploring Operation: 92-34=58, Resulting Numbers: [40, 58] Generated Node #0,2,2: 44:[40, 58] Operation: 92-34=58 Exploring Operation: 40+34=74, Resulting Numbers: [92, 74] Generated Node #0,2,3: 44:[92, 74] Operation: 40+34=74 Exploring Operation: 40-34=6, Resulting Numbers: [92, 6] Generated Node #0,2,4: 44:[92, 6] Operation: 40-34=6 Moving to Node #0,2,1 Current State: 44:[34, 52], Operations: ['60-26=34', '92-40=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 34*52=1768, Resulting Numbers: [1768] 1768,44 unequal: No Solution Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[40, 58], Operations: ['60-26=34', '92-34=58'] Exploring Operation: 40*58=2320, Resulting Numbers: [2320] 2320,44 unequal: No Solution Exploring Operation: 40+58=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 58-40=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[92, 6], Operations: ['60-26=34', '40-34=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,44 unequal: No Solution Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,44 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[92, 74], Operations: ['60-26=34', '40+34=74'] Exploring Operation: 92*74=6808, Resulting Numbers: [6808] 6808,44 unequal: No Solution Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,44 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[40, 126], Operations: ['60-26=34', '92+34=126'] Exploring Operation: 40+126=166, Resulting Numbers: [166] 166,44 unequal: No Solution Exploring Operation: 40*126=5040, Resulting Numbers: [5040] 5040,44 unequal: No Solution Exploring Operation: 126-40=86, Resulting Numbers: [86] 86,44 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
[ 12, 53, 97, 80 ]
24
[ "53-12=41", "97-80=17", "41-17=24" ]
Current State: 24:[12, 53, 97, 80], Operations: [] Exploring Operation: 53-12=41, Resulting Numbers: [97, 80, 41] Generated Node #2: [97, 80, 41] from Operation: 53-12=41 Current State: 24:[97, 80, 41], Operations: ['53-12=41'] Exploring Operation: 97-80=17, Resulting Numbers: [41, 17] Generated Node #3: [41, 17] from Operation: 97-80=17 Current State: 24:[41, 17], Operations: ['53-12=41', '97-80=17'] Exploring Operation: 41-17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[12, 53, 97, 80], Operations: [] Exploring Operation: 80-53=27, Resulting Numbers: [12, 97, 27] Generated Node #0,0: 24:[12, 97, 27] Operation: 80-53=27 Exploring Operation: 97-80=17, Resulting Numbers: [12, 53, 17] Generated Node #0,1: 24:[12, 53, 17] Operation: 97-80=17 Exploring Operation: 97-53=44, Resulting Numbers: [12, 80, 44] Generated Node #0,2: 24:[12, 80, 44] Operation: 97-53=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[12, 53, 17], Operations: ['97-80=17'] Exploring Operation: 53-12=41, Resulting Numbers: [17, 41] Generated Node #0,1,0: 24:[17, 41] Operation: 53-12=41 Exploring Operation: 53-17=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 24:[12, 36] Operation: 53-17=36 Exploring Operation: 17-12=5, Resulting Numbers: [53, 5] Generated Node #0,1,2: 24:[53, 5] Operation: 17-12=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[12, 36], Operations: ['97-80=17', '53-17=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[12, 53, 97, 80], Operations: [] Exploring Operation: 97-80=17, Resulting Numbers: [12, 53, 17] Generated Node #0,1: 24:[12, 53, 17] Operation: 97-80=17 Moving to Node #0,1 Current State: 24:[12, 53, 17], Operations: ['97-80=17'] Exploring Operation: 53-17=36, Resulting Numbers: [12, 36] Generated Node #0,1,1: 24:[12, 36] Operation: 53-17=36 Moving to Node #0,1,1 Current State: 24:[12, 36], Operations: ['97-80=17', '53-17=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 73, 54, 14, 86 ]
55
[ "73+54=127", "86-14=72", "127-72=55" ]
Current State: 55:[73, 54, 14, 86], Operations: [] Exploring Operation: 73+54=127, Resulting Numbers: [14, 86, 127] Generated Node #2: [14, 86, 127] from Operation: 73+54=127 Current State: 55:[14, 86, 127], Operations: ['73+54=127'] Exploring Operation: 86-14=72, Resulting Numbers: [127, 72] Generated Node #3: [127, 72] from Operation: 86-14=72 Current State: 55:[127, 72], Operations: ['73+54=127', '86-14=72'] Exploring Operation: 127-72=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[73, 54, 14, 86], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [54, 86, 59] Generated Node #0,0: 55:[54, 86, 59] Operation: 73-14=59 Exploring Operation: 86-73=13, Resulting Numbers: [54, 14, 13] Generated Node #0,1: 55:[54, 14, 13] Operation: 86-73=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[54, 14, 13], Operations: ['86-73=13'] Exploring Operation: 14-13=1, Resulting Numbers: [54, 1] Generated Node #0,1,0: 55:[54, 1] Operation: 14-13=1 Exploring Operation: 54+14=68, Resulting Numbers: [13, 68] Generated Node #0,1,1: 55:[13, 68] Operation: 54+14=68 Moving to Node #0,1,0 Current State: 55:[54, 1], Operations: ['86-73=13', '14-13=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[73, 54, 14, 86], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [54, 14, 13] Generated Node #0,1: 55:[54, 14, 13] Operation: 86-73=13 Moving to Node #0,1 Current State: 55:[54, 14, 13], Operations: ['86-73=13'] Exploring Operation: 14-13=1, Resulting Numbers: [54, 1] Generated Node #0,1,0: 55:[54, 1] Operation: 14-13=1 Moving to Node #0,1,0 Current State: 55:[54, 1], Operations: ['86-73=13', '14-13=1'] Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 98, 1, 62, 99 ]
64
[ "98-1=97", "62+99=161", "161-97=64" ]
Current State: 64:[98, 1, 62, 99], Operations: [] Exploring Operation: 98-1=97, Resulting Numbers: [62, 99, 97] Generated Node #2: [62, 99, 97] from Operation: 98-1=97 Current State: 64:[62, 99, 97], Operations: ['98-1=97'] Exploring Operation: 62+99=161, Resulting Numbers: [97, 161] Generated Node #3: [97, 161] from Operation: 62+99=161 Current State: 64:[97, 161], Operations: ['98-1=97', '62+99=161'] Exploring Operation: 161-97=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[98, 1, 62, 99], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [1, 62, 1] Generated Node #0,0: 64:[1, 62, 1] Operation: 99-98=1 Exploring Operation: 99-62=37, Resulting Numbers: [98, 1, 37] Generated Node #0,1: 64:[98, 1, 37] Operation: 99-62=37 Exploring Operation: 98-1=97, Resulting Numbers: [62, 99, 97] Generated Node #0,2: 64:[62, 99, 97] Operation: 98-1=97 Exploring Operation: 98-62=36, Resulting Numbers: [1, 99, 36] Generated Node #0,3: 64:[1, 99, 36] Operation: 98-62=36 Moving to Node #0,0 Current State: 64:[1, 62, 1], Operations: ['99-98=1'] Exploring Operation: 1+1=2, Resulting Numbers: [62, 2] Generated Node #0,0,0: 64:[62, 2] Operation: 1+1=2 Exploring Operation: 62+1=63, Resulting Numbers: [1, 63] Generated Node #0,0,1: 64:[1, 63] Operation: 62+1=63 Exploring Operation: 1*62=62, Resulting Numbers: [1, 62] Generated Node #0,0,2: 64:[1, 62] Operation: 1*62=62 Exploring Operation: 1+62=63, Resulting Numbers: [1, 63] Generated Node #0,0,3: 64:[1, 63] Operation: 1+62=63 Moving to Node #0,3 Current State: 64:[1, 99, 36], Operations: ['98-62=36'] Exploring Operation: 36-1=35, Resulting Numbers: [99, 35] Generated Node #0,3,0: 64:[99, 35] Operation: 36-1=35 Exploring Operation: 1*99=99, Resulting Numbers: [36, 99] Generated Node #0,3,1: 64:[36, 99] Operation: 1*99=99 Exploring Operation: 99-36=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 64:[1, 63] Operation: 99-36=63 Exploring Operation: 99-1=98, Resulting Numbers: [36, 98] Generated Node #0,3,3: 64:[36, 98] Operation: 99-1=98 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[1, 63], Operations: ['98-62=36', '99-36=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[98, 1, 62, 99], Operations: [] Exploring Operation: 98-62=36, Resulting Numbers: [1, 99, 36] Generated Node #0,3: 64:[1, 99, 36] Operation: 98-62=36 Moving to Node #0,3 Current State: 64:[1, 99, 36], Operations: ['98-62=36'] Exploring Operation: 99-36=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 64:[1, 63] Operation: 99-36=63 Moving to Node #0,3,2 Current State: 64:[1, 63], Operations: ['98-62=36', '99-36=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 50, 94, 81, 44 ]
19
[ "50+94=144", "81+44=125", "144-125=19" ]
Current State: 19:[50, 94, 81, 44], Operations: [] Exploring Operation: 50+94=144, Resulting Numbers: [81, 44, 144] Generated Node #2: [81, 44, 144] from Operation: 50+94=144 Current State: 19:[81, 44, 144], Operations: ['50+94=144'] Exploring Operation: 81+44=125, Resulting Numbers: [144, 125] Generated Node #3: [144, 125] from Operation: 81+44=125 Current State: 19:[144, 125], Operations: ['50+94=144', '81+44=125'] Exploring Operation: 144-125=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[50, 94, 81, 44], Operations: [] Exploring Operation: 94-50=44, Resulting Numbers: [81, 44, 44] Generated Node #0,0: 19:[81, 44, 44] Operation: 94-50=44 Exploring Operation: 94-81=13, Resulting Numbers: [50, 44, 13] Generated Node #0,1: 19:[50, 44, 13] Operation: 94-81=13 Exploring Operation: 81-50=31, Resulting Numbers: [94, 44, 31] Generated Node #0,2: 19:[94, 44, 31] Operation: 81-50=31 Moving to Node #0,1 Current State: 19:[50, 44, 13], Operations: ['94-81=13'] Exploring Operation: 50-44=6, Resulting Numbers: [13, 6] Generated Node #0,1,0: 19:[13, 6] Operation: 50-44=6 Exploring Operation: 44-13=31, Resulting Numbers: [50, 31] Generated Node #0,1,1: 19:[50, 31] Operation: 44-13=31 Exploring Operation: 50-13=37, Resulting Numbers: [44, 37] Generated Node #0,1,2: 19:[44, 37] Operation: 50-13=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[13, 6], Operations: ['94-81=13', '50-44=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[50, 94, 81, 44], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [50, 44, 13] Generated Node #0,1: 19:[50, 44, 13] Operation: 94-81=13 Moving to Node #0,1 Current State: 19:[50, 44, 13], Operations: ['94-81=13'] Exploring Operation: 50-44=6, Resulting Numbers: [13, 6] Generated Node #0,1,0: 19:[13, 6] Operation: 50-44=6 Moving to Node #0,1,0 Current State: 19:[13, 6], Operations: ['94-81=13', '50-44=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 46, 74, 20, 92 ]
86
[ "46+74=120", "120/20=6", "92-6=86" ]
Current State: 86:[46, 74, 20, 92], Operations: [] Exploring Operation: 46+74=120, Resulting Numbers: [20, 92, 120] Generated Node #2: [20, 92, 120] from Operation: 46+74=120 Current State: 86:[20, 92, 120], Operations: ['46+74=120'] Exploring Operation: 120/20=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 120/20=6 Current State: 86:[92, 6], Operations: ['46+74=120', '120/20=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[46, 74, 20, 92], Operations: [] Exploring Operation: 74-20=54, Resulting Numbers: [46, 92, 54] Generated Node #0,0: 86:[46, 92, 54] Operation: 74-20=54 Exploring Operation: 74+20=94, Resulting Numbers: [46, 92, 94] Generated Node #0,1: 86:[46, 92, 94] Operation: 74+20=94 Exploring Operation: 92-20=72, Resulting Numbers: [46, 74, 72] Generated Node #0,2: 86:[46, 74, 72] Operation: 92-20=72 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[46, 92, 94], Operations: ['74+20=94'] Exploring Operation: 92/46=2, Resulting Numbers: [94, 2] Generated Node #0,1,0: 86:[94, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [94, 46] Generated Node #0,1,1: 86:[94, 46] Operation: 92-46=46 Exploring Operation: 94-92=2, Resulting Numbers: [46, 2] Generated Node #0,1,2: 86:[46, 2] Operation: 94-92=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[46, 2], Operations: ['74+20=94', '94-92=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,86 unequal: No Solution No 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: 86:[94, 2], Operations: ['74+20=94', '92/46=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,86 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,86 unequal: No Solution No 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: 86:[94, 46], Operations: ['74+20=94', '92-46=46'] Exploring Operation: 94*46=4324, Resulting Numbers: [4324] 4324,86 unequal: No Solution Exploring Operation: 94-46=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 94+46=140, Resulting Numbers: [140] 140,86 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: 86:[46, 92, 54], Operations: ['74-20=54'] Exploring Operation: 92-54=38, Resulting Numbers: [46, 38] Generated Node #0,0,0: 86:[46, 38] Operation: 92-54=38 Exploring Operation: 54-46=8, Resulting Numbers: [92, 8] Generated Node #0,0,1: 86:[92, 8] Operation: 54-46=8 Exploring Operation: 92/46=2, Resulting Numbers: [54, 2] Generated Node #0,0,2: 86:[54, 2] Operation: 92/46=2 Moving to Node #0,0,0 Current State: 86:[46, 38], Operations: ['74-20=54', '92-54=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,86 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[54, 2], Operations: ['74-20=54', '92/46=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,86 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[92, 8], Operations: ['74-20=54', '54-46=8'] Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,86 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[46, 74, 72], Operations: ['92-20=72'] Exploring Operation: 74-46=28, Resulting Numbers: [72, 28] Generated Node #0,2,0: 86:[72, 28] Operation: 74-46=28 Exploring Operation: 74-72=2, Resulting Numbers: [46, 2] Generated Node #0,2,1: 86:[46, 2] Operation: 74-72=2 Exploring Operation: 72-46=26, Resulting Numbers: [74, 26] Generated Node #0,2,2: 86:[74, 26] Operation: 72-46=26 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[46, 2], Operations: ['92-20=72', '74-72=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,86 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,86 unequal: No Solution No 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: 86:[72, 28], Operations: ['92-20=72', '74-46=28'] Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,86 unequal: No Solution Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,86 unequal: No Solution No 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: 86:[74, 26], Operations: ['92-20=72', '72-46=26'] Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,86 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,86 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
[ 84, 26, 29, 46 ]
35
[ "84+26=110", "29+46=75", "110-75=35" ]
Current State: 35:[84, 26, 29, 46], Operations: [] Exploring Operation: 84+26=110, Resulting Numbers: [29, 46, 110] Generated Node #2: [29, 46, 110] from Operation: 84+26=110 Current State: 35:[29, 46, 110], Operations: ['84+26=110'] Exploring Operation: 29+46=75, Resulting Numbers: [110, 75] Generated Node #3: [110, 75] from Operation: 29+46=75 Current State: 35:[110, 75], Operations: ['84+26=110', '29+46=75'] Exploring Operation: 110-75=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[84, 26, 29, 46], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [26, 29, 38] Generated Node #0,0: 35:[26, 29, 38] Operation: 84-46=38 Exploring Operation: 84-26=58, Resulting Numbers: [29, 46, 58] Generated Node #0,1: 35:[29, 46, 58] Operation: 84-26=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[26, 29, 38], Operations: ['84-46=38'] Exploring Operation: 38-26=12, Resulting Numbers: [29, 12] Generated Node #0,0,0: 35:[29, 12] Operation: 38-26=12 Exploring Operation: 29-26=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 35:[38, 3] Operation: 29-26=3 Moving to Node #0,0,1 Current State: 35:[38, 3], Operations: ['84-46=38', '29-26=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[84, 26, 29, 46], Operations: [] Exploring Operation: 84-46=38, Resulting Numbers: [26, 29, 38] Generated Node #0,0: 35:[26, 29, 38] Operation: 84-46=38 Moving to Node #0,0 Current State: 35:[26, 29, 38], Operations: ['84-46=38'] Exploring Operation: 29-26=3, Resulting Numbers: [38, 3] Generated Node #0,0,1: 35:[38, 3] Operation: 29-26=3 Moving to Node #0,0,1 Current State: 35:[38, 3], Operations: ['84-46=38', '29-26=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 33, 18, 3, 93 ]
75
[ "33-18=15", "93-3=90", "90-15=75" ]
Current State: 75:[33, 18, 3, 93], Operations: [] Exploring Operation: 33-18=15, Resulting Numbers: [3, 93, 15] Generated Node #2: [3, 93, 15] from Operation: 33-18=15 Current State: 75:[3, 93, 15], Operations: ['33-18=15'] Exploring Operation: 93-3=90, Resulting Numbers: [15, 90] Generated Node #3: [15, 90] from Operation: 93-3=90 Current State: 75:[15, 90], Operations: ['33-18=15', '93-3=90'] Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[33, 18, 3, 93], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [33, 3, 75] Generated Node #0,0: 75:[33, 3, 75] Operation: 93-18=75 Exploring Operation: 33/3=11, Resulting Numbers: [18, 93, 11] Generated Node #0,1: 75:[18, 93, 11] Operation: 33/3=11 Exploring Operation: 33-18=15, Resulting Numbers: [3, 93, 15] Generated Node #0,2: 75:[3, 93, 15] Operation: 33-18=15 Exploring Operation: 93/3=31, Resulting Numbers: [33, 18, 31] Generated Node #0,3: 75:[33, 18, 31] Operation: 93/3=31 Exploring Operation: 93-33=60, Resulting Numbers: [18, 3, 60] Generated Node #0,4: 75:[18, 3, 60] Operation: 93-33=60 Moving to Node #0,0 Current State: 75:[33, 3, 75], Operations: ['93-18=75'] Exploring Operation: 33+3=36, Resulting Numbers: [75, 36] Generated Node #0,0,0: 75:[75, 36] Operation: 33+3=36 Exploring Operation: 3+75=78, Resulting Numbers: [33, 78] Generated Node #0,0,1: 75:[33, 78] Operation: 3+75=78 Exploring Operation: 75/3=25, Resulting Numbers: [33, 25] Generated Node #0,0,2: 75:[33, 25] Operation: 75/3=25 Exploring Operation: 33-3=30, Resulting Numbers: [75, 30] Generated Node #0,0,3: 75:[75, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [75, 11] Generated Node #0,0,4: 75:[75, 11] Operation: 33/3=11 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 75:[75, 11], Operations: ['93-18=75', '33/3=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,75 unequal: No Solution Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[75, 30], Operations: ['93-18=75', '33-3=30'] Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,75 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[33, 25], Operations: ['93-18=75', '75/3=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,75 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[75, 36], Operations: ['93-18=75', '33+3=36'] Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 75*36=2700, Resulting Numbers: [2700] 2700,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[33, 78], Operations: ['93-18=75', '3+75=78'] Exploring Operation: 33+78=111, Resulting Numbers: [111] 111,75 unequal: No Solution Exploring Operation: 33*78=2574, Resulting Numbers: [2574] 2574,75 unequal: No Solution Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 75:[33, 18, 31], Operations: ['93/3=31'] Exploring Operation: 33-18=15, Resulting Numbers: [31, 15] Generated Node #0,3,0: 75:[31, 15] Operation: 33-18=15 Exploring Operation: 31-18=13, Resulting Numbers: [33, 13] Generated Node #0,3,1: 75:[33, 13] Operation: 31-18=13 Exploring Operation: 33+31=64, Resulting Numbers: [18, 64] Generated Node #0,3,2: 75:[18, 64] Operation: 33+31=64 Exploring Operation: 33-31=2, Resulting Numbers: [18, 2] Generated Node #0,3,3: 75:[18, 2] Operation: 33-31=2 Exploring Operation: 33+18=51, Resulting Numbers: [31, 51] Generated Node #0,3,4: 75:[31, 51] Operation: 33+18=51 Moving to Node #0,2 Current State: 75:[3, 93, 15], Operations: ['33-18=15'] Exploring Operation: 93-3=90, Resulting Numbers: [15, 90] Generated Node #0,2,0: 75:[15, 90] Operation: 93-3=90 Exploring Operation: 3+93=96, Resulting Numbers: [15, 96] Generated Node #0,2,1: 75:[15, 96] Operation: 3+93=96 Exploring Operation: 93/3=31, Resulting Numbers: [15, 31] Generated Node #0,2,2: 75:[15, 31] Operation: 93/3=31 Exploring Operation: 15/3=5, Resulting Numbers: [93, 5] Generated Node #0,2,3: 75:[93, 5] Operation: 15/3=5 Exploring Operation: 93-15=78, Resulting Numbers: [3, 78] Generated Node #0,2,4: 75:[3, 78] Operation: 93-15=78 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 75:[3, 78], Operations: ['33-18=15', '93-15=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[33, 18, 3, 93], Operations: [] Exploring Operation: 33-18=15, Resulting Numbers: [3, 93, 15] Generated Node #0,2: 75:[3, 93, 15] Operation: 33-18=15 Moving to Node #0,2 Current State: 75:[3, 93, 15], Operations: ['33-18=15'] Exploring Operation: 93-15=78, Resulting Numbers: [3, 78] Generated Node #0,2,4: 75:[3, 78] Operation: 93-15=78 Moving to Node #0,2,4 Current State: 75:[3, 78], Operations: ['33-18=15', '93-15=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 88, 48, 44, 36 ]
14
[ "88/44=2", "48-36=12", "2+12=14" ]
Current State: 14:[88, 48, 44, 36], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [48, 36, 2] Generated Node #2: [48, 36, 2] from Operation: 88/44=2 Current State: 14:[48, 36, 2], Operations: ['88/44=2'] Exploring Operation: 48-36=12, Resulting Numbers: [2, 12] Generated Node #3: [2, 12] from Operation: 48-36=12 Current State: 14:[2, 12], Operations: ['88/44=2', '48-36=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[88, 48, 44, 36], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [48, 36, 2] Generated Node #0,0: 14:[48, 36, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 14:[48, 36, 2], Operations: ['88/44=2'] Exploring Operation: 48-36=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 14:[2, 12] Operation: 48-36=12 Moving to Node #0,0,0 Current State: 14:[2, 12], Operations: ['88/44=2', '48-36=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[88, 48, 44, 36], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [48, 36, 2] Generated Node #0,0: 14:[48, 36, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 14:[48, 36, 2], Operations: ['88/44=2'] Exploring Operation: 48-36=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 14:[2, 12] Operation: 48-36=12 Moving to Node #0,0,0 Current State: 14:[2, 12], Operations: ['88/44=2', '48-36=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 15, 68, 1, 13 ]
97
[ "15+68=83", "1+13=14", "83+14=97" ]
Current State: 97:[15, 68, 1, 13], Operations: [] Exploring Operation: 15+68=83, Resulting Numbers: [1, 13, 83] Generated Node #2: [1, 13, 83] from Operation: 15+68=83 Current State: 97:[1, 13, 83], Operations: ['15+68=83'] Exploring Operation: 1+13=14, Resulting Numbers: [83, 14] Generated Node #3: [83, 14] from Operation: 1+13=14 Current State: 97:[83, 14], Operations: ['15+68=83', '1+13=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[15, 68, 1, 13], Operations: [] Exploring Operation: 15+68=83, Resulting Numbers: [1, 13, 83] Generated Node #0,0: 97:[1, 13, 83] Operation: 15+68=83 Exploring Operation: 15+1=16, Resulting Numbers: [68, 13, 16] Generated Node #0,1: 97:[68, 13, 16] Operation: 15+1=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[1, 13, 83], Operations: ['15+68=83'] Exploring Operation: 1+13=14, Resulting Numbers: [83, 14] Generated Node #0,0,0: 97:[83, 14] Operation: 1+13=14 Exploring Operation: 1+83=84, Resulting Numbers: [13, 84] Generated Node #0,0,1: 97:[13, 84] Operation: 1+83=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[83, 14], Operations: ['15+68=83', '1+13=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[15, 68, 1, 13], Operations: [] Exploring Operation: 15+68=83, Resulting Numbers: [1, 13, 83] Generated Node #0,0: 97:[1, 13, 83] Operation: 15+68=83 Moving to Node #0,0 Current State: 97:[1, 13, 83], Operations: ['15+68=83'] Exploring Operation: 1+13=14, Resulting Numbers: [83, 14] Generated Node #0,0,0: 97:[83, 14] Operation: 1+13=14 Moving to Node #0,0,0 Current State: 97:[83, 14], Operations: ['15+68=83', '1+13=14'] Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 1, 96, 77, 46 ]
26
[ "1+96=97", "77+46=123", "123-97=26" ]
Current State: 26:[1, 96, 77, 46], Operations: [] Exploring Operation: 1+96=97, Resulting Numbers: [77, 46, 97] Generated Node #2: [77, 46, 97] from Operation: 1+96=97 Current State: 26:[77, 46, 97], Operations: ['1+96=97'] Exploring Operation: 77+46=123, Resulting Numbers: [97, 123] Generated Node #3: [97, 123] from Operation: 77+46=123 Current State: 26:[97, 123], Operations: ['1+96=97', '77+46=123'] Exploring Operation: 123-97=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[1, 96, 77, 46], Operations: [] Exploring Operation: 96-1=95, Resulting Numbers: [77, 46, 95] Generated Node #0,0: 26:[77, 46, 95] Operation: 96-1=95 Exploring Operation: 96-77=19, Resulting Numbers: [1, 46, 19] Generated Node #0,1: 26:[1, 46, 19] Operation: 96-77=19 Exploring Operation: 96-46=50, Resulting Numbers: [1, 77, 50] Generated Node #0,2: 26:[1, 77, 50] Operation: 96-46=50 Exploring Operation: 77-46=31, Resulting Numbers: [1, 96, 31] Generated Node #0,3: 26:[1, 96, 31] Operation: 77-46=31 Exploring Operation: 77-1=76, Resulting Numbers: [96, 46, 76] Generated Node #0,4: 26:[96, 46, 76] Operation: 77-1=76 Moving to Node #0,1 Current State: 26:[1, 46, 19], Operations: ['96-77=19'] Exploring Operation: 46/1=46, Resulting Numbers: [19, 46] Generated Node #0,1,0: 26:[19, 46] Operation: 46/1=46 Exploring Operation: 1*46=46, Resulting Numbers: [19, 46] Generated Node #0,1,1: 26:[19, 46] Operation: 1*46=46 Exploring Operation: 46-19=27, Resulting Numbers: [1, 27] Generated Node #0,1,2: 26:[1, 27] Operation: 46-19=27 Exploring Operation: 46-1=45, Resulting Numbers: [19, 45] Generated Node #0,1,3: 26:[19, 45] Operation: 46-1=45 Exploring Operation: 19-1=18, Resulting Numbers: [46, 18] Generated Node #0,1,4: 26:[46, 18] Operation: 19-1=18 Moving to Node #0,3 Current State: 26:[1, 96, 31], Operations: ['77-46=31'] Exploring Operation: 96/1=96, Resulting Numbers: [31, 96] Generated Node #0,3,0: 26:[31, 96] Operation: 96/1=96 Exploring Operation: 31-1=30, Resulting Numbers: [96, 30] Generated Node #0,3,1: 26:[96, 30] Operation: 31-1=30 Exploring Operation: 96-1=95, Resulting Numbers: [31, 95] Generated Node #0,3,2: 26:[31, 95] Operation: 96-1=95 Exploring Operation: 96-31=65, Resulting Numbers: [1, 65] Generated Node #0,3,3: 26:[1, 65] Operation: 96-31=65 Exploring Operation: 1*96=96, Resulting Numbers: [31, 96] Generated Node #0,3,4: 26:[31, 96] Operation: 1*96=96 Moving to Node #0,2 Current State: 26:[1, 77, 50], Operations: ['96-46=50'] Exploring Operation: 77/1=77, Resulting Numbers: [50, 77] Generated Node #0,2,0: 26:[50, 77] Operation: 77/1=77 Exploring Operation: 77-1=76, Resulting Numbers: [50, 76] Generated Node #0,2,1: 26:[50, 76] Operation: 77-1=76 Exploring Operation: 1*77=77, Resulting Numbers: [50, 77] Generated Node #0,2,2: 26:[50, 77] Operation: 1*77=77 Exploring Operation: 77-50=27, Resulting Numbers: [1, 27] Generated Node #0,2,3: 26:[1, 27] Operation: 77-50=27 Exploring Operation: 50-1=49, Resulting Numbers: [77, 49] Generated Node #0,2,4: 26:[77, 49] Operation: 50-1=49 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[1, 27], Operations: ['96-46=50', '77-50=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[1, 96, 77, 46], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [1, 77, 50] Generated Node #0,2: 26:[1, 77, 50] Operation: 96-46=50 Moving to Node #0,2 Current State: 26:[1, 77, 50], Operations: ['96-46=50'] Exploring Operation: 77-50=27, Resulting Numbers: [1, 27] Generated Node #0,2,3: 26:[1, 27] Operation: 77-50=27 Moving to Node #0,2,3 Current State: 26:[1, 27], Operations: ['96-46=50', '77-50=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 37, 61, 54, 29 ]
73
[ "37+61=98", "54-29=25", "98-25=73" ]
Current State: 73:[37, 61, 54, 29], Operations: [] Exploring Operation: 37+61=98, Resulting Numbers: [54, 29, 98] Generated Node #2: [54, 29, 98] from Operation: 37+61=98 Current State: 73:[54, 29, 98], Operations: ['37+61=98'] Exploring Operation: 54-29=25, Resulting Numbers: [98, 25] Generated Node #3: [98, 25] from Operation: 54-29=25 Current State: 73:[98, 25], Operations: ['37+61=98', '54-29=25'] Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[37, 61, 54, 29], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [61, 54, 66] Generated Node #0,0: 73:[61, 54, 66] Operation: 37+29=66 Exploring Operation: 54+29=83, Resulting Numbers: [37, 61, 83] Generated Node #0,1: 73:[37, 61, 83] Operation: 54+29=83 Exploring Operation: 61+29=90, Resulting Numbers: [37, 54, 90] Generated Node #0,2: 73:[37, 54, 90] Operation: 61+29=90 Exploring Operation: 37+61=98, Resulting Numbers: [54, 29, 98] Generated Node #0,3: 73:[54, 29, 98] Operation: 37+61=98 Exploring Operation: 37+54=91, Resulting Numbers: [61, 29, 91] Generated Node #0,4: 73:[61, 29, 91] Operation: 37+54=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[61, 54, 66], Operations: ['37+29=66'] Exploring Operation: 54+66=120, Resulting Numbers: [61, 120] Generated Node #0,0,0: 73:[61, 120] Operation: 54+66=120 Exploring Operation: 61+54=115, Resulting Numbers: [66, 115] Generated Node #0,0,1: 73:[66, 115] Operation: 61+54=115 Exploring Operation: 61-54=7, Resulting Numbers: [66, 7] Generated Node #0,0,2: 73:[66, 7] Operation: 61-54=7 Exploring Operation: 61+66=127, Resulting Numbers: [54, 127] Generated Node #0,0,3: 73:[54, 127] Operation: 61+66=127 Exploring Operation: 66-54=12, Resulting Numbers: [61, 12] Generated Node #0,0,4: 73:[61, 12] Operation: 66-54=12 Moving to Node #0,0,1 Current State: 73:[66, 115], Operations: ['37+29=66', '61+54=115'] Exploring Operation: 66+115=181, Resulting Numbers: [181] 181,73 unequal: No Solution Exploring Operation: 115-66=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 66*115=7590, Resulting Numbers: [7590] 7590,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[61, 120], Operations: ['37+29=66', '54+66=120'] Exploring Operation: 120-61=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 61*120=7320, Resulting Numbers: [7320] 7320,73 unequal: No Solution Exploring Operation: 61+120=181, Resulting Numbers: [181] 181,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[66, 7], Operations: ['37+29=66', '61-54=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,73 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[37, 61, 54, 29], Operations: [] Exploring Operation: 37+29=66, Resulting Numbers: [61, 54, 66] Generated Node #0,0: 73:[61, 54, 66] Operation: 37+29=66 Moving to Node #0,0 Current State: 73:[61, 54, 66], Operations: ['37+29=66'] Exploring Operation: 61-54=7, Resulting Numbers: [66, 7] Generated Node #0,0,2: 73:[66, 7] Operation: 61-54=7 Moving to Node #0,0,2 Current State: 73:[66, 7], Operations: ['37+29=66', '61-54=7'] Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 40, 70, 55, 56 ]
21
[ "70-55=15", "56*15=840", "840/40=21" ]
Current State: 21:[40, 70, 55, 56], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [40, 56, 15] Generated Node #2: [40, 56, 15] from Operation: 70-55=15 Current State: 21:[40, 56, 15], Operations: ['70-55=15'] Exploring Operation: 56*15=840, Resulting Numbers: [40, 840] Generated Node #3: [40, 840] from Operation: 56*15=840 Current State: 21:[40, 840], Operations: ['70-55=15', '56*15=840'] Exploring Operation: 840/40=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[40, 70, 55, 56], Operations: [] Exploring Operation: 70-55=15, Resulting Numbers: [40, 56, 15] Generated Node #0,0: 21:[40, 56, 15] Operation: 70-55=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[40, 56, 15], Operations: ['70-55=15'] Exploring Operation: 56-40=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 21:[15, 16] Operation: 56-40=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[15, 16], Operations: ['70-55=15', '56-40=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 2, 51, 10 ]
34
[ "27+51=78", "78-10=68", "68/2=34" ]
Current State: 34:[27, 2, 51, 10], Operations: [] Exploring Operation: 27+51=78, Resulting Numbers: [2, 10, 78] Generated Node #2: [2, 10, 78] from Operation: 27+51=78 Current State: 34:[2, 10, 78], Operations: ['27+51=78'] Exploring Operation: 78-10=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 78-10=68 Current State: 34:[2, 68], Operations: ['27+51=78', '78-10=68'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[27, 2, 51, 10], Operations: [] Exploring Operation: 51-27=24, Resulting Numbers: [2, 10, 24] Generated Node #0,0: 34:[2, 10, 24] Operation: 51-27=24 Exploring Operation: 51-10=41, Resulting Numbers: [27, 2, 41] Generated Node #0,1: 34:[27, 2, 41] Operation: 51-10=41 Exploring Operation: 27-10=17, Resulting Numbers: [2, 51, 17] Generated Node #0,2: 34:[2, 51, 17] Operation: 27-10=17 Exploring Operation: 27+10=37, Resulting Numbers: [2, 51, 37] Generated Node #0,3: 34:[2, 51, 37] Operation: 27+10=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[2, 10, 24], Operations: ['51-27=24'] Exploring Operation: 10/2=5, Resulting Numbers: [24, 5] Generated Node #0,0,0: 34:[24, 5] Operation: 10/2=5 Exploring Operation: 24-10=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 34:[2, 14] Operation: 24-10=14 Exploring Operation: 2*10=20, Resulting Numbers: [24, 20] Generated Node #0,0,2: 34:[24, 20] Operation: 2*10=20 Exploring Operation: 10+24=34, Resulting Numbers: [2, 34] Generated Node #0,0,3: 34:[2, 34] Operation: 10+24=34 Moving to Node #0,0,3 Current State: 34:[2, 34], Operations: ['51-27=24', '10+24=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,34 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[2, 14], Operations: ['51-27=24', '24-10=14'] Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[24, 20], Operations: ['51-27=24', '2*10=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[24, 5], Operations: ['51-27=24', '10/2=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,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 Current State: 34:[27, 2, 41], Operations: ['51-10=41'] Exploring Operation: 27-2=25, Resulting Numbers: [41, 25] Generated Node #0,1,0: 34:[41, 25] Operation: 27-2=25 Exploring Operation: 41-27=14, Resulting Numbers: [2, 14] Generated Node #0,1,1: 34:[2, 14] Operation: 41-27=14 Exploring Operation: 27+2=29, Resulting Numbers: [41, 29] Generated Node #0,1,2: 34:[41, 29] Operation: 27+2=29 Exploring Operation: 41-2=39, Resulting Numbers: [27, 39] Generated Node #0,1,3: 34:[27, 39] Operation: 41-2=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[2, 14], Operations: ['51-10=41', '41-27=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[41, 29], Operations: ['51-10=41', '27+2=29'] Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,34 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[27, 39], Operations: ['51-10=41', '41-2=39'] Exploring Operation: 27*39=1053, Resulting Numbers: [1053] 1053,34 unequal: No Solution Exploring Operation: 27+39=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,34 unequal: No Solution No 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: 34:[41, 25], Operations: ['51-10=41', '27-2=25'] Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,34 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,34 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: 34:[2, 51, 17], Operations: ['27-10=17'] Exploring Operation: 2*17=34, Resulting Numbers: [51, 34] Generated Node #0,2,0: 34:[51, 34] Operation: 2*17=34 Exploring Operation: 51/17=3, Resulting Numbers: [2, 3] Generated Node #0,2,1: 34:[2, 3] Operation: 51/17=3 Exploring Operation: 51-17=34, Resulting Numbers: [2, 34] Generated Node #0,2,2: 34:[2, 34] Operation: 51-17=34 Exploring Operation: 51-2=49, Resulting Numbers: [17, 49] Generated Node #0,2,3: 34:[17, 49] Operation: 51-2=49 Moving to Node #0,2,2 Current State: 34:[2, 34], Operations: ['27-10=17', '51-17=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[2, 3], Operations: ['27-10=17', '51/17=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[17, 49], Operations: ['27-10=17', '51-2=49'] Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[51, 34], Operations: ['27-10=17', '2*17=34'] Exploring Operation: 51-34=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 51*34=1734, Resulting Numbers: [1734] 1734,34 unequal: No Solution Exploring Operation: 51+34=85, Resulting Numbers: [85] 85,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 Current State: 34:[2, 51, 37], Operations: ['27+10=37'] Exploring Operation: 37-2=35, Resulting Numbers: [51, 35] Generated Node #0,3,0: 34:[51, 35] Operation: 37-2=35 Exploring Operation: 51-2=49, Resulting Numbers: [37, 49] Generated Node #0,3,1: 34:[37, 49] Operation: 51-2=49 Exploring Operation: 51-37=14, Resulting Numbers: [2, 14] Generated Node #0,3,2: 34:[2, 14] Operation: 51-37=14 Exploring Operation: 2+51=53, Resulting Numbers: [37, 53] Generated Node #0,3,3: 34:[37, 53] Operation: 2+51=53 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 34:[2, 14], Operations: ['27+10=37', '51-37=14'] Exploring Operation: 2*14=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,34 unequal: No Solution No 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: 34:[51, 35], Operations: ['27+10=37', '37-2=35'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,34 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,34 unequal: No Solution No 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: 34:[37, 49], Operations: ['27+10=37', '51-2=49'] Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,34 unequal: No Solution Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,34 unequal: No Solution No 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: 34:[37, 53], Operations: ['27+10=37', '2+51=53'] Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,34 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,34 unequal: No Solution Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,34 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
[ 69, 43, 62, 76 ]
98
[ "69+43=112", "76-62=14", "112-14=98" ]
Current State: 98:[69, 43, 62, 76], Operations: [] Exploring Operation: 69+43=112, Resulting Numbers: [62, 76, 112] Generated Node #2: [62, 76, 112] from Operation: 69+43=112 Current State: 98:[62, 76, 112], Operations: ['69+43=112'] Exploring Operation: 76-62=14, Resulting Numbers: [112, 14] Generated Node #3: [112, 14] from Operation: 76-62=14 Current State: 98:[112, 14], Operations: ['69+43=112', '76-62=14'] Exploring Operation: 112-14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[69, 43, 62, 76], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [43, 62, 7] Generated Node #0,0: 98:[43, 62, 7] Operation: 76-69=7 Exploring Operation: 69-62=7, Resulting Numbers: [43, 76, 7] Generated Node #0,1: 98:[43, 76, 7] Operation: 69-62=7 Exploring Operation: 62-43=19, Resulting Numbers: [69, 76, 19] Generated Node #0,2: 98:[69, 76, 19] Operation: 62-43=19 Exploring Operation: 69-43=26, Resulting Numbers: [62, 76, 26] Generated Node #0,3: 98:[62, 76, 26] Operation: 69-43=26 Exploring Operation: 76-62=14, Resulting Numbers: [69, 43, 14] Generated Node #0,4: 98:[69, 43, 14] Operation: 76-62=14 Moving to Node #0,0 Current State: 98:[43, 62, 7], Operations: ['76-69=7'] Exploring Operation: 43+62=105, Resulting Numbers: [7, 105] Generated Node #0,0,0: 98:[7, 105] Operation: 43+62=105 Exploring Operation: 62-7=55, Resulting Numbers: [43, 55] Generated Node #0,0,1: 98:[43, 55] Operation: 62-7=55 Exploring Operation: 62-43=19, Resulting Numbers: [7, 19] Generated Node #0,0,2: 98:[7, 19] Operation: 62-43=19 Exploring Operation: 43-7=36, Resulting Numbers: [62, 36] Generated Node #0,0,3: 98:[62, 36] Operation: 43-7=36 Exploring Operation: 43+7=50, Resulting Numbers: [62, 50] Generated Node #0,0,4: 98:[62, 50] Operation: 43+7=50 Moving to Node #0,4 Current State: 98:[69, 43, 14], Operations: ['76-62=14'] Exploring Operation: 69-43=26, Resulting Numbers: [14, 26] Generated Node #0,4,0: 98:[14, 26] Operation: 69-43=26 Exploring Operation: 69-14=55, Resulting Numbers: [43, 55] Generated Node #0,4,1: 98:[43, 55] Operation: 69-14=55 Exploring Operation: 69+43=112, Resulting Numbers: [14, 112] Generated Node #0,4,2: 98:[14, 112] Operation: 69+43=112 Exploring Operation: 43+14=57, Resulting Numbers: [69, 57] Generated Node #0,4,3: 98:[69, 57] Operation: 43+14=57 Exploring Operation: 69+14=83, Resulting Numbers: [43, 83] Generated Node #0,4,4: 98:[43, 83] Operation: 69+14=83 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 98:[14, 26], Operations: ['76-62=14', '69-43=26'] Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,98 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,98 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,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,1 Current State: 98:[43, 55], Operations: ['76-62=14', '69-14=55'] Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[69, 43, 62, 76], Operations: [] Exploring Operation: 76-62=14, Resulting Numbers: [69, 43, 14] Generated Node #0,4: 98:[69, 43, 14] Operation: 76-62=14 Moving to Node #0,4 Current State: 98:[69, 43, 14], Operations: ['76-62=14'] Exploring Operation: 69-14=55, Resulting Numbers: [43, 55] Generated Node #0,4,1: 98:[43, 55] Operation: 69-14=55 Moving to Node #0,4,1 Current State: 98:[43, 55], Operations: ['76-62=14', '69-14=55'] Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 69, 28, 2, 32 ]
67
[ "69+28=97", "32-2=30", "97-30=67" ]
Current State: 67:[69, 28, 2, 32], Operations: [] Exploring Operation: 69+28=97, Resulting Numbers: [2, 32, 97] Generated Node #2: [2, 32, 97] from Operation: 69+28=97 Current State: 67:[2, 32, 97], Operations: ['69+28=97'] Exploring Operation: 32-2=30, Resulting Numbers: [97, 30] Generated Node #3: [97, 30] from Operation: 32-2=30 Current State: 67:[97, 30], Operations: ['69+28=97', '32-2=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[69, 28, 2, 32], Operations: [] Exploring Operation: 28*2=56, Resulting Numbers: [69, 32, 56] Generated Node #0,0: 67:[69, 32, 56] Operation: 28*2=56 Exploring Operation: 69-2=67, Resulting Numbers: [28, 32, 67] Generated Node #0,1: 67:[28, 32, 67] Operation: 69-2=67 Exploring Operation: 2*32=64, Resulting Numbers: [69, 28, 64] Generated Node #0,2: 67:[69, 28, 64] Operation: 2*32=64 Moving to Node #0,2 Current State: 67:[69, 28, 64], Operations: ['2*32=64'] Exploring Operation: 28+64=92, Resulting Numbers: [69, 92] Generated Node #0,2,0: 67:[69, 92] Operation: 28+64=92 Exploring Operation: 69-28=41, Resulting Numbers: [64, 41] Generated Node #0,2,1: 67:[64, 41] Operation: 69-28=41 Exploring Operation: 69+28=97, Resulting Numbers: [64, 97] Generated Node #0,2,2: 67:[64, 97] Operation: 69+28=97 Moving to Node #0,0 Current State: 67:[69, 32, 56], Operations: ['28*2=56'] Exploring Operation: 69-32=37, Resulting Numbers: [56, 37] Generated Node #0,0,0: 67:[56, 37] Operation: 69-32=37 Exploring Operation: 69+32=101, Resulting Numbers: [56, 101] Generated Node #0,0,1: 67:[56, 101] Operation: 69+32=101 Exploring Operation: 32+56=88, Resulting Numbers: [69, 88] Generated Node #0,0,2: 67:[69, 88] Operation: 32+56=88 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[69, 88], Operations: ['28*2=56', '32+56=88'] Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,67 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[56, 37], Operations: ['28*2=56', '69-32=37'] Exploring Operation: 56*37=2072, Resulting Numbers: [2072] 2072,67 unequal: No Solution Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 56+37=93, Resulting Numbers: [93] 93,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[56, 101], Operations: ['28*2=56', '69+32=101'] Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 56*101=5656, Resulting Numbers: [5656] 5656,67 unequal: No Solution Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,67 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: 67:[28, 32, 67], Operations: ['69-2=67'] Exploring Operation: 28+32=60, Resulting Numbers: [67, 60] Generated Node #0,1,0: 67:[67, 60] Operation: 28+32=60 Exploring Operation: 32-28=4, Resulting Numbers: [67, 4] Generated Node #0,1,1: 67:[67, 4] Operation: 32-28=4 Exploring Operation: 28+67=95, Resulting Numbers: [32, 95] Generated Node #0,1,2: 67:[32, 95] Operation: 28+67=95 Moving to Node #0,1,0 Current State: 67:[67, 60], Operations: ['69-2=67', '28+32=60'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 67*60=4020, Resulting Numbers: [4020] 4020,67 unequal: No Solution Exploring Operation: 67+60=127, Resulting Numbers: [127] 127,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[69, 92], Operations: ['2*32=64', '28+64=92'] Exploring Operation: 69*92=6348, Resulting Numbers: [6348] 6348,67 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,67 unequal: No Solution Exploring Operation: 69+92=161, Resulting Numbers: [161] 161,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[64, 41], Operations: ['2*32=64', '69-28=41'] Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,67 unequal: No Solution Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[64, 97], Operations: ['2*32=64', '69+28=97'] Exploring Operation: 97-64=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 64*97=6208, Resulting Numbers: [6208] 6208,67 unequal: No Solution Exploring Operation: 64+97=161, Resulting Numbers: [161] 161,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[32, 95], Operations: ['69-2=67', '28+67=95'] Exploring Operation: 32*95=3040, Resulting Numbers: [3040] 3040,67 unequal: No Solution Exploring Operation: 95-32=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 32+95=127, Resulting Numbers: [127] 127,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[67, 4], Operations: ['69-2=67', '32-28=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,67 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,67 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 85, 35, 43, 7 ]
29
[ "85-43=42", "42/7=6", "35-6=29" ]
Current State: 29:[85, 35, 43, 7], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [35, 7, 42] Generated Node #2: [35, 7, 42] from Operation: 85-43=42 Current State: 29:[35, 7, 42], Operations: ['85-43=42'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #3: [35, 6] from Operation: 42/7=6 Current State: 29:[35, 6], Operations: ['85-43=42', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[85, 35, 43, 7], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [35, 7, 42] Generated Node #0,0: 29:[35, 7, 42] Operation: 85-43=42 Exploring Operation: 85-35=50, Resulting Numbers: [43, 7, 50] Generated Node #0,1: 29:[43, 7, 50] Operation: 85-35=50 Exploring Operation: 43-7=36, Resulting Numbers: [85, 35, 36] Generated Node #0,2: 29:[85, 35, 36] Operation: 43-7=36 Exploring Operation: 85-7=78, Resulting Numbers: [35, 43, 78] Generated Node #0,3: 29:[35, 43, 78] Operation: 85-7=78 Exploring Operation: 35-7=28, Resulting Numbers: [85, 43, 28] Generated Node #0,4: 29:[85, 43, 28] Operation: 35-7=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[35, 7, 42], Operations: ['85-43=42'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 29:[35, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [35, 35] Generated Node #0,0,1: 29:[35, 35] Operation: 42-7=35 Exploring Operation: 35-7=28, Resulting Numbers: [42, 28] Generated Node #0,0,2: 29:[42, 28] Operation: 35-7=28 Exploring Operation: 35+7=42, Resulting Numbers: [42, 42] Generated Node #0,0,3: 29:[42, 42] Operation: 35+7=42 Exploring Operation: 7+42=49, Resulting Numbers: [35, 49] Generated Node #0,0,4: 29:[35, 49] Operation: 7+42=49 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[35, 35], Operations: ['85-43=42', '42-7=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,29 unequal: No Solution Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,29 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,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,2 Current State: 29:[42, 28], Operations: ['85-43=42', '35-7=28'] Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,29 unequal: No Solution Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,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,3 Current State: 29:[42, 42], Operations: ['85-43=42', '35+7=42'] Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,29 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,29 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,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,4 Current State: 29:[35, 49], Operations: ['85-43=42', '7+42=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,29 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,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:[35, 6], Operations: ['85-43=42', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[85, 35, 43, 7], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [35, 7, 42] Generated Node #0,0: 29:[35, 7, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 29:[35, 7, 42], Operations: ['85-43=42'] Exploring Operation: 42/7=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 29:[35, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 29:[35, 6], Operations: ['85-43=42', '42/7=6'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 86, 49, 64, 23 ]
48
[ "86+49=135", "64+23=87", "135-87=48" ]
Current State: 48:[86, 49, 64, 23], Operations: [] Exploring Operation: 86+49=135, Resulting Numbers: [64, 23, 135] Generated Node #2: [64, 23, 135] from Operation: 86+49=135 Current State: 48:[64, 23, 135], Operations: ['86+49=135'] Exploring Operation: 64+23=87, Resulting Numbers: [135, 87] Generated Node #3: [135, 87] from Operation: 64+23=87 Current State: 48:[135, 87], Operations: ['86+49=135', '64+23=87'] Exploring Operation: 135-87=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[86, 49, 64, 23], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [49, 23, 22] Generated Node #0,0: 48:[49, 23, 22] Operation: 86-64=22 Exploring Operation: 86-49=37, Resulting Numbers: [64, 23, 37] Generated Node #0,1: 48:[64, 23, 37] Operation: 86-49=37 Moving to Node #0,0 Current State: 48:[49, 23, 22], Operations: ['86-64=22'] Exploring Operation: 23-22=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 48:[49, 1] Operation: 23-22=1 Exploring Operation: 49-23=26, Resulting Numbers: [22, 26] Generated Node #0,0,1: 48:[22, 26] Operation: 49-23=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[49, 1], Operations: ['86-64=22', '23-22=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[86, 49, 64, 23], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [49, 23, 22] Generated Node #0,0: 48:[49, 23, 22] Operation: 86-64=22 Moving to Node #0,0 Current State: 48:[49, 23, 22], Operations: ['86-64=22'] Exploring Operation: 23-22=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 48:[49, 1] Operation: 23-22=1 Moving to Node #0,0,0 Current State: 48:[49, 1], Operations: ['86-64=22', '23-22=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 7, 3, 57, 9 ]
93
[ "7-3=4", "9*4=36", "57+36=93" ]
Current State: 93:[7, 3, 57, 9], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [57, 9, 4] Generated Node #2: [57, 9, 4] from Operation: 7-3=4 Current State: 93:[57, 9, 4], Operations: ['7-3=4'] Exploring Operation: 9*4=36, Resulting Numbers: [57, 36] Generated Node #3: [57, 36] from Operation: 9*4=36 Current State: 93:[57, 36], Operations: ['7-3=4', '9*4=36'] Exploring Operation: 57+36=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[7, 3, 57, 9], Operations: [] Exploring Operation: 57/3=19, Resulting Numbers: [7, 9, 19] Generated Node #0,0: 93:[7, 9, 19] Operation: 57/3=19 Exploring Operation: 9-7=2, Resulting Numbers: [3, 57, 2] Generated Node #0,1: 93:[3, 57, 2] Operation: 9-7=2 Exploring Operation: 57-9=48, Resulting Numbers: [7, 3, 48] Generated Node #0,2: 93:[7, 3, 48] Operation: 57-9=48 Exploring Operation: 57-7=50, Resulting Numbers: [3, 9, 50] Generated Node #0,3: 93:[3, 9, 50] Operation: 57-7=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[7, 3, 48], Operations: ['57-9=48'] Exploring Operation: 7-3=4, Resulting Numbers: [48, 4] Generated Node #0,2,0: 93:[48, 4] Operation: 7-3=4 Exploring Operation: 48-3=45, Resulting Numbers: [7, 45] Generated Node #0,2,1: 93:[7, 45] Operation: 48-3=45 Exploring Operation: 48-7=41, Resulting Numbers: [3, 41] Generated Node #0,2,2: 93:[3, 41] Operation: 48-7=41 Exploring Operation: 48/3=16, Resulting Numbers: [7, 16] Generated Node #0,2,3: 93:[7, 16] Operation: 48/3=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[3, 41], Operations: ['57-9=48', '48-7=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,93 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,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:[7, 16], Operations: ['57-9=48', '48/3=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 16-7=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,2,0 Current State: 93:[48, 4], Operations: ['57-9=48', '7-3=4'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 48*4=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,2,1 Current State: 93:[7, 45], Operations: ['57-9=48', '48-3=45'] Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,93 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,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,0 Current State: 93:[7, 9, 19], Operations: ['57/3=19'] Exploring Operation: 9+19=28, Resulting Numbers: [7, 28] Generated Node #0,0,0: 93:[7, 28] Operation: 9+19=28 Exploring Operation: 7+19=26, Resulting Numbers: [9, 26] Generated Node #0,0,1: 93:[9, 26] Operation: 7+19=26 Exploring Operation: 9-7=2, Resulting Numbers: [19, 2] Generated Node #0,0,2: 93:[19, 2] Operation: 9-7=2 Exploring Operation: 19-9=10, Resulting Numbers: [7, 10] Generated Node #0,0,3: 93:[7, 10] Operation: 19-9=10 Moving to Node #0,0,0 Current State: 93:[7, 28], Operations: ['57/3=19', '9+19=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,93 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,93 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[7, 10], Operations: ['57/3=19', '19-9=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[9, 26], Operations: ['57/3=19', '7+19=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,93 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[19, 2], Operations: ['57/3=19', '9-7=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,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,3 Current State: 93:[3, 9, 50], Operations: ['57-7=50'] Exploring Operation: 50-9=41, Resulting Numbers: [3, 41] Generated Node #0,3,0: 93:[3, 41] Operation: 50-9=41 Exploring Operation: 50-3=47, Resulting Numbers: [9, 47] Generated Node #0,3,1: 93:[9, 47] Operation: 50-3=47 Exploring Operation: 9-3=6, Resulting Numbers: [50, 6] Generated Node #0,3,2: 93:[50, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [50, 3] Generated Node #0,3,3: 93:[50, 3] Operation: 9/3=3 Moving to Node #0,3,0 Current State: 93:[3, 41], Operations: ['57-7=50', '50-9=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[50, 3], Operations: ['57-7=50', '9/3=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[50, 6], Operations: ['57-7=50', '9-3=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[9, 47], Operations: ['57-7=50', '50-3=47'] Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,93 unequal: No Solution Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,93 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[3, 57, 2], Operations: ['9-7=2'] Exploring Operation: 57-2=55, Resulting Numbers: [3, 55] Generated Node #0,1,0: 93:[3, 55] Operation: 57-2=55 Exploring Operation: 57/3=19, Resulting Numbers: [2, 19] Generated Node #0,1,1: 93:[2, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [2, 54] Generated Node #0,1,2: 93:[2, 54] Operation: 57-3=54 Exploring Operation: 57*2=114, Resulting Numbers: [3, 114] Generated Node #0,1,3: 93:[3, 114] Operation: 57*2=114 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[2, 19], Operations: ['9-7=2', '57/3=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,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:[3, 114], Operations: ['9-7=2', '57*2=114'] Exploring Operation: 3*114=342, Resulting Numbers: [342] 342,93 unequal: No Solution Exploring Operation: 3+114=117, Resulting Numbers: [117] 117,93 unequal: No Solution Exploring Operation: 114-3=111, Resulting Numbers: [111] 111,93 unequal: No Solution Exploring Operation: 114/3=38, Resulting Numbers: [38] 38,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[3, 55], Operations: ['9-7=2', '57-2=55'] Exploring Operation: 3*55=165, Resulting Numbers: [165] 165,93 unequal: No Solution Exploring Operation: 3+55=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,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:[2, 54], Operations: ['9-7=2', '57-3=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,93 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 31, 56, 43, 5 ]
13
[ "56-31=25", "43-5=38", "38-25=13" ]
Current State: 13:[31, 56, 43, 5], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [43, 5, 25] Generated Node #2: [43, 5, 25] from Operation: 56-31=25 Current State: 13:[43, 5, 25], Operations: ['56-31=25'] Exploring Operation: 43-5=38, Resulting Numbers: [25, 38] Generated Node #3: [25, 38] from Operation: 43-5=38 Current State: 13:[25, 38], Operations: ['56-31=25', '43-5=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[31, 56, 43, 5], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [31, 5, 13] Generated Node #0,0: 13:[31, 5, 13] Operation: 56-43=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[31, 5, 13], Operations: ['56-43=13'] Exploring Operation: 31-5=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 13:[13, 26] Operation: 31-5=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[13, 26], Operations: ['56-43=13', '31-5=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[31, 56, 43, 5], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [31, 5, 13] Generated Node #0,0: 13:[31, 5, 13] Operation: 56-43=13 Moving to Node #0,0 Current State: 13:[31, 5, 13], Operations: ['56-43=13'] Exploring Operation: 31-5=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 13:[13, 26] Operation: 31-5=26 Moving to Node #0,0,0 Current State: 13:[13, 26], Operations: ['56-43=13', '31-5=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 35, 42, 72, 1 ]
66
[ "42-35=7", "72+1=73", "73-7=66" ]
Current State: 66:[35, 42, 72, 1], Operations: [] Exploring Operation: 42-35=7, Resulting Numbers: [72, 1, 7] Generated Node #2: [72, 1, 7] from Operation: 42-35=7 Current State: 66:[72, 1, 7], Operations: ['42-35=7'] Exploring Operation: 72+1=73, Resulting Numbers: [7, 73] Generated Node #3: [7, 73] from Operation: 72+1=73 Current State: 66:[7, 73], Operations: ['42-35=7', '72+1=73'] Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[35, 42, 72, 1], Operations: [] Exploring Operation: 35-1=34, Resulting Numbers: [42, 72, 34] Generated Node #0,0: 66:[42, 72, 34] Operation: 35-1=34 Exploring Operation: 42-1=41, Resulting Numbers: [35, 72, 41] Generated Node #0,1: 66:[35, 72, 41] Operation: 42-1=41 Exploring Operation: 42-35=7, Resulting Numbers: [72, 1, 7] Generated Node #0,2: 66:[72, 1, 7] Operation: 42-35=7 Exploring Operation: 72-35=37, Resulting Numbers: [42, 1, 37] Generated Node #0,3: 66:[42, 1, 37] Operation: 72-35=37 Exploring Operation: 72-42=30, Resulting Numbers: [35, 1, 30] Generated Node #0,4: 66:[35, 1, 30] Operation: 72-42=30 Moving to Node #0,4 Current State: 66:[35, 1, 30], Operations: ['72-42=30'] Exploring Operation: 35*1=35, Resulting Numbers: [30, 35] Generated Node #0,4,0: 66:[30, 35] Operation: 35*1=35 Exploring Operation: 35+30=65, Resulting Numbers: [1, 65] Generated Node #0,4,1: 66:[1, 65] Operation: 35+30=65 Exploring Operation: 35-30=5, Resulting Numbers: [1, 5] Generated Node #0,4,2: 66:[1, 5] Operation: 35-30=5 Exploring Operation: 35-1=34, Resulting Numbers: [30, 34] Generated Node #0,4,3: 66:[30, 34] Operation: 35-1=34 Exploring Operation: 1+30=31, Resulting Numbers: [35, 31] Generated Node #0,4,4: 66:[35, 31] Operation: 1+30=31 Moving to Node #0,2 Current State: 66:[72, 1, 7], Operations: ['42-35=7'] Exploring Operation: 72/1=72, Resulting Numbers: [7, 72] Generated Node #0,2,0: 66:[7, 72] Operation: 72/1=72 Exploring Operation: 72-7=65, Resulting Numbers: [1, 65] Generated Node #0,2,1: 66:[1, 65] Operation: 72-7=65 Exploring Operation: 7-1=6, Resulting Numbers: [72, 6] Generated Node #0,2,2: 66:[72, 6] Operation: 7-1=6 Exploring Operation: 72-1=71, Resulting Numbers: [7, 71] Generated Node #0,2,3: 66:[7, 71] Operation: 72-1=71 Exploring Operation: 72*1=72, Resulting Numbers: [7, 72] Generated Node #0,2,4: 66:[7, 72] Operation: 72*1=72 Moving to Node #0,3 Current State: 66:[42, 1, 37], Operations: ['72-35=37'] Exploring Operation: 37-1=36, Resulting Numbers: [42, 36] Generated Node #0,3,0: 66:[42, 36] Operation: 37-1=36 Exploring Operation: 42-37=5, Resulting Numbers: [1, 5] Generated Node #0,3,1: 66:[1, 5] Operation: 42-37=5 Exploring Operation: 42*1=42, Resulting Numbers: [37, 42] Generated Node #0,3,2: 66:[37, 42] Operation: 42*1=42 Exploring Operation: 42-1=41, Resulting Numbers: [37, 41] Generated Node #0,3,3: 66:[37, 41] Operation: 42-1=41 Exploring Operation: 42/1=42, Resulting Numbers: [37, 42] Generated Node #0,3,4: 66:[37, 42] Operation: 42/1=42 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[1, 5], Operations: ['72-35=37', '42-37=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 1+5=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 1*5=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[42, 36], Operations: ['72-35=37', '37-1=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 66:[37, 41], Operations: ['72-35=37', '42-1=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 66:[37, 42], Operations: ['72-35=37', '42*1=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,66 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 66:[37, 42], Operations: ['72-35=37', '42/1=42'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,66 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: 66:[42, 72, 34], Operations: ['35-1=34'] Exploring Operation: 72-42=30, Resulting Numbers: [34, 30] Generated Node #0,0,0: 66:[34, 30] Operation: 72-42=30 Exploring Operation: 42-34=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 66:[72, 8] Operation: 42-34=8 Exploring Operation: 42+34=76, Resulting Numbers: [72, 76] Generated Node #0,0,2: 66:[72, 76] Operation: 42+34=76 Exploring Operation: 72-34=38, Resulting Numbers: [42, 38] Generated Node #0,0,3: 66:[42, 38] Operation: 72-34=38 Exploring Operation: 42+72=114, Resulting Numbers: [34, 114] Generated Node #0,0,4: 66:[34, 114] Operation: 42+72=114 Moving to Node #0,1 Current State: 66:[35, 72, 41], Operations: ['42-1=41'] Exploring Operation: 35+72=107, Resulting Numbers: [41, 107] Generated Node #0,1,0: 66:[41, 107] Operation: 35+72=107 Exploring Operation: 41-35=6, Resulting Numbers: [72, 6] Generated Node #0,1,1: 66:[72, 6] Operation: 41-35=6 Exploring Operation: 35+41=76, Resulting Numbers: [72, 76] Generated Node #0,1,2: 66:[72, 76] Operation: 35+41=76 Exploring Operation: 72-41=31, Resulting Numbers: [35, 31] Generated Node #0,1,3: 66:[35, 31] Operation: 72-41=31 Exploring Operation: 72-35=37, Resulting Numbers: [41, 37] Generated Node #0,1,4: 66:[41, 37] Operation: 72-35=37 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[35, 31], Operations: ['42-1=41', '72-41=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[35, 42, 72, 1], Operations: [] Exploring Operation: 42-1=41, Resulting Numbers: [35, 72, 41] Generated Node #0,1: 66:[35, 72, 41] Operation: 42-1=41 Moving to Node #0,1 Current State: 66:[35, 72, 41], Operations: ['42-1=41'] Exploring Operation: 72-41=31, Resulting Numbers: [35, 31] Generated Node #0,1,3: 66:[35, 31] Operation: 72-41=31 Moving to Node #0,1,3 Current State: 66:[35, 31], Operations: ['42-1=41', '72-41=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_5
mult_heuristic
[ 11, 3, 27, 84 ]
65
[ "11-3=8", "84-27=57", "8+57=65" ]
Current State: 65:[11, 3, 27, 84], Operations: [] Exploring Operation: 11-3=8, Resulting Numbers: [27, 84, 8] Generated Node #2: [27, 84, 8] from Operation: 11-3=8 Current State: 65:[27, 84, 8], Operations: ['11-3=8'] Exploring Operation: 84-27=57, Resulting Numbers: [8, 57] Generated Node #3: [8, 57] from Operation: 84-27=57 Current State: 65:[8, 57], Operations: ['11-3=8', '84-27=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[11, 3, 27, 84], Operations: [] Exploring Operation: 27-11=16, Resulting Numbers: [3, 84, 16] Generated Node #0,0: 65:[3, 84, 16] Operation: 27-11=16 Exploring Operation: 84-27=57, Resulting Numbers: [11, 3, 57] Generated Node #0,1: 65:[11, 3, 57] Operation: 84-27=57 Moving to Node #0,1 Current State: 65:[11, 3, 57], Operations: ['84-27=57'] Exploring Operation: 3+57=60, Resulting Numbers: [11, 60] Generated Node #0,1,0: 65:[11, 60] Operation: 3+57=60 Exploring Operation: 11+57=68, Resulting Numbers: [3, 68] Generated Node #0,1,1: 65:[3, 68] Operation: 11+57=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[3, 68], Operations: ['84-27=57', '11+57=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[11, 3, 27, 84], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [11, 3, 57] Generated Node #0,1: 65:[11, 3, 57] Operation: 84-27=57 Moving to Node #0,1 Current State: 65:[11, 3, 57], Operations: ['84-27=57'] Exploring Operation: 11+57=68, Resulting Numbers: [3, 68] Generated Node #0,1,1: 65:[3, 68] Operation: 11+57=68 Moving to Node #0,1,1 Current State: 65:[3, 68], Operations: ['84-27=57', '11+57=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 9, 62, 92, 5 ]
85
[ "9-5=4", "92/4=23", "62+23=85" ]
Current State: 85:[9, 62, 92, 5], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [62, 92, 4] Generated Node #2: [62, 92, 4] from Operation: 9-5=4 Current State: 85:[62, 92, 4], Operations: ['9-5=4'] Exploring Operation: 92/4=23, Resulting Numbers: [62, 23] Generated Node #3: [62, 23] from Operation: 92/4=23 Current State: 85:[62, 23], Operations: ['9-5=4', '92/4=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[9, 62, 92, 5], Operations: [] Exploring Operation: 92-62=30, Resulting Numbers: [9, 5, 30] Generated Node #0,0: 85:[9, 5, 30] Operation: 92-62=30 Moving to Node #0,0 Current State: 85:[9, 5, 30], Operations: ['92-62=30'] Exploring Operation: 30-9=21, Resulting Numbers: [5, 21] Generated Node #0,0,0: 85:[5, 21] Operation: 30-9=21 Moving to Node #0,0,0 Current State: 85:[5, 21], Operations: ['92-62=30', '30-9=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,85 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 80, 7, 74 ]
31
[ "80-44=36", "74-7=67", "67-36=31" ]
Current State: 31:[44, 80, 7, 74], Operations: [] Exploring Operation: 80-44=36, Resulting Numbers: [7, 74, 36] Generated Node #2: [7, 74, 36] from Operation: 80-44=36 Current State: 31:[7, 74, 36], Operations: ['80-44=36'] Exploring Operation: 74-7=67, Resulting Numbers: [36, 67] Generated Node #3: [36, 67] from Operation: 74-7=67 Current State: 31:[36, 67], Operations: ['80-44=36', '74-7=67'] Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[44, 80, 7, 74], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [44, 7, 6] Generated Node #0,0: 31:[44, 7, 6] Operation: 80-74=6 Moving to Node #0,0 Current State: 31:[44, 7, 6], Operations: ['80-74=6'] Exploring Operation: 7*6=42, Resulting Numbers: [44, 42] Generated Node #0,0,0: 31:[44, 42] Operation: 7*6=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[44, 42], Operations: ['80-74=6', '7*6=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,31 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
[ 15, 59, 5, 3 ]
70
[ "15*3=45", "59-45=14", "5*14=70" ]
Current State: 70:[15, 59, 5, 3], Operations: [] Exploring Operation: 15*3=45, Resulting Numbers: [59, 5, 45] Generated Node #2: [59, 5, 45] from Operation: 15*3=45 Current State: 70:[59, 5, 45], Operations: ['15*3=45'] Exploring Operation: 59-45=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 59-45=14 Current State: 70:[5, 14], Operations: ['15*3=45', '59-45=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[15, 59, 5, 3], Operations: [] Exploring Operation: 59-15=44, Resulting Numbers: [5, 3, 44] Generated Node #0,0: 70:[5, 3, 44] Operation: 59-15=44 Exploring Operation: 59+5=64, Resulting Numbers: [15, 3, 64] Generated Node #0,1: 70:[15, 3, 64] Operation: 59+5=64 Exploring Operation: 15+59=74, Resulting Numbers: [5, 3, 74] Generated Node #0,2: 70:[5, 3, 74] Operation: 15+59=74 Exploring Operation: 59+3=62, Resulting Numbers: [15, 5, 62] Generated Node #0,3: 70:[15, 5, 62] Operation: 59+3=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[5, 3, 74], Operations: ['15+59=74'] Exploring Operation: 74-3=71, Resulting Numbers: [5, 71] Generated Node #0,2,0: 70:[5, 71] Operation: 74-3=71 Exploring Operation: 5-3=2, Resulting Numbers: [74, 2] Generated Node #0,2,1: 70:[74, 2] Operation: 5-3=2 Exploring Operation: 74-5=69, Resulting Numbers: [3, 69] Generated Node #0,2,2: 70:[3, 69] Operation: 74-5=69 Exploring Operation: 5+3=8, Resulting Numbers: [74, 8] Generated Node #0,2,3: 70:[74, 8] Operation: 5+3=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[5, 71], Operations: ['15+59=74', '74-3=71'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 70:[3, 69], Operations: ['15+59=74', '74-5=69'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,70 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[74, 2], Operations: ['15+59=74', '5-3=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 70:[74, 8], Operations: ['15+59=74', '5+3=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[15, 3, 64], Operations: ['59+5=64'] Exploring Operation: 15-3=12, Resulting Numbers: [64, 12] Generated Node #0,1,0: 70:[64, 12] Operation: 15-3=12 Exploring Operation: 15+3=18, Resulting Numbers: [64, 18] Generated Node #0,1,1: 70:[64, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [64, 5] Generated Node #0,1,2: 70:[64, 5] Operation: 15/3=5 Exploring Operation: 3+64=67, Resulting Numbers: [15, 67] Generated Node #0,1,3: 70:[15, 67] Operation: 3+64=67 Moving to Node #0,1,3 Current State: 70:[15, 67], Operations: ['59+5=64', '3+64=67'] Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,70 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[64, 5], Operations: ['59+5=64', '15/3=5'] Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[64, 12], Operations: ['59+5=64', '15-3=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,70 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[64, 18], Operations: ['59+5=64', '15+3=18'] Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[15, 5, 62], Operations: ['59+3=62'] Exploring Operation: 15-5=10, Resulting Numbers: [62, 10] Generated Node #0,3,0: 70:[62, 10] Operation: 15-5=10 Exploring Operation: 15/5=3, Resulting Numbers: [62, 3] Generated Node #0,3,1: 70:[62, 3] Operation: 15/5=3 Exploring Operation: 5+62=67, Resulting Numbers: [15, 67] Generated Node #0,3,2: 70:[15, 67] Operation: 5+62=67 Exploring Operation: 15+62=77, Resulting Numbers: [5, 77] Generated Node #0,3,3: 70:[5, 77] Operation: 15+62=77 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 70:[15, 67], Operations: ['59+3=62', '5+62=67'] Exploring Operation: 15*67=1005, Resulting Numbers: [1005] 1005,70 unequal: No Solution Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 15+67=82, Resulting Numbers: [82] 82,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 70:[5, 77], Operations: ['59+3=62', '15+62=77'] Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,70 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 70:[62, 10], Operations: ['59+3=62', '15-5=10'] Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,70 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 70:[62, 3], Operations: ['59+3=62', '15/5=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,70 unequal: No Solution Exploring Operation: 62*3=186, Resulting Numbers: [186] 186,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[5, 3, 44], Operations: ['59-15=44'] Exploring Operation: 44-5=39, Resulting Numbers: [3, 39] Generated Node #0,0,0: 70:[3, 39] Operation: 44-5=39 Exploring Operation: 5-3=2, Resulting Numbers: [44, 2] Generated Node #0,0,1: 70:[44, 2] Operation: 5-3=2 Exploring Operation: 5+3=8, Resulting Numbers: [44, 8] Generated Node #0,0,2: 70:[44, 8] Operation: 5+3=8 Exploring Operation: 44-3=41, Resulting Numbers: [5, 41] Generated Node #0,0,3: 70:[5, 41] Operation: 44-3=41 Moving to Node #0,0,0 Current State: 70:[3, 39], Operations: ['59-15=44', '44-5=39'] Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[5, 41], Operations: ['59-15=44', '44-3=41'] Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,70 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[44, 2], Operations: ['59-15=44', '5-3=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,70 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[44, 8], Operations: ['59-15=44', '5+3=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,70 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,70 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,70 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
[ 98, 85, 37, 24 ]
83
[ "98-24=74", "74/37=2", "85-2=83" ]
Current State: 83:[98, 85, 37, 24], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [85, 37, 74] Generated Node #2: [85, 37, 74] from Operation: 98-24=74 Current State: 83:[85, 37, 74], Operations: ['98-24=74'] Exploring Operation: 74/37=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 74/37=2 Current State: 83:[85, 2], Operations: ['98-24=74', '74/37=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[98, 85, 37, 24], Operations: [] Exploring Operation: 37+24=61, Resulting Numbers: [98, 85, 61] Generated Node #0,0: 83:[98, 85, 61] Operation: 37+24=61 Exploring Operation: 98-37=61, Resulting Numbers: [85, 24, 61] Generated Node #0,1: 83:[85, 24, 61] Operation: 98-37=61 Exploring Operation: 85-24=61, Resulting Numbers: [98, 37, 61] Generated Node #0,2: 83:[98, 37, 61] Operation: 85-24=61 Exploring Operation: 98-24=74, Resulting Numbers: [85, 37, 74] Generated Node #0,3: 83:[85, 37, 74] Operation: 98-24=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[98, 85, 61], Operations: ['37+24=61'] Exploring Operation: 98+61=159, Resulting Numbers: [85, 159] Generated Node #0,0,0: 83:[85, 159] Operation: 98+61=159 Exploring Operation: 98-61=37, Resulting Numbers: [85, 37] Generated Node #0,0,1: 83:[85, 37] Operation: 98-61=37 Exploring Operation: 85-61=24, Resulting Numbers: [98, 24] Generated Node #0,0,2: 83:[98, 24] Operation: 85-61=24 Exploring Operation: 85+61=146, Resulting Numbers: [98, 146] Generated Node #0,0,3: 83:[98, 146] Operation: 85+61=146 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[85, 37], Operations: ['37+24=61', '98-61=37'] Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,83 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[98, 24], Operations: ['37+24=61', '85-61=24'] Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,83 unequal: No Solution Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[85, 159], Operations: ['37+24=61', '98+61=159'] Exploring Operation: 85*159=13515, Resulting Numbers: [13515] 13515,83 unequal: No Solution Exploring Operation: 85+159=244, Resulting Numbers: [244] 244,83 unequal: No Solution Exploring Operation: 159-85=74, Resulting Numbers: [74] 74,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[98, 146], Operations: ['37+24=61', '85+61=146'] Exploring Operation: 98*146=14308, Resulting Numbers: [14308] 14308,83 unequal: No Solution Exploring Operation: 98+146=244, Resulting Numbers: [244] 244,83 unequal: No Solution Exploring Operation: 146-98=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[85, 37, 74], Operations: ['98-24=74'] Exploring Operation: 85+37=122, Resulting Numbers: [74, 122] Generated Node #0,3,0: 83:[74, 122] Operation: 85+37=122 Exploring Operation: 37+74=111, Resulting Numbers: [85, 111] Generated Node #0,3,1: 83:[85, 111] Operation: 37+74=111 Exploring Operation: 74-37=37, Resulting Numbers: [85, 37] Generated Node #0,3,2: 83:[85, 37] Operation: 74-37=37 Exploring Operation: 85-37=48, Resulting Numbers: [74, 48] Generated Node #0,3,3: 83:[74, 48] Operation: 85-37=48 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[85, 111], Operations: ['98-24=74', '37+74=111'] Exploring Operation: 111-85=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 85*111=9435, Resulting Numbers: [9435] 9435,83 unequal: No Solution Exploring Operation: 85+111=196, Resulting Numbers: [196] 196,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[74, 48], Operations: ['98-24=74', '85-37=48'] Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,83 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,83 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[74, 122], Operations: ['98-24=74', '85+37=122'] Exploring Operation: 122-74=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 74*122=9028, Resulting Numbers: [9028] 9028,83 unequal: No Solution Exploring Operation: 74+122=196, Resulting Numbers: [196] 196,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[85, 37], Operations: ['98-24=74', '74-37=37'] Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,83 unequal: No Solution Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[85, 24, 61], Operations: ['98-37=61'] Exploring Operation: 24+61=85, Resulting Numbers: [85, 85] Generated Node #0,1,0: 83:[85, 85] Operation: 24+61=85 Exploring Operation: 61-24=37, Resulting Numbers: [85, 37] Generated Node #0,1,1: 83:[85, 37] Operation: 61-24=37 Exploring Operation: 85-24=61, Resulting Numbers: [61, 61] Generated Node #0,1,2: 83:[61, 61] Operation: 85-24=61 Exploring Operation: 85+24=109, Resulting Numbers: [61, 109] Generated Node #0,1,3: 83:[61, 109] Operation: 85+24=109 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[85, 85], Operations: ['98-37=61', '24+61=85'] Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,83 unequal: No Solution Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[61, 61], Operations: ['98-37=61', '85-24=61'] Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,83 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[85, 37], Operations: ['98-37=61', '61-24=37'] Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,83 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[61, 109], Operations: ['98-37=61', '85+24=109'] Exploring Operation: 61+109=170, Resulting Numbers: [170] 170,83 unequal: No Solution Exploring Operation: 61*109=6649, Resulting Numbers: [6649] 6649,83 unequal: No Solution Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[98, 37, 61], Operations: ['85-24=61'] Exploring Operation: 37+61=98, Resulting Numbers: [98, 98] Generated Node #0,2,0: 83:[98, 98] Operation: 37+61=98 Exploring Operation: 98-37=61, Resulting Numbers: [61, 61] Generated Node #0,2,1: 83:[61, 61] Operation: 98-37=61 Exploring Operation: 98+37=135, Resulting Numbers: [61, 135] Generated Node #0,2,2: 83:[61, 135] Operation: 98+37=135 Exploring Operation: 61-37=24, Resulting Numbers: [98, 24] Generated Node #0,2,3: 83:[98, 24] Operation: 61-37=24 Moving to Node #0,2,0 Current State: 83:[98, 98], Operations: ['85-24=61', '37+61=98'] Exploring Operation: 98/98=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 98-98=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 98+98=196, Resulting Numbers: [196] 196,83 unequal: No Solution Exploring Operation: 98*98=9604, Resulting Numbers: [9604] 9604,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[61, 61], Operations: ['85-24=61', '98-37=61'] Exploring Operation: 61*61=3721, Resulting Numbers: [3721] 3721,83 unequal: No Solution Exploring Operation: 61+61=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 61-61=0, Resulting Numbers: [0] 0,83 unequal: No Solution Exploring Operation: 61/61=1, Resulting Numbers: [1] 1,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[98, 24], Operations: ['85-24=61', '61-37=24'] Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,83 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[61, 135], Operations: ['85-24=61', '98+37=135'] Exploring Operation: 61+135=196, Resulting Numbers: [196] 196,83 unequal: No Solution Exploring Operation: 61*135=8235, Resulting Numbers: [8235] 8235,83 unequal: No Solution Exploring Operation: 135-61=74, Resulting Numbers: [74] 74,83 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
[ 6, 37, 34, 68 ]
25
[ "6*68=408", "408/34=12", "37-12=25" ]
Current State: 25:[6, 37, 34, 68], Operations: [] Exploring Operation: 6*68=408, Resulting Numbers: [37, 34, 408] Generated Node #2: [37, 34, 408] from Operation: 6*68=408 Current State: 25:[37, 34, 408], Operations: ['6*68=408'] Exploring Operation: 408/34=12, Resulting Numbers: [37, 12] Generated Node #3: [37, 12] from Operation: 408/34=12 Current State: 25:[37, 12], Operations: ['6*68=408', '408/34=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[6, 37, 34, 68], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [6, 68, 3] Generated Node #0,0: 25:[6, 68, 3] Operation: 37-34=3 Exploring Operation: 68/34=2, Resulting Numbers: [6, 37, 2] Generated Node #0,1: 25:[6, 37, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [6, 37, 34] Generated Node #0,2: 25:[6, 37, 34] Operation: 68-34=34 Exploring Operation: 37-6=31, Resulting Numbers: [34, 68, 31] Generated Node #0,3: 25:[34, 68, 31] Operation: 37-6=31 Exploring Operation: 68-37=31, Resulting Numbers: [6, 34, 31] Generated Node #0,4: 25:[6, 34, 31] Operation: 68-37=31 Moving to Node #0,1 Current State: 25:[6, 37, 2], Operations: ['68/34=2'] Exploring Operation: 6-2=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 25:[37, 4] Operation: 6-2=4 Exploring Operation: 6+2=8, Resulting Numbers: [37, 8] Generated Node #0,1,1: 25:[37, 8] Operation: 6+2=8 Exploring Operation: 37-6=31, Resulting Numbers: [2, 31] Generated Node #0,1,2: 25:[2, 31] Operation: 37-6=31 Exploring Operation: 37-2=35, Resulting Numbers: [6, 35] Generated Node #0,1,3: 25:[6, 35] Operation: 37-2=35 Exploring Operation: 6/2=3, Resulting Numbers: [37, 3] Generated Node #0,1,4: 25:[37, 3] Operation: 6/2=3 Moving to Node #0,4 Current State: 25:[6, 34, 31], Operations: ['68-37=31'] Exploring Operation: 6+34=40, Resulting Numbers: [31, 40] Generated Node #0,4,0: 25:[31, 40] Operation: 6+34=40 Exploring Operation: 34-6=28, Resulting Numbers: [31, 28] Generated Node #0,4,1: 25:[31, 28] Operation: 34-6=28 Exploring Operation: 31-6=25, Resulting Numbers: [34, 25] Generated Node #0,4,2: 25:[34, 25] Operation: 31-6=25 Exploring Operation: 34-31=3, Resulting Numbers: [6, 3] Generated Node #0,4,3: 25:[6, 3] Operation: 34-31=3 Exploring Operation: 6+31=37, Resulting Numbers: [34, 37] Generated Node #0,4,4: 25:[34, 37] Operation: 6+31=37 Moving to Node #0,2 Current State: 25:[6, 37, 34], Operations: ['68-34=34'] Exploring Operation: 37-6=31, Resulting Numbers: [34, 31] Generated Node #0,2,0: 25:[34, 31] Operation: 37-6=31 Exploring Operation: 6+34=40, Resulting Numbers: [37, 40] Generated Node #0,2,1: 25:[37, 40] Operation: 6+34=40 Exploring Operation: 37-34=3, Resulting Numbers: [6, 3] Generated Node #0,2,2: 25:[6, 3] Operation: 37-34=3 Exploring Operation: 34-6=28, Resulting Numbers: [37, 28] Generated Node #0,2,3: 25:[37, 28] Operation: 34-6=28 Exploring Operation: 6+37=43, Resulting Numbers: [34, 43] Generated Node #0,2,4: 25:[34, 43] Operation: 6+37=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[6, 3], Operations: ['68-34=34', '37-34=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[34, 31], Operations: ['68-34=34', '37-6=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,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,3 Current State: 25:[37, 28], Operations: ['68-34=34', '34-6=28'] Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,25 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[37, 40], Operations: ['68-34=34', '6+34=40'] Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,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,4 Current State: 25:[34, 43], Operations: ['68-34=34', '6+37=43'] Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,25 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 25:[6, 68, 3], Operations: ['37-34=3'] Exploring Operation: 6-3=3, Resulting Numbers: [68, 3] Generated Node #0,0,0: 25:[68, 3] Operation: 6-3=3 Exploring Operation: 68-3=65, Resulting Numbers: [6, 65] Generated Node #0,0,1: 25:[6, 65] Operation: 68-3=65 Exploring Operation: 68-6=62, Resulting Numbers: [3, 62] Generated Node #0,0,2: 25:[3, 62] Operation: 68-6=62 Exploring Operation: 6+3=9, Resulting Numbers: [68, 9] Generated Node #0,0,3: 25:[68, 9] Operation: 6+3=9 Exploring Operation: 6/3=2, Resulting Numbers: [68, 2] Generated Node #0,0,4: 25:[68, 2] Operation: 6/3=2 Moving to Node #0,3 Current State: 25:[34, 68, 31], Operations: ['37-6=31'] Exploring Operation: 68/34=2, Resulting Numbers: [31, 2] Generated Node #0,3,0: 25:[31, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [31, 34] Generated Node #0,3,1: 25:[31, 34] Operation: 68-34=34 Exploring Operation: 68-31=37, Resulting Numbers: [34, 37] Generated Node #0,3,2: 25:[34, 37] Operation: 68-31=37 Exploring Operation: 34-31=3, Resulting Numbers: [68, 3] Generated Node #0,3,3: 25:[68, 3] Operation: 34-31=3 Exploring Operation: 34+68=102, Resulting Numbers: [31, 102] Generated Node #0,3,4: 25:[31, 102] Operation: 34+68=102 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[31, 2], Operations: ['37-6=31', '68/34=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[31, 34], Operations: ['37-6=31', '68-34=34'] Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,25 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,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,2 Current State: 25:[34, 37], Operations: ['37-6=31', '68-31=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,25 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[68, 3], Operations: ['37-6=31', '34-31=3'] Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,25 unequal: No Solution Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,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,4 Current State: 25:[31, 102], Operations: ['37-6=31', '34+68=102'] Exploring Operation: 102-31=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 31+102=133, Resulting Numbers: [133] 133,25 unequal: No Solution Exploring Operation: 31*102=3162, Resulting Numbers: [3162] 3162,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 25:[6, 3], Operations: ['68-37=31', '34-31=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[2, 31], Operations: ['68/34=2', '37-6=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[31, 28], Operations: ['68-37=31', '34-6=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,25 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[34, 25], Operations: ['68-37=31', '31-6=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[6, 35], Operations: ['68/34=2', '37-2=35'] Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,25 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[37, 4], Operations: ['68/34=2', '6-2=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,25 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,25 unequal: No Solution Moving to Node #0,1,4 Current State: 25:[37, 3], Operations: ['68/34=2', '6/2=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,25 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[37, 8], Operations: ['68/34=2', '6+2=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,25 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[34, 37], Operations: ['68-37=31', '6+31=37'] Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 34*37=1258, Resulting Numbers: [1258] 1258,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[31, 40], Operations: ['68-37=31', '6+34=40'] Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[3, 62], Operations: ['37-34=3', '68-6=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[6, 65], Operations: ['37-34=3', '68-3=65'] Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[68, 3], Operations: ['37-34=3', '6-3=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,25 unequal: No Solution Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,25 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[68, 2], Operations: ['37-34=3', '6/3=2'] Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,25 unequal: No Solution Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[68, 9], Operations: ['37-34=3', '6+3=9'] Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,25 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 75, 51, 54, 41 ]
11
[ "75-51=24", "54-41=13", "24-13=11" ]
Current State: 11:[75, 51, 54, 41], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [54, 41, 24] Generated Node #2: [54, 41, 24] from Operation: 75-51=24 Current State: 11:[54, 41, 24], Operations: ['75-51=24'] Exploring Operation: 54-41=13, Resulting Numbers: [24, 13] Generated Node #3: [24, 13] from Operation: 54-41=13 Current State: 11:[24, 13], Operations: ['75-51=24', '54-41=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[75, 51, 54, 41], Operations: [] Exploring Operation: 75-54=21, Resulting Numbers: [51, 41, 21] Generated Node #0,0: 11:[51, 41, 21] Operation: 75-54=21 Exploring Operation: 75-51=24, Resulting Numbers: [54, 41, 24] Generated Node #0,1: 11:[54, 41, 24] Operation: 75-51=24 Moving to Node #0,0 Current State: 11:[51, 41, 21], Operations: ['75-54=21'] Exploring Operation: 51-21=30, Resulting Numbers: [41, 30] Generated Node #0,0,0: 11:[41, 30] Operation: 51-21=30 Exploring Operation: 51-41=10, Resulting Numbers: [21, 10] Generated Node #0,0,1: 11:[21, 10] Operation: 51-41=10 Moving to Node #0,1 Current State: 11:[54, 41, 24], Operations: ['75-51=24'] Exploring Operation: 54-41=13, Resulting Numbers: [24, 13] Generated Node #0,1,0: 11:[24, 13] Operation: 54-41=13 Exploring Operation: 54-24=30, Resulting Numbers: [41, 30] Generated Node #0,1,1: 11:[41, 30] Operation: 54-24=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[24, 13], Operations: ['75-51=24', '54-41=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[75, 51, 54, 41], Operations: [] Exploring Operation: 75-51=24, Resulting Numbers: [54, 41, 24] Generated Node #0,1: 11:[54, 41, 24] Operation: 75-51=24 Moving to Node #0,1 Current State: 11:[54, 41, 24], Operations: ['75-51=24'] Exploring Operation: 54-41=13, Resulting Numbers: [24, 13] Generated Node #0,1,0: 11:[24, 13] Operation: 54-41=13 Moving to Node #0,1,0 Current State: 11:[24, 13], Operations: ['75-51=24', '54-41=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 64, 13, 4, 50 ]
53
[ "64/4=16", "50-13=37", "16+37=53" ]
Current State: 53:[64, 13, 4, 50], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [13, 50, 16] Generated Node #2: [13, 50, 16] from Operation: 64/4=16 Current State: 53:[13, 50, 16], Operations: ['64/4=16'] Exploring Operation: 50-13=37, Resulting Numbers: [16, 37] Generated Node #3: [16, 37] from Operation: 50-13=37 Current State: 53:[16, 37], Operations: ['64/4=16', '50-13=37'] Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[64, 13, 4, 50], Operations: [] Exploring Operation: 13*4=52, Resulting Numbers: [64, 50, 52] Generated Node #0,0: 53:[64, 50, 52] Operation: 13*4=52 Exploring Operation: 64-4=60, Resulting Numbers: [13, 50, 60] Generated Node #0,1: 53:[13, 50, 60] Operation: 64-4=60 Exploring Operation: 13+4=17, Resulting Numbers: [64, 50, 17] Generated Node #0,2: 53:[64, 50, 17] Operation: 13+4=17 Exploring Operation: 64-13=51, Resulting Numbers: [4, 50, 51] Generated Node #0,3: 53:[4, 50, 51] Operation: 64-13=51 Exploring Operation: 4+50=54, Resulting Numbers: [64, 13, 54] Generated Node #0,4: 53:[64, 13, 54] Operation: 4+50=54 Moving to Node #0,0 Current State: 53:[64, 50, 52], Operations: ['13*4=52'] Exploring Operation: 64+50=114, Resulting Numbers: [52, 114] Generated Node #0,0,0: 53:[52, 114] Operation: 64+50=114 Exploring Operation: 50+52=102, Resulting Numbers: [64, 102] Generated Node #0,0,1: 53:[64, 102] Operation: 50+52=102 Exploring Operation: 64-52=12, Resulting Numbers: [50, 12] Generated Node #0,0,2: 53:[50, 12] Operation: 64-52=12 Exploring Operation: 52-50=2, Resulting Numbers: [64, 2] Generated Node #0,0,3: 53:[64, 2] Operation: 52-50=2 Exploring Operation: 64-50=14, Resulting Numbers: [52, 14] Generated Node #0,0,4: 53:[52, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[52, 14], Operations: ['13*4=52', '64-50=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 52*14=728, Resulting Numbers: [728] 728,53 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[50, 12], Operations: ['13*4=52', '64-52=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,53 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[64, 102], Operations: ['13*4=52', '50+52=102'] Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,53 unequal: No Solution Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[52, 114], Operations: ['13*4=52', '64+50=114'] Exploring Operation: 52+114=166, Resulting Numbers: [166] 166,53 unequal: No Solution Exploring Operation: 52*114=5928, Resulting Numbers: [5928] 5928,53 unequal: No Solution Exploring Operation: 114-52=62, Resulting Numbers: [62] 62,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[64, 2], Operations: ['13*4=52', '52-50=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,53 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,53 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,53 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: 53:[64, 50, 17], Operations: ['13+4=17'] Exploring Operation: 50+17=67, Resulting Numbers: [64, 67] Generated Node #0,2,0: 53:[64, 67] Operation: 50+17=67 Exploring Operation: 50-17=33, Resulting Numbers: [64, 33] Generated Node #0,2,1: 53:[64, 33] Operation: 50-17=33 Exploring Operation: 64-17=47, Resulting Numbers: [50, 47] Generated Node #0,2,2: 53:[50, 47] Operation: 64-17=47 Exploring Operation: 64+17=81, Resulting Numbers: [50, 81] Generated Node #0,2,3: 53:[50, 81] Operation: 64+17=81 Exploring Operation: 64-50=14, Resulting Numbers: [17, 14] Generated Node #0,2,4: 53:[17, 14] Operation: 64-50=14 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[50, 47], Operations: ['13+4=17', '64-17=47'] Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,53 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[64, 67], Operations: ['13+4=17', '50+17=67'] Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[64, 33], Operations: ['13+4=17', '50-17=33'] Exploring Operation: 64+33=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 64*33=2112, Resulting Numbers: [2112] 2112,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 53:[50, 81], Operations: ['13+4=17', '64+17=81'] Exploring Operation: 50*81=4050, Resulting Numbers: [4050] 4050,53 unequal: No Solution Exploring Operation: 50+81=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 53:[17, 14], Operations: ['13+4=17', '64-50=14'] Exploring Operation: 17*14=238, Resulting Numbers: [238] 238,53 unequal: No Solution Exploring Operation: 17+14=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 53:[13, 50, 60], Operations: ['64-4=60'] Exploring Operation: 13+60=73, Resulting Numbers: [50, 73] Generated Node #0,1,0: 53:[50, 73] Operation: 13+60=73 Exploring Operation: 13+50=63, Resulting Numbers: [60, 63] Generated Node #0,1,1: 53:[60, 63] Operation: 13+50=63 Exploring Operation: 50-13=37, Resulting Numbers: [60, 37] Generated Node #0,1,2: 53:[60, 37] Operation: 50-13=37 Exploring Operation: 60-13=47, Resulting Numbers: [50, 47] Generated Node #0,1,3: 53:[50, 47] Operation: 60-13=47 Exploring Operation: 60-50=10, Resulting Numbers: [13, 10] Generated Node #0,1,4: 53:[13, 10] Operation: 60-50=10 Moving to Node #0,4 Current State: 53:[64, 13, 54], Operations: ['4+50=54'] Exploring Operation: 64+13=77, Resulting Numbers: [54, 77] Generated Node #0,4,0: 53:[54, 77] Operation: 64+13=77 Exploring Operation: 64-13=51, Resulting Numbers: [54, 51] Generated Node #0,4,1: 53:[54, 51] Operation: 64-13=51 Exploring Operation: 13+54=67, Resulting Numbers: [64, 67] Generated Node #0,4,2: 53:[64, 67] Operation: 13+54=67 Exploring Operation: 54-13=41, Resulting Numbers: [64, 41] Generated Node #0,4,3: 53:[64, 41] Operation: 54-13=41 Exploring Operation: 64-54=10, Resulting Numbers: [13, 10] Generated Node #0,4,4: 53:[13, 10] Operation: 64-54=10 Moving to Node #0,3 Current State: 53:[4, 50, 51], Operations: ['64-13=51'] Exploring Operation: 50+51=101, Resulting Numbers: [4, 101] Generated Node #0,3,0: 53:[4, 101] Operation: 50+51=101 Exploring Operation: 51-4=47, Resulting Numbers: [50, 47] Generated Node #0,3,1: 53:[50, 47] Operation: 51-4=47 Exploring Operation: 4+51=55, Resulting Numbers: [50, 55] Generated Node #0,3,2: 53:[50, 55] Operation: 4+51=55 Exploring Operation: 50-4=46, Resulting Numbers: [51, 46] Generated Node #0,3,3: 53:[51, 46] Operation: 50-4=46 Exploring Operation: 4+50=54, Resulting Numbers: [51, 54] Generated Node #0,3,4: 53:[51, 54] Operation: 4+50=54 Moving to Node #0,4,1 Current State: 53:[54, 51], Operations: ['4+50=54', '64-13=51'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 54+51=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 54*51=2754, Resulting Numbers: [2754] 2754,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[51, 54], Operations: ['64-13=51', '4+50=54'] Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,53 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[50, 55], Operations: ['64-13=51', '4+51=55'] Exploring Operation: 50*55=2750, Resulting Numbers: [2750] 2750,53 unequal: No Solution Exploring Operation: 55-50=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 50+55=105, Resulting Numbers: [105] 105,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[51, 46], Operations: ['64-13=51', '50-4=46'] Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[50, 47], Operations: ['64-4=60', '60-13=47'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,53 unequal: No Solution Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[50, 47], Operations: ['64-13=51', '51-4=47'] Exploring Operation: 50+47=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 50*47=2350, Resulting Numbers: [2350] 2350,53 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[60, 63], Operations: ['64-4=60', '13+50=63'] Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 60*63=3780, Resulting Numbers: [3780] 3780,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[64, 41], Operations: ['4+50=54', '54-13=41'] Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,53 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,53 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[50, 73], Operations: ['64-4=60', '13+60=73'] Exploring Operation: 50+73=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 73-50=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 50*73=3650, Resulting Numbers: [3650] 3650,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[60, 37], Operations: ['64-4=60', '50-13=37'] Exploring Operation: 60+37=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 60*37=2220, Resulting Numbers: [2220] 2220,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[54, 77], Operations: ['4+50=54', '64+13=77'] Exploring Operation: 54+77=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 54*77=4158, Resulting Numbers: [4158] 4158,53 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[64, 67], Operations: ['4+50=54', '13+54=67'] Exploring Operation: 64*67=4288, Resulting Numbers: [4288] 4288,53 unequal: No Solution Exploring Operation: 64+67=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 67-64=3, Resulting Numbers: [3] 3,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[13, 10], Operations: ['4+50=54', '64-54=10'] Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,53 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[13, 10], Operations: ['64-4=60', '60-50=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,53 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[4, 101], Operations: ['64-13=51', '50+51=101'] Exploring Operation: 101-4=97, Resulting Numbers: [97] 97,53 unequal: No Solution Exploring Operation: 4*101=404, Resulting Numbers: [404] 404,53 unequal: No Solution Exploring Operation: 4+101=105, Resulting Numbers: [105] 105,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 36, 15, 16 ]
40
[ "45-36=9", "15+16=31", "9+31=40" ]
Current State: 40:[45, 36, 15, 16], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [15, 16, 9] Generated Node #2: [15, 16, 9] from Operation: 45-36=9 Current State: 40:[15, 16, 9], Operations: ['45-36=9'] Exploring Operation: 15+16=31, Resulting Numbers: [9, 31] Generated Node #3: [9, 31] from Operation: 15+16=31 Current State: 40:[9, 31], Operations: ['45-36=9', '15+16=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[45, 36, 15, 16], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [15, 16, 9] Generated Node #0,0: 40:[15, 16, 9] Operation: 45-36=9 Exploring Operation: 36-15=21, Resulting Numbers: [45, 16, 21] Generated Node #0,1: 40:[45, 16, 21] Operation: 36-15=21 Exploring Operation: 45/15=3, Resulting Numbers: [36, 16, 3] Generated Node #0,2: 40:[36, 16, 3] Operation: 45/15=3 Moving to Node #0,2 Current State: 40:[36, 16, 3], Operations: ['45/15=3'] Exploring Operation: 36+3=39, Resulting Numbers: [16, 39] Generated Node #0,2,0: 40:[16, 39] Operation: 36+3=39 Exploring Operation: 36-16=20, Resulting Numbers: [3, 20] Generated Node #0,2,1: 40:[3, 20] Operation: 36-16=20 Exploring Operation: 16+3=19, Resulting Numbers: [36, 19] Generated Node #0,2,2: 40:[36, 19] Operation: 16+3=19 Moving to Node #0,0 Current State: 40:[15, 16, 9], Operations: ['45-36=9'] Exploring Operation: 15-9=6, Resulting Numbers: [16, 6] Generated Node #0,0,0: 40:[16, 6] Operation: 15-9=6 Exploring Operation: 16-15=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 40:[9, 1] Operation: 16-15=1 Exploring Operation: 16-9=7, Resulting Numbers: [15, 7] Generated Node #0,0,2: 40:[15, 7] Operation: 16-9=7 Moving to Node #0,1 Current State: 40:[45, 16, 21], Operations: ['36-15=21'] Exploring Operation: 21-16=5, Resulting Numbers: [45, 5] Generated Node #0,1,0: 40:[45, 5] Operation: 21-16=5 Exploring Operation: 16+21=37, Resulting Numbers: [45, 37] Generated Node #0,1,1: 40:[45, 37] Operation: 16+21=37 Exploring Operation: 45-21=24, Resulting Numbers: [16, 24] Generated Node #0,1,2: 40:[16, 24] Operation: 45-21=24 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[45, 5], Operations: ['36-15=21', '21-16=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[45, 36, 15, 16], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [45, 16, 21] Generated Node #0,1: 40:[45, 16, 21] Operation: 36-15=21 Moving to Node #0,1 Current State: 40:[45, 16, 21], Operations: ['36-15=21'] Exploring Operation: 21-16=5, Resulting Numbers: [45, 5] Generated Node #0,1,0: 40:[45, 5] Operation: 21-16=5 Moving to Node #0,1,0 Current State: 40:[45, 5], Operations: ['36-15=21', '21-16=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 4, 16, 22, 2 ]
19
[ "4-2=2", "16+22=38", "38/2=19" ]
Current State: 19:[4, 16, 22, 2], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [16, 22, 2] Generated Node #2: [16, 22, 2] from Operation: 4-2=2 Current State: 19:[16, 22, 2], Operations: ['4-2=2'] Exploring Operation: 16+22=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 16+22=38 Current State: 19:[2, 38], Operations: ['4-2=2', '16+22=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[4, 16, 22, 2], Operations: [] Exploring Operation: 4*2=8, Resulting Numbers: [16, 22, 8] Generated Node #0,0: 19:[16, 22, 8] Operation: 4*2=8 Exploring Operation: 16+2=18, Resulting Numbers: [4, 22, 18] Generated Node #0,1: 19:[4, 22, 18] Operation: 16+2=18 Exploring Operation: 4+16=20, Resulting Numbers: [22, 2, 20] Generated Node #0,2: 19:[22, 2, 20] Operation: 4+16=20 Exploring Operation: 22-2=20, Resulting Numbers: [4, 16, 20] Generated Node #0,3: 19:[4, 16, 20] Operation: 22-2=20 Exploring Operation: 4+2=6, Resulting Numbers: [16, 22, 6] Generated Node #0,4: 19:[16, 22, 6] Operation: 4+2=6 Moving to Node #0,0 Current State: 19:[16, 22, 8], Operations: ['4*2=8'] Exploring Operation: 16-8=8, Resulting Numbers: [22, 8] Generated Node #0,0,0: 19:[22, 8] Operation: 16-8=8 Exploring Operation: 22-8=14, Resulting Numbers: [16, 14] Generated Node #0,0,1: 19:[16, 14] Operation: 22-8=14 Exploring Operation: 16+8=24, Resulting Numbers: [22, 24] Generated Node #0,0,2: 19:[22, 24] Operation: 16+8=24 Exploring Operation: 22+8=30, Resulting Numbers: [16, 30] Generated Node #0,0,3: 19:[16, 30] Operation: 22+8=30 Exploring Operation: 16/8=2, Resulting Numbers: [22, 2] Generated Node #0,0,4: 19:[22, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[16, 14], Operations: ['4*2=8', '22-8=14'] Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[22, 24], Operations: ['4*2=8', '16+8=24'] Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,19 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[22, 8], Operations: ['4*2=8', '16-8=8'] Exploring Operation: 22*8=176, Resulting Numbers: [176] 176,19 unequal: No Solution Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,19 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 19:[16, 30], Operations: ['4*2=8', '22+8=30'] Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 16*30=480, Resulting Numbers: [480] 480,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 19:[22, 2], Operations: ['4*2=8', '16/8=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,19 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: 19:[4, 16, 20], Operations: ['22-2=20'] Exploring Operation: 16-4=12, Resulting Numbers: [20, 12] Generated Node #0,3,0: 19:[20, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [20, 4] Generated Node #0,3,1: 19:[20, 4] Operation: 16/4=4 Exploring Operation: 4+16=20, Resulting Numbers: [20, 20] Generated Node #0,3,2: 19:[20, 20] Operation: 4+16=20 Exploring Operation: 20-4=16, Resulting Numbers: [16, 16] Generated Node #0,3,3: 19:[16, 16] Operation: 20-4=16 Exploring Operation: 4+20=24, Resulting Numbers: [16, 24] Generated Node #0,3,4: 19:[16, 24] Operation: 4+20=24 Moving to Node #0,1 Current State: 19:[4, 22, 18], Operations: ['16+2=18'] Exploring Operation: 4+22=26, Resulting Numbers: [18, 26] Generated Node #0,1,0: 19:[18, 26] Operation: 4+22=26 Exploring Operation: 18-4=14, Resulting Numbers: [22, 14] Generated Node #0,1,1: 19:[22, 14] Operation: 18-4=14 Exploring Operation: 4+18=22, Resulting Numbers: [22, 22] Generated Node #0,1,2: 19:[22, 22] Operation: 4+18=22 Exploring Operation: 22-4=18, Resulting Numbers: [18, 18] Generated Node #0,1,3: 19:[18, 18] Operation: 22-4=18 Exploring Operation: 22-18=4, Resulting Numbers: [4, 4] Generated Node #0,1,4: 19:[4, 4] Operation: 22-18=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[18, 18], Operations: ['16+2=18', '22-4=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,19 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[22, 22], Operations: ['16+2=18', '4+18=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[18, 26], Operations: ['16+2=18', '4+22=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,19 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[22, 14], Operations: ['16+2=18', '18-4=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,19 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 19:[4, 4], Operations: ['16+2=18', '22-18=4'] Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,19 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,19 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: 19:[16, 22, 6], Operations: ['4+2=6'] Exploring Operation: 16-6=10, Resulting Numbers: [22, 10] Generated Node #0,4,0: 19:[22, 10] Operation: 16-6=10 Exploring Operation: 22-6=16, Resulting Numbers: [16, 16] Generated Node #0,4,1: 19:[16, 16] Operation: 22-6=16 Exploring Operation: 16+6=22, Resulting Numbers: [22, 22] Generated Node #0,4,2: 19:[22, 22] Operation: 16+6=22 Exploring Operation: 22-16=6, Resulting Numbers: [6, 6] Generated Node #0,4,3: 19:[6, 6] Operation: 22-16=6 Exploring Operation: 22+6=28, Resulting Numbers: [16, 28] Generated Node #0,4,4: 19:[16, 28] Operation: 22+6=28 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 19:[16, 16], Operations: ['4+2=6', '22-6=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,19 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 19:[22, 22], Operations: ['4+2=6', '16+6=22'] Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 19:[22, 10], Operations: ['4+2=6', '16-6=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,19 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 19:[16, 28], Operations: ['4+2=6', '22+6=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,19 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 19:[6, 6], Operations: ['4+2=6', '22-16=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 19:[22, 2, 20], Operations: ['4+16=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22, 22] Generated Node #0,2,0: 19:[22, 22] Operation: 2+20=22 Exploring Operation: 22/2=11, Resulting Numbers: [20, 11] Generated Node #0,2,1: 19:[20, 11] Operation: 22/2=11 Exploring Operation: 22+2=24, Resulting Numbers: [20, 24] Generated Node #0,2,2: 19:[20, 24] Operation: 22+2=24 Exploring Operation: 20-2=18, Resulting Numbers: [22, 18] Generated Node #0,2,3: 19:[22, 18] Operation: 20-2=18 Exploring Operation: 22-2=20, Resulting Numbers: [20, 20] Generated Node #0,2,4: 19:[20, 20] Operation: 22-2=20 Moving to Node #0,3,2 Current State: 19:[20, 20], Operations: ['22-2=20', '4+16=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[20, 20], Operations: ['4+16=20', '22-2=20'] Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[22, 18], Operations: ['4+16=20', '20-2=18'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 22+18=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 22*18=396, Resulting Numbers: [396] 396,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[20, 24], Operations: ['4+16=20', '22+2=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[16, 16], Operations: ['22-2=20', '20-4=16'] Exploring Operation: 16+16=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 16*16=256, Resulting Numbers: [256] 256,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[22, 22], Operations: ['4+16=20', '2+20=22'] Exploring Operation: 22/22=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 22+22=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 22*22=484, Resulting Numbers: [484] 484,19 unequal: No Solution Exploring Operation: 22-22=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[20, 12], Operations: ['22-2=20', '16-4=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,19 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,3,4 Current State: 19:[16, 24], Operations: ['22-2=20', '4+20=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,19 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,19 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[20, 11], Operations: ['4+16=20', '22/2=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,19 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[20, 4], Operations: ['22-2=20', '16/4=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,19 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 3, 4, 76, 15 ]
76
[ "15/3=5", "5-4=1", "76*1=76" ]
Current State: 76:[3, 4, 76, 15], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [4, 76, 5] Generated Node #2: [4, 76, 5] from Operation: 15/3=5 Current State: 76:[4, 76, 5], Operations: ['15/3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 5-4=1 Current State: 76:[76, 1], Operations: ['15/3=5', '5-4=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[3, 4, 76, 15], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [4, 76, 5] Generated Node #0,0: 76:[4, 76, 5] Operation: 15/3=5 Exploring Operation: 3+15=18, Resulting Numbers: [4, 76, 18] Generated Node #0,1: 76:[4, 76, 18] Operation: 3+15=18 Exploring Operation: 76/4=19, Resulting Numbers: [3, 15, 19] Generated Node #0,2: 76:[3, 15, 19] Operation: 76/4=19 Exploring Operation: 4+15=19, Resulting Numbers: [3, 76, 19] Generated Node #0,3: 76:[3, 76, 19] Operation: 4+15=19 Exploring Operation: 4-3=1, Resulting Numbers: [76, 15, 1] Generated Node #0,4: 76:[76, 15, 1] Operation: 4-3=1 Moving to Node #0,0 Current State: 76:[4, 76, 5], Operations: ['15/3=5'] Exploring Operation: 76/4=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 76:[5, 19] Operation: 76/4=19 Exploring Operation: 76-4=72, Resulting Numbers: [5, 72] Generated Node #0,0,1: 76:[5, 72] Operation: 76-4=72 Exploring Operation: 4*5=20, Resulting Numbers: [76, 20] Generated Node #0,0,2: 76:[76, 20] Operation: 4*5=20 Exploring Operation: 4+76=80, Resulting Numbers: [5, 80] Generated Node #0,0,3: 76:[5, 80] Operation: 4+76=80 Exploring Operation: 5-4=1, Resulting Numbers: [76, 1] Generated Node #0,0,4: 76:[76, 1] Operation: 5-4=1 Moving to Node #0,3 Current State: 76:[3, 76, 19], Operations: ['4+15=19'] Exploring Operation: 76/19=4, Resulting Numbers: [3, 4] Generated Node #0,3,0: 76:[3, 4] Operation: 76/19=4 Exploring Operation: 76-3=73, Resulting Numbers: [19, 73] Generated Node #0,3,1: 76:[19, 73] Operation: 76-3=73 Exploring Operation: 19-3=16, Resulting Numbers: [76, 16] Generated Node #0,3,2: 76:[76, 16] Operation: 19-3=16 Exploring Operation: 3+19=22, Resulting Numbers: [76, 22] Generated Node #0,3,3: 76:[76, 22] Operation: 3+19=22 Exploring Operation: 3+76=79, Resulting Numbers: [19, 79] Generated Node #0,3,4: 76:[19, 79] Operation: 3+76=79 Moving to Node #0,1 Current State: 76:[4, 76, 18], Operations: ['3+15=18'] Exploring Operation: 4+76=80, Resulting Numbers: [18, 80] Generated Node #0,1,0: 76:[18, 80] Operation: 4+76=80 Exploring Operation: 4*18=72, Resulting Numbers: [76, 72] Generated Node #0,1,1: 76:[76, 72] Operation: 4*18=72 Exploring Operation: 76/4=19, Resulting Numbers: [18, 19] Generated Node #0,1,2: 76:[18, 19] Operation: 76/4=19 Exploring Operation: 4+18=22, Resulting Numbers: [76, 22] Generated Node #0,1,3: 76:[76, 22] Operation: 4+18=22 Exploring Operation: 76-4=72, Resulting Numbers: [18, 72] Generated Node #0,1,4: 76:[18, 72] Operation: 76-4=72 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[18, 19], Operations: ['3+15=18', '76/4=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,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,3 Current State: 76:[76, 22], Operations: ['3+15=18', '4+18=22'] Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,76 unequal: No Solution Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,76 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,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,1 Current State: 76:[76, 72], Operations: ['3+15=18', '4*18=72'] Exploring Operation: 76+72=148, Resulting Numbers: [148] 148,76 unequal: No Solution Exploring Operation: 76*72=5472, Resulting Numbers: [5472] 5472,76 unequal: No Solution Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,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,0 Current State: 76:[18, 80], Operations: ['3+15=18', '4+76=80'] Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,76 unequal: No Solution Exploring Operation: 18*80=1440, Resulting Numbers: [1440] 1440,76 unequal: No Solution Exploring Operation: 18+80=98, Resulting Numbers: [98] 98,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,4 Current State: 76:[18, 72], Operations: ['3+15=18', '76-4=72'] Exploring Operation: 18+72=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,76 unequal: No Solution Exploring Operation: 18*72=1296, Resulting Numbers: [1296] 1296,76 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: 76:[3, 15, 19], Operations: ['76/4=19'] Exploring Operation: 3*15=45, Resulting Numbers: [19, 45] Generated Node #0,2,0: 76:[19, 45] Operation: 3*15=45 Exploring Operation: 3+15=18, Resulting Numbers: [19, 18] Generated Node #0,2,1: 76:[19, 18] Operation: 3+15=18 Exploring Operation: 19-15=4, Resulting Numbers: [3, 4] Generated Node #0,2,2: 76:[3, 4] Operation: 19-15=4 Exploring Operation: 15+19=34, Resulting Numbers: [3, 34] Generated Node #0,2,3: 76:[3, 34] Operation: 15+19=34 Exploring Operation: 15/3=5, Resulting Numbers: [19, 5] Generated Node #0,2,4: 76:[19, 5] Operation: 15/3=5 Moving to Node #0,4 Current State: 76:[76, 15, 1], Operations: ['4-3=1'] Exploring Operation: 15+1=16, Resulting Numbers: [76, 16] Generated Node #0,4,0: 76:[76, 16] Operation: 15+1=16 Exploring Operation: 76/1=76, Resulting Numbers: [15, 76] Generated Node #0,4,1: 76:[15, 76] Operation: 76/1=76 Exploring Operation: 15/1=15, Resulting Numbers: [76, 15] Generated Node #0,4,2: 76:[76, 15] Operation: 15/1=15 Exploring Operation: 15*1=15, Resulting Numbers: [76, 15] Generated Node #0,4,3: 76:[76, 15] Operation: 15*1=15 Exploring Operation: 76*1=76, Resulting Numbers: [15, 76] Generated Node #0,4,4: 76:[15, 76] Operation: 76*1=76 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[76, 16], Operations: ['4-3=1', '15+1=16'] Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,76 unequal: No Solution Exploring Operation: 76*16=1216, Resulting Numbers: [1216] 1216,76 unequal: No Solution Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,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,4,1 Current State: 76:[15, 76], Operations: ['4-3=1', '76/1=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,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,4,2 Current State: 76:[76, 15], Operations: ['4-3=1', '15/1=15'] Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,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,4,3 Current State: 76:[76, 15], Operations: ['4-3=1', '15*1=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 76+15=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 76*15=1140, Resulting Numbers: [1140] 1140,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,4,4 Current State: 76:[15, 76], Operations: ['4-3=1', '76*1=76'] Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,76 unequal: No Solution Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 76:[5, 19], Operations: ['15/3=5', '76/4=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,76 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[76, 1], Operations: ['15/3=5', '5-4=1'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[3, 4, 76, 15], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [4, 76, 5] Generated Node #0,0: 76:[4, 76, 5] Operation: 15/3=5 Moving to Node #0,0 Current State: 76:[4, 76, 5], Operations: ['15/3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [76, 1] Generated Node #0,0,4: 76:[76, 1] Operation: 5-4=1 Moving to Node #0,0,4 Current State: 76:[76, 1], Operations: ['15/3=5', '5-4=1'] Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.939236
hs_5
mult_heuristic
[ 45, 55, 49, 38 ]
68
[ "49-45=4", "55-38=17", "4*17=68" ]
Current State: 68:[45, 55, 49, 38], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [55, 38, 4] Generated Node #2: [55, 38, 4] from Operation: 49-45=4 Current State: 68:[55, 38, 4], Operations: ['49-45=4'] Exploring Operation: 55-38=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 55-38=17 Current State: 68:[4, 17], Operations: ['49-45=4', '55-38=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[45, 55, 49, 38], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [55, 38, 4] Generated Node #0,0: 68:[55, 38, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[55, 38, 4], Operations: ['49-45=4'] Exploring Operation: 55-38=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 55-38=17 Moving to Node #0,0,0 Current State: 68:[4, 17], Operations: ['49-45=4', '55-38=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[45, 55, 49, 38], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [55, 38, 4] Generated Node #0,0: 68:[55, 38, 4] Operation: 49-45=4 Moving to Node #0,0 Current State: 68:[55, 38, 4], Operations: ['49-45=4'] Exploring Operation: 55-38=17, Resulting Numbers: [4, 17] Generated Node #0,0,0: 68:[4, 17] Operation: 55-38=17 Moving to Node #0,0,0 Current State: 68:[4, 17], Operations: ['49-45=4', '55-38=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 45, 30, 39 ]
75
[ "45*39=1755", "1755-30=1725", "1725/23=75" ]
Current State: 75:[23, 45, 30, 39], Operations: [] Exploring Operation: 45*39=1755, Resulting Numbers: [23, 30, 1755] Generated Node #2: [23, 30, 1755] from Operation: 45*39=1755 Current State: 75:[23, 30, 1755], Operations: ['45*39=1755'] Exploring Operation: 1755-30=1725, Resulting Numbers: [23, 1725] Generated Node #3: [23, 1725] from Operation: 1755-30=1725 Current State: 75:[23, 1725], Operations: ['45*39=1755', '1755-30=1725'] Exploring Operation: 1725/23=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[23, 45, 30, 39], Operations: [] Exploring Operation: 45-39=6, Resulting Numbers: [23, 30, 6] Generated Node #0,0: 75:[23, 30, 6] Operation: 45-39=6 Exploring Operation: 45+30=75, Resulting Numbers: [23, 39, 75] Generated Node #0,1: 75:[23, 39, 75] Operation: 45+30=75 Exploring Operation: 45-30=15, Resulting Numbers: [23, 39, 15] Generated Node #0,2: 75:[23, 39, 15] Operation: 45-30=15 Moving to Node #0,0 Current State: 75:[23, 30, 6], Operations: ['45-39=6'] Exploring Operation: 30-23=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 75:[6, 7] Operation: 30-23=7 Exploring Operation: 30/6=5, Resulting Numbers: [23, 5] Generated Node #0,0,1: 75:[23, 5] Operation: 30/6=5 Exploring Operation: 30-6=24, Resulting Numbers: [23, 24] Generated Node #0,0,2: 75:[23, 24] Operation: 30-6=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[23, 5], Operations: ['45-39=6', '30/6=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,75 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,75 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[6, 7], Operations: ['45-39=6', '30-23=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,75 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[23, 24], Operations: ['45-39=6', '30-6=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,75 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,75 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: 75:[23, 39, 75], Operations: ['45+30=75'] Exploring Operation: 75-39=36, Resulting Numbers: [23, 36] Generated Node #0,1,0: 75:[23, 36] Operation: 75-39=36 Exploring Operation: 23+39=62, Resulting Numbers: [75, 62] Generated Node #0,1,1: 75:[75, 62] Operation: 23+39=62 Exploring Operation: 39-23=16, Resulting Numbers: [75, 16] Generated Node #0,1,2: 75:[75, 16] Operation: 39-23=16 Moving to Node #0,2 Current State: 75:[23, 39, 15], Operations: ['45-30=15'] Exploring Operation: 39-15=24, Resulting Numbers: [23, 24] Generated Node #0,2,0: 75:[23, 24] Operation: 39-15=24 Exploring Operation: 39-23=16, Resulting Numbers: [15, 16] Generated Node #0,2,1: 75:[15, 16] Operation: 39-23=16 Exploring Operation: 23+39=62, Resulting Numbers: [15, 62] Generated Node #0,2,2: 75:[15, 62] Operation: 23+39=62 Moving to Node #0,1,2 Current State: 75:[75, 16], Operations: ['45+30=75', '39-23=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[15, 16], Operations: ['45-30=15', '39-23=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,75 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[23, 24], Operations: ['45-30=15', '39-15=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,75 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[75, 62], Operations: ['45+30=75', '23+39=62'] Exploring Operation: 75+62=137, Resulting Numbers: [137] 137,75 unequal: No Solution Exploring Operation: 75*62=4650, Resulting Numbers: [4650] 4650,75 unequal: No Solution Exploring Operation: 75-62=13, Resulting Numbers: [13] 13,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[23, 36], Operations: ['45+30=75', '75-39=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,75 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,75 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[15, 62], Operations: ['45-30=15', '23+39=62'] Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,75 unequal: No Solution Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,75 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 17, 67, 16, 65 ]
31
[ "67-17=50", "16+65=81", "81-50=31" ]
Current State: 31:[17, 67, 16, 65], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [16, 65, 50] Generated Node #2: [16, 65, 50] from Operation: 67-17=50 Current State: 31:[16, 65, 50], Operations: ['67-17=50'] Exploring Operation: 16+65=81, Resulting Numbers: [50, 81] Generated Node #3: [50, 81] from Operation: 16+65=81 Current State: 31:[50, 81], Operations: ['67-17=50', '16+65=81'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[17, 67, 16, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [17, 16, 2] Generated Node #0,0: 31:[17, 16, 2] Operation: 67-65=2 Exploring Operation: 65-17=48, Resulting Numbers: [67, 16, 48] Generated Node #0,1: 31:[67, 16, 48] Operation: 65-17=48 Exploring Operation: 67-17=50, Resulting Numbers: [16, 65, 50] Generated Node #0,2: 31:[16, 65, 50] Operation: 67-17=50 Moving to Node #0,0 Current State: 31:[17, 16, 2], Operations: ['67-65=2'] Exploring Operation: 17*2=34, Resulting Numbers: [16, 34] Generated Node #0,0,0: 31:[16, 34] Operation: 17*2=34 Exploring Operation: 17+2=19, Resulting Numbers: [16, 19] Generated Node #0,0,1: 31:[16, 19] Operation: 17+2=19 Exploring Operation: 16*2=32, Resulting Numbers: [17, 32] Generated Node #0,0,2: 31:[17, 32] Operation: 16*2=32 Moving to Node #0,1 Current State: 31:[67, 16, 48], Operations: ['65-17=48'] Exploring Operation: 67-16=51, Resulting Numbers: [48, 51] Generated Node #0,1,0: 31:[48, 51] Operation: 67-16=51 Exploring Operation: 67-48=19, Resulting Numbers: [16, 19] Generated Node #0,1,1: 31:[16, 19] Operation: 67-48=19 Exploring Operation: 48-16=32, Resulting Numbers: [67, 32] Generated Node #0,1,2: 31:[67, 32] Operation: 48-16=32 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[16, 19], Operations: ['65-17=48', '67-48=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[48, 51], Operations: ['65-17=48', '67-16=51'] Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,31 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,31 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[67, 32], Operations: ['65-17=48', '48-16=32'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 67*32=2144, Resulting Numbers: [2144] 2144,31 unequal: No Solution Exploring Operation: 67+32=99, Resulting Numbers: [99] 99,31 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: 31:[16, 65, 50], Operations: ['67-17=50'] Exploring Operation: 65-50=15, Resulting Numbers: [16, 15] Generated Node #0,2,0: 31:[16, 15] Operation: 65-50=15 Exploring Operation: 50-16=34, Resulting Numbers: [65, 34] Generated Node #0,2,1: 31:[65, 34] Operation: 50-16=34 Exploring Operation: 65-16=49, Resulting Numbers: [50, 49] Generated Node #0,2,2: 31:[50, 49] Operation: 65-16=49 Moving to Node #0,0,2 Current State: 31:[17, 32], Operations: ['67-65=2', '16*2=32'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,31 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[16, 34], Operations: ['67-65=2', '17*2=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,31 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,31 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[16, 19], Operations: ['67-65=2', '17+2=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[16, 15], Operations: ['67-17=50', '65-50=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[17, 67, 16, 65], Operations: [] Exploring Operation: 67-17=50, Resulting Numbers: [16, 65, 50] Generated Node #0,2: 31:[16, 65, 50] Operation: 67-17=50 Moving to Node #0,2 Current State: 31:[16, 65, 50], Operations: ['67-17=50'] Exploring Operation: 65-50=15, Resulting Numbers: [16, 15] Generated Node #0,2,0: 31:[16, 15] Operation: 65-50=15 Moving to Node #0,2,0 Current State: 31:[16, 15], Operations: ['67-17=50', '65-50=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 10, 96, 57, 44 ]
93
[ "10+96=106", "57-44=13", "106-13=93" ]
Current State: 93:[10, 96, 57, 44], Operations: [] Exploring Operation: 10+96=106, Resulting Numbers: [57, 44, 106] Generated Node #2: [57, 44, 106] from Operation: 10+96=106 Current State: 93:[57, 44, 106], Operations: ['10+96=106'] Exploring Operation: 57-44=13, Resulting Numbers: [106, 13] Generated Node #3: [106, 13] from Operation: 57-44=13 Current State: 93:[106, 13], Operations: ['10+96=106', '57-44=13'] Exploring Operation: 106-13=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[10, 96, 57, 44], Operations: [] Exploring Operation: 96-57=39, Resulting Numbers: [10, 44, 39] Generated Node #0,0: 93:[10, 44, 39] Operation: 96-57=39 Exploring Operation: 57-44=13, Resulting Numbers: [10, 96, 13] Generated Node #0,1: 93:[10, 96, 13] Operation: 57-44=13 Exploring Operation: 57+44=101, Resulting Numbers: [10, 96, 101] Generated Node #0,2: 93:[10, 96, 101] Operation: 57+44=101 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[10, 96, 101], Operations: ['57+44=101'] Exploring Operation: 101-96=5, Resulting Numbers: [10, 5] Generated Node #0,2,0: 93:[10, 5] Operation: 101-96=5 Exploring Operation: 101-10=91, Resulting Numbers: [96, 91] Generated Node #0,2,1: 93:[96, 91] Operation: 101-10=91 Exploring Operation: 96-10=86, Resulting Numbers: [101, 86] Generated Node #0,2,2: 93:[101, 86] Operation: 96-10=86 Moving to Node #0,2,1 Current State: 93:[96, 91], Operations: ['57+44=101', '101-10=91'] Exploring Operation: 96-91=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 96+91=187, Resulting Numbers: [187] 187,93 unequal: No Solution Exploring Operation: 96*91=8736, Resulting Numbers: [8736] 8736,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[10, 5], Operations: ['57+44=101', '101-96=5'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[101, 86], Operations: ['57+44=101', '96-10=86'] Exploring Operation: 101*86=8686, Resulting Numbers: [8686] 8686,93 unequal: No Solution Exploring Operation: 101-86=15, Resulting Numbers: [15] 15,93 unequal: No Solution Exploring Operation: 101+86=187, Resulting Numbers: [187] 187,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[10, 96, 13], Operations: ['57-44=13'] Exploring Operation: 96-10=86, Resulting Numbers: [13, 86] Generated Node #0,1,0: 93:[13, 86] Operation: 96-10=86 Exploring Operation: 13-10=3, Resulting Numbers: [96, 3] Generated Node #0,1,1: 93:[96, 3] Operation: 13-10=3 Exploring Operation: 10+13=23, Resulting Numbers: [96, 23] Generated Node #0,1,2: 93:[96, 23] Operation: 10+13=23 Moving to Node #0,1,1 Current State: 93:[96, 3], Operations: ['57-44=13', '13-10=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[10, 96, 57, 44], Operations: [] Exploring Operation: 57-44=13, Resulting Numbers: [10, 96, 13] Generated Node #0,1: 93:[10, 96, 13] Operation: 57-44=13 Moving to Node #0,1 Current State: 93:[10, 96, 13], Operations: ['57-44=13'] Exploring Operation: 13-10=3, Resulting Numbers: [96, 3] Generated Node #0,1,1: 93:[96, 3] Operation: 13-10=3 Moving to Node #0,1,1 Current State: 93:[96, 3], Operations: ['57-44=13', '13-10=3'] Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 8, 26, 2, 68 ]
59
[ "26-8=18", "18/2=9", "68-9=59" ]
Current State: 59:[8, 26, 2, 68], Operations: [] Exploring Operation: 26-8=18, Resulting Numbers: [2, 68, 18] Generated Node #2: [2, 68, 18] from Operation: 26-8=18 Current State: 59:[2, 68, 18], Operations: ['26-8=18'] Exploring Operation: 18/2=9, Resulting Numbers: [68, 9] Generated Node #3: [68, 9] from Operation: 18/2=9 Current State: 59:[68, 9], Operations: ['26-8=18', '18/2=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[8, 26, 2, 68], Operations: [] Exploring Operation: 26*2=52, Resulting Numbers: [8, 68, 52] Generated Node #0,0: 59:[8, 68, 52] Operation: 26*2=52 Exploring Operation: 8+26=34, Resulting Numbers: [2, 68, 34] Generated Node #0,1: 59:[2, 68, 34] Operation: 8+26=34 Exploring Operation: 8*2=16, Resulting Numbers: [26, 68, 16] Generated Node #0,2: 59:[26, 68, 16] Operation: 8*2=16 Moving to Node #0,0 Current State: 59:[8, 68, 52], Operations: ['26*2=52'] Exploring Operation: 68-8=60, Resulting Numbers: [52, 60] Generated Node #0,0,0: 59:[52, 60] Operation: 68-8=60 Exploring Operation: 8+68=76, Resulting Numbers: [52, 76] Generated Node #0,0,1: 59:[52, 76] Operation: 8+68=76 Exploring Operation: 8+52=60, Resulting Numbers: [68, 60] Generated Node #0,0,2: 59:[68, 60] Operation: 8+52=60 Moving to Node #0,2 Current State: 59:[26, 68, 16], Operations: ['8*2=16'] Exploring Operation: 26+16=42, Resulting Numbers: [68, 42] Generated Node #0,2,0: 59:[68, 42] Operation: 26+16=42 Exploring Operation: 68-16=52, Resulting Numbers: [26, 52] Generated Node #0,2,1: 59:[26, 52] Operation: 68-16=52 Exploring Operation: 26-16=10, Resulting Numbers: [68, 10] Generated Node #0,2,2: 59:[68, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[68, 42], Operations: ['8*2=16', '26+16=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,2,1 Current State: 59:[26, 52], Operations: ['8*2=16', '68-16=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 52-26=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,2,2 Current State: 59:[68, 10], Operations: ['8*2=16', '26-16=10'] Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 68+10=78, Resulting Numbers: [78] 78,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 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[2, 68, 34], Operations: ['8+26=34'] Exploring Operation: 2+34=36, Resulting Numbers: [68, 36] Generated Node #0,1,0: 59:[68, 36] Operation: 2+34=36 Exploring Operation: 68-2=66, Resulting Numbers: [34, 66] Generated Node #0,1,1: 59:[34, 66] Operation: 68-2=66 Exploring Operation: 2*34=68, Resulting Numbers: [68, 68] Generated Node #0,1,2: 59:[68, 68] Operation: 2*34=68 Moving to Node #0,0,0 Current State: 59:[52, 60], Operations: ['26*2=52', '68-8=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,59 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[68, 60], Operations: ['26*2=52', '8+52=60'] Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[68, 68], Operations: ['8+26=34', '2*34=68'] Exploring Operation: 68+68=136, Resulting Numbers: [136] 136,59 unequal: No Solution Exploring Operation: 68/68=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 68-68=0, Resulting Numbers: [0] 0,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[52, 76], Operations: ['26*2=52', '8+68=76'] Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[34, 66], Operations: ['8+26=34', '68-2=66'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,59 unequal: No Solution Exploring Operation: 34*66=2244, Resulting Numbers: [2244] 2244,59 unequal: No Solution Exploring Operation: 34+66=100, Resulting Numbers: [100] 100,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[68, 36], Operations: ['8+26=34', '2+34=36'] Exploring Operation: 68*36=2448, Resulting Numbers: [2448] 2448,59 unequal: No Solution Exploring Operation: 68+36=104, Resulting Numbers: [104] 104,59 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 3, 83, 64, 31 ]
78
[ "3*64=192", "83+31=114", "192-114=78" ]
Current State: 78:[3, 83, 64, 31], Operations: [] Exploring Operation: 3*64=192, Resulting Numbers: [83, 31, 192] Generated Node #2: [83, 31, 192] from Operation: 3*64=192 Current State: 78:[83, 31, 192], Operations: ['3*64=192'] Exploring Operation: 83+31=114, Resulting Numbers: [192, 114] Generated Node #3: [192, 114] from Operation: 83+31=114 Current State: 78:[192, 114], Operations: ['3*64=192', '83+31=114'] Exploring Operation: 192-114=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[3, 83, 64, 31], Operations: [] Exploring Operation: 83-3=80, Resulting Numbers: [64, 31, 80] Generated Node #0,0: 78:[64, 31, 80] Operation: 83-3=80 Exploring Operation: 3+64=67, Resulting Numbers: [83, 31, 67] Generated Node #0,1: 78:[83, 31, 67] Operation: 3+64=67 Exploring Operation: 31-3=28, Resulting Numbers: [83, 64, 28] Generated Node #0,2: 78:[83, 64, 28] Operation: 31-3=28 Exploring Operation: 83-64=19, Resulting Numbers: [3, 31, 19] Generated Node #0,3: 78:[3, 31, 19] Operation: 83-64=19 Exploring Operation: 64-31=33, Resulting Numbers: [3, 83, 33] Generated Node #0,4: 78:[3, 83, 33] Operation: 64-31=33 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[3, 31, 19], Operations: ['83-64=19'] Exploring Operation: 3+31=34, Resulting Numbers: [19, 34] Generated Node #0,3,0: 78:[19, 34] Operation: 3+31=34 Exploring Operation: 3+19=22, Resulting Numbers: [31, 22] Generated Node #0,3,1: 78:[31, 22] Operation: 3+19=22 Exploring Operation: 31-3=28, Resulting Numbers: [19, 28] Generated Node #0,3,2: 78:[19, 28] Operation: 31-3=28 Exploring Operation: 19-3=16, Resulting Numbers: [31, 16] Generated Node #0,3,3: 78:[31, 16] Operation: 19-3=16 Exploring Operation: 31-19=12, Resulting Numbers: [3, 12] Generated Node #0,3,4: 78:[3, 12] Operation: 31-19=12 Moving to Node #0,3,4 Current State: 78:[3, 12], Operations: ['83-64=19', '31-19=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[31, 16], Operations: ['83-64=19', '19-3=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[19, 28], Operations: ['83-64=19', '31-3=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[31, 22], Operations: ['83-64=19', '3+19=22'] Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[19, 34], Operations: ['83-64=19', '3+31=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,78 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[3, 83, 33], Operations: ['64-31=33'] Exploring Operation: 3+33=36, Resulting Numbers: [83, 36] Generated Node #0,4,0: 78:[83, 36] Operation: 3+33=36 Exploring Operation: 33-3=30, Resulting Numbers: [83, 30] Generated Node #0,4,1: 78:[83, 30] Operation: 33-3=30 Exploring Operation: 83-33=50, Resulting Numbers: [3, 50] Generated Node #0,4,2: 78:[3, 50] Operation: 83-33=50 Exploring Operation: 33/3=11, Resulting Numbers: [83, 11] Generated Node #0,4,3: 78:[83, 11] Operation: 33/3=11 Exploring Operation: 83-3=80, Resulting Numbers: [33, 80] Generated Node #0,4,4: 78:[33, 80] Operation: 83-3=80 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 78:[83, 11], Operations: ['64-31=33', '33/3=11'] Exploring Operation: 83*11=913, Resulting Numbers: [913] 913,78 unequal: No Solution Exploring Operation: 83+11=94, Resulting Numbers: [94] 94,78 unequal: No Solution Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 78:[83, 36], Operations: ['64-31=33', '3+33=36'] Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,78 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 78:[33, 80], Operations: ['64-31=33', '83-3=80'] Exploring Operation: 33+80=113, Resulting Numbers: [113] 113,78 unequal: No Solution Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 33*80=2640, Resulting Numbers: [2640] 2640,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 78:[83, 30], Operations: ['64-31=33', '33-3=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,78 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 78:[3, 50], Operations: ['64-31=33', '83-33=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,78 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[64, 31, 80], Operations: ['83-3=80'] Exploring Operation: 64-31=33, Resulting Numbers: [80, 33] Generated Node #0,0,0: 78:[80, 33] Operation: 64-31=33 Exploring Operation: 64+31=95, Resulting Numbers: [80, 95] Generated Node #0,0,1: 78:[80, 95] Operation: 64+31=95 Exploring Operation: 80-64=16, Resulting Numbers: [31, 16] Generated Node #0,0,2: 78:[31, 16] Operation: 80-64=16 Exploring Operation: 80-31=49, Resulting Numbers: [64, 49] Generated Node #0,0,3: 78:[64, 49] Operation: 80-31=49 Exploring Operation: 31+80=111, Resulting Numbers: [64, 111] Generated Node #0,0,4: 78:[64, 111] Operation: 31+80=111 Moving to Node #0,0,0 Current State: 78:[80, 33], Operations: ['83-3=80', '64-31=33'] Exploring Operation: 80-33=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 80*33=2640, Resulting Numbers: [2640] 2640,78 unequal: No Solution Exploring Operation: 80+33=113, Resulting Numbers: [113] 113,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[31, 16], Operations: ['83-3=80', '80-64=16'] Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,78 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[80, 95], Operations: ['83-3=80', '64+31=95'] Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 80*95=7600, Resulting Numbers: [7600] 7600,78 unequal: No Solution Exploring Operation: 80+95=175, Resulting Numbers: [175] 175,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[64, 49], Operations: ['83-3=80', '80-31=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,78 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[64, 111], Operations: ['83-3=80', '31+80=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,78 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[83, 31, 67], Operations: ['3+64=67'] Exploring Operation: 83+31=114, Resulting Numbers: [67, 114] Generated Node #0,1,0: 78:[67, 114] Operation: 83+31=114 Exploring Operation: 83-67=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 78:[31, 16] Operation: 83-67=16 Exploring Operation: 31+67=98, Resulting Numbers: [83, 98] Generated Node #0,1,2: 78:[83, 98] Operation: 31+67=98 Exploring Operation: 83-31=52, Resulting Numbers: [67, 52] Generated Node #0,1,3: 78:[67, 52] Operation: 83-31=52 Exploring Operation: 67-31=36, Resulting Numbers: [83, 36] Generated Node #0,1,4: 78:[83, 36] Operation: 67-31=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[31, 16], Operations: ['3+64=67', '83-67=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,78 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 78:[83, 36], Operations: ['3+64=67', '67-31=36'] Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,78 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[67, 52], Operations: ['3+64=67', '83-31=52'] Exploring Operation: 67*52=3484, Resulting Numbers: [3484] 3484,78 unequal: No Solution Exploring Operation: 67+52=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[83, 98], Operations: ['3+64=67', '31+67=98'] Exploring Operation: 83*98=8134, Resulting Numbers: [8134] 8134,78 unequal: No Solution Exploring Operation: 98-83=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 83+98=181, Resulting Numbers: [181] 181,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[67, 114], Operations: ['3+64=67', '83+31=114'] Exploring Operation: 67+114=181, Resulting Numbers: [181] 181,78 unequal: No Solution Exploring Operation: 114-67=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 67*114=7638, Resulting Numbers: [7638] 7638,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[83, 64, 28], Operations: ['31-3=28'] Exploring Operation: 83-28=55, Resulting Numbers: [64, 55] Generated Node #0,2,0: 78:[64, 55] Operation: 83-28=55 Exploring Operation: 83+28=111, Resulting Numbers: [64, 111] Generated Node #0,2,1: 78:[64, 111] Operation: 83+28=111 Exploring Operation: 64-28=36, Resulting Numbers: [83, 36] Generated Node #0,2,2: 78:[83, 36] Operation: 64-28=36 Exploring Operation: 83-64=19, Resulting Numbers: [28, 19] Generated Node #0,2,3: 78:[28, 19] Operation: 83-64=19 Exploring Operation: 64+28=92, Resulting Numbers: [83, 92] Generated Node #0,2,4: 78:[83, 92] Operation: 64+28=92 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[83, 36], Operations: ['31-3=28', '64-28=36'] Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[28, 19], Operations: ['31-3=28', '83-64=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 78:[83, 92], Operations: ['31-3=28', '64+28=92'] Exploring Operation: 83*92=7636, Resulting Numbers: [7636] 7636,78 unequal: No Solution Exploring Operation: 92-83=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 83+92=175, Resulting Numbers: [175] 175,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[64, 55], Operations: ['31-3=28', '83-28=55'] Exploring Operation: 64+55=119, Resulting Numbers: [119] 119,78 unequal: No Solution Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 64*55=3520, Resulting Numbers: [3520] 3520,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[64, 111], Operations: ['31-3=28', '83+28=111'] Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,78 unequal: No Solution Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 75, 70, 54 ]
79
[ "75-70=5", "5*5=25", "54+25=79" ]
Current State: 79:[5, 75, 70, 54], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [5, 54, 5] Generated Node #2: [5, 54, 5] from Operation: 75-70=5 Current State: 79:[5, 54, 5], Operations: ['75-70=5'] Exploring Operation: 5*5=25, Resulting Numbers: [54, 25] Generated Node #3: [54, 25] from Operation: 5*5=25 Current State: 79:[54, 25], Operations: ['75-70=5', '5*5=25'] Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[5, 75, 70, 54], Operations: [] Exploring Operation: 75-5=70, Resulting Numbers: [70, 54, 70] Generated Node #0,0: 79:[70, 54, 70] Operation: 75-5=70 Exploring Operation: 5+70=75, Resulting Numbers: [75, 54, 75] Generated Node #0,1: 79:[75, 54, 75] Operation: 5+70=75 Exploring Operation: 5+54=59, Resulting Numbers: [75, 70, 59] Generated Node #0,2: 79:[75, 70, 59] Operation: 5+54=59 Exploring Operation: 5+75=80, Resulting Numbers: [70, 54, 80] Generated Node #0,3: 79:[70, 54, 80] Operation: 5+75=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[75, 54, 75], Operations: ['5+70=75'] Exploring Operation: 75-54=21, Resulting Numbers: [75, 21] Generated Node #0,1,0: 79:[75, 21] Operation: 75-54=21 Exploring Operation: 54+75=129, Resulting Numbers: [75, 129] Generated Node #0,1,1: 79:[75, 129] Operation: 54+75=129 Exploring Operation: 75+54=129, Resulting Numbers: [75, 129] Generated Node #0,1,2: 79:[75, 129] Operation: 75+54=129 Exploring Operation: 75-54=21, Resulting Numbers: [75, 21] Generated Node #0,1,3: 79:[75, 21] Operation: 75-54=21 Moving to Node #0,1,1 Current State: 79:[75, 129], Operations: ['5+70=75', '54+75=129'] Exploring Operation: 75+129=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 75*129=9675, Resulting Numbers: [9675] 9675,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[75, 129], Operations: ['5+70=75', '75+54=129'] Exploring Operation: 75+129=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 75*129=9675, Resulting Numbers: [9675] 9675,79 unequal: No Solution Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[75, 21], Operations: ['5+70=75', '75-54=21'] Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,79 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[75, 21], Operations: ['5+70=75', '75-54=21'] Exploring Operation: 75*21=1575, Resulting Numbers: [1575] 1575,79 unequal: No Solution Exploring Operation: 75+21=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 75-21=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[75, 70, 59], Operations: ['5+54=59'] Exploring Operation: 75-59=16, Resulting Numbers: [70, 16] Generated Node #0,2,0: 79:[70, 16] Operation: 75-59=16 Exploring Operation: 75+59=134, Resulting Numbers: [70, 134] Generated Node #0,2,1: 79:[70, 134] Operation: 75+59=134 Exploring Operation: 70+59=129, Resulting Numbers: [75, 129] Generated Node #0,2,2: 79:[75, 129] Operation: 70+59=129 Exploring Operation: 70-59=11, Resulting Numbers: [75, 11] Generated Node #0,2,3: 79:[75, 11] Operation: 70-59=11 Moving to Node #0,2,2 Current State: 79:[75, 129], Operations: ['5+54=59', '70+59=129'] Exploring Operation: 75+129=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 129-75=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 75*129=9675, Resulting Numbers: [9675] 9675,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[70, 134], Operations: ['5+54=59', '75+59=134'] Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,79 unequal: No Solution Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[75, 11], Operations: ['5+54=59', '70-59=11'] Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,79 unequal: No Solution Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[70, 16], Operations: ['5+54=59', '75-59=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,79 unequal: No Solution Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[70, 54, 80], Operations: ['5+75=80'] Exploring Operation: 54+80=134, Resulting Numbers: [70, 134] Generated Node #0,3,0: 79:[70, 134] Operation: 54+80=134 Exploring Operation: 70+54=124, Resulting Numbers: [80, 124] Generated Node #0,3,1: 79:[80, 124] Operation: 70+54=124 Exploring Operation: 80-54=26, Resulting Numbers: [70, 26] Generated Node #0,3,2: 79:[70, 26] Operation: 80-54=26 Exploring Operation: 70-54=16, Resulting Numbers: [80, 16] Generated Node #0,3,3: 79:[80, 16] Operation: 70-54=16 Moving to Node #0,3,1 Current State: 79:[80, 124], Operations: ['5+75=80', '70+54=124'] Exploring Operation: 124-80=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 80+124=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 80*124=9920, Resulting Numbers: [9920] 9920,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[70, 26], Operations: ['5+75=80', '80-54=26'] Exploring Operation: 70-26=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 70*26=1820, Resulting Numbers: [1820] 1820,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[80, 16], Operations: ['5+75=80', '70-54=16'] Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,79 unequal: No Solution Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[70, 134], Operations: ['5+75=80', '54+80=134'] Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[70, 54, 70], Operations: ['75-5=70'] Exploring Operation: 70-54=16, Resulting Numbers: [70, 16] Generated Node #0,0,0: 79:[70, 16] Operation: 70-54=16 Exploring Operation: 70-54=16, Resulting Numbers: [70, 16] Generated Node #0,0,1: 79:[70, 16] Operation: 70-54=16 Exploring Operation: 54+70=124, Resulting Numbers: [70, 124] Generated Node #0,0,2: 79:[70, 124] Operation: 54+70=124 Exploring Operation: 70+54=124, Resulting Numbers: [70, 124] Generated Node #0,0,3: 79:[70, 124] Operation: 70+54=124 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[70, 124], Operations: ['75-5=70', '54+70=124'] Exploring Operation: 124-70=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 70+124=194, Resulting Numbers: [194] 194,79 unequal: No Solution Exploring Operation: 70*124=8680, Resulting Numbers: [8680] 8680,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[70, 124], Operations: ['75-5=70', '70+54=124'] Exploring Operation: 70+124=194, Resulting Numbers: [194] 194,79 unequal: No Solution Exploring Operation: 124-70=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 70*124=8680, Resulting Numbers: [8680] 8680,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[70, 16], Operations: ['75-5=70', '70-54=16'] Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,79 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[70, 16], Operations: ['75-5=70', '70-54=16'] Exploring Operation: 70+16=86, Resulting Numbers: [86] 86,79 unequal: No Solution Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,79 unequal: No Solution Exploring Operation: 70*16=1120, Resulting Numbers: [1120] 1120,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 60, 20, 29, 5 ]
33
[ "20-5=15", "60/15=4", "29+4=33" ]
Current State: 33:[60, 20, 29, 5], Operations: [] Exploring Operation: 20-5=15, Resulting Numbers: [60, 29, 15] Generated Node #2: [60, 29, 15] from Operation: 20-5=15 Current State: 33:[60, 29, 15], Operations: ['20-5=15'] Exploring Operation: 60/15=4, Resulting Numbers: [29, 4] Generated Node #3: [29, 4] from Operation: 60/15=4 Current State: 33:[29, 4], Operations: ['20-5=15', '60/15=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[60, 20, 29, 5], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [29, 5, 3] Generated Node #0,0: 33:[29, 5, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[29, 5, 3], Operations: ['60/20=3'] Exploring Operation: 29+5=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 33:[3, 34] Operation: 29+5=34 Moving to Node #0,0,0 Current State: 33:[3, 34], Operations: ['60/20=3', '29+5=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,33 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
[ 16, 10, 77, 3 ]
31
[ "77-16=61", "10*3=30", "61-30=31" ]
Current State: 31:[16, 10, 77, 3], Operations: [] Exploring Operation: 77-16=61, Resulting Numbers: [10, 3, 61] Generated Node #2: [10, 3, 61] from Operation: 77-16=61 Current State: 31:[10, 3, 61], Operations: ['77-16=61'] Exploring Operation: 10*3=30, Resulting Numbers: [61, 30] Generated Node #3: [61, 30] from Operation: 10*3=30 Current State: 31:[61, 30], Operations: ['77-16=61', '10*3=30'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[16, 10, 77, 3], Operations: [] Exploring Operation: 16+10=26, Resulting Numbers: [77, 3, 26] Generated Node #0,0: 31:[77, 3, 26] Operation: 16+10=26 Exploring Operation: 10*3=30, Resulting Numbers: [16, 77, 30] Generated Node #0,1: 31:[16, 77, 30] Operation: 10*3=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[16, 77, 30], Operations: ['10*3=30'] Exploring Operation: 77-16=61, Resulting Numbers: [30, 61] Generated Node #0,1,0: 31:[30, 61] Operation: 77-16=61 Exploring Operation: 77-30=47, Resulting Numbers: [16, 47] Generated Node #0,1,1: 31:[16, 47] Operation: 77-30=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[30, 61], Operations: ['10*3=30', '77-16=61'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[16, 10, 77, 3], Operations: [] Exploring Operation: 10*3=30, Resulting Numbers: [16, 77, 30] Generated Node #0,1: 31:[16, 77, 30] Operation: 10*3=30 Moving to Node #0,1 Current State: 31:[16, 77, 30], Operations: ['10*3=30'] Exploring Operation: 77-16=61, Resulting Numbers: [30, 61] Generated Node #0,1,0: 31:[30, 61] Operation: 77-16=61 Moving to Node #0,1,0 Current State: 31:[30, 61], Operations: ['10*3=30', '77-16=61'] Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 41, 14, 96, 68 ]
43
[ "96-68=28", "28/14=2", "41+2=43" ]
Current State: 43:[41, 14, 96, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [41, 14, 28] Generated Node #2: [41, 14, 28] from Operation: 96-68=28 Current State: 43:[41, 14, 28], Operations: ['96-68=28'] Exploring Operation: 28/14=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 28/14=2 Current State: 43:[41, 2], Operations: ['96-68=28', '28/14=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[41, 14, 96, 68], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [41, 14, 28] Generated Node #0,0: 43:[41, 14, 28] Operation: 96-68=28 Exploring Operation: 96-41=55, Resulting Numbers: [14, 68, 55] Generated Node #0,1: 43:[14, 68, 55] Operation: 96-41=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[41, 14, 28], Operations: ['96-68=28'] Exploring Operation: 14+28=42, Resulting Numbers: [41, 42] Generated Node #0,0,0: 43:[41, 42] Operation: 14+28=42 Exploring Operation: 41+14=55, Resulting Numbers: [28, 55] Generated Node #0,0,1: 43:[28, 55] Operation: 41+14=55 Moving to Node #0,0,0 Current State: 43:[41, 42], Operations: ['96-68=28', '14+28=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[28, 55], Operations: ['96-68=28', '41+14=55'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[14, 68, 55], Operations: ['96-41=55'] Exploring Operation: 68-14=54, Resulting Numbers: [55, 54] Generated Node #0,1,0: 43:[55, 54] Operation: 68-14=54 Exploring Operation: 55-14=41, Resulting Numbers: [68, 41] Generated Node #0,1,1: 43:[68, 41] Operation: 55-14=41 Moving to Node #0,1,0 Current State: 43:[55, 54], Operations: ['96-41=55', '68-14=54'] Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,43 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[68, 41], Operations: ['96-41=55', '55-14=41'] Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,43 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 44, 44, 51, 82 ]
18
[ "51-44=7", "44+82=126", "126/7=18" ]
Current State: 18:[44, 44, 51, 82], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [82, 7] Generated Node #2: [82, 7] from Operation: 51-44=7 Current State: 18:[82, 7], Operations: ['51-44=7'] Exploring Operation: 44+82=126, Resulting Numbers: [7, 126] Generated Node #3: [7, 126] from Operation: 44+82=126 Current State: 18:[7, 126], Operations: ['51-44=7', '44+82=126'] Exploring Operation: 126/7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[44, 44, 51, 82], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [44, 82, 7] Generated Node #0,0: 18:[44, 82, 7] Operation: 51-44=7 Exploring Operation: 82-51=31, Resulting Numbers: [44, 44, 31] Generated Node #0,1: 18:[44, 44, 31] Operation: 82-51=31 Exploring Operation: 82-44=38, Resulting Numbers: [44, 51, 38] Generated Node #0,2: 18:[44, 51, 38] Operation: 82-44=38 Exploring Operation: 82-44=38, Resulting Numbers: [44, 51, 38] Generated Node #0,3: 18:[44, 51, 38] Operation: 82-44=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[44, 44, 31], Operations: ['82-51=31'] Exploring Operation: 44-31=13, Resulting Numbers: [44, 13] Generated Node #0,1,0: 18:[44, 13] Operation: 44-31=13 Exploring Operation: 44-44=0, Resulting Numbers: [31, 0] Generated Node #0,1,1: 18:[31, 0] Operation: 44-44=0 Exploring Operation: 44-31=13, Resulting Numbers: [44, 13] Generated Node #0,1,2: 18:[44, 13] Operation: 44-31=13 Exploring Operation: 44/44=1, Resulting Numbers: [31, 1] Generated Node #0,1,3: 18:[31, 1] Operation: 44/44=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 18:[31, 1], Operations: ['82-51=31', '44/44=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,18 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,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,1,1 Current State: 18:[31, 0], Operations: ['82-51=31', '44-44=0'] Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,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,1,0 Current State: 18:[44, 13], Operations: ['82-51=31', '44-31=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,18 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,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,1,2 Current State: 18:[44, 13], Operations: ['82-51=31', '44-31=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[44, 51, 38], Operations: ['82-44=38'] Exploring Operation: 44-38=6, Resulting Numbers: [51, 6] Generated Node #0,2,0: 18:[51, 6] Operation: 44-38=6 Exploring Operation: 51-44=7, Resulting Numbers: [38, 7] Generated Node #0,2,1: 18:[38, 7] Operation: 51-44=7 Exploring Operation: 51-38=13, Resulting Numbers: [44, 13] Generated Node #0,2,2: 18:[44, 13] Operation: 51-38=13 Exploring Operation: 44+51=95, Resulting Numbers: [38, 95] Generated Node #0,2,3: 18:[38, 95] Operation: 44+51=95 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[38, 7], Operations: ['82-44=38', '51-44=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,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:[44, 13], Operations: ['82-44=38', '51-38=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,18 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,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:[51, 6], Operations: ['82-44=38', '44-38=6'] Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,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:[38, 95], Operations: ['82-44=38', '44+51=95'] Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,18 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 18:[44, 51, 38], Operations: ['82-44=38'] Exploring Operation: 44+51=95, Resulting Numbers: [38, 95] Generated Node #0,3,0: 18:[38, 95] Operation: 44+51=95 Exploring Operation: 51-38=13, Resulting Numbers: [44, 13] Generated Node #0,3,1: 18:[44, 13] Operation: 51-38=13 Exploring Operation: 51-44=7, Resulting Numbers: [38, 7] Generated Node #0,3,2: 18:[38, 7] Operation: 51-44=7 Exploring Operation: 44-38=6, Resulting Numbers: [51, 6] Generated Node #0,3,3: 18:[51, 6] Operation: 44-38=6 Moving to Node #0,3,2 Current State: 18:[38, 7], Operations: ['82-44=38', '51-44=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,18 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,3,1 Current State: 18:[44, 13], Operations: ['82-44=38', '51-38=13'] Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,18 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,3,3 Current State: 18:[51, 6], Operations: ['82-44=38', '44-38=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,18 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,18 unequal: No Solution Moving to Node #0,3,0 Current State: 18:[38, 95], Operations: ['82-44=38', '44+51=95'] Exploring Operation: 38*95=3610, Resulting Numbers: [3610] 3610,18 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,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:[44, 82, 7], Operations: ['51-44=7'] Exploring Operation: 82-44=38, Resulting Numbers: [7, 38] Generated Node #0,0,0: 18:[7, 38] Operation: 82-44=38 Exploring Operation: 44+7=51, Resulting Numbers: [82, 51] Generated Node #0,0,1: 18:[82, 51] Operation: 44+7=51 Exploring Operation: 82-7=75, Resulting Numbers: [44, 75] Generated Node #0,0,2: 18:[44, 75] Operation: 82-7=75 Exploring Operation: 44-7=37, Resulting Numbers: [82, 37] Generated Node #0,0,3: 18:[82, 37] Operation: 44-7=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[7, 38], Operations: ['51-44=7', '82-44=38'] Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,18 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 18:[44, 75], Operations: ['51-44=7', '82-7=75'] Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 44*75=3300, Resulting Numbers: [3300] 3300,18 unequal: No Solution Exploring Operation: 44+75=119, Resulting Numbers: [119] 119,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 18:[82, 37], Operations: ['51-44=7', '44-7=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,18 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,18 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[82, 51], Operations: ['51-44=7', '44+7=51'] Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,18 unequal: No Solution Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,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
[ 31, 8, 3, 9 ]
13
[ "31+8=39", "9/3=3", "39/3=13" ]
Current State: 13:[31, 8, 3, 9], Operations: [] Exploring Operation: 31+8=39, Resulting Numbers: [3, 9, 39] Generated Node #2: [3, 9, 39] from Operation: 31+8=39 Current State: 13:[3, 9, 39], Operations: ['31+8=39'] Exploring Operation: 9/3=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 9/3=3 Current State: 13:[39, 3], Operations: ['31+8=39', '9/3=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[31, 8, 3, 9], Operations: [] Exploring Operation: 31-3=28, Resulting Numbers: [8, 9, 28] Generated Node #0,0: 13:[8, 9, 28] Operation: 31-3=28 Exploring Operation: 31-9=22, Resulting Numbers: [8, 3, 22] Generated Node #0,1: 13:[8, 3, 22] Operation: 31-9=22 Exploring Operation: 31-8=23, Resulting Numbers: [3, 9, 23] Generated Node #0,2: 13:[3, 9, 23] Operation: 31-8=23 Exploring Operation: 8+3=11, Resulting Numbers: [31, 9, 11] Generated Node #0,3: 13:[31, 9, 11] Operation: 8+3=11 Exploring Operation: 3+9=12, Resulting Numbers: [31, 8, 12] Generated Node #0,4: 13:[31, 8, 12] Operation: 3+9=12 Moving to Node #0,0 Current State: 13:[8, 9, 28], Operations: ['31-3=28'] Exploring Operation: 8+28=36, Resulting Numbers: [9, 36] Generated Node #0,0,0: 13:[9, 36] Operation: 8+28=36 Exploring Operation: 28-9=19, Resulting Numbers: [8, 19] Generated Node #0,0,1: 13:[8, 19] Operation: 28-9=19 Exploring Operation: 8+9=17, Resulting Numbers: [28, 17] Generated Node #0,0,2: 13:[28, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [28, 1] Generated Node #0,0,3: 13:[28, 1] Operation: 9-8=1 Exploring Operation: 28-8=20, Resulting Numbers: [9, 20] Generated Node #0,0,4: 13:[9, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[8, 19], Operations: ['31-3=28', '28-9=19'] Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,13 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 13:[9, 20], Operations: ['31-3=28', '28-8=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[28, 17], Operations: ['31-3=28', '8+9=17'] Exploring Operation: 28+17=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 28-17=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 28*17=476, Resulting Numbers: [476] 476,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[9, 36], Operations: ['31-3=28', '8+28=36'] Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,13 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[28, 1], Operations: ['31-3=28', '9-8=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,13 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,13 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: 13:[3, 9, 23], Operations: ['31-8=23'] Exploring Operation: 23-9=14, Resulting Numbers: [3, 14] Generated Node #0,2,0: 13:[3, 14] Operation: 23-9=14 Exploring Operation: 9-3=6, Resulting Numbers: [23, 6] Generated Node #0,2,1: 13:[23, 6] Operation: 9-3=6 Exploring Operation: 3+23=26, Resulting Numbers: [9, 26] Generated Node #0,2,2: 13:[9, 26] Operation: 3+23=26 Exploring Operation: 3+9=12, Resulting Numbers: [23, 12] Generated Node #0,2,3: 13:[23, 12] Operation: 3+9=12 Exploring Operation: 23-3=20, Resulting Numbers: [9, 20] Generated Node #0,2,4: 13:[9, 20] Operation: 23-3=20 Moving to Node #0,4 Current State: 13:[31, 8, 12], Operations: ['3+9=12'] Exploring Operation: 31+8=39, Resulting Numbers: [12, 39] Generated Node #0,4,0: 13:[12, 39] Operation: 31+8=39 Exploring Operation: 12-8=4, Resulting Numbers: [31, 4] Generated Node #0,4,1: 13:[31, 4] Operation: 12-8=4 Exploring Operation: 31-12=19, Resulting Numbers: [8, 19] Generated Node #0,4,2: 13:[8, 19] Operation: 31-12=19 Exploring Operation: 31-8=23, Resulting Numbers: [12, 23] Generated Node #0,4,3: 13:[12, 23] Operation: 31-8=23 Exploring Operation: 8+12=20, Resulting Numbers: [31, 20] Generated Node #0,4,4: 13:[31, 20] Operation: 8+12=20 Moving to Node #0,1 Current State: 13:[8, 3, 22], Operations: ['31-9=22'] Exploring Operation: 8-3=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 13:[22, 5] Operation: 8-3=5 Exploring Operation: 22-8=14, Resulting Numbers: [3, 14] Generated Node #0,1,1: 13:[3, 14] Operation: 22-8=14 Exploring Operation: 3+22=25, Resulting Numbers: [8, 25] Generated Node #0,1,2: 13:[8, 25] Operation: 3+22=25 Exploring Operation: 22-3=19, Resulting Numbers: [8, 19] Generated Node #0,1,3: 13:[8, 19] Operation: 22-3=19 Exploring Operation: 8+3=11, Resulting Numbers: [22, 11] Generated Node #0,1,4: 13:[22, 11] Operation: 8+3=11 Moving to Node #0,3 Current State: 13:[31, 9, 11], Operations: ['8+3=11'] Exploring Operation: 31-11=20, Resulting Numbers: [9, 20] Generated Node #0,3,0: 13:[9, 20] Operation: 31-11=20 Exploring Operation: 9+11=20, Resulting Numbers: [31, 20] Generated Node #0,3,1: 13:[31, 20] Operation: 9+11=20 Exploring Operation: 31-9=22, Resulting Numbers: [11, 22] Generated Node #0,3,2: 13:[11, 22] Operation: 31-9=22 Exploring Operation: 31+9=40, Resulting Numbers: [11, 40] Generated Node #0,3,3: 13:[11, 40] Operation: 31+9=40 Exploring Operation: 11-9=2, Resulting Numbers: [31, 2] Generated Node #0,3,4: 13:[31, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[9, 20], Operations: ['8+3=11', '31-11=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[11, 22], Operations: ['8+3=11', '31-9=22'] Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,13 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[31, 20], Operations: ['8+3=11', '9+11=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,13 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[11, 40], Operations: ['8+3=11', '31+9=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[31, 2], Operations: ['8+3=11', '11-9=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,13 unequal: No Solution Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 13:[3, 14], Operations: ['31-8=23', '23-9=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[9, 20], Operations: ['31-8=23', '23-3=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[12, 23], Operations: ['3+9=12', '31-8=23'] Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,13 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[8, 19], Operations: ['3+9=12', '31-12=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,13 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[22, 11], Operations: ['31-9=22', '8+3=11'] Exploring Operation: 22*11=242, Resulting Numbers: [242] 242,13 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 22+11=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[8, 19], Operations: ['31-9=22', '22-3=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,13 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[23, 12], Operations: ['31-8=23', '3+9=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,13 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[3, 14], Operations: ['31-9=22', '22-8=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[22, 5], Operations: ['31-9=22', '8-3=5'] Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[9, 26], Operations: ['31-8=23', '3+23=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,13 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[8, 25], Operations: ['31-9=22', '3+22=25'] Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,13 unequal: No Solution Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[23, 6], Operations: ['31-8=23', '9-3=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,13 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[31, 20], Operations: ['3+9=12', '8+12=20'] Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,13 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[31, 4], Operations: ['3+9=12', '12-8=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,13 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[12, 39], Operations: ['3+9=12', '31+8=39'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,13 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,13 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 74, 61, 32, 83 ]
84
[ "74+61=135", "83-32=51", "135-51=84" ]
Current State: 84:[74, 61, 32, 83], Operations: [] Exploring Operation: 74+61=135, Resulting Numbers: [32, 83, 135] Generated Node #2: [32, 83, 135] from Operation: 74+61=135 Current State: 84:[32, 83, 135], Operations: ['74+61=135'] Exploring Operation: 83-32=51, Resulting Numbers: [135, 51] Generated Node #3: [135, 51] from Operation: 83-32=51 Current State: 84:[135, 51], Operations: ['74+61=135', '83-32=51'] Exploring Operation: 135-51=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[74, 61, 32, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [74, 32, 22] Generated Node #0,0: 84:[74, 32, 22] Operation: 83-61=22 Exploring Operation: 74-32=42, Resulting Numbers: [61, 83, 42] Generated Node #0,1: 84:[61, 83, 42] Operation: 74-32=42 Exploring Operation: 74-61=13, Resulting Numbers: [32, 83, 13] Generated Node #0,2: 84:[32, 83, 13] Operation: 74-61=13 Exploring Operation: 61-32=29, Resulting Numbers: [74, 83, 29] Generated Node #0,3: 84:[74, 83, 29] Operation: 61-32=29 Moving to Node #0,2 Current State: 84:[32, 83, 13], Operations: ['74-61=13'] Exploring Operation: 32+13=45, Resulting Numbers: [83, 45] Generated Node #0,2,0: 84:[83, 45] Operation: 32+13=45 Exploring Operation: 83-32=51, Resulting Numbers: [13, 51] Generated Node #0,2,1: 84:[13, 51] Operation: 83-32=51 Exploring Operation: 83+13=96, Resulting Numbers: [32, 96] Generated Node #0,2,2: 84:[32, 96] Operation: 83+13=96 Exploring Operation: 32-13=19, Resulting Numbers: [83, 19] Generated Node #0,2,3: 84:[83, 19] Operation: 32-13=19 Moving to Node #0,3 Current State: 84:[74, 83, 29], Operations: ['61-32=29'] Exploring Operation: 83-74=9, Resulting Numbers: [29, 9] Generated Node #0,3,0: 84:[29, 9] Operation: 83-74=9 Exploring Operation: 74+29=103, Resulting Numbers: [83, 103] Generated Node #0,3,1: 84:[83, 103] Operation: 74+29=103 Exploring Operation: 74-29=45, Resulting Numbers: [83, 45] Generated Node #0,3,2: 84:[83, 45] Operation: 74-29=45 Exploring Operation: 83-29=54, Resulting Numbers: [74, 54] Generated Node #0,3,3: 84:[74, 54] Operation: 83-29=54 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[29, 9], Operations: ['61-32=29', '83-74=9'] Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,84 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[83, 45], Operations: ['61-32=29', '74-29=45'] Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,84 unequal: No Solution Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,84 unequal: No Solution Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[83, 103], Operations: ['61-32=29', '74+29=103'] Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,84 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,84 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[74, 54], Operations: ['61-32=29', '83-29=54'] Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 74*54=3996, Resulting Numbers: [3996] 3996,84 unequal: No Solution Exploring Operation: 74+54=128, Resulting Numbers: [128] 128,84 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: 84:[74, 32, 22], Operations: ['83-61=22'] Exploring Operation: 74+22=96, Resulting Numbers: [32, 96] Generated Node #0,0,0: 84:[32, 96] Operation: 74+22=96 Exploring Operation: 74-32=42, Resulting Numbers: [22, 42] Generated Node #0,0,1: 84:[22, 42] Operation: 74-32=42 Exploring Operation: 32-22=10, Resulting Numbers: [74, 10] Generated Node #0,0,2: 84:[74, 10] Operation: 32-22=10 Exploring Operation: 74-22=52, Resulting Numbers: [32, 52] Generated Node #0,0,3: 84:[32, 52] Operation: 74-22=52 Moving to Node #0,1 Current State: 84:[61, 83, 42], Operations: ['74-32=42'] Exploring Operation: 61-42=19, Resulting Numbers: [83, 19] Generated Node #0,1,0: 84:[83, 19] Operation: 61-42=19 Exploring Operation: 61+42=103, Resulting Numbers: [83, 103] Generated Node #0,1,1: 84:[83, 103] Operation: 61+42=103 Exploring Operation: 83-61=22, Resulting Numbers: [42, 22] Generated Node #0,1,2: 84:[42, 22] Operation: 83-61=22 Exploring Operation: 83-42=41, Resulting Numbers: [61, 41] Generated Node #0,1,3: 84:[61, 41] Operation: 83-42=41 Moving to Node #0,0,1 Current State: 84:[22, 42], Operations: ['83-61=22', '74-32=42'] Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[42, 22], Operations: ['74-32=42', '83-61=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,84 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[83, 19], Operations: ['74-32=42', '61-42=19'] Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 83*19=1577, Resulting Numbers: [1577] 1577,84 unequal: No Solution Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[83, 19], Operations: ['74-61=13', '32-13=19'] Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,84 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 83*19=1577, Resulting Numbers: [1577] 1577,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[83, 45], Operations: ['74-61=13', '32+13=45'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 83+45=128, Resulting Numbers: [128] 128,84 unequal: No Solution Exploring Operation: 83*45=3735, Resulting Numbers: [3735] 3735,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[13, 51], Operations: ['74-61=13', '83-32=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,84 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[74, 10], Operations: ['83-61=22', '32-22=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,84 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[74, 61, 32, 83], Operations: [] Exploring Operation: 83-61=22, Resulting Numbers: [74, 32, 22] Generated Node #0,0: 84:[74, 32, 22] Operation: 83-61=22 Moving to Node #0,0 Current State: 84:[74, 32, 22], Operations: ['83-61=22'] Exploring Operation: 32-22=10, Resulting Numbers: [74, 10] Generated Node #0,0,2: 84:[74, 10] Operation: 32-22=10 Moving to Node #0,0,2 Current State: 84:[74, 10], Operations: ['83-61=22', '32-22=10'] Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.950521
hs_4
sum_heuristic
[ 3, 46, 22, 50 ]
34
[ "50-46=4", "3*4=12", "22+12=34" ]
Current State: 34:[3, 46, 22, 50], Operations: [] Exploring Operation: 50-46=4, Resulting Numbers: [3, 22, 4] Generated Node #2: [3, 22, 4] from Operation: 50-46=4 Current State: 34:[3, 22, 4], Operations: ['50-46=4'] Exploring Operation: 3*4=12, Resulting Numbers: [22, 12] Generated Node #3: [22, 12] from Operation: 3*4=12 Current State: 34:[22, 12], Operations: ['50-46=4', '3*4=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[3, 46, 22, 50], Operations: [] Exploring Operation: 50-22=28, Resulting Numbers: [3, 46, 28] Generated Node #0,0: 34:[3, 46, 28] Operation: 50-22=28 Exploring Operation: 50-46=4, Resulting Numbers: [3, 22, 4] Generated Node #0,1: 34:[3, 22, 4] Operation: 50-46=4 Moving to Node #0,1 Current State: 34:[3, 22, 4], Operations: ['50-46=4'] Exploring Operation: 22-3=19, Resulting Numbers: [4, 19] Generated Node #0,1,0: 34:[4, 19] Operation: 22-3=19 Exploring Operation: 22-4=18, Resulting Numbers: [3, 18] Generated Node #0,1,1: 34:[3, 18] Operation: 22-4=18 Moving to Node #0,0 Current State: 34:[3, 46, 28], Operations: ['50-22=28'] Exploring Operation: 46-28=18, Resulting Numbers: [3, 18] Generated Node #0,0,0: 34:[3, 18] Operation: 46-28=18 Exploring Operation: 46-3=43, Resulting Numbers: [28, 43] Generated Node #0,0,1: 34:[28, 43] Operation: 46-3=43 Moving to Node #0,1,1 Current State: 34:[3, 18], Operations: ['50-46=4', '22-4=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[3, 18], Operations: ['50-22=28', '46-28=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,34 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[4, 19], Operations: ['50-46=4', '22-3=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[28, 43], Operations: ['50-22=28', '46-3=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,34 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 96, 34, 70, 1 ]
98
[ "34+1=35", "70/35=2", "96+2=98" ]
Current State: 98:[96, 34, 70, 1], Operations: [] Exploring Operation: 34+1=35, Resulting Numbers: [96, 70, 35] Generated Node #2: [96, 70, 35] from Operation: 34+1=35 Current State: 98:[96, 70, 35], Operations: ['34+1=35'] Exploring Operation: 70/35=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 70/35=2 Current State: 98:[96, 2], Operations: ['34+1=35', '70/35=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[96, 34, 70, 1], Operations: [] Exploring Operation: 70-34=36, Resulting Numbers: [96, 1, 36] Generated Node #0,0: 98:[96, 1, 36] Operation: 70-34=36 Exploring Operation: 96-34=62, Resulting Numbers: [70, 1, 62] Generated Node #0,1: 98:[70, 1, 62] Operation: 96-34=62 Exploring Operation: 96-70=26, Resulting Numbers: [34, 1, 26] Generated Node #0,2: 98:[34, 1, 26] Operation: 96-70=26 Exploring Operation: 34+70=104, Resulting Numbers: [96, 1, 104] Generated Node #0,3: 98:[96, 1, 104] Operation: 34+70=104 Moving to Node #0,3 Current State: 98:[96, 1, 104], Operations: ['34+70=104'] Exploring Operation: 104-96=8, Resulting Numbers: [1, 8] Generated Node #0,3,0: 98:[1, 8] Operation: 104-96=8 Exploring Operation: 104-1=103, Resulting Numbers: [96, 103] Generated Node #0,3,1: 98:[96, 103] Operation: 104-1=103 Exploring Operation: 96+1=97, Resulting Numbers: [104, 97] Generated Node #0,3,2: 98:[104, 97] Operation: 96+1=97 Exploring Operation: 96*1=96, Resulting Numbers: [104, 96] Generated Node #0,3,3: 98:[104, 96] Operation: 96*1=96 Moving to Node #0,0 Current State: 98:[96, 1, 36], Operations: ['70-34=36'] Exploring Operation: 96+1=97, Resulting Numbers: [36, 97] Generated Node #0,0,0: 98:[36, 97] Operation: 96+1=97 Exploring Operation: 96*1=96, Resulting Numbers: [36, 96] Generated Node #0,0,1: 98:[36, 96] Operation: 96*1=96 Exploring Operation: 1+36=37, Resulting Numbers: [96, 37] Generated Node #0,0,2: 98:[96, 37] Operation: 1+36=37 Exploring Operation: 96-36=60, Resulting Numbers: [1, 60] Generated Node #0,0,3: 98:[1, 60] Operation: 96-36=60 Moving to Node #0,2 Current State: 98:[34, 1, 26], Operations: ['96-70=26'] Exploring Operation: 34-26=8, Resulting Numbers: [1, 8] Generated Node #0,2,0: 98:[1, 8] Operation: 34-26=8 Exploring Operation: 34+1=35, Resulting Numbers: [26, 35] Generated Node #0,2,1: 98:[26, 35] Operation: 34+1=35 Exploring Operation: 34+26=60, Resulting Numbers: [1, 60] Generated Node #0,2,2: 98:[1, 60] Operation: 34+26=60 Exploring Operation: 26-1=25, Resulting Numbers: [34, 25] Generated Node #0,2,3: 98:[34, 25] Operation: 26-1=25 Moving to Node #0,1 Current State: 98:[70, 1, 62], Operations: ['96-34=62'] Exploring Operation: 70*1=70, Resulting Numbers: [62, 70] Generated Node #0,1,0: 98:[62, 70] Operation: 70*1=70 Exploring Operation: 70-1=69, Resulting Numbers: [62, 69] Generated Node #0,1,1: 98:[62, 69] Operation: 70-1=69 Exploring Operation: 70-62=8, Resulting Numbers: [1, 8] Generated Node #0,1,2: 98:[1, 8] Operation: 70-62=8 Exploring Operation: 62-1=61, Resulting Numbers: [70, 61] Generated Node #0,1,3: 98:[70, 61] Operation: 62-1=61 Moving to Node #0,3,0 Current State: 98:[1, 8], Operations: ['34+70=104', '104-96=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[1, 8], Operations: ['96-34=62', '70-62=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,98 unequal: No Solution Moving to Node #0,2,0 Current State: 98:[1, 8], Operations: ['96-70=26', '34-26=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[104, 97], Operations: ['34+70=104', '96+1=97'] Exploring Operation: 104+97=201, Resulting Numbers: [201] 201,98 unequal: No Solution Exploring Operation: 104-97=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 104*97=10088, Resulting Numbers: [10088] 10088,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[96, 103], Operations: ['34+70=104', '104-1=103'] Exploring Operation: 96+103=199, Resulting Numbers: [199] 199,98 unequal: No Solution Exploring Operation: 96*103=9888, Resulting Numbers: [9888] 9888,98 unequal: No Solution Exploring Operation: 103-96=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,3,3 Current State: 98:[104, 96], Operations: ['34+70=104', '96*1=96'] Exploring Operation: 104-96=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 104*96=9984, Resulting Numbers: [9984] 9984,98 unequal: No Solution Exploring Operation: 104+96=200, Resulting Numbers: [200] 200,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[1, 60], Operations: ['70-34=36', '96-36=60'] Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[1, 60], Operations: ['96-70=26', '34+26=60'] Exploring Operation: 1+60=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 60/1=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 1*60=60, Resulting Numbers: [60] 60,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[96, 37], Operations: ['70-34=36', '1+36=37'] Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,98 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,98 unequal: No Solution Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[36, 97], Operations: ['70-34=36', '96+1=97'] Exploring Operation: 97-36=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 36*97=3492, Resulting Numbers: [3492] 3492,98 unequal: No Solution Exploring Operation: 36+97=133, Resulting Numbers: [133] 133,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[36, 96], Operations: ['70-34=36', '96*1=96'] Exploring Operation: 96-36=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 36*96=3456, Resulting Numbers: [3456] 3456,98 unequal: No Solution Exploring Operation: 36+96=132, Resulting Numbers: [132] 132,98 unequal: No Solution Moving to Node #0,2,3 Current State: 98:[34, 25], Operations: ['96-70=26', '26-1=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,98 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,98 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[26, 35], Operations: ['96-70=26', '34+1=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,98 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[62, 69], Operations: ['96-34=62', '70-1=69'] Exploring Operation: 62+69=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 62*69=4278, Resulting Numbers: [4278] 4278,98 unequal: No Solution Exploring Operation: 69-62=7, Resulting Numbers: [7] 7,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[70, 61], Operations: ['96-34=62', '62-1=61'] Exploring Operation: 70-61=9, Resulting Numbers: [9] 9,98 unequal: No Solution Exploring Operation: 70*61=4270, Resulting Numbers: [4270] 4270,98 unequal: No Solution Exploring Operation: 70+61=131, Resulting Numbers: [131] 131,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[62, 70], Operations: ['96-34=62', '70*1=70'] Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 62*70=4340, Resulting Numbers: [4340] 4340,98 unequal: No Solution Exploring Operation: 62+70=132, Resulting Numbers: [132] 132,98 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 29, 63, 98, 37 ]
58
[ "98-63=35", "37-35=2", "29*2=58" ]
Current State: 58:[29, 63, 98, 37], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [29, 37, 35] Generated Node #2: [29, 37, 35] from Operation: 98-63=35 Current State: 58:[29, 37, 35], Operations: ['98-63=35'] Exploring Operation: 37-35=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 37-35=2 Current State: 58:[29, 2], Operations: ['98-63=35', '37-35=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[29, 63, 98, 37], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [29, 63, 61] Generated Node #0,0: 58:[29, 63, 61] Operation: 98-37=61 Exploring Operation: 98-63=35, Resulting Numbers: [29, 37, 35] Generated Node #0,1: 58:[29, 37, 35] Operation: 98-63=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[29, 63, 61], Operations: ['98-37=61'] Exploring Operation: 63-61=2, Resulting Numbers: [29, 2] Generated Node #0,0,0: 58:[29, 2] Operation: 63-61=2 Exploring Operation: 63-29=34, Resulting Numbers: [61, 34] Generated Node #0,0,1: 58:[61, 34] Operation: 63-29=34 Moving to Node #0,0,0 Current State: 58:[29, 2], Operations: ['98-37=61', '63-61=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[29, 63, 98, 37], Operations: [] Exploring Operation: 98-37=61, Resulting Numbers: [29, 63, 61] Generated Node #0,0: 58:[29, 63, 61] Operation: 98-37=61 Moving to Node #0,0 Current State: 58:[29, 63, 61], Operations: ['98-37=61'] Exploring Operation: 63-61=2, Resulting Numbers: [29, 2] Generated Node #0,0,0: 58:[29, 2] Operation: 63-61=2 Moving to Node #0,0,0 Current State: 58:[29, 2], Operations: ['98-37=61', '63-61=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 68, 19, 96, 47 ]
94
[ "68-19=49", "96+47=143", "143-49=94" ]
Current State: 94:[68, 19, 96, 47], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [96, 47, 49] Generated Node #2: [96, 47, 49] from Operation: 68-19=49 Current State: 94:[96, 47, 49], Operations: ['68-19=49'] Exploring Operation: 96+47=143, Resulting Numbers: [49, 143] Generated Node #3: [49, 143] from Operation: 96+47=143 Current State: 94:[49, 143], Operations: ['68-19=49', '96+47=143'] Exploring Operation: 143-49=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[68, 19, 96, 47], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [96, 47, 49] Generated Node #0,0: 94:[96, 47, 49] Operation: 68-19=49 Moving to Node #0,0 Current State: 94:[96, 47, 49], Operations: ['68-19=49'] Exploring Operation: 96-49=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 96-49=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['68-19=49', '96-49=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[68, 19, 96, 47], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [96, 47, 49] Generated Node #0,0: 94:[96, 47, 49] Operation: 68-19=49 Moving to Node #0,0 Current State: 94:[96, 47, 49], Operations: ['68-19=49'] Exploring Operation: 96-49=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 94:[47, 47] Operation: 96-49=47 Moving to Node #0,0,0 Current State: 94:[47, 47], Operations: ['68-19=49', '96-49=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 75, 75, 60, 23 ]
60
[ "75-75=0", "23*0=0", "60+0=60" ]
Current State: 60:[75, 75, 60, 23], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [60, 23, 0] Generated Node #2: [60, 23, 0] from Operation: 75-75=0 Current State: 60:[60, 23, 0], Operations: ['75-75=0'] Exploring Operation: 23*0=0, Resulting Numbers: [60, 0] Generated Node #3: [60, 0] from Operation: 23*0=0 Current State: 60:[60, 0], Operations: ['75-75=0', '23*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[75, 75, 60, 23], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [75, 23, 15] Generated Node #0,0: 60:[75, 23, 15] Operation: 75-60=15 Exploring Operation: 75/75=1, Resulting Numbers: [60, 23, 1] Generated Node #0,1: 60:[60, 23, 1] Operation: 75/75=1 Exploring Operation: 75-75=0, Resulting Numbers: [60, 23, 0] Generated Node #0,2: 60:[60, 23, 0] Operation: 75-75=0 Exploring Operation: 75-60=15, Resulting Numbers: [75, 23, 15] Generated Node #0,3: 60:[75, 23, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[60, 23, 1], Operations: ['75/75=1'] Exploring Operation: 23*1=23, Resulting Numbers: [60, 23] Generated Node #0,1,0: 60:[60, 23] Operation: 23*1=23 Exploring Operation: 60/1=60, Resulting Numbers: [23, 60] Generated Node #0,1,1: 60:[23, 60] Operation: 60/1=60 Exploring Operation: 23-1=22, Resulting Numbers: [60, 22] Generated Node #0,1,2: 60:[60, 22] Operation: 23-1=22 Exploring Operation: 60*1=60, Resulting Numbers: [23, 60] Generated Node #0,1,3: 60:[23, 60] Operation: 60*1=60 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[60, 22], Operations: ['75/75=1', '23-1=22'] Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,60 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,60 unequal: No Solution Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,60 unequal: No Solution No 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: 60:[60, 23], Operations: ['75/75=1', '23*1=23'] Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,60 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,60 unequal: No Solution No 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: 60:[23, 60], Operations: ['75/75=1', '60/1=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,60 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,60 unequal: No Solution No 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: 60:[23, 60], Operations: ['75/75=1', '60*1=60'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,60 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,60 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[60, 23, 0], Operations: ['75-75=0'] Exploring Operation: 60-0=60, Resulting Numbers: [23, 60] Generated Node #0,2,0: 60:[23, 60] Operation: 60-0=60 Exploring Operation: 23*0=0, Resulting Numbers: [60, 0] Generated Node #0,2,1: 60:[60, 0] Operation: 23*0=0 Exploring Operation: 60+0=60, Resulting Numbers: [23, 60] Generated Node #0,2,2: 60:[23, 60] Operation: 60+0=60 Exploring Operation: 23+0=23, Resulting Numbers: [60, 23] Generated Node #0,2,3: 60:[60, 23] Operation: 23+0=23 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[60, 0], Operations: ['75-75=0', '23*0=0'] Exploring Operation: 60*0=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[75, 75, 60, 23], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [60, 23, 0] Generated Node #0,2: 60:[60, 23, 0] Operation: 75-75=0 Moving to Node #0,2 Current State: 60:[60, 23, 0], Operations: ['75-75=0'] Exploring Operation: 23*0=0, Resulting Numbers: [60, 0] Generated Node #0,2,1: 60:[60, 0] Operation: 23*0=0 Moving to Node #0,2,1 Current State: 60:[60, 0], Operations: ['75-75=0', '23*0=0'] Exploring Operation: 60+0=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 69, 75, 42, 32 ]
80
[ "75-69=6", "42+32=74", "6+74=80" ]
Current State: 80:[69, 75, 42, 32], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [42, 32, 6] Generated Node #2: [42, 32, 6] from Operation: 75-69=6 Current State: 80:[42, 32, 6], Operations: ['75-69=6'] Exploring Operation: 42+32=74, Resulting Numbers: [6, 74] Generated Node #3: [6, 74] from Operation: 42+32=74 Current State: 80:[6, 74], Operations: ['75-69=6', '42+32=74'] Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[69, 75, 42, 32], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [42, 32, 6] Generated Node #0,0: 80:[42, 32, 6] Operation: 75-69=6 Exploring Operation: 69-32=37, Resulting Numbers: [75, 42, 37] Generated Node #0,1: 80:[75, 42, 37] Operation: 69-32=37 Exploring Operation: 42-32=10, Resulting Numbers: [69, 75, 10] Generated Node #0,2: 80:[69, 75, 10] Operation: 42-32=10 Exploring Operation: 75-32=43, Resulting Numbers: [69, 42, 43] Generated Node #0,3: 80:[69, 42, 43] Operation: 75-32=43 Moving to Node #0,1 Current State: 80:[75, 42, 37], Operations: ['69-32=37'] Exploring Operation: 42-37=5, Resulting Numbers: [75, 5] Generated Node #0,1,0: 80:[75, 5] Operation: 42-37=5 Exploring Operation: 42+37=79, Resulting Numbers: [75, 79] Generated Node #0,1,1: 80:[75, 79] Operation: 42+37=79 Exploring Operation: 75-42=33, Resulting Numbers: [37, 33] Generated Node #0,1,2: 80:[37, 33] Operation: 75-42=33 Exploring Operation: 75-37=38, Resulting Numbers: [42, 38] Generated Node #0,1,3: 80:[42, 38] Operation: 75-37=38 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[42, 38], Operations: ['69-32=37', '75-37=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[69, 75, 42, 32], Operations: [] Exploring Operation: 69-32=37, Resulting Numbers: [75, 42, 37] Generated Node #0,1: 80:[75, 42, 37] Operation: 69-32=37 Moving to Node #0,1 Current State: 80:[75, 42, 37], Operations: ['69-32=37'] Exploring Operation: 75-37=38, Resulting Numbers: [42, 38] Generated Node #0,1,3: 80:[42, 38] Operation: 75-37=38 Moving to Node #0,1,3 Current State: 80:[42, 38], Operations: ['69-32=37', '75-37=38'] Exploring Operation: 42+38=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 8, 46, 10, 74 ]
83
[ "10-8=2", "74/2=37", "46+37=83" ]
Current State: 83:[8, 46, 10, 74], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [46, 74, 2] Generated Node #2: [46, 74, 2] from Operation: 10-8=2 Current State: 83:[46, 74, 2], Operations: ['10-8=2'] Exploring Operation: 74/2=37, Resulting Numbers: [46, 37] Generated Node #3: [46, 37] from Operation: 74/2=37 Current State: 83:[46, 37], Operations: ['10-8=2', '74/2=37'] Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[8, 46, 10, 74], Operations: [] Exploring Operation: 8+46=54, Resulting Numbers: [10, 74, 54] Generated Node #0,0: 83:[10, 74, 54] Operation: 8+46=54 Exploring Operation: 8*10=80, Resulting Numbers: [46, 74, 80] Generated Node #0,1: 83:[46, 74, 80] Operation: 8*10=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[46, 74, 80], Operations: ['8*10=80'] Exploring Operation: 46+74=120, Resulting Numbers: [80, 120] Generated Node #0,1,0: 83:[80, 120] Operation: 46+74=120 Exploring Operation: 46+80=126, Resulting Numbers: [74, 126] Generated Node #0,1,1: 83:[74, 126] Operation: 46+80=126 Moving to Node #0,1,0 Current State: 83:[80, 120], Operations: ['8*10=80', '46+74=120'] Exploring Operation: 80+120=200, Resulting Numbers: [200] 200,83 unequal: No Solution Exploring Operation: 120-80=40, Resulting Numbers: [40] 40,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[74, 126], Operations: ['8*10=80', '46+80=126'] Exploring Operation: 74+126=200, Resulting Numbers: [200] 200,83 unequal: No Solution Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[10, 74, 54], Operations: ['8+46=54'] Exploring Operation: 10+54=64, Resulting Numbers: [74, 64] Generated Node #0,0,0: 83:[74, 64] Operation: 10+54=64 Exploring Operation: 10+74=84, Resulting Numbers: [54, 84] Generated Node #0,0,1: 83:[54, 84] Operation: 10+74=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[74, 64], Operations: ['8+46=54', '10+54=64'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,83 unequal: No Solution Exploring Operation: 74+64=138, Resulting Numbers: [138] 138,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[54, 84], Operations: ['8+46=54', '10+74=84'] Exploring Operation: 54+84=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 84-54=30, Resulting Numbers: [30] 30,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 74, 93, 95, 30 ]
84
[ "93-74=19", "95-30=65", "19+65=84" ]
Current State: 84:[74, 93, 95, 30], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [95, 30, 19] Generated Node #2: [95, 30, 19] from Operation: 93-74=19 Current State: 84:[95, 30, 19], Operations: ['93-74=19'] Exploring Operation: 95-30=65, Resulting Numbers: [19, 65] Generated Node #3: [19, 65] from Operation: 95-30=65 Current State: 84:[19, 65], Operations: ['93-74=19', '95-30=65'] Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[74, 93, 95, 30], Operations: [] Exploring Operation: 95-74=21, Resulting Numbers: [93, 30, 21] Generated Node #0,0: 84:[93, 30, 21] Operation: 95-74=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[93, 30, 21], Operations: ['95-74=21'] Exploring Operation: 30-21=9, Resulting Numbers: [93, 9] Generated Node #0,0,0: 84:[93, 9] Operation: 30-21=9 Moving to Node #0,0,0 Current State: 84:[93, 9], Operations: ['95-74=21', '30-21=9'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[74, 93, 95, 30], Operations: [] Exploring Operation: 95-74=21, Resulting Numbers: [93, 30, 21] Generated Node #0,0: 84:[93, 30, 21] Operation: 95-74=21 Moving to Node #0,0 Current State: 84:[93, 30, 21], Operations: ['95-74=21'] Exploring Operation: 30-21=9, Resulting Numbers: [93, 9] Generated Node #0,0,0: 84:[93, 9] Operation: 30-21=9 Moving to Node #0,0,0 Current State: 84:[93, 9], Operations: ['95-74=21', '30-21=9'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 15, 23, 19, 8 ]
10
[ "15+23=38", "38/19=2", "8+2=10" ]
Current State: 10:[15, 23, 19, 8], Operations: [] Exploring Operation: 15+23=38, Resulting Numbers: [19, 8, 38] Generated Node #2: [19, 8, 38] from Operation: 15+23=38 Current State: 10:[19, 8, 38], Operations: ['15+23=38'] Exploring Operation: 38/19=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 38/19=2 Current State: 10:[8, 2], Operations: ['15+23=38', '38/19=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 23, 19, 8], Operations: [] Exploring Operation: 19-15=4, Resulting Numbers: [23, 8, 4] Generated Node #0,0: 10:[23, 8, 4] Operation: 19-15=4 Exploring Operation: 19-8=11, Resulting Numbers: [15, 23, 11] Generated Node #0,1: 10:[15, 23, 11] Operation: 19-8=11 Exploring Operation: 23-8=15, Resulting Numbers: [15, 19, 15] Generated Node #0,2: 10:[15, 19, 15] Operation: 23-8=15 Exploring Operation: 23-15=8, Resulting Numbers: [19, 8, 8] Generated Node #0,3: 10:[19, 8, 8] Operation: 23-15=8 Exploring Operation: 23-19=4, Resulting Numbers: [15, 8, 4] Generated Node #0,4: 10:[15, 8, 4] Operation: 23-19=4 Moving to Node #0,4 Current State: 10:[15, 8, 4], Operations: ['23-19=4'] Exploring Operation: 15-4=11, Resulting Numbers: [8, 11] Generated Node #0,4,0: 10:[8, 11] Operation: 15-4=11 Exploring Operation: 15-8=7, Resulting Numbers: [4, 7] Generated Node #0,4,1: 10:[4, 7] Operation: 15-8=7 Exploring Operation: 8/4=2, Resulting Numbers: [15, 2] Generated Node #0,4,2: 10:[15, 2] Operation: 8/4=2 Exploring Operation: 8+4=12, Resulting Numbers: [15, 12] Generated Node #0,4,3: 10:[15, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [15, 4] Generated Node #0,4,4: 10:[15, 4] Operation: 8-4=4 Moving to Node #0,3 Current State: 10:[19, 8, 8], Operations: ['23-15=8'] Exploring Operation: 8+8=16, Resulting Numbers: [19, 16] Generated Node #0,3,0: 10:[19, 16] Operation: 8+8=16 Exploring Operation: 19-8=11, Resulting Numbers: [8, 11] Generated Node #0,3,1: 10:[8, 11] Operation: 19-8=11 Exploring Operation: 8-8=0, Resulting Numbers: [19, 0] Generated Node #0,3,2: 10:[19, 0] Operation: 8-8=0 Exploring Operation: 8/8=1, Resulting Numbers: [19, 1] Generated Node #0,3,3: 10:[19, 1] Operation: 8/8=1 Exploring Operation: 19-8=11, Resulting Numbers: [8, 11] Generated Node #0,3,4: 10:[8, 11] Operation: 19-8=11 Moving to Node #0,0 Current State: 10:[23, 8, 4], Operations: ['19-15=4'] Exploring Operation: 23-8=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 10:[4, 15] Operation: 23-8=15 Exploring Operation: 8/4=2, Resulting Numbers: [23, 2] Generated Node #0,0,1: 10:[23, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 10:[23, 4] Operation: 8-4=4 Exploring Operation: 8+4=12, Resulting Numbers: [23, 12] Generated Node #0,0,3: 10:[23, 12] Operation: 8+4=12 Exploring Operation: 23-4=19, Resulting Numbers: [8, 19] Generated Node #0,0,4: 10:[8, 19] Operation: 23-4=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[4, 15], Operations: ['19-15=4', '23-8=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[8, 19], Operations: ['19-15=4', '23-4=19'] Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,10 unequal: No Solution Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[23, 2], Operations: ['19-15=4', '8/4=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,10 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[23, 4], Operations: ['19-15=4', '8-4=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[23, 12], Operations: ['19-15=4', '8+4=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,10 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: 10:[15, 23, 11], Operations: ['19-8=11'] Exploring Operation: 15+11=26, Resulting Numbers: [23, 26] Generated Node #0,1,0: 10:[23, 26] Operation: 15+11=26 Exploring Operation: 15+23=38, Resulting Numbers: [11, 38] Generated Node #0,1,1: 10:[11, 38] Operation: 15+23=38 Exploring Operation: 15-11=4, Resulting Numbers: [23, 4] Generated Node #0,1,2: 10:[23, 4] Operation: 15-11=4 Exploring Operation: 23-15=8, Resulting Numbers: [11, 8] Generated Node #0,1,3: 10:[11, 8] Operation: 23-15=8 Exploring Operation: 23-11=12, Resulting Numbers: [15, 12] Generated Node #0,1,4: 10:[15, 12] Operation: 23-11=12 Moving to Node #0,2 Current State: 10:[15, 19, 15], Operations: ['23-8=15'] Exploring Operation: 15/15=1, Resulting Numbers: [19, 1] Generated Node #0,2,0: 10:[19, 1] Operation: 15/15=1 Exploring Operation: 15+19=34, Resulting Numbers: [15, 34] Generated Node #0,2,1: 10:[15, 34] Operation: 15+19=34 Exploring Operation: 19-15=4, Resulting Numbers: [15, 4] Generated Node #0,2,2: 10:[15, 4] Operation: 19-15=4 Exploring Operation: 19-15=4, Resulting Numbers: [15, 4] Generated Node #0,2,3: 10:[15, 4] Operation: 19-15=4 Exploring Operation: 15-15=0, Resulting Numbers: [19, 0] Generated Node #0,2,4: 10:[19, 0] Operation: 15-15=0 Moving to Node #0,4,0 Current State: 10:[8, 11], Operations: ['23-19=4', '15-4=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[8, 11], Operations: ['23-15=8', '19-8=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[8, 11], Operations: ['23-15=8', '19-8=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[4, 7], Operations: ['23-19=4', '15-8=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[11, 8], Operations: ['19-8=11', '23-15=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[15, 2], Operations: ['23-19=4', '8/4=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[15, 4], Operations: ['23-19=4', '8-4=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[15, 4], Operations: ['23-8=15', '19-15=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[15, 4], Operations: ['23-8=15', '19-15=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,1,4 Current State: 10:[15, 12], Operations: ['19-8=11', '23-11=12'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[15, 12], Operations: ['23-19=4', '8+4=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,10 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[19, 1], Operations: ['23-15=8', '8/8=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[19, 1], Operations: ['23-8=15', '15/15=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[19, 0], Operations: ['23-8=15', '15-15=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[19, 0], Operations: ['23-15=8', '8-8=0'] Exploring Operation: 19*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 19-0=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 19+0=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[23, 4], Operations: ['19-8=11', '15-11=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,10 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,10 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[19, 16], Operations: ['23-15=8', '8+8=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,10 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[15, 34], Operations: ['23-8=15', '15+19=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 15+34=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 15*34=510, Resulting Numbers: [510] 510,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[23, 26], Operations: ['19-8=11', '15+11=26'] Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,10 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[11, 38], Operations: ['19-8=11', '15+23=38'] Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,10 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 54, 4, 22, 28 ]
30
[ "28-22=6", "4*6=24", "54-24=30" ]
Current State: 30:[54, 4, 22, 28], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [54, 4, 6] Generated Node #2: [54, 4, 6] from Operation: 28-22=6 Current State: 30:[54, 4, 6], Operations: ['28-22=6'] Exploring Operation: 4*6=24, Resulting Numbers: [54, 24] Generated Node #3: [54, 24] from Operation: 4*6=24 Current State: 30:[54, 24], Operations: ['28-22=6', '4*6=24'] Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[54, 4, 22, 28], Operations: [] Exploring Operation: 54-22=32, Resulting Numbers: [4, 28, 32] Generated Node #0,0: 30:[4, 28, 32] Operation: 54-22=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[4, 28, 32], Operations: ['54-22=32'] Exploring Operation: 32-28=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 30:[4, 4] Operation: 32-28=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[4, 4], Operations: ['54-22=32', '32-28=4'] Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 21, 42, 38, 29 ]
47
[ "42/21=2", "38*2=76", "76-29=47" ]
Current State: 47:[21, 42, 38, 29], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [38, 29, 2] Generated Node #2: [38, 29, 2] from Operation: 42/21=2 Current State: 47:[38, 29, 2], Operations: ['42/21=2'] Exploring Operation: 38*2=76, Resulting Numbers: [29, 76] Generated Node #3: [29, 76] from Operation: 38*2=76 Current State: 47:[29, 76], Operations: ['42/21=2', '38*2=76'] Exploring Operation: 76-29=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[21, 42, 38, 29], Operations: [] Exploring Operation: 21+42=63, Resulting Numbers: [38, 29, 63] Generated Node #0,0: 47:[38, 29, 63] Operation: 21+42=63 Exploring Operation: 21+38=59, Resulting Numbers: [42, 29, 59] Generated Node #0,1: 47:[42, 29, 59] Operation: 21+38=59 Exploring Operation: 21+29=50, Resulting Numbers: [42, 38, 50] Generated Node #0,2: 47:[42, 38, 50] Operation: 21+29=50 Exploring Operation: 38+29=67, Resulting Numbers: [21, 42, 67] Generated Node #0,3: 47:[21, 42, 67] Operation: 38+29=67 Start Sub Search at level 1: Moving to Node #0,2 Current State: 47:[42, 38, 50], Operations: ['21+29=50'] Exploring Operation: 42+38=80, Resulting Numbers: [50, 80] Generated Node #0,2,0: 47:[50, 80] Operation: 42+38=80 Exploring Operation: 42-38=4, Resulting Numbers: [50, 4] Generated Node #0,2,1: 47:[50, 4] Operation: 42-38=4 Exploring Operation: 50-38=12, Resulting Numbers: [42, 12] Generated Node #0,2,2: 47:[42, 12] Operation: 50-38=12 Exploring Operation: 38+50=88, Resulting Numbers: [42, 88] Generated Node #0,2,3: 47:[42, 88] Operation: 38+50=88 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 47:[50, 80], Operations: ['21+29=50', '42+38=80'] Exploring Operation: 50+80=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 50*80=4000, Resulting Numbers: [4000] 4000,47 unequal: No Solution No 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: 47:[42, 12], Operations: ['21+29=50', '50-38=12'] Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,47 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,47 unequal: No Solution No 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: 47:[50, 4], Operations: ['21+29=50', '42-38=4'] Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,47 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,47 unequal: No Solution No 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: 47:[42, 88], Operations: ['21+29=50', '38+50=88'] Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,47 unequal: No Solution Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,47 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: 47:[42, 29, 59], Operations: ['21+38=59'] Exploring Operation: 29+59=88, Resulting Numbers: [42, 88] Generated Node #0,1,0: 47:[42, 88] Operation: 29+59=88 Exploring Operation: 42+29=71, Resulting Numbers: [59, 71] Generated Node #0,1,1: 47:[59, 71] Operation: 42+29=71 Exploring Operation: 59-29=30, Resulting Numbers: [42, 30] Generated Node #0,1,2: 47:[42, 30] Operation: 59-29=30 Exploring Operation: 42-29=13, Resulting Numbers: [59, 13] Generated Node #0,1,3: 47:[59, 13] Operation: 42-29=13 Moving to Node #0,1,2 Current State: 47:[42, 30], Operations: ['21+38=59', '59-29=30'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[59, 71], Operations: ['21+38=59', '42+29=71'] Exploring Operation: 59*71=4189, Resulting Numbers: [4189] 4189,47 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 59+71=130, Resulting Numbers: [130] 130,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[59, 13], Operations: ['21+38=59', '42-29=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[42, 88], Operations: ['21+38=59', '29+59=88'] Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,47 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[38, 29, 63], Operations: ['21+42=63'] Exploring Operation: 38+29=67, Resulting Numbers: [63, 67] Generated Node #0,0,0: 47:[63, 67] Operation: 38+29=67 Exploring Operation: 63-38=25, Resulting Numbers: [29, 25] Generated Node #0,0,1: 47:[29, 25] Operation: 63-38=25 Exploring Operation: 38-29=9, Resulting Numbers: [63, 9] Generated Node #0,0,2: 47:[63, 9] Operation: 38-29=9 Exploring Operation: 63-29=34, Resulting Numbers: [38, 34] Generated Node #0,0,3: 47:[38, 34] Operation: 63-29=34 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[38, 34], Operations: ['21+42=63', '63-29=34'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,47 unequal: No Solution Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,47 unequal: No Solution No 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: 47:[63, 67], Operations: ['21+42=63', '38+29=67'] Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 63*67=4221, Resulting Numbers: [4221] 4221,47 unequal: No Solution Exploring Operation: 63+67=130, Resulting Numbers: [130] 130,47 unequal: No Solution No 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: 47:[29, 25], Operations: ['21+42=63', '63-38=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,47 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,47 unequal: No Solution Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[63, 9], Operations: ['21+42=63', '38-29=9'] Exploring Operation: 63*9=567, Resulting Numbers: [567] 567,47 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,47 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,47 unequal: No Solution Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,47 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: 47:[21, 42, 67], Operations: ['38+29=67'] Exploring Operation: 42-21=21, Resulting Numbers: [67, 21] Generated Node #0,3,0: 47:[67, 21] Operation: 42-21=21 Exploring Operation: 21+42=63, Resulting Numbers: [67, 63] Generated Node #0,3,1: 47:[67, 63] Operation: 21+42=63 Exploring Operation: 67-21=46, Resulting Numbers: [42, 46] Generated Node #0,3,2: 47:[42, 46] Operation: 67-21=46 Exploring Operation: 21+67=88, Resulting Numbers: [42, 88] Generated Node #0,3,3: 47:[42, 88] Operation: 21+67=88 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 47:[42, 46], Operations: ['38+29=67', '67-21=46'] Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,47 unequal: No Solution Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,47 unequal: No Solution No 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: 47:[67, 63], Operations: ['38+29=67', '21+42=63'] Exploring Operation: 67*63=4221, Resulting Numbers: [4221] 4221,47 unequal: No Solution Exploring Operation: 67+63=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 67-63=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[67, 21], Operations: ['38+29=67', '42-21=21'] Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,47 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,47 unequal: No Solution No 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: 47:[42, 88], Operations: ['38+29=67', '21+67=88'] Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,47 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 51, 80, 24, 26 ]
79
[ "80-51=29", "24+26=50", "29+50=79" ]
Current State: 79:[51, 80, 24, 26], Operations: [] Exploring Operation: 80-51=29, Resulting Numbers: [24, 26, 29] Generated Node #2: [24, 26, 29] from Operation: 80-51=29 Current State: 79:[24, 26, 29], Operations: ['80-51=29'] Exploring Operation: 24+26=50, Resulting Numbers: [29, 50] Generated Node #3: [29, 50] from Operation: 24+26=50 Current State: 79:[29, 50], Operations: ['80-51=29', '24+26=50'] Exploring Operation: 29+50=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[51, 80, 24, 26], Operations: [] Exploring Operation: 51+24=75, Resulting Numbers: [80, 26, 75] Generated Node #0,0: 79:[80, 26, 75] Operation: 51+24=75 Exploring Operation: 51+26=77, Resulting Numbers: [80, 24, 77] Generated Node #0,1: 79:[80, 24, 77] Operation: 51+26=77 Moving to Node #0,0 Current State: 79:[80, 26, 75], Operations: ['51+24=75'] Exploring Operation: 80-26=54, Resulting Numbers: [75, 54] Generated Node #0,0,0: 79:[75, 54] Operation: 80-26=54 Exploring Operation: 26+75=101, Resulting Numbers: [80, 101] Generated Node #0,0,1: 79:[80, 101] Operation: 26+75=101 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[80, 101], Operations: ['51+24=75', '26+75=101'] Exploring Operation: 101-80=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 80+101=181, Resulting Numbers: [181] 181,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[75, 54], Operations: ['51+24=75', '80-26=54'] Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,79 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,79 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: 79:[80, 24, 77], Operations: ['51+26=77'] Exploring Operation: 80-24=56, Resulting Numbers: [77, 56] Generated Node #0,1,0: 79:[77, 56] Operation: 80-24=56 Exploring Operation: 24+77=101, Resulting Numbers: [80, 101] Generated Node #0,1,1: 79:[80, 101] Operation: 24+77=101 Moving to Node #0,1,1 Current State: 79:[80, 101], Operations: ['51+26=77', '24+77=101'] Exploring Operation: 80+101=181, Resulting Numbers: [181] 181,79 unequal: No Solution Exploring Operation: 101-80=21, Resulting Numbers: [21] 21,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[77, 56], Operations: ['51+26=77', '80-24=56'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,79 unequal: No Solution Exploring Operation: 77+56=133, Resulting Numbers: [133] 133,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 64, 95, 4, 27 ]
84
[ "64/4=16", "95-27=68", "16+68=84" ]
Current State: 84:[64, 95, 4, 27], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [95, 27, 16] Generated Node #2: [95, 27, 16] from Operation: 64/4=16 Current State: 84:[95, 27, 16], Operations: ['64/4=16'] Exploring Operation: 95-27=68, Resulting Numbers: [16, 68] Generated Node #3: [16, 68] from Operation: 95-27=68 Current State: 84:[16, 68], Operations: ['64/4=16', '95-27=68'] Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[64, 95, 4, 27], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [95, 27, 16] Generated Node #0,0: 84:[95, 27, 16] Operation: 64/4=16 Exploring Operation: 64-27=37, Resulting Numbers: [95, 4, 37] Generated Node #0,1: 84:[95, 4, 37] Operation: 64-27=37 Exploring Operation: 95-64=31, Resulting Numbers: [4, 27, 31] Generated Node #0,2: 84:[4, 27, 31] Operation: 95-64=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[4, 27, 31], Operations: ['95-64=31'] Exploring Operation: 27-4=23, Resulting Numbers: [31, 23] Generated Node #0,2,0: 84:[31, 23] Operation: 27-4=23 Exploring Operation: 31-4=27, Resulting Numbers: [27, 27] Generated Node #0,2,1: 84:[27, 27] Operation: 31-4=27 Exploring Operation: 31-27=4, Resulting Numbers: [4, 4] Generated Node #0,2,2: 84:[4, 4] Operation: 31-27=4 Moving to Node #0,2,2 Current State: 84:[4, 4], Operations: ['95-64=31', '31-27=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,84 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[27, 27], Operations: ['95-64=31', '31-4=27'] Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,84 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,84 unequal: No Solution Exploring Operation: 27+27=54, Resulting Numbers: [54] 54,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[31, 23], Operations: ['95-64=31', '27-4=23'] Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,84 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[95, 27, 16], Operations: ['64/4=16'] Exploring Operation: 95-16=79, Resulting Numbers: [27, 79] Generated Node #0,0,0: 84:[27, 79] Operation: 95-16=79 Exploring Operation: 27+16=43, Resulting Numbers: [95, 43] Generated Node #0,0,1: 84:[95, 43] Operation: 27+16=43 Exploring Operation: 27-16=11, Resulting Numbers: [95, 11] Generated Node #0,0,2: 84:[95, 11] Operation: 27-16=11 Moving to Node #0,0,0 Current State: 84:[27, 79], Operations: ['64/4=16', '95-16=79'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 27*79=2133, Resulting Numbers: [2133] 2133,84 unequal: No Solution Exploring Operation: 27+79=106, Resulting Numbers: [106] 106,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[95, 43], Operations: ['64/4=16', '27+16=43'] Exploring Operation: 95*43=4085, Resulting Numbers: [4085] 4085,84 unequal: No Solution Exploring Operation: 95-43=52, Resulting Numbers: [52] 52,84 unequal: No Solution Exploring Operation: 95+43=138, Resulting Numbers: [138] 138,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[95, 11], Operations: ['64/4=16', '27-16=11'] Exploring Operation: 95+11=106, Resulting Numbers: [106] 106,84 unequal: No Solution Exploring Operation: 95*11=1045, Resulting Numbers: [1045] 1045,84 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[64, 95, 4, 27], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [95, 27, 16] Generated Node #0,0: 84:[95, 27, 16] Operation: 64/4=16 Moving to Node #0,0 Current State: 84:[95, 27, 16], Operations: ['64/4=16'] Exploring Operation: 27-16=11, Resulting Numbers: [95, 11] Generated Node #0,0,2: 84:[95, 11] Operation: 27-16=11 Moving to Node #0,0,2 Current State: 84:[95, 11], Operations: ['64/4=16', '27-16=11'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 35, 85, 10, 49 ]
61
[ "35+85=120", "10+49=59", "120-59=61" ]
Current State: 61:[35, 85, 10, 49], Operations: [] Exploring Operation: 35+85=120, Resulting Numbers: [10, 49, 120] Generated Node #2: [10, 49, 120] from Operation: 35+85=120 Current State: 61:[10, 49, 120], Operations: ['35+85=120'] Exploring Operation: 10+49=59, Resulting Numbers: [120, 59] Generated Node #3: [120, 59] from Operation: 10+49=59 Current State: 61:[120, 59], Operations: ['35+85=120', '10+49=59'] Exploring Operation: 120-59=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[35, 85, 10, 49], Operations: [] Exploring Operation: 85+10=95, Resulting Numbers: [35, 49, 95] Generated Node #0,0: 61:[35, 49, 95] Operation: 85+10=95 Exploring Operation: 85-10=75, Resulting Numbers: [35, 49, 75] Generated Node #0,1: 61:[35, 49, 75] Operation: 85-10=75 Exploring Operation: 35-10=25, Resulting Numbers: [85, 49, 25] Generated Node #0,2: 61:[85, 49, 25] Operation: 35-10=25 Exploring Operation: 35+10=45, Resulting Numbers: [85, 49, 45] Generated Node #0,3: 61:[85, 49, 45] Operation: 35+10=45 Exploring Operation: 10+49=59, Resulting Numbers: [35, 85, 59] Generated Node #0,4: 61:[35, 85, 59] Operation: 10+49=59 Moving to Node #0,1 Current State: 61:[35, 49, 75], Operations: ['85-10=75'] Exploring Operation: 49-35=14, Resulting Numbers: [75, 14] Generated Node #0,1,0: 61:[75, 14] Operation: 49-35=14 Exploring Operation: 75-35=40, Resulting Numbers: [49, 40] Generated Node #0,1,1: 61:[49, 40] Operation: 75-35=40 Exploring Operation: 75-49=26, Resulting Numbers: [35, 26] Generated Node #0,1,2: 61:[35, 26] Operation: 75-49=26 Exploring Operation: 35+49=84, Resulting Numbers: [75, 84] Generated Node #0,1,3: 61:[75, 84] Operation: 35+49=84 Exploring Operation: 35+75=110, Resulting Numbers: [49, 110] Generated Node #0,1,4: 61:[49, 110] Operation: 35+75=110 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[49, 40], Operations: ['85-10=75', '75-35=40'] Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,61 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,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,3 Current State: 61:[75, 84], Operations: ['85-10=75', '35+49=84'] Exploring Operation: 75+84=159, Resulting Numbers: [159] 159,61 unequal: No Solution Exploring Operation: 75*84=6300, Resulting Numbers: [6300] 6300,61 unequal: No Solution Exploring Operation: 84-75=9, Resulting Numbers: [9] 9,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,0 Current State: 61:[75, 14], Operations: ['85-10=75', '49-35=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,61 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[35, 85, 10, 49], Operations: [] Exploring Operation: 85-10=75, Resulting Numbers: [35, 49, 75] Generated Node #0,1: 61:[35, 49, 75] Operation: 85-10=75 Moving to Node #0,1 Current State: 61:[35, 49, 75], Operations: ['85-10=75'] Exploring Operation: 49-35=14, Resulting Numbers: [75, 14] Generated Node #0,1,0: 61:[75, 14] Operation: 49-35=14 Moving to Node #0,1,0 Current State: 61:[75, 14], Operations: ['85-10=75', '49-35=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 55, 32, 63, 20 ]
24
[ "63-55=8", "32/8=4", "20+4=24" ]
Current State: 24:[55, 32, 63, 20], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [32, 20, 8] Generated Node #2: [32, 20, 8] from Operation: 63-55=8 Current State: 24:[32, 20, 8], Operations: ['63-55=8'] Exploring Operation: 32/8=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 32/8=4 Current State: 24:[20, 4], Operations: ['63-55=8', '32/8=4'] Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[55, 32, 63, 20], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [32, 20, 8] Generated Node #0,0: 24:[32, 20, 8] Operation: 63-55=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[32, 20, 8], Operations: ['63-55=8'] Exploring Operation: 32-20=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 24:[8, 12] Operation: 32-20=12 Moving to Node #0,0,0 Current State: 24:[8, 12], Operations: ['63-55=8', '32-20=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,24 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
[ 16, 11, 8, 5 ]
29
[ "16-8=8", "5*8=40", "40-11=29" ]
Current State: 29:[16, 11, 8, 5], Operations: [] Exploring Operation: 16-8=8, Resulting Numbers: [11, 5, 8] Generated Node #2: [11, 5, 8] from Operation: 16-8=8 Current State: 29:[11, 5, 8], Operations: ['16-8=8'] Exploring Operation: 5*8=40, Resulting Numbers: [11, 40] Generated Node #3: [11, 40] from Operation: 5*8=40 Current State: 29:[11, 40], Operations: ['16-8=8', '5*8=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 11, 8, 5], Operations: [] Exploring Operation: 8*5=40, Resulting Numbers: [16, 11, 40] Generated Node #0,0: 29:[16, 11, 40] Operation: 8*5=40 Exploring Operation: 16+5=21, Resulting Numbers: [11, 8, 21] Generated Node #0,1: 29:[11, 8, 21] Operation: 16+5=21 Exploring Operation: 16+8=24, Resulting Numbers: [11, 5, 24] Generated Node #0,2: 29:[11, 5, 24] Operation: 16+8=24 Exploring Operation: 16+11=27, Resulting Numbers: [8, 5, 27] Generated Node #0,3: 29:[8, 5, 27] Operation: 16+11=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[16, 11, 40], Operations: ['8*5=40'] Exploring Operation: 40-11=29, Resulting Numbers: [16, 29] Generated Node #0,0,0: 29:[16, 29] Operation: 40-11=29 Exploring Operation: 40-16=24, Resulting Numbers: [11, 24] Generated Node #0,0,1: 29:[11, 24] Operation: 40-16=24 Exploring Operation: 16+11=27, Resulting Numbers: [40, 27] Generated Node #0,0,2: 29:[40, 27] Operation: 16+11=27 Exploring Operation: 16-11=5, Resulting Numbers: [40, 5] Generated Node #0,0,3: 29:[40, 5] Operation: 16-11=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[16, 29], Operations: ['8*5=40', '40-11=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,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,2 Current State: 29:[40, 27], Operations: ['8*5=40', '16+11=27'] Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,29 unequal: No Solution Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,29 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[11, 24], Operations: ['8*5=40', '40-16=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,29 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 29:[40, 5], Operations: ['8*5=40', '16-11=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,29 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,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:[11, 8, 21], Operations: ['16+5=21'] Exploring Operation: 8+21=29, Resulting Numbers: [11, 29] Generated Node #0,1,0: 29:[11, 29] Operation: 8+21=29 Exploring Operation: 11-8=3, Resulting Numbers: [21, 3] Generated Node #0,1,1: 29:[21, 3] Operation: 11-8=3 Exploring Operation: 11+8=19, Resulting Numbers: [21, 19] Generated Node #0,1,2: 29:[21, 19] Operation: 11+8=19 Exploring Operation: 11+21=32, Resulting Numbers: [8, 32] Generated Node #0,1,3: 29:[8, 32] Operation: 11+21=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[11, 29], Operations: ['16+5=21', '8+21=29'] Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[21, 19], Operations: ['16+5=21', '11+8=19'] Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,29 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[8, 32], Operations: ['16+5=21', '11+21=32'] Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,29 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[21, 3], Operations: ['16+5=21', '11-8=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,29 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,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,2 Current State: 29:[11, 5, 24], Operations: ['16+8=24'] Exploring Operation: 11-5=6, Resulting Numbers: [24, 6] Generated Node #0,2,0: 29:[24, 6] Operation: 11-5=6 Exploring Operation: 5+24=29, Resulting Numbers: [11, 29] Generated Node #0,2,1: 29:[11, 29] Operation: 5+24=29 Exploring Operation: 24-5=19, Resulting Numbers: [11, 19] Generated Node #0,2,2: 29:[11, 19] Operation: 24-5=19 Exploring Operation: 11+5=16, Resulting Numbers: [24, 16] Generated Node #0,2,3: 29:[24, 16] Operation: 11+5=16 Moving to Node #0,2,1 Current State: 29:[11, 29], Operations: ['16+8=24', '5+24=29'] Exploring Operation: 11*29=319, Resulting Numbers: [319] 319,29 unequal: No Solution Exploring Operation: 11+29=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[24, 16], Operations: ['16+8=24', '11+5=16'] Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[11, 19], Operations: ['16+8=24', '24-5=19'] Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,29 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[24, 6], Operations: ['16+8=24', '11-5=6'] Exploring Operation: 24*6=144, Resulting Numbers: [144] 144,29 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,29 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[8, 5, 27], Operations: ['16+11=27'] Exploring Operation: 8+5=13, Resulting Numbers: [27, 13] Generated Node #0,3,0: 29:[27, 13] Operation: 8+5=13 Exploring Operation: 8*5=40, Resulting Numbers: [27, 40] Generated Node #0,3,1: 29:[27, 40] Operation: 8*5=40 Exploring Operation: 8-5=3, Resulting Numbers: [27, 3] Generated Node #0,3,2: 29:[27, 3] Operation: 8-5=3 Exploring Operation: 5+27=32, Resulting Numbers: [8, 32] Generated Node #0,3,3: 29:[8, 32] Operation: 5+27=32 Moving to Node #0,3,1 Current State: 29:[27, 40], Operations: ['16+11=27', '8*5=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,29 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,29 unequal: No Solution Moving to Node #0,3,0 Current State: 29:[27, 13], Operations: ['16+11=27', '8+5=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,29 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,29 unequal: No Solution Moving to Node #0,3,3 Current State: 29:[8, 32], Operations: ['16+11=27', '5+27=32'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,29 unequal: No Solution Exploring Operation: 8*32=256, Resulting Numbers: [256] 256,29 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,29 unequal: No Solution Moving to Node #0,3,2 Current State: 29:[27, 3], Operations: ['16+11=27', '8-5=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,29 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,29 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
[ 32, 38, 4, 8 ]
46
[ "32/8=4", "38+4=42", "4+42=46" ]
Current State: 46:[32, 38, 4, 8], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [38, 4, 4] Generated Node #2: [38, 4, 4] from Operation: 32/8=4 Current State: 46:[38, 4, 4], Operations: ['32/8=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,46 equal: Goal Reached Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[32, 38, 4, 8], Operations: [] Exploring Operation: 38+8=46, Resulting Numbers: [32, 4, 46] Generated Node #0,0: 46:[32, 4, 46] Operation: 38+8=46 Exploring Operation: 38-32=6, Resulting Numbers: [4, 8, 6] Generated Node #0,1: 46:[4, 8, 6] Operation: 38-32=6 Exploring Operation: 32-8=24, Resulting Numbers: [38, 4, 24] Generated Node #0,2: 46:[38, 4, 24] Operation: 32-8=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[32, 4, 46], Operations: ['38+8=46'] Exploring Operation: 32+4=36, Resulting Numbers: [46, 36] Generated Node #0,0,0: 46:[46, 36] Operation: 32+4=36 Exploring Operation: 32-4=28, Resulting Numbers: [46, 28] Generated Node #0,0,1: 46:[46, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [46, 8] Generated Node #0,0,2: 46:[46, 8] Operation: 32/4=8 Moving to Node #0,0,1 Current State: 46:[46, 28], Operations: ['38+8=46', '32-4=28'] Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[46, 8], Operations: ['38+8=46', '32/4=8'] Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,46 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,46 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[46, 36], Operations: ['38+8=46', '32+4=36'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,46 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,46 unequal: No Solution No 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: 46:[38, 4, 24], Operations: ['32-8=24'] Exploring Operation: 24-4=20, Resulting Numbers: [38, 20] Generated Node #0,2,0: 46:[38, 20] Operation: 24-4=20 Exploring Operation: 38-24=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 46:[4, 14] Operation: 38-24=14 Exploring Operation: 38+4=42, Resulting Numbers: [24, 42] Generated Node #0,2,2: 46:[24, 42] Operation: 38+4=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[24, 42], Operations: ['32-8=24', '38+4=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,46 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,46 unequal: No Solution No 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: 46:[38, 20], Operations: ['32-8=24', '24-4=20'] Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,46 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,46 unequal: No Solution No 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: 46:[4, 14], Operations: ['32-8=24', '38-24=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,46 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: 46:[4, 8, 6], Operations: ['38-32=6'] Exploring Operation: 8*6=48, Resulting Numbers: [4, 48] Generated Node #0,1,0: 46:[4, 48] Operation: 8*6=48 Exploring Operation: 8/4=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 46:[6, 2] Operation: 8/4=2 Exploring Operation: 8-6=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 46:[4, 2] Operation: 8-6=2 Moving to Node #0,1,2 Current State: 46:[4, 2], Operations: ['38-32=6', '8-6=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[4, 48], Operations: ['38-32=6', '8*6=48'] Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[6, 2], Operations: ['38-32=6', '8/4=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,46 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
[ 11, 12, 56, 14 ]
52
[ "14-11=3", "12/3=4", "56-4=52" ]
Current State: 52:[11, 12, 56, 14], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [12, 56, 3] Generated Node #2: [12, 56, 3] from Operation: 14-11=3 Current State: 52:[12, 56, 3], Operations: ['14-11=3'] Exploring Operation: 12/3=4, Resulting Numbers: [56, 4] Generated Node #3: [56, 4] from Operation: 12/3=4 Current State: 52:[56, 4], Operations: ['14-11=3', '12/3=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 12, 56, 14], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [11, 12, 4] Generated Node #0,0: 52:[11, 12, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 52:[11, 12, 4], Operations: ['56/14=4'] Exploring Operation: 12-11=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 52:[4, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[4, 1], Operations: ['56/14=4', '12-11=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 87, 48, 23 ]
80
[ "87-48=39", "39-23=16", "5*16=80" ]
Current State: 80:[5, 87, 48, 23], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [5, 23, 39] Generated Node #2: [5, 23, 39] from Operation: 87-48=39 Current State: 80:[5, 23, 39], Operations: ['87-48=39'] Exploring Operation: 39-23=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 39-23=16 Current State: 80:[5, 16], Operations: ['87-48=39', '39-23=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[5, 87, 48, 23], Operations: [] Exploring Operation: 48-23=25, Resulting Numbers: [5, 87, 25] Generated Node #0,0: 80:[5, 87, 25] Operation: 48-23=25 Exploring Operation: 87-48=39, Resulting Numbers: [5, 23, 39] Generated Node #0,1: 80:[5, 23, 39] Operation: 87-48=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[5, 23, 39], Operations: ['87-48=39'] Exploring Operation: 23-5=18, Resulting Numbers: [39, 18] Generated Node #0,1,0: 80:[39, 18] Operation: 23-5=18 Exploring Operation: 39-23=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 80:[5, 16] Operation: 39-23=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[5, 16], Operations: ['87-48=39', '39-23=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[5, 87, 48, 23], Operations: [] Exploring Operation: 87-48=39, Resulting Numbers: [5, 23, 39] Generated Node #0,1: 80:[5, 23, 39] Operation: 87-48=39 Moving to Node #0,1 Current State: 80:[5, 23, 39], Operations: ['87-48=39'] Exploring Operation: 39-23=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 80:[5, 16] Operation: 39-23=16 Moving to Node #0,1,1 Current State: 80:[5, 16], Operations: ['87-48=39', '39-23=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 2, 40, 16, 27 ]
37
[ "2*40=80", "16+27=43", "80-43=37" ]
Current State: 37:[2, 40, 16, 27], Operations: [] Exploring Operation: 2*40=80, Resulting Numbers: [16, 27, 80] Generated Node #2: [16, 27, 80] from Operation: 2*40=80 Current State: 37:[16, 27, 80], Operations: ['2*40=80'] Exploring Operation: 16+27=43, Resulting Numbers: [80, 43] Generated Node #3: [80, 43] from Operation: 16+27=43 Current State: 37:[80, 43], Operations: ['2*40=80', '16+27=43'] Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[2, 40, 16, 27], Operations: [] Exploring Operation: 2*16=32, Resulting Numbers: [40, 27, 32] Generated Node #0,0: 37:[40, 27, 32] Operation: 2*16=32 Exploring Operation: 40-2=38, Resulting Numbers: [16, 27, 38] Generated Node #0,1: 37:[16, 27, 38] Operation: 40-2=38 Moving to Node #0,0 Current State: 37:[40, 27, 32], Operations: ['2*16=32'] Exploring Operation: 40-27=13, Resulting Numbers: [32, 13] Generated Node #0,0,0: 37:[32, 13] Operation: 40-27=13 Exploring Operation: 27+32=59, Resulting Numbers: [40, 59] Generated Node #0,0,1: 37:[40, 59] Operation: 27+32=59 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[40, 59], Operations: ['2*16=32', '27+32=59'] Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,37 unequal: No Solution Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,37 unequal: No Solution No 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: 37:[32, 13], Operations: ['2*16=32', '40-27=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,37 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,37 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: 37:[16, 27, 38], Operations: ['40-2=38'] Exploring Operation: 38-16=22, Resulting Numbers: [27, 22] Generated Node #0,1,0: 37:[27, 22] Operation: 38-16=22 Exploring Operation: 16+27=43, Resulting Numbers: [38, 43] Generated Node #0,1,1: 37:[38, 43] Operation: 16+27=43 Moving to Node #0,1,1 Current State: 37:[38, 43], Operations: ['40-2=38', '16+27=43'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[27, 22], Operations: ['40-2=38', '38-16=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 55, 96, 21 ]
64
[ "55/5=11", "96-21=75", "75-11=64" ]
Current State: 64:[5, 55, 96, 21], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [96, 21, 11] Generated Node #2: [96, 21, 11] from Operation: 55/5=11 Current State: 64:[96, 21, 11], Operations: ['55/5=11'] Exploring Operation: 96-21=75, Resulting Numbers: [11, 75] Generated Node #3: [11, 75] from Operation: 96-21=75 Current State: 64:[11, 75], Operations: ['55/5=11', '96-21=75'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[5, 55, 96, 21], Operations: [] Exploring Operation: 96-21=75, Resulting Numbers: [5, 55, 75] Generated Node #0,0: 64:[5, 55, 75] Operation: 96-21=75 Exploring Operation: 96-55=41, Resulting Numbers: [5, 21, 41] Generated Node #0,1: 64:[5, 21, 41] Operation: 96-55=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[5, 21, 41], Operations: ['96-55=41'] Exploring Operation: 41-21=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 64:[5, 20] Operation: 41-21=20 Exploring Operation: 21+41=62, Resulting Numbers: [5, 62] Generated Node #0,1,1: 64:[5, 62] Operation: 21+41=62 Moving to Node #0,1,1 Current State: 64:[5, 62], Operations: ['96-55=41', '21+41=62'] Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[5, 20], Operations: ['96-55=41', '41-21=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,64 unequal: No Solution No 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: 64:[5, 55, 75], Operations: ['96-21=75'] Exploring Operation: 75-55=20, Resulting Numbers: [5, 20] Generated Node #0,0,0: 64:[5, 20] Operation: 75-55=20 Exploring Operation: 75/5=15, Resulting Numbers: [55, 15] Generated Node #0,0,1: 64:[55, 15] Operation: 75/5=15 Moving to Node #0,0,0 Current State: 64:[5, 20], Operations: ['96-21=75', '75-55=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[55, 15], Operations: ['96-21=75', '75/5=15'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,64 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
[ 12, 96, 11, 95 ]
59
[ "12*11=132", "96+95=191", "191-132=59" ]
Current State: 59:[12, 96, 11, 95], Operations: [] Exploring Operation: 12*11=132, Resulting Numbers: [96, 95, 132] Generated Node #2: [96, 95, 132] from Operation: 12*11=132 Current State: 59:[96, 95, 132], Operations: ['12*11=132'] Exploring Operation: 96+95=191, Resulting Numbers: [132, 191] Generated Node #3: [132, 191] from Operation: 96+95=191 Current State: 59:[132, 191], Operations: ['12*11=132', '96+95=191'] Exploring Operation: 191-132=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[12, 96, 11, 95], Operations: [] Exploring Operation: 12+11=23, Resulting Numbers: [96, 95, 23] Generated Node #0,0: 59:[96, 95, 23] Operation: 12+11=23 Exploring Operation: 95-12=83, Resulting Numbers: [96, 11, 83] Generated Node #0,1: 59:[96, 11, 83] Operation: 95-12=83 Exploring Operation: 95-11=84, Resulting Numbers: [12, 96, 84] Generated Node #0,2: 59:[12, 96, 84] Operation: 95-11=84 Exploring Operation: 96-11=85, Resulting Numbers: [12, 95, 85] Generated Node #0,3: 59:[12, 95, 85] Operation: 96-11=85 Exploring Operation: 96-12=84, Resulting Numbers: [11, 95, 84] Generated Node #0,4: 59:[11, 95, 84] Operation: 96-12=84 Moving to Node #0,0 Current State: 59:[96, 95, 23], Operations: ['12+11=23'] Exploring Operation: 96-23=73, Resulting Numbers: [95, 73] Generated Node #0,0,0: 59:[95, 73] Operation: 96-23=73 Exploring Operation: 95-23=72, Resulting Numbers: [96, 72] Generated Node #0,0,1: 59:[96, 72] Operation: 95-23=72 Exploring Operation: 95+23=118, Resulting Numbers: [96, 118] Generated Node #0,0,2: 59:[96, 118] Operation: 95+23=118 Exploring Operation: 96-95=1, Resulting Numbers: [23, 1] Generated Node #0,0,3: 59:[23, 1] Operation: 96-95=1 Exploring Operation: 96+23=119, Resulting Numbers: [95, 119] Generated Node #0,0,4: 59:[95, 119] Operation: 96+23=119 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[95, 73], Operations: ['12+11=23', '96-23=73'] Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 95*73=6935, Resulting Numbers: [6935] 6935,59 unequal: No Solution Exploring Operation: 95+73=168, Resulting Numbers: [168] 168,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:[96, 72], Operations: ['12+11=23', '95-23=72'] Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,59 unequal: No Solution Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,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:[23, 1], Operations: ['12+11=23', '96-95=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,59 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[96, 118], Operations: ['12+11=23', '95+23=118'] Exploring Operation: 118-96=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 96+118=214, Resulting Numbers: [214] 214,59 unequal: No Solution Exploring Operation: 96*118=11328, Resulting Numbers: [11328] 11328,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:[95, 119], Operations: ['12+11=23', '96+23=119'] Exploring Operation: 95*119=11305, Resulting Numbers: [11305] 11305,59 unequal: No Solution Exploring Operation: 95+119=214, Resulting Numbers: [214] 214,59 unequal: No Solution Exploring Operation: 119-95=24, Resulting Numbers: [24] 24,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:[12, 96, 84], Operations: ['95-11=84'] Exploring Operation: 96-12=84, Resulting Numbers: [84, 84] Generated Node #0,2,0: 59:[84, 84] Operation: 96-12=84 Exploring Operation: 84-12=72, Resulting Numbers: [96, 72] Generated Node #0,2,1: 59:[96, 72] Operation: 84-12=72 Exploring Operation: 96/12=8, Resulting Numbers: [84, 8] Generated Node #0,2,2: 59:[84, 8] Operation: 96/12=8 Exploring Operation: 12+96=108, Resulting Numbers: [84, 108] Generated Node #0,2,3: 59:[84, 108] Operation: 12+96=108 Exploring Operation: 12+84=96, Resulting Numbers: [96, 96] Generated Node #0,2,4: 59:[96, 96] Operation: 12+84=96 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[84, 84], Operations: ['95-11=84', '96-12=84'] Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 84*84=7056, Resulting Numbers: [7056] 7056,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[96, 72], Operations: ['95-11=84', '84-12=72'] Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,59 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[84, 108], Operations: ['95-11=84', '12+96=108'] Exploring Operation: 84*108=9072, Resulting Numbers: [9072] 9072,59 unequal: No Solution Exploring Operation: 84+108=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,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,4 Current State: 59:[96, 96], Operations: ['95-11=84', '12+84=96'] Exploring Operation: 96+96=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 96/96=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 96-96=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 96*96=9216, Resulting Numbers: [9216] 9216,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,2 Current State: 59:[84, 8], Operations: ['95-11=84', '96/12=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,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:[11, 95, 84], Operations: ['96-12=84'] Exploring Operation: 95-84=11, Resulting Numbers: [11, 11] Generated Node #0,4,0: 59:[11, 11] Operation: 95-84=11 Exploring Operation: 11+95=106, Resulting Numbers: [84, 106] Generated Node #0,4,1: 59:[84, 106] Operation: 11+95=106 Exploring Operation: 84-11=73, Resulting Numbers: [95, 73] Generated Node #0,4,2: 59:[95, 73] Operation: 84-11=73 Exploring Operation: 95-11=84, Resulting Numbers: [84, 84] Generated Node #0,4,3: 59:[84, 84] Operation: 95-11=84 Exploring Operation: 11+84=95, Resulting Numbers: [95, 95] Generated Node #0,4,4: 59:[95, 95] Operation: 11+84=95 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[95, 73], Operations: ['96-12=84', '84-11=73'] Exploring Operation: 95+73=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 95*73=6935, Resulting Numbers: [6935] 6935,59 unequal: No Solution Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,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:[84, 84], Operations: ['96-12=84', '95-11=84'] Exploring Operation: 84-84=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 84+84=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 84/84=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 84*84=7056, Resulting Numbers: [7056] 7056,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:[84, 106], Operations: ['96-12=84', '11+95=106'] Exploring Operation: 84+106=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 84*106=8904, Resulting Numbers: [8904] 8904,59 unequal: No Solution Exploring Operation: 106-84=22, Resulting Numbers: [22] 22,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:[95, 95], Operations: ['96-12=84', '11+84=95'] Exploring Operation: 95+95=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 95-95=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 95/95=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 95*95=9025, Resulting Numbers: [9025] 9025,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,0 Current State: 59:[11, 11], Operations: ['96-12=84', '95-84=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,59 unequal: No Solution Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 59:[96, 11, 83], Operations: ['95-12=83'] Exploring Operation: 11+83=94, Resulting Numbers: [96, 94] Generated Node #0,1,0: 59:[96, 94] Operation: 11+83=94 Exploring Operation: 96-11=85, Resulting Numbers: [83, 85] Generated Node #0,1,1: 59:[83, 85] Operation: 96-11=85 Exploring Operation: 83-11=72, Resulting Numbers: [96, 72] Generated Node #0,1,2: 59:[96, 72] Operation: 83-11=72 Exploring Operation: 96-83=13, Resulting Numbers: [11, 13] Generated Node #0,1,3: 59:[11, 13] Operation: 96-83=13 Exploring Operation: 96+11=107, Resulting Numbers: [83, 107] Generated Node #0,1,4: 59:[83, 107] Operation: 96+11=107 Moving to Node #0,3 Current State: 59:[12, 95, 85], Operations: ['96-11=85'] Exploring Operation: 12+85=97, Resulting Numbers: [95, 97] Generated Node #0,3,0: 59:[95, 97] Operation: 12+85=97 Exploring Operation: 95-85=10, Resulting Numbers: [12, 10] Generated Node #0,3,1: 59:[12, 10] Operation: 95-85=10 Exploring Operation: 12+95=107, Resulting Numbers: [85, 107] Generated Node #0,3,2: 59:[85, 107] Operation: 12+95=107 Exploring Operation: 95-12=83, Resulting Numbers: [85, 83] Generated Node #0,3,3: 59:[85, 83] Operation: 95-12=83 Exploring Operation: 85-12=73, Resulting Numbers: [95, 73] Generated Node #0,3,4: 59:[95, 73] Operation: 85-12=73 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[85, 83], Operations: ['96-11=85', '95-12=83'] Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,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,4 Current State: 59:[95, 73], Operations: ['96-11=85', '85-12=73'] Exploring Operation: 95*73=6935, Resulting Numbers: [6935] 6935,59 unequal: No Solution Exploring Operation: 95+73=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,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:[95, 97], Operations: ['96-11=85', '12+85=97'] Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 95+97=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 95*97=9215, Resulting Numbers: [9215] 9215,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, 107], Operations: ['96-11=85', '12+95=107'] Exploring Operation: 85+107=192, Resulting Numbers: [192] 192,59 unequal: No Solution Exploring Operation: 85*107=9095, Resulting Numbers: [9095] 9095,59 unequal: No Solution Exploring Operation: 107-85=22, Resulting Numbers: [22] 22,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:[12, 10], Operations: ['96-11=85', '95-85=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,59 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: 59:[83, 85], Operations: ['95-12=83', '96-11=85'] Exploring Operation: 83*85=7055, Resulting Numbers: [7055] 7055,59 unequal: No Solution Exploring Operation: 83+85=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[96, 72], Operations: ['95-12=83', '83-11=72'] Exploring Operation: 96+72=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 96*72=6912, Resulting Numbers: [6912] 6912,59 unequal: No Solution Exploring Operation: 96-72=24, Resulting Numbers: [24] 24,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[96, 94], Operations: ['95-12=83', '11+83=94'] Exploring Operation: 96*94=9024, Resulting Numbers: [9024] 9024,59 unequal: No Solution Exploring Operation: 96-94=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 96+94=190, Resulting Numbers: [190] 190,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[83, 107], Operations: ['95-12=83', '96+11=107'] Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,59 unequal: No Solution Exploring Operation: 83*107=8881, Resulting Numbers: [8881] 8881,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[11, 13], Operations: ['95-12=83', '96-83=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,59 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 4, 42, 38 ]
25
[ "42+38=80", "80/4=20", "5+20=25" ]
Current State: 25:[5, 4, 42, 38], Operations: [] Exploring Operation: 42+38=80, Resulting Numbers: [5, 4, 80] Generated Node #2: [5, 4, 80] from Operation: 42+38=80 Current State: 25:[5, 4, 80], Operations: ['42+38=80'] Exploring Operation: 80/4=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 80/4=20 Current State: 25:[5, 20], Operations: ['42+38=80', '80/4=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 4, 42, 38], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [4, 38, 37] Generated Node #0,0: 25:[4, 38, 37] Operation: 42-5=37 Exploring Operation: 42-38=4, Resulting Numbers: [5, 4, 4] Generated Node #0,1: 25:[5, 4, 4] Operation: 42-38=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[5, 4, 4], Operations: ['42-38=4'] Exploring Operation: 4+4=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 25:[5, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [5, 1] Generated Node #0,1,1: 25:[5, 1] Operation: 4/4=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[5, 8], Operations: ['42-38=4', '4+4=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 5+8=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,1,1 Current State: 25:[5, 1], Operations: ['42-38=4', '4/4=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,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,0 Current State: 25:[4, 38, 37], Operations: ['42-5=37'] Exploring Operation: 38-37=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 25:[4, 1] Operation: 38-37=1 Exploring Operation: 38-4=34, Resulting Numbers: [37, 34] Generated Node #0,0,1: 25:[37, 34] Operation: 38-4=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[4, 1], Operations: ['42-5=37', '38-37=1'] Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[37, 34], Operations: ['42-5=37', '38-4=34'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 37+34=71, Resulting Numbers: [71] 71,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_2
mult_heuristic
[ 1, 82, 19, 35 ]
27
[ "82-1=81", "19+35=54", "81-54=27" ]
Current State: 27:[1, 82, 19, 35], Operations: [] Exploring Operation: 82-1=81, Resulting Numbers: [19, 35, 81] Generated Node #2: [19, 35, 81] from Operation: 82-1=81 Current State: 27:[19, 35, 81], Operations: ['82-1=81'] Exploring Operation: 19+35=54, Resulting Numbers: [81, 54] Generated Node #3: [81, 54] from Operation: 19+35=54 Current State: 27:[81, 54], Operations: ['82-1=81', '19+35=54'] Exploring Operation: 81-54=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[1, 82, 19, 35], Operations: [] Exploring Operation: 82-35=47, Resulting Numbers: [1, 19, 47] Generated Node #0,0: 27:[1, 19, 47] Operation: 82-35=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[1, 19, 47], Operations: ['82-35=47'] Exploring Operation: 47-19=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 27:[1, 28] Operation: 47-19=28 Moving to Node #0,0,0 Current State: 27:[1, 28], Operations: ['82-35=47', '47-19=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[1, 82, 19, 35], Operations: [] Exploring Operation: 82-35=47, Resulting Numbers: [1, 19, 47] Generated Node #0,0: 27:[1, 19, 47] Operation: 82-35=47 Moving to Node #0,0 Current State: 27:[1, 19, 47], Operations: ['82-35=47'] Exploring Operation: 47-19=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 27:[1, 28] Operation: 47-19=28 Moving to Node #0,0,0 Current State: 27:[1, 28], Operations: ['82-35=47', '47-19=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 25, 78, 8, 7 ]
52
[ "78-25=53", "8-7=1", "53-1=52" ]
Current State: 52:[25, 78, 8, 7], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [8, 7, 53] Generated Node #2: [8, 7, 53] from Operation: 78-25=53 Current State: 52:[8, 7, 53], Operations: ['78-25=53'] Exploring Operation: 8-7=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 8-7=1 Current State: 52:[53, 1], Operations: ['78-25=53', '8-7=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[25, 78, 8, 7], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [25, 7, 70] Generated Node #0,0: 52:[25, 7, 70] Operation: 78-8=70 Exploring Operation: 78-25=53, Resulting Numbers: [8, 7, 53] Generated Node #0,1: 52:[8, 7, 53] Operation: 78-25=53 Moving to Node #0,1 Current State: 52:[8, 7, 53], Operations: ['78-25=53'] Exploring Operation: 8+7=15, Resulting Numbers: [53, 15] Generated Node #0,1,0: 52:[53, 15] Operation: 8+7=15 Exploring Operation: 8-7=1, Resulting Numbers: [53, 1] Generated Node #0,1,1: 52:[53, 1] Operation: 8-7=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[53, 1], Operations: ['78-25=53', '8-7=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[25, 78, 8, 7], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [8, 7, 53] Generated Node #0,1: 52:[8, 7, 53] Operation: 78-25=53 Moving to Node #0,1 Current State: 52:[8, 7, 53], Operations: ['78-25=53'] Exploring Operation: 8-7=1, Resulting Numbers: [53, 1] Generated Node #0,1,1: 52:[53, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 52:[53, 1], Operations: ['78-25=53', '8-7=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 14, 42, 94, 61 ]
36
[ "42/14=3", "94-61=33", "3+33=36" ]
Current State: 36:[14, 42, 94, 61], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [94, 61, 3] Generated Node #2: [94, 61, 3] from Operation: 42/14=3 Current State: 36:[94, 61, 3], Operations: ['42/14=3'] Exploring Operation: 94-61=33, Resulting Numbers: [3, 33] Generated Node #3: [3, 33] from Operation: 94-61=33 Current State: 36:[3, 33], Operations: ['42/14=3', '94-61=33'] Exploring Operation: 3+33=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 42, 94, 61], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [14, 61, 52] Generated Node #0,0: 36:[14, 61, 52] Operation: 94-42=52 Exploring Operation: 94-61=33, Resulting Numbers: [14, 42, 33] Generated Node #0,1: 36:[14, 42, 33] Operation: 94-61=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[14, 42, 33], Operations: ['94-61=33'] Exploring Operation: 42/14=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 36:[33, 3] Operation: 42/14=3 Exploring Operation: 42-33=9, Resulting Numbers: [14, 9] Generated Node #0,1,1: 36:[14, 9] Operation: 42-33=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[14, 9], Operations: ['94-61=33', '42-33=9'] Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,36 unequal: No Solution No 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: 36:[33, 3], Operations: ['94-61=33', '42/14=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,36 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[14, 42, 94, 61], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [14, 42, 33] Generated Node #0,1: 36:[14, 42, 33] Operation: 94-61=33 Moving to Node #0,1 Current State: 36:[14, 42, 33], Operations: ['94-61=33'] Exploring Operation: 42/14=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 36:[33, 3] Operation: 42/14=3 Moving to Node #0,1,0 Current State: 36:[33, 3], Operations: ['94-61=33', '42/14=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 31, 3, 89, 24 ]
68
[ "31-24=7", "3*7=21", "89-21=68" ]
Current State: 68:[31, 3, 89, 24], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [3, 89, 7] Generated Node #2: [3, 89, 7] from Operation: 31-24=7 Current State: 68:[3, 89, 7], Operations: ['31-24=7'] Exploring Operation: 3*7=21, Resulting Numbers: [89, 21] Generated Node #3: [89, 21] from Operation: 3*7=21 Current State: 68:[89, 21], Operations: ['31-24=7', '3*7=21'] Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[31, 3, 89, 24], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [31, 3, 65] Generated Node #0,0: 68:[31, 3, 65] Operation: 89-24=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[31, 3, 65], Operations: ['89-24=65'] Exploring Operation: 65-31=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 68:[3, 34] Operation: 65-31=34 Moving to Node #0,0,0 Current State: 68:[3, 34], Operations: ['89-24=65', '65-31=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,68 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
[ 76, 78, 67, 15 ]
97
[ "78-76=2", "15*2=30", "67+30=97" ]
Current State: 97:[76, 78, 67, 15], Operations: [] Exploring Operation: 78-76=2, Resulting Numbers: [67, 15, 2] Generated Node #2: [67, 15, 2] from Operation: 78-76=2 Current State: 97:[67, 15, 2], Operations: ['78-76=2'] Exploring Operation: 15*2=30, Resulting Numbers: [67, 30] Generated Node #3: [67, 30] from Operation: 15*2=30 Current State: 97:[67, 30], Operations: ['78-76=2', '15*2=30'] Exploring Operation: 67+30=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[76, 78, 67, 15], Operations: [] Exploring Operation: 76+15=91, Resulting Numbers: [78, 67, 91] Generated Node #0,0: 97:[78, 67, 91] Operation: 76+15=91 Exploring Operation: 78+15=93, Resulting Numbers: [76, 67, 93] Generated Node #0,1: 97:[76, 67, 93] Operation: 78+15=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[78, 67, 91], Operations: ['76+15=91'] Exploring Operation: 78+67=145, Resulting Numbers: [91, 145] Generated Node #0,0,0: 97:[91, 145] Operation: 78+67=145 Exploring Operation: 67+91=158, Resulting Numbers: [78, 158] Generated Node #0,0,1: 97:[78, 158] Operation: 67+91=158 Moving to Node #0,0,0 Current State: 97:[91, 145], Operations: ['76+15=91', '78+67=145'] Exploring Operation: 145-91=54, Resulting Numbers: [54] 54,97 unequal: No Solution Exploring Operation: 91+145=236, Resulting Numbers: [236] 236,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[78, 158], Operations: ['76+15=91', '67+91=158'] Exploring Operation: 158-78=80, Resulting Numbers: [80] 80,97 unequal: No Solution Exploring Operation: 78+158=236, Resulting Numbers: [236] 236,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[76, 67, 93], Operations: ['78+15=93'] Exploring Operation: 76+67=143, Resulting Numbers: [93, 143] Generated Node #0,1,0: 97:[93, 143] Operation: 76+67=143 Exploring Operation: 67+93=160, Resulting Numbers: [76, 160] Generated Node #0,1,1: 97:[76, 160] Operation: 67+93=160 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[93, 143], Operations: ['78+15=93', '76+67=143'] Exploring Operation: 93+143=236, Resulting Numbers: [236] 236,97 unequal: No Solution Exploring Operation: 143-93=50, Resulting Numbers: [50] 50,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[76, 160], Operations: ['78+15=93', '67+93=160'] Exploring Operation: 76+160=236, Resulting Numbers: [236] 236,97 unequal: No Solution Exploring Operation: 160-76=84, Resulting Numbers: [84] 84,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 26, 59, 90, 15 ]
75
[ "26+59=85", "90-85=5", "15*5=75" ]
Current State: 75:[26, 59, 90, 15], Operations: [] Exploring Operation: 26+59=85, Resulting Numbers: [90, 15, 85] Generated Node #2: [90, 15, 85] from Operation: 26+59=85 Current State: 75:[90, 15, 85], Operations: ['26+59=85'] Exploring Operation: 90-85=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 90-85=5 Current State: 75:[15, 5], Operations: ['26+59=85', '90-85=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[26, 59, 90, 15], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [26, 15, 31] Generated Node #0,0: 75:[26, 15, 31] Operation: 90-59=31 Exploring Operation: 90-15=75, Resulting Numbers: [26, 59, 75] Generated Node #0,1: 75:[26, 59, 75] Operation: 90-15=75 Exploring Operation: 90/15=6, Resulting Numbers: [26, 59, 6] Generated Node #0,2: 75:[26, 59, 6] Operation: 90/15=6 Exploring Operation: 59+15=74, Resulting Numbers: [26, 90, 74] Generated Node #0,3: 75:[26, 90, 74] Operation: 59+15=74 Moving to Node #0,0 Current State: 75:[26, 15, 31], Operations: ['90-59=31'] Exploring Operation: 31-26=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 31-26=5 Exploring Operation: 26-15=11, Resulting Numbers: [31, 11] Generated Node #0,0,1: 75:[31, 11] Operation: 26-15=11 Exploring Operation: 31-15=16, Resulting Numbers: [26, 16] Generated Node #0,0,2: 75:[26, 16] Operation: 31-15=16 Exploring Operation: 26+31=57, Resulting Numbers: [15, 57] Generated Node #0,0,3: 75:[15, 57] Operation: 26+31=57 Moving to Node #0,3 Current State: 75:[26, 90, 74], Operations: ['59+15=74'] Exploring Operation: 26+74=100, Resulting Numbers: [90, 100] Generated Node #0,3,0: 75:[90, 100] Operation: 26+74=100 Exploring Operation: 90-26=64, Resulting Numbers: [74, 64] Generated Node #0,3,1: 75:[74, 64] Operation: 90-26=64 Exploring Operation: 74-26=48, Resulting Numbers: [90, 48] Generated Node #0,3,2: 75:[90, 48] Operation: 74-26=48 Exploring Operation: 90-74=16, Resulting Numbers: [26, 16] Generated Node #0,3,3: 75:[26, 16] Operation: 90-74=16 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[26, 16], Operations: ['59+15=74', '90-74=16'] Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,75 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 75:[74, 64], Operations: ['59+15=74', '90-26=64'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,75 unequal: No Solution Exploring Operation: 74*64=4736, Resulting Numbers: [4736] 4736,75 unequal: No Solution Exploring Operation: 74+64=138, Resulting Numbers: [138] 138,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 75:[90, 48], Operations: ['59+15=74', '74-26=48'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,75 unequal: No Solution Exploring Operation: 90+48=138, Resulting Numbers: [138] 138,75 unequal: No Solution Exploring Operation: 90*48=4320, Resulting Numbers: [4320] 4320,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 75:[90, 100], Operations: ['59+15=74', '26+74=100'] Exploring Operation: 90+100=190, Resulting Numbers: [190] 190,75 unequal: No Solution Exploring Operation: 90*100=9000, Resulting Numbers: [9000] 9000,75 unequal: No Solution Exploring Operation: 100-90=10, Resulting Numbers: [10] 10,75 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: 75:[26, 59, 75], Operations: ['90-15=75'] Exploring Operation: 75-26=49, Resulting Numbers: [59, 49] Generated Node #0,1,0: 75:[59, 49] Operation: 75-26=49 Exploring Operation: 26+59=85, Resulting Numbers: [75, 85] Generated Node #0,1,1: 75:[75, 85] Operation: 26+59=85 Exploring Operation: 75-59=16, Resulting Numbers: [26, 16] Generated Node #0,1,2: 75:[26, 16] Operation: 75-59=16 Exploring Operation: 59-26=33, Resulting Numbers: [75, 33] Generated Node #0,1,3: 75:[75, 33] Operation: 59-26=33 Moving to Node #0,2 Current State: 75:[26, 59, 6], Operations: ['90/15=6'] Exploring Operation: 26+59=85, Resulting Numbers: [6, 85] Generated Node #0,2,0: 75:[6, 85] Operation: 26+59=85 Exploring Operation: 59-26=33, Resulting Numbers: [6, 33] Generated Node #0,2,1: 75:[6, 33] Operation: 59-26=33 Exploring Operation: 59+6=65, Resulting Numbers: [26, 65] Generated Node #0,2,2: 75:[26, 65] Operation: 59+6=65 Exploring Operation: 26-6=20, Resulting Numbers: [59, 20] Generated Node #0,2,3: 75:[59, 20] Operation: 26-6=20 Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['90-59=31', '31-26=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[26, 59, 90, 15], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [26, 15, 31] Generated Node #0,0: 75:[26, 15, 31] Operation: 90-59=31 Moving to Node #0,0 Current State: 75:[26, 15, 31], Operations: ['90-59=31'] Exploring Operation: 31-26=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 75:[15, 5] Operation: 31-26=5 Moving to Node #0,0,0 Current State: 75:[15, 5], Operations: ['90-59=31', '31-26=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 15, 83, 30, 37 ]
10
[ "83+30=113", "37+113=150", "150/15=10" ]
Current State: 10:[15, 83, 30, 37], Operations: [] Exploring Operation: 83+30=113, Resulting Numbers: [15, 37, 113] Generated Node #2: [15, 37, 113] from Operation: 83+30=113 Current State: 10:[15, 37, 113], Operations: ['83+30=113'] Exploring Operation: 37+113=150, Resulting Numbers: [15, 150] Generated Node #3: [15, 150] from Operation: 37+113=150 Current State: 10:[15, 150], Operations: ['83+30=113', '37+113=150'] Exploring Operation: 150/15=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[15, 83, 30, 37], Operations: [] Exploring Operation: 83-37=46, Resulting Numbers: [15, 30, 46] Generated Node #0,0: 10:[15, 30, 46] Operation: 83-37=46 Moving to Node #0,0 Current State: 10:[15, 30, 46], Operations: ['83-37=46'] Exploring Operation: 46-30=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 10:[15, 16] Operation: 46-30=16 Moving to Node #0,0,0 Current State: 10:[15, 16], Operations: ['83-37=46', '46-30=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,10 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 23, 36, 79, 56 ]
35
[ "79-23=56", "56/56=1", "36-1=35" ]
Current State: 35:[23, 36, 79, 56], Operations: [] Exploring Operation: 79-23=56, Resulting Numbers: [36, 56, 56] Generated Node #2: [36, 56, 56] from Operation: 79-23=56 Current State: 35:[36, 56, 56], Operations: ['79-23=56'] Exploring Operation: 56/56=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 56/56=1 Current State: 35:[36, 1], Operations: ['79-23=56', '56/56=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[23, 36, 79, 56], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [23, 36, 23] Generated Node #0,0: 35:[23, 36, 23] Operation: 79-56=23 Exploring Operation: 79-36=43, Resulting Numbers: [23, 56, 43] Generated Node #0,1: 35:[23, 56, 43] Operation: 79-36=43 Moving to Node #0,0 Current State: 35:[23, 36, 23], Operations: ['79-56=23'] Exploring Operation: 23-23=0, Resulting Numbers: [36, 0] Generated Node #0,0,0: 35:[36, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 23/23=1 Moving to Node #0,1 Current State: 35:[23, 56, 43], Operations: ['79-36=43'] Exploring Operation: 56-43=13, Resulting Numbers: [23, 13] Generated Node #0,1,0: 35:[23, 13] Operation: 56-43=13 Exploring Operation: 56-23=33, Resulting Numbers: [43, 33] Generated Node #0,1,1: 35:[43, 33] Operation: 56-23=33 Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['79-56=23', '23/23=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,35 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[23, 36, 79, 56], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [23, 36, 23] Generated Node #0,0: 35:[23, 36, 23] Operation: 79-56=23 Moving to Node #0,0 Current State: 35:[23, 36, 23], Operations: ['79-56=23'] Exploring Operation: 23/23=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 35:[36, 1] Operation: 23/23=1 Moving to Node #0,0,1 Current State: 35:[36, 1], Operations: ['79-56=23', '23/23=1'] Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 34, 65, 85, 30 ]
38
[ "65+30=95", "34*95=3230", "3230/85=38" ]
Current State: 38:[34, 65, 85, 30], Operations: [] Exploring Operation: 65+30=95, Resulting Numbers: [34, 85, 95] Generated Node #2: [34, 85, 95] from Operation: 65+30=95 Current State: 38:[34, 85, 95], Operations: ['65+30=95'] Exploring Operation: 34*95=3230, Resulting Numbers: [85, 3230] Generated Node #3: [85, 3230] from Operation: 34*95=3230 Current State: 38:[85, 3230], Operations: ['65+30=95', '34*95=3230'] Exploring Operation: 3230/85=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[34, 65, 85, 30], Operations: [] Exploring Operation: 85-30=55, Resulting Numbers: [34, 65, 55] Generated Node #0,0: 38:[34, 65, 55] Operation: 85-30=55 Exploring Operation: 85-34=51, Resulting Numbers: [65, 30, 51] Generated Node #0,1: 38:[65, 30, 51] Operation: 85-34=51 Exploring Operation: 65-34=31, Resulting Numbers: [85, 30, 31] Generated Node #0,2: 38:[85, 30, 31] Operation: 65-34=31 Exploring Operation: 65-30=35, Resulting Numbers: [34, 85, 35] Generated Node #0,3: 38:[34, 85, 35] Operation: 65-30=35 Exploring Operation: 85-65=20, Resulting Numbers: [34, 30, 20] Generated Node #0,4: 38:[34, 30, 20] Operation: 85-65=20 Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[34, 30, 20], Operations: ['85-65=20'] Exploring Operation: 34+20=54, Resulting Numbers: [30, 54] Generated Node #0,4,0: 38:[30, 54] Operation: 34+20=54 Exploring Operation: 34-20=14, Resulting Numbers: [30, 14] Generated Node #0,4,1: 38:[30, 14] Operation: 34-20=14 Exploring Operation: 30-20=10, Resulting Numbers: [34, 10] Generated Node #0,4,2: 38:[34, 10] Operation: 30-20=10 Exploring Operation: 30+20=50, Resulting Numbers: [34, 50] Generated Node #0,4,3: 38:[34, 50] Operation: 30+20=50 Exploring Operation: 34-30=4, Resulting Numbers: [20, 4] Generated Node #0,4,4: 38:[20, 4] Operation: 34-30=4 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 38:[20, 4], Operations: ['85-65=20', '34-30=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,38 unequal: No Solution No 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: 38:[34, 10], Operations: ['85-65=20', '30-20=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,38 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,38 unequal: No Solution No 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: 38:[30, 14], Operations: ['85-65=20', '34-20=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 38:[34, 50], Operations: ['85-65=20', '30+20=50'] Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,38 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,38 unequal: No Solution No 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: 38:[30, 54], Operations: ['85-65=20', '34+20=54'] Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,38 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,38 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: 38:[34, 65, 55], Operations: ['85-30=55'] Exploring Operation: 65-34=31, Resulting Numbers: [55, 31] Generated Node #0,0,0: 38:[55, 31] Operation: 65-34=31 Exploring Operation: 34+65=99, Resulting Numbers: [55, 99] Generated Node #0,0,1: 38:[55, 99] Operation: 34+65=99 Exploring Operation: 65-55=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 38:[34, 10] Operation: 65-55=10 Exploring Operation: 34+55=89, Resulting Numbers: [65, 89] Generated Node #0,0,3: 38:[65, 89] Operation: 34+55=89 Exploring Operation: 55-34=21, Resulting Numbers: [65, 21] Generated Node #0,0,4: 38:[65, 21] Operation: 55-34=21 Moving to Node #0,0,2 Current State: 38:[34, 10], Operations: ['85-30=55', '65-55=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,38 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[55, 31], Operations: ['85-30=55', '65-34=31'] Exploring Operation: 55*31=1705, Resulting Numbers: [1705] 1705,38 unequal: No Solution Exploring Operation: 55+31=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[65, 21], Operations: ['85-30=55', '55-34=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[55, 99], Operations: ['85-30=55', '34+65=99'] Exploring Operation: 55*99=5445, Resulting Numbers: [5445] 5445,38 unequal: No Solution Exploring Operation: 99-55=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 55+99=154, Resulting Numbers: [154] 154,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[65, 89], Operations: ['85-30=55', '34+55=89'] Exploring Operation: 65*89=5785, Resulting Numbers: [5785] 5785,38 unequal: No Solution Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 65+89=154, Resulting Numbers: [154] 154,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,1 Current State: 38:[65, 30, 51], Operations: ['85-34=51'] Exploring Operation: 65-51=14, Resulting Numbers: [30, 14] Generated Node #0,1,0: 38:[30, 14] Operation: 65-51=14 Exploring Operation: 51-30=21, Resulting Numbers: [65, 21] Generated Node #0,1,1: 38:[65, 21] Operation: 51-30=21 Exploring Operation: 30+51=81, Resulting Numbers: [65, 81] Generated Node #0,1,2: 38:[65, 81] Operation: 30+51=81 Exploring Operation: 65+30=95, Resulting Numbers: [51, 95] Generated Node #0,1,3: 38:[51, 95] Operation: 65+30=95 Exploring Operation: 65-30=35, Resulting Numbers: [51, 35] Generated Node #0,1,4: 38:[51, 35] Operation: 65-30=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[30, 14], Operations: ['85-34=51', '65-51=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,38 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,38 unequal: No Solution No 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: 38:[51, 35], Operations: ['85-34=51', '65-30=35'] Exploring Operation: 51*35=1785, Resulting Numbers: [1785] 1785,38 unequal: No Solution Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 51+35=86, Resulting Numbers: [86] 86,38 unequal: No Solution No 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: 38:[65, 21], Operations: ['85-34=51', '51-30=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,38 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,38 unequal: No Solution No 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: 38:[65, 81], Operations: ['85-34=51', '30+51=81'] Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,38 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,38 unequal: No Solution No 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: 38:[51, 95], Operations: ['85-34=51', '65+30=95'] Exploring Operation: 95-51=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 51*95=4845, Resulting Numbers: [4845] 4845,38 unequal: No Solution Exploring Operation: 51+95=146, Resulting Numbers: [146] 146,38 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: 38:[34, 85, 35], Operations: ['65-30=35'] Exploring Operation: 85-35=50, Resulting Numbers: [34, 50] Generated Node #0,3,0: 38:[34, 50] Operation: 85-35=50 Exploring Operation: 34+85=119, Resulting Numbers: [35, 119] Generated Node #0,3,1: 38:[35, 119] Operation: 34+85=119 Exploring Operation: 34+35=69, Resulting Numbers: [85, 69] Generated Node #0,3,2: 38:[85, 69] Operation: 34+35=69 Exploring Operation: 85-34=51, Resulting Numbers: [35, 51] Generated Node #0,3,3: 38:[35, 51] Operation: 85-34=51 Exploring Operation: 35-34=1, Resulting Numbers: [85, 1] Generated Node #0,3,4: 38:[85, 1] Operation: 35-34=1 Moving to Node #0,3,0 Current State: 38:[34, 50], Operations: ['65-30=35', '85-35=50'] Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,38 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[35, 51], Operations: ['65-30=35', '85-34=51'] Exploring Operation: 51-35=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 35+51=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 35*51=1785, Resulting Numbers: [1785] 1785,38 unequal: No Solution Moving to Node #0,3,4 Current State: 38:[85, 1], Operations: ['65-30=35', '35-34=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[85, 69], Operations: ['65-30=35', '34+35=69'] Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,38 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[35, 119], Operations: ['65-30=35', '34+85=119'] Exploring Operation: 35+119=154, Resulting Numbers: [154] 154,38 unequal: No Solution Exploring Operation: 35*119=4165, Resulting Numbers: [4165] 4165,38 unequal: No Solution Exploring Operation: 119-35=84, Resulting Numbers: [84] 84,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 Current State: 38:[85, 30, 31], Operations: ['65-34=31'] Exploring Operation: 85-31=54, Resulting Numbers: [30, 54] Generated Node #0,2,0: 38:[30, 54] Operation: 85-31=54 Exploring Operation: 85+30=115, Resulting Numbers: [31, 115] Generated Node #0,2,1: 38:[31, 115] Operation: 85+30=115 Exploring Operation: 85-30=55, Resulting Numbers: [31, 55] Generated Node #0,2,2: 38:[31, 55] Operation: 85-30=55 Exploring Operation: 31-30=1, Resulting Numbers: [85, 1] Generated Node #0,2,3: 38:[85, 1] Operation: 31-30=1 Exploring Operation: 30+31=61, Resulting Numbers: [85, 61] Generated Node #0,2,4: 38:[85, 61] Operation: 30+31=61 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[30, 54], Operations: ['65-34=31', '85-31=54'] Exploring Operation: 30*54=1620, Resulting Numbers: [1620] 1620,38 unequal: No Solution Exploring Operation: 30+54=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,38 unequal: No Solution No 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: 38:[31, 55], Operations: ['65-34=31', '85-30=55'] Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,38 unequal: No Solution No 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: 38:[85, 1], Operations: ['65-34=31', '31-30=1'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,38 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,38 unequal: No Solution Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 85*1=85, Resulting Numbers: [85] 85,38 unequal: No Solution No 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: 38:[85, 61], Operations: ['65-34=31', '30+31=61'] Exploring Operation: 85*61=5185, Resulting Numbers: [5185] 5185,38 unequal: No Solution Exploring Operation: 85-61=24, Resulting Numbers: [24] 24,38 unequal: No Solution Exploring Operation: 85+61=146, Resulting Numbers: [146] 146,38 unequal: No Solution No 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: 38:[31, 115], Operations: ['65-34=31', '85+30=115'] Exploring Operation: 31+115=146, Resulting Numbers: [146] 146,38 unequal: No Solution Exploring Operation: 115-31=84, Resulting Numbers: [84] 84,38 unequal: No Solution Exploring Operation: 31*115=3565, Resulting Numbers: [3565] 3565,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 39, 63, 29, 56 ]
70
[ "39-29=10", "63-56=7", "10*7=70" ]
Current State: 70:[39, 63, 29, 56], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [63, 56, 10] Generated Node #2: [63, 56, 10] from Operation: 39-29=10 Current State: 70:[63, 56, 10], Operations: ['39-29=10'] Exploring Operation: 63-56=7, Resulting Numbers: [10, 7] Generated Node #3: [10, 7] from Operation: 63-56=7 Current State: 70:[10, 7], Operations: ['39-29=10', '63-56=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[39, 63, 29, 56], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [39, 29, 7] Generated Node #0,0: 70:[39, 29, 7] Operation: 63-56=7 Exploring Operation: 56-39=17, Resulting Numbers: [63, 29, 17] Generated Node #0,1: 70:[63, 29, 17] Operation: 56-39=17 Moving to Node #0,0 Current State: 70:[39, 29, 7], Operations: ['63-56=7'] Exploring Operation: 39+29=68, Resulting Numbers: [7, 68] Generated Node #0,0,0: 70:[7, 68] Operation: 39+29=68 Exploring Operation: 39-29=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 70:[7, 10] Operation: 39-29=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[7, 10], Operations: ['63-56=7', '39-29=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[39, 63, 29, 56], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [39, 29, 7] Generated Node #0,0: 70:[39, 29, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 70:[39, 29, 7], Operations: ['63-56=7'] Exploring Operation: 39-29=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 70:[7, 10] Operation: 39-29=10 Moving to Node #0,0,1 Current State: 70:[7, 10], Operations: ['63-56=7', '39-29=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 20, 12, 2, 19 ]
90
[ "20+19=39", "2*39=78", "12+78=90" ]
Current State: 90:[20, 12, 2, 19], Operations: [] Exploring Operation: 20+19=39, Resulting Numbers: [12, 2, 39] Generated Node #2: [12, 2, 39] from Operation: 20+19=39 Current State: 90:[12, 2, 39], Operations: ['20+19=39'] Exploring Operation: 2*39=78, Resulting Numbers: [12, 78] Generated Node #3: [12, 78] from Operation: 2*39=78 Current State: 90:[12, 78], Operations: ['20+19=39', '2*39=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[20, 12, 2, 19], Operations: [] Exploring Operation: 20-12=8, Resulting Numbers: [2, 19, 8] Generated Node #0,0: 90:[2, 19, 8] Operation: 20-12=8 Exploring Operation: 20+12=32, Resulting Numbers: [2, 19, 32] Generated Node #0,1: 90:[2, 19, 32] Operation: 20+12=32 Moving to Node #0,0 Current State: 90:[2, 19, 8], Operations: ['20-12=8'] Exploring Operation: 2+8=10, Resulting Numbers: [19, 10] Generated Node #0,0,0: 90:[19, 10] Operation: 2+8=10 Exploring Operation: 8-2=6, Resulting Numbers: [19, 6] Generated Node #0,0,1: 90:[19, 6] Operation: 8-2=6 Moving to Node #0,1 Current State: 90:[2, 19, 32], Operations: ['20+12=32'] Exploring Operation: 32/2=16, Resulting Numbers: [19, 16] Generated Node #0,1,0: 90:[19, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [19, 30] Generated Node #0,1,1: 90:[19, 30] Operation: 32-2=30 Moving to Node #0,0,0 Current State: 90:[19, 10], Operations: ['20-12=8', '2+8=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[19, 30], Operations: ['20+12=32', '32-2=30'] Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,90 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[19, 6], Operations: ['20-12=8', '8-2=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[19, 16], Operations: ['20+12=32', '32/2=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 92, 98, 20 ]
51
[ "92*20=1840", "98+1840=1938", "1938/38=51" ]
Current State: 51:[38, 92, 98, 20], Operations: [] Exploring Operation: 92*20=1840, Resulting Numbers: [38, 98, 1840] Generated Node #2: [38, 98, 1840] from Operation: 92*20=1840 Current State: 51:[38, 98, 1840], Operations: ['92*20=1840'] Exploring Operation: 98+1840=1938, Resulting Numbers: [38, 1938] Generated Node #3: [38, 1938] from Operation: 98+1840=1938 Current State: 51:[38, 1938], Operations: ['92*20=1840', '98+1840=1938'] Exploring Operation: 1938/38=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[38, 92, 98, 20], Operations: [] Exploring Operation: 92-20=72, Resulting Numbers: [38, 98, 72] Generated Node #0,0: 51:[38, 98, 72] Operation: 92-20=72 Exploring Operation: 98-92=6, Resulting Numbers: [38, 20, 6] Generated Node #0,1: 51:[38, 20, 6] Operation: 98-92=6 Exploring Operation: 98-38=60, Resulting Numbers: [92, 20, 60] Generated Node #0,2: 51:[92, 20, 60] Operation: 98-38=60 Exploring Operation: 92-38=54, Resulting Numbers: [98, 20, 54] Generated Node #0,3: 51:[98, 20, 54] Operation: 92-38=54 Moving to Node #0,1 Current State: 51:[38, 20, 6], Operations: ['98-92=6'] Exploring Operation: 38+20=58, Resulting Numbers: [6, 58] Generated Node #0,1,0: 51:[6, 58] Operation: 38+20=58 Exploring Operation: 38-20=18, Resulting Numbers: [6, 18] Generated Node #0,1,1: 51:[6, 18] Operation: 38-20=18 Exploring Operation: 38+6=44, Resulting Numbers: [20, 44] Generated Node #0,1,2: 51:[20, 44] Operation: 38+6=44 Exploring Operation: 20-6=14, Resulting Numbers: [38, 14] Generated Node #0,1,3: 51:[38, 14] Operation: 20-6=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[6, 18], Operations: ['98-92=6', '38-20=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[6, 58], Operations: ['98-92=6', '38+20=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 6*58=348, Resulting Numbers: [348] 348,51 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 51:[20, 44], Operations: ['98-92=6', '38+6=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,51 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 51:[38, 14], Operations: ['98-92=6', '20-6=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,51 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: 51:[98, 20, 54], Operations: ['92-38=54'] Exploring Operation: 98-54=44, Resulting Numbers: [20, 44] Generated Node #0,3,0: 51:[20, 44] Operation: 98-54=44 Exploring Operation: 98-20=78, Resulting Numbers: [54, 78] Generated Node #0,3,1: 51:[54, 78] Operation: 98-20=78 Exploring Operation: 98+20=118, Resulting Numbers: [54, 118] Generated Node #0,3,2: 51:[54, 118] Operation: 98+20=118 Exploring Operation: 54-20=34, Resulting Numbers: [98, 34] Generated Node #0,3,3: 51:[98, 34] Operation: 54-20=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 51:[20, 44], Operations: ['92-38=54', '98-54=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,51 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 51:[54, 78], Operations: ['92-38=54', '98-20=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,51 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 51:[98, 34], Operations: ['92-38=54', '54-20=34'] Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 51:[54, 118], Operations: ['92-38=54', '98+20=118'] Exploring Operation: 118-54=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 54+118=172, Resulting Numbers: [172] 172,51 unequal: No Solution Exploring Operation: 54*118=6372, Resulting Numbers: [6372] 6372,51 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: 51:[92, 20, 60], Operations: ['98-38=60'] Exploring Operation: 60/20=3, Resulting Numbers: [92, 3] Generated Node #0,2,0: 51:[92, 3] Operation: 60/20=3 Exploring Operation: 60-20=40, Resulting Numbers: [92, 40] Generated Node #0,2,1: 51:[92, 40] Operation: 60-20=40 Exploring Operation: 92-20=72, Resulting Numbers: [60, 72] Generated Node #0,2,2: 51:[60, 72] Operation: 92-20=72 Exploring Operation: 92-60=32, Resulting Numbers: [20, 32] Generated Node #0,2,3: 51:[20, 32] Operation: 92-60=32 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 51:[20, 32], Operations: ['98-38=60', '92-60=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,51 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 51:[60, 72], Operations: ['98-38=60', '92-20=72'] Exploring Operation: 60+72=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 60*72=4320, Resulting Numbers: [4320] 4320,51 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 51:[92, 3], Operations: ['98-38=60', '60/20=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,51 unequal: No Solution Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,51 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 51:[92, 40], Operations: ['98-38=60', '60-20=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,51 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,51 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: 51:[38, 98, 72], Operations: ['92-20=72'] Exploring Operation: 98-72=26, Resulting Numbers: [38, 26] Generated Node #0,0,0: 51:[38, 26] Operation: 98-72=26 Exploring Operation: 72-38=34, Resulting Numbers: [98, 34] Generated Node #0,0,1: 51:[98, 34] Operation: 72-38=34 Exploring Operation: 98-38=60, Resulting Numbers: [72, 60] Generated Node #0,0,2: 51:[72, 60] Operation: 98-38=60 Exploring Operation: 38+98=136, Resulting Numbers: [72, 136] Generated Node #0,0,3: 51:[72, 136] Operation: 38+98=136 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[38, 26], Operations: ['92-20=72', '98-72=26'] Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,51 unequal: No Solution Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[72, 60], Operations: ['92-20=72', '98-38=60'] Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,51 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[98, 34], Operations: ['92-20=72', '72-38=34'] Exploring Operation: 98+34=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 98*34=3332, Resulting Numbers: [3332] 3332,51 unequal: No Solution Exploring Operation: 98-34=64, Resulting Numbers: [64] 64,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 51:[72, 136], Operations: ['92-20=72', '38+98=136'] Exploring Operation: 72+136=208, Resulting Numbers: [208] 208,51 unequal: No Solution Exploring Operation: 136-72=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 72*136=9792, Resulting Numbers: [9792] 9792,51 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, 41, 66, 18 ]
73
[ "2*66=132", "41+18=59", "132-59=73" ]
Current State: 73:[2, 41, 66, 18], Operations: [] Exploring Operation: 2*66=132, Resulting Numbers: [41, 18, 132] Generated Node #2: [41, 18, 132] from Operation: 2*66=132 Current State: 73:[41, 18, 132], Operations: ['2*66=132'] Exploring Operation: 41+18=59, Resulting Numbers: [132, 59] Generated Node #3: [132, 59] from Operation: 41+18=59 Current State: 73:[132, 59], Operations: ['2*66=132', '41+18=59'] Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[2, 41, 66, 18], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [41, 66, 36] Generated Node #0,0: 73:[41, 66, 36] Operation: 2*18=36 Exploring Operation: 2*41=82, Resulting Numbers: [66, 18, 82] Generated Node #0,1: 73:[66, 18, 82] Operation: 2*41=82 Moving to Node #0,1 Current State: 73:[66, 18, 82], Operations: ['2*41=82'] Exploring Operation: 82-18=64, Resulting Numbers: [66, 64] Generated Node #0,1,0: 73:[66, 64] Operation: 82-18=64 Exploring Operation: 66+18=84, Resulting Numbers: [82, 84] Generated Node #0,1,1: 73:[82, 84] Operation: 66+18=84 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[66, 64], Operations: ['2*41=82', '82-18=64'] Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[82, 84], Operations: ['2*41=82', '66+18=84'] Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,73 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,73 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: 73:[41, 66, 36], Operations: ['2*18=36'] Exploring Operation: 66+36=102, Resulting Numbers: [41, 102] Generated Node #0,0,0: 73:[41, 102] Operation: 66+36=102 Exploring Operation: 41+36=77, Resulting Numbers: [66, 77] Generated Node #0,0,1: 73:[66, 77] Operation: 41+36=77 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[66, 77], Operations: ['2*18=36', '41+36=77'] Exploring Operation: 77-66=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 66+77=143, Resulting Numbers: [143] 143,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[41, 102], Operations: ['2*18=36', '66+36=102'] Exploring Operation: 41+102=143, Resulting Numbers: [143] 143,73 unequal: No Solution Exploring Operation: 102-41=61, Resulting Numbers: [61] 61,73 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
[ 31, 11, 1, 45 ]
87
[ "31+11=42", "1*45=45", "42+45=87" ]
Current State: 87:[31, 11, 1, 45], Operations: [] Exploring Operation: 31+11=42, Resulting Numbers: [1, 45, 42] Generated Node #2: [1, 45, 42] from Operation: 31+11=42 Current State: 87:[1, 45, 42], Operations: ['31+11=42'] Exploring Operation: 1*45=45, Resulting Numbers: [42, 45] Generated Node #3: [42, 45] from Operation: 1*45=45 Current State: 87:[42, 45], Operations: ['31+11=42', '1*45=45'] Exploring Operation: 42+45=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 11, 1, 45], Operations: [] Exploring Operation: 45-11=34, Resulting Numbers: [31, 1, 34] Generated Node #0,0: 87:[31, 1, 34] Operation: 45-11=34 Exploring Operation: 45-31=14, Resulting Numbers: [11, 1, 14] Generated Node #0,1: 87:[11, 1, 14] Operation: 45-31=14 Exploring Operation: 31+45=76, Resulting Numbers: [11, 1, 76] Generated Node #0,2: 87:[11, 1, 76] Operation: 31+45=76 Moving to Node #0,0 Current State: 87:[31, 1, 34], Operations: ['45-11=34'] Exploring Operation: 34-1=33, Resulting Numbers: [31, 33] Generated Node #0,0,0: 87:[31, 33] Operation: 34-1=33 Exploring Operation: 31-1=30, Resulting Numbers: [34, 30] Generated Node #0,0,1: 87:[34, 30] Operation: 31-1=30 Exploring Operation: 34-31=3, Resulting Numbers: [1, 3] Generated Node #0,0,2: 87:[1, 3] Operation: 34-31=3 Moving to Node #0,1 Current State: 87:[11, 1, 14], Operations: ['45-31=14'] Exploring Operation: 11+14=25, Resulting Numbers: [1, 25] Generated Node #0,1,0: 87:[1, 25] Operation: 11+14=25 Exploring Operation: 11-1=10, Resulting Numbers: [14, 10] Generated Node #0,1,1: 87:[14, 10] Operation: 11-1=10 Exploring Operation: 14-11=3, Resulting Numbers: [1, 3] Generated Node #0,1,2: 87:[1, 3] Operation: 14-11=3 Moving to Node #0,2 Current State: 87:[11, 1, 76], Operations: ['31+45=76'] Exploring Operation: 11-1=10, Resulting Numbers: [76, 10] Generated Node #0,2,0: 87:[76, 10] Operation: 11-1=10 Exploring Operation: 1+76=77, Resulting Numbers: [11, 77] Generated Node #0,2,1: 87:[11, 77] Operation: 1+76=77 Exploring Operation: 11+76=87, Resulting Numbers: [1, 87] Generated Node #0,2,2: 87:[1, 87] Operation: 11+76=87 Moving to Node #0,0,2 Current State: 87:[1, 3], Operations: ['45-11=34', '34-31=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[1, 87], Operations: ['31+45=76', '11+76=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 11, 1, 45], Operations: [] Exploring Operation: 31+45=76, Resulting Numbers: [11, 1, 76] Generated Node #0,2: 87:[11, 1, 76] Operation: 31+45=76 Moving to Node #0,2 Current State: 87:[11, 1, 76], Operations: ['31+45=76'] Exploring Operation: 11+76=87, Resulting Numbers: [1, 87] Generated Node #0,2,2: 87:[1, 87] Operation: 11+76=87 Moving to Node #0,2,2 Current State: 87:[1, 87], Operations: ['31+45=76', '11+76=87'] Exploring Operation: 87/1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 14, 58, 4, 97 ]
86
[ "58-14=44", "44/4=11", "97-11=86" ]
Current State: 86:[14, 58, 4, 97], Operations: [] Exploring Operation: 58-14=44, Resulting Numbers: [4, 97, 44] Generated Node #2: [4, 97, 44] from Operation: 58-14=44 Current State: 86:[4, 97, 44], Operations: ['58-14=44'] Exploring Operation: 44/4=11, Resulting Numbers: [97, 11] Generated Node #3: [97, 11] from Operation: 44/4=11 Current State: 86:[97, 11], Operations: ['58-14=44', '44/4=11'] Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[14, 58, 4, 97], Operations: [] Exploring Operation: 97-58=39, Resulting Numbers: [14, 4, 39] Generated Node #0,0: 86:[14, 4, 39] Operation: 97-58=39 Exploring Operation: 58-14=44, Resulting Numbers: [4, 97, 44] Generated Node #0,1: 86:[4, 97, 44] Operation: 58-14=44 Moving to Node #0,1 Current State: 86:[4, 97, 44], Operations: ['58-14=44'] Exploring Operation: 97-44=53, Resulting Numbers: [4, 53] Generated Node #0,1,0: 86:[4, 53] Operation: 97-44=53 Exploring Operation: 97-4=93, Resulting Numbers: [44, 93] Generated Node #0,1,1: 86:[44, 93] Operation: 97-4=93 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[44, 93], Operations: ['58-14=44', '97-4=93'] Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,86 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[4, 53], Operations: ['58-14=44', '97-44=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,86 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: 86:[14, 4, 39], Operations: ['97-58=39'] Exploring Operation: 14+39=53, Resulting Numbers: [4, 53] Generated Node #0,0,0: 86:[4, 53] Operation: 14+39=53 Exploring Operation: 14-4=10, Resulting Numbers: [39, 10] Generated Node #0,0,1: 86:[39, 10] Operation: 14-4=10 Moving to Node #0,0,0 Current State: 86:[4, 53], Operations: ['97-58=39', '14+39=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[39, 10], Operations: ['97-58=39', '14-4=10'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 94, 13, 58, 24 ]
25
[ "94+13=107", "58+24=82", "107-82=25" ]
Current State: 25:[94, 13, 58, 24], Operations: [] Exploring Operation: 94+13=107, Resulting Numbers: [58, 24, 107] Generated Node #2: [58, 24, 107] from Operation: 94+13=107 Current State: 25:[58, 24, 107], Operations: ['94+13=107'] Exploring Operation: 58+24=82, Resulting Numbers: [107, 82] Generated Node #3: [107, 82] from Operation: 58+24=82 Current State: 25:[107, 82], Operations: ['94+13=107', '58+24=82'] Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[94, 13, 58, 24], Operations: [] Exploring Operation: 94-58=36, Resulting Numbers: [13, 24, 36] Generated Node #0,0: 25:[13, 24, 36] Operation: 94-58=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[13, 24, 36], Operations: ['94-58=36'] Exploring Operation: 36-13=23, Resulting Numbers: [24, 23] Generated Node #0,0,0: 25:[24, 23] Operation: 36-13=23 Moving to Node #0,0,0 Current State: 25:[24, 23], Operations: ['94-58=36', '36-13=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 4, 27, 19 ]
21
[ "27-4=23", "23-19=4", "84/4=21" ]
Current State: 21:[84, 4, 27, 19], Operations: [] Exploring Operation: 27-4=23, Resulting Numbers: [84, 19, 23] Generated Node #2: [84, 19, 23] from Operation: 27-4=23 Current State: 21:[84, 19, 23], Operations: ['27-4=23'] Exploring Operation: 23-19=4, Resulting Numbers: [84, 4] Generated Node #3: [84, 4] from Operation: 23-19=4 Current State: 21:[84, 4], Operations: ['27-4=23', '23-19=4'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[84, 4, 27, 19], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [4, 19, 57] Generated Node #0,0: 21:[4, 19, 57] Operation: 84-27=57 Exploring Operation: 84-19=65, Resulting Numbers: [4, 27, 65] Generated Node #0,1: 21:[4, 27, 65] Operation: 84-19=65 Exploring Operation: 84/4=21, Resulting Numbers: [27, 19, 21] Generated Node #0,2: 21:[27, 19, 21] Operation: 84/4=21 Moving to Node #0,2 Current State: 21:[27, 19, 21], Operations: ['84/4=21'] Exploring Operation: 27-21=6, Resulting Numbers: [19, 6] Generated Node #0,2,0: 21:[19, 6] Operation: 27-21=6 Exploring Operation: 21-19=2, Resulting Numbers: [27, 2] Generated Node #0,2,1: 21:[27, 2] Operation: 21-19=2 Exploring Operation: 27-19=8, Resulting Numbers: [21, 8] Generated Node #0,2,2: 21:[21, 8] Operation: 27-19=8 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[21, 8], Operations: ['84/4=21', '27-19=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,21 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[19, 6], Operations: ['84/4=21', '27-21=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,21 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[27, 2], Operations: ['84/4=21', '21-19=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,21 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,21 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: 21:[4, 19, 57], Operations: ['84-27=57'] Exploring Operation: 57/19=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 21:[4, 3] Operation: 57/19=3 Exploring Operation: 57-4=53, Resulting Numbers: [19, 53] Generated Node #0,0,1: 21:[19, 53] Operation: 57-4=53 Exploring Operation: 57-19=38, Resulting Numbers: [4, 38] Generated Node #0,0,2: 21:[4, 38] Operation: 57-19=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[4, 3], Operations: ['84-27=57', '57/19=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[4, 38], Operations: ['84-27=57', '57-19=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,21 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[19, 53], Operations: ['84-27=57', '57-4=53'] Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,21 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,21 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: 21:[4, 27, 65], Operations: ['84-19=65'] Exploring Operation: 65-27=38, Resulting Numbers: [4, 38] Generated Node #0,1,0: 21:[4, 38] Operation: 65-27=38 Exploring Operation: 65-4=61, Resulting Numbers: [27, 61] Generated Node #0,1,1: 21:[27, 61] Operation: 65-4=61 Exploring Operation: 27-4=23, Resulting Numbers: [65, 23] Generated Node #0,1,2: 21:[65, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[4, 38], Operations: ['84-19=65', '65-27=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,21 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[27, 61], Operations: ['84-19=65', '65-4=61'] Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,21 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[65, 23], Operations: ['84-19=65', '27-4=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,21 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,21 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 96, 72, 81, 76 ]
24
[ "72*76=5472", "5472/96=57", "81-57=24" ]
Current State: 24:[96, 72, 81, 76], Operations: [] Exploring Operation: 72*76=5472, Resulting Numbers: [96, 81, 5472] Generated Node #2: [96, 81, 5472] from Operation: 72*76=5472 Current State: 24:[96, 81, 5472], Operations: ['72*76=5472'] Exploring Operation: 5472/96=57, Resulting Numbers: [81, 57] Generated Node #3: [81, 57] from Operation: 5472/96=57 Current State: 24:[81, 57], Operations: ['72*76=5472', '5472/96=57'] Exploring Operation: 81-57=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[96, 72, 81, 76], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [72, 76, 15] Generated Node #0,0: 24:[72, 76, 15] Operation: 96-81=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[72, 76, 15], Operations: ['96-81=15'] Exploring Operation: 76-72=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 24:[15, 4] Operation: 76-72=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[15, 4], Operations: ['96-81=15', '76-72=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,24 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
[ 14, 78, 78, 84 ]
58
[ "78-14=64", "84-78=6", "64-6=58" ]
Current State: 58:[14, 78, 78, 84], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [84, 64] Generated Node #2: [84, 64] from Operation: 78-14=64 Current State: 58:[84, 64], Operations: ['78-14=64'] Exploring Operation: 84-78=6, Resulting Numbers: [64, 6] Generated Node #3: [64, 6] from Operation: 84-78=6 Current State: 58:[64, 6], Operations: ['78-14=64', '84-78=6'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[14, 78, 78, 84], Operations: [] Exploring Operation: 78/78=1, Resulting Numbers: [14, 84, 1] Generated Node #0,0: 58:[14, 84, 1] Operation: 78/78=1 Exploring Operation: 84-78=6, Resulting Numbers: [14, 78, 6] Generated Node #0,1: 58:[14, 78, 6] Operation: 84-78=6 Exploring Operation: 84-78=6, Resulting Numbers: [14, 78, 6] Generated Node #0,2: 58:[14, 78, 6] Operation: 84-78=6 Exploring Operation: 78-78=0, Resulting Numbers: [14, 84, 0] Generated Node #0,3: 58:[14, 84, 0] Operation: 78-78=0 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[14, 78, 6], Operations: ['84-78=6'] Exploring Operation: 78/6=13, Resulting Numbers: [14, 13] Generated Node #0,1,0: 58:[14, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [14, 72] Generated Node #0,1,1: 58:[14, 72] Operation: 78-6=72 Exploring Operation: 78-14=64, Resulting Numbers: [6, 64] Generated Node #0,1,2: 58:[6, 64] Operation: 78-14=64 Exploring Operation: 14-6=8, Resulting Numbers: [78, 8] Generated Node #0,1,3: 58:[78, 8] Operation: 14-6=8 Moving to Node #0,1,2 Current State: 58:[6, 64], Operations: ['84-78=6', '78-14=64'] Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,58 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[14, 78, 78, 84], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [14, 78, 6] Generated Node #0,1: 58:[14, 78, 6] Operation: 84-78=6 Moving to Node #0,1 Current State: 58:[14, 78, 6], Operations: ['84-78=6'] Exploring Operation: 78-14=64, Resulting Numbers: [6, 64] Generated Node #0,1,2: 58:[6, 64] Operation: 78-14=64 Moving to Node #0,1,2 Current State: 58:[6, 64], Operations: ['84-78=6', '78-14=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 19, 83, 33, 82 ]
95
[ "83+82=165", "19*165=3135", "3135/33=95" ]
Current State: 95:[19, 83, 33, 82], Operations: [] Exploring Operation: 83+82=165, Resulting Numbers: [19, 33, 165] Generated Node #2: [19, 33, 165] from Operation: 83+82=165 Current State: 95:[19, 33, 165], Operations: ['83+82=165'] Exploring Operation: 19*165=3135, Resulting Numbers: [33, 3135] Generated Node #3: [33, 3135] from Operation: 19*165=3135 Current State: 95:[33, 3135], Operations: ['83+82=165', '19*165=3135'] Exploring Operation: 3135/33=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[19, 83, 33, 82], Operations: [] Exploring Operation: 19+82=101, Resulting Numbers: [83, 33, 101] Generated Node #0,0: 95:[83, 33, 101] Operation: 19+82=101 Exploring Operation: 33-19=14, Resulting Numbers: [83, 82, 14] Generated Node #0,1: 95:[83, 82, 14] Operation: 33-19=14 Exploring Operation: 19+83=102, Resulting Numbers: [33, 82, 102] Generated Node #0,2: 95:[33, 82, 102] Operation: 19+83=102 Exploring Operation: 33+82=115, Resulting Numbers: [19, 83, 115] Generated Node #0,3: 95:[19, 83, 115] Operation: 33+82=115 Exploring Operation: 83-82=1, Resulting Numbers: [19, 33, 1] Generated Node #0,4: 95:[19, 33, 1] Operation: 83-82=1 Moving to Node #0,4 Current State: 95:[19, 33, 1], Operations: ['83-82=1'] Exploring Operation: 33*1=33, Resulting Numbers: [19, 33] Generated Node #0,4,0: 95:[19, 33] Operation: 33*1=33 Exploring Operation: 19/1=19, Resulting Numbers: [33, 19] Generated Node #0,4,1: 95:[33, 19] Operation: 19/1=19 Exploring Operation: 33-1=32, Resulting Numbers: [19, 32] Generated Node #0,4,2: 95:[19, 32] Operation: 33-1=32 Exploring Operation: 19*1=19, Resulting Numbers: [33, 19] Generated Node #0,4,3: 95:[33, 19] Operation: 19*1=19 Exploring Operation: 33-19=14, Resulting Numbers: [1, 14] Generated Node #0,4,4: 95:[1, 14] Operation: 33-19=14 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 95:[1, 14], Operations: ['83-82=1', '33-19=14'] Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 1+14=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 95:[19, 32], Operations: ['83-82=1', '33-1=32'] Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,95 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 95:[19, 33], Operations: ['83-82=1', '33*1=33'] Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,95 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[33, 19], Operations: ['83-82=1', '19/1=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,95 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 95:[33, 19], Operations: ['83-82=1', '19*1=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,95 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: 95:[83, 82, 14], Operations: ['33-19=14'] Exploring Operation: 83+14=97, Resulting Numbers: [82, 97] Generated Node #0,1,0: 95:[82, 97] Operation: 83+14=97 Exploring Operation: 83-14=69, Resulting Numbers: [82, 69] Generated Node #0,1,1: 95:[82, 69] Operation: 83-14=69 Exploring Operation: 83-82=1, Resulting Numbers: [14, 1] Generated Node #0,1,2: 95:[14, 1] Operation: 83-82=1 Exploring Operation: 82+14=96, Resulting Numbers: [83, 96] Generated Node #0,1,3: 95:[83, 96] Operation: 82+14=96 Exploring Operation: 82-14=68, Resulting Numbers: [83, 68] Generated Node #0,1,4: 95:[83, 68] Operation: 82-14=68 Moving to Node #0,0 Current State: 95:[83, 33, 101], Operations: ['19+82=101'] Exploring Operation: 101-83=18, Resulting Numbers: [33, 18] Generated Node #0,0,0: 95:[33, 18] Operation: 101-83=18 Exploring Operation: 83+33=116, Resulting Numbers: [101, 116] Generated Node #0,0,1: 95:[101, 116] Operation: 83+33=116 Exploring Operation: 83-33=50, Resulting Numbers: [101, 50] Generated Node #0,0,2: 95:[101, 50] Operation: 83-33=50 Exploring Operation: 101-33=68, Resulting Numbers: [83, 68] Generated Node #0,0,3: 95:[83, 68] Operation: 101-33=68 Exploring Operation: 33+101=134, Resulting Numbers: [83, 134] Generated Node #0,0,4: 95:[83, 134] Operation: 33+101=134 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[33, 18], Operations: ['19+82=101', '101-83=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[101, 116], Operations: ['19+82=101', '83+33=116'] Exploring Operation: 101*116=11716, Resulting Numbers: [11716] 11716,95 unequal: No Solution Exploring Operation: 116-101=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 101+116=217, Resulting Numbers: [217] 217,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[101, 50], Operations: ['19+82=101', '83-33=50'] Exploring Operation: 101-50=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 101+50=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 101*50=5050, Resulting Numbers: [5050] 5050,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[83, 68], Operations: ['19+82=101', '101-33=68'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,95 unequal: No Solution Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 95:[83, 134], Operations: ['19+82=101', '33+101=134'] Exploring Operation: 83+134=217, Resulting Numbers: [217] 217,95 unequal: No Solution Exploring Operation: 134-83=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 83*134=11122, Resulting Numbers: [11122] 11122,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 95:[19, 83, 115], Operations: ['33+82=115'] Exploring Operation: 115-19=96, Resulting Numbers: [83, 96] Generated Node #0,3,0: 95:[83, 96] Operation: 115-19=96 Exploring Operation: 83-19=64, Resulting Numbers: [115, 64] Generated Node #0,3,1: 95:[115, 64] Operation: 83-19=64 Exploring Operation: 19+83=102, Resulting Numbers: [115, 102] Generated Node #0,3,2: 95:[115, 102] Operation: 19+83=102 Exploring Operation: 19+115=134, Resulting Numbers: [83, 134] Generated Node #0,3,3: 95:[83, 134] Operation: 19+115=134 Exploring Operation: 115-83=32, Resulting Numbers: [19, 32] Generated Node #0,3,4: 95:[19, 32] Operation: 115-83=32 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[83, 96], Operations: ['33+82=115', '115-19=96'] Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,95 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 95:[19, 32], Operations: ['33+82=115', '115-83=32'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,95 unequal: No Solution Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 95:[115, 102], Operations: ['33+82=115', '19+83=102'] Exploring Operation: 115*102=11730, Resulting Numbers: [11730] 11730,95 unequal: No Solution Exploring Operation: 115+102=217, Resulting Numbers: [217] 217,95 unequal: No Solution Exploring Operation: 115-102=13, Resulting Numbers: [13] 13,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[115, 64], Operations: ['33+82=115', '83-19=64'] Exploring Operation: 115+64=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 115-64=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 115*64=7360, Resulting Numbers: [7360] 7360,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[83, 134], Operations: ['33+82=115', '19+115=134'] Exploring Operation: 83+134=217, Resulting Numbers: [217] 217,95 unequal: No Solution Exploring Operation: 134-83=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 83*134=11122, Resulting Numbers: [11122] 11122,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 95:[33, 82, 102], Operations: ['19+83=102'] Exploring Operation: 33+82=115, Resulting Numbers: [102, 115] Generated Node #0,2,0: 95:[102, 115] Operation: 33+82=115 Exploring Operation: 33+102=135, Resulting Numbers: [82, 135] Generated Node #0,2,1: 95:[82, 135] Operation: 33+102=135 Exploring Operation: 82-33=49, Resulting Numbers: [102, 49] Generated Node #0,2,2: 95:[102, 49] Operation: 82-33=49 Exploring Operation: 102-33=69, Resulting Numbers: [82, 69] Generated Node #0,2,3: 95:[82, 69] Operation: 102-33=69 Exploring Operation: 102-82=20, Resulting Numbers: [33, 20] Generated Node #0,2,4: 95:[33, 20] Operation: 102-82=20 Moving to Node #0,1,2 Current State: 95:[14, 1], Operations: ['33-19=14', '83-82=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,95 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[83, 96], Operations: ['33-19=14', '82+14=96'] Exploring Operation: 83+96=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 83*96=7968, Resulting Numbers: [7968] 7968,95 unequal: No Solution Exploring Operation: 96-83=13, Resulting Numbers: [13] 13,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[82, 97], Operations: ['33-19=14', '83+14=97'] Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 82+97=179, Resulting Numbers: [179] 179,95 unequal: No Solution Exploring Operation: 82*97=7954, Resulting Numbers: [7954] 7954,95 unequal: No Solution Moving to Node #0,2,4 Current State: 95:[33, 20], Operations: ['19+83=102', '102-82=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[102, 115], Operations: ['19+83=102', '33+82=115'] Exploring Operation: 102+115=217, Resulting Numbers: [217] 217,95 unequal: No Solution Exploring Operation: 115-102=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 102*115=11730, Resulting Numbers: [11730] 11730,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[102, 49], Operations: ['19+83=102', '82-33=49'] Exploring Operation: 102*49=4998, Resulting Numbers: [4998] 4998,95 unequal: No Solution Exploring Operation: 102+49=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 102-49=53, Resulting Numbers: [53] 53,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[82, 69], Operations: ['33-19=14', '83-14=69'] Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,95 unequal: No Solution Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[83, 68], Operations: ['33-19=14', '82-14=68'] Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,95 unequal: No Solution Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[82, 69], Operations: ['19+83=102', '102-33=69'] Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,95 unequal: No Solution Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,95 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[82, 135], Operations: ['19+83=102', '33+102=135'] Exploring Operation: 82+135=217, Resulting Numbers: [217] 217,95 unequal: No Solution Exploring Operation: 135-82=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 82*135=11070, Resulting Numbers: [11070] 11070,95 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 49, 93, 27, 81 ]
34
[ "49+93=142", "27+81=108", "142-108=34" ]
Current State: 34:[49, 93, 27, 81], Operations: [] Exploring Operation: 49+93=142, Resulting Numbers: [27, 81, 142] Generated Node #2: [27, 81, 142] from Operation: 49+93=142 Current State: 34:[27, 81, 142], Operations: ['49+93=142'] Exploring Operation: 27+81=108, Resulting Numbers: [142, 108] Generated Node #3: [142, 108] from Operation: 27+81=108 Current State: 34:[142, 108], Operations: ['49+93=142', '27+81=108'] Exploring Operation: 142-108=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[49, 93, 27, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [49, 27, 12] Generated Node #0,0: 34:[49, 27, 12] Operation: 93-81=12 Exploring Operation: 93-49=44, Resulting Numbers: [27, 81, 44] Generated Node #0,1: 34:[27, 81, 44] Operation: 93-49=44 Exploring Operation: 81-49=32, Resulting Numbers: [93, 27, 32] Generated Node #0,2: 34:[93, 27, 32] Operation: 81-49=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[49, 27, 12], Operations: ['93-81=12'] Exploring Operation: 49-12=37, Resulting Numbers: [27, 37] Generated Node #0,0,0: 34:[27, 37] Operation: 49-12=37 Exploring Operation: 49-27=22, Resulting Numbers: [12, 22] Generated Node #0,0,1: 34:[12, 22] Operation: 49-27=22 Exploring Operation: 27-12=15, Resulting Numbers: [49, 15] Generated Node #0,0,2: 34:[49, 15] Operation: 27-12=15 Moving to Node #0,0,0 Current State: 34:[27, 37], Operations: ['93-81=12', '49-12=37'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[12, 22], Operations: ['93-81=12', '49-27=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,34 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[49, 93, 27, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [49, 27, 12] Generated Node #0,0: 34:[49, 27, 12] Operation: 93-81=12 Moving to Node #0,0 Current State: 34:[49, 27, 12], Operations: ['93-81=12'] Exploring Operation: 49-27=22, Resulting Numbers: [12, 22] Generated Node #0,0,1: 34:[12, 22] Operation: 49-27=22 Moving to Node #0,0,1 Current State: 34:[12, 22], Operations: ['93-81=12', '49-27=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 20, 11, 72, 88 ]
47
[ "20+11=31", "88-72=16", "31+16=47" ]
Current State: 47:[20, 11, 72, 88], Operations: [] Exploring Operation: 20+11=31, Resulting Numbers: [72, 88, 31] Generated Node #2: [72, 88, 31] from Operation: 20+11=31 Current State: 47:[72, 88, 31], Operations: ['20+11=31'] Exploring Operation: 88-72=16, Resulting Numbers: [31, 16] Generated Node #3: [31, 16] from Operation: 88-72=16 Current State: 47:[31, 16], Operations: ['20+11=31', '88-72=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[20, 11, 72, 88], Operations: [] Exploring Operation: 20+11=31, Resulting Numbers: [72, 88, 31] Generated Node #0,0: 47:[72, 88, 31] Operation: 20+11=31 Exploring Operation: 72-20=52, Resulting Numbers: [11, 88, 52] Generated Node #0,1: 47:[11, 88, 52] Operation: 72-20=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[72, 88, 31], Operations: ['20+11=31'] Exploring Operation: 88-31=57, Resulting Numbers: [72, 57] Generated Node #0,0,0: 47:[72, 57] Operation: 88-31=57 Exploring Operation: 88-72=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 47:[31, 16] Operation: 88-72=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[72, 57], Operations: ['20+11=31', '88-31=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,47 unequal: No Solution No 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: 47:[31, 16], Operations: ['20+11=31', '88-72=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[20, 11, 72, 88], Operations: [] Exploring Operation: 20+11=31, Resulting Numbers: [72, 88, 31] Generated Node #0,0: 47:[72, 88, 31] Operation: 20+11=31 Moving to Node #0,0 Current State: 47:[72, 88, 31], Operations: ['20+11=31'] Exploring Operation: 88-72=16, Resulting Numbers: [31, 16] Generated Node #0,0,1: 47:[31, 16] Operation: 88-72=16 Moving to Node #0,0,1 Current State: 47:[31, 16], Operations: ['20+11=31', '88-72=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 29, 56, 85, 17 ]
95
[ "56-29=27", "85-17=68", "27+68=95" ]
Current State: 95:[29, 56, 85, 17], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [85, 17, 27] Generated Node #2: [85, 17, 27] from Operation: 56-29=27 Current State: 95:[85, 17, 27], Operations: ['56-29=27'] Exploring Operation: 85-17=68, Resulting Numbers: [27, 68] Generated Node #3: [27, 68] from Operation: 85-17=68 Current State: 95:[27, 68], Operations: ['56-29=27', '85-17=68'] Exploring Operation: 27+68=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[29, 56, 85, 17], Operations: [] Exploring Operation: 56-29=27, Resulting Numbers: [85, 17, 27] Generated Node #0,0: 95:[85, 17, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[85, 17, 27], Operations: ['56-29=27'] Exploring Operation: 85/17=5, Resulting Numbers: [27, 5] Generated Node #0,0,0: 95:[27, 5] Operation: 85/17=5 Moving to Node #0,0,0 Current State: 95:[27, 5], Operations: ['56-29=27', '85/17=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,95 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
[ 90, 78, 87, 29 ]
52
[ "90+78=168", "87+29=116", "168-116=52" ]
Current State: 52:[90, 78, 87, 29], Operations: [] Exploring Operation: 90+78=168, Resulting Numbers: [87, 29, 168] Generated Node #2: [87, 29, 168] from Operation: 90+78=168 Current State: 52:[87, 29, 168], Operations: ['90+78=168'] Exploring Operation: 87+29=116, Resulting Numbers: [168, 116] Generated Node #3: [168, 116] from Operation: 87+29=116 Current State: 52:[168, 116], Operations: ['90+78=168', '87+29=116'] Exploring Operation: 168-116=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[90, 78, 87, 29], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [90, 29, 9] Generated Node #0,0: 52:[90, 29, 9] Operation: 87-78=9 Exploring Operation: 90-87=3, Resulting Numbers: [78, 29, 3] Generated Node #0,1: 52:[78, 29, 3] Operation: 90-87=3 Exploring Operation: 90-78=12, Resulting Numbers: [87, 29, 12] Generated Node #0,2: 52:[87, 29, 12] Operation: 90-78=12 Moving to Node #0,1 Current State: 52:[78, 29, 3], Operations: ['90-87=3'] Exploring Operation: 78/3=26, Resulting Numbers: [29, 26] Generated Node #0,1,0: 52:[29, 26] Operation: 78/3=26 Exploring Operation: 78-29=49, Resulting Numbers: [3, 49] Generated Node #0,1,1: 52:[3, 49] Operation: 78-29=49 Exploring Operation: 78-3=75, Resulting Numbers: [29, 75] Generated Node #0,1,2: 52:[29, 75] Operation: 78-3=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[29, 26], Operations: ['90-87=3', '78/3=26'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[3, 49], Operations: ['90-87=3', '78-29=49'] Exploring Operation: 49-3=46, Resulting Numbers: [46] 46,52 unequal: No Solution Exploring Operation: 3*49=147, Resulting Numbers: [147] 147,52 unequal: No Solution Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[90, 78, 87, 29], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [78, 29, 3] Generated Node #0,1: 52:[78, 29, 3] Operation: 90-87=3 Moving to Node #0,1 Current State: 52:[78, 29, 3], Operations: ['90-87=3'] Exploring Operation: 78-29=49, Resulting Numbers: [3, 49] Generated Node #0,1,1: 52:[3, 49] Operation: 78-29=49 Moving to Node #0,1,1 Current State: 52:[3, 49], Operations: ['90-87=3', '78-29=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 3, 92, 39, 67 ]
70
[ "3*67=201", "92+39=131", "201-131=70" ]
Current State: 70:[3, 92, 39, 67], Operations: [] Exploring Operation: 3*67=201, Resulting Numbers: [92, 39, 201] Generated Node #2: [92, 39, 201] from Operation: 3*67=201 Current State: 70:[92, 39, 201], Operations: ['3*67=201'] Exploring Operation: 92+39=131, Resulting Numbers: [201, 131] Generated Node #3: [201, 131] from Operation: 92+39=131 Current State: 70:[201, 131], Operations: ['3*67=201', '92+39=131'] Exploring Operation: 201-131=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 92, 39, 67], Operations: [] Exploring Operation: 92-67=25, Resulting Numbers: [3, 39, 25] Generated Node #0,0: 70:[3, 39, 25] Operation: 92-67=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[3, 39, 25], Operations: ['92-67=25'] Exploring Operation: 39-25=14, Resulting Numbers: [3, 14] Generated Node #0,0,0: 70:[3, 14] Operation: 39-25=14 Moving to Node #0,0,0 Current State: 70:[3, 14], Operations: ['92-67=25', '39-25=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,70 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
[ 62, 53, 51, 25 ]
89
[ "62+53=115", "51-25=26", "115-26=89" ]
Current State: 89:[62, 53, 51, 25], Operations: [] Exploring Operation: 62+53=115, Resulting Numbers: [51, 25, 115] Generated Node #2: [51, 25, 115] from Operation: 62+53=115 Current State: 89:[51, 25, 115], Operations: ['62+53=115'] Exploring Operation: 51-25=26, Resulting Numbers: [115, 26] Generated Node #3: [115, 26] from Operation: 51-25=26 Current State: 89:[115, 26], Operations: ['62+53=115', '51-25=26'] Exploring Operation: 115-26=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[62, 53, 51, 25], Operations: [] Exploring Operation: 62+25=87, Resulting Numbers: [53, 51, 87] Generated Node #0,0: 89:[53, 51, 87] Operation: 62+25=87 Exploring Operation: 51+25=76, Resulting Numbers: [62, 53, 76] Generated Node #0,1: 89:[62, 53, 76] Operation: 51+25=76 Exploring Operation: 53+25=78, Resulting Numbers: [62, 51, 78] Generated Node #0,2: 89:[62, 51, 78] Operation: 53+25=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[53, 51, 87], Operations: ['62+25=87'] Exploring Operation: 51+87=138, Resulting Numbers: [53, 138] Generated Node #0,0,0: 89:[53, 138] Operation: 51+87=138 Exploring Operation: 53-51=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 89:[87, 2] Operation: 53-51=2 Exploring Operation: 53+51=104, Resulting Numbers: [87, 104] Generated Node #0,0,2: 89:[87, 104] Operation: 53+51=104 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[87, 104], Operations: ['62+25=87', '53+51=104'] Exploring Operation: 87+104=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 87*104=9048, Resulting Numbers: [9048] 9048,89 unequal: No Solution Exploring Operation: 104-87=17, Resulting Numbers: [17] 17,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[53, 138], Operations: ['62+25=87', '51+87=138'] Exploring Operation: 53*138=7314, Resulting Numbers: [7314] 7314,89 unequal: No Solution Exploring Operation: 53+138=191, Resulting Numbers: [191] 191,89 unequal: No Solution Exploring Operation: 138-53=85, Resulting Numbers: [85] 85,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[87, 2], Operations: ['62+25=87', '53-51=2'] Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,89 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,89 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[62, 53, 51, 25], Operations: [] Exploring Operation: 62+25=87, Resulting Numbers: [53, 51, 87] Generated Node #0,0: 89:[53, 51, 87] Operation: 62+25=87 Moving to Node #0,0 Current State: 89:[53, 51, 87], Operations: ['62+25=87'] Exploring Operation: 53-51=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 89:[87, 2] Operation: 53-51=2 Moving to Node #0,0,1 Current State: 89:[87, 2], Operations: ['62+25=87', '53-51=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 18, 3, 60, 66 ]
92
[ "18+60=78", "78/3=26", "66+26=92" ]
Current State: 92:[18, 3, 60, 66], Operations: [] Exploring Operation: 18+60=78, Resulting Numbers: [3, 66, 78] Generated Node #2: [3, 66, 78] from Operation: 18+60=78 Current State: 92:[3, 66, 78], Operations: ['18+60=78'] Exploring Operation: 78/3=26, Resulting Numbers: [66, 26] Generated Node #3: [66, 26] from Operation: 78/3=26 Current State: 92:[66, 26], Operations: ['18+60=78', '78/3=26'] Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[18, 3, 60, 66], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [18, 3, 6] Generated Node #0,0: 92:[18, 3, 6] Operation: 66-60=6 Exploring Operation: 66-18=48, Resulting Numbers: [3, 60, 48] Generated Node #0,1: 92:[3, 60, 48] Operation: 66-18=48 Exploring Operation: 66/3=22, Resulting Numbers: [18, 60, 22] Generated Node #0,2: 92:[18, 60, 22] Operation: 66/3=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[18, 3, 6], Operations: ['66-60=6'] Exploring Operation: 18+3=21, Resulting Numbers: [6, 21] Generated Node #0,0,0: 92:[6, 21] Operation: 18+3=21 Exploring Operation: 18+6=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 92:[3, 24] Operation: 18+6=24 Exploring Operation: 18/6=3, Resulting Numbers: [3, 3] Generated Node #0,0,2: 92:[3, 3] Operation: 18/6=3 Moving to Node #0,0,1 Current State: 92:[3, 24], Operations: ['66-60=6', '18+6=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,92 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[3, 3], Operations: ['66-60=6', '18/6=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[6, 21], Operations: ['66-60=6', '18+3=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[3, 60, 48], Operations: ['66-18=48'] Exploring Operation: 60-48=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 92:[3, 12] Operation: 60-48=12 Exploring Operation: 60-3=57, Resulting Numbers: [48, 57] Generated Node #0,1,1: 92:[48, 57] Operation: 60-3=57 Exploring Operation: 60/3=20, Resulting Numbers: [48, 20] Generated Node #0,1,2: 92:[48, 20] Operation: 60/3=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 92:[48, 20], Operations: ['66-18=48', '60/3=20'] Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[3, 12], Operations: ['66-18=48', '60-48=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 92:[48, 57], Operations: ['66-18=48', '60-3=57'] Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,92 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[18, 60, 22], Operations: ['66/3=22'] Exploring Operation: 60-22=38, Resulting Numbers: [18, 38] Generated Node #0,2,0: 92:[18, 38] Operation: 60-22=38 Exploring Operation: 22-18=4, Resulting Numbers: [60, 4] Generated Node #0,2,1: 92:[60, 4] Operation: 22-18=4 Exploring Operation: 60-18=42, Resulting Numbers: [22, 42] Generated Node #0,2,2: 92:[22, 42] Operation: 60-18=42 Moving to Node #0,2,2 Current State: 92:[22, 42], Operations: ['66/3=22', '60-18=42'] Exploring Operation: 22*42=924, Resulting Numbers: [924] 924,92 unequal: No Solution Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[18, 38], Operations: ['66/3=22', '60-22=38'] Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,92 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[60, 4], Operations: ['66/3=22', '22-18=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,92 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,92 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,92 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
[ 44, 17, 11, 47 ]
97
[ "44+17=61", "47-11=36", "61+36=97" ]
Current State: 97:[44, 17, 11, 47], Operations: [] Exploring Operation: 44+17=61, Resulting Numbers: [11, 47, 61] Generated Node #2: [11, 47, 61] from Operation: 44+17=61 Current State: 97:[11, 47, 61], Operations: ['44+17=61'] Exploring Operation: 47-11=36, Resulting Numbers: [61, 36] Generated Node #3: [61, 36] from Operation: 47-11=36 Current State: 97:[61, 36], Operations: ['44+17=61', '47-11=36'] Exploring Operation: 61+36=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[44, 17, 11, 47], Operations: [] Exploring Operation: 44+17=61, Resulting Numbers: [11, 47, 61] Generated Node #0,0: 97:[11, 47, 61] Operation: 44+17=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[11, 47, 61], Operations: ['44+17=61'] Exploring Operation: 11+47=58, Resulting Numbers: [61, 58] Generated Node #0,0,0: 97:[61, 58] Operation: 11+47=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[61, 58], Operations: ['44+17=61', '11+47=58'] Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 83, 45, 25, 93 ]
10
[ "83+45=128", "25+93=118", "128-118=10" ]
Current State: 10:[83, 45, 25, 93], Operations: [] Exploring Operation: 83+45=128, Resulting Numbers: [25, 93, 128] Generated Node #2: [25, 93, 128] from Operation: 83+45=128 Current State: 10:[25, 93, 128], Operations: ['83+45=128'] Exploring Operation: 25+93=118, Resulting Numbers: [128, 118] Generated Node #3: [128, 118] from Operation: 25+93=118 Current State: 10:[128, 118], Operations: ['83+45=128', '25+93=118'] Exploring Operation: 128-118=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[83, 45, 25, 93], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [45, 25, 10] Generated Node #0,0: 10:[45, 25, 10] Operation: 93-83=10 Exploring Operation: 83-45=38, Resulting Numbers: [25, 93, 38] Generated Node #0,1: 10:[25, 93, 38] Operation: 83-45=38 Moving to Node #0,0 Current State: 10:[45, 25, 10], Operations: ['93-83=10'] Exploring Operation: 45-10=35, Resulting Numbers: [25, 35] Generated Node #0,0,0: 10:[25, 35] Operation: 45-10=35 Exploring Operation: 45-25=20, Resulting Numbers: [10, 20] Generated Node #0,0,1: 10:[10, 20] Operation: 45-25=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[10, 20], Operations: ['93-83=10', '45-25=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[83, 45, 25, 93], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [45, 25, 10] Generated Node #0,0: 10:[45, 25, 10] Operation: 93-83=10 Moving to Node #0,0 Current State: 10:[45, 25, 10], Operations: ['93-83=10'] Exploring Operation: 45-25=20, Resulting Numbers: [10, 20] Generated Node #0,0,1: 10:[10, 20] Operation: 45-25=20 Moving to Node #0,0,1 Current State: 10:[10, 20], Operations: ['93-83=10', '45-25=20'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 61, 18, 1, 66 ]
24
[ "61-18=43", "1+66=67", "67-43=24" ]
Current State: 24:[61, 18, 1, 66], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [1, 66, 43] Generated Node #2: [1, 66, 43] from Operation: 61-18=43 Current State: 24:[1, 66, 43], Operations: ['61-18=43'] Exploring Operation: 1+66=67, Resulting Numbers: [43, 67] Generated Node #3: [43, 67] from Operation: 1+66=67 Current State: 24:[43, 67], Operations: ['61-18=43', '1+66=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[61, 18, 1, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [18, 1, 5] Generated Node #0,0: 24:[18, 1, 5] Operation: 66-61=5 Exploring Operation: 61-18=43, Resulting Numbers: [1, 66, 43] Generated Node #0,1: 24:[1, 66, 43] Operation: 61-18=43 Moving to Node #0,0 Current State: 24:[18, 1, 5], Operations: ['66-61=5'] Exploring Operation: 18-5=13, Resulting Numbers: [1, 13] Generated Node #0,0,0: 24:[1, 13] Operation: 18-5=13 Exploring Operation: 18+5=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 24:[1, 23] Operation: 18+5=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[1, 13], Operations: ['66-61=5', '18-5=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[1, 23], Operations: ['66-61=5', '18+5=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[61, 18, 1, 66], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [18, 1, 5] Generated Node #0,0: 24:[18, 1, 5] Operation: 66-61=5 Moving to Node #0,0 Current State: 24:[18, 1, 5], Operations: ['66-61=5'] Exploring Operation: 18+5=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 24:[1, 23] Operation: 18+5=23 Moving to Node #0,0,1 Current State: 24:[1, 23], Operations: ['66-61=5', '18+5=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic