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
[ 97, 32, 56, 7 ]
63
[ "97-32=65", "65-56=9", "7*9=63" ]
Current State: 63:[97, 32, 56, 7], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [56, 7, 65] Generated Node #2: [56, 7, 65] from Operation: 97-32=65 Current State: 63:[56, 7, 65], Operations: ['97-32=65'] Exploring Operation: 65-56=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 65-56=9 Current State: 63:[7, 9], Operations: ['97-32=65', '65-56=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[97, 32, 56, 7], Operations: [] Exploring Operation: 56-32=24, Resulting Numbers: [97, 7, 24] Generated Node #0,0: 63:[97, 7, 24] Operation: 56-32=24 Exploring Operation: 97-56=41, Resulting Numbers: [32, 7, 41] Generated Node #0,1: 63:[32, 7, 41] Operation: 97-56=41 Exploring Operation: 97-7=90, Resulting Numbers: [32, 56, 90] Generated Node #0,2: 63:[32, 56, 90] Operation: 97-7=90 Exploring Operation: 97-32=65, Resulting Numbers: [56, 7, 65] Generated Node #0,3: 63:[56, 7, 65] Operation: 97-32=65 Exploring Operation: 32-7=25, Resulting Numbers: [97, 56, 25] Generated Node #0,4: 63:[97, 56, 25] Operation: 32-7=25 Moving to Node #0,3 Current State: 63:[56, 7, 65], Operations: ['97-32=65'] Exploring Operation: 65-7=58, Resulting Numbers: [56, 58] Generated Node #0,3,0: 63:[56, 58] Operation: 65-7=58 Exploring Operation: 65-56=9, Resulting Numbers: [7, 9] Generated Node #0,3,1: 63:[7, 9] Operation: 65-56=9 Exploring Operation: 56+7=63, Resulting Numbers: [65, 63] Generated Node #0,3,2: 63:[65, 63] Operation: 56+7=63 Exploring Operation: 56-7=49, Resulting Numbers: [65, 49] Generated Node #0,3,3: 63:[65, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [65, 8] Generated Node #0,3,4: 63:[65, 8] Operation: 56/7=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[7, 9], Operations: ['97-32=65', '65-56=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[97, 32, 56, 7], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [56, 7, 65] Generated Node #0,3: 63:[56, 7, 65] Operation: 97-32=65 Moving to Node #0,3 Current State: 63:[56, 7, 65], Operations: ['97-32=65'] Exploring Operation: 65-56=9, Resulting Numbers: [7, 9] Generated Node #0,3,1: 63:[7, 9] Operation: 65-56=9 Moving to Node #0,3,1 Current State: 63:[7, 9], Operations: ['97-32=65', '65-56=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 15, 74, 67, 67 ]
74
[ "67-67=0", "15*0=0", "74+0=74" ]
Current State: 74:[15, 74, 67, 67], Operations: [] Exploring Operation: 67-67=0, Resulting Numbers: [15, 74, 0] Generated Node #2: [15, 74, 0] from Operation: 67-67=0 Current State: 74:[15, 74, 0], Operations: ['67-67=0'] Exploring Operation: 15*0=0, Resulting Numbers: [74, 0] Generated Node #3: [74, 0] from Operation: 15*0=0 Current State: 74:[74, 0], Operations: ['67-67=0', '15*0=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[15, 74, 67, 67], Operations: [] Exploring Operation: 15+67=82, Resulting Numbers: [74, 67, 82] Generated Node #0,0: 74:[74, 67, 82] Operation: 15+67=82 Exploring Operation: 67-67=0, Resulting Numbers: [15, 74, 0] Generated Node #0,1: 74:[15, 74, 0] Operation: 67-67=0 Exploring Operation: 15+67=82, Resulting Numbers: [74, 67, 82] Generated Node #0,2: 74:[74, 67, 82] Operation: 15+67=82 Exploring Operation: 67/67=1, Resulting Numbers: [15, 74, 1] Generated Node #0,3: 74:[15, 74, 1] Operation: 67/67=1 Moving to Node #0,3 Current State: 74:[15, 74, 1], Operations: ['67/67=1'] Exploring Operation: 15/1=15, Resulting Numbers: [74, 15] Generated Node #0,3,0: 74:[74, 15] Operation: 15/1=15 Exploring Operation: 15-1=14, Resulting Numbers: [74, 14] Generated Node #0,3,1: 74:[74, 14] Operation: 15-1=14 Exploring Operation: 74*1=74, Resulting Numbers: [15, 74] Generated Node #0,3,2: 74:[15, 74] Operation: 74*1=74 Exploring Operation: 15*1=15, Resulting Numbers: [74, 15] Generated Node #0,3,3: 74:[74, 15] Operation: 15*1=15 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[74, 14], Operations: ['67/67=1', '15-1=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,74 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,74 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[74, 15], Operations: ['67/67=1', '15/1=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,74 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[15, 74], Operations: ['67/67=1', '74*1=74'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,74 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[74, 15], Operations: ['67/67=1', '15*1=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,74 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,74 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,74 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: 74:[15, 74, 0], Operations: ['67-67=0'] Exploring Operation: 74+0=74, Resulting Numbers: [15, 74] Generated Node #0,1,0: 74:[15, 74] Operation: 74+0=74 Exploring Operation: 15-0=15, Resulting Numbers: [74, 15] Generated Node #0,1,1: 74:[74, 15] Operation: 15-0=15 Exploring Operation: 15+0=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 74:[74, 15] Operation: 15+0=15 Exploring Operation: 15*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,3: 74:[74, 0] Operation: 15*0=0 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[74, 0], Operations: ['67-67=0', '15*0=0'] Exploring Operation: 74*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[15, 74, 67, 67], Operations: [] Exploring Operation: 67-67=0, Resulting Numbers: [15, 74, 0] Generated Node #0,1: 74:[15, 74, 0] Operation: 67-67=0 Moving to Node #0,1 Current State: 74:[15, 74, 0], Operations: ['67-67=0'] Exploring Operation: 15*0=0, Resulting Numbers: [74, 0] Generated Node #0,1,3: 74:[74, 0] Operation: 15*0=0 Moving to Node #0,1,3 Current State: 74:[74, 0], Operations: ['67-67=0', '15*0=0'] Exploring Operation: 74+0=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 39, 25, 33, 40 ]
59
[ "39-25=14", "33+40=73", "73-14=59" ]
Current State: 59:[39, 25, 33, 40], Operations: [] Exploring Operation: 39-25=14, Resulting Numbers: [33, 40, 14] Generated Node #2: [33, 40, 14] from Operation: 39-25=14 Current State: 59:[33, 40, 14], Operations: ['39-25=14'] Exploring Operation: 33+40=73, Resulting Numbers: [14, 73] Generated Node #3: [14, 73] from Operation: 33+40=73 Current State: 59:[14, 73], Operations: ['39-25=14', '33+40=73'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[39, 25, 33, 40], Operations: [] Exploring Operation: 39+25=64, Resulting Numbers: [33, 40, 64] Generated Node #0,0: 59:[33, 40, 64] Operation: 39+25=64 Exploring Operation: 25+33=58, Resulting Numbers: [39, 40, 58] Generated Node #0,1: 59:[39, 40, 58] Operation: 25+33=58 Exploring Operation: 25+40=65, Resulting Numbers: [39, 33, 65] Generated Node #0,2: 59:[39, 33, 65] Operation: 25+40=65 Moving to Node #0,1 Current State: 59:[39, 40, 58], Operations: ['25+33=58'] Exploring Operation: 39+58=97, Resulting Numbers: [40, 97] Generated Node #0,1,0: 59:[40, 97] Operation: 39+58=97 Exploring Operation: 40-39=1, Resulting Numbers: [58, 1] Generated Node #0,1,1: 59:[58, 1] Operation: 40-39=1 Exploring Operation: 39+40=79, Resulting Numbers: [58, 79] Generated Node #0,1,2: 59:[58, 79] Operation: 39+40=79 Moving to Node #0,0 Current State: 59:[33, 40, 64], Operations: ['39+25=64'] Exploring Operation: 33+40=73, Resulting Numbers: [64, 73] Generated Node #0,0,0: 59:[64, 73] Operation: 33+40=73 Exploring Operation: 64-33=31, Resulting Numbers: [40, 31] Generated Node #0,0,1: 59:[40, 31] Operation: 64-33=31 Exploring Operation: 40-33=7, Resulting Numbers: [64, 7] Generated Node #0,0,2: 59:[64, 7] Operation: 40-33=7 Moving to Node #0,2 Current State: 59:[39, 33, 65], Operations: ['25+40=65'] Exploring Operation: 65-33=32, Resulting Numbers: [39, 32] Generated Node #0,2,0: 59:[39, 32] Operation: 65-33=32 Exploring Operation: 39+33=72, Resulting Numbers: [65, 72] Generated Node #0,2,1: 59:[65, 72] Operation: 39+33=72 Exploring Operation: 39-33=6, Resulting Numbers: [65, 6] Generated Node #0,2,2: 59:[65, 6] Operation: 39-33=6 Moving to Node #0,0,0 Current State: 59:[64, 73], Operations: ['39+25=64', '33+40=73'] Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,59 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,59 unequal: No Solution Exploring Operation: 64*73=4672, Resulting Numbers: [4672] 4672,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[65, 72], Operations: ['25+40=65', '39+33=72'] Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,59 unequal: No Solution Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[58, 79], Operations: ['25+33=58', '39+40=79'] Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,59 unequal: No Solution Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,59 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[40, 31], Operations: ['39+25=64', '64-33=31'] Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,59 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[39, 32], Operations: ['25+40=65', '65-33=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[64, 7], Operations: ['39+25=64', '40-33=7'] Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,59 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[40, 97], Operations: ['25+33=58', '39+58=97'] Exploring Operation: 40*97=3880, Resulting Numbers: [3880] 3880,59 unequal: No Solution Exploring Operation: 40+97=137, Resulting Numbers: [137] 137,59 unequal: No Solution Exploring Operation: 97-40=57, Resulting Numbers: [57] 57,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[65, 6], Operations: ['25+40=65', '39-33=6'] Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,59 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[39, 25, 33, 40], Operations: [] Exploring Operation: 25+40=65, Resulting Numbers: [39, 33, 65] Generated Node #0,2: 59:[39, 33, 65] Operation: 25+40=65 Moving to Node #0,2 Current State: 59:[39, 33, 65], Operations: ['25+40=65'] Exploring Operation: 39-33=6, Resulting Numbers: [65, 6] Generated Node #0,2,2: 59:[65, 6] Operation: 39-33=6 Moving to Node #0,2,2 Current State: 59:[65, 6], Operations: ['25+40=65', '39-33=6'] Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.965278
hs_3
sum_heuristic
[ 48, 72, 64, 14 ]
52
[ "64+14=78", "48*78=3744", "3744/72=52" ]
Current State: 52:[48, 72, 64, 14], Operations: [] Exploring Operation: 64+14=78, Resulting Numbers: [48, 72, 78] Generated Node #2: [48, 72, 78] from Operation: 64+14=78 Current State: 52:[48, 72, 78], Operations: ['64+14=78'] Exploring Operation: 48*78=3744, Resulting Numbers: [72, 3744] Generated Node #3: [72, 3744] from Operation: 48*78=3744 Current State: 52:[72, 3744], Operations: ['64+14=78', '48*78=3744'] Exploring Operation: 3744/72=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[48, 72, 64, 14], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [48, 14, 8] Generated Node #0,0: 52:[48, 14, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[48, 14, 8], Operations: ['72-64=8'] Exploring Operation: 48/8=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 52:[14, 6] Operation: 48/8=6 Moving to Node #0,0,0 Current State: 52:[14, 6], Operations: ['72-64=8', '48/8=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 36, 46, 21 ]
51
[ "52-36=16", "46+21=67", "67-16=51" ]
Current State: 51:[52, 36, 46, 21], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [46, 21, 16] Generated Node #2: [46, 21, 16] from Operation: 52-36=16 Current State: 51:[46, 21, 16], Operations: ['52-36=16'] Exploring Operation: 46+21=67, Resulting Numbers: [16, 67] Generated Node #3: [16, 67] from Operation: 46+21=67 Current State: 51:[16, 67], Operations: ['52-36=16', '46+21=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[52, 36, 46, 21], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [52, 21, 10] Generated Node #0,0: 51:[52, 21, 10] Operation: 46-36=10 Exploring Operation: 36+21=57, Resulting Numbers: [52, 46, 57] Generated Node #0,1: 51:[52, 46, 57] Operation: 36+21=57 Exploring Operation: 36-21=15, Resulting Numbers: [52, 46, 15] Generated Node #0,2: 51:[52, 46, 15] Operation: 36-21=15 Exploring Operation: 52-36=16, Resulting Numbers: [46, 21, 16] Generated Node #0,3: 51:[46, 21, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[52, 46, 15], Operations: ['36-21=15'] Exploring Operation: 46-15=31, Resulting Numbers: [52, 31] Generated Node #0,2,0: 51:[52, 31] Operation: 46-15=31 Exploring Operation: 52-15=37, Resulting Numbers: [46, 37] Generated Node #0,2,1: 51:[46, 37] Operation: 52-15=37 Exploring Operation: 52-46=6, Resulting Numbers: [15, 6] Generated Node #0,2,2: 51:[15, 6] Operation: 52-46=6 Exploring Operation: 46+15=61, Resulting Numbers: [52, 61] Generated Node #0,2,3: 51:[52, 61] Operation: 46+15=61 Moving to Node #0,2,2 Current State: 51:[15, 6], Operations: ['36-21=15', '52-46=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[52, 61], Operations: ['36-21=15', '46+15=61'] Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,51 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[52, 31], Operations: ['36-21=15', '46-15=31'] Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,51 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,51 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[46, 37], Operations: ['36-21=15', '52-15=37'] Exploring Operation: 46*37=1702, Resulting Numbers: [1702] 1702,51 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 46+37=83, Resulting Numbers: [83] 83,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[46, 21, 16], Operations: ['52-36=16'] Exploring Operation: 46-21=25, Resulting Numbers: [16, 25] Generated Node #0,3,0: 51:[16, 25] Operation: 46-21=25 Exploring Operation: 46+16=62, Resulting Numbers: [21, 62] Generated Node #0,3,1: 51:[21, 62] Operation: 46+16=62 Exploring Operation: 46+21=67, Resulting Numbers: [16, 67] Generated Node #0,3,2: 51:[16, 67] Operation: 46+21=67 Exploring Operation: 21-16=5, Resulting Numbers: [46, 5] Generated Node #0,3,3: 51:[46, 5] Operation: 21-16=5 Moving to Node #0,3,3 Current State: 51:[46, 5], Operations: ['52-36=16', '21-16=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[52, 36, 46, 21], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [46, 21, 16] Generated Node #0,3: 51:[46, 21, 16] Operation: 52-36=16 Moving to Node #0,3 Current State: 51:[46, 21, 16], Operations: ['52-36=16'] Exploring Operation: 21-16=5, Resulting Numbers: [46, 5] Generated Node #0,3,3: 51:[46, 5] Operation: 21-16=5 Moving to Node #0,3,3 Current State: 51:[46, 5], Operations: ['52-36=16', '21-16=5'] Exploring Operation: 46+5=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 99, 41, 40, 65 ]
36
[ "99+65=164", "164/41=4", "40-4=36" ]
Current State: 36:[99, 41, 40, 65], Operations: [] Exploring Operation: 99+65=164, Resulting Numbers: [41, 40, 164] Generated Node #2: [41, 40, 164] from Operation: 99+65=164 Current State: 36:[41, 40, 164], Operations: ['99+65=164'] Exploring Operation: 164/41=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 164/41=4 Current State: 36:[40, 4], Operations: ['99+65=164', '164/41=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[99, 41, 40, 65], Operations: [] Exploring Operation: 99-40=59, Resulting Numbers: [41, 65, 59] Generated Node #0,0: 36:[41, 65, 59] Operation: 99-40=59 Exploring Operation: 65-40=25, Resulting Numbers: [99, 41, 25] Generated Node #0,1: 36:[99, 41, 25] Operation: 65-40=25 Exploring Operation: 99-41=58, Resulting Numbers: [40, 65, 58] Generated Node #0,2: 36:[40, 65, 58] Operation: 99-41=58 Exploring Operation: 65-41=24, Resulting Numbers: [99, 40, 24] Generated Node #0,3: 36:[99, 40, 24] Operation: 65-41=24 Exploring Operation: 99-65=34, Resulting Numbers: [41, 40, 34] Generated Node #0,4: 36:[41, 40, 34] Operation: 99-65=34 Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[41, 40, 34], Operations: ['99-65=34'] Exploring Operation: 41-40=1, Resulting Numbers: [34, 1] Generated Node #0,4,0: 36:[34, 1] Operation: 41-40=1 Exploring Operation: 40+34=74, Resulting Numbers: [41, 74] Generated Node #0,4,1: 36:[41, 74] Operation: 40+34=74 Exploring Operation: 41-34=7, Resulting Numbers: [40, 7] Generated Node #0,4,2: 36:[40, 7] Operation: 41-34=7 Exploring Operation: 41+34=75, Resulting Numbers: [40, 75] Generated Node #0,4,3: 36:[40, 75] Operation: 41+34=75 Exploring Operation: 40-34=6, Resulting Numbers: [41, 6] Generated Node #0,4,4: 36:[41, 6] Operation: 40-34=6 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 36:[34, 1], Operations: ['99-65=34', '41-40=1'] Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 36:[40, 7], Operations: ['99-65=34', '41-34=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,36 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 36:[41, 6], Operations: ['99-65=34', '40-34=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,36 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 36:[41, 74], Operations: ['99-65=34', '40+34=74'] Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,36 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 36:[40, 75], Operations: ['99-65=34', '41+34=75'] Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,36 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[40, 65, 58], Operations: ['99-41=58'] Exploring Operation: 40+58=98, Resulting Numbers: [65, 98] Generated Node #0,2,0: 36:[65, 98] Operation: 40+58=98 Exploring Operation: 40+65=105, Resulting Numbers: [58, 105] Generated Node #0,2,1: 36:[58, 105] Operation: 40+65=105 Exploring Operation: 65-40=25, Resulting Numbers: [58, 25] Generated Node #0,2,2: 36:[58, 25] Operation: 65-40=25 Exploring Operation: 65-58=7, Resulting Numbers: [40, 7] Generated Node #0,2,3: 36:[40, 7] Operation: 65-58=7 Exploring Operation: 58-40=18, Resulting Numbers: [65, 18] Generated Node #0,2,4: 36:[65, 18] Operation: 58-40=18 Moving to Node #0,2,3 Current State: 36:[40, 7], Operations: ['99-41=58', '65-58=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,36 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[65, 18], Operations: ['99-41=58', '58-40=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[58, 25], Operations: ['99-41=58', '65-40=25'] Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,36 unequal: No Solution Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,2,0 Current State: 36:[65, 98], Operations: ['99-41=58', '40+58=98'] Exploring Operation: 98-65=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 65+98=163, Resulting Numbers: [163] 163,36 unequal: No Solution Exploring Operation: 65*98=6370, Resulting Numbers: [6370] 6370,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[58, 105], Operations: ['99-41=58', '40+65=105'] Exploring Operation: 105-58=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 58+105=163, Resulting Numbers: [163] 163,36 unequal: No Solution Exploring Operation: 58*105=6090, Resulting Numbers: [6090] 6090,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 Current State: 36:[41, 65, 59], Operations: ['99-40=59'] Exploring Operation: 41+59=100, Resulting Numbers: [65, 100] Generated Node #0,0,0: 36:[65, 100] Operation: 41+59=100 Exploring Operation: 65-41=24, Resulting Numbers: [59, 24] Generated Node #0,0,1: 36:[59, 24] Operation: 65-41=24 Exploring Operation: 65-59=6, Resulting Numbers: [41, 6] Generated Node #0,0,2: 36:[41, 6] Operation: 65-59=6 Exploring Operation: 59-41=18, Resulting Numbers: [65, 18] Generated Node #0,0,3: 36:[65, 18] Operation: 59-41=18 Exploring Operation: 41+65=106, Resulting Numbers: [59, 106] Generated Node #0,0,4: 36:[59, 106] Operation: 41+65=106 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[41, 6], Operations: ['99-40=59', '65-59=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,36 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[59, 24], Operations: ['99-40=59', '65-41=24'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,36 unequal: No Solution Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 36:[65, 18], Operations: ['99-40=59', '59-41=18'] Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,36 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[65, 100], Operations: ['99-40=59', '41+59=100'] Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 65+100=165, Resulting Numbers: [165] 165,36 unequal: No Solution Exploring Operation: 65*100=6500, Resulting Numbers: [6500] 6500,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 36:[59, 106], Operations: ['99-40=59', '41+65=106'] Exploring Operation: 59+106=165, Resulting Numbers: [165] 165,36 unequal: No Solution Exploring Operation: 106-59=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 59*106=6254, Resulting Numbers: [6254] 6254,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[99, 40, 24], Operations: ['65-41=24'] Exploring Operation: 99+24=123, Resulting Numbers: [40, 123] Generated Node #0,3,0: 36:[40, 123] Operation: 99+24=123 Exploring Operation: 99-40=59, Resulting Numbers: [24, 59] Generated Node #0,3,1: 36:[24, 59] Operation: 99-40=59 Exploring Operation: 99-24=75, Resulting Numbers: [40, 75] Generated Node #0,3,2: 36:[40, 75] Operation: 99-24=75 Exploring Operation: 40+24=64, Resulting Numbers: [99, 64] Generated Node #0,3,3: 36:[99, 64] Operation: 40+24=64 Exploring Operation: 40-24=16, Resulting Numbers: [99, 16] Generated Node #0,3,4: 36:[99, 16] Operation: 40-24=16 Moving to Node #0,3,1 Current State: 36:[24, 59], Operations: ['65-41=24', '99-40=59'] Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,36 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[40, 75], Operations: ['65-41=24', '99-24=75'] Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,36 unequal: No Solution Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[99, 16], Operations: ['65-41=24', '40-24=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 99+16=115, Resulting Numbers: [115] 115,36 unequal: No Solution Exploring Operation: 99*16=1584, Resulting Numbers: [1584] 1584,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[40, 123], Operations: ['65-41=24', '99+24=123'] Exploring Operation: 123-40=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 40*123=4920, Resulting Numbers: [4920] 4920,36 unequal: No Solution Exploring Operation: 40+123=163, Resulting Numbers: [163] 163,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[99, 64], Operations: ['65-41=24', '40+24=64'] Exploring Operation: 99+64=163, Resulting Numbers: [163] 163,36 unequal: No Solution Exploring Operation: 99*64=6336, Resulting Numbers: [6336] 6336,36 unequal: No Solution Exploring Operation: 99-64=35, Resulting Numbers: [35] 35,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,1 Current State: 36:[99, 41, 25], Operations: ['65-40=25'] Exploring Operation: 99+25=124, Resulting Numbers: [41, 124] Generated Node #0,1,0: 36:[41, 124] Operation: 99+25=124 Exploring Operation: 99-41=58, Resulting Numbers: [25, 58] Generated Node #0,1,1: 36:[25, 58] Operation: 99-41=58 Exploring Operation: 41+25=66, Resulting Numbers: [99, 66] Generated Node #0,1,2: 36:[99, 66] Operation: 41+25=66 Exploring Operation: 99-25=74, Resulting Numbers: [41, 74] Generated Node #0,1,3: 36:[41, 74] Operation: 99-25=74 Exploring Operation: 41-25=16, Resulting Numbers: [99, 16] Generated Node #0,1,4: 36:[99, 16] Operation: 41-25=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[25, 58], Operations: ['65-40=25', '99-41=58'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,36 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 36:[41, 74], Operations: ['65-40=25', '99-25=74'] Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,36 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 36:[99, 16], Operations: ['65-40=25', '41-25=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 99*16=1584, Resulting Numbers: [1584] 1584,36 unequal: No Solution Exploring Operation: 99+16=115, Resulting Numbers: [115] 115,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[41, 124], Operations: ['65-40=25', '99+25=124'] Exploring Operation: 124-41=83, Resulting Numbers: [83] 83,36 unequal: No Solution Exploring Operation: 41*124=5084, Resulting Numbers: [5084] 5084,36 unequal: No Solution Exploring Operation: 41+124=165, Resulting Numbers: [165] 165,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[99, 66], Operations: ['65-40=25', '41+25=66'] Exploring Operation: 99*66=6534, Resulting Numbers: [6534] 6534,36 unequal: No Solution Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 99+66=165, Resulting Numbers: [165] 165,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_5
sum_heuristic
[ 14, 26, 72, 3 ]
88
[ "14*3=42", "72-26=46", "42+46=88" ]
Current State: 88:[14, 26, 72, 3], Operations: [] Exploring Operation: 14*3=42, Resulting Numbers: [26, 72, 42] Generated Node #2: [26, 72, 42] from Operation: 14*3=42 Current State: 88:[26, 72, 42], Operations: ['14*3=42'] Exploring Operation: 72-26=46, Resulting Numbers: [42, 46] Generated Node #3: [42, 46] from Operation: 72-26=46 Current State: 88:[42, 46], Operations: ['14*3=42', '72-26=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[14, 26, 72, 3], Operations: [] Exploring Operation: 14+72=86, Resulting Numbers: [26, 3, 86] Generated Node #0,0: 88:[26, 3, 86] Operation: 14+72=86 Exploring Operation: 72-26=46, Resulting Numbers: [14, 3, 46] Generated Node #0,1: 88:[14, 3, 46] Operation: 72-26=46 Exploring Operation: 26+72=98, Resulting Numbers: [14, 3, 98] Generated Node #0,2: 88:[14, 3, 98] Operation: 26+72=98 Exploring Operation: 72/3=24, Resulting Numbers: [14, 26, 24] Generated Node #0,3: 88:[14, 26, 24] Operation: 72/3=24 Exploring Operation: 26-14=12, Resulting Numbers: [72, 3, 12] Generated Node #0,4: 88:[72, 3, 12] Operation: 26-14=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[14, 3, 46], Operations: ['72-26=46'] Exploring Operation: 46-3=43, Resulting Numbers: [14, 43] Generated Node #0,1,0: 88:[14, 43] Operation: 46-3=43 Exploring Operation: 14-3=11, Resulting Numbers: [46, 11] Generated Node #0,1,1: 88:[46, 11] Operation: 14-3=11 Exploring Operation: 14+3=17, Resulting Numbers: [46, 17] Generated Node #0,1,2: 88:[46, 17] Operation: 14+3=17 Exploring Operation: 14*3=42, Resulting Numbers: [46, 42] Generated Node #0,1,3: 88:[46, 42] Operation: 14*3=42 Exploring Operation: 3+46=49, Resulting Numbers: [14, 49] Generated Node #0,1,4: 88:[14, 49] Operation: 3+46=49 Moving to Node #0,1,1 Current State: 88:[46, 11], Operations: ['72-26=46', '14-3=11'] Exploring Operation: 46*11=506, Resulting Numbers: [506] 506,88 unequal: No Solution Exploring Operation: 46+11=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[46, 42], Operations: ['72-26=46', '14*3=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,88 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[14, 26, 72, 3], Operations: [] Exploring Operation: 72-26=46, Resulting Numbers: [14, 3, 46] Generated Node #0,1: 88:[14, 3, 46] Operation: 72-26=46 Moving to Node #0,1 Current State: 88:[14, 3, 46], Operations: ['72-26=46'] Exploring Operation: 14*3=42, Resulting Numbers: [46, 42] Generated Node #0,1,3: 88:[46, 42] Operation: 14*3=42 Moving to Node #0,1,3 Current State: 88:[46, 42], Operations: ['72-26=46', '14*3=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 66, 50, 7, 1 ]
24
[ "66-50=16", "7+1=8", "16+8=24" ]
Current State: 24:[66, 50, 7, 1], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [7, 1, 16] Generated Node #2: [7, 1, 16] from Operation: 66-50=16 Current State: 24:[7, 1, 16], Operations: ['66-50=16'] Exploring Operation: 7+1=8, Resulting Numbers: [16, 8] Generated Node #3: [16, 8] from Operation: 7+1=8 Current State: 24:[16, 8], Operations: ['66-50=16', '7+1=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 50, 7, 1], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [7, 1, 16] Generated Node #0,0: 24:[7, 1, 16] Operation: 66-50=16 Exploring Operation: 50-7=43, Resulting Numbers: [66, 1, 43] Generated Node #0,1: 24:[66, 1, 43] Operation: 50-7=43 Exploring Operation: 66-1=65, Resulting Numbers: [50, 7, 65] Generated Node #0,2: 24:[50, 7, 65] Operation: 66-1=65 Exploring Operation: 66-7=59, Resulting Numbers: [50, 1, 59] Generated Node #0,3: 24:[50, 1, 59] Operation: 66-7=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[7, 1, 16], Operations: ['66-50=16'] Exploring Operation: 16-7=9, Resulting Numbers: [1, 9] Generated Node #0,0,0: 24:[1, 9] Operation: 16-7=9 Exploring Operation: 7+1=8, Resulting Numbers: [16, 8] Generated Node #0,0,1: 24:[16, 8] Operation: 7+1=8 Exploring Operation: 7-1=6, Resulting Numbers: [16, 6] Generated Node #0,0,2: 24:[16, 6] Operation: 7-1=6 Exploring Operation: 7+16=23, Resulting Numbers: [1, 23] Generated Node #0,0,3: 24:[1, 23] Operation: 7+16=23 Moving to Node #0,0,0 Current State: 24:[1, 9], Operations: ['66-50=16', '16-7=9'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[1, 23], Operations: ['66-50=16', '7+16=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[66, 50, 7, 1], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [7, 1, 16] Generated Node #0,0: 24:[7, 1, 16] Operation: 66-50=16 Moving to Node #0,0 Current State: 24:[7, 1, 16], Operations: ['66-50=16'] Exploring Operation: 7+16=23, Resulting Numbers: [1, 23] Generated Node #0,0,3: 24:[1, 23] Operation: 7+16=23 Moving to Node #0,0,3 Current State: 24:[1, 23], Operations: ['66-50=16', '7+16=23'] Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 90, 89, 15, 99 ]
84
[ "90-89=1", "99-15=84", "1*84=84" ]
Current State: 84:[90, 89, 15, 99], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [15, 99, 1] Generated Node #2: [15, 99, 1] from Operation: 90-89=1 Current State: 84:[15, 99, 1], Operations: ['90-89=1'] Exploring Operation: 99-15=84, Resulting Numbers: [1, 84] Generated Node #3: [1, 84] from Operation: 99-15=84 Current State: 84:[1, 84], Operations: ['90-89=1', '99-15=84'] Exploring Operation: 1*84=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[90, 89, 15, 99], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [89, 15, 9] Generated Node #0,0: 84:[89, 15, 9] Operation: 99-90=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[89, 15, 9], Operations: ['99-90=9'] Exploring Operation: 89-9=80, Resulting Numbers: [15, 80] Generated Node #0,0,0: 84:[15, 80] Operation: 89-9=80 Moving to Node #0,0,0 Current State: 84:[15, 80], Operations: ['99-90=9', '89-9=80'] Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,84 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
[ 21, 57, 73, 59 ]
38
[ "73-59=14", "57*14=798", "798/21=38" ]
Current State: 38:[21, 57, 73, 59], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [21, 57, 14] Generated Node #2: [21, 57, 14] from Operation: 73-59=14 Current State: 38:[21, 57, 14], Operations: ['73-59=14'] Exploring Operation: 57*14=798, Resulting Numbers: [21, 798] Generated Node #3: [21, 798] from Operation: 57*14=798 Current State: 38:[21, 798], Operations: ['73-59=14', '57*14=798'] Exploring Operation: 798/21=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[21, 57, 73, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [21, 73, 2] Generated Node #0,0: 38:[21, 73, 2] Operation: 59-57=2 Exploring Operation: 73-57=16, Resulting Numbers: [21, 59, 16] Generated Node #0,1: 38:[21, 59, 16] Operation: 73-57=16 Exploring Operation: 73-59=14, Resulting Numbers: [21, 57, 14] Generated Node #0,2: 38:[21, 57, 14] Operation: 73-59=14 Moving to Node #0,1 Current State: 38:[21, 59, 16], Operations: ['73-57=16'] Exploring Operation: 21+16=37, Resulting Numbers: [59, 37] Generated Node #0,1,0: 38:[59, 37] Operation: 21+16=37 Exploring Operation: 59-21=38, Resulting Numbers: [16, 38] Generated Node #0,1,1: 38:[16, 38] Operation: 59-21=38 Exploring Operation: 59-16=43, Resulting Numbers: [21, 43] Generated Node #0,1,2: 38:[21, 43] Operation: 59-16=43 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[16, 38], Operations: ['73-57=16', '59-21=38'] Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,38 unequal: No Solution Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 38:[21, 43], Operations: ['73-57=16', '59-16=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,38 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[59, 37], Operations: ['73-57=16', '21+16=37'] Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 59*37=2183, Resulting Numbers: [2183] 2183,38 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: 38:[21, 57, 14], Operations: ['73-59=14'] Exploring Operation: 21+14=35, Resulting Numbers: [57, 35] Generated Node #0,2,0: 38:[57, 35] Operation: 21+14=35 Exploring Operation: 57-21=36, Resulting Numbers: [14, 36] Generated Node #0,2,1: 38:[14, 36] Operation: 57-21=36 Exploring Operation: 57-14=43, Resulting Numbers: [21, 43] Generated Node #0,2,2: 38:[21, 43] Operation: 57-14=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 38:[14, 36], Operations: ['73-59=14', '57-21=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 38:[21, 43], Operations: ['73-59=14', '57-14=43'] Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,38 unequal: No Solution Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 38:[57, 35], Operations: ['73-59=14', '21+14=35'] Exploring Operation: 57-35=22, Resulting Numbers: [22] 22,38 unequal: No Solution Exploring Operation: 57+35=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 57*35=1995, Resulting Numbers: [1995] 1995,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 38:[21, 73, 2], Operations: ['59-57=2'] Exploring Operation: 21-2=19, Resulting Numbers: [73, 19] Generated Node #0,0,0: 38:[73, 19] Operation: 21-2=19 Exploring Operation: 73-21=52, Resulting Numbers: [2, 52] Generated Node #0,0,1: 38:[2, 52] Operation: 73-21=52 Exploring Operation: 73-2=71, Resulting Numbers: [21, 71] Generated Node #0,0,2: 38:[21, 71] Operation: 73-2=71 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[2, 52], Operations: ['59-57=2', '73-21=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,38 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[73, 19], Operations: ['59-57=2', '21-2=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,38 unequal: No Solution Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 38:[21, 71], Operations: ['59-57=2', '73-2=71'] Exploring Operation: 21+71=92, Resulting Numbers: [92] 92,38 unequal: No Solution Exploring Operation: 21*71=1491, Resulting Numbers: [1491] 1491,38 unequal: No Solution Exploring Operation: 71-21=50, Resulting Numbers: [50] 50,38 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
[ 89, 85, 89, 10 ]
85
[ "89-89=0", "10*0=0", "85+0=85" ]
Current State: 85:[89, 85, 89, 10], Operations: [] Exploring Operation: 89-89=0, Resulting Numbers: [85, 10, 0] Generated Node #2: [85, 10, 0] from Operation: 89-89=0 Current State: 85:[85, 10, 0], Operations: ['89-89=0'] Exploring Operation: 10*0=0, Resulting Numbers: [85, 0] Generated Node #3: [85, 0] from Operation: 10*0=0 Current State: 85:[85, 0], Operations: ['89-89=0', '10*0=0'] Exploring Operation: 85+0=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[89, 85, 89, 10], Operations: [] Exploring Operation: 89/89=1, Resulting Numbers: [85, 10, 1] Generated Node #0,0: 85:[85, 10, 1] Operation: 89/89=1 Exploring Operation: 89-85=4, Resulting Numbers: [89, 10, 4] Generated Node #0,1: 85:[89, 10, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 85:[85, 10, 1], Operations: ['89/89=1'] Exploring Operation: 10-1=9, Resulting Numbers: [85, 9] Generated Node #0,0,0: 85:[85, 9] Operation: 10-1=9 Exploring Operation: 85*1=85, Resulting Numbers: [10, 85] Generated Node #0,0,1: 85:[10, 85] Operation: 85*1=85 Moving to Node #0,1 Current State: 85:[89, 10, 4], Operations: ['89-85=4'] Exploring Operation: 10-4=6, Resulting Numbers: [89, 6] Generated Node #0,1,0: 85:[89, 6] Operation: 10-4=6 Exploring Operation: 89-4=85, Resulting Numbers: [10, 85] Generated Node #0,1,1: 85:[10, 85] Operation: 89-4=85 Moving to Node #0,0,0 Current State: 85:[85, 9], Operations: ['89/89=1', '10-1=9'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,85 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[89, 6], Operations: ['89-85=4', '10-4=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[10, 85], Operations: ['89/89=1', '85*1=85'] Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,85 unequal: No Solution Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,85 unequal: No Solution Moving to Node #0,1,1 Current State: 85:[10, 85], Operations: ['89-85=4', '89-4=85'] Exploring Operation: 85-10=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 10+85=95, Resulting Numbers: [95] 95,85 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 11, 15, 8, 2 ]
58
[ "11*8=88", "15*2=30", "88-30=58" ]
Current State: 58:[11, 15, 8, 2], Operations: [] Exploring Operation: 11*8=88, Resulting Numbers: [15, 2, 88] Generated Node #2: [15, 2, 88] from Operation: 11*8=88 Current State: 58:[15, 2, 88], Operations: ['11*8=88'] Exploring Operation: 15*2=30, Resulting Numbers: [88, 30] Generated Node #3: [88, 30] from Operation: 15*2=30 Current State: 58:[88, 30], Operations: ['11*8=88', '15*2=30'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[11, 15, 8, 2], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [8, 2, 4] Generated Node #0,0: 58:[8, 2, 4] Operation: 15-11=4 Moving to Node #0,0 Current State: 58:[8, 2, 4], Operations: ['15-11=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 58:[2, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 2], Operations: ['15-11=4', '8/4=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,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
[ 32, 42, 74, 50 ]
49
[ "32+42=74", "74/74=1", "50-1=49" ]
Current State: 49:[32, 42, 74, 50], Operations: [] Exploring Operation: 32+42=74, Resulting Numbers: [74, 50, 74] Generated Node #2: [74, 50, 74] from Operation: 32+42=74 Current State: 49:[74, 50, 74], Operations: ['32+42=74'] Exploring Operation: 74/74=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 74/74=1 Current State: 49:[50, 1], Operations: ['32+42=74', '74/74=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 42, 74, 50], Operations: [] Exploring Operation: 74-42=32, Resulting Numbers: [32, 50, 32] Generated Node #0,0: 49:[32, 50, 32] Operation: 74-42=32 Exploring Operation: 74-32=42, Resulting Numbers: [42, 50, 42] Generated Node #0,1: 49:[42, 50, 42] Operation: 74-32=42 Exploring Operation: 42-32=10, Resulting Numbers: [74, 50, 10] Generated Node #0,2: 49:[74, 50, 10] Operation: 42-32=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[42, 50, 42], Operations: ['74-32=42'] Exploring Operation: 50-42=8, Resulting Numbers: [42, 8] Generated Node #0,1,0: 49:[42, 8] Operation: 50-42=8 Exploring Operation: 42/42=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 49:[50, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [50, 0] Generated Node #0,1,2: 49:[50, 0] Operation: 42-42=0 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[50, 1], Operations: ['74-32=42', '42/42=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[32, 42, 74, 50], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [42, 50, 42] Generated Node #0,1: 49:[42, 50, 42] Operation: 74-32=42 Moving to Node #0,1 Current State: 49:[42, 50, 42], Operations: ['74-32=42'] Exploring Operation: 42/42=1, Resulting Numbers: [50, 1] Generated Node #0,1,1: 49:[50, 1] Operation: 42/42=1 Moving to Node #0,1,1 Current State: 49:[50, 1], Operations: ['74-32=42', '42/42=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 55, 16, 2, 96 ]
46
[ "55+16=71", "2*71=142", "142-96=46" ]
Current State: 46:[55, 16, 2, 96], Operations: [] Exploring Operation: 55+16=71, Resulting Numbers: [2, 96, 71] Generated Node #2: [2, 96, 71] from Operation: 55+16=71 Current State: 46:[2, 96, 71], Operations: ['55+16=71'] Exploring Operation: 2*71=142, Resulting Numbers: [96, 142] Generated Node #3: [96, 142] from Operation: 2*71=142 Current State: 46:[96, 142], Operations: ['55+16=71', '2*71=142'] Exploring Operation: 142-96=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[55, 16, 2, 96], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [55, 16, 48] Generated Node #0,0: 46:[55, 16, 48] Operation: 96/2=48 Exploring Operation: 96-16=80, Resulting Numbers: [55, 2, 80] Generated Node #0,1: 46:[55, 2, 80] Operation: 96-16=80 Exploring Operation: 96-55=41, Resulting Numbers: [16, 2, 41] Generated Node #0,2: 46:[16, 2, 41] Operation: 96-55=41 Exploring Operation: 96/16=6, Resulting Numbers: [55, 2, 6] Generated Node #0,3: 46:[55, 2, 6] Operation: 96/16=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[16, 2, 41], Operations: ['96-55=41'] Exploring Operation: 16+2=18, Resulting Numbers: [41, 18] Generated Node #0,2,0: 46:[41, 18] Operation: 16+2=18 Exploring Operation: 41-16=25, Resulting Numbers: [2, 25] Generated Node #0,2,1: 46:[2, 25] Operation: 41-16=25 Exploring Operation: 16/2=8, Resulting Numbers: [41, 8] Generated Node #0,2,2: 46:[41, 8] Operation: 16/2=8 Exploring Operation: 2+41=43, Resulting Numbers: [16, 43] Generated Node #0,2,3: 46:[16, 43] Operation: 2+41=43 Moving to Node #0,2,1 Current State: 46:[2, 25], Operations: ['96-55=41', '41-16=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[16, 43], Operations: ['96-55=41', '2+41=43'] Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 16*43=688, Resulting Numbers: [688] 688,46 unequal: No Solution Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,46 unequal: No Solution Moving to Node #0,2,0 Current State: 46:[41, 18], Operations: ['96-55=41', '16+2=18'] Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,46 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[41, 8], Operations: ['96-55=41', '16/2=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,46 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[55, 2, 6], Operations: ['96/16=6'] Exploring Operation: 55-6=49, Resulting Numbers: [2, 49] Generated Node #0,3,0: 46:[2, 49] Operation: 55-6=49 Exploring Operation: 6/2=3, Resulting Numbers: [55, 3] Generated Node #0,3,1: 46:[55, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [55, 4] Generated Node #0,3,2: 46:[55, 4] Operation: 6-2=4 Exploring Operation: 55-2=53, Resulting Numbers: [6, 53] Generated Node #0,3,3: 46:[6, 53] Operation: 55-2=53 Moving to Node #0,3,0 Current State: 46:[2, 49], Operations: ['96/16=6', '55-6=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,46 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[55, 3], Operations: ['96/16=6', '6/2=3'] Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,46 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[6, 53], Operations: ['96/16=6', '55-2=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,46 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[55, 4], Operations: ['96/16=6', '6-2=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,46 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[55, 16, 48], Operations: ['96/2=48'] Exploring Operation: 48/16=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 46:[55, 3] Operation: 48/16=3 Exploring Operation: 55-48=7, Resulting Numbers: [16, 7] Generated Node #0,0,1: 46:[16, 7] Operation: 55-48=7 Exploring Operation: 55-16=39, Resulting Numbers: [48, 39] Generated Node #0,0,2: 46:[48, 39] Operation: 55-16=39 Exploring Operation: 48-16=32, Resulting Numbers: [55, 32] Generated Node #0,0,3: 46:[55, 32] Operation: 48-16=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[48, 39], Operations: ['96/2=48', '55-16=39'] Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,46 unequal: No Solution Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,46 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[55, 3], Operations: ['96/2=48', '48/16=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 55*3=165, Resulting Numbers: [165] 165,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[16, 7], Operations: ['96/2=48', '55-48=7'] Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,46 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[55, 32], Operations: ['96/2=48', '48-16=32'] Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,46 unequal: No Solution Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[55, 2, 80], Operations: ['96-16=80'] Exploring Operation: 55-2=53, Resulting Numbers: [80, 53] Generated Node #0,1,0: 46:[80, 53] Operation: 55-2=53 Exploring Operation: 80-55=25, Resulting Numbers: [2, 25] Generated Node #0,1,1: 46:[2, 25] Operation: 80-55=25 Exploring Operation: 80/2=40, Resulting Numbers: [55, 40] Generated Node #0,1,2: 46:[55, 40] Operation: 80/2=40 Exploring Operation: 80-2=78, Resulting Numbers: [55, 78] Generated Node #0,1,3: 46:[55, 78] Operation: 80-2=78 Moving to Node #0,1,1 Current State: 46:[2, 25], Operations: ['96-16=80', '80-55=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[55, 40], Operations: ['96-16=80', '80/2=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,46 unequal: No Solution Exploring Operation: 55*40=2200, Resulting Numbers: [2200] 2200,46 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[55, 78], Operations: ['96-16=80', '80-2=78'] Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 55*78=4290, Resulting Numbers: [4290] 4290,46 unequal: No Solution Exploring Operation: 55+78=133, Resulting Numbers: [133] 133,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[80, 53], Operations: ['96-16=80', '55-2=53'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,46 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,46 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
[ 52, 62, 80, 3 ]
14
[ "52*3=156", "62+80=142", "156-142=14" ]
Current State: 14:[52, 62, 80, 3], Operations: [] Exploring Operation: 52*3=156, Resulting Numbers: [62, 80, 156] Generated Node #2: [62, 80, 156] from Operation: 52*3=156 Current State: 14:[62, 80, 156], Operations: ['52*3=156'] Exploring Operation: 62+80=142, Resulting Numbers: [156, 142] Generated Node #3: [156, 142] from Operation: 62+80=142 Current State: 14:[156, 142], Operations: ['52*3=156', '62+80=142'] Exploring Operation: 156-142=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[52, 62, 80, 3], Operations: [] Exploring Operation: 62-3=59, Resulting Numbers: [52, 80, 59] Generated Node #0,0: 14:[52, 80, 59] Operation: 62-3=59 Exploring Operation: 62-52=10, Resulting Numbers: [80, 3, 10] Generated Node #0,1: 14:[80, 3, 10] Operation: 62-52=10 Exploring Operation: 80-62=18, Resulting Numbers: [52, 3, 18] Generated Node #0,2: 14:[52, 3, 18] Operation: 80-62=18 Exploring Operation: 80-52=28, Resulting Numbers: [62, 3, 28] Generated Node #0,3: 14:[62, 3, 28] Operation: 80-52=28 Exploring Operation: 52-3=49, Resulting Numbers: [62, 80, 49] Generated Node #0,4: 14:[62, 80, 49] Operation: 52-3=49 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[52, 3, 18], Operations: ['80-62=18'] Exploring Operation: 52-18=34, Resulting Numbers: [3, 34] Generated Node #0,2,0: 14:[3, 34] Operation: 52-18=34 Exploring Operation: 18/3=6, Resulting Numbers: [52, 6] Generated Node #0,2,1: 14:[52, 6] Operation: 18/3=6 Exploring Operation: 18-3=15, Resulting Numbers: [52, 15] Generated Node #0,2,2: 14:[52, 15] Operation: 18-3=15 Exploring Operation: 52-3=49, Resulting Numbers: [18, 49] Generated Node #0,2,3: 14:[18, 49] Operation: 52-3=49 Exploring Operation: 52+3=55, Resulting Numbers: [18, 55] Generated Node #0,2,4: 14:[18, 55] Operation: 52+3=55 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[3, 34], Operations: ['80-62=18', '52-18=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,14 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,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:[52, 6], Operations: ['80-62=18', '18/3=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,14 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,14 unequal: No Solution Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[52, 15], Operations: ['80-62=18', '18-3=15'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 52*15=780, Resulting Numbers: [780] 780,14 unequal: No Solution Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 14:[18, 49], Operations: ['80-62=18', '52-3=49'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,14 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 14:[18, 55], Operations: ['80-62=18', '52+3=55'] Exploring Operation: 18*55=990, Resulting Numbers: [990] 990,14 unequal: No Solution Exploring Operation: 18+55=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,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,3 Current State: 14:[62, 3, 28], Operations: ['80-52=28'] Exploring Operation: 3+28=31, Resulting Numbers: [62, 31] Generated Node #0,3,0: 14:[62, 31] Operation: 3+28=31 Exploring Operation: 62+3=65, Resulting Numbers: [28, 65] Generated Node #0,3,1: 14:[28, 65] Operation: 62+3=65 Exploring Operation: 28-3=25, Resulting Numbers: [62, 25] Generated Node #0,3,2: 14:[62, 25] Operation: 28-3=25 Exploring Operation: 62-3=59, Resulting Numbers: [28, 59] Generated Node #0,3,3: 14:[28, 59] Operation: 62-3=59 Exploring Operation: 62-28=34, Resulting Numbers: [3, 34] Generated Node #0,3,4: 14:[3, 34] Operation: 62-28=34 Moving to Node #0,3,4 Current State: 14:[3, 34], Operations: ['80-52=28', '62-28=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,14 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[28, 59], Operations: ['80-52=28', '62-3=59'] Exploring Operation: 28+59=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 28*59=1652, Resulting Numbers: [1652] 1652,14 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[62, 25], Operations: ['80-52=28', '28-3=25'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 62*25=1550, Resulting Numbers: [1550] 1550,14 unequal: No Solution Exploring Operation: 62+25=87, Resulting Numbers: [87] 87,14 unequal: No Solution Moving to Node #0,3,0 Current State: 14:[62, 31], Operations: ['80-52=28', '3+28=31'] Exploring Operation: 62+31=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 62*31=1922, Resulting Numbers: [1922] 1922,14 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[28, 65], Operations: ['80-52=28', '62+3=65'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[80, 3, 10], Operations: ['62-52=10'] Exploring Operation: 10-3=7, Resulting Numbers: [80, 7] Generated Node #0,1,0: 14:[80, 7] Operation: 10-3=7 Exploring Operation: 80/10=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 14:[3, 8] Operation: 80/10=8 Exploring Operation: 80-3=77, Resulting Numbers: [10, 77] Generated Node #0,1,2: 14:[10, 77] Operation: 80-3=77 Exploring Operation: 80-10=70, Resulting Numbers: [3, 70] Generated Node #0,1,3: 14:[3, 70] Operation: 80-10=70 Exploring Operation: 3+10=13, Resulting Numbers: [80, 13] Generated Node #0,1,4: 14:[80, 13] Operation: 3+10=13 Moving to Node #0,1,1 Current State: 14:[3, 8], Operations: ['62-52=10', '80/10=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[3, 70], Operations: ['62-52=10', '80-10=70'] Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,14 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[80, 7], Operations: ['62-52=10', '10-3=7'] Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,14 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[10, 77], Operations: ['62-52=10', '80-3=77'] Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,14 unequal: No Solution Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[80, 13], Operations: ['62-52=10', '3+10=13'] Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[52, 80, 59], Operations: ['62-3=59'] Exploring Operation: 80-52=28, Resulting Numbers: [59, 28] Generated Node #0,0,0: 14:[59, 28] Operation: 80-52=28 Exploring Operation: 80-59=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 14:[52, 21] Operation: 80-59=21 Exploring Operation: 52+59=111, Resulting Numbers: [80, 111] Generated Node #0,0,2: 14:[80, 111] Operation: 52+59=111 Exploring Operation: 59-52=7, Resulting Numbers: [80, 7] Generated Node #0,0,3: 14:[80, 7] Operation: 59-52=7 Exploring Operation: 52+80=132, Resulting Numbers: [59, 132] Generated Node #0,0,4: 14:[59, 132] Operation: 52+80=132 Moving to Node #0,0,1 Current State: 14:[52, 21], Operations: ['62-3=59', '80-59=21'] Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,14 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[59, 28], Operations: ['62-3=59', '80-52=28'] Exploring Operation: 59*28=1652, Resulting Numbers: [1652] 1652,14 unequal: No Solution Exploring Operation: 59-28=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 59+28=87, Resulting Numbers: [87] 87,14 unequal: No Solution Moving to Node #0,0,3 Current State: 14:[80, 7], Operations: ['62-3=59', '59-52=7'] Exploring Operation: 80+7=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 80*7=560, Resulting Numbers: [560] 560,14 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[80, 111], Operations: ['62-3=59', '52+59=111'] Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,14 unequal: No Solution Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[59, 132], Operations: ['62-3=59', '52+80=132'] Exploring Operation: 132-59=73, Resulting Numbers: [73] 73,14 unequal: No Solution Exploring Operation: 59+132=191, Resulting Numbers: [191] 191,14 unequal: No Solution Exploring Operation: 59*132=7788, Resulting Numbers: [7788] 7788,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,4 Current State: 14:[62, 80, 49], Operations: ['52-3=49'] Exploring Operation: 62+49=111, Resulting Numbers: [80, 111] Generated Node #0,4,0: 14:[80, 111] Operation: 62+49=111 Exploring Operation: 80-62=18, Resulting Numbers: [49, 18] Generated Node #0,4,1: 14:[49, 18] Operation: 80-62=18 Exploring Operation: 62+80=142, Resulting Numbers: [49, 142] Generated Node #0,4,2: 14:[49, 142] Operation: 62+80=142 Exploring Operation: 62-49=13, Resulting Numbers: [80, 13] Generated Node #0,4,3: 14:[80, 13] Operation: 62-49=13 Exploring Operation: 80-49=31, Resulting Numbers: [62, 31] Generated Node #0,4,4: 14:[62, 31] Operation: 80-49=31 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 14:[49, 18], Operations: ['52-3=49', '80-62=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,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,4,4 Current State: 14:[62, 31], Operations: ['52-3=49', '80-49=31'] Exploring Operation: 62+31=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 62*31=1922, Resulting Numbers: [1922] 1922,14 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,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,4,3 Current State: 14:[80, 13], Operations: ['52-3=49', '62-49=13'] Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,14 unequal: No Solution Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,14 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,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,4,0 Current State: 14:[80, 111], Operations: ['52-3=49', '62+49=111'] Exploring Operation: 80*111=8880, Resulting Numbers: [8880] 8880,14 unequal: No Solution Exploring Operation: 111-80=31, Resulting Numbers: [31] 31,14 unequal: No Solution Exploring Operation: 80+111=191, Resulting Numbers: [191] 191,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,4,2 Current State: 14:[49, 142], Operations: ['52-3=49', '62+80=142'] Exploring Operation: 49*142=6958, Resulting Numbers: [6958] 6958,14 unequal: No Solution Exploring Operation: 49+142=191, Resulting Numbers: [191] 191,14 unequal: No Solution Exploring Operation: 142-49=93, Resulting Numbers: [93] 93,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 No solution found.
0
hs_5
sum_heuristic
[ 24, 57, 2, 44 ]
89
[ "24/2=12", "57+44=101", "101-12=89" ]
Current State: 89:[24, 57, 2, 44], Operations: [] Exploring Operation: 24/2=12, Resulting Numbers: [57, 44, 12] Generated Node #2: [57, 44, 12] from Operation: 24/2=12 Current State: 89:[57, 44, 12], Operations: ['24/2=12'] Exploring Operation: 57+44=101, Resulting Numbers: [12, 101] Generated Node #3: [12, 101] from Operation: 57+44=101 Current State: 89:[12, 101], Operations: ['24/2=12', '57+44=101'] Exploring Operation: 101-12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[24, 57, 2, 44], Operations: [] Exploring Operation: 57*2=114, Resulting Numbers: [24, 44, 114] Generated Node #0,0: 89:[24, 44, 114] Operation: 57*2=114 Exploring Operation: 24*2=48, Resulting Numbers: [57, 44, 48] Generated Node #0,1: 89:[57, 44, 48] Operation: 24*2=48 Exploring Operation: 2*44=88, Resulting Numbers: [24, 57, 88] Generated Node #0,2: 89:[24, 57, 88] Operation: 2*44=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[24, 57, 88], Operations: ['2*44=88'] Exploring Operation: 24+88=112, Resulting Numbers: [57, 112] Generated Node #0,2,0: 89:[57, 112] Operation: 24+88=112 Exploring Operation: 57-24=33, Resulting Numbers: [88, 33] Generated Node #0,2,1: 89:[88, 33] Operation: 57-24=33 Exploring Operation: 24+57=81, Resulting Numbers: [88, 81] Generated Node #0,2,2: 89:[88, 81] Operation: 24+57=81 Moving to Node #0,2,2 Current State: 89:[88, 81], Operations: ['2*44=88', '24+57=81'] Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,89 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[57, 112], Operations: ['2*44=88', '24+88=112'] Exploring Operation: 57+112=169, Resulting Numbers: [169] 169,89 unequal: No Solution Exploring Operation: 112-57=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 57*112=6384, Resulting Numbers: [6384] 6384,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[88, 33], Operations: ['2*44=88', '57-24=33'] Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,89 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[57, 44, 48], Operations: ['24*2=48'] Exploring Operation: 57+48=105, Resulting Numbers: [44, 105] Generated Node #0,1,0: 89:[44, 105] Operation: 57+48=105 Exploring Operation: 44+48=92, Resulting Numbers: [57, 92] Generated Node #0,1,1: 89:[57, 92] Operation: 44+48=92 Exploring Operation: 57+44=101, Resulting Numbers: [48, 101] Generated Node #0,1,2: 89:[48, 101] Operation: 57+44=101 Moving to Node #0,1,1 Current State: 89:[57, 92], Operations: ['24*2=48', '44+48=92'] Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,89 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,89 unequal: No Solution Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[48, 101], Operations: ['24*2=48', '57+44=101'] Exploring Operation: 101-48=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 48*101=4848, Resulting Numbers: [4848] 4848,89 unequal: No Solution Exploring Operation: 48+101=149, Resulting Numbers: [149] 149,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[44, 105], Operations: ['24*2=48', '57+48=105'] Exploring Operation: 105-44=61, Resulting Numbers: [61] 61,89 unequal: No Solution Exploring Operation: 44+105=149, Resulting Numbers: [149] 149,89 unequal: No Solution Exploring Operation: 44*105=4620, Resulting Numbers: [4620] 4620,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[24, 44, 114], Operations: ['57*2=114'] Exploring Operation: 114-44=70, Resulting Numbers: [24, 70] Generated Node #0,0,0: 89:[24, 70] Operation: 114-44=70 Exploring Operation: 24+44=68, Resulting Numbers: [114, 68] Generated Node #0,0,1: 89:[114, 68] Operation: 24+44=68 Exploring Operation: 114-24=90, Resulting Numbers: [44, 90] Generated Node #0,0,2: 89:[44, 90] Operation: 114-24=90 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[114, 68], Operations: ['57*2=114', '24+44=68'] Exploring Operation: 114+68=182, Resulting Numbers: [182] 182,89 unequal: No Solution Exploring Operation: 114-68=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 114*68=7752, Resulting Numbers: [7752] 7752,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[44, 90], Operations: ['57*2=114', '114-24=90'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,89 unequal: No Solution Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[24, 70], Operations: ['57*2=114', '114-44=70'] Exploring Operation: 24+70=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 24*70=1680, Resulting Numbers: [1680] 1680,89 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,89 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
[ 95, 97, 4, 15 ]
62
[ "97-95=2", "4*15=60", "2+60=62" ]
Current State: 62:[95, 97, 4, 15], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [4, 15, 2] Generated Node #2: [4, 15, 2] from Operation: 97-95=2 Current State: 62:[4, 15, 2], Operations: ['97-95=2'] Exploring Operation: 4*15=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 4*15=60 Current State: 62:[2, 60], Operations: ['97-95=2', '4*15=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[95, 97, 4, 15], Operations: [] Exploring Operation: 95-15=80, Resulting Numbers: [97, 4, 80] Generated Node #0,0: 62:[97, 4, 80] Operation: 95-15=80 Exploring Operation: 4*15=60, Resulting Numbers: [95, 97, 60] Generated Node #0,1: 62:[95, 97, 60] Operation: 4*15=60 Exploring Operation: 97-95=2, Resulting Numbers: [4, 15, 2] Generated Node #0,2: 62:[4, 15, 2] Operation: 97-95=2 Exploring Operation: 97-15=82, Resulting Numbers: [95, 4, 82] Generated Node #0,3: 62:[95, 4, 82] Operation: 97-15=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[4, 15, 2], Operations: ['97-95=2'] Exploring Operation: 4*15=60, Resulting Numbers: [2, 60] Generated Node #0,2,0: 62:[2, 60] Operation: 4*15=60 Exploring Operation: 15-4=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 62:[2, 11] Operation: 15-4=11 Exploring Operation: 15*2=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 62:[4, 30] Operation: 15*2=30 Exploring Operation: 4+15=19, Resulting Numbers: [2, 19] Generated Node #0,2,3: 62:[2, 19] Operation: 4+15=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[2, 60], Operations: ['97-95=2', '4*15=60'] Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[95, 97, 4, 15], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [4, 15, 2] Generated Node #0,2: 62:[4, 15, 2] Operation: 97-95=2 Moving to Node #0,2 Current State: 62:[4, 15, 2], Operations: ['97-95=2'] Exploring Operation: 4*15=60, Resulting Numbers: [2, 60] Generated Node #0,2,0: 62:[2, 60] Operation: 4*15=60 Moving to Node #0,2,0 Current State: 62:[2, 60], Operations: ['97-95=2', '4*15=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 3, 59, 25, 66 ]
46
[ "66-59=7", "3*7=21", "25+21=46" ]
Current State: 46:[3, 59, 25, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [3, 25, 7] Generated Node #2: [3, 25, 7] from Operation: 66-59=7 Current State: 46:[3, 25, 7], Operations: ['66-59=7'] Exploring Operation: 3*7=21, Resulting Numbers: [25, 21] Generated Node #3: [25, 21] from Operation: 3*7=21 Current State: 46:[25, 21], Operations: ['66-59=7', '3*7=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[3, 59, 25, 66], Operations: [] Exploring Operation: 66-25=41, Resulting Numbers: [3, 59, 41] Generated Node #0,0: 46:[3, 59, 41] Operation: 66-25=41 Exploring Operation: 66-59=7, Resulting Numbers: [3, 25, 7] Generated Node #0,1: 46:[3, 25, 7] Operation: 66-59=7 Exploring Operation: 66/3=22, Resulting Numbers: [59, 25, 22] Generated Node #0,2: 46:[59, 25, 22] Operation: 66/3=22 Moving to Node #0,1 Current State: 46:[3, 25, 7], Operations: ['66-59=7'] Exploring Operation: 3*7=21, Resulting Numbers: [25, 21] Generated Node #0,1,0: 46:[25, 21] Operation: 3*7=21 Exploring Operation: 7-3=4, Resulting Numbers: [25, 4] Generated Node #0,1,1: 46:[25, 4] Operation: 7-3=4 Exploring Operation: 25-3=22, Resulting Numbers: [7, 22] Generated Node #0,1,2: 46:[7, 22] Operation: 25-3=22 Moving to Node #0,2 Current State: 46:[59, 25, 22], Operations: ['66/3=22'] Exploring Operation: 59-25=34, Resulting Numbers: [22, 34] Generated Node #0,2,0: 46:[22, 34] Operation: 59-25=34 Exploring Operation: 25+22=47, Resulting Numbers: [59, 47] Generated Node #0,2,1: 46:[59, 47] Operation: 25+22=47 Exploring Operation: 59-22=37, Resulting Numbers: [25, 37] Generated Node #0,2,2: 46:[25, 37] Operation: 59-22=37 Moving to Node #0,0 Current State: 46:[3, 59, 41], Operations: ['66-25=41'] Exploring Operation: 3+41=44, Resulting Numbers: [59, 44] Generated Node #0,0,0: 46:[59, 44] Operation: 3+41=44 Exploring Operation: 59-3=56, Resulting Numbers: [41, 56] Generated Node #0,0,1: 46:[41, 56] Operation: 59-3=56 Exploring Operation: 59-41=18, Resulting Numbers: [3, 18] Generated Node #0,0,2: 46:[3, 18] Operation: 59-41=18 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[3, 18], Operations: ['66-25=41', '59-41=18'] Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[59, 44], Operations: ['66-25=41', '3+41=44'] Exploring Operation: 59*44=2596, Resulting Numbers: [2596] 2596,46 unequal: No Solution Exploring Operation: 59-44=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 59+44=103, Resulting Numbers: [103] 103,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[41, 56], Operations: ['66-25=41', '59-3=56'] Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,46 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,46 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: 46:[25, 21], Operations: ['66-59=7', '3*7=21'] Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,46 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[3, 59, 25, 66], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [3, 25, 7] Generated Node #0,1: 46:[3, 25, 7] Operation: 66-59=7 Moving to Node #0,1 Current State: 46:[3, 25, 7], Operations: ['66-59=7'] Exploring Operation: 3*7=21, Resulting Numbers: [25, 21] Generated Node #0,1,0: 46:[25, 21] Operation: 3*7=21 Moving to Node #0,1,0 Current State: 46:[25, 21], Operations: ['66-59=7', '3*7=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 6, 24, 85, 12 ]
83
[ "24-12=12", "12/6=2", "85-2=83" ]
Current State: 83:[6, 24, 85, 12], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [6, 85, 12] Generated Node #2: [6, 85, 12] from Operation: 24-12=12 Current State: 83:[6, 85, 12], Operations: ['24-12=12'] Exploring Operation: 12/6=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 12/6=2 Current State: 83:[85, 2], Operations: ['24-12=12', '12/6=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[6, 24, 85, 12], Operations: [] Exploring Operation: 6+24=30, Resulting Numbers: [85, 12, 30] Generated Node #0,0: 83:[85, 12, 30] Operation: 6+24=30 Exploring Operation: 6*12=72, Resulting Numbers: [24, 85, 72] Generated Node #0,1: 83:[24, 85, 72] Operation: 6*12=72 Moving to Node #0,1 Current State: 83:[24, 85, 72], Operations: ['6*12=72'] Exploring Operation: 85-24=61, Resulting Numbers: [72, 61] Generated Node #0,1,0: 83:[72, 61] Operation: 85-24=61 Exploring Operation: 24+72=96, Resulting Numbers: [85, 96] Generated Node #0,1,1: 83:[85, 96] Operation: 24+72=96 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[85, 96], Operations: ['6*12=72', '24+72=96'] Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[72, 61], Operations: ['6*12=72', '85-24=61'] Exploring Operation: 72+61=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 83:[85, 12, 30], Operations: ['6+24=30'] Exploring Operation: 85-12=73, Resulting Numbers: [30, 73] Generated Node #0,0,0: 83:[30, 73] Operation: 85-12=73 Exploring Operation: 12+30=42, Resulting Numbers: [85, 42] Generated Node #0,0,1: 83:[85, 42] Operation: 12+30=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[85, 42], Operations: ['6+24=30', '12+30=42'] Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[30, 73], Operations: ['6+24=30', '85-12=73'] Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 53, 57, 3, 94 ]
95
[ "57-53=4", "94-3=91", "4+91=95" ]
Current State: 95:[53, 57, 3, 94], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [3, 94, 4] Generated Node #2: [3, 94, 4] from Operation: 57-53=4 Current State: 95:[3, 94, 4], Operations: ['57-53=4'] Exploring Operation: 94-3=91, Resulting Numbers: [4, 91] Generated Node #3: [4, 91] from Operation: 94-3=91 Current State: 95:[4, 91], Operations: ['57-53=4', '94-3=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[53, 57, 3, 94], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [3, 94, 4] Generated Node #0,0: 95:[3, 94, 4] Operation: 57-53=4 Exploring Operation: 53+57=110, Resulting Numbers: [3, 94, 110] Generated Node #0,1: 95:[3, 94, 110] Operation: 53+57=110 Moving to Node #0,0 Current State: 95:[3, 94, 4], Operations: ['57-53=4'] Exploring Operation: 3+94=97, Resulting Numbers: [4, 97] Generated Node #0,0,0: 95:[4, 97] Operation: 3+94=97 Exploring Operation: 3+4=7, Resulting Numbers: [94, 7] Generated Node #0,0,1: 95:[94, 7] Operation: 3+4=7 Moving to Node #0,1 Current State: 95:[3, 94, 110], Operations: ['53+57=110'] Exploring Operation: 110-94=16, Resulting Numbers: [3, 16] Generated Node #0,1,0: 95:[3, 16] Operation: 110-94=16 Exploring Operation: 110-3=107, Resulting Numbers: [94, 107] Generated Node #0,1,1: 95:[94, 107] Operation: 110-3=107 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[3, 16], Operations: ['53+57=110', '110-94=16'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 3+16=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,1 Current State: 95:[94, 107], Operations: ['53+57=110', '110-3=107'] Exploring Operation: 94+107=201, Resulting Numbers: [201] 201,95 unequal: No Solution Exploring Operation: 107-94=13, Resulting Numbers: [13] 13,95 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: 95:[4, 97], Operations: ['57-53=4', '3+94=97'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[94, 7], Operations: ['57-53=4', '3+4=7'] Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,95 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 67, 73, 87 ]
77
[ "73-67=6", "60/6=10", "87-10=77" ]
Current State: 77:[60, 67, 73, 87], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [60, 87, 6] Generated Node #2: [60, 87, 6] from Operation: 73-67=6 Current State: 77:[60, 87, 6], Operations: ['73-67=6'] Exploring Operation: 60/6=10, Resulting Numbers: [87, 10] Generated Node #3: [87, 10] from Operation: 60/6=10 Current State: 77:[87, 10], Operations: ['73-67=6', '60/6=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[60, 67, 73, 87], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [67, 87, 13] Generated Node #0,0: 77:[67, 87, 13] Operation: 73-60=13 Exploring Operation: 67-60=7, Resulting Numbers: [73, 87, 7] Generated Node #0,1: 77:[73, 87, 7] Operation: 67-60=7 Exploring Operation: 87-60=27, Resulting Numbers: [67, 73, 27] Generated Node #0,2: 77:[67, 73, 27] Operation: 87-60=27 Exploring Operation: 73-67=6, Resulting Numbers: [60, 87, 6] Generated Node #0,3: 77:[60, 87, 6] Operation: 73-67=6 Moving to Node #0,1 Current State: 77:[73, 87, 7], Operations: ['67-60=7'] Exploring Operation: 87-7=80, Resulting Numbers: [73, 80] Generated Node #0,1,0: 77:[73, 80] Operation: 87-7=80 Exploring Operation: 73-7=66, Resulting Numbers: [87, 66] Generated Node #0,1,1: 77:[87, 66] Operation: 73-7=66 Exploring Operation: 87-73=14, Resulting Numbers: [7, 14] Generated Node #0,1,2: 77:[7, 14] Operation: 87-73=14 Exploring Operation: 73+7=80, Resulting Numbers: [87, 80] Generated Node #0,1,3: 77:[87, 80] Operation: 73+7=80 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[7, 14], Operations: ['67-60=7', '87-73=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,77 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[73, 80], Operations: ['67-60=7', '87-7=80'] Exploring Operation: 80-73=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 73*80=5840, Resulting Numbers: [5840] 5840,77 unequal: No Solution Exploring Operation: 73+80=153, Resulting Numbers: [153] 153,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[87, 80], Operations: ['67-60=7', '73+7=80'] Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[87, 66], Operations: ['67-60=7', '73-7=66'] Exploring Operation: 87-66=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 87+66=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 87*66=5742, Resulting Numbers: [5742] 5742,77 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: 77:[67, 87, 13], Operations: ['73-60=13'] Exploring Operation: 67-13=54, Resulting Numbers: [87, 54] Generated Node #0,0,0: 77:[87, 54] Operation: 67-13=54 Exploring Operation: 87-13=74, Resulting Numbers: [67, 74] Generated Node #0,0,1: 77:[67, 74] Operation: 87-13=74 Exploring Operation: 67+13=80, Resulting Numbers: [87, 80] Generated Node #0,0,2: 77:[87, 80] Operation: 67+13=80 Exploring Operation: 87-67=20, Resulting Numbers: [13, 20] Generated Node #0,0,3: 77:[13, 20] Operation: 87-67=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[13, 20], Operations: ['73-60=13', '87-67=20'] Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,77 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[67, 74], Operations: ['73-60=13', '87-13=74'] Exploring Operation: 67+74=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 74-67=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 67*74=4958, Resulting Numbers: [4958] 4958,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[87, 80], Operations: ['73-60=13', '67+13=80'] Exploring Operation: 87+80=167, Resulting Numbers: [167] 167,77 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 87*80=6960, Resulting Numbers: [6960] 6960,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[87, 54], Operations: ['73-60=13', '67-13=54'] Exploring Operation: 87+54=141, Resulting Numbers: [141] 141,77 unequal: No Solution Exploring Operation: 87-54=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 87*54=4698, Resulting Numbers: [4698] 4698,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 77:[60, 87, 6], Operations: ['73-67=6'] Exploring Operation: 87-60=27, Resulting Numbers: [6, 27] Generated Node #0,3,0: 77:[6, 27] Operation: 87-60=27 Exploring Operation: 60/6=10, Resulting Numbers: [87, 10] Generated Node #0,3,1: 77:[87, 10] Operation: 60/6=10 Exploring Operation: 60+6=66, Resulting Numbers: [87, 66] Generated Node #0,3,2: 77:[87, 66] Operation: 60+6=66 Exploring Operation: 87-6=81, Resulting Numbers: [60, 81] Generated Node #0,3,3: 77:[60, 81] Operation: 87-6=81 Moving to Node #0,2 Current State: 77:[67, 73, 27], Operations: ['87-60=27'] Exploring Operation: 67+27=94, Resulting Numbers: [73, 94] Generated Node #0,2,0: 77:[73, 94] Operation: 67+27=94 Exploring Operation: 73-67=6, Resulting Numbers: [27, 6] Generated Node #0,2,1: 77:[27, 6] Operation: 73-67=6 Exploring Operation: 67-27=40, Resulting Numbers: [73, 40] Generated Node #0,2,2: 77:[73, 40] Operation: 67-27=40 Exploring Operation: 73+27=100, Resulting Numbers: [67, 100] Generated Node #0,2,3: 77:[67, 100] Operation: 73+27=100 Moving to Node #0,3,1 Current State: 77:[87, 10], Operations: ['73-67=6', '60/6=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[60, 67, 73, 87], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [60, 87, 6] Generated Node #0,3: 77:[60, 87, 6] Operation: 73-67=6 Moving to Node #0,3 Current State: 77:[60, 87, 6], Operations: ['73-67=6'] Exploring Operation: 60/6=10, Resulting Numbers: [87, 10] Generated Node #0,3,1: 77:[87, 10] Operation: 60/6=10 Moving to Node #0,3,1 Current State: 77:[87, 10], Operations: ['73-67=6', '60/6=10'] Exploring Operation: 87-10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 21, 30, 20, 86 ]
56
[ "21-20=1", "86-30=56", "1*56=56" ]
Current State: 56:[21, 30, 20, 86], Operations: [] Exploring Operation: 21-20=1, Resulting Numbers: [30, 86, 1] Generated Node #2: [30, 86, 1] from Operation: 21-20=1 Current State: 56:[30, 86, 1], Operations: ['21-20=1'] Exploring Operation: 86-30=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 86-30=56 Current State: 56:[1, 56], Operations: ['21-20=1', '86-30=56'] Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[21, 30, 20, 86], Operations: [] Exploring Operation: 86-21=65, Resulting Numbers: [30, 20, 65] Generated Node #0,0: 56:[30, 20, 65] Operation: 86-21=65 Exploring Operation: 86-30=56, Resulting Numbers: [21, 20, 56] Generated Node #0,1: 56:[21, 20, 56] Operation: 86-30=56 Exploring Operation: 86-20=66, Resulting Numbers: [21, 30, 66] Generated Node #0,2: 56:[21, 30, 66] Operation: 86-20=66 Exploring Operation: 30-21=9, Resulting Numbers: [20, 86, 9] Generated Node #0,3: 56:[20, 86, 9] Operation: 30-21=9 Exploring Operation: 21-20=1, Resulting Numbers: [30, 86, 1] Generated Node #0,4: 56:[30, 86, 1] Operation: 21-20=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[21, 20, 56], Operations: ['86-30=56'] Exploring Operation: 21-20=1, Resulting Numbers: [56, 1] Generated Node #0,1,0: 56:[56, 1] Operation: 21-20=1 Exploring Operation: 56-21=35, Resulting Numbers: [20, 35] Generated Node #0,1,1: 56:[20, 35] Operation: 56-21=35 Exploring Operation: 21+20=41, Resulting Numbers: [56, 41] Generated Node #0,1,2: 56:[56, 41] Operation: 21+20=41 Exploring Operation: 56-20=36, Resulting Numbers: [21, 36] Generated Node #0,1,3: 56:[21, 36] Operation: 56-20=36 Exploring Operation: 21+56=77, Resulting Numbers: [20, 77] Generated Node #0,1,4: 56:[20, 77] Operation: 21+56=77 Moving to Node #0,1,0 Current State: 56:[56, 1], Operations: ['86-30=56', '21-20=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[21, 30, 20, 86], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [21, 20, 56] Generated Node #0,1: 56:[21, 20, 56] Operation: 86-30=56 Moving to Node #0,1 Current State: 56:[21, 20, 56], Operations: ['86-30=56'] Exploring Operation: 21-20=1, Resulting Numbers: [56, 1] Generated Node #0,1,0: 56:[56, 1] Operation: 21-20=1 Moving to Node #0,1,0 Current State: 56:[56, 1], Operations: ['86-30=56', '21-20=1'] Exploring Operation: 56*1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 6, 82, 92, 14 ]
56
[ "6+82=88", "92-88=4", "14*4=56" ]
Current State: 56:[6, 82, 92, 14], Operations: [] Exploring Operation: 6+82=88, Resulting Numbers: [92, 14, 88] Generated Node #2: [92, 14, 88] from Operation: 6+82=88 Current State: 56:[92, 14, 88], Operations: ['6+82=88'] Exploring Operation: 92-88=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 92-88=4 Current State: 56:[14, 4], Operations: ['6+82=88', '92-88=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[6, 82, 92, 14], Operations: [] Exploring Operation: 82-6=76, Resulting Numbers: [92, 14, 76] Generated Node #0,0: 56:[92, 14, 76] Operation: 82-6=76 Exploring Operation: 92-14=78, Resulting Numbers: [6, 82, 78] Generated Node #0,1: 56:[6, 82, 78] Operation: 92-14=78 Exploring Operation: 92-82=10, Resulting Numbers: [6, 14, 10] Generated Node #0,2: 56:[6, 14, 10] Operation: 92-82=10 Exploring Operation: 82-14=68, Resulting Numbers: [6, 92, 68] Generated Node #0,3: 56:[6, 92, 68] Operation: 82-14=68 Moving to Node #0,2 Current State: 56:[6, 14, 10], Operations: ['92-82=10'] Exploring Operation: 14-10=4, Resulting Numbers: [6, 4] Generated Node #0,2,0: 56:[6, 4] Operation: 14-10=4 Exploring Operation: 10-6=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 56:[14, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [14, 16] Generated Node #0,2,2: 56:[14, 16] Operation: 6+10=16 Exploring Operation: 14-6=8, Resulting Numbers: [10, 8] Generated Node #0,2,3: 56:[10, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[14, 4], Operations: ['92-82=10', '10-6=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[6, 82, 92, 14], Operations: [] Exploring Operation: 92-82=10, Resulting Numbers: [6, 14, 10] Generated Node #0,2: 56:[6, 14, 10] Operation: 92-82=10 Moving to Node #0,2 Current State: 56:[6, 14, 10], Operations: ['92-82=10'] Exploring Operation: 10-6=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 56:[14, 4] Operation: 10-6=4 Moving to Node #0,2,1 Current State: 56:[14, 4], Operations: ['92-82=10', '10-6=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 8, 74, 80, 62 ]
20
[ "74-8=66", "66-62=4", "80/4=20" ]
Current State: 20:[8, 74, 80, 62], Operations: [] Exploring Operation: 74-8=66, Resulting Numbers: [80, 62, 66] Generated Node #2: [80, 62, 66] from Operation: 74-8=66 Current State: 20:[80, 62, 66], Operations: ['74-8=66'] Exploring Operation: 66-62=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 66-62=4 Current State: 20:[80, 4], Operations: ['74-8=66', '66-62=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[8, 74, 80, 62], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [8, 74, 18] Generated Node #0,0: 20:[8, 74, 18] Operation: 80-62=18 Exploring Operation: 74-62=12, Resulting Numbers: [8, 80, 12] Generated Node #0,1: 20:[8, 80, 12] Operation: 74-62=12 Exploring Operation: 80-74=6, Resulting Numbers: [8, 62, 6] Generated Node #0,2: 20:[8, 62, 6] Operation: 80-74=6 Exploring Operation: 80/8=10, Resulting Numbers: [74, 62, 10] Generated Node #0,3: 20:[74, 62, 10] Operation: 80/8=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[8, 62, 6], Operations: ['80-74=6'] Exploring Operation: 8-6=2, Resulting Numbers: [62, 2] Generated Node #0,2,0: 20:[62, 2] Operation: 8-6=2 Exploring Operation: 62-8=54, Resulting Numbers: [6, 54] Generated Node #0,2,1: 20:[6, 54] Operation: 62-8=54 Exploring Operation: 8+6=14, Resulting Numbers: [62, 14] Generated Node #0,2,2: 20:[62, 14] Operation: 8+6=14 Exploring Operation: 62-6=56, Resulting Numbers: [8, 56] Generated Node #0,2,3: 20:[8, 56] Operation: 62-6=56 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 20:[6, 54], Operations: ['80-74=6', '62-8=54'] Exploring Operation: 6+54=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 6*54=324, Resulting Numbers: [324] 324,20 unequal: No Solution Exploring Operation: 54/6=9, Resulting Numbers: [9] 9,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 20:[8, 56], Operations: ['80-74=6', '62-6=56'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,20 unequal: No Solution Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[62, 2], Operations: ['80-74=6', '8-6=2'] Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,20 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 20:[62, 14], Operations: ['80-74=6', '8+6=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[8, 74, 18], Operations: ['80-62=18'] Exploring Operation: 18-8=10, Resulting Numbers: [74, 10] Generated Node #0,0,0: 20:[74, 10] Operation: 18-8=10 Exploring Operation: 8+18=26, Resulting Numbers: [74, 26] Generated Node #0,0,1: 20:[74, 26] Operation: 8+18=26 Exploring Operation: 74-18=56, Resulting Numbers: [8, 56] Generated Node #0,0,2: 20:[8, 56] Operation: 74-18=56 Exploring Operation: 74-8=66, Resulting Numbers: [18, 66] Generated Node #0,0,3: 20:[18, 66] Operation: 74-8=66 Moving to Node #0,0,2 Current State: 20:[8, 56], Operations: ['80-62=18', '74-18=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,20 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[18, 66], Operations: ['80-62=18', '74-8=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[74, 10], Operations: ['80-62=18', '18-8=10'] Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,20 unequal: No Solution Exploring Operation: 74+10=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 74*10=740, Resulting Numbers: [740] 740,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[74, 26], Operations: ['80-62=18', '8+18=26'] Exploring Operation: 74*26=1924, Resulting Numbers: [1924] 1924,20 unequal: No Solution Exploring Operation: 74+26=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[8, 80, 12], Operations: ['74-62=12'] Exploring Operation: 80-8=72, Resulting Numbers: [12, 72] Generated Node #0,1,0: 20:[12, 72] Operation: 80-8=72 Exploring Operation: 80-12=68, Resulting Numbers: [8, 68] Generated Node #0,1,1: 20:[8, 68] Operation: 80-12=68 Exploring Operation: 80/8=10, Resulting Numbers: [12, 10] Generated Node #0,1,2: 20:[12, 10] Operation: 80/8=10 Exploring Operation: 8+12=20, Resulting Numbers: [80, 20] Generated Node #0,1,3: 20:[80, 20] Operation: 8+12=20 Moving to Node #0,1,2 Current State: 20:[12, 10], Operations: ['74-62=12', '80/8=10'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[8, 68], Operations: ['74-62=12', '80-12=68'] Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 8*68=544, Resulting Numbers: [544] 544,20 unequal: No Solution Exploring Operation: 8+68=76, Resulting Numbers: [76] 76,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[12, 72], Operations: ['74-62=12', '80-8=72'] Exploring Operation: 12*72=864, Resulting Numbers: [864] 864,20 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 12+72=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[80, 20], Operations: ['74-62=12', '8+12=20'] Exploring Operation: 80/20=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 80-20=60, Resulting Numbers: [60] 60,20 unequal: No Solution Exploring Operation: 80*20=1600, Resulting Numbers: [1600] 1600,20 unequal: No Solution Exploring Operation: 80+20=100, Resulting Numbers: [100] 100,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[74, 62, 10], Operations: ['80/8=10'] Exploring Operation: 74-10=64, Resulting Numbers: [62, 64] Generated Node #0,3,0: 20:[62, 64] Operation: 74-10=64 Exploring Operation: 74+10=84, Resulting Numbers: [62, 84] Generated Node #0,3,1: 20:[62, 84] Operation: 74+10=84 Exploring Operation: 74-62=12, Resulting Numbers: [10, 12] Generated Node #0,3,2: 20:[10, 12] Operation: 74-62=12 Exploring Operation: 62-10=52, Resulting Numbers: [74, 52] Generated Node #0,3,3: 20:[74, 52] Operation: 62-10=52 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 20:[10, 12], Operations: ['80/8=10', '74-62=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[62, 64], Operations: ['80/8=10', '74-10=64'] Exploring Operation: 62+64=126, Resulting Numbers: [126] 126,20 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 62*64=3968, Resulting Numbers: [3968] 3968,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 20:[74, 52], Operations: ['80/8=10', '62-10=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,20 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 20:[62, 84], Operations: ['80/8=10', '74+10=84'] Exploring Operation: 62*84=5208, Resulting Numbers: [5208] 5208,20 unequal: No Solution Exploring Operation: 84-62=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 62+84=146, Resulting Numbers: [146] 146,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 86, 59, 75, 80 ]
22
[ "86-59=27", "80-75=5", "27-5=22" ]
Current State: 22:[86, 59, 75, 80], Operations: [] Exploring Operation: 86-59=27, Resulting Numbers: [75, 80, 27] Generated Node #2: [75, 80, 27] from Operation: 86-59=27 Current State: 22:[75, 80, 27], Operations: ['86-59=27'] Exploring Operation: 80-75=5, Resulting Numbers: [27, 5] Generated Node #3: [27, 5] from Operation: 80-75=5 Current State: 22:[27, 5], Operations: ['86-59=27', '80-75=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[86, 59, 75, 80], Operations: [] Exploring Operation: 86-80=6, Resulting Numbers: [59, 75, 6] Generated Node #0,0: 22:[59, 75, 6] Operation: 86-80=6 Exploring Operation: 80-75=5, Resulting Numbers: [86, 59, 5] Generated Node #0,1: 22:[86, 59, 5] Operation: 80-75=5 Exploring Operation: 86-59=27, Resulting Numbers: [75, 80, 27] Generated Node #0,2: 22:[75, 80, 27] Operation: 86-59=27 Exploring Operation: 86-75=11, Resulting Numbers: [59, 80, 11] Generated Node #0,3: 22:[59, 80, 11] Operation: 86-75=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[59, 75, 6], Operations: ['86-80=6'] Exploring Operation: 59+6=65, Resulting Numbers: [75, 65] Generated Node #0,0,0: 22:[75, 65] Operation: 59+6=65 Exploring Operation: 75-59=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 22:[6, 16] Operation: 75-59=16 Exploring Operation: 75-6=69, Resulting Numbers: [59, 69] Generated Node #0,0,2: 22:[59, 69] Operation: 75-6=69 Exploring Operation: 59-6=53, Resulting Numbers: [75, 53] Generated Node #0,0,3: 22:[75, 53] Operation: 59-6=53 Moving to Node #0,0,1 Current State: 22:[6, 16], Operations: ['86-80=6', '75-59=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[86, 59, 75, 80], Operations: [] Exploring Operation: 86-80=6, Resulting Numbers: [59, 75, 6] Generated Node #0,0: 22:[59, 75, 6] Operation: 86-80=6 Moving to Node #0,0 Current State: 22:[59, 75, 6], Operations: ['86-80=6'] Exploring Operation: 75-59=16, Resulting Numbers: [6, 16] Generated Node #0,0,1: 22:[6, 16] Operation: 75-59=16 Moving to Node #0,0,1 Current State: 22:[6, 16], Operations: ['86-80=6', '75-59=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 86, 56, 75, 1 ]
44
[ "86-56=30", "75-1=74", "74-30=44" ]
Current State: 44:[86, 56, 75, 1], Operations: [] Exploring Operation: 86-56=30, Resulting Numbers: [75, 1, 30] Generated Node #2: [75, 1, 30] from Operation: 86-56=30 Current State: 44:[75, 1, 30], Operations: ['86-56=30'] Exploring Operation: 75-1=74, Resulting Numbers: [30, 74] Generated Node #3: [30, 74] from Operation: 75-1=74 Current State: 44:[30, 74], Operations: ['86-56=30', '75-1=74'] Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[86, 56, 75, 1], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [56, 1, 11] Generated Node #0,0: 44:[56, 1, 11] Operation: 86-75=11 Exploring Operation: 75-56=19, Resulting Numbers: [86, 1, 19] Generated Node #0,1: 44:[86, 1, 19] Operation: 75-56=19 Exploring Operation: 86-56=30, Resulting Numbers: [75, 1, 30] Generated Node #0,2: 44:[75, 1, 30] Operation: 86-56=30 Moving to Node #0,0 Current State: 44:[56, 1, 11], Operations: ['86-75=11'] Exploring Operation: 56-11=45, Resulting Numbers: [1, 45] Generated Node #0,0,0: 44:[1, 45] Operation: 56-11=45 Exploring Operation: 56*1=56, Resulting Numbers: [11, 56] Generated Node #0,0,1: 44:[11, 56] Operation: 56*1=56 Exploring Operation: 56-1=55, Resulting Numbers: [11, 55] Generated Node #0,0,2: 44:[11, 55] Operation: 56-1=55 Moving to Node #0,2 Current State: 44:[75, 1, 30], Operations: ['86-56=30'] Exploring Operation: 75-30=45, Resulting Numbers: [1, 45] Generated Node #0,2,0: 44:[1, 45] Operation: 75-30=45 Exploring Operation: 75-1=74, Resulting Numbers: [30, 74] Generated Node #0,2,1: 44:[30, 74] Operation: 75-1=74 Exploring Operation: 30-1=29, Resulting Numbers: [75, 29] Generated Node #0,2,2: 44:[75, 29] Operation: 30-1=29 Moving to Node #0,1 Current State: 44:[86, 1, 19], Operations: ['75-56=19'] Exploring Operation: 86-19=67, Resulting Numbers: [1, 67] Generated Node #0,1,0: 44:[1, 67] Operation: 86-19=67 Exploring Operation: 86-1=85, Resulting Numbers: [19, 85] Generated Node #0,1,1: 44:[19, 85] Operation: 86-1=85 Exploring Operation: 1+19=20, Resulting Numbers: [86, 20] Generated Node #0,1,2: 44:[86, 20] Operation: 1+19=20 Moving to Node #0,0,0 Current State: 44:[1, 45], Operations: ['86-75=11', '56-11=45'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[86, 56, 75, 1], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [56, 1, 11] Generated Node #0,0: 44:[56, 1, 11] Operation: 86-75=11 Moving to Node #0,0 Current State: 44:[56, 1, 11], Operations: ['86-75=11'] Exploring Operation: 56-11=45, Resulting Numbers: [1, 45] Generated Node #0,0,0: 44:[1, 45] Operation: 56-11=45 Moving to Node #0,0,0 Current State: 44:[1, 45], Operations: ['86-75=11', '56-11=45'] Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 79, 27, 37, 4 ]
93
[ "79-27=52", "37+4=41", "52+41=93" ]
Current State: 93:[79, 27, 37, 4], Operations: [] Exploring Operation: 79-27=52, Resulting Numbers: [37, 4, 52] Generated Node #2: [37, 4, 52] from Operation: 79-27=52 Current State: 93:[37, 4, 52], Operations: ['79-27=52'] Exploring Operation: 37+4=41, Resulting Numbers: [52, 41] Generated Node #3: [52, 41] from Operation: 37+4=41 Current State: 93:[52, 41], Operations: ['79-27=52', '37+4=41'] Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[79, 27, 37, 4], Operations: [] Exploring Operation: 37-4=33, Resulting Numbers: [79, 27, 33] Generated Node #0,0: 93:[79, 27, 33] Operation: 37-4=33 Exploring Operation: 79+4=83, Resulting Numbers: [27, 37, 83] Generated Node #0,1: 93:[27, 37, 83] Operation: 79+4=83 Exploring Operation: 27+4=31, Resulting Numbers: [79, 37, 31] Generated Node #0,2: 93:[79, 37, 31] Operation: 27+4=31 Exploring Operation: 79-37=42, Resulting Numbers: [27, 4, 42] Generated Node #0,3: 93:[27, 4, 42] Operation: 79-37=42 Exploring Operation: 79+27=106, Resulting Numbers: [37, 4, 106] Generated Node #0,4: 93:[37, 4, 106] Operation: 79+27=106 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[27, 4, 42], Operations: ['79-37=42'] Exploring Operation: 27+4=31, Resulting Numbers: [42, 31] Generated Node #0,3,0: 93:[42, 31] Operation: 27+4=31 Exploring Operation: 27-4=23, Resulting Numbers: [42, 23] Generated Node #0,3,1: 93:[42, 23] Operation: 27-4=23 Exploring Operation: 42-4=38, Resulting Numbers: [27, 38] Generated Node #0,3,2: 93:[27, 38] Operation: 42-4=38 Exploring Operation: 4+42=46, Resulting Numbers: [27, 46] Generated Node #0,3,3: 93:[27, 46] Operation: 4+42=46 Exploring Operation: 42-27=15, Resulting Numbers: [4, 15] Generated Node #0,3,4: 93:[4, 15] Operation: 42-27=15 Moving to Node #0,3,0 Current State: 93:[42, 31], Operations: ['79-37=42', '27+4=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 42*31=1302, Resulting Numbers: [1302] 1302,93 unequal: No Solution Exploring Operation: 42-31=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[27, 38], Operations: ['79-37=42', '42-4=38'] Exploring Operation: 38-27=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 27+38=65, Resulting Numbers: [65] 65,93 unequal: No Solution Exploring Operation: 27*38=1026, Resulting Numbers: [1026] 1026,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[4, 15], Operations: ['79-37=42', '42-27=15'] Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,93 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[42, 23], Operations: ['79-37=42', '27-4=23'] Exploring Operation: 42+23=65, Resulting Numbers: [65] 65,93 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 42*23=966, Resulting Numbers: [966] 966,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[27, 46], Operations: ['79-37=42', '4+42=46'] Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,93 unequal: No Solution Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[79, 27, 33], Operations: ['37-4=33'] Exploring Operation: 79-27=52, Resulting Numbers: [33, 52] Generated Node #0,0,0: 93:[33, 52] Operation: 79-27=52 Exploring Operation: 79-33=46, Resulting Numbers: [27, 46] Generated Node #0,0,1: 93:[27, 46] Operation: 79-33=46 Exploring Operation: 79+33=112, Resulting Numbers: [27, 112] Generated Node #0,0,2: 93:[27, 112] Operation: 79+33=112 Exploring Operation: 79+27=106, Resulting Numbers: [33, 106] Generated Node #0,0,3: 93:[33, 106] Operation: 79+27=106 Exploring Operation: 33-27=6, Resulting Numbers: [79, 6] Generated Node #0,0,4: 93:[79, 6] Operation: 33-27=6 Moving to Node #0,0,3 Current State: 93:[33, 106], Operations: ['37-4=33', '79+27=106'] Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 33*106=3498, Resulting Numbers: [3498] 3498,93 unequal: No Solution Exploring Operation: 33+106=139, Resulting Numbers: [139] 139,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[79, 6], Operations: ['37-4=33', '33-27=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,93 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[27, 46], Operations: ['37-4=33', '79-33=46'] Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 27*46=1242, Resulting Numbers: [1242] 1242,93 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[33, 52], Operations: ['37-4=33', '79-27=52'] Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,93 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[27, 112], Operations: ['37-4=33', '79+33=112'] Exploring Operation: 27+112=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 112-27=85, Resulting Numbers: [85] 85,93 unequal: No Solution Exploring Operation: 27*112=3024, Resulting Numbers: [3024] 3024,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[27, 37, 83], Operations: ['79+4=83'] Exploring Operation: 83-27=56, Resulting Numbers: [37, 56] Generated Node #0,1,0: 93:[37, 56] Operation: 83-27=56 Exploring Operation: 27+83=110, Resulting Numbers: [37, 110] Generated Node #0,1,1: 93:[37, 110] Operation: 27+83=110 Exploring Operation: 37-27=10, Resulting Numbers: [83, 10] Generated Node #0,1,2: 93:[83, 10] Operation: 37-27=10 Exploring Operation: 83-37=46, Resulting Numbers: [27, 46] Generated Node #0,1,3: 93:[27, 46] Operation: 83-37=46 Exploring Operation: 37+83=120, Resulting Numbers: [27, 120] Generated Node #0,1,4: 93:[27, 120] Operation: 37+83=120 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[83, 10], Operations: ['79+4=83', '37-27=10'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,93 unequal: No Solution Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[79, 27, 37, 4], Operations: [] Exploring Operation: 79+4=83, Resulting Numbers: [27, 37, 83] Generated Node #0,1: 93:[27, 37, 83] Operation: 79+4=83 Moving to Node #0,1 Current State: 93:[27, 37, 83], Operations: ['79+4=83'] Exploring Operation: 37-27=10, Resulting Numbers: [83, 10] Generated Node #0,1,2: 93:[83, 10] Operation: 37-27=10 Moving to Node #0,1,2 Current State: 93:[83, 10], Operations: ['79+4=83', '37-27=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 90, 25, 16, 36 ]
46
[ "25-16=9", "90/9=10", "36+10=46" ]
Current State: 46:[90, 25, 16, 36], Operations: [] Exploring Operation: 25-16=9, Resulting Numbers: [90, 36, 9] Generated Node #2: [90, 36, 9] from Operation: 25-16=9 Current State: 46:[90, 36, 9], Operations: ['25-16=9'] Exploring Operation: 90/9=10, Resulting Numbers: [36, 10] Generated Node #3: [36, 10] from Operation: 90/9=10 Current State: 46:[36, 10], Operations: ['25-16=9', '90/9=10'] Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[90, 25, 16, 36], Operations: [] Exploring Operation: 90-25=65, Resulting Numbers: [16, 36, 65] Generated Node #0,0: 46:[16, 36, 65] Operation: 90-25=65 Exploring Operation: 90-16=74, Resulting Numbers: [25, 36, 74] Generated Node #0,1: 46:[25, 36, 74] Operation: 90-16=74 Exploring Operation: 90-36=54, Resulting Numbers: [25, 16, 54] Generated Node #0,2: 46:[25, 16, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[25, 16, 54], Operations: ['90-36=54'] Exploring Operation: 54-25=29, Resulting Numbers: [16, 29] Generated Node #0,2,0: 46:[16, 29] Operation: 54-25=29 Exploring Operation: 54-16=38, Resulting Numbers: [25, 38] Generated Node #0,2,1: 46:[25, 38] Operation: 54-16=38 Exploring Operation: 25+16=41, Resulting Numbers: [54, 41] Generated Node #0,2,2: 46:[54, 41] Operation: 25+16=41 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[25, 38], Operations: ['90-36=54', '54-16=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,46 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[16, 29], Operations: ['90-36=54', '54-25=29'] Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,46 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[54, 41], Operations: ['90-36=54', '25+16=41'] Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,46 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,46 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[16, 36, 65], Operations: ['90-25=65'] Exploring Operation: 65-36=29, Resulting Numbers: [16, 29] Generated Node #0,0,0: 46:[16, 29] Operation: 65-36=29 Exploring Operation: 36-16=20, Resulting Numbers: [65, 20] Generated Node #0,0,1: 46:[65, 20] Operation: 36-16=20 Exploring Operation: 65-16=49, Resulting Numbers: [36, 49] Generated Node #0,0,2: 46:[36, 49] Operation: 65-16=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[16, 29], Operations: ['90-25=65', '65-36=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,46 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[36, 49], Operations: ['90-25=65', '65-16=49'] Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[65, 20], Operations: ['90-25=65', '36-16=20'] Exploring Operation: 65*20=1300, Resulting Numbers: [1300] 1300,46 unequal: No Solution Exploring Operation: 65+20=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[25, 36, 74], Operations: ['90-16=74'] Exploring Operation: 36-25=11, Resulting Numbers: [74, 11] Generated Node #0,1,0: 46:[74, 11] Operation: 36-25=11 Exploring Operation: 74-25=49, Resulting Numbers: [36, 49] Generated Node #0,1,1: 46:[36, 49] Operation: 74-25=49 Exploring Operation: 74-36=38, Resulting Numbers: [25, 38] Generated Node #0,1,2: 46:[25, 38] Operation: 74-36=38 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[25, 38], Operations: ['90-16=74', '74-36=38'] Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 46:[36, 49], Operations: ['90-16=74', '74-25=49'] Exploring Operation: 36+49=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 49-36=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 36*49=1764, Resulting Numbers: [1764] 1764,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[74, 11], Operations: ['90-16=74', '36-25=11'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 91, 42, 45, 22 ]
72
[ "91-42=49", "45-22=23", "49+23=72" ]
Current State: 72:[91, 42, 45, 22], Operations: [] Exploring Operation: 91-42=49, Resulting Numbers: [45, 22, 49] Generated Node #2: [45, 22, 49] from Operation: 91-42=49 Current State: 72:[45, 22, 49], Operations: ['91-42=49'] Exploring Operation: 45-22=23, Resulting Numbers: [49, 23] Generated Node #3: [49, 23] from Operation: 45-22=23 Current State: 72:[49, 23], Operations: ['91-42=49', '45-22=23'] Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[91, 42, 45, 22], Operations: [] Exploring Operation: 91-45=46, Resulting Numbers: [42, 22, 46] Generated Node #0,0: 72:[42, 22, 46] Operation: 91-45=46 Exploring Operation: 45-42=3, Resulting Numbers: [91, 22, 3] Generated Node #0,1: 72:[91, 22, 3] Operation: 45-42=3 Exploring Operation: 91-22=69, Resulting Numbers: [42, 45, 69] Generated Node #0,2: 72:[42, 45, 69] Operation: 91-22=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[42, 22, 46], Operations: ['91-45=46'] Exploring Operation: 22+46=68, Resulting Numbers: [42, 68] Generated Node #0,0,0: 72:[42, 68] Operation: 22+46=68 Exploring Operation: 46-42=4, Resulting Numbers: [22, 4] Generated Node #0,0,1: 72:[22, 4] Operation: 46-42=4 Exploring Operation: 46-22=24, Resulting Numbers: [42, 24] Generated Node #0,0,2: 72:[42, 24] Operation: 46-22=24 Moving to Node #0,0,1 Current State: 72:[22, 4], Operations: ['91-45=46', '46-42=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[42, 24], Operations: ['91-45=46', '46-22=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[42, 68], Operations: ['91-45=46', '22+46=68'] Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,72 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[42, 45, 69], Operations: ['91-22=69'] Exploring Operation: 45-42=3, Resulting Numbers: [69, 3] Generated Node #0,2,0: 72:[69, 3] Operation: 45-42=3 Exploring Operation: 69-42=27, Resulting Numbers: [45, 27] Generated Node #0,2,1: 72:[45, 27] Operation: 69-42=27 Exploring Operation: 69-45=24, Resulting Numbers: [42, 24] Generated Node #0,2,2: 72:[42, 24] Operation: 69-45=24 Moving to Node #0,2,0 Current State: 72:[69, 3], Operations: ['91-22=69', '45-42=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[91, 42, 45, 22], Operations: [] Exploring Operation: 91-22=69, Resulting Numbers: [42, 45, 69] Generated Node #0,2: 72:[42, 45, 69] Operation: 91-22=69 Moving to Node #0,2 Current State: 72:[42, 45, 69], Operations: ['91-22=69'] Exploring Operation: 45-42=3, Resulting Numbers: [69, 3] Generated Node #0,2,0: 72:[69, 3] Operation: 45-42=3 Moving to Node #0,2,0 Current State: 72:[69, 3], Operations: ['91-22=69', '45-42=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 43, 42, 40, 39 ]
53
[ "43-40=3", "42/3=14", "39+14=53" ]
Current State: 53:[43, 42, 40, 39], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [42, 39, 3] Generated Node #2: [42, 39, 3] from Operation: 43-40=3 Current State: 53:[42, 39, 3], Operations: ['43-40=3'] Exploring Operation: 42/3=14, Resulting Numbers: [39, 14] Generated Node #3: [39, 14] from Operation: 42/3=14 Current State: 53:[39, 14], Operations: ['43-40=3', '42/3=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[43, 42, 40, 39], Operations: [] Exploring Operation: 42+39=81, Resulting Numbers: [43, 40, 81] Generated Node #0,0: 53:[43, 40, 81] Operation: 42+39=81 Exploring Operation: 40+39=79, Resulting Numbers: [43, 42, 79] Generated Node #0,1: 53:[43, 42, 79] Operation: 40+39=79 Exploring Operation: 43+39=82, Resulting Numbers: [42, 40, 82] Generated Node #0,2: 53:[42, 40, 82] Operation: 43+39=82 Moving to Node #0,1 Current State: 53:[43, 42, 79], Operations: ['40+39=79'] Exploring Operation: 79-43=36, Resulting Numbers: [42, 36] Generated Node #0,1,0: 53:[42, 36] Operation: 79-43=36 Exploring Operation: 43+42=85, Resulting Numbers: [79, 85] Generated Node #0,1,1: 53:[79, 85] Operation: 43+42=85 Exploring Operation: 79-42=37, Resulting Numbers: [43, 37] Generated Node #0,1,2: 53:[43, 37] Operation: 79-42=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 53:[43, 37], Operations: ['40+39=79', '79-42=37'] Exploring Operation: 43*37=1591, Resulting Numbers: [1591] 1591,53 unequal: No Solution Exploring Operation: 43+37=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 53:[42, 36], Operations: ['40+39=79', '79-43=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,53 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 53:[79, 85], Operations: ['40+39=79', '43+42=85'] Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 79*85=6715, Resulting Numbers: [6715] 6715,53 unequal: No Solution Exploring Operation: 79+85=164, Resulting Numbers: [164] 164,53 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: 53:[43, 40, 81], Operations: ['42+39=81'] Exploring Operation: 43+40=83, Resulting Numbers: [81, 83] Generated Node #0,0,0: 53:[81, 83] Operation: 43+40=83 Exploring Operation: 81-40=41, Resulting Numbers: [43, 41] Generated Node #0,0,1: 53:[43, 41] Operation: 81-40=41 Exploring Operation: 81-43=38, Resulting Numbers: [40, 38] Generated Node #0,0,2: 53:[40, 38] Operation: 81-43=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[43, 41], Operations: ['42+39=81', '81-40=41'] Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 43*41=1763, Resulting Numbers: [1763] 1763,53 unequal: No Solution Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[40, 38], Operations: ['42+39=81', '81-43=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,53 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,53 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[81, 83], Operations: ['42+39=81', '43+40=83'] Exploring Operation: 81*83=6723, Resulting Numbers: [6723] 6723,53 unequal: No Solution Exploring Operation: 83-81=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 81+83=164, Resulting Numbers: [164] 164,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 53:[42, 40, 82], Operations: ['43+39=82'] Exploring Operation: 82-40=42, Resulting Numbers: [42, 42] Generated Node #0,2,0: 53:[42, 42] Operation: 82-40=42 Exploring Operation: 42+40=82, Resulting Numbers: [82, 82] Generated Node #0,2,1: 53:[82, 82] Operation: 42+40=82 Exploring Operation: 82-42=40, Resulting Numbers: [40, 40] Generated Node #0,2,2: 53:[40, 40] Operation: 82-42=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[42, 42], Operations: ['43+39=82', '82-40=42'] Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,53 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[40, 40], Operations: ['43+39=82', '82-42=40'] Exploring Operation: 40+40=80, Resulting Numbers: [80] 80,53 unequal: No Solution Exploring Operation: 40/40=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 40-40=0, Resulting Numbers: [0] 0,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[82, 82], Operations: ['43+39=82', '42+40=82'] Exploring Operation: 82/82=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 82+82=164, Resulting Numbers: [164] 164,53 unequal: No Solution Exploring Operation: 82-82=0, Resulting Numbers: [0] 0,53 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
[ 91, 48, 80, 65 ]
28
[ "91-48=43", "80-65=15", "43-15=28" ]
Current State: 28:[91, 48, 80, 65], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [80, 65, 43] Generated Node #2: [80, 65, 43] from Operation: 91-48=43 Current State: 28:[80, 65, 43], Operations: ['91-48=43'] Exploring Operation: 80-65=15, Resulting Numbers: [43, 15] Generated Node #3: [43, 15] from Operation: 80-65=15 Current State: 28:[43, 15], Operations: ['91-48=43', '80-65=15'] Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[91, 48, 80, 65], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [48, 65, 11] Generated Node #0,0: 28:[48, 65, 11] Operation: 91-80=11 Moving to Node #0,0 Current State: 28:[48, 65, 11], Operations: ['91-80=11'] Exploring Operation: 65-48=17, Resulting Numbers: [11, 17] Generated Node #0,0,0: 28:[11, 17] Operation: 65-48=17 Moving to Node #0,0,0 Current State: 28:[11, 17], Operations: ['91-80=11', '65-48=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[91, 48, 80, 65], Operations: [] Exploring Operation: 91-80=11, Resulting Numbers: [48, 65, 11] Generated Node #0,0: 28:[48, 65, 11] Operation: 91-80=11 Moving to Node #0,0 Current State: 28:[48, 65, 11], Operations: ['91-80=11'] Exploring Operation: 65-48=17, Resulting Numbers: [11, 17] Generated Node #0,0,0: 28:[11, 17] Operation: 65-48=17 Moving to Node #0,0,0 Current State: 28:[11, 17], Operations: ['91-80=11', '65-48=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 9, 4, 4, 18 ]
18
[ "9-4=5", "5-4=1", "18*1=18" ]
Current State: 18:[9, 4, 4, 18], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [18, 5] Generated Node #2: [18, 5] from Operation: 9-4=5 Current State: 18:[18, 5], Operations: ['9-4=5'] Exploring Operation: 5-4=1, Resulting Numbers: [18, 1] Generated Node #3: [18, 1] from Operation: 5-4=1 Current State: 18:[18, 1], Operations: ['9-4=5', '5-4=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[9, 4, 4, 18], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [4, 18, 5] Generated Node #0,0: 18:[4, 18, 5] Operation: 9-4=5 Exploring Operation: 9-4=5, Resulting Numbers: [4, 18, 5] Generated Node #0,1: 18:[4, 18, 5] Operation: 9-4=5 Exploring Operation: 18-9=9, Resulting Numbers: [4, 4, 9] Generated Node #0,2: 18:[4, 4, 9] Operation: 18-9=9 Exploring Operation: 4/4=1, Resulting Numbers: [9, 18, 1] Generated Node #0,3: 18:[9, 18, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [9, 18, 8] Generated Node #0,4: 18:[9, 18, 8] Operation: 4+4=8 Moving to Node #0,3 Current State: 18:[9, 18, 1], Operations: ['4/4=1'] Exploring Operation: 9*1=9, Resulting Numbers: [18, 9] Generated Node #0,3,0: 18:[18, 9] Operation: 9*1=9 Exploring Operation: 18-9=9, Resulting Numbers: [1, 9] Generated Node #0,3,1: 18:[1, 9] Operation: 18-9=9 Exploring Operation: 18*1=18, Resulting Numbers: [9, 18] Generated Node #0,3,2: 18:[9, 18] Operation: 18*1=18 Exploring Operation: 9/1=9, Resulting Numbers: [18, 9] Generated Node #0,3,3: 18:[18, 9] Operation: 9/1=9 Exploring Operation: 18/1=18, Resulting Numbers: [9, 18] Generated Node #0,3,4: 18:[9, 18] Operation: 18/1=18 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[18, 9], Operations: ['4/4=1', '9*1=9'] Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[9, 18], Operations: ['4/4=1', '18*1=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 18:[18, 9], Operations: ['4/4=1', '9/1=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[9, 18], Operations: ['4/4=1', '18/1=18'] Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 18:[1, 9], Operations: ['4/4=1', '18-9=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,18 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 18:[9, 18, 8], Operations: ['4+4=8'] Exploring Operation: 18-9=9, Resulting Numbers: [8, 9] Generated Node #0,4,0: 18:[8, 9] Operation: 18-9=9 Exploring Operation: 9+8=17, Resulting Numbers: [18, 17] Generated Node #0,4,1: 18:[18, 17] Operation: 9+8=17 Exploring Operation: 9-8=1, Resulting Numbers: [18, 1] Generated Node #0,4,2: 18:[18, 1] Operation: 9-8=1 Exploring Operation: 18-8=10, Resulting Numbers: [9, 10] Generated Node #0,4,3: 18:[9, 10] Operation: 18-8=10 Exploring Operation: 18/9=2, Resulting Numbers: [8, 2] Generated Node #0,4,4: 18:[8, 2] Operation: 18/9=2 Moving to Node #0,0 Current State: 18:[4, 18, 5], Operations: ['9-4=5'] Exploring Operation: 5-4=1, Resulting Numbers: [18, 1] Generated Node #0,0,0: 18:[18, 1] Operation: 5-4=1 Exploring Operation: 4*5=20, Resulting Numbers: [18, 20] Generated Node #0,0,1: 18:[18, 20] Operation: 4*5=20 Exploring Operation: 4+5=9, Resulting Numbers: [18, 9] Generated Node #0,0,2: 18:[18, 9] Operation: 4+5=9 Exploring Operation: 18-4=14, Resulting Numbers: [5, 14] Generated Node #0,0,3: 18:[5, 14] Operation: 18-4=14 Exploring Operation: 4+18=22, Resulting Numbers: [5, 22] Generated Node #0,0,4: 18:[5, 22] Operation: 4+18=22 Moving to Node #0,1 Current State: 18:[4, 18, 5], Operations: ['9-4=5'] Exploring Operation: 4*5=20, Resulting Numbers: [18, 20] Generated Node #0,1,0: 18:[18, 20] Operation: 4*5=20 Exploring Operation: 18-4=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 18:[5, 14] Operation: 18-4=14 Exploring Operation: 5-4=1, Resulting Numbers: [18, 1] Generated Node #0,1,2: 18:[18, 1] Operation: 5-4=1 Exploring Operation: 4+18=22, Resulting Numbers: [5, 22] Generated Node #0,1,3: 18:[5, 22] Operation: 4+18=22 Exploring Operation: 4+5=9, Resulting Numbers: [18, 9] Generated Node #0,1,4: 18:[18, 9] Operation: 4+5=9 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 18:[18, 9], Operations: ['9-4=5', '4+5=9'] Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,18 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[18, 1], Operations: ['9-4=5', '5-4=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[9, 4, 4, 18], Operations: [] Exploring Operation: 9-4=5, Resulting Numbers: [4, 18, 5] Generated Node #0,1: 18:[4, 18, 5] Operation: 9-4=5 Moving to Node #0,1 Current State: 18:[4, 18, 5], Operations: ['9-4=5'] Exploring Operation: 5-4=1, Resulting Numbers: [18, 1] Generated Node #0,1,2: 18:[18, 1] Operation: 5-4=1 Moving to Node #0,1,2 Current State: 18:[18, 1], Operations: ['9-4=5', '5-4=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.953125
hs_5
mult_heuristic
[ 28, 62, 48, 64 ]
18
[ "62-28=34", "64-48=16", "34-16=18" ]
Current State: 18:[28, 62, 48, 64], Operations: [] Exploring Operation: 62-28=34, Resulting Numbers: [48, 64, 34] Generated Node #2: [48, 64, 34] from Operation: 62-28=34 Current State: 18:[48, 64, 34], Operations: ['62-28=34'] Exploring Operation: 64-48=16, Resulting Numbers: [34, 16] Generated Node #3: [34, 16] from Operation: 64-48=16 Current State: 18:[34, 16], Operations: ['62-28=34', '64-48=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[28, 62, 48, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [28, 48, 2] Generated Node #0,0: 18:[28, 48, 2] Operation: 64-62=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[28, 48, 2], Operations: ['64-62=2'] Exploring Operation: 48-28=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 18:[2, 20] Operation: 48-28=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[2, 20], Operations: ['64-62=2', '48-28=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[28, 62, 48, 64], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [28, 48, 2] Generated Node #0,0: 18:[28, 48, 2] Operation: 64-62=2 Moving to Node #0,0 Current State: 18:[28, 48, 2], Operations: ['64-62=2'] Exploring Operation: 48-28=20, Resulting Numbers: [2, 20] Generated Node #0,0,0: 18:[2, 20] Operation: 48-28=20 Moving to Node #0,0,0 Current State: 18:[2, 20], Operations: ['64-62=2', '48-28=20'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 33, 11, 87, 39 ]
74
[ "33/11=3", "39/3=13", "87-13=74" ]
Current State: 74:[33, 11, 87, 39], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [87, 39, 3] Generated Node #2: [87, 39, 3] from Operation: 33/11=3 Current State: 74:[87, 39, 3], Operations: ['33/11=3'] Exploring Operation: 39/3=13, Resulting Numbers: [87, 13] Generated Node #3: [87, 13] from Operation: 39/3=13 Current State: 74:[87, 13], Operations: ['33/11=3', '39/3=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[33, 11, 87, 39], Operations: [] Exploring Operation: 87-11=76, Resulting Numbers: [33, 39, 76] Generated Node #0,0: 74:[33, 39, 76] Operation: 87-11=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[33, 39, 76], Operations: ['87-11=76'] Exploring Operation: 33+39=72, Resulting Numbers: [76, 72] Generated Node #0,0,0: 74:[76, 72] Operation: 33+39=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[76, 72], Operations: ['87-11=76', '33+39=72'] Exploring Operation: 76-72=4, Resulting Numbers: [4] 4,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 97, 53, 17, 42 ]
91
[ "97+53=150", "17+42=59", "150-59=91" ]
Current State: 91:[97, 53, 17, 42], Operations: [] Exploring Operation: 97+53=150, Resulting Numbers: [17, 42, 150] Generated Node #2: [17, 42, 150] from Operation: 97+53=150 Current State: 91:[17, 42, 150], Operations: ['97+53=150'] Exploring Operation: 17+42=59, Resulting Numbers: [150, 59] Generated Node #3: [150, 59] from Operation: 17+42=59 Current State: 91:[150, 59], Operations: ['97+53=150', '17+42=59'] Exploring Operation: 150-59=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[97, 53, 17, 42], Operations: [] Exploring Operation: 53+42=95, Resulting Numbers: [97, 17, 95] Generated Node #0,0: 91:[97, 17, 95] Operation: 53+42=95 Exploring Operation: 53+17=70, Resulting Numbers: [97, 42, 70] Generated Node #0,1: 91:[97, 42, 70] Operation: 53+17=70 Exploring Operation: 53-42=11, Resulting Numbers: [97, 17, 11] Generated Node #0,2: 91:[97, 17, 11] Operation: 53-42=11 Moving to Node #0,2 Current State: 91:[97, 17, 11], Operations: ['53-42=11'] Exploring Operation: 97-17=80, Resulting Numbers: [11, 80] Generated Node #0,2,0: 91:[11, 80] Operation: 97-17=80 Exploring Operation: 17-11=6, Resulting Numbers: [97, 6] Generated Node #0,2,1: 91:[97, 6] Operation: 17-11=6 Exploring Operation: 97-11=86, Resulting Numbers: [17, 86] Generated Node #0,2,2: 91:[17, 86] Operation: 97-11=86 Moving to Node #0,0 Current State: 91:[97, 17, 95], Operations: ['53+42=95'] Exploring Operation: 95-17=78, Resulting Numbers: [97, 78] Generated Node #0,0,0: 91:[97, 78] Operation: 95-17=78 Exploring Operation: 97-17=80, Resulting Numbers: [95, 80] Generated Node #0,0,1: 91:[95, 80] Operation: 97-17=80 Exploring Operation: 97-95=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 91:[17, 2] Operation: 97-95=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[17, 2], Operations: ['53+42=95', '97-95=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[95, 80], Operations: ['53+42=95', '97-17=80'] Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 95+80=175, Resulting Numbers: [175] 175,91 unequal: No Solution Exploring Operation: 95*80=7600, Resulting Numbers: [7600] 7600,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[97, 78], Operations: ['53+42=95', '95-17=78'] Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,91 unequal: No Solution Exploring Operation: 97*78=7566, Resulting Numbers: [7566] 7566,91 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,91 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: 91:[97, 42, 70], Operations: ['53+17=70'] Exploring Operation: 97-70=27, Resulting Numbers: [42, 27] Generated Node #0,1,0: 91:[42, 27] Operation: 97-70=27 Exploring Operation: 42+70=112, Resulting Numbers: [97, 112] Generated Node #0,1,1: 91:[97, 112] Operation: 42+70=112 Exploring Operation: 70-42=28, Resulting Numbers: [97, 28] Generated Node #0,1,2: 91:[97, 28] Operation: 70-42=28 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[97, 28], Operations: ['53+17=70', '70-42=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,91 unequal: No Solution Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[97, 112], Operations: ['53+17=70', '42+70=112'] Exploring Operation: 112-97=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 97*112=10864, Resulting Numbers: [10864] 10864,91 unequal: No Solution Exploring Operation: 97+112=209, Resulting Numbers: [209] 209,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[42, 27], Operations: ['53+17=70', '97-70=27'] Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,91 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,91 unequal: No Solution Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,91 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: 91:[97, 6], Operations: ['53-42=11', '17-11=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[97, 53, 17, 42], Operations: [] Exploring Operation: 53-42=11, Resulting Numbers: [97, 17, 11] Generated Node #0,2: 91:[97, 17, 11] Operation: 53-42=11 Moving to Node #0,2 Current State: 91:[97, 17, 11], Operations: ['53-42=11'] Exploring Operation: 17-11=6, Resulting Numbers: [97, 6] Generated Node #0,2,1: 91:[97, 6] Operation: 17-11=6 Moving to Node #0,2,1 Current State: 91:[97, 6], Operations: ['53-42=11', '17-11=6'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 5, 34, 34, 72 ]
77
[ "5+34=39", "72-34=38", "39+38=77" ]
Current State: 77:[5, 34, 34, 72], Operations: [] Exploring Operation: 5+34=39, Resulting Numbers: [72, 39] Generated Node #2: [72, 39] from Operation: 5+34=39 Current State: 77:[72, 39], Operations: ['5+34=39'] Exploring Operation: 72-34=38, Resulting Numbers: [39, 38] Generated Node #3: [39, 38] from Operation: 72-34=38 Current State: 77:[39, 38], Operations: ['5+34=39', '72-34=38'] Exploring Operation: 39+38=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[5, 34, 34, 72], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [5, 72, 0] Generated Node #0,0: 77:[5, 72, 0] Operation: 34-34=0 Exploring Operation: 34/34=1, Resulting Numbers: [5, 72, 1] Generated Node #0,1: 77:[5, 72, 1] Operation: 34/34=1 Exploring Operation: 34+34=68, Resulting Numbers: [5, 72, 68] Generated Node #0,2: 77:[5, 72, 68] Operation: 34+34=68 Moving to Node #0,1 Current State: 77:[5, 72, 1], Operations: ['34/34=1'] Exploring Operation: 72+1=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 77:[5, 73] Operation: 72+1=73 Exploring Operation: 5+1=6, Resulting Numbers: [72, 6] Generated Node #0,1,1: 77:[72, 6] Operation: 5+1=6 Exploring Operation: 5+72=77, Resulting Numbers: [1, 77] Generated Node #0,1,2: 77:[1, 77] Operation: 5+72=77 Moving to Node #0,0 Current State: 77:[5, 72, 0], Operations: ['34-34=0'] Exploring Operation: 5-0=5, Resulting Numbers: [72, 5] Generated Node #0,0,0: 77:[72, 5] Operation: 5-0=5 Exploring Operation: 5+72=77, Resulting Numbers: [0, 77] Generated Node #0,0,1: 77:[0, 77] Operation: 5+72=77 Exploring Operation: 5+0=5, Resulting Numbers: [72, 5] Generated Node #0,0,2: 77:[72, 5] Operation: 5+0=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[72, 5], Operations: ['34-34=0', '5-0=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,77 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[5, 34, 34, 72], Operations: [] Exploring Operation: 34-34=0, Resulting Numbers: [5, 72, 0] Generated Node #0,0: 77:[5, 72, 0] Operation: 34-34=0 Moving to Node #0,0 Current State: 77:[5, 72, 0], Operations: ['34-34=0'] Exploring Operation: 5-0=5, Resulting Numbers: [72, 5] Generated Node #0,0,0: 77:[72, 5] Operation: 5-0=5 Moving to Node #0,0,0 Current State: 77:[72, 5], Operations: ['34-34=0', '5-0=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 1, 4, 77, 84 ]
65
[ "77-1=76", "76/4=19", "84-19=65" ]
Current State: 65:[1, 4, 77, 84], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [4, 84, 76] Generated Node #2: [4, 84, 76] from Operation: 77-1=76 Current State: 65:[4, 84, 76], Operations: ['77-1=76'] Exploring Operation: 76/4=19, Resulting Numbers: [84, 19] Generated Node #3: [84, 19] from Operation: 76/4=19 Current State: 65:[84, 19], Operations: ['77-1=76', '76/4=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[1, 4, 77, 84], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [77, 84, 5] Generated Node #0,0: 65:[77, 84, 5] Operation: 1+4=5 Exploring Operation: 84-77=7, Resulting Numbers: [1, 4, 7] Generated Node #0,1: 65:[1, 4, 7] Operation: 84-77=7 Exploring Operation: 84/4=21, Resulting Numbers: [1, 77, 21] Generated Node #0,2: 65:[1, 77, 21] Operation: 84/4=21 Moving to Node #0,1 Current State: 65:[1, 4, 7], Operations: ['84-77=7'] Exploring Operation: 1*4=4, Resulting Numbers: [7, 4] Generated Node #0,1,0: 65:[7, 4] Operation: 1*4=4 Exploring Operation: 7-1=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 65:[4, 6] Operation: 7-1=6 Exploring Operation: 1+4=5, Resulting Numbers: [7, 5] Generated Node #0,1,2: 65:[7, 5] Operation: 1+4=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 65:[4, 6], Operations: ['84-77=7', '7-1=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,65 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[7, 5], Operations: ['84-77=7', '1+4=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 65:[7, 4], Operations: ['84-77=7', '1*4=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,65 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: 65:[1, 77, 21], Operations: ['84/4=21'] Exploring Operation: 21-1=20, Resulting Numbers: [77, 20] Generated Node #0,2,0: 65:[77, 20] Operation: 21-1=20 Exploring Operation: 77-21=56, Resulting Numbers: [1, 56] Generated Node #0,2,1: 65:[1, 56] Operation: 77-21=56 Exploring Operation: 77-1=76, Resulting Numbers: [21, 76] Generated Node #0,2,2: 65:[21, 76] Operation: 77-1=76 Moving to Node #0,0 Current State: 65:[77, 84, 5], Operations: ['1+4=5'] Exploring Operation: 84-77=7, Resulting Numbers: [5, 7] Generated Node #0,0,0: 65:[5, 7] Operation: 84-77=7 Exploring Operation: 77-5=72, Resulting Numbers: [84, 72] Generated Node #0,0,1: 65:[84, 72] Operation: 77-5=72 Exploring Operation: 84-5=79, Resulting Numbers: [77, 79] Generated Node #0,0,2: 65:[77, 79] Operation: 84-5=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[5, 7], Operations: ['1+4=5', '84-77=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[84, 72], Operations: ['1+4=5', '77-5=72'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 84+72=156, Resulting Numbers: [156] 156,65 unequal: No Solution Exploring Operation: 84*72=6048, Resulting Numbers: [6048] 6048,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[77, 79], Operations: ['1+4=5', '84-5=79'] Exploring Operation: 77+79=156, Resulting Numbers: [156] 156,65 unequal: No Solution Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 77*79=6083, Resulting Numbers: [6083] 6083,65 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: 65:[1, 56], Operations: ['84/4=21', '77-21=56'] Exploring Operation: 1*56=56, Resulting Numbers: [56] 56,65 unequal: No Solution Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 56/1=56, Resulting Numbers: [56] 56,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[77, 20], Operations: ['84/4=21', '21-1=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,65 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[21, 76], Operations: ['84/4=21', '77-1=76'] Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,65 unequal: No Solution Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,65 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 87, 40, 47, 76 ]
37
[ "76-47=29", "87/29=3", "40-3=37" ]
Current State: 37:[87, 40, 47, 76], Operations: [] Exploring Operation: 76-47=29, Resulting Numbers: [87, 40, 29] Generated Node #2: [87, 40, 29] from Operation: 76-47=29 Current State: 37:[87, 40, 29], Operations: ['76-47=29'] Exploring Operation: 87/29=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 87/29=3 Current State: 37:[40, 3], Operations: ['76-47=29', '87/29=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[87, 40, 47, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [40, 47, 11] Generated Node #0,0: 37:[40, 47, 11] Operation: 87-76=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[40, 47, 11], Operations: ['87-76=11'] Exploring Operation: 47-11=36, Resulting Numbers: [40, 36] Generated Node #0,0,0: 37:[40, 36] Operation: 47-11=36 Moving to Node #0,0,0 Current State: 37:[40, 36], Operations: ['87-76=11', '47-11=36'] Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 96, 16, 44 ]
44
[ "96-80=16", "16+44=60", "60-16=44" ]
Current State: 44:[80, 96, 16, 44], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [16, 44, 16] Generated Node #2: [16, 44, 16] from Operation: 96-80=16 Current State: 44:[16, 44, 16], Operations: ['96-80=16'] Exploring Operation: 16+44=60, Resulting Numbers: [60] 60,44 equal: Goal Reached Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[80, 96, 16, 44], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [16, 44, 16] Generated Node #0,0: 44:[16, 44, 16] Operation: 96-80=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[16, 44, 16], Operations: ['96-80=16'] Exploring Operation: 16/16=1, Resulting Numbers: [44, 1] Generated Node #0,0,0: 44:[44, 1] Operation: 16/16=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[44, 1], Operations: ['96-80=16', '16/16=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[80, 96, 16, 44], Operations: [] Exploring Operation: 96-80=16, Resulting Numbers: [16, 44, 16] Generated Node #0,0: 44:[16, 44, 16] Operation: 96-80=16 Moving to Node #0,0 Current State: 44:[16, 44, 16], Operations: ['96-80=16'] Exploring Operation: 16/16=1, Resulting Numbers: [44, 1] Generated Node #0,0,0: 44:[44, 1] Operation: 16/16=1 Moving to Node #0,0,0 Current State: 44:[44, 1], Operations: ['96-80=16', '16/16=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 47, 33, 57, 96 ]
73
[ "47+33=80", "57+96=153", "153-80=73" ]
Current State: 73:[47, 33, 57, 96], Operations: [] Exploring Operation: 47+33=80, Resulting Numbers: [57, 96, 80] Generated Node #2: [57, 96, 80] from Operation: 47+33=80 Current State: 73:[57, 96, 80], Operations: ['47+33=80'] Exploring Operation: 57+96=153, Resulting Numbers: [80, 153] Generated Node #3: [80, 153] from Operation: 57+96=153 Current State: 73:[80, 153], Operations: ['47+33=80', '57+96=153'] Exploring Operation: 153-80=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[47, 33, 57, 96], Operations: [] Exploring Operation: 47+33=80, Resulting Numbers: [57, 96, 80] Generated Node #0,0: 73:[57, 96, 80] Operation: 47+33=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[57, 96, 80], Operations: ['47+33=80'] Exploring Operation: 96-57=39, Resulting Numbers: [80, 39] Generated Node #0,0,0: 73:[80, 39] Operation: 96-57=39 Moving to Node #0,0,0 Current State: 73:[80, 39], Operations: ['47+33=80', '96-57=39'] Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,73 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
[ 3, 99, 48, 6 ]
89
[ "48/3=16", "99+6=105", "105-16=89" ]
Current State: 89:[3, 99, 48, 6], Operations: [] Exploring Operation: 48/3=16, Resulting Numbers: [99, 6, 16] Generated Node #2: [99, 6, 16] from Operation: 48/3=16 Current State: 89:[99, 6, 16], Operations: ['48/3=16'] Exploring Operation: 99+6=105, Resulting Numbers: [16, 105] Generated Node #3: [16, 105] from Operation: 99+6=105 Current State: 89:[16, 105], Operations: ['48/3=16', '99+6=105'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[3, 99, 48, 6], Operations: [] Exploring Operation: 3+6=9, Resulting Numbers: [99, 48, 9] Generated Node #0,0: 89:[99, 48, 9] Operation: 3+6=9 Exploring Operation: 3*6=18, Resulting Numbers: [99, 48, 18] Generated Node #0,1: 89:[99, 48, 18] Operation: 3*6=18 Exploring Operation: 99-3=96, Resulting Numbers: [48, 6, 96] Generated Node #0,2: 89:[48, 6, 96] Operation: 99-3=96 Exploring Operation: 3+48=51, Resulting Numbers: [99, 6, 51] Generated Node #0,3: 89:[99, 6, 51] Operation: 3+48=51 Exploring Operation: 99-6=93, Resulting Numbers: [3, 48, 93] Generated Node #0,4: 89:[3, 48, 93] Operation: 99-6=93 Moving to Node #0,1 Current State: 89:[99, 48, 18], Operations: ['3*6=18'] Exploring Operation: 99+18=117, Resulting Numbers: [48, 117] Generated Node #0,1,0: 89:[48, 117] Operation: 99+18=117 Exploring Operation: 99-48=51, Resulting Numbers: [18, 51] Generated Node #0,1,1: 89:[18, 51] Operation: 99-48=51 Exploring Operation: 48-18=30, Resulting Numbers: [99, 30] Generated Node #0,1,2: 89:[99, 30] Operation: 48-18=30 Exploring Operation: 48+18=66, Resulting Numbers: [99, 66] Generated Node #0,1,3: 89:[99, 66] Operation: 48+18=66 Exploring Operation: 99-18=81, Resulting Numbers: [48, 81] Generated Node #0,1,4: 89:[48, 81] Operation: 99-18=81 Moving to Node #0,2 Current State: 89:[48, 6, 96], Operations: ['99-3=96'] Exploring Operation: 48+6=54, Resulting Numbers: [96, 54] Generated Node #0,2,0: 89:[96, 54] Operation: 48+6=54 Exploring Operation: 96-6=90, Resulting Numbers: [48, 90] Generated Node #0,2,1: 89:[48, 90] Operation: 96-6=90 Exploring Operation: 48-6=42, Resulting Numbers: [96, 42] Generated Node #0,2,2: 89:[96, 42] Operation: 48-6=42 Exploring Operation: 6+96=102, Resulting Numbers: [48, 102] Generated Node #0,2,3: 89:[48, 102] Operation: 6+96=102 Exploring Operation: 48/6=8, Resulting Numbers: [96, 8] Generated Node #0,2,4: 89:[96, 8] Operation: 48/6=8 Moving to Node #0,4 Current State: 89:[3, 48, 93], Operations: ['99-6=93'] Exploring Operation: 3+48=51, Resulting Numbers: [93, 51] Generated Node #0,4,0: 89:[93, 51] Operation: 3+48=51 Exploring Operation: 48-3=45, Resulting Numbers: [93, 45] Generated Node #0,4,1: 89:[93, 45] Operation: 48-3=45 Exploring Operation: 3+93=96, Resulting Numbers: [48, 96] Generated Node #0,4,2: 89:[48, 96] Operation: 3+93=96 Exploring Operation: 3*48=144, Resulting Numbers: [93, 144] Generated Node #0,4,3: 89:[93, 144] Operation: 3*48=144 Exploring Operation: 93-3=90, Resulting Numbers: [48, 90] Generated Node #0,4,4: 89:[48, 90] Operation: 93-3=90 Moving to Node #0,0 Current State: 89:[99, 48, 9], Operations: ['3+6=9'] Exploring Operation: 99+9=108, Resulting Numbers: [48, 108] Generated Node #0,0,0: 89:[48, 108] Operation: 99+9=108 Exploring Operation: 48-9=39, Resulting Numbers: [99, 39] Generated Node #0,0,1: 89:[99, 39] Operation: 48-9=39 Exploring Operation: 99-9=90, Resulting Numbers: [48, 90] Generated Node #0,0,2: 89:[48, 90] Operation: 99-9=90 Exploring Operation: 48+9=57, Resulting Numbers: [99, 57] Generated Node #0,0,3: 89:[99, 57] Operation: 48+9=57 Exploring Operation: 99-48=51, Resulting Numbers: [9, 51] Generated Node #0,0,4: 89:[9, 51] Operation: 99-48=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[48, 90], Operations: ['3+6=9', '99-9=90'] Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,89 unequal: No Solution Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[99, 57], Operations: ['3+6=9', '48+9=57'] Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,89 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[48, 108], Operations: ['3+6=9', '99+9=108'] Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,89 unequal: No Solution Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[99, 39], Operations: ['3+6=9', '48-9=39'] Exploring Operation: 99*39=3861, Resulting Numbers: [3861] 3861,89 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 99+39=138, Resulting Numbers: [138] 138,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[9, 51], Operations: ['3+6=9', '99-48=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,89 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: 89:[99, 6, 51], Operations: ['3+48=51'] Exploring Operation: 6+51=57, Resulting Numbers: [99, 57] Generated Node #0,3,0: 89:[99, 57] Operation: 6+51=57 Exploring Operation: 99-6=93, Resulting Numbers: [51, 93] Generated Node #0,3,1: 89:[51, 93] Operation: 99-6=93 Exploring Operation: 99-51=48, Resulting Numbers: [6, 48] Generated Node #0,3,2: 89:[6, 48] Operation: 99-51=48 Exploring Operation: 99+6=105, Resulting Numbers: [51, 105] Generated Node #0,3,3: 89:[51, 105] Operation: 99+6=105 Exploring Operation: 51-6=45, Resulting Numbers: [99, 45] Generated Node #0,3,4: 89:[99, 45] Operation: 51-6=45 Moving to Node #0,1,3 Current State: 89:[99, 66], Operations: ['3*6=18', '48+18=66'] Exploring Operation: 99-66=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 99*66=6534, Resulting Numbers: [6534] 6534,89 unequal: No Solution Exploring Operation: 99+66=165, Resulting Numbers: [165] 165,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[96, 54], Operations: ['99-3=96', '48+6=54'] Exploring Operation: 96*54=5184, Resulting Numbers: [5184] 5184,89 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 96+54=150, Resulting Numbers: [150] 150,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[48, 90], Operations: ['99-3=96', '96-6=90'] Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,89 unequal: No Solution Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[48, 90], Operations: ['99-6=93', '93-3=90'] Exploring Operation: 48+90=138, Resulting Numbers: [138] 138,89 unequal: No Solution Exploring Operation: 48*90=4320, Resulting Numbers: [4320] 4320,89 unequal: No Solution Exploring Operation: 90-48=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[93, 51], Operations: ['99-6=93', '3+48=51'] Exploring Operation: 93+51=144, Resulting Numbers: [144] 144,89 unequal: No Solution Exploring Operation: 93*51=4743, Resulting Numbers: [4743] 4743,89 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[99, 57], Operations: ['3+48=51', '6+51=57'] Exploring Operation: 99*57=5643, Resulting Numbers: [5643] 5643,89 unequal: No Solution Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 99+57=156, Resulting Numbers: [156] 156,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[51, 93], Operations: ['3+48=51', '99-6=93'] Exploring Operation: 51+93=144, Resulting Numbers: [144] 144,89 unequal: No Solution Exploring Operation: 51*93=4743, Resulting Numbers: [4743] 4743,89 unequal: No Solution Exploring Operation: 93-51=42, Resulting Numbers: [42] 42,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[48, 96], Operations: ['99-6=93', '3+93=96'] Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,89 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 48*96=4608, Resulting Numbers: [4608] 4608,89 unequal: No Solution Moving to Node #0,4,1 Current State: 89:[93, 45], Operations: ['99-6=93', '48-3=45'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 93*45=4185, Resulting Numbers: [4185] 4185,89 unequal: No Solution Exploring Operation: 93+45=138, Resulting Numbers: [138] 138,89 unequal: No Solution Moving to Node #0,1,4 Current State: 89:[48, 81], Operations: ['3*6=18', '99-18=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,89 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[51, 105], Operations: ['3+48=51', '99+6=105'] Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,89 unequal: No Solution Exploring Operation: 51*105=5355, Resulting Numbers: [5355] 5355,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[99, 45], Operations: ['3+48=51', '51-6=45'] Exploring Operation: 99*45=4455, Resulting Numbers: [4455] 4455,89 unequal: No Solution Exploring Operation: 99+45=144, Resulting Numbers: [144] 144,89 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[48, 102], Operations: ['99-3=96', '6+96=102'] Exploring Operation: 102-48=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 48+102=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 48*102=4896, Resulting Numbers: [4896] 4896,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[96, 42], Operations: ['99-3=96', '48-6=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 96*42=4032, Resulting Numbers: [4032] 4032,89 unequal: No Solution Exploring Operation: 96+42=138, Resulting Numbers: [138] 138,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[93, 144], Operations: ['99-6=93', '3*48=144'] Exploring Operation: 93+144=237, Resulting Numbers: [237] 237,89 unequal: No Solution Exploring Operation: 144-93=51, Resulting Numbers: [51] 51,89 unequal: No Solution Exploring Operation: 93*144=13392, Resulting Numbers: [13392] 13392,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[99, 30], Operations: ['3*6=18', '48-18=30'] Exploring Operation: 99+30=129, Resulting Numbers: [129] 129,89 unequal: No Solution Exploring Operation: 99*30=2970, Resulting Numbers: [2970] 2970,89 unequal: No Solution Exploring Operation: 99-30=69, Resulting Numbers: [69] 69,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[48, 117], Operations: ['3*6=18', '99+18=117'] Exploring Operation: 48+117=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 48*117=5616, Resulting Numbers: [5616] 5616,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[96, 8], Operations: ['99-3=96', '48/6=8'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 96+8=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 96*8=768, Resulting Numbers: [768] 768,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[18, 51], Operations: ['3*6=18', '99-48=51'] Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,89 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[6, 48], Operations: ['3+48=51', '99-51=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,89 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 70, 9, 2, 26 ]
81
[ "70/2=35", "35-26=9", "9*9=81" ]
Current State: 81:[70, 9, 2, 26], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [9, 26, 35] Generated Node #2: [9, 26, 35] from Operation: 70/2=35 Current State: 81:[9, 26, 35], Operations: ['70/2=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 35-26=9 Current State: 81:[9, 9], Operations: ['70/2=35', '35-26=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[70, 9, 2, 26], Operations: [] Exploring Operation: 2+26=28, Resulting Numbers: [70, 9, 28] Generated Node #0,0: 81:[70, 9, 28] Operation: 2+26=28 Exploring Operation: 70/2=35, Resulting Numbers: [9, 26, 35] Generated Node #0,1: 81:[9, 26, 35] Operation: 70/2=35 Exploring Operation: 70+2=72, Resulting Numbers: [9, 26, 72] Generated Node #0,2: 81:[9, 26, 72] Operation: 70+2=72 Exploring Operation: 70+9=79, Resulting Numbers: [2, 26, 79] Generated Node #0,3: 81:[2, 26, 79] Operation: 70+9=79 Moving to Node #0,3 Current State: 81:[2, 26, 79], Operations: ['70+9=79'] Exploring Operation: 79-2=77, Resulting Numbers: [26, 77] Generated Node #0,3,0: 81:[26, 77] Operation: 79-2=77 Exploring Operation: 2+26=28, Resulting Numbers: [79, 28] Generated Node #0,3,1: 81:[79, 28] Operation: 2+26=28 Exploring Operation: 26-2=24, Resulting Numbers: [79, 24] Generated Node #0,3,2: 81:[79, 24] Operation: 26-2=24 Exploring Operation: 2+79=81, Resulting Numbers: [26, 81] Generated Node #0,3,3: 81:[26, 81] Operation: 2+79=81 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[26, 81], Operations: ['70+9=79', '2+79=81'] Exploring Operation: 81-26=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 26+81=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 26*81=2106, Resulting Numbers: [2106] 2106,81 unequal: No Solution No 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: 81:[79, 28], Operations: ['70+9=79', '2+26=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,81 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,81 unequal: No Solution No 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: 81:[26, 77], Operations: ['70+9=79', '79-2=77'] Exploring Operation: 26*77=2002, Resulting Numbers: [2002] 2002,81 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,81 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,81 unequal: No Solution No 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: 81:[79, 24], Operations: ['70+9=79', '26-2=24'] Exploring Operation: 79*24=1896, Resulting Numbers: [1896] 1896,81 unequal: No Solution Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 79+24=103, Resulting Numbers: [103] 103,81 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: 81:[9, 26, 35], Operations: ['70/2=35'] Exploring Operation: 26-9=17, Resulting Numbers: [35, 17] Generated Node #0,1,0: 81:[35, 17] Operation: 26-9=17 Exploring Operation: 9+26=35, Resulting Numbers: [35, 35] Generated Node #0,1,1: 81:[35, 35] Operation: 9+26=35 Exploring Operation: 35-26=9, Resulting Numbers: [9, 9] Generated Node #0,1,2: 81:[9, 9] Operation: 35-26=9 Exploring Operation: 35-9=26, Resulting Numbers: [26, 26] Generated Node #0,1,3: 81:[26, 26] Operation: 35-9=26 Moving to Node #0,2 Current State: 81:[9, 26, 72], Operations: ['70+2=72'] Exploring Operation: 9+26=35, Resulting Numbers: [72, 35] Generated Node #0,2,0: 81:[72, 35] Operation: 9+26=35 Exploring Operation: 72/9=8, Resulting Numbers: [26, 8] Generated Node #0,2,1: 81:[26, 8] Operation: 72/9=8 Exploring Operation: 26-9=17, Resulting Numbers: [72, 17] Generated Node #0,2,2: 81:[72, 17] Operation: 26-9=17 Exploring Operation: 9+72=81, Resulting Numbers: [26, 81] Generated Node #0,2,3: 81:[26, 81] Operation: 9+72=81 Moving to Node #0,0 Current State: 81:[70, 9, 28], Operations: ['2+26=28'] Exploring Operation: 70+9=79, Resulting Numbers: [28, 79] Generated Node #0,0,0: 81:[28, 79] Operation: 70+9=79 Exploring Operation: 70-28=42, Resulting Numbers: [9, 42] Generated Node #0,0,1: 81:[9, 42] Operation: 70-28=42 Exploring Operation: 28-9=19, Resulting Numbers: [70, 19] Generated Node #0,0,2: 81:[70, 19] Operation: 28-9=19 Exploring Operation: 70+28=98, Resulting Numbers: [9, 98] Generated Node #0,0,3: 81:[9, 98] Operation: 70+28=98 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[28, 79], Operations: ['2+26=28', '70+9=79'] Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,81 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,81 unequal: No Solution No 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: 81:[9, 42], Operations: ['2+26=28', '70-28=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,81 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,81 unequal: No Solution No 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: 81:[9, 98], Operations: ['2+26=28', '70+28=98'] Exploring Operation: 9+98=107, Resulting Numbers: [107] 107,81 unequal: No Solution Exploring Operation: 9*98=882, Resulting Numbers: [882] 882,81 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,81 unequal: No Solution No 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: 81:[70, 19], Operations: ['2+26=28', '28-9=19'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 81:[9, 9], Operations: ['70/2=35', '35-26=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[70, 9, 2, 26], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [9, 26, 35] Generated Node #0,1: 81:[9, 26, 35] Operation: 70/2=35 Moving to Node #0,1 Current State: 81:[9, 26, 35], Operations: ['70/2=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9, 9] Generated Node #0,1,2: 81:[9, 9] Operation: 35-26=9 Moving to Node #0,1,2 Current State: 81:[9, 9], Operations: ['70/2=35', '35-26=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.957465
hs_4
sum_heuristic
[ 50, 69, 75, 25 ]
69
[ "50+69=119", "75-25=50", "119-50=69" ]
Current State: 69:[50, 69, 75, 25], Operations: [] Exploring Operation: 50+69=119, Resulting Numbers: [75, 25, 119] Generated Node #2: [75, 25, 119] from Operation: 50+69=119 Current State: 69:[75, 25, 119], Operations: ['50+69=119'] Exploring Operation: 75-25=50, Resulting Numbers: [119, 50] Generated Node #3: [119, 50] from Operation: 75-25=50 Current State: 69:[119, 50], Operations: ['50+69=119', '75-25=50'] Exploring Operation: 119-50=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[50, 69, 75, 25], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [69, 25, 25] Generated Node #0,0: 69:[69, 25, 25] Operation: 75-50=25 Moving to Node #0,0 Current State: 69:[69, 25, 25], Operations: ['75-50=25'] Exploring Operation: 25/25=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 69:[69, 1] Operation: 25/25=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[69, 1], Operations: ['75-50=25', '25/25=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[50, 69, 75, 25], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [69, 25, 25] Generated Node #0,0: 69:[69, 25, 25] Operation: 75-50=25 Moving to Node #0,0 Current State: 69:[69, 25, 25], Operations: ['75-50=25'] Exploring Operation: 25/25=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 69:[69, 1] Operation: 25/25=1 Moving to Node #0,0,0 Current State: 69:[69, 1], Operations: ['75-50=25', '25/25=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 7, 22, 30, 5 ]
45
[ "22-7=15", "5*15=75", "75-30=45" ]
Current State: 45:[7, 22, 30, 5], Operations: [] Exploring Operation: 22-7=15, Resulting Numbers: [30, 5, 15] Generated Node #2: [30, 5, 15] from Operation: 22-7=15 Current State: 45:[30, 5, 15], Operations: ['22-7=15'] Exploring Operation: 5*15=75, Resulting Numbers: [30, 75] Generated Node #3: [30, 75] from Operation: 5*15=75 Current State: 45:[30, 75], Operations: ['22-7=15', '5*15=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[7, 22, 30, 5], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [7, 22, 6] Generated Node #0,0: 45:[7, 22, 6] Operation: 30/5=6 Exploring Operation: 30-22=8, Resulting Numbers: [7, 5, 8] Generated Node #0,1: 45:[7, 5, 8] Operation: 30-22=8 Exploring Operation: 22+30=52, Resulting Numbers: [7, 5, 52] Generated Node #0,2: 45:[7, 5, 52] Operation: 22+30=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[7, 5, 8], Operations: ['30-22=8'] Exploring Operation: 7-5=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 45:[8, 2] Operation: 7-5=2 Exploring Operation: 8-7=1, Resulting Numbers: [5, 1] Generated Node #0,1,1: 45:[5, 1] Operation: 8-7=1 Exploring Operation: 7+8=15, Resulting Numbers: [5, 15] Generated Node #0,1,2: 45:[5, 15] Operation: 7+8=15 Moving to Node #0,1,2 Current State: 45:[5, 15], Operations: ['30-22=8', '7+8=15'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[8, 2], Operations: ['30-22=8', '7-5=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[5, 1], Operations: ['30-22=8', '8-7=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,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:[7, 5, 52], Operations: ['22+30=52'] Exploring Operation: 52-5=47, Resulting Numbers: [7, 47] Generated Node #0,2,0: 45:[7, 47] Operation: 52-5=47 Exploring Operation: 52-7=45, Resulting Numbers: [5, 45] Generated Node #0,2,1: 45:[5, 45] Operation: 52-7=45 Exploring Operation: 7-5=2, Resulting Numbers: [52, 2] Generated Node #0,2,2: 45:[52, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[5, 45], Operations: ['22+30=52', '52-7=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,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,0 Current State: 45:[7, 47], Operations: ['22+30=52', '52-5=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,45 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,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:[52, 2], Operations: ['22+30=52', '7-5=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,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:[7, 22, 6], Operations: ['30/5=6'] Exploring Operation: 22-7=15, Resulting Numbers: [6, 15] Generated Node #0,0,0: 45:[6, 15] Operation: 22-7=15 Exploring Operation: 7+6=13, Resulting Numbers: [22, 13] Generated Node #0,0,1: 45:[22, 13] Operation: 7+6=13 Exploring Operation: 22-6=16, Resulting Numbers: [7, 16] Generated Node #0,0,2: 45:[7, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[6, 15], Operations: ['30/5=6', '22-7=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,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,0,2 Current State: 45:[7, 16], Operations: ['30/5=6', '22-6=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,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,0,1 Current State: 45:[22, 13], Operations: ['30/5=6', '7+6=13'] Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,45 unequal: No Solution Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,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
[ 42, 41, 34, 28 ]
89
[ "42+41=83", "34-28=6", "83+6=89" ]
Current State: 89:[42, 41, 34, 28], Operations: [] Exploring Operation: 42+41=83, Resulting Numbers: [34, 28, 83] Generated Node #2: [34, 28, 83] from Operation: 42+41=83 Current State: 89:[34, 28, 83], Operations: ['42+41=83'] Exploring Operation: 34-28=6, Resulting Numbers: [83, 6] Generated Node #3: [83, 6] from Operation: 34-28=6 Current State: 89:[83, 6], Operations: ['42+41=83', '34-28=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[42, 41, 34, 28], Operations: [] Exploring Operation: 42+34=76, Resulting Numbers: [41, 28, 76] Generated Node #0,0: 89:[41, 28, 76] Operation: 42+34=76 Exploring Operation: 42+28=70, Resulting Numbers: [41, 34, 70] Generated Node #0,1: 89:[41, 34, 70] Operation: 42+28=70 Exploring Operation: 42+41=83, Resulting Numbers: [34, 28, 83] Generated Node #0,2: 89:[34, 28, 83] Operation: 42+41=83 Moving to Node #0,0 Current State: 89:[41, 28, 76], Operations: ['42+34=76'] Exploring Operation: 28+76=104, Resulting Numbers: [41, 104] Generated Node #0,0,0: 89:[41, 104] Operation: 28+76=104 Exploring Operation: 41+28=69, Resulting Numbers: [76, 69] Generated Node #0,0,1: 89:[76, 69] Operation: 41+28=69 Exploring Operation: 41-28=13, Resulting Numbers: [76, 13] Generated Node #0,0,2: 89:[76, 13] Operation: 41-28=13 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[76, 69], Operations: ['42+34=76', '41+28=69'] Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 76+69=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 76*69=5244, Resulting Numbers: [5244] 5244,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[41, 104], Operations: ['42+34=76', '28+76=104'] Exploring Operation: 41+104=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 41*104=4264, Resulting Numbers: [4264] 4264,89 unequal: No Solution Exploring Operation: 104-41=63, Resulting Numbers: [63] 63,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[76, 13], Operations: ['42+34=76', '41-28=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,89 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[42, 41, 34, 28], Operations: [] Exploring Operation: 42+34=76, Resulting Numbers: [41, 28, 76] Generated Node #0,0: 89:[41, 28, 76] Operation: 42+34=76 Moving to Node #0,0 Current State: 89:[41, 28, 76], Operations: ['42+34=76'] Exploring Operation: 41-28=13, Resulting Numbers: [76, 13] Generated Node #0,0,2: 89:[76, 13] Operation: 41-28=13 Moving to Node #0,0,2 Current State: 89:[76, 13], Operations: ['42+34=76', '41-28=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 8, 38, 8, 75 ]
37
[ "8+38=46", "8+75=83", "83-46=37" ]
Current State: 37:[8, 38, 8, 75], Operations: [] Exploring Operation: 8+38=46, Resulting Numbers: [75, 46] Generated Node #2: [75, 46] from Operation: 8+38=46 Current State: 37:[75, 46], Operations: ['8+38=46'] Exploring Operation: 8+75=83, Resulting Numbers: [46, 83] Generated Node #3: [46, 83] from Operation: 8+75=83 Current State: 37:[46, 83], Operations: ['8+38=46', '8+75=83'] Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[8, 38, 8, 75], Operations: [] Exploring Operation: 75-38=37, Resulting Numbers: [8, 8, 37] Generated Node #0,0: 37:[8, 8, 37] Operation: 75-38=37 Exploring Operation: 8+8=16, Resulting Numbers: [38, 75, 16] Generated Node #0,1: 37:[38, 75, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[8, 8, 37], Operations: ['75-38=37'] Exploring Operation: 8+8=16, Resulting Numbers: [37, 16] Generated Node #0,0,0: 37:[37, 16] Operation: 8+8=16 Exploring Operation: 8*8=64, Resulting Numbers: [37, 64] Generated Node #0,0,1: 37:[37, 64] Operation: 8*8=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[37, 16], Operations: ['75-38=37', '8+8=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,37 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,37 unequal: No Solution No 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: 37:[37, 64], Operations: ['75-38=37', '8*8=64'] Exploring Operation: 37+64=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,37 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: 37:[38, 75, 16], Operations: ['8+8=16'] Exploring Operation: 75-38=37, Resulting Numbers: [16, 37] Generated Node #0,1,0: 37:[16, 37] Operation: 75-38=37 Exploring Operation: 75-16=59, Resulting Numbers: [38, 59] Generated Node #0,1,1: 37:[38, 59] Operation: 75-16=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[16, 37], Operations: ['8+8=16', '75-38=37'] Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,37 unequal: No Solution Exploring Operation: 16+37=53, Resulting Numbers: [53] 53,37 unequal: No Solution No 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: 37:[38, 59], Operations: ['8+8=16', '75-16=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,37 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
[ 2, 67, 59, 45 ]
36
[ "2*45=90", "67+59=126", "126-90=36" ]
Current State: 36:[2, 67, 59, 45], Operations: [] Exploring Operation: 2*45=90, Resulting Numbers: [67, 59, 90] Generated Node #2: [67, 59, 90] from Operation: 2*45=90 Current State: 36:[67, 59, 90], Operations: ['2*45=90'] Exploring Operation: 67+59=126, Resulting Numbers: [90, 126] Generated Node #3: [90, 126] from Operation: 67+59=126 Current State: 36:[90, 126], Operations: ['2*45=90', '67+59=126'] Exploring Operation: 126-90=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 67, 59, 45], Operations: [] Exploring Operation: 67-45=22, Resulting Numbers: [2, 59, 22] Generated Node #0,0: 36:[2, 59, 22] Operation: 67-45=22 Exploring Operation: 67-59=8, Resulting Numbers: [2, 45, 8] Generated Node #0,1: 36:[2, 45, 8] Operation: 67-59=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[2, 45, 8], Operations: ['67-59=8'] Exploring Operation: 45-8=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 36:[2, 37] Operation: 45-8=37 Exploring Operation: 45-2=43, Resulting Numbers: [8, 43] Generated Node #0,1,1: 36:[8, 43] Operation: 45-2=43 Moving to Node #0,1,0 Current State: 36:[2, 37], Operations: ['67-59=8', '45-8=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,36 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[8, 43], Operations: ['67-59=8', '45-2=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,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 Current State: 36:[2, 59, 22], Operations: ['67-45=22'] Exploring Operation: 22/2=11, Resulting Numbers: [59, 11] Generated Node #0,0,0: 36:[59, 11] Operation: 22/2=11 Exploring Operation: 59-22=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 36:[2, 37] Operation: 59-22=37 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 36:[2, 37], Operations: ['67-45=22', '59-22=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[59, 11], Operations: ['67-45=22', '22/2=11'] Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,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_2
sum_heuristic
[ 66, 60, 57, 30 ]
81
[ "66-60=6", "57+30=87", "87-6=81" ]
Current State: 81:[66, 60, 57, 30], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [57, 30, 6] Generated Node #2: [57, 30, 6] from Operation: 66-60=6 Current State: 81:[57, 30, 6], Operations: ['66-60=6'] Exploring Operation: 57+30=87, Resulting Numbers: [6, 87] Generated Node #3: [6, 87] from Operation: 57+30=87 Current State: 81:[6, 87], Operations: ['66-60=6', '57+30=87'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[66, 60, 57, 30], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [66, 30, 3] Generated Node #0,0: 81:[66, 30, 3] Operation: 60-57=3 Moving to Node #0,0 Current State: 81:[66, 30, 3], Operations: ['60-57=3'] Exploring Operation: 66/3=22, Resulting Numbers: [30, 22] Generated Node #0,0,0: 81:[30, 22] Operation: 66/3=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[30, 22], Operations: ['60-57=3', '66/3=22'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 76, 40, 36, 76 ]
76
[ "76+40=116", "76-36=40", "116-40=76" ]
Current State: 76:[76, 40, 36, 76], Operations: [] Exploring Operation: 76+40=116, Resulting Numbers: [36, 116] Generated Node #2: [36, 116] from Operation: 76+40=116 Current State: 76:[36, 116], Operations: ['76+40=116'] Exploring Operation: 76-36=40, Resulting Numbers: [116, 40] Generated Node #3: [116, 40] from Operation: 76-36=40 Current State: 76:[116, 40], Operations: ['76+40=116', '76-36=40'] Exploring Operation: 116-40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[76, 40, 36, 76], Operations: [] Exploring Operation: 40+36=76, Resulting Numbers: [76, 76, 76] Generated Node #0,0: 76:[76, 76, 76] Operation: 40+36=76 Moving to Node #0,0 Current State: 76:[76, 76, 76], Operations: ['40+36=76'] Exploring Operation: 76/76=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 76/76=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['40+36=76', '76/76=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[76, 40, 36, 76], Operations: [] Exploring Operation: 40+36=76, Resulting Numbers: [76, 76, 76] Generated Node #0,0: 76:[76, 76, 76] Operation: 40+36=76 Moving to Node #0,0 Current State: 76:[76, 76, 76], Operations: ['40+36=76'] Exploring Operation: 76/76=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 76/76=1 Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['40+36=76', '76/76=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 2, 56, 3, 82 ]
88
[ "82-2=80", "56*3=168", "168-80=88" ]
Current State: 88:[2, 56, 3, 82], Operations: [] Exploring Operation: 82-2=80, Resulting Numbers: [56, 3, 80] Generated Node #2: [56, 3, 80] from Operation: 82-2=80 Current State: 88:[56, 3, 80], Operations: ['82-2=80'] Exploring Operation: 56*3=168, Resulting Numbers: [80, 168] Generated Node #3: [80, 168] from Operation: 56*3=168 Current State: 88:[80, 168], Operations: ['82-2=80', '56*3=168'] Exploring Operation: 168-80=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[2, 56, 3, 82], Operations: [] Exploring Operation: 56-3=53, Resulting Numbers: [2, 82, 53] Generated Node #0,0: 88:[2, 82, 53] Operation: 56-3=53 Exploring Operation: 82/2=41, Resulting Numbers: [56, 3, 41] Generated Node #0,1: 88:[56, 3, 41] Operation: 82/2=41 Exploring Operation: 82-56=26, Resulting Numbers: [2, 3, 26] Generated Node #0,2: 88:[2, 3, 26] Operation: 82-56=26 Exploring Operation: 56/2=28, Resulting Numbers: [3, 82, 28] Generated Node #0,3: 88:[3, 82, 28] Operation: 56/2=28 Exploring Operation: 3+82=85, Resulting Numbers: [2, 56, 85] Generated Node #0,4: 88:[2, 56, 85] Operation: 3+82=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[2, 3, 26], Operations: ['82-56=26'] Exploring Operation: 26-3=23, Resulting Numbers: [2, 23] Generated Node #0,2,0: 88:[2, 23] Operation: 26-3=23 Exploring Operation: 2+3=5, Resulting Numbers: [26, 5] Generated Node #0,2,1: 88:[26, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [26, 1] Generated Node #0,2,2: 88:[26, 1] Operation: 3-2=1 Exploring Operation: 26/2=13, Resulting Numbers: [3, 13] Generated Node #0,2,3: 88:[3, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [3, 24] Generated Node #0,2,4: 88:[3, 24] Operation: 26-2=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 88:[2, 23], Operations: ['82-56=26', '26-3=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[3, 13], Operations: ['82-56=26', '26/2=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 88:[3, 24], Operations: ['82-56=26', '26-2=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 88:[26, 5], Operations: ['82-56=26', '2+3=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,88 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 88:[26, 1], Operations: ['82-56=26', '3-2=1'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[3, 82, 28], Operations: ['56/2=28'] Exploring Operation: 28-3=25, Resulting Numbers: [82, 25] Generated Node #0,3,0: 88:[82, 25] Operation: 28-3=25 Exploring Operation: 82-28=54, Resulting Numbers: [3, 54] Generated Node #0,3,1: 88:[3, 54] Operation: 82-28=54 Exploring Operation: 3*28=84, Resulting Numbers: [82, 84] Generated Node #0,3,2: 88:[82, 84] Operation: 3*28=84 Exploring Operation: 3+82=85, Resulting Numbers: [28, 85] Generated Node #0,3,3: 88:[28, 85] Operation: 3+82=85 Exploring Operation: 82-3=79, Resulting Numbers: [28, 79] Generated Node #0,3,4: 88:[28, 79] Operation: 82-3=79 Moving to Node #0,3,0 Current State: 88:[82, 25], Operations: ['56/2=28', '28-3=25'] Exploring Operation: 82*25=2050, Resulting Numbers: [2050] 2050,88 unequal: No Solution Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,88 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[28, 85], Operations: ['56/2=28', '3+82=85'] Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,88 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[82, 84], Operations: ['56/2=28', '3*28=84'] Exploring Operation: 82*84=6888, Resulting Numbers: [6888] 6888,88 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 82+84=166, Resulting Numbers: [166] 166,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[3, 54], Operations: ['56/2=28', '82-28=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,88 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[28, 79], Operations: ['56/2=28', '82-3=79'] Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,88 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[2, 82, 53], Operations: ['56-3=53'] Exploring Operation: 82-2=80, Resulting Numbers: [53, 80] Generated Node #0,0,0: 88:[53, 80] Operation: 82-2=80 Exploring Operation: 82-53=29, Resulting Numbers: [2, 29] Generated Node #0,0,1: 88:[2, 29] Operation: 82-53=29 Exploring Operation: 53-2=51, Resulting Numbers: [82, 51] Generated Node #0,0,2: 88:[82, 51] Operation: 53-2=51 Exploring Operation: 2+82=84, Resulting Numbers: [53, 84] Generated Node #0,0,3: 88:[53, 84] Operation: 2+82=84 Exploring Operation: 82/2=41, Resulting Numbers: [53, 41] Generated Node #0,0,4: 88:[53, 41] Operation: 82/2=41 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[2, 29], Operations: ['56-3=53', '82-53=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 88:[53, 41], Operations: ['56-3=53', '82/2=41'] Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,88 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 88:[82, 51], Operations: ['56-3=53', '53-2=51'] Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 82*51=4182, Resulting Numbers: [4182] 4182,88 unequal: No Solution Exploring Operation: 82+51=133, Resulting Numbers: [133] 133,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 88:[53, 84], Operations: ['56-3=53', '2+82=84'] Exploring Operation: 53*84=4452, Resulting Numbers: [4452] 4452,88 unequal: No Solution Exploring Operation: 53+84=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[53, 80], Operations: ['56-3=53', '82-2=80'] Exploring Operation: 53+80=133, Resulting Numbers: [133] 133,88 unequal: No Solution Exploring Operation: 53*80=4240, Resulting Numbers: [4240] 4240,88 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[2, 56, 85], Operations: ['3+82=85'] Exploring Operation: 56-2=54, Resulting Numbers: [85, 54] Generated Node #0,4,0: 88:[85, 54] Operation: 56-2=54 Exploring Operation: 85-56=29, Resulting Numbers: [2, 29] Generated Node #0,4,1: 88:[2, 29] Operation: 85-56=29 Exploring Operation: 2+85=87, Resulting Numbers: [56, 87] Generated Node #0,4,2: 88:[56, 87] Operation: 2+85=87 Exploring Operation: 2+56=58, Resulting Numbers: [85, 58] Generated Node #0,4,3: 88:[85, 58] Operation: 2+56=58 Exploring Operation: 56/2=28, Resulting Numbers: [85, 28] Generated Node #0,4,4: 88:[85, 28] Operation: 56/2=28 Moving to Node #0,4,1 Current State: 88:[2, 29], Operations: ['3+82=85', '85-56=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[85, 28], Operations: ['3+82=85', '56/2=28'] Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,88 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,88 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[85, 54], Operations: ['3+82=85', '56-2=54'] Exploring Operation: 85-54=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 85*54=4590, Resulting Numbers: [4590] 4590,88 unequal: No Solution Exploring Operation: 85+54=139, Resulting Numbers: [139] 139,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[56, 87], Operations: ['3+82=85', '2+85=87'] Exploring Operation: 56+87=143, Resulting Numbers: [143] 143,88 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 56*87=4872, Resulting Numbers: [4872] 4872,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[85, 58], Operations: ['3+82=85', '2+56=58'] Exploring Operation: 85-58=27, Resulting Numbers: [27] 27,88 unequal: No Solution Exploring Operation: 85+58=143, Resulting Numbers: [143] 143,88 unequal: No Solution Exploring Operation: 85*58=4930, Resulting Numbers: [4930] 4930,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[56, 3, 41], Operations: ['82/2=41'] Exploring Operation: 56+3=59, Resulting Numbers: [41, 59] Generated Node #0,1,0: 88:[41, 59] Operation: 56+3=59 Exploring Operation: 3+41=44, Resulting Numbers: [56, 44] Generated Node #0,1,1: 88:[56, 44] Operation: 3+41=44 Exploring Operation: 56-3=53, Resulting Numbers: [41, 53] Generated Node #0,1,2: 88:[41, 53] Operation: 56-3=53 Exploring Operation: 56-41=15, Resulting Numbers: [3, 15] Generated Node #0,1,3: 88:[3, 15] Operation: 56-41=15 Exploring Operation: 56+41=97, Resulting Numbers: [3, 97] Generated Node #0,1,4: 88:[3, 97] Operation: 56+41=97 Moving to Node #0,1,3 Current State: 88:[3, 15], Operations: ['82/2=41', '56-41=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[3, 97], Operations: ['82/2=41', '56+41=97'] Exploring Operation: 3+97=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 3*97=291, Resulting Numbers: [291] 291,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[56, 44], Operations: ['82/2=41', '3+41=44'] Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,88 unequal: No Solution Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[41, 53], Operations: ['82/2=41', '56-3=53'] Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,88 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[41, 59], Operations: ['82/2=41', '56+3=59'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 41*59=2419, Resulting Numbers: [2419] 2419,88 unequal: No Solution Exploring Operation: 41+59=100, Resulting Numbers: [100] 100,88 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
[ 19, 84, 30, 18 ]
17
[ "84-19=65", "30+18=48", "65-48=17" ]
Current State: 17:[19, 84, 30, 18], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [30, 18, 65] Generated Node #2: [30, 18, 65] from Operation: 84-19=65 Current State: 17:[30, 18, 65], Operations: ['84-19=65'] Exploring Operation: 30+18=48, Resulting Numbers: [65, 48] Generated Node #3: [65, 48] from Operation: 30+18=48 Current State: 17:[65, 48], Operations: ['84-19=65', '30+18=48'] Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[19, 84, 30, 18], Operations: [] Exploring Operation: 84-19=65, Resulting Numbers: [30, 18, 65] Generated Node #0,0: 17:[30, 18, 65] Operation: 84-19=65 Exploring Operation: 84-30=54, Resulting Numbers: [19, 18, 54] Generated Node #0,1: 17:[19, 18, 54] Operation: 84-30=54 Exploring Operation: 84-18=66, Resulting Numbers: [19, 30, 66] Generated Node #0,2: 17:[19, 30, 66] Operation: 84-18=66 Exploring Operation: 30-19=11, Resulting Numbers: [84, 18, 11] Generated Node #0,3: 17:[84, 18, 11] Operation: 30-19=11 Moving to Node #0,1 Current State: 17:[19, 18, 54], Operations: ['84-30=54'] Exploring Operation: 54-18=36, Resulting Numbers: [19, 36] Generated Node #0,1,0: 17:[19, 36] Operation: 54-18=36 Exploring Operation: 19-18=1, Resulting Numbers: [54, 1] Generated Node #0,1,1: 17:[54, 1] Operation: 19-18=1 Exploring Operation: 54-19=35, Resulting Numbers: [18, 35] Generated Node #0,1,2: 17:[18, 35] Operation: 54-19=35 Exploring Operation: 54/18=3, Resulting Numbers: [19, 3] Generated Node #0,1,3: 17:[19, 3] Operation: 54/18=3 Moving to Node #0,0 Current State: 17:[30, 18, 65], Operations: ['84-19=65'] Exploring Operation: 65-30=35, Resulting Numbers: [18, 35] Generated Node #0,0,0: 17:[18, 35] Operation: 65-30=35 Exploring Operation: 30+18=48, Resulting Numbers: [65, 48] Generated Node #0,0,1: 17:[65, 48] Operation: 30+18=48 Exploring Operation: 65-18=47, Resulting Numbers: [30, 47] Generated Node #0,0,2: 17:[30, 47] Operation: 65-18=47 Exploring Operation: 30-18=12, Resulting Numbers: [65, 12] Generated Node #0,0,3: 17:[65, 12] Operation: 30-18=12 Moving to Node #0,2 Current State: 17:[19, 30, 66], Operations: ['84-18=66'] Exploring Operation: 66-30=36, Resulting Numbers: [19, 36] Generated Node #0,2,0: 17:[19, 36] Operation: 66-30=36 Exploring Operation: 19+30=49, Resulting Numbers: [66, 49] Generated Node #0,2,1: 17:[66, 49] Operation: 19+30=49 Exploring Operation: 66-19=47, Resulting Numbers: [30, 47] Generated Node #0,2,2: 17:[30, 47] Operation: 66-19=47 Exploring Operation: 30-19=11, Resulting Numbers: [66, 11] Generated Node #0,2,3: 17:[66, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[19, 36], Operations: ['84-18=66', '66-30=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[19, 84, 30, 18], Operations: [] Exploring Operation: 84-18=66, Resulting Numbers: [19, 30, 66] Generated Node #0,2: 17:[19, 30, 66] Operation: 84-18=66 Moving to Node #0,2 Current State: 17:[19, 30, 66], Operations: ['84-18=66'] Exploring Operation: 66-30=36, Resulting Numbers: [19, 36] Generated Node #0,2,0: 17:[19, 36] Operation: 66-30=36 Moving to Node #0,2,0 Current State: 17:[19, 36], Operations: ['84-18=66', '66-30=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 70, 66, 81, 44 ]
38
[ "81-70=11", "66/11=6", "44-6=38" ]
Current State: 38:[70, 66, 81, 44], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [66, 44, 11] Generated Node #2: [66, 44, 11] from Operation: 81-70=11 Current State: 38:[66, 44, 11], Operations: ['81-70=11'] Exploring Operation: 66/11=6, Resulting Numbers: [44, 6] Generated Node #3: [44, 6] from Operation: 66/11=6 Current State: 38:[44, 6], Operations: ['81-70=11', '66/11=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[70, 66, 81, 44], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [66, 44, 11] Generated Node #0,0: 38:[66, 44, 11] Operation: 81-70=11 Exploring Operation: 81-66=15, Resulting Numbers: [70, 44, 15] Generated Node #0,1: 38:[70, 44, 15] Operation: 81-66=15 Moving to Node #0,0 Current State: 38:[66, 44, 11], Operations: ['81-70=11'] Exploring Operation: 66/11=6, Resulting Numbers: [44, 6] Generated Node #0,0,0: 38:[44, 6] Operation: 66/11=6 Exploring Operation: 66-44=22, Resulting Numbers: [11, 22] Generated Node #0,0,1: 38:[11, 22] Operation: 66-44=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[44, 6], Operations: ['81-70=11', '66/11=6'] Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,38 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[70, 66, 81, 44], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [66, 44, 11] Generated Node #0,0: 38:[66, 44, 11] Operation: 81-70=11 Moving to Node #0,0 Current State: 38:[66, 44, 11], Operations: ['81-70=11'] Exploring Operation: 66/11=6, Resulting Numbers: [44, 6] Generated Node #0,0,0: 38:[44, 6] Operation: 66/11=6 Moving to Node #0,0,0 Current State: 38:[44, 6], Operations: ['81-70=11', '66/11=6'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 49, 58, 27, 3 ]
30
[ "58-49=9", "9/3=3", "27+3=30" ]
Current State: 30:[49, 58, 27, 3], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [27, 3, 9] Generated Node #2: [27, 3, 9] from Operation: 58-49=9 Current State: 30:[27, 3, 9], Operations: ['58-49=9'] Exploring Operation: 9/3=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 9/3=3 Current State: 30:[27, 3], Operations: ['58-49=9', '9/3=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 58, 27, 3], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [27, 3, 9] Generated Node #0,0: 30:[27, 3, 9] Operation: 58-49=9 Moving to Node #0,0 Current State: 30:[27, 3, 9], Operations: ['58-49=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3, 3] Generated Node #0,0,0: 30:[3, 3] Operation: 27/9=3 Moving to Node #0,0,0 Current State: 30:[3, 3], Operations: ['58-49=9', '27/9=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,30 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 75, 84, 28, 77 ]
60
[ "75*84=6300", "28+77=105", "6300/105=60" ]
Current State: 60:[75, 84, 28, 77], Operations: [] Exploring Operation: 75*84=6300, Resulting Numbers: [28, 77, 6300] Generated Node #2: [28, 77, 6300] from Operation: 75*84=6300 Current State: 60:[28, 77, 6300], Operations: ['75*84=6300'] Exploring Operation: 28+77=105, Resulting Numbers: [6300, 105] Generated Node #3: [6300, 105] from Operation: 28+77=105 Current State: 60:[6300, 105], Operations: ['75*84=6300', '28+77=105'] Exploring Operation: 6300/105=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[75, 84, 28, 77], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [28, 77, 9] Generated Node #0,0: 60:[28, 77, 9] Operation: 84-75=9 Exploring Operation: 84-77=7, Resulting Numbers: [75, 28, 7] Generated Node #0,1: 60:[75, 28, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[75, 28, 7], Operations: ['84-77=7'] Exploring Operation: 75-28=47, Resulting Numbers: [7, 47] Generated Node #0,1,0: 60:[7, 47] Operation: 75-28=47 Exploring Operation: 75-7=68, Resulting Numbers: [28, 68] Generated Node #0,1,1: 60:[28, 68] Operation: 75-7=68 Moving to Node #0,1,1 Current State: 60:[28, 68], Operations: ['84-77=7', '75-7=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[7, 47], Operations: ['84-77=7', '75-28=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,60 unequal: No Solution No 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: 60:[28, 77, 9], Operations: ['84-75=9'] Exploring Operation: 77-9=68, Resulting Numbers: [28, 68] Generated Node #0,0,0: 60:[28, 68] Operation: 77-9=68 Exploring Operation: 77-28=49, Resulting Numbers: [9, 49] Generated Node #0,0,1: 60:[9, 49] Operation: 77-28=49 Moving to Node #0,0,0 Current State: 60:[28, 68], Operations: ['84-75=9', '77-9=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[9, 49], Operations: ['84-75=9', '77-28=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,60 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
[ 90, 67, 95, 3 ]
69
[ "90-67=23", "95-3=92", "92-23=69" ]
Current State: 69:[90, 67, 95, 3], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [95, 3, 23] Generated Node #2: [95, 3, 23] from Operation: 90-67=23 Current State: 69:[95, 3, 23], Operations: ['90-67=23'] Exploring Operation: 95-3=92, Resulting Numbers: [23, 92] Generated Node #3: [23, 92] from Operation: 95-3=92 Current State: 69:[23, 92], Operations: ['90-67=23', '95-3=92'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[90, 67, 95, 3], Operations: [] Exploring Operation: 90-3=87, Resulting Numbers: [67, 95, 87] Generated Node #0,0: 69:[67, 95, 87] Operation: 90-3=87 Exploring Operation: 95-67=28, Resulting Numbers: [90, 3, 28] Generated Node #0,1: 69:[90, 3, 28] Operation: 95-67=28 Exploring Operation: 90-67=23, Resulting Numbers: [95, 3, 23] Generated Node #0,2: 69:[95, 3, 23] Operation: 90-67=23 Exploring Operation: 90/3=30, Resulting Numbers: [67, 95, 30] Generated Node #0,3: 69:[67, 95, 30] Operation: 90/3=30 Exploring Operation: 95-90=5, Resulting Numbers: [67, 3, 5] Generated Node #0,4: 69:[67, 3, 5] Operation: 95-90=5 Moving to Node #0,4 Current State: 69:[67, 3, 5], Operations: ['95-90=5'] Exploring Operation: 67+5=72, Resulting Numbers: [3, 72] Generated Node #0,4,0: 69:[3, 72] Operation: 67+5=72 Exploring Operation: 67-5=62, Resulting Numbers: [3, 62] Generated Node #0,4,1: 69:[3, 62] Operation: 67-5=62 Exploring Operation: 67-3=64, Resulting Numbers: [5, 64] Generated Node #0,4,2: 69:[5, 64] Operation: 67-3=64 Exploring Operation: 5-3=2, Resulting Numbers: [67, 2] Generated Node #0,4,3: 69:[67, 2] Operation: 5-3=2 Exploring Operation: 67+3=70, Resulting Numbers: [5, 70] Generated Node #0,4,4: 69:[5, 70] Operation: 67+3=70 Moving to Node #0,2 Current State: 69:[95, 3, 23], Operations: ['90-67=23'] Exploring Operation: 95-3=92, Resulting Numbers: [23, 92] Generated Node #0,2,0: 69:[23, 92] Operation: 95-3=92 Exploring Operation: 3+23=26, Resulting Numbers: [95, 26] Generated Node #0,2,1: 69:[95, 26] Operation: 3+23=26 Exploring Operation: 95-23=72, Resulting Numbers: [3, 72] Generated Node #0,2,2: 69:[3, 72] Operation: 95-23=72 Exploring Operation: 3*23=69, Resulting Numbers: [95, 69] Generated Node #0,2,3: 69:[95, 69] Operation: 3*23=69 Exploring Operation: 95+3=98, Resulting Numbers: [23, 98] Generated Node #0,2,4: 69:[23, 98] Operation: 95+3=98 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[3, 72], Operations: ['90-67=23', '95-23=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[90, 67, 95, 3], Operations: [] Exploring Operation: 90-67=23, Resulting Numbers: [95, 3, 23] Generated Node #0,2: 69:[95, 3, 23] Operation: 90-67=23 Moving to Node #0,2 Current State: 69:[95, 3, 23], Operations: ['90-67=23'] Exploring Operation: 95-23=72, Resulting Numbers: [3, 72] Generated Node #0,2,2: 69:[3, 72] Operation: 95-23=72 Moving to Node #0,2,2 Current State: 69:[3, 72], Operations: ['90-67=23', '95-23=72'] Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 90, 54, 15, 36 ]
48
[ "90/15=6", "36/6=6", "54-6=48" ]
Current State: 48:[90, 54, 15, 36], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [54, 36, 6] Generated Node #2: [54, 36, 6] from Operation: 90/15=6 Current State: 48:[54, 36, 6], Operations: ['90/15=6'] Exploring Operation: 36/6=6, Resulting Numbers: [54, 6] Generated Node #3: [54, 6] from Operation: 36/6=6 Current State: 48:[54, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[90, 54, 15, 36], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [15, 36, 36] Generated Node #0,0: 48:[15, 36, 36] Operation: 90-54=36 Exploring Operation: 90/15=6, Resulting Numbers: [54, 36, 6] Generated Node #0,1: 48:[54, 36, 6] Operation: 90/15=6 Exploring Operation: 90-36=54, Resulting Numbers: [54, 15, 54] Generated Node #0,2: 48:[54, 15, 54] Operation: 90-36=54 Moving to Node #0,2 Current State: 48:[54, 15, 54], Operations: ['90-36=54'] Exploring Operation: 54-54=0, Resulting Numbers: [15, 0] Generated Node #0,2,0: 48:[15, 0] Operation: 54-54=0 Exploring Operation: 54-15=39, Resulting Numbers: [54, 39] Generated Node #0,2,1: 48:[54, 39] Operation: 54-15=39 Exploring Operation: 54/54=1, Resulting Numbers: [15, 1] Generated Node #0,2,2: 48:[15, 1] Operation: 54/54=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[15, 1], Operations: ['90-36=54', '54/54=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[15, 0], Operations: ['90-36=54', '54-54=0'] Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[54, 39], Operations: ['90-36=54', '54-15=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,48 unequal: No Solution Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,48 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,48 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: 48:[54, 36, 6], Operations: ['90/15=6'] Exploring Operation: 54-36=18, Resulting Numbers: [6, 18] Generated Node #0,1,0: 48:[6, 18] Operation: 54-36=18 Exploring Operation: 54-6=48, Resulting Numbers: [36, 48] Generated Node #0,1,1: 48:[36, 48] Operation: 54-6=48 Exploring Operation: 36/6=6, Resulting Numbers: [54, 6] Generated Node #0,1,2: 48:[54, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[6, 18], Operations: ['90/15=6', '54-36=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[54, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 54+6=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[90, 54, 15, 36], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [54, 36, 6] Generated Node #0,1: 48:[54, 36, 6] Operation: 90/15=6 Moving to Node #0,1 Current State: 48:[54, 36, 6], Operations: ['90/15=6'] Exploring Operation: 36/6=6, Resulting Numbers: [54, 6] Generated Node #0,1,2: 48:[54, 6] Operation: 36/6=6 Moving to Node #0,1,2 Current State: 48:[54, 6], Operations: ['90/15=6', '36/6=6'] Exploring Operation: 54-6=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 73, 24, 48, 69 ]
69
[ "73-24=49", "49-48=1", "69*1=69" ]
Current State: 69:[73, 24, 48, 69], Operations: [] Exploring Operation: 73-24=49, Resulting Numbers: [48, 69, 49] Generated Node #2: [48, 69, 49] from Operation: 73-24=49 Current State: 69:[48, 69, 49], Operations: ['73-24=49'] Exploring Operation: 49-48=1, Resulting Numbers: [69, 1] Generated Node #3: [69, 1] from Operation: 49-48=1 Current State: 69:[69, 1], Operations: ['73-24=49', '49-48=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[73, 24, 48, 69], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [24, 69, 25] Generated Node #0,0: 69:[24, 69, 25] Operation: 73-48=25 Exploring Operation: 48-24=24, Resulting Numbers: [73, 69, 24] Generated Node #0,1: 69:[73, 69, 24] Operation: 48-24=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[24, 69, 25], Operations: ['73-48=25'] Exploring Operation: 25-24=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 69:[69, 1] Operation: 25-24=1 Exploring Operation: 24+25=49, Resulting Numbers: [69, 49] Generated Node #0,0,1: 69:[69, 49] Operation: 24+25=49 Moving to Node #0,0,0 Current State: 69:[69, 1], Operations: ['73-48=25', '25-24=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[73, 24, 48, 69], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [24, 69, 25] Generated Node #0,0: 69:[24, 69, 25] Operation: 73-48=25 Moving to Node #0,0 Current State: 69:[24, 69, 25], Operations: ['73-48=25'] Exploring Operation: 25-24=1, Resulting Numbers: [69, 1] Generated Node #0,0,0: 69:[69, 1] Operation: 25-24=1 Moving to Node #0,0,0 Current State: 69:[69, 1], Operations: ['73-48=25', '25-24=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 63, 3, 18, 87 ]
60
[ "63+18=81", "81/3=27", "87-27=60" ]
Current State: 60:[63, 3, 18, 87], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [3, 87, 81] Generated Node #2: [3, 87, 81] from Operation: 63+18=81 Current State: 60:[3, 87, 81], Operations: ['63+18=81'] Exploring Operation: 81/3=27, Resulting Numbers: [87, 27] Generated Node #3: [87, 27] from Operation: 81/3=27 Current State: 60:[87, 27], Operations: ['63+18=81', '81/3=27'] Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[63, 3, 18, 87], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [63, 18, 29] Generated Node #0,0: 60:[63, 18, 29] Operation: 87/3=29 Exploring Operation: 87-63=24, Resulting Numbers: [3, 18, 24] Generated Node #0,1: 60:[3, 18, 24] Operation: 87-63=24 Exploring Operation: 87-18=69, Resulting Numbers: [63, 3, 69] Generated Node #0,2: 60:[63, 3, 69] Operation: 87-18=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[63, 18, 29], Operations: ['87/3=29'] Exploring Operation: 63-18=45, Resulting Numbers: [29, 45] Generated Node #0,0,0: 60:[29, 45] Operation: 63-18=45 Exploring Operation: 29-18=11, Resulting Numbers: [63, 11] Generated Node #0,0,1: 60:[63, 11] Operation: 29-18=11 Exploring Operation: 63-29=34, Resulting Numbers: [18, 34] Generated Node #0,0,2: 60:[18, 34] Operation: 63-29=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[63, 11], Operations: ['87/3=29', '29-18=11'] Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,60 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[18, 34], Operations: ['87/3=29', '63-29=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,60 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[29, 45], Operations: ['87/3=29', '63-18=45'] Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,60 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[3, 18, 24], Operations: ['87-63=24'] Exploring Operation: 24-3=21, Resulting Numbers: [18, 21] Generated Node #0,1,0: 60:[18, 21] Operation: 24-3=21 Exploring Operation: 24-18=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 60:[3, 6] Operation: 24-18=6 Exploring Operation: 18-3=15, Resulting Numbers: [24, 15] Generated Node #0,1,2: 60:[24, 15] Operation: 18-3=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[3, 6], Operations: ['87-63=24', '24-18=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[18, 21], Operations: ['87-63=24', '24-3=21'] Exploring Operation: 18+21=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 18*21=378, Resulting Numbers: [378] 378,60 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[24, 15], Operations: ['87-63=24', '18-3=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,60 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[63, 3, 69], Operations: ['87-18=69'] Exploring Operation: 69-63=6, Resulting Numbers: [3, 6] Generated Node #0,2,0: 60:[3, 6] Operation: 69-63=6 Exploring Operation: 63-3=60, Resulting Numbers: [69, 60] Generated Node #0,2,1: 60:[69, 60] Operation: 63-3=60 Exploring Operation: 69/3=23, Resulting Numbers: [63, 23] Generated Node #0,2,2: 60:[63, 23] Operation: 69/3=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[3, 6], Operations: ['87-18=69', '69-63=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[63, 23], Operations: ['87-18=69', '69/3=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,60 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[69, 60], Operations: ['87-18=69', '63-3=60'] Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,60 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,60 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 46, 26, 92, 2 ]
33
[ "92-46=46", "26/2=13", "46-13=33" ]
Current State: 33:[46, 26, 92, 2], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [26, 2, 46] Generated Node #2: [26, 2, 46] from Operation: 92-46=46 Current State: 33:[26, 2, 46], Operations: ['92-46=46'] Exploring Operation: 26/2=13, Resulting Numbers: [46, 13] Generated Node #3: [46, 13] from Operation: 26/2=13 Current State: 33:[46, 13], Operations: ['92-46=46', '26/2=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[46, 26, 92, 2], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [26, 2, 2] Generated Node #0,0: 33:[26, 2, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [26, 2, 46] Generated Node #0,1: 33:[26, 2, 46] Operation: 92-46=46 Moving to Node #0,0 Current State: 33:[26, 2, 2], Operations: ['92/46=2'] Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 33:[2, 13] Operation: 26/2=13 Exploring Operation: 26/2=13, Resulting Numbers: [2, 13] Generated Node #0,0,1: 33:[2, 13] Operation: 26/2=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[2, 13], Operations: ['92/46=2', '26/2=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,33 unequal: No Solution No 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: 33:[2, 13], Operations: ['92/46=2', '26/2=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,33 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: 33:[26, 2, 46], Operations: ['92-46=46'] Exploring Operation: 46-26=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 33:[2, 20] Operation: 46-26=20 Exploring Operation: 26/2=13, Resulting Numbers: [46, 13] Generated Node #0,1,1: 33:[46, 13] Operation: 26/2=13 Moving to Node #0,1,0 Current State: 33:[2, 20], Operations: ['92-46=46', '46-26=20'] Exploring Operation: 2*20=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[46, 13], Operations: ['92-46=46', '26/2=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[46, 26, 92, 2], Operations: [] Exploring Operation: 92-46=46, Resulting Numbers: [26, 2, 46] Generated Node #0,1: 33:[26, 2, 46] Operation: 92-46=46 Moving to Node #0,1 Current State: 33:[26, 2, 46], Operations: ['92-46=46'] Exploring Operation: 26/2=13, Resulting Numbers: [46, 13] Generated Node #0,1,1: 33:[46, 13] Operation: 26/2=13 Moving to Node #0,1,1 Current State: 33:[46, 13], Operations: ['92-46=46', '26/2=13'] Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 59, 6, 38, 57 ]
50
[ "59-57=2", "6*2=12", "38+12=50" ]
Current State: 50:[59, 6, 38, 57], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [6, 38, 2] Generated Node #2: [6, 38, 2] from Operation: 59-57=2 Current State: 50:[6, 38, 2], Operations: ['59-57=2'] Exploring Operation: 6*2=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 6*2=12 Current State: 50:[38, 12], Operations: ['59-57=2', '6*2=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[59, 6, 38, 57], Operations: [] Exploring Operation: 59-38=21, Resulting Numbers: [6, 57, 21] Generated Node #0,0: 50:[6, 57, 21] Operation: 59-38=21 Exploring Operation: 59-6=53, Resulting Numbers: [38, 57, 53] Generated Node #0,1: 50:[38, 57, 53] Operation: 59-6=53 Exploring Operation: 59-57=2, Resulting Numbers: [6, 38, 2] Generated Node #0,2: 50:[6, 38, 2] Operation: 59-57=2 Exploring Operation: 57-38=19, Resulting Numbers: [59, 6, 19] Generated Node #0,3: 50:[59, 6, 19] Operation: 57-38=19 Moving to Node #0,0 Current State: 50:[6, 57, 21], Operations: ['59-38=21'] Exploring Operation: 6+21=27, Resulting Numbers: [57, 27] Generated Node #0,0,0: 50:[57, 27] Operation: 6+21=27 Exploring Operation: 57-21=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 50:[6, 36] Operation: 57-21=36 Exploring Operation: 57-6=51, Resulting Numbers: [21, 51] Generated Node #0,0,2: 50:[21, 51] Operation: 57-6=51 Exploring Operation: 21-6=15, Resulting Numbers: [57, 15] Generated Node #0,0,3: 50:[57, 15] Operation: 21-6=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[21, 51], Operations: ['59-38=21', '57-6=51'] Exploring Operation: 21*51=1071, Resulting Numbers: [1071] 1071,50 unequal: No Solution Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,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,0 Current State: 50:[57, 27], Operations: ['59-38=21', '6+21=27'] Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 57*27=1539, Resulting Numbers: [1539] 1539,50 unequal: No Solution Exploring Operation: 57-27=30, Resulting Numbers: [30] 30,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,1 Current State: 50:[6, 36], Operations: ['59-38=21', '57-21=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 6*36=216, Resulting Numbers: [216] 216,50 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,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,3 Current State: 50:[57, 15], Operations: ['59-38=21', '21-6=15'] Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,50 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,50 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: 50:[6, 38, 2], Operations: ['59-57=2'] Exploring Operation: 38/2=19, Resulting Numbers: [6, 19] Generated Node #0,2,0: 50:[6, 19] Operation: 38/2=19 Exploring Operation: 38-6=32, Resulting Numbers: [2, 32] Generated Node #0,2,1: 50:[2, 32] Operation: 38-6=32 Exploring Operation: 38+2=40, Resulting Numbers: [6, 40] Generated Node #0,2,2: 50:[6, 40] Operation: 38+2=40 Exploring Operation: 6+38=44, Resulting Numbers: [2, 44] Generated Node #0,2,3: 50:[2, 44] Operation: 6+38=44 Moving to Node #0,3 Current State: 50:[59, 6, 19], Operations: ['57-38=19'] Exploring Operation: 59-6=53, Resulting Numbers: [19, 53] Generated Node #0,3,0: 50:[19, 53] Operation: 59-6=53 Exploring Operation: 19-6=13, Resulting Numbers: [59, 13] Generated Node #0,3,1: 50:[59, 13] Operation: 19-6=13 Exploring Operation: 6+19=25, Resulting Numbers: [59, 25] Generated Node #0,3,2: 50:[59, 25] Operation: 6+19=25 Exploring Operation: 59-19=40, Resulting Numbers: [6, 40] Generated Node #0,3,3: 50:[6, 40] Operation: 59-19=40 Moving to Node #0,1 Current State: 50:[38, 57, 53], Operations: ['59-6=53'] Exploring Operation: 38+57=95, Resulting Numbers: [53, 95] Generated Node #0,1,0: 50:[53, 95] Operation: 38+57=95 Exploring Operation: 57-38=19, Resulting Numbers: [53, 19] Generated Node #0,1,1: 50:[53, 19] Operation: 57-38=19 Exploring Operation: 57-53=4, Resulting Numbers: [38, 4] Generated Node #0,1,2: 50:[38, 4] Operation: 57-53=4 Exploring Operation: 53-38=15, Resulting Numbers: [57, 15] Generated Node #0,1,3: 50:[57, 15] Operation: 53-38=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[53, 19], Operations: ['59-6=53', '57-38=19'] Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,50 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,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,3 Current State: 50:[57, 15], Operations: ['59-6=53', '53-38=15'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 57*15=855, Resulting Numbers: [855] 855,50 unequal: No Solution Exploring Operation: 57+15=72, Resulting Numbers: [72] 72,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,2 Current State: 50:[38, 4], Operations: ['59-6=53', '57-53=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,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,0 Current State: 50:[53, 95], Operations: ['59-6=53', '38+57=95'] Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 53*95=5035, Resulting Numbers: [5035] 5035,50 unequal: No Solution Exploring Operation: 53+95=148, Resulting Numbers: [148] 148,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 50:[2, 44], Operations: ['59-57=2', '6+38=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,50 unequal: No Solution Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[2, 32], Operations: ['59-57=2', '38-6=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,50 unequal: No Solution Moving to Node #0,2,0 Current State: 50:[6, 19], Operations: ['59-57=2', '38/2=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,50 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,50 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,50 unequal: No Solution Moving to Node #0,3,2 Current State: 50:[59, 25], Operations: ['57-38=19', '6+19=25'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,50 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,50 unequal: No Solution Moving to Node #0,3,0 Current State: 50:[19, 53], Operations: ['57-38=19', '59-6=53'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 19+53=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 19*53=1007, Resulting Numbers: [1007] 1007,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[6, 40], Operations: ['59-57=2', '38+2=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,50 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,50 unequal: No Solution Moving to Node #0,3,3 Current State: 50:[6, 40], Operations: ['57-38=19', '59-19=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,50 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,50 unequal: No Solution Moving to Node #0,3,1 Current State: 50:[59, 13], Operations: ['57-38=19', '19-6=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,50 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,50 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 83, 75, 46, 24 ]
78
[ "83-75=8", "46+24=70", "8+70=78" ]
Current State: 78:[83, 75, 46, 24], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [46, 24, 8] Generated Node #2: [46, 24, 8] from Operation: 83-75=8 Current State: 78:[46, 24, 8], Operations: ['83-75=8'] Exploring Operation: 46+24=70, Resulting Numbers: [8, 70] Generated Node #3: [8, 70] from Operation: 46+24=70 Current State: 78:[8, 70], Operations: ['83-75=8', '46+24=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[83, 75, 46, 24], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [83, 24, 29] Generated Node #0,0: 78:[83, 24, 29] Operation: 75-46=29 Exploring Operation: 83-46=37, Resulting Numbers: [75, 24, 37] Generated Node #0,1: 78:[75, 24, 37] Operation: 83-46=37 Moving to Node #0,1 Current State: 78:[75, 24, 37], Operations: ['83-46=37'] Exploring Operation: 37-24=13, Resulting Numbers: [75, 13] Generated Node #0,1,0: 78:[75, 13] Operation: 37-24=13 Exploring Operation: 75-37=38, Resulting Numbers: [24, 38] Generated Node #0,1,1: 78:[24, 38] Operation: 75-37=38 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[75, 13], Operations: ['83-46=37', '37-24=13'] Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[24, 38], Operations: ['83-46=37', '75-37=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,78 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: 78:[83, 24, 29], Operations: ['75-46=29'] Exploring Operation: 83-29=54, Resulting Numbers: [24, 54] Generated Node #0,0,0: 78:[24, 54] Operation: 83-29=54 Exploring Operation: 29-24=5, Resulting Numbers: [83, 5] Generated Node #0,0,1: 78:[83, 5] Operation: 29-24=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[83, 5], Operations: ['75-46=29', '29-24=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[83, 75, 46, 24], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [83, 24, 29] Generated Node #0,0: 78:[83, 24, 29] Operation: 75-46=29 Moving to Node #0,0 Current State: 78:[83, 24, 29], Operations: ['75-46=29'] Exploring Operation: 29-24=5, Resulting Numbers: [83, 5] Generated Node #0,0,1: 78:[83, 5] Operation: 29-24=5 Moving to Node #0,0,1 Current State: 78:[83, 5], Operations: ['75-46=29', '29-24=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 94, 31, 54, 1 ]
51
[ "94-1=93", "93/31=3", "54-3=51" ]
Current State: 51:[94, 31, 54, 1], Operations: [] Exploring Operation: 94-1=93, Resulting Numbers: [31, 54, 93] Generated Node #2: [31, 54, 93] from Operation: 94-1=93 Current State: 51:[31, 54, 93], Operations: ['94-1=93'] Exploring Operation: 93/31=3, Resulting Numbers: [54, 3] Generated Node #3: [54, 3] from Operation: 93/31=3 Current State: 51:[54, 3], Operations: ['94-1=93', '93/31=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[94, 31, 54, 1], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [54, 1, 63] Generated Node #0,0: 51:[54, 1, 63] Operation: 94-31=63 Exploring Operation: 54-31=23, Resulting Numbers: [94, 1, 23] Generated Node #0,1: 51:[94, 1, 23] Operation: 54-31=23 Exploring Operation: 94-54=40, Resulting Numbers: [31, 1, 40] Generated Node #0,2: 51:[31, 1, 40] Operation: 94-54=40 Exploring Operation: 94-1=93, Resulting Numbers: [31, 54, 93] Generated Node #0,3: 51:[31, 54, 93] Operation: 94-1=93 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[54, 1, 63], Operations: ['94-31=63'] Exploring Operation: 63-1=62, Resulting Numbers: [54, 62] Generated Node #0,0,0: 51:[54, 62] Operation: 63-1=62 Exploring Operation: 63-54=9, Resulting Numbers: [1, 9] Generated Node #0,0,1: 51:[1, 9] Operation: 63-54=9 Exploring Operation: 54-1=53, Resulting Numbers: [63, 53] Generated Node #0,0,2: 51:[63, 53] Operation: 54-1=53 Exploring Operation: 54*1=54, Resulting Numbers: [63, 54] Generated Node #0,0,3: 51:[63, 54] Operation: 54*1=54 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[1, 9], Operations: ['94-31=63', '63-54=9'] Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[54, 62], Operations: ['94-31=63', '63-1=62'] Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[63, 53], Operations: ['94-31=63', '54-1=53'] Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,51 unequal: No Solution Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[63, 54], Operations: ['94-31=63', '54*1=54'] Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[31, 1, 40], Operations: ['94-54=40'] Exploring Operation: 31-1=30, Resulting Numbers: [40, 30] Generated Node #0,2,0: 51:[40, 30] Operation: 31-1=30 Exploring Operation: 31+40=71, Resulting Numbers: [1, 71] Generated Node #0,2,1: 51:[1, 71] Operation: 31+40=71 Exploring Operation: 40-31=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 51:[1, 9] Operation: 40-31=9 Exploring Operation: 1+40=41, Resulting Numbers: [31, 41] Generated Node #0,2,3: 51:[31, 41] Operation: 1+40=41 Moving to Node #0,2,2 Current State: 51:[1, 9], Operations: ['94-54=40', '40-31=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[1, 71], Operations: ['94-54=40', '31+40=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[31, 41], Operations: ['94-54=40', '1+40=41'] Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[40, 30], Operations: ['94-54=40', '31-1=30'] Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[94, 1, 23], Operations: ['54-31=23'] Exploring Operation: 94*1=94, Resulting Numbers: [23, 94] Generated Node #0,1,0: 51:[23, 94] Operation: 94*1=94 Exploring Operation: 94-1=93, Resulting Numbers: [23, 93] Generated Node #0,1,1: 51:[23, 93] Operation: 94-1=93 Exploring Operation: 23-1=22, Resulting Numbers: [94, 22] Generated Node #0,1,2: 51:[94, 22] Operation: 23-1=22 Exploring Operation: 94-23=71, Resulting Numbers: [1, 71] Generated Node #0,1,3: 51:[1, 71] Operation: 94-23=71 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[1, 71], Operations: ['54-31=23', '94-23=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,51 unequal: No Solution Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 1+71=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 71/1=71, Resulting Numbers: [71] 71,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[23, 93], Operations: ['54-31=23', '94-1=93'] Exploring Operation: 23+93=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 23*93=2139, Resulting Numbers: [2139] 2139,51 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[94, 22], Operations: ['54-31=23', '23-1=22'] Exploring Operation: 94+22=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 94-22=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 94*22=2068, Resulting Numbers: [2068] 2068,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[23, 94], Operations: ['54-31=23', '94*1=94'] Exploring Operation: 23+94=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 94-23=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 23*94=2162, Resulting Numbers: [2162] 2162,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[31, 54, 93], Operations: ['94-1=93'] Exploring Operation: 93/31=3, Resulting Numbers: [54, 3] Generated Node #0,3,0: 51:[54, 3] Operation: 93/31=3 Exploring Operation: 54-31=23, Resulting Numbers: [93, 23] Generated Node #0,3,1: 51:[93, 23] Operation: 54-31=23 Exploring Operation: 93-54=39, Resulting Numbers: [31, 39] Generated Node #0,3,2: 51:[31, 39] Operation: 93-54=39 Exploring Operation: 93-31=62, Resulting Numbers: [54, 62] Generated Node #0,3,3: 51:[54, 62] Operation: 93-31=62 Moving to Node #0,3,0 Current State: 51:[54, 3], Operations: ['94-1=93', '93/31=3'] Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,51 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,51 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[94, 31, 54, 1], Operations: [] Exploring Operation: 94-1=93, Resulting Numbers: [31, 54, 93] Generated Node #0,3: 51:[31, 54, 93] Operation: 94-1=93 Moving to Node #0,3 Current State: 51:[31, 54, 93], Operations: ['94-1=93'] Exploring Operation: 93/31=3, Resulting Numbers: [54, 3] Generated Node #0,3,0: 51:[54, 3] Operation: 93/31=3 Moving to Node #0,3,0 Current State: 51:[54, 3], Operations: ['94-1=93', '93/31=3'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_4
mult_heuristic
[ 97, 2, 53, 65 ]
11
[ "97-65=32", "2*32=64", "64-53=11" ]
Current State: 11:[97, 2, 53, 65], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [2, 53, 32] Generated Node #2: [2, 53, 32] from Operation: 97-65=32 Current State: 11:[2, 53, 32], Operations: ['97-65=32'] Exploring Operation: 2*32=64, Resulting Numbers: [53, 64] Generated Node #3: [53, 64] from Operation: 2*32=64 Current State: 11:[53, 64], Operations: ['97-65=32', '2*32=64'] Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[97, 2, 53, 65], Operations: [] Exploring Operation: 97-65=32, Resulting Numbers: [2, 53, 32] Generated Node #0,0: 11:[2, 53, 32] Operation: 97-65=32 Exploring Operation: 97-2=95, Resulting Numbers: [53, 65, 95] Generated Node #0,1: 11:[53, 65, 95] Operation: 97-2=95 Exploring Operation: 65-53=12, Resulting Numbers: [97, 2, 12] Generated Node #0,2: 11:[97, 2, 12] Operation: 65-53=12 Exploring Operation: 97-53=44, Resulting Numbers: [2, 65, 44] Generated Node #0,3: 11:[2, 65, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 11:[2, 53, 32], Operations: ['97-65=32'] Exploring Operation: 32/2=16, Resulting Numbers: [53, 16] Generated Node #0,0,0: 11:[53, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [53, 30] Generated Node #0,0,1: 11:[53, 30] Operation: 32-2=30 Exploring Operation: 53-2=51, Resulting Numbers: [32, 51] Generated Node #0,0,2: 11:[32, 51] Operation: 53-2=51 Exploring Operation: 53-32=21, Resulting Numbers: [2, 21] Generated Node #0,0,3: 11:[2, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[2, 21], Operations: ['97-65=32', '53-32=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[53, 16], Operations: ['97-65=32', '32/2=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,11 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[53, 30], Operations: ['97-65=32', '32-2=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,11 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[32, 51], Operations: ['97-65=32', '53-2=51'] Exploring Operation: 32+51=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 51-32=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 32*51=1632, Resulting Numbers: [1632] 1632,11 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: 11:[2, 65, 44], Operations: ['97-53=44'] Exploring Operation: 44/2=22, Resulting Numbers: [65, 22] Generated Node #0,3,0: 11:[65, 22] Operation: 44/2=22 Exploring Operation: 65-2=63, Resulting Numbers: [44, 63] Generated Node #0,3,1: 11:[44, 63] Operation: 65-2=63 Exploring Operation: 65-44=21, Resulting Numbers: [2, 21] Generated Node #0,3,2: 11:[2, 21] Operation: 65-44=21 Exploring Operation: 44-2=42, Resulting Numbers: [65, 42] Generated Node #0,3,3: 11:[65, 42] Operation: 44-2=42 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[2, 21], Operations: ['97-53=44', '65-44=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[65, 22], Operations: ['97-53=44', '44/2=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,11 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[44, 63], Operations: ['97-53=44', '65-2=63'] Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,11 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[65, 42], Operations: ['97-53=44', '44-2=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,11 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,11 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: 11:[97, 2, 12], Operations: ['65-53=12'] Exploring Operation: 97+2=99, Resulting Numbers: [12, 99] Generated Node #0,2,0: 11:[12, 99] Operation: 97+2=99 Exploring Operation: 97-2=95, Resulting Numbers: [12, 95] Generated Node #0,2,1: 11:[12, 95] Operation: 97-2=95 Exploring Operation: 12-2=10, Resulting Numbers: [97, 10] Generated Node #0,2,2: 11:[97, 10] Operation: 12-2=10 Exploring Operation: 97-12=85, Resulting Numbers: [2, 85] Generated Node #0,2,3: 11:[2, 85] Operation: 97-12=85 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 11:[2, 85], Operations: ['65-53=12', '97-12=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 11:[12, 95], Operations: ['65-53=12', '97-2=95'] Exploring Operation: 12+95=107, Resulting Numbers: [107] 107,11 unequal: No Solution Exploring Operation: 12*95=1140, Resulting Numbers: [1140] 1140,11 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 11:[97, 10], Operations: ['65-53=12', '12-2=10'] Exploring Operation: 97-10=87, Resulting Numbers: [87] 87,11 unequal: No Solution Exploring Operation: 97*10=970, Resulting Numbers: [970] 970,11 unequal: No Solution Exploring Operation: 97+10=107, Resulting Numbers: [107] 107,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[12, 99], Operations: ['65-53=12', '97+2=99'] Exploring Operation: 12*99=1188, Resulting Numbers: [1188] 1188,11 unequal: No Solution Exploring Operation: 12+99=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 99-12=87, Resulting Numbers: [87] 87,11 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: 11:[53, 65, 95], Operations: ['97-2=95'] Exploring Operation: 53+65=118, Resulting Numbers: [95, 118] Generated Node #0,1,0: 11:[95, 118] Operation: 53+65=118 Exploring Operation: 65-53=12, Resulting Numbers: [95, 12] Generated Node #0,1,1: 11:[95, 12] Operation: 65-53=12 Exploring Operation: 95-65=30, Resulting Numbers: [53, 30] Generated Node #0,1,2: 11:[53, 30] Operation: 95-65=30 Exploring Operation: 95-53=42, Resulting Numbers: [65, 42] Generated Node #0,1,3: 11:[65, 42] Operation: 95-53=42 Moving to Node #0,1,2 Current State: 11:[53, 30], Operations: ['97-2=95', '95-65=30'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,11 unequal: No Solution Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[65, 42], Operations: ['97-2=95', '95-53=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,11 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,11 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[95, 12], Operations: ['97-2=95', '65-53=12'] Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,11 unequal: No Solution Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[95, 118], Operations: ['97-2=95', '53+65=118'] Exploring Operation: 95*118=11210, Resulting Numbers: [11210] 11210,11 unequal: No Solution Exploring Operation: 118-95=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 95+118=213, Resulting Numbers: [213] 213,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 78, 8, 87, 45 ]
62
[ "78-8=70", "87+45=132", "132-70=62" ]
Current State: 62:[78, 8, 87, 45], Operations: [] Exploring Operation: 78-8=70, Resulting Numbers: [87, 45, 70] Generated Node #2: [87, 45, 70] from Operation: 78-8=70 Current State: 62:[87, 45, 70], Operations: ['78-8=70'] Exploring Operation: 87+45=132, Resulting Numbers: [70, 132] Generated Node #3: [70, 132] from Operation: 87+45=132 Current State: 62:[70, 132], Operations: ['78-8=70', '87+45=132'] Exploring Operation: 132-70=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[78, 8, 87, 45], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [8, 45, 9] Generated Node #0,0: 62:[8, 45, 9] Operation: 87-78=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[8, 45, 9], Operations: ['87-78=9'] Exploring Operation: 45/9=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 62:[8, 5] Operation: 45/9=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[8, 5], Operations: ['87-78=9', '45/9=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,62 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
[ 6, 17, 64, 8 ]
86
[ "17+8=25", "6*25=150", "150-64=86" ]
Current State: 86:[6, 17, 64, 8], Operations: [] Exploring Operation: 17+8=25, Resulting Numbers: [6, 64, 25] Generated Node #2: [6, 64, 25] from Operation: 17+8=25 Current State: 86:[6, 64, 25], Operations: ['17+8=25'] Exploring Operation: 6*25=150, Resulting Numbers: [64, 150] Generated Node #3: [64, 150] from Operation: 6*25=150 Current State: 86:[64, 150], Operations: ['17+8=25', '6*25=150'] Exploring Operation: 150-64=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[6, 17, 64, 8], Operations: [] Exploring Operation: 64-17=47, Resulting Numbers: [6, 8, 47] Generated Node #0,0: 86:[6, 8, 47] Operation: 64-17=47 Exploring Operation: 17+64=81, Resulting Numbers: [6, 8, 81] Generated Node #0,1: 86:[6, 8, 81] Operation: 17+64=81 Moving to Node #0,0 Current State: 86:[6, 8, 47], Operations: ['64-17=47'] Exploring Operation: 8-6=2, Resulting Numbers: [47, 2] Generated Node #0,0,0: 86:[47, 2] Operation: 8-6=2 Exploring Operation: 47-6=41, Resulting Numbers: [8, 41] Generated Node #0,0,1: 86:[8, 41] Operation: 47-6=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[47, 2], Operations: ['64-17=47', '8-6=2'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[8, 41], Operations: ['64-17=47', '47-6=41'] Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[6, 8, 81], Operations: ['17+64=81'] Exploring Operation: 8-6=2, Resulting Numbers: [81, 2] Generated Node #0,1,0: 86:[81, 2] Operation: 8-6=2 Exploring Operation: 6+81=87, Resulting Numbers: [8, 87] Generated Node #0,1,1: 86:[8, 87] Operation: 6+81=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[81, 2], Operations: ['17+64=81', '8-6=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,86 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[8, 87], Operations: ['17+64=81', '6+81=87'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,86 unequal: No Solution Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 9, 55, 3, 81 ]
78
[ "9/3=3", "81-55=26", "3*26=78" ]
Current State: 78:[9, 55, 3, 81], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [55, 81, 3] Generated Node #2: [55, 81, 3] from Operation: 9/3=3 Current State: 78:[55, 81, 3], Operations: ['9/3=3'] Exploring Operation: 81-55=26, Resulting Numbers: [3, 26] Generated Node #3: [3, 26] from Operation: 81-55=26 Current State: 78:[3, 26], Operations: ['9/3=3', '81-55=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[9, 55, 3, 81], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [3, 81, 46] Generated Node #0,0: 78:[3, 81, 46] Operation: 55-9=46 Exploring Operation: 81-55=26, Resulting Numbers: [9, 3, 26] Generated Node #0,1: 78:[9, 3, 26] Operation: 81-55=26 Moving to Node #0,1 Current State: 78:[9, 3, 26], Operations: ['81-55=26'] Exploring Operation: 9-3=6, Resulting Numbers: [26, 6] Generated Node #0,1,0: 78:[26, 6] Operation: 9-3=6 Exploring Operation: 9/3=3, Resulting Numbers: [26, 3] Generated Node #0,1,1: 78:[26, 3] Operation: 9/3=3 Moving to Node #0,0 Current State: 78:[3, 81, 46], Operations: ['55-9=46'] Exploring Operation: 81-3=78, Resulting Numbers: [46, 78] Generated Node #0,0,0: 78:[46, 78] Operation: 81-3=78 Exploring Operation: 81-46=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 78:[3, 35] Operation: 81-46=35 Moving to Node #0,1,0 Current State: 78:[26, 6], Operations: ['81-55=26', '9-3=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[26, 3], Operations: ['81-55=26', '9/3=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[9, 55, 3, 81], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [9, 3, 26] Generated Node #0,1: 78:[9, 3, 26] Operation: 81-55=26 Moving to Node #0,1 Current State: 78:[9, 3, 26], Operations: ['81-55=26'] Exploring Operation: 9/3=3, Resulting Numbers: [26, 3] Generated Node #0,1,1: 78:[26, 3] Operation: 9/3=3 Moving to Node #0,1,1 Current State: 78:[26, 3], Operations: ['81-55=26', '9/3=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 22, 83, 10, 2 ]
53
[ "83-22=61", "10-2=8", "61-8=53" ]
Current State: 53:[22, 83, 10, 2], Operations: [] Exploring Operation: 83-22=61, Resulting Numbers: [10, 2, 61] Generated Node #2: [10, 2, 61] from Operation: 83-22=61 Current State: 53:[10, 2, 61], Operations: ['83-22=61'] Exploring Operation: 10-2=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 10-2=8 Current State: 53:[61, 8], Operations: ['83-22=61', '10-2=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[22, 83, 10, 2], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [22, 83, 20] Generated Node #0,0: 53:[22, 83, 20] Operation: 10*2=20 Exploring Operation: 22*2=44, Resulting Numbers: [83, 10, 44] Generated Node #0,1: 53:[83, 10, 44] Operation: 22*2=44 Exploring Operation: 83-22=61, Resulting Numbers: [10, 2, 61] Generated Node #0,2: 53:[10, 2, 61] Operation: 83-22=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[83, 10, 44], Operations: ['22*2=44'] Exploring Operation: 83-10=73, Resulting Numbers: [44, 73] Generated Node #0,1,0: 53:[44, 73] Operation: 83-10=73 Exploring Operation: 83+10=93, Resulting Numbers: [44, 93] Generated Node #0,1,1: 53:[44, 93] Operation: 83+10=93 Exploring Operation: 10+44=54, Resulting Numbers: [83, 54] Generated Node #0,1,2: 53:[83, 54] Operation: 10+44=54 Moving to Node #0,1,0 Current State: 53:[44, 73], Operations: ['22*2=44', '83-10=73'] Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 44*73=3212, Resulting Numbers: [3212] 3212,53 unequal: No Solution Exploring Operation: 44+73=117, Resulting Numbers: [117] 117,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[83, 54], Operations: ['22*2=44', '10+44=54'] Exploring Operation: 83-54=29, Resulting Numbers: [29] 29,53 unequal: No Solution Exploring Operation: 83+54=137, Resulting Numbers: [137] 137,53 unequal: No Solution Exploring Operation: 83*54=4482, Resulting Numbers: [4482] 4482,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[44, 93], Operations: ['22*2=44', '83+10=93'] Exploring Operation: 44*93=4092, Resulting Numbers: [4092] 4092,53 unequal: No Solution Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,53 unequal: No Solution Exploring Operation: 44+93=137, Resulting Numbers: [137] 137,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[22, 83, 20], Operations: ['10*2=20'] Exploring Operation: 22+20=42, Resulting Numbers: [83, 42] Generated Node #0,0,0: 53:[83, 42] Operation: 22+20=42 Exploring Operation: 83-20=63, Resulting Numbers: [22, 63] Generated Node #0,0,1: 53:[22, 63] Operation: 83-20=63 Exploring Operation: 83-22=61, Resulting Numbers: [20, 61] Generated Node #0,0,2: 53:[20, 61] Operation: 83-22=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[83, 42], Operations: ['10*2=20', '22+20=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,53 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[22, 63], Operations: ['10*2=20', '83-20=63'] Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,53 unequal: No Solution Exploring Operation: 22*63=1386, Resulting Numbers: [1386] 1386,53 unequal: No Solution Exploring Operation: 22+63=85, Resulting Numbers: [85] 85,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:[20, 61], Operations: ['10*2=20', '83-22=61'] Exploring Operation: 20*61=1220, Resulting Numbers: [1220] 1220,53 unequal: No Solution Exploring Operation: 20+61=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,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:[10, 2, 61], Operations: ['83-22=61'] Exploring Operation: 61-2=59, Resulting Numbers: [10, 59] Generated Node #0,2,0: 53:[10, 59] Operation: 61-2=59 Exploring Operation: 10+2=12, Resulting Numbers: [61, 12] Generated Node #0,2,1: 53:[61, 12] Operation: 10+2=12 Exploring Operation: 10*2=20, Resulting Numbers: [61, 20] Generated Node #0,2,2: 53:[61, 20] Operation: 10*2=20 Moving to Node #0,2,2 Current State: 53:[61, 20], Operations: ['83-22=61', '10*2=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,53 unequal: No Solution Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,53 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[10, 59], Operations: ['83-22=61', '61-2=59'] Exploring Operation: 10*59=590, Resulting Numbers: [590] 590,53 unequal: No Solution Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[61, 12], Operations: ['83-22=61', '10+2=12'] Exploring Operation: 61*12=732, Resulting Numbers: [732] 732,53 unequal: No Solution Exploring Operation: 61+12=73, Resulting Numbers: [73] 73,53 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,53 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
[ 24, 25, 7, 29 ]
21
[ "25-24=1", "29-7=22", "22-1=21" ]
Current State: 21:[24, 25, 7, 29], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [7, 29, 1] Generated Node #2: [7, 29, 1] from Operation: 25-24=1 Current State: 21:[7, 29, 1], Operations: ['25-24=1'] Exploring Operation: 29-7=22, Resulting Numbers: [1, 22] Generated Node #3: [1, 22] from Operation: 29-7=22 Current State: 21:[1, 22], Operations: ['25-24=1', '29-7=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[24, 25, 7, 29], Operations: [] Exploring Operation: 29-24=5, Resulting Numbers: [25, 7, 5] Generated Node #0,0: 21:[25, 7, 5] Operation: 29-24=5 Exploring Operation: 29-25=4, Resulting Numbers: [24, 7, 4] Generated Node #0,1: 21:[24, 7, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[24, 7, 4], Operations: ['29-25=4'] Exploring Operation: 24-4=20, Resulting Numbers: [7, 20] Generated Node #0,1,0: 21:[7, 20] Operation: 24-4=20 Exploring Operation: 24/4=6, Resulting Numbers: [7, 6] Generated Node #0,1,1: 21:[7, 6] Operation: 24/4=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[7, 20], Operations: ['29-25=4', '24-4=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,21 unequal: No Solution No 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: 21:[7, 6], Operations: ['29-25=4', '24/4=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[25, 7, 5], Operations: ['29-24=5'] Exploring Operation: 25/5=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 21:[7, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [7, 20] Generated Node #0,0,1: 21:[7, 20] Operation: 25-5=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[7, 20], Operations: ['29-24=5', '25-5=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,21 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,21 unequal: No Solution No 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: 21:[7, 5], Operations: ['29-24=5', '25/5=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 2, 95, 5 ]
99
[ "2/2=1", "95+5=100", "100-1=99" ]
Current State: 99:[2, 2, 95, 5], Operations: [] Exploring Operation: 2/2=1, Resulting Numbers: [95, 5, 1] Generated Node #2: [95, 5, 1] from Operation: 2/2=1 Current State: 99:[95, 5, 1], Operations: ['2/2=1'] Exploring Operation: 95+5=100, Resulting Numbers: [1, 100] Generated Node #3: [1, 100] from Operation: 95+5=100 Current State: 99:[1, 100], Operations: ['2/2=1', '95+5=100'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[2, 2, 95, 5], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [2, 95, 3] Generated Node #0,0: 99:[2, 95, 3] Operation: 5-2=3 Exploring Operation: 2+95=97, Resulting Numbers: [2, 5, 97] Generated Node #0,1: 99:[2, 5, 97] Operation: 2+95=97 Exploring Operation: 95+5=100, Resulting Numbers: [2, 2, 100] Generated Node #0,2: 99:[2, 2, 100] Operation: 95+5=100 Exploring Operation: 5-2=3, Resulting Numbers: [2, 95, 3] Generated Node #0,3: 99:[2, 95, 3] Operation: 5-2=3 Exploring Operation: 2+95=97, Resulting Numbers: [2, 5, 97] Generated Node #0,4: 99:[2, 5, 97] Operation: 2+95=97 Moving to Node #0,2 Current State: 99:[2, 2, 100], Operations: ['95+5=100'] Exploring Operation: 2+2=4, Resulting Numbers: [100, 4] Generated Node #0,2,0: 99:[100, 4] Operation: 2+2=4 Exploring Operation: 100-2=98, Resulting Numbers: [2, 98] Generated Node #0,2,1: 99:[2, 98] Operation: 100-2=98 Exploring Operation: 2/2=1, Resulting Numbers: [100, 1] Generated Node #0,2,2: 99:[100, 1] Operation: 2/2=1 Exploring Operation: 100-2=98, Resulting Numbers: [2, 98] Generated Node #0,2,3: 99:[2, 98] Operation: 100-2=98 Exploring Operation: 2*2=4, Resulting Numbers: [100, 4] Generated Node #0,2,4: 99:[100, 4] Operation: 2*2=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 99:[100, 4], Operations: ['95+5=100', '2+2=4'] Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 100+4=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 100*4=400, Resulting Numbers: [400] 400,99 unequal: No Solution Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[2, 98], Operations: ['95+5=100', '100-2=98'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,99 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 99:[2, 98], Operations: ['95+5=100', '100-2=98'] Exploring Operation: 2*98=196, Resulting Numbers: [196] 196,99 unequal: No Solution Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 99:[100, 4], Operations: ['95+5=100', '2*2=4'] Exploring Operation: 100+4=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 100-4=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 100*4=400, Resulting Numbers: [400] 400,99 unequal: No Solution Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 99:[100, 1], Operations: ['95+5=100', '2/2=1'] Exploring Operation: 100+1=101, Resulting Numbers: [101] 101,99 unequal: No Solution Exploring Operation: 100/1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[2, 2, 95, 5], Operations: [] Exploring Operation: 95+5=100, Resulting Numbers: [2, 2, 100] Generated Node #0,2: 99:[2, 2, 100] Operation: 95+5=100 Moving to Node #0,2 Current State: 99:[2, 2, 100], Operations: ['95+5=100'] Exploring Operation: 2/2=1, Resulting Numbers: [100, 1] Generated Node #0,2,2: 99:[100, 1] Operation: 2/2=1 Moving to Node #0,2,2 Current State: 99:[100, 1], Operations: ['95+5=100', '2/2=1'] Exploring Operation: 100-1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_5
sum_heuristic
[ 20, 18, 42, 23 ]
19
[ "20+18=38", "42-23=19", "38-19=19" ]
Current State: 19:[20, 18, 42, 23], Operations: [] Exploring Operation: 20+18=38, Resulting Numbers: [42, 23, 38] Generated Node #2: [42, 23, 38] from Operation: 20+18=38 Current State: 19:[42, 23, 38], Operations: ['20+18=38'] Exploring Operation: 42-23=19, Resulting Numbers: [38, 19] Generated Node #3: [38, 19] from Operation: 42-23=19 Current State: 19:[38, 19], Operations: ['20+18=38', '42-23=19'] Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[20, 18, 42, 23], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [20, 18, 19] Generated Node #0,0: 19:[20, 18, 19] Operation: 42-23=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[20, 18, 19], Operations: ['42-23=19'] Exploring Operation: 20-18=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 19:[19, 2] Operation: 20-18=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[19, 2], Operations: ['42-23=19', '20-18=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,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 No solution found.
0
hs_1
sum_heuristic
[ 51, 46, 90, 22 ]
73
[ "51-46=5", "90-22=68", "5+68=73" ]
Current State: 73:[51, 46, 90, 22], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [90, 22, 5] Generated Node #2: [90, 22, 5] from Operation: 51-46=5 Current State: 73:[90, 22, 5], Operations: ['51-46=5'] Exploring Operation: 90-22=68, Resulting Numbers: [5, 68] Generated Node #3: [5, 68] from Operation: 90-22=68 Current State: 73:[5, 68], Operations: ['51-46=5', '90-22=68'] Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[51, 46, 90, 22], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [51, 46, 68] Generated Node #0,0: 73:[51, 46, 68] Operation: 90-22=68 Exploring Operation: 51-22=29, Resulting Numbers: [46, 90, 29] Generated Node #0,1: 73:[46, 90, 29] Operation: 51-22=29 Exploring Operation: 51+22=73, Resulting Numbers: [46, 90, 73] Generated Node #0,2: 73:[46, 90, 73] Operation: 51+22=73 Exploring Operation: 46+22=68, Resulting Numbers: [51, 90, 68] Generated Node #0,3: 73:[51, 90, 68] Operation: 46+22=68 Exploring Operation: 46-22=24, Resulting Numbers: [51, 90, 24] Generated Node #0,4: 73:[51, 90, 24] Operation: 46-22=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[46, 90, 73], Operations: ['51+22=73'] Exploring Operation: 73-46=27, Resulting Numbers: [90, 27] Generated Node #0,2,0: 73:[90, 27] Operation: 73-46=27 Exploring Operation: 46+90=136, Resulting Numbers: [73, 136] Generated Node #0,2,1: 73:[73, 136] Operation: 46+90=136 Exploring Operation: 90-46=44, Resulting Numbers: [73, 44] Generated Node #0,2,2: 73:[73, 44] Operation: 90-46=44 Exploring Operation: 90-73=17, Resulting Numbers: [46, 17] Generated Node #0,2,3: 73:[46, 17] Operation: 90-73=17 Exploring Operation: 46+73=119, Resulting Numbers: [90, 119] Generated Node #0,2,4: 73:[90, 119] Operation: 46+73=119 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[73, 44], Operations: ['51+22=73', '90-46=44'] Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 73*44=3212, Resulting Numbers: [3212] 3212,73 unequal: No Solution Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[90, 27], Operations: ['51+22=73', '73-46=27'] Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[73, 136], Operations: ['51+22=73', '46+90=136'] Exploring Operation: 73*136=9928, Resulting Numbers: [9928] 9928,73 unequal: No Solution Exploring Operation: 136-73=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 73+136=209, Resulting Numbers: [209] 209,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[90, 119], Operations: ['51+22=73', '46+73=119'] Exploring Operation: 90+119=209, Resulting Numbers: [209] 209,73 unequal: No Solution Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 90*119=10710, Resulting Numbers: [10710] 10710,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[46, 17], Operations: ['51+22=73', '90-73=17'] Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,73 unequal: No Solution Exploring Operation: 46+17=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[51, 90, 68], Operations: ['46+22=68'] Exploring Operation: 68-51=17, Resulting Numbers: [90, 17] Generated Node #0,3,0: 73:[90, 17] Operation: 68-51=17 Exploring Operation: 51+90=141, Resulting Numbers: [68, 141] Generated Node #0,3,1: 73:[68, 141] Operation: 51+90=141 Exploring Operation: 90-68=22, Resulting Numbers: [51, 22] Generated Node #0,3,2: 73:[51, 22] Operation: 90-68=22 Exploring Operation: 90-51=39, Resulting Numbers: [68, 39] Generated Node #0,3,3: 73:[68, 39] Operation: 90-51=39 Exploring Operation: 51+68=119, Resulting Numbers: [90, 119] Generated Node #0,3,4: 73:[90, 119] Operation: 51+68=119 Moving to Node #0,3,3 Current State: 73:[68, 39], Operations: ['46+22=68', '90-51=39'] Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,73 unequal: No Solution Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[90, 119], Operations: ['46+22=68', '51+68=119'] Exploring Operation: 90*119=10710, Resulting Numbers: [10710] 10710,73 unequal: No Solution Exploring Operation: 90+119=209, Resulting Numbers: [209] 209,73 unequal: No Solution Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[90, 17], Operations: ['46+22=68', '68-51=17'] Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,73 unequal: No Solution Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[51, 46, 90, 22], Operations: [] Exploring Operation: 46+22=68, Resulting Numbers: [51, 90, 68] Generated Node #0,3: 73:[51, 90, 68] Operation: 46+22=68 Moving to Node #0,3 Current State: 73:[51, 90, 68], Operations: ['46+22=68'] Exploring Operation: 68-51=17, Resulting Numbers: [90, 17] Generated Node #0,3,0: 73:[90, 17] Operation: 68-51=17 Moving to Node #0,3,0 Current State: 73:[90, 17], Operations: ['46+22=68', '68-51=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 15, 42, 82, 21 ]
88
[ "42-15=27", "82-21=61", "27+61=88" ]
Current State: 88:[15, 42, 82, 21], Operations: [] Exploring Operation: 42-15=27, Resulting Numbers: [82, 21, 27] Generated Node #2: [82, 21, 27] from Operation: 42-15=27 Current State: 88:[82, 21, 27], Operations: ['42-15=27'] Exploring Operation: 82-21=61, Resulting Numbers: [27, 61] Generated Node #3: [27, 61] from Operation: 82-21=61 Current State: 88:[27, 61], Operations: ['42-15=27', '82-21=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[15, 42, 82, 21], Operations: [] Exploring Operation: 82-42=40, Resulting Numbers: [15, 21, 40] Generated Node #0,0: 88:[15, 21, 40] Operation: 82-42=40 Exploring Operation: 42-15=27, Resulting Numbers: [82, 21, 27] Generated Node #0,1: 88:[82, 21, 27] Operation: 42-15=27 Exploring Operation: 42-21=21, Resulting Numbers: [15, 82, 21] Generated Node #0,2: 88:[15, 82, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [15, 82, 2] Generated Node #0,3: 88:[15, 82, 2] Operation: 42/21=2 Exploring Operation: 21-15=6, Resulting Numbers: [42, 82, 6] Generated Node #0,4: 88:[42, 82, 6] Operation: 21-15=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[15, 21, 40], Operations: ['82-42=40'] Exploring Operation: 21-15=6, Resulting Numbers: [40, 6] Generated Node #0,0,0: 88:[40, 6] Operation: 21-15=6 Exploring Operation: 40-21=19, Resulting Numbers: [15, 19] Generated Node #0,0,1: 88:[15, 19] Operation: 40-21=19 Exploring Operation: 40-15=25, Resulting Numbers: [21, 25] Generated Node #0,0,2: 88:[21, 25] Operation: 40-15=25 Exploring Operation: 15+21=36, Resulting Numbers: [40, 36] Generated Node #0,0,3: 88:[40, 36] Operation: 15+21=36 Exploring Operation: 15+40=55, Resulting Numbers: [21, 55] Generated Node #0,0,4: 88:[21, 55] Operation: 15+40=55 Moving to Node #0,0,2 Current State: 88:[21, 25], Operations: ['82-42=40', '40-15=25'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 21+25=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 21*25=525, Resulting Numbers: [525] 525,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[40, 6], Operations: ['82-42=40', '21-15=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,88 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[15, 19], Operations: ['82-42=40', '40-21=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[40, 36], Operations: ['82-42=40', '15+21=36'] Exploring Operation: 40+36=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,88 unequal: No Solution Exploring Operation: 40*36=1440, Resulting Numbers: [1440] 1440,88 unequal: No Solution Moving to Node #0,0,4 Current State: 88:[21, 55], Operations: ['82-42=40', '15+40=55'] Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,88 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[15, 82, 2], Operations: ['42/21=2'] Exploring Operation: 15+82=97, Resulting Numbers: [2, 97] Generated Node #0,3,0: 88:[2, 97] Operation: 15+82=97 Exploring Operation: 82+2=84, Resulting Numbers: [15, 84] Generated Node #0,3,1: 88:[15, 84] Operation: 82+2=84 Exploring Operation: 82/2=41, Resulting Numbers: [15, 41] Generated Node #0,3,2: 88:[15, 41] Operation: 82/2=41 Exploring Operation: 15-2=13, Resulting Numbers: [82, 13] Generated Node #0,3,3: 88:[82, 13] Operation: 15-2=13 Exploring Operation: 15+2=17, Resulting Numbers: [82, 17] Generated Node #0,3,4: 88:[82, 17] Operation: 15+2=17 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 88:[15, 41], Operations: ['42/21=2', '82/2=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,88 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 88:[15, 84], Operations: ['42/21=2', '82+2=84'] Exploring Operation: 15+84=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 15*84=1260, Resulting Numbers: [1260] 1260,88 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 88:[82, 13], Operations: ['42/21=2', '15-2=13'] Exploring Operation: 82*13=1066, Resulting Numbers: [1066] 1066,88 unequal: No Solution Exploring Operation: 82+13=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 88:[2, 97], Operations: ['42/21=2', '15+82=97'] Exploring Operation: 2+97=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 2*97=194, Resulting Numbers: [194] 194,88 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 88:[82, 17], Operations: ['42/21=2', '15+2=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 82*17=1394, Resulting Numbers: [1394] 1394,88 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 88:[42, 82, 6], Operations: ['21-15=6'] Exploring Operation: 82+6=88, Resulting Numbers: [42, 88] Generated Node #0,4,0: 88:[42, 88] Operation: 82+6=88 Exploring Operation: 82-42=40, Resulting Numbers: [6, 40] Generated Node #0,4,1: 88:[6, 40] Operation: 82-42=40 Exploring Operation: 42/6=7, Resulting Numbers: [82, 7] Generated Node #0,4,2: 88:[82, 7] Operation: 42/6=7 Exploring Operation: 42+6=48, Resulting Numbers: [82, 48] Generated Node #0,4,3: 88:[82, 48] Operation: 42+6=48 Exploring Operation: 42-6=36, Resulting Numbers: [82, 36] Generated Node #0,4,4: 88:[82, 36] Operation: 42-6=36 Moving to Node #0,4,0 Current State: 88:[42, 88], Operations: ['21-15=6', '82+6=88'] Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,88 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[6, 40], Operations: ['21-15=6', '82-42=40'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,88 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[82, 7], Operations: ['21-15=6', '42/6=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,88 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[82, 48], Operations: ['21-15=6', '42+6=48'] Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,88 unequal: No Solution Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,88 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[82, 36], Operations: ['21-15=6', '42-6=36'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 82+36=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 82*36=2952, Resulting Numbers: [2952] 2952,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[15, 82, 21], Operations: ['42-21=21'] Exploring Operation: 82-21=61, Resulting Numbers: [15, 61] Generated Node #0,2,0: 88:[15, 61] Operation: 82-21=61 Exploring Operation: 15+21=36, Resulting Numbers: [82, 36] Generated Node #0,2,1: 88:[82, 36] Operation: 15+21=36 Exploring Operation: 21-15=6, Resulting Numbers: [82, 6] Generated Node #0,2,2: 88:[82, 6] Operation: 21-15=6 Exploring Operation: 82+21=103, Resulting Numbers: [15, 103] Generated Node #0,2,3: 88:[15, 103] Operation: 82+21=103 Exploring Operation: 15+82=97, Resulting Numbers: [21, 97] Generated Node #0,2,4: 88:[21, 97] Operation: 15+82=97 Moving to Node #0,2,2 Current State: 88:[82, 6], Operations: ['42-21=21', '21-15=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[15, 42, 82, 21], Operations: [] Exploring Operation: 42-21=21, Resulting Numbers: [15, 82, 21] Generated Node #0,2: 88:[15, 82, 21] Operation: 42-21=21 Moving to Node #0,2 Current State: 88:[15, 82, 21], Operations: ['42-21=21'] Exploring Operation: 21-15=6, Resulting Numbers: [82, 6] Generated Node #0,2,2: 88:[82, 6] Operation: 21-15=6 Moving to Node #0,2,2 Current State: 88:[82, 6], Operations: ['42-21=21', '21-15=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.934896
hs_5
sum_heuristic
[ 13, 89, 94, 12 ]
91
[ "94-89=5", "12-5=7", "13*7=91" ]
Current State: 91:[13, 89, 94, 12], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [13, 12, 5] Generated Node #2: [13, 12, 5] from Operation: 94-89=5 Current State: 91:[13, 12, 5], Operations: ['94-89=5'] Exploring Operation: 12-5=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 12-5=7 Current State: 91:[13, 7], Operations: ['94-89=5', '12-5=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[13, 89, 94, 12], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [13, 12, 5] Generated Node #0,0: 91:[13, 12, 5] Operation: 94-89=5 Exploring Operation: 13-12=1, Resulting Numbers: [89, 94, 1] Generated Node #0,1: 91:[89, 94, 1] Operation: 13-12=1 Moving to Node #0,0 Current State: 91:[13, 12, 5], Operations: ['94-89=5'] Exploring Operation: 12-5=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 91:[13, 7] Operation: 12-5=7 Exploring Operation: 13-5=8, Resulting Numbers: [12, 8] Generated Node #0,0,1: 91:[12, 8] Operation: 13-5=8 Moving to Node #0,1 Current State: 91:[89, 94, 1], Operations: ['13-12=1'] Exploring Operation: 94-1=93, Resulting Numbers: [89, 93] Generated Node #0,1,0: 91:[89, 93] Operation: 94-1=93 Exploring Operation: 89+1=90, Resulting Numbers: [94, 90] Generated Node #0,1,1: 91:[94, 90] Operation: 89+1=90 Moving to Node #0,0,0 Current State: 91:[13, 7], Operations: ['94-89=5', '12-5=7'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[13, 89, 94, 12], Operations: [] Exploring Operation: 94-89=5, Resulting Numbers: [13, 12, 5] Generated Node #0,0: 91:[13, 12, 5] Operation: 94-89=5 Moving to Node #0,0 Current State: 91:[13, 12, 5], Operations: ['94-89=5'] Exploring Operation: 12-5=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 91:[13, 7] Operation: 12-5=7 Moving to Node #0,0,0 Current State: 91:[13, 7], Operations: ['94-89=5', '12-5=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 36, 69, 82, 70 ]
72
[ "82-70=12", "36/12=3", "69+3=72" ]
Current State: 72:[36, 69, 82, 70], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [36, 69, 12] Generated Node #2: [36, 69, 12] from Operation: 82-70=12 Current State: 72:[36, 69, 12], Operations: ['82-70=12'] Exploring Operation: 36/12=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 36/12=3 Current State: 72:[69, 3], Operations: ['82-70=12', '36/12=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[36, 69, 82, 70], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [36, 69, 12] Generated Node #0,0: 72:[36, 69, 12] Operation: 82-70=12 Exploring Operation: 82-69=13, Resulting Numbers: [36, 70, 13] Generated Node #0,1: 72:[36, 70, 13] Operation: 82-69=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[36, 69, 12], Operations: ['82-70=12'] Exploring Operation: 36-12=24, Resulting Numbers: [69, 24] Generated Node #0,0,0: 72:[69, 24] Operation: 36-12=24 Exploring Operation: 69-36=33, Resulting Numbers: [12, 33] Generated Node #0,0,1: 72:[12, 33] Operation: 69-36=33 Moving to Node #0,0,0 Current State: 72:[69, 24], Operations: ['82-70=12', '36-12=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[12, 33], Operations: ['82-70=12', '69-36=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,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:[36, 70, 13], Operations: ['82-69=13'] Exploring Operation: 70-36=34, Resulting Numbers: [13, 34] Generated Node #0,1,0: 72:[13, 34] Operation: 70-36=34 Exploring Operation: 36-13=23, Resulting Numbers: [70, 23] Generated Node #0,1,1: 72:[70, 23] Operation: 36-13=23 Moving to Node #0,1,0 Current State: 72:[13, 34], Operations: ['82-69=13', '70-36=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[70, 23], Operations: ['82-69=13', '36-13=23'] Exploring Operation: 70-23=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 70+23=93, Resulting Numbers: [93] 93,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 14, 20, 37, 92 ]
16
[ "37-14=23", "92/23=4", "20-4=16" ]
Current State: 16:[14, 20, 37, 92], Operations: [] Exploring Operation: 37-14=23, Resulting Numbers: [20, 92, 23] Generated Node #2: [20, 92, 23] from Operation: 37-14=23 Current State: 16:[20, 92, 23], Operations: ['37-14=23'] Exploring Operation: 92/23=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 92/23=4 Current State: 16:[20, 4], Operations: ['37-14=23', '92/23=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[14, 20, 37, 92], Operations: [] Exploring Operation: 92-14=78, Resulting Numbers: [20, 37, 78] Generated Node #0,0: 16:[20, 37, 78] Operation: 92-14=78 Exploring Operation: 37-14=23, Resulting Numbers: [20, 92, 23] Generated Node #0,1: 16:[20, 92, 23] Operation: 37-14=23 Exploring Operation: 37-20=17, Resulting Numbers: [14, 92, 17] Generated Node #0,2: 16:[14, 92, 17] Operation: 37-20=17 Exploring Operation: 92-37=55, Resulting Numbers: [14, 20, 55] Generated Node #0,3: 16:[14, 20, 55] Operation: 92-37=55 Exploring Operation: 92-20=72, Resulting Numbers: [14, 37, 72] Generated Node #0,4: 16:[14, 37, 72] Operation: 92-20=72 Moving to Node #0,3 Current State: 16:[14, 20, 55], Operations: ['92-37=55'] Exploring Operation: 14+20=34, Resulting Numbers: [55, 34] Generated Node #0,3,0: 16:[55, 34] Operation: 14+20=34 Exploring Operation: 14+55=69, Resulting Numbers: [20, 69] Generated Node #0,3,1: 16:[20, 69] Operation: 14+55=69 Exploring Operation: 55-20=35, Resulting Numbers: [14, 35] Generated Node #0,3,2: 16:[14, 35] Operation: 55-20=35 Exploring Operation: 20-14=6, Resulting Numbers: [55, 6] Generated Node #0,3,3: 16:[55, 6] Operation: 20-14=6 Exploring Operation: 55-14=41, Resulting Numbers: [20, 41] Generated Node #0,3,4: 16:[20, 41] Operation: 55-14=41 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 16:[14, 35], Operations: ['92-37=55', '55-20=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,16 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 16:[20, 41], Operations: ['92-37=55', '55-14=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 16:[55, 6], Operations: ['92-37=55', '20-14=6'] Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,16 unequal: No Solution Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 16:[55, 34], Operations: ['92-37=55', '14+20=34'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,16 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 16:[20, 69], Operations: ['92-37=55', '14+55=69'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,16 unequal: No Solution Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,16 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: 16:[14, 37, 72], Operations: ['92-20=72'] Exploring Operation: 72-37=35, Resulting Numbers: [14, 35] Generated Node #0,4,0: 16:[14, 35] Operation: 72-37=35 Exploring Operation: 14+37=51, Resulting Numbers: [72, 51] Generated Node #0,4,1: 16:[72, 51] Operation: 14+37=51 Exploring Operation: 72-14=58, Resulting Numbers: [37, 58] Generated Node #0,4,2: 16:[37, 58] Operation: 72-14=58 Exploring Operation: 37-14=23, Resulting Numbers: [72, 23] Generated Node #0,4,3: 16:[72, 23] Operation: 37-14=23 Exploring Operation: 14+72=86, Resulting Numbers: [37, 86] Generated Node #0,4,4: 16:[37, 86] Operation: 14+72=86 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 16:[14, 35], Operations: ['92-20=72', '72-37=35'] Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,16 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 16:[37, 58], Operations: ['92-20=72', '72-14=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,16 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 16:[72, 23], Operations: ['92-20=72', '37-14=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 16:[72, 51], Operations: ['92-20=72', '14+37=51'] Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,16 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 16:[37, 86], Operations: ['92-20=72', '14+72=86'] Exploring Operation: 37*86=3182, Resulting Numbers: [3182] 3182,16 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 37+86=123, Resulting Numbers: [123] 123,16 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: 16:[14, 92, 17], Operations: ['37-20=17'] Exploring Operation: 92-17=75, Resulting Numbers: [14, 75] Generated Node #0,2,0: 16:[14, 75] Operation: 92-17=75 Exploring Operation: 14+17=31, Resulting Numbers: [92, 31] Generated Node #0,2,1: 16:[92, 31] Operation: 14+17=31 Exploring Operation: 14+92=106, Resulting Numbers: [17, 106] Generated Node #0,2,2: 16:[17, 106] Operation: 14+92=106 Exploring Operation: 17-14=3, Resulting Numbers: [92, 3] Generated Node #0,2,3: 16:[92, 3] Operation: 17-14=3 Exploring Operation: 92-14=78, Resulting Numbers: [17, 78] Generated Node #0,2,4: 16:[17, 78] Operation: 92-14=78 Moving to Node #0,0 Current State: 16:[20, 37, 78], Operations: ['92-14=78'] Exploring Operation: 37-20=17, Resulting Numbers: [78, 17] Generated Node #0,0,0: 16:[78, 17] Operation: 37-20=17 Exploring Operation: 20+37=57, Resulting Numbers: [78, 57] Generated Node #0,0,1: 16:[78, 57] Operation: 20+37=57 Exploring Operation: 78-20=58, Resulting Numbers: [37, 58] Generated Node #0,0,2: 16:[37, 58] Operation: 78-20=58 Exploring Operation: 78-37=41, Resulting Numbers: [20, 41] Generated Node #0,0,3: 16:[20, 41] Operation: 78-37=41 Exploring Operation: 20+78=98, Resulting Numbers: [37, 98] Generated Node #0,0,4: 16:[37, 98] Operation: 20+78=98 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 16:[20, 41], Operations: ['92-14=78', '78-37=41'] Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[78, 17], Operations: ['92-14=78', '37-20=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,16 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[37, 58], Operations: ['92-14=78', '78-20=58'] Exploring Operation: 37*58=2146, Resulting Numbers: [2146] 2146,16 unequal: No Solution Exploring Operation: 37+58=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[78, 57], Operations: ['92-14=78', '20+37=57'] Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,16 unequal: No Solution Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 16:[37, 98], Operations: ['92-14=78', '20+78=98'] Exploring Operation: 37*98=3626, Resulting Numbers: [3626] 3626,16 unequal: No Solution Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,16 unequal: No Solution Exploring Operation: 37+98=135, Resulting Numbers: [135] 135,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 16:[20, 92, 23], Operations: ['37-14=23'] Exploring Operation: 20+92=112, Resulting Numbers: [23, 112] Generated Node #0,1,0: 16:[23, 112] Operation: 20+92=112 Exploring Operation: 92/23=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 16:[20, 4] Operation: 92/23=4 Exploring Operation: 23-20=3, Resulting Numbers: [92, 3] Generated Node #0,1,2: 16:[92, 3] Operation: 23-20=3 Exploring Operation: 92-23=69, Resulting Numbers: [20, 69] Generated Node #0,1,3: 16:[20, 69] Operation: 92-23=69 Exploring Operation: 92-20=72, Resulting Numbers: [23, 72] Generated Node #0,1,4: 16:[23, 72] Operation: 92-20=72 Moving to Node #0,1,1 Current State: 16:[20, 4], Operations: ['37-14=23', '92/23=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,16 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[14, 20, 37, 92], Operations: [] Exploring Operation: 37-14=23, Resulting Numbers: [20, 92, 23] Generated Node #0,1: 16:[20, 92, 23] Operation: 37-14=23 Moving to Node #0,1 Current State: 16:[20, 92, 23], Operations: ['37-14=23'] Exploring Operation: 92/23=4, Resulting Numbers: [20, 4] Generated Node #0,1,1: 16:[20, 4] Operation: 92/23=4 Moving to Node #0,1,1 Current State: 16:[20, 4], Operations: ['37-14=23', '92/23=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.929688
hs_5
mult_heuristic
[ 19, 28, 39, 84 ]
18
[ "19*84=1596", "1596/28=57", "57-39=18" ]
Current State: 18:[19, 28, 39, 84], Operations: [] Exploring Operation: 19*84=1596, Resulting Numbers: [28, 39, 1596] Generated Node #2: [28, 39, 1596] from Operation: 19*84=1596 Current State: 18:[28, 39, 1596], Operations: ['19*84=1596'] Exploring Operation: 1596/28=57, Resulting Numbers: [39, 57] Generated Node #3: [39, 57] from Operation: 1596/28=57 Current State: 18:[39, 57], Operations: ['19*84=1596', '1596/28=57'] Exploring Operation: 57-39=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[19, 28, 39, 84], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [19, 39, 3] Generated Node #0,0: 18:[19, 39, 3] Operation: 84/28=3 Moving to Node #0,0 Current State: 18:[19, 39, 3], Operations: ['84/28=3'] Exploring Operation: 39-19=20, Resulting Numbers: [3, 20] Generated Node #0,0,0: 18:[3, 20] Operation: 39-19=20 Moving to Node #0,0,0 Current State: 18:[3, 20], Operations: ['84/28=3', '39-19=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,18 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 20, 60, 40, 17 ]
51
[ "40-20=20", "60*17=1020", "1020/20=51" ]
Current State: 51:[20, 60, 40, 17], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [60, 17, 20] Generated Node #2: [60, 17, 20] from Operation: 40-20=20 Current State: 51:[60, 17, 20], Operations: ['40-20=20'] Exploring Operation: 60*17=1020, Resulting Numbers: [20, 1020] Generated Node #3: [20, 1020] from Operation: 60*17=1020 Current State: 51:[20, 1020], Operations: ['40-20=20', '60*17=1020'] Exploring Operation: 1020/20=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[20, 60, 40, 17], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [20, 17, 20] Generated Node #0,0: 51:[20, 17, 20] Operation: 60-40=20 Moving to Node #0,0 Current State: 51:[20, 17, 20], Operations: ['60-40=20'] Exploring Operation: 20/20=1, Resulting Numbers: [17, 1] Generated Node #0,0,0: 51:[17, 1] Operation: 20/20=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[17, 1], Operations: ['60-40=20', '20/20=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,51 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
[ 9, 10, 94, 5 ]
100
[ "10-9=1", "94+5=99", "1+99=100" ]
Current State: 100:[9, 10, 94, 5], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [94, 5, 1] Generated Node #2: [94, 5, 1] from Operation: 10-9=1 Current State: 100:[94, 5, 1], Operations: ['10-9=1'] Exploring Operation: 94+5=99, Resulting Numbers: [1, 99] Generated Node #3: [1, 99] from Operation: 94+5=99 Current State: 100:[1, 99], Operations: ['10-9=1', '94+5=99'] Exploring Operation: 1+99=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[9, 10, 94, 5], Operations: [] Exploring Operation: 9+10=19, Resulting Numbers: [94, 5, 19] Generated Node #0,0: 100:[94, 5, 19] Operation: 9+10=19 Exploring Operation: 9-5=4, Resulting Numbers: [10, 94, 4] Generated Node #0,1: 100:[10, 94, 4] Operation: 9-5=4 Exploring Operation: 94+5=99, Resulting Numbers: [9, 10, 99] Generated Node #0,2: 100:[9, 10, 99] Operation: 94+5=99 Exploring Operation: 10+94=104, Resulting Numbers: [9, 5, 104] Generated Node #0,3: 100:[9, 5, 104] Operation: 10+94=104 Exploring Operation: 9+94=103, Resulting Numbers: [10, 5, 103] Generated Node #0,4: 100:[10, 5, 103] Operation: 9+94=103 Moving to Node #0,2 Current State: 100:[9, 10, 99], Operations: ['94+5=99'] Exploring Operation: 99-9=90, Resulting Numbers: [10, 90] Generated Node #0,2,0: 100:[10, 90] Operation: 99-9=90 Exploring Operation: 9+99=108, Resulting Numbers: [10, 108] Generated Node #0,2,1: 100:[10, 108] Operation: 9+99=108 Exploring Operation: 10-9=1, Resulting Numbers: [99, 1] Generated Node #0,2,2: 100:[99, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [99, 19] Generated Node #0,2,3: 100:[99, 19] Operation: 9+10=19 Exploring Operation: 99/9=11, Resulting Numbers: [10, 11] Generated Node #0,2,4: 100:[10, 11] Operation: 99/9=11 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 100:[10, 11], Operations: ['94+5=99', '99/9=11'] Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,100 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,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,2,2 Current State: 100:[99, 1], Operations: ['94+5=99', '10-9=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[9, 10, 94, 5], Operations: [] Exploring Operation: 94+5=99, Resulting Numbers: [9, 10, 99] Generated Node #0,2: 100:[9, 10, 99] Operation: 94+5=99 Moving to Node #0,2 Current State: 100:[9, 10, 99], Operations: ['94+5=99'] Exploring Operation: 10-9=1, Resulting Numbers: [99, 1] Generated Node #0,2,2: 100:[99, 1] Operation: 10-9=1 Moving to Node #0,2,2 Current State: 100:[99, 1], Operations: ['94+5=99', '10-9=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 15, 22, 39, 3 ]
43
[ "22-15=7", "39-3=36", "7+36=43" ]
Current State: 43:[15, 22, 39, 3], Operations: [] Exploring Operation: 22-15=7, Resulting Numbers: [39, 3, 7] Generated Node #2: [39, 3, 7] from Operation: 22-15=7 Current State: 43:[39, 3, 7], Operations: ['22-15=7'] Exploring Operation: 39-3=36, Resulting Numbers: [7, 36] Generated Node #3: [7, 36] from Operation: 39-3=36 Current State: 43:[7, 36], Operations: ['22-15=7', '39-3=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[15, 22, 39, 3], Operations: [] Exploring Operation: 15+22=37, Resulting Numbers: [39, 3, 37] Generated Node #0,0: 43:[39, 3, 37] Operation: 15+22=37 Exploring Operation: 15*3=45, Resulting Numbers: [22, 39, 45] Generated Node #0,1: 43:[22, 39, 45] Operation: 15*3=45 Moving to Node #0,1 Current State: 43:[22, 39, 45], Operations: ['15*3=45'] Exploring Operation: 45-22=23, Resulting Numbers: [39, 23] Generated Node #0,1,0: 43:[39, 23] Operation: 45-22=23 Exploring Operation: 22+39=61, Resulting Numbers: [45, 61] Generated Node #0,1,1: 43:[45, 61] Operation: 22+39=61 Moving to Node #0,0 Current State: 43:[39, 3, 37], Operations: ['15+22=37'] Exploring Operation: 3+37=40, Resulting Numbers: [39, 40] Generated Node #0,0,0: 43:[39, 40] Operation: 3+37=40 Exploring Operation: 39+3=42, Resulting Numbers: [37, 42] Generated Node #0,0,1: 43:[37, 42] Operation: 39+3=42 Moving to Node #0,0,0 Current State: 43:[39, 40], Operations: ['15+22=37', '3+37=40'] Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[37, 42], Operations: ['15+22=37', '39+3=42'] Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,43 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[45, 61], Operations: ['15*3=45', '22+39=61'] Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,43 unequal: No Solution Exploring Operation: 45+61=106, Resulting Numbers: [106] 106,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[39, 23], Operations: ['15*3=45', '45-22=23'] Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,43 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 11, 19, 6, 29 ]
31
[ "19-11=8", "29-6=23", "8+23=31" ]
Current State: 31:[11, 19, 6, 29], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [6, 29, 8] Generated Node #2: [6, 29, 8] from Operation: 19-11=8 Current State: 31:[6, 29, 8], Operations: ['19-11=8'] Exploring Operation: 29-6=23, Resulting Numbers: [8, 23] Generated Node #3: [8, 23] from Operation: 29-6=23 Current State: 31:[8, 23], Operations: ['19-11=8', '29-6=23'] Exploring Operation: 8+23=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[11, 19, 6, 29], Operations: [] Exploring Operation: 19+6=25, Resulting Numbers: [11, 29, 25] Generated Node #0,0: 31:[11, 29, 25] Operation: 19+6=25 Exploring Operation: 11+19=30, Resulting Numbers: [6, 29, 30] Generated Node #0,1: 31:[6, 29, 30] Operation: 11+19=30 Exploring Operation: 6+29=35, Resulting Numbers: [11, 19, 35] Generated Node #0,2: 31:[11, 19, 35] Operation: 6+29=35 Exploring Operation: 11+6=17, Resulting Numbers: [19, 29, 17] Generated Node #0,3: 31:[19, 29, 17] Operation: 11+6=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[11, 29, 25], Operations: ['19+6=25'] Exploring Operation: 29-11=18, Resulting Numbers: [25, 18] Generated Node #0,0,0: 31:[25, 18] Operation: 29-11=18 Exploring Operation: 25-11=14, Resulting Numbers: [29, 14] Generated Node #0,0,1: 31:[29, 14] Operation: 25-11=14 Exploring Operation: 11+25=36, Resulting Numbers: [29, 36] Generated Node #0,0,2: 31:[29, 36] Operation: 11+25=36 Exploring Operation: 11+29=40, Resulting Numbers: [25, 40] Generated Node #0,0,3: 31:[25, 40] Operation: 11+29=40 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[29, 36], Operations: ['19+6=25', '11+25=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,31 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[25, 40], Operations: ['19+6=25', '11+29=40'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[25, 18], Operations: ['19+6=25', '29-11=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,31 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[29, 14], Operations: ['19+6=25', '25-11=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,31 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,31 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: 31:[6, 29, 30], Operations: ['11+19=30'] Exploring Operation: 6+29=35, Resulting Numbers: [30, 35] Generated Node #0,1,0: 31:[30, 35] Operation: 6+29=35 Exploring Operation: 6+30=36, Resulting Numbers: [29, 36] Generated Node #0,1,1: 31:[29, 36] Operation: 6+30=36 Exploring Operation: 30-6=24, Resulting Numbers: [29, 24] Generated Node #0,1,2: 31:[29, 24] Operation: 30-6=24 Exploring Operation: 29-6=23, Resulting Numbers: [30, 23] Generated Node #0,1,3: 31:[30, 23] Operation: 29-6=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[30, 35], Operations: ['11+19=30', '6+29=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,31 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[29, 36], Operations: ['11+19=30', '6+30=36'] Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[29, 24], Operations: ['11+19=30', '30-6=24'] Exploring Operation: 29+24=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 29*24=696, Resulting Numbers: [696] 696,31 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 31:[30, 23], Operations: ['11+19=30', '29-6=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,31 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: 31:[19, 29, 17], Operations: ['11+6=17'] Exploring Operation: 19+29=48, Resulting Numbers: [17, 48] Generated Node #0,3,0: 31:[17, 48] Operation: 19+29=48 Exploring Operation: 29+17=46, Resulting Numbers: [19, 46] Generated Node #0,3,1: 31:[19, 46] Operation: 29+17=46 Exploring Operation: 19+17=36, Resulting Numbers: [29, 36] Generated Node #0,3,2: 31:[29, 36] Operation: 19+17=36 Exploring Operation: 19-17=2, Resulting Numbers: [29, 2] Generated Node #0,3,3: 31:[29, 2] Operation: 19-17=2 Moving to Node #0,3,2 Current State: 31:[29, 36], Operations: ['11+6=17', '19+17=36'] Exploring Operation: 36-29=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 29*36=1044, Resulting Numbers: [1044] 1044,31 unequal: No Solution Exploring Operation: 29+36=65, Resulting Numbers: [65] 65,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[19, 46], Operations: ['11+6=17', '29+17=46'] Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,31 unequal: No Solution Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,31 unequal: No Solution Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[29, 2], Operations: ['11+6=17', '19-17=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[11, 19, 6, 29], Operations: [] Exploring Operation: 11+6=17, Resulting Numbers: [19, 29, 17] Generated Node #0,3: 31:[19, 29, 17] Operation: 11+6=17 Moving to Node #0,3 Current State: 31:[19, 29, 17], Operations: ['11+6=17'] Exploring Operation: 19-17=2, Resulting Numbers: [29, 2] Generated Node #0,3,3: 31:[29, 2] Operation: 19-17=2 Moving to Node #0,3,3 Current State: 31:[29, 2], Operations: ['11+6=17', '19-17=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.955729
hs_4
mult_heuristic
[ 2, 31, 57, 13 ]
41
[ "31-2=29", "57+13=70", "70-29=41" ]
Current State: 41:[2, 31, 57, 13], Operations: [] Exploring Operation: 31-2=29, Resulting Numbers: [57, 13, 29] Generated Node #2: [57, 13, 29] from Operation: 31-2=29 Current State: 41:[57, 13, 29], Operations: ['31-2=29'] Exploring Operation: 57+13=70, Resulting Numbers: [29, 70] Generated Node #3: [29, 70] from Operation: 57+13=70 Current State: 41:[29, 70], Operations: ['31-2=29', '57+13=70'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 31, 57, 13], Operations: [] Exploring Operation: 2*13=26, Resulting Numbers: [31, 57, 26] Generated Node #0,0: 41:[31, 57, 26] Operation: 2*13=26 Moving to Node #0,0 Current State: 41:[31, 57, 26], Operations: ['2*13=26'] Exploring Operation: 57-26=31, Resulting Numbers: [31, 31] Generated Node #0,0,0: 41:[31, 31] Operation: 57-26=31 Moving to Node #0,0,0 Current State: 41:[31, 31], Operations: ['2*13=26', '57-26=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 44, 26, 67 ]
49
[ "1*44=44", "26+67=93", "93-44=49" ]
Current State: 49:[1, 44, 26, 67], Operations: [] Exploring Operation: 1*44=44, Resulting Numbers: [26, 67, 44] Generated Node #2: [26, 67, 44] from Operation: 1*44=44 Current State: 49:[26, 67, 44], Operations: ['1*44=44'] Exploring Operation: 26+67=93, Resulting Numbers: [44, 93] Generated Node #3: [44, 93] from Operation: 26+67=93 Current State: 49:[44, 93], Operations: ['1*44=44', '26+67=93'] Exploring Operation: 93-44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[1, 44, 26, 67], Operations: [] Exploring Operation: 67-26=41, Resulting Numbers: [1, 44, 41] Generated Node #0,0: 49:[1, 44, 41] Operation: 67-26=41 Exploring Operation: 67-1=66, Resulting Numbers: [44, 26, 66] Generated Node #0,1: 49:[44, 26, 66] Operation: 67-1=66 Exploring Operation: 26-1=25, Resulting Numbers: [44, 67, 25] Generated Node #0,2: 49:[44, 67, 25] Operation: 26-1=25 Exploring Operation: 1+44=45, Resulting Numbers: [26, 67, 45] Generated Node #0,3: 49:[26, 67, 45] Operation: 1+44=45 Exploring Operation: 44-26=18, Resulting Numbers: [1, 67, 18] Generated Node #0,4: 49:[1, 67, 18] Operation: 44-26=18 Moving to Node #0,0 Current State: 49:[1, 44, 41], Operations: ['67-26=41'] Exploring Operation: 1+41=42, Resulting Numbers: [44, 42] Generated Node #0,0,0: 49:[44, 42] Operation: 1+41=42 Exploring Operation: 44/1=44, Resulting Numbers: [41, 44] Generated Node #0,0,1: 49:[41, 44] Operation: 44/1=44 Exploring Operation: 1*44=44, Resulting Numbers: [41, 44] Generated Node #0,0,2: 49:[41, 44] Operation: 1*44=44 Exploring Operation: 44-41=3, Resulting Numbers: [1, 3] Generated Node #0,0,3: 49:[1, 3] Operation: 44-41=3 Exploring Operation: 1+44=45, Resulting Numbers: [41, 45] Generated Node #0,0,4: 49:[41, 45] Operation: 1+44=45 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 49:[1, 3], Operations: ['67-26=41', '44-41=3'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[44, 42], Operations: ['67-26=41', '1+41=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,49 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 49:[41, 45], Operations: ['67-26=41', '1+44=45'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,49 unequal: No Solution Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[41, 44], Operations: ['67-26=41', '44/1=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[41, 44], Operations: ['67-26=41', '1*44=44'] Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,49 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,49 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: 49:[1, 67, 18], Operations: ['44-26=18'] Exploring Operation: 1*67=67, Resulting Numbers: [18, 67] Generated Node #0,4,0: 49:[18, 67] Operation: 1*67=67 Exploring Operation: 67-18=49, Resulting Numbers: [1, 49] Generated Node #0,4,1: 49:[1, 49] Operation: 67-18=49 Exploring Operation: 67/1=67, Resulting Numbers: [18, 67] Generated Node #0,4,2: 49:[18, 67] Operation: 67/1=67 Exploring Operation: 18-1=17, Resulting Numbers: [67, 17] Generated Node #0,4,3: 49:[67, 17] Operation: 18-1=17 Exploring Operation: 67-1=66, Resulting Numbers: [18, 66] Generated Node #0,4,4: 49:[18, 66] Operation: 67-1=66 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 49:[1, 49], Operations: ['44-26=18', '67-18=49'] Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[1, 44, 26, 67], Operations: [] Exploring Operation: 44-26=18, Resulting Numbers: [1, 67, 18] Generated Node #0,4: 49:[1, 67, 18] Operation: 44-26=18 Moving to Node #0,4 Current State: 49:[1, 67, 18], Operations: ['44-26=18'] Exploring Operation: 67-18=49, Resulting Numbers: [1, 49] Generated Node #0,4,1: 49:[1, 49] Operation: 67-18=49 Moving to Node #0,4,1 Current State: 49:[1, 49], Operations: ['44-26=18', '67-18=49'] Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 34, 31, 31, 27 ]
34
[ "31-31=0", "27*0=0", "34+0=34" ]
Current State: 34:[34, 31, 31, 27], Operations: [] Exploring Operation: 31-31=0, Resulting Numbers: [34, 27, 0] Generated Node #2: [34, 27, 0] from Operation: 31-31=0 Current State: 34:[34, 27, 0], Operations: ['31-31=0'] Exploring Operation: 27*0=0, Resulting Numbers: [34, 0] Generated Node #3: [34, 0] from Operation: 27*0=0 Current State: 34:[34, 0], Operations: ['31-31=0', '27*0=0'] Exploring Operation: 34+0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[34, 31, 31, 27], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [34, 31, 4] Generated Node #0,0: 34:[34, 31, 4] Operation: 31-27=4 Exploring Operation: 31/31=1, Resulting Numbers: [34, 27, 1] Generated Node #0,1: 34:[34, 27, 1] Operation: 31/31=1 Exploring Operation: 34-31=3, Resulting Numbers: [31, 27, 3] Generated Node #0,2: 34:[31, 27, 3] Operation: 34-31=3 Exploring Operation: 31-31=0, Resulting Numbers: [34, 27, 0] Generated Node #0,3: 34:[34, 27, 0] Operation: 31-31=0 Exploring Operation: 31-27=4, Resulting Numbers: [34, 31, 4] Generated Node #0,4: 34:[34, 31, 4] Operation: 31-27=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[34, 31, 4], Operations: ['31-27=4'] Exploring Operation: 31-4=27, Resulting Numbers: [34, 27] Generated Node #0,0,0: 34:[34, 27] Operation: 31-4=27 Exploring Operation: 34-31=3, Resulting Numbers: [4, 3] Generated Node #0,0,1: 34:[4, 3] Operation: 34-31=3 Exploring Operation: 31+4=35, Resulting Numbers: [34, 35] Generated Node #0,0,2: 34:[34, 35] Operation: 31+4=35 Exploring Operation: 34-4=30, Resulting Numbers: [31, 30] Generated Node #0,0,3: 34:[31, 30] Operation: 34-4=30 Exploring Operation: 34+4=38, Resulting Numbers: [31, 38] Generated Node #0,0,4: 34:[31, 38] Operation: 34+4=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[34, 35], Operations: ['31-27=4', '31+4=35'] Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,34 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[4, 3], Operations: ['31-27=4', '34-31=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[34, 27], Operations: ['31-27=4', '31-4=27'] Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,34 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 34:[31, 30], Operations: ['31-27=4', '34-4=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,34 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 34:[31, 38], Operations: ['31-27=4', '34+4=38'] Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,34 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 34:[34, 31, 4], Operations: ['31-27=4'] Exploring Operation: 31-4=27, Resulting Numbers: [34, 27] Generated Node #0,4,0: 34:[34, 27] Operation: 31-4=27 Exploring Operation: 31+4=35, Resulting Numbers: [34, 35] Generated Node #0,4,1: 34:[34, 35] Operation: 31+4=35 Exploring Operation: 34-4=30, Resulting Numbers: [31, 30] Generated Node #0,4,2: 34:[31, 30] Operation: 34-4=30 Exploring Operation: 34+4=38, Resulting Numbers: [31, 38] Generated Node #0,4,3: 34:[31, 38] Operation: 34+4=38 Exploring Operation: 34-31=3, Resulting Numbers: [4, 3] Generated Node #0,4,4: 34:[4, 3] Operation: 34-31=3 Moving to Node #0,4,1 Current State: 34:[34, 35], Operations: ['31-27=4', '31+4=35'] Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,34 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[4, 3], Operations: ['31-27=4', '34-31=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,34 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[34, 27], Operations: ['31-27=4', '31-4=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[31, 30], Operations: ['31-27=4', '34-4=30'] Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,34 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[31, 38], Operations: ['31-27=4', '34+4=38'] Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,34 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[34, 27, 1], Operations: ['31/31=1'] Exploring Operation: 27*1=27, Resulting Numbers: [34, 27] Generated Node #0,1,0: 34:[34, 27] Operation: 27*1=27 Exploring Operation: 34/1=34, Resulting Numbers: [27, 34] Generated Node #0,1,1: 34:[27, 34] Operation: 34/1=34 Exploring Operation: 34*1=34, Resulting Numbers: [27, 34] Generated Node #0,1,2: 34:[27, 34] Operation: 34*1=34 Exploring Operation: 27+1=28, Resulting Numbers: [34, 28] Generated Node #0,1,3: 34:[34, 28] Operation: 27+1=28 Exploring Operation: 34-27=7, Resulting Numbers: [1, 7] Generated Node #0,1,4: 34:[1, 7] Operation: 34-27=7 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 34:[34, 28], Operations: ['31/31=1', '27+1=28'] Exploring Operation: 34*28=952, Resulting Numbers: [952] 952,34 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 34:[1, 7], Operations: ['31/31=1', '34-27=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,34 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[34, 27], Operations: ['31/31=1', '27*1=27'] Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,34 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[27, 34], Operations: ['31/31=1', '34/1=34'] Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,34 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 34:[27, 34], Operations: ['31/31=1', '34*1=34'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 27+34=61, Resulting Numbers: [61] 61,34 unequal: No Solution Exploring Operation: 27*34=918, Resulting Numbers: [918] 918,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[34, 27, 0], Operations: ['31-31=0'] Exploring Operation: 27+0=27, Resulting Numbers: [34, 27] Generated Node #0,3,0: 34:[34, 27] Operation: 27+0=27 Exploring Operation: 34+0=34, Resulting Numbers: [27, 34] Generated Node #0,3,1: 34:[27, 34] Operation: 34+0=34 Exploring Operation: 27*0=0, Resulting Numbers: [34, 0] Generated Node #0,3,2: 34:[34, 0] Operation: 27*0=0 Exploring Operation: 34-0=34, Resulting Numbers: [27, 34] Generated Node #0,3,3: 34:[27, 34] Operation: 34-0=34 Exploring Operation: 34-27=7, Resulting Numbers: [0, 7] Generated Node #0,3,4: 34:[0, 7] Operation: 34-27=7 Moving to Node #0,3,2 Current State: 34:[34, 0], Operations: ['31-31=0', '27*0=0'] Exploring Operation: 34*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[34, 31, 31, 27], Operations: [] Exploring Operation: 31-31=0, Resulting Numbers: [34, 27, 0] Generated Node #0,3: 34:[34, 27, 0] Operation: 31-31=0 Moving to Node #0,3 Current State: 34:[34, 27, 0], Operations: ['31-31=0'] Exploring Operation: 27*0=0, Resulting Numbers: [34, 0] Generated Node #0,3,2: 34:[34, 0] Operation: 27*0=0 Moving to Node #0,3,2 Current State: 34:[34, 0], Operations: ['31-31=0', '27*0=0'] Exploring Operation: 34-0=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.93316
hs_5
mult_heuristic
[ 11, 2, 65, 25 ]
18
[ "11*2=22", "65-25=40", "40-22=18" ]
Current State: 18:[11, 2, 65, 25], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [65, 25, 22] Generated Node #2: [65, 25, 22] from Operation: 11*2=22 Current State: 18:[65, 25, 22], Operations: ['11*2=22'] Exploring Operation: 65-25=40, Resulting Numbers: [22, 40] Generated Node #3: [22, 40] from Operation: 65-25=40 Current State: 18:[22, 40], Operations: ['11*2=22', '65-25=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[11, 2, 65, 25], Operations: [] Exploring Operation: 65-11=54, Resulting Numbers: [2, 25, 54] Generated Node #0,0: 18:[2, 25, 54] Operation: 65-11=54 Exploring Operation: 65-25=40, Resulting Numbers: [11, 2, 40] Generated Node #0,1: 18:[11, 2, 40] Operation: 65-25=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[11, 2, 40], Operations: ['65-25=40'] Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #0,1,0: 18:[2, 29] Operation: 40-11=29 Exploring Operation: 40/2=20, Resulting Numbers: [11, 20] Generated Node #0,1,1: 18:[11, 20] Operation: 40/2=20 Moving to Node #0,1,1 Current State: 18:[11, 20], Operations: ['65-25=40', '40/2=20'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 11+20=31, Resulting Numbers: [31] 31,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[2, 29], Operations: ['65-25=40', '40-11=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,18 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[2, 25, 54], Operations: ['65-11=54'] Exploring Operation: 54-25=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 18:[2, 29] Operation: 54-25=29 Exploring Operation: 54/2=27, Resulting Numbers: [25, 27] Generated Node #0,0,1: 18:[25, 27] Operation: 54/2=27 Moving to Node #0,0,0 Current State: 18:[2, 29], Operations: ['65-11=54', '54-25=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[25, 27], Operations: ['65-11=54', '54/2=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,18 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 1, 76, 16, 60 ]
80
[ "16-1=15", "60/15=4", "76+4=80" ]
Current State: 80:[1, 76, 16, 60], Operations: [] Exploring Operation: 16-1=15, Resulting Numbers: [76, 60, 15] Generated Node #2: [76, 60, 15] from Operation: 16-1=15 Current State: 80:[76, 60, 15], Operations: ['16-1=15'] Exploring Operation: 60/15=4, Resulting Numbers: [76, 4] Generated Node #3: [76, 4] from Operation: 60/15=4 Current State: 80:[76, 4], Operations: ['16-1=15', '60/15=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[1, 76, 16, 60], Operations: [] Exploring Operation: 76-60=16, Resulting Numbers: [1, 16, 16] Generated Node #0,0: 80:[1, 16, 16] Operation: 76-60=16 Exploring Operation: 16+60=76, Resulting Numbers: [1, 76, 76] Generated Node #0,1: 80:[1, 76, 76] Operation: 16+60=76 Moving to Node #0,0 Current State: 80:[1, 16, 16], Operations: ['76-60=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16, 16] Generated Node #0,0,0: 80:[16, 16] Operation: 16/1=16 Exploring Operation: 1*16=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 80:[16, 16] Operation: 1*16=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[16, 16], Operations: ['76-60=16', '16/1=16'] Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,80 unequal: No Solution No 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: 80:[16, 16], Operations: ['76-60=16', '1*16=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,80 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: 80:[1, 76, 76], Operations: ['16+60=76'] Exploring Operation: 76/76=1, Resulting Numbers: [1, 1] Generated Node #0,1,0: 80:[1, 1] Operation: 76/76=1 Exploring Operation: 76-76=0, Resulting Numbers: [1, 0] Generated Node #0,1,1: 80:[1, 0] Operation: 76-76=0 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[1, 1], Operations: ['16+60=76', '76/76=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,80 unequal: No Solution No 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: 80:[1, 0], Operations: ['16+60=76', '76-76=0'] Exploring Operation: 1-0=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 1+0=1, Resulting Numbers: [1] 1,80 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
[ 22, 32, 14, 58 ]
82
[ "32-22=10", "14+58=72", "10+72=82" ]
Current State: 82:[22, 32, 14, 58], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [14, 58, 10] Generated Node #2: [14, 58, 10] from Operation: 32-22=10 Current State: 82:[14, 58, 10], Operations: ['32-22=10'] Exploring Operation: 14+58=72, Resulting Numbers: [10, 72] Generated Node #3: [10, 72] from Operation: 14+58=72 Current State: 82:[10, 72], Operations: ['32-22=10', '14+58=72'] Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[22, 32, 14, 58], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [32, 14, 36] Generated Node #0,0: 82:[32, 14, 36] Operation: 58-22=36 Exploring Operation: 58-14=44, Resulting Numbers: [22, 32, 44] Generated Node #0,1: 82:[22, 32, 44] Operation: 58-14=44 Exploring Operation: 22-14=8, Resulting Numbers: [32, 58, 8] Generated Node #0,2: 82:[32, 58, 8] Operation: 22-14=8 Exploring Operation: 22+58=80, Resulting Numbers: [32, 14, 80] Generated Node #0,3: 82:[32, 14, 80] Operation: 22+58=80 Exploring Operation: 22+14=36, Resulting Numbers: [32, 58, 36] Generated Node #0,4: 82:[32, 58, 36] Operation: 22+14=36 Moving to Node #0,3 Current State: 82:[32, 14, 80], Operations: ['22+58=80'] Exploring Operation: 14+80=94, Resulting Numbers: [32, 94] Generated Node #0,3,0: 82:[32, 94] Operation: 14+80=94 Exploring Operation: 32+14=46, Resulting Numbers: [80, 46] Generated Node #0,3,1: 82:[80, 46] Operation: 32+14=46 Exploring Operation: 80-32=48, Resulting Numbers: [14, 48] Generated Node #0,3,2: 82:[14, 48] Operation: 80-32=48 Exploring Operation: 32-14=18, Resulting Numbers: [80, 18] Generated Node #0,3,3: 82:[80, 18] Operation: 32-14=18 Exploring Operation: 80-14=66, Resulting Numbers: [32, 66] Generated Node #0,3,4: 82:[32, 66] Operation: 80-14=66 Moving to Node #0,0 Current State: 82:[32, 14, 36], Operations: ['58-22=36'] Exploring Operation: 32+36=68, Resulting Numbers: [14, 68] Generated Node #0,0,0: 82:[14, 68] Operation: 32+36=68 Exploring Operation: 32+14=46, Resulting Numbers: [36, 46] Generated Node #0,0,1: 82:[36, 46] Operation: 32+14=46 Exploring Operation: 32-14=18, Resulting Numbers: [36, 18] Generated Node #0,0,2: 82:[36, 18] Operation: 32-14=18 Exploring Operation: 36-32=4, Resulting Numbers: [14, 4] Generated Node #0,0,3: 82:[14, 4] Operation: 36-32=4 Exploring Operation: 14+36=50, Resulting Numbers: [32, 50] Generated Node #0,0,4: 82:[32, 50] Operation: 14+36=50 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[36, 46], Operations: ['58-22=36', '32+14=46'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,82 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[22, 32, 14, 58], Operations: [] Exploring Operation: 58-22=36, Resulting Numbers: [32, 14, 36] Generated Node #0,0: 82:[32, 14, 36] Operation: 58-22=36 Moving to Node #0,0 Current State: 82:[32, 14, 36], Operations: ['58-22=36'] Exploring Operation: 32+14=46, Resulting Numbers: [36, 46] Generated Node #0,0,1: 82:[36, 46] Operation: 32+14=46 Moving to Node #0,0,1 Current State: 82:[36, 46], Operations: ['58-22=36', '32+14=46'] Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 19, 90, 68, 59 ]
29
[ "68-59=9", "90/9=10", "19+10=29" ]
Current State: 29:[19, 90, 68, 59], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [19, 90, 9] Generated Node #2: [19, 90, 9] from Operation: 68-59=9 Current State: 29:[19, 90, 9], Operations: ['68-59=9'] Exploring Operation: 90/9=10, Resulting Numbers: [19, 10] Generated Node #3: [19, 10] from Operation: 90/9=10 Current State: 29:[19, 10], Operations: ['68-59=9', '90/9=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[19, 90, 68, 59], Operations: [] Exploring Operation: 90-19=71, Resulting Numbers: [68, 59, 71] Generated Node #0,0: 29:[68, 59, 71] Operation: 90-19=71 Exploring Operation: 68-19=49, Resulting Numbers: [90, 59, 49] Generated Node #0,1: 29:[90, 59, 49] Operation: 68-19=49 Exploring Operation: 68-59=9, Resulting Numbers: [19, 90, 9] Generated Node #0,2: 29:[19, 90, 9] Operation: 68-59=9 Exploring Operation: 90-68=22, Resulting Numbers: [19, 59, 22] Generated Node #0,3: 29:[19, 59, 22] Operation: 90-68=22 Exploring Operation: 90-59=31, Resulting Numbers: [19, 68, 31] Generated Node #0,4: 29:[19, 68, 31] Operation: 90-59=31 Moving to Node #0,3 Current State: 29:[19, 59, 22], Operations: ['90-68=22'] Exploring Operation: 59-19=40, Resulting Numbers: [22, 40] Generated Node #0,3,0: 29:[22, 40] Operation: 59-19=40 Exploring Operation: 19+22=41, Resulting Numbers: [59, 41] Generated Node #0,3,1: 29:[59, 41] Operation: 19+22=41 Exploring Operation: 22-19=3, Resulting Numbers: [59, 3] Generated Node #0,3,2: 29:[59, 3] Operation: 22-19=3 Exploring Operation: 59-22=37, Resulting Numbers: [19, 37] Generated Node #0,3,3: 29:[19, 37] Operation: 59-22=37 Exploring Operation: 19+59=78, Resulting Numbers: [22, 78] Generated Node #0,3,4: 29:[22, 78] Operation: 19+59=78 Moving to Node #0,4 Current State: 29:[19, 68, 31], Operations: ['90-59=31'] Exploring Operation: 68-31=37, Resulting Numbers: [19, 37] Generated Node #0,4,0: 29:[19, 37] Operation: 68-31=37 Exploring Operation: 31-19=12, Resulting Numbers: [68, 12] Generated Node #0,4,1: 29:[68, 12] Operation: 31-19=12 Exploring Operation: 68-19=49, Resulting Numbers: [31, 49] Generated Node #0,4,2: 29:[31, 49] Operation: 68-19=49 Exploring Operation: 19+31=50, Resulting Numbers: [68, 50] Generated Node #0,4,3: 29:[68, 50] Operation: 19+31=50 Exploring Operation: 19+68=87, Resulting Numbers: [31, 87] Generated Node #0,4,4: 29:[31, 87] Operation: 19+68=87 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[19, 37], Operations: ['90-59=31', '68-31=37'] Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,29 unequal: No Solution Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,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,4,2 Current State: 29:[31, 49], Operations: ['90-59=31', '68-19=49'] Exploring Operation: 31+49=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 31*49=1519, Resulting Numbers: [1519] 1519,29 unequal: No Solution Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,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,4,1 Current State: 29:[68, 12], Operations: ['90-59=31', '31-19=12'] Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,29 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,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,4,3 Current State: 29:[68, 50], Operations: ['90-59=31', '19+31=50'] Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,29 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,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,4,4 Current State: 29:[31, 87], Operations: ['90-59=31', '19+68=87'] Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,29 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: 29:[19, 90, 9], Operations: ['68-59=9'] Exploring Operation: 90-9=81, Resulting Numbers: [19, 81] Generated Node #0,2,0: 29:[19, 81] Operation: 90-9=81 Exploring Operation: 90/9=10, Resulting Numbers: [19, 10] Generated Node #0,2,1: 29:[19, 10] Operation: 90/9=10 Exploring Operation: 90-19=71, Resulting Numbers: [9, 71] Generated Node #0,2,2: 29:[9, 71] Operation: 90-19=71 Exploring Operation: 19+9=28, Resulting Numbers: [90, 28] Generated Node #0,2,3: 29:[90, 28] Operation: 19+9=28 Exploring Operation: 19-9=10, Resulting Numbers: [90, 10] Generated Node #0,2,4: 29:[90, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[19, 10], Operations: ['68-59=9', '90/9=10'] Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,29 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[19, 90, 68, 59], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [19, 90, 9] Generated Node #0,2: 29:[19, 90, 9] Operation: 68-59=9 Moving to Node #0,2 Current State: 29:[19, 90, 9], Operations: ['68-59=9'] Exploring Operation: 90/9=10, Resulting Numbers: [19, 10] Generated Node #0,2,1: 29:[19, 10] Operation: 90/9=10 Moving to Node #0,2,1 Current State: 29:[19, 10], Operations: ['68-59=9', '90/9=10'] Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 64, 39, 3, 62 ]
33
[ "64-62=2", "3*2=6", "39-6=33" ]
Current State: 33:[64, 39, 3, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [39, 3, 2] Generated Node #2: [39, 3, 2] from Operation: 64-62=2 Current State: 33:[39, 3, 2], Operations: ['64-62=2'] Exploring Operation: 3*2=6, Resulting Numbers: [39, 6] Generated Node #3: [39, 6] from Operation: 3*2=6 Current State: 33:[39, 6], Operations: ['64-62=2', '3*2=6'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[64, 39, 3, 62], Operations: [] Exploring Operation: 64-62=2, Resulting Numbers: [39, 3, 2] Generated Node #0,0: 33:[39, 3, 2] Operation: 64-62=2 Exploring Operation: 64-39=25, Resulting Numbers: [3, 62, 25] Generated Node #0,1: 33:[3, 62, 25] Operation: 64-39=25 Moving to Node #0,0 Current State: 33:[39, 3, 2], Operations: ['64-62=2'] Exploring Operation: 39/3=13, Resulting Numbers: [2, 13] Generated Node #0,0,0: 33:[2, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [2, 36] Generated Node #0,0,1: 33:[2, 36] Operation: 39-3=36 Moving to Node #0,1 Current State: 33:[3, 62, 25], Operations: ['64-39=25'] Exploring Operation: 62-25=37, Resulting Numbers: [3, 37] Generated Node #0,1,0: 33:[3, 37] Operation: 62-25=37 Exploring Operation: 62-3=59, Resulting Numbers: [25, 59] Generated Node #0,1,1: 33:[25, 59] Operation: 62-3=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[3, 37], Operations: ['64-39=25', '62-25=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,33 unequal: No Solution No 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: 33:[25, 59], Operations: ['64-39=25', '62-3=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,33 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,33 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: 33:[2, 13], Operations: ['64-62=2', '39/3=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[2, 36], Operations: ['64-62=2', '39-3=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,33 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 81, 37, 80, 42 ]
93
[ "80*42=3360", "81+3360=3441", "3441/37=93" ]
Current State: 93:[81, 37, 80, 42], Operations: [] Exploring Operation: 80*42=3360, Resulting Numbers: [81, 37, 3360] Generated Node #2: [81, 37, 3360] from Operation: 80*42=3360 Current State: 93:[81, 37, 3360], Operations: ['80*42=3360'] Exploring Operation: 81+3360=3441, Resulting Numbers: [37, 3441] Generated Node #3: [37, 3441] from Operation: 81+3360=3441 Current State: 93:[37, 3441], Operations: ['80*42=3360', '81+3360=3441'] Exploring Operation: 3441/37=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[81, 37, 80, 42], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [37, 42, 1] Generated Node #0,0: 93:[37, 42, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 93:[37, 42, 1], Operations: ['81-80=1'] Exploring Operation: 42-37=5, Resulting Numbers: [1, 5] Generated Node #0,0,0: 93:[1, 5] Operation: 42-37=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[1, 5], Operations: ['81-80=1', '42-37=5'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,93 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, 75, 40, 74 ]
59
[ "75-20=55", "40+74=114", "114-55=59" ]
Current State: 59:[20, 75, 40, 74], Operations: [] Exploring Operation: 75-20=55, Resulting Numbers: [40, 74, 55] Generated Node #2: [40, 74, 55] from Operation: 75-20=55 Current State: 59:[40, 74, 55], Operations: ['75-20=55'] Exploring Operation: 40+74=114, Resulting Numbers: [55, 114] Generated Node #3: [55, 114] from Operation: 40+74=114 Current State: 59:[55, 114], Operations: ['75-20=55', '40+74=114'] Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[20, 75, 40, 74], Operations: [] Exploring Operation: 20+75=95, Resulting Numbers: [40, 74, 95] Generated Node #0,0: 59:[40, 74, 95] Operation: 20+75=95 Exploring Operation: 20+40=60, Resulting Numbers: [75, 74, 60] Generated Node #0,1: 59:[75, 74, 60] Operation: 20+40=60 Exploring Operation: 74-20=54, Resulting Numbers: [75, 40, 54] Generated Node #0,2: 59:[75, 40, 54] Operation: 74-20=54 Exploring Operation: 75-20=55, Resulting Numbers: [40, 74, 55] Generated Node #0,3: 59:[40, 74, 55] Operation: 75-20=55 Moving to Node #0,1 Current State: 59:[75, 74, 60], Operations: ['20+40=60'] Exploring Operation: 75+74=149, Resulting Numbers: [60, 149] Generated Node #0,1,0: 59:[60, 149] Operation: 75+74=149 Exploring Operation: 74-60=14, Resulting Numbers: [75, 14] Generated Node #0,1,1: 59:[75, 14] Operation: 74-60=14 Exploring Operation: 75-60=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 59:[74, 15] Operation: 75-60=15 Exploring Operation: 75-74=1, Resulting Numbers: [60, 1] Generated Node #0,1,3: 59:[60, 1] Operation: 75-74=1 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[74, 15], Operations: ['20+40=60', '75-60=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[20, 75, 40, 74], Operations: [] Exploring Operation: 20+40=60, Resulting Numbers: [75, 74, 60] Generated Node #0,1: 59:[75, 74, 60] Operation: 20+40=60 Moving to Node #0,1 Current State: 59:[75, 74, 60], Operations: ['20+40=60'] Exploring Operation: 75-60=15, Resulting Numbers: [74, 15] Generated Node #0,1,2: 59:[74, 15] Operation: 75-60=15 Moving to Node #0,1,2 Current State: 59:[74, 15], Operations: ['20+40=60', '75-60=15'] Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 10, 23, 62, 65 ]
16
[ "23-10=13", "65-62=3", "13+3=16" ]
Current State: 16:[10, 23, 62, 65], Operations: [] Exploring Operation: 23-10=13, Resulting Numbers: [62, 65, 13] Generated Node #2: [62, 65, 13] from Operation: 23-10=13 Current State: 16:[62, 65, 13], Operations: ['23-10=13'] Exploring Operation: 65-62=3, Resulting Numbers: [13, 3] Generated Node #3: [13, 3] from Operation: 65-62=3 Current State: 16:[13, 3], Operations: ['23-10=13', '65-62=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[10, 23, 62, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [10, 23, 3] Generated Node #0,0: 16:[10, 23, 3] Operation: 65-62=3 Moving to Node #0,0 Current State: 16:[10, 23, 3], Operations: ['65-62=3'] Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 16:[3, 13] Operation: 23-10=13 Moving to Node #0,0,0 Current State: 16:[3, 13], Operations: ['65-62=3', '23-10=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[10, 23, 62, 65], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [10, 23, 3] Generated Node #0,0: 16:[10, 23, 3] Operation: 65-62=3 Moving to Node #0,0 Current State: 16:[10, 23, 3], Operations: ['65-62=3'] Exploring Operation: 23-10=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 16:[3, 13] Operation: 23-10=13 Moving to Node #0,0,0 Current State: 16:[3, 13], Operations: ['65-62=3', '23-10=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 22, 28, 56, 64 ]
58
[ "22+28=50", "64-56=8", "50+8=58" ]
Current State: 58:[22, 28, 56, 64], Operations: [] Exploring Operation: 22+28=50, Resulting Numbers: [56, 64, 50] Generated Node #2: [56, 64, 50] from Operation: 22+28=50 Current State: 58:[56, 64, 50], Operations: ['22+28=50'] Exploring Operation: 64-56=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 64-56=8 Current State: 58:[50, 8], Operations: ['22+28=50', '64-56=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[22, 28, 56, 64], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [56, 64, 6] Generated Node #0,0: 58:[56, 64, 6] Operation: 28-22=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[56, 64, 6], Operations: ['28-22=6'] Exploring Operation: 64-6=58, Resulting Numbers: [56, 58] Generated Node #0,0,0: 58:[56, 58] Operation: 64-6=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[56, 58], Operations: ['28-22=6', '64-6=58'] Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,58 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
[ 62, 53, 32, 96 ]
73
[ "62-53=9", "96-32=64", "9+64=73" ]
Current State: 73:[62, 53, 32, 96], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [32, 96, 9] Generated Node #2: [32, 96, 9] from Operation: 62-53=9 Current State: 73:[32, 96, 9], Operations: ['62-53=9'] Exploring Operation: 96-32=64, Resulting Numbers: [9, 64] Generated Node #3: [9, 64] from Operation: 96-32=64 Current State: 73:[9, 64], Operations: ['62-53=9', '96-32=64'] Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[62, 53, 32, 96], Operations: [] Exploring Operation: 53+32=85, Resulting Numbers: [62, 96, 85] Generated Node #0,0: 73:[62, 96, 85] Operation: 53+32=85 Exploring Operation: 96-32=64, Resulting Numbers: [62, 53, 64] Generated Node #0,1: 73:[62, 53, 64] Operation: 96-32=64 Moving to Node #0,1 Current State: 73:[62, 53, 64], Operations: ['96-32=64'] Exploring Operation: 62+53=115, Resulting Numbers: [64, 115] Generated Node #0,1,0: 73:[64, 115] Operation: 62+53=115 Exploring Operation: 53+64=117, Resulting Numbers: [62, 117] Generated Node #0,1,1: 73:[62, 117] Operation: 53+64=117 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[64, 115], Operations: ['96-32=64', '62+53=115'] Exploring Operation: 115-64=51, Resulting Numbers: [51] 51,73 unequal: No Solution Exploring Operation: 64+115=179, Resulting Numbers: [179] 179,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[62, 117], Operations: ['96-32=64', '53+64=117'] Exploring Operation: 62+117=179, Resulting Numbers: [179] 179,73 unequal: No Solution Exploring Operation: 117-62=55, Resulting Numbers: [55] 55,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 73:[62, 96, 85], Operations: ['53+32=85'] Exploring Operation: 96-62=34, Resulting Numbers: [85, 34] Generated Node #0,0,0: 73:[85, 34] Operation: 96-62=34 Exploring Operation: 85-62=23, Resulting Numbers: [96, 23] Generated Node #0,0,1: 73:[96, 23] Operation: 85-62=23 Moving to Node #0,0,0 Current State: 73:[85, 34], Operations: ['53+32=85', '96-62=34'] Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[96, 23], Operations: ['53+32=85', '85-62=23'] Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[62, 53, 32, 96], Operations: [] Exploring Operation: 53+32=85, Resulting Numbers: [62, 96, 85] Generated Node #0,0: 73:[62, 96, 85] Operation: 53+32=85 Moving to Node #0,0 Current State: 73:[62, 96, 85], Operations: ['53+32=85'] Exploring Operation: 85-62=23, Resulting Numbers: [96, 23] Generated Node #0,0,1: 73:[96, 23] Operation: 85-62=23 Moving to Node #0,0,1 Current State: 73:[96, 23], Operations: ['53+32=85', '85-62=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 17, 36, 40, 4 ]
63
[ "17+36=53", "40/4=10", "53+10=63" ]
Current State: 63:[17, 36, 40, 4], Operations: [] Exploring Operation: 17+36=53, Resulting Numbers: [40, 4, 53] Generated Node #2: [40, 4, 53] from Operation: 17+36=53 Current State: 63:[40, 4, 53], Operations: ['17+36=53'] Exploring Operation: 40/4=10, Resulting Numbers: [53, 10] Generated Node #3: [53, 10] from Operation: 40/4=10 Current State: 63:[53, 10], Operations: ['17+36=53', '40/4=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[17, 36, 40, 4], Operations: [] Exploring Operation: 40-36=4, Resulting Numbers: [17, 4, 4] Generated Node #0,0: 63:[17, 4, 4] Operation: 40-36=4 Moving to Node #0,0 Current State: 63:[17, 4, 4], Operations: ['40-36=4'] Exploring Operation: 17+4=21, Resulting Numbers: [4, 21] Generated Node #0,0,0: 63:[4, 21] Operation: 17+4=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[4, 21], Operations: ['40-36=4', '17+4=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,63 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
[ 68, 58, 84, 39 ]
35
[ "68-58=10", "84-39=45", "45-10=35" ]
Current State: 35:[68, 58, 84, 39], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [84, 39, 10] Generated Node #2: [84, 39, 10] from Operation: 68-58=10 Current State: 35:[84, 39, 10], Operations: ['68-58=10'] Exploring Operation: 84-39=45, Resulting Numbers: [10, 45] Generated Node #3: [10, 45] from Operation: 84-39=45 Current State: 35:[10, 45], Operations: ['68-58=10', '84-39=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[68, 58, 84, 39], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [58, 39, 16] Generated Node #0,0: 35:[58, 39, 16] Operation: 84-68=16 Exploring Operation: 84-58=26, Resulting Numbers: [68, 39, 26] Generated Node #0,1: 35:[68, 39, 26] Operation: 84-58=26 Moving to Node #0,0 Current State: 35:[58, 39, 16], Operations: ['84-68=16'] Exploring Operation: 58-16=42, Resulting Numbers: [39, 42] Generated Node #0,0,0: 35:[39, 42] Operation: 58-16=42 Exploring Operation: 58-39=19, Resulting Numbers: [16, 19] Generated Node #0,0,1: 35:[16, 19] Operation: 58-39=19 Moving to Node #0,1 Current State: 35:[68, 39, 26], Operations: ['84-58=26'] Exploring Operation: 68-39=29, Resulting Numbers: [26, 29] Generated Node #0,1,0: 35:[26, 29] Operation: 68-39=29 Exploring Operation: 68-26=42, Resulting Numbers: [39, 42] Generated Node #0,1,1: 35:[39, 42] Operation: 68-26=42 Moving to Node #0,0,0 Current State: 35:[39, 42], Operations: ['84-68=16', '58-16=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[39, 42], Operations: ['84-58=26', '68-26=42'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[26, 29], Operations: ['84-58=26', '68-39=29'] Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[16, 19], Operations: ['84-68=16', '58-39=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[68, 58, 84, 39], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [58, 39, 16] Generated Node #0,0: 35:[58, 39, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 35:[58, 39, 16], Operations: ['84-68=16'] Exploring Operation: 58-39=19, Resulting Numbers: [16, 19] Generated Node #0,0,1: 35:[16, 19] Operation: 58-39=19 Moving to Node #0,0,1 Current State: 35:[16, 19], Operations: ['84-68=16', '58-39=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 16, 35, 32, 27 ]
23
[ "32-27=5", "35/5=7", "16+7=23" ]
Current State: 23:[16, 35, 32, 27], Operations: [] Exploring Operation: 32-27=5, Resulting Numbers: [16, 35, 5] Generated Node #2: [16, 35, 5] from Operation: 32-27=5 Current State: 23:[16, 35, 5], Operations: ['32-27=5'] Exploring Operation: 35/5=7, Resulting Numbers: [16, 7] Generated Node #3: [16, 7] from Operation: 35/5=7 Current State: 23:[16, 7], Operations: ['32-27=5', '35/5=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[16, 35, 32, 27], Operations: [] Exploring Operation: 32-16=16, Resulting Numbers: [35, 27, 16] Generated Node #0,0: 23:[35, 27, 16] Operation: 32-16=16 Exploring Operation: 35-16=19, Resulting Numbers: [32, 27, 19] Generated Node #0,1: 23:[32, 27, 19] Operation: 35-16=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[32, 27, 19], Operations: ['35-16=19'] Exploring Operation: 32-27=5, Resulting Numbers: [19, 5] Generated Node #0,1,0: 23:[19, 5] Operation: 32-27=5 Exploring Operation: 32-19=13, Resulting Numbers: [27, 13] Generated Node #0,1,1: 23:[27, 13] Operation: 32-19=13 Moving to Node #0,1,1 Current State: 23:[27, 13], Operations: ['35-16=19', '32-19=13'] Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[19, 5], Operations: ['35-16=19', '32-27=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,23 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[35, 27, 16], Operations: ['32-16=16'] Exploring Operation: 35-16=19, Resulting Numbers: [27, 19] Generated Node #0,0,0: 23:[27, 19] Operation: 35-16=19 Exploring Operation: 35-27=8, Resulting Numbers: [16, 8] Generated Node #0,0,1: 23:[16, 8] Operation: 35-27=8 Moving to Node #0,0,0 Current State: 23:[27, 19], Operations: ['32-16=16', '35-16=19'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[16, 8], Operations: ['32-16=16', '35-27=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 36, 69, 66, 99 ]
69
[ "69-36=33", "99/33=3", "66+3=69" ]
Current State: 69:[36, 69, 66, 99], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [66, 99, 33] Generated Node #2: [66, 99, 33] from Operation: 69-36=33 Current State: 69:[66, 99, 33], Operations: ['69-36=33'] Exploring Operation: 99/33=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 99/33=3 Current State: 69:[66, 3], Operations: ['69-36=33', '99/33=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[36, 69, 66, 99], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [36, 66, 30] Generated Node #0,0: 69:[36, 66, 30] Operation: 99-69=30 Exploring Operation: 99-66=33, Resulting Numbers: [36, 69, 33] Generated Node #0,1: 69:[36, 69, 33] Operation: 99-66=33 Exploring Operation: 66-36=30, Resulting Numbers: [69, 99, 30] Generated Node #0,2: 69:[69, 99, 30] Operation: 66-36=30 Exploring Operation: 99-36=63, Resulting Numbers: [69, 66, 63] Generated Node #0,3: 69:[69, 66, 63] Operation: 99-36=63 Moving to Node #0,3 Current State: 69:[69, 66, 63], Operations: ['99-36=63'] Exploring Operation: 66+63=129, Resulting Numbers: [69, 129] Generated Node #0,3,0: 69:[69, 129] Operation: 66+63=129 Exploring Operation: 69-66=3, Resulting Numbers: [63, 3] Generated Node #0,3,1: 69:[63, 3] Operation: 69-66=3 Exploring Operation: 66-63=3, Resulting Numbers: [69, 3] Generated Node #0,3,2: 69:[69, 3] Operation: 66-63=3 Exploring Operation: 69-63=6, Resulting Numbers: [66, 6] Generated Node #0,3,3: 69:[66, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[69, 3], Operations: ['99-36=63', '66-63=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,69 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,69 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[63, 3], Operations: ['99-36=63', '69-66=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,69 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[66, 6], Operations: ['99-36=63', '69-63=6'] Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,69 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[69, 129], Operations: ['99-36=63', '66+63=129'] Exploring Operation: 69+129=198, Resulting Numbers: [198] 198,69 unequal: No Solution Exploring Operation: 69*129=8901, Resulting Numbers: [8901] 8901,69 unequal: No Solution Exploring Operation: 129-69=60, Resulting Numbers: [60] 60,69 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: 69:[36, 69, 33], Operations: ['99-66=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69, 69] Generated Node #0,1,0: 69:[69, 69] Operation: 36+33=69 Exploring Operation: 36-33=3, Resulting Numbers: [69, 3] Generated Node #0,1,1: 69:[69, 3] Operation: 36-33=3 Exploring Operation: 69-33=36, Resulting Numbers: [36, 36] Generated Node #0,1,2: 69:[36, 36] Operation: 69-33=36 Exploring Operation: 69-36=33, Resulting Numbers: [33, 33] Generated Node #0,1,3: 69:[33, 33] Operation: 69-36=33 Moving to Node #0,0 Current State: 69:[36, 66, 30], Operations: ['99-69=30'] Exploring Operation: 36-30=6, Resulting Numbers: [66, 6] Generated Node #0,0,0: 69:[66, 6] Operation: 36-30=6 Exploring Operation: 66-36=30, Resulting Numbers: [30, 30] Generated Node #0,0,1: 69:[30, 30] Operation: 66-36=30 Exploring Operation: 66-30=36, Resulting Numbers: [36, 36] Generated Node #0,0,2: 69:[36, 36] Operation: 66-30=36 Exploring Operation: 36+30=66, Resulting Numbers: [66, 66] Generated Node #0,0,3: 69:[66, 66] Operation: 36+30=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[66, 6], Operations: ['99-69=30', '36-30=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,69 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[66, 66], Operations: ['99-69=30', '36+30=66'] Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,69 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 66*66=4356, Resulting Numbers: [4356] 4356,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[30, 30], Operations: ['99-69=30', '66-36=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,69 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[36, 36], Operations: ['99-69=30', '66-30=36'] Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,69 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 69:[69, 99, 30], Operations: ['66-36=30'] Exploring Operation: 69-30=39, Resulting Numbers: [99, 39] Generated Node #0,2,0: 69:[99, 39] Operation: 69-30=39 Exploring Operation: 99-30=69, Resulting Numbers: [69, 69] Generated Node #0,2,1: 69:[69, 69] Operation: 99-30=69 Exploring Operation: 69+30=99, Resulting Numbers: [99, 99] Generated Node #0,2,2: 69:[99, 99] Operation: 69+30=99 Exploring Operation: 99-69=30, Resulting Numbers: [30, 30] Generated Node #0,2,3: 69:[30, 30] Operation: 99-69=30 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[69, 69], Operations: ['66-36=30', '99-30=69'] Exploring Operation: 69+69=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 69-69=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 69/69=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 69*69=4761, Resulting Numbers: [4761] 4761,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 69:[30, 30], Operations: ['66-36=30', '99-69=30'] Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,69 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[99, 39], Operations: ['66-36=30', '69-30=39'] Exploring Operation: 99*39=3861, Resulting Numbers: [3861] 3861,69 unequal: No Solution Exploring Operation: 99-39=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 99+39=138, Resulting Numbers: [138] 138,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[99, 99], Operations: ['66-36=30', '69+30=99'] Exploring Operation: 99-99=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 99/99=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 99+99=198, Resulting Numbers: [198] 198,69 unequal: No Solution Exploring Operation: 99*99=9801, Resulting Numbers: [9801] 9801,69 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: 69:[69, 69], Operations: ['99-66=33', '36+33=69'] Exploring Operation: 69-69=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 69/69=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 69+69=138, Resulting Numbers: [138] 138,69 unequal: No Solution Exploring Operation: 69*69=4761, Resulting Numbers: [4761] 4761,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[69, 3], Operations: ['99-66=33', '36-33=3'] Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,69 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,69 unequal: No Solution Moving to Node #0,1,3 Current State: 69:[33, 33], Operations: ['99-66=33', '69-36=33'] Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,69 unequal: No Solution Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,69 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[36, 36], Operations: ['99-66=33', '69-33=36'] Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,69 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 72, 2, 33, 28 ]
90
[ "2+33=35", "72*35=2520", "2520/28=90" ]
Current State: 90:[72, 2, 33, 28], Operations: [] Exploring Operation: 2+33=35, Resulting Numbers: [72, 28, 35] Generated Node #2: [72, 28, 35] from Operation: 2+33=35 Current State: 90:[72, 28, 35], Operations: ['2+33=35'] Exploring Operation: 72*35=2520, Resulting Numbers: [28, 2520] Generated Node #3: [28, 2520] from Operation: 72*35=2520 Current State: 90:[28, 2520], Operations: ['2+33=35', '72*35=2520'] Exploring Operation: 2520/28=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[72, 2, 33, 28], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [33, 28, 36] Generated Node #0,0: 90:[33, 28, 36] Operation: 72/2=36 Exploring Operation: 72-28=44, Resulting Numbers: [2, 33, 44] Generated Node #0,1: 90:[2, 33, 44] Operation: 72-28=44 Exploring Operation: 72+28=100, Resulting Numbers: [2, 33, 100] Generated Node #0,2: 90:[2, 33, 100] Operation: 72+28=100 Exploring Operation: 72+33=105, Resulting Numbers: [2, 28, 105] Generated Node #0,3: 90:[2, 28, 105] Operation: 72+33=105 Exploring Operation: 72-33=39, Resulting Numbers: [2, 28, 39] Generated Node #0,4: 90:[2, 28, 39] Operation: 72-33=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[2, 33, 44], Operations: ['72-28=44'] Exploring Operation: 2+33=35, Resulting Numbers: [44, 35] Generated Node #0,1,0: 90:[44, 35] Operation: 2+33=35 Exploring Operation: 2+44=46, Resulting Numbers: [33, 46] Generated Node #0,1,1: 90:[33, 46] Operation: 2+44=46 Exploring Operation: 44-33=11, Resulting Numbers: [2, 11] Generated Node #0,1,2: 90:[2, 11] Operation: 44-33=11 Exploring Operation: 33-2=31, Resulting Numbers: [44, 31] Generated Node #0,1,3: 90:[44, 31] Operation: 33-2=31 Exploring Operation: 2*44=88, Resulting Numbers: [33, 88] Generated Node #0,1,4: 90:[33, 88] Operation: 2*44=88 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 90:[2, 11], Operations: ['72-28=44', '44-33=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,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,3 Current State: 90:[44, 31], Operations: ['72-28=44', '33-2=31'] Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,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:[33, 46], Operations: ['72-28=44', '2+44=46'] Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,90 unequal: No Solution Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,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,4 Current State: 90:[33, 88], Operations: ['72-28=44', '2*44=88'] Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 33+88=121, Resulting Numbers: [121] 121,90 unequal: No Solution Exploring Operation: 33*88=2904, Resulting Numbers: [2904] 2904,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:[44, 35], Operations: ['72-28=44', '2+33=35'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 44+35=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 44*35=1540, Resulting Numbers: [1540] 1540,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,4 Current State: 90:[2, 28, 39], Operations: ['72-33=39'] Exploring Operation: 39-2=37, Resulting Numbers: [28, 37] Generated Node #0,4,0: 90:[28, 37] Operation: 39-2=37 Exploring Operation: 2+39=41, Resulting Numbers: [28, 41] Generated Node #0,4,1: 90:[28, 41] Operation: 2+39=41 Exploring Operation: 39-28=11, Resulting Numbers: [2, 11] Generated Node #0,4,2: 90:[2, 11] Operation: 39-28=11 Exploring Operation: 28/2=14, Resulting Numbers: [39, 14] Generated Node #0,4,3: 90:[39, 14] Operation: 28/2=14 Exploring Operation: 2+28=30, Resulting Numbers: [39, 30] Generated Node #0,4,4: 90:[39, 30] Operation: 2+28=30 Moving to Node #0,4,2 Current State: 90:[2, 11], Operations: ['72-33=39', '39-28=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[39, 30], Operations: ['72-33=39', '2+28=30'] Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,90 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[28, 41], Operations: ['72-33=39', '2+39=41'] Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[39, 14], Operations: ['72-33=39', '28/2=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,90 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[28, 37], Operations: ['72-33=39', '39-2=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,90 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,90 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[33, 28, 36], Operations: ['72/2=36'] Exploring Operation: 33+28=61, Resulting Numbers: [36, 61] Generated Node #0,0,0: 90:[36, 61] Operation: 33+28=61 Exploring Operation: 36-33=3, Resulting Numbers: [28, 3] Generated Node #0,0,1: 90:[28, 3] Operation: 36-33=3 Exploring Operation: 36-28=8, Resulting Numbers: [33, 8] Generated Node #0,0,2: 90:[33, 8] Operation: 36-28=8 Exploring Operation: 28+36=64, Resulting Numbers: [33, 64] Generated Node #0,0,3: 90:[33, 64] Operation: 28+36=64 Exploring Operation: 33-28=5, Resulting Numbers: [36, 5] Generated Node #0,0,4: 90:[36, 5] Operation: 33-28=5 Moving to Node #0,0,1 Current State: 90:[28, 3], Operations: ['72/2=36', '36-33=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[33, 8], Operations: ['72/2=36', '36-28=8'] Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,90 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[36, 5], Operations: ['72/2=36', '33-28=5'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 36+5=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 36*5=180, Resulting Numbers: [180] 180,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[36, 61], Operations: ['72/2=36', '33+28=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,90 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,90 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[33, 64], Operations: ['72/2=36', '28+36=64'] Exploring Operation: 33+64=97, Resulting Numbers: [97] 97,90 unequal: No Solution Exploring Operation: 33*64=2112, Resulting Numbers: [2112] 2112,90 unequal: No Solution Exploring Operation: 64-33=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[2, 33, 100], Operations: ['72+28=100'] Exploring Operation: 100-2=98, Resulting Numbers: [33, 98] Generated Node #0,2,0: 90:[33, 98] Operation: 100-2=98 Exploring Operation: 2+33=35, Resulting Numbers: [100, 35] Generated Node #0,2,1: 90:[100, 35] Operation: 2+33=35 Exploring Operation: 33-2=31, Resulting Numbers: [100, 31] Generated Node #0,2,2: 90:[100, 31] Operation: 33-2=31 Exploring Operation: 100/2=50, Resulting Numbers: [33, 50] Generated Node #0,2,3: 90:[33, 50] Operation: 100/2=50 Exploring Operation: 2+100=102, Resulting Numbers: [33, 102] Generated Node #0,2,4: 90:[33, 102] Operation: 2+100=102 Moving to Node #0,2,3 Current State: 90:[33, 50], Operations: ['72+28=100', '100/2=50'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 33*50=1650, Resulting Numbers: [1650] 1650,90 unequal: No Solution Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[100, 31], Operations: ['72+28=100', '33-2=31'] Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 100*31=3100, Resulting Numbers: [3100] 3100,90 unequal: No Solution Exploring Operation: 100+31=131, Resulting Numbers: [131] 131,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[33, 98], Operations: ['72+28=100', '100-2=98'] Exploring Operation: 33+98=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 98-33=65, Resulting Numbers: [65] 65,90 unequal: No Solution Exploring Operation: 33*98=3234, Resulting Numbers: [3234] 3234,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[100, 35], Operations: ['72+28=100', '2+33=35'] Exploring Operation: 100+35=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,90 unequal: No Solution Exploring Operation: 100*35=3500, Resulting Numbers: [3500] 3500,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[33, 102], Operations: ['72+28=100', '2+100=102'] Exploring Operation: 33*102=3366, Resulting Numbers: [3366] 3366,90 unequal: No Solution Exploring Operation: 33+102=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 102-33=69, Resulting Numbers: [69] 69,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,3 Current State: 90:[2, 28, 105], Operations: ['72+33=105'] Exploring Operation: 2+28=30, Resulting Numbers: [105, 30] Generated Node #0,3,0: 90:[105, 30] Operation: 2+28=30 Exploring Operation: 105-28=77, Resulting Numbers: [2, 77] Generated Node #0,3,1: 90:[2, 77] Operation: 105-28=77 Exploring Operation: 105-2=103, Resulting Numbers: [28, 103] Generated Node #0,3,2: 90:[28, 103] Operation: 105-2=103 Exploring Operation: 28/2=14, Resulting Numbers: [105, 14] Generated Node #0,3,3: 90:[105, 14] Operation: 28/2=14 Exploring Operation: 28-2=26, Resulting Numbers: [105, 26] Generated Node #0,3,4: 90:[105, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 90:[2, 77], Operations: ['72+33=105', '105-28=77'] Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,90 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,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,3,0 Current State: 90:[105, 30], Operations: ['72+33=105', '2+28=30'] Exploring Operation: 105+30=135, Resulting Numbers: [135] 135,90 unequal: No Solution Exploring Operation: 105-30=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 105*30=3150, Resulting Numbers: [3150] 3150,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,3,2 Current State: 90:[28, 103], Operations: ['72+33=105', '105-2=103'] Exploring Operation: 28*103=2884, Resulting Numbers: [2884] 2884,90 unequal: No Solution Exploring Operation: 103-28=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 28+103=131, Resulting Numbers: [131] 131,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,3,3 Current State: 90:[105, 14], Operations: ['72+33=105', '28/2=14'] Exploring Operation: 105*14=1470, Resulting Numbers: [1470] 1470,90 unequal: No Solution Exploring Operation: 105-14=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 105+14=119, Resulting Numbers: [119] 119,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,3,4 Current State: 90:[105, 26], Operations: ['72+33=105', '28-2=26'] Exploring Operation: 105-26=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 105+26=131, Resulting Numbers: [131] 131,90 unequal: No Solution Exploring Operation: 105*26=2730, Resulting Numbers: [2730] 2730,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_5
sum_heuristic
[ 8, 43, 15, 8 ]
43
[ "15-8=7", "8-7=1", "43*1=43" ]
Current State: 43:[8, 43, 15, 8], Operations: [] Exploring Operation: 15-8=7, Resulting Numbers: [43, 7] Generated Node #2: [43, 7] from Operation: 15-8=7 Current State: 43:[43, 7], Operations: ['15-8=7'] Exploring Operation: 8-7=1, Resulting Numbers: [43, 1] Generated Node #3: [43, 1] from Operation: 8-7=1 Current State: 43:[43, 1], Operations: ['15-8=7', '8-7=1'] Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[8, 43, 15, 8], Operations: [] Exploring Operation: 8*8=64, Resulting Numbers: [43, 15, 64] Generated Node #0,0: 43:[43, 15, 64] Operation: 8*8=64 Exploring Operation: 8+8=16, Resulting Numbers: [43, 15, 16] Generated Node #0,1: 43:[43, 15, 16] Operation: 8+8=16 Exploring Operation: 15+8=23, Resulting Numbers: [8, 43, 23] Generated Node #0,2: 43:[8, 43, 23] Operation: 15+8=23 Exploring Operation: 8+15=23, Resulting Numbers: [43, 8, 23] Generated Node #0,3: 43:[43, 8, 23] Operation: 8+15=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[43, 15, 64], Operations: ['8*8=64'] Exploring Operation: 64-15=49, Resulting Numbers: [43, 49] Generated Node #0,0,0: 43:[43, 49] Operation: 64-15=49 Exploring Operation: 15+64=79, Resulting Numbers: [43, 79] Generated Node #0,0,1: 43:[43, 79] Operation: 15+64=79 Exploring Operation: 43-15=28, Resulting Numbers: [64, 28] Generated Node #0,0,2: 43:[64, 28] Operation: 43-15=28 Exploring Operation: 43+15=58, Resulting Numbers: [64, 58] Generated Node #0,0,3: 43:[64, 58] Operation: 43+15=58 Moving to Node #0,0,0 Current State: 43:[43, 49], Operations: ['8*8=64', '64-15=49'] Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,43 unequal: No Solution Moving to Node #0,0,2 Current State: 43:[64, 28], Operations: ['8*8=64', '43-15=28'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 64*28=1792, Resulting Numbers: [1792] 1792,43 unequal: No Solution Exploring Operation: 64+28=92, Resulting Numbers: [92] 92,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[43, 79], Operations: ['8*8=64', '15+64=79'] Exploring Operation: 43*79=3397, Resulting Numbers: [3397] 3397,43 unequal: No Solution Exploring Operation: 79-43=36, Resulting Numbers: [36] 36,43 unequal: No Solution Exploring Operation: 43+79=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[64, 58], Operations: ['8*8=64', '43+15=58'] Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,43 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[43, 15, 16], Operations: ['8+8=16'] Exploring Operation: 15+16=31, Resulting Numbers: [43, 31] Generated Node #0,1,0: 43:[43, 31] Operation: 15+16=31 Exploring Operation: 16-15=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 43:[43, 1] Operation: 16-15=1 Exploring Operation: 43+15=58, Resulting Numbers: [16, 58] Generated Node #0,1,2: 43:[16, 58] Operation: 43+15=58 Exploring Operation: 43-15=28, Resulting Numbers: [16, 28] Generated Node #0,1,3: 43:[16, 28] Operation: 43-15=28 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 43:[43, 31], Operations: ['8+8=16', '15+16=31'] Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,43 unequal: No Solution Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,43 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,43 unequal: No Solution No 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: 43:[43, 1], Operations: ['8+8=16', '16-15=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[8, 43, 15, 8], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [43, 15, 16] Generated Node #0,1: 43:[43, 15, 16] Operation: 8+8=16 Moving to Node #0,1 Current State: 43:[43, 15, 16], Operations: ['8+8=16'] Exploring Operation: 16-15=1, Resulting Numbers: [43, 1] Generated Node #0,1,1: 43:[43, 1] Operation: 16-15=1 Moving to Node #0,1,1 Current State: 43:[43, 1], Operations: ['8+8=16', '16-15=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 92, 19, 78, 2 ]
83
[ "92-19=73", "78*2=156", "156-73=83" ]
Current State: 83:[92, 19, 78, 2], Operations: [] Exploring Operation: 92-19=73, Resulting Numbers: [78, 2, 73] Generated Node #2: [78, 2, 73] from Operation: 92-19=73 Current State: 83:[78, 2, 73], Operations: ['92-19=73'] Exploring Operation: 78*2=156, Resulting Numbers: [73, 156] Generated Node #3: [73, 156] from Operation: 78*2=156 Current State: 83:[73, 156], Operations: ['92-19=73', '78*2=156'] Exploring Operation: 156-73=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[92, 19, 78, 2], Operations: [] Exploring Operation: 19*2=38, Resulting Numbers: [92, 78, 38] Generated Node #0,0: 83:[92, 78, 38] Operation: 19*2=38 Moving to Node #0,0 Current State: 83:[92, 78, 38], Operations: ['19*2=38'] Exploring Operation: 92-38=54, Resulting Numbers: [78, 54] Generated Node #0,0,0: 83:[78, 54] Operation: 92-38=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[78, 54], Operations: ['19*2=38', '92-38=54'] Exploring Operation: 78+54=132, Resulting Numbers: [132] 132,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic