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
[ 94, 57, 92, 68 ]
61
[ "94-57=37", "92-68=24", "37+24=61" ]
Current State: 61:[94, 57, 92, 68], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [92, 68, 37] Generated Node #2: [92, 68, 37] from Operation: 94-57=37 Current State: 61:[92, 68, 37], Operations: ['94-57=37'] Exploring Operation: 92-68=24, Resulting Numbers: [37, 24] Generated Node #3: [37, 24] from Operation: 92-68=24 Current State: 61:[37, 24], Operations: ['94-57=37', '92-68=24'] Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[94, 57, 92, 68], Operations: [] Exploring Operation: 94-68=26, Resulting Numbers: [57, 92, 26] Generated Node #0,0: 61:[57, 92, 26] Operation: 94-68=26 Exploring Operation: 92-57=35, Resulting Numbers: [94, 68, 35] Generated Node #0,1: 61:[94, 68, 35] Operation: 92-57=35 Exploring Operation: 94-92=2, Resulting Numbers: [57, 68, 2] Generated Node #0,2: 61:[57, 68, 2] Operation: 94-92=2 Exploring Operation: 94-57=37, Resulting Numbers: [92, 68, 37] Generated Node #0,3: 61:[92, 68, 37] Operation: 94-57=37 Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[92, 68, 37], Operations: ['94-57=37'] Exploring Operation: 68-37=31, Resulting Numbers: [92, 31] Generated Node #0,3,0: 61:[92, 31] Operation: 68-37=31 Exploring Operation: 92-68=24, Resulting Numbers: [37, 24] Generated Node #0,3,1: 61:[37, 24] Operation: 92-68=24 Exploring Operation: 92-37=55, Resulting Numbers: [68, 55] Generated Node #0,3,2: 61:[68, 55] Operation: 92-37=55 Exploring Operation: 92+37=129, Resulting Numbers: [68, 129] Generated Node #0,3,3: 61:[68, 129] Operation: 92+37=129 Moving to Node #0,3,2 Current State: 61:[68, 55], Operations: ['94-57=37', '92-37=55'] Exploring Operation: 68*55=3740, Resulting Numbers: [3740] 3740,61 unequal: No Solution Exploring Operation: 68-55=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 68+55=123, Resulting Numbers: [123] 123,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[37, 24], Operations: ['94-57=37', '92-68=24'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 37*24=888, Resulting Numbers: [888] 888,61 unequal: No Solution Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[94, 57, 92, 68], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [92, 68, 37] Generated Node #0,3: 61:[92, 68, 37] Operation: 94-57=37 Moving to Node #0,3 Current State: 61:[92, 68, 37], Operations: ['94-57=37'] Exploring Operation: 92-68=24, Resulting Numbers: [37, 24] Generated Node #0,3,1: 61:[37, 24] Operation: 92-68=24 Moving to Node #0,3,1 Current State: 61:[37, 24], Operations: ['94-57=37', '92-68=24'] Exploring Operation: 37+24=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 53, 19, 23, 79 ]
57
[ "53+23=76", "79-76=3", "19*3=57" ]
Current State: 57:[53, 19, 23, 79], Operations: [] Exploring Operation: 53+23=76, Resulting Numbers: [19, 79, 76] Generated Node #2: [19, 79, 76] from Operation: 53+23=76 Current State: 57:[19, 79, 76], Operations: ['53+23=76'] Exploring Operation: 79-76=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 79-76=3 Current State: 57:[19, 3], Operations: ['53+23=76', '79-76=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[53, 19, 23, 79], Operations: [] Exploring Operation: 79-23=56, Resulting Numbers: [53, 19, 56] Generated Node #0,0: 57:[53, 19, 56] Operation: 79-23=56 Moving to Node #0,0 Current State: 57:[53, 19, 56], Operations: ['79-23=56'] Exploring Operation: 56-53=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 56-53=3 Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['79-23=56', '56-53=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[53, 19, 23, 79], Operations: [] Exploring Operation: 79-23=56, Resulting Numbers: [53, 19, 56] Generated Node #0,0: 57:[53, 19, 56] Operation: 79-23=56 Moving to Node #0,0 Current State: 57:[53, 19, 56], Operations: ['79-23=56'] Exploring Operation: 56-53=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 57:[19, 3] Operation: 56-53=3 Moving to Node #0,0,0 Current State: 57:[19, 3], Operations: ['79-23=56', '56-53=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 63, 86, 19, 32 ]
36
[ "86-63=23", "32-19=13", "23+13=36" ]
Current State: 36:[63, 86, 19, 32], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [19, 32, 23] Generated Node #2: [19, 32, 23] from Operation: 86-63=23 Current State: 36:[19, 32, 23], Operations: ['86-63=23'] Exploring Operation: 32-19=13, Resulting Numbers: [23, 13] Generated Node #3: [23, 13] from Operation: 32-19=13 Current State: 36:[23, 13], Operations: ['86-63=23', '32-19=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[63, 86, 19, 32], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [19, 32, 23] Generated Node #0,0: 36:[19, 32, 23] Operation: 86-63=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[19, 32, 23], Operations: ['86-63=23'] Exploring Operation: 32-23=9, Resulting Numbers: [19, 9] Generated Node #0,0,0: 36:[19, 9] Operation: 32-23=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[19, 9], Operations: ['86-63=23', '32-23=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,36 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
[ 36, 5, 24, 8 ]
73
[ "36+5=41", "24+8=32", "41+32=73" ]
Current State: 73:[36, 5, 24, 8], Operations: [] Exploring Operation: 36+5=41, Resulting Numbers: [24, 8, 41] Generated Node #2: [24, 8, 41] from Operation: 36+5=41 Current State: 73:[24, 8, 41], Operations: ['36+5=41'] Exploring Operation: 24+8=32, Resulting Numbers: [41, 32] Generated Node #3: [41, 32] from Operation: 24+8=32 Current State: 73:[41, 32], Operations: ['36+5=41', '24+8=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[36, 5, 24, 8], Operations: [] Exploring Operation: 5*8=40, Resulting Numbers: [36, 24, 40] Generated Node #0,0: 73:[36, 24, 40] Operation: 5*8=40 Exploring Operation: 36+5=41, Resulting Numbers: [24, 8, 41] Generated Node #0,1: 73:[24, 8, 41] Operation: 36+5=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[36, 24, 40], Operations: ['5*8=40'] Exploring Operation: 24+40=64, Resulting Numbers: [36, 64] Generated Node #0,0,0: 73:[36, 64] Operation: 24+40=64 Exploring Operation: 36+24=60, Resulting Numbers: [40, 60] Generated Node #0,0,1: 73:[40, 60] Operation: 36+24=60 Moving to Node #0,0,0 Current State: 73:[36, 64], Operations: ['5*8=40', '24+40=64'] Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[40, 60], Operations: ['5*8=40', '36+24=60'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[24, 8, 41], Operations: ['36+5=41'] Exploring Operation: 24+8=32, Resulting Numbers: [41, 32] Generated Node #0,1,0: 73:[41, 32] Operation: 24+8=32 Exploring Operation: 24+41=65, Resulting Numbers: [8, 65] Generated Node #0,1,1: 73:[8, 65] Operation: 24+41=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[41, 32], Operations: ['36+5=41', '24+8=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[36, 5, 24, 8], Operations: [] Exploring Operation: 36+5=41, Resulting Numbers: [24, 8, 41] Generated Node #0,1: 73:[24, 8, 41] Operation: 36+5=41 Moving to Node #0,1 Current State: 73:[24, 8, 41], Operations: ['36+5=41'] Exploring Operation: 24+8=32, Resulting Numbers: [41, 32] Generated Node #0,1,0: 73:[41, 32] Operation: 24+8=32 Moving to Node #0,1,0 Current State: 73:[41, 32], Operations: ['36+5=41', '24+8=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 58, 40, 39, 8 ]
65
[ "58-40=18", "39+8=47", "18+47=65" ]
Current State: 65:[58, 40, 39, 8], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [39, 8, 18] Generated Node #2: [39, 8, 18] from Operation: 58-40=18 Current State: 65:[39, 8, 18], Operations: ['58-40=18'] Exploring Operation: 39+8=47, Resulting Numbers: [18, 47] Generated Node #3: [18, 47] from Operation: 39+8=47 Current State: 65:[18, 47], Operations: ['58-40=18', '39+8=47'] Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[58, 40, 39, 8], Operations: [] Exploring Operation: 58-40=18, Resulting Numbers: [39, 8, 18] Generated Node #0,0: 65:[39, 8, 18] Operation: 58-40=18 Exploring Operation: 40-39=1, Resulting Numbers: [58, 8, 1] Generated Node #0,1: 65:[58, 8, 1] Operation: 40-39=1 Exploring Operation: 40/8=5, Resulting Numbers: [58, 39, 5] Generated Node #0,2: 65:[58, 39, 5] Operation: 40/8=5 Exploring Operation: 40+39=79, Resulting Numbers: [58, 8, 79] Generated Node #0,3: 65:[58, 8, 79] Operation: 40+39=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[58, 8, 1], Operations: ['40-39=1'] Exploring Operation: 58+8=66, Resulting Numbers: [1, 66] Generated Node #0,1,0: 65:[1, 66] Operation: 58+8=66 Exploring Operation: 58+1=59, Resulting Numbers: [8, 59] Generated Node #0,1,1: 65:[8, 59] Operation: 58+1=59 Exploring Operation: 8-1=7, Resulting Numbers: [58, 7] Generated Node #0,1,2: 65:[58, 7] Operation: 8-1=7 Exploring Operation: 58*1=58, Resulting Numbers: [8, 58] Generated Node #0,1,3: 65:[8, 58] Operation: 58*1=58 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[1, 66], Operations: ['40-39=1', '58+8=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[58, 40, 39, 8], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [58, 8, 1] Generated Node #0,1: 65:[58, 8, 1] Operation: 40-39=1 Moving to Node #0,1 Current State: 65:[58, 8, 1], Operations: ['40-39=1'] Exploring Operation: 58+8=66, Resulting Numbers: [1, 66] Generated Node #0,1,0: 65:[1, 66] Operation: 58+8=66 Moving to Node #0,1,0 Current State: 65:[1, 66], Operations: ['40-39=1', '58+8=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 64, 19, 59, 32 ]
42
[ "64/32=2", "59-19=40", "2+40=42" ]
Current State: 42:[64, 19, 59, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [19, 59, 2] Generated Node #2: [19, 59, 2] from Operation: 64/32=2 Current State: 42:[19, 59, 2], Operations: ['64/32=2'] Exploring Operation: 59-19=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 59-19=40 Current State: 42:[2, 40], Operations: ['64/32=2', '59-19=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[64, 19, 59, 32], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [19, 32, 5] Generated Node #0,0: 42:[19, 32, 5] Operation: 64-59=5 Exploring Operation: 64-19=45, Resulting Numbers: [59, 32, 45] Generated Node #0,1: 42:[59, 32, 45] Operation: 64-19=45 Exploring Operation: 64-32=32, Resulting Numbers: [19, 59, 32] Generated Node #0,2: 42:[19, 59, 32] Operation: 64-32=32 Exploring Operation: 64/32=2, Resulting Numbers: [19, 59, 2] Generated Node #0,3: 42:[19, 59, 2] Operation: 64/32=2 Moving to Node #0,0 Current State: 42:[19, 32, 5], Operations: ['64-59=5'] Exploring Operation: 32+5=37, Resulting Numbers: [19, 37] Generated Node #0,0,0: 42:[19, 37] Operation: 32+5=37 Exploring Operation: 32-19=13, Resulting Numbers: [5, 13] Generated Node #0,0,1: 42:[5, 13] Operation: 32-19=13 Exploring Operation: 19+32=51, Resulting Numbers: [5, 51] Generated Node #0,0,2: 42:[5, 51] Operation: 19+32=51 Exploring Operation: 32-5=27, Resulting Numbers: [19, 27] Generated Node #0,0,3: 42:[19, 27] Operation: 32-5=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[5, 13], Operations: ['64-59=5', '32-19=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,42 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[19, 37], Operations: ['64-59=5', '32+5=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,42 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[19, 27], Operations: ['64-59=5', '32-5=27'] Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,42 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[5, 51], Operations: ['64-59=5', '19+32=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,42 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 42:[19, 59, 2], Operations: ['64/32=2'] Exploring Operation: 19-2=17, Resulting Numbers: [59, 17] Generated Node #0,3,0: 42:[59, 17] Operation: 19-2=17 Exploring Operation: 19+2=21, Resulting Numbers: [59, 21] Generated Node #0,3,1: 42:[59, 21] Operation: 19+2=21 Exploring Operation: 59-19=40, Resulting Numbers: [2, 40] Generated Node #0,3,2: 42:[2, 40] Operation: 59-19=40 Exploring Operation: 59-2=57, Resulting Numbers: [19, 57] Generated Node #0,3,3: 42:[19, 57] Operation: 59-2=57 Moving to Node #0,2 Current State: 42:[19, 59, 32], Operations: ['64-32=32'] Exploring Operation: 19+32=51, Resulting Numbers: [59, 51] Generated Node #0,2,0: 42:[59, 51] Operation: 19+32=51 Exploring Operation: 59-32=27, Resulting Numbers: [19, 27] Generated Node #0,2,1: 42:[19, 27] Operation: 59-32=27 Exploring Operation: 59-19=40, Resulting Numbers: [32, 40] Generated Node #0,2,2: 42:[32, 40] Operation: 59-19=40 Exploring Operation: 32-19=13, Resulting Numbers: [59, 13] Generated Node #0,2,3: 42:[59, 13] Operation: 32-19=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[19, 27], Operations: ['64-32=32', '59-32=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,42 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[32, 40], Operations: ['64-32=32', '59-19=40'] Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,42 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[59, 13], Operations: ['64-32=32', '32-19=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[59, 51], Operations: ['64-32=32', '19+32=51'] Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,42 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,42 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,42 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: 42:[59, 32, 45], Operations: ['64-19=45'] Exploring Operation: 59+32=91, Resulting Numbers: [45, 91] Generated Node #0,1,0: 42:[45, 91] Operation: 59+32=91 Exploring Operation: 59-32=27, Resulting Numbers: [45, 27] Generated Node #0,1,1: 42:[45, 27] Operation: 59-32=27 Exploring Operation: 45-32=13, Resulting Numbers: [59, 13] Generated Node #0,1,2: 42:[59, 13] Operation: 45-32=13 Exploring Operation: 59-45=14, Resulting Numbers: [32, 14] Generated Node #0,1,3: 42:[32, 14] Operation: 59-45=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[45, 27], Operations: ['64-19=45', '59-32=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,42 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[32, 14], Operations: ['64-19=45', '59-45=14'] Exploring Operation: 32+14=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 32*14=448, Resulting Numbers: [448] 448,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[59, 13], Operations: ['64-19=45', '45-32=13'] Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[45, 91], Operations: ['64-19=45', '59+32=91'] Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,42 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,42 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 42:[2, 40], Operations: ['64/32=2', '59-19=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[64, 19, 59, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [19, 59, 2] Generated Node #0,3: 42:[19, 59, 2] Operation: 64/32=2 Moving to Node #0,3 Current State: 42:[19, 59, 2], Operations: ['64/32=2'] Exploring Operation: 59-19=40, Resulting Numbers: [2, 40] Generated Node #0,3,2: 42:[2, 40] Operation: 59-19=40 Moving to Node #0,3,2 Current State: 42:[2, 40], Operations: ['64/32=2', '59-19=40'] Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 96, 3, 61, 21 ]
14
[ "3+61=64", "21*64=1344", "1344/96=14" ]
Current State: 14:[96, 3, 61, 21], Operations: [] Exploring Operation: 3+61=64, Resulting Numbers: [96, 21, 64] Generated Node #2: [96, 21, 64] from Operation: 3+61=64 Current State: 14:[96, 21, 64], Operations: ['3+61=64'] Exploring Operation: 21*64=1344, Resulting Numbers: [96, 1344] Generated Node #3: [96, 1344] from Operation: 21*64=1344 Current State: 14:[96, 1344], Operations: ['3+61=64', '21*64=1344'] Exploring Operation: 1344/96=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[96, 3, 61, 21], Operations: [] Exploring Operation: 96-61=35, Resulting Numbers: [3, 21, 35] Generated Node #0,0: 14:[3, 21, 35] Operation: 96-61=35 Exploring Operation: 96-21=75, Resulting Numbers: [3, 61, 75] Generated Node #0,1: 14:[3, 61, 75] Operation: 96-21=75 Exploring Operation: 96/3=32, Resulting Numbers: [61, 21, 32] Generated Node #0,2: 14:[61, 21, 32] Operation: 96/3=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[3, 21, 35], Operations: ['96-61=35'] Exploring Operation: 21-3=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 14:[35, 18] Operation: 21-3=18 Exploring Operation: 21/3=7, Resulting Numbers: [35, 7] Generated Node #0,0,1: 14:[35, 7] Operation: 21/3=7 Exploring Operation: 35-21=14, Resulting Numbers: [3, 14] Generated Node #0,0,2: 14:[3, 14] Operation: 35-21=14 Moving to Node #0,0,2 Current State: 14:[3, 14], Operations: ['96-61=35', '35-21=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[35, 7], Operations: ['96-61=35', '21/3=7'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,14 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[35, 18], Operations: ['96-61=35', '21-3=18'] Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,14 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[61, 21, 32], Operations: ['96/3=32'] Exploring Operation: 61-21=40, Resulting Numbers: [32, 40] Generated Node #0,2,0: 14:[32, 40] Operation: 61-21=40 Exploring Operation: 32-21=11, Resulting Numbers: [61, 11] Generated Node #0,2,1: 14:[61, 11] Operation: 32-21=11 Exploring Operation: 61-32=29, Resulting Numbers: [21, 29] Generated Node #0,2,2: 14:[21, 29] Operation: 61-32=29 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[21, 29], Operations: ['96/3=32', '61-32=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,14 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[32, 40], Operations: ['96/3=32', '61-21=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,14 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[61, 11], Operations: ['96/3=32', '32-21=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,14 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,14 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[3, 61, 75], Operations: ['96-21=75'] Exploring Operation: 75-61=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 14:[3, 14] Operation: 75-61=14 Exploring Operation: 75/3=25, Resulting Numbers: [61, 25] Generated Node #0,1,1: 14:[61, 25] Operation: 75/3=25 Exploring Operation: 61-3=58, Resulting Numbers: [75, 58] Generated Node #0,1,2: 14:[75, 58] Operation: 61-3=58 Moving to Node #0,1,0 Current State: 14:[3, 14], Operations: ['96-21=75', '75-61=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,14 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[61, 25], Operations: ['96-21=75', '75/3=25'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,14 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[75, 58], Operations: ['96-21=75', '61-3=58'] Exploring Operation: 75*58=4350, Resulting Numbers: [4350] 4350,14 unequal: No Solution Exploring Operation: 75+58=133, Resulting Numbers: [133] 133,14 unequal: No Solution Exploring Operation: 75-58=17, Resulting Numbers: [17] 17,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 60, 21, 65, 85 ]
20
[ "65-60=5", "21*5=105", "105-85=20" ]
Current State: 20:[60, 21, 65, 85], Operations: [] Exploring Operation: 65-60=5, Resulting Numbers: [21, 85, 5] Generated Node #2: [21, 85, 5] from Operation: 65-60=5 Current State: 20:[21, 85, 5], Operations: ['65-60=5'] Exploring Operation: 21*5=105, Resulting Numbers: [85, 105] Generated Node #3: [85, 105] from Operation: 21*5=105 Current State: 20:[85, 105], Operations: ['65-60=5', '21*5=105'] Exploring Operation: 105-85=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[60, 21, 65, 85], Operations: [] Exploring Operation: 85-65=20, Resulting Numbers: [60, 21, 20] Generated Node #0,0: 20:[60, 21, 20] Operation: 85-65=20 Moving to Node #0,0 Current State: 20:[60, 21, 20], Operations: ['85-65=20'] Exploring Operation: 60/20=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 20:[21, 3] Operation: 60/20=3 Moving to Node #0,0,0 Current State: 20:[21, 3], Operations: ['85-65=20', '60/20=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 63, 52, 49 ]
66
[ "52-49=3", "9/3=3", "63+3=66" ]
Current State: 66:[9, 63, 52, 49], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [9, 63, 3] Generated Node #2: [9, 63, 3] from Operation: 52-49=3 Current State: 66:[9, 63, 3], Operations: ['52-49=3'] Exploring Operation: 9/3=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 9/3=3 Current State: 66:[63, 3], Operations: ['52-49=3', '9/3=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[9, 63, 52, 49], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [9, 63, 3] Generated Node #0,0: 66:[9, 63, 3] Operation: 52-49=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[9, 63, 3], Operations: ['52-49=3'] Exploring Operation: 63/9=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 66:[3, 7] Operation: 63/9=7 Moving to Node #0,0,0 Current State: 66:[3, 7], Operations: ['52-49=3', '63/9=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,66 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
[ 48, 3, 5, 5 ]
15
[ "48/3=16", "5/5=1", "16-1=15" ]
Current State: 15:[48, 3, 5, 5], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [5, 5, 16] Generated Node #2: [5, 5, 16] from Operation: 48/3=16 Current State: 15:[5, 5, 16], Operations: ['48/3=16'] Exploring Operation: 5/5=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 5/5=1 Current State: 15:[16, 1], Operations: ['48/3=16', '5/5=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[48, 3, 5, 5], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [5, 5, 16] Generated Node #0,0: 15:[5, 5, 16] Operation: 48/3=16 Exploring Operation: 48-5=43, Resulting Numbers: [3, 5, 43] Generated Node #0,1: 15:[3, 5, 43] Operation: 48-5=43 Moving to Node #0,0 Current State: 15:[5, 5, 16], Operations: ['48/3=16'] Exploring Operation: 5/5=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 15:[16, 1] Operation: 5/5=1 Exploring Operation: 5-5=0, Resulting Numbers: [16, 0] Generated Node #0,0,1: 15:[16, 0] Operation: 5-5=0 Moving to Node #0,1 Current State: 15:[3, 5, 43], Operations: ['48-5=43'] Exploring Operation: 43-5=38, Resulting Numbers: [3, 38] Generated Node #0,1,0: 15:[3, 38] Operation: 43-5=38 Exploring Operation: 43-3=40, Resulting Numbers: [5, 40] Generated Node #0,1,1: 15:[5, 40] Operation: 43-3=40 Moving to Node #0,0,0 Current State: 15:[16, 1], Operations: ['48/3=16', '5/5=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[48, 3, 5, 5], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [5, 5, 16] Generated Node #0,0: 15:[5, 5, 16] Operation: 48/3=16 Moving to Node #0,0 Current State: 15:[5, 5, 16], Operations: ['48/3=16'] Exploring Operation: 5/5=1, Resulting Numbers: [16, 1] Generated Node #0,0,0: 15:[16, 1] Operation: 5/5=1 Moving to Node #0,0,0 Current State: 15:[16, 1], Operations: ['48/3=16', '5/5=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 40, 20, 5, 14 ]
26
[ "40+20=60", "60/5=12", "14+12=26" ]
Current State: 26:[40, 20, 5, 14], Operations: [] Exploring Operation: 40+20=60, Resulting Numbers: [5, 14, 60] Generated Node #2: [5, 14, 60] from Operation: 40+20=60 Current State: 26:[5, 14, 60], Operations: ['40+20=60'] Exploring Operation: 60/5=12, Resulting Numbers: [14, 12] Generated Node #3: [14, 12] from Operation: 60/5=12 Current State: 26:[14, 12], Operations: ['40+20=60', '60/5=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[40, 20, 5, 14], Operations: [] Exploring Operation: 40-14=26, Resulting Numbers: [20, 5, 26] Generated Node #0,0: 26:[20, 5, 26] Operation: 40-14=26 Exploring Operation: 40/20=2, Resulting Numbers: [5, 14, 2] Generated Node #0,1: 26:[5, 14, 2] Operation: 40/20=2 Exploring Operation: 40-20=20, Resulting Numbers: [5, 14, 20] Generated Node #0,2: 26:[5, 14, 20] Operation: 40-20=20 Exploring Operation: 40/5=8, Resulting Numbers: [20, 14, 8] Generated Node #0,3: 26:[20, 14, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [20, 14, 35] Generated Node #0,4: 26:[20, 14, 35] Operation: 40-5=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[5, 14, 2], Operations: ['40/20=2'] Exploring Operation: 5-2=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 26:[14, 3] Operation: 5-2=3 Exploring Operation: 14-5=9, Resulting Numbers: [2, 9] Generated Node #0,1,1: 26:[2, 9] Operation: 14-5=9 Exploring Operation: 5*2=10, Resulting Numbers: [14, 10] Generated Node #0,1,2: 26:[14, 10] Operation: 5*2=10 Exploring Operation: 14-2=12, Resulting Numbers: [5, 12] Generated Node #0,1,3: 26:[5, 12] Operation: 14-2=12 Exploring Operation: 14*2=28, Resulting Numbers: [5, 28] Generated Node #0,1,4: 26:[5, 28] Operation: 14*2=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[14, 3], Operations: ['40/20=2', '5-2=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,26 unequal: No Solution No 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: 26:[2, 9], Operations: ['40/20=2', '14-5=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,26 unequal: No Solution No 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: 26:[14, 10], Operations: ['40/20=2', '5*2=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,26 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,26 unequal: No Solution No 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: 26:[5, 12], Operations: ['40/20=2', '14-2=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,26 unequal: No Solution No 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: 26:[5, 28], Operations: ['40/20=2', '14*2=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,26 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: 26:[20, 5, 26], Operations: ['40-14=26'] Exploring Operation: 5+26=31, Resulting Numbers: [20, 31] Generated Node #0,0,0: 26:[20, 31] Operation: 5+26=31 Exploring Operation: 20/5=4, Resulting Numbers: [26, 4] Generated Node #0,0,1: 26:[26, 4] Operation: 20/5=4 Exploring Operation: 26-20=6, Resulting Numbers: [5, 6] Generated Node #0,0,2: 26:[5, 6] Operation: 26-20=6 Exploring Operation: 20+5=25, Resulting Numbers: [26, 25] Generated Node #0,0,3: 26:[26, 25] Operation: 20+5=25 Exploring Operation: 20-5=15, Resulting Numbers: [26, 15] Generated Node #0,0,4: 26:[26, 15] Operation: 20-5=15 Moving to Node #0,0,3 Current State: 26:[26, 25], Operations: ['40-14=26', '20+5=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,26 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,26 unequal: No Solution Moving to Node #0,0,4 Current State: 26:[26, 15], Operations: ['40-14=26', '20-5=15'] Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,26 unequal: No Solution Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[26, 4], Operations: ['40-14=26', '20/5=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,26 unequal: No Solution Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[5, 6], Operations: ['40-14=26', '26-20=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[20, 31], Operations: ['40-14=26', '5+26=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,26 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[5, 14, 20], Operations: ['40-20=20'] Exploring Operation: 5+20=25, Resulting Numbers: [14, 25] Generated Node #0,2,0: 26:[14, 25] Operation: 5+20=25 Exploring Operation: 20-14=6, Resulting Numbers: [5, 6] Generated Node #0,2,1: 26:[5, 6] Operation: 20-14=6 Exploring Operation: 20/5=4, Resulting Numbers: [14, 4] Generated Node #0,2,2: 26:[14, 4] Operation: 20/5=4 Exploring Operation: 14-5=9, Resulting Numbers: [20, 9] Generated Node #0,2,3: 26:[20, 9] Operation: 14-5=9 Exploring Operation: 20-5=15, Resulting Numbers: [14, 15] Generated Node #0,2,4: 26:[14, 15] Operation: 20-5=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[14, 25], Operations: ['40-20=20', '5+20=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,26 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,26 unequal: No Solution No 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: 26:[14, 4], Operations: ['40-20=20', '20/5=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,26 unequal: No Solution No 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: 26:[14, 15], Operations: ['40-20=20', '20-5=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,26 unequal: No Solution No 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: 26:[5, 6], Operations: ['40-20=20', '20-14=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[20, 9], Operations: ['40-20=20', '14-5=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,26 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,26 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,26 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: 26:[20, 14, 8], Operations: ['40/5=8'] Exploring Operation: 20+8=28, Resulting Numbers: [14, 28] Generated Node #0,3,0: 26:[14, 28] Operation: 20+8=28 Exploring Operation: 20-14=6, Resulting Numbers: [8, 6] Generated Node #0,3,1: 26:[8, 6] Operation: 20-14=6 Exploring Operation: 14-8=6, Resulting Numbers: [20, 6] Generated Node #0,3,2: 26:[20, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [20, 22] Generated Node #0,3,3: 26:[20, 22] Operation: 14+8=22 Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,3,4: 26:[14, 12] Operation: 20-8=12 Moving to Node #0,3,4 Current State: 26:[14, 12], Operations: ['40/5=8', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[40, 20, 5, 14], Operations: [] Exploring Operation: 40/5=8, Resulting Numbers: [20, 14, 8] Generated Node #0,3: 26:[20, 14, 8] Operation: 40/5=8 Moving to Node #0,3 Current State: 26:[20, 14, 8], Operations: ['40/5=8'] Exploring Operation: 20-8=12, Resulting Numbers: [14, 12] Generated Node #0,3,4: 26:[14, 12] Operation: 20-8=12 Moving to Node #0,3,4 Current State: 26:[14, 12], Operations: ['40/5=8', '20-8=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.934896
hs_5
mult_heuristic
[ 7, 21, 71, 70 ]
13
[ "21-7=14", "71-70=1", "14-1=13" ]
Current State: 13:[7, 21, 71, 70], Operations: [] Exploring Operation: 21-7=14, Resulting Numbers: [71, 70, 14] Generated Node #2: [71, 70, 14] from Operation: 21-7=14 Current State: 13:[71, 70, 14], Operations: ['21-7=14'] Exploring Operation: 71-70=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 71-70=1 Current State: 13:[14, 1], Operations: ['21-7=14', '71-70=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[7, 21, 71, 70], Operations: [] Exploring Operation: 71-70=1, Resulting Numbers: [7, 21, 1] Generated Node #0,0: 13:[7, 21, 1] Operation: 71-70=1 Exploring Operation: 70/7=10, Resulting Numbers: [21, 71, 10] Generated Node #0,1: 13:[21, 71, 10] Operation: 70/7=10 Exploring Operation: 71-21=50, Resulting Numbers: [7, 70, 50] Generated Node #0,2: 13:[7, 70, 50] Operation: 71-21=50 Exploring Operation: 70-21=49, Resulting Numbers: [7, 71, 49] Generated Node #0,3: 13:[7, 71, 49] Operation: 70-21=49 Moving to Node #0,0 Current State: 13:[7, 21, 1], Operations: ['71-70=1'] Exploring Operation: 21-7=14, Resulting Numbers: [1, 14] Generated Node #0,0,0: 13:[1, 14] Operation: 21-7=14 Exploring Operation: 7*1=7, Resulting Numbers: [21, 7] Generated Node #0,0,1: 13:[21, 7] Operation: 7*1=7 Exploring Operation: 21-1=20, Resulting Numbers: [7, 20] Generated Node #0,0,2: 13:[7, 20] Operation: 21-1=20 Exploring Operation: 7+1=8, Resulting Numbers: [21, 8] Generated Node #0,0,3: 13:[21, 8] Operation: 7+1=8 Moving to Node #0,1 Current State: 13:[21, 71, 10], Operations: ['70/7=10'] Exploring Operation: 71-10=61, Resulting Numbers: [21, 61] Generated Node #0,1,0: 13:[21, 61] Operation: 71-10=61 Exploring Operation: 71-21=50, Resulting Numbers: [10, 50] Generated Node #0,1,1: 13:[10, 50] Operation: 71-21=50 Exploring Operation: 21+10=31, Resulting Numbers: [71, 31] Generated Node #0,1,2: 13:[71, 31] Operation: 21+10=31 Exploring Operation: 21-10=11, Resulting Numbers: [71, 11] Generated Node #0,1,3: 13:[71, 11] Operation: 21-10=11 Moving to Node #0,3 Current State: 13:[7, 71, 49], Operations: ['70-21=49'] Exploring Operation: 49-7=42, Resulting Numbers: [71, 42] Generated Node #0,3,0: 13:[71, 42] Operation: 49-7=42 Exploring Operation: 49/7=7, Resulting Numbers: [71, 7] Generated Node #0,3,1: 13:[71, 7] Operation: 49/7=7 Exploring Operation: 71-49=22, Resulting Numbers: [7, 22] Generated Node #0,3,2: 13:[7, 22] Operation: 71-49=22 Exploring Operation: 71-7=64, Resulting Numbers: [49, 64] Generated Node #0,3,3: 13:[49, 64] Operation: 71-7=64 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[7, 22], Operations: ['70-21=49', '71-49=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,13 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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:[71, 7], Operations: ['70-21=49', '49/7=7'] Exploring Operation: 71+7=78, Resulting Numbers: [78] 78,13 unequal: No Solution Exploring Operation: 71*7=497, Resulting Numbers: [497] 497,13 unequal: No Solution Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,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,0 Current State: 13:[71, 42], Operations: ['70-21=49', '49-7=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,13 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,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:[49, 64], Operations: ['70-21=49', '71-7=64'] Exploring Operation: 49+64=113, Resulting Numbers: [113] 113,13 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,13 unequal: No Solution Exploring Operation: 49*64=3136, Resulting Numbers: [3136] 3136,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:[7, 70, 50], Operations: ['71-21=50'] Exploring Operation: 70-7=63, Resulting Numbers: [50, 63] Generated Node #0,2,0: 13:[50, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [50, 10] Generated Node #0,2,1: 13:[50, 10] Operation: 70/7=10 Exploring Operation: 70-50=20, Resulting Numbers: [7, 20] Generated Node #0,2,2: 13:[7, 20] Operation: 70-50=20 Exploring Operation: 50-7=43, Resulting Numbers: [70, 43] Generated Node #0,2,3: 13:[70, 43] Operation: 50-7=43 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[7, 20], Operations: ['71-21=50', '70-50=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,13 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,13 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[7, 21, 71, 70], Operations: [] Exploring Operation: 71-21=50, Resulting Numbers: [7, 70, 50] Generated Node #0,2: 13:[7, 70, 50] Operation: 71-21=50 Moving to Node #0,2 Current State: 13:[7, 70, 50], Operations: ['71-21=50'] Exploring Operation: 70-50=20, Resulting Numbers: [7, 20] Generated Node #0,2,2: 13:[7, 20] Operation: 70-50=20 Moving to Node #0,2,2 Current State: 13:[7, 20], Operations: ['71-21=50', '70-50=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 84, 65, 94, 14 ]
61
[ "84-65=19", "94-14=80", "80-19=61" ]
Current State: 61:[84, 65, 94, 14], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [94, 14, 19] Generated Node #2: [94, 14, 19] from Operation: 84-65=19 Current State: 61:[94, 14, 19], Operations: ['84-65=19'] Exploring Operation: 94-14=80, Resulting Numbers: [19, 80] Generated Node #3: [19, 80] from Operation: 94-14=80 Current State: 61:[19, 80], Operations: ['84-65=19', '94-14=80'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[84, 65, 94, 14], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [84, 65, 80] Generated Node #0,0: 61:[84, 65, 80] Operation: 94-14=80 Exploring Operation: 84-14=70, Resulting Numbers: [65, 94, 70] Generated Node #0,1: 61:[65, 94, 70] Operation: 84-14=70 Moving to Node #0,0 Current State: 61:[84, 65, 80], Operations: ['94-14=80'] Exploring Operation: 84-65=19, Resulting Numbers: [80, 19] Generated Node #0,0,0: 61:[80, 19] Operation: 84-65=19 Exploring Operation: 84-80=4, Resulting Numbers: [65, 4] Generated Node #0,0,1: 61:[65, 4] Operation: 84-80=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[80, 19], Operations: ['94-14=80', '84-65=19'] Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,61 unequal: No Solution Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[84, 65, 94, 14], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [84, 65, 80] Generated Node #0,0: 61:[84, 65, 80] Operation: 94-14=80 Moving to Node #0,0 Current State: 61:[84, 65, 80], Operations: ['94-14=80'] Exploring Operation: 84-65=19, Resulting Numbers: [80, 19] Generated Node #0,0,0: 61:[80, 19] Operation: 84-65=19 Moving to Node #0,0,0 Current State: 61:[80, 19], Operations: ['94-14=80', '84-65=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 87, 6, 45, 51 ]
15
[ "87-6=81", "45+51=96", "96-81=15" ]
Current State: 15:[87, 6, 45, 51], Operations: [] Exploring Operation: 87-6=81, Resulting Numbers: [45, 51, 81] Generated Node #2: [45, 51, 81] from Operation: 87-6=81 Current State: 15:[45, 51, 81], Operations: ['87-6=81'] Exploring Operation: 45+51=96, Resulting Numbers: [81, 96] Generated Node #3: [81, 96] from Operation: 45+51=96 Current State: 15:[81, 96], Operations: ['87-6=81', '45+51=96'] Exploring Operation: 96-81=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[87, 6, 45, 51], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [6, 45, 36] Generated Node #0,0: 15:[6, 45, 36] Operation: 87-51=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[6, 45, 36], Operations: ['87-51=36'] Exploring Operation: 45-36=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 15:[6, 9] Operation: 45-36=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[6, 9], Operations: ['87-51=36', '45-36=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[87, 6, 45, 51], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [6, 45, 36] Generated Node #0,0: 15:[6, 45, 36] Operation: 87-51=36 Moving to Node #0,0 Current State: 15:[6, 45, 36], Operations: ['87-51=36'] Exploring Operation: 45-36=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 15:[6, 9] Operation: 45-36=9 Moving to Node #0,0,0 Current State: 15:[6, 9], Operations: ['87-51=36', '45-36=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 68, 79, 2 ]
45
[ "17*2=34", "79-68=11", "34+11=45" ]
Current State: 45:[17, 68, 79, 2], Operations: [] Exploring Operation: 17*2=34, Resulting Numbers: [68, 79, 34] Generated Node #2: [68, 79, 34] from Operation: 17*2=34 Current State: 45:[68, 79, 34], Operations: ['17*2=34'] Exploring Operation: 79-68=11, Resulting Numbers: [34, 11] Generated Node #3: [34, 11] from Operation: 79-68=11 Current State: 45:[34, 11], Operations: ['17*2=34', '79-68=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[17, 68, 79, 2], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [79, 2, 4] Generated Node #0,0: 45:[79, 2, 4] Operation: 68/17=4 Exploring Operation: 79-68=11, Resulting Numbers: [17, 2, 11] Generated Node #0,1: 45:[17, 2, 11] Operation: 79-68=11 Exploring Operation: 68-17=51, Resulting Numbers: [79, 2, 51] Generated Node #0,2: 45:[79, 2, 51] Operation: 68-17=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[17, 2, 11], Operations: ['79-68=11'] Exploring Operation: 17-11=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 45:[2, 6] Operation: 17-11=6 Exploring Operation: 17-2=15, Resulting Numbers: [11, 15] Generated Node #0,1,1: 45:[11, 15] Operation: 17-2=15 Exploring Operation: 11-2=9, Resulting Numbers: [17, 9] Generated Node #0,1,2: 45:[17, 9] Operation: 11-2=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[2, 6], Operations: ['79-68=11', '17-11=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,45 unequal: No Solution No 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: 45:[11, 15], Operations: ['79-68=11', '17-2=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,45 unequal: No Solution No 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: 45:[17, 9], Operations: ['79-68=11', '11-2=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,45 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: 45:[79, 2, 4], Operations: ['68/17=4'] Exploring Operation: 2+4=6, Resulting Numbers: [79, 6] Generated Node #0,0,0: 45:[79, 6] Operation: 2+4=6 Exploring Operation: 79-4=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 45:[2, 75] Operation: 79-4=75 Exploring Operation: 79-2=77, Resulting Numbers: [4, 77] Generated Node #0,0,2: 45:[4, 77] Operation: 79-2=77 Moving to Node #0,0,1 Current State: 45:[2, 75], Operations: ['68/17=4', '79-4=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[4, 77], Operations: ['68/17=4', '79-2=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,45 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[79, 6], Operations: ['68/17=4', '2+4=6'] Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,45 unequal: No Solution Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,45 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,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 Current State: 45:[79, 2, 51], Operations: ['68-17=51'] Exploring Operation: 79-51=28, Resulting Numbers: [2, 28] Generated Node #0,2,0: 45:[2, 28] Operation: 79-51=28 Exploring Operation: 51-2=49, Resulting Numbers: [79, 49] Generated Node #0,2,1: 45:[79, 49] Operation: 51-2=49 Exploring Operation: 79-2=77, Resulting Numbers: [51, 77] Generated Node #0,2,2: 45:[51, 77] Operation: 79-2=77 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[2, 28], Operations: ['68-17=51', '79-51=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,45 unequal: No Solution No 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: 45:[79, 49], Operations: ['68-17=51', '51-2=49'] Exploring Operation: 79+49=128, Resulting Numbers: [128] 128,45 unequal: No Solution Exploring Operation: 79*49=3871, Resulting Numbers: [3871] 3871,45 unequal: No Solution Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,45 unequal: No Solution No 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: 45:[51, 77], Operations: ['68-17=51', '79-2=77'] Exploring Operation: 77-51=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 51+77=128, Resulting Numbers: [128] 128,45 unequal: No Solution Exploring Operation: 51*77=3927, Resulting Numbers: [3927] 3927,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 63, 67, 14, 9 ]
27
[ "67-63=4", "14+9=23", "4+23=27" ]
Current State: 27:[63, 67, 14, 9], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [14, 9, 4] Generated Node #2: [14, 9, 4] from Operation: 67-63=4 Current State: 27:[14, 9, 4], Operations: ['67-63=4'] Exploring Operation: 14+9=23, Resulting Numbers: [4, 23] Generated Node #3: [4, 23] from Operation: 14+9=23 Current State: 27:[4, 23], Operations: ['67-63=4', '14+9=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[63, 67, 14, 9], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [14, 9, 4] Generated Node #0,0: 27:[14, 9, 4] Operation: 67-63=4 Exploring Operation: 63-14=49, Resulting Numbers: [67, 9, 49] Generated Node #0,1: 27:[67, 9, 49] Operation: 63-14=49 Exploring Operation: 63/9=7, Resulting Numbers: [67, 14, 7] Generated Node #0,2: 27:[67, 14, 7] Operation: 63/9=7 Exploring Operation: 67-14=53, Resulting Numbers: [63, 9, 53] Generated Node #0,3: 27:[63, 9, 53] Operation: 67-14=53 Moving to Node #0,0 Current State: 27:[14, 9, 4], Operations: ['67-63=4'] Exploring Operation: 14-9=5, Resulting Numbers: [4, 5] Generated Node #0,0,0: 27:[4, 5] Operation: 14-9=5 Exploring Operation: 9-4=5, Resulting Numbers: [14, 5] Generated Node #0,0,1: 27:[14, 5] Operation: 9-4=5 Exploring Operation: 14-4=10, Resulting Numbers: [9, 10] Generated Node #0,0,2: 27:[9, 10] Operation: 14-4=10 Exploring Operation: 14+9=23, Resulting Numbers: [4, 23] Generated Node #0,0,3: 27:[4, 23] Operation: 14+9=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[9, 10], Operations: ['67-63=4', '14-4=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[4, 5], Operations: ['67-63=4', '14-9=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[4, 23], Operations: ['67-63=4', '14+9=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,27 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,27 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[63, 67, 14, 9], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [14, 9, 4] Generated Node #0,0: 27:[14, 9, 4] Operation: 67-63=4 Moving to Node #0,0 Current State: 27:[14, 9, 4], Operations: ['67-63=4'] Exploring Operation: 14+9=23, Resulting Numbers: [4, 23] Generated Node #0,0,3: 27:[4, 23] Operation: 14+9=23 Moving to Node #0,0,3 Current State: 27:[4, 23], Operations: ['67-63=4', '14+9=23'] Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 54, 64, 21, 32 ]
64
[ "54-21=33", "33-32=1", "64*1=64" ]
Current State: 64:[54, 64, 21, 32], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [64, 32, 33] Generated Node #2: [64, 32, 33] from Operation: 54-21=33 Current State: 64:[64, 32, 33], Operations: ['54-21=33'] Exploring Operation: 33-32=1, Resulting Numbers: [64, 1] Generated Node #3: [64, 1] from Operation: 33-32=1 Current State: 64:[64, 1], Operations: ['54-21=33', '33-32=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[54, 64, 21, 32], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [64, 32, 33] Generated Node #0,0: 64:[64, 32, 33] Operation: 54-21=33 Exploring Operation: 54-32=22, Resulting Numbers: [64, 21, 22] Generated Node #0,1: 64:[64, 21, 22] Operation: 54-32=22 Exploring Operation: 64-54=10, Resulting Numbers: [21, 32, 10] Generated Node #0,2: 64:[21, 32, 10] Operation: 64-54=10 Exploring Operation: 54+21=75, Resulting Numbers: [64, 32, 75] Generated Node #0,3: 64:[64, 32, 75] Operation: 54+21=75 Exploring Operation: 32-21=11, Resulting Numbers: [54, 64, 11] Generated Node #0,4: 64:[54, 64, 11] Operation: 32-21=11 Moving to Node #0,0 Current State: 64:[64, 32, 33], Operations: ['54-21=33'] Exploring Operation: 32+33=65, Resulting Numbers: [64, 65] Generated Node #0,0,0: 64:[64, 65] Operation: 32+33=65 Exploring Operation: 64-32=32, Resulting Numbers: [33, 32] Generated Node #0,0,1: 64:[33, 32] Operation: 64-32=32 Exploring Operation: 33-32=1, Resulting Numbers: [64, 1] Generated Node #0,0,2: 64:[64, 1] Operation: 33-32=1 Exploring Operation: 64/32=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 64:[33, 2] Operation: 64/32=2 Exploring Operation: 64-33=31, Resulting Numbers: [32, 31] Generated Node #0,0,4: 64:[32, 31] Operation: 64-33=31 Moving to Node #0,2 Current State: 64:[21, 32, 10], Operations: ['64-54=10'] Exploring Operation: 21+10=31, Resulting Numbers: [32, 31] Generated Node #0,2,0: 64:[32, 31] Operation: 21+10=31 Exploring Operation: 32-21=11, Resulting Numbers: [10, 11] Generated Node #0,2,1: 64:[10, 11] Operation: 32-21=11 Exploring Operation: 21+32=53, Resulting Numbers: [10, 53] Generated Node #0,2,2: 64:[10, 53] Operation: 21+32=53 Exploring Operation: 32-10=22, Resulting Numbers: [21, 22] Generated Node #0,2,3: 64:[21, 22] Operation: 32-10=22 Exploring Operation: 21-10=11, Resulting Numbers: [32, 11] Generated Node #0,2,4: 64:[32, 11] Operation: 21-10=11 Moving to Node #0,1 Current State: 64:[64, 21, 22], Operations: ['54-32=22'] Exploring Operation: 22-21=1, Resulting Numbers: [64, 1] Generated Node #0,1,0: 64:[64, 1] Operation: 22-21=1 Exploring Operation: 64-21=43, Resulting Numbers: [22, 43] Generated Node #0,1,1: 64:[22, 43] Operation: 64-21=43 Exploring Operation: 64+21=85, Resulting Numbers: [22, 85] Generated Node #0,1,2: 64:[22, 85] Operation: 64+21=85 Exploring Operation: 21+22=43, Resulting Numbers: [64, 43] Generated Node #0,1,3: 64:[64, 43] Operation: 21+22=43 Exploring Operation: 64-22=42, Resulting Numbers: [21, 42] Generated Node #0,1,4: 64:[21, 42] Operation: 64-22=42 Moving to Node #0,3 Current State: 64:[64, 32, 75], Operations: ['54+21=75'] Exploring Operation: 64+32=96, Resulting Numbers: [75, 96] Generated Node #0,3,0: 64:[75, 96] Operation: 64+32=96 Exploring Operation: 75-64=11, Resulting Numbers: [32, 11] Generated Node #0,3,1: 64:[32, 11] Operation: 75-64=11 Exploring Operation: 64/32=2, Resulting Numbers: [75, 2] Generated Node #0,3,2: 64:[75, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [75, 32] Generated Node #0,3,3: 64:[75, 32] Operation: 64-32=32 Exploring Operation: 75-32=43, Resulting Numbers: [64, 43] Generated Node #0,3,4: 64:[64, 43] Operation: 75-32=43 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[32, 11], Operations: ['54+21=75', '75-64=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,64 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,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,3,2 Current State: 64:[75, 2], Operations: ['54+21=75', '64/32=2'] Exploring Operation: 75+2=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 75*2=150, Resulting Numbers: [150] 150,64 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,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,3,3 Current State: 64:[75, 32], Operations: ['54+21=75', '64-32=32'] Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,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,3,4 Current State: 64:[64, 43], Operations: ['54+21=75', '75-32=43'] Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,64 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,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,3,0 Current State: 64:[75, 96], Operations: ['54+21=75', '64+32=96'] Exploring Operation: 75*96=7200, Resulting Numbers: [7200] 7200,64 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 75+96=171, Resulting Numbers: [171] 171,64 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: 64:[54, 64, 11], Operations: ['32-21=11'] Exploring Operation: 54+11=65, Resulting Numbers: [64, 65] Generated Node #0,4,0: 64:[64, 65] Operation: 54+11=65 Exploring Operation: 54-11=43, Resulting Numbers: [64, 43] Generated Node #0,4,1: 64:[64, 43] Operation: 54-11=43 Exploring Operation: 64-54=10, Resulting Numbers: [11, 10] Generated Node #0,4,2: 64:[11, 10] Operation: 64-54=10 Exploring Operation: 64-11=53, Resulting Numbers: [54, 53] Generated Node #0,4,3: 64:[54, 53] Operation: 64-11=53 Exploring Operation: 64+11=75, Resulting Numbers: [54, 75] Generated Node #0,4,4: 64:[54, 75] Operation: 64+11=75 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[64, 65], Operations: ['32-21=11', '54+11=65'] Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,64 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,64 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,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,4,2 Current State: 64:[11, 10], Operations: ['32-21=11', '64-54=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,64 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,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,4,1 Current State: 64:[64, 43], Operations: ['32-21=11', '54-11=43'] Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,64 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,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,4,3 Current State: 64:[54, 53], Operations: ['32-21=11', '64-11=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,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,4,4 Current State: 64:[54, 75], Operations: ['32-21=11', '64+11=75'] Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,64 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,64 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,64 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: 64:[64, 65], Operations: ['54-21=33', '32+33=65'] Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 64*65=4160, Resulting Numbers: [4160] 4160,64 unequal: No Solution Exploring Operation: 64+65=129, Resulting Numbers: [129] 129,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[64, 1], Operations: ['54-21=33', '33-32=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[54, 64, 21, 32], Operations: [] Exploring Operation: 54-21=33, Resulting Numbers: [64, 32, 33] Generated Node #0,0: 64:[64, 32, 33] Operation: 54-21=33 Moving to Node #0,0 Current State: 64:[64, 32, 33], Operations: ['54-21=33'] Exploring Operation: 33-32=1, Resulting Numbers: [64, 1] Generated Node #0,0,2: 64:[64, 1] Operation: 33-32=1 Moving to Node #0,0,2 Current State: 64:[64, 1], Operations: ['54-21=33', '33-32=1'] Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 17, 80, 6, 92 ]
90
[ "17*6=102", "92-80=12", "102-12=90" ]
Current State: 90:[17, 80, 6, 92], Operations: [] Exploring Operation: 17*6=102, Resulting Numbers: [80, 92, 102] Generated Node #2: [80, 92, 102] from Operation: 17*6=102 Current State: 90:[80, 92, 102], Operations: ['17*6=102'] Exploring Operation: 92-80=12, Resulting Numbers: [102, 12] Generated Node #3: [102, 12] from Operation: 92-80=12 Current State: 90:[102, 12], Operations: ['17*6=102', '92-80=12'] Exploring Operation: 102-12=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[17, 80, 6, 92], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [17, 6, 12] Generated Node #0,0: 90:[17, 6, 12] Operation: 92-80=12 Exploring Operation: 17+80=97, Resulting Numbers: [6, 92, 97] Generated Node #0,1: 90:[6, 92, 97] Operation: 17+80=97 Exploring Operation: 17-6=11, Resulting Numbers: [80, 92, 11] Generated Node #0,2: 90:[80, 92, 11] Operation: 17-6=11 Exploring Operation: 80+6=86, Resulting Numbers: [17, 92, 86] Generated Node #0,3: 90:[17, 92, 86] Operation: 80+6=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[17, 6, 12], Operations: ['92-80=12'] Exploring Operation: 12-6=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 90:[17, 6] Operation: 12-6=6 Exploring Operation: 17+12=29, Resulting Numbers: [6, 29] Generated Node #0,0,1: 90:[6, 29] Operation: 17+12=29 Exploring Operation: 6+12=18, Resulting Numbers: [17, 18] Generated Node #0,0,2: 90:[17, 18] Operation: 6+12=18 Exploring Operation: 17-12=5, Resulting Numbers: [6, 5] Generated Node #0,0,3: 90:[6, 5] Operation: 17-12=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[6, 5], Operations: ['92-80=12', '17-12=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[17, 6], Operations: ['92-80=12', '12-6=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,90 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[6, 29], Operations: ['92-80=12', '17+12=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,90 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[17, 18], Operations: ['92-80=12', '6+12=18'] Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 17*18=306, Resulting Numbers: [306] 306,90 unequal: No Solution Exploring Operation: 17+18=35, Resulting Numbers: [35] 35,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 90:[17, 92, 86], Operations: ['80+6=86'] Exploring Operation: 92-17=75, Resulting Numbers: [86, 75] Generated Node #0,3,0: 90:[86, 75] Operation: 92-17=75 Exploring Operation: 17+92=109, Resulting Numbers: [86, 109] Generated Node #0,3,1: 90:[86, 109] Operation: 17+92=109 Exploring Operation: 92-86=6, Resulting Numbers: [17, 6] Generated Node #0,3,2: 90:[17, 6] Operation: 92-86=6 Exploring Operation: 17+86=103, Resulting Numbers: [92, 103] Generated Node #0,3,3: 90:[92, 103] Operation: 17+86=103 Moving to Node #0,3,2 Current State: 90:[17, 6], Operations: ['80+6=86', '92-86=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,90 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[92, 103], Operations: ['80+6=86', '17+86=103'] Exploring Operation: 92+103=195, Resulting Numbers: [195] 195,90 unequal: No Solution Exploring Operation: 92*103=9476, Resulting Numbers: [9476] 9476,90 unequal: No Solution Exploring Operation: 103-92=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[86, 75], Operations: ['80+6=86', '92-17=75'] Exploring Operation: 86+75=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 86*75=6450, Resulting Numbers: [6450] 6450,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[86, 109], Operations: ['80+6=86', '17+92=109'] Exploring Operation: 86*109=9374, Resulting Numbers: [9374] 9374,90 unequal: No Solution Exploring Operation: 86+109=195, Resulting Numbers: [195] 195,90 unequal: No Solution Exploring Operation: 109-86=23, Resulting Numbers: [23] 23,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[6, 92, 97], Operations: ['17+80=97'] Exploring Operation: 92-6=86, Resulting Numbers: [97, 86] Generated Node #0,1,0: 90:[97, 86] Operation: 92-6=86 Exploring Operation: 97-6=91, Resulting Numbers: [92, 91] Generated Node #0,1,1: 90:[92, 91] Operation: 97-6=91 Exploring Operation: 6+92=98, Resulting Numbers: [97, 98] Generated Node #0,1,2: 90:[97, 98] Operation: 6+92=98 Exploring Operation: 97-92=5, Resulting Numbers: [6, 5] Generated Node #0,1,3: 90:[6, 5] Operation: 97-92=5 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 90:[6, 5], Operations: ['17+80=97', '97-92=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[92, 91], Operations: ['17+80=97', '97-6=91'] Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 92+91=183, Resulting Numbers: [183] 183,90 unequal: No Solution Exploring Operation: 92*91=8372, Resulting Numbers: [8372] 8372,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[97, 86], Operations: ['17+80=97', '92-6=86'] Exploring Operation: 97+86=183, Resulting Numbers: [183] 183,90 unequal: No Solution Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 97*86=8342, Resulting Numbers: [8342] 8342,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[97, 98], Operations: ['17+80=97', '6+92=98'] Exploring Operation: 97*98=9506, Resulting Numbers: [9506] 9506,90 unequal: No Solution Exploring Operation: 98-97=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 97+98=195, Resulting Numbers: [195] 195,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[80, 92, 11], Operations: ['17-6=11'] Exploring Operation: 92-11=81, Resulting Numbers: [80, 81] Generated Node #0,2,0: 90:[80, 81] Operation: 92-11=81 Exploring Operation: 80+11=91, Resulting Numbers: [92, 91] Generated Node #0,2,1: 90:[92, 91] Operation: 80+11=91 Exploring Operation: 80-11=69, Resulting Numbers: [92, 69] Generated Node #0,2,2: 90:[92, 69] Operation: 80-11=69 Exploring Operation: 92-80=12, Resulting Numbers: [11, 12] Generated Node #0,2,3: 90:[11, 12] Operation: 92-80=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[92, 91], Operations: ['17-6=11', '80+11=91'] Exploring Operation: 92*91=8372, Resulting Numbers: [8372] 8372,90 unequal: No Solution Exploring Operation: 92+91=183, Resulting Numbers: [183] 183,90 unequal: No Solution Exploring Operation: 92-91=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 90:[11, 12], Operations: ['17-6=11', '92-80=12'] Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,90 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 90:[80, 81], Operations: ['17-6=11', '92-11=81'] Exploring Operation: 80*81=6480, Resulting Numbers: [6480] 6480,90 unequal: No Solution Exploring Operation: 80+81=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 81-80=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[92, 69], Operations: ['17-6=11', '80-11=69'] Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,90 unequal: No Solution Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 40, 71, 4 ]
63
[ "40/20=2", "4*2=8", "71-8=63" ]
Current State: 63:[20, 40, 71, 4], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [71, 4, 2] Generated Node #2: [71, 4, 2] from Operation: 40/20=2 Current State: 63:[71, 4, 2], Operations: ['40/20=2'] Exploring Operation: 4*2=8, Resulting Numbers: [71, 8] Generated Node #3: [71, 8] from Operation: 4*2=8 Current State: 63:[71, 8], Operations: ['40/20=2', '4*2=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[20, 40, 71, 4], Operations: [] Exploring Operation: 40/4=10, Resulting Numbers: [20, 71, 10] Generated Node #0,0: 63:[20, 71, 10] Operation: 40/4=10 Exploring Operation: 20+40=60, Resulting Numbers: [71, 4, 60] Generated Node #0,1: 63:[71, 4, 60] Operation: 20+40=60 Exploring Operation: 40-20=20, Resulting Numbers: [71, 4, 20] Generated Node #0,2: 63:[71, 4, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [71, 4, 2] Generated Node #0,3: 63:[71, 4, 2] Operation: 40/20=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[20, 71, 10], Operations: ['40/4=10'] Exploring Operation: 20/10=2, Resulting Numbers: [71, 2] Generated Node #0,0,0: 63:[71, 2] Operation: 20/10=2 Exploring Operation: 71-20=51, Resulting Numbers: [10, 51] Generated Node #0,0,1: 63:[10, 51] Operation: 71-20=51 Exploring Operation: 71-10=61, Resulting Numbers: [20, 61] Generated Node #0,0,2: 63:[20, 61] Operation: 71-10=61 Exploring Operation: 20-10=10, Resulting Numbers: [71, 10] Generated Node #0,0,3: 63:[71, 10] Operation: 20-10=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[20, 61], Operations: ['40/4=10', '71-10=61'] Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,63 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,63 unequal: No Solution No 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: 63:[71, 2], Operations: ['40/4=10', '20/10=2'] Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,63 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,63 unequal: No Solution No 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: 63:[71, 10], Operations: ['40/4=10', '20-10=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,63 unequal: No Solution No 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: 63:[10, 51], Operations: ['40/4=10', '71-20=51'] Exploring Operation: 10*51=510, Resulting Numbers: [510] 510,63 unequal: No Solution Exploring Operation: 10+51=61, Resulting Numbers: [61] 61,63 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,63 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: 63:[71, 4, 20], Operations: ['40-20=20'] Exploring Operation: 4+20=24, Resulting Numbers: [71, 24] Generated Node #0,2,0: 63:[71, 24] Operation: 4+20=24 Exploring Operation: 71+4=75, Resulting Numbers: [20, 75] Generated Node #0,2,1: 63:[20, 75] Operation: 71+4=75 Exploring Operation: 71-4=67, Resulting Numbers: [20, 67] Generated Node #0,2,2: 63:[20, 67] Operation: 71-4=67 Exploring Operation: 20/4=5, Resulting Numbers: [71, 5] Generated Node #0,2,3: 63:[71, 5] Operation: 20/4=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[20, 67], Operations: ['40-20=20', '71-4=67'] Exploring Operation: 20+67=87, Resulting Numbers: [87] 87,63 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 20*67=1340, Resulting Numbers: [1340] 1340,63 unequal: No Solution No 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: 63:[71, 5], Operations: ['40-20=20', '20/4=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,63 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,63 unequal: No Solution No 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: 63:[71, 24], Operations: ['40-20=20', '4+20=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,63 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,63 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,63 unequal: No Solution No 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: 63:[20, 75], Operations: ['40-20=20', '71+4=75'] Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,63 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,63 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: 63:[71, 4, 2], Operations: ['40/20=2'] Exploring Operation: 71-4=67, Resulting Numbers: [2, 67] Generated Node #0,3,0: 63:[2, 67] Operation: 71-4=67 Exploring Operation: 4*2=8, Resulting Numbers: [71, 8] Generated Node #0,3,1: 63:[71, 8] Operation: 4*2=8 Exploring Operation: 4+2=6, Resulting Numbers: [71, 6] Generated Node #0,3,2: 63:[71, 6] Operation: 4+2=6 Exploring Operation: 71-2=69, Resulting Numbers: [4, 69] Generated Node #0,3,3: 63:[4, 69] Operation: 71-2=69 Moving to Node #0,3,0 Current State: 63:[2, 67], Operations: ['40/20=2', '71-4=67'] Exploring Operation: 2*67=134, Resulting Numbers: [134] 134,63 unequal: No Solution Exploring Operation: 2+67=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[4, 69], Operations: ['40/20=2', '71-2=69'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,63 unequal: No Solution Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,63 unequal: No Solution Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[71, 6], Operations: ['40/20=2', '4+2=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,63 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,63 unequal: No Solution Moving to Node #0,3,1 Current State: 63:[71, 8], Operations: ['40/20=2', '4*2=8'] Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,63 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[20, 40, 71, 4], Operations: [] Exploring Operation: 40/20=2, Resulting Numbers: [71, 4, 2] Generated Node #0,3: 63:[71, 4, 2] Operation: 40/20=2 Moving to Node #0,3 Current State: 63:[71, 4, 2], Operations: ['40/20=2'] Exploring Operation: 4*2=8, Resulting Numbers: [71, 8] Generated Node #0,3,1: 63:[71, 8] Operation: 4*2=8 Moving to Node #0,3,1 Current State: 63:[71, 8], Operations: ['40/20=2', '4*2=8'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_4
sum_heuristic
[ 36, 5, 94, 38 ]
87
[ "36-5=31", "94-38=56", "31+56=87" ]
Current State: 87:[36, 5, 94, 38], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [94, 38, 31] Generated Node #2: [94, 38, 31] from Operation: 36-5=31 Current State: 87:[94, 38, 31], Operations: ['36-5=31'] Exploring Operation: 94-38=56, Resulting Numbers: [31, 56] Generated Node #3: [31, 56] from Operation: 94-38=56 Current State: 87:[31, 56], Operations: ['36-5=31', '94-38=56'] Exploring Operation: 31+56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[36, 5, 94, 38], Operations: [] Exploring Operation: 38-5=33, Resulting Numbers: [36, 94, 33] Generated Node #0,0: 87:[36, 94, 33] Operation: 38-5=33 Exploring Operation: 94-5=89, Resulting Numbers: [36, 38, 89] Generated Node #0,1: 87:[36, 38, 89] Operation: 94-5=89 Exploring Operation: 36-5=31, Resulting Numbers: [94, 38, 31] Generated Node #0,2: 87:[94, 38, 31] Operation: 36-5=31 Exploring Operation: 38-36=2, Resulting Numbers: [5, 94, 2] Generated Node #0,3: 87:[5, 94, 2] Operation: 38-36=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[5, 94, 2], Operations: ['38-36=2'] Exploring Operation: 5-2=3, Resulting Numbers: [94, 3] Generated Node #0,3,0: 87:[94, 3] Operation: 5-2=3 Exploring Operation: 94-2=92, Resulting Numbers: [5, 92] Generated Node #0,3,1: 87:[5, 92] Operation: 94-2=92 Exploring Operation: 5+2=7, Resulting Numbers: [94, 7] Generated Node #0,3,2: 87:[94, 7] Operation: 5+2=7 Exploring Operation: 94-5=89, Resulting Numbers: [2, 89] Generated Node #0,3,3: 87:[2, 89] Operation: 94-5=89 Moving to Node #0,3,3 Current State: 87:[2, 89], Operations: ['38-36=2', '94-5=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,87 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,87 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[36, 5, 94, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [5, 94, 2] Generated Node #0,3: 87:[5, 94, 2] Operation: 38-36=2 Moving to Node #0,3 Current State: 87:[5, 94, 2], Operations: ['38-36=2'] Exploring Operation: 94-5=89, Resulting Numbers: [2, 89] Generated Node #0,3,3: 87:[2, 89] Operation: 94-5=89 Moving to Node #0,3,3 Current State: 87:[2, 89], Operations: ['38-36=2', '94-5=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 2, 76, 4, 48 ]
70
[ "2*4=8", "48/8=6", "76-6=70" ]
Current State: 70:[2, 76, 4, 48], Operations: [] Exploring Operation: 2*4=8, Resulting Numbers: [76, 48, 8] Generated Node #2: [76, 48, 8] from Operation: 2*4=8 Current State: 70:[76, 48, 8], Operations: ['2*4=8'] Exploring Operation: 48/8=6, Resulting Numbers: [76, 6] Generated Node #3: [76, 6] from Operation: 48/8=6 Current State: 70:[76, 6], Operations: ['2*4=8', '48/8=6'] Exploring Operation: 76-6=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[2, 76, 4, 48], Operations: [] Exploring Operation: 48/4=12, Resulting Numbers: [2, 76, 12] Generated Node #0,0: 70:[2, 76, 12] Operation: 48/4=12 Exploring Operation: 48-4=44, Resulting Numbers: [2, 76, 44] Generated Node #0,1: 70:[2, 76, 44] Operation: 48-4=44 Exploring Operation: 76-48=28, Resulting Numbers: [2, 4, 28] Generated Node #0,2: 70:[2, 4, 28] Operation: 76-48=28 Exploring Operation: 76-4=72, Resulting Numbers: [2, 48, 72] Generated Node #0,3: 70:[2, 48, 72] Operation: 76-4=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[2, 76, 12], Operations: ['48/4=12'] Exploring Operation: 2+12=14, Resulting Numbers: [76, 14] Generated Node #0,0,0: 70:[76, 14] Operation: 2+12=14 Exploring Operation: 76-2=74, Resulting Numbers: [12, 74] Generated Node #0,0,1: 70:[12, 74] Operation: 76-2=74 Exploring Operation: 76/2=38, Resulting Numbers: [12, 38] Generated Node #0,0,2: 70:[12, 38] Operation: 76/2=38 Exploring Operation: 12-2=10, Resulting Numbers: [76, 10] Generated Node #0,0,3: 70:[76, 10] Operation: 12-2=10 Moving to Node #0,0,2 Current State: 70:[12, 38], Operations: ['48/4=12', '76/2=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,70 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 12*38=456, Resulting Numbers: [456] 456,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[12, 74], Operations: ['48/4=12', '76-2=74'] Exploring Operation: 12*74=888, Resulting Numbers: [888] 888,70 unequal: No Solution Exploring Operation: 12+74=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[76, 14], Operations: ['48/4=12', '2+12=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,70 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[76, 10], Operations: ['48/4=12', '12-2=10'] Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,70 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,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,2 Current State: 70:[2, 4, 28], Operations: ['76-48=28'] Exploring Operation: 4+28=32, Resulting Numbers: [2, 32] Generated Node #0,2,0: 70:[2, 32] Operation: 4+28=32 Exploring Operation: 28/2=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 70:[4, 14] Operation: 28/2=14 Exploring Operation: 2+28=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 70:[4, 30] Operation: 2+28=30 Exploring Operation: 28/4=7, Resulting Numbers: [2, 7] Generated Node #0,2,3: 70:[2, 7] Operation: 28/4=7 Moving to Node #0,2,3 Current State: 70:[2, 7], Operations: ['76-48=28', '28/4=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[4, 14], Operations: ['76-48=28', '28/2=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,70 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,70 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[2, 32], Operations: ['76-48=28', '4+28=32'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[4, 30], Operations: ['76-48=28', '2+28=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,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,1 Current State: 70:[2, 76, 44], Operations: ['48-4=44'] Exploring Operation: 76-2=74, Resulting Numbers: [44, 74] Generated Node #0,1,0: 70:[44, 74] Operation: 76-2=74 Exploring Operation: 44-2=42, Resulting Numbers: [76, 42] Generated Node #0,1,1: 70:[76, 42] Operation: 44-2=42 Exploring Operation: 76/2=38, Resulting Numbers: [44, 38] Generated Node #0,1,2: 70:[44, 38] Operation: 76/2=38 Exploring Operation: 76-44=32, Resulting Numbers: [2, 32] Generated Node #0,1,3: 70:[2, 32] Operation: 76-44=32 Moving to Node #0,1,3 Current State: 70:[2, 32], Operations: ['48-4=44', '76-44=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[44, 38], Operations: ['48-4=44', '76/2=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,70 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[76, 42], Operations: ['48-4=44', '44-2=42'] Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,70 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[44, 74], Operations: ['48-4=44', '76-2=74'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 44*74=3256, Resulting Numbers: [3256] 3256,70 unequal: No Solution Exploring Operation: 44+74=118, Resulting Numbers: [118] 118,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:[2, 48, 72], Operations: ['76-4=72'] Exploring Operation: 72-2=70, Resulting Numbers: [48, 70] Generated Node #0,3,0: 70:[48, 70] Operation: 72-2=70 Exploring Operation: 48-2=46, Resulting Numbers: [72, 46] Generated Node #0,3,1: 70:[72, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [72, 24] Generated Node #0,3,2: 70:[72, 24] Operation: 48/2=24 Exploring Operation: 72-48=24, Resulting Numbers: [2, 24] Generated Node #0,3,3: 70:[2, 24] Operation: 72-48=24 Moving to Node #0,3,3 Current State: 70:[2, 24], Operations: ['76-4=72', '72-48=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,70 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[72, 24], Operations: ['76-4=72', '48/2=24'] Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,70 unequal: No Solution Exploring Operation: 72*24=1728, Resulting Numbers: [1728] 1728,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[72, 46], Operations: ['76-4=72', '48-2=46'] Exploring Operation: 72*46=3312, Resulting Numbers: [3312] 3312,70 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 72+46=118, Resulting Numbers: [118] 118,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[48, 70], Operations: ['76-4=72', '72-2=70'] Exploring Operation: 48*70=3360, Resulting Numbers: [3360] 3360,70 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 48+70=118, Resulting Numbers: [118] 118,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
[ 23, 27, 40, 34 ]
44
[ "23+27=50", "40-34=6", "50-6=44" ]
Current State: 44:[23, 27, 40, 34], Operations: [] Exploring Operation: 23+27=50, Resulting Numbers: [40, 34, 50] Generated Node #2: [40, 34, 50] from Operation: 23+27=50 Current State: 44:[40, 34, 50], Operations: ['23+27=50'] Exploring Operation: 40-34=6, Resulting Numbers: [50, 6] Generated Node #3: [50, 6] from Operation: 40-34=6 Current State: 44:[50, 6], Operations: ['23+27=50', '40-34=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[23, 27, 40, 34], Operations: [] Exploring Operation: 40-27=13, Resulting Numbers: [23, 34, 13] Generated Node #0,0: 44:[23, 34, 13] Operation: 40-27=13 Exploring Operation: 34-23=11, Resulting Numbers: [27, 40, 11] Generated Node #0,1: 44:[27, 40, 11] Operation: 34-23=11 Exploring Operation: 40-34=6, Resulting Numbers: [23, 27, 6] Generated Node #0,2: 44:[23, 27, 6] Operation: 40-34=6 Exploring Operation: 27-23=4, Resulting Numbers: [40, 34, 4] Generated Node #0,3: 44:[40, 34, 4] Operation: 27-23=4 Exploring Operation: 34-27=7, Resulting Numbers: [23, 40, 7] Generated Node #0,4: 44:[23, 40, 7] Operation: 34-27=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[23, 27, 6], Operations: ['40-34=6'] Exploring Operation: 27-23=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 44:[6, 4] Operation: 27-23=4 Exploring Operation: 23-6=17, Resulting Numbers: [27, 17] Generated Node #0,2,1: 44:[27, 17] Operation: 23-6=17 Exploring Operation: 27-6=21, Resulting Numbers: [23, 21] Generated Node #0,2,2: 44:[23, 21] Operation: 27-6=21 Exploring Operation: 23+6=29, Resulting Numbers: [27, 29] Generated Node #0,2,3: 44:[27, 29] Operation: 23+6=29 Exploring Operation: 23+27=50, Resulting Numbers: [6, 50] Generated Node #0,2,4: 44:[6, 50] Operation: 23+27=50 Moving to Node #0,2,0 Current State: 44:[6, 4], Operations: ['40-34=6', '27-23=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[23, 21], Operations: ['40-34=6', '27-6=21'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,44 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[23, 27, 40, 34], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [23, 27, 6] Generated Node #0,2: 44:[23, 27, 6] Operation: 40-34=6 Moving to Node #0,2 Current State: 44:[23, 27, 6], Operations: ['40-34=6'] Exploring Operation: 27-6=21, Resulting Numbers: [23, 21] Generated Node #0,2,2: 44:[23, 21] Operation: 27-6=21 Moving to Node #0,2,2 Current State: 44:[23, 21], Operations: ['40-34=6', '27-6=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 26, 36, 41, 1 ]
22
[ "26+36=62", "41-1=40", "62-40=22" ]
Current State: 22:[26, 36, 41, 1], Operations: [] Exploring Operation: 26+36=62, Resulting Numbers: [41, 1, 62] Generated Node #2: [41, 1, 62] from Operation: 26+36=62 Current State: 22:[41, 1, 62], Operations: ['26+36=62'] Exploring Operation: 41-1=40, Resulting Numbers: [62, 40] Generated Node #3: [62, 40] from Operation: 41-1=40 Current State: 22:[62, 40], Operations: ['26+36=62', '41-1=40'] Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[26, 36, 41, 1], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [26, 1, 5] Generated Node #0,0: 22:[26, 1, 5] Operation: 41-36=5 Exploring Operation: 41-26=15, Resulting Numbers: [36, 1, 15] Generated Node #0,1: 22:[36, 1, 15] Operation: 41-26=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[26, 1, 5], Operations: ['41-36=5'] Exploring Operation: 26-1=25, Resulting Numbers: [5, 25] Generated Node #0,0,0: 22:[5, 25] Operation: 26-1=25 Exploring Operation: 26-5=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 22:[1, 21] Operation: 26-5=21 Moving to Node #0,0,1 Current State: 22:[1, 21], Operations: ['41-36=5', '26-5=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,22 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[26, 36, 41, 1], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [26, 1, 5] Generated Node #0,0: 22:[26, 1, 5] Operation: 41-36=5 Moving to Node #0,0 Current State: 22:[26, 1, 5], Operations: ['41-36=5'] Exploring Operation: 26-5=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 22:[1, 21] Operation: 26-5=21 Moving to Node #0,0,1 Current State: 22:[1, 21], Operations: ['41-36=5', '26-5=21'] Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 7, 16, 28, 65 ]
61
[ "7*16=112", "112/28=4", "65-4=61" ]
Current State: 61:[7, 16, 28, 65], Operations: [] Exploring Operation: 7*16=112, Resulting Numbers: [28, 65, 112] Generated Node #2: [28, 65, 112] from Operation: 7*16=112 Current State: 61:[28, 65, 112], Operations: ['7*16=112'] Exploring Operation: 112/28=4, Resulting Numbers: [65, 4] Generated Node #3: [65, 4] from Operation: 112/28=4 Current State: 61:[65, 4], Operations: ['7*16=112', '112/28=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[7, 16, 28, 65], Operations: [] Exploring Operation: 7+16=23, Resulting Numbers: [28, 65, 23] Generated Node #0,0: 61:[28, 65, 23] Operation: 7+16=23 Exploring Operation: 7+28=35, Resulting Numbers: [16, 65, 35] Generated Node #0,1: 61:[16, 65, 35] Operation: 7+28=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[28, 65, 23], Operations: ['7+16=23'] Exploring Operation: 65-23=42, Resulting Numbers: [28, 42] Generated Node #0,0,0: 61:[28, 42] Operation: 65-23=42 Exploring Operation: 28+23=51, Resulting Numbers: [65, 51] Generated Node #0,0,1: 61:[65, 51] Operation: 28+23=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[65, 51], Operations: ['7+16=23', '28+23=51'] Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[28, 42], Operations: ['7+16=23', '65-23=42'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 28+42=70, Resulting Numbers: [70] 70,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[16, 65, 35], Operations: ['7+28=35'] Exploring Operation: 16+35=51, Resulting Numbers: [65, 51] Generated Node #0,1,0: 61:[65, 51] Operation: 16+35=51 Exploring Operation: 65-16=49, Resulting Numbers: [35, 49] Generated Node #0,1,1: 61:[35, 49] Operation: 65-16=49 Moving to Node #0,1,0 Current State: 61:[65, 51], Operations: ['7+28=35', '16+35=51'] Exploring Operation: 65+51=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[35, 49], Operations: ['7+28=35', '65-16=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,61 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
[ 66, 59, 68, 97 ]
96
[ "66+59=125", "97-68=29", "125-29=96" ]
Current State: 96:[66, 59, 68, 97], Operations: [] Exploring Operation: 66+59=125, Resulting Numbers: [68, 97, 125] Generated Node #2: [68, 97, 125] from Operation: 66+59=125 Current State: 96:[68, 97, 125], Operations: ['66+59=125'] Exploring Operation: 97-68=29, Resulting Numbers: [125, 29] Generated Node #3: [125, 29] from Operation: 97-68=29 Current State: 96:[125, 29], Operations: ['66+59=125', '97-68=29'] Exploring Operation: 125-29=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[66, 59, 68, 97], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [59, 97, 2] Generated Node #0,0: 96:[59, 97, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[59, 97, 2], Operations: ['68-66=2'] Exploring Operation: 97-59=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 96:[2, 38] Operation: 97-59=38 Moving to Node #0,0,0 Current State: 96:[2, 38], Operations: ['68-66=2', '97-59=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 31, 53, 1, 24 ]
47
[ "53-31=22", "1+24=25", "22+25=47" ]
Current State: 47:[31, 53, 1, 24], Operations: [] Exploring Operation: 53-31=22, Resulting Numbers: [1, 24, 22] Generated Node #2: [1, 24, 22] from Operation: 53-31=22 Current State: 47:[1, 24, 22], Operations: ['53-31=22'] Exploring Operation: 1+24=25, Resulting Numbers: [22, 25] Generated Node #3: [22, 25] from Operation: 1+24=25 Current State: 47:[22, 25], Operations: ['53-31=22', '1+24=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[31, 53, 1, 24], Operations: [] Exploring Operation: 53-1=52, Resulting Numbers: [31, 24, 52] Generated Node #0,0: 47:[31, 24, 52] Operation: 53-1=52 Exploring Operation: 31+1=32, Resulting Numbers: [53, 24, 32] Generated Node #0,1: 47:[53, 24, 32] Operation: 31+1=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[31, 24, 52], Operations: ['53-1=52'] Exploring Operation: 52-24=28, Resulting Numbers: [31, 28] Generated Node #0,0,0: 47:[31, 28] Operation: 52-24=28 Exploring Operation: 31+24=55, Resulting Numbers: [52, 55] Generated Node #0,0,1: 47:[52, 55] Operation: 31+24=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[52, 55], Operations: ['53-1=52', '31+24=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,47 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,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:[31, 28], Operations: ['53-1=52', '52-24=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,47 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,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:[53, 24, 32], Operations: ['31+1=32'] Exploring Operation: 24+32=56, Resulting Numbers: [53, 56] Generated Node #0,1,0: 47:[53, 56] Operation: 24+32=56 Exploring Operation: 53-24=29, Resulting Numbers: [32, 29] Generated Node #0,1,1: 47:[32, 29] Operation: 53-24=29 Moving to Node #0,1,0 Current State: 47:[53, 56], Operations: ['31+1=32', '24+32=56'] Exploring Operation: 53+56=109, Resulting Numbers: [109] 109,47 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[32, 29], Operations: ['31+1=32', '53-24=29'] Exploring Operation: 32+29=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,47 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
[ 9, 38, 64, 28 ]
34
[ "64-28=36", "36/9=4", "38-4=34" ]
Current State: 34:[9, 38, 64, 28], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [9, 38, 36] Generated Node #2: [9, 38, 36] from Operation: 64-28=36 Current State: 34:[9, 38, 36], Operations: ['64-28=36'] Exploring Operation: 36/9=4, Resulting Numbers: [38, 4] Generated Node #3: [38, 4] from Operation: 36/9=4 Current State: 34:[38, 4], Operations: ['64-28=36', '36/9=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[9, 38, 64, 28], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [9, 38, 36] Generated Node #0,0: 34:[9, 38, 36] Operation: 64-28=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[9, 38, 36], Operations: ['64-28=36'] Exploring Operation: 36/9=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 36/9=4 Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['64-28=36', '36/9=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[9, 38, 64, 28], Operations: [] Exploring Operation: 64-28=36, Resulting Numbers: [9, 38, 36] Generated Node #0,0: 34:[9, 38, 36] Operation: 64-28=36 Moving to Node #0,0 Current State: 34:[9, 38, 36], Operations: ['64-28=36'] Exploring Operation: 36/9=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 36/9=4 Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['64-28=36', '36/9=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 83, 97, 36, 38 ]
69
[ "38-36=2", "83*2=166", "166-97=69" ]
Current State: 69:[83, 97, 36, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [83, 97, 2] Generated Node #2: [83, 97, 2] from Operation: 38-36=2 Current State: 69:[83, 97, 2], Operations: ['38-36=2'] Exploring Operation: 83*2=166, Resulting Numbers: [97, 166] Generated Node #3: [97, 166] from Operation: 83*2=166 Current State: 69:[97, 166], Operations: ['38-36=2', '83*2=166'] Exploring Operation: 166-97=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[83, 97, 36, 38], Operations: [] Exploring Operation: 97-83=14, Resulting Numbers: [36, 38, 14] Generated Node #0,0: 69:[36, 38, 14] Operation: 97-83=14 Exploring Operation: 97-36=61, Resulting Numbers: [83, 38, 61] Generated Node #0,1: 69:[83, 38, 61] Operation: 97-36=61 Exploring Operation: 97-38=59, Resulting Numbers: [83, 36, 59] Generated Node #0,2: 69:[83, 36, 59] Operation: 97-38=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[36, 38, 14], Operations: ['97-83=14'] Exploring Operation: 38-36=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 69:[14, 2] Operation: 38-36=2 Exploring Operation: 38-14=24, Resulting Numbers: [36, 24] Generated Node #0,0,1: 69:[36, 24] Operation: 38-14=24 Exploring Operation: 36+38=74, Resulting Numbers: [14, 74] Generated Node #0,0,2: 69:[14, 74] Operation: 36+38=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[14, 2], Operations: ['97-83=14', '38-36=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,69 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[36, 24], Operations: ['97-83=14', '38-14=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,69 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[14, 74], Operations: ['97-83=14', '36+38=74'] Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,69 unequal: No Solution Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[83, 38, 61], Operations: ['97-36=61'] Exploring Operation: 83-38=45, Resulting Numbers: [61, 45] Generated Node #0,1,0: 69:[61, 45] Operation: 83-38=45 Exploring Operation: 83-61=22, Resulting Numbers: [38, 22] Generated Node #0,1,1: 69:[38, 22] Operation: 83-61=22 Exploring Operation: 61-38=23, Resulting Numbers: [83, 23] Generated Node #0,1,2: 69:[83, 23] Operation: 61-38=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[83, 23], Operations: ['97-36=61', '61-38=23'] Exploring Operation: 83*23=1909, Resulting Numbers: [1909] 1909,69 unequal: No Solution Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 83+23=106, Resulting Numbers: [106] 106,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[38, 22], Operations: ['97-36=61', '83-61=22'] Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,69 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[61, 45], Operations: ['97-36=61', '83-38=45'] Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,69 unequal: No Solution Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[83, 36, 59], Operations: ['97-38=59'] Exploring Operation: 83-59=24, Resulting Numbers: [36, 24] Generated Node #0,2,0: 69:[36, 24] Operation: 83-59=24 Exploring Operation: 83-36=47, Resulting Numbers: [59, 47] Generated Node #0,2,1: 69:[59, 47] Operation: 83-36=47 Exploring Operation: 59-36=23, Resulting Numbers: [83, 23] Generated Node #0,2,2: 69:[83, 23] Operation: 59-36=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[36, 24], Operations: ['97-38=59', '83-59=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,69 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[83, 23], Operations: ['97-38=59', '59-36=23'] Exploring Operation: 83*23=1909, Resulting Numbers: [1909] 1909,69 unequal: No Solution Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 83+23=106, Resulting Numbers: [106] 106,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[59, 47], Operations: ['97-38=59', '83-36=47'] Exploring Operation: 59*47=2773, Resulting Numbers: [2773] 2773,69 unequal: No Solution Exploring Operation: 59+47=106, Resulting Numbers: [106] 106,69 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 27, 55, 21, 25 ]
17
[ "27-25=2", "55-21=34", "34/2=17" ]
Current State: 17:[27, 55, 21, 25], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [55, 21, 2] Generated Node #2: [55, 21, 2] from Operation: 27-25=2 Current State: 17:[55, 21, 2], Operations: ['27-25=2'] Exploring Operation: 55-21=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 55-21=34 Current State: 17:[2, 34], Operations: ['27-25=2', '55-21=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[27, 55, 21, 25], Operations: [] Exploring Operation: 55-25=30, Resulting Numbers: [27, 21, 30] Generated Node #0,0: 17:[27, 21, 30] Operation: 55-25=30 Exploring Operation: 55-27=28, Resulting Numbers: [21, 25, 28] Generated Node #0,1: 17:[21, 25, 28] Operation: 55-27=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[21, 25, 28], Operations: ['55-27=28'] Exploring Operation: 28-21=7, Resulting Numbers: [25, 7] Generated Node #0,1,0: 17:[25, 7] Operation: 28-21=7 Exploring Operation: 28-25=3, Resulting Numbers: [21, 3] Generated Node #0,1,1: 17:[21, 3] Operation: 28-25=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[25, 7], Operations: ['55-27=28', '28-21=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[21, 3], Operations: ['55-27=28', '28-25=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[27, 21, 30], Operations: ['55-25=30'] Exploring Operation: 30-27=3, Resulting Numbers: [21, 3] Generated Node #0,0,0: 17:[21, 3] Operation: 30-27=3 Exploring Operation: 30-21=9, Resulting Numbers: [27, 9] Generated Node #0,0,1: 17:[27, 9] Operation: 30-21=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[21, 3], Operations: ['55-25=30', '30-27=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[27, 9], Operations: ['55-25=30', '30-21=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 77, 2, 12, 86 ]
44
[ "77-12=65", "2*65=130", "130-86=44" ]
Current State: 44:[77, 2, 12, 86], Operations: [] Exploring Operation: 77-12=65, Resulting Numbers: [2, 86, 65] Generated Node #2: [2, 86, 65] from Operation: 77-12=65 Current State: 44:[2, 86, 65], Operations: ['77-12=65'] Exploring Operation: 2*65=130, Resulting Numbers: [86, 130] Generated Node #3: [86, 130] from Operation: 2*65=130 Current State: 44:[86, 130], Operations: ['77-12=65', '2*65=130'] Exploring Operation: 130-86=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[77, 2, 12, 86], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [2, 12, 9] Generated Node #0,0: 44:[2, 12, 9] Operation: 86-77=9 Exploring Operation: 86/2=43, Resulting Numbers: [77, 12, 43] Generated Node #0,1: 44:[77, 12, 43] Operation: 86/2=43 Exploring Operation: 77-12=65, Resulting Numbers: [2, 86, 65] Generated Node #0,2: 44:[2, 86, 65] Operation: 77-12=65 Exploring Operation: 86-12=74, Resulting Numbers: [77, 2, 74] Generated Node #0,3: 44:[77, 2, 74] Operation: 86-12=74 Moving to Node #0,0 Current State: 44:[2, 12, 9], Operations: ['86-77=9'] Exploring Operation: 2+9=11, Resulting Numbers: [12, 11] Generated Node #0,0,0: 44:[12, 11] Operation: 2+9=11 Exploring Operation: 12+9=21, Resulting Numbers: [2, 21] Generated Node #0,0,1: 44:[2, 21] Operation: 12+9=21 Exploring Operation: 12-9=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 44:[2, 3] Operation: 12-9=3 Exploring Operation: 12-2=10, Resulting Numbers: [9, 10] Generated Node #0,0,3: 44:[9, 10] Operation: 12-2=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[12, 11], Operations: ['86-77=9', '2+9=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,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,1 Current State: 44:[2, 21], Operations: ['86-77=9', '12+9=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,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,2 Current State: 44:[2, 3], Operations: ['86-77=9', '12-9=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,3 Current State: 44:[9, 10], Operations: ['86-77=9', '12-2=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,44 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,44 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: 44:[77, 12, 43], Operations: ['86/2=43'] Exploring Operation: 43-12=31, Resulting Numbers: [77, 31] Generated Node #0,1,0: 44:[77, 31] Operation: 43-12=31 Exploring Operation: 77-43=34, Resulting Numbers: [12, 34] Generated Node #0,1,1: 44:[12, 34] Operation: 77-43=34 Exploring Operation: 77-12=65, Resulting Numbers: [43, 65] Generated Node #0,1,2: 44:[43, 65] Operation: 77-12=65 Exploring Operation: 12+43=55, Resulting Numbers: [77, 55] Generated Node #0,1,3: 44:[77, 55] Operation: 12+43=55 Moving to Node #0,3 Current State: 44:[77, 2, 74], Operations: ['86-12=74'] Exploring Operation: 77-2=75, Resulting Numbers: [74, 75] Generated Node #0,3,0: 44:[74, 75] Operation: 77-2=75 Exploring Operation: 77-74=3, Resulting Numbers: [2, 3] Generated Node #0,3,1: 44:[2, 3] Operation: 77-74=3 Exploring Operation: 74/2=37, Resulting Numbers: [77, 37] Generated Node #0,3,2: 44:[77, 37] Operation: 74/2=37 Exploring Operation: 74-2=72, Resulting Numbers: [77, 72] Generated Node #0,3,3: 44:[77, 72] Operation: 74-2=72 Moving to Node #0,2 Current State: 44:[2, 86, 65], Operations: ['77-12=65'] Exploring Operation: 86/2=43, Resulting Numbers: [65, 43] Generated Node #0,2,0: 44:[65, 43] Operation: 86/2=43 Exploring Operation: 65-2=63, Resulting Numbers: [86, 63] Generated Node #0,2,1: 44:[86, 63] Operation: 65-2=63 Exploring Operation: 86-65=21, Resulting Numbers: [2, 21] Generated Node #0,2,2: 44:[2, 21] Operation: 86-65=21 Exploring Operation: 86-2=84, Resulting Numbers: [65, 84] Generated Node #0,2,3: 44:[65, 84] Operation: 86-2=84 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[2, 21], Operations: ['77-12=65', '86-65=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,44 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,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,0 Current State: 44:[65, 43], Operations: ['77-12=65', '86/2=43'] Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,44 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 65*43=2795, Resulting Numbers: [2795] 2795,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,1 Current State: 44:[86, 63], Operations: ['77-12=65', '65-2=63'] Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 86*63=5418, Resulting Numbers: [5418] 5418,44 unequal: No Solution Exploring Operation: 86+63=149, Resulting Numbers: [149] 149,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,3 Current State: 44:[65, 84], Operations: ['77-12=65', '86-2=84'] Exploring Operation: 65+84=149, Resulting Numbers: [149] 149,44 unequal: No Solution Exploring Operation: 65*84=5460, Resulting Numbers: [5460] 5460,44 unequal: No Solution Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 44:[2, 3], Operations: ['86-12=74', '77-74=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,44 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[12, 34], Operations: ['86/2=43', '77-43=34'] Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,44 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,44 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[43, 65], Operations: ['86/2=43', '77-12=65'] Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,44 unequal: No Solution Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[77, 37], Operations: ['86-12=74', '74/2=37'] Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 77*37=2849, Resulting Numbers: [2849] 2849,44 unequal: No Solution Exploring Operation: 77+37=114, Resulting Numbers: [114] 114,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[77, 31], Operations: ['86/2=43', '43-12=31'] Exploring Operation: 77+31=108, Resulting Numbers: [108] 108,44 unequal: No Solution Exploring Operation: 77*31=2387, Resulting Numbers: [2387] 2387,44 unequal: No Solution Exploring Operation: 77-31=46, Resulting Numbers: [46] 46,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[77, 55], Operations: ['86/2=43', '12+43=55'] Exploring Operation: 77+55=132, Resulting Numbers: [132] 132,44 unequal: No Solution Exploring Operation: 77*55=4235, Resulting Numbers: [4235] 4235,44 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[74, 75], Operations: ['86-12=74', '77-2=75'] Exploring Operation: 75-74=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 74+75=149, Resulting Numbers: [149] 149,44 unequal: No Solution Exploring Operation: 74*75=5550, Resulting Numbers: [5550] 5550,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[77, 72], Operations: ['86-12=74', '74-2=72'] Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,44 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,44 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 97, 82, 16, 3 ]
33
[ "97-82=15", "16*3=48", "48-15=33" ]
Current State: 33:[97, 82, 16, 3], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [16, 3, 15] Generated Node #2: [16, 3, 15] from Operation: 97-82=15 Current State: 33:[16, 3, 15], Operations: ['97-82=15'] Exploring Operation: 16*3=48, Resulting Numbers: [15, 48] Generated Node #3: [15, 48] from Operation: 16*3=48 Current State: 33:[15, 48], Operations: ['97-82=15', '16*3=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[97, 82, 16, 3], Operations: [] Exploring Operation: 97-82=15, Resulting Numbers: [16, 3, 15] Generated Node #0,0: 33:[16, 3, 15] Operation: 97-82=15 Moving to Node #0,0 Current State: 33:[16, 3, 15], Operations: ['97-82=15'] Exploring Operation: 16+15=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 33:[3, 31] Operation: 16+15=31 Moving to Node #0,0,0 Current State: 33:[3, 31], Operations: ['97-82=15', '16+15=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,33 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 44, 32, 3, 55 ]
85
[ "55-44=11", "32*3=96", "96-11=85" ]
Current State: 85:[44, 32, 3, 55], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [32, 3, 11] Generated Node #2: [32, 3, 11] from Operation: 55-44=11 Current State: 85:[32, 3, 11], Operations: ['55-44=11'] Exploring Operation: 32*3=96, Resulting Numbers: [11, 96] Generated Node #3: [11, 96] from Operation: 32*3=96 Current State: 85:[11, 96], Operations: ['55-44=11', '32*3=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[44, 32, 3, 55], Operations: [] Exploring Operation: 55-32=23, Resulting Numbers: [44, 3, 23] Generated Node #0,0: 85:[44, 3, 23] Operation: 55-32=23 Exploring Operation: 32+55=87, Resulting Numbers: [44, 3, 87] Generated Node #0,1: 85:[44, 3, 87] Operation: 32+55=87 Exploring Operation: 55-44=11, Resulting Numbers: [32, 3, 11] Generated Node #0,2: 85:[32, 3, 11] Operation: 55-44=11 Exploring Operation: 44+55=99, Resulting Numbers: [32, 3, 99] Generated Node #0,3: 85:[32, 3, 99] Operation: 44+55=99 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[32, 3, 11], Operations: ['55-44=11'] Exploring Operation: 32-11=21, Resulting Numbers: [3, 21] Generated Node #0,2,0: 85:[3, 21] Operation: 32-11=21 Exploring Operation: 32*3=96, Resulting Numbers: [11, 96] Generated Node #0,2,1: 85:[11, 96] Operation: 32*3=96 Exploring Operation: 32-3=29, Resulting Numbers: [11, 29] Generated Node #0,2,2: 85:[11, 29] Operation: 32-3=29 Exploring Operation: 3+11=14, Resulting Numbers: [32, 14] Generated Node #0,2,3: 85:[32, 14] Operation: 3+11=14 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[3, 21], Operations: ['55-44=11', '32-11=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,85 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[11, 96], Operations: ['55-44=11', '32*3=96'] Exploring Operation: 11+96=107, Resulting Numbers: [107] 107,85 unequal: No Solution Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[44, 32, 3, 55], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [32, 3, 11] Generated Node #0,2: 85:[32, 3, 11] Operation: 55-44=11 Moving to Node #0,2 Current State: 85:[32, 3, 11], Operations: ['55-44=11'] Exploring Operation: 32*3=96, Resulting Numbers: [11, 96] Generated Node #0,2,1: 85:[11, 96] Operation: 32*3=96 Moving to Node #0,2,1 Current State: 85:[11, 96], Operations: ['55-44=11', '32*3=96'] Exploring Operation: 96-11=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 13, 11, 57, 78 ]
23
[ "13-11=2", "78-57=21", "2+21=23" ]
Current State: 23:[13, 11, 57, 78], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [57, 78, 2] Generated Node #2: [57, 78, 2] from Operation: 13-11=2 Current State: 23:[57, 78, 2], Operations: ['13-11=2'] Exploring Operation: 78-57=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 78-57=21 Current State: 23:[2, 21], Operations: ['13-11=2', '78-57=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[13, 11, 57, 78], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [13, 11, 21] Generated Node #0,0: 23:[13, 11, 21] Operation: 78-57=21 Moving to Node #0,0 Current State: 23:[13, 11, 21], Operations: ['78-57=21'] Exploring Operation: 13+11=24, Resulting Numbers: [21, 24] Generated Node #0,0,0: 23:[21, 24] Operation: 13+11=24 Moving to Node #0,0,0 Current State: 23:[21, 24], Operations: ['78-57=21', '13+11=24'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,23 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 43, 61, 22 ]
79
[ "22-20=2", "61*2=122", "122-43=79" ]
Current State: 79:[20, 43, 61, 22], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [43, 61, 2] Generated Node #2: [43, 61, 2] from Operation: 22-20=2 Current State: 79:[43, 61, 2], Operations: ['22-20=2'] Exploring Operation: 61*2=122, Resulting Numbers: [43, 122] Generated Node #3: [43, 122] from Operation: 61*2=122 Current State: 79:[43, 122], Operations: ['22-20=2', '61*2=122'] Exploring Operation: 122-43=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[20, 43, 61, 22], Operations: [] Exploring Operation: 20+43=63, Resulting Numbers: [61, 22, 63] Generated Node #0,0: 79:[61, 22, 63] Operation: 20+43=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[61, 22, 63], Operations: ['20+43=63'] Exploring Operation: 61+22=83, Resulting Numbers: [63, 83] Generated Node #0,0,0: 79:[63, 83] Operation: 61+22=83 Moving to Node #0,0,0 Current State: 79:[63, 83], Operations: ['20+43=63', '61+22=83'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 93, 15, 54, 9 ]
65
[ "93-54=39", "15*39=585", "585/9=65" ]
Current State: 65:[93, 15, 54, 9], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [15, 9, 39] Generated Node #2: [15, 9, 39] from Operation: 93-54=39 Current State: 65:[15, 9, 39], Operations: ['93-54=39'] Exploring Operation: 15*39=585, Resulting Numbers: [9, 585] Generated Node #3: [9, 585] from Operation: 15*39=585 Current State: 65:[9, 585], Operations: ['93-54=39', '15*39=585'] Exploring Operation: 585/9=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[93, 15, 54, 9], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [93, 15, 6] Generated Node #0,0: 65:[93, 15, 6] Operation: 54/9=6 Exploring Operation: 93-15=78, Resulting Numbers: [54, 9, 78] Generated Node #0,1: 65:[54, 9, 78] Operation: 93-15=78 Exploring Operation: 93-54=39, Resulting Numbers: [15, 9, 39] Generated Node #0,2: 65:[15, 9, 39] Operation: 93-54=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[54, 9, 78], Operations: ['93-15=78'] Exploring Operation: 54/9=6, Resulting Numbers: [78, 6] Generated Node #0,1,0: 65:[78, 6] Operation: 54/9=6 Exploring Operation: 78-54=24, Resulting Numbers: [9, 24] Generated Node #0,1,1: 65:[9, 24] Operation: 78-54=24 Exploring Operation: 54+9=63, Resulting Numbers: [78, 63] Generated Node #0,1,2: 65:[78, 63] Operation: 54+9=63 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[78, 6], Operations: ['93-15=78', '54/9=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,65 unequal: No Solution No 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: 65:[9, 24], Operations: ['93-15=78', '78-54=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,65 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,65 unequal: No Solution No 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: 65:[78, 63], Operations: ['93-15=78', '54+9=63'] Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,65 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,65 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: 65:[93, 15, 6], Operations: ['54/9=6'] Exploring Operation: 93-6=87, Resulting Numbers: [15, 87] Generated Node #0,0,0: 65:[15, 87] Operation: 93-6=87 Exploring Operation: 93-15=78, Resulting Numbers: [6, 78] Generated Node #0,0,1: 65:[6, 78] Operation: 93-15=78 Exploring Operation: 15-6=9, Resulting Numbers: [93, 9] Generated Node #0,0,2: 65:[93, 9] Operation: 15-6=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[6, 78], Operations: ['54/9=6', '93-15=78'] Exploring Operation: 6+78=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,65 unequal: No Solution Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,65 unequal: No Solution No 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: 65:[15, 87], Operations: ['54/9=6', '93-6=87'] Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,65 unequal: No Solution Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,65 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,65 unequal: No Solution No 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: 65:[93, 9], Operations: ['54/9=6', '15-6=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,65 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,65 unequal: No Solution Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,65 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: 65:[15, 9, 39], Operations: ['93-54=39'] Exploring Operation: 9+39=48, Resulting Numbers: [15, 48] Generated Node #0,2,0: 65:[15, 48] Operation: 9+39=48 Exploring Operation: 39-15=24, Resulting Numbers: [9, 24] Generated Node #0,2,1: 65:[9, 24] Operation: 39-15=24 Exploring Operation: 15+39=54, Resulting Numbers: [9, 54] Generated Node #0,2,2: 65:[9, 54] Operation: 15+39=54 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[9, 24], Operations: ['93-54=39', '39-15=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,65 unequal: No Solution No 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: 65:[9, 54], Operations: ['93-54=39', '15+39=54'] Exploring Operation: 9+54=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,65 unequal: No Solution No 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: 65:[15, 48], Operations: ['93-54=39', '9+39=48'] Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,65 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
[ 1, 55, 52, 82 ]
26
[ "1+55=56", "82-52=30", "56-30=26" ]
Current State: 26:[1, 55, 52, 82], Operations: [] Exploring Operation: 1+55=56, Resulting Numbers: [52, 82, 56] Generated Node #2: [52, 82, 56] from Operation: 1+55=56 Current State: 26:[52, 82, 56], Operations: ['1+55=56'] Exploring Operation: 82-52=30, Resulting Numbers: [56, 30] Generated Node #3: [56, 30] from Operation: 82-52=30 Current State: 26:[56, 30], Operations: ['1+55=56', '82-52=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[1, 55, 52, 82], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [1, 52, 27] Generated Node #0,0: 26:[1, 52, 27] Operation: 82-55=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[1, 52, 27], Operations: ['82-55=27'] Exploring Operation: 52-27=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 26:[1, 25] Operation: 52-27=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[1, 25], Operations: ['82-55=27', '52-27=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[1, 55, 52, 82], Operations: [] Exploring Operation: 82-55=27, Resulting Numbers: [1, 52, 27] Generated Node #0,0: 26:[1, 52, 27] Operation: 82-55=27 Moving to Node #0,0 Current State: 26:[1, 52, 27], Operations: ['82-55=27'] Exploring Operation: 52-27=25, Resulting Numbers: [1, 25] Generated Node #0,0,0: 26:[1, 25] Operation: 52-27=25 Moving to Node #0,0,0 Current State: 26:[1, 25], Operations: ['82-55=27', '52-27=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 31, 14, 18 ]
83
[ "48+31=79", "18-14=4", "79+4=83" ]
Current State: 83:[48, 31, 14, 18], Operations: [] Exploring Operation: 48+31=79, Resulting Numbers: [14, 18, 79] Generated Node #2: [14, 18, 79] from Operation: 48+31=79 Current State: 83:[14, 18, 79], Operations: ['48+31=79'] Exploring Operation: 18-14=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 18-14=4 Current State: 83:[79, 4], Operations: ['48+31=79', '18-14=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[48, 31, 14, 18], Operations: [] Exploring Operation: 31+14=45, Resulting Numbers: [48, 18, 45] Generated Node #0,0: 83:[48, 18, 45] Operation: 31+14=45 Exploring Operation: 48+14=62, Resulting Numbers: [31, 18, 62] Generated Node #0,1: 83:[31, 18, 62] Operation: 48+14=62 Exploring Operation: 48+18=66, Resulting Numbers: [31, 14, 66] Generated Node #0,2: 83:[31, 14, 66] Operation: 48+18=66 Exploring Operation: 31+18=49, Resulting Numbers: [48, 14, 49] Generated Node #0,3: 83:[48, 14, 49] Operation: 31+18=49 Exploring Operation: 48+31=79, Resulting Numbers: [14, 18, 79] Generated Node #0,4: 83:[14, 18, 79] Operation: 48+31=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[48, 18, 45], Operations: ['31+14=45'] Exploring Operation: 18+45=63, Resulting Numbers: [48, 63] Generated Node #0,0,0: 83:[48, 63] Operation: 18+45=63 Exploring Operation: 45-18=27, Resulting Numbers: [48, 27] Generated Node #0,0,1: 83:[48, 27] Operation: 45-18=27 Exploring Operation: 48-18=30, Resulting Numbers: [45, 30] Generated Node #0,0,2: 83:[45, 30] Operation: 48-18=30 Exploring Operation: 48+18=66, Resulting Numbers: [45, 66] Generated Node #0,0,3: 83:[45, 66] Operation: 48+18=66 Exploring Operation: 48+45=93, Resulting Numbers: [18, 93] Generated Node #0,0,4: 83:[18, 93] Operation: 48+45=93 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[48, 63], Operations: ['31+14=45', '18+45=63'] Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,83 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,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:[45, 66], Operations: ['31+14=45', '48+18=66'] Exploring Operation: 45*66=2970, Resulting Numbers: [2970] 2970,83 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,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,4 Current State: 83:[18, 93], Operations: ['31+14=45', '48+45=93'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,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:[48, 27], Operations: ['31+14=45', '45-18=27'] Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,83 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,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:[45, 30], Operations: ['31+14=45', '48-18=30'] Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,83 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,83 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,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:[31, 18, 62], Operations: ['48+14=62'] Exploring Operation: 31+62=93, Resulting Numbers: [18, 93] Generated Node #0,1,0: 83:[18, 93] Operation: 31+62=93 Exploring Operation: 62-18=44, Resulting Numbers: [31, 44] Generated Node #0,1,1: 83:[31, 44] Operation: 62-18=44 Exploring Operation: 18+62=80, Resulting Numbers: [31, 80] Generated Node #0,1,2: 83:[31, 80] Operation: 18+62=80 Exploring Operation: 31-18=13, Resulting Numbers: [62, 13] Generated Node #0,1,3: 83:[62, 13] Operation: 31-18=13 Exploring Operation: 31+18=49, Resulting Numbers: [62, 49] Generated Node #0,1,4: 83:[62, 49] Operation: 31+18=49 Moving to Node #0,1,2 Current State: 83:[31, 80], Operations: ['48+14=62', '18+62=80'] Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[62, 49], Operations: ['48+14=62', '31+18=49'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,83 unequal: No Solution Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[18, 93], Operations: ['48+14=62', '31+62=93'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[31, 44], Operations: ['48+14=62', '62-18=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,83 unequal: No Solution Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[62, 13], Operations: ['48+14=62', '31-18=13'] Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,83 unequal: No Solution Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[31, 14, 66], Operations: ['48+18=66'] Exploring Operation: 31+14=45, Resulting Numbers: [66, 45] Generated Node #0,2,0: 83:[66, 45] Operation: 31+14=45 Exploring Operation: 66-14=52, Resulting Numbers: [31, 52] Generated Node #0,2,1: 83:[31, 52] Operation: 66-14=52 Exploring Operation: 31+66=97, Resulting Numbers: [14, 97] Generated Node #0,2,2: 83:[14, 97] Operation: 31+66=97 Exploring Operation: 31-14=17, Resulting Numbers: [66, 17] Generated Node #0,2,3: 83:[66, 17] Operation: 31-14=17 Exploring Operation: 14+66=80, Resulting Numbers: [31, 80] Generated Node #0,2,4: 83:[31, 80] Operation: 14+66=80 Moving to Node #0,2,0 Current State: 83:[66, 45], Operations: ['48+18=66', '31+14=45'] Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,83 unequal: No Solution Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[31, 80], Operations: ['48+18=66', '14+66=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,83 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,83 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[31, 52], Operations: ['48+18=66', '66-14=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,83 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[48, 31, 14, 18], Operations: [] Exploring Operation: 48+18=66, Resulting Numbers: [31, 14, 66] Generated Node #0,2: 83:[31, 14, 66] Operation: 48+18=66 Moving to Node #0,2 Current State: 83:[31, 14, 66], Operations: ['48+18=66'] Exploring Operation: 66-14=52, Resulting Numbers: [31, 52] Generated Node #0,2,1: 83:[31, 52] Operation: 66-14=52 Moving to Node #0,2,1 Current State: 83:[31, 52], Operations: ['48+18=66', '66-14=52'] Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 14, 6, 69, 34 ]
61
[ "14+34=48", "48/6=8", "69-8=61" ]
Current State: 61:[14, 6, 69, 34], Operations: [] Exploring Operation: 14+34=48, Resulting Numbers: [6, 69, 48] Generated Node #2: [6, 69, 48] from Operation: 14+34=48 Current State: 61:[6, 69, 48], Operations: ['14+34=48'] Exploring Operation: 48/6=8, Resulting Numbers: [69, 8] Generated Node #3: [69, 8] from Operation: 48/6=8 Current State: 61:[69, 8], Operations: ['14+34=48', '48/6=8'] Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[14, 6, 69, 34], Operations: [] Exploring Operation: 14+6=20, Resulting Numbers: [69, 34, 20] Generated Node #0,0: 61:[69, 34, 20] Operation: 14+6=20 Exploring Operation: 14+34=48, Resulting Numbers: [6, 69, 48] Generated Node #0,1: 61:[6, 69, 48] Operation: 14+34=48 Exploring Operation: 14*6=84, Resulting Numbers: [69, 34, 84] Generated Node #0,2: 61:[69, 34, 84] Operation: 14*6=84 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[69, 34, 84], Operations: ['14*6=84'] Exploring Operation: 69+34=103, Resulting Numbers: [84, 103] Generated Node #0,2,0: 61:[84, 103] Operation: 69+34=103 Exploring Operation: 69-34=35, Resulting Numbers: [84, 35] Generated Node #0,2,1: 61:[84, 35] Operation: 69-34=35 Exploring Operation: 84-34=50, Resulting Numbers: [69, 50] Generated Node #0,2,2: 61:[69, 50] Operation: 84-34=50 Moving to Node #0,2,2 Current State: 61:[69, 50], Operations: ['14*6=84', '84-34=50'] Exploring Operation: 69+50=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 69*50=3450, Resulting Numbers: [3450] 3450,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[84, 35], Operations: ['14*6=84', '69-34=35'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,61 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[84, 103], Operations: ['14*6=84', '69+34=103'] Exploring Operation: 103-84=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 84*103=8652, Resulting Numbers: [8652] 8652,61 unequal: No Solution Exploring Operation: 84+103=187, Resulting Numbers: [187] 187,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,0 Current State: 61:[69, 34, 20], Operations: ['14+6=20'] Exploring Operation: 69+20=89, Resulting Numbers: [34, 89] Generated Node #0,0,0: 61:[34, 89] Operation: 69+20=89 Exploring Operation: 69-20=49, Resulting Numbers: [34, 49] Generated Node #0,0,1: 61:[34, 49] Operation: 69-20=49 Exploring Operation: 34+20=54, Resulting Numbers: [69, 54] Generated Node #0,0,2: 61:[69, 54] Operation: 34+20=54 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 61:[69, 54], Operations: ['14+6=20', '34+20=54'] Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,61 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[34, 49], Operations: ['14+6=20', '69-20=49'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,61 unequal: No Solution Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[34, 89], Operations: ['14+6=20', '69+20=89'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 34*89=3026, Resulting Numbers: [3026] 3026,61 unequal: No Solution Exploring Operation: 34+89=123, Resulting Numbers: [123] 123,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[6, 69, 48], Operations: ['14+34=48'] Exploring Operation: 6+69=75, Resulting Numbers: [48, 75] Generated Node #0,1,0: 61:[48, 75] Operation: 6+69=75 Exploring Operation: 69-6=63, Resulting Numbers: [48, 63] Generated Node #0,1,1: 61:[48, 63] Operation: 69-6=63 Exploring Operation: 6+48=54, Resulting Numbers: [69, 54] Generated Node #0,1,2: 61:[69, 54] Operation: 6+48=54 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[48, 63], Operations: ['14+34=48', '69-6=63'] Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,61 unequal: No Solution Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[69, 54], Operations: ['14+34=48', '6+48=54'] Exploring Operation: 69*54=3726, Resulting Numbers: [3726] 3726,61 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 69+54=123, Resulting Numbers: [123] 123,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[48, 75], Operations: ['14+34=48', '6+69=75'] Exploring Operation: 75-48=27, Resulting Numbers: [27] 27,61 unequal: No Solution Exploring Operation: 48+75=123, Resulting Numbers: [123] 123,61 unequal: No Solution Exploring Operation: 48*75=3600, Resulting Numbers: [3600] 3600,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 85, 37, 78, 6 ]
24
[ "85-37=48", "78-6=72", "72-48=24" ]
Current State: 24:[85, 37, 78, 6], Operations: [] Exploring Operation: 85-37=48, Resulting Numbers: [78, 6, 48] Generated Node #2: [78, 6, 48] from Operation: 85-37=48 Current State: 24:[78, 6, 48], Operations: ['85-37=48'] Exploring Operation: 78-6=72, Resulting Numbers: [48, 72] Generated Node #3: [48, 72] from Operation: 78-6=72 Current State: 24:[48, 72], Operations: ['85-37=48', '78-6=72'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[85, 37, 78, 6], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [85, 6, 41] Generated Node #0,0: 24:[85, 6, 41] Operation: 78-37=41 Exploring Operation: 85-78=7, Resulting Numbers: [37, 6, 7] Generated Node #0,1: 24:[37, 6, 7] Operation: 85-78=7 Exploring Operation: 85-6=79, Resulting Numbers: [37, 78, 79] Generated Node #0,2: 24:[37, 78, 79] Operation: 85-6=79 Exploring Operation: 78/6=13, Resulting Numbers: [85, 37, 13] Generated Node #0,3: 24:[85, 37, 13] Operation: 78/6=13 Exploring Operation: 85-37=48, Resulting Numbers: [78, 6, 48] Generated Node #0,4: 24:[78, 6, 48] Operation: 85-37=48 Moving to Node #0,1 Current State: 24:[37, 6, 7], Operations: ['85-78=7'] Exploring Operation: 37-7=30, Resulting Numbers: [6, 30] Generated Node #0,1,0: 24:[6, 30] Operation: 37-7=30 Exploring Operation: 6+7=13, Resulting Numbers: [37, 13] Generated Node #0,1,1: 24:[37, 13] Operation: 6+7=13 Exploring Operation: 37-6=31, Resulting Numbers: [7, 31] Generated Node #0,1,2: 24:[7, 31] Operation: 37-6=31 Exploring Operation: 7-6=1, Resulting Numbers: [37, 1] Generated Node #0,1,3: 24:[37, 1] Operation: 7-6=1 Exploring Operation: 37+6=43, Resulting Numbers: [7, 43] Generated Node #0,1,4: 24:[7, 43] Operation: 37+6=43 Moving to Node #0,3 Current State: 24:[85, 37, 13], Operations: ['78/6=13'] Exploring Operation: 37-13=24, Resulting Numbers: [85, 24] Generated Node #0,3,0: 24:[85, 24] Operation: 37-13=24 Exploring Operation: 85-37=48, Resulting Numbers: [13, 48] Generated Node #0,3,1: 24:[13, 48] Operation: 85-37=48 Exploring Operation: 85+13=98, Resulting Numbers: [37, 98] Generated Node #0,3,2: 24:[37, 98] Operation: 85+13=98 Exploring Operation: 85-13=72, Resulting Numbers: [37, 72] Generated Node #0,3,3: 24:[37, 72] Operation: 85-13=72 Exploring Operation: 37+13=50, Resulting Numbers: [85, 50] Generated Node #0,3,4: 24:[85, 50] Operation: 37+13=50 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[13, 48], Operations: ['78/6=13', '85-37=48'] Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,24 unequal: No Solution Exploring Operation: 13*48=624, Resulting Numbers: [624] 624,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,3,0 Current State: 24:[85, 24], Operations: ['78/6=13', '37-13=24'] Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 85*24=2040, Resulting Numbers: [2040] 2040,24 unequal: No Solution Exploring Operation: 85+24=109, Resulting Numbers: [109] 109,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,3,3 Current State: 24:[37, 72], Operations: ['78/6=13', '85-13=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,24 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,24 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,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,3,2 Current State: 24:[37, 98], Operations: ['78/6=13', '85+13=98'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,24 unequal: No Solution Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,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,3,4 Current State: 24:[85, 50], Operations: ['78/6=13', '37+13=50'] Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,24 unequal: No Solution Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,24 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,24 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: 24:[85, 6, 41], Operations: ['78-37=41'] Exploring Operation: 85-41=44, Resulting Numbers: [6, 44] Generated Node #0,0,0: 24:[6, 44] Operation: 85-41=44 Exploring Operation: 6+41=47, Resulting Numbers: [85, 47] Generated Node #0,0,1: 24:[85, 47] Operation: 6+41=47 Exploring Operation: 85+6=91, Resulting Numbers: [41, 91] Generated Node #0,0,2: 24:[41, 91] Operation: 85+6=91 Exploring Operation: 41-6=35, Resulting Numbers: [85, 35] Generated Node #0,0,3: 24:[85, 35] Operation: 41-6=35 Exploring Operation: 85-6=79, Resulting Numbers: [41, 79] Generated Node #0,0,4: 24:[41, 79] Operation: 85-6=79 Moving to Node #0,4 Current State: 24:[78, 6, 48], Operations: ['85-37=48'] Exploring Operation: 48-6=42, Resulting Numbers: [78, 42] Generated Node #0,4,0: 24:[78, 42] Operation: 48-6=42 Exploring Operation: 78-6=72, Resulting Numbers: [48, 72] Generated Node #0,4,1: 24:[48, 72] Operation: 78-6=72 Exploring Operation: 78-48=30, Resulting Numbers: [6, 30] Generated Node #0,4,2: 24:[6, 30] Operation: 78-48=30 Exploring Operation: 48/6=8, Resulting Numbers: [78, 8] Generated Node #0,4,3: 24:[78, 8] Operation: 48/6=8 Exploring Operation: 78/6=13, Resulting Numbers: [48, 13] Generated Node #0,4,4: 24:[48, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 24:[6, 30], Operations: ['85-37=48', '78-48=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[85, 37, 78, 6], Operations: [] Exploring Operation: 85-37=48, Resulting Numbers: [78, 6, 48] Generated Node #0,4: 24:[78, 6, 48] Operation: 85-37=48 Moving to Node #0,4 Current State: 24:[78, 6, 48], Operations: ['85-37=48'] Exploring Operation: 78-48=30, Resulting Numbers: [6, 30] Generated Node #0,4,2: 24:[6, 30] Operation: 78-48=30 Moving to Node #0,4,2 Current State: 24:[6, 30], Operations: ['85-37=48', '78-48=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
sum_heuristic
[ 76, 80, 5, 90 ]
100
[ "5+90=95", "80*95=7600", "7600/76=100" ]
Current State: 100:[76, 80, 5, 90], Operations: [] Exploring Operation: 5+90=95, Resulting Numbers: [76, 80, 95] Generated Node #2: [76, 80, 95] from Operation: 5+90=95 Current State: 100:[76, 80, 95], Operations: ['5+90=95'] Exploring Operation: 80*95=7600, Resulting Numbers: [76, 7600] Generated Node #3: [76, 7600] from Operation: 80*95=7600 Current State: 100:[76, 7600], Operations: ['5+90=95', '80*95=7600'] Exploring Operation: 7600/76=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[76, 80, 5, 90], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [80, 5, 14] Generated Node #0,0: 100:[80, 5, 14] Operation: 90-76=14 Exploring Operation: 80/5=16, Resulting Numbers: [76, 90, 16] Generated Node #0,1: 100:[76, 90, 16] Operation: 80/5=16 Exploring Operation: 80-76=4, Resulting Numbers: [5, 90, 4] Generated Node #0,2: 100:[5, 90, 4] Operation: 80-76=4 Exploring Operation: 90-80=10, Resulting Numbers: [76, 5, 10] Generated Node #0,3: 100:[76, 5, 10] Operation: 90-80=10 Exploring Operation: 90/5=18, Resulting Numbers: [76, 80, 18] Generated Node #0,4: 100:[76, 80, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[5, 90, 4], Operations: ['80-76=4'] Exploring Operation: 90+4=94, Resulting Numbers: [5, 94] Generated Node #0,2,0: 100:[5, 94] Operation: 90+4=94 Exploring Operation: 5+4=9, Resulting Numbers: [90, 9] Generated Node #0,2,1: 100:[90, 9] Operation: 5+4=9 Exploring Operation: 5*4=20, Resulting Numbers: [90, 20] Generated Node #0,2,2: 100:[90, 20] Operation: 5*4=20 Exploring Operation: 5+90=95, Resulting Numbers: [4, 95] Generated Node #0,2,3: 100:[4, 95] Operation: 5+90=95 Exploring Operation: 90/5=18, Resulting Numbers: [4, 18] Generated Node #0,2,4: 100:[4, 18] Operation: 90/5=18 Moving to Node #0,2,4 Current State: 100:[4, 18], Operations: ['80-76=4', '90/5=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,100 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[4, 95], Operations: ['80-76=4', '5+90=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,100 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[5, 94], Operations: ['80-76=4', '90+4=94'] Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,100 unequal: No Solution Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[90, 20], Operations: ['80-76=4', '5*4=20'] Exploring Operation: 90*20=1800, Resulting Numbers: [1800] 1800,100 unequal: No Solution Exploring Operation: 90-20=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 90+20=110, Resulting Numbers: [110] 110,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[90, 9], Operations: ['80-76=4', '5+4=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 90*9=810, Resulting Numbers: [810] 810,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[80, 5, 14], Operations: ['90-76=14'] Exploring Operation: 5+14=19, Resulting Numbers: [80, 19] Generated Node #0,0,0: 100:[80, 19] Operation: 5+14=19 Exploring Operation: 80-14=66, Resulting Numbers: [5, 66] Generated Node #0,0,1: 100:[5, 66] Operation: 80-14=66 Exploring Operation: 80+14=94, Resulting Numbers: [5, 94] Generated Node #0,0,2: 100:[5, 94] Operation: 80+14=94 Exploring Operation: 80/5=16, Resulting Numbers: [14, 16] Generated Node #0,0,3: 100:[14, 16] Operation: 80/5=16 Exploring Operation: 80+5=85, Resulting Numbers: [14, 85] Generated Node #0,0,4: 100:[14, 85] Operation: 80+5=85 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[5, 94], Operations: ['90-76=14', '80+14=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,100 unequal: No Solution Exploring Operation: 5+94=99, Resulting Numbers: [99] 99,100 unequal: No Solution Exploring Operation: 5*94=470, Resulting Numbers: [470] 470,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[14, 16], Operations: ['90-76=14', '80/5=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,100 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[5, 66], Operations: ['90-76=14', '80-14=66'] Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 100:[14, 85], Operations: ['90-76=14', '80+5=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,100 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[80, 19], Operations: ['90-76=14', '5+14=19'] Exploring Operation: 80-19=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 80*19=1520, Resulting Numbers: [1520] 1520,100 unequal: No Solution Exploring Operation: 80+19=99, Resulting Numbers: [99] 99,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 100:[76, 5, 10], Operations: ['90-80=10'] Exploring Operation: 76-5=71, Resulting Numbers: [10, 71] Generated Node #0,3,0: 100:[10, 71] Operation: 76-5=71 Exploring Operation: 76+10=86, Resulting Numbers: [5, 86] Generated Node #0,3,1: 100:[5, 86] Operation: 76+10=86 Exploring Operation: 76-10=66, Resulting Numbers: [5, 66] Generated Node #0,3,2: 100:[5, 66] Operation: 76-10=66 Exploring Operation: 5*10=50, Resulting Numbers: [76, 50] Generated Node #0,3,3: 100:[76, 50] Operation: 5*10=50 Exploring Operation: 76+5=81, Resulting Numbers: [10, 81] Generated Node #0,3,4: 100:[10, 81] Operation: 76+5=81 Moving to Node #0,3,1 Current State: 100:[5, 86], Operations: ['90-80=10', '76+10=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,100 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[5, 66], Operations: ['90-80=10', '76-10=66'] Exploring Operation: 5*66=330, Resulting Numbers: [330] 330,100 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,100 unequal: No Solution Exploring Operation: 5+66=71, Resulting Numbers: [71] 71,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[10, 81], Operations: ['90-80=10', '76+5=81'] Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 10*81=810, Resulting Numbers: [810] 810,100 unequal: No Solution Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[10, 71], Operations: ['90-80=10', '76-5=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,100 unequal: No Solution Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,100 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[76, 50], Operations: ['90-80=10', '5*10=50'] Exploring Operation: 76+50=126, Resulting Numbers: [126] 126,100 unequal: No Solution Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 76*50=3800, Resulting Numbers: [3800] 3800,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[76, 90, 16], Operations: ['80/5=16'] Exploring Operation: 90+16=106, Resulting Numbers: [76, 106] Generated Node #0,1,0: 100:[76, 106] Operation: 90+16=106 Exploring Operation: 90-76=14, Resulting Numbers: [16, 14] Generated Node #0,1,1: 100:[16, 14] Operation: 90-76=14 Exploring Operation: 90-16=74, Resulting Numbers: [76, 74] Generated Node #0,1,2: 100:[76, 74] Operation: 90-16=74 Exploring Operation: 76+16=92, Resulting Numbers: [90, 92] Generated Node #0,1,3: 100:[90, 92] Operation: 76+16=92 Exploring Operation: 76-16=60, Resulting Numbers: [90, 60] Generated Node #0,1,4: 100:[90, 60] Operation: 76-16=60 Moving to Node #0,1,1 Current State: 100:[16, 14], Operations: ['80/5=16', '90-76=14'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[90, 92], Operations: ['80/5=16', '76+16=92'] Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 90*92=8280, Resulting Numbers: [8280] 8280,100 unequal: No Solution Exploring Operation: 90+92=182, Resulting Numbers: [182] 182,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[90, 60], Operations: ['80/5=16', '76-16=60'] Exploring Operation: 90-60=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 90+60=150, Resulting Numbers: [150] 150,100 unequal: No Solution Exploring Operation: 90*60=5400, Resulting Numbers: [5400] 5400,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[76, 106], Operations: ['80/5=16', '90+16=106'] Exploring Operation: 76+106=182, Resulting Numbers: [182] 182,100 unequal: No Solution Exploring Operation: 76*106=8056, Resulting Numbers: [8056] 8056,100 unequal: No Solution Exploring Operation: 106-76=30, Resulting Numbers: [30] 30,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[76, 74], Operations: ['80/5=16', '90-16=74'] Exploring Operation: 76*74=5624, Resulting Numbers: [5624] 5624,100 unequal: No Solution Exploring Operation: 76-74=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 76+74=150, Resulting Numbers: [150] 150,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 100:[76, 80, 18], Operations: ['90/5=18'] Exploring Operation: 80+18=98, Resulting Numbers: [76, 98] Generated Node #0,4,0: 100:[76, 98] Operation: 80+18=98 Exploring Operation: 76-18=58, Resulting Numbers: [80, 58] Generated Node #0,4,1: 100:[80, 58] Operation: 76-18=58 Exploring Operation: 80-18=62, Resulting Numbers: [76, 62] Generated Node #0,4,2: 100:[76, 62] Operation: 80-18=62 Exploring Operation: 76+18=94, Resulting Numbers: [80, 94] Generated Node #0,4,3: 100:[80, 94] Operation: 76+18=94 Exploring Operation: 80-76=4, Resulting Numbers: [18, 4] Generated Node #0,4,4: 100:[18, 4] Operation: 80-76=4 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 100:[18, 4], Operations: ['90/5=18', '80-76=4'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 18+4=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 100:[76, 98], Operations: ['90/5=18', '80+18=98'] Exploring Operation: 76+98=174, Resulting Numbers: [174] 174,100 unequal: No Solution Exploring Operation: 76*98=7448, Resulting Numbers: [7448] 7448,100 unequal: No Solution Exploring Operation: 98-76=22, Resulting Numbers: [22] 22,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 100:[80, 94], Operations: ['90/5=18', '76+18=94'] Exploring Operation: 80+94=174, Resulting Numbers: [174] 174,100 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 80*94=7520, Resulting Numbers: [7520] 7520,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 100:[80, 58], Operations: ['90/5=18', '76-18=58'] Exploring Operation: 80*58=4640, Resulting Numbers: [4640] 4640,100 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,100 unequal: No Solution Exploring Operation: 80+58=138, Resulting Numbers: [138] 138,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 100:[76, 62], Operations: ['90/5=18', '80-18=62'] Exploring Operation: 76*62=4712, Resulting Numbers: [4712] 4712,100 unequal: No Solution Exploring Operation: 76-62=14, Resulting Numbers: [14] 14,100 unequal: No Solution Exploring Operation: 76+62=138, Resulting Numbers: [138] 138,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 2, 52, 21, 25 ]
24
[ "52+21=73", "73-25=48", "48/2=24" ]
Current State: 24:[2, 52, 21, 25], Operations: [] Exploring Operation: 52+21=73, Resulting Numbers: [2, 25, 73] Generated Node #2: [2, 25, 73] from Operation: 52+21=73 Current State: 24:[2, 25, 73], Operations: ['52+21=73'] Exploring Operation: 73-25=48, Resulting Numbers: [2, 48] Generated Node #3: [2, 48] from Operation: 73-25=48 Current State: 24:[2, 48], Operations: ['52+21=73', '73-25=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 52, 21, 25], Operations: [] Exploring Operation: 52/2=26, Resulting Numbers: [21, 25, 26] Generated Node #0,0: 24:[21, 25, 26] Operation: 52/2=26 Moving to Node #0,0 Current State: 24:[21, 25, 26], Operations: ['52/2=26'] Exploring Operation: 25-21=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 24:[26, 4] Operation: 25-21=4 Moving to Node #0,0,0 Current State: 24:[26, 4], Operations: ['52/2=26', '25-21=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 85, 15, 72, 50 ]
36
[ "85+15=100", "72*50=3600", "3600/100=36" ]
Current State: 36:[85, 15, 72, 50], Operations: [] Exploring Operation: 85+15=100, Resulting Numbers: [72, 50, 100] Generated Node #2: [72, 50, 100] from Operation: 85+15=100 Current State: 36:[72, 50, 100], Operations: ['85+15=100'] Exploring Operation: 72*50=3600, Resulting Numbers: [100, 3600] Generated Node #3: [100, 3600] from Operation: 72*50=3600 Current State: 36:[100, 3600], Operations: ['85+15=100', '72*50=3600'] Exploring Operation: 3600/100=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[85, 15, 72, 50], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [85, 15, 22] Generated Node #0,0: 36:[85, 15, 22] Operation: 72-50=22 Exploring Operation: 85-50=35, Resulting Numbers: [15, 72, 35] Generated Node #0,1: 36:[15, 72, 35] Operation: 85-50=35 Exploring Operation: 85-72=13, Resulting Numbers: [15, 50, 13] Generated Node #0,2: 36:[15, 50, 13] Operation: 85-72=13 Exploring Operation: 85-15=70, Resulting Numbers: [72, 50, 70] Generated Node #0,3: 36:[72, 50, 70] Operation: 85-15=70 Moving to Node #0,2 Current State: 36:[15, 50, 13], Operations: ['85-72=13'] Exploring Operation: 50-15=35, Resulting Numbers: [13, 35] Generated Node #0,2,0: 36:[13, 35] Operation: 50-15=35 Exploring Operation: 50-13=37, Resulting Numbers: [15, 37] Generated Node #0,2,1: 36:[15, 37] Operation: 50-13=37 Exploring Operation: 15+13=28, Resulting Numbers: [50, 28] Generated Node #0,2,2: 36:[50, 28] Operation: 15+13=28 Exploring Operation: 15-13=2, Resulting Numbers: [50, 2] Generated Node #0,2,3: 36:[50, 2] Operation: 15-13=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[13, 35], Operations: ['85-72=13', '50-15=35'] Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,36 unequal: No Solution Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[15, 37], Operations: ['85-72=13', '50-13=37'] Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,36 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[50, 2], Operations: ['85-72=13', '15-13=2'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[50, 28], Operations: ['85-72=13', '15+13=28'] Exploring Operation: 50*28=1400, Resulting Numbers: [1400] 1400,36 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,36 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: 36:[15, 72, 35], Operations: ['85-50=35'] Exploring Operation: 72-15=57, Resulting Numbers: [35, 57] Generated Node #0,1,0: 36:[35, 57] Operation: 72-15=57 Exploring Operation: 72-35=37, Resulting Numbers: [15, 37] Generated Node #0,1,1: 36:[15, 37] Operation: 72-35=37 Exploring Operation: 35-15=20, Resulting Numbers: [72, 20] Generated Node #0,1,2: 36:[72, 20] Operation: 35-15=20 Exploring Operation: 15+35=50, Resulting Numbers: [72, 50] Generated Node #0,1,3: 36:[72, 50] Operation: 15+35=50 Moving to Node #0,0 Current State: 36:[85, 15, 22], Operations: ['72-50=22'] Exploring Operation: 85-15=70, Resulting Numbers: [22, 70] Generated Node #0,0,0: 36:[22, 70] Operation: 85-15=70 Exploring Operation: 22-15=7, Resulting Numbers: [85, 7] Generated Node #0,0,1: 36:[85, 7] Operation: 22-15=7 Exploring Operation: 85-22=63, Resulting Numbers: [15, 63] Generated Node #0,0,2: 36:[15, 63] Operation: 85-22=63 Exploring Operation: 15+22=37, Resulting Numbers: [85, 37] Generated Node #0,0,3: 36:[85, 37] Operation: 15+22=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 36:[15, 63], Operations: ['72-50=22', '85-22=63'] Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,36 unequal: No Solution Exploring Operation: 15*63=945, Resulting Numbers: [945] 945,36 unequal: No Solution Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[22, 70], Operations: ['72-50=22', '85-15=70'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 36:[85, 7], Operations: ['72-50=22', '22-15=7'] Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,36 unequal: No Solution Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[85, 37], Operations: ['72-50=22', '15+22=37'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 85*37=3145, Resulting Numbers: [3145] 3145,36 unequal: No Solution Exploring Operation: 85+37=122, Resulting Numbers: [122] 122,36 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: 36:[72, 50, 70], Operations: ['85-15=70'] Exploring Operation: 70-50=20, Resulting Numbers: [72, 20] Generated Node #0,3,0: 36:[72, 20] Operation: 70-50=20 Exploring Operation: 72-50=22, Resulting Numbers: [70, 22] Generated Node #0,3,1: 36:[70, 22] Operation: 72-50=22 Exploring Operation: 72-70=2, Resulting Numbers: [50, 2] Generated Node #0,3,2: 36:[50, 2] Operation: 72-70=2 Exploring Operation: 72+50=122, Resulting Numbers: [70, 122] Generated Node #0,3,3: 36:[70, 122] Operation: 72+50=122 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 36:[50, 2], Operations: ['85-15=70', '72-70=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,36 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 36:[72, 20], Operations: ['85-15=70', '70-50=20'] Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,36 unequal: No Solution Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 36:[70, 22], Operations: ['85-15=70', '72-50=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 36:[70, 122], Operations: ['85-15=70', '72+50=122'] Exploring Operation: 70+122=192, Resulting Numbers: [192] 192,36 unequal: No Solution Exploring Operation: 70*122=8540, Resulting Numbers: [8540] 8540,36 unequal: No Solution Exploring Operation: 122-70=52, Resulting Numbers: [52] 52,36 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: 36:[15, 37], Operations: ['85-50=35', '72-35=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[35, 57], Operations: ['85-50=35', '72-15=57'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 35+57=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 35*57=1995, Resulting Numbers: [1995] 1995,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[72, 20], Operations: ['85-50=35', '35-15=20'] Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,36 unequal: No Solution Exploring Operation: 72*20=1440, Resulting Numbers: [1440] 1440,36 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[72, 50], Operations: ['85-50=35', '15+35=50'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,36 unequal: No Solution Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,36 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 48, 75, 62, 78 ]
59
[ "75*62=4650", "4650-48=4602", "4602/78=59" ]
Current State: 59:[48, 75, 62, 78], Operations: [] Exploring Operation: 75*62=4650, Resulting Numbers: [48, 78, 4650] Generated Node #2: [48, 78, 4650] from Operation: 75*62=4650 Current State: 59:[48, 78, 4650], Operations: ['75*62=4650'] Exploring Operation: 4650-48=4602, Resulting Numbers: [78, 4602] Generated Node #3: [78, 4602] from Operation: 4650-48=4602 Current State: 59:[78, 4602], Operations: ['75*62=4650', '4650-48=4602'] Exploring Operation: 4602/78=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[48, 75, 62, 78], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [75, 62, 30] Generated Node #0,0: 59:[75, 62, 30] Operation: 78-48=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[75, 62, 30], Operations: ['78-48=30'] Exploring Operation: 75-30=45, Resulting Numbers: [62, 45] Generated Node #0,0,0: 59:[62, 45] Operation: 75-30=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[62, 45], Operations: ['78-48=30', '75-30=45'] Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 37, 43, 1, 8 ]
10
[ "37+43=80", "1*8=8", "80/8=10" ]
Current State: 10:[37, 43, 1, 8], Operations: [] Exploring Operation: 37+43=80, Resulting Numbers: [1, 8, 80] Generated Node #2: [1, 8, 80] from Operation: 37+43=80 Current State: 10:[1, 8, 80], Operations: ['37+43=80'] Exploring Operation: 1*8=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 1*8=8 Current State: 10:[80, 8], Operations: ['37+43=80', '1*8=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[37, 43, 1, 8], Operations: [] Exploring Operation: 43-37=6, Resulting Numbers: [1, 8, 6] Generated Node #0,0: 10:[1, 8, 6] Operation: 43-37=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[1, 8, 6], Operations: ['43-37=6'] Exploring Operation: 8-6=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 10:[1, 2] Operation: 8-6=2 Moving to Node #0,0,0 Current State: 10:[1, 2], Operations: ['43-37=6', '8-6=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 29, 93, 64 ]
78
[ "20+29=49", "93-64=29", "49+29=78" ]
Current State: 78:[20, 29, 93, 64], Operations: [] Exploring Operation: 20+29=49, Resulting Numbers: [93, 64, 49] Generated Node #2: [93, 64, 49] from Operation: 20+29=49 Current State: 78:[93, 64, 49], Operations: ['20+29=49'] Exploring Operation: 93-64=29, Resulting Numbers: [49, 29] Generated Node #3: [49, 29] from Operation: 93-64=29 Current State: 78:[49, 29], Operations: ['20+29=49', '93-64=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[20, 29, 93, 64], Operations: [] Exploring Operation: 93-20=73, Resulting Numbers: [29, 64, 73] Generated Node #0,0: 78:[29, 64, 73] Operation: 93-20=73 Exploring Operation: 20+64=84, Resulting Numbers: [29, 93, 84] Generated Node #0,1: 78:[29, 93, 84] Operation: 20+64=84 Exploring Operation: 64-20=44, Resulting Numbers: [29, 93, 44] Generated Node #0,2: 78:[29, 93, 44] Operation: 64-20=44 Exploring Operation: 93-64=29, Resulting Numbers: [20, 29, 29] Generated Node #0,3: 78:[20, 29, 29] Operation: 93-64=29 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[20, 29, 29], Operations: ['93-64=29'] Exploring Operation: 29/29=1, Resulting Numbers: [20, 1] Generated Node #0,3,0: 78:[20, 1] Operation: 29/29=1 Exploring Operation: 29-29=0, Resulting Numbers: [20, 0] Generated Node #0,3,1: 78:[20, 0] Operation: 29-29=0 Exploring Operation: 29-20=9, Resulting Numbers: [29, 9] Generated Node #0,3,2: 78:[29, 9] Operation: 29-20=9 Exploring Operation: 29-20=9, Resulting Numbers: [29, 9] Generated Node #0,3,3: 78:[29, 9] Operation: 29-20=9 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[29, 9], Operations: ['93-64=29', '29-20=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,78 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[29, 9], Operations: ['93-64=29', '29-20=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 78:[20, 1], Operations: ['93-64=29', '29/29=1'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[20, 0], Operations: ['93-64=29', '29-29=0'] Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,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:[29, 64, 73], Operations: ['93-20=73'] Exploring Operation: 73-29=44, Resulting Numbers: [64, 44] Generated Node #0,0,0: 78:[64, 44] Operation: 73-29=44 Exploring Operation: 73-64=9, Resulting Numbers: [29, 9] Generated Node #0,0,1: 78:[29, 9] Operation: 73-64=9 Exploring Operation: 29+64=93, Resulting Numbers: [73, 93] Generated Node #0,0,2: 78:[73, 93] Operation: 29+64=93 Exploring Operation: 64-29=35, Resulting Numbers: [73, 35] Generated Node #0,0,3: 78:[73, 35] Operation: 64-29=35 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[29, 9], Operations: ['93-20=73', '73-64=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,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,0,3 Current State: 78:[73, 35], Operations: ['93-20=73', '64-29=35'] Exploring Operation: 73*35=2555, Resulting Numbers: [2555] 2555,78 unequal: No Solution Exploring Operation: 73+35=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 73-35=38, Resulting Numbers: [38] 38,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,0,0 Current State: 78:[64, 44], Operations: ['93-20=73', '73-29=44'] Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,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,0,2 Current State: 78:[73, 93], Operations: ['93-20=73', '29+64=93'] Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,78 unequal: No Solution Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,78 unequal: No Solution Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,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:[29, 93, 44], Operations: ['64-20=44'] Exploring Operation: 29+44=73, Resulting Numbers: [93, 73] Generated Node #0,2,0: 78:[93, 73] Operation: 29+44=73 Exploring Operation: 93-44=49, Resulting Numbers: [29, 49] Generated Node #0,2,1: 78:[29, 49] Operation: 93-44=49 Exploring Operation: 44-29=15, Resulting Numbers: [93, 15] Generated Node #0,2,2: 78:[93, 15] Operation: 44-29=15 Exploring Operation: 93-29=64, Resulting Numbers: [44, 64] Generated Node #0,2,3: 78:[44, 64] Operation: 93-29=64 Moving to Node #0,2,1 Current State: 78:[29, 49], Operations: ['64-20=44', '93-44=49'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 29*49=1421, Resulting Numbers: [1421] 1421,78 unequal: No Solution Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[20, 29, 93, 64], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [29, 93, 44] Generated Node #0,2: 78:[29, 93, 44] Operation: 64-20=44 Moving to Node #0,2 Current State: 78:[29, 93, 44], Operations: ['64-20=44'] Exploring Operation: 93-44=49, Resulting Numbers: [29, 49] Generated Node #0,2,1: 78:[29, 49] Operation: 93-44=49 Moving to Node #0,2,1 Current State: 78:[29, 49], Operations: ['64-20=44', '93-44=49'] Exploring Operation: 29+49=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_4
sum_heuristic
[ 51, 80, 14, 2 ]
17
[ "80-51=29", "14-2=12", "29-12=17" ]
Current State: 17:[51, 80, 14, 2], Operations: [] Exploring Operation: 80-51=29, Resulting Numbers: [14, 2, 29] Generated Node #2: [14, 2, 29] from Operation: 80-51=29 Current State: 17:[14, 2, 29], Operations: ['80-51=29'] Exploring Operation: 14-2=12, Resulting Numbers: [29, 12] Generated Node #3: [29, 12] from Operation: 14-2=12 Current State: 17:[29, 12], Operations: ['80-51=29', '14-2=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[51, 80, 14, 2], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [51, 14, 40] Generated Node #0,0: 17:[51, 14, 40] Operation: 80/2=40 Exploring Operation: 80-51=29, Resulting Numbers: [14, 2, 29] Generated Node #0,1: 17:[14, 2, 29] Operation: 80-51=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[14, 2, 29], Operations: ['80-51=29'] Exploring Operation: 29-2=27, Resulting Numbers: [14, 27] Generated Node #0,1,0: 17:[14, 27] Operation: 29-2=27 Exploring Operation: 14+2=16, Resulting Numbers: [29, 16] Generated Node #0,1,1: 17:[29, 16] Operation: 14+2=16 Moving to Node #0,1,0 Current State: 17:[14, 27], Operations: ['80-51=29', '29-2=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[29, 16], Operations: ['80-51=29', '14+2=16'] Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,17 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[51, 14, 40], Operations: ['80/2=40'] Exploring Operation: 51-14=37, Resulting Numbers: [40, 37] Generated Node #0,0,0: 17:[40, 37] Operation: 51-14=37 Exploring Operation: 51-40=11, Resulting Numbers: [14, 11] Generated Node #0,0,1: 17:[14, 11] Operation: 51-40=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[14, 11], Operations: ['80/2=40', '51-40=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[40, 37], Operations: ['80/2=40', '51-14=37'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 80, 16, 19 ]
81
[ "4+80=84", "19-16=3", "84-3=81" ]
Current State: 81:[4, 80, 16, 19], Operations: [] Exploring Operation: 4+80=84, Resulting Numbers: [16, 19, 84] Generated Node #2: [16, 19, 84] from Operation: 4+80=84 Current State: 81:[16, 19, 84], Operations: ['4+80=84'] Exploring Operation: 19-16=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 19-16=3 Current State: 81:[84, 3], Operations: ['4+80=84', '19-16=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[4, 80, 16, 19], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [4, 80, 3] Generated Node #0,0: 81:[4, 80, 3] Operation: 19-16=3 Exploring Operation: 16-4=12, Resulting Numbers: [80, 19, 12] Generated Node #0,1: 81:[80, 19, 12] Operation: 16-4=12 Exploring Operation: 16+19=35, Resulting Numbers: [4, 80, 35] Generated Node #0,2: 81:[4, 80, 35] Operation: 16+19=35 Exploring Operation: 16/4=4, Resulting Numbers: [80, 19, 4] Generated Node #0,3: 81:[80, 19, 4] Operation: 16/4=4 Exploring Operation: 80/16=5, Resulting Numbers: [4, 19, 5] Generated Node #0,4: 81:[4, 19, 5] Operation: 80/16=5 Moving to Node #0,0 Current State: 81:[4, 80, 3], Operations: ['19-16=3'] Exploring Operation: 4-3=1, Resulting Numbers: [80, 1] Generated Node #0,0,0: 81:[80, 1] Operation: 4-3=1 Exploring Operation: 4+3=7, Resulting Numbers: [80, 7] Generated Node #0,0,1: 81:[80, 7] Operation: 4+3=7 Exploring Operation: 4+80=84, Resulting Numbers: [3, 84] Generated Node #0,0,2: 81:[3, 84] Operation: 4+80=84 Exploring Operation: 80+3=83, Resulting Numbers: [4, 83] Generated Node #0,0,3: 81:[4, 83] Operation: 80+3=83 Exploring Operation: 4*3=12, Resulting Numbers: [80, 12] Generated Node #0,0,4: 81:[80, 12] Operation: 4*3=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[80, 1], Operations: ['19-16=3', '4-3=1'] Exploring Operation: 80*1=80, Resulting Numbers: [80] 80,81 unequal: No Solution Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[4, 80, 16, 19], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [4, 80, 3] Generated Node #0,0: 81:[4, 80, 3] Operation: 19-16=3 Moving to Node #0,0 Current State: 81:[4, 80, 3], Operations: ['19-16=3'] Exploring Operation: 4-3=1, Resulting Numbers: [80, 1] Generated Node #0,0,0: 81:[80, 1] Operation: 4-3=1 Moving to Node #0,0,0 Current State: 81:[80, 1], Operations: ['19-16=3', '4-3=1'] Exploring Operation: 80+1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 99, 88, 45, 66 ]
39
[ "99-88=11", "66/11=6", "45-6=39" ]
Current State: 39:[99, 88, 45, 66], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [45, 66, 11] Generated Node #2: [45, 66, 11] from Operation: 99-88=11 Current State: 39:[45, 66, 11], Operations: ['99-88=11'] Exploring Operation: 66/11=6, Resulting Numbers: [45, 6] Generated Node #3: [45, 6] from Operation: 66/11=6 Current State: 39:[45, 6], Operations: ['99-88=11', '66/11=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[99, 88, 45, 66], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [45, 66, 11] Generated Node #0,0: 39:[45, 66, 11] Operation: 99-88=11 Exploring Operation: 99-66=33, Resulting Numbers: [88, 45, 33] Generated Node #0,1: 39:[88, 45, 33] Operation: 99-66=33 Moving to Node #0,0 Current State: 39:[45, 66, 11], Operations: ['99-88=11'] Exploring Operation: 66-45=21, Resulting Numbers: [11, 21] Generated Node #0,0,0: 39:[11, 21] Operation: 66-45=21 Exploring Operation: 66/11=6, Resulting Numbers: [45, 6] Generated Node #0,0,1: 39:[45, 6] Operation: 66/11=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[45, 6], Operations: ['99-88=11', '66/11=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[99, 88, 45, 66], Operations: [] Exploring Operation: 99-88=11, Resulting Numbers: [45, 66, 11] Generated Node #0,0: 39:[45, 66, 11] Operation: 99-88=11 Moving to Node #0,0 Current State: 39:[45, 66, 11], Operations: ['99-88=11'] Exploring Operation: 66/11=6, Resulting Numbers: [45, 6] Generated Node #0,0,1: 39:[45, 6] Operation: 66/11=6 Moving to Node #0,0,1 Current State: 39:[45, 6], Operations: ['99-88=11', '66/11=6'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 96, 42, 34, 60 ]
99
[ "42+60=102", "102/34=3", "96+3=99" ]
Current State: 99:[96, 42, 34, 60], Operations: [] Exploring Operation: 42+60=102, Resulting Numbers: [96, 34, 102] Generated Node #2: [96, 34, 102] from Operation: 42+60=102 Current State: 99:[96, 34, 102], Operations: ['42+60=102'] Exploring Operation: 102/34=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 102/34=3 Current State: 99:[96, 3], Operations: ['42+60=102', '102/34=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[96, 42, 34, 60], Operations: [] Exploring Operation: 42+60=102, Resulting Numbers: [96, 34, 102] Generated Node #0,0: 99:[96, 34, 102] Operation: 42+60=102 Exploring Operation: 60-42=18, Resulting Numbers: [96, 34, 18] Generated Node #0,1: 99:[96, 34, 18] Operation: 60-42=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[96, 34, 102], Operations: ['42+60=102'] Exploring Operation: 102/34=3, Resulting Numbers: [96, 3] Generated Node #0,0,0: 99:[96, 3] Operation: 102/34=3 Exploring Operation: 102-96=6, Resulting Numbers: [34, 6] Generated Node #0,0,1: 99:[34, 6] Operation: 102-96=6 Moving to Node #0,0,0 Current State: 99:[96, 3], Operations: ['42+60=102', '102/34=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[96, 42, 34, 60], Operations: [] Exploring Operation: 42+60=102, Resulting Numbers: [96, 34, 102] Generated Node #0,0: 99:[96, 34, 102] Operation: 42+60=102 Moving to Node #0,0 Current State: 99:[96, 34, 102], Operations: ['42+60=102'] Exploring Operation: 102/34=3, Resulting Numbers: [96, 3] Generated Node #0,0,0: 99:[96, 3] Operation: 102/34=3 Moving to Node #0,0,0 Current State: 99:[96, 3], Operations: ['42+60=102', '102/34=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 20, 94, 5, 57 ]
33
[ "20/5=4", "94-57=37", "37-4=33" ]
Current State: 33:[20, 94, 5, 57], Operations: [] Exploring Operation: 20/5=4, Resulting Numbers: [94, 57, 4] Generated Node #2: [94, 57, 4] from Operation: 20/5=4 Current State: 33:[94, 57, 4], Operations: ['20/5=4'] Exploring Operation: 94-57=37, Resulting Numbers: [4, 37] Generated Node #3: [4, 37] from Operation: 94-57=37 Current State: 33:[4, 37], Operations: ['20/5=4', '94-57=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[20, 94, 5, 57], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [20, 5, 37] Generated Node #0,0: 33:[20, 5, 37] Operation: 94-57=37 Moving to Node #0,0 Current State: 33:[20, 5, 37], Operations: ['94-57=37'] Exploring Operation: 20/5=4, Resulting Numbers: [37, 4] Generated Node #0,0,0: 33:[37, 4] Operation: 20/5=4 Moving to Node #0,0,0 Current State: 33:[37, 4], Operations: ['94-57=37', '20/5=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[20, 94, 5, 57], Operations: [] Exploring Operation: 94-57=37, Resulting Numbers: [20, 5, 37] Generated Node #0,0: 33:[20, 5, 37] Operation: 94-57=37 Moving to Node #0,0 Current State: 33:[20, 5, 37], Operations: ['94-57=37'] Exploring Operation: 20/5=4, Resulting Numbers: [37, 4] Generated Node #0,0,0: 33:[37, 4] Operation: 20/5=4 Moving to Node #0,0,0 Current State: 33:[37, 4], Operations: ['94-57=37', '20/5=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 29, 94, 65, 29 ]
94
[ "29-29=0", "65*0=0", "94+0=94" ]
Current State: 94:[29, 94, 65, 29], Operations: [] Exploring Operation: 29-29=0, Resulting Numbers: [94, 65, 0] Generated Node #2: [94, 65, 0] from Operation: 29-29=0 Current State: 94:[94, 65, 0], Operations: ['29-29=0'] Exploring Operation: 65*0=0, Resulting Numbers: [94, 0] Generated Node #3: [94, 0] from Operation: 65*0=0 Current State: 94:[94, 0], Operations: ['29-29=0', '65*0=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[29, 94, 65, 29], Operations: [] Exploring Operation: 29+65=94, Resulting Numbers: [94, 29, 94] Generated Node #0,0: 94:[94, 29, 94] Operation: 29+65=94 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[94, 29, 94], Operations: ['29+65=94'] Exploring Operation: 94-29=65, Resulting Numbers: [94, 65] Generated Node #0,0,0: 94:[94, 65] Operation: 94-29=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[94, 65], Operations: ['29+65=94', '94-29=65'] Exploring Operation: 94-65=29, Resulting Numbers: [29] 29,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 29, 6, 24, 66 ]
26
[ "6+66=72", "72/24=3", "29-3=26" ]
Current State: 26:[29, 6, 24, 66], Operations: [] Exploring Operation: 6+66=72, Resulting Numbers: [29, 24, 72] Generated Node #2: [29, 24, 72] from Operation: 6+66=72 Current State: 26:[29, 24, 72], Operations: ['6+66=72'] Exploring Operation: 72/24=3, Resulting Numbers: [29, 3] Generated Node #3: [29, 3] from Operation: 72/24=3 Current State: 26:[29, 3], Operations: ['6+66=72', '72/24=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[29, 6, 24, 66], Operations: [] Exploring Operation: 66-6=60, Resulting Numbers: [29, 24, 60] Generated Node #0,0: 26:[29, 24, 60] Operation: 66-6=60 Exploring Operation: 66-29=37, Resulting Numbers: [6, 24, 37] Generated Node #0,1: 26:[6, 24, 37] Operation: 66-29=37 Exploring Operation: 66-24=42, Resulting Numbers: [29, 6, 42] Generated Node #0,2: 26:[29, 6, 42] Operation: 66-24=42 Exploring Operation: 66/6=11, Resulting Numbers: [29, 24, 11] Generated Node #0,3: 26:[29, 24, 11] Operation: 66/6=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[29, 24, 11], Operations: ['66/6=11'] Exploring Operation: 24+11=35, Resulting Numbers: [29, 35] Generated Node #0,3,0: 26:[29, 35] Operation: 24+11=35 Exploring Operation: 29-11=18, Resulting Numbers: [24, 18] Generated Node #0,3,1: 26:[24, 18] Operation: 29-11=18 Exploring Operation: 29-24=5, Resulting Numbers: [11, 5] Generated Node #0,3,2: 26:[11, 5] Operation: 29-24=5 Exploring Operation: 24-11=13, Resulting Numbers: [29, 13] Generated Node #0,3,3: 26:[29, 13] Operation: 24-11=13 Moving to Node #0,3,3 Current State: 26:[29, 13], Operations: ['66/6=11', '24-11=13'] Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[11, 5], Operations: ['66/6=11', '29-24=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[24, 18], Operations: ['66/6=11', '29-11=18'] Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,26 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,26 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[29, 35], Operations: ['66/6=11', '24+11=35'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 29*35=1015, Resulting Numbers: [1015] 1015,26 unequal: No Solution Exploring Operation: 29+35=64, Resulting Numbers: [64] 64,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[6, 24, 37], Operations: ['66-29=37'] Exploring Operation: 24/6=4, Resulting Numbers: [37, 4] Generated Node #0,1,0: 26:[37, 4] Operation: 24/6=4 Exploring Operation: 6+24=30, Resulting Numbers: [37, 30] Generated Node #0,1,1: 26:[37, 30] Operation: 6+24=30 Exploring Operation: 37-24=13, Resulting Numbers: [6, 13] Generated Node #0,1,2: 26:[6, 13] Operation: 37-24=13 Exploring Operation: 37-6=31, Resulting Numbers: [24, 31] Generated Node #0,1,3: 26:[24, 31] Operation: 37-6=31 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 26:[6, 13], Operations: ['66-29=37', '37-24=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,26 unequal: No Solution No 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: 26:[24, 31], Operations: ['66-29=37', '37-6=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,26 unequal: No Solution No 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: 26:[37, 4], Operations: ['66-29=37', '24/6=4'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,26 unequal: No Solution Exploring Operation: 37+4=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 37*4=148, Resulting Numbers: [148] 148,26 unequal: No Solution No 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: 26:[37, 30], Operations: ['66-29=37', '6+24=30'] Exploring Operation: 37*30=1110, Resulting Numbers: [1110] 1110,26 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,26 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: 26:[29, 6, 42], Operations: ['66-24=42'] Exploring Operation: 42-6=36, Resulting Numbers: [29, 36] Generated Node #0,2,0: 26:[29, 36] Operation: 42-6=36 Exploring Operation: 29-6=23, Resulting Numbers: [42, 23] Generated Node #0,2,1: 26:[42, 23] Operation: 29-6=23 Exploring Operation: 42/6=7, Resulting Numbers: [29, 7] Generated Node #0,2,2: 26:[29, 7] Operation: 42/6=7 Exploring Operation: 42-29=13, Resulting Numbers: [6, 13] Generated Node #0,2,3: 26:[6, 13] Operation: 42-29=13 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 26:[6, 13], Operations: ['66-24=42', '42-29=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,26 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,26 unequal: No Solution No 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: 26:[29, 7], Operations: ['66-24=42', '42/6=7'] Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,26 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,26 unequal: No Solution No 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: 26:[29, 36], Operations: ['66-24=42', '42-6=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,26 unequal: No Solution No 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: 26:[42, 23], Operations: ['66-24=42', '29-6=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,26 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,26 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: 26:[29, 24, 60], Operations: ['66-6=60'] Exploring Operation: 60-29=31, Resulting Numbers: [24, 31] Generated Node #0,0,0: 26:[24, 31] Operation: 60-29=31 Exploring Operation: 29+24=53, Resulting Numbers: [60, 53] Generated Node #0,0,1: 26:[60, 53] Operation: 29+24=53 Exploring Operation: 29-24=5, Resulting Numbers: [60, 5] Generated Node #0,0,2: 26:[60, 5] Operation: 29-24=5 Exploring Operation: 60-24=36, Resulting Numbers: [29, 36] Generated Node #0,0,3: 26:[29, 36] Operation: 60-24=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[24, 31], Operations: ['66-6=60', '60-29=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,26 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,26 unequal: No Solution No 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: 26:[29, 36], Operations: ['66-6=60', '60-24=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,26 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,26 unequal: No Solution No 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: 26:[60, 5], Operations: ['66-6=60', '29-24=5'] Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,26 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,26 unequal: No Solution No 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: 26:[60, 53], Operations: ['66-6=60', '29+24=53'] Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,26 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,26 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
[ 70, 48, 12, 38 ]
50
[ "48-38=10", "12*10=120", "120-70=50" ]
Current State: 50:[70, 48, 12, 38], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [70, 12, 10] Generated Node #2: [70, 12, 10] from Operation: 48-38=10 Current State: 50:[70, 12, 10], Operations: ['48-38=10'] Exploring Operation: 12*10=120, Resulting Numbers: [70, 120] Generated Node #3: [70, 120] from Operation: 12*10=120 Current State: 50:[70, 120], Operations: ['48-38=10', '12*10=120'] Exploring Operation: 120-70=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[70, 48, 12, 38], Operations: [] Exploring Operation: 70-12=58, Resulting Numbers: [48, 38, 58] Generated Node #0,0: 50:[48, 38, 58] Operation: 70-12=58 Exploring Operation: 12+38=50, Resulting Numbers: [70, 48, 50] Generated Node #0,1: 50:[70, 48, 50] Operation: 12+38=50 Exploring Operation: 70-38=32, Resulting Numbers: [48, 12, 32] Generated Node #0,2: 50:[48, 12, 32] Operation: 70-38=32 Exploring Operation: 48-38=10, Resulting Numbers: [70, 12, 10] Generated Node #0,3: 50:[70, 12, 10] Operation: 48-38=10 Exploring Operation: 70-48=22, Resulting Numbers: [12, 38, 22] Generated Node #0,4: 50:[12, 38, 22] Operation: 70-48=22 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[48, 12, 32], Operations: ['70-38=32'] Exploring Operation: 48+12=60, Resulting Numbers: [32, 60] Generated Node #0,2,0: 50:[32, 60] Operation: 48+12=60 Exploring Operation: 32-12=20, Resulting Numbers: [48, 20] Generated Node #0,2,1: 50:[48, 20] Operation: 32-12=20 Exploring Operation: 48-32=16, Resulting Numbers: [12, 16] Generated Node #0,2,2: 50:[12, 16] Operation: 48-32=16 Exploring Operation: 12+32=44, Resulting Numbers: [48, 44] Generated Node #0,2,3: 50:[48, 44] Operation: 12+32=44 Exploring Operation: 48/12=4, Resulting Numbers: [32, 4] Generated Node #0,2,4: 50:[32, 4] Operation: 48/12=4 Moving to Node #0,2,1 Current State: 50:[48, 20], Operations: ['70-38=32', '32-12=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,50 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,50 unequal: No Solution Moving to Node #0,2,3 Current State: 50:[48, 44], Operations: ['70-38=32', '12+32=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,50 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[12, 16], Operations: ['70-38=32', '48-32=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,50 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,2,4 Current State: 50:[32, 4], Operations: ['70-38=32', '48/12=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,50 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[32, 60], Operations: ['70-38=32', '48+12=60'] Exploring Operation: 32*60=1920, Resulting Numbers: [1920] 1920,50 unequal: No Solution Exploring Operation: 32+60=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 60-32=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[12, 38, 22], Operations: ['70-48=22'] Exploring Operation: 38-22=16, Resulting Numbers: [12, 16] Generated Node #0,4,0: 50:[12, 16] Operation: 38-22=16 Exploring Operation: 12+38=50, Resulting Numbers: [22, 50] Generated Node #0,4,1: 50:[22, 50] Operation: 12+38=50 Exploring Operation: 22-12=10, Resulting Numbers: [38, 10] Generated Node #0,4,2: 50:[38, 10] Operation: 22-12=10 Exploring Operation: 38-12=26, Resulting Numbers: [22, 26] Generated Node #0,4,3: 50:[22, 26] Operation: 38-12=26 Exploring Operation: 38+22=60, Resulting Numbers: [12, 60] Generated Node #0,4,4: 50:[12, 60] Operation: 38+22=60 Moving to Node #0,4,1 Current State: 50:[22, 50], Operations: ['70-48=22', '12+38=50'] Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,50 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,4,3 Current State: 50:[22, 26], Operations: ['70-48=22', '38-12=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,50 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,50 unequal: No Solution Moving to Node #0,4,0 Current State: 50:[12, 16], Operations: ['70-48=22', '38-22=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[38, 10], Operations: ['70-48=22', '22-12=10'] Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,50 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,50 unequal: No Solution Moving to Node #0,4,4 Current State: 50:[12, 60], Operations: ['70-48=22', '38+22=60'] Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[48, 38, 58], Operations: ['70-12=58'] Exploring Operation: 58-38=20, Resulting Numbers: [48, 20] Generated Node #0,0,0: 50:[48, 20] Operation: 58-38=20 Exploring Operation: 38+58=96, Resulting Numbers: [48, 96] Generated Node #0,0,1: 50:[48, 96] Operation: 38+58=96 Exploring Operation: 48-38=10, Resulting Numbers: [58, 10] Generated Node #0,0,2: 50:[58, 10] Operation: 48-38=10 Exploring Operation: 58-48=10, Resulting Numbers: [38, 10] Generated Node #0,0,3: 50:[38, 10] Operation: 58-48=10 Exploring Operation: 48+38=86, Resulting Numbers: [58, 86] Generated Node #0,0,4: 50:[58, 86] Operation: 48+38=86 Moving to Node #0,0,0 Current State: 50:[48, 20], Operations: ['70-12=58', '58-38=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,50 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[58, 10], Operations: ['70-12=58', '48-38=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,50 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[38, 10], Operations: ['70-12=58', '58-48=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,50 unequal: No Solution Moving to Node #0,0,4 Current State: 50:[58, 86], Operations: ['70-12=58', '48+38=86'] Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,50 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[48, 96], Operations: ['70-12=58', '38+58=96'] Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,50 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 48*96=4608, Resulting Numbers: [4608] 4608,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[70, 48, 50], Operations: ['12+38=50'] Exploring Operation: 70-50=20, Resulting Numbers: [48, 20] Generated Node #0,1,0: 50:[48, 20] Operation: 70-50=20 Exploring Operation: 50-48=2, Resulting Numbers: [70, 2] Generated Node #0,1,1: 50:[70, 2] Operation: 50-48=2 Exploring Operation: 70-48=22, Resulting Numbers: [50, 22] Generated Node #0,1,2: 50:[50, 22] Operation: 70-48=22 Exploring Operation: 70+48=118, Resulting Numbers: [50, 118] Generated Node #0,1,3: 50:[50, 118] Operation: 70+48=118 Exploring Operation: 48+50=98, Resulting Numbers: [70, 98] Generated Node #0,1,4: 50:[70, 98] Operation: 48+50=98 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[50, 22], Operations: ['12+38=50', '70-48=22'] Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,50 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[48, 20], Operations: ['12+38=50', '70-50=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,50 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[70, 2], Operations: ['12+38=50', '50-48=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,50 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 50:[50, 118], Operations: ['12+38=50', '70+48=118'] Exploring Operation: 50+118=168, Resulting Numbers: [168] 168,50 unequal: No Solution Exploring Operation: 118-50=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 50*118=5900, Resulting Numbers: [5900] 5900,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 50:[70, 98], Operations: ['12+38=50', '48+50=98'] Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,50 unequal: No Solution Exploring Operation: 70+98=168, Resulting Numbers: [168] 168,50 unequal: No Solution Exploring Operation: 70*98=6860, Resulting Numbers: [6860] 6860,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 50:[70, 12, 10], Operations: ['48-38=10'] Exploring Operation: 12+10=22, Resulting Numbers: [70, 22] Generated Node #0,3,0: 50:[70, 22] Operation: 12+10=22 Exploring Operation: 70-10=60, Resulting Numbers: [12, 60] Generated Node #0,3,1: 50:[12, 60] Operation: 70-10=60 Exploring Operation: 70-12=58, Resulting Numbers: [10, 58] Generated Node #0,3,2: 50:[10, 58] Operation: 70-12=58 Exploring Operation: 12-10=2, Resulting Numbers: [70, 2] Generated Node #0,3,3: 50:[70, 2] Operation: 12-10=2 Exploring Operation: 70/10=7, Resulting Numbers: [12, 7] Generated Node #0,3,4: 50:[12, 7] Operation: 70/10=7 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 50:[12, 7], Operations: ['48-38=10', '70/10=7'] Exploring Operation: 12+7=19, Resulting Numbers: [19] 19,50 unequal: No Solution Exploring Operation: 12*7=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 50:[10, 58], Operations: ['48-38=10', '70-12=58'] Exploring Operation: 10*58=580, Resulting Numbers: [580] 580,50 unequal: No Solution Exploring Operation: 10+58=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 50:[12, 60], Operations: ['48-38=10', '70-10=60'] Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 50:[70, 2], Operations: ['48-38=10', '12-10=2'] Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,50 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 50:[70, 22], Operations: ['48-38=10', '12+10=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 95, 9, 94, 8 ]
80
[ "95+9=104", "104-94=10", "8*10=80" ]
Current State: 80:[95, 9, 94, 8], Operations: [] Exploring Operation: 95+9=104, Resulting Numbers: [94, 8, 104] Generated Node #2: [94, 8, 104] from Operation: 95+9=104 Current State: 80:[94, 8, 104], Operations: ['95+9=104'] Exploring Operation: 104-94=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 104-94=10 Current State: 80:[8, 10], Operations: ['95+9=104', '104-94=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[95, 9, 94, 8], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [9, 8, 1] Generated Node #0,0: 80:[9, 8, 1] Operation: 95-94=1 Exploring Operation: 95-9=86, Resulting Numbers: [94, 8, 86] Generated Node #0,1: 80:[94, 8, 86] Operation: 95-9=86 Moving to Node #0,0 Current State: 80:[9, 8, 1], Operations: ['95-94=1'] Exploring Operation: 9+1=10, Resulting Numbers: [8, 10] Generated Node #0,0,0: 80:[8, 10] Operation: 9+1=10 Exploring Operation: 9-1=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 80:[8, 8] Operation: 9-1=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[8, 10], Operations: ['95-94=1', '9+1=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[95, 9, 94, 8], Operations: [] Exploring Operation: 95-94=1, Resulting Numbers: [9, 8, 1] Generated Node #0,0: 80:[9, 8, 1] Operation: 95-94=1 Moving to Node #0,0 Current State: 80:[9, 8, 1], Operations: ['95-94=1'] Exploring Operation: 9+1=10, Resulting Numbers: [8, 10] Generated Node #0,0,0: 80:[8, 10] Operation: 9+1=10 Moving to Node #0,0,0 Current State: 80:[8, 10], Operations: ['95-94=1', '9+1=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 60, 82, 52, 36 ]
72
[ "60*36=2160", "82-52=30", "2160/30=72" ]
Current State: 72:[60, 82, 52, 36], Operations: [] Exploring Operation: 60*36=2160, Resulting Numbers: [82, 52, 2160] Generated Node #2: [82, 52, 2160] from Operation: 60*36=2160 Current State: 72:[82, 52, 2160], Operations: ['60*36=2160'] Exploring Operation: 82-52=30, Resulting Numbers: [2160, 30] Generated Node #3: [2160, 30] from Operation: 82-52=30 Current State: 72:[2160, 30], Operations: ['60*36=2160', '82-52=30'] Exploring Operation: 2160/30=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[60, 82, 52, 36], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [82, 36, 8] Generated Node #0,0: 72:[82, 36, 8] Operation: 60-52=8 Exploring Operation: 82-52=30, Resulting Numbers: [60, 36, 30] Generated Node #0,1: 72:[60, 36, 30] Operation: 82-52=30 Exploring Operation: 82-60=22, Resulting Numbers: [52, 36, 22] Generated Node #0,2: 72:[52, 36, 22] Operation: 82-60=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[82, 36, 8], Operations: ['60-52=8'] Exploring Operation: 82-8=74, Resulting Numbers: [36, 74] Generated Node #0,0,0: 72:[36, 74] Operation: 82-8=74 Exploring Operation: 36-8=28, Resulting Numbers: [82, 28] Generated Node #0,0,1: 72:[82, 28] Operation: 36-8=28 Exploring Operation: 82-36=46, Resulting Numbers: [8, 46] Generated Node #0,0,2: 72:[8, 46] Operation: 82-36=46 Moving to Node #0,0,0 Current State: 72:[36, 74], Operations: ['60-52=8', '82-8=74'] Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,72 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[8, 46], Operations: ['60-52=8', '82-36=46'] Exploring Operation: 8+46=54, Resulting Numbers: [54] 54,72 unequal: No Solution Exploring Operation: 8*46=368, Resulting Numbers: [368] 368,72 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[82, 28], Operations: ['60-52=8', '36-8=28'] Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,72 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[60, 36, 30], Operations: ['82-52=30'] Exploring Operation: 60-36=24, Resulting Numbers: [30, 24] Generated Node #0,1,0: 72:[30, 24] Operation: 60-36=24 Exploring Operation: 60-30=30, Resulting Numbers: [36, 30] Generated Node #0,1,1: 72:[36, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [36, 2] Generated Node #0,1,2: 72:[36, 2] Operation: 60/30=2 Moving to Node #0,1,2 Current State: 72:[36, 2], Operations: ['82-52=30', '60/30=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,72 unequal: No Solution Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[60, 82, 52, 36], Operations: [] Exploring Operation: 82-52=30, Resulting Numbers: [60, 36, 30] Generated Node #0,1: 72:[60, 36, 30] Operation: 82-52=30 Moving to Node #0,1 Current State: 72:[60, 36, 30], Operations: ['82-52=30'] Exploring Operation: 60/30=2, Resulting Numbers: [36, 2] Generated Node #0,1,2: 72:[36, 2] Operation: 60/30=2 Moving to Node #0,1,2 Current State: 72:[36, 2], Operations: ['82-52=30', '60/30=2'] Exploring Operation: 36*2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 59, 3, 47, 74 ]
78
[ "59-47=12", "12/3=4", "74+4=78" ]
Current State: 78:[59, 3, 47, 74], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [3, 74, 12] Generated Node #2: [3, 74, 12] from Operation: 59-47=12 Current State: 78:[3, 74, 12], Operations: ['59-47=12'] Exploring Operation: 12/3=4, Resulting Numbers: [74, 4] Generated Node #3: [74, 4] from Operation: 12/3=4 Current State: 78:[74, 4], Operations: ['59-47=12', '12/3=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[59, 3, 47, 74], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [3, 74, 12] Generated Node #0,0: 78:[3, 74, 12] Operation: 59-47=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[3, 74, 12], Operations: ['59-47=12'] Exploring Operation: 3+74=77, Resulting Numbers: [12, 77] Generated Node #0,0,0: 78:[12, 77] Operation: 3+74=77 Moving to Node #0,0,0 Current State: 78:[12, 77], Operations: ['59-47=12', '3+74=77'] Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,78 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
[ 4, 39, 41, 2 ]
22
[ "39+41=80", "80/4=20", "2+20=22" ]
Current State: 22:[4, 39, 41, 2], Operations: [] Exploring Operation: 39+41=80, Resulting Numbers: [4, 2, 80] Generated Node #2: [4, 2, 80] from Operation: 39+41=80 Current State: 22:[4, 2, 80], Operations: ['39+41=80'] Exploring Operation: 80/4=20, Resulting Numbers: [2, 20] Generated Node #3: [2, 20] from Operation: 80/4=20 Current State: 22:[2, 20], Operations: ['39+41=80', '80/4=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[4, 39, 41, 2], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [4, 2, 2] Generated Node #0,0: 22:[4, 2, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[4, 2, 2], Operations: ['41-39=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 22:[2, 2] Operation: 4-2=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 22:[2, 2], Operations: ['41-39=2', '4-2=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,22 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 88, 5, 6, 48 ]
48
[ "88-48=40", "40/5=8", "6*8=48" ]
Current State: 48:[88, 5, 6, 48], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [5, 6, 40] Generated Node #2: [5, 6, 40] from Operation: 88-48=40 Current State: 48:[5, 6, 40], Operations: ['88-48=40'] Exploring Operation: 40/5=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 40/5=8 Current State: 48:[6, 8], Operations: ['88-48=40', '40/5=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[88, 5, 6, 48], Operations: [] Exploring Operation: 88-5=83, Resulting Numbers: [6, 48, 83] Generated Node #0,0: 48:[6, 48, 83] Operation: 88-5=83 Exploring Operation: 88-48=40, Resulting Numbers: [5, 6, 40] Generated Node #0,1: 48:[5, 6, 40] Operation: 88-48=40 Exploring Operation: 88-6=82, Resulting Numbers: [5, 48, 82] Generated Node #0,2: 48:[5, 48, 82] Operation: 88-6=82 Moving to Node #0,1 Current State: 48:[5, 6, 40], Operations: ['88-48=40'] Exploring Operation: 6+40=46, Resulting Numbers: [5, 46] Generated Node #0,1,0: 48:[5, 46] Operation: 6+40=46 Exploring Operation: 5+40=45, Resulting Numbers: [6, 45] Generated Node #0,1,1: 48:[6, 45] Operation: 5+40=45 Exploring Operation: 40/5=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 48:[6, 8] Operation: 40/5=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[6, 8], Operations: ['88-48=40', '40/5=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[88, 5, 6, 48], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [5, 6, 40] Generated Node #0,1: 48:[5, 6, 40] Operation: 88-48=40 Moving to Node #0,1 Current State: 48:[5, 6, 40], Operations: ['88-48=40'] Exploring Operation: 40/5=8, Resulting Numbers: [6, 8] Generated Node #0,1,2: 48:[6, 8] Operation: 40/5=8 Moving to Node #0,1,2 Current State: 48:[6, 8], Operations: ['88-48=40', '40/5=8'] Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 85, 39, 8 ]
40
[ "2+85=87", "39+8=47", "87-47=40" ]
Current State: 40:[2, 85, 39, 8], Operations: [] Exploring Operation: 2+85=87, Resulting Numbers: [39, 8, 87] Generated Node #2: [39, 8, 87] from Operation: 2+85=87 Current State: 40:[39, 8, 87], Operations: ['2+85=87'] Exploring Operation: 39+8=47, Resulting Numbers: [87, 47] Generated Node #3: [87, 47] from Operation: 39+8=47 Current State: 40:[87, 47], Operations: ['2+85=87', '39+8=47'] Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[2, 85, 39, 8], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [2, 8, 46] Generated Node #0,0: 40:[2, 8, 46] Operation: 85-39=46 Exploring Operation: 85-8=77, Resulting Numbers: [2, 39, 77] Generated Node #0,1: 40:[2, 39, 77] Operation: 85-8=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[2, 8, 46], Operations: ['85-39=46'] Exploring Operation: 46-8=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 40:[2, 38] Operation: 46-8=38 Exploring Operation: 46/2=23, Resulting Numbers: [8, 23] Generated Node #0,0,1: 40:[8, 23] Operation: 46/2=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[2, 38], Operations: ['85-39=46', '46-8=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[2, 85, 39, 8], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [2, 8, 46] Generated Node #0,0: 40:[2, 8, 46] Operation: 85-39=46 Moving to Node #0,0 Current State: 40:[2, 8, 46], Operations: ['85-39=46'] Exploring Operation: 46-8=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 40:[2, 38] Operation: 46-8=38 Moving to Node #0,0,0 Current State: 40:[2, 38], Operations: ['85-39=46', '46-8=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 66, 31, 9, 46 ]
99
[ "66-31=35", "46-35=11", "9*11=99" ]
Current State: 99:[66, 31, 9, 46], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [9, 46, 35] Generated Node #2: [9, 46, 35] from Operation: 66-31=35 Current State: 99:[9, 46, 35], Operations: ['66-31=35'] Exploring Operation: 46-35=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 46-35=11 Current State: 99:[9, 11], Operations: ['66-31=35', '46-35=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 31, 9, 46], Operations: [] Exploring Operation: 66+31=97, Resulting Numbers: [9, 46, 97] Generated Node #0,0: 99:[9, 46, 97] Operation: 66+31=97 Exploring Operation: 46-31=15, Resulting Numbers: [66, 9, 15] Generated Node #0,1: 99:[66, 9, 15] Operation: 46-31=15 Exploring Operation: 66-46=20, Resulting Numbers: [31, 9, 20] Generated Node #0,2: 99:[31, 9, 20] Operation: 66-46=20 Exploring Operation: 66-31=35, Resulting Numbers: [9, 46, 35] Generated Node #0,3: 99:[9, 46, 35] Operation: 66-31=35 Exploring Operation: 66+46=112, Resulting Numbers: [31, 9, 112] Generated Node #0,4: 99:[31, 9, 112] Operation: 66+46=112 Moving to Node #0,2 Current State: 99:[31, 9, 20], Operations: ['66-46=20'] Exploring Operation: 31-20=11, Resulting Numbers: [9, 11] Generated Node #0,2,0: 99:[9, 11] Operation: 31-20=11 Exploring Operation: 9+20=29, Resulting Numbers: [31, 29] Generated Node #0,2,1: 99:[31, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [31, 11] Generated Node #0,2,2: 99:[31, 11] Operation: 20-9=11 Exploring Operation: 31+9=40, Resulting Numbers: [20, 40] Generated Node #0,2,3: 99:[20, 40] Operation: 31+9=40 Exploring Operation: 31+20=51, Resulting Numbers: [9, 51] Generated Node #0,2,4: 99:[9, 51] Operation: 31+20=51 Moving to Node #0,3 Current State: 99:[9, 46, 35], Operations: ['66-31=35'] Exploring Operation: 46-9=37, Resulting Numbers: [35, 37] Generated Node #0,3,0: 99:[35, 37] Operation: 46-9=37 Exploring Operation: 46-35=11, Resulting Numbers: [9, 11] Generated Node #0,3,1: 99:[9, 11] Operation: 46-35=11 Exploring Operation: 46+35=81, Resulting Numbers: [9, 81] Generated Node #0,3,2: 99:[9, 81] Operation: 46+35=81 Exploring Operation: 35-9=26, Resulting Numbers: [46, 26] Generated Node #0,3,3: 99:[46, 26] Operation: 35-9=26 Exploring Operation: 9+46=55, Resulting Numbers: [35, 55] Generated Node #0,3,4: 99:[35, 55] Operation: 9+46=55 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 99:[9, 11], Operations: ['66-31=35', '46-35=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[66, 31, 9, 46], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [9, 46, 35] Generated Node #0,3: 99:[9, 46, 35] Operation: 66-31=35 Moving to Node #0,3 Current State: 99:[9, 46, 35], Operations: ['66-31=35'] Exploring Operation: 46-35=11, Resulting Numbers: [9, 11] Generated Node #0,3,1: 99:[9, 11] Operation: 46-35=11 Moving to Node #0,3,1 Current State: 99:[9, 11], Operations: ['66-31=35', '46-35=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 29, 77, 41, 59 ]
27
[ "77+41=118", "118/59=2", "29-2=27" ]
Current State: 27:[29, 77, 41, 59], Operations: [] Exploring Operation: 77+41=118, Resulting Numbers: [29, 59, 118] Generated Node #2: [29, 59, 118] from Operation: 77+41=118 Current State: 27:[29, 59, 118], Operations: ['77+41=118'] Exploring Operation: 118/59=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 118/59=2 Current State: 27:[29, 2], Operations: ['77+41=118', '118/59=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[29, 77, 41, 59], Operations: [] Exploring Operation: 77-29=48, Resulting Numbers: [41, 59, 48] Generated Node #0,0: 27:[41, 59, 48] Operation: 77-29=48 Exploring Operation: 59-41=18, Resulting Numbers: [29, 77, 18] Generated Node #0,1: 27:[29, 77, 18] Operation: 59-41=18 Exploring Operation: 77-41=36, Resulting Numbers: [29, 59, 36] Generated Node #0,2: 27:[29, 59, 36] Operation: 77-41=36 Exploring Operation: 77-59=18, Resulting Numbers: [29, 41, 18] Generated Node #0,3: 27:[29, 41, 18] Operation: 77-59=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[29, 41, 18], Operations: ['77-59=18'] Exploring Operation: 29-18=11, Resulting Numbers: [41, 11] Generated Node #0,3,0: 27:[41, 11] Operation: 29-18=11 Exploring Operation: 41-29=12, Resulting Numbers: [18, 12] Generated Node #0,3,1: 27:[18, 12] Operation: 41-29=12 Exploring Operation: 29+18=47, Resulting Numbers: [41, 47] Generated Node #0,3,2: 27:[41, 47] Operation: 29+18=47 Exploring Operation: 41-18=23, Resulting Numbers: [29, 23] Generated Node #0,3,3: 27:[29, 23] Operation: 41-18=23 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[29, 23], Operations: ['77-59=18', '41-18=23'] Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,27 unequal: No Solution Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 27:[18, 12], Operations: ['77-59=18', '41-29=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,27 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[41, 11], Operations: ['77-59=18', '29-18=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,27 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 27:[41, 47], Operations: ['77-59=18', '29+18=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,27 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[29, 59, 36], Operations: ['77-41=36'] Exploring Operation: 36-29=7, Resulting Numbers: [59, 7] Generated Node #0,2,0: 27:[59, 7] Operation: 36-29=7 Exploring Operation: 59-29=30, Resulting Numbers: [36, 30] Generated Node #0,2,1: 27:[36, 30] Operation: 59-29=30 Exploring Operation: 59-36=23, Resulting Numbers: [29, 23] Generated Node #0,2,2: 27:[29, 23] Operation: 59-36=23 Exploring Operation: 29+59=88, Resulting Numbers: [36, 88] Generated Node #0,2,3: 27:[36, 88] Operation: 29+59=88 Moving to Node #0,2,2 Current State: 27:[29, 23], Operations: ['77-41=36', '59-36=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 29*23=667, Resulting Numbers: [667] 667,27 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[36, 30], Operations: ['77-41=36', '59-29=30'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,27 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,27 unequal: No Solution Moving to Node #0,2,0 Current State: 27:[59, 7], Operations: ['77-41=36', '36-29=7'] Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,27 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[36, 88], Operations: ['77-41=36', '29+59=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[29, 77, 18], Operations: ['59-41=18'] Exploring Operation: 29-18=11, Resulting Numbers: [77, 11] Generated Node #0,1,0: 27:[77, 11] Operation: 29-18=11 Exploring Operation: 29+18=47, Resulting Numbers: [77, 47] Generated Node #0,1,1: 27:[77, 47] Operation: 29+18=47 Exploring Operation: 77-29=48, Resulting Numbers: [18, 48] Generated Node #0,1,2: 27:[18, 48] Operation: 77-29=48 Exploring Operation: 77-18=59, Resulting Numbers: [29, 59] Generated Node #0,1,3: 27:[29, 59] Operation: 77-18=59 Moving to Node #0,1,2 Current State: 27:[18, 48], Operations: ['59-41=18', '77-29=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,27 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[29, 59], Operations: ['59-41=18', '77-18=59'] Exploring Operation: 29*59=1711, Resulting Numbers: [1711] 1711,27 unequal: No Solution Exploring Operation: 29+59=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[77, 11], Operations: ['59-41=18', '29-18=11'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,27 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,27 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[77, 47], Operations: ['59-41=18', '29+18=47'] Exploring Operation: 77+47=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 77*47=3619, Resulting Numbers: [3619] 3619,27 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[41, 59, 48], Operations: ['77-29=48'] Exploring Operation: 41+59=100, Resulting Numbers: [48, 100] Generated Node #0,0,0: 27:[48, 100] Operation: 41+59=100 Exploring Operation: 48-41=7, Resulting Numbers: [59, 7] Generated Node #0,0,1: 27:[59, 7] Operation: 48-41=7 Exploring Operation: 59-41=18, Resulting Numbers: [48, 18] Generated Node #0,0,2: 27:[48, 18] Operation: 59-41=18 Exploring Operation: 59-48=11, Resulting Numbers: [41, 11] Generated Node #0,0,3: 27:[41, 11] Operation: 59-48=11 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[41, 11], Operations: ['77-29=48', '59-48=11'] Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,27 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[48, 18], Operations: ['77-29=48', '59-41=18'] Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,27 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[59, 7], Operations: ['77-29=48', '48-41=7'] Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,27 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[48, 100], Operations: ['77-29=48', '41+59=100'] Exploring Operation: 48+100=148, Resulting Numbers: [148] 148,27 unequal: No Solution Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,27 unequal: No Solution Exploring Operation: 48*100=4800, Resulting Numbers: [4800] 4800,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 15, 7, 3, 88 ]
76
[ "15/3=5", "88-7=81", "81-5=76" ]
Current State: 76:[15, 7, 3, 88], Operations: [] Exploring Operation: 15/3=5, Resulting Numbers: [7, 88, 5] Generated Node #2: [7, 88, 5] from Operation: 15/3=5 Current State: 76:[7, 88, 5], Operations: ['15/3=5'] Exploring Operation: 88-7=81, Resulting Numbers: [5, 81] Generated Node #3: [5, 81] from Operation: 88-7=81 Current State: 76:[5, 81], Operations: ['15/3=5', '88-7=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[15, 7, 3, 88], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [7, 3, 73] Generated Node #0,0: 76:[7, 3, 73] Operation: 88-15=73 Exploring Operation: 15+7=22, Resulting Numbers: [3, 88, 22] Generated Node #0,1: 76:[3, 88, 22] Operation: 15+7=22 Exploring Operation: 15+3=18, Resulting Numbers: [7, 88, 18] Generated Node #0,2: 76:[7, 88, 18] Operation: 15+3=18 Exploring Operation: 88-7=81, Resulting Numbers: [15, 3, 81] Generated Node #0,3: 76:[15, 3, 81] Operation: 88-7=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[7, 3, 73], Operations: ['88-15=73'] Exploring Operation: 7-3=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 76:[73, 4] Operation: 7-3=4 Exploring Operation: 7+73=80, Resulting Numbers: [3, 80] Generated Node #0,0,1: 76:[3, 80] Operation: 7+73=80 Exploring Operation: 3+73=76, Resulting Numbers: [7, 76] Generated Node #0,0,2: 76:[7, 76] Operation: 3+73=76 Exploring Operation: 7*3=21, Resulting Numbers: [73, 21] Generated Node #0,0,3: 76:[73, 21] Operation: 7*3=21 Moving to Node #0,0,0 Current State: 76:[73, 4], Operations: ['88-15=73', '7-3=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,76 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[7, 76], Operations: ['88-15=73', '3+73=76'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,76 unequal: No Solution Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[73, 21], Operations: ['88-15=73', '7*3=21'] Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,76 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,76 unequal: No Solution Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[3, 80], Operations: ['88-15=73', '7+73=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,76 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,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,3 Current State: 76:[15, 3, 81], Operations: ['88-7=81'] Exploring Operation: 15+3=18, Resulting Numbers: [81, 18] Generated Node #0,3,0: 76:[81, 18] Operation: 15+3=18 Exploring Operation: 15/3=5, Resulting Numbers: [81, 5] Generated Node #0,3,1: 76:[81, 5] Operation: 15/3=5 Exploring Operation: 81-15=66, Resulting Numbers: [3, 66] Generated Node #0,3,2: 76:[3, 66] Operation: 81-15=66 Exploring Operation: 81-3=78, Resulting Numbers: [15, 78] Generated Node #0,3,3: 76:[15, 78] Operation: 81-3=78 Moving to Node #0,3,0 Current State: 76:[81, 18], Operations: ['88-7=81', '15+3=18'] Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,76 unequal: No Solution Exploring Operation: 81*18=1458, Resulting Numbers: [1458] 1458,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[15, 78], Operations: ['88-7=81', '81-3=78'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,76 unequal: No Solution Exploring Operation: 15*78=1170, Resulting Numbers: [1170] 1170,76 unequal: No Solution Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[81, 5], Operations: ['88-7=81', '15/3=5'] Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,76 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[15, 7, 3, 88], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [15, 3, 81] Generated Node #0,3: 76:[15, 3, 81] Operation: 88-7=81 Moving to Node #0,3 Current State: 76:[15, 3, 81], Operations: ['88-7=81'] Exploring Operation: 15/3=5, Resulting Numbers: [81, 5] Generated Node #0,3,1: 76:[81, 5] Operation: 15/3=5 Moving to Node #0,3,1 Current State: 76:[81, 5], Operations: ['88-7=81', '15/3=5'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 23, 92, 8, 94 ]
90
[ "92/23=4", "94-8=86", "4+86=90" ]
Current State: 90:[23, 92, 8, 94], Operations: [] Exploring Operation: 92/23=4, Resulting Numbers: [8, 94, 4] Generated Node #2: [8, 94, 4] from Operation: 92/23=4 Current State: 90:[8, 94, 4], Operations: ['92/23=4'] Exploring Operation: 94-8=86, Resulting Numbers: [4, 86] Generated Node #3: [4, 86] from Operation: 94-8=86 Current State: 90:[4, 86], Operations: ['92/23=4', '94-8=86'] Exploring Operation: 4+86=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[23, 92, 8, 94], Operations: [] Exploring Operation: 23-8=15, Resulting Numbers: [92, 94, 15] Generated Node #0,0: 90:[92, 94, 15] Operation: 23-8=15 Exploring Operation: 92/23=4, Resulting Numbers: [8, 94, 4] Generated Node #0,1: 90:[8, 94, 4] Operation: 92/23=4 Moving to Node #0,0 Current State: 90:[92, 94, 15], Operations: ['23-8=15'] Exploring Operation: 94-15=79, Resulting Numbers: [92, 79] Generated Node #0,0,0: 90:[92, 79] Operation: 94-15=79 Exploring Operation: 94-92=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 90:[15, 2] Operation: 94-92=2 Moving to Node #0,1 Current State: 90:[8, 94, 4], Operations: ['92/23=4'] Exploring Operation: 94-4=90, Resulting Numbers: [8, 90] Generated Node #0,1,0: 90:[8, 90] Operation: 94-4=90 Exploring Operation: 8/4=2, Resulting Numbers: [94, 2] Generated Node #0,1,1: 90:[94, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[8, 90], Operations: ['92/23=4', '94-4=90'] Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,90 unequal: No Solution Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[94, 2], Operations: ['92/23=4', '8/4=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,90 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 90:[15, 2], Operations: ['23-8=15', '94-92=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[92, 79], Operations: ['23-8=15', '94-15=79'] Exploring Operation: 92+79=171, Resulting Numbers: [171] 171,90 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 28, 42, 3, 55 ]
95
[ "28+42=70", "3*55=165", "165-70=95" ]
Current State: 95:[28, 42, 3, 55], Operations: [] Exploring Operation: 28+42=70, Resulting Numbers: [3, 55, 70] Generated Node #2: [3, 55, 70] from Operation: 28+42=70 Current State: 95:[3, 55, 70], Operations: ['28+42=70'] Exploring Operation: 3*55=165, Resulting Numbers: [70, 165] Generated Node #3: [70, 165] from Operation: 3*55=165 Current State: 95:[70, 165], Operations: ['28+42=70', '3*55=165'] Exploring Operation: 165-70=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[28, 42, 3, 55], Operations: [] Exploring Operation: 42+55=97, Resulting Numbers: [28, 3, 97] Generated Node #0,0: 95:[28, 3, 97] Operation: 42+55=97 Exploring Operation: 55-28=27, Resulting Numbers: [42, 3, 27] Generated Node #0,1: 95:[42, 3, 27] Operation: 55-28=27 Exploring Operation: 55-42=13, Resulting Numbers: [28, 3, 13] Generated Node #0,2: 95:[28, 3, 13] Operation: 55-42=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[28, 3, 97], Operations: ['42+55=97'] Exploring Operation: 28*3=84, Resulting Numbers: [97, 84] Generated Node #0,0,0: 95:[97, 84] Operation: 28*3=84 Exploring Operation: 97-3=94, Resulting Numbers: [28, 94] Generated Node #0,0,1: 95:[28, 94] Operation: 97-3=94 Exploring Operation: 28-3=25, Resulting Numbers: [97, 25] Generated Node #0,0,2: 95:[97, 25] Operation: 28-3=25 Moving to Node #0,0,2 Current State: 95:[97, 25], Operations: ['42+55=97', '28-3=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[28, 94], Operations: ['42+55=97', '97-3=94'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,95 unequal: No Solution Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[97, 84], Operations: ['42+55=97', '28*3=84'] Exploring Operation: 97+84=181, Resulting Numbers: [181] 181,95 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 97*84=8148, Resulting Numbers: [8148] 8148,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,2 Current State: 95:[28, 3, 13], Operations: ['55-42=13'] Exploring Operation: 28-3=25, Resulting Numbers: [13, 25] Generated Node #0,2,0: 95:[13, 25] Operation: 28-3=25 Exploring Operation: 3+13=16, Resulting Numbers: [28, 16] Generated Node #0,2,1: 95:[28, 16] Operation: 3+13=16 Exploring Operation: 28-13=15, Resulting Numbers: [3, 15] Generated Node #0,2,2: 95:[3, 15] Operation: 28-13=15 Moving to Node #0,2,2 Current State: 95:[3, 15], Operations: ['55-42=13', '28-13=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[13, 25], Operations: ['55-42=13', '28-3=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,95 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[28, 16], Operations: ['55-42=13', '3+13=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,95 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,95 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[42, 3, 27], Operations: ['55-28=27'] Exploring Operation: 42-27=15, Resulting Numbers: [3, 15] Generated Node #0,1,0: 95:[3, 15] Operation: 42-27=15 Exploring Operation: 42/3=14, Resulting Numbers: [27, 14] Generated Node #0,1,1: 95:[27, 14] Operation: 42/3=14 Exploring Operation: 27/3=9, Resulting Numbers: [42, 9] Generated Node #0,1,2: 95:[42, 9] Operation: 27/3=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[3, 15], Operations: ['55-28=27', '42-27=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,95 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,95 unequal: No Solution No 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: 95:[27, 14], Operations: ['55-28=27', '42/3=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,95 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,95 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,95 unequal: No Solution No 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: 95:[42, 9], Operations: ['55-28=27', '27/3=9'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,95 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 88, 17, 4, 8 ]
61
[ "88*4=352", "352/8=44", "17+44=61" ]
Current State: 61:[88, 17, 4, 8], Operations: [] Exploring Operation: 88*4=352, Resulting Numbers: [17, 8, 352] Generated Node #2: [17, 8, 352] from Operation: 88*4=352 Current State: 61:[17, 8, 352], Operations: ['88*4=352'] Exploring Operation: 352/8=44, Resulting Numbers: [17, 44] Generated Node #3: [17, 44] from Operation: 352/8=44 Current State: 61:[17, 44], Operations: ['88*4=352', '352/8=44'] Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[88, 17, 4, 8], Operations: [] Exploring Operation: 88-8=80, Resulting Numbers: [17, 4, 80] Generated Node #0,0: 61:[17, 4, 80] Operation: 88-8=80 Exploring Operation: 88-17=71, Resulting Numbers: [4, 8, 71] Generated Node #0,1: 61:[4, 8, 71] Operation: 88-17=71 Exploring Operation: 17*4=68, Resulting Numbers: [88, 8, 68] Generated Node #0,2: 61:[88, 8, 68] Operation: 17*4=68 Exploring Operation: 88-4=84, Resulting Numbers: [17, 8, 84] Generated Node #0,3: 61:[17, 8, 84] Operation: 88-4=84 Exploring Operation: 4*8=32, Resulting Numbers: [88, 17, 32] Generated Node #0,4: 61:[88, 17, 32] Operation: 4*8=32 Moving to Node #0,2 Current State: 61:[88, 8, 68], Operations: ['17*4=68'] Exploring Operation: 88/8=11, Resulting Numbers: [68, 11] Generated Node #0,2,0: 61:[68, 11] Operation: 88/8=11 Exploring Operation: 8+68=76, Resulting Numbers: [88, 76] Generated Node #0,2,1: 61:[88, 76] Operation: 8+68=76 Exploring Operation: 68-8=60, Resulting Numbers: [88, 60] Generated Node #0,2,2: 61:[88, 60] Operation: 68-8=60 Exploring Operation: 88-8=80, Resulting Numbers: [68, 80] Generated Node #0,2,3: 61:[68, 80] Operation: 88-8=80 Exploring Operation: 88+8=96, Resulting Numbers: [68, 96] Generated Node #0,2,4: 61:[68, 96] Operation: 88+8=96 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[68, 80], Operations: ['17*4=68', '88-8=80'] Exploring Operation: 68*80=5440, Resulting Numbers: [5440] 5440,61 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 68+80=148, Resulting Numbers: [148] 148,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,2,2 Current State: 61:[88, 60], Operations: ['17*4=68', '68-8=60'] Exploring Operation: 88+60=148, Resulting Numbers: [148] 148,61 unequal: No Solution Exploring Operation: 88*60=5280, Resulting Numbers: [5280] 5280,61 unequal: No Solution Exploring Operation: 88-60=28, Resulting Numbers: [28] 28,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,2,1 Current State: 61:[88, 76], Operations: ['17*4=68', '8+68=76'] Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,61 unequal: No Solution Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,61 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,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,2,4 Current State: 61:[68, 96], Operations: ['17*4=68', '88+8=96'] Exploring Operation: 68+96=164, Resulting Numbers: [164] 164,61 unequal: No Solution Exploring Operation: 96-68=28, Resulting Numbers: [28] 28,61 unequal: No Solution Exploring Operation: 68*96=6528, Resulting Numbers: [6528] 6528,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,2,0 Current State: 61:[68, 11], Operations: ['17*4=68', '88/8=11'] Exploring Operation: 68*11=748, Resulting Numbers: [748] 748,61 unequal: No Solution Exploring Operation: 68+11=79, Resulting Numbers: [79] 79,61 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,61 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: 61:[88, 17, 32], Operations: ['4*8=32'] Exploring Operation: 88-32=56, Resulting Numbers: [17, 56] Generated Node #0,4,0: 61:[17, 56] Operation: 88-32=56 Exploring Operation: 88-17=71, Resulting Numbers: [32, 71] Generated Node #0,4,1: 61:[32, 71] Operation: 88-17=71 Exploring Operation: 32-17=15, Resulting Numbers: [88, 15] Generated Node #0,4,2: 61:[88, 15] Operation: 32-17=15 Exploring Operation: 88+17=105, Resulting Numbers: [32, 105] Generated Node #0,4,3: 61:[32, 105] Operation: 88+17=105 Exploring Operation: 17+32=49, Resulting Numbers: [88, 49] Generated Node #0,4,4: 61:[88, 49] Operation: 17+32=49 Moving to Node #0,0 Current State: 61:[17, 4, 80], Operations: ['88-8=80'] Exploring Operation: 80-17=63, Resulting Numbers: [4, 63] Generated Node #0,0,0: 61:[4, 63] Operation: 80-17=63 Exploring Operation: 17*4=68, Resulting Numbers: [80, 68] Generated Node #0,0,1: 61:[80, 68] Operation: 17*4=68 Exploring Operation: 80-4=76, Resulting Numbers: [17, 76] Generated Node #0,0,2: 61:[17, 76] Operation: 80-4=76 Exploring Operation: 17+4=21, Resulting Numbers: [80, 21] Generated Node #0,0,3: 61:[80, 21] Operation: 17+4=21 Exploring Operation: 17-4=13, Resulting Numbers: [80, 13] Generated Node #0,0,4: 61:[80, 13] Operation: 17-4=13 Moving to Node #0,1 Current State: 61:[4, 8, 71], Operations: ['88-17=71'] Exploring Operation: 8-4=4, Resulting Numbers: [71, 4] Generated Node #0,1,0: 61:[71, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [71, 12] Generated Node #0,1,1: 61:[71, 12] Operation: 4+8=12 Exploring Operation: 4*8=32, Resulting Numbers: [71, 32] Generated Node #0,1,2: 61:[71, 32] Operation: 4*8=32 Exploring Operation: 71-4=67, Resulting Numbers: [8, 67] Generated Node #0,1,3: 61:[8, 67] Operation: 71-4=67 Exploring Operation: 71-8=63, Resulting Numbers: [4, 63] Generated Node #0,1,4: 61:[4, 63] Operation: 71-8=63 Moving to Node #0,3 Current State: 61:[17, 8, 84], Operations: ['88-4=84'] Exploring Operation: 17-8=9, Resulting Numbers: [84, 9] Generated Node #0,3,0: 61:[84, 9] Operation: 17-8=9 Exploring Operation: 84-17=67, Resulting Numbers: [8, 67] Generated Node #0,3,1: 61:[8, 67] Operation: 84-17=67 Exploring Operation: 84-8=76, Resulting Numbers: [17, 76] Generated Node #0,3,2: 61:[17, 76] Operation: 84-8=76 Exploring Operation: 17+8=25, Resulting Numbers: [84, 25] Generated Node #0,3,3: 61:[84, 25] Operation: 17+8=25 Exploring Operation: 8+84=92, Resulting Numbers: [17, 92] Generated Node #0,3,4: 61:[17, 92] Operation: 8+84=92 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[8, 67], Operations: ['88-4=84', '84-17=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,61 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[17, 76], Operations: ['88-4=84', '84-8=76'] Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,61 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 61:[84, 25], Operations: ['88-4=84', '17+8=25'] Exploring Operation: 84+25=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 84-25=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 84*25=2100, Resulting Numbers: [2100] 2100,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[84, 9], Operations: ['88-4=84', '17-8=9'] Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,61 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 61:[17, 92], Operations: ['88-4=84', '8+84=92'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 61:[80, 68], Operations: ['88-8=80', '17*4=68'] Exploring Operation: 80*68=5440, Resulting Numbers: [5440] 5440,61 unequal: No Solution Exploring Operation: 80-68=12, Resulting Numbers: [12] 12,61 unequal: No Solution Exploring Operation: 80+68=148, Resulting Numbers: [148] 148,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[32, 71], Operations: ['4*8=32', '88-17=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[88, 49], Operations: ['4*8=32', '17+32=49'] Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,61 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[71, 32], Operations: ['88-17=71', '4*8=32'] Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,61 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[17, 56], Operations: ['4*8=32', '88-32=56'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,61 unequal: No Solution Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,61 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[4, 63], Operations: ['88-8=80', '80-17=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,61 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[71, 12], Operations: ['88-17=71', '4+8=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,61 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[8, 67], Operations: ['88-17=71', '71-4=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,61 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[80, 21], Operations: ['88-8=80', '17+4=21'] Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[4, 63], Operations: ['88-17=71', '71-8=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,61 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[17, 76], Operations: ['88-8=80', '80-4=76'] Exploring Operation: 17+76=93, Resulting Numbers: [93] 93,61 unequal: No Solution Exploring Operation: 17*76=1292, Resulting Numbers: [1292] 1292,61 unequal: No Solution Exploring Operation: 76-17=59, Resulting Numbers: [59] 59,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[71, 4], Operations: ['88-17=71', '8-4=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,61 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[80, 13], Operations: ['88-8=80', '17-4=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,61 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[88, 15], Operations: ['4*8=32', '32-17=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,61 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[32, 105], Operations: ['4*8=32', '88+17=105'] Exploring Operation: 105-32=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 32+105=137, Resulting Numbers: [137] 137,61 unequal: No Solution Exploring Operation: 32*105=3360, Resulting Numbers: [3360] 3360,61 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 1, 26, 33 ]
12
[ "1+26=27", "33-27=6", "2*6=12" ]
Current State: 12:[2, 1, 26, 33], Operations: [] Exploring Operation: 1+26=27, Resulting Numbers: [2, 33, 27] Generated Node #2: [2, 33, 27] from Operation: 1+26=27 Current State: 12:[2, 33, 27], Operations: ['1+26=27'] Exploring Operation: 33-27=6, Resulting Numbers: [2, 6] Generated Node #3: [2, 6] from Operation: 33-27=6 Current State: 12:[2, 6], Operations: ['1+26=27', '33-27=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[2, 1, 26, 33], Operations: [] Exploring Operation: 26-2=24, Resulting Numbers: [1, 33, 24] Generated Node #0,0: 12:[1, 33, 24] Operation: 26-2=24 Exploring Operation: 33-2=31, Resulting Numbers: [1, 26, 31] Generated Node #0,1: 12:[1, 26, 31] Operation: 33-2=31 Exploring Operation: 33-26=7, Resulting Numbers: [2, 1, 7] Generated Node #0,2: 12:[2, 1, 7] Operation: 33-26=7 Exploring Operation: 26/2=13, Resulting Numbers: [1, 33, 13] Generated Node #0,3: 12:[1, 33, 13] Operation: 26/2=13 Moving to Node #0,2 Current State: 12:[2, 1, 7], Operations: ['33-26=7'] Exploring Operation: 2+1=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 12:[7, 3] Operation: 2+1=3 Exploring Operation: 7-1=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 12:[2, 6] Operation: 7-1=6 Exploring Operation: 2*1=2, Resulting Numbers: [7, 2] Generated Node #0,2,2: 12:[7, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [7, 2] Generated Node #0,2,3: 12:[7, 2] Operation: 2/1=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[2, 6], Operations: ['33-26=7', '7-1=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,12 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[2, 1, 26, 33], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [2, 1, 7] Generated Node #0,2: 12:[2, 1, 7] Operation: 33-26=7 Moving to Node #0,2 Current State: 12:[2, 1, 7], Operations: ['33-26=7'] Exploring Operation: 7-1=6, Resulting Numbers: [2, 6] Generated Node #0,2,1: 12:[2, 6] Operation: 7-1=6 Moving to Node #0,2,1 Current State: 12:[2, 6], Operations: ['33-26=7', '7-1=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 30, 92, 13, 41 ]
68
[ "30+92=122", "13+41=54", "122-54=68" ]
Current State: 68:[30, 92, 13, 41], Operations: [] Exploring Operation: 30+92=122, Resulting Numbers: [13, 41, 122] Generated Node #2: [13, 41, 122] from Operation: 30+92=122 Current State: 68:[13, 41, 122], Operations: ['30+92=122'] Exploring Operation: 13+41=54, Resulting Numbers: [122, 54] Generated Node #3: [122, 54] from Operation: 13+41=54 Current State: 68:[122, 54], Operations: ['30+92=122', '13+41=54'] Exploring Operation: 122-54=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[30, 92, 13, 41], Operations: [] Exploring Operation: 92-30=62, Resulting Numbers: [13, 41, 62] Generated Node #0,0: 68:[13, 41, 62] Operation: 92-30=62 Exploring Operation: 92-13=79, Resulting Numbers: [30, 41, 79] Generated Node #0,1: 68:[30, 41, 79] Operation: 92-13=79 Moving to Node #0,0 Current State: 68:[13, 41, 62], Operations: ['92-30=62'] Exploring Operation: 41-13=28, Resulting Numbers: [62, 28] Generated Node #0,0,0: 68:[62, 28] Operation: 41-13=28 Exploring Operation: 62-41=21, Resulting Numbers: [13, 21] Generated Node #0,0,1: 68:[13, 21] Operation: 62-41=21 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[13, 21], Operations: ['92-30=62', '62-41=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[62, 28], Operations: ['92-30=62', '41-13=28'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 68:[30, 41, 79], Operations: ['92-13=79'] Exploring Operation: 30+41=71, Resulting Numbers: [79, 71] Generated Node #0,1,0: 68:[79, 71] Operation: 30+41=71 Exploring Operation: 79-41=38, Resulting Numbers: [30, 38] Generated Node #0,1,1: 68:[30, 38] Operation: 79-41=38 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[30, 38], Operations: ['92-13=79', '79-41=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,68 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[30, 92, 13, 41], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [30, 41, 79] Generated Node #0,1: 68:[30, 41, 79] Operation: 92-13=79 Moving to Node #0,1 Current State: 68:[30, 41, 79], Operations: ['92-13=79'] Exploring Operation: 79-41=38, Resulting Numbers: [30, 38] Generated Node #0,1,1: 68:[30, 38] Operation: 79-41=38 Moving to Node #0,1,1 Current State: 68:[30, 38], Operations: ['92-13=79', '79-41=38'] Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 62, 31, 27, 71 ]
67
[ "62-31=31", "27+71=98", "98-31=67" ]
Current State: 67:[62, 31, 27, 71], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [27, 71, 31] Generated Node #2: [27, 71, 31] from Operation: 62-31=31 Current State: 67:[27, 71, 31], Operations: ['62-31=31'] Exploring Operation: 27+71=98, Resulting Numbers: [31, 98] Generated Node #3: [31, 98] from Operation: 27+71=98 Current State: 67:[31, 98], Operations: ['62-31=31', '27+71=98'] Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[62, 31, 27, 71], Operations: [] Exploring Operation: 71-27=44, Resulting Numbers: [62, 31, 44] Generated Node #0,0: 67:[62, 31, 44] Operation: 71-27=44 Exploring Operation: 31+27=58, Resulting Numbers: [62, 71, 58] Generated Node #0,1: 67:[62, 71, 58] Operation: 31+27=58 Exploring Operation: 62-27=35, Resulting Numbers: [31, 71, 35] Generated Node #0,2: 67:[31, 71, 35] Operation: 62-27=35 Exploring Operation: 62+27=89, Resulting Numbers: [31, 71, 89] Generated Node #0,3: 67:[31, 71, 89] Operation: 62+27=89 Exploring Operation: 62+31=93, Resulting Numbers: [27, 71, 93] Generated Node #0,4: 67:[27, 71, 93] Operation: 62+31=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[62, 71, 58], Operations: ['31+27=58'] Exploring Operation: 71-62=9, Resulting Numbers: [58, 9] Generated Node #0,1,0: 67:[58, 9] Operation: 71-62=9 Exploring Operation: 62-58=4, Resulting Numbers: [71, 4] Generated Node #0,1,1: 67:[71, 4] Operation: 62-58=4 Exploring Operation: 71-58=13, Resulting Numbers: [62, 13] Generated Node #0,1,2: 67:[62, 13] Operation: 71-58=13 Exploring Operation: 62+58=120, Resulting Numbers: [71, 120] Generated Node #0,1,3: 67:[71, 120] Operation: 62+58=120 Exploring Operation: 71+58=129, Resulting Numbers: [62, 129] Generated Node #0,1,4: 67:[62, 129] Operation: 71+58=129 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[71, 120], Operations: ['31+27=58', '62+58=120'] Exploring Operation: 71+120=191, Resulting Numbers: [191] 191,67 unequal: No Solution Exploring Operation: 71*120=8520, Resulting Numbers: [8520] 8520,67 unequal: No Solution Exploring Operation: 120-71=49, Resulting Numbers: [49] 49,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[62, 13], Operations: ['31+27=58', '71-58=13'] Exploring Operation: 62+13=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 62-13=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 62*13=806, Resulting Numbers: [806] 806,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[58, 9], Operations: ['31+27=58', '71-62=9'] Exploring Operation: 58*9=522, Resulting Numbers: [522] 522,67 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[62, 31, 27, 71], Operations: [] Exploring Operation: 31+27=58, Resulting Numbers: [62, 71, 58] Generated Node #0,1: 67:[62, 71, 58] Operation: 31+27=58 Moving to Node #0,1 Current State: 67:[62, 71, 58], Operations: ['31+27=58'] Exploring Operation: 71-62=9, Resulting Numbers: [58, 9] Generated Node #0,1,0: 67:[58, 9] Operation: 71-62=9 Moving to Node #0,1,0 Current State: 67:[58, 9], Operations: ['31+27=58', '71-62=9'] Exploring Operation: 58+9=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 3, 91, 95, 63 ]
84
[ "63/3=21", "95-91=4", "21*4=84" ]
Current State: 84:[3, 91, 95, 63], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [91, 95, 21] Generated Node #2: [91, 95, 21] from Operation: 63/3=21 Current State: 84:[91, 95, 21], Operations: ['63/3=21'] Exploring Operation: 95-91=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 95-91=4 Current State: 84:[21, 4], Operations: ['63/3=21', '95-91=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[3, 91, 95, 63], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [3, 63, 4] Generated Node #0,0: 84:[3, 63, 4] Operation: 95-91=4 Exploring Operation: 91-63=28, Resulting Numbers: [3, 95, 28] Generated Node #0,1: 84:[3, 95, 28] Operation: 91-63=28 Exploring Operation: 95-63=32, Resulting Numbers: [3, 91, 32] Generated Node #0,2: 84:[3, 91, 32] Operation: 95-63=32 Exploring Operation: 63/3=21, Resulting Numbers: [91, 95, 21] Generated Node #0,3: 84:[91, 95, 21] Operation: 63/3=21 Moving to Node #0,1 Current State: 84:[3, 95, 28], Operations: ['91-63=28'] Exploring Operation: 3+28=31, Resulting Numbers: [95, 31] Generated Node #0,1,0: 84:[95, 31] Operation: 3+28=31 Exploring Operation: 3*28=84, Resulting Numbers: [95, 84] Generated Node #0,1,1: 84:[95, 84] Operation: 3*28=84 Exploring Operation: 3+95=98, Resulting Numbers: [28, 98] Generated Node #0,1,2: 84:[28, 98] Operation: 3+95=98 Exploring Operation: 95-3=92, Resulting Numbers: [28, 92] Generated Node #0,1,3: 84:[28, 92] Operation: 95-3=92 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 84:[28, 92], Operations: ['91-63=28', '95-3=92'] Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,84 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,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,1,1 Current State: 84:[95, 84], Operations: ['91-63=28', '3*28=84'] Exploring Operation: 95*84=7980, Resulting Numbers: [7980] 7980,84 unequal: No Solution Exploring Operation: 95+84=179, Resulting Numbers: [179] 179,84 unequal: No Solution Exploring Operation: 95-84=11, Resulting Numbers: [11] 11,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,1,0 Current State: 84:[95, 31], Operations: ['91-63=28', '3+28=31'] Exploring Operation: 95+31=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 95*31=2945, Resulting Numbers: [2945] 2945,84 unequal: No Solution Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,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,1,2 Current State: 84:[28, 98], Operations: ['91-63=28', '3+95=98'] Exploring Operation: 28*98=2744, Resulting Numbers: [2744] 2744,84 unequal: No Solution Exploring Operation: 98-28=70, Resulting Numbers: [70] 70,84 unequal: No Solution Exploring Operation: 28+98=126, Resulting Numbers: [126] 126,84 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: 84:[3, 91, 32], Operations: ['95-63=32'] Exploring Operation: 3+91=94, Resulting Numbers: [32, 94] Generated Node #0,2,0: 84:[32, 94] Operation: 3+91=94 Exploring Operation: 91-3=88, Resulting Numbers: [32, 88] Generated Node #0,2,1: 84:[32, 88] Operation: 91-3=88 Exploring Operation: 3+32=35, Resulting Numbers: [91, 35] Generated Node #0,2,2: 84:[91, 35] Operation: 3+32=35 Exploring Operation: 32-3=29, Resulting Numbers: [91, 29] Generated Node #0,2,3: 84:[91, 29] Operation: 32-3=29 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[32, 88], Operations: ['95-63=32', '91-3=88'] Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 32*88=2816, Resulting Numbers: [2816] 2816,84 unequal: No Solution Exploring Operation: 32+88=120, Resulting Numbers: [120] 120,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[91, 29], Operations: ['95-63=32', '32-3=29'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 91*29=2639, Resulting Numbers: [2639] 2639,84 unequal: No Solution Exploring Operation: 91+29=120, Resulting Numbers: [120] 120,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[32, 94], Operations: ['95-63=32', '3+91=94'] Exploring Operation: 32+94=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 32*94=3008, Resulting Numbers: [3008] 3008,84 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[91, 35], Operations: ['95-63=32', '3+32=35'] Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,84 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,84 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: 84:[91, 95, 21], Operations: ['63/3=21'] Exploring Operation: 95-21=74, Resulting Numbers: [91, 74] Generated Node #0,3,0: 84:[91, 74] Operation: 95-21=74 Exploring Operation: 91+21=112, Resulting Numbers: [95, 112] Generated Node #0,3,1: 84:[95, 112] Operation: 91+21=112 Exploring Operation: 91-21=70, Resulting Numbers: [95, 70] Generated Node #0,3,2: 84:[95, 70] Operation: 91-21=70 Exploring Operation: 95-91=4, Resulting Numbers: [21, 4] Generated Node #0,3,3: 84:[21, 4] Operation: 95-91=4 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[21, 4], Operations: ['63/3=21', '95-91=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[3, 91, 95, 63], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [91, 95, 21] Generated Node #0,3: 84:[91, 95, 21] Operation: 63/3=21 Moving to Node #0,3 Current State: 84:[91, 95, 21], Operations: ['63/3=21'] Exploring Operation: 95-91=4, Resulting Numbers: [21, 4] Generated Node #0,3,3: 84:[21, 4] Operation: 95-91=4 Moving to Node #0,3,3 Current State: 84:[21, 4], Operations: ['63/3=21', '95-91=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 42, 79, 62, 92 ]
67
[ "79-42=37", "92-62=30", "37+30=67" ]
Current State: 67:[42, 79, 62, 92], Operations: [] Exploring Operation: 79-42=37, Resulting Numbers: [62, 92, 37] Generated Node #2: [62, 92, 37] from Operation: 79-42=37 Current State: 67:[62, 92, 37], Operations: ['79-42=37'] Exploring Operation: 92-62=30, Resulting Numbers: [37, 30] Generated Node #3: [37, 30] from Operation: 92-62=30 Current State: 67:[37, 30], Operations: ['79-42=37', '92-62=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[42, 79, 62, 92], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [79, 62, 50] Generated Node #0,0: 67:[79, 62, 50] Operation: 92-42=50 Exploring Operation: 42+79=121, Resulting Numbers: [62, 92, 121] Generated Node #0,1: 67:[62, 92, 121] Operation: 42+79=121 Exploring Operation: 42+62=104, Resulting Numbers: [79, 92, 104] Generated Node #0,2: 67:[79, 92, 104] Operation: 42+62=104 Exploring Operation: 79-42=37, Resulting Numbers: [62, 92, 37] Generated Node #0,3: 67:[62, 92, 37] Operation: 79-42=37 Exploring Operation: 92-62=30, Resulting Numbers: [42, 79, 30] Generated Node #0,4: 67:[42, 79, 30] Operation: 92-62=30 Moving to Node #0,0 Current State: 67:[79, 62, 50], Operations: ['92-42=50'] Exploring Operation: 62-50=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 67:[79, 12] Operation: 62-50=12 Exploring Operation: 62+50=112, Resulting Numbers: [79, 112] Generated Node #0,0,1: 67:[79, 112] Operation: 62+50=112 Exploring Operation: 79+50=129, Resulting Numbers: [62, 129] Generated Node #0,0,2: 67:[62, 129] Operation: 79+50=129 Exploring Operation: 79-62=17, Resulting Numbers: [50, 17] Generated Node #0,0,3: 67:[50, 17] Operation: 79-62=17 Exploring Operation: 79-50=29, Resulting Numbers: [62, 29] Generated Node #0,0,4: 67:[62, 29] Operation: 79-50=29 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 67:[62, 29], Operations: ['92-42=50', '79-50=29'] Exploring Operation: 62-29=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 62+29=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 62*29=1798, Resulting Numbers: [1798] 1798,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:[79, 112], Operations: ['92-42=50', '62+50=112'] Exploring Operation: 112-79=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 79+112=191, Resulting Numbers: [191] 191,67 unequal: No Solution Exploring Operation: 79*112=8848, Resulting Numbers: [8848] 8848,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:[79, 12], Operations: ['92-42=50', '62-50=12'] Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,67 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,67 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[42, 79, 62, 92], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [79, 62, 50] Generated Node #0,0: 67:[79, 62, 50] Operation: 92-42=50 Moving to Node #0,0 Current State: 67:[79, 62, 50], Operations: ['92-42=50'] Exploring Operation: 62-50=12, Resulting Numbers: [79, 12] Generated Node #0,0,0: 67:[79, 12] Operation: 62-50=12 Moving to Node #0,0,0 Current State: 67:[79, 12], Operations: ['92-42=50', '62-50=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 49, 32, 29, 80 ]
29
[ "49+32=81", "81-80=1", "29*1=29" ]
Current State: 29:[49, 32, 29, 80], Operations: [] Exploring Operation: 49+32=81, Resulting Numbers: [29, 80, 81] Generated Node #2: [29, 80, 81] from Operation: 49+32=81 Current State: 29:[29, 80, 81], Operations: ['49+32=81'] Exploring Operation: 81-80=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 81-80=1 Current State: 29:[29, 1], Operations: ['49+32=81', '81-80=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[49, 32, 29, 80], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [49, 32, 51] Generated Node #0,0: 29:[49, 32, 51] Operation: 80-29=51 Exploring Operation: 49-32=17, Resulting Numbers: [29, 80, 17] Generated Node #0,1: 29:[29, 80, 17] Operation: 49-32=17 Exploring Operation: 80-49=31, Resulting Numbers: [32, 29, 31] Generated Node #0,2: 29:[32, 29, 31] Operation: 80-49=31 Exploring Operation: 80-32=48, Resulting Numbers: [49, 29, 48] Generated Node #0,3: 29:[49, 29, 48] Operation: 80-32=48 Exploring Operation: 49-29=20, Resulting Numbers: [32, 80, 20] Generated Node #0,4: 29:[32, 80, 20] Operation: 49-29=20 Moving to Node #0,2 Current State: 29:[32, 29, 31], Operations: ['80-49=31'] Exploring Operation: 32+31=63, Resulting Numbers: [29, 63] Generated Node #0,2,0: 29:[29, 63] Operation: 32+31=63 Exploring Operation: 32-29=3, Resulting Numbers: [31, 3] Generated Node #0,2,1: 29:[31, 3] Operation: 32-29=3 Exploring Operation: 31-29=2, Resulting Numbers: [32, 2] Generated Node #0,2,2: 29:[32, 2] Operation: 31-29=2 Exploring Operation: 32-31=1, Resulting Numbers: [29, 1] Generated Node #0,2,3: 29:[29, 1] Operation: 32-31=1 Exploring Operation: 32+29=61, Resulting Numbers: [31, 61] Generated Node #0,2,4: 29:[31, 61] Operation: 32+29=61 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[31, 3], Operations: ['80-49=31', '32-29=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,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,2,3 Current State: 29:[29, 1], Operations: ['80-49=31', '32-31=1'] Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[49, 32, 29, 80], Operations: [] Exploring Operation: 80-49=31, Resulting Numbers: [32, 29, 31] Generated Node #0,2: 29:[32, 29, 31] Operation: 80-49=31 Moving to Node #0,2 Current State: 29:[32, 29, 31], Operations: ['80-49=31'] Exploring Operation: 32-31=1, Resulting Numbers: [29, 1] Generated Node #0,2,3: 29:[29, 1] Operation: 32-31=1 Moving to Node #0,2,3 Current State: 29:[29, 1], Operations: ['80-49=31', '32-31=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 79, 12, 63, 33 ]
82
[ "33-12=21", "63/21=3", "79+3=82" ]
Current State: 82:[79, 12, 63, 33], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [79, 63, 21] Generated Node #2: [79, 63, 21] from Operation: 33-12=21 Current State: 82:[79, 63, 21], Operations: ['33-12=21'] Exploring Operation: 63/21=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 63/21=3 Current State: 82:[79, 3], Operations: ['33-12=21', '63/21=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[79, 12, 63, 33], Operations: [] Exploring Operation: 12+33=45, Resulting Numbers: [79, 63, 45] Generated Node #0,0: 82:[79, 63, 45] Operation: 12+33=45 Exploring Operation: 63-33=30, Resulting Numbers: [79, 12, 30] Generated Node #0,1: 82:[79, 12, 30] Operation: 63-33=30 Exploring Operation: 63-12=51, Resulting Numbers: [79, 33, 51] Generated Node #0,2: 82:[79, 33, 51] Operation: 63-12=51 Exploring Operation: 12+63=75, Resulting Numbers: [79, 33, 75] Generated Node #0,3: 82:[79, 33, 75] Operation: 12+63=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[79, 33, 75], Operations: ['12+63=75'] Exploring Operation: 79-75=4, Resulting Numbers: [33, 4] Generated Node #0,3,0: 82:[33, 4] Operation: 79-75=4 Exploring Operation: 79-33=46, Resulting Numbers: [75, 46] Generated Node #0,3,1: 82:[75, 46] Operation: 79-33=46 Exploring Operation: 33+75=108, Resulting Numbers: [79, 108] Generated Node #0,3,2: 82:[79, 108] Operation: 33+75=108 Exploring Operation: 75-33=42, Resulting Numbers: [79, 42] Generated Node #0,3,3: 82:[79, 42] Operation: 75-33=42 Moving to Node #0,3,3 Current State: 82:[79, 42], Operations: ['12+63=75', '75-33=42'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 79+42=121, Resulting Numbers: [121] 121,82 unequal: No Solution Exploring Operation: 79*42=3318, Resulting Numbers: [3318] 3318,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[33, 4], Operations: ['12+63=75', '79-75=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[75, 46], Operations: ['12+63=75', '79-33=46'] Exploring Operation: 75-46=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 75+46=121, Resulting Numbers: [121] 121,82 unequal: No Solution Exploring Operation: 75*46=3450, Resulting Numbers: [3450] 3450,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[79, 108], Operations: ['12+63=75', '33+75=108'] Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,82 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[79, 33, 51], Operations: ['63-12=51'] Exploring Operation: 51-33=18, Resulting Numbers: [79, 18] Generated Node #0,2,0: 82:[79, 18] Operation: 51-33=18 Exploring Operation: 79-51=28, Resulting Numbers: [33, 28] Generated Node #0,2,1: 82:[33, 28] Operation: 79-51=28 Exploring Operation: 79-33=46, Resulting Numbers: [51, 46] Generated Node #0,2,2: 82:[51, 46] Operation: 79-33=46 Exploring Operation: 33+51=84, Resulting Numbers: [79, 84] Generated Node #0,2,3: 82:[79, 84] Operation: 33+51=84 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 82:[79, 84], Operations: ['63-12=51', '33+51=84'] Exploring Operation: 79+84=163, Resulting Numbers: [163] 163,82 unequal: No Solution Exploring Operation: 79*84=6636, Resulting Numbers: [6636] 6636,82 unequal: No Solution Exploring Operation: 84-79=5, Resulting Numbers: [5] 5,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[51, 46], Operations: ['63-12=51', '79-33=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[79, 18], Operations: ['63-12=51', '51-33=18'] Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,82 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 82:[33, 28], Operations: ['63-12=51', '79-51=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,82 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,82 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[79, 12, 30], Operations: ['63-33=30'] Exploring Operation: 30-12=18, Resulting Numbers: [79, 18] Generated Node #0,1,0: 82:[79, 18] Operation: 30-12=18 Exploring Operation: 12+30=42, Resulting Numbers: [79, 42] Generated Node #0,1,1: 82:[79, 42] Operation: 12+30=42 Exploring Operation: 79+12=91, Resulting Numbers: [30, 91] Generated Node #0,1,2: 82:[30, 91] Operation: 79+12=91 Exploring Operation: 79-30=49, Resulting Numbers: [12, 49] Generated Node #0,1,3: 82:[12, 49] Operation: 79-30=49 Moving to Node #0,1,1 Current State: 82:[79, 42], Operations: ['63-33=30', '12+30=42'] Exploring Operation: 79-42=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 79*42=3318, Resulting Numbers: [3318] 3318,82 unequal: No Solution Exploring Operation: 79+42=121, Resulting Numbers: [121] 121,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[12, 49], Operations: ['63-33=30', '79-30=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,82 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[79, 18], Operations: ['63-33=30', '30-12=18'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,82 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[30, 91], Operations: ['63-33=30', '79+12=91'] Exploring Operation: 30*91=2730, Resulting Numbers: [2730] 2730,82 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 30+91=121, Resulting Numbers: [121] 121,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[79, 63, 45], Operations: ['12+33=45'] Exploring Operation: 79-63=16, Resulting Numbers: [45, 16] Generated Node #0,0,0: 82:[45, 16] Operation: 79-63=16 Exploring Operation: 79-45=34, Resulting Numbers: [63, 34] Generated Node #0,0,1: 82:[63, 34] Operation: 79-45=34 Exploring Operation: 63+45=108, Resulting Numbers: [79, 108] Generated Node #0,0,2: 82:[79, 108] Operation: 63+45=108 Exploring Operation: 63-45=18, Resulting Numbers: [79, 18] Generated Node #0,0,3: 82:[79, 18] Operation: 63-45=18 Moving to Node #0,0,0 Current State: 82:[45, 16], Operations: ['12+33=45', '79-63=16'] Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,82 unequal: No Solution Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[79, 18], Operations: ['12+33=45', '63-45=18'] Exploring Operation: 79-18=61, Resulting Numbers: [61] 61,82 unequal: No Solution Exploring Operation: 79*18=1422, Resulting Numbers: [1422] 1422,82 unequal: No Solution Exploring Operation: 79+18=97, Resulting Numbers: [97] 97,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[63, 34], Operations: ['12+33=45', '79-45=34'] Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,82 unequal: No Solution Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[79, 108], Operations: ['12+33=45', '63+45=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 79+108=187, Resulting Numbers: [187] 187,82 unequal: No Solution Exploring Operation: 79*108=8532, Resulting Numbers: [8532] 8532,82 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
[ 95, 19, 23, 26 ]
66
[ "26-19=7", "23*7=161", "161-95=66" ]
Current State: 66:[95, 19, 23, 26], Operations: [] Exploring Operation: 26-19=7, Resulting Numbers: [95, 23, 7] Generated Node #2: [95, 23, 7] from Operation: 26-19=7 Current State: 66:[95, 23, 7], Operations: ['26-19=7'] Exploring Operation: 23*7=161, Resulting Numbers: [95, 161] Generated Node #3: [95, 161] from Operation: 23*7=161 Current State: 66:[95, 161], Operations: ['26-19=7', '23*7=161'] Exploring Operation: 161-95=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[95, 19, 23, 26], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [23, 26, 5] Generated Node #0,0: 66:[23, 26, 5] Operation: 95/19=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[23, 26, 5], Operations: ['95/19=5'] Exploring Operation: 26-23=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 66:[5, 3] Operation: 26-23=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[5, 3], Operations: ['95/19=5', '26-23=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 59, 7, 91, 31 ]
17
[ "59+91=150", "150-31=119", "119/7=17" ]
Current State: 17:[59, 7, 91, 31], Operations: [] Exploring Operation: 59+91=150, Resulting Numbers: [7, 31, 150] Generated Node #2: [7, 31, 150] from Operation: 59+91=150 Current State: 17:[7, 31, 150], Operations: ['59+91=150'] Exploring Operation: 150-31=119, Resulting Numbers: [7, 119] Generated Node #3: [7, 119] from Operation: 150-31=119 Current State: 17:[7, 119], Operations: ['59+91=150', '150-31=119'] Exploring Operation: 119/7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[59, 7, 91, 31], Operations: [] Exploring Operation: 91-31=60, Resulting Numbers: [59, 7, 60] Generated Node #0,0: 17:[59, 7, 60] Operation: 91-31=60 Exploring Operation: 91/7=13, Resulting Numbers: [59, 31, 13] Generated Node #0,1: 17:[59, 31, 13] Operation: 91/7=13 Exploring Operation: 59-31=28, Resulting Numbers: [7, 91, 28] Generated Node #0,2: 17:[7, 91, 28] Operation: 59-31=28 Exploring Operation: 91-59=32, Resulting Numbers: [7, 31, 32] Generated Node #0,3: 17:[7, 31, 32] Operation: 91-59=32 Moving to Node #0,3 Current State: 17:[7, 31, 32], Operations: ['91-59=32'] Exploring Operation: 32-31=1, Resulting Numbers: [7, 1] Generated Node #0,3,0: 17:[7, 1] Operation: 32-31=1 Exploring Operation: 32-7=25, Resulting Numbers: [31, 25] Generated Node #0,3,1: 17:[31, 25] Operation: 32-7=25 Exploring Operation: 7+31=38, Resulting Numbers: [32, 38] Generated Node #0,3,2: 17:[32, 38] Operation: 7+31=38 Exploring Operation: 31-7=24, Resulting Numbers: [32, 24] Generated Node #0,3,3: 17:[32, 24] Operation: 31-7=24 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[31, 25], Operations: ['91-59=32', '32-7=25'] Exploring Operation: 31*25=775, Resulting Numbers: [775] 775,17 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,17 unequal: No Solution No 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: 17:[32, 24], Operations: ['91-59=32', '31-7=24'] Exploring Operation: 32-24=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 32+24=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 32*24=768, Resulting Numbers: [768] 768,17 unequal: No Solution No 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: 17:[7, 1], Operations: ['91-59=32', '32-31=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,17 unequal: No Solution No 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: 17:[32, 38], Operations: ['91-59=32', '7+31=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 32*38=1216, Resulting Numbers: [1216] 1216,17 unequal: No Solution Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,17 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: 17:[59, 31, 13], Operations: ['91/7=13'] Exploring Operation: 31-13=18, Resulting Numbers: [59, 18] Generated Node #0,1,0: 17:[59, 18] Operation: 31-13=18 Exploring Operation: 59+13=72, Resulting Numbers: [31, 72] Generated Node #0,1,1: 17:[31, 72] Operation: 59+13=72 Exploring Operation: 59-13=46, Resulting Numbers: [31, 46] Generated Node #0,1,2: 17:[31, 46] Operation: 59-13=46 Exploring Operation: 59-31=28, Resulting Numbers: [13, 28] Generated Node #0,1,3: 17:[13, 28] Operation: 59-31=28 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[13, 28], Operations: ['91/7=13', '59-31=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,17 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,17 unequal: No Solution No 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: 17:[59, 18], Operations: ['91/7=13', '31-13=18'] Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,17 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,17 unequal: No Solution No 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: 17:[31, 46], Operations: ['91/7=13', '59-13=46'] Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,17 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,17 unequal: No Solution No 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: 17:[31, 72], Operations: ['91/7=13', '59+13=72'] Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 31+72=103, Resulting Numbers: [103] 103,17 unequal: No Solution Exploring Operation: 31*72=2232, Resulting Numbers: [2232] 2232,17 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: 17:[7, 91, 28], Operations: ['59-31=28'] Exploring Operation: 91-7=84, Resulting Numbers: [28, 84] Generated Node #0,2,0: 17:[28, 84] Operation: 91-7=84 Exploring Operation: 91/7=13, Resulting Numbers: [28, 13] Generated Node #0,2,1: 17:[28, 13] Operation: 91/7=13 Exploring Operation: 28-7=21, Resulting Numbers: [91, 21] Generated Node #0,2,2: 17:[91, 21] Operation: 28-7=21 Exploring Operation: 91-28=63, Resulting Numbers: [7, 63] Generated Node #0,2,3: 17:[7, 63] Operation: 91-28=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[28, 13], Operations: ['59-31=28', '91/7=13'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,17 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,17 unequal: No Solution No 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: 17:[7, 63], Operations: ['59-31=28', '91-28=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,17 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,17 unequal: No Solution No 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: 17:[28, 84], Operations: ['59-31=28', '91-7=84'] Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,17 unequal: No Solution Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,17 unequal: No Solution No 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: 17:[91, 21], Operations: ['59-31=28', '28-7=21'] Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,17 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: 17:[59, 7, 60], Operations: ['91-31=60'] Exploring Operation: 60-59=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 17:[7, 1] Operation: 60-59=1 Exploring Operation: 59+7=66, Resulting Numbers: [60, 66] Generated Node #0,0,1: 17:[60, 66] Operation: 59+7=66 Exploring Operation: 59-7=52, Resulting Numbers: [60, 52] Generated Node #0,0,2: 17:[60, 52] Operation: 59-7=52 Exploring Operation: 60-7=53, Resulting Numbers: [59, 53] Generated Node #0,0,3: 17:[59, 53] Operation: 60-7=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[7, 1], Operations: ['91-31=60', '60-59=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,17 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,17 unequal: No Solution No 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: 17:[60, 52], Operations: ['91-31=60', '59-7=52'] Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,17 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,17 unequal: No Solution No 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: 17:[59, 53], Operations: ['91-31=60', '60-7=53'] Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 59*53=3127, Resulting Numbers: [3127] 3127,17 unequal: No Solution Exploring Operation: 59+53=112, Resulting Numbers: [112] 112,17 unequal: No Solution No 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: 17:[60, 66], Operations: ['91-31=60', '59+7=66'] Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,17 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,17 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
[ 4, 26, 79, 42 ]
49
[ "26*79=2054", "4+2054=2058", "2058/42=49" ]
Current State: 49:[4, 26, 79, 42], Operations: [] Exploring Operation: 26*79=2054, Resulting Numbers: [4, 42, 2054] Generated Node #2: [4, 42, 2054] from Operation: 26*79=2054 Current State: 49:[4, 42, 2054], Operations: ['26*79=2054'] Exploring Operation: 4+2054=2058, Resulting Numbers: [42, 2058] Generated Node #3: [42, 2058] from Operation: 4+2054=2058 Current State: 49:[42, 2058], Operations: ['26*79=2054', '4+2054=2058'] Exploring Operation: 2058/42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[4, 26, 79, 42], Operations: [] Exploring Operation: 79-26=53, Resulting Numbers: [4, 42, 53] Generated Node #0,0: 49:[4, 42, 53] Operation: 79-26=53 Exploring Operation: 42-26=16, Resulting Numbers: [4, 79, 16] Generated Node #0,1: 49:[4, 79, 16] Operation: 42-26=16 Exploring Operation: 79-42=37, Resulting Numbers: [4, 26, 37] Generated Node #0,2: 49:[4, 26, 37] Operation: 79-42=37 Moving to Node #0,0 Current State: 49:[4, 42, 53], Operations: ['79-26=53'] Exploring Operation: 4+42=46, Resulting Numbers: [53, 46] Generated Node #0,0,0: 49:[53, 46] Operation: 4+42=46 Exploring Operation: 53-42=11, Resulting Numbers: [4, 11] Generated Node #0,0,1: 49:[4, 11] Operation: 53-42=11 Exploring Operation: 53-4=49, Resulting Numbers: [42, 49] Generated Node #0,0,2: 49:[42, 49] Operation: 53-4=49 Moving to Node #0,2 Current State: 49:[4, 26, 37], Operations: ['79-42=37'] Exploring Operation: 26-4=22, Resulting Numbers: [37, 22] Generated Node #0,2,0: 49:[37, 22] Operation: 26-4=22 Exploring Operation: 26+37=63, Resulting Numbers: [4, 63] Generated Node #0,2,1: 49:[4, 63] Operation: 26+37=63 Exploring Operation: 37-26=11, Resulting Numbers: [4, 11] Generated Node #0,2,2: 49:[4, 11] Operation: 37-26=11 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[4, 11], Operations: ['79-42=37', '37-26=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[4, 63], Operations: ['79-42=37', '26+37=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[37, 22], Operations: ['79-42=37', '26-4=22'] Exploring Operation: 37-22=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 37*22=814, Resulting Numbers: [814] 814,49 unequal: No Solution Exploring Operation: 37+22=59, Resulting Numbers: [59] 59,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 49:[4, 79, 16], Operations: ['42-26=16'] Exploring Operation: 79-16=63, Resulting Numbers: [4, 63] Generated Node #0,1,0: 49:[4, 63] Operation: 79-16=63 Exploring Operation: 16/4=4, Resulting Numbers: [79, 4] Generated Node #0,1,1: 49:[79, 4] Operation: 16/4=4 Exploring Operation: 79-4=75, Resulting Numbers: [16, 75] Generated Node #0,1,2: 49:[16, 75] Operation: 79-4=75 Moving to Node #0,0,0 Current State: 49:[53, 46], Operations: ['79-26=53', '4+42=46'] Exploring Operation: 53-46=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 53+46=99, Resulting Numbers: [99] 99,49 unequal: No Solution Exploring Operation: 53*46=2438, Resulting Numbers: [2438] 2438,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[42, 49], Operations: ['79-26=53', '53-4=49'] Exploring Operation: 42*49=2058, Resulting Numbers: [2058] 2058,49 unequal: No Solution Exploring Operation: 42+49=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[4, 11], Operations: ['79-26=53', '53-42=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[4, 63], Operations: ['42-26=16', '79-16=63'] Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[79, 4], Operations: ['42-26=16', '16/4=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[16, 75], Operations: ['42-26=16', '79-4=75'] Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,49 unequal: No Solution Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 38, 71, 7, 8 ]
18
[ "71-38=33", "7+8=15", "33-15=18" ]
Current State: 18:[38, 71, 7, 8], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [7, 8, 33] Generated Node #2: [7, 8, 33] from Operation: 71-38=33 Current State: 18:[7, 8, 33], Operations: ['71-38=33'] Exploring Operation: 7+8=15, Resulting Numbers: [33, 15] Generated Node #3: [33, 15] from Operation: 7+8=15 Current State: 18:[33, 15], Operations: ['71-38=33', '7+8=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[38, 71, 7, 8], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [7, 8, 33] Generated Node #0,0: 18:[7, 8, 33] Operation: 71-38=33 Moving to Node #0,0 Current State: 18:[7, 8, 33], Operations: ['71-38=33'] Exploring Operation: 33-8=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 18:[7, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[7, 25], Operations: ['71-38=33', '33-8=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[38, 71, 7, 8], Operations: [] Exploring Operation: 71-38=33, Resulting Numbers: [7, 8, 33] Generated Node #0,0: 18:[7, 8, 33] Operation: 71-38=33 Moving to Node #0,0 Current State: 18:[7, 8, 33], Operations: ['71-38=33'] Exploring Operation: 33-8=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 18:[7, 25] Operation: 33-8=25 Moving to Node #0,0,0 Current State: 18:[7, 25], Operations: ['71-38=33', '33-8=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 13, 31, 16, 25 ]
44
[ "16-13=3", "25*3=75", "75-31=44" ]
Current State: 44:[13, 31, 16, 25], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [31, 25, 3] Generated Node #2: [31, 25, 3] from Operation: 16-13=3 Current State: 44:[31, 25, 3], Operations: ['16-13=3'] Exploring Operation: 25*3=75, Resulting Numbers: [31, 75] Generated Node #3: [31, 75] from Operation: 25*3=75 Current State: 44:[31, 75], Operations: ['16-13=3', '25*3=75'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 31, 16, 25], Operations: [] Exploring Operation: 13+31=44, Resulting Numbers: [16, 25, 44] Generated Node #0,0: 44:[16, 25, 44] Operation: 13+31=44 Exploring Operation: 31+16=47, Resulting Numbers: [13, 25, 47] Generated Node #0,1: 44:[13, 25, 47] Operation: 31+16=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[16, 25, 44], Operations: ['13+31=44'] Exploring Operation: 25-16=9, Resulting Numbers: [44, 9] Generated Node #0,0,0: 44:[44, 9] Operation: 25-16=9 Exploring Operation: 16+25=41, Resulting Numbers: [44, 41] Generated Node #0,0,1: 44:[44, 41] Operation: 16+25=41 Moving to Node #0,0,0 Current State: 44:[44, 9], Operations: ['13+31=44', '25-16=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,44 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[44, 41], Operations: ['13+31=44', '16+25=41'] Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,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:[13, 25, 47], Operations: ['31+16=47'] Exploring Operation: 47-25=22, Resulting Numbers: [13, 22] Generated Node #0,1,0: 44:[13, 22] Operation: 47-25=22 Exploring Operation: 25-13=12, Resulting Numbers: [47, 12] Generated Node #0,1,1: 44:[47, 12] Operation: 25-13=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[13, 22], Operations: ['31+16=47', '47-25=22'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,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,1,1 Current State: 44:[47, 12], Operations: ['31+16=47', '25-13=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,44 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,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 No solution found.
0
hs_2
sum_heuristic
[ 5, 36, 21, 43 ]
56
[ "43-36=7", "5*7=35", "21+35=56" ]
Current State: 56:[5, 36, 21, 43], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [5, 21, 7] Generated Node #2: [5, 21, 7] from Operation: 43-36=7 Current State: 56:[5, 21, 7], Operations: ['43-36=7'] Exploring Operation: 5*7=35, Resulting Numbers: [21, 35] Generated Node #3: [21, 35] from Operation: 5*7=35 Current State: 56:[21, 35], Operations: ['43-36=7', '5*7=35'] Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[5, 36, 21, 43], Operations: [] Exploring Operation: 36+21=57, Resulting Numbers: [5, 43, 57] Generated Node #0,0: 56:[5, 43, 57] Operation: 36+21=57 Exploring Operation: 43-36=7, Resulting Numbers: [5, 21, 7] Generated Node #0,1: 56:[5, 21, 7] Operation: 43-36=7 Exploring Operation: 36-21=15, Resulting Numbers: [5, 43, 15] Generated Node #0,2: 56:[5, 43, 15] Operation: 36-21=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[5, 21, 7], Operations: ['43-36=7'] Exploring Operation: 21+7=28, Resulting Numbers: [5, 28] Generated Node #0,1,0: 56:[5, 28] Operation: 21+7=28 Exploring Operation: 21-7=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 56:[5, 14] Operation: 21-7=14 Exploring Operation: 5+21=26, Resulting Numbers: [7, 26] Generated Node #0,1,2: 56:[7, 26] Operation: 5+21=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[5, 28], Operations: ['43-36=7', '21+7=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[5, 14], Operations: ['43-36=7', '21-7=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[7, 26], Operations: ['43-36=7', '5+21=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,56 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[5, 43, 57], Operations: ['36+21=57'] Exploring Operation: 5+43=48, Resulting Numbers: [57, 48] Generated Node #0,0,0: 56:[57, 48] Operation: 5+43=48 Exploring Operation: 43-5=38, Resulting Numbers: [57, 38] Generated Node #0,0,1: 56:[57, 38] Operation: 43-5=38 Exploring Operation: 57-43=14, Resulting Numbers: [5, 14] Generated Node #0,0,2: 56:[5, 14] Operation: 57-43=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[5, 14], Operations: ['36+21=57', '57-43=14'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[57, 48], Operations: ['36+21=57', '5+43=48'] Exploring Operation: 57*48=2736, Resulting Numbers: [2736] 2736,56 unequal: No Solution Exploring Operation: 57+48=105, Resulting Numbers: [105] 105,56 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[57, 38], Operations: ['36+21=57', '43-5=38'] Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 57+38=95, Resulting Numbers: [95] 95,56 unequal: No Solution Exploring Operation: 57*38=2166, Resulting Numbers: [2166] 2166,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[5, 43, 15], Operations: ['36-21=15'] Exploring Operation: 43+15=58, Resulting Numbers: [5, 58] Generated Node #0,2,0: 56:[5, 58] Operation: 43+15=58 Exploring Operation: 43-15=28, Resulting Numbers: [5, 28] Generated Node #0,2,1: 56:[5, 28] Operation: 43-15=28 Exploring Operation: 5+43=48, Resulting Numbers: [15, 48] Generated Node #0,2,2: 56:[15, 48] Operation: 5+43=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[5, 28], Operations: ['36-21=15', '43-15=28'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[5, 58], Operations: ['36-21=15', '43+15=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,56 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[15, 48], Operations: ['36-21=15', '5+43=48'] Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,56 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,56 unequal: No Solution Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 32, 88, 7, 46 ]
86
[ "46-32=14", "14/7=2", "88-2=86" ]
Current State: 86:[32, 88, 7, 46], Operations: [] Exploring Operation: 46-32=14, Resulting Numbers: [88, 7, 14] Generated Node #2: [88, 7, 14] from Operation: 46-32=14 Current State: 86:[88, 7, 14], Operations: ['46-32=14'] Exploring Operation: 14/7=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 14/7=2 Current State: 86:[88, 2], Operations: ['46-32=14', '14/7=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[32, 88, 7, 46], Operations: [] Exploring Operation: 88-46=42, Resulting Numbers: [32, 7, 42] Generated Node #0,0: 86:[32, 7, 42] Operation: 88-46=42 Exploring Operation: 32+46=78, Resulting Numbers: [88, 7, 78] Generated Node #0,1: 86:[88, 7, 78] Operation: 32+46=78 Exploring Operation: 32+7=39, Resulting Numbers: [88, 46, 39] Generated Node #0,2: 86:[88, 46, 39] Operation: 32+7=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[88, 46, 39], Operations: ['32+7=39'] Exploring Operation: 46+39=85, Resulting Numbers: [88, 85] Generated Node #0,2,0: 86:[88, 85] Operation: 46+39=85 Exploring Operation: 46-39=7, Resulting Numbers: [88, 7] Generated Node #0,2,1: 86:[88, 7] Operation: 46-39=7 Exploring Operation: 88-46=42, Resulting Numbers: [39, 42] Generated Node #0,2,2: 86:[39, 42] Operation: 88-46=42 Moving to Node #0,2,0 Current State: 86:[88, 85], Operations: ['32+7=39', '46+39=85'] Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,86 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[39, 42], Operations: ['32+7=39', '88-46=42'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,86 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[88, 7], Operations: ['32+7=39', '46-39=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,86 unequal: No Solution Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,86 unequal: No Solution Exploring Operation: 88*7=616, Resulting Numbers: [616] 616,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[88, 7, 78], Operations: ['32+46=78'] Exploring Operation: 88-78=10, Resulting Numbers: [7, 10] Generated Node #0,1,0: 86:[7, 10] Operation: 88-78=10 Exploring Operation: 7+78=85, Resulting Numbers: [88, 85] Generated Node #0,1,1: 86:[88, 85] Operation: 7+78=85 Exploring Operation: 88-7=81, Resulting Numbers: [78, 81] Generated Node #0,1,2: 86:[78, 81] Operation: 88-7=81 Moving to Node #0,1,1 Current State: 86:[88, 85], Operations: ['32+46=78', '7+78=85'] Exploring Operation: 88+85=173, Resulting Numbers: [173] 173,86 unequal: No Solution Exploring Operation: 88*85=7480, Resulting Numbers: [7480] 7480,86 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[7, 10], Operations: ['32+46=78', '88-78=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,86 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[78, 81], Operations: ['32+46=78', '88-7=81'] Exploring Operation: 78*81=6318, Resulting Numbers: [6318] 6318,86 unequal: No Solution Exploring Operation: 78+81=159, Resulting Numbers: [159] 159,86 unequal: No Solution Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,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,0 Current State: 86:[32, 7, 42], Operations: ['88-46=42'] Exploring Operation: 32+7=39, Resulting Numbers: [42, 39] Generated Node #0,0,0: 86:[42, 39] Operation: 32+7=39 Exploring Operation: 42-32=10, Resulting Numbers: [7, 10] Generated Node #0,0,1: 86:[7, 10] Operation: 42-32=10 Exploring Operation: 42/7=6, Resulting Numbers: [32, 6] Generated Node #0,0,2: 86:[32, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 86:[42, 39], Operations: ['88-46=42', '32+7=39'] Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,86 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[7, 10], Operations: ['88-46=42', '42-32=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,86 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[32, 6], Operations: ['88-46=42', '42/7=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,86 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,86 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,86 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
[ 3, 71, 19, 41 ]
31
[ "71-19=52", "41+52=93", "93/3=31" ]
Current State: 31:[3, 71, 19, 41], Operations: [] Exploring Operation: 71-19=52, Resulting Numbers: [3, 41, 52] Generated Node #2: [3, 41, 52] from Operation: 71-19=52 Current State: 31:[3, 41, 52], Operations: ['71-19=52'] Exploring Operation: 41+52=93, Resulting Numbers: [3, 93] Generated Node #3: [3, 93] from Operation: 41+52=93 Current State: 31:[3, 93], Operations: ['71-19=52', '41+52=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[3, 71, 19, 41], Operations: [] Exploring Operation: 71-41=30, Resulting Numbers: [3, 19, 30] Generated Node #0,0: 31:[3, 19, 30] Operation: 71-41=30 Exploring Operation: 3+19=22, Resulting Numbers: [71, 41, 22] Generated Node #0,1: 31:[71, 41, 22] Operation: 3+19=22 Exploring Operation: 71-3=68, Resulting Numbers: [19, 41, 68] Generated Node #0,2: 31:[19, 41, 68] Operation: 71-3=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[3, 19, 30], Operations: ['71-41=30'] Exploring Operation: 3+19=22, Resulting Numbers: [30, 22] Generated Node #0,0,0: 31:[30, 22] Operation: 3+19=22 Exploring Operation: 19-3=16, Resulting Numbers: [30, 16] Generated Node #0,0,1: 31:[30, 16] Operation: 19-3=16 Exploring Operation: 3+30=33, Resulting Numbers: [19, 33] Generated Node #0,0,2: 31:[19, 33] Operation: 3+30=33 Moving to Node #0,0,0 Current State: 31:[30, 22], Operations: ['71-41=30', '3+19=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,31 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[19, 33], Operations: ['71-41=30', '3+30=33'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,31 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,31 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[30, 16], Operations: ['71-41=30', '19-3=16'] Exploring Operation: 30*16=480, Resulting Numbers: [480] 480,31 unequal: No Solution Exploring Operation: 30+16=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,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 Current State: 31:[71, 41, 22], Operations: ['3+19=22'] Exploring Operation: 41-22=19, Resulting Numbers: [71, 19] Generated Node #0,1,0: 31:[71, 19] Operation: 41-22=19 Exploring Operation: 71-22=49, Resulting Numbers: [41, 49] Generated Node #0,1,1: 31:[41, 49] Operation: 71-22=49 Exploring Operation: 71-41=30, Resulting Numbers: [22, 30] Generated Node #0,1,2: 31:[22, 30] Operation: 71-41=30 Moving to Node #0,1,2 Current State: 31:[22, 30], Operations: ['3+19=22', '71-41=30'] Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,31 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,31 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[41, 49], Operations: ['3+19=22', '71-22=49'] Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[71, 19], Operations: ['3+19=22', '41-22=19'] Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 71*19=1349, Resulting Numbers: [1349] 1349,31 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[19, 41, 68], Operations: ['71-3=68'] Exploring Operation: 68-41=27, Resulting Numbers: [19, 27] Generated Node #0,2,0: 31:[19, 27] Operation: 68-41=27 Exploring Operation: 41-19=22, Resulting Numbers: [68, 22] Generated Node #0,2,1: 31:[68, 22] Operation: 41-19=22 Exploring Operation: 68-19=49, Resulting Numbers: [41, 49] Generated Node #0,2,2: 31:[41, 49] Operation: 68-19=49 Moving to Node #0,2,0 Current State: 31:[19, 27], Operations: ['71-3=68', '68-41=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,31 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[41, 49], Operations: ['71-3=68', '68-19=49'] Exploring Operation: 41+49=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 41*49=2009, Resulting Numbers: [2009] 2009,31 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[68, 22], Operations: ['71-3=68', '41-19=22'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 9, 87, 74, 59 ]
58
[ "87-74=13", "9*13=117", "117-59=58" ]
Current State: 58:[9, 87, 74, 59], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [9, 59, 13] Generated Node #2: [9, 59, 13] from Operation: 87-74=13 Current State: 58:[9, 59, 13], Operations: ['87-74=13'] Exploring Operation: 9*13=117, Resulting Numbers: [59, 117] Generated Node #3: [59, 117] from Operation: 9*13=117 Current State: 58:[59, 117], Operations: ['87-74=13', '9*13=117'] Exploring Operation: 117-59=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[9, 87, 74, 59], Operations: [] Exploring Operation: 87-9=78, Resulting Numbers: [74, 59, 78] Generated Node #0,0: 58:[74, 59, 78] Operation: 87-9=78 Exploring Operation: 87-59=28, Resulting Numbers: [9, 74, 28] Generated Node #0,1: 58:[9, 74, 28] Operation: 87-59=28 Exploring Operation: 87-74=13, Resulting Numbers: [9, 59, 13] Generated Node #0,2: 58:[9, 59, 13] Operation: 87-74=13 Exploring Operation: 74-9=65, Resulting Numbers: [87, 59, 65] Generated Node #0,3: 58:[87, 59, 65] Operation: 74-9=65 Moving to Node #0,2 Current State: 58:[9, 59, 13], Operations: ['87-74=13'] Exploring Operation: 59-13=46, Resulting Numbers: [9, 46] Generated Node #0,2,0: 58:[9, 46] Operation: 59-13=46 Exploring Operation: 13-9=4, Resulting Numbers: [59, 4] Generated Node #0,2,1: 58:[59, 4] Operation: 13-9=4 Exploring Operation: 59-9=50, Resulting Numbers: [13, 50] Generated Node #0,2,2: 58:[13, 50] Operation: 59-9=50 Exploring Operation: 9+13=22, Resulting Numbers: [59, 22] Generated Node #0,2,3: 58:[59, 22] Operation: 9+13=22 Moving to Node #0,1 Current State: 58:[9, 74, 28], Operations: ['87-59=28'] Exploring Operation: 74-28=46, Resulting Numbers: [9, 46] Generated Node #0,1,0: 58:[9, 46] Operation: 74-28=46 Exploring Operation: 9+28=37, Resulting Numbers: [74, 37] Generated Node #0,1,1: 58:[74, 37] Operation: 9+28=37 Exploring Operation: 74-9=65, Resulting Numbers: [28, 65] Generated Node #0,1,2: 58:[28, 65] Operation: 74-9=65 Exploring Operation: 9+74=83, Resulting Numbers: [28, 83] Generated Node #0,1,3: 58:[28, 83] Operation: 9+74=83 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[28, 65], Operations: ['87-59=28', '74-9=65'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,58 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[9, 46], Operations: ['87-59=28', '74-28=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,58 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[74, 37], Operations: ['87-59=28', '9+28=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,58 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 74*37=2738, Resulting Numbers: [2738] 2738,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 58:[28, 83], Operations: ['87-59=28', '9+74=83'] Exploring Operation: 28*83=2324, Resulting Numbers: [2324] 2324,58 unequal: No Solution Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 28+83=111, Resulting Numbers: [111] 111,58 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: 58:[87, 59, 65], Operations: ['74-9=65'] Exploring Operation: 87-59=28, Resulting Numbers: [65, 28] Generated Node #0,3,0: 58:[65, 28] Operation: 87-59=28 Exploring Operation: 87-65=22, Resulting Numbers: [59, 22] Generated Node #0,3,1: 58:[59, 22] Operation: 87-65=22 Exploring Operation: 65-59=6, Resulting Numbers: [87, 6] Generated Node #0,3,2: 58:[87, 6] Operation: 65-59=6 Exploring Operation: 87+59=146, Resulting Numbers: [65, 146] Generated Node #0,3,3: 58:[65, 146] Operation: 87+59=146 Moving to Node #0,0 Current State: 58:[74, 59, 78], Operations: ['87-9=78'] Exploring Operation: 74+59=133, Resulting Numbers: [78, 133] Generated Node #0,0,0: 58:[78, 133] Operation: 74+59=133 Exploring Operation: 78-74=4, Resulting Numbers: [59, 4] Generated Node #0,0,1: 58:[59, 4] Operation: 78-74=4 Exploring Operation: 74-59=15, Resulting Numbers: [78, 15] Generated Node #0,0,2: 58:[78, 15] Operation: 74-59=15 Exploring Operation: 78-59=19, Resulting Numbers: [74, 19] Generated Node #0,0,3: 58:[74, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[59, 4], Operations: ['87-9=78', '78-74=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,58 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[74, 19], Operations: ['87-9=78', '78-59=19'] Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[78, 15], Operations: ['87-9=78', '74-59=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[78, 133], Operations: ['87-9=78', '74+59=133'] Exploring Operation: 78*133=10374, Resulting Numbers: [10374] 10374,58 unequal: No Solution Exploring Operation: 78+133=211, Resulting Numbers: [211] 211,58 unequal: No Solution Exploring Operation: 133-78=55, Resulting Numbers: [55] 55,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 58:[59, 4], Operations: ['87-74=13', '13-9=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,58 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[59, 22], Operations: ['74-9=65', '87-65=22'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,58 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[59, 22], Operations: ['87-74=13', '9+13=22'] Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,58 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[65, 28], Operations: ['74-9=65', '87-59=28'] Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,58 unequal: No Solution Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,58 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[9, 46], Operations: ['87-74=13', '59-13=46'] Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,58 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,58 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[13, 50], Operations: ['87-74=13', '59-9=50'] Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,58 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,58 unequal: No Solution Exploring Operation: 13*50=650, Resulting Numbers: [650] 650,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[87, 6], Operations: ['74-9=65', '65-59=6'] Exploring Operation: 87*6=522, Resulting Numbers: [522] 522,58 unequal: No Solution Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,58 unequal: No Solution Moving to Node #0,3,3 Current State: 58:[65, 146], Operations: ['74-9=65', '87+59=146'] Exploring Operation: 65+146=211, Resulting Numbers: [211] 211,58 unequal: No Solution Exploring Operation: 146-65=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 65*146=9490, Resulting Numbers: [9490] 9490,58 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 64, 29, 5 ]
66
[ "64-45=19", "5*19=95", "95-29=66" ]
Current State: 66:[45, 64, 29, 5], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [29, 5, 19] Generated Node #2: [29, 5, 19] from Operation: 64-45=19 Current State: 66:[29, 5, 19], Operations: ['64-45=19'] Exploring Operation: 5*19=95, Resulting Numbers: [29, 95] Generated Node #3: [29, 95] from Operation: 5*19=95 Current State: 66:[29, 95], Operations: ['64-45=19', '5*19=95'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[45, 64, 29, 5], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [64, 5, 16] Generated Node #0,0: 66:[64, 5, 16] Operation: 45-29=16 Exploring Operation: 64-45=19, Resulting Numbers: [29, 5, 19] Generated Node #0,1: 66:[29, 5, 19] Operation: 64-45=19 Exploring Operation: 45+29=74, Resulting Numbers: [64, 5, 74] Generated Node #0,2: 66:[64, 5, 74] Operation: 45+29=74 Exploring Operation: 45-5=40, Resulting Numbers: [64, 29, 40] Generated Node #0,3: 66:[64, 29, 40] Operation: 45-5=40 Exploring Operation: 45/5=9, Resulting Numbers: [64, 29, 9] Generated Node #0,4: 66:[64, 29, 9] Operation: 45/5=9 Moving to Node #0,0 Current State: 66:[64, 5, 16], Operations: ['45-29=16'] Exploring Operation: 64-5=59, Resulting Numbers: [16, 59] Generated Node #0,0,0: 66:[16, 59] Operation: 64-5=59 Exploring Operation: 16-5=11, Resulting Numbers: [64, 11] Generated Node #0,0,1: 66:[64, 11] Operation: 16-5=11 Exploring Operation: 64/16=4, Resulting Numbers: [5, 4] Generated Node #0,0,2: 66:[5, 4] Operation: 64/16=4 Exploring Operation: 5+16=21, Resulting Numbers: [64, 21] Generated Node #0,0,3: 66:[64, 21] Operation: 5+16=21 Exploring Operation: 64+5=69, Resulting Numbers: [16, 69] Generated Node #0,0,4: 66:[16, 69] Operation: 64+5=69 Moving to Node #0,4 Current State: 66:[64, 29, 9], Operations: ['45/5=9'] Exploring Operation: 29+9=38, Resulting Numbers: [64, 38] Generated Node #0,4,0: 66:[64, 38] Operation: 29+9=38 Exploring Operation: 64-9=55, Resulting Numbers: [29, 55] Generated Node #0,4,1: 66:[29, 55] Operation: 64-9=55 Exploring Operation: 64-29=35, Resulting Numbers: [9, 35] Generated Node #0,4,2: 66:[9, 35] Operation: 64-29=35 Exploring Operation: 29-9=20, Resulting Numbers: [64, 20] Generated Node #0,4,3: 66:[64, 20] Operation: 29-9=20 Exploring Operation: 64+9=73, Resulting Numbers: [29, 73] Generated Node #0,4,4: 66:[29, 73] Operation: 64+9=73 Moving to Node #0,1 Current State: 66:[29, 5, 19], Operations: ['64-45=19'] Exploring Operation: 29-5=24, Resulting Numbers: [19, 24] Generated Node #0,1,0: 66:[19, 24] Operation: 29-5=24 Exploring Operation: 19-5=14, Resulting Numbers: [29, 14] Generated Node #0,1,1: 66:[29, 14] Operation: 19-5=14 Exploring Operation: 5+19=24, Resulting Numbers: [29, 24] Generated Node #0,1,2: 66:[29, 24] Operation: 5+19=24 Exploring Operation: 29-19=10, Resulting Numbers: [5, 10] Generated Node #0,1,3: 66:[5, 10] Operation: 29-19=10 Exploring Operation: 29+5=34, Resulting Numbers: [19, 34] Generated Node #0,1,4: 66:[19, 34] Operation: 29+5=34 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 66:[5, 10], Operations: ['64-45=19', '29-19=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,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,1,4 Current State: 66:[19, 34], Operations: ['64-45=19', '29+5=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,66 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,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,1,0 Current State: 66:[19, 24], Operations: ['64-45=19', '29-5=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,66 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,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,1,2 Current State: 66:[29, 24], Operations: ['64-45=19', '5+19=24'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,66 unequal: No Solution Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,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,1,1 Current State: 66:[29, 14], Operations: ['64-45=19', '19-5=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,66 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,66 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,66 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: 66:[64, 5, 74], Operations: ['45+29=74'] Exploring Operation: 74-5=69, Resulting Numbers: [64, 69] Generated Node #0,2,0: 66:[64, 69] Operation: 74-5=69 Exploring Operation: 74-64=10, Resulting Numbers: [5, 10] Generated Node #0,2,1: 66:[5, 10] Operation: 74-64=10 Exploring Operation: 64-5=59, Resulting Numbers: [74, 59] Generated Node #0,2,2: 66:[74, 59] Operation: 64-5=59 Exploring Operation: 64+5=69, Resulting Numbers: [74, 69] Generated Node #0,2,3: 66:[74, 69] Operation: 64+5=69 Exploring Operation: 5+74=79, Resulting Numbers: [64, 79] Generated Node #0,2,4: 66:[64, 79] Operation: 5+74=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[5, 10], Operations: ['45+29=74', '74-64=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,66 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 10-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,2,0 Current State: 66:[64, 69], Operations: ['45+29=74', '74-5=69'] Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 66:[74, 69], Operations: ['45+29=74', '64+5=69'] Exploring Operation: 74*69=5106, Resulting Numbers: [5106] 5106,66 unequal: No Solution Exploring Operation: 74-69=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 74+69=143, Resulting Numbers: [143] 143,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[74, 59], Operations: ['45+29=74', '64-5=59'] Exploring Operation: 74*59=4366, Resulting Numbers: [4366] 4366,66 unequal: No Solution Exploring Operation: 74-59=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 74+59=133, Resulting Numbers: [133] 133,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 66:[64, 79], Operations: ['45+29=74', '5+74=79'] Exploring Operation: 64*79=5056, Resulting Numbers: [5056] 5056,66 unequal: No Solution Exploring Operation: 64+79=143, Resulting Numbers: [143] 143,66 unequal: No Solution Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,66 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: 66:[64, 29, 40], Operations: ['45-5=40'] Exploring Operation: 64+29=93, Resulting Numbers: [40, 93] Generated Node #0,3,0: 66:[40, 93] Operation: 64+29=93 Exploring Operation: 64-40=24, Resulting Numbers: [29, 24] Generated Node #0,3,1: 66:[29, 24] Operation: 64-40=24 Exploring Operation: 64-29=35, Resulting Numbers: [40, 35] Generated Node #0,3,2: 66:[40, 35] Operation: 64-29=35 Exploring Operation: 29+40=69, Resulting Numbers: [64, 69] Generated Node #0,3,3: 66:[64, 69] Operation: 29+40=69 Exploring Operation: 40-29=11, Resulting Numbers: [64, 11] Generated Node #0,3,4: 66:[64, 11] Operation: 40-29=11 Moving to Node #0,0,1 Current State: 66:[64, 11], Operations: ['45-29=16', '16-5=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,66 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[5, 4], Operations: ['45-29=16', '64/16=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,66 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,66 unequal: No Solution Moving to Node #0,3,4 Current State: 66:[64, 11], Operations: ['45-5=40', '40-29=11'] Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,66 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[64, 21], Operations: ['45-29=16', '5+16=21'] Exploring Operation: 64+21=85, Resulting Numbers: [85] 85,66 unequal: No Solution Exploring Operation: 64*21=1344, Resulting Numbers: [1344] 1344,66 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,66 unequal: No Solution Moving to Node #0,4,3 Current State: 66:[64, 20], Operations: ['45/5=9', '29-9=20'] Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,66 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,66 unequal: No Solution Moving to Node #0,4,2 Current State: 66:[9, 35], Operations: ['45/5=9', '64-29=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,66 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[64, 69], Operations: ['45-5=40', '29+40=69'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 64+69=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 64*69=4416, Resulting Numbers: [4416] 4416,66 unequal: No Solution Moving to Node #0,3,1 Current State: 66:[29, 24], Operations: ['45-5=40', '64-40=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,66 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,66 unequal: No Solution Moving to Node #0,4,0 Current State: 66:[64, 38], Operations: ['45/5=9', '29+9=38'] Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 64+38=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 64*38=2432, Resulting Numbers: [2432] 2432,66 unequal: No Solution Moving to Node #0,0,4 Current State: 66:[16, 69], Operations: ['45-29=16', '64+5=69'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,66 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,66 unequal: No Solution Moving to Node #0,3,2 Current State: 66:[40, 35], Operations: ['45-5=40', '64-29=35'] Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 40*35=1400, Resulting Numbers: [1400] 1400,66 unequal: No Solution Moving to Node #0,4,4 Current State: 66:[29, 73], Operations: ['45/5=9', '64+9=73'] Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,66 unequal: No Solution Exploring Operation: 29+73=102, Resulting Numbers: [102] 102,66 unequal: No Solution Exploring Operation: 29*73=2117, Resulting Numbers: [2117] 2117,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[16, 59], Operations: ['45-29=16', '64-5=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,66 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,66 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,66 unequal: No Solution Moving to Node #0,4,1 Current State: 66:[29, 55], Operations: ['45/5=9', '64-9=55'] Exploring Operation: 29*55=1595, Resulting Numbers: [1595] 1595,66 unequal: No Solution Exploring Operation: 29+55=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,66 unequal: No Solution Moving to Node #0,3,0 Current State: 66:[40, 93], Operations: ['45-5=40', '64+29=93'] Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,66 unequal: No Solution Exploring Operation: 40+93=133, Resulting Numbers: [133] 133,66 unequal: No Solution Exploring Operation: 40*93=3720, Resulting Numbers: [3720] 3720,66 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 73, 35, 44, 22 ]
19
[ "73-35=38", "44/22=2", "38/2=19" ]
Current State: 19:[73, 35, 44, 22], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [44, 22, 38] Generated Node #2: [44, 22, 38] from Operation: 73-35=38 Current State: 19:[44, 22, 38], Operations: ['73-35=38'] Exploring Operation: 44/22=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 44/22=2 Current State: 19:[38, 2], Operations: ['73-35=38', '44/22=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[73, 35, 44, 22], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [44, 22, 38] Generated Node #0,0: 19:[44, 22, 38] Operation: 73-35=38 Exploring Operation: 73-44=29, Resulting Numbers: [35, 22, 29] Generated Node #0,1: 19:[35, 22, 29] Operation: 73-44=29 Exploring Operation: 73-22=51, Resulting Numbers: [35, 44, 51] Generated Node #0,2: 19:[35, 44, 51] Operation: 73-22=51 Exploring Operation: 44-35=9, Resulting Numbers: [73, 22, 9] Generated Node #0,3: 19:[73, 22, 9] Operation: 44-35=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[35, 22, 29], Operations: ['73-44=29'] Exploring Operation: 35-29=6, Resulting Numbers: [22, 6] Generated Node #0,1,0: 19:[22, 6] Operation: 35-29=6 Exploring Operation: 35+22=57, Resulting Numbers: [29, 57] Generated Node #0,1,1: 19:[29, 57] Operation: 35+22=57 Exploring Operation: 35-22=13, Resulting Numbers: [29, 13] Generated Node #0,1,2: 19:[29, 13] Operation: 35-22=13 Exploring Operation: 29-22=7, Resulting Numbers: [35, 7] Generated Node #0,1,3: 19:[35, 7] Operation: 29-22=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[22, 6], Operations: ['73-44=29', '35-29=6'] Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,19 unequal: No Solution No 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: 19:[29, 13], Operations: ['73-44=29', '35-22=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,19 unequal: No Solution No 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: 19:[35, 7], Operations: ['73-44=29', '29-22=7'] Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,19 unequal: No Solution Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,19 unequal: No Solution No 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: 19:[29, 57], Operations: ['73-44=29', '35+22=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,19 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,19 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: 19:[44, 22, 38], Operations: ['73-35=38'] Exploring Operation: 38-22=16, Resulting Numbers: [44, 16] Generated Node #0,0,0: 19:[44, 16] Operation: 38-22=16 Exploring Operation: 44-38=6, Resulting Numbers: [22, 6] Generated Node #0,0,1: 19:[22, 6] Operation: 44-38=6 Exploring Operation: 44-22=22, Resulting Numbers: [38, 22] Generated Node #0,0,2: 19:[38, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [38, 2] Generated Node #0,0,3: 19:[38, 2] Operation: 44/22=2 Moving to Node #0,0,1 Current State: 19:[22, 6], Operations: ['73-35=38', '44-38=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,19 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[38, 22], Operations: ['73-35=38', '44-22=22'] Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 38*22=836, Resulting Numbers: [836] 836,19 unequal: No Solution Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[44, 16], Operations: ['73-35=38', '38-22=16'] Exploring Operation: 44+16=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 44*16=704, Resulting Numbers: [704] 704,19 unequal: No Solution Exploring Operation: 44-16=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[38, 2], Operations: ['73-35=38', '44/22=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[73, 35, 44, 22], Operations: [] Exploring Operation: 73-35=38, Resulting Numbers: [44, 22, 38] Generated Node #0,0: 19:[44, 22, 38] Operation: 73-35=38 Moving to Node #0,0 Current State: 19:[44, 22, 38], Operations: ['73-35=38'] Exploring Operation: 44/22=2, Resulting Numbers: [38, 2] Generated Node #0,0,3: 19:[38, 2] Operation: 44/22=2 Moving to Node #0,0,3 Current State: 19:[38, 2], Operations: ['73-35=38', '44/22=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
mult_heuristic
[ 17, 9, 7, 68 ]
53
[ "17-9=8", "68-7=61", "61-8=53" ]
Current State: 53:[17, 9, 7, 68], Operations: [] Exploring Operation: 17-9=8, Resulting Numbers: [7, 68, 8] Generated Node #2: [7, 68, 8] from Operation: 17-9=8 Current State: 53:[7, 68, 8], Operations: ['17-9=8'] Exploring Operation: 68-7=61, Resulting Numbers: [8, 61] Generated Node #3: [8, 61] from Operation: 68-7=61 Current State: 53:[8, 61], Operations: ['17-9=8', '68-7=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[17, 9, 7, 68], Operations: [] Exploring Operation: 17+9=26, Resulting Numbers: [7, 68, 26] Generated Node #0,0: 53:[7, 68, 26] Operation: 17+9=26 Exploring Operation: 9*7=63, Resulting Numbers: [17, 68, 63] Generated Node #0,1: 53:[17, 68, 63] Operation: 9*7=63 Exploring Operation: 17+7=24, Resulting Numbers: [9, 68, 24] Generated Node #0,2: 53:[9, 68, 24] Operation: 17+7=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[17, 68, 63], Operations: ['9*7=63'] Exploring Operation: 68-17=51, Resulting Numbers: [63, 51] Generated Node #0,1,0: 53:[63, 51] Operation: 68-17=51 Exploring Operation: 63-17=46, Resulting Numbers: [68, 46] Generated Node #0,1,1: 53:[68, 46] Operation: 63-17=46 Exploring Operation: 17+68=85, Resulting Numbers: [63, 85] Generated Node #0,1,2: 53:[63, 85] Operation: 17+68=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[63, 51], Operations: ['9*7=63', '68-17=51'] Exploring Operation: 63-51=12, Resulting Numbers: [12] 12,53 unequal: No Solution Exploring Operation: 63*51=3213, Resulting Numbers: [3213] 3213,53 unequal: No Solution Exploring Operation: 63+51=114, Resulting Numbers: [114] 114,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[68, 46], Operations: ['9*7=63', '63-17=46'] Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,53 unequal: No Solution Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,53 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[63, 85], Operations: ['9*7=63', '17+68=85'] Exploring Operation: 63*85=5355, Resulting Numbers: [5355] 5355,53 unequal: No Solution Exploring Operation: 63+85=148, Resulting Numbers: [148] 148,53 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[7, 68, 26], Operations: ['17+9=26'] Exploring Operation: 7+68=75, Resulting Numbers: [26, 75] Generated Node #0,0,0: 53:[26, 75] Operation: 7+68=75 Exploring Operation: 7+26=33, Resulting Numbers: [68, 33] Generated Node #0,0,1: 53:[68, 33] Operation: 7+26=33 Exploring Operation: 68-7=61, Resulting Numbers: [26, 61] Generated Node #0,0,2: 53:[26, 61] Operation: 68-7=61 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[68, 33], Operations: ['17+9=26', '7+26=33'] Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,53 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[26, 61], Operations: ['17+9=26', '68-7=61'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,53 unequal: No Solution Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[26, 75], Operations: ['17+9=26', '7+68=75'] Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[9, 68, 24], Operations: ['17+7=24'] Exploring Operation: 9+68=77, Resulting Numbers: [24, 77] Generated Node #0,2,0: 53:[24, 77] Operation: 9+68=77 Exploring Operation: 68-9=59, Resulting Numbers: [24, 59] Generated Node #0,2,1: 53:[24, 59] Operation: 68-9=59 Exploring Operation: 9+24=33, Resulting Numbers: [68, 33] Generated Node #0,2,2: 53:[68, 33] Operation: 9+24=33 Moving to Node #0,2,1 Current State: 53:[24, 59], Operations: ['17+7=24', '68-9=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,53 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[68, 33], Operations: ['17+7=24', '9+24=33'] Exploring Operation: 68*33=2244, Resulting Numbers: [2244] 2244,53 unequal: No Solution Exploring Operation: 68+33=101, Resulting Numbers: [101] 101,53 unequal: No Solution Exploring Operation: 68-33=35, Resulting Numbers: [35] 35,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[24, 77], Operations: ['17+7=24', '9+68=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [1848] 1848,53 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[17, 9, 7, 68], Operations: [] Exploring Operation: 17+7=24, Resulting Numbers: [9, 68, 24] Generated Node #0,2: 53:[9, 68, 24] Operation: 17+7=24 Moving to Node #0,2 Current State: 53:[9, 68, 24], Operations: ['17+7=24'] Exploring Operation: 9+68=77, Resulting Numbers: [24, 77] Generated Node #0,2,0: 53:[24, 77] Operation: 9+68=77 Moving to Node #0,2,0 Current State: 53:[24, 77], Operations: ['17+7=24', '9+68=77'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 11, 66, 27, 12 ]
40
[ "66-11=55", "27-12=15", "55-15=40" ]
Current State: 40:[11, 66, 27, 12], Operations: [] Exploring Operation: 66-11=55, Resulting Numbers: [27, 12, 55] Generated Node #2: [27, 12, 55] from Operation: 66-11=55 Current State: 40:[27, 12, 55], Operations: ['66-11=55'] Exploring Operation: 27-12=15, Resulting Numbers: [55, 15] Generated Node #3: [55, 15] from Operation: 27-12=15 Current State: 40:[55, 15], Operations: ['66-11=55', '27-12=15'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[11, 66, 27, 12], Operations: [] Exploring Operation: 66/11=6, Resulting Numbers: [27, 12, 6] Generated Node #0,0: 40:[27, 12, 6] Operation: 66/11=6 Exploring Operation: 66-27=39, Resulting Numbers: [11, 12, 39] Generated Node #0,1: 40:[11, 12, 39] Operation: 66-27=39 Exploring Operation: 66-11=55, Resulting Numbers: [27, 12, 55] Generated Node #0,2: 40:[27, 12, 55] Operation: 66-11=55 Exploring Operation: 66-12=54, Resulting Numbers: [11, 27, 54] Generated Node #0,3: 40:[11, 27, 54] Operation: 66-12=54 Exploring Operation: 27+12=39, Resulting Numbers: [11, 66, 39] Generated Node #0,4: 40:[11, 66, 39] Operation: 27+12=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[11, 12, 39], Operations: ['66-27=39'] Exploring Operation: 12-11=1, Resulting Numbers: [39, 1] Generated Node #0,1,0: 40:[39, 1] Operation: 12-11=1 Exploring Operation: 39-12=27, Resulting Numbers: [11, 27] Generated Node #0,1,1: 40:[11, 27] Operation: 39-12=27 Exploring Operation: 11+39=50, Resulting Numbers: [12, 50] Generated Node #0,1,2: 40:[12, 50] Operation: 11+39=50 Exploring Operation: 39-11=28, Resulting Numbers: [12, 28] Generated Node #0,1,3: 40:[12, 28] Operation: 39-11=28 Exploring Operation: 11+12=23, Resulting Numbers: [39, 23] Generated Node #0,1,4: 40:[39, 23] Operation: 11+12=23 Moving to Node #0,1,0 Current State: 40:[39, 1], Operations: ['66-27=39', '12-11=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,40 unequal: No Solution Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[11, 66, 27, 12], Operations: [] Exploring Operation: 66-27=39, Resulting Numbers: [11, 12, 39] Generated Node #0,1: 40:[11, 12, 39] Operation: 66-27=39 Moving to Node #0,1 Current State: 40:[11, 12, 39], Operations: ['66-27=39'] Exploring Operation: 12-11=1, Resulting Numbers: [39, 1] Generated Node #0,1,0: 40:[39, 1] Operation: 12-11=1 Moving to Node #0,1,0 Current State: 40:[39, 1], Operations: ['66-27=39', '12-11=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 30, 9, 46, 5 ]
95
[ "30*5=150", "9+46=55", "150-55=95" ]
Current State: 95:[30, 9, 46, 5], Operations: [] Exploring Operation: 30*5=150, Resulting Numbers: [9, 46, 150] Generated Node #2: [9, 46, 150] from Operation: 30*5=150 Current State: 95:[9, 46, 150], Operations: ['30*5=150'] Exploring Operation: 9+46=55, Resulting Numbers: [150, 55] Generated Node #3: [150, 55] from Operation: 9+46=55 Current State: 95:[150, 55], Operations: ['30*5=150', '9+46=55'] Exploring Operation: 150-55=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[30, 9, 46, 5], Operations: [] Exploring Operation: 46-30=16, Resulting Numbers: [9, 5, 16] Generated Node #0,0: 95:[9, 5, 16] Operation: 46-30=16 Exploring Operation: 30+46=76, Resulting Numbers: [9, 5, 76] Generated Node #0,1: 95:[9, 5, 76] Operation: 30+46=76 Exploring Operation: 30-9=21, Resulting Numbers: [46, 5, 21] Generated Node #0,2: 95:[46, 5, 21] Operation: 30-9=21 Exploring Operation: 46-9=37, Resulting Numbers: [30, 5, 37] Generated Node #0,3: 95:[30, 5, 37] Operation: 46-9=37 Moving to Node #0,0 Current State: 95:[9, 5, 16], Operations: ['46-30=16'] Exploring Operation: 5+16=21, Resulting Numbers: [9, 21] Generated Node #0,0,0: 95:[9, 21] Operation: 5+16=21 Exploring Operation: 9+16=25, Resulting Numbers: [5, 25] Generated Node #0,0,1: 95:[5, 25] Operation: 9+16=25 Exploring Operation: 9-5=4, Resulting Numbers: [16, 4] Generated Node #0,0,2: 95:[16, 4] Operation: 9-5=4 Exploring Operation: 16-9=7, Resulting Numbers: [5, 7] Generated Node #0,0,3: 95:[5, 7] Operation: 16-9=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 95:[5, 7], Operations: ['46-30=16', '16-9=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,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:[16, 4], Operations: ['46-30=16', '9-5=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,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,0 Current State: 95:[9, 21], Operations: ['46-30=16', '5+16=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,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:[5, 25], Operations: ['46-30=16', '9+16=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,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:[9, 5, 76], Operations: ['30+46=76'] Exploring Operation: 9+76=85, Resulting Numbers: [5, 85] Generated Node #0,1,0: 95:[5, 85] Operation: 9+76=85 Exploring Operation: 5+76=81, Resulting Numbers: [9, 81] Generated Node #0,1,1: 95:[9, 81] Operation: 5+76=81 Exploring Operation: 9-5=4, Resulting Numbers: [76, 4] Generated Node #0,1,2: 95:[76, 4] Operation: 9-5=4 Exploring Operation: 9+5=14, Resulting Numbers: [76, 14] Generated Node #0,1,3: 95:[76, 14] Operation: 9+5=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[5, 85], Operations: ['30+46=76', '9+76=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,95 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[9, 81], Operations: ['30+46=76', '5+76=81'] Exploring Operation: 9+81=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 9*81=729, Resulting Numbers: [729] 729,95 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[76, 4], Operations: ['30+46=76', '9-5=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,95 unequal: No Solution Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,95 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 95:[76, 14], Operations: ['30+46=76', '9+5=14'] Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,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:[30, 5, 37], Operations: ['46-9=37'] Exploring Operation: 30-5=25, Resulting Numbers: [37, 25] Generated Node #0,3,0: 95:[37, 25] Operation: 30-5=25 Exploring Operation: 30/5=6, Resulting Numbers: [37, 6] Generated Node #0,3,1: 95:[37, 6] Operation: 30/5=6 Exploring Operation: 37-5=32, Resulting Numbers: [30, 32] Generated Node #0,3,2: 95:[30, 32] Operation: 37-5=32 Exploring Operation: 37-30=7, Resulting Numbers: [5, 7] Generated Node #0,3,3: 95:[5, 7] Operation: 37-30=7 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 95:[5, 7], Operations: ['46-9=37', '37-30=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,95 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,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:[37, 6], Operations: ['46-9=37', '30/5=6'] Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,95 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,95 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 95:[37, 25], Operations: ['46-9=37', '30-5=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,95 unequal: No Solution Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,95 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,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:[30, 32], Operations: ['46-9=37', '37-5=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,95 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,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:[46, 5, 21], Operations: ['30-9=21'] Exploring Operation: 21-5=16, Resulting Numbers: [46, 16] Generated Node #0,2,0: 95:[46, 16] Operation: 21-5=16 Exploring Operation: 46+21=67, Resulting Numbers: [5, 67] Generated Node #0,2,1: 95:[5, 67] Operation: 46+21=67 Exploring Operation: 46-5=41, Resulting Numbers: [21, 41] Generated Node #0,2,2: 95:[21, 41] Operation: 46-5=41 Exploring Operation: 46-21=25, Resulting Numbers: [5, 25] Generated Node #0,2,3: 95:[5, 25] Operation: 46-21=25 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[5, 25], Operations: ['30-9=21', '46-21=25'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,95 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,95 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,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,2,2 Current State: 95:[21, 41], Operations: ['30-9=21', '46-5=41'] Exploring Operation: 21*41=861, Resulting Numbers: [861] 861,95 unequal: No Solution Exploring Operation: 21+41=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,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,2,1 Current State: 95:[5, 67], Operations: ['30-9=21', '46+21=67'] Exploring Operation: 5*67=335, Resulting Numbers: [335] 335,95 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,95 unequal: No Solution Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,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,2,0 Current State: 95:[46, 16], Operations: ['30-9=21', '21-5=16'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,95 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,95 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,95 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
[ 3, 75, 81, 47 ]
29
[ "81-75=6", "3*6=18", "47-18=29" ]
Current State: 29:[3, 75, 81, 47], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [3, 47, 6] Generated Node #2: [3, 47, 6] from Operation: 81-75=6 Current State: 29:[3, 47, 6], Operations: ['81-75=6'] Exploring Operation: 3*6=18, Resulting Numbers: [47, 18] Generated Node #3: [47, 18] from Operation: 3*6=18 Current State: 29:[47, 18], Operations: ['81-75=6', '3*6=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[3, 75, 81, 47], Operations: [] Exploring Operation: 81/3=27, Resulting Numbers: [75, 47, 27] Generated Node #0,0: 29:[75, 47, 27] Operation: 81/3=27 Exploring Operation: 81-75=6, Resulting Numbers: [3, 47, 6] Generated Node #0,1: 29:[3, 47, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[75, 47, 27], Operations: ['81/3=27'] Exploring Operation: 75-27=48, Resulting Numbers: [47, 48] Generated Node #0,0,0: 29:[47, 48] Operation: 75-27=48 Exploring Operation: 75-47=28, Resulting Numbers: [27, 28] Generated Node #0,0,1: 29:[27, 28] Operation: 75-47=28 Moving to Node #0,0,1 Current State: 29:[27, 28], Operations: ['81/3=27', '75-47=28'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[47, 48], Operations: ['81/3=27', '75-27=48'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,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,1 Current State: 29:[3, 47, 6], Operations: ['81-75=6'] Exploring Operation: 3*6=18, Resulting Numbers: [47, 18] Generated Node #0,1,0: 29:[47, 18] Operation: 3*6=18 Exploring Operation: 47-3=44, Resulting Numbers: [6, 44] Generated Node #0,1,1: 29:[6, 44] Operation: 47-3=44 Moving to Node #0,1,0 Current State: 29:[47, 18], Operations: ['81-75=6', '3*6=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[3, 75, 81, 47], Operations: [] Exploring Operation: 81-75=6, Resulting Numbers: [3, 47, 6] Generated Node #0,1: 29:[3, 47, 6] Operation: 81-75=6 Moving to Node #0,1 Current State: 29:[3, 47, 6], Operations: ['81-75=6'] Exploring Operation: 3*6=18, Resulting Numbers: [47, 18] Generated Node #0,1,0: 29:[47, 18] Operation: 3*6=18 Moving to Node #0,1,0 Current State: 29:[47, 18], Operations: ['81-75=6', '3*6=18'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 1, 47, 84, 92 ]
55
[ "1*47=47", "92-84=8", "47+8=55" ]
Current State: 55:[1, 47, 84, 92], Operations: [] Exploring Operation: 1*47=47, Resulting Numbers: [84, 92, 47] Generated Node #2: [84, 92, 47] from Operation: 1*47=47 Current State: 55:[84, 92, 47], Operations: ['1*47=47'] Exploring Operation: 92-84=8, Resulting Numbers: [47, 8] Generated Node #3: [47, 8] from Operation: 92-84=8 Current State: 55:[47, 8], Operations: ['1*47=47', '92-84=8'] Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[1, 47, 84, 92], Operations: [] Exploring Operation: 92-47=45, Resulting Numbers: [1, 84, 45] Generated Node #0,0: 55:[1, 84, 45] Operation: 92-47=45 Exploring Operation: 92-84=8, Resulting Numbers: [1, 47, 8] Generated Node #0,1: 55:[1, 47, 8] Operation: 92-84=8 Exploring Operation: 84-47=37, Resulting Numbers: [1, 92, 37] Generated Node #0,2: 55:[1, 92, 37] Operation: 84-47=37 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[1, 47, 8], Operations: ['92-84=8'] Exploring Operation: 1+8=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 55:[47, 9] Operation: 1+8=9 Exploring Operation: 1+47=48, Resulting Numbers: [8, 48] Generated Node #0,1,1: 55:[8, 48] Operation: 1+47=48 Exploring Operation: 47+8=55, Resulting Numbers: [1, 55] Generated Node #0,1,2: 55:[1, 55] Operation: 47+8=55 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[1, 55], Operations: ['92-84=8', '47+8=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[1, 47, 84, 92], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [1, 47, 8] Generated Node #0,1: 55:[1, 47, 8] Operation: 92-84=8 Moving to Node #0,1 Current State: 55:[1, 47, 8], Operations: ['92-84=8'] Exploring Operation: 47+8=55, Resulting Numbers: [1, 55] Generated Node #0,1,2: 55:[1, 55] Operation: 47+8=55 Moving to Node #0,1,2 Current State: 55:[1, 55], Operations: ['92-84=8', '47+8=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 17, 39, 47, 78 ]
28
[ "47-17=30", "78/39=2", "30-2=28" ]
Current State: 28:[17, 39, 47, 78], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [39, 78, 30] Generated Node #2: [39, 78, 30] from Operation: 47-17=30 Current State: 28:[39, 78, 30], Operations: ['47-17=30'] Exploring Operation: 78/39=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 78/39=2 Current State: 28:[30, 2], Operations: ['47-17=30', '78/39=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[17, 39, 47, 78], Operations: [] Exploring Operation: 78-47=31, Resulting Numbers: [17, 39, 31] Generated Node #0,0: 28:[17, 39, 31] Operation: 78-47=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[17, 39, 31], Operations: ['78-47=31'] Exploring Operation: 39-31=8, Resulting Numbers: [17, 8] Generated Node #0,0,0: 28:[17, 8] Operation: 39-31=8 Moving to Node #0,0,0 Current State: 28:[17, 8], Operations: ['78-47=31', '39-31=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,28 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
[ 92, 92, 75, 20 ]
54
[ "92/92=1", "75-20=55", "55-1=54" ]
Current State: 54:[92, 92, 75, 20], Operations: [] Exploring Operation: 92/92=1, Resulting Numbers: [75, 20, 1] Generated Node #2: [75, 20, 1] from Operation: 92/92=1 Current State: 54:[75, 20, 1], Operations: ['92/92=1'] Exploring Operation: 75-20=55, Resulting Numbers: [1, 55] Generated Node #3: [1, 55] from Operation: 75-20=55 Current State: 54:[1, 55], Operations: ['92/92=1', '75-20=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[92, 92, 75, 20], Operations: [] Exploring Operation: 92-92=0, Resulting Numbers: [75, 20, 0] Generated Node #0,0: 54:[75, 20, 0] Operation: 92-92=0 Exploring Operation: 92/92=1, Resulting Numbers: [75, 20, 1] Generated Node #0,1: 54:[75, 20, 1] Operation: 92/92=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[75, 20, 1], Operations: ['92/92=1'] Exploring Operation: 75-1=74, Resulting Numbers: [20, 74] Generated Node #0,1,0: 54:[20, 74] Operation: 75-1=74 Exploring Operation: 75-20=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 75-20=55 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['92/92=1', '75-20=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[92, 92, 75, 20], Operations: [] Exploring Operation: 92/92=1, Resulting Numbers: [75, 20, 1] Generated Node #0,1: 54:[75, 20, 1] Operation: 92/92=1 Moving to Node #0,1 Current State: 54:[75, 20, 1], Operations: ['92/92=1'] Exploring Operation: 75-20=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 75-20=55 Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['92/92=1', '75-20=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 47, 70, 76, 4 ]
57
[ "70-47=23", "76+4=80", "80-23=57" ]
Current State: 57:[47, 70, 76, 4], Operations: [] Exploring Operation: 70-47=23, Resulting Numbers: [76, 4, 23] Generated Node #2: [76, 4, 23] from Operation: 70-47=23 Current State: 57:[76, 4, 23], Operations: ['70-47=23'] Exploring Operation: 76+4=80, Resulting Numbers: [23, 80] Generated Node #3: [23, 80] from Operation: 76+4=80 Current State: 57:[23, 80], Operations: ['70-47=23', '76+4=80'] Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[47, 70, 76, 4], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [47, 4, 6] Generated Node #0,0: 57:[47, 4, 6] Operation: 76-70=6 Exploring Operation: 76/4=19, Resulting Numbers: [47, 70, 19] Generated Node #0,1: 57:[47, 70, 19] Operation: 76/4=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[47, 4, 6], Operations: ['76-70=6'] Exploring Operation: 47+6=53, Resulting Numbers: [4, 53] Generated Node #0,0,0: 57:[4, 53] Operation: 47+6=53 Exploring Operation: 47+4=51, Resulting Numbers: [6, 51] Generated Node #0,0,1: 57:[6, 51] Operation: 47+4=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[4, 53], Operations: ['76-70=6', '47+6=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[47, 70, 76, 4], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [47, 4, 6] Generated Node #0,0: 57:[47, 4, 6] Operation: 76-70=6 Moving to Node #0,0 Current State: 57:[47, 4, 6], Operations: ['76-70=6'] Exploring Operation: 47+6=53, Resulting Numbers: [4, 53] Generated Node #0,0,0: 57:[4, 53] Operation: 47+6=53 Moving to Node #0,0,0 Current State: 57:[4, 53], Operations: ['76-70=6', '47+6=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 71, 3, 63, 2 ]
61
[ "3+63=66", "2*66=132", "132-71=61" ]
Current State: 61:[71, 3, 63, 2], Operations: [] Exploring Operation: 3+63=66, Resulting Numbers: [71, 2, 66] Generated Node #2: [71, 2, 66] from Operation: 3+63=66 Current State: 61:[71, 2, 66], Operations: ['3+63=66'] Exploring Operation: 2*66=132, Resulting Numbers: [71, 132] Generated Node #3: [71, 132] from Operation: 2*66=132 Current State: 61:[71, 132], Operations: ['3+63=66', '2*66=132'] Exploring Operation: 132-71=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[71, 3, 63, 2], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [71, 3, 61] Generated Node #0,0: 61:[71, 3, 61] Operation: 63-2=61 Exploring Operation: 3*2=6, Resulting Numbers: [71, 63, 6] Generated Node #0,1: 61:[71, 63, 6] Operation: 3*2=6 Exploring Operation: 71-2=69, Resulting Numbers: [3, 63, 69] Generated Node #0,2: 61:[3, 63, 69] Operation: 71-2=69 Exploring Operation: 3+2=5, Resulting Numbers: [71, 63, 5] Generated Node #0,3: 61:[71, 63, 5] Operation: 3+2=5 Exploring Operation: 71-3=68, Resulting Numbers: [63, 2, 68] Generated Node #0,4: 61:[63, 2, 68] Operation: 71-3=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[71, 63, 6], Operations: ['3*2=6'] Exploring Operation: 71-63=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 61:[6, 8] Operation: 71-63=8 Exploring Operation: 71-6=65, Resulting Numbers: [63, 65] Generated Node #0,1,1: 61:[63, 65] Operation: 71-6=65 Exploring Operation: 63-6=57, Resulting Numbers: [71, 57] Generated Node #0,1,2: 61:[71, 57] Operation: 63-6=57 Exploring Operation: 63+6=69, Resulting Numbers: [71, 69] Generated Node #0,1,3: 61:[71, 69] Operation: 63+6=69 Exploring Operation: 71+6=77, Resulting Numbers: [63, 77] Generated Node #0,1,4: 61:[63, 77] Operation: 71+6=77 Moving to Node #0,1,1 Current State: 61:[63, 65], Operations: ['3*2=6', '71-6=65'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,61 unequal: No Solution Moving to Node #0,1,2 Current State: 61:[71, 57], Operations: ['3*2=6', '63-6=57'] Exploring Operation: 71*57=4047, Resulting Numbers: [4047] 4047,61 unequal: No Solution Exploring Operation: 71+57=128, Resulting Numbers: [128] 128,61 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[71, 69], Operations: ['3*2=6', '63+6=69'] Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,61 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,61 unequal: No Solution Moving to Node #0,1,4 Current State: 61:[63, 77], Operations: ['3*2=6', '71+6=77'] Exploring Operation: 63*77=4851, Resulting Numbers: [4851] 4851,61 unequal: No Solution Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 63+77=140, Resulting Numbers: [140] 140,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[6, 8], Operations: ['3*2=6', '71-63=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,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,0 Current State: 61:[71, 3, 61], Operations: ['63-2=61'] Exploring Operation: 61-3=58, Resulting Numbers: [71, 58] Generated Node #0,0,0: 61:[71, 58] Operation: 61-3=58 Exploring Operation: 71-3=68, Resulting Numbers: [61, 68] Generated Node #0,0,1: 61:[61, 68] Operation: 71-3=68 Exploring Operation: 3+61=64, Resulting Numbers: [71, 64] Generated Node #0,0,2: 61:[71, 64] Operation: 3+61=64 Exploring Operation: 71-61=10, Resulting Numbers: [3, 10] Generated Node #0,0,3: 61:[3, 10] Operation: 71-61=10 Exploring Operation: 71+3=74, Resulting Numbers: [61, 74] Generated Node #0,0,4: 61:[61, 74] Operation: 71+3=74 Moving to Node #0,0,1 Current State: 61:[61, 68], Operations: ['63-2=61', '71-3=68'] Exploring Operation: 61+68=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 61*68=4148, Resulting Numbers: [4148] 4148,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[71, 64], Operations: ['63-2=61', '3+61=64'] Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,61 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[71, 58], Operations: ['63-2=61', '61-3=58'] Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,61 unequal: No Solution Moving to Node #0,0,4 Current State: 61:[61, 74], Operations: ['63-2=61', '71+3=74'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 61+74=135, Resulting Numbers: [135] 135,61 unequal: No Solution Exploring Operation: 61*74=4514, Resulting Numbers: [4514] 4514,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[3, 10], Operations: ['63-2=61', '71-61=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,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,2 Current State: 61:[3, 63, 69], Operations: ['71-2=69'] Exploring Operation: 69-3=66, Resulting Numbers: [63, 66] Generated Node #0,2,0: 61:[63, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [63, 23] Generated Node #0,2,1: 61:[63, 23] Operation: 69/3=23 Exploring Operation: 3+63=66, Resulting Numbers: [69, 66] Generated Node #0,2,2: 61:[69, 66] Operation: 3+63=66 Exploring Operation: 3+69=72, Resulting Numbers: [63, 72] Generated Node #0,2,3: 61:[63, 72] Operation: 3+69=72 Exploring Operation: 63-3=60, Resulting Numbers: [69, 60] Generated Node #0,2,4: 61:[69, 60] Operation: 63-3=60 Moving to Node #0,2,0 Current State: 61:[63, 66], Operations: ['71-2=69', '69-3=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,61 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[69, 60], Operations: ['71-2=69', '63-3=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[69, 66], Operations: ['71-2=69', '3+63=66'] Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,61 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,61 unequal: No Solution Moving to Node #0,2,3 Current State: 61:[63, 72], Operations: ['71-2=69', '3+69=72'] Exploring Operation: 63*72=4536, Resulting Numbers: [4536] 4536,61 unequal: No Solution Exploring Operation: 63+72=135, Resulting Numbers: [135] 135,61 unequal: No Solution Exploring Operation: 72-63=9, Resulting Numbers: [9] 9,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[63, 23], Operations: ['71-2=69', '69/3=23'] Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,61 unequal: No Solution Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,61 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 61:[71, 63, 5], Operations: ['3+2=5'] Exploring Operation: 63-5=58, Resulting Numbers: [71, 58] Generated Node #0,3,0: 61:[71, 58] Operation: 63-5=58 Exploring Operation: 71+5=76, Resulting Numbers: [63, 76] Generated Node #0,3,1: 61:[63, 76] Operation: 71+5=76 Exploring Operation: 63+5=68, Resulting Numbers: [71, 68] Generated Node #0,3,2: 61:[71, 68] Operation: 63+5=68 Exploring Operation: 71-63=8, Resulting Numbers: [5, 8] Generated Node #0,3,3: 61:[5, 8] Operation: 71-63=8 Exploring Operation: 71-5=66, Resulting Numbers: [63, 66] Generated Node #0,3,4: 61:[63, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 61:[63, 66], Operations: ['3+2=5', '71-5=66'] Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 61:[71, 58], Operations: ['3+2=5', '63-5=58'] Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,61 unequal: No Solution Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 61:[63, 76], Operations: ['3+2=5', '71+5=76'] Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,61 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 61:[71, 68], Operations: ['3+2=5', '63+5=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,61 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 61:[5, 8], Operations: ['3+2=5', '71-63=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 61:[63, 2, 68], Operations: ['71-3=68'] Exploring Operation: 68-2=66, Resulting Numbers: [63, 66] Generated Node #0,4,0: 61:[63, 66] Operation: 68-2=66 Exploring Operation: 63+2=65, Resulting Numbers: [68, 65] Generated Node #0,4,1: 61:[68, 65] Operation: 63+2=65 Exploring Operation: 2+68=70, Resulting Numbers: [63, 70] Generated Node #0,4,2: 61:[63, 70] Operation: 2+68=70 Exploring Operation: 68/2=34, Resulting Numbers: [63, 34] Generated Node #0,4,3: 61:[63, 34] Operation: 68/2=34 Exploring Operation: 63-2=61, Resulting Numbers: [68, 61] Generated Node #0,4,4: 61:[68, 61] Operation: 63-2=61 Moving to Node #0,4,0 Current State: 61:[63, 66], Operations: ['71-3=68', '68-2=66'] Exploring Operation: 66-63=3, Resulting Numbers: [3] 3,61 unequal: No Solution Exploring Operation: 63+66=129, Resulting Numbers: [129] 129,61 unequal: No Solution Exploring Operation: 63*66=4158, Resulting Numbers: [4158] 4158,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[68, 61], Operations: ['71-3=68', '63-2=61'] Exploring Operation: 68-61=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 68*61=4148, Resulting Numbers: [4148] 4148,61 unequal: No Solution Exploring Operation: 68+61=129, Resulting Numbers: [129] 129,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[68, 65], Operations: ['71-3=68', '63+2=65'] Exploring Operation: 68+65=133, Resulting Numbers: [133] 133,61 unequal: No Solution Exploring Operation: 68*65=4420, Resulting Numbers: [4420] 4420,61 unequal: No Solution Exploring Operation: 68-65=3, Resulting Numbers: [3] 3,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[63, 70], Operations: ['71-3=68', '2+68=70'] Exploring Operation: 63*70=4410, Resulting Numbers: [4410] 4410,61 unequal: No Solution Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 63+70=133, Resulting Numbers: [133] 133,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[63, 34], Operations: ['71-3=68', '68/2=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 63+34=97, Resulting Numbers: [97] 97,61 unequal: No Solution Exploring Operation: 63*34=2142, Resulting Numbers: [2142] 2142,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 23, 86, 91, 42 ]
24
[ "23+86=109", "91+42=133", "133-109=24" ]
Current State: 24:[23, 86, 91, 42], Operations: [] Exploring Operation: 23+86=109, Resulting Numbers: [91, 42, 109] Generated Node #2: [91, 42, 109] from Operation: 23+86=109 Current State: 24:[91, 42, 109], Operations: ['23+86=109'] Exploring Operation: 91+42=133, Resulting Numbers: [109, 133] Generated Node #3: [109, 133] from Operation: 91+42=133 Current State: 24:[109, 133], Operations: ['23+86=109', '91+42=133'] Exploring Operation: 133-109=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[23, 86, 91, 42], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [23, 91, 44] Generated Node #0,0: 24:[23, 91, 44] Operation: 86-42=44 Exploring Operation: 91-86=5, Resulting Numbers: [23, 42, 5] Generated Node #0,1: 24:[23, 42, 5] Operation: 91-86=5 Exploring Operation: 91-42=49, Resulting Numbers: [23, 86, 49] Generated Node #0,2: 24:[23, 86, 49] Operation: 91-42=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[23, 42, 5], Operations: ['91-86=5'] Exploring Operation: 23+5=28, Resulting Numbers: [42, 28] Generated Node #0,1,0: 24:[42, 28] Operation: 23+5=28 Exploring Operation: 42-23=19, Resulting Numbers: [5, 19] Generated Node #0,1,1: 24:[5, 19] Operation: 42-23=19 Exploring Operation: 42-5=37, Resulting Numbers: [23, 37] Generated Node #0,1,2: 24:[23, 37] Operation: 42-5=37 Moving to Node #0,1,1 Current State: 24:[5, 19], Operations: ['91-86=5', '42-23=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[23, 86, 91, 42], Operations: [] Exploring Operation: 91-86=5, Resulting Numbers: [23, 42, 5] Generated Node #0,1: 24:[23, 42, 5] Operation: 91-86=5 Moving to Node #0,1 Current State: 24:[23, 42, 5], Operations: ['91-86=5'] Exploring Operation: 42-23=19, Resulting Numbers: [5, 19] Generated Node #0,1,1: 24:[5, 19] Operation: 42-23=19 Moving to Node #0,1,1 Current State: 24:[5, 19], Operations: ['91-86=5', '42-23=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 55, 36, 6, 48 ]
69
[ "36+48=84", "84/6=14", "55+14=69" ]
Current State: 69:[55, 36, 6, 48], Operations: [] Exploring Operation: 36+48=84, Resulting Numbers: [55, 6, 84] Generated Node #2: [55, 6, 84] from Operation: 36+48=84 Current State: 69:[55, 6, 84], Operations: ['36+48=84'] Exploring Operation: 84/6=14, Resulting Numbers: [55, 14] Generated Node #3: [55, 14] from Operation: 84/6=14 Current State: 69:[55, 14], Operations: ['36+48=84', '84/6=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[55, 36, 6, 48], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [36, 6, 7] Generated Node #0,0: 69:[36, 6, 7] Operation: 55-48=7 Moving to Node #0,0 Current State: 69:[36, 6, 7], Operations: ['55-48=7'] Exploring Operation: 36/6=6, Resulting Numbers: [7, 6] Generated Node #0,0,0: 69:[7, 6] Operation: 36/6=6 Moving to Node #0,0,0 Current State: 69:[7, 6], Operations: ['55-48=7', '36/6=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 3, 16, 98, 23 ]
45
[ "3*23=69", "16+98=114", "114-69=45" ]
Current State: 45:[3, 16, 98, 23], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [16, 98, 69] Generated Node #2: [16, 98, 69] from Operation: 3*23=69 Current State: 45:[16, 98, 69], Operations: ['3*23=69'] Exploring Operation: 16+98=114, Resulting Numbers: [69, 114] Generated Node #3: [69, 114] from Operation: 16+98=114 Current State: 45:[69, 114], Operations: ['3*23=69', '16+98=114'] Exploring Operation: 114-69=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 16, 98, 23], Operations: [] Exploring Operation: 23-16=7, Resulting Numbers: [3, 98, 7] Generated Node #0,0: 45:[3, 98, 7] Operation: 23-16=7 Exploring Operation: 98-23=75, Resulting Numbers: [3, 16, 75] Generated Node #0,1: 45:[3, 16, 75] Operation: 98-23=75 Exploring Operation: 98-16=82, Resulting Numbers: [3, 23, 82] Generated Node #0,2: 45:[3, 23, 82] Operation: 98-16=82 Moving to Node #0,1 Current State: 45:[3, 16, 75], Operations: ['98-23=75'] Exploring Operation: 75/3=25, Resulting Numbers: [16, 25] Generated Node #0,1,0: 45:[16, 25] Operation: 75/3=25 Exploring Operation: 75-16=59, Resulting Numbers: [3, 59] Generated Node #0,1,1: 45:[3, 59] Operation: 75-16=59 Exploring Operation: 75-3=72, Resulting Numbers: [16, 72] Generated Node #0,1,2: 45:[16, 72] Operation: 75-3=72 Moving to Node #0,2 Current State: 45:[3, 23, 82], Operations: ['98-16=82'] Exploring Operation: 82-23=59, Resulting Numbers: [3, 59] Generated Node #0,2,0: 45:[3, 59] Operation: 82-23=59 Exploring Operation: 23-3=20, Resulting Numbers: [82, 20] Generated Node #0,2,1: 45:[82, 20] Operation: 23-3=20 Exploring Operation: 82-3=79, Resulting Numbers: [23, 79] Generated Node #0,2,2: 45:[23, 79] Operation: 82-3=79 Moving to Node #0,0 Current State: 45:[3, 98, 7], Operations: ['23-16=7'] Exploring Operation: 98-7=91, Resulting Numbers: [3, 91] Generated Node #0,0,0: 45:[3, 91] Operation: 98-7=91 Exploring Operation: 98-3=95, Resulting Numbers: [7, 95] Generated Node #0,0,1: 45:[7, 95] Operation: 98-3=95 Exploring Operation: 98/7=14, Resulting Numbers: [3, 14] Generated Node #0,0,2: 45:[3, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[3, 14], Operations: ['23-16=7', '98/7=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,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:[3, 91], Operations: ['23-16=7', '98-7=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,45 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,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:[7, 95], Operations: ['23-16=7', '98-3=95'] Exploring Operation: 7*95=665, Resulting Numbers: [665] 665,45 unequal: No Solution Exploring Operation: 95-7=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 7+95=102, Resulting Numbers: [102] 102,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 45:[16, 25], Operations: ['98-23=75', '75/3=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[3, 59], Operations: ['98-23=75', '75-16=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[3, 59], Operations: ['98-16=82', '82-23=59'] Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,45 unequal: No Solution Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[16, 72], Operations: ['98-23=75', '75-3=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[23, 79], Operations: ['98-16=82', '82-3=79'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,45 unequal: No Solution Exploring Operation: 23*79=1817, Resulting Numbers: [1817] 1817,45 unequal: No Solution Exploring Operation: 23+79=102, Resulting Numbers: [102] 102,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[82, 20], Operations: ['98-16=82', '23-3=20'] Exploring Operation: 82+20=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 82*20=1640, Resulting Numbers: [1640] 1640,45 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 48, 70, 25, 18 ]
58
[ "25-18=7", "70/7=10", "48+10=58" ]
Current State: 58:[48, 70, 25, 18], Operations: [] Exploring Operation: 25-18=7, Resulting Numbers: [48, 70, 7] Generated Node #2: [48, 70, 7] from Operation: 25-18=7 Current State: 58:[48, 70, 7], Operations: ['25-18=7'] Exploring Operation: 70/7=10, Resulting Numbers: [48, 10] Generated Node #3: [48, 10] from Operation: 70/7=10 Current State: 58:[48, 10], Operations: ['25-18=7', '70/7=10'] Exploring Operation: 48+10=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[48, 70, 25, 18], Operations: [] Exploring Operation: 48-18=30, Resulting Numbers: [70, 25, 30] Generated Node #0,0: 58:[70, 25, 30] Operation: 48-18=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[70, 25, 30], Operations: ['48-18=30'] Exploring Operation: 70-25=45, Resulting Numbers: [30, 45] Generated Node #0,0,0: 58:[30, 45] Operation: 70-25=45 Moving to Node #0,0,0 Current State: 58:[30, 45], Operations: ['48-18=30', '70-25=45'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 5, 5, 26, 80 ]
42
[ "5*26=130", "80+130=210", "210/5=42" ]
Current State: 42:[5, 5, 26, 80], Operations: [] Exploring Operation: 5*26=130, Resulting Numbers: [80, 130] Generated Node #2: [80, 130] from Operation: 5*26=130 Current State: 42:[80, 130], Operations: ['5*26=130'] Exploring Operation: 80+130=210, Resulting Numbers: [210] 210,42 equal: Goal Reached Exploring Operation: 210/5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 5, 26, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [5, 26, 16] Generated Node #0,0: 42:[5, 26, 16] Operation: 80/5=16 Exploring Operation: 80/5=16, Resulting Numbers: [5, 26, 16] Generated Node #0,1: 42:[5, 26, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[5, 26, 16], Operations: ['80/5=16'] Exploring Operation: 26+16=42, Resulting Numbers: [5, 42] Generated Node #0,0,0: 42:[5, 42] Operation: 26+16=42 Exploring Operation: 26-5=21, Resulting Numbers: [16, 21] Generated Node #0,0,1: 42:[16, 21] Operation: 26-5=21 Moving to Node #0,0,0 Current State: 42:[5, 42], Operations: ['80/5=16', '26+16=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,42 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[16, 21], Operations: ['80/5=16', '26-5=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[5, 26, 16], Operations: ['80/5=16'] Exploring Operation: 26-5=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 42:[16, 21] Operation: 26-5=21 Exploring Operation: 26+16=42, Resulting Numbers: [5, 42] Generated Node #0,1,1: 42:[5, 42] Operation: 26+16=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[5, 42], Operations: ['80/5=16', '26+16=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,42 unequal: No Solution No 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: 42:[16, 21], Operations: ['80/5=16', '26-5=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,42 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
[ 92, 51, 2, 82 ]
30
[ "82-51=31", "2*31=62", "92-62=30" ]
Current State: 30:[92, 51, 2, 82], Operations: [] Exploring Operation: 82-51=31, Resulting Numbers: [92, 2, 31] Generated Node #2: [92, 2, 31] from Operation: 82-51=31 Current State: 30:[92, 2, 31], Operations: ['82-51=31'] Exploring Operation: 2*31=62, Resulting Numbers: [92, 62] Generated Node #3: [92, 62] from Operation: 2*31=62 Current State: 30:[92, 62], Operations: ['82-51=31', '2*31=62'] Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[92, 51, 2, 82], Operations: [] Exploring Operation: 92-51=41, Resulting Numbers: [2, 82, 41] Generated Node #0,0: 30:[2, 82, 41] Operation: 92-51=41 Exploring Operation: 92-82=10, Resulting Numbers: [51, 2, 10] Generated Node #0,1: 30:[51, 2, 10] Operation: 92-82=10 Exploring Operation: 82-51=31, Resulting Numbers: [92, 2, 31] Generated Node #0,2: 30:[92, 2, 31] Operation: 82-51=31 Exploring Operation: 92/2=46, Resulting Numbers: [51, 82, 46] Generated Node #0,3: 30:[51, 82, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[51, 2, 10], Operations: ['92-82=10'] Exploring Operation: 10/2=5, Resulting Numbers: [51, 5] Generated Node #0,1,0: 30:[51, 5] Operation: 10/2=5 Exploring Operation: 51-10=41, Resulting Numbers: [2, 41] Generated Node #0,1,1: 30:[2, 41] Operation: 51-10=41 Exploring Operation: 51-2=49, Resulting Numbers: [10, 49] Generated Node #0,1,2: 30:[10, 49] Operation: 51-2=49 Exploring Operation: 51+2=53, Resulting Numbers: [10, 53] Generated Node #0,1,3: 30:[10, 53] Operation: 51+2=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[2, 41], Operations: ['92-82=10', '51-10=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[10, 49], Operations: ['92-82=10', '51-2=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,30 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[51, 5], Operations: ['92-82=10', '10/2=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,30 unequal: No Solution Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,30 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 30:[10, 53], Operations: ['92-82=10', '51+2=53'] Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 10*53=530, Resulting Numbers: [530] 530,30 unequal: No Solution Exploring Operation: 10+53=63, Resulting Numbers: [63] 63,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[2, 82, 41], Operations: ['92-51=41'] Exploring Operation: 82-41=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 30:[2, 41] Operation: 82-41=41 Exploring Operation: 82/2=41, Resulting Numbers: [41, 41] Generated Node #0,0,1: 30:[41, 41] Operation: 82/2=41 Exploring Operation: 82/41=2, Resulting Numbers: [2, 2] Generated Node #0,0,2: 30:[2, 2] Operation: 82/41=2 Exploring Operation: 82-2=80, Resulting Numbers: [41, 80] Generated Node #0,0,3: 30:[41, 80] Operation: 82-2=80 Moving to Node #0,0,2 Current State: 30:[2, 2], Operations: ['92-51=41', '82/41=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[2, 41], Operations: ['92-51=41', '82-41=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[41, 41], Operations: ['92-51=41', '82/2=41'] Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,30 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[41, 80], Operations: ['92-51=41', '82-2=80'] Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,30 unequal: No Solution Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 30:[92, 2, 31], Operations: ['82-51=31'] Exploring Operation: 31-2=29, Resulting Numbers: [92, 29] Generated Node #0,2,0: 30:[92, 29] Operation: 31-2=29 Exploring Operation: 92/2=46, Resulting Numbers: [31, 46] Generated Node #0,2,1: 30:[31, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [31, 90] Generated Node #0,2,2: 30:[31, 90] Operation: 92-2=90 Exploring Operation: 92-31=61, Resulting Numbers: [2, 61] Generated Node #0,2,3: 30:[2, 61] Operation: 92-31=61 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[31, 46], Operations: ['82-51=31', '92/2=46'] Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,30 unequal: No Solution Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 30:[2, 61], Operations: ['82-51=31', '92-31=61'] Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 30:[31, 90], Operations: ['82-51=31', '92-2=90'] Exploring Operation: 90-31=59, Resulting Numbers: [59] 59,30 unequal: No Solution Exploring Operation: 31+90=121, Resulting Numbers: [121] 121,30 unequal: No Solution Exploring Operation: 31*90=2790, Resulting Numbers: [2790] 2790,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 30:[92, 29], Operations: ['82-51=31', '31-2=29'] Exploring Operation: 92*29=2668, Resulting Numbers: [2668] 2668,30 unequal: No Solution Exploring Operation: 92-29=63, Resulting Numbers: [63] 63,30 unequal: No Solution Exploring Operation: 92+29=121, Resulting Numbers: [121] 121,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[51, 82, 46], Operations: ['92/2=46'] Exploring Operation: 82-46=36, Resulting Numbers: [51, 36] Generated Node #0,3,0: 30:[51, 36] Operation: 82-46=36 Exploring Operation: 51+82=133, Resulting Numbers: [46, 133] Generated Node #0,3,1: 30:[46, 133] Operation: 51+82=133 Exploring Operation: 51-46=5, Resulting Numbers: [82, 5] Generated Node #0,3,2: 30:[82, 5] Operation: 51-46=5 Exploring Operation: 82-51=31, Resulting Numbers: [46, 31] Generated Node #0,3,3: 30:[46, 31] Operation: 82-51=31 Moving to Node #0,3,3 Current State: 30:[46, 31], Operations: ['92/2=46', '82-51=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,30 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[51, 36], Operations: ['92/2=46', '82-46=36'] Exploring Operation: 51*36=1836, Resulting Numbers: [1836] 1836,30 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[82, 5], Operations: ['92/2=46', '51-46=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,30 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[46, 133], Operations: ['92/2=46', '51+82=133'] Exploring Operation: 46*133=6118, Resulting Numbers: [6118] 6118,30 unequal: No Solution Exploring Operation: 46+133=179, Resulting Numbers: [179] 179,30 unequal: No Solution Exploring Operation: 133-46=87, Resulting Numbers: [87] 87,30 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
[ 53, 54, 43, 4 ]
68
[ "53+54=107", "43-4=39", "107-39=68" ]
Current State: 68:[53, 54, 43, 4], Operations: [] Exploring Operation: 53+54=107, Resulting Numbers: [43, 4, 107] Generated Node #2: [43, 4, 107] from Operation: 53+54=107 Current State: 68:[43, 4, 107], Operations: ['53+54=107'] Exploring Operation: 43-4=39, Resulting Numbers: [107, 39] Generated Node #3: [107, 39] from Operation: 43-4=39 Current State: 68:[107, 39], Operations: ['53+54=107', '43-4=39'] Exploring Operation: 107-39=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[53, 54, 43, 4], Operations: [] Exploring Operation: 53+4=57, Resulting Numbers: [54, 43, 57] Generated Node #0,0: 68:[54, 43, 57] Operation: 53+4=57 Exploring Operation: 53-43=10, Resulting Numbers: [54, 4, 10] Generated Node #0,1: 68:[54, 4, 10] Operation: 53-43=10 Exploring Operation: 54-53=1, Resulting Numbers: [43, 4, 1] Generated Node #0,2: 68:[43, 4, 1] Operation: 54-53=1 Exploring Operation: 54-43=11, Resulting Numbers: [53, 4, 11] Generated Node #0,3: 68:[53, 4, 11] Operation: 54-43=11 Exploring Operation: 54+4=58, Resulting Numbers: [53, 43, 58] Generated Node #0,4: 68:[53, 43, 58] Operation: 54+4=58 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[43, 4, 1], Operations: ['54-53=1'] Exploring Operation: 43-1=42, Resulting Numbers: [4, 42] Generated Node #0,2,0: 68:[4, 42] Operation: 43-1=42 Exploring Operation: 43/1=43, Resulting Numbers: [4, 43] Generated Node #0,2,1: 68:[4, 43] Operation: 43/1=43 Exploring Operation: 43-4=39, Resulting Numbers: [1, 39] Generated Node #0,2,2: 68:[1, 39] Operation: 43-4=39 Exploring Operation: 4*1=4, Resulting Numbers: [43, 4] Generated Node #0,2,3: 68:[43, 4] Operation: 4*1=4 Exploring Operation: 43*1=43, Resulting Numbers: [4, 43] Generated Node #0,2,4: 68:[4, 43] Operation: 43*1=43 Moving to Node #0,2,2 Current State: 68:[1, 39], Operations: ['54-53=1', '43-4=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[4, 42], Operations: ['54-53=1', '43-1=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,68 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[4, 43], Operations: ['54-53=1', '43/1=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,68 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,68 unequal: No Solution Moving to Node #0,2,3 Current State: 68:[43, 4], Operations: ['54-53=1', '4*1=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,68 unequal: No Solution Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[4, 43], Operations: ['54-53=1', '43*1=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,68 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[54, 4, 10], Operations: ['53-43=10'] Exploring Operation: 54+10=64, Resulting Numbers: [4, 64] Generated Node #0,1,0: 68:[4, 64] Operation: 54+10=64 Exploring Operation: 10-4=6, Resulting Numbers: [54, 6] Generated Node #0,1,1: 68:[54, 6] Operation: 10-4=6 Exploring Operation: 54-10=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 68:[4, 44] Operation: 54-10=44 Exploring Operation: 4+10=14, Resulting Numbers: [54, 14] Generated Node #0,1,3: 68:[54, 14] Operation: 4+10=14 Exploring Operation: 54+4=58, Resulting Numbers: [10, 58] Generated Node #0,1,4: 68:[10, 58] Operation: 54+4=58 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[4, 64], Operations: ['53-43=10', '54+10=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[53, 54, 43, 4], Operations: [] Exploring Operation: 53-43=10, Resulting Numbers: [54, 4, 10] Generated Node #0,1: 68:[54, 4, 10] Operation: 53-43=10 Moving to Node #0,1 Current State: 68:[54, 4, 10], Operations: ['53-43=10'] Exploring Operation: 54+10=64, Resulting Numbers: [4, 64] Generated Node #0,1,0: 68:[4, 64] Operation: 54+10=64 Moving to Node #0,1,0 Current State: 68:[4, 64], Operations: ['53-43=10', '54+10=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 36, 5, 63, 34 ]
29
[ "36-34=2", "63-5=58", "58/2=29" ]
Current State: 29:[36, 5, 63, 34], Operations: [] Exploring Operation: 36-34=2, Resulting Numbers: [5, 63, 2] Generated Node #2: [5, 63, 2] from Operation: 36-34=2 Current State: 29:[5, 63, 2], Operations: ['36-34=2'] Exploring Operation: 63-5=58, Resulting Numbers: [2, 58] Generated Node #3: [2, 58] from Operation: 63-5=58 Current State: 29:[2, 58], Operations: ['36-34=2', '63-5=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[36, 5, 63, 34], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [63, 34, 31] Generated Node #0,0: 29:[63, 34, 31] Operation: 36-5=31 Exploring Operation: 63-34=29, Resulting Numbers: [36, 5, 29] Generated Node #0,1: 29:[36, 5, 29] Operation: 63-34=29 Exploring Operation: 63-36=27, Resulting Numbers: [5, 34, 27] Generated Node #0,2: 29:[5, 34, 27] Operation: 63-36=27 Exploring Operation: 63-5=58, Resulting Numbers: [36, 34, 58] Generated Node #0,3: 29:[36, 34, 58] Operation: 63-5=58 Moving to Node #0,1 Current State: 29:[36, 5, 29], Operations: ['63-34=29'] Exploring Operation: 5+29=34, Resulting Numbers: [36, 34] Generated Node #0,1,0: 29:[36, 34] Operation: 5+29=34 Exploring Operation: 29-5=24, Resulting Numbers: [36, 24] Generated Node #0,1,1: 29:[36, 24] Operation: 29-5=24 Exploring Operation: 36-5=31, Resulting Numbers: [29, 31] Generated Node #0,1,2: 29:[29, 31] Operation: 36-5=31 Exploring Operation: 36+5=41, Resulting Numbers: [29, 41] Generated Node #0,1,3: 29:[29, 41] Operation: 36+5=41 Moving to Node #0,2 Current State: 29:[5, 34, 27], Operations: ['63-36=27'] Exploring Operation: 5+34=39, Resulting Numbers: [27, 39] Generated Node #0,2,0: 29:[27, 39] Operation: 5+34=39 Exploring Operation: 27-5=22, Resulting Numbers: [34, 22] Generated Node #0,2,1: 29:[34, 22] Operation: 27-5=22 Exploring Operation: 34-5=29, Resulting Numbers: [27, 29] Generated Node #0,2,2: 29:[27, 29] Operation: 34-5=29 Exploring Operation: 5+27=32, Resulting Numbers: [34, 32] Generated Node #0,2,3: 29:[34, 32] Operation: 5+27=32 Moving to Node #0,3 Current State: 29:[36, 34, 58], Operations: ['63-5=58'] Exploring Operation: 58-34=24, Resulting Numbers: [36, 24] Generated Node #0,3,0: 29:[36, 24] Operation: 58-34=24 Exploring Operation: 36+34=70, Resulting Numbers: [58, 70] Generated Node #0,3,1: 29:[58, 70] Operation: 36+34=70 Exploring Operation: 58-36=22, Resulting Numbers: [34, 22] Generated Node #0,3,2: 29:[34, 22] Operation: 58-36=22 Exploring Operation: 36-34=2, Resulting Numbers: [58, 2] Generated Node #0,3,3: 29:[58, 2] Operation: 36-34=2 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[36, 24], Operations: ['63-5=58', '58-34=24'] Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,29 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,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,2 Current State: 29:[34, 22], Operations: ['63-5=58', '58-36=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,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,3 Current State: 29:[58, 2], Operations: ['63-5=58', '36-34=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,29 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[36, 5, 63, 34], Operations: [] Exploring Operation: 63-5=58, Resulting Numbers: [36, 34, 58] Generated Node #0,3: 29:[36, 34, 58] Operation: 63-5=58 Moving to Node #0,3 Current State: 29:[36, 34, 58], Operations: ['63-5=58'] Exploring Operation: 36-34=2, Resulting Numbers: [58, 2] Generated Node #0,3,3: 29:[58, 2] Operation: 36-34=2 Moving to Node #0,3,3 Current State: 29:[58, 2], Operations: ['63-5=58', '36-34=2'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic