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
[ 42, 18, 21, 28 ]
73
[ "42-18=24", "21+28=49", "24+49=73" ]
Current State: 73:[42, 18, 21, 28], Operations: [] Exploring Operation: 42-18=24, Resulting Numbers: [21, 28, 24] Generated Node #2: [21, 28, 24] from Operation: 42-18=24 Current State: 73:[21, 28, 24], Operations: ['42-18=24'] Exploring Operation: 21+28=49, Resulting Numbers: [24, 49] Generated Node #3: [24, 49] from Operation: 21+28=49 Current State: 73:[24, 49], Operations: ['42-18=24', '21+28=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[42, 18, 21, 28], Operations: [] Exploring Operation: 42+18=60, Resulting Numbers: [21, 28, 60] Generated Node #0,0: 73:[21, 28, 60] Operation: 42+18=60 Exploring Operation: 42+28=70, Resulting Numbers: [18, 21, 70] Generated Node #0,1: 73:[18, 21, 70] Operation: 42+28=70 Exploring Operation: 42+21=63, Resulting Numbers: [18, 28, 63] Generated Node #0,2: 73:[18, 28, 63] Operation: 42+21=63 Exploring Operation: 18+21=39, Resulting Numbers: [42, 28, 39] Generated Node #0,3: 73:[42, 28, 39] Operation: 18+21=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[21, 28, 60], Operations: ['42+18=60'] Exploring Operation: 21+60=81, Resulting Numbers: [28, 81] Generated Node #0,0,0: 73:[28, 81] Operation: 21+60=81 Exploring Operation: 28+60=88, Resulting Numbers: [21, 88] Generated Node #0,0,1: 73:[21, 88] Operation: 28+60=88 Exploring Operation: 21+28=49, Resulting Numbers: [60, 49] Generated Node #0,0,2: 73:[60, 49] Operation: 21+28=49 Exploring Operation: 28-21=7, Resulting Numbers: [60, 7] Generated Node #0,0,3: 73:[60, 7] Operation: 28-21=7 Moving to Node #0,0,2 Current State: 73:[60, 49], Operations: ['42+18=60', '21+28=49'] Exploring Operation: 60+49=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 60*49=2940, Resulting Numbers: [2940] 2940,73 unequal: No Solution Exploring Operation: 60-49=11, Resulting Numbers: [11] 11,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[28, 81], Operations: ['42+18=60', '21+60=81'] Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,73 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[21, 88], Operations: ['42+18=60', '28+60=88'] Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[60, 7], Operations: ['42+18=60', '28-21=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,73 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[18, 21, 70], Operations: ['42+28=70'] Exploring Operation: 70-18=52, Resulting Numbers: [21, 52] Generated Node #0,1,0: 73:[21, 52] Operation: 70-18=52 Exploring Operation: 21-18=3, Resulting Numbers: [70, 3] Generated Node #0,1,1: 73:[70, 3] Operation: 21-18=3 Exploring Operation: 18+70=88, Resulting Numbers: [21, 88] Generated Node #0,1,2: 73:[21, 88] Operation: 18+70=88 Exploring Operation: 18+21=39, Resulting Numbers: [70, 39] Generated Node #0,1,3: 73:[70, 39] Operation: 18+21=39 Moving to Node #0,1,3 Current State: 73:[70, 39], Operations: ['42+28=70', '18+21=39'] Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,73 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[21, 88], Operations: ['42+28=70', '18+70=88'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[70, 3], Operations: ['42+28=70', '21-18=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,73 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,73 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[42, 18, 21, 28], Operations: [] Exploring Operation: 42+28=70, Resulting Numbers: [18, 21, 70] Generated Node #0,1: 73:[18, 21, 70] Operation: 42+28=70 Moving to Node #0,1 Current State: 73:[18, 21, 70], Operations: ['42+28=70'] Exploring Operation: 21-18=3, Resulting Numbers: [70, 3] Generated Node #0,1,1: 73:[70, 3] Operation: 21-18=3 Moving to Node #0,1,1 Current State: 73:[70, 3], Operations: ['42+28=70', '21-18=3'] Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 6, 19, 94, 22 ]
96
[ "22-19=3", "6/3=2", "94+2=96" ]
Current State: 96:[6, 19, 94, 22], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [6, 94, 3] Generated Node #2: [6, 94, 3] from Operation: 22-19=3 Current State: 96:[6, 94, 3], Operations: ['22-19=3'] Exploring Operation: 6/3=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 6/3=2 Current State: 96:[94, 2], Operations: ['22-19=3', '6/3=2'] Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[6, 19, 94, 22], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [6, 94, 3] Generated Node #0,0: 96:[6, 94, 3] Operation: 22-19=3 Moving to Node #0,0 Current State: 96:[6, 94, 3], Operations: ['22-19=3'] Exploring Operation: 94+3=97, Resulting Numbers: [6, 97] Generated Node #0,0,0: 96:[6, 97] Operation: 94+3=97 Moving to Node #0,0,0 Current State: 96:[6, 97], Operations: ['22-19=3', '94+3=97'] Exploring Operation: 97-6=91, Resulting Numbers: [91] 91,96 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 53, 7, 4 ]
91
[ "66+53=119", "7*4=28", "119-28=91" ]
Current State: 91:[66, 53, 7, 4], Operations: [] Exploring Operation: 66+53=119, Resulting Numbers: [7, 4, 119] Generated Node #2: [7, 4, 119] from Operation: 66+53=119 Current State: 91:[7, 4, 119], Operations: ['66+53=119'] Exploring Operation: 7*4=28, Resulting Numbers: [119, 28] Generated Node #3: [119, 28] from Operation: 7*4=28 Current State: 91:[119, 28], Operations: ['66+53=119', '7*4=28'] Exploring Operation: 119-28=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[66, 53, 7, 4], Operations: [] Exploring Operation: 66-53=13, Resulting Numbers: [7, 4, 13] Generated Node #0,0: 91:[7, 4, 13] Operation: 66-53=13 Exploring Operation: 66+53=119, Resulting Numbers: [7, 4, 119] Generated Node #0,1: 91:[7, 4, 119] Operation: 66+53=119 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[7, 4, 13], Operations: ['66-53=13'] Exploring Operation: 7+4=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 91:[13, 11] Operation: 7+4=11 Exploring Operation: 13-4=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 91:[7, 9] Operation: 13-4=9 Moving to Node #0,0,0 Current State: 91:[13, 11], Operations: ['66-53=13', '7+4=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,91 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[7, 9], Operations: ['66-53=13', '13-4=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,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 Current State: 91:[7, 4, 119], Operations: ['66+53=119'] Exploring Operation: 119-7=112, Resulting Numbers: [4, 112] Generated Node #0,1,0: 91:[4, 112] Operation: 119-7=112 Exploring Operation: 119/7=17, Resulting Numbers: [4, 17] Generated Node #0,1,1: 91:[4, 17] Operation: 119/7=17 Moving to Node #0,1,1 Current State: 91:[4, 17], Operations: ['66+53=119', '119/7=17'] Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[4, 112], Operations: ['66+53=119', '119-7=112'] Exploring Operation: 112-4=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 112/4=28, Resulting Numbers: [28] 28,91 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
[ 38, 96, 86, 12 ]
92
[ "86-38=48", "48/12=4", "96-4=92" ]
Current State: 92:[38, 96, 86, 12], Operations: [] Exploring Operation: 86-38=48, Resulting Numbers: [96, 12, 48] Generated Node #2: [96, 12, 48] from Operation: 86-38=48 Current State: 92:[96, 12, 48], Operations: ['86-38=48'] Exploring Operation: 48/12=4, Resulting Numbers: [96, 4] Generated Node #3: [96, 4] from Operation: 48/12=4 Current State: 92:[96, 4], Operations: ['86-38=48', '48/12=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[38, 96, 86, 12], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [96, 86, 26] Generated Node #0,0: 92:[96, 86, 26] Operation: 38-12=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[96, 86, 26], Operations: ['38-12=26'] Exploring Operation: 96-86=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 92:[26, 10] Operation: 96-86=10 Moving to Node #0,0,0 Current State: 92:[26, 10], Operations: ['38-12=26', '96-86=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,92 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
[ 45, 28, 13, 62 ]
32
[ "45-28=17", "62-13=49", "49-17=32" ]
Current State: 32:[45, 28, 13, 62], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [13, 62, 17] Generated Node #2: [13, 62, 17] from Operation: 45-28=17 Current State: 32:[13, 62, 17], Operations: ['45-28=17'] Exploring Operation: 62-13=49, Resulting Numbers: [17, 49] Generated Node #3: [17, 49] from Operation: 62-13=49 Current State: 32:[17, 49], Operations: ['45-28=17', '62-13=49'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[45, 28, 13, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [28, 13, 17] Generated Node #0,0: 32:[28, 13, 17] Operation: 62-45=17 Moving to Node #0,0 Current State: 32:[28, 13, 17], Operations: ['62-45=17'] Exploring Operation: 28-13=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 32:[17, 15] Operation: 28-13=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[17, 15], Operations: ['62-45=17', '28-13=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[45, 28, 13, 62], Operations: [] Exploring Operation: 62-45=17, Resulting Numbers: [28, 13, 17] Generated Node #0,0: 32:[28, 13, 17] Operation: 62-45=17 Moving to Node #0,0 Current State: 32:[28, 13, 17], Operations: ['62-45=17'] Exploring Operation: 28-13=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 32:[17, 15] Operation: 28-13=15 Moving to Node #0,0,0 Current State: 32:[17, 15], Operations: ['62-45=17', '28-13=15'] Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 76, 69, 90, 88 ]
94
[ "88-69=19", "76/19=4", "90+4=94" ]
Current State: 94:[76, 69, 90, 88], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [76, 90, 19] Generated Node #2: [76, 90, 19] from Operation: 88-69=19 Current State: 94:[76, 90, 19], Operations: ['88-69=19'] Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #3: [90, 4] from Operation: 76/19=4 Current State: 94:[90, 4], Operations: ['88-69=19', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[76, 69, 90, 88], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [76, 90, 19] Generated Node #0,0: 94:[76, 90, 19] Operation: 88-69=19 Exploring Operation: 76-69=7, Resulting Numbers: [90, 88, 7] Generated Node #0,1: 94:[90, 88, 7] Operation: 76-69=7 Exploring Operation: 88-76=12, Resulting Numbers: [69, 90, 12] Generated Node #0,2: 94:[69, 90, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[90, 88, 7], Operations: ['76-69=7'] Exploring Operation: 90-88=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 94:[7, 2] Operation: 90-88=2 Exploring Operation: 90+7=97, Resulting Numbers: [88, 97] Generated Node #0,1,1: 94:[88, 97] Operation: 90+7=97 Exploring Operation: 88+7=95, Resulting Numbers: [90, 95] Generated Node #0,1,2: 94:[90, 95] Operation: 88+7=95 Moving to Node #0,1,0 Current State: 94:[7, 2], Operations: ['76-69=7', '90-88=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[90, 95], Operations: ['76-69=7', '88+7=95'] Exploring Operation: 90*95=8550, Resulting Numbers: [8550] 8550,94 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[88, 97], Operations: ['76-69=7', '90+7=97'] Exploring Operation: 88+97=185, Resulting Numbers: [185] 185,94 unequal: No Solution Exploring Operation: 97-88=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 88*97=8536, Resulting Numbers: [8536] 8536,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[69, 90, 12], Operations: ['88-76=12'] Exploring Operation: 69-12=57, Resulting Numbers: [90, 57] Generated Node #0,2,0: 94:[90, 57] Operation: 69-12=57 Exploring Operation: 90-69=21, Resulting Numbers: [12, 21] Generated Node #0,2,1: 94:[12, 21] Operation: 90-69=21 Exploring Operation: 69+12=81, Resulting Numbers: [90, 81] Generated Node #0,2,2: 94:[90, 81] Operation: 69+12=81 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[90, 57], Operations: ['88-76=12', '69-12=57'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 90+57=147, Resulting Numbers: [147] 147,94 unequal: No Solution Exploring Operation: 90*57=5130, Resulting Numbers: [5130] 5130,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[90, 81], Operations: ['88-76=12', '69+12=81'] Exploring Operation: 90+81=171, Resulting Numbers: [171] 171,94 unequal: No Solution Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 90*81=7290, Resulting Numbers: [7290] 7290,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[12, 21], Operations: ['88-76=12', '90-69=21'] Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,94 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,94 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[76, 90, 19], Operations: ['88-69=19'] Exploring Operation: 76-19=57, Resulting Numbers: [90, 57] Generated Node #0,0,0: 94:[90, 57] Operation: 76-19=57 Exploring Operation: 76+19=95, Resulting Numbers: [90, 95] Generated Node #0,0,1: 94:[90, 95] Operation: 76+19=95 Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #0,0,2: 94:[90, 4] Operation: 76/19=4 Moving to Node #0,0,1 Current State: 94:[90, 95], Operations: ['88-69=19', '76+19=95'] Exploring Operation: 90+95=185, Resulting Numbers: [185] 185,94 unequal: No Solution Exploring Operation: 90*95=8550, Resulting Numbers: [8550] 8550,94 unequal: No Solution Exploring Operation: 95-90=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[90, 4], Operations: ['88-69=19', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[76, 69, 90, 88], Operations: [] Exploring Operation: 88-69=19, Resulting Numbers: [76, 90, 19] Generated Node #0,0: 94:[76, 90, 19] Operation: 88-69=19 Moving to Node #0,0 Current State: 94:[76, 90, 19], Operations: ['88-69=19'] Exploring Operation: 76/19=4, Resulting Numbers: [90, 4] Generated Node #0,0,2: 94:[90, 4] Operation: 76/19=4 Moving to Node #0,0,2 Current State: 94:[90, 4], Operations: ['88-69=19', '76/19=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_3
sum_heuristic
[ 80, 14, 32, 3 ]
65
[ "80+14=94", "32-3=29", "94-29=65" ]
Current State: 65:[80, 14, 32, 3], Operations: [] Exploring Operation: 80+14=94, Resulting Numbers: [32, 3, 94] Generated Node #2: [32, 3, 94] from Operation: 80+14=94 Current State: 65:[32, 3, 94], Operations: ['80+14=94'] Exploring Operation: 32-3=29, Resulting Numbers: [94, 29] Generated Node #3: [94, 29] from Operation: 32-3=29 Current State: 65:[94, 29], Operations: ['80+14=94', '32-3=29'] Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[80, 14, 32, 3], Operations: [] Exploring Operation: 80-3=77, Resulting Numbers: [14, 32, 77] Generated Node #0,0: 65:[14, 32, 77] Operation: 80-3=77 Exploring Operation: 32-14=18, Resulting Numbers: [80, 3, 18] Generated Node #0,1: 65:[80, 3, 18] Operation: 32-14=18 Exploring Operation: 80-32=48, Resulting Numbers: [14, 3, 48] Generated Node #0,2: 65:[14, 3, 48] Operation: 80-32=48 Exploring Operation: 80-14=66, Resulting Numbers: [32, 3, 66] Generated Node #0,3: 65:[32, 3, 66] Operation: 80-14=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[14, 3, 48], Operations: ['80-32=48'] Exploring Operation: 48/3=16, Resulting Numbers: [14, 16] Generated Node #0,2,0: 65:[14, 16] Operation: 48/3=16 Exploring Operation: 14+48=62, Resulting Numbers: [3, 62] Generated Node #0,2,1: 65:[3, 62] Operation: 14+48=62 Exploring Operation: 14-3=11, Resulting Numbers: [48, 11] Generated Node #0,2,2: 65:[48, 11] Operation: 14-3=11 Exploring Operation: 3+48=51, Resulting Numbers: [14, 51] Generated Node #0,2,3: 65:[14, 51] Operation: 3+48=51 Moving to Node #0,2,0 Current State: 65:[14, 16], Operations: ['80-32=48', '48/3=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,65 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,65 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[3, 62], Operations: ['80-32=48', '14+48=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[80, 14, 32, 3], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [14, 3, 48] Generated Node #0,2: 65:[14, 3, 48] Operation: 80-32=48 Moving to Node #0,2 Current State: 65:[14, 3, 48], Operations: ['80-32=48'] Exploring Operation: 14+48=62, Resulting Numbers: [3, 62] Generated Node #0,2,1: 65:[3, 62] Operation: 14+48=62 Moving to Node #0,2,1 Current State: 65:[3, 62], Operations: ['80-32=48', '14+48=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 16, 11, 5, 63 ]
24
[ "16+63=79", "11*5=55", "79-55=24" ]
Current State: 24:[16, 11, 5, 63], Operations: [] Exploring Operation: 16+63=79, Resulting Numbers: [11, 5, 79] Generated Node #2: [11, 5, 79] from Operation: 16+63=79 Current State: 24:[11, 5, 79], Operations: ['16+63=79'] Exploring Operation: 11*5=55, Resulting Numbers: [79, 55] Generated Node #3: [79, 55] from Operation: 11*5=55 Current State: 24:[79, 55], Operations: ['16+63=79', '11*5=55'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[16, 11, 5, 63], Operations: [] Exploring Operation: 16-5=11, Resulting Numbers: [11, 63, 11] Generated Node #0,0: 24:[11, 63, 11] Operation: 16-5=11 Exploring Operation: 63-5=58, Resulting Numbers: [16, 11, 58] Generated Node #0,1: 24:[16, 11, 58] Operation: 63-5=58 Exploring Operation: 63-16=47, Resulting Numbers: [11, 5, 47] Generated Node #0,2: 24:[11, 5, 47] Operation: 63-16=47 Exploring Operation: 16-11=5, Resulting Numbers: [5, 63, 5] Generated Node #0,3: 24:[5, 63, 5] Operation: 16-11=5 Exploring Operation: 63-11=52, Resulting Numbers: [16, 5, 52] Generated Node #0,4: 24:[16, 5, 52] Operation: 63-11=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[11, 5, 47], Operations: ['63-16=47'] Exploring Operation: 47-11=36, Resulting Numbers: [5, 36] Generated Node #0,2,0: 24:[5, 36] Operation: 47-11=36 Exploring Operation: 5+47=52, Resulting Numbers: [11, 52] Generated Node #0,2,1: 24:[11, 52] Operation: 5+47=52 Exploring Operation: 47-5=42, Resulting Numbers: [11, 42] Generated Node #0,2,2: 24:[11, 42] Operation: 47-5=42 Exploring Operation: 11-5=6, Resulting Numbers: [47, 6] Generated Node #0,2,3: 24:[47, 6] Operation: 11-5=6 Exploring Operation: 11+5=16, Resulting Numbers: [47, 16] Generated Node #0,2,4: 24:[47, 16] Operation: 11+5=16 Moving to Node #0,2,0 Current State: 24:[5, 36], Operations: ['63-16=47', '47-11=36'] Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[11, 42], Operations: ['63-16=47', '47-5=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[47, 6], Operations: ['63-16=47', '11-5=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,24 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,2,4 Current State: 24:[47, 16], Operations: ['63-16=47', '11+5=16'] Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,24 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[11, 52], Operations: ['63-16=47', '5+47=52'] Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 24:[16, 5, 52], Operations: ['63-11=52'] Exploring Operation: 52-5=47, Resulting Numbers: [16, 47] Generated Node #0,4,0: 24:[16, 47] Operation: 52-5=47 Exploring Operation: 16+5=21, Resulting Numbers: [52, 21] Generated Node #0,4,1: 24:[52, 21] Operation: 16+5=21 Exploring Operation: 52-16=36, Resulting Numbers: [5, 36] Generated Node #0,4,2: 24:[5, 36] Operation: 52-16=36 Exploring Operation: 16-5=11, Resulting Numbers: [52, 11] Generated Node #0,4,3: 24:[52, 11] Operation: 16-5=11 Exploring Operation: 5+52=57, Resulting Numbers: [16, 57] Generated Node #0,4,4: 24:[16, 57] Operation: 5+52=57 Moving to Node #0,4,2 Current State: 24:[5, 36], Operations: ['63-11=52', '52-16=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,24 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,24 unequal: No Solution Moving to Node #0,4,0 Current State: 24:[16, 47], Operations: ['63-11=52', '52-5=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,24 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,4,3 Current State: 24:[52, 11], Operations: ['63-11=52', '16-5=11'] Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,24 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Moving to Node #0,4,1 Current State: 24:[52, 21], Operations: ['63-11=52', '16+5=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,24 unequal: No Solution Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,4,4 Current State: 24:[16, 57], Operations: ['63-11=52', '5+52=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,24 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[16, 11, 58], Operations: ['63-5=58'] Exploring Operation: 11+58=69, Resulting Numbers: [16, 69] Generated Node #0,1,0: 24:[16, 69] Operation: 11+58=69 Exploring Operation: 58-16=42, Resulting Numbers: [11, 42] Generated Node #0,1,1: 24:[11, 42] Operation: 58-16=42 Exploring Operation: 16-11=5, Resulting Numbers: [58, 5] Generated Node #0,1,2: 24:[58, 5] Operation: 16-11=5 Exploring Operation: 58-11=47, Resulting Numbers: [16, 47] Generated Node #0,1,3: 24:[16, 47] Operation: 58-11=47 Exploring Operation: 16+11=27, Resulting Numbers: [58, 27] Generated Node #0,1,4: 24:[58, 27] Operation: 16+11=27 Moving to Node #0,1,1 Current State: 24:[11, 42], Operations: ['63-5=58', '58-16=42'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,24 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[16, 47], Operations: ['63-5=58', '58-11=47'] Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,24 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[58, 5], Operations: ['63-5=58', '16-11=5'] Exploring Operation: 58*5=290, Resulting Numbers: [290] 290,24 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,24 unequal: No Solution Moving to Node #0,1,4 Current State: 24:[58, 27], Operations: ['63-5=58', '16+11=27'] Exploring Operation: 58*27=1566, Resulting Numbers: [1566] 1566,24 unequal: No Solution Exploring Operation: 58+27=85, Resulting Numbers: [85] 85,24 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[16, 69], Operations: ['63-5=58', '11+58=69'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,24 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[11, 63, 11], Operations: ['16-5=11'] Exploring Operation: 11+11=22, Resulting Numbers: [63, 22] Generated Node #0,0,0: 24:[63, 22] Operation: 11+11=22 Exploring Operation: 11-11=0, Resulting Numbers: [63, 0] Generated Node #0,0,1: 24:[63, 0] Operation: 11-11=0 Exploring Operation: 11/11=1, Resulting Numbers: [63, 1] Generated Node #0,0,2: 24:[63, 1] Operation: 11/11=1 Exploring Operation: 63-11=52, Resulting Numbers: [11, 52] Generated Node #0,0,3: 24:[11, 52] Operation: 63-11=52 Exploring Operation: 63-11=52, Resulting Numbers: [11, 52] Generated Node #0,0,4: 24:[11, 52] Operation: 63-11=52 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 24:[11, 52], Operations: ['16-5=11', '63-11=52'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,24 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,24 unequal: No Solution No 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: 24:[11, 52], Operations: ['16-5=11', '63-11=52'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 11+52=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 11*52=572, Resulting Numbers: [572] 572,24 unequal: No Solution No 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: 24:[63, 1], Operations: ['16-5=11', '11/11=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,24 unequal: No Solution No 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: 24:[63, 22], Operations: ['16-5=11', '11+11=22'] Exploring Operation: 63+22=85, Resulting Numbers: [85] 85,24 unequal: No Solution Exploring Operation: 63-22=41, Resulting Numbers: [41] 41,24 unequal: No Solution Exploring Operation: 63*22=1386, Resulting Numbers: [1386] 1386,24 unequal: No Solution No 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: 24:[63, 0], Operations: ['16-5=11', '11-11=0'] Exploring Operation: 63-0=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 63*0=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 63+0=63, Resulting Numbers: [63] 63,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[5, 63, 5], Operations: ['16-11=5'] Exploring Operation: 5+5=10, Resulting Numbers: [63, 10] Generated Node #0,3,0: 24:[63, 10] Operation: 5+5=10 Exploring Operation: 5*5=25, Resulting Numbers: [63, 25] Generated Node #0,3,1: 24:[63, 25] Operation: 5*5=25 Exploring Operation: 5/5=1, Resulting Numbers: [63, 1] Generated Node #0,3,2: 24:[63, 1] Operation: 5/5=1 Exploring Operation: 63-5=58, Resulting Numbers: [5, 58] Generated Node #0,3,3: 24:[5, 58] Operation: 63-5=58 Exploring Operation: 63-5=58, Resulting Numbers: [5, 58] Generated Node #0,3,4: 24:[5, 58] Operation: 63-5=58 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 24:[5, 58], Operations: ['16-11=5', '63-5=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,24 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,24 unequal: No Solution No 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: 24:[5, 58], Operations: ['16-11=5', '63-5=58'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,24 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,24 unequal: No Solution No 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: 24:[63, 25], Operations: ['16-11=5', '5*5=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,24 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,24 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,24 unequal: No Solution No 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: 24:[63, 1], Operations: ['16-11=5', '5/5=1'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,24 unequal: No Solution Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,24 unequal: No Solution No 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: 24:[63, 10], Operations: ['16-11=5', '5+5=10'] Exploring Operation: 63-10=53, Resulting Numbers: [53] 53,24 unequal: No Solution Exploring Operation: 63*10=630, Resulting Numbers: [630] 630,24 unequal: No Solution Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 49, 51, 87, 92 ]
97
[ "51-49=2", "92*2=184", "184-87=97" ]
Current State: 97:[49, 51, 87, 92], Operations: [] Exploring Operation: 51-49=2, Resulting Numbers: [87, 92, 2] Generated Node #2: [87, 92, 2] from Operation: 51-49=2 Current State: 97:[87, 92, 2], Operations: ['51-49=2'] Exploring Operation: 92*2=184, Resulting Numbers: [87, 184] Generated Node #3: [87, 184] from Operation: 92*2=184 Current State: 97:[87, 184], Operations: ['51-49=2', '92*2=184'] Exploring Operation: 184-87=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[49, 51, 87, 92], Operations: [] Exploring Operation: 51+87=138, Resulting Numbers: [49, 92, 138] Generated Node #0,0: 97:[49, 92, 138] Operation: 51+87=138 Exploring Operation: 49+92=141, Resulting Numbers: [51, 87, 141] Generated Node #0,1: 97:[51, 87, 141] Operation: 49+92=141 Exploring Operation: 49+51=100, Resulting Numbers: [87, 92, 100] Generated Node #0,2: 97:[87, 92, 100] Operation: 49+51=100 Exploring Operation: 49+87=136, Resulting Numbers: [51, 92, 136] Generated Node #0,3: 97:[51, 92, 136] Operation: 49+87=136 Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[87, 92, 100], Operations: ['49+51=100'] Exploring Operation: 92-87=5, Resulting Numbers: [100, 5] Generated Node #0,2,0: 97:[100, 5] Operation: 92-87=5 Exploring Operation: 87+92=179, Resulting Numbers: [100, 179] Generated Node #0,2,1: 97:[100, 179] Operation: 87+92=179 Exploring Operation: 87+100=187, Resulting Numbers: [92, 187] Generated Node #0,2,2: 97:[92, 187] Operation: 87+100=187 Exploring Operation: 100-87=13, Resulting Numbers: [92, 13] Generated Node #0,2,3: 97:[92, 13] Operation: 100-87=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[100, 179], Operations: ['49+51=100', '87+92=179'] Exploring Operation: 100*179=17900, Resulting Numbers: [17900] 17900,97 unequal: No Solution Exploring Operation: 179-100=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 100+179=279, Resulting Numbers: [279] 279,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[92, 13], Operations: ['49+51=100', '100-87=13'] Exploring Operation: 92*13=1196, Resulting Numbers: [1196] 1196,97 unequal: No Solution Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 92+13=105, Resulting Numbers: [105] 105,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[100, 5], Operations: ['49+51=100', '92-87=5'] Exploring Operation: 100+5=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 100/5=20, Resulting Numbers: [20] 20,97 unequal: No Solution Exploring Operation: 100*5=500, Resulting Numbers: [500] 500,97 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[92, 187], Operations: ['49+51=100', '87+100=187'] Exploring Operation: 92*187=17204, Resulting Numbers: [17204] 17204,97 unequal: No Solution Exploring Operation: 92+187=279, Resulting Numbers: [279] 279,97 unequal: No Solution Exploring Operation: 187-92=95, Resulting Numbers: [95] 95,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[51, 92, 136], Operations: ['49+87=136'] Exploring Operation: 51+92=143, Resulting Numbers: [136, 143] Generated Node #0,3,0: 97:[136, 143] Operation: 51+92=143 Exploring Operation: 51+136=187, Resulting Numbers: [92, 187] Generated Node #0,3,1: 97:[92, 187] Operation: 51+136=187 Exploring Operation: 92-51=41, Resulting Numbers: [136, 41] Generated Node #0,3,2: 97:[136, 41] Operation: 92-51=41 Exploring Operation: 136-51=85, Resulting Numbers: [92, 85] Generated Node #0,3,3: 97:[92, 85] Operation: 136-51=85 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[92, 85], Operations: ['49+87=136', '136-51=85'] Exploring Operation: 92+85=177, Resulting Numbers: [177] 177,97 unequal: No Solution Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 92*85=7820, Resulting Numbers: [7820] 7820,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[136, 143], Operations: ['49+87=136', '51+92=143'] Exploring Operation: 143-136=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 136+143=279, Resulting Numbers: [279] 279,97 unequal: No Solution Exploring Operation: 136*143=19448, Resulting Numbers: [19448] 19448,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[92, 187], Operations: ['49+87=136', '51+136=187'] Exploring Operation: 187-92=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 92*187=17204, Resulting Numbers: [17204] 17204,97 unequal: No Solution Exploring Operation: 92+187=279, Resulting Numbers: [279] 279,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[136, 41], Operations: ['49+87=136', '92-51=41'] Exploring Operation: 136*41=5576, Resulting Numbers: [5576] 5576,97 unequal: No Solution Exploring Operation: 136-41=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 136+41=177, Resulting Numbers: [177] 177,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[49, 92, 138], Operations: ['51+87=138'] Exploring Operation: 138-49=89, Resulting Numbers: [92, 89] Generated Node #0,0,0: 97:[92, 89] Operation: 138-49=89 Exploring Operation: 49+138=187, Resulting Numbers: [92, 187] Generated Node #0,0,1: 97:[92, 187] Operation: 49+138=187 Exploring Operation: 92-49=43, Resulting Numbers: [138, 43] Generated Node #0,0,2: 97:[138, 43] Operation: 92-49=43 Exploring Operation: 49+92=141, Resulting Numbers: [138, 141] Generated Node #0,0,3: 97:[138, 141] Operation: 49+92=141 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[92, 89], Operations: ['51+87=138', '138-49=89'] Exploring Operation: 92+89=181, Resulting Numbers: [181] 181,97 unequal: No Solution Exploring Operation: 92-89=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 92*89=8188, Resulting Numbers: [8188] 8188,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[138, 141], Operations: ['51+87=138', '49+92=141'] Exploring Operation: 141-138=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 138+141=279, Resulting Numbers: [279] 279,97 unequal: No Solution Exploring Operation: 138*141=19458, Resulting Numbers: [19458] 19458,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[92, 187], Operations: ['51+87=138', '49+138=187'] Exploring Operation: 187-92=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 92*187=17204, Resulting Numbers: [17204] 17204,97 unequal: No Solution Exploring Operation: 92+187=279, Resulting Numbers: [279] 279,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[138, 43], Operations: ['51+87=138', '92-49=43'] Exploring Operation: 138-43=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 138*43=5934, Resulting Numbers: [5934] 5934,97 unequal: No Solution Exploring Operation: 138+43=181, Resulting Numbers: [181] 181,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[51, 87, 141], Operations: ['49+92=141'] Exploring Operation: 141-87=54, Resulting Numbers: [51, 54] Generated Node #0,1,0: 97:[51, 54] Operation: 141-87=54 Exploring Operation: 87-51=36, Resulting Numbers: [141, 36] Generated Node #0,1,1: 97:[141, 36] Operation: 87-51=36 Exploring Operation: 141-51=90, Resulting Numbers: [87, 90] Generated Node #0,1,2: 97:[87, 90] Operation: 141-51=90 Exploring Operation: 51+87=138, Resulting Numbers: [141, 138] Generated Node #0,1,3: 97:[141, 138] Operation: 51+87=138 Moving to Node #0,1,2 Current State: 97:[87, 90], Operations: ['49+92=141', '141-51=90'] Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 87*90=7830, Resulting Numbers: [7830] 7830,97 unequal: No Solution Exploring Operation: 87+90=177, Resulting Numbers: [177] 177,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[141, 138], Operations: ['49+92=141', '51+87=138'] Exploring Operation: 141-138=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 141+138=279, Resulting Numbers: [279] 279,97 unequal: No Solution Exploring Operation: 141*138=19458, Resulting Numbers: [19458] 19458,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[51, 54], Operations: ['49+92=141', '141-87=54'] Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,97 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[141, 36], Operations: ['49+92=141', '87-51=36'] Exploring Operation: 141-36=105, Resulting Numbers: [105] 105,97 unequal: No Solution Exploring Operation: 141+36=177, Resulting Numbers: [177] 177,97 unequal: No Solution Exploring Operation: 141*36=5076, Resulting Numbers: [5076] 5076,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 58, 60, 30, 75 ]
35
[ "58-30=28", "75*28=2100", "2100/60=35" ]
Current State: 35:[58, 60, 30, 75], Operations: [] Exploring Operation: 58-30=28, Resulting Numbers: [60, 75, 28] Generated Node #2: [60, 75, 28] from Operation: 58-30=28 Current State: 35:[60, 75, 28], Operations: ['58-30=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [60, 2100] Generated Node #3: [60, 2100] from Operation: 75*28=2100 Current State: 35:[60, 2100], Operations: ['58-30=28', '75*28=2100'] Exploring Operation: 2100/60=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[58, 60, 30, 75], Operations: [] Exploring Operation: 75-58=17, Resulting Numbers: [60, 30, 17] Generated Node #0,0: 35:[60, 30, 17] Operation: 75-58=17 Exploring Operation: 60/30=2, Resulting Numbers: [58, 75, 2] Generated Node #0,1: 35:[58, 75, 2] Operation: 60/30=2 Exploring Operation: 75-60=15, Resulting Numbers: [58, 30, 15] Generated Node #0,2: 35:[58, 30, 15] Operation: 75-60=15 Exploring Operation: 60-58=2, Resulting Numbers: [30, 75, 2] Generated Node #0,3: 35:[30, 75, 2] Operation: 60-58=2 Exploring Operation: 75-30=45, Resulting Numbers: [58, 60, 45] Generated Node #0,4: 35:[58, 60, 45] Operation: 75-30=45 Moving to Node #0,2 Current State: 35:[58, 30, 15], Operations: ['75-60=15'] Exploring Operation: 58-30=28, Resulting Numbers: [15, 28] Generated Node #0,2,0: 35:[15, 28] Operation: 58-30=28 Exploring Operation: 30-15=15, Resulting Numbers: [58, 15] Generated Node #0,2,1: 35:[58, 15] Operation: 30-15=15 Exploring Operation: 30+15=45, Resulting Numbers: [58, 45] Generated Node #0,2,2: 35:[58, 45] Operation: 30+15=45 Exploring Operation: 58-15=43, Resulting Numbers: [30, 43] Generated Node #0,2,3: 35:[30, 43] Operation: 58-15=43 Exploring Operation: 30/15=2, Resulting Numbers: [58, 2] Generated Node #0,2,4: 35:[58, 2] Operation: 30/15=2 Moving to Node #0,0 Current State: 35:[60, 30, 17], Operations: ['75-58=17'] Exploring Operation: 60-17=43, Resulting Numbers: [30, 43] Generated Node #0,0,0: 35:[30, 43] Operation: 60-17=43 Exploring Operation: 60-30=30, Resulting Numbers: [17, 30] Generated Node #0,0,1: 35:[17, 30] Operation: 60-30=30 Exploring Operation: 60/30=2, Resulting Numbers: [17, 2] Generated Node #0,0,2: 35:[17, 2] Operation: 60/30=2 Exploring Operation: 30-17=13, Resulting Numbers: [60, 13] Generated Node #0,0,3: 35:[60, 13] Operation: 30-17=13 Exploring Operation: 30+17=47, Resulting Numbers: [60, 47] Generated Node #0,0,4: 35:[60, 47] Operation: 30+17=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[30, 43], Operations: ['75-58=17', '60-17=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,35 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[17, 2], Operations: ['75-58=17', '60/30=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[17, 30], Operations: ['75-58=17', '60-30=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,35 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 35:[60, 13], Operations: ['75-58=17', '30-17=13'] Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 35:[60, 47], Operations: ['75-58=17', '30+17=47'] Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,35 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 60*47=2820, Resulting Numbers: [2820] 2820,35 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: 35:[30, 75, 2], Operations: ['60-58=2'] Exploring Operation: 75-2=73, Resulting Numbers: [30, 73] Generated Node #0,3,0: 35:[30, 73] Operation: 75-2=73 Exploring Operation: 30+2=32, Resulting Numbers: [75, 32] Generated Node #0,3,1: 35:[75, 32] Operation: 30+2=32 Exploring Operation: 75-30=45, Resulting Numbers: [2, 45] Generated Node #0,3,2: 35:[2, 45] Operation: 75-30=45 Exploring Operation: 30-2=28, Resulting Numbers: [75, 28] Generated Node #0,3,3: 35:[75, 28] Operation: 30-2=28 Exploring Operation: 75+2=77, Resulting Numbers: [30, 77] Generated Node #0,3,4: 35:[30, 77] Operation: 75+2=77 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 35:[2, 45], Operations: ['60-58=2', '75-30=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 35:[30, 73], Operations: ['60-58=2', '75-2=73'] Exploring Operation: 30+73=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 30*73=2190, Resulting Numbers: [2190] 2190,35 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 35:[75, 32], Operations: ['60-58=2', '30+2=32'] Exploring Operation: 75*32=2400, Resulting Numbers: [2400] 2400,35 unequal: No Solution Exploring Operation: 75-32=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 75+32=107, Resulting Numbers: [107] 107,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[75, 28], Operations: ['60-58=2', '30-2=28'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,35 unequal: No Solution Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 35:[30, 77], Operations: ['60-58=2', '75+2=77'] Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,35 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,35 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,35 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: 35:[58, 60, 45], Operations: ['75-30=45'] Exploring Operation: 60-58=2, Resulting Numbers: [45, 2] Generated Node #0,4,0: 35:[45, 2] Operation: 60-58=2 Exploring Operation: 60-45=15, Resulting Numbers: [58, 15] Generated Node #0,4,1: 35:[58, 15] Operation: 60-45=15 Exploring Operation: 58+60=118, Resulting Numbers: [45, 118] Generated Node #0,4,2: 35:[45, 118] Operation: 58+60=118 Exploring Operation: 58-45=13, Resulting Numbers: [60, 13] Generated Node #0,4,3: 35:[60, 13] Operation: 58-45=13 Exploring Operation: 58+45=103, Resulting Numbers: [60, 103] Generated Node #0,4,4: 35:[60, 103] Operation: 58+45=103 Moving to Node #0,1 Current State: 35:[58, 75, 2], Operations: ['60/30=2'] Exploring Operation: 75-2=73, Resulting Numbers: [58, 73] Generated Node #0,1,0: 35:[58, 73] Operation: 75-2=73 Exploring Operation: 75-58=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 35:[2, 17] Operation: 75-58=17 Exploring Operation: 58/2=29, Resulting Numbers: [75, 29] Generated Node #0,1,2: 35:[75, 29] Operation: 58/2=29 Exploring Operation: 58-2=56, Resulting Numbers: [75, 56] Generated Node #0,1,3: 35:[75, 56] Operation: 58-2=56 Exploring Operation: 58+2=60, Resulting Numbers: [75, 60] Generated Node #0,1,4: 35:[75, 60] Operation: 58+2=60 Moving to Node #0,2,3 Current State: 35:[30, 43], Operations: ['75-60=15', '58-15=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,35 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,35 unequal: No Solution Moving to Node #0,4,0 Current State: 35:[45, 2], Operations: ['75-30=45', '60-58=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,35 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[2, 17], Operations: ['60/30=2', '75-58=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[15, 28], Operations: ['75-60=15', '58-30=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,35 unequal: No Solution Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[58, 2], Operations: ['75-60=15', '30/15=2'] Exploring Operation: 58+2=60, Resulting Numbers: [60] 60,35 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 58*2=116, Resulting Numbers: [116] 116,35 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,35 unequal: No Solution Moving to Node #0,4,1 Current State: 35:[58, 15], Operations: ['75-30=45', '60-45=15'] Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,35 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[58, 15], Operations: ['75-60=15', '30-15=15'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,35 unequal: No Solution Moving to Node #0,4,3 Current State: 35:[60, 13], Operations: ['75-30=45', '58-45=13'] Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,35 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[58, 45], Operations: ['75-60=15', '30+15=45'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 58*45=2610, Resulting Numbers: [2610] 2610,35 unequal: No Solution Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[75, 29], Operations: ['60/30=2', '58/2=29'] Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,35 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[75, 56], Operations: ['60/30=2', '58-2=56'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 75*56=4200, Resulting Numbers: [4200] 4200,35 unequal: No Solution Exploring Operation: 75+56=131, Resulting Numbers: [131] 131,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[58, 73], Operations: ['60/30=2', '75-2=73'] Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,35 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,35 unequal: No Solution Moving to Node #0,1,4 Current State: 35:[75, 60], Operations: ['60/30=2', '58+2=60'] Exploring Operation: 75+60=135, Resulting Numbers: [135] 135,35 unequal: No Solution Exploring Operation: 75*60=4500, Resulting Numbers: [4500] 4500,35 unequal: No Solution Exploring Operation: 75-60=15, Resulting Numbers: [15] 15,35 unequal: No Solution Moving to Node #0,4,4 Current State: 35:[60, 103], Operations: ['75-30=45', '58+45=103'] Exploring Operation: 60+103=163, Resulting Numbers: [163] 163,35 unequal: No Solution Exploring Operation: 60*103=6180, Resulting Numbers: [6180] 6180,35 unequal: No Solution Exploring Operation: 103-60=43, Resulting Numbers: [43] 43,35 unequal: No Solution Moving to Node #0,4,2 Current State: 35:[45, 118], Operations: ['75-30=45', '58+60=118'] Exploring Operation: 118-45=73, Resulting Numbers: [73] 73,35 unequal: No Solution Exploring Operation: 45+118=163, Resulting Numbers: [163] 163,35 unequal: No Solution Exploring Operation: 45*118=5310, Resulting Numbers: [5310] 5310,35 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 36, 58, 33 ]
93
[ "33/33=1", "36+58=94", "94-1=93" ]
Current State: 93:[33, 36, 58, 33], Operations: [] Exploring Operation: 33/33=1, Resulting Numbers: [36, 58, 1] Generated Node #2: [36, 58, 1] from Operation: 33/33=1 Current State: 93:[36, 58, 1], Operations: ['33/33=1'] Exploring Operation: 36+58=94, Resulting Numbers: [1, 94] Generated Node #3: [1, 94] from Operation: 36+58=94 Current State: 93:[1, 94], Operations: ['33/33=1', '36+58=94'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[33, 36, 58, 33], Operations: [] Exploring Operation: 36+58=94, Resulting Numbers: [33, 33, 94] Generated Node #0,0: 93:[33, 33, 94] Operation: 36+58=94 Moving to Node #0,0 Current State: 93:[33, 33, 94], Operations: ['36+58=94'] Exploring Operation: 33/33=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 93:[94, 1] Operation: 33/33=1 Moving to Node #0,0,0 Current State: 93:[94, 1], Operations: ['36+58=94', '33/33=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[33, 36, 58, 33], Operations: [] Exploring Operation: 36+58=94, Resulting Numbers: [33, 33, 94] Generated Node #0,0: 93:[33, 33, 94] Operation: 36+58=94 Moving to Node #0,0 Current State: 93:[33, 33, 94], Operations: ['36+58=94'] Exploring Operation: 33/33=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 93:[94, 1] Operation: 33/33=1 Moving to Node #0,0,0 Current State: 93:[94, 1], Operations: ['36+58=94', '33/33=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 97, 26, 66, 48 ]
53
[ "97-26=71", "66-48=18", "71-18=53" ]
Current State: 53:[97, 26, 66, 48], Operations: [] Exploring Operation: 97-26=71, Resulting Numbers: [66, 48, 71] Generated Node #2: [66, 48, 71] from Operation: 97-26=71 Current State: 53:[66, 48, 71], Operations: ['97-26=71'] Exploring Operation: 66-48=18, Resulting Numbers: [71, 18] Generated Node #3: [71, 18] from Operation: 66-48=18 Current State: 53:[71, 18], Operations: ['97-26=71', '66-48=18'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[97, 26, 66, 48], Operations: [] Exploring Operation: 97-26=71, Resulting Numbers: [66, 48, 71] Generated Node #0,0: 53:[66, 48, 71] Operation: 97-26=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[66, 48, 71], Operations: ['97-26=71'] Exploring Operation: 71-48=23, Resulting Numbers: [66, 23] Generated Node #0,0,0: 53:[66, 23] Operation: 71-48=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[66, 23], Operations: ['97-26=71', '71-48=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 7, 66, 2 ]
21
[ "66/2=33", "33-30=3", "7*3=21" ]
Current State: 21:[30, 7, 66, 2], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [30, 7, 33] Generated Node #2: [30, 7, 33] from Operation: 66/2=33 Current State: 21:[30, 7, 33], Operations: ['66/2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 33-30=3 Current State: 21:[7, 3], Operations: ['66/2=33', '33-30=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[30, 7, 66, 2], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [30, 7, 33] Generated Node #0,0: 21:[30, 7, 33] Operation: 66/2=33 Exploring Operation: 66-30=36, Resulting Numbers: [7, 2, 36] Generated Node #0,1: 21:[7, 2, 36] Operation: 66-30=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[7, 2, 36], Operations: ['66-30=36'] Exploring Operation: 36/2=18, Resulting Numbers: [7, 18] Generated Node #0,1,0: 21:[7, 18] Operation: 36/2=18 Exploring Operation: 36-7=29, Resulting Numbers: [2, 29] Generated Node #0,1,1: 21:[2, 29] Operation: 36-7=29 Moving to Node #0,1,0 Current State: 21:[7, 18], Operations: ['66-30=36', '36/2=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[2, 29], Operations: ['66-30=36', '36-7=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,21 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[30, 7, 33], Operations: ['66/2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 21:[7, 3] Operation: 33-30=3 Exploring Operation: 30-7=23, Resulting Numbers: [33, 23] Generated Node #0,0,1: 21:[33, 23] Operation: 30-7=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[7, 3], Operations: ['66/2=33', '33-30=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[30, 7, 66, 2], Operations: [] Exploring Operation: 66/2=33, Resulting Numbers: [30, 7, 33] Generated Node #0,0: 21:[30, 7, 33] Operation: 66/2=33 Moving to Node #0,0 Current State: 21:[30, 7, 33], Operations: ['66/2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 21:[7, 3] Operation: 33-30=3 Moving to Node #0,0,0 Current State: 21:[7, 3], Operations: ['66/2=33', '33-30=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 74, 12, 60, 76 ]
18
[ "76-74=2", "60/2=30", "30-12=18" ]
Current State: 18:[74, 12, 60, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [12, 60, 2] Generated Node #2: [12, 60, 2] from Operation: 76-74=2 Current State: 18:[12, 60, 2], Operations: ['76-74=2'] Exploring Operation: 60/2=30, Resulting Numbers: [12, 30] Generated Node #3: [12, 30] from Operation: 60/2=30 Current State: 18:[12, 30], Operations: ['76-74=2', '60/2=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[74, 12, 60, 76], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [74, 76, 5] Generated Node #0,0: 18:[74, 76, 5] Operation: 60/12=5 Exploring Operation: 74-60=14, Resulting Numbers: [12, 76, 14] Generated Node #0,1: 18:[12, 76, 14] Operation: 74-60=14 Exploring Operation: 76-60=16, Resulting Numbers: [74, 12, 16] Generated Node #0,2: 18:[74, 12, 16] Operation: 76-60=16 Exploring Operation: 76-74=2, Resulting Numbers: [12, 60, 2] Generated Node #0,3: 18:[12, 60, 2] Operation: 76-74=2 Moving to Node #0,3 Current State: 18:[12, 60, 2], Operations: ['76-74=2'] Exploring Operation: 60/12=5, Resulting Numbers: [2, 5] Generated Node #0,3,0: 18:[2, 5] Operation: 60/12=5 Exploring Operation: 60/2=30, Resulting Numbers: [12, 30] Generated Node #0,3,1: 18:[12, 30] Operation: 60/2=30 Exploring Operation: 60-12=48, Resulting Numbers: [2, 48] Generated Node #0,3,2: 18:[2, 48] Operation: 60-12=48 Exploring Operation: 12/2=6, Resulting Numbers: [60, 6] Generated Node #0,3,3: 18:[60, 6] Operation: 12/2=6 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[2, 5], Operations: ['76-74=2', '60/12=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,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:[12, 30], Operations: ['76-74=2', '60/2=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[74, 12, 60, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [12, 60, 2] Generated Node #0,3: 18:[12, 60, 2] Operation: 76-74=2 Moving to Node #0,3 Current State: 18:[12, 60, 2], Operations: ['76-74=2'] Exploring Operation: 60/2=30, Resulting Numbers: [12, 30] Generated Node #0,3,1: 18:[12, 30] Operation: 60/2=30 Moving to Node #0,3,1 Current State: 18:[12, 30], Operations: ['76-74=2', '60/2=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 42, 14, 56, 4 ]
91
[ "42*14=588", "588/4=147", "147-56=91" ]
Current State: 91:[42, 14, 56, 4], Operations: [] Exploring Operation: 42*14=588, Resulting Numbers: [56, 4, 588] Generated Node #2: [56, 4, 588] from Operation: 42*14=588 Current State: 91:[56, 4, 588], Operations: ['42*14=588'] Exploring Operation: 588/4=147, Resulting Numbers: [56, 147] Generated Node #3: [56, 147] from Operation: 588/4=147 Current State: 91:[56, 147], Operations: ['42*14=588', '588/4=147'] Exploring Operation: 147-56=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[42, 14, 56, 4], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [56, 4, 3] Generated Node #0,0: 91:[56, 4, 3] Operation: 42/14=3 Exploring Operation: 56/14=4, Resulting Numbers: [42, 4, 4] Generated Node #0,1: 91:[42, 4, 4] Operation: 56/14=4 Exploring Operation: 56/4=14, Resulting Numbers: [42, 14, 14] Generated Node #0,2: 91:[42, 14, 14] Operation: 56/4=14 Exploring Operation: 42+56=98, Resulting Numbers: [14, 4, 98] Generated Node #0,3: 91:[14, 4, 98] Operation: 42+56=98 Exploring Operation: 56-42=14, Resulting Numbers: [14, 4, 14] Generated Node #0,4: 91:[14, 4, 14] Operation: 56-42=14 Moving to Node #0,4 Current State: 91:[14, 4, 14], Operations: ['56-42=14'] Exploring Operation: 14/14=1, Resulting Numbers: [4, 1] Generated Node #0,4,0: 91:[4, 1] Operation: 14/14=1 Exploring Operation: 14-4=10, Resulting Numbers: [14, 10] Generated Node #0,4,1: 91:[14, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [14, 18] Generated Node #0,4,2: 91:[14, 18] Operation: 4+14=18 Exploring Operation: 14-4=10, Resulting Numbers: [14, 10] Generated Node #0,4,3: 91:[14, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [14, 18] Generated Node #0,4,4: 91:[14, 18] Operation: 14+4=18 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 91:[14, 10], Operations: ['56-42=14', '14-4=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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,4,3 Current State: 91:[14, 10], Operations: ['56-42=14', '14-4=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,91 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,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,4,2 Current State: 91:[14, 18], Operations: ['56-42=14', '4+14=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,91 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,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,4,4 Current State: 91:[14, 18], Operations: ['56-42=14', '14+4=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,91 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,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,4,0 Current State: 91:[4, 1], Operations: ['56-42=14', '14/14=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,91 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,91 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: 91:[14, 4, 98], Operations: ['42+56=98'] Exploring Operation: 98/14=7, Resulting Numbers: [4, 7] Generated Node #0,3,0: 91:[4, 7] Operation: 98/14=7 Exploring Operation: 98-4=94, Resulting Numbers: [14, 94] Generated Node #0,3,1: 91:[14, 94] Operation: 98-4=94 Exploring Operation: 14+4=18, Resulting Numbers: [98, 18] Generated Node #0,3,2: 91:[98, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [98, 10] Generated Node #0,3,3: 91:[98, 10] Operation: 14-4=10 Exploring Operation: 98-14=84, Resulting Numbers: [4, 84] Generated Node #0,3,4: 91:[4, 84] Operation: 98-14=84 Moving to Node #0,2 Current State: 91:[42, 14, 14], Operations: ['56/4=14'] Exploring Operation: 42-14=28, Resulting Numbers: [14, 28] Generated Node #0,2,0: 91:[14, 28] Operation: 42-14=28 Exploring Operation: 14/14=1, Resulting Numbers: [42, 1] Generated Node #0,2,1: 91:[42, 1] Operation: 14/14=1 Exploring Operation: 42-14=28, Resulting Numbers: [14, 28] Generated Node #0,2,2: 91:[14, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [14, 3] Generated Node #0,2,3: 91:[14, 3] Operation: 42/14=3 Exploring Operation: 42/14=3, Resulting Numbers: [14, 3] Generated Node #0,2,4: 91:[14, 3] Operation: 42/14=3 Moving to Node #0,1 Current State: 91:[42, 4, 4], Operations: ['56/14=4'] Exploring Operation: 4/4=1, Resulting Numbers: [42, 1] Generated Node #0,1,0: 91:[42, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [42, 8] Generated Node #0,1,1: 91:[42, 8] Operation: 4+4=8 Exploring Operation: 42-4=38, Resulting Numbers: [4, 38] Generated Node #0,1,2: 91:[4, 38] Operation: 42-4=38 Exploring Operation: 42-4=38, Resulting Numbers: [4, 38] Generated Node #0,1,3: 91:[4, 38] Operation: 42-4=38 Exploring Operation: 4*4=16, Resulting Numbers: [42, 16] Generated Node #0,1,4: 91:[42, 16] Operation: 4*4=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[4, 38], Operations: ['56/14=4', '42-4=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,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,3 Current State: 91:[4, 38], Operations: ['56/14=4', '42-4=38'] Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,91 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,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:[42, 8], Operations: ['56/14=4', '4+4=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,91 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,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,4 Current State: 91:[42, 16], Operations: ['56/14=4', '4*4=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,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, 1], Operations: ['56/14=4', '4/4=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,91 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: 91:[56, 4, 3], Operations: ['42/14=3'] Exploring Operation: 56+3=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 91:[4, 59] Operation: 56+3=59 Exploring Operation: 4*3=12, Resulting Numbers: [56, 12] Generated Node #0,0,1: 91:[56, 12] Operation: 4*3=12 Exploring Operation: 4+3=7, Resulting Numbers: [56, 7] Generated Node #0,0,2: 91:[56, 7] Operation: 4+3=7 Exploring Operation: 56/4=14, Resulting Numbers: [3, 14] Generated Node #0,0,3: 91:[3, 14] Operation: 56/4=14 Exploring Operation: 56+4=60, Resulting Numbers: [3, 60] Generated Node #0,0,4: 91:[3, 60] Operation: 56+4=60 Moving to Node #0,3,0 Current State: 91:[4, 7], Operations: ['42+56=98', '98/14=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,91 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[14, 94], Operations: ['42+56=98', '98-4=94'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 14+94=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 14*94=1316, Resulting Numbers: [1316] 1316,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[14, 3], Operations: ['56/4=14', '42/14=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,2,4 Current State: 91:[14, 3], Operations: ['56/4=14', '42/14=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,91 unequal: No Solution Moving to Node #0,0,3 Current State: 91:[3, 14], Operations: ['42/14=3', '56/4=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,91 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[98, 10], Operations: ['42+56=98', '14-4=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 98*10=980, Resulting Numbers: [980] 980,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[4, 84], Operations: ['42+56=98', '98-14=84'] Exploring Operation: 4+84=88, Resulting Numbers: [88] 88,91 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,91 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 4*84=336, Resulting Numbers: [336] 336,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[98, 18], Operations: ['42+56=98', '14+4=18'] Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,91 unequal: No Solution Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,91 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[14, 28], Operations: ['56/4=14', '42-14=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,91 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[14, 28], Operations: ['56/4=14', '42-14=28'] Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,91 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,91 unequal: No Solution Moving to Node #0,0,4 Current State: 91:[3, 60], Operations: ['42/14=3', '56+4=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,91 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,91 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[4, 59], Operations: ['42/14=3', '56+3=59'] Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,91 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,91 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[42, 1], Operations: ['56/4=14', '14/14=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,91 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,91 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,91 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[56, 7], Operations: ['42/14=3', '4+3=7'] Exploring Operation: 56*7=392, Resulting Numbers: [392] 392,91 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,91 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[56, 12], Operations: ['42/14=3', '4*3=12'] Exploring Operation: 56*12=672, Resulting Numbers: [672] 672,91 unequal: No Solution Exploring Operation: 56+12=68, Resulting Numbers: [68] 68,91 unequal: No Solution Exploring Operation: 56-12=44, Resulting Numbers: [44] 44,91 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 33, 52, 60, 60 ]
18
[ "52-33=19", "60/60=1", "19-1=18" ]
Current State: 18:[33, 52, 60, 60], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [60, 60, 19] Generated Node #2: [60, 60, 19] from Operation: 52-33=19 Current State: 18:[60, 60, 19], Operations: ['52-33=19'] Exploring Operation: 60/60=1, Resulting Numbers: [19, 1] Generated Node #3: [19, 1] from Operation: 60/60=1 Current State: 18:[19, 1], Operations: ['52-33=19', '60/60=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[33, 52, 60, 60], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [33, 52, 1] Generated Node #0,0: 18:[33, 52, 1] Operation: 60/60=1 Exploring Operation: 60-52=8, Resulting Numbers: [33, 60, 8] Generated Node #0,1: 18:[33, 60, 8] Operation: 60-52=8 Exploring Operation: 60-60=0, Resulting Numbers: [33, 52, 0] Generated Node #0,2: 18:[33, 52, 0] Operation: 60-60=0 Exploring Operation: 60-52=8, Resulting Numbers: [33, 60, 8] Generated Node #0,3: 18:[33, 60, 8] Operation: 60-52=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[33, 52, 1], Operations: ['60/60=1'] Exploring Operation: 52-33=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 18:[1, 19] Operation: 52-33=19 Exploring Operation: 52-1=51, Resulting Numbers: [33, 51] Generated Node #0,0,1: 18:[33, 51] Operation: 52-1=51 Exploring Operation: 33*1=33, Resulting Numbers: [52, 33] Generated Node #0,0,2: 18:[52, 33] Operation: 33*1=33 Exploring Operation: 33-1=32, Resulting Numbers: [52, 32] Generated Node #0,0,3: 18:[52, 32] Operation: 33-1=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[1, 19], Operations: ['60/60=1', '52-33=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[33, 52, 60, 60], Operations: [] Exploring Operation: 60/60=1, Resulting Numbers: [33, 52, 1] Generated Node #0,0: 18:[33, 52, 1] Operation: 60/60=1 Moving to Node #0,0 Current State: 18:[33, 52, 1], Operations: ['60/60=1'] Exploring Operation: 52-33=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 18:[1, 19] Operation: 52-33=19 Moving to Node #0,0,0 Current State: 18:[1, 19], Operations: ['60/60=1', '52-33=19'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 10, 8, 69, 70 ]
34
[ "10-8=2", "70/2=35", "69-35=34" ]
Current State: 34:[10, 8, 69, 70], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [69, 70, 2] Generated Node #2: [69, 70, 2] from Operation: 10-8=2 Current State: 34:[69, 70, 2], Operations: ['10-8=2'] Exploring Operation: 70/2=35, Resulting Numbers: [69, 35] Generated Node #3: [69, 35] from Operation: 70/2=35 Current State: 34:[69, 35], Operations: ['10-8=2', '70/2=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[10, 8, 69, 70], Operations: [] Exploring Operation: 69-10=59, Resulting Numbers: [8, 70, 59] Generated Node #0,0: 34:[8, 70, 59] Operation: 69-10=59 Exploring Operation: 70/10=7, Resulting Numbers: [8, 69, 7] Generated Node #0,1: 34:[8, 69, 7] Operation: 70/10=7 Exploring Operation: 70-69=1, Resulting Numbers: [10, 8, 1] Generated Node #0,2: 34:[10, 8, 1] Operation: 70-69=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[10, 8, 1], Operations: ['70-69=1'] Exploring Operation: 10+1=11, Resulting Numbers: [8, 11] Generated Node #0,2,0: 34:[8, 11] Operation: 10+1=11 Exploring Operation: 10+8=18, Resulting Numbers: [1, 18] Generated Node #0,2,1: 34:[1, 18] Operation: 10+8=18 Exploring Operation: 10-8=2, Resulting Numbers: [1, 2] Generated Node #0,2,2: 34:[1, 2] Operation: 10-8=2 Moving to Node #0,2,2 Current State: 34:[1, 2], Operations: ['70-69=1', '10-8=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[1, 18], Operations: ['70-69=1', '10+8=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[8, 11], Operations: ['70-69=1', '10+1=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,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:[8, 69, 7], Operations: ['70/10=7'] Exploring Operation: 69-7=62, Resulting Numbers: [8, 62] Generated Node #0,1,0: 34:[8, 62] Operation: 69-7=62 Exploring Operation: 69-8=61, Resulting Numbers: [7, 61] Generated Node #0,1,1: 34:[7, 61] Operation: 69-8=61 Exploring Operation: 8-7=1, Resulting Numbers: [69, 1] Generated Node #0,1,2: 34:[69, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 34:[7, 61], Operations: ['70/10=7', '69-8=61'] Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,34 unequal: No Solution Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[8, 62], Operations: ['70/10=7', '69-7=62'] Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[69, 1], Operations: ['70/10=7', '8-7=1'] Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[8, 70, 59], Operations: ['69-10=59'] Exploring Operation: 70-59=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 34:[8, 11] Operation: 70-59=11 Exploring Operation: 70-8=62, Resulting Numbers: [59, 62] Generated Node #0,0,1: 34:[59, 62] Operation: 70-8=62 Exploring Operation: 59-8=51, Resulting Numbers: [70, 51] Generated Node #0,0,2: 34:[70, 51] Operation: 59-8=51 Moving to Node #0,0,0 Current State: 34:[8, 11], Operations: ['69-10=59', '70-59=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,34 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[59, 62], Operations: ['69-10=59', '70-8=62'] Exploring Operation: 59+62=121, Resulting Numbers: [121] 121,34 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 59*62=3658, Resulting Numbers: [3658] 3658,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[70, 51], Operations: ['69-10=59', '59-8=51'] Exploring Operation: 70+51=121, Resulting Numbers: [121] 121,34 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 70*51=3570, Resulting Numbers: [3570] 3570,34 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
[ 46, 47, 46, 75 ]
47
[ "46-46=0", "75*0=0", "47+0=47" ]
Current State: 47:[46, 47, 46, 75], Operations: [] Exploring Operation: 46-46=0, Resulting Numbers: [47, 75, 0] Generated Node #2: [47, 75, 0] from Operation: 46-46=0 Current State: 47:[47, 75, 0], Operations: ['46-46=0'] Exploring Operation: 75*0=0, Resulting Numbers: [47, 0] Generated Node #3: [47, 0] from Operation: 75*0=0 Current State: 47:[47, 0], Operations: ['46-46=0', '75*0=0'] Exploring Operation: 47+0=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[46, 47, 46, 75], Operations: [] Exploring Operation: 75-46=29, Resulting Numbers: [47, 46, 29] Generated Node #0,0: 47:[47, 46, 29] Operation: 75-46=29 Exploring Operation: 75-47=28, Resulting Numbers: [46, 46, 28] Generated Node #0,1: 47:[46, 46, 28] Operation: 75-47=28 Exploring Operation: 46+46=92, Resulting Numbers: [47, 75, 92] Generated Node #0,2: 47:[47, 75, 92] Operation: 46+46=92 Exploring Operation: 75-46=29, Resulting Numbers: [46, 47, 29] Generated Node #0,3: 47:[46, 47, 29] Operation: 75-46=29 Moving to Node #0,0 Current State: 47:[47, 46, 29], Operations: ['75-46=29'] Exploring Operation: 46-29=17, Resulting Numbers: [47, 17] Generated Node #0,0,0: 47:[47, 17] Operation: 46-29=17 Exploring Operation: 47-29=18, Resulting Numbers: [46, 18] Generated Node #0,0,1: 47:[46, 18] Operation: 47-29=18 Exploring Operation: 47+29=76, Resulting Numbers: [46, 76] Generated Node #0,0,2: 47:[46, 76] Operation: 47+29=76 Exploring Operation: 46+29=75, Resulting Numbers: [47, 75] Generated Node #0,0,3: 47:[47, 75] Operation: 46+29=75 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[47, 75], Operations: ['75-46=29', '46+29=75'] Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[47, 17], Operations: ['75-46=29', '46-29=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,47 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[46, 18], Operations: ['75-46=29', '47-29=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[46, 76], Operations: ['75-46=29', '47+29=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,47 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,47 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: 47:[46, 47, 29], Operations: ['75-46=29'] Exploring Operation: 46-29=17, Resulting Numbers: [47, 17] Generated Node #0,3,0: 47:[47, 17] Operation: 46-29=17 Exploring Operation: 46+29=75, Resulting Numbers: [47, 75] Generated Node #0,3,1: 47:[47, 75] Operation: 46+29=75 Exploring Operation: 47+29=76, Resulting Numbers: [46, 76] Generated Node #0,3,2: 47:[46, 76] Operation: 47+29=76 Exploring Operation: 47-29=18, Resulting Numbers: [46, 18] Generated Node #0,3,3: 47:[46, 18] Operation: 47-29=18 Moving to Node #0,1 Current State: 47:[46, 46, 28], Operations: ['75-47=28'] Exploring Operation: 46+28=74, Resulting Numbers: [46, 74] Generated Node #0,1,0: 47:[46, 74] Operation: 46+28=74 Exploring Operation: 46+28=74, Resulting Numbers: [46, 74] Generated Node #0,1,1: 47:[46, 74] Operation: 46+28=74 Exploring Operation: 46-28=18, Resulting Numbers: [46, 18] Generated Node #0,1,2: 47:[46, 18] Operation: 46-28=18 Exploring Operation: 46-28=18, Resulting Numbers: [46, 18] Generated Node #0,1,3: 47:[46, 18] Operation: 46-28=18 Moving to Node #0,2 Current State: 47:[47, 75, 92], Operations: ['46+46=92'] Exploring Operation: 92-75=17, Resulting Numbers: [47, 17] Generated Node #0,2,0: 47:[47, 17] Operation: 92-75=17 Exploring Operation: 75-47=28, Resulting Numbers: [92, 28] Generated Node #0,2,1: 47:[92, 28] Operation: 75-47=28 Exploring Operation: 47+75=122, Resulting Numbers: [92, 122] Generated Node #0,2,2: 47:[92, 122] Operation: 47+75=122 Exploring Operation: 92-47=45, Resulting Numbers: [75, 45] Generated Node #0,2,3: 47:[75, 45] Operation: 92-47=45 Moving to Node #0,3,1 Current State: 47:[47, 75], Operations: ['75-46=29', '46+29=75'] Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[46, 74], Operations: ['75-47=28', '46+28=74'] Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,47 unequal: No Solution Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[46, 74], Operations: ['75-47=28', '46+28=74'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 46*74=3404, Resulting Numbers: [3404] 3404,47 unequal: No Solution Exploring Operation: 46+74=120, Resulting Numbers: [120] 120,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[46, 18], Operations: ['75-47=28', '46-28=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,3,2 Current State: 47:[46, 76], Operations: ['75-46=29', '47+29=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,47 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 46*76=3496, Resulting Numbers: [3496] 3496,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[47, 17], Operations: ['46+46=92', '92-75=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[46, 18], Operations: ['75-47=28', '46-28=18'] Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,3,0 Current State: 47:[47, 17], Operations: ['75-46=29', '46-29=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[75, 45], Operations: ['46+46=92', '92-47=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,47 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,47 unequal: No Solution Moving to Node #0,3,3 Current State: 47:[46, 18], Operations: ['75-46=29', '47-29=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,47 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[92, 28], Operations: ['46+46=92', '75-47=28'] Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,47 unequal: No Solution Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[92, 122], Operations: ['46+46=92', '47+75=122'] Exploring Operation: 122-92=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 92+122=214, Resulting Numbers: [214] 214,47 unequal: No Solution Exploring Operation: 92*122=11224, Resulting Numbers: [11224] 11224,47 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 79, 59, 34, 89 ]
75
[ "79-59=20", "89-34=55", "20+55=75" ]
Current State: 75:[79, 59, 34, 89], Operations: [] Exploring Operation: 79-59=20, Resulting Numbers: [34, 89, 20] Generated Node #2: [34, 89, 20] from Operation: 79-59=20 Current State: 75:[34, 89, 20], Operations: ['79-59=20'] Exploring Operation: 89-34=55, Resulting Numbers: [20, 55] Generated Node #3: [20, 55] from Operation: 89-34=55 Current State: 75:[20, 55], Operations: ['79-59=20', '89-34=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[79, 59, 34, 89], Operations: [] Exploring Operation: 59+34=93, Resulting Numbers: [79, 89, 93] Generated Node #0,0: 75:[79, 89, 93] Operation: 59+34=93 Exploring Operation: 79-59=20, Resulting Numbers: [34, 89, 20] Generated Node #0,1: 75:[34, 89, 20] Operation: 79-59=20 Exploring Operation: 59-34=25, Resulting Numbers: [79, 89, 25] Generated Node #0,2: 75:[79, 89, 25] Operation: 59-34=25 Exploring Operation: 89-79=10, Resulting Numbers: [59, 34, 10] Generated Node #0,3: 75:[59, 34, 10] Operation: 89-79=10 Exploring Operation: 89-59=30, Resulting Numbers: [79, 34, 30] Generated Node #0,4: 75:[79, 34, 30] Operation: 89-59=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[79, 89, 25], Operations: ['59-34=25'] Exploring Operation: 89-79=10, Resulting Numbers: [25, 10] Generated Node #0,2,0: 75:[25, 10] Operation: 89-79=10 Exploring Operation: 89-25=64, Resulting Numbers: [79, 64] Generated Node #0,2,1: 75:[79, 64] Operation: 89-25=64 Exploring Operation: 89+25=114, Resulting Numbers: [79, 114] Generated Node #0,2,2: 75:[79, 114] Operation: 89+25=114 Exploring Operation: 79+25=104, Resulting Numbers: [89, 104] Generated Node #0,2,3: 75:[89, 104] Operation: 79+25=104 Exploring Operation: 79-25=54, Resulting Numbers: [89, 54] Generated Node #0,2,4: 75:[89, 54] Operation: 79-25=54 Moving to Node #0,2,0 Current State: 75:[25, 10], Operations: ['59-34=25', '89-79=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[79, 64], Operations: ['59-34=25', '89-25=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,75 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[89, 54], Operations: ['59-34=25', '79-25=54'] Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,75 unequal: No Solution Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,75 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[79, 114], Operations: ['59-34=25', '89+25=114'] Exploring Operation: 79+114=193, Resulting Numbers: [193] 193,75 unequal: No Solution Exploring Operation: 79*114=9006, Resulting Numbers: [9006] 9006,75 unequal: No Solution Exploring Operation: 114-79=35, Resulting Numbers: [35] 35,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[89, 104], Operations: ['59-34=25', '79+25=104'] Exploring Operation: 104-89=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 89+104=193, Resulting Numbers: [193] 193,75 unequal: No Solution Exploring Operation: 89*104=9256, Resulting Numbers: [9256] 9256,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 75:[79, 34, 30], Operations: ['89-59=30'] Exploring Operation: 79-34=45, Resulting Numbers: [30, 45] Generated Node #0,4,0: 75:[30, 45] Operation: 79-34=45 Exploring Operation: 79+34=113, Resulting Numbers: [30, 113] Generated Node #0,4,1: 75:[30, 113] Operation: 79+34=113 Exploring Operation: 79-30=49, Resulting Numbers: [34, 49] Generated Node #0,4,2: 75:[34, 49] Operation: 79-30=49 Exploring Operation: 34-30=4, Resulting Numbers: [79, 4] Generated Node #0,4,3: 75:[79, 4] Operation: 34-30=4 Exploring Operation: 34+30=64, Resulting Numbers: [79, 64] Generated Node #0,4,4: 75:[79, 64] Operation: 34+30=64 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 75:[79, 4], Operations: ['89-59=30', '34-30=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,75 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,75 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[79, 59, 34, 89], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [79, 34, 30] Generated Node #0,4: 75:[79, 34, 30] Operation: 89-59=30 Moving to Node #0,4 Current State: 75:[79, 34, 30], Operations: ['89-59=30'] Exploring Operation: 34-30=4, Resulting Numbers: [79, 4] Generated Node #0,4,3: 75:[79, 4] Operation: 34-30=4 Moving to Node #0,4,3 Current State: 75:[79, 4], Operations: ['89-59=30', '34-30=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 35, 12, 68, 55 ]
100
[ "35-12=23", "68+55=123", "123-23=100" ]
Current State: 100:[35, 12, 68, 55], Operations: [] Exploring Operation: 35-12=23, Resulting Numbers: [68, 55, 23] Generated Node #2: [68, 55, 23] from Operation: 35-12=23 Current State: 100:[68, 55, 23], Operations: ['35-12=23'] Exploring Operation: 68+55=123, Resulting Numbers: [23, 123] Generated Node #3: [23, 123] from Operation: 68+55=123 Current State: 100:[23, 123], Operations: ['35-12=23', '68+55=123'] Exploring Operation: 123-23=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[35, 12, 68, 55], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [12, 55, 33] Generated Node #0,0: 100:[12, 55, 33] Operation: 68-35=33 Exploring Operation: 68-55=13, Resulting Numbers: [35, 12, 13] Generated Node #0,1: 100:[35, 12, 13] Operation: 68-55=13 Exploring Operation: 35+68=103, Resulting Numbers: [12, 55, 103] Generated Node #0,2: 100:[12, 55, 103] Operation: 35+68=103 Moving to Node #0,2 Current State: 100:[12, 55, 103], Operations: ['35+68=103'] Exploring Operation: 103-12=91, Resulting Numbers: [55, 91] Generated Node #0,2,0: 100:[55, 91] Operation: 103-12=91 Exploring Operation: 55-12=43, Resulting Numbers: [103, 43] Generated Node #0,2,1: 100:[103, 43] Operation: 55-12=43 Exploring Operation: 103-55=48, Resulting Numbers: [12, 48] Generated Node #0,2,2: 100:[12, 48] Operation: 103-55=48 Moving to Node #0,0 Current State: 100:[12, 55, 33], Operations: ['68-35=33'] Exploring Operation: 12+33=45, Resulting Numbers: [55, 45] Generated Node #0,0,0: 100:[55, 45] Operation: 12+33=45 Exploring Operation: 55-33=22, Resulting Numbers: [12, 22] Generated Node #0,0,1: 100:[12, 22] Operation: 55-33=22 Exploring Operation: 33-12=21, Resulting Numbers: [55, 21] Generated Node #0,0,2: 100:[55, 21] Operation: 33-12=21 Moving to Node #0,1 Current State: 100:[35, 12, 13], Operations: ['68-55=13'] Exploring Operation: 35+13=48, Resulting Numbers: [12, 48] Generated Node #0,1,0: 100:[12, 48] Operation: 35+13=48 Exploring Operation: 35-12=23, Resulting Numbers: [13, 23] Generated Node #0,1,1: 100:[13, 23] Operation: 35-12=23 Exploring Operation: 35-13=22, Resulting Numbers: [12, 22] Generated Node #0,1,2: 100:[12, 22] Operation: 35-13=22 Moving to Node #0,2,2 Current State: 100:[12, 48], Operations: ['35+68=103', '103-55=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[12, 48], Operations: ['68-55=13', '35+13=48'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 12+48=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[12, 22], Operations: ['68-35=33', '55-33=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,100 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[12, 22], Operations: ['68-55=13', '35-13=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,100 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[13, 23], Operations: ['68-55=13', '35-12=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,100 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[55, 21], Operations: ['68-35=33', '33-12=21'] Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,100 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,100 unequal: No Solution Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[103, 43], Operations: ['35+68=103', '55-12=43'] Exploring Operation: 103-43=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 103*43=4429, Resulting Numbers: [4429] 4429,100 unequal: No Solution Exploring Operation: 103+43=146, Resulting Numbers: [146] 146,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[55, 45], Operations: ['68-35=33', '12+33=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[35, 12, 68, 55], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [12, 55, 33] Generated Node #0,0: 100:[12, 55, 33] Operation: 68-35=33 Moving to Node #0,0 Current State: 100:[12, 55, 33], Operations: ['68-35=33'] Exploring Operation: 12+33=45, Resulting Numbers: [55, 45] Generated Node #0,0,0: 100:[55, 45] Operation: 12+33=45 Moving to Node #0,0,0 Current State: 100:[55, 45], Operations: ['68-35=33', '12+33=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.967014
hs_3
mult_heuristic
[ 87, 93, 5, 52 ]
51
[ "93-87=6", "5+52=57", "57-6=51" ]
Current State: 51:[87, 93, 5, 52], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [5, 52, 6] Generated Node #2: [5, 52, 6] from Operation: 93-87=6 Current State: 51:[5, 52, 6], Operations: ['93-87=6'] Exploring Operation: 5+52=57, Resulting Numbers: [6, 57] Generated Node #3: [6, 57] from Operation: 5+52=57 Current State: 51:[6, 57], Operations: ['93-87=6', '5+52=57'] Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[87, 93, 5, 52], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [87, 5, 41] Generated Node #0,0: 51:[87, 5, 41] Operation: 93-52=41 Exploring Operation: 93-87=6, Resulting Numbers: [5, 52, 6] Generated Node #0,1: 51:[5, 52, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 51:[5, 52, 6], Operations: ['93-87=6'] Exploring Operation: 6-5=1, Resulting Numbers: [52, 1] Generated Node #0,1,0: 51:[52, 1] Operation: 6-5=1 Exploring Operation: 52-5=47, Resulting Numbers: [6, 47] Generated Node #0,1,1: 51:[6, 47] Operation: 52-5=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[52, 1], Operations: ['93-87=6', '6-5=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,51 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[87, 93, 5, 52], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [5, 52, 6] Generated Node #0,1: 51:[5, 52, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 51:[5, 52, 6], Operations: ['93-87=6'] Exploring Operation: 6-5=1, Resulting Numbers: [52, 1] Generated Node #0,1,0: 51:[52, 1] Operation: 6-5=1 Moving to Node #0,1,0 Current State: 51:[52, 1], Operations: ['93-87=6', '6-5=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 81, 70, 78, 75 ]
15
[ "81-78=3", "75-70=5", "3*5=15" ]
Current State: 15:[81, 70, 78, 75], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [70, 75, 3] Generated Node #2: [70, 75, 3] from Operation: 81-78=3 Current State: 15:[70, 75, 3], Operations: ['81-78=3'] Exploring Operation: 75-70=5, Resulting Numbers: [3, 5] Generated Node #3: [3, 5] from Operation: 75-70=5 Current State: 15:[3, 5], Operations: ['81-78=3', '75-70=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[81, 70, 78, 75], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [70, 75, 3] Generated Node #0,0: 15:[70, 75, 3] Operation: 81-78=3 Exploring Operation: 81-75=6, Resulting Numbers: [70, 78, 6] Generated Node #0,1: 15:[70, 78, 6] Operation: 81-75=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[70, 75, 3], Operations: ['81-78=3'] Exploring Operation: 75/3=25, Resulting Numbers: [70, 25] Generated Node #0,0,0: 15:[70, 25] Operation: 75/3=25 Exploring Operation: 75-70=5, Resulting Numbers: [3, 5] Generated Node #0,0,1: 15:[3, 5] Operation: 75-70=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[3, 5], Operations: ['81-78=3', '75-70=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[81, 70, 78, 75], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [70, 75, 3] Generated Node #0,0: 15:[70, 75, 3] Operation: 81-78=3 Moving to Node #0,0 Current State: 15:[70, 75, 3], Operations: ['81-78=3'] Exploring Operation: 75-70=5, Resulting Numbers: [3, 5] Generated Node #0,0,1: 15:[3, 5] Operation: 75-70=5 Moving to Node #0,0,1 Current State: 15:[3, 5], Operations: ['81-78=3', '75-70=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 22, 77, 36, 3 ]
67
[ "77-22=55", "36/3=12", "55+12=67" ]
Current State: 67:[22, 77, 36, 3], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [36, 3, 55] Generated Node #2: [36, 3, 55] from Operation: 77-22=55 Current State: 67:[36, 3, 55], Operations: ['77-22=55'] Exploring Operation: 36/3=12, Resulting Numbers: [55, 12] Generated Node #3: [55, 12] from Operation: 36/3=12 Current State: 67:[55, 12], Operations: ['77-22=55', '36/3=12'] Exploring Operation: 55+12=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[22, 77, 36, 3], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [77, 36, 66] Generated Node #0,0: 67:[77, 36, 66] Operation: 22*3=66 Exploring Operation: 22+36=58, Resulting Numbers: [77, 3, 58] Generated Node #0,1: 67:[77, 3, 58] Operation: 22+36=58 Exploring Operation: 22+3=25, Resulting Numbers: [77, 36, 25] Generated Node #0,2: 67:[77, 36, 25] Operation: 22+3=25 Moving to Node #0,0 Current State: 67:[77, 36, 66], Operations: ['22*3=66'] Exploring Operation: 36+66=102, Resulting Numbers: [77, 102] Generated Node #0,0,0: 67:[77, 102] Operation: 36+66=102 Exploring Operation: 77-36=41, Resulting Numbers: [66, 41] Generated Node #0,0,1: 67:[66, 41] Operation: 77-36=41 Exploring Operation: 77+36=113, Resulting Numbers: [66, 113] Generated Node #0,0,2: 67:[66, 113] Operation: 77+36=113 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[66, 41], Operations: ['22*3=66', '77-36=41'] Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[77, 102], Operations: ['22*3=66', '36+66=102'] Exploring Operation: 77*102=7854, Resulting Numbers: [7854] 7854,67 unequal: No Solution Exploring Operation: 102-77=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 77+102=179, Resulting Numbers: [179] 179,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[66, 113], Operations: ['22*3=66', '77+36=113'] Exploring Operation: 66+113=179, Resulting Numbers: [179] 179,67 unequal: No Solution Exploring Operation: 66*113=7458, Resulting Numbers: [7458] 7458,67 unequal: No Solution Exploring Operation: 113-66=47, Resulting Numbers: [47] 47,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[77, 3, 58], Operations: ['22+36=58'] Exploring Operation: 3+58=61, Resulting Numbers: [77, 61] Generated Node #0,1,0: 67:[77, 61] Operation: 3+58=61 Exploring Operation: 77+3=80, Resulting Numbers: [58, 80] Generated Node #0,1,1: 67:[58, 80] Operation: 77+3=80 Exploring Operation: 77-3=74, Resulting Numbers: [58, 74] Generated Node #0,1,2: 67:[58, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[77, 61], Operations: ['22+36=58', '3+58=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[58, 74], Operations: ['22+36=58', '77-3=74'] Exploring Operation: 58+74=132, Resulting Numbers: [132] 132,67 unequal: No Solution Exploring Operation: 58*74=4292, Resulting Numbers: [4292] 4292,67 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[58, 80], Operations: ['22+36=58', '77+3=80'] Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,67 unequal: No Solution Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,67 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: 67:[77, 36, 25], Operations: ['22+3=25'] Exploring Operation: 36+25=61, Resulting Numbers: [77, 61] Generated Node #0,2,0: 67:[77, 61] Operation: 36+25=61 Exploring Operation: 77-25=52, Resulting Numbers: [36, 52] Generated Node #0,2,1: 67:[36, 52] Operation: 77-25=52 Exploring Operation: 77+25=102, Resulting Numbers: [36, 102] Generated Node #0,2,2: 67:[36, 102] Operation: 77+25=102 Moving to Node #0,2,0 Current State: 67:[77, 61], Operations: ['22+3=25', '36+25=61'] Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,67 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[36, 52], Operations: ['22+3=25', '77-25=52'] Exploring Operation: 36*52=1872, Resulting Numbers: [1872] 1872,67 unequal: No Solution Exploring Operation: 36+52=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[36, 102], Operations: ['22+3=25', '77+25=102'] Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 36*102=3672, Resulting Numbers: [3672] 3672,67 unequal: No Solution Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,67 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 27, 8, 6, 23 ]
56
[ "27-23=4", "8+6=14", "4*14=56" ]
Current State: 56:[27, 8, 6, 23], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [8, 6, 4] Generated Node #2: [8, 6, 4] from Operation: 27-23=4 Current State: 56:[8, 6, 4], Operations: ['27-23=4'] Exploring Operation: 8+6=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 8+6=14 Current State: 56:[4, 14], Operations: ['27-23=4', '8+6=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[27, 8, 6, 23], Operations: [] Exploring Operation: 6+23=29, Resulting Numbers: [27, 8, 29] Generated Node #0,0: 56:[27, 8, 29] Operation: 6+23=29 Exploring Operation: 27-23=4, Resulting Numbers: [8, 6, 4] Generated Node #0,1: 56:[8, 6, 4] Operation: 27-23=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[8, 6, 4], Operations: ['27-23=4'] Exploring Operation: 8-6=2, Resulting Numbers: [4, 2] Generated Node #0,1,0: 56:[4, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 56:[4, 14] Operation: 8+6=14 Moving to Node #0,1,0 Current State: 56:[4, 2], Operations: ['27-23=4', '8-6=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[4, 14], Operations: ['27-23=4', '8+6=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[27, 8, 6, 23], Operations: [] Exploring Operation: 27-23=4, Resulting Numbers: [8, 6, 4] Generated Node #0,1: 56:[8, 6, 4] Operation: 27-23=4 Moving to Node #0,1 Current State: 56:[8, 6, 4], Operations: ['27-23=4'] Exploring Operation: 8+6=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 56:[4, 14] Operation: 8+6=14 Moving to Node #0,1,1 Current State: 56:[4, 14], Operations: ['27-23=4', '8+6=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 3, 16, 29, 26 ]
68
[ "16-3=13", "29+26=55", "13+55=68" ]
Current State: 68:[3, 16, 29, 26], Operations: [] Exploring Operation: 16-3=13, Resulting Numbers: [29, 26, 13] Generated Node #2: [29, 26, 13] from Operation: 16-3=13 Current State: 68:[29, 26, 13], Operations: ['16-3=13'] Exploring Operation: 29+26=55, Resulting Numbers: [13, 55] Generated Node #3: [13, 55] from Operation: 29+26=55 Current State: 68:[13, 55], Operations: ['16-3=13', '29+26=55'] Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[3, 16, 29, 26], Operations: [] Exploring Operation: 26-16=10, Resulting Numbers: [3, 29, 10] Generated Node #0,0: 68:[3, 29, 10] Operation: 26-16=10 Exploring Operation: 29-26=3, Resulting Numbers: [3, 16, 3] Generated Node #0,1: 68:[3, 16, 3] Operation: 29-26=3 Exploring Operation: 3+29=32, Resulting Numbers: [16, 26, 32] Generated Node #0,2: 68:[16, 26, 32] Operation: 3+29=32 Exploring Operation: 3+26=29, Resulting Numbers: [16, 29, 29] Generated Node #0,3: 68:[16, 29, 29] Operation: 3+26=29 Exploring Operation: 26-3=23, Resulting Numbers: [16, 29, 23] Generated Node #0,4: 68:[16, 29, 23] Operation: 26-3=23 Moving to Node #0,1 Current State: 68:[3, 16, 3], Operations: ['29-26=3'] Exploring Operation: 3+16=19, Resulting Numbers: [3, 19] Generated Node #0,1,0: 68:[3, 19] Operation: 3+16=19 Exploring Operation: 3/3=1, Resulting Numbers: [16, 1] Generated Node #0,1,1: 68:[16, 1] Operation: 3/3=1 Exploring Operation: 16+3=19, Resulting Numbers: [3, 19] Generated Node #0,1,2: 68:[3, 19] Operation: 16+3=19 Exploring Operation: 3-3=0, Resulting Numbers: [16, 0] Generated Node #0,1,3: 68:[16, 0] Operation: 3-3=0 Exploring Operation: 3+3=6, Resulting Numbers: [16, 6] Generated Node #0,1,4: 68:[16, 6] Operation: 3+3=6 Moving to Node #0,3 Current State: 68:[16, 29, 29], Operations: ['3+26=29'] Exploring Operation: 29-16=13, Resulting Numbers: [29, 13] Generated Node #0,3,0: 68:[29, 13] Operation: 29-16=13 Exploring Operation: 29+29=58, Resulting Numbers: [16, 58] Generated Node #0,3,1: 68:[16, 58] Operation: 29+29=58 Exploring Operation: 29/29=1, Resulting Numbers: [16, 1] Generated Node #0,3,2: 68:[16, 1] Operation: 29/29=1 Exploring Operation: 29-16=13, Resulting Numbers: [29, 13] Generated Node #0,3,3: 68:[29, 13] Operation: 29-16=13 Exploring Operation: 29-29=0, Resulting Numbers: [16, 0] Generated Node #0,3,4: 68:[16, 0] Operation: 29-29=0 Moving to Node #0,2 Current State: 68:[16, 26, 32], Operations: ['3+29=32'] Exploring Operation: 32/16=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 68:[26, 2] Operation: 32/16=2 Exploring Operation: 32-16=16, Resulting Numbers: [26, 16] Generated Node #0,2,1: 68:[26, 16] Operation: 32-16=16 Exploring Operation: 26-16=10, Resulting Numbers: [32, 10] Generated Node #0,2,2: 68:[32, 10] Operation: 26-16=10 Exploring Operation: 32-26=6, Resulting Numbers: [16, 6] Generated Node #0,2,3: 68:[16, 6] Operation: 32-26=6 Exploring Operation: 16+26=42, Resulting Numbers: [32, 42] Generated Node #0,2,4: 68:[32, 42] Operation: 16+26=42 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[16, 6], Operations: ['3+29=32', '32-26=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,68 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[26, 2], Operations: ['3+29=32', '32/16=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,68 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,68 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[32, 10], Operations: ['3+29=32', '26-16=10'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,68 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[26, 16], Operations: ['3+29=32', '32-16=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[32, 42], Operations: ['3+29=32', '16+26=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,68 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 68:[3, 29, 10], Operations: ['26-16=10'] Exploring Operation: 29-10=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 68:[3, 19] Operation: 29-10=19 Exploring Operation: 3+29=32, Resulting Numbers: [10, 32] Generated Node #0,0,1: 68:[10, 32] Operation: 3+29=32 Exploring Operation: 29+10=39, Resulting Numbers: [3, 39] Generated Node #0,0,2: 68:[3, 39] Operation: 29+10=39 Exploring Operation: 3+10=13, Resulting Numbers: [29, 13] Generated Node #0,0,3: 68:[29, 13] Operation: 3+10=13 Exploring Operation: 10-3=7, Resulting Numbers: [29, 7] Generated Node #0,0,4: 68:[29, 7] Operation: 10-3=7 Moving to Node #0,4 Current State: 68:[16, 29, 23], Operations: ['26-3=23'] Exploring Operation: 23-16=7, Resulting Numbers: [29, 7] Generated Node #0,4,0: 68:[29, 7] Operation: 23-16=7 Exploring Operation: 16+29=45, Resulting Numbers: [23, 45] Generated Node #0,4,1: 68:[23, 45] Operation: 16+29=45 Exploring Operation: 29-23=6, Resulting Numbers: [16, 6] Generated Node #0,4,2: 68:[16, 6] Operation: 29-23=6 Exploring Operation: 29-16=13, Resulting Numbers: [23, 13] Generated Node #0,4,3: 68:[23, 13] Operation: 29-16=13 Exploring Operation: 16+23=39, Resulting Numbers: [29, 39] Generated Node #0,4,4: 68:[29, 39] Operation: 16+23=39 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 68:[16, 6], Operations: ['26-3=23', '29-23=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,68 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 68:[29, 7], Operations: ['26-3=23', '23-16=7'] Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,68 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[23, 13], Operations: ['26-3=23', '29-16=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,68 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 68:[29, 39], Operations: ['26-3=23', '16+23=39'] Exploring Operation: 39-29=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[3, 16, 29, 26], Operations: [] Exploring Operation: 26-3=23, Resulting Numbers: [16, 29, 23] Generated Node #0,4: 68:[16, 29, 23] Operation: 26-3=23 Moving to Node #0,4 Current State: 68:[16, 29, 23], Operations: ['26-3=23'] Exploring Operation: 16+23=39, Resulting Numbers: [29, 39] Generated Node #0,4,4: 68:[29, 39] Operation: 16+23=39 Moving to Node #0,4,4 Current State: 68:[29, 39], Operations: ['26-3=23', '16+23=39'] Exploring Operation: 29+39=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_5
mult_heuristic
[ 50, 70, 75, 11 ]
56
[ "50+70=120", "75-11=64", "120-64=56" ]
Current State: 56:[50, 70, 75, 11], Operations: [] Exploring Operation: 50+70=120, Resulting Numbers: [75, 11, 120] Generated Node #2: [75, 11, 120] from Operation: 50+70=120 Current State: 56:[75, 11, 120], Operations: ['50+70=120'] Exploring Operation: 75-11=64, Resulting Numbers: [120, 64] Generated Node #3: [120, 64] from Operation: 75-11=64 Current State: 56:[120, 64], Operations: ['50+70=120', '75-11=64'] Exploring Operation: 120-64=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[50, 70, 75, 11], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [70, 11, 25] Generated Node #0,0: 56:[70, 11, 25] Operation: 75-50=25 Exploring Operation: 75-70=5, Resulting Numbers: [50, 11, 5] Generated Node #0,1: 56:[50, 11, 5] Operation: 75-70=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[50, 11, 5], Operations: ['75-70=5'] Exploring Operation: 50+5=55, Resulting Numbers: [11, 55] Generated Node #0,1,0: 56:[11, 55] Operation: 50+5=55 Exploring Operation: 50/5=10, Resulting Numbers: [11, 10] Generated Node #0,1,1: 56:[11, 10] Operation: 50/5=10 Moving to Node #0,1,0 Current State: 56:[11, 55], Operations: ['75-70=5', '50+5=55'] Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[11, 10], Operations: ['75-70=5', '50/5=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[70, 11, 25], Operations: ['75-50=25'] Exploring Operation: 70-25=45, Resulting Numbers: [11, 45] Generated Node #0,0,0: 56:[11, 45] Operation: 70-25=45 Exploring Operation: 70-11=59, Resulting Numbers: [25, 59] Generated Node #0,0,1: 56:[25, 59] Operation: 70-11=59 Moving to Node #0,0,1 Current State: 56:[25, 59], Operations: ['75-50=25', '70-11=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,56 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[11, 45], Operations: ['75-50=25', '70-25=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[50, 70, 75, 11], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [70, 11, 25] Generated Node #0,0: 56:[70, 11, 25] Operation: 75-50=25 Moving to Node #0,0 Current State: 56:[70, 11, 25], Operations: ['75-50=25'] Exploring Operation: 70-25=45, Resulting Numbers: [11, 45] Generated Node #0,0,0: 56:[11, 45] Operation: 70-25=45 Moving to Node #0,0,0 Current State: 56:[11, 45], Operations: ['75-50=25', '70-25=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 31, 53, 69, 64 ]
79
[ "31+53=84", "69-64=5", "84-5=79" ]
Current State: 79:[31, 53, 69, 64], Operations: [] Exploring Operation: 31+53=84, Resulting Numbers: [69, 64, 84] Generated Node #2: [69, 64, 84] from Operation: 31+53=84 Current State: 79:[69, 64, 84], Operations: ['31+53=84'] Exploring Operation: 69-64=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 69-64=5 Current State: 79:[84, 5], Operations: ['31+53=84', '69-64=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[31, 53, 69, 64], Operations: [] Exploring Operation: 31+53=84, Resulting Numbers: [69, 64, 84] Generated Node #0,0: 79:[69, 64, 84] Operation: 31+53=84 Exploring Operation: 31+69=100, Resulting Numbers: [53, 64, 100] Generated Node #0,1: 79:[53, 64, 100] Operation: 31+69=100 Exploring Operation: 31+64=95, Resulting Numbers: [53, 69, 95] Generated Node #0,2: 79:[53, 69, 95] Operation: 31+64=95 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[69, 64, 84], Operations: ['31+53=84'] Exploring Operation: 69-64=5, Resulting Numbers: [84, 5] Generated Node #0,0,0: 79:[84, 5] Operation: 69-64=5 Exploring Operation: 69+64=133, Resulting Numbers: [84, 133] Generated Node #0,0,1: 79:[84, 133] Operation: 69+64=133 Exploring Operation: 84-64=20, Resulting Numbers: [69, 20] Generated Node #0,0,2: 79:[69, 20] Operation: 84-64=20 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[84, 133], Operations: ['31+53=84', '69+64=133'] Exploring Operation: 133-84=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 84*133=11172, Resulting Numbers: [11172] 11172,79 unequal: No Solution Exploring Operation: 84+133=217, Resulting Numbers: [217] 217,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[69, 20], Operations: ['31+53=84', '84-64=20'] Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,79 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[84, 5], Operations: ['31+53=84', '69-64=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,79 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[31, 53, 69, 64], Operations: [] Exploring Operation: 31+53=84, Resulting Numbers: [69, 64, 84] Generated Node #0,0: 79:[69, 64, 84] Operation: 31+53=84 Moving to Node #0,0 Current State: 79:[69, 64, 84], Operations: ['31+53=84'] Exploring Operation: 69-64=5, Resulting Numbers: [84, 5] Generated Node #0,0,0: 79:[84, 5] Operation: 69-64=5 Moving to Node #0,0,0 Current State: 79:[84, 5], Operations: ['31+53=84', '69-64=5'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 36, 4, 35, 60 ]
86
[ "36/4=9", "35+60=95", "95-9=86" ]
Current State: 86:[36, 4, 35, 60], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [35, 60, 9] Generated Node #2: [35, 60, 9] from Operation: 36/4=9 Current State: 86:[35, 60, 9], Operations: ['36/4=9'] Exploring Operation: 35+60=95, Resulting Numbers: [9, 95] Generated Node #3: [9, 95] from Operation: 35+60=95 Current State: 86:[9, 95], Operations: ['36/4=9', '35+60=95'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[36, 4, 35, 60], Operations: [] Exploring Operation: 35+60=95, Resulting Numbers: [36, 4, 95] Generated Node #0,0: 86:[36, 4, 95] Operation: 35+60=95 Moving to Node #0,0 Current State: 86:[36, 4, 95], Operations: ['35+60=95'] Exploring Operation: 36+4=40, Resulting Numbers: [95, 40] Generated Node #0,0,0: 86:[95, 40] Operation: 36+4=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[95, 40], Operations: ['35+60=95', '36+4=40'] Exploring Operation: 95-40=55, Resulting Numbers: [55] 55,86 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
[ 47, 22, 66, 57 ]
13
[ "57-47=10", "66/22=3", "10+3=13" ]
Current State: 13:[47, 22, 66, 57], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [22, 66, 10] Generated Node #2: [22, 66, 10] from Operation: 57-47=10 Current State: 13:[22, 66, 10], Operations: ['57-47=10'] Exploring Operation: 66/22=3, Resulting Numbers: [10, 3] Generated Node #3: [10, 3] from Operation: 66/22=3 Current State: 13:[10, 3], Operations: ['57-47=10', '66/22=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[47, 22, 66, 57], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [47, 22, 9] Generated Node #0,0: 13:[47, 22, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[47, 22, 9], Operations: ['66-57=9'] Exploring Operation: 47-22=25, Resulting Numbers: [9, 25] Generated Node #0,0,0: 13:[9, 25] Operation: 47-22=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[9, 25], Operations: ['66-57=9', '47-22=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,13 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
[ 79, 94, 2, 47 ]
79
[ "79+94=173", "2*47=94", "173-94=79" ]
Current State: 79:[79, 94, 2, 47], Operations: [] Exploring Operation: 79+94=173, Resulting Numbers: [2, 47, 173] Generated Node #2: [2, 47, 173] from Operation: 79+94=173 Current State: 79:[2, 47, 173], Operations: ['79+94=173'] Exploring Operation: 2*47=94, Resulting Numbers: [173, 94] Generated Node #3: [173, 94] from Operation: 2*47=94 Current State: 79:[173, 94], Operations: ['79+94=173', '2*47=94'] Exploring Operation: 173-94=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[79, 94, 2, 47], Operations: [] Exploring Operation: 2*47=94, Resulting Numbers: [79, 94, 94] Generated Node #0,0: 79:[79, 94, 94] Operation: 2*47=94 Moving to Node #0,0 Current State: 79:[79, 94, 94], Operations: ['2*47=94'] Exploring Operation: 94/94=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 79:[79, 1] Operation: 94/94=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[79, 1], Operations: ['2*47=94', '94/94=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[79, 94, 2, 47], Operations: [] Exploring Operation: 2*47=94, Resulting Numbers: [79, 94, 94] Generated Node #0,0: 79:[79, 94, 94] Operation: 2*47=94 Moving to Node #0,0 Current State: 79:[79, 94, 94], Operations: ['2*47=94'] Exploring Operation: 94/94=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 79:[79, 1] Operation: 94/94=1 Moving to Node #0,0,0 Current State: 79:[79, 1], Operations: ['2*47=94', '94/94=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 83, 74, 32, 51 ]
74
[ "83+74=157", "32+51=83", "157-83=74" ]
Current State: 74:[83, 74, 32, 51], Operations: [] Exploring Operation: 83+74=157, Resulting Numbers: [32, 51, 157] Generated Node #2: [32, 51, 157] from Operation: 83+74=157 Current State: 74:[32, 51, 157], Operations: ['83+74=157'] Exploring Operation: 32+51=83, Resulting Numbers: [157, 83] Generated Node #3: [157, 83] from Operation: 32+51=83 Current State: 74:[157, 83], Operations: ['83+74=157', '32+51=83'] Exploring Operation: 157-83=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[83, 74, 32, 51], Operations: [] Exploring Operation: 32+51=83, Resulting Numbers: [83, 74, 83] Generated Node #0,0: 74:[83, 74, 83] Operation: 32+51=83 Exploring Operation: 83-51=32, Resulting Numbers: [74, 32, 32] Generated Node #0,1: 74:[74, 32, 32] Operation: 83-51=32 Moving to Node #0,1 Current State: 74:[74, 32, 32], Operations: ['83-51=32'] Exploring Operation: 32-32=0, Resulting Numbers: [74, 0] Generated Node #0,1,0: 74:[74, 0] Operation: 32-32=0 Exploring Operation: 32/32=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 74:[74, 1] Operation: 32/32=1 Moving to Node #0,0 Current State: 74:[83, 74, 83], Operations: ['32+51=83'] Exploring Operation: 83/83=1, Resulting Numbers: [74, 1] Generated Node #0,0,0: 74:[74, 1] Operation: 83/83=1 Exploring Operation: 83-83=0, Resulting Numbers: [74, 0] Generated Node #0,0,1: 74:[74, 0] Operation: 83-83=0 Moving to Node #0,1,1 Current State: 74:[74, 1], Operations: ['83-51=32', '32/32=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[83, 74, 32, 51], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [74, 32, 32] Generated Node #0,1: 74:[74, 32, 32] Operation: 83-51=32 Moving to Node #0,1 Current State: 74:[74, 32, 32], Operations: ['83-51=32'] Exploring Operation: 32/32=1, Resulting Numbers: [74, 1] Generated Node #0,1,1: 74:[74, 1] Operation: 32/32=1 Moving to Node #0,1,1 Current State: 74:[74, 1], Operations: ['83-51=32', '32/32=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 59, 75, 84, 63 ]
52
[ "84-75=9", "63/9=7", "59-7=52" ]
Current State: 52:[59, 75, 84, 63], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [59, 63, 9] Generated Node #2: [59, 63, 9] from Operation: 84-75=9 Current State: 52:[59, 63, 9], Operations: ['84-75=9'] Exploring Operation: 63/9=7, Resulting Numbers: [59, 7] Generated Node #3: [59, 7] from Operation: 63/9=7 Current State: 52:[59, 7], Operations: ['84-75=9', '63/9=7'] Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[59, 75, 84, 63], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [59, 63, 9] Generated Node #0,0: 52:[59, 63, 9] Operation: 84-75=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[59, 63, 9], Operations: ['84-75=9'] Exploring Operation: 63-59=4, Resulting Numbers: [9, 4] Generated Node #0,0,0: 52:[9, 4] Operation: 63-59=4 Moving to Node #0,0,0 Current State: 52:[9, 4], Operations: ['84-75=9', '63-59=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 64, 48, 88, 43 ]
67
[ "64+48=112", "88-43=45", "112-45=67" ]
Current State: 67:[64, 48, 88, 43], Operations: [] Exploring Operation: 64+48=112, Resulting Numbers: [88, 43, 112] Generated Node #2: [88, 43, 112] from Operation: 64+48=112 Current State: 67:[88, 43, 112], Operations: ['64+48=112'] Exploring Operation: 88-43=45, Resulting Numbers: [112, 45] Generated Node #3: [112, 45] from Operation: 88-43=45 Current State: 67:[112, 45], Operations: ['64+48=112', '88-43=45'] Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[64, 48, 88, 43], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [64, 43, 40] Generated Node #0,0: 67:[64, 43, 40] Operation: 88-48=40 Exploring Operation: 88-43=45, Resulting Numbers: [64, 48, 45] Generated Node #0,1: 67:[64, 48, 45] Operation: 88-43=45 Exploring Operation: 48+43=91, Resulting Numbers: [64, 88, 91] Generated Node #0,2: 67:[64, 88, 91] Operation: 48+43=91 Moving to Node #0,1 Current State: 67:[64, 48, 45], Operations: ['88-43=45'] Exploring Operation: 64+45=109, Resulting Numbers: [48, 109] Generated Node #0,1,0: 67:[48, 109] Operation: 64+45=109 Exploring Operation: 64+48=112, Resulting Numbers: [45, 112] Generated Node #0,1,1: 67:[45, 112] Operation: 64+48=112 Exploring Operation: 48+45=93, Resulting Numbers: [64, 93] Generated Node #0,1,2: 67:[64, 93] Operation: 48+45=93 Moving to Node #0,2 Current State: 67:[64, 88, 91], Operations: ['48+43=91'] Exploring Operation: 91-88=3, Resulting Numbers: [64, 3] Generated Node #0,2,0: 67:[64, 3] Operation: 91-88=3 Exploring Operation: 88-64=24, Resulting Numbers: [91, 24] Generated Node #0,2,1: 67:[91, 24] Operation: 88-64=24 Exploring Operation: 91-64=27, Resulting Numbers: [88, 27] Generated Node #0,2,2: 67:[88, 27] Operation: 91-64=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[88, 27], Operations: ['48+43=91', '91-64=27'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[64, 3], Operations: ['48+43=91', '91-88=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[64, 48, 88, 43], Operations: [] Exploring Operation: 48+43=91, Resulting Numbers: [64, 88, 91] Generated Node #0,2: 67:[64, 88, 91] Operation: 48+43=91 Moving to Node #0,2 Current State: 67:[64, 88, 91], Operations: ['48+43=91'] Exploring Operation: 91-88=3, Resulting Numbers: [64, 3] Generated Node #0,2,0: 67:[64, 3] Operation: 91-88=3 Moving to Node #0,2,0 Current State: 67:[64, 3], Operations: ['48+43=91', '91-88=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 43, 52, 83, 71 ]
70
[ "43*83=3569", "71+3569=3640", "3640/52=70" ]
Current State: 70:[43, 52, 83, 71], Operations: [] Exploring Operation: 43*83=3569, Resulting Numbers: [52, 71, 3569] Generated Node #2: [52, 71, 3569] from Operation: 43*83=3569 Current State: 70:[52, 71, 3569], Operations: ['43*83=3569'] Exploring Operation: 71+3569=3640, Resulting Numbers: [52, 3640] Generated Node #3: [52, 3640] from Operation: 71+3569=3640 Current State: 70:[52, 3640], Operations: ['43*83=3569', '71+3569=3640'] Exploring Operation: 3640/52=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[43, 52, 83, 71], Operations: [] Exploring Operation: 52-43=9, Resulting Numbers: [83, 71, 9] Generated Node #0,0: 70:[83, 71, 9] Operation: 52-43=9 Exploring Operation: 83-52=31, Resulting Numbers: [43, 71, 31] Generated Node #0,1: 70:[43, 71, 31] Operation: 83-52=31 Exploring Operation: 83-43=40, Resulting Numbers: [52, 71, 40] Generated Node #0,2: 70:[52, 71, 40] Operation: 83-43=40 Moving to Node #0,1 Current State: 70:[43, 71, 31], Operations: ['83-52=31'] Exploring Operation: 43+31=74, Resulting Numbers: [71, 74] Generated Node #0,1,0: 70:[71, 74] Operation: 43+31=74 Exploring Operation: 71-43=28, Resulting Numbers: [31, 28] Generated Node #0,1,1: 70:[31, 28] Operation: 71-43=28 Exploring Operation: 43-31=12, Resulting Numbers: [71, 12] Generated Node #0,1,2: 70:[71, 12] Operation: 43-31=12 Moving to Node #0,0 Current State: 70:[83, 71, 9], Operations: ['52-43=9'] Exploring Operation: 83-9=74, Resulting Numbers: [71, 74] Generated Node #0,0,0: 70:[71, 74] Operation: 83-9=74 Exploring Operation: 71-9=62, Resulting Numbers: [83, 62] Generated Node #0,0,1: 70:[83, 62] Operation: 71-9=62 Exploring Operation: 83-71=12, Resulting Numbers: [9, 12] Generated Node #0,0,2: 70:[9, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[9, 12], Operations: ['52-43=9', '83-71=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[71, 74], Operations: ['52-43=9', '83-9=74'] Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,70 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[83, 62], Operations: ['52-43=9', '71-9=62'] Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,70 unequal: No Solution Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,70 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: 70:[52, 71, 40], Operations: ['83-43=40'] Exploring Operation: 71-40=31, Resulting Numbers: [52, 31] Generated Node #0,2,0: 70:[52, 31] Operation: 71-40=31 Exploring Operation: 71-52=19, Resulting Numbers: [40, 19] Generated Node #0,2,1: 70:[40, 19] Operation: 71-52=19 Exploring Operation: 52-40=12, Resulting Numbers: [71, 12] Generated Node #0,2,2: 70:[71, 12] Operation: 52-40=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[71, 12], Operations: ['83-43=40', '52-40=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,70 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[40, 19], Operations: ['83-43=40', '71-52=19'] Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,70 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[52, 31], Operations: ['83-43=40', '71-40=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,70 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,70 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: 70:[71, 12], Operations: ['83-52=31', '43-31=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[71, 74], Operations: ['83-52=31', '43+31=74'] Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,70 unequal: No Solution Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[31, 28], Operations: ['83-52=31', '71-43=28'] Exploring Operation: 31+28=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 31*28=868, Resulting Numbers: [868] 868,70 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 79, 45, 20, 90 ]
61
[ "79-20=59", "90/45=2", "59+2=61" ]
Current State: 61:[79, 45, 20, 90], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [45, 90, 59] Generated Node #2: [45, 90, 59] from Operation: 79-20=59 Current State: 61:[45, 90, 59], Operations: ['79-20=59'] Exploring Operation: 90/45=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 90/45=2 Current State: 61:[59, 2], Operations: ['79-20=59', '90/45=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[79, 45, 20, 90], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [45, 90, 59] Generated Node #0,0: 61:[45, 90, 59] Operation: 79-20=59 Exploring Operation: 79+20=99, Resulting Numbers: [45, 90, 99] Generated Node #0,1: 61:[45, 90, 99] Operation: 79+20=99 Exploring Operation: 90-20=70, Resulting Numbers: [79, 45, 70] Generated Node #0,2: 61:[79, 45, 70] Operation: 90-20=70 Exploring Operation: 45+20=65, Resulting Numbers: [79, 90, 65] Generated Node #0,3: 61:[79, 90, 65] Operation: 45+20=65 Exploring Operation: 90-45=45, Resulting Numbers: [79, 20, 45] Generated Node #0,4: 61:[79, 20, 45] Operation: 90-45=45 Moving to Node #0,2 Current State: 61:[79, 45, 70], Operations: ['90-20=70'] Exploring Operation: 70-45=25, Resulting Numbers: [79, 25] Generated Node #0,2,0: 61:[79, 25] Operation: 70-45=25 Exploring Operation: 79-70=9, Resulting Numbers: [45, 9] Generated Node #0,2,1: 61:[45, 9] Operation: 79-70=9 Exploring Operation: 45+70=115, Resulting Numbers: [79, 115] Generated Node #0,2,2: 61:[79, 115] Operation: 45+70=115 Exploring Operation: 79-45=34, Resulting Numbers: [70, 34] Generated Node #0,2,3: 61:[70, 34] Operation: 79-45=34 Exploring Operation: 79+45=124, Resulting Numbers: [70, 124] Generated Node #0,2,4: 61:[70, 124] Operation: 79+45=124 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[70, 34], Operations: ['90-20=70', '79-45=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,61 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[79, 25], Operations: ['90-20=70', '70-45=25'] Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,61 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[45, 9], Operations: ['90-20=70', '79-70=9'] Exploring Operation: 45-9=36, Resulting Numbers: [36] 36,61 unequal: No Solution Exploring Operation: 45+9=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 45/9=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 45*9=405, Resulting Numbers: [405] 405,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[79, 115], Operations: ['90-20=70', '45+70=115'] Exploring Operation: 79+115=194, Resulting Numbers: [194] 194,61 unequal: No Solution Exploring Operation: 79*115=9085, Resulting Numbers: [9085] 9085,61 unequal: No Solution Exploring Operation: 115-79=36, Resulting Numbers: [36] 36,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 61:[70, 124], Operations: ['90-20=70', '79+45=124'] Exploring Operation: 124-70=54, Resulting Numbers: [54] 54,61 unequal: No Solution Exploring Operation: 70+124=194, Resulting Numbers: [194] 194,61 unequal: No Solution Exploring Operation: 70*124=8680, Resulting Numbers: [8680] 8680,61 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: 61:[45, 90, 59], Operations: ['79-20=59'] Exploring Operation: 90/45=2, Resulting Numbers: [59, 2] Generated Node #0,0,0: 61:[59, 2] Operation: 90/45=2 Exploring Operation: 45+90=135, Resulting Numbers: [59, 135] Generated Node #0,0,1: 61:[59, 135] Operation: 45+90=135 Exploring Operation: 45+59=104, Resulting Numbers: [90, 104] Generated Node #0,0,2: 61:[90, 104] Operation: 45+59=104 Exploring Operation: 90-59=31, Resulting Numbers: [45, 31] Generated Node #0,0,3: 61:[45, 31] Operation: 90-59=31 Exploring Operation: 90-45=45, Resulting Numbers: [59, 45] Generated Node #0,0,4: 61:[59, 45] Operation: 90-45=45 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 61:[59, 45], Operations: ['79-20=59', '90-45=45'] Exploring Operation: 59+45=104, Resulting Numbers: [104] 104,61 unequal: No Solution Exploring Operation: 59*45=2655, Resulting Numbers: [2655] 2655,61 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 61:[45, 31], Operations: ['79-20=59', '90-59=31'] Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,61 unequal: No Solution Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,61 unequal: No Solution Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[59, 2], Operations: ['79-20=59', '90/45=2'] Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[79, 45, 20, 90], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [45, 90, 59] Generated Node #0,0: 61:[45, 90, 59] Operation: 79-20=59 Moving to Node #0,0 Current State: 61:[45, 90, 59], Operations: ['79-20=59'] Exploring Operation: 90/45=2, Resulting Numbers: [59, 2] Generated Node #0,0,0: 61:[59, 2] Operation: 90/45=2 Moving to Node #0,0,0 Current State: 61:[59, 2], Operations: ['79-20=59', '90/45=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 30, 91, 90, 30 ]
93
[ "90-30=60", "60/30=2", "91+2=93" ]
Current State: 93:[30, 91, 90, 30], Operations: [] Exploring Operation: 90-30=60, Resulting Numbers: [91, 60] Generated Node #2: [91, 60] from Operation: 90-30=60 Current State: 93:[91, 60], Operations: ['90-30=60'] Exploring Operation: 60/30=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 60/30=2 Current State: 93:[91, 2], Operations: ['90-30=60', '60/30=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[30, 91, 90, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [91, 30, 3] Generated Node #0,0: 93:[91, 30, 3] Operation: 90/30=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[91, 30, 3], Operations: ['90/30=3'] Exploring Operation: 91+3=94, Resulting Numbers: [30, 94] Generated Node #0,0,0: 93:[30, 94] Operation: 91+3=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[30, 94], Operations: ['90/30=3', '91+3=94'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 28, 66, 49 ]
31
[ "20+28=48", "66-49=17", "48-17=31" ]
Current State: 31:[20, 28, 66, 49], Operations: [] Exploring Operation: 20+28=48, Resulting Numbers: [66, 49, 48] Generated Node #2: [66, 49, 48] from Operation: 20+28=48 Current State: 31:[66, 49, 48], Operations: ['20+28=48'] Exploring Operation: 66-49=17, Resulting Numbers: [48, 17] Generated Node #3: [48, 17] from Operation: 66-49=17 Current State: 31:[48, 17], Operations: ['20+28=48', '66-49=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 28, 66, 49], Operations: [] Exploring Operation: 66-49=17, Resulting Numbers: [20, 28, 17] Generated Node #0,0: 31:[20, 28, 17] Operation: 66-49=17 Moving to Node #0,0 Current State: 31:[20, 28, 17], Operations: ['66-49=17'] Exploring Operation: 20+17=37, Resulting Numbers: [28, 37] Generated Node #0,0,0: 31:[28, 37] Operation: 20+17=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[28, 37], Operations: ['66-49=17', '20+17=37'] Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 26, 93, 70 ]
99
[ "26+70=96", "2*96=192", "192-93=99" ]
Current State: 99:[2, 26, 93, 70], Operations: [] Exploring Operation: 26+70=96, Resulting Numbers: [2, 93, 96] Generated Node #2: [2, 93, 96] from Operation: 26+70=96 Current State: 99:[2, 93, 96], Operations: ['26+70=96'] Exploring Operation: 2*96=192, Resulting Numbers: [93, 192] Generated Node #3: [93, 192] from Operation: 2*96=192 Current State: 99:[93, 192], Operations: ['26+70=96', '2*96=192'] Exploring Operation: 192-93=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[2, 26, 93, 70], Operations: [] Exploring Operation: 26+70=96, Resulting Numbers: [2, 93, 96] Generated Node #0,0: 99:[2, 93, 96] Operation: 26+70=96 Exploring Operation: 70/2=35, Resulting Numbers: [26, 93, 35] Generated Node #0,1: 99:[26, 93, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 99:[2, 93, 96], Operations: ['26+70=96'] Exploring Operation: 96-93=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 99:[2, 3] Operation: 96-93=3 Exploring Operation: 2+93=95, Resulting Numbers: [96, 95] Generated Node #0,0,1: 99:[96, 95] Operation: 2+93=95 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[2, 3], Operations: ['26+70=96', '96-93=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,99 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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,0,1 Current State: 99:[96, 95], Operations: ['26+70=96', '2+93=95'] Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,99 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,99 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: 99:[26, 93, 35], Operations: ['70/2=35'] Exploring Operation: 35-26=9, Resulting Numbers: [93, 9] Generated Node #0,1,0: 99:[93, 9] Operation: 35-26=9 Exploring Operation: 26+93=119, Resulting Numbers: [35, 119] Generated Node #0,1,1: 99:[35, 119] Operation: 26+93=119 Moving to Node #0,1,0 Current State: 99:[93, 9], Operations: ['70/2=35', '35-26=9'] Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,99 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[35, 119], Operations: ['70/2=35', '26+93=119'] Exploring Operation: 119-35=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 35+119=154, Resulting Numbers: [154] 154,99 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 78, 38, 61, 90 ]
69
[ "78-38=40", "90-61=29", "40+29=69" ]
Current State: 69:[78, 38, 61, 90], Operations: [] Exploring Operation: 78-38=40, Resulting Numbers: [61, 90, 40] Generated Node #2: [61, 90, 40] from Operation: 78-38=40 Current State: 69:[61, 90, 40], Operations: ['78-38=40'] Exploring Operation: 90-61=29, Resulting Numbers: [40, 29] Generated Node #3: [40, 29] from Operation: 90-61=29 Current State: 69:[40, 29], Operations: ['78-38=40', '90-61=29'] Exploring Operation: 40+29=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[78, 38, 61, 90], Operations: [] Exploring Operation: 78-61=17, Resulting Numbers: [38, 90, 17] Generated Node #0,0: 69:[38, 90, 17] Operation: 78-61=17 Exploring Operation: 90-61=29, Resulting Numbers: [78, 38, 29] Generated Node #0,1: 69:[78, 38, 29] Operation: 90-61=29 Exploring Operation: 61-38=23, Resulting Numbers: [78, 90, 23] Generated Node #0,2: 69:[78, 90, 23] Operation: 61-38=23 Exploring Operation: 90-38=52, Resulting Numbers: [78, 61, 52] Generated Node #0,3: 69:[78, 61, 52] Operation: 90-38=52 Exploring Operation: 90-78=12, Resulting Numbers: [38, 61, 12] Generated Node #0,4: 69:[38, 61, 12] Operation: 90-78=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[78, 38, 29], Operations: ['90-61=29'] Exploring Operation: 78-38=40, Resulting Numbers: [29, 40] Generated Node #0,1,0: 69:[29, 40] Operation: 78-38=40 Exploring Operation: 78+38=116, Resulting Numbers: [29, 116] Generated Node #0,1,1: 69:[29, 116] Operation: 78+38=116 Exploring Operation: 78-29=49, Resulting Numbers: [38, 49] Generated Node #0,1,2: 69:[38, 49] Operation: 78-29=49 Exploring Operation: 38+29=67, Resulting Numbers: [78, 67] Generated Node #0,1,3: 69:[78, 67] Operation: 38+29=67 Exploring Operation: 38-29=9, Resulting Numbers: [78, 9] Generated Node #0,1,4: 69:[78, 9] Operation: 38-29=9 Moving to Node #0,1,3 Current State: 69:[78, 67], Operations: ['90-61=29', '38+29=67'] Exploring Operation: 78*67=5226, Resulting Numbers: [5226] 5226,69 unequal: No Solution Exploring Operation: 78+67=145, Resulting Numbers: [145] 145,69 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[78, 9], Operations: ['90-61=29', '38-29=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[78, 38, 61, 90], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [78, 38, 29] Generated Node #0,1: 69:[78, 38, 29] Operation: 90-61=29 Moving to Node #0,1 Current State: 69:[78, 38, 29], Operations: ['90-61=29'] Exploring Operation: 38-29=9, Resulting Numbers: [78, 9] Generated Node #0,1,4: 69:[78, 9] Operation: 38-29=9 Moving to Node #0,1,4 Current State: 69:[78, 9], Operations: ['90-61=29', '38-29=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 77, 93, 51, 85 ]
53
[ "77+93=170", "170/85=2", "51+2=53" ]
Current State: 53:[77, 93, 51, 85], Operations: [] Exploring Operation: 77+93=170, Resulting Numbers: [51, 85, 170] Generated Node #2: [51, 85, 170] from Operation: 77+93=170 Current State: 53:[51, 85, 170], Operations: ['77+93=170'] Exploring Operation: 170/85=2, Resulting Numbers: [51, 2] Generated Node #3: [51, 2] from Operation: 170/85=2 Current State: 53:[51, 2], Operations: ['77+93=170', '170/85=2'] Exploring Operation: 51+2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[77, 93, 51, 85], Operations: [] Exploring Operation: 93-77=16, Resulting Numbers: [51, 85, 16] Generated Node #0,0: 53:[51, 85, 16] Operation: 93-77=16 Exploring Operation: 93-85=8, Resulting Numbers: [77, 51, 8] Generated Node #0,1: 53:[77, 51, 8] Operation: 93-85=8 Exploring Operation: 93-51=42, Resulting Numbers: [77, 85, 42] Generated Node #0,2: 53:[77, 85, 42] Operation: 93-51=42 Exploring Operation: 85-77=8, Resulting Numbers: [93, 51, 8] Generated Node #0,3: 53:[93, 51, 8] Operation: 85-77=8 Exploring Operation: 85-51=34, Resulting Numbers: [77, 93, 34] Generated Node #0,4: 53:[77, 93, 34] Operation: 85-51=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[77, 85, 42], Operations: ['93-51=42'] Exploring Operation: 85-77=8, Resulting Numbers: [42, 8] Generated Node #0,2,0: 53:[42, 8] Operation: 85-77=8 Exploring Operation: 85-42=43, Resulting Numbers: [77, 43] Generated Node #0,2,1: 53:[77, 43] Operation: 85-42=43 Exploring Operation: 77-42=35, Resulting Numbers: [85, 35] Generated Node #0,2,2: 53:[85, 35] Operation: 77-42=35 Exploring Operation: 85+42=127, Resulting Numbers: [77, 127] Generated Node #0,2,3: 53:[77, 127] Operation: 85+42=127 Exploring Operation: 77+42=119, Resulting Numbers: [85, 119] Generated Node #0,2,4: 53:[85, 119] Operation: 77+42=119 Moving to Node #0,2,1 Current State: 53:[77, 43], Operations: ['93-51=42', '85-42=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,53 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[85, 35], Operations: ['93-51=42', '77-42=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,53 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[42, 8], Operations: ['93-51=42', '85-77=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,53 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[77, 127], Operations: ['93-51=42', '85+42=127'] Exploring Operation: 127-77=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 77*127=9779, Resulting Numbers: [9779] 9779,53 unequal: No Solution Exploring Operation: 77+127=204, Resulting Numbers: [204] 204,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[85, 119], Operations: ['93-51=42', '77+42=119'] Exploring Operation: 85*119=10115, Resulting Numbers: [10115] 10115,53 unequal: No Solution Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 85+119=204, Resulting Numbers: [204] 204,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:[51, 85, 16], Operations: ['93-77=16'] Exploring Operation: 85+16=101, Resulting Numbers: [51, 101] Generated Node #0,0,0: 53:[51, 101] Operation: 85+16=101 Exploring Operation: 51-16=35, Resulting Numbers: [85, 35] Generated Node #0,0,1: 53:[85, 35] Operation: 51-16=35 Exploring Operation: 85-51=34, Resulting Numbers: [16, 34] Generated Node #0,0,2: 53:[16, 34] Operation: 85-51=34 Exploring Operation: 85-16=69, Resulting Numbers: [51, 69] Generated Node #0,0,3: 53:[51, 69] Operation: 85-16=69 Exploring Operation: 51+16=67, Resulting Numbers: [85, 67] Generated Node #0,0,4: 53:[85, 67] Operation: 51+16=67 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[51, 69], Operations: ['93-77=16', '85-16=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,53 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,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,4 Current State: 53:[85, 67], Operations: ['93-77=16', '51+16=67'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 85*67=5695, Resulting Numbers: [5695] 5695,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[51, 101], Operations: ['93-77=16', '85+16=101'] Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,53 unequal: No Solution Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,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:[85, 35], Operations: ['93-77=16', '51-16=35'] Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,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:[16, 34], Operations: ['93-77=16', '85-51=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,53 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[77, 51, 8], Operations: ['93-85=8'] Exploring Operation: 77-51=26, Resulting Numbers: [8, 26] Generated Node #0,1,0: 53:[8, 26] Operation: 77-51=26 Exploring Operation: 51+8=59, Resulting Numbers: [77, 59] Generated Node #0,1,1: 53:[77, 59] Operation: 51+8=59 Exploring Operation: 77+8=85, Resulting Numbers: [51, 85] Generated Node #0,1,2: 53:[51, 85] Operation: 77+8=85 Exploring Operation: 51-8=43, Resulting Numbers: [77, 43] Generated Node #0,1,3: 53:[77, 43] Operation: 51-8=43 Exploring Operation: 77-8=69, Resulting Numbers: [51, 69] Generated Node #0,1,4: 53:[51, 69] Operation: 77-8=69 Moving to Node #0,1,4 Current State: 53:[51, 69], Operations: ['93-85=8', '77-8=69'] Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,53 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[77, 59], Operations: ['93-85=8', '51+8=59'] Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,53 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[51, 85], Operations: ['93-85=8', '77+8=85'] Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,53 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[77, 43], Operations: ['93-85=8', '51-8=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[8, 26], Operations: ['93-85=8', '77-51=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,53 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,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,4 Current State: 53:[77, 93, 34], Operations: ['85-51=34'] Exploring Operation: 77+34=111, Resulting Numbers: [93, 111] Generated Node #0,4,0: 53:[93, 111] Operation: 77+34=111 Exploring Operation: 93+34=127, Resulting Numbers: [77, 127] Generated Node #0,4,1: 53:[77, 127] Operation: 93+34=127 Exploring Operation: 77-34=43, Resulting Numbers: [93, 43] Generated Node #0,4,2: 53:[93, 43] Operation: 77-34=43 Exploring Operation: 93-77=16, Resulting Numbers: [34, 16] Generated Node #0,4,3: 53:[34, 16] Operation: 93-77=16 Exploring Operation: 93-34=59, Resulting Numbers: [77, 59] Generated Node #0,4,4: 53:[77, 59] Operation: 93-34=59 Moving to Node #0,4,4 Current State: 53:[77, 59], Operations: ['85-51=34', '93-34=59'] Exploring Operation: 77*59=4543, Resulting Numbers: [4543] 4543,53 unequal: No Solution Exploring Operation: 77+59=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 77-59=18, Resulting Numbers: [18] 18,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[93, 43], Operations: ['85-51=34', '77-34=43'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,53 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[34, 16], Operations: ['85-51=34', '93-77=16'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 34*16=544, Resulting Numbers: [544] 544,53 unequal: No Solution Exploring Operation: 34+16=50, Resulting Numbers: [50] 50,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[93, 111], Operations: ['85-51=34', '77+34=111'] Exploring Operation: 93*111=10323, Resulting Numbers: [10323] 10323,53 unequal: No Solution Exploring Operation: 111-93=18, Resulting Numbers: [18] 18,53 unequal: No Solution Exploring Operation: 93+111=204, Resulting Numbers: [204] 204,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[77, 127], Operations: ['85-51=34', '93+34=127'] Exploring Operation: 127-77=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 77*127=9779, Resulting Numbers: [9779] 9779,53 unequal: No Solution Exploring Operation: 77+127=204, Resulting Numbers: [204] 204,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,3 Current State: 53:[93, 51, 8], Operations: ['85-77=8'] Exploring Operation: 93-8=85, Resulting Numbers: [51, 85] Generated Node #0,3,0: 53:[51, 85] Operation: 93-8=85 Exploring Operation: 93+8=101, Resulting Numbers: [51, 101] Generated Node #0,3,1: 53:[51, 101] Operation: 93+8=101 Exploring Operation: 51+8=59, Resulting Numbers: [93, 59] Generated Node #0,3,2: 53:[93, 59] Operation: 51+8=59 Exploring Operation: 51-8=43, Resulting Numbers: [93, 43] Generated Node #0,3,3: 53:[93, 43] Operation: 51-8=43 Exploring Operation: 93-51=42, Resulting Numbers: [8, 42] Generated Node #0,3,4: 53:[8, 42] Operation: 93-51=42 Moving to Node #0,3,0 Current State: 53:[51, 85], Operations: ['85-77=8', '93-8=85'] Exploring Operation: 51*85=4335, Resulting Numbers: [4335] 4335,53 unequal: No Solution Exploring Operation: 51+85=136, Resulting Numbers: [136] 136,53 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[93, 59], Operations: ['85-77=8', '51+8=59'] Exploring Operation: 93-59=34, Resulting Numbers: [34] 34,53 unequal: No Solution Exploring Operation: 93+59=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 93*59=5487, Resulting Numbers: [5487] 5487,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[51, 101], Operations: ['85-77=8', '93+8=101'] Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 51+101=152, Resulting Numbers: [152] 152,53 unequal: No Solution Exploring Operation: 51*101=5151, Resulting Numbers: [5151] 5151,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[93, 43], Operations: ['85-77=8', '51-8=43'] Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,53 unequal: No Solution Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[8, 42], Operations: ['85-77=8', '93-51=42'] Exploring Operation: 8*42=336, Resulting Numbers: [336] 336,53 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,53 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
[ 36, 99, 50, 53 ]
66
[ "99-36=63", "53-50=3", "63+3=66" ]
Current State: 66:[36, 99, 50, 53], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [50, 53, 63] Generated Node #2: [50, 53, 63] from Operation: 99-36=63 Current State: 66:[50, 53, 63], Operations: ['99-36=63'] Exploring Operation: 53-50=3, Resulting Numbers: [63, 3] Generated Node #3: [63, 3] from Operation: 53-50=3 Current State: 66:[63, 3], Operations: ['99-36=63', '53-50=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[36, 99, 50, 53], Operations: [] Exploring Operation: 99-53=46, Resulting Numbers: [36, 50, 46] Generated Node #0,0: 66:[36, 50, 46] Operation: 99-53=46 Exploring Operation: 99-36=63, Resulting Numbers: [50, 53, 63] Generated Node #0,1: 66:[50, 53, 63] Operation: 99-36=63 Exploring Operation: 99-50=49, Resulting Numbers: [36, 53, 49] Generated Node #0,2: 66:[36, 53, 49] Operation: 99-50=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[36, 50, 46], Operations: ['99-53=46'] Exploring Operation: 50-46=4, Resulting Numbers: [36, 4] Generated Node #0,0,0: 66:[36, 4] Operation: 50-46=4 Exploring Operation: 46-36=10, Resulting Numbers: [50, 10] Generated Node #0,0,1: 66:[50, 10] Operation: 46-36=10 Exploring Operation: 50-36=14, Resulting Numbers: [46, 14] Generated Node #0,0,2: 66:[46, 14] Operation: 50-36=14 Moving to Node #0,0,0 Current State: 66:[36, 4], Operations: ['99-53=46', '50-46=4'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[46, 14], Operations: ['99-53=46', '50-36=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,66 unequal: No Solution Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[50, 10], Operations: ['99-53=46', '46-36=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[50, 53, 63], Operations: ['99-36=63'] Exploring Operation: 63-53=10, Resulting Numbers: [50, 10] Generated Node #0,1,0: 66:[50, 10] Operation: 63-53=10 Exploring Operation: 63-50=13, Resulting Numbers: [53, 13] Generated Node #0,1,1: 66:[53, 13] Operation: 63-50=13 Exploring Operation: 53-50=3, Resulting Numbers: [63, 3] Generated Node #0,1,2: 66:[63, 3] Operation: 53-50=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[63, 3], Operations: ['99-36=63', '53-50=3'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[36, 99, 50, 53], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [50, 53, 63] Generated Node #0,1: 66:[50, 53, 63] Operation: 99-36=63 Moving to Node #0,1 Current State: 66:[50, 53, 63], Operations: ['99-36=63'] Exploring Operation: 53-50=3, Resulting Numbers: [63, 3] Generated Node #0,1,2: 66:[63, 3] Operation: 53-50=3 Moving to Node #0,1,2 Current State: 66:[63, 3], Operations: ['99-36=63', '53-50=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 23, 69, 16, 41 ]
65
[ "23+41=64", "64/16=4", "69-4=65" ]
Current State: 65:[23, 69, 16, 41], Operations: [] Exploring Operation: 23+41=64, Resulting Numbers: [69, 16, 64] Generated Node #2: [69, 16, 64] from Operation: 23+41=64 Current State: 65:[69, 16, 64], Operations: ['23+41=64'] Exploring Operation: 64/16=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 64/16=4 Current State: 65:[69, 4], Operations: ['23+41=64', '64/16=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[23, 69, 16, 41], Operations: [] Exploring Operation: 23+41=64, Resulting Numbers: [69, 16, 64] Generated Node #0,0: 65:[69, 16, 64] Operation: 23+41=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[69, 16, 64], Operations: ['23+41=64'] Exploring Operation: 69-64=5, Resulting Numbers: [16, 5] Generated Node #0,0,0: 65:[16, 5] Operation: 69-64=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[16, 5], Operations: ['23+41=64', '69-64=5'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 82, 26, 62, 30 ]
97
[ "82*30=2460", "62+2460=2522", "2522/26=97" ]
Current State: 97:[82, 26, 62, 30], Operations: [] Exploring Operation: 82*30=2460, Resulting Numbers: [26, 62, 2460] Generated Node #2: [26, 62, 2460] from Operation: 82*30=2460 Current State: 97:[26, 62, 2460], Operations: ['82*30=2460'] Exploring Operation: 62+2460=2522, Resulting Numbers: [26, 2522] Generated Node #3: [26, 2522] from Operation: 62+2460=2522 Current State: 97:[26, 2522], Operations: ['82*30=2460', '62+2460=2522'] Exploring Operation: 2522/26=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[82, 26, 62, 30], Operations: [] Exploring Operation: 62+30=92, Resulting Numbers: [82, 26, 92] Generated Node #0,0: 97:[82, 26, 92] Operation: 62+30=92 Exploring Operation: 26+30=56, Resulting Numbers: [82, 62, 56] Generated Node #0,1: 97:[82, 62, 56] Operation: 26+30=56 Exploring Operation: 26+62=88, Resulting Numbers: [82, 30, 88] Generated Node #0,2: 97:[82, 30, 88] Operation: 26+62=88 Moving to Node #0,0 Current State: 97:[82, 26, 92], Operations: ['62+30=92'] Exploring Operation: 26+92=118, Resulting Numbers: [82, 118] Generated Node #0,0,0: 97:[82, 118] Operation: 26+92=118 Exploring Operation: 82-26=56, Resulting Numbers: [92, 56] Generated Node #0,0,1: 97:[92, 56] Operation: 82-26=56 Exploring Operation: 82+26=108, Resulting Numbers: [92, 108] Generated Node #0,0,2: 97:[92, 108] Operation: 82+26=108 Moving to Node #0,1 Current State: 97:[82, 62, 56], Operations: ['26+30=56'] Exploring Operation: 62+56=118, Resulting Numbers: [82, 118] Generated Node #0,1,0: 97:[82, 118] Operation: 62+56=118 Exploring Operation: 82+62=144, Resulting Numbers: [56, 144] Generated Node #0,1,1: 97:[56, 144] Operation: 82+62=144 Exploring Operation: 82+56=138, Resulting Numbers: [62, 138] Generated Node #0,1,2: 97:[62, 138] Operation: 82+56=138 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[82, 118], Operations: ['26+30=56', '62+56=118'] Exploring Operation: 118-82=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 82*118=9676, Resulting Numbers: [9676] 9676,97 unequal: No Solution Exploring Operation: 82+118=200, Resulting Numbers: [200] 200,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[62, 138], Operations: ['26+30=56', '82+56=138'] Exploring Operation: 138-62=76, Resulting Numbers: [76] 76,97 unequal: No Solution Exploring Operation: 62*138=8556, Resulting Numbers: [8556] 8556,97 unequal: No Solution Exploring Operation: 62+138=200, Resulting Numbers: [200] 200,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[56, 144], Operations: ['26+30=56', '82+62=144'] Exploring Operation: 56*144=8064, Resulting Numbers: [8064] 8064,97 unequal: No Solution Exploring Operation: 144-56=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 56+144=200, Resulting Numbers: [200] 200,97 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: 97:[82, 30, 88], Operations: ['26+62=88'] Exploring Operation: 82+30=112, Resulting Numbers: [88, 112] Generated Node #0,2,0: 97:[88, 112] Operation: 82+30=112 Exploring Operation: 30+88=118, Resulting Numbers: [82, 118] Generated Node #0,2,1: 97:[82, 118] Operation: 30+88=118 Exploring Operation: 82-30=52, Resulting Numbers: [88, 52] Generated Node #0,2,2: 97:[88, 52] Operation: 82-30=52 Moving to Node #0,0,2 Current State: 97:[92, 108], Operations: ['62+30=92', '82+26=108'] Exploring Operation: 92+108=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 108-92=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 92*108=9936, Resulting Numbers: [9936] 9936,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[88, 112], Operations: ['26+62=88', '82+30=112'] Exploring Operation: 112-88=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 88+112=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 88*112=9856, Resulting Numbers: [9856] 9856,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[82, 118], Operations: ['26+62=88', '30+88=118'] Exploring Operation: 82*118=9676, Resulting Numbers: [9676] 9676,97 unequal: No Solution Exploring Operation: 82+118=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 118-82=36, Resulting Numbers: [36] 36,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[82, 118], Operations: ['62+30=92', '26+92=118'] Exploring Operation: 82+118=200, Resulting Numbers: [200] 200,97 unequal: No Solution Exploring Operation: 82*118=9676, Resulting Numbers: [9676] 9676,97 unequal: No Solution Exploring Operation: 118-82=36, Resulting Numbers: [36] 36,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[92, 56], Operations: ['62+30=92', '82-26=56'] Exploring Operation: 92+56=148, Resulting Numbers: [148] 148,97 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 92*56=5152, Resulting Numbers: [5152] 5152,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[88, 52], Operations: ['26+62=88', '82-30=52'] Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,97 unequal: No Solution Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,97 unequal: No Solution Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,97 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 36, 46, 56, 76 ]
62
[ "36+46=82", "76-56=20", "82-20=62" ]
Current State: 62:[36, 46, 56, 76], Operations: [] Exploring Operation: 36+46=82, Resulting Numbers: [56, 76, 82] Generated Node #2: [56, 76, 82] from Operation: 36+46=82 Current State: 62:[56, 76, 82], Operations: ['36+46=82'] Exploring Operation: 76-56=20, Resulting Numbers: [82, 20] Generated Node #3: [82, 20] from Operation: 76-56=20 Current State: 62:[82, 20], Operations: ['36+46=82', '76-56=20'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[36, 46, 56, 76], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [36, 56, 30] Generated Node #0,0: 62:[36, 56, 30] Operation: 76-46=30 Exploring Operation: 56-46=10, Resulting Numbers: [36, 76, 10] Generated Node #0,1: 62:[36, 76, 10] Operation: 56-46=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[36, 56, 30], Operations: ['76-46=30'] Exploring Operation: 36-30=6, Resulting Numbers: [56, 6] Generated Node #0,0,0: 62:[56, 6] Operation: 36-30=6 Exploring Operation: 36+30=66, Resulting Numbers: [56, 66] Generated Node #0,0,1: 62:[56, 66] Operation: 36+30=66 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[56, 6], Operations: ['76-46=30', '36-30=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[36, 46, 56, 76], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [36, 56, 30] Generated Node #0,0: 62:[36, 56, 30] Operation: 76-46=30 Moving to Node #0,0 Current State: 62:[36, 56, 30], Operations: ['76-46=30'] Exploring Operation: 36-30=6, Resulting Numbers: [56, 6] Generated Node #0,0,0: 62:[56, 6] Operation: 36-30=6 Moving to Node #0,0,0 Current State: 62:[56, 6], Operations: ['76-46=30', '36-30=6'] Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 87, 29, 70, 22 ]
24
[ "87+29=116", "70+22=92", "116-92=24" ]
Current State: 24:[87, 29, 70, 22], Operations: [] Exploring Operation: 87+29=116, Resulting Numbers: [70, 22, 116] Generated Node #2: [70, 22, 116] from Operation: 87+29=116 Current State: 24:[70, 22, 116], Operations: ['87+29=116'] Exploring Operation: 70+22=92, Resulting Numbers: [116, 92] Generated Node #3: [116, 92] from Operation: 70+22=92 Current State: 24:[116, 92], Operations: ['87+29=116', '70+22=92'] Exploring Operation: 116-92=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[87, 29, 70, 22], Operations: [] Exploring Operation: 87-29=58, Resulting Numbers: [70, 22, 58] Generated Node #0,0: 24:[70, 22, 58] Operation: 87-29=58 Exploring Operation: 70-29=41, Resulting Numbers: [87, 22, 41] Generated Node #0,1: 24:[87, 22, 41] Operation: 70-29=41 Exploring Operation: 87-70=17, Resulting Numbers: [29, 22, 17] Generated Node #0,2: 24:[29, 22, 17] Operation: 87-70=17 Exploring Operation: 87/29=3, Resulting Numbers: [70, 22, 3] Generated Node #0,3: 24:[70, 22, 3] Operation: 87/29=3 Exploring Operation: 87-22=65, Resulting Numbers: [29, 70, 65] Generated Node #0,4: 24:[29, 70, 65] Operation: 87-22=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[29, 22, 17], Operations: ['87-70=17'] Exploring Operation: 22+17=39, Resulting Numbers: [29, 39] Generated Node #0,2,0: 24:[29, 39] Operation: 22+17=39 Exploring Operation: 29+17=46, Resulting Numbers: [22, 46] Generated Node #0,2,1: 24:[22, 46] Operation: 29+17=46 Exploring Operation: 22-17=5, Resulting Numbers: [29, 5] Generated Node #0,2,2: 24:[29, 5] Operation: 22-17=5 Exploring Operation: 29-22=7, Resulting Numbers: [17, 7] Generated Node #0,2,3: 24:[17, 7] Operation: 29-22=7 Exploring Operation: 29-17=12, Resulting Numbers: [22, 12] Generated Node #0,2,4: 24:[22, 12] Operation: 29-17=12 Moving to Node #0,2,4 Current State: 24:[22, 12], Operations: ['87-70=17', '29-17=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,24 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[17, 7], Operations: ['87-70=17', '29-22=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,24 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[87, 29, 70, 22], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [29, 22, 17] Generated Node #0,2: 24:[29, 22, 17] Operation: 87-70=17 Moving to Node #0,2 Current State: 24:[29, 22, 17], Operations: ['87-70=17'] Exploring Operation: 29-22=7, Resulting Numbers: [17, 7] Generated Node #0,2,3: 24:[17, 7] Operation: 29-22=7 Moving to Node #0,2,3 Current State: 24:[17, 7], Operations: ['87-70=17', '29-22=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 29, 61, 76, 84 ]
81
[ "61+84=145", "145/29=5", "76+5=81" ]
Current State: 81:[29, 61, 76, 84], Operations: [] Exploring Operation: 61+84=145, Resulting Numbers: [29, 76, 145] Generated Node #2: [29, 76, 145] from Operation: 61+84=145 Current State: 81:[29, 76, 145], Operations: ['61+84=145'] Exploring Operation: 145/29=5, Resulting Numbers: [76, 5] Generated Node #3: [76, 5] from Operation: 145/29=5 Current State: 81:[76, 5], Operations: ['61+84=145', '145/29=5'] Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 61, 76, 84], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [29, 84, 15] Generated Node #0,0: 81:[29, 84, 15] Operation: 76-61=15 Moving to Node #0,0 Current State: 81:[29, 84, 15], Operations: ['76-61=15'] Exploring Operation: 29-15=14, Resulting Numbers: [84, 14] Generated Node #0,0,0: 81:[84, 14] Operation: 29-15=14 Moving to Node #0,0,0 Current State: 81:[84, 14], Operations: ['76-61=15', '29-15=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 48, 55, 11, 8 ]
81
[ "55-48=7", "11*8=88", "88-7=81" ]
Current State: 81:[48, 55, 11, 8], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [11, 8, 7] Generated Node #2: [11, 8, 7] from Operation: 55-48=7 Current State: 81:[11, 8, 7], Operations: ['55-48=7'] Exploring Operation: 11*8=88, Resulting Numbers: [7, 88] Generated Node #3: [7, 88] from Operation: 11*8=88 Current State: 81:[7, 88], Operations: ['55-48=7', '11*8=88'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[48, 55, 11, 8], Operations: [] Exploring Operation: 48-11=37, Resulting Numbers: [55, 8, 37] Generated Node #0,0: 81:[55, 8, 37] Operation: 48-11=37 Exploring Operation: 48/8=6, Resulting Numbers: [55, 11, 6] Generated Node #0,1: 81:[55, 11, 6] Operation: 48/8=6 Exploring Operation: 48+55=103, Resulting Numbers: [11, 8, 103] Generated Node #0,2: 81:[11, 8, 103] Operation: 48+55=103 Exploring Operation: 55/11=5, Resulting Numbers: [48, 8, 5] Generated Node #0,3: 81:[48, 8, 5] Operation: 55/11=5 Exploring Operation: 55-48=7, Resulting Numbers: [11, 8, 7] Generated Node #0,4: 81:[11, 8, 7] Operation: 55-48=7 Start Sub Search at level 1: Moving to Node #0,4 Current State: 81:[11, 8, 7], Operations: ['55-48=7'] Exploring Operation: 8+7=15, Resulting Numbers: [11, 15] Generated Node #0,4,0: 81:[11, 15] Operation: 8+7=15 Exploring Operation: 8-7=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 81:[11, 1] Operation: 8-7=1 Exploring Operation: 11*7=77, Resulting Numbers: [8, 77] Generated Node #0,4,2: 81:[8, 77] Operation: 11*7=77 Exploring Operation: 11-8=3, Resulting Numbers: [7, 3] Generated Node #0,4,3: 81:[7, 3] Operation: 11-8=3 Exploring Operation: 11-7=4, Resulting Numbers: [8, 4] Generated Node #0,4,4: 81:[8, 4] Operation: 11-7=4 Moving to Node #0,4,3 Current State: 81:[7, 3], Operations: ['55-48=7', '11-8=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,4,4 Current State: 81:[8, 4], Operations: ['55-48=7', '11-7=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,81 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[11, 1], Operations: ['55-48=7', '8-7=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,81 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,81 unequal: No Solution Moving to Node #0,4,2 Current State: 81:[8, 77], Operations: ['55-48=7', '11*7=77'] Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,81 unequal: No Solution Moving to Node #0,4,0 Current State: 81:[11, 15], Operations: ['55-48=7', '8+7=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,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 Current State: 81:[48, 8, 5], Operations: ['55/11=5'] Exploring Operation: 8+5=13, Resulting Numbers: [48, 13] Generated Node #0,3,0: 81:[48, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [48, 3] Generated Node #0,3,1: 81:[48, 3] Operation: 8-5=3 Exploring Operation: 48/8=6, Resulting Numbers: [5, 6] Generated Node #0,3,2: 81:[5, 6] Operation: 48/8=6 Exploring Operation: 48-5=43, Resulting Numbers: [8, 43] Generated Node #0,3,3: 81:[8, 43] Operation: 48-5=43 Exploring Operation: 48-8=40, Resulting Numbers: [5, 40] Generated Node #0,3,4: 81:[5, 40] Operation: 48-8=40 Moving to Node #0,3,2 Current State: 81:[5, 6], Operations: ['55/11=5', '48/8=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,81 unequal: No Solution Moving to Node #0,3,4 Current State: 81:[5, 40], Operations: ['55/11=5', '48-8=40'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,81 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,81 unequal: No Solution Moving to Node #0,3,3 Current State: 81:[8, 43], Operations: ['55/11=5', '48-5=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,81 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[48, 3], Operations: ['55/11=5', '8-5=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,81 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,81 unequal: No Solution Moving to Node #0,3,0 Current State: 81:[48, 13], Operations: ['55/11=5', '8+5=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,81 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,81 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,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,2 Current State: 81:[11, 8, 103], Operations: ['48+55=103'] Exploring Operation: 103-11=92, Resulting Numbers: [8, 92] Generated Node #0,2,0: 81:[8, 92] Operation: 103-11=92 Exploring Operation: 103-8=95, Resulting Numbers: [11, 95] Generated Node #0,2,1: 81:[11, 95] Operation: 103-8=95 Exploring Operation: 11+8=19, Resulting Numbers: [103, 19] Generated Node #0,2,2: 81:[103, 19] Operation: 11+8=19 Exploring Operation: 11-8=3, Resulting Numbers: [103, 3] Generated Node #0,2,3: 81:[103, 3] Operation: 11-8=3 Exploring Operation: 11*8=88, Resulting Numbers: [103, 88] Generated Node #0,2,4: 81:[103, 88] Operation: 11*8=88 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[8, 92], Operations: ['48+55=103', '103-11=92'] Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,81 unequal: No Solution No 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: 81:[11, 95], Operations: ['48+55=103', '103-8=95'] Exploring Operation: 11+95=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 11*95=1045, Resulting Numbers: [1045] 1045,81 unequal: No Solution Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,81 unequal: No Solution No 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: 81:[103, 3], Operations: ['48+55=103', '11-8=3'] Exploring Operation: 103-3=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 103+3=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 103*3=309, Resulting Numbers: [309] 309,81 unequal: No Solution No 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: 81:[103, 88], Operations: ['48+55=103', '11*8=88'] Exploring Operation: 103*88=9064, Resulting Numbers: [9064] 9064,81 unequal: No Solution Exploring Operation: 103+88=191, Resulting Numbers: [191] 191,81 unequal: No Solution Exploring Operation: 103-88=15, Resulting Numbers: [15] 15,81 unequal: No Solution No 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: 81:[103, 19], Operations: ['48+55=103', '11+8=19'] Exploring Operation: 103-19=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 103+19=122, Resulting Numbers: [122] 122,81 unequal: No Solution Exploring Operation: 103*19=1957, Resulting Numbers: [1957] 1957,81 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: 81:[55, 11, 6], Operations: ['48/8=6'] Exploring Operation: 55-6=49, Resulting Numbers: [11, 49] Generated Node #0,1,0: 81:[11, 49] Operation: 55-6=49 Exploring Operation: 55+11=66, Resulting Numbers: [6, 66] Generated Node #0,1,1: 81:[6, 66] Operation: 55+11=66 Exploring Operation: 55/11=5, Resulting Numbers: [6, 5] Generated Node #0,1,2: 81:[6, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [6, 44] Generated Node #0,1,3: 81:[6, 44] Operation: 55-11=44 Exploring Operation: 55+6=61, Resulting Numbers: [11, 61] Generated Node #0,1,4: 81:[11, 61] Operation: 55+6=61 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[6, 5], Operations: ['48/8=6', '55/11=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,81 unequal: No Solution No 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: 81:[6, 66], Operations: ['48/8=6', '55+11=66'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 6*66=396, Resulting Numbers: [396] 396,81 unequal: No Solution No 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: 81:[6, 44], Operations: ['48/8=6', '55-11=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,81 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,81 unequal: No Solution No 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: 81:[11, 61], Operations: ['48/8=6', '55+6=61'] Exploring Operation: 11+61=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,81 unequal: No Solution Exploring Operation: 11*61=671, Resulting Numbers: [671] 671,81 unequal: No Solution No 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: 81:[11, 49], Operations: ['48/8=6', '55-6=49'] Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,81 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,81 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: 81:[55, 8, 37], Operations: ['48-11=37'] Exploring Operation: 55+8=63, Resulting Numbers: [37, 63] Generated Node #0,0,0: 81:[37, 63] Operation: 55+8=63 Exploring Operation: 55+37=92, Resulting Numbers: [8, 92] Generated Node #0,0,1: 81:[8, 92] Operation: 55+37=92 Exploring Operation: 55-8=47, Resulting Numbers: [37, 47] Generated Node #0,0,2: 81:[37, 47] Operation: 55-8=47 Exploring Operation: 55-37=18, Resulting Numbers: [8, 18] Generated Node #0,0,3: 81:[8, 18] Operation: 55-37=18 Exploring Operation: 37-8=29, Resulting Numbers: [55, 29] Generated Node #0,0,4: 81:[55, 29] Operation: 37-8=29 Moving to Node #0,0,3 Current State: 81:[8, 18], Operations: ['48-11=37', '55-37=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[8, 92], Operations: ['48-11=37', '55+37=92'] Exploring Operation: 8*92=736, Resulting Numbers: [736] 736,81 unequal: No Solution Exploring Operation: 8+92=100, Resulting Numbers: [100] 100,81 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[37, 63], Operations: ['48-11=37', '55+8=63'] Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,81 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[55, 29], Operations: ['48-11=37', '37-8=29'] Exploring Operation: 55-29=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 55*29=1595, Resulting Numbers: [1595] 1595,81 unequal: No Solution Exploring Operation: 55+29=84, Resulting Numbers: [84] 84,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[37, 47], Operations: ['48-11=37', '55-8=47'] Exploring Operation: 37*47=1739, Resulting Numbers: [1739] 1739,81 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 87, 18, 1, 49 ]
55
[ "87+18=105", "1+49=50", "105-50=55" ]
Current State: 55:[87, 18, 1, 49], Operations: [] Exploring Operation: 87+18=105, Resulting Numbers: [1, 49, 105] Generated Node #2: [1, 49, 105] from Operation: 87+18=105 Current State: 55:[1, 49, 105], Operations: ['87+18=105'] Exploring Operation: 1+49=50, Resulting Numbers: [105, 50] Generated Node #3: [105, 50] from Operation: 1+49=50 Current State: 55:[105, 50], Operations: ['87+18=105', '1+49=50'] Exploring Operation: 105-50=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[87, 18, 1, 49], Operations: [] Exploring Operation: 87-1=86, Resulting Numbers: [18, 49, 86] Generated Node #0,0: 55:[18, 49, 86] Operation: 87-1=86 Exploring Operation: 87-49=38, Resulting Numbers: [18, 1, 38] Generated Node #0,1: 55:[18, 1, 38] Operation: 87-49=38 Exploring Operation: 87-18=69, Resulting Numbers: [1, 49, 69] Generated Node #0,2: 55:[1, 49, 69] Operation: 87-18=69 Moving to Node #0,2 Current State: 55:[1, 49, 69], Operations: ['87-18=69'] Exploring Operation: 69-1=68, Resulting Numbers: [49, 68] Generated Node #0,2,0: 55:[49, 68] Operation: 69-1=68 Exploring Operation: 69-49=20, Resulting Numbers: [1, 20] Generated Node #0,2,1: 55:[1, 20] Operation: 69-49=20 Exploring Operation: 1+49=50, Resulting Numbers: [69, 50] Generated Node #0,2,2: 55:[69, 50] Operation: 1+49=50 Moving to Node #0,1 Current State: 55:[18, 1, 38], Operations: ['87-49=38'] Exploring Operation: 18-1=17, Resulting Numbers: [38, 17] Generated Node #0,1,0: 55:[38, 17] Operation: 18-1=17 Exploring Operation: 38-18=20, Resulting Numbers: [1, 20] Generated Node #0,1,1: 55:[1, 20] Operation: 38-18=20 Exploring Operation: 18+38=56, Resulting Numbers: [1, 56] Generated Node #0,1,2: 55:[1, 56] Operation: 18+38=56 Moving to Node #0,0 Current State: 55:[18, 49, 86], Operations: ['87-1=86'] Exploring Operation: 86-49=37, Resulting Numbers: [18, 37] Generated Node #0,0,0: 55:[18, 37] Operation: 86-49=37 Exploring Operation: 18+49=67, Resulting Numbers: [86, 67] Generated Node #0,0,1: 55:[86, 67] Operation: 18+49=67 Exploring Operation: 86-18=68, Resulting Numbers: [49, 68] Generated Node #0,0,2: 55:[49, 68] Operation: 86-18=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[49, 68], Operations: ['87-1=86', '86-18=68'] Exploring Operation: 49+68=117, Resulting Numbers: [117] 117,55 unequal: No Solution Exploring Operation: 68-49=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 49*68=3332, Resulting Numbers: [3332] 3332,55 unequal: No Solution No 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: 55:[18, 37], Operations: ['87-1=86', '86-49=37'] Exploring Operation: 18*37=666, Resulting Numbers: [666] 666,55 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[87, 18, 1, 49], Operations: [] Exploring Operation: 87-1=86, Resulting Numbers: [18, 49, 86] Generated Node #0,0: 55:[18, 49, 86] Operation: 87-1=86 Moving to Node #0,0 Current State: 55:[18, 49, 86], Operations: ['87-1=86'] Exploring Operation: 86-49=37, Resulting Numbers: [18, 37] Generated Node #0,0,0: 55:[18, 37] Operation: 86-49=37 Moving to Node #0,0,0 Current State: 55:[18, 37], Operations: ['87-1=86', '86-49=37'] Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
mult_heuristic
[ 24, 30, 59, 33 ]
42
[ "24*59=1416", "1416-30=1386", "1386/33=42" ]
Current State: 42:[24, 30, 59, 33], Operations: [] Exploring Operation: 24*59=1416, Resulting Numbers: [30, 33, 1416] Generated Node #2: [30, 33, 1416] from Operation: 24*59=1416 Current State: 42:[30, 33, 1416], Operations: ['24*59=1416'] Exploring Operation: 1416-30=1386, Resulting Numbers: [33, 1386] Generated Node #3: [33, 1386] from Operation: 1416-30=1386 Current State: 42:[33, 1386], Operations: ['24*59=1416', '1416-30=1386'] Exploring Operation: 1386/33=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[24, 30, 59, 33], Operations: [] Exploring Operation: 59-33=26, Resulting Numbers: [24, 30, 26] Generated Node #0,0: 42:[24, 30, 26] Operation: 59-33=26 Exploring Operation: 59-30=29, Resulting Numbers: [24, 33, 29] Generated Node #0,1: 42:[24, 33, 29] Operation: 59-30=29 Exploring Operation: 59-24=35, Resulting Numbers: [30, 33, 35] Generated Node #0,2: 42:[30, 33, 35] Operation: 59-24=35 Exploring Operation: 33-30=3, Resulting Numbers: [24, 59, 3] Generated Node #0,3: 42:[24, 59, 3] Operation: 33-30=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[24, 30, 26], Operations: ['59-33=26'] Exploring Operation: 30-26=4, Resulting Numbers: [24, 4] Generated Node #0,0,0: 42:[24, 4] Operation: 30-26=4 Exploring Operation: 30-24=6, Resulting Numbers: [26, 6] Generated Node #0,0,1: 42:[26, 6] Operation: 30-24=6 Exploring Operation: 24+30=54, Resulting Numbers: [26, 54] Generated Node #0,0,2: 42:[26, 54] Operation: 24+30=54 Exploring Operation: 26-24=2, Resulting Numbers: [30, 2] Generated Node #0,0,3: 42:[30, 2] Operation: 26-24=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[24, 4], Operations: ['59-33=26', '30-26=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[26, 6], Operations: ['59-33=26', '30-24=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,42 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 42:[30, 2], Operations: ['59-33=26', '26-24=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,42 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[26, 54], Operations: ['59-33=26', '24+30=54'] Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,42 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[24, 33, 29], Operations: ['59-30=29'] Exploring Operation: 29-24=5, Resulting Numbers: [33, 5] Generated Node #0,1,0: 42:[33, 5] Operation: 29-24=5 Exploring Operation: 33-24=9, Resulting Numbers: [29, 9] Generated Node #0,1,1: 42:[29, 9] Operation: 33-24=9 Exploring Operation: 33-29=4, Resulting Numbers: [24, 4] Generated Node #0,1,2: 42:[24, 4] Operation: 33-29=4 Exploring Operation: 24+29=53, Resulting Numbers: [33, 53] Generated Node #0,1,3: 42:[33, 53] Operation: 24+29=53 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[24, 4], Operations: ['59-30=29', '33-29=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[33, 5], Operations: ['59-30=29', '29-24=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,42 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[29, 9], Operations: ['59-30=29', '33-24=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 42:[33, 53], Operations: ['59-30=29', '24+29=53'] Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,42 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[24, 59, 3], Operations: ['33-30=3'] Exploring Operation: 24-3=21, Resulting Numbers: [59, 21] Generated Node #0,3,0: 42:[59, 21] Operation: 24-3=21 Exploring Operation: 59-24=35, Resulting Numbers: [3, 35] Generated Node #0,3,1: 42:[3, 35] Operation: 59-24=35 Exploring Operation: 24/3=8, Resulting Numbers: [59, 8] Generated Node #0,3,2: 42:[59, 8] Operation: 24/3=8 Exploring Operation: 59-3=56, Resulting Numbers: [24, 56] Generated Node #0,3,3: 42:[24, 56] Operation: 59-3=56 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[3, 35], Operations: ['33-30=3', '59-24=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[59, 21], Operations: ['33-30=3', '24-3=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 59+21=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 59*21=1239, Resulting Numbers: [1239] 1239,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[24, 56], Operations: ['33-30=3', '59-3=56'] Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,42 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[59, 8], Operations: ['33-30=3', '24/3=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,42 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[30, 33, 35], Operations: ['59-24=35'] Exploring Operation: 35-33=2, Resulting Numbers: [30, 2] Generated Node #0,2,0: 42:[30, 2] Operation: 35-33=2 Exploring Operation: 35-30=5, Resulting Numbers: [33, 5] Generated Node #0,2,1: 42:[33, 5] Operation: 35-30=5 Exploring Operation: 30+33=63, Resulting Numbers: [35, 63] Generated Node #0,2,2: 42:[35, 63] Operation: 30+33=63 Exploring Operation: 33-30=3, Resulting Numbers: [35, 3] Generated Node #0,2,3: 42:[35, 3] Operation: 33-30=3 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[35, 3], Operations: ['59-24=35', '33-30=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,42 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[30, 2], Operations: ['59-24=35', '35-33=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,42 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[33, 5], Operations: ['59-24=35', '35-30=5'] Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,42 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[35, 63], Operations: ['59-24=35', '30+33=63'] Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,42 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,42 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 20, 6, 7, 8 ]
30
[ "20+6=26", "7*8=56", "56-26=30" ]
Current State: 30:[20, 6, 7, 8], Operations: [] Exploring Operation: 20+6=26, Resulting Numbers: [7, 8, 26] Generated Node #2: [7, 8, 26] from Operation: 20+6=26 Current State: 30:[7, 8, 26], Operations: ['20+6=26'] Exploring Operation: 7*8=56, Resulting Numbers: [26, 56] Generated Node #3: [26, 56] from Operation: 7*8=56 Current State: 30:[26, 56], Operations: ['20+6=26', '7*8=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[20, 6, 7, 8], Operations: [] Exploring Operation: 20-7=13, Resulting Numbers: [6, 8, 13] Generated Node #0,0: 30:[6, 8, 13] Operation: 20-7=13 Exploring Operation: 20-8=12, Resulting Numbers: [6, 7, 12] Generated Node #0,1: 30:[6, 7, 12] Operation: 20-8=12 Exploring Operation: 20+7=27, Resulting Numbers: [6, 8, 27] Generated Node #0,2: 30:[6, 8, 27] Operation: 20+7=27 Exploring Operation: 20-6=14, Resulting Numbers: [7, 8, 14] Generated Node #0,3: 30:[7, 8, 14] Operation: 20-6=14 Exploring Operation: 20+8=28, Resulting Numbers: [6, 7, 28] Generated Node #0,4: 30:[6, 7, 28] Operation: 20+8=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[6, 7, 12], Operations: ['20-8=12'] Exploring Operation: 12-6=6, Resulting Numbers: [7, 6] Generated Node #0,1,0: 30:[7, 6] Operation: 12-6=6 Exploring Operation: 7-6=1, Resulting Numbers: [12, 1] Generated Node #0,1,1: 30:[12, 1] Operation: 7-6=1 Exploring Operation: 12/6=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 30:[7, 2] Operation: 12/6=2 Exploring Operation: 12-7=5, Resulting Numbers: [6, 5] Generated Node #0,1,3: 30:[6, 5] Operation: 12-7=5 Exploring Operation: 6+7=13, Resulting Numbers: [12, 13] Generated Node #0,1,4: 30:[12, 13] Operation: 6+7=13 Moving to Node #0,1,3 Current State: 30:[6, 5], Operations: ['20-8=12', '12-7=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,30 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[20, 6, 7, 8], Operations: [] Exploring Operation: 20-8=12, Resulting Numbers: [6, 7, 12] Generated Node #0,1: 30:[6, 7, 12] Operation: 20-8=12 Moving to Node #0,1 Current State: 30:[6, 7, 12], Operations: ['20-8=12'] Exploring Operation: 12-7=5, Resulting Numbers: [6, 5] Generated Node #0,1,3: 30:[6, 5] Operation: 12-7=5 Moving to Node #0,1,3 Current State: 30:[6, 5], Operations: ['20-8=12', '12-7=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 67, 93, 91, 3 ]
67
[ "93-91=2", "3-2=1", "67*1=67" ]
Current State: 67:[67, 93, 91, 3], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [67, 3, 2] Generated Node #2: [67, 3, 2] from Operation: 93-91=2 Current State: 67:[67, 3, 2], Operations: ['93-91=2'] Exploring Operation: 3-2=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 3-2=1 Current State: 67:[67, 1], Operations: ['93-91=2', '3-2=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[67, 93, 91, 3], Operations: [] Exploring Operation: 67+3=70, Resulting Numbers: [93, 91, 70] Generated Node #0,0: 67:[93, 91, 70] Operation: 67+3=70 Exploring Operation: 91-3=88, Resulting Numbers: [67, 93, 88] Generated Node #0,1: 67:[67, 93, 88] Operation: 91-3=88 Exploring Operation: 93-3=90, Resulting Numbers: [67, 91, 90] Generated Node #0,2: 67:[67, 91, 90] Operation: 93-3=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[67, 93, 88], Operations: ['91-3=88'] Exploring Operation: 93-88=5, Resulting Numbers: [67, 5] Generated Node #0,1,0: 67:[67, 5] Operation: 93-88=5 Exploring Operation: 93-67=26, Resulting Numbers: [88, 26] Generated Node #0,1,1: 67:[88, 26] Operation: 93-67=26 Exploring Operation: 88-67=21, Resulting Numbers: [93, 21] Generated Node #0,1,2: 67:[93, 21] Operation: 88-67=21 Moving to Node #0,1,0 Current State: 67:[67, 5], Operations: ['91-3=88', '93-88=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,67 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,67 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[88, 26], Operations: ['91-3=88', '93-67=26'] Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 88*26=2288, Resulting Numbers: [2288] 2288,67 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[93, 21], Operations: ['91-3=88', '88-67=21'] Exploring Operation: 93*21=1953, Resulting Numbers: [1953] 1953,67 unequal: No Solution Exploring Operation: 93+21=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[67, 91, 90], Operations: ['93-3=90'] Exploring Operation: 91-90=1, Resulting Numbers: [67, 1] Generated Node #0,2,0: 67:[67, 1] Operation: 91-90=1 Exploring Operation: 90-67=23, Resulting Numbers: [91, 23] Generated Node #0,2,1: 67:[91, 23] Operation: 90-67=23 Exploring Operation: 91-67=24, Resulting Numbers: [90, 24] Generated Node #0,2,2: 67:[90, 24] Operation: 91-67=24 Moving to Node #0,2,0 Current State: 67:[67, 1], Operations: ['93-3=90', '91-90=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[67, 93, 91, 3], Operations: [] Exploring Operation: 93-3=90, Resulting Numbers: [67, 91, 90] Generated Node #0,2: 67:[67, 91, 90] Operation: 93-3=90 Moving to Node #0,2 Current State: 67:[67, 91, 90], Operations: ['93-3=90'] Exploring Operation: 91-90=1, Resulting Numbers: [67, 1] Generated Node #0,2,0: 67:[67, 1] Operation: 91-90=1 Moving to Node #0,2,0 Current State: 67:[67, 1], Operations: ['93-3=90', '91-90=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 5, 90, 23, 16 ]
92
[ "90-5=85", "23-16=7", "85+7=92" ]
Current State: 92:[5, 90, 23, 16], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [23, 16, 85] Generated Node #2: [23, 16, 85] from Operation: 90-5=85 Current State: 92:[23, 16, 85], Operations: ['90-5=85'] Exploring Operation: 23-16=7, Resulting Numbers: [85, 7] Generated Node #3: [85, 7] from Operation: 23-16=7 Current State: 92:[85, 7], Operations: ['90-5=85', '23-16=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[5, 90, 23, 16], Operations: [] Exploring Operation: 5+16=21, Resulting Numbers: [90, 23, 21] Generated Node #0,0: 92:[90, 23, 21] Operation: 5+16=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[90, 23, 21], Operations: ['5+16=21'] Exploring Operation: 23-21=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 92:[90, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 92:[90, 2], Operations: ['5+16=21', '23-21=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[5, 90, 23, 16], Operations: [] Exploring Operation: 5+16=21, Resulting Numbers: [90, 23, 21] Generated Node #0,0: 92:[90, 23, 21] Operation: 5+16=21 Moving to Node #0,0 Current State: 92:[90, 23, 21], Operations: ['5+16=21'] Exploring Operation: 23-21=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 92:[90, 2] Operation: 23-21=2 Moving to Node #0,0,0 Current State: 92:[90, 2], Operations: ['5+16=21', '23-21=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 57, 73, 97, 92 ]
94
[ "92-73=19", "57/19=3", "97-3=94" ]
Current State: 94:[57, 73, 97, 92], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [57, 97, 19] Generated Node #2: [57, 97, 19] from Operation: 92-73=19 Current State: 94:[57, 97, 19], Operations: ['92-73=19'] Exploring Operation: 57/19=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 57/19=3 Current State: 94:[97, 3], Operations: ['92-73=19', '57/19=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[57, 73, 97, 92], Operations: [] Exploring Operation: 73-57=16, Resulting Numbers: [97, 92, 16] Generated Node #0,0: 94:[97, 92, 16] Operation: 73-57=16 Exploring Operation: 92-73=19, Resulting Numbers: [57, 97, 19] Generated Node #0,1: 94:[57, 97, 19] Operation: 92-73=19 Exploring Operation: 97-57=40, Resulting Numbers: [73, 92, 40] Generated Node #0,2: 94:[73, 92, 40] Operation: 97-57=40 Moving to Node #0,0 Current State: 94:[97, 92, 16], Operations: ['73-57=16'] Exploring Operation: 92+16=108, Resulting Numbers: [97, 108] Generated Node #0,0,0: 94:[97, 108] Operation: 92+16=108 Exploring Operation: 97-92=5, Resulting Numbers: [16, 5] Generated Node #0,0,1: 94:[16, 5] Operation: 97-92=5 Exploring Operation: 97-16=81, Resulting Numbers: [92, 81] Generated Node #0,0,2: 94:[92, 81] Operation: 97-16=81 Moving to Node #0,1 Current State: 94:[57, 97, 19], Operations: ['92-73=19'] Exploring Operation: 57-19=38, Resulting Numbers: [97, 38] Generated Node #0,1,0: 94:[97, 38] Operation: 57-19=38 Exploring Operation: 57+19=76, Resulting Numbers: [97, 76] Generated Node #0,1,1: 94:[97, 76] Operation: 57+19=76 Exploring Operation: 57/19=3, Resulting Numbers: [97, 3] Generated Node #0,1,2: 94:[97, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[97, 3], Operations: ['92-73=19', '57/19=3'] Exploring Operation: 97*3=291, Resulting Numbers: [291] 291,94 unequal: No Solution Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[57, 73, 97, 92], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [57, 97, 19] Generated Node #0,1: 94:[57, 97, 19] Operation: 92-73=19 Moving to Node #0,1 Current State: 94:[57, 97, 19], Operations: ['92-73=19'] Exploring Operation: 57/19=3, Resulting Numbers: [97, 3] Generated Node #0,1,2: 94:[97, 3] Operation: 57/19=3 Moving to Node #0,1,2 Current State: 94:[97, 3], Operations: ['92-73=19', '57/19=3'] Exploring Operation: 97-3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 8, 92, 65, 70 ]
89
[ "92-8=84", "70-65=5", "84+5=89" ]
Current State: 89:[8, 92, 65, 70], Operations: [] Exploring Operation: 92-8=84, Resulting Numbers: [65, 70, 84] Generated Node #2: [65, 70, 84] from Operation: 92-8=84 Current State: 89:[65, 70, 84], Operations: ['92-8=84'] Exploring Operation: 70-65=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 70-65=5 Current State: 89:[84, 5], Operations: ['92-8=84', '70-65=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 92, 65, 70], Operations: [] Exploring Operation: 8+70=78, Resulting Numbers: [92, 65, 78] Generated Node #0,0: 89:[92, 65, 78] Operation: 8+70=78 Exploring Operation: 8+65=73, Resulting Numbers: [92, 70, 73] Generated Node #0,1: 89:[92, 70, 73] Operation: 8+65=73 Exploring Operation: 92-8=84, Resulting Numbers: [65, 70, 84] Generated Node #0,2: 89:[65, 70, 84] Operation: 92-8=84 Moving to Node #0,0 Current State: 89:[92, 65, 78], Operations: ['8+70=78'] Exploring Operation: 65+78=143, Resulting Numbers: [92, 143] Generated Node #0,0,0: 89:[92, 143] Operation: 65+78=143 Exploring Operation: 92-65=27, Resulting Numbers: [78, 27] Generated Node #0,0,1: 89:[78, 27] Operation: 92-65=27 Exploring Operation: 92+65=157, Resulting Numbers: [78, 157] Generated Node #0,0,2: 89:[78, 157] Operation: 92+65=157 Moving to Node #0,1 Current State: 89:[92, 70, 73], Operations: ['8+65=73'] Exploring Operation: 92+70=162, Resulting Numbers: [73, 162] Generated Node #0,1,0: 89:[73, 162] Operation: 92+70=162 Exploring Operation: 70+73=143, Resulting Numbers: [92, 143] Generated Node #0,1,1: 89:[92, 143] Operation: 70+73=143 Exploring Operation: 92-70=22, Resulting Numbers: [73, 22] Generated Node #0,1,2: 89:[73, 22] Operation: 92-70=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[92, 143], Operations: ['8+65=73', '70+73=143'] Exploring Operation: 92*143=13156, Resulting Numbers: [13156] 13156,89 unequal: No Solution Exploring Operation: 92+143=235, Resulting Numbers: [235] 235,89 unequal: No Solution Exploring Operation: 143-92=51, Resulting Numbers: [51] 51,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,2 Current State: 89:[73, 22], Operations: ['8+65=73', '92-70=22'] Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,89 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,89 unequal: No Solution Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,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,0 Current State: 89:[73, 162], Operations: ['8+65=73', '92+70=162'] Exploring Operation: 73*162=11826, Resulting Numbers: [11826] 11826,89 unequal: No Solution Exploring Operation: 73+162=235, Resulting Numbers: [235] 235,89 unequal: No Solution Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[8, 92, 65, 70], Operations: [] Exploring Operation: 8+65=73, Resulting Numbers: [92, 70, 73] Generated Node #0,1: 89:[92, 70, 73] Operation: 8+65=73 Moving to Node #0,1 Current State: 89:[92, 70, 73], Operations: ['8+65=73'] Exploring Operation: 92+70=162, Resulting Numbers: [73, 162] Generated Node #0,1,0: 89:[73, 162] Operation: 92+70=162 Moving to Node #0,1,0 Current State: 89:[73, 162], Operations: ['8+65=73', '92+70=162'] Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_3
sum_heuristic
[ 30, 85, 88, 60 ]
90
[ "60-30=30", "88-85=3", "30*3=90" ]
Current State: 90:[30, 85, 88, 60], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [85, 88, 30] Generated Node #2: [85, 88, 30] from Operation: 60-30=30 Current State: 90:[85, 88, 30], Operations: ['60-30=30'] Exploring Operation: 88-85=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 88-85=3 Current State: 90:[30, 3], Operations: ['60-30=30', '88-85=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[30, 85, 88, 60], Operations: [] Exploring Operation: 30+60=90, Resulting Numbers: [85, 88, 90] Generated Node #0,0: 90:[85, 88, 90] Operation: 30+60=90 Exploring Operation: 60-30=30, Resulting Numbers: [85, 88, 30] Generated Node #0,1: 90:[85, 88, 30] Operation: 60-30=30 Moving to Node #0,0 Current State: 90:[85, 88, 90], Operations: ['30+60=90'] Exploring Operation: 90-85=5, Resulting Numbers: [88, 5] Generated Node #0,0,0: 90:[88, 5] Operation: 90-85=5 Exploring Operation: 88-85=3, Resulting Numbers: [90, 3] Generated Node #0,0,1: 90:[90, 3] Operation: 88-85=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[90, 3], Operations: ['30+60=90', '88-85=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[88, 5], Operations: ['30+60=90', '90-85=5'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 90:[85, 88, 30], Operations: ['60-30=30'] Exploring Operation: 85-30=55, Resulting Numbers: [88, 55] Generated Node #0,1,0: 90:[88, 55] Operation: 85-30=55 Exploring Operation: 88-85=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 90:[30, 3] Operation: 88-85=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[30, 3], Operations: ['60-30=30', '88-85=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[30, 85, 88, 60], Operations: [] Exploring Operation: 60-30=30, Resulting Numbers: [85, 88, 30] Generated Node #0,1: 90:[85, 88, 30] Operation: 60-30=30 Moving to Node #0,1 Current State: 90:[85, 88, 30], Operations: ['60-30=30'] Exploring Operation: 88-85=3, Resulting Numbers: [30, 3] Generated Node #0,1,1: 90:[30, 3] Operation: 88-85=3 Moving to Node #0,1,1 Current State: 90:[30, 3], Operations: ['60-30=30', '88-85=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 40, 5, 80, 83 ]
17
[ "80/40=2", "83+2=85", "85/5=17" ]
Current State: 17:[40, 5, 80, 83], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [5, 83, 2] Generated Node #2: [5, 83, 2] from Operation: 80/40=2 Current State: 17:[5, 83, 2], Operations: ['80/40=2'] Exploring Operation: 83+2=85, Resulting Numbers: [5, 85] Generated Node #3: [5, 85] from Operation: 83+2=85 Current State: 17:[5, 85], Operations: ['80/40=2', '83+2=85'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 5, 80, 83], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [40, 83, 16] Generated Node #0,0: 17:[40, 83, 16] Operation: 80/5=16 Exploring Operation: 83-80=3, Resulting Numbers: [40, 5, 3] Generated Node #0,1: 17:[40, 5, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[40, 5, 3], Operations: ['83-80=3'] Exploring Operation: 5*3=15, Resulting Numbers: [40, 15] Generated Node #0,1,0: 17:[40, 15] Operation: 5*3=15 Exploring Operation: 40/5=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 17:[3, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[3, 8], Operations: ['83-80=3', '40/5=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[40, 15], Operations: ['83-80=3', '5*3=15'] Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 40+15=55, Resulting Numbers: [55] 55,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[40, 83, 16], Operations: ['80/5=16'] Exploring Operation: 40-16=24, Resulting Numbers: [83, 24] Generated Node #0,0,0: 17:[83, 24] Operation: 40-16=24 Exploring Operation: 83-40=43, Resulting Numbers: [16, 43] Generated Node #0,0,1: 17:[16, 43] Operation: 83-40=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[16, 43], Operations: ['80/5=16', '83-40=43'] Exploring Operation: 16+43=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[83, 24], Operations: ['80/5=16', '40-16=24'] Exploring Operation: 83+24=107, Resulting Numbers: [107] 107,17 unequal: No Solution Exploring Operation: 83-24=59, Resulting Numbers: [59] 59,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 40, 4, 41, 6 ]
18
[ "40+4=44", "44-41=3", "6*3=18" ]
Current State: 18:[40, 4, 41, 6], Operations: [] Exploring Operation: 40+4=44, Resulting Numbers: [41, 6, 44] Generated Node #2: [41, 6, 44] from Operation: 40+4=44 Current State: 18:[41, 6, 44], Operations: ['40+4=44'] Exploring Operation: 44-41=3, Resulting Numbers: [6, 3] Generated Node #3: [6, 3] from Operation: 44-41=3 Current State: 18:[6, 3], Operations: ['40+4=44', '44-41=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[40, 4, 41, 6], Operations: [] Exploring Operation: 40-6=34, Resulting Numbers: [4, 41, 34] Generated Node #0,0: 18:[4, 41, 34] Operation: 40-6=34 Exploring Operation: 41-40=1, Resulting Numbers: [4, 6, 1] Generated Node #0,1: 18:[4, 6, 1] Operation: 41-40=1 Exploring Operation: 40/4=10, Resulting Numbers: [41, 6, 10] Generated Node #0,2: 18:[41, 6, 10] Operation: 40/4=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[4, 6, 1], Operations: ['41-40=1'] Exploring Operation: 4+1=5, Resulting Numbers: [6, 5] Generated Node #0,1,0: 18:[6, 5] Operation: 4+1=5 Exploring Operation: 4-1=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 18:[6, 3] Operation: 4-1=3 Exploring Operation: 6-4=2, Resulting Numbers: [1, 2] Generated Node #0,1,2: 18:[1, 2] Operation: 6-4=2 Moving to Node #0,1,1 Current State: 18:[6, 3], Operations: ['41-40=1', '4-1=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[40, 4, 41, 6], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [4, 6, 1] Generated Node #0,1: 18:[4, 6, 1] Operation: 41-40=1 Moving to Node #0,1 Current State: 18:[4, 6, 1], Operations: ['41-40=1'] Exploring Operation: 4-1=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 18:[6, 3] Operation: 4-1=3 Moving to Node #0,1,1 Current State: 18:[6, 3], Operations: ['41-40=1', '4-1=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 76, 8, 11, 61 ]
32
[ "76-11=65", "65-61=4", "8*4=32" ]
Current State: 32:[76, 8, 11, 61], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [8, 61, 65] Generated Node #2: [8, 61, 65] from Operation: 76-11=65 Current State: 32:[8, 61, 65], Operations: ['76-11=65'] Exploring Operation: 65-61=4, Resulting Numbers: [8, 4] Generated Node #3: [8, 4] from Operation: 65-61=4 Current State: 32:[8, 4], Operations: ['76-11=65', '65-61=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[76, 8, 11, 61], Operations: [] Exploring Operation: 76-11=65, Resulting Numbers: [8, 61, 65] Generated Node #0,0: 32:[8, 61, 65] Operation: 76-11=65 Exploring Operation: 76-61=15, Resulting Numbers: [8, 11, 15] Generated Node #0,1: 32:[8, 11, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 32:[8, 11, 15], Operations: ['76-61=15'] Exploring Operation: 15-11=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 32:[8, 4] Operation: 15-11=4 Exploring Operation: 11-8=3, Resulting Numbers: [15, 3] Generated Node #0,1,1: 32:[15, 3] Operation: 11-8=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[8, 4], Operations: ['76-61=15', '15-11=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[76, 8, 11, 61], Operations: [] Exploring Operation: 76-61=15, Resulting Numbers: [8, 11, 15] Generated Node #0,1: 32:[8, 11, 15] Operation: 76-61=15 Moving to Node #0,1 Current State: 32:[8, 11, 15], Operations: ['76-61=15'] Exploring Operation: 15-11=4, Resulting Numbers: [8, 4] Generated Node #0,1,0: 32:[8, 4] Operation: 15-11=4 Moving to Node #0,1,0 Current State: 32:[8, 4], Operations: ['76-61=15', '15-11=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 62, 8, 58, 87 ]
99
[ "62+8=70", "87-58=29", "70+29=99" ]
Current State: 99:[62, 8, 58, 87], Operations: [] Exploring Operation: 62+8=70, Resulting Numbers: [58, 87, 70] Generated Node #2: [58, 87, 70] from Operation: 62+8=70 Current State: 99:[58, 87, 70], Operations: ['62+8=70'] Exploring Operation: 87-58=29, Resulting Numbers: [70, 29] Generated Node #3: [70, 29] from Operation: 87-58=29 Current State: 99:[70, 29], Operations: ['62+8=70', '87-58=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[62, 8, 58, 87], Operations: [] Exploring Operation: 62+58=120, Resulting Numbers: [8, 87, 120] Generated Node #0,0: 99:[8, 87, 120] Operation: 62+58=120 Exploring Operation: 87-62=25, Resulting Numbers: [8, 58, 25] Generated Node #0,1: 99:[8, 58, 25] Operation: 87-62=25 Exploring Operation: 62-58=4, Resulting Numbers: [8, 87, 4] Generated Node #0,2: 99:[8, 87, 4] Operation: 62-58=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[8, 87, 4], Operations: ['62-58=4'] Exploring Operation: 8+87=95, Resulting Numbers: [4, 95] Generated Node #0,2,0: 99:[4, 95] Operation: 8+87=95 Exploring Operation: 87+4=91, Resulting Numbers: [8, 91] Generated Node #0,2,1: 99:[8, 91] Operation: 87+4=91 Exploring Operation: 8+4=12, Resulting Numbers: [87, 12] Generated Node #0,2,2: 99:[87, 12] Operation: 8+4=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[4, 95], Operations: ['62-58=4', '8+87=95'] Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,99 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[62, 8, 58, 87], Operations: [] Exploring Operation: 62-58=4, Resulting Numbers: [8, 87, 4] Generated Node #0,2: 99:[8, 87, 4] Operation: 62-58=4 Moving to Node #0,2 Current State: 99:[8, 87, 4], Operations: ['62-58=4'] Exploring Operation: 8+87=95, Resulting Numbers: [4, 95] Generated Node #0,2,0: 99:[4, 95] Operation: 8+87=95 Moving to Node #0,2,0 Current State: 99:[4, 95], Operations: ['62-58=4', '8+87=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 89, 21, 49, 7 ]
46
[ "89+49=138", "21/7=3", "138/3=46" ]
Current State: 46:[89, 21, 49, 7], Operations: [] Exploring Operation: 89+49=138, Resulting Numbers: [21, 7, 138] Generated Node #2: [21, 7, 138] from Operation: 89+49=138 Current State: 46:[21, 7, 138], Operations: ['89+49=138'] Exploring Operation: 21/7=3, Resulting Numbers: [138, 3] Generated Node #3: [138, 3] from Operation: 21/7=3 Current State: 46:[138, 3], Operations: ['89+49=138', '21/7=3'] Exploring Operation: 138/3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[89, 21, 49, 7], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [21, 49, 82] Generated Node #0,0: 46:[21, 49, 82] Operation: 89-7=82 Exploring Operation: 89-21=68, Resulting Numbers: [49, 7, 68] Generated Node #0,1: 46:[49, 7, 68] Operation: 89-21=68 Exploring Operation: 49-7=42, Resulting Numbers: [89, 21, 42] Generated Node #0,2: 46:[89, 21, 42] Operation: 49-7=42 Exploring Operation: 21/7=3, Resulting Numbers: [89, 49, 3] Generated Node #0,3: 46:[89, 49, 3] Operation: 21/7=3 Exploring Operation: 89-49=40, Resulting Numbers: [21, 7, 40] Generated Node #0,4: 46:[21, 7, 40] Operation: 89-49=40 Moving to Node #0,4 Current State: 46:[21, 7, 40], Operations: ['89-49=40'] Exploring Operation: 21+7=28, Resulting Numbers: [40, 28] Generated Node #0,4,0: 46:[40, 28] Operation: 21+7=28 Exploring Operation: 40-21=19, Resulting Numbers: [7, 19] Generated Node #0,4,1: 46:[7, 19] Operation: 40-21=19 Exploring Operation: 40-7=33, Resulting Numbers: [21, 33] Generated Node #0,4,2: 46:[21, 33] Operation: 40-7=33 Exploring Operation: 7+40=47, Resulting Numbers: [21, 47] Generated Node #0,4,3: 46:[21, 47] Operation: 7+40=47 Exploring Operation: 21/7=3, Resulting Numbers: [40, 3] Generated Node #0,4,4: 46:[40, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[21, 47], Operations: ['89-49=40', '7+40=47'] Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,46 unequal: No Solution Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,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,4,4 Current State: 46:[40, 3], Operations: ['89-49=40', '21/7=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,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,4,1 Current State: 46:[7, 19], Operations: ['89-49=40', '40-21=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,46 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,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,4,0 Current State: 46:[40, 28], Operations: ['89-49=40', '21+7=28'] Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,46 unequal: No Solution Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,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,4,2 Current State: 46:[21, 33], Operations: ['89-49=40', '40-7=33'] Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,46 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,46 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: 46:[49, 7, 68], Operations: ['89-21=68'] Exploring Operation: 68-7=61, Resulting Numbers: [49, 61] Generated Node #0,1,0: 46:[49, 61] Operation: 68-7=61 Exploring Operation: 49+7=56, Resulting Numbers: [68, 56] Generated Node #0,1,1: 46:[68, 56] Operation: 49+7=56 Exploring Operation: 68-49=19, Resulting Numbers: [7, 19] Generated Node #0,1,2: 46:[7, 19] Operation: 68-49=19 Exploring Operation: 49/7=7, Resulting Numbers: [68, 7] Generated Node #0,1,3: 46:[68, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [68, 42] Generated Node #0,1,4: 46:[68, 42] Operation: 49-7=42 Moving to Node #0,0 Current State: 46:[21, 49, 82], Operations: ['89-7=82'] Exploring Operation: 49-21=28, Resulting Numbers: [82, 28] Generated Node #0,0,0: 46:[82, 28] Operation: 49-21=28 Exploring Operation: 21+49=70, Resulting Numbers: [82, 70] Generated Node #0,0,1: 46:[82, 70] Operation: 21+49=70 Exploring Operation: 21+82=103, Resulting Numbers: [49, 103] Generated Node #0,0,2: 46:[49, 103] Operation: 21+82=103 Exploring Operation: 82-21=61, Resulting Numbers: [49, 61] Generated Node #0,0,3: 46:[49, 61] Operation: 82-21=61 Exploring Operation: 82-49=33, Resulting Numbers: [21, 33] Generated Node #0,0,4: 46:[21, 33] Operation: 82-49=33 Moving to Node #0,3 Current State: 46:[89, 49, 3], Operations: ['21/7=3'] Exploring Operation: 89-3=86, Resulting Numbers: [49, 86] Generated Node #0,3,0: 46:[49, 86] Operation: 89-3=86 Exploring Operation: 49-3=46, Resulting Numbers: [89, 46] Generated Node #0,3,1: 46:[89, 46] Operation: 49-3=46 Exploring Operation: 89+3=92, Resulting Numbers: [49, 92] Generated Node #0,3,2: 46:[49, 92] Operation: 89+3=92 Exploring Operation: 89-49=40, Resulting Numbers: [3, 40] Generated Node #0,3,3: 46:[3, 40] Operation: 89-49=40 Exploring Operation: 49+3=52, Resulting Numbers: [89, 52] Generated Node #0,3,4: 46:[89, 52] Operation: 49+3=52 Moving to Node #0,2 Current State: 46:[89, 21, 42], Operations: ['49-7=42'] Exploring Operation: 89-42=47, Resulting Numbers: [21, 47] Generated Node #0,2,0: 46:[21, 47] Operation: 89-42=47 Exploring Operation: 42-21=21, Resulting Numbers: [89, 21] Generated Node #0,2,1: 46:[89, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [89, 2] Generated Node #0,2,2: 46:[89, 2] Operation: 42/21=2 Exploring Operation: 21+42=63, Resulting Numbers: [89, 63] Generated Node #0,2,3: 46:[89, 63] Operation: 21+42=63 Exploring Operation: 89-21=68, Resulting Numbers: [42, 68] Generated Node #0,2,4: 46:[42, 68] Operation: 89-21=68 Moving to Node #0,2,0 Current State: 46:[21, 47], Operations: ['49-7=42', '89-42=47'] Exploring Operation: 21+47=68, Resulting Numbers: [68] 68,46 unequal: No Solution Exploring Operation: 21*47=987, Resulting Numbers: [987] 987,46 unequal: No Solution Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[3, 40], Operations: ['21/7=3', '89-49=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,46 unequal: No Solution Moving to Node #0,1,2 Current State: 46:[7, 19], Operations: ['89-21=68', '68-49=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,46 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,0,4 Current State: 46:[21, 33], Operations: ['89-7=82', '82-49=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,46 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,0,3 Current State: 46:[49, 61], Operations: ['89-7=82', '82-21=61'] Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,46 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[49, 61], Operations: ['89-21=68', '68-7=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,46 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,46 unequal: No Solution Moving to Node #0,1,4 Current State: 46:[68, 42], Operations: ['89-21=68', '49-7=42'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,46 unequal: No Solution Moving to Node #0,2,4 Current State: 46:[42, 68], Operations: ['49-7=42', '89-21=68'] Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[68, 7], Operations: ['89-21=68', '49/7=7'] Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,46 unequal: No Solution Exploring Operation: 68*7=476, Resulting Numbers: [476] 476,46 unequal: No Solution Exploring Operation: 68+7=75, Resulting Numbers: [75] 75,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[68, 56], Operations: ['89-21=68', '49+7=56'] Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,46 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[82, 28], Operations: ['89-7=82', '49-21=28'] Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,46 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[89, 46], Operations: ['21/7=3', '49-3=46'] Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,46 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,46 unequal: No Solution Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[49, 86], Operations: ['21/7=3', '89-3=86'] Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,46 unequal: No Solution Exploring Operation: 49*86=4214, Resulting Numbers: [4214] 4214,46 unequal: No Solution Exploring Operation: 49+86=135, Resulting Numbers: [135] 135,46 unequal: No Solution Moving to Node #0,2,2 Current State: 46:[89, 2], Operations: ['49-7=42', '42/21=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,46 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,46 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,46 unequal: No Solution Moving to Node #0,2,1 Current State: 46:[89, 21], Operations: ['49-7=42', '42-21=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,46 unequal: No Solution Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,46 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[89, 52], Operations: ['21/7=3', '49+3=52'] Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,46 unequal: No Solution Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[49, 92], Operations: ['21/7=3', '89+3=92'] Exploring Operation: 49+92=141, Resulting Numbers: [141] 141,46 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 49*92=4508, Resulting Numbers: [4508] 4508,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[49, 103], Operations: ['89-7=82', '21+82=103'] Exploring Operation: 49+103=152, Resulting Numbers: [152] 152,46 unequal: No Solution Exploring Operation: 103-49=54, Resulting Numbers: [54] 54,46 unequal: No Solution Exploring Operation: 49*103=5047, Resulting Numbers: [5047] 5047,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[82, 70], Operations: ['89-7=82', '21+49=70'] Exploring Operation: 82+70=152, Resulting Numbers: [152] 152,46 unequal: No Solution Exploring Operation: 82*70=5740, Resulting Numbers: [5740] 5740,46 unequal: No Solution Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,46 unequal: No Solution Moving to Node #0,2,3 Current State: 46:[89, 63], Operations: ['49-7=42', '21+42=63'] Exploring Operation: 89*63=5607, Resulting Numbers: [5607] 5607,46 unequal: No Solution Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,46 unequal: No Solution Exploring Operation: 89+63=152, Resulting Numbers: [152] 152,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 41, 55, 3, 14 ]
54
[ "41+55=96", "3*14=42", "96-42=54" ]
Current State: 54:[41, 55, 3, 14], Operations: [] Exploring Operation: 41+55=96, Resulting Numbers: [3, 14, 96] Generated Node #2: [3, 14, 96] from Operation: 41+55=96 Current State: 54:[3, 14, 96], Operations: ['41+55=96'] Exploring Operation: 3*14=42, Resulting Numbers: [96, 42] Generated Node #3: [96, 42] from Operation: 3*14=42 Current State: 54:[96, 42], Operations: ['41+55=96', '3*14=42'] Exploring Operation: 96-42=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[41, 55, 3, 14], Operations: [] Exploring Operation: 41+3=44, Resulting Numbers: [55, 14, 44] Generated Node #0,0: 54:[55, 14, 44] Operation: 41+3=44 Exploring Operation: 41-14=27, Resulting Numbers: [55, 3, 27] Generated Node #0,1: 54:[55, 3, 27] Operation: 41-14=27 Exploring Operation: 55-41=14, Resulting Numbers: [3, 14, 14] Generated Node #0,2: 54:[3, 14, 14] Operation: 55-41=14 Exploring Operation: 41+14=55, Resulting Numbers: [55, 3, 55] Generated Node #0,3: 54:[55, 3, 55] Operation: 41+14=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[55, 3, 27], Operations: ['41-14=27'] Exploring Operation: 55-3=52, Resulting Numbers: [27, 52] Generated Node #0,1,0: 54:[27, 52] Operation: 55-3=52 Exploring Operation: 27/3=9, Resulting Numbers: [55, 9] Generated Node #0,1,1: 54:[55, 9] Operation: 27/3=9 Exploring Operation: 55-27=28, Resulting Numbers: [3, 28] Generated Node #0,1,2: 54:[3, 28] Operation: 55-27=28 Exploring Operation: 55+3=58, Resulting Numbers: [27, 58] Generated Node #0,1,3: 54:[27, 58] Operation: 55+3=58 Moving to Node #0,1,1 Current State: 54:[55, 9], Operations: ['41-14=27', '27/3=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 55+9=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 55*9=495, Resulting Numbers: [495] 495,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[3, 28], Operations: ['41-14=27', '55-27=28'] Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[27, 52], Operations: ['41-14=27', '55-3=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,54 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,54 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[27, 58], Operations: ['41-14=27', '55+3=58'] Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,54 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[55, 3, 55], Operations: ['41+14=55'] Exploring Operation: 55-3=52, Resulting Numbers: [55, 52] Generated Node #0,3,0: 54:[55, 52] Operation: 55-3=52 Exploring Operation: 55/55=1, Resulting Numbers: [3, 1] Generated Node #0,3,1: 54:[3, 1] Operation: 55/55=1 Exploring Operation: 55-55=0, Resulting Numbers: [3, 0] Generated Node #0,3,2: 54:[3, 0] Operation: 55-55=0 Exploring Operation: 55-3=52, Resulting Numbers: [55, 52] Generated Node #0,3,3: 54:[55, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[3, 1], Operations: ['41+14=55', '55/55=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[3, 0], Operations: ['41+14=55', '55-55=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[55, 52], Operations: ['41+14=55', '55-3=52'] Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,54 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[55, 52], Operations: ['41+14=55', '55-3=52'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,54 unequal: No Solution Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[3, 14, 14], Operations: ['55-41=14'] Exploring Operation: 14-14=0, Resulting Numbers: [3, 0] Generated Node #0,2,0: 54:[3, 0] Operation: 14-14=0 Exploring Operation: 3+14=17, Resulting Numbers: [14, 17] Generated Node #0,2,1: 54:[14, 17] Operation: 3+14=17 Exploring Operation: 14+14=28, Resulting Numbers: [3, 28] Generated Node #0,2,2: 54:[3, 28] Operation: 14+14=28 Exploring Operation: 14/14=1, Resulting Numbers: [3, 1] Generated Node #0,2,3: 54:[3, 1] Operation: 14/14=1 Moving to Node #0,2,2 Current State: 54:[3, 28], Operations: ['55-41=14', '14+14=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,54 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[3, 1], Operations: ['55-41=14', '14/14=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[3, 0], Operations: ['55-41=14', '14-14=0'] Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[14, 17], Operations: ['55-41=14', '3+14=17'] Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,54 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[55, 14, 44], Operations: ['41+3=44'] Exploring Operation: 44-14=30, Resulting Numbers: [55, 30] Generated Node #0,0,0: 54:[55, 30] Operation: 44-14=30 Exploring Operation: 14+44=58, Resulting Numbers: [55, 58] Generated Node #0,0,1: 54:[55, 58] Operation: 14+44=58 Exploring Operation: 55-44=11, Resulting Numbers: [14, 11] Generated Node #0,0,2: 54:[14, 11] Operation: 55-44=11 Exploring Operation: 55-14=41, Resulting Numbers: [44, 41] Generated Node #0,0,3: 54:[44, 41] Operation: 55-14=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[55, 30], Operations: ['41+3=44', '44-14=30'] Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 55*30=1650, Resulting Numbers: [1650] 1650,54 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[55, 58], Operations: ['41+3=44', '14+44=58'] Exploring Operation: 55*58=3190, Resulting Numbers: [3190] 3190,54 unequal: No Solution Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 55+58=113, Resulting Numbers: [113] 113,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[14, 11], Operations: ['41+3=44', '55-44=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 54:[44, 41], Operations: ['41+3=44', '55-14=41'] Exploring Operation: 44*41=1804, Resulting Numbers: [1804] 1804,54 unequal: No Solution Exploring Operation: 44+41=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 25, 56, 13, 91 ]
33
[ "56*13=728", "728/91=8", "25+8=33" ]
Current State: 33:[25, 56, 13, 91], Operations: [] Exploring Operation: 56*13=728, Resulting Numbers: [25, 91, 728] Generated Node #2: [25, 91, 728] from Operation: 56*13=728 Current State: 33:[25, 91, 728], Operations: ['56*13=728'] Exploring Operation: 728/91=8, Resulting Numbers: [25, 8] Generated Node #3: [25, 8] from Operation: 728/91=8 Current State: 33:[25, 8], Operations: ['56*13=728', '728/91=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[25, 56, 13, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [25, 56, 7] Generated Node #0,0: 33:[25, 56, 7] Operation: 91/13=7 Exploring Operation: 56-25=31, Resulting Numbers: [13, 91, 31] Generated Node #0,1: 33:[13, 91, 31] Operation: 56-25=31 Exploring Operation: 91-56=35, Resulting Numbers: [25, 13, 35] Generated Node #0,2: 33:[25, 13, 35] Operation: 91-56=35 Exploring Operation: 91-25=66, Resulting Numbers: [56, 13, 66] Generated Node #0,3: 33:[56, 13, 66] Operation: 91-25=66 Exploring Operation: 56-13=43, Resulting Numbers: [25, 91, 43] Generated Node #0,4: 33:[25, 91, 43] Operation: 56-13=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[25, 13, 35], Operations: ['91-56=35'] Exploring Operation: 35-13=22, Resulting Numbers: [25, 22] Generated Node #0,2,0: 33:[25, 22] Operation: 35-13=22 Exploring Operation: 13+35=48, Resulting Numbers: [25, 48] Generated Node #0,2,1: 33:[25, 48] Operation: 13+35=48 Exploring Operation: 35-25=10, Resulting Numbers: [13, 10] Generated Node #0,2,2: 33:[13, 10] Operation: 35-25=10 Exploring Operation: 25-13=12, Resulting Numbers: [35, 12] Generated Node #0,2,3: 33:[35, 12] Operation: 25-13=12 Exploring Operation: 25+13=38, Resulting Numbers: [35, 38] Generated Node #0,2,4: 33:[35, 38] Operation: 25+13=38 Moving to Node #0,2,2 Current State: 33:[13, 10], Operations: ['91-56=35', '35-25=10'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[35, 12], Operations: ['91-56=35', '25-13=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,33 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[35, 38], Operations: ['91-56=35', '25+13=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[25, 22], Operations: ['91-56=35', '35-13=22'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,33 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[25, 48], Operations: ['91-56=35', '13+35=48'] Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,33 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,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 Current State: 33:[25, 56, 7], Operations: ['91/13=7'] Exploring Operation: 25+7=32, Resulting Numbers: [56, 32] Generated Node #0,0,0: 33:[56, 32] Operation: 25+7=32 Exploring Operation: 56/7=8, Resulting Numbers: [25, 8] Generated Node #0,0,1: 33:[25, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [25, 49] Generated Node #0,0,2: 33:[25, 49] Operation: 56-7=49 Exploring Operation: 25-7=18, Resulting Numbers: [56, 18] Generated Node #0,0,3: 33:[56, 18] Operation: 25-7=18 Exploring Operation: 56-25=31, Resulting Numbers: [7, 31] Generated Node #0,0,4: 33:[7, 31] Operation: 56-25=31 Moving to Node #0,0,4 Current State: 33:[7, 31], Operations: ['91/13=7', '56-25=31'] Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,33 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[25, 8], Operations: ['91/13=7', '56/7=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[25, 56, 13, 91], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [25, 56, 7] Generated Node #0,0: 33:[25, 56, 7] Operation: 91/13=7 Moving to Node #0,0 Current State: 33:[25, 56, 7], Operations: ['91/13=7'] Exploring Operation: 56/7=8, Resulting Numbers: [25, 8] Generated Node #0,0,1: 33:[25, 8] Operation: 56/7=8 Moving to Node #0,0,1 Current State: 33:[25, 8], Operations: ['91/13=7', '56/7=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 81, 63, 34, 64 ]
80
[ "81-63=18", "34+64=98", "98-18=80" ]
Current State: 80:[81, 63, 34, 64], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [34, 64, 18] Generated Node #2: [34, 64, 18] from Operation: 81-63=18 Current State: 80:[34, 64, 18], Operations: ['81-63=18'] Exploring Operation: 34+64=98, Resulting Numbers: [18, 98] Generated Node #3: [18, 98] from Operation: 34+64=98 Current State: 80:[18, 98], Operations: ['81-63=18', '34+64=98'] Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 63, 34, 64], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [34, 64, 18] Generated Node #0,0: 80:[34, 64, 18] Operation: 81-63=18 Exploring Operation: 64-63=1, Resulting Numbers: [81, 34, 1] Generated Node #0,1: 80:[81, 34, 1] Operation: 64-63=1 Moving to Node #0,1 Current State: 80:[81, 34, 1], Operations: ['64-63=1'] Exploring Operation: 34+1=35, Resulting Numbers: [81, 35] Generated Node #0,1,0: 80:[81, 35] Operation: 34+1=35 Exploring Operation: 81-1=80, Resulting Numbers: [34, 80] Generated Node #0,1,1: 80:[34, 80] Operation: 81-1=80 Moving to Node #0,0 Current State: 80:[34, 64, 18], Operations: ['81-63=18'] Exploring Operation: 64-34=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 80:[18, 30] Operation: 64-34=30 Exploring Operation: 64+18=82, Resulting Numbers: [34, 82] Generated Node #0,0,1: 80:[34, 82] Operation: 64+18=82 Moving to Node #0,1,0 Current State: 80:[81, 35], Operations: ['64-63=1', '34+1=35'] Exploring Operation: 81-35=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 81+35=116, Resulting Numbers: [116] 116,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[34, 80], Operations: ['64-63=1', '81-1=80'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[34, 82], Operations: ['81-63=18', '64+18=82'] Exploring Operation: 34+82=116, Resulting Numbers: [116] 116,80 unequal: No Solution Exploring Operation: 82-34=48, Resulting Numbers: [48] 48,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[18, 30], Operations: ['81-63=18', '64-34=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,80 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 49, 30, 1 ]
42
[ "22+49=71", "30-1=29", "71-29=42" ]
Current State: 42:[22, 49, 30, 1], Operations: [] Exploring Operation: 22+49=71, Resulting Numbers: [30, 1, 71] Generated Node #2: [30, 1, 71] from Operation: 22+49=71 Current State: 42:[30, 1, 71], Operations: ['22+49=71'] Exploring Operation: 30-1=29, Resulting Numbers: [71, 29] Generated Node #3: [71, 29] from Operation: 30-1=29 Current State: 42:[71, 29], Operations: ['22+49=71', '30-1=29'] Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[22, 49, 30, 1], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [49, 1, 8] Generated Node #0,0: 42:[49, 1, 8] Operation: 30-22=8 Exploring Operation: 49-22=27, Resulting Numbers: [30, 1, 27] Generated Node #0,1: 42:[30, 1, 27] Operation: 49-22=27 Exploring Operation: 49-30=19, Resulting Numbers: [22, 1, 19] Generated Node #0,2: 42:[22, 1, 19] Operation: 49-30=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[22, 1, 19], Operations: ['49-30=19'] Exploring Operation: 22-19=3, Resulting Numbers: [1, 3] Generated Node #0,2,0: 42:[1, 3] Operation: 22-19=3 Exploring Operation: 22-1=21, Resulting Numbers: [19, 21] Generated Node #0,2,1: 42:[19, 21] Operation: 22-1=21 Exploring Operation: 22+19=41, Resulting Numbers: [1, 41] Generated Node #0,2,2: 42:[1, 41] Operation: 22+19=41 Moving to Node #0,2,0 Current State: 42:[1, 3], Operations: ['49-30=19', '22-19=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[19, 21], Operations: ['49-30=19', '22-1=21'] Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,42 unequal: No Solution Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,42 unequal: No Solution Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,42 unequal: No Solution Moving to Node #0,2,2 Current State: 42:[1, 41], Operations: ['49-30=19', '22+19=41'] Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,42 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[22, 49, 30, 1], Operations: [] Exploring Operation: 49-30=19, Resulting Numbers: [22, 1, 19] Generated Node #0,2: 42:[22, 1, 19] Operation: 49-30=19 Moving to Node #0,2 Current State: 42:[22, 1, 19], Operations: ['49-30=19'] Exploring Operation: 22+19=41, Resulting Numbers: [1, 41] Generated Node #0,2,2: 42:[1, 41] Operation: 22+19=41 Moving to Node #0,2,2 Current State: 42:[1, 41], Operations: ['49-30=19', '22+19=41'] Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 12, 60, 92, 84 ]
46
[ "12*92=1104", "84-60=24", "1104/24=46" ]
Current State: 46:[12, 60, 92, 84], Operations: [] Exploring Operation: 12*92=1104, Resulting Numbers: [60, 84, 1104] Generated Node #2: [60, 84, 1104] from Operation: 12*92=1104 Current State: 46:[60, 84, 1104], Operations: ['12*92=1104'] Exploring Operation: 84-60=24, Resulting Numbers: [1104, 24] Generated Node #3: [1104, 24] from Operation: 84-60=24 Current State: 46:[1104, 24], Operations: ['12*92=1104', '84-60=24'] Exploring Operation: 1104/24=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[12, 60, 92, 84], Operations: [] Exploring Operation: 92-84=8, Resulting Numbers: [12, 60, 8] Generated Node #0,0: 46:[12, 60, 8] Operation: 92-84=8 Exploring Operation: 92-60=32, Resulting Numbers: [12, 84, 32] Generated Node #0,1: 46:[12, 84, 32] Operation: 92-60=32 Exploring Operation: 84-60=24, Resulting Numbers: [12, 92, 24] Generated Node #0,2: 46:[12, 92, 24] Operation: 84-60=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[12, 60, 8], Operations: ['92-84=8'] Exploring Operation: 12-8=4, Resulting Numbers: [60, 4] Generated Node #0,0,0: 46:[60, 4] Operation: 12-8=4 Exploring Operation: 60-12=48, Resulting Numbers: [8, 48] Generated Node #0,0,1: 46:[8, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [8, 5] Generated Node #0,0,2: 46:[8, 5] Operation: 60/12=5 Moving to Node #0,0,1 Current State: 46:[8, 48], Operations: ['92-84=8', '60-12=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,46 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,46 unequal: No Solution Moving to Node #0,0,2 Current State: 46:[8, 5], Operations: ['92-84=8', '60/12=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,46 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,46 unequal: No Solution Moving to Node #0,0,0 Current State: 46:[60, 4], Operations: ['92-84=8', '12-8=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,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,1 Current State: 46:[12, 84, 32], Operations: ['92-60=32'] Exploring Operation: 84/12=7, Resulting Numbers: [32, 7] Generated Node #0,1,0: 46:[32, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [32, 72] Generated Node #0,1,1: 46:[32, 72] Operation: 84-12=72 Exploring Operation: 84-32=52, Resulting Numbers: [12, 52] Generated Node #0,1,2: 46:[12, 52] Operation: 84-32=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[32, 7], Operations: ['92-60=32', '84/12=7'] Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,46 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,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,2 Current State: 46:[12, 52], Operations: ['92-60=32', '84-32=52'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,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:[32, 72], Operations: ['92-60=32', '84-12=72'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 32*72=2304, Resulting Numbers: [2304] 2304,46 unequal: No Solution Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,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,2 Current State: 46:[12, 92, 24], Operations: ['84-60=24'] Exploring Operation: 24/12=2, Resulting Numbers: [92, 2] Generated Node #0,2,0: 46:[92, 2] Operation: 24/12=2 Exploring Operation: 92-12=80, Resulting Numbers: [24, 80] Generated Node #0,2,1: 46:[24, 80] Operation: 92-12=80 Exploring Operation: 92-24=68, Resulting Numbers: [12, 68] Generated Node #0,2,2: 46:[12, 68] Operation: 92-24=68 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[12, 68], Operations: ['84-60=24', '92-24=68'] Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,46 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 46:[24, 80], Operations: ['84-60=24', '92-12=80'] Exploring Operation: 24+80=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 24*80=1920, Resulting Numbers: [1920] 1920,46 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,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:[92, 2], Operations: ['84-60=24', '24/12=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[12, 60, 92, 84], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [12, 92, 24] Generated Node #0,2: 46:[12, 92, 24] Operation: 84-60=24 Moving to Node #0,2 Current State: 46:[12, 92, 24], Operations: ['84-60=24'] Exploring Operation: 24/12=2, Resulting Numbers: [92, 2] Generated Node #0,2,0: 46:[92, 2] Operation: 24/12=2 Moving to Node #0,2,0 Current State: 46:[92, 2], Operations: ['84-60=24', '24/12=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 55, 13, 39, 12 ]
93
[ "55-13=42", "39+12=51", "42+51=93" ]
Current State: 93:[55, 13, 39, 12], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [39, 12, 42] Generated Node #2: [39, 12, 42] from Operation: 55-13=42 Current State: 93:[39, 12, 42], Operations: ['55-13=42'] Exploring Operation: 39+12=51, Resulting Numbers: [42, 51] Generated Node #3: [42, 51] from Operation: 39+12=51 Current State: 93:[42, 51], Operations: ['55-13=42', '39+12=51'] Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[55, 13, 39, 12], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [13, 39, 43] Generated Node #0,0: 93:[13, 39, 43] Operation: 55-12=43 Exploring Operation: 39/13=3, Resulting Numbers: [55, 12, 3] Generated Node #0,1: 93:[55, 12, 3] Operation: 39/13=3 Exploring Operation: 55-39=16, Resulting Numbers: [13, 12, 16] Generated Node #0,2: 93:[13, 12, 16] Operation: 55-39=16 Exploring Operation: 55+39=94, Resulting Numbers: [13, 12, 94] Generated Node #0,3: 93:[13, 12, 94] Operation: 55+39=94 Exploring Operation: 55-13=42, Resulting Numbers: [39, 12, 42] Generated Node #0,4: 93:[39, 12, 42] Operation: 55-13=42 Moving to Node #0,3 Current State: 93:[13, 12, 94], Operations: ['55+39=94'] Exploring Operation: 94-12=82, Resulting Numbers: [13, 82] Generated Node #0,3,0: 93:[13, 82] Operation: 94-12=82 Exploring Operation: 13-12=1, Resulting Numbers: [94, 1] Generated Node #0,3,1: 93:[94, 1] Operation: 13-12=1 Exploring Operation: 13+94=107, Resulting Numbers: [12, 107] Generated Node #0,3,2: 93:[12, 107] Operation: 13+94=107 Exploring Operation: 94-13=81, Resulting Numbers: [12, 81] Generated Node #0,3,3: 93:[12, 81] Operation: 94-13=81 Exploring Operation: 13+12=25, Resulting Numbers: [94, 25] Generated Node #0,3,4: 93:[94, 25] Operation: 13+12=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[94, 1], Operations: ['55+39=94', '13-12=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,93 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[55, 13, 39, 12], Operations: [] Exploring Operation: 55+39=94, Resulting Numbers: [13, 12, 94] Generated Node #0,3: 93:[13, 12, 94] Operation: 55+39=94 Moving to Node #0,3 Current State: 93:[13, 12, 94], Operations: ['55+39=94'] Exploring Operation: 13-12=1, Resulting Numbers: [94, 1] Generated Node #0,3,1: 93:[94, 1] Operation: 13-12=1 Moving to Node #0,3,1 Current State: 93:[94, 1], Operations: ['55+39=94', '13-12=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 71, 8, 80, 65 ]
97
[ "71+65=136", "136/8=17", "80+17=97" ]
Current State: 97:[71, 8, 80, 65], Operations: [] Exploring Operation: 71+65=136, Resulting Numbers: [8, 80, 136] Generated Node #2: [8, 80, 136] from Operation: 71+65=136 Current State: 97:[8, 80, 136], Operations: ['71+65=136'] Exploring Operation: 136/8=17, Resulting Numbers: [80, 17] Generated Node #3: [80, 17] from Operation: 136/8=17 Current State: 97:[80, 17], Operations: ['71+65=136', '136/8=17'] Exploring Operation: 80+17=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 8, 80, 65], Operations: [] Exploring Operation: 71+8=79, Resulting Numbers: [80, 65, 79] Generated Node #0,0: 97:[80, 65, 79] Operation: 71+8=79 Moving to Node #0,0 Current State: 97:[80, 65, 79], Operations: ['71+8=79'] Exploring Operation: 65+79=144, Resulting Numbers: [80, 144] Generated Node #0,0,0: 97:[80, 144] Operation: 65+79=144 Moving to Node #0,0,0 Current State: 97:[80, 144], Operations: ['71+8=79', '65+79=144'] Exploring Operation: 144-80=64, Resulting Numbers: [64] 64,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 43, 4, 43, 85 ]
90
[ "43/43=1", "4+85=89", "1+89=90" ]
Current State: 90:[43, 4, 43, 85], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [4, 85, 1] Generated Node #2: [4, 85, 1] from Operation: 43/43=1 Current State: 90:[4, 85, 1], Operations: ['43/43=1'] Exploring Operation: 4+85=89, Resulting Numbers: [1, 89] Generated Node #3: [1, 89] from Operation: 4+85=89 Current State: 90:[1, 89], Operations: ['43/43=1', '4+85=89'] Exploring Operation: 1+89=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[43, 4, 43, 85], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [43, 4, 42] Generated Node #0,0: 90:[43, 4, 42] Operation: 85-43=42 Exploring Operation: 43/43=1, Resulting Numbers: [4, 85, 1] Generated Node #0,1: 90:[4, 85, 1] Operation: 43/43=1 Exploring Operation: 4+85=89, Resulting Numbers: [43, 43, 89] Generated Node #0,2: 90:[43, 43, 89] Operation: 4+85=89 Exploring Operation: 85-43=42, Resulting Numbers: [4, 43, 42] Generated Node #0,3: 90:[4, 43, 42] Operation: 85-43=42 Moving to Node #0,2 Current State: 90:[43, 43, 89], Operations: ['4+85=89'] Exploring Operation: 89-43=46, Resulting Numbers: [43, 46] Generated Node #0,2,0: 90:[43, 46] Operation: 89-43=46 Exploring Operation: 43-43=0, Resulting Numbers: [89, 0] Generated Node #0,2,1: 90:[89, 0] Operation: 43-43=0 Exploring Operation: 89-43=46, Resulting Numbers: [43, 46] Generated Node #0,2,2: 90:[43, 46] Operation: 89-43=46 Exploring Operation: 43/43=1, Resulting Numbers: [89, 1] Generated Node #0,2,3: 90:[89, 1] Operation: 43/43=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[89, 1], Operations: ['4+85=89', '43/43=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[43, 4, 43, 85], Operations: [] Exploring Operation: 4+85=89, Resulting Numbers: [43, 43, 89] Generated Node #0,2: 90:[43, 43, 89] Operation: 4+85=89 Moving to Node #0,2 Current State: 90:[43, 43, 89], Operations: ['4+85=89'] Exploring Operation: 43/43=1, Resulting Numbers: [89, 1] Generated Node #0,2,3: 90:[89, 1] Operation: 43/43=1 Moving to Node #0,2,3 Current State: 90:[89, 1], Operations: ['4+85=89', '43/43=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 36, 85, 68, 18 ]
34
[ "36/18=2", "85-68=17", "2*17=34" ]
Current State: 34:[36, 85, 68, 18], Operations: [] Exploring Operation: 36/18=2, Resulting Numbers: [85, 68, 2] Generated Node #2: [85, 68, 2] from Operation: 36/18=2 Current State: 34:[85, 68, 2], Operations: ['36/18=2'] Exploring Operation: 85-68=17, Resulting Numbers: [2, 17] Generated Node #3: [2, 17] from Operation: 85-68=17 Current State: 34:[2, 17], Operations: ['36/18=2', '85-68=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[36, 85, 68, 18], Operations: [] Exploring Operation: 85-36=49, Resulting Numbers: [68, 18, 49] Generated Node #0,0: 34:[68, 18, 49] Operation: 85-36=49 Exploring Operation: 85-68=17, Resulting Numbers: [36, 18, 17] Generated Node #0,1: 34:[36, 18, 17] Operation: 85-68=17 Moving to Node #0,1 Current State: 34:[36, 18, 17], Operations: ['85-68=17'] Exploring Operation: 36-18=18, Resulting Numbers: [17, 18] Generated Node #0,1,0: 34:[17, 18] Operation: 36-18=18 Exploring Operation: 36/18=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 34:[17, 2] Operation: 36/18=2 Moving to Node #0,0 Current State: 34:[68, 18, 49], Operations: ['85-36=49'] Exploring Operation: 68-18=50, Resulting Numbers: [49, 50] Generated Node #0,0,0: 34:[49, 50] Operation: 68-18=50 Exploring Operation: 68-49=19, Resulting Numbers: [18, 19] Generated Node #0,0,1: 34:[18, 19] Operation: 68-49=19 Moving to Node #0,1,1 Current State: 34:[17, 2], Operations: ['85-68=17', '36/18=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[36, 85, 68, 18], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [36, 18, 17] Generated Node #0,1: 34:[36, 18, 17] Operation: 85-68=17 Moving to Node #0,1 Current State: 34:[36, 18, 17], Operations: ['85-68=17'] Exploring Operation: 36/18=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 34:[17, 2] Operation: 36/18=2 Moving to Node #0,1,1 Current State: 34:[17, 2], Operations: ['85-68=17', '36/18=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 1, 77, 21, 35 ]
62
[ "77-1=76", "35-21=14", "76-14=62" ]
Current State: 62:[1, 77, 21, 35], Operations: [] Exploring Operation: 77-1=76, Resulting Numbers: [21, 35, 76] Generated Node #2: [21, 35, 76] from Operation: 77-1=76 Current State: 62:[21, 35, 76], Operations: ['77-1=76'] Exploring Operation: 35-21=14, Resulting Numbers: [76, 14] Generated Node #3: [76, 14] from Operation: 35-21=14 Current State: 62:[76, 14], Operations: ['77-1=76', '35-21=14'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[1, 77, 21, 35], Operations: [] Exploring Operation: 77-21=56, Resulting Numbers: [1, 35, 56] Generated Node #0,0: 62:[1, 35, 56] Operation: 77-21=56 Exploring Operation: 77-1=76, Resulting Numbers: [21, 35, 76] Generated Node #0,1: 62:[21, 35, 76] Operation: 77-1=76 Exploring Operation: 77-35=42, Resulting Numbers: [1, 21, 42] Generated Node #0,2: 62:[1, 21, 42] Operation: 77-35=42 Exploring Operation: 21+35=56, Resulting Numbers: [1, 77, 56] Generated Node #0,3: 62:[1, 77, 56] Operation: 21+35=56 Moving to Node #0,0 Current State: 62:[1, 35, 56], Operations: ['77-21=56'] Exploring Operation: 35-1=34, Resulting Numbers: [56, 34] Generated Node #0,0,0: 62:[56, 34] Operation: 35-1=34 Exploring Operation: 1*35=35, Resulting Numbers: [56, 35] Generated Node #0,0,1: 62:[56, 35] Operation: 1*35=35 Exploring Operation: 35/1=35, Resulting Numbers: [56, 35] Generated Node #0,0,2: 62:[56, 35] Operation: 35/1=35 Exploring Operation: 1+56=57, Resulting Numbers: [35, 57] Generated Node #0,0,3: 62:[35, 57] Operation: 1+56=57 Moving to Node #0,3 Current State: 62:[1, 77, 56], Operations: ['21+35=56'] Exploring Operation: 1*77=77, Resulting Numbers: [56, 77] Generated Node #0,3,0: 62:[56, 77] Operation: 1*77=77 Exploring Operation: 77-56=21, Resulting Numbers: [1, 21] Generated Node #0,3,1: 62:[1, 21] Operation: 77-56=21 Exploring Operation: 1+56=57, Resulting Numbers: [77, 57] Generated Node #0,3,2: 62:[77, 57] Operation: 1+56=57 Exploring Operation: 77-1=76, Resulting Numbers: [56, 76] Generated Node #0,3,3: 62:[56, 76] Operation: 77-1=76 Moving to Node #0,2 Current State: 62:[1, 21, 42], Operations: ['77-35=42'] Exploring Operation: 1+21=22, Resulting Numbers: [42, 22] Generated Node #0,2,0: 62:[42, 22] Operation: 1+21=22 Exploring Operation: 42/21=2, Resulting Numbers: [1, 2] Generated Node #0,2,1: 62:[1, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [1, 21] Generated Node #0,2,2: 62:[1, 21] Operation: 42-21=21 Exploring Operation: 21+42=63, Resulting Numbers: [1, 63] Generated Node #0,2,3: 62:[1, 63] Operation: 21+42=63 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[1, 2], Operations: ['77-35=42', '42/21=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[1, 63], Operations: ['77-35=42', '21+42=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[1, 77, 21, 35], Operations: [] Exploring Operation: 77-35=42, Resulting Numbers: [1, 21, 42] Generated Node #0,2: 62:[1, 21, 42] Operation: 77-35=42 Moving to Node #0,2 Current State: 62:[1, 21, 42], Operations: ['77-35=42'] Exploring Operation: 21+42=63, Resulting Numbers: [1, 63] Generated Node #0,2,3: 62:[1, 63] Operation: 21+42=63 Moving to Node #0,2,3 Current State: 62:[1, 63], Operations: ['77-35=42', '21+42=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
mult_heuristic
[ 8, 42, 96, 6 ]
81
[ "96-8=88", "42/6=7", "88-7=81" ]
Current State: 81:[8, 42, 96, 6], Operations: [] Exploring Operation: 96-8=88, Resulting Numbers: [42, 6, 88] Generated Node #2: [42, 6, 88] from Operation: 96-8=88 Current State: 81:[42, 6, 88], Operations: ['96-8=88'] Exploring Operation: 42/6=7, Resulting Numbers: [88, 7] Generated Node #3: [88, 7] from Operation: 42/6=7 Current State: 81:[88, 7], Operations: ['96-8=88', '42/6=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[8, 42, 96, 6], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [8, 96, 7] Generated Node #0,0: 81:[8, 96, 7] Operation: 42/6=7 Moving to Node #0,0 Current State: 81:[8, 96, 7], Operations: ['42/6=7'] Exploring Operation: 96/8=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 81:[7, 12] Operation: 96/8=12 Moving to Node #0,0,0 Current State: 81:[7, 12], Operations: ['42/6=7', '96/8=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,81 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 35, 52, 57, 24 ]
26
[ "57-35=22", "24-22=2", "52/2=26" ]
Current State: 26:[35, 52, 57, 24], Operations: [] Exploring Operation: 57-35=22, Resulting Numbers: [52, 24, 22] Generated Node #2: [52, 24, 22] from Operation: 57-35=22 Current State: 26:[52, 24, 22], Operations: ['57-35=22'] Exploring Operation: 24-22=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 24-22=2 Current State: 26:[52, 2], Operations: ['57-35=22', '24-22=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[35, 52, 57, 24], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [35, 24, 5] Generated Node #0,0: 26:[35, 24, 5] Operation: 57-52=5 Moving to Node #0,0 Current State: 26:[35, 24, 5], Operations: ['57-52=5'] Exploring Operation: 35-24=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 26:[5, 11] Operation: 35-24=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[5, 11], Operations: ['57-52=5', '35-24=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,26 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
[ 29, 15, 94, 41 ]
97
[ "29+15=44", "94-41=53", "44+53=97" ]
Current State: 97:[29, 15, 94, 41], Operations: [] Exploring Operation: 29+15=44, Resulting Numbers: [94, 41, 44] Generated Node #2: [94, 41, 44] from Operation: 29+15=44 Current State: 97:[94, 41, 44], Operations: ['29+15=44'] Exploring Operation: 94-41=53, Resulting Numbers: [44, 53] Generated Node #3: [44, 53] from Operation: 94-41=53 Current State: 97:[44, 53], Operations: ['29+15=44', '94-41=53'] Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[29, 15, 94, 41], Operations: [] Exploring Operation: 29+15=44, Resulting Numbers: [94, 41, 44] Generated Node #0,0: 97:[94, 41, 44] Operation: 29+15=44 Exploring Operation: 29+41=70, Resulting Numbers: [15, 94, 70] Generated Node #0,1: 97:[15, 94, 70] Operation: 29+41=70 Moving to Node #0,0 Current State: 97:[94, 41, 44], Operations: ['29+15=44'] Exploring Operation: 41+44=85, Resulting Numbers: [94, 85] Generated Node #0,0,0: 97:[94, 85] Operation: 41+44=85 Exploring Operation: 94+41=135, Resulting Numbers: [44, 135] Generated Node #0,0,1: 97:[44, 135] Operation: 94+41=135 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[94, 85], Operations: ['29+15=44', '41+44=85'] Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[44, 135], Operations: ['29+15=44', '94+41=135'] Exploring Operation: 135-44=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 44+135=179, Resulting Numbers: [179] 179,97 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: 97:[15, 94, 70], Operations: ['29+41=70'] Exploring Operation: 15+94=109, Resulting Numbers: [70, 109] Generated Node #0,1,0: 97:[70, 109] Operation: 15+94=109 Exploring Operation: 15+70=85, Resulting Numbers: [94, 85] Generated Node #0,1,1: 97:[94, 85] Operation: 15+70=85 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[94, 85], Operations: ['29+41=70', '15+70=85'] Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[70, 109], Operations: ['29+41=70', '15+94=109'] Exploring Operation: 109-70=39, Resulting Numbers: [39] 39,97 unequal: No Solution Exploring Operation: 70+109=179, Resulting Numbers: [179] 179,97 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
[ 63, 3, 38, 59 ]
92
[ "63*3=189", "38+59=97", "189-97=92" ]
Current State: 92:[63, 3, 38, 59], Operations: [] Exploring Operation: 63*3=189, Resulting Numbers: [38, 59, 189] Generated Node #2: [38, 59, 189] from Operation: 63*3=189 Current State: 92:[38, 59, 189], Operations: ['63*3=189'] Exploring Operation: 38+59=97, Resulting Numbers: [189, 97] Generated Node #3: [189, 97] from Operation: 38+59=97 Current State: 92:[189, 97], Operations: ['63*3=189', '38+59=97'] Exploring Operation: 189-97=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[63, 3, 38, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [3, 38, 4] Generated Node #0,0: 92:[3, 38, 4] Operation: 63-59=4 Exploring Operation: 63-38=25, Resulting Numbers: [3, 59, 25] Generated Node #0,1: 92:[3, 59, 25] Operation: 63-38=25 Moving to Node #0,0 Current State: 92:[3, 38, 4], Operations: ['63-59=4'] Exploring Operation: 38+4=42, Resulting Numbers: [3, 42] Generated Node #0,0,0: 92:[3, 42] Operation: 38+4=42 Exploring Operation: 3+38=41, Resulting Numbers: [4, 41] Generated Node #0,0,1: 92:[4, 41] Operation: 3+38=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[3, 42], Operations: ['63-59=4', '38+4=42'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,92 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[4, 41], Operations: ['63-59=4', '3+38=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,92 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,92 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: 92:[3, 59, 25], Operations: ['63-38=25'] Exploring Operation: 59+25=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 92:[3, 84] Operation: 59+25=84 Exploring Operation: 59-3=56, Resulting Numbers: [25, 56] Generated Node #0,1,1: 92:[25, 56] Operation: 59-3=56 Moving to Node #0,1,0 Current State: 92:[3, 84], Operations: ['63-38=25', '59+25=84'] Exploring Operation: 3+84=87, Resulting Numbers: [87] 87,92 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[25, 56], Operations: ['63-38=25', '59-3=56'] Exploring Operation: 25+56=81, Resulting Numbers: [81] 81,92 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 43, 53, 18, 33 ]
86
[ "53-18=35", "35-33=2", "43*2=86" ]
Current State: 86:[43, 53, 18, 33], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [43, 33, 35] Generated Node #2: [43, 33, 35] from Operation: 53-18=35 Current State: 86:[43, 33, 35], Operations: ['53-18=35'] Exploring Operation: 35-33=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 35-33=2 Current State: 86:[43, 2], Operations: ['53-18=35', '35-33=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 53, 18, 33], Operations: [] Exploring Operation: 53+33=86, Resulting Numbers: [43, 18, 86] Generated Node #0,0: 86:[43, 18, 86] Operation: 53+33=86 Exploring Operation: 53-18=35, Resulting Numbers: [43, 33, 35] Generated Node #0,1: 86:[43, 33, 35] Operation: 53-18=35 Moving to Node #0,0 Current State: 86:[43, 18, 86], Operations: ['53+33=86'] Exploring Operation: 86-43=43, Resulting Numbers: [18, 43] Generated Node #0,0,0: 86:[18, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 86:[18, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[18, 43], Operations: ['53+33=86', '86-43=43'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,86 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,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:[18, 2], Operations: ['53+33=86', '86/43=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,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:[43, 33, 35], Operations: ['53-18=35'] Exploring Operation: 35-33=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 86:[43, 2] Operation: 35-33=2 Exploring Operation: 43-33=10, Resulting Numbers: [35, 10] Generated Node #0,1,1: 86:[35, 10] Operation: 43-33=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[43, 2], Operations: ['53-18=35', '35-33=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[43, 53, 18, 33], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [43, 33, 35] Generated Node #0,1: 86:[43, 33, 35] Operation: 53-18=35 Moving to Node #0,1 Current State: 86:[43, 33, 35], Operations: ['53-18=35'] Exploring Operation: 35-33=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 86:[43, 2] Operation: 35-33=2 Moving to Node #0,1,0 Current State: 86:[43, 2], Operations: ['53-18=35', '35-33=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 24, 43, 6, 6 ]
86
[ "24*43=1032", "6+6=12", "1032/12=86" ]
Current State: 86:[24, 43, 6, 6], Operations: [] Exploring Operation: 24*43=1032, Resulting Numbers: [6, 6, 1032] Generated Node #2: [6, 6, 1032] from Operation: 24*43=1032 Current State: 86:[6, 6, 1032], Operations: ['24*43=1032'] Exploring Operation: 6+6=12, Resulting Numbers: [1032, 12] Generated Node #3: [1032, 12] from Operation: 6+6=12 Current State: 86:[1032, 12], Operations: ['24*43=1032', '6+6=12'] Exploring Operation: 1032/12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[24, 43, 6, 6], Operations: [] Exploring Operation: 24+6=30, Resulting Numbers: [43, 6, 30] Generated Node #0,0: 86:[43, 6, 30] Operation: 24+6=30 Exploring Operation: 24/6=4, Resulting Numbers: [43, 6, 4] Generated Node #0,1: 86:[43, 6, 4] Operation: 24/6=4 Exploring Operation: 24-6=18, Resulting Numbers: [43, 6, 18] Generated Node #0,2: 86:[43, 6, 18] Operation: 24-6=18 Exploring Operation: 24+6=30, Resulting Numbers: [43, 6, 30] Generated Node #0,3: 86:[43, 6, 30] Operation: 24+6=30 Exploring Operation: 24/6=4, Resulting Numbers: [43, 6, 4] Generated Node #0,4: 86:[43, 6, 4] Operation: 24/6=4 Moving to Node #0,1 Current State: 86:[43, 6, 4], Operations: ['24/6=4'] Exploring Operation: 43-6=37, Resulting Numbers: [4, 37] Generated Node #0,1,0: 86:[4, 37] Operation: 43-6=37 Exploring Operation: 43+6=49, Resulting Numbers: [4, 49] Generated Node #0,1,1: 86:[4, 49] Operation: 43+6=49 Exploring Operation: 6-4=2, Resulting Numbers: [43, 2] Generated Node #0,1,2: 86:[43, 2] Operation: 6-4=2 Exploring Operation: 43+4=47, Resulting Numbers: [6, 47] Generated Node #0,1,3: 86:[6, 47] Operation: 43+4=47 Exploring Operation: 43-4=39, Resulting Numbers: [6, 39] Generated Node #0,1,4: 86:[6, 39] Operation: 43-4=39 Moving to Node #0,4 Current State: 86:[43, 6, 4], Operations: ['24/6=4'] Exploring Operation: 43-6=37, Resulting Numbers: [4, 37] Generated Node #0,4,0: 86:[4, 37] Operation: 43-6=37 Exploring Operation: 43+6=49, Resulting Numbers: [4, 49] Generated Node #0,4,1: 86:[4, 49] Operation: 43+6=49 Exploring Operation: 43+4=47, Resulting Numbers: [6, 47] Generated Node #0,4,2: 86:[6, 47] Operation: 43+4=47 Exploring Operation: 43-4=39, Resulting Numbers: [6, 39] Generated Node #0,4,3: 86:[6, 39] Operation: 43-4=39 Exploring Operation: 6-4=2, Resulting Numbers: [43, 2] Generated Node #0,4,4: 86:[43, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[43, 2], Operations: ['24/6=4', '6-4=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[24, 43, 6, 6], Operations: [] Exploring Operation: 24/6=4, Resulting Numbers: [43, 6, 4] Generated Node #0,4: 86:[43, 6, 4] Operation: 24/6=4 Moving to Node #0,4 Current State: 86:[43, 6, 4], Operations: ['24/6=4'] Exploring Operation: 6-4=2, Resulting Numbers: [43, 2] Generated Node #0,4,4: 86:[43, 2] Operation: 6-4=2 Moving to Node #0,4,4 Current State: 86:[43, 2], Operations: ['24/6=4', '6-4=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 25, 10, 52, 36 ]
50
[ "25*52=1300", "36-10=26", "1300/26=50" ]
Current State: 50:[25, 10, 52, 36], Operations: [] Exploring Operation: 25*52=1300, Resulting Numbers: [10, 36, 1300] Generated Node #2: [10, 36, 1300] from Operation: 25*52=1300 Current State: 50:[10, 36, 1300], Operations: ['25*52=1300'] Exploring Operation: 36-10=26, Resulting Numbers: [1300, 26] Generated Node #3: [1300, 26] from Operation: 36-10=26 Current State: 50:[1300, 26], Operations: ['25*52=1300', '36-10=26'] Exploring Operation: 1300/26=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[25, 10, 52, 36], Operations: [] Exploring Operation: 10+36=46, Resulting Numbers: [25, 52, 46] Generated Node #0,0: 50:[25, 52, 46] Operation: 10+36=46 Exploring Operation: 52-36=16, Resulting Numbers: [25, 10, 16] Generated Node #0,1: 50:[25, 10, 16] Operation: 52-36=16 Exploring Operation: 36-10=26, Resulting Numbers: [25, 52, 26] Generated Node #0,2: 50:[25, 52, 26] Operation: 36-10=26 Exploring Operation: 36-25=11, Resulting Numbers: [10, 52, 11] Generated Node #0,3: 50:[10, 52, 11] Operation: 36-25=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[25, 52, 26], Operations: ['36-10=26'] Exploring Operation: 52-26=26, Resulting Numbers: [25, 26] Generated Node #0,2,0: 50:[25, 26] Operation: 52-26=26 Exploring Operation: 25+26=51, Resulting Numbers: [52, 51] Generated Node #0,2,1: 50:[52, 51] Operation: 25+26=51 Exploring Operation: 52-25=27, Resulting Numbers: [26, 27] Generated Node #0,2,2: 50:[26, 27] Operation: 52-25=27 Exploring Operation: 52/26=2, Resulting Numbers: [25, 2] Generated Node #0,2,3: 50:[25, 2] Operation: 52/26=2 Moving to Node #0,2,3 Current State: 50:[25, 2], Operations: ['36-10=26', '52/26=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,50 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[25, 10, 52, 36], Operations: [] Exploring Operation: 36-10=26, Resulting Numbers: [25, 52, 26] Generated Node #0,2: 50:[25, 52, 26] Operation: 36-10=26 Moving to Node #0,2 Current State: 50:[25, 52, 26], Operations: ['36-10=26'] Exploring Operation: 52/26=2, Resulting Numbers: [25, 2] Generated Node #0,2,3: 50:[25, 2] Operation: 52/26=2 Moving to Node #0,2,3 Current State: 50:[25, 2], Operations: ['36-10=26', '52/26=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 33, 60, 95, 11 ]
85
[ "33*60=1980", "1980/11=180", "180-95=85" ]
Current State: 85:[33, 60, 95, 11], Operations: [] Exploring Operation: 33*60=1980, Resulting Numbers: [95, 11, 1980] Generated Node #2: [95, 11, 1980] from Operation: 33*60=1980 Current State: 85:[95, 11, 1980], Operations: ['33*60=1980'] Exploring Operation: 1980/11=180, Resulting Numbers: [95, 180] Generated Node #3: [95, 180] from Operation: 1980/11=180 Current State: 85:[95, 180], Operations: ['33*60=1980', '1980/11=180'] Exploring Operation: 180-95=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[33, 60, 95, 11], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [60, 95, 3] Generated Node #0,0: 85:[60, 95, 3] Operation: 33/11=3 Exploring Operation: 33+60=93, Resulting Numbers: [95, 11, 93] Generated Node #0,1: 85:[95, 11, 93] Operation: 33+60=93 Exploring Operation: 33-11=22, Resulting Numbers: [60, 95, 22] Generated Node #0,2: 85:[60, 95, 22] Operation: 33-11=22 Exploring Operation: 60-33=27, Resulting Numbers: [95, 11, 27] Generated Node #0,3: 85:[95, 11, 27] Operation: 60-33=27 Moving to Node #0,1 Current State: 85:[95, 11, 93], Operations: ['33+60=93'] Exploring Operation: 93-11=82, Resulting Numbers: [95, 82] Generated Node #0,1,0: 85:[95, 82] Operation: 93-11=82 Exploring Operation: 95-11=84, Resulting Numbers: [93, 84] Generated Node #0,1,1: 85:[93, 84] Operation: 95-11=84 Exploring Operation: 95-93=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 85:[11, 2] Operation: 95-93=2 Exploring Operation: 95+11=106, Resulting Numbers: [93, 106] Generated Node #0,1,3: 85:[93, 106] Operation: 95+11=106 Moving to Node #0,3 Current State: 85:[95, 11, 27], Operations: ['60-33=27'] Exploring Operation: 27-11=16, Resulting Numbers: [95, 16] Generated Node #0,3,0: 85:[95, 16] Operation: 27-11=16 Exploring Operation: 95+11=106, Resulting Numbers: [27, 106] Generated Node #0,3,1: 85:[27, 106] Operation: 95+11=106 Exploring Operation: 95-11=84, Resulting Numbers: [27, 84] Generated Node #0,3,2: 85:[27, 84] Operation: 95-11=84 Exploring Operation: 95-27=68, Resulting Numbers: [11, 68] Generated Node #0,3,3: 85:[11, 68] Operation: 95-27=68 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[95, 16], Operations: ['60-33=27', '27-11=16'] Exploring Operation: 95*16=1520, Resulting Numbers: [1520] 1520,85 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 95+16=111, Resulting Numbers: [111] 111,85 unequal: No Solution No 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: 85:[27, 84], Operations: ['60-33=27', '95-11=84'] Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,85 unequal: No Solution Exploring Operation: 27*84=2268, Resulting Numbers: [2268] 2268,85 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,85 unequal: No Solution No 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: 85:[11, 68], Operations: ['60-33=27', '95-27=68'] Exploring Operation: 11+68=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 68-11=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 11*68=748, Resulting Numbers: [748] 748,85 unequal: No Solution No 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: 85:[27, 106], Operations: ['60-33=27', '95+11=106'] Exploring Operation: 27*106=2862, Resulting Numbers: [2862] 2862,85 unequal: No Solution Exploring Operation: 27+106=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 106-27=79, Resulting Numbers: [79] 79,85 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: 85:[60, 95, 3], Operations: ['33/11=3'] Exploring Operation: 95-3=92, Resulting Numbers: [60, 92] Generated Node #0,0,0: 85:[60, 92] Operation: 95-3=92 Exploring Operation: 95-60=35, Resulting Numbers: [3, 35] Generated Node #0,0,1: 85:[3, 35] Operation: 95-60=35 Exploring Operation: 60/3=20, Resulting Numbers: [95, 20] Generated Node #0,0,2: 85:[95, 20] Operation: 60/3=20 Exploring Operation: 60+3=63, Resulting Numbers: [95, 63] Generated Node #0,0,3: 85:[95, 63] Operation: 60+3=63 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 85:[95, 20], Operations: ['33/11=3', '60/3=20'] Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 95*20=1900, Resulting Numbers: [1900] 1900,85 unequal: No Solution Exploring Operation: 95+20=115, Resulting Numbers: [115] 115,85 unequal: No Solution No 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: 85:[3, 35], Operations: ['33/11=3', '95-60=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,85 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,85 unequal: No Solution No 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: 85:[60, 92], Operations: ['33/11=3', '95-3=92'] Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,85 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,85 unequal: No Solution No 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: 85:[95, 63], Operations: ['33/11=3', '60+3=63'] Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,85 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,85 unequal: No Solution Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,85 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: 85:[60, 95, 22], Operations: ['33-11=22'] Exploring Operation: 95-60=35, Resulting Numbers: [22, 35] Generated Node #0,2,0: 85:[22, 35] Operation: 95-60=35 Exploring Operation: 95-22=73, Resulting Numbers: [60, 73] Generated Node #0,2,1: 85:[60, 73] Operation: 95-22=73 Exploring Operation: 60-22=38, Resulting Numbers: [95, 38] Generated Node #0,2,2: 85:[95, 38] Operation: 60-22=38 Exploring Operation: 60+22=82, Resulting Numbers: [95, 82] Generated Node #0,2,3: 85:[95, 82] Operation: 60+22=82 Moving to Node #0,1,1 Current State: 85:[93, 84], Operations: ['33+60=93', '95-11=84'] Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 93+84=177, Resulting Numbers: [177] 177,85 unequal: No Solution Exploring Operation: 93*84=7812, Resulting Numbers: [7812] 7812,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[11, 2], Operations: ['33+60=93', '95-93=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,85 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[95, 82], Operations: ['33+60=93', '93-11=82'] Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,85 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,85 unequal: No Solution Moving to Node #0,2,3 Current State: 85:[95, 82], Operations: ['33-11=22', '60+22=82'] Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,85 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[22, 35], Operations: ['33-11=22', '95-60=35'] Exploring Operation: 22*35=770, Resulting Numbers: [770] 770,85 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 22+35=57, Resulting Numbers: [57] 57,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[93, 106], Operations: ['33+60=93', '95+11=106'] Exploring Operation: 93+106=199, Resulting Numbers: [199] 199,85 unequal: No Solution Exploring Operation: 93*106=9858, Resulting Numbers: [9858] 9858,85 unequal: No Solution Exploring Operation: 106-93=13, Resulting Numbers: [13] 13,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[95, 38], Operations: ['33-11=22', '60-22=38'] Exploring Operation: 95+38=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,85 unequal: No Solution Exploring Operation: 95*38=3610, Resulting Numbers: [3610] 3610,85 unequal: No Solution Moving to Node #0,2,1 Current State: 85:[60, 73], Operations: ['33-11=22', '95-22=73'] Exploring Operation: 60*73=4380, Resulting Numbers: [4380] 4380,85 unequal: No Solution Exploring Operation: 60+73=133, Resulting Numbers: [133] 133,85 unequal: No Solution Exploring Operation: 73-60=13, Resulting Numbers: [13] 13,85 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 8, 17, 26, 63 ]
28
[ "17-8=9", "63-26=37", "37-9=28" ]
Current State: 28:[8, 17, 26, 63], Operations: [] Exploring Operation: 17-8=9, Resulting Numbers: [26, 63, 9] Generated Node #2: [26, 63, 9] from Operation: 17-8=9 Current State: 28:[26, 63, 9], Operations: ['17-8=9'] Exploring Operation: 63-26=37, Resulting Numbers: [9, 37] Generated Node #3: [9, 37] from Operation: 63-26=37 Current State: 28:[9, 37], Operations: ['17-8=9', '63-26=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[8, 17, 26, 63], Operations: [] Exploring Operation: 26-17=9, Resulting Numbers: [8, 63, 9] Generated Node #0,0: 28:[8, 63, 9] Operation: 26-17=9 Exploring Operation: 17-8=9, Resulting Numbers: [26, 63, 9] Generated Node #0,1: 28:[26, 63, 9] Operation: 17-8=9 Exploring Operation: 63-26=37, Resulting Numbers: [8, 17, 37] Generated Node #0,2: 28:[8, 17, 37] Operation: 63-26=37 Exploring Operation: 63-8=55, Resulting Numbers: [17, 26, 55] Generated Node #0,3: 28:[17, 26, 55] Operation: 63-8=55 Exploring Operation: 63-17=46, Resulting Numbers: [8, 26, 46] Generated Node #0,4: 28:[8, 26, 46] Operation: 63-17=46 Moving to Node #0,2 Current State: 28:[8, 17, 37], Operations: ['63-26=37'] Exploring Operation: 37-17=20, Resulting Numbers: [8, 20] Generated Node #0,2,0: 28:[8, 20] Operation: 37-17=20 Exploring Operation: 8+17=25, Resulting Numbers: [37, 25] Generated Node #0,2,1: 28:[37, 25] Operation: 8+17=25 Exploring Operation: 37-8=29, Resulting Numbers: [17, 29] Generated Node #0,2,2: 28:[17, 29] Operation: 37-8=29 Exploring Operation: 8+37=45, Resulting Numbers: [17, 45] Generated Node #0,2,3: 28:[17, 45] Operation: 8+37=45 Exploring Operation: 17-8=9, Resulting Numbers: [37, 9] Generated Node #0,2,4: 28:[37, 9] Operation: 17-8=9 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[17, 29], Operations: ['63-26=37', '37-8=29'] Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,28 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,28 unequal: No Solution No 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: 28:[8, 20], Operations: ['63-26=37', '37-17=20'] Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,28 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,28 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[8, 17, 26, 63], Operations: [] Exploring Operation: 63-26=37, Resulting Numbers: [8, 17, 37] Generated Node #0,2: 28:[8, 17, 37] Operation: 63-26=37 Moving to Node #0,2 Current State: 28:[8, 17, 37], Operations: ['63-26=37'] Exploring Operation: 37-17=20, Resulting Numbers: [8, 20] Generated Node #0,2,0: 28:[8, 20] Operation: 37-17=20 Moving to Node #0,2,0 Current State: 28:[8, 20], Operations: ['63-26=37', '37-17=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 88, 69, 26, 89 ]
94
[ "88+69=157", "89-26=63", "157-63=94" ]
Current State: 94:[88, 69, 26, 89], Operations: [] Exploring Operation: 88+69=157, Resulting Numbers: [26, 89, 157] Generated Node #2: [26, 89, 157] from Operation: 88+69=157 Current State: 94:[26, 89, 157], Operations: ['88+69=157'] Exploring Operation: 89-26=63, Resulting Numbers: [157, 63] Generated Node #3: [157, 63] from Operation: 89-26=63 Current State: 94:[157, 63], Operations: ['88+69=157', '89-26=63'] Exploring Operation: 157-63=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 69, 26, 89], Operations: [] Exploring Operation: 69-26=43, Resulting Numbers: [88, 89, 43] Generated Node #0,0: 94:[88, 89, 43] Operation: 69-26=43 Exploring Operation: 69+26=95, Resulting Numbers: [88, 89, 95] Generated Node #0,1: 94:[88, 89, 95] Operation: 69+26=95 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[88, 89, 95], Operations: ['69+26=95'] Exploring Operation: 89-88=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 94:[95, 1] Operation: 89-88=1 Exploring Operation: 95-88=7, Resulting Numbers: [89, 7] Generated Node #0,1,1: 94:[89, 7] Operation: 95-88=7 Moving to Node #0,1,0 Current State: 94:[95, 1], Operations: ['69+26=95', '89-88=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 69, 26, 89], Operations: [] Exploring Operation: 69+26=95, Resulting Numbers: [88, 89, 95] Generated Node #0,1: 94:[88, 89, 95] Operation: 69+26=95 Moving to Node #0,1 Current State: 94:[88, 89, 95], Operations: ['69+26=95'] Exploring Operation: 89-88=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 94:[95, 1] Operation: 89-88=1 Moving to Node #0,1,0 Current State: 94:[95, 1], Operations: ['69+26=95', '89-88=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 17, 40, 74, 15 ]
68
[ "17-15=2", "74-40=34", "2*34=68" ]
Current State: 68:[17, 40, 74, 15], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [40, 74, 2] Generated Node #2: [40, 74, 2] from Operation: 17-15=2 Current State: 68:[40, 74, 2], Operations: ['17-15=2'] Exploring Operation: 74-40=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 74-40=34 Current State: 68:[2, 34], Operations: ['17-15=2', '74-40=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 40, 74, 15], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [17, 15, 34] Generated Node #0,0: 68:[17, 15, 34] Operation: 74-40=34 Exploring Operation: 40-17=23, Resulting Numbers: [74, 15, 23] Generated Node #0,1: 68:[74, 15, 23] Operation: 40-17=23 Exploring Operation: 17-15=2, Resulting Numbers: [40, 74, 2] Generated Node #0,2: 68:[40, 74, 2] Operation: 17-15=2 Exploring Operation: 17+15=32, Resulting Numbers: [40, 74, 32] Generated Node #0,3: 68:[40, 74, 32] Operation: 17+15=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[17, 15, 34], Operations: ['74-40=34'] Exploring Operation: 17-15=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 68:[34, 2] Operation: 17-15=2 Exploring Operation: 34-17=17, Resulting Numbers: [15, 17] Generated Node #0,0,1: 68:[15, 17] Operation: 34-17=17 Exploring Operation: 34/17=2, Resulting Numbers: [15, 2] Generated Node #0,0,2: 68:[15, 2] Operation: 34/17=2 Exploring Operation: 17+15=32, Resulting Numbers: [34, 32] Generated Node #0,0,3: 68:[34, 32] Operation: 17+15=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[34, 2], Operations: ['74-40=34', '17-15=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[17, 40, 74, 15], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [17, 15, 34] Generated Node #0,0: 68:[17, 15, 34] Operation: 74-40=34 Moving to Node #0,0 Current State: 68:[17, 15, 34], Operations: ['74-40=34'] Exploring Operation: 17-15=2, Resulting Numbers: [34, 2] Generated Node #0,0,0: 68:[34, 2] Operation: 17-15=2 Moving to Node #0,0,0 Current State: 68:[34, 2], Operations: ['74-40=34', '17-15=2'] Exploring Operation: 34*2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 9, 61, 2, 31 ]
23
[ "61-9=52", "31-2=29", "52-29=23" ]
Current State: 23:[9, 61, 2, 31], Operations: [] Exploring Operation: 61-9=52, Resulting Numbers: [2, 31, 52] Generated Node #2: [2, 31, 52] from Operation: 61-9=52 Current State: 23:[2, 31, 52], Operations: ['61-9=52'] Exploring Operation: 31-2=29, Resulting Numbers: [52, 29] Generated Node #3: [52, 29] from Operation: 31-2=29 Current State: 23:[52, 29], Operations: ['61-9=52', '31-2=29'] Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[9, 61, 2, 31], Operations: [] Exploring Operation: 61-31=30, Resulting Numbers: [9, 2, 30] Generated Node #0,0: 23:[9, 2, 30] Operation: 61-31=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[9, 2, 30], Operations: ['61-31=30'] Exploring Operation: 9*2=18, Resulting Numbers: [30, 18] Generated Node #0,0,0: 23:[30, 18] Operation: 9*2=18 Moving to Node #0,0,0 Current State: 23:[30, 18], Operations: ['61-31=30', '9*2=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 47, 2, 38, 89 ]
61
[ "89-47=42", "38/2=19", "42+19=61" ]
Current State: 61:[47, 2, 38, 89], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [2, 38, 42] Generated Node #2: [2, 38, 42] from Operation: 89-47=42 Current State: 61:[2, 38, 42], Operations: ['89-47=42'] Exploring Operation: 38/2=19, Resulting Numbers: [42, 19] Generated Node #3: [42, 19] from Operation: 38/2=19 Current State: 61:[42, 19], Operations: ['89-47=42', '38/2=19'] Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[47, 2, 38, 89], Operations: [] Exploring Operation: 47+2=49, Resulting Numbers: [38, 89, 49] Generated Node #0,0: 61:[38, 89, 49] Operation: 47+2=49 Exploring Operation: 2+38=40, Resulting Numbers: [47, 89, 40] Generated Node #0,1: 61:[47, 89, 40] Operation: 2+38=40 Exploring Operation: 2*38=76, Resulting Numbers: [47, 89, 76] Generated Node #0,2: 61:[47, 89, 76] Operation: 2*38=76 Moving to Node #0,2 Current State: 61:[47, 89, 76], Operations: ['2*38=76'] Exploring Operation: 89-47=42, Resulting Numbers: [76, 42] Generated Node #0,2,0: 61:[76, 42] Operation: 89-47=42 Exploring Operation: 89-76=13, Resulting Numbers: [47, 13] Generated Node #0,2,1: 61:[47, 13] Operation: 89-76=13 Exploring Operation: 76-47=29, Resulting Numbers: [89, 29] Generated Node #0,2,2: 61:[89, 29] Operation: 76-47=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[76, 42], Operations: ['2*38=76', '89-47=42'] Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,61 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[89, 29], Operations: ['2*38=76', '76-47=29'] Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,61 unequal: No Solution Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,61 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[47, 13], Operations: ['2*38=76', '89-76=13'] Exploring Operation: 47+13=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,61 unequal: No Solution Exploring Operation: 47*13=611, Resulting Numbers: [611] 611,61 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: 61:[38, 89, 49], Operations: ['47+2=49'] Exploring Operation: 38+49=87, Resulting Numbers: [89, 87] Generated Node #0,0,0: 61:[89, 87] Operation: 38+49=87 Exploring Operation: 89-38=51, Resulting Numbers: [49, 51] Generated Node #0,0,1: 61:[49, 51] Operation: 89-38=51 Exploring Operation: 89-49=40, Resulting Numbers: [38, 40] Generated Node #0,0,2: 61:[38, 40] Operation: 89-49=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[49, 51], Operations: ['47+2=49', '89-38=51'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[38, 40], Operations: ['47+2=49', '89-49=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[89, 87], Operations: ['47+2=49', '38+49=87'] Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 89*87=7743, Resulting Numbers: [7743] 7743,61 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: 61:[47, 89, 40], Operations: ['2+38=40'] Exploring Operation: 89-40=49, Resulting Numbers: [47, 49] Generated Node #0,1,0: 61:[47, 49] Operation: 89-40=49 Exploring Operation: 89-47=42, Resulting Numbers: [40, 42] Generated Node #0,1,1: 61:[40, 42] Operation: 89-47=42 Exploring Operation: 47+40=87, Resulting Numbers: [89, 87] Generated Node #0,1,2: 61:[89, 87] Operation: 47+40=87 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[47, 49], Operations: ['2+38=40', '89-40=49'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,61 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[40, 42], Operations: ['2+38=40', '89-47=42'] Exploring Operation: 40*42=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[89, 87], Operations: ['2+38=40', '47+40=87'] Exploring Operation: 89*87=7743, Resulting Numbers: [7743] 7743,61 unequal: No Solution Exploring Operation: 89+87=176, Resulting Numbers: [176] 176,61 unequal: No Solution Exploring Operation: 89-87=2, Resulting Numbers: [2] 2,61 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
[ 42, 5, 98, 23 ]
59
[ "98-42=56", "5*23=115", "115-56=59" ]
Current State: 59:[42, 5, 98, 23], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [5, 23, 56] Generated Node #2: [5, 23, 56] from Operation: 98-42=56 Current State: 59:[5, 23, 56], Operations: ['98-42=56'] Exploring Operation: 5*23=115, Resulting Numbers: [56, 115] Generated Node #3: [56, 115] from Operation: 5*23=115 Current State: 59:[56, 115], Operations: ['98-42=56', '5*23=115'] Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[42, 5, 98, 23], Operations: [] Exploring Operation: 42+5=47, Resulting Numbers: [98, 23, 47] Generated Node #0,0: 59:[98, 23, 47] Operation: 42+5=47 Exploring Operation: 5+23=28, Resulting Numbers: [42, 98, 28] Generated Node #0,1: 59:[42, 98, 28] Operation: 5+23=28 Exploring Operation: 98-5=93, Resulting Numbers: [42, 23, 93] Generated Node #0,2: 59:[42, 23, 93] Operation: 98-5=93 Exploring Operation: 98-42=56, Resulting Numbers: [5, 23, 56] Generated Node #0,3: 59:[5, 23, 56] Operation: 98-42=56 Exploring Operation: 98-23=75, Resulting Numbers: [42, 5, 75] Generated Node #0,4: 59:[42, 5, 75] Operation: 98-23=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[98, 23, 47], Operations: ['42+5=47'] Exploring Operation: 98-47=51, Resulting Numbers: [23, 51] Generated Node #0,0,0: 59:[23, 51] Operation: 98-47=51 Exploring Operation: 98-23=75, Resulting Numbers: [47, 75] Generated Node #0,0,1: 59:[47, 75] Operation: 98-23=75 Exploring Operation: 23+47=70, Resulting Numbers: [98, 70] Generated Node #0,0,2: 59:[98, 70] Operation: 23+47=70 Exploring Operation: 47-23=24, Resulting Numbers: [98, 24] Generated Node #0,0,3: 59:[98, 24] Operation: 47-23=24 Exploring Operation: 98+23=121, Resulting Numbers: [47, 121] Generated Node #0,0,4: 59:[47, 121] Operation: 98+23=121 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[47, 75], Operations: ['42+5=47', '98-23=75'] Exploring Operation: 47*75=3525, Resulting Numbers: [3525] 3525,59 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 47+75=122, Resulting Numbers: [122] 122,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[23, 51], Operations: ['42+5=47', '98-47=51'] Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,59 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[98, 70], Operations: ['42+5=47', '23+47=70'] Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 98*70=6860, Resulting Numbers: [6860] 6860,59 unequal: No Solution Exploring Operation: 98+70=168, Resulting Numbers: [168] 168,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[98, 24], Operations: ['42+5=47', '47-23=24'] Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,59 unequal: No Solution Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 59:[47, 121], Operations: ['42+5=47', '98+23=121'] Exploring Operation: 47*121=5687, Resulting Numbers: [5687] 5687,59 unequal: No Solution Exploring Operation: 121-47=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 47+121=168, Resulting Numbers: [168] 168,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[42, 98, 28], Operations: ['5+23=28'] Exploring Operation: 98+28=126, Resulting Numbers: [42, 126] Generated Node #0,1,0: 59:[42, 126] Operation: 98+28=126 Exploring Operation: 42-28=14, Resulting Numbers: [98, 14] Generated Node #0,1,1: 59:[98, 14] Operation: 42-28=14 Exploring Operation: 42+28=70, Resulting Numbers: [98, 70] Generated Node #0,1,2: 59:[98, 70] Operation: 42+28=70 Exploring Operation: 98-28=70, Resulting Numbers: [42, 70] Generated Node #0,1,3: 59:[42, 70] Operation: 98-28=70 Exploring Operation: 98-42=56, Resulting Numbers: [28, 56] Generated Node #0,1,4: 59:[28, 56] Operation: 98-42=56 Moving to Node #0,1,3 Current State: 59:[42, 70], Operations: ['5+23=28', '98-28=70'] Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[28, 56], Operations: ['5+23=28', '98-42=56'] Exploring Operation: 28+56=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 28*56=1568, Resulting Numbers: [1568] 1568,59 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[98, 70], Operations: ['5+23=28', '42+28=70'] Exploring Operation: 98*70=6860, Resulting Numbers: [6860] 6860,59 unequal: No Solution Exploring Operation: 98-70=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 98+70=168, Resulting Numbers: [168] 168,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[42, 126], Operations: ['5+23=28', '98+28=126'] Exploring Operation: 42*126=5292, Resulting Numbers: [5292] 5292,59 unequal: No Solution Exploring Operation: 42+126=168, Resulting Numbers: [168] 168,59 unequal: No Solution Exploring Operation: 126/42=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 126-42=84, Resulting Numbers: [84] 84,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[98, 14], Operations: ['5+23=28', '42-28=14'] Exploring Operation: 98/14=7, Resulting Numbers: [7] 7,59 unequal: No Solution Exploring Operation: 98+14=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 98*14=1372, Resulting Numbers: [1372] 1372,59 unequal: No Solution Exploring Operation: 98-14=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[42, 23, 93], Operations: ['98-5=93'] Exploring Operation: 93-23=70, Resulting Numbers: [42, 70] Generated Node #0,2,0: 59:[42, 70] Operation: 93-23=70 Exploring Operation: 42-23=19, Resulting Numbers: [93, 19] Generated Node #0,2,1: 59:[93, 19] Operation: 42-23=19 Exploring Operation: 93-42=51, Resulting Numbers: [23, 51] Generated Node #0,2,2: 59:[23, 51] Operation: 93-42=51 Exploring Operation: 42+23=65, Resulting Numbers: [93, 65] Generated Node #0,2,3: 59:[93, 65] Operation: 42+23=65 Exploring Operation: 23+93=116, Resulting Numbers: [42, 116] Generated Node #0,2,4: 59:[42, 116] Operation: 23+93=116 Moving to Node #0,2,0 Current State: 59:[42, 70], Operations: ['98-5=93', '93-23=70'] Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[93, 65], Operations: ['98-5=93', '42+23=65'] Exploring Operation: 93*65=6045, Resulting Numbers: [6045] 6045,59 unequal: No Solution Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 93+65=158, Resulting Numbers: [158] 158,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[23, 51], Operations: ['98-5=93', '93-42=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[93, 19], Operations: ['98-5=93', '42-23=19'] Exploring Operation: 93-19=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 93*19=1767, Resulting Numbers: [1767] 1767,59 unequal: No Solution Exploring Operation: 93+19=112, Resulting Numbers: [112] 112,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[42, 116], Operations: ['98-5=93', '23+93=116'] Exploring Operation: 42+116=158, Resulting Numbers: [158] 158,59 unequal: No Solution Exploring Operation: 116-42=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 42*116=4872, Resulting Numbers: [4872] 4872,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 59:[42, 5, 75], Operations: ['98-23=75'] Exploring Operation: 42+5=47, Resulting Numbers: [75, 47] Generated Node #0,4,0: 59:[75, 47] Operation: 42+5=47 Exploring Operation: 42-5=37, Resulting Numbers: [75, 37] Generated Node #0,4,1: 59:[75, 37] Operation: 42-5=37 Exploring Operation: 75-5=70, Resulting Numbers: [42, 70] Generated Node #0,4,2: 59:[42, 70] Operation: 75-5=70 Exploring Operation: 75/5=15, Resulting Numbers: [42, 15] Generated Node #0,4,3: 59:[42, 15] Operation: 75/5=15 Exploring Operation: 5+75=80, Resulting Numbers: [42, 80] Generated Node #0,4,4: 59:[42, 80] Operation: 5+75=80 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 59:[75, 47], Operations: ['98-23=75', '42+5=47'] Exploring Operation: 75*47=3525, Resulting Numbers: [3525] 3525,59 unequal: No Solution Exploring Operation: 75+47=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 75-47=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 59:[42, 70], Operations: ['98-23=75', '75-5=70'] Exploring Operation: 42*70=2940, Resulting Numbers: [2940] 2940,59 unequal: No Solution Exploring Operation: 42+70=112, Resulting Numbers: [112] 112,59 unequal: No Solution Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 59:[75, 37], Operations: ['98-23=75', '42-5=37'] Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,59 unequal: No Solution Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 59:[42, 80], Operations: ['98-23=75', '5+75=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,59 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 59:[42, 15], Operations: ['98-23=75', '75/5=15'] Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,59 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,59 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[5, 23, 56], Operations: ['98-42=56'] Exploring Operation: 5*23=115, Resulting Numbers: [56, 115] Generated Node #0,3,0: 59:[56, 115] Operation: 5*23=115 Exploring Operation: 56-5=51, Resulting Numbers: [23, 51] Generated Node #0,3,1: 59:[23, 51] Operation: 56-5=51 Exploring Operation: 23-5=18, Resulting Numbers: [56, 18] Generated Node #0,3,2: 59:[56, 18] Operation: 23-5=18 Exploring Operation: 5+56=61, Resulting Numbers: [23, 61] Generated Node #0,3,3: 59:[23, 61] Operation: 5+56=61 Exploring Operation: 5+23=28, Resulting Numbers: [56, 28] Generated Node #0,3,4: 59:[56, 28] Operation: 5+23=28 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 59:[56, 28], Operations: ['98-42=56', '5+23=28'] Exploring Operation: 56+28=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 56/28=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 56-28=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 56*28=1568, Resulting Numbers: [1568] 1568,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 59:[23, 61], Operations: ['98-42=56', '5+56=61'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,59 unequal: No Solution Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[23, 51], Operations: ['98-42=56', '56-5=51'] Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,59 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 59:[56, 18], Operations: ['98-42=56', '23-5=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,59 unequal: No Solution Exploring Operation: 56+18=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 56*18=1008, Resulting Numbers: [1008] 1008,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 59:[56, 115], Operations: ['98-42=56', '5*23=115'] Exploring Operation: 56*115=6440, Resulting Numbers: [6440] 6440,59 unequal: No Solution Exploring Operation: 56+115=171, Resulting Numbers: [171] 171,59 unequal: No Solution Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[42, 5, 98, 23], Operations: [] Exploring Operation: 98-42=56, Resulting Numbers: [5, 23, 56] Generated Node #0,3: 59:[5, 23, 56] Operation: 98-42=56 Moving to Node #0,3 Current State: 59:[5, 23, 56], Operations: ['98-42=56'] Exploring Operation: 5*23=115, Resulting Numbers: [56, 115] Generated Node #0,3,0: 59:[56, 115] Operation: 5*23=115 Moving to Node #0,3,0 Current State: 59:[56, 115], Operations: ['98-42=56', '5*23=115'] Exploring Operation: 115-56=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.90191
hs_5
mult_heuristic
[ 51, 50, 32, 9 ]
41
[ "51-50=1", "32+9=41", "1*41=41" ]
Current State: 41:[51, 50, 32, 9], Operations: [] Exploring Operation: 51-50=1, Resulting Numbers: [32, 9, 1] Generated Node #2: [32, 9, 1] from Operation: 51-50=1 Current State: 41:[32, 9, 1], Operations: ['51-50=1'] Exploring Operation: 32+9=41, Resulting Numbers: [1, 41] Generated Node #3: [1, 41] from Operation: 32+9=41 Current State: 41:[1, 41], Operations: ['51-50=1', '32+9=41'] Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[51, 50, 32, 9], Operations: [] Exploring Operation: 32+9=41, Resulting Numbers: [51, 50, 41] Generated Node #0,0: 41:[51, 50, 41] Operation: 32+9=41 Exploring Operation: 51+9=60, Resulting Numbers: [50, 32, 60] Generated Node #0,1: 41:[50, 32, 60] Operation: 51+9=60 Exploring Operation: 50-9=41, Resulting Numbers: [51, 32, 41] Generated Node #0,2: 41:[51, 32, 41] Operation: 50-9=41 Exploring Operation: 51-9=42, Resulting Numbers: [50, 32, 42] Generated Node #0,3: 41:[50, 32, 42] Operation: 51-9=42 Exploring Operation: 50+9=59, Resulting Numbers: [51, 32, 59] Generated Node #0,4: 41:[51, 32, 59] Operation: 50+9=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[51, 50, 41], Operations: ['32+9=41'] Exploring Operation: 51-50=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 41:[41, 1] Operation: 51-50=1 Exploring Operation: 50-41=9, Resulting Numbers: [51, 9] Generated Node #0,0,1: 41:[51, 9] Operation: 50-41=9 Exploring Operation: 51+50=101, Resulting Numbers: [41, 101] Generated Node #0,0,2: 41:[41, 101] Operation: 51+50=101 Exploring Operation: 51+41=92, Resulting Numbers: [50, 92] Generated Node #0,0,3: 41:[50, 92] Operation: 51+41=92 Exploring Operation: 51-41=10, Resulting Numbers: [50, 10] Generated Node #0,0,4: 41:[50, 10] Operation: 51-41=10 Moving to Node #0,0,0 Current State: 41:[41, 1], Operations: ['32+9=41', '51-50=1'] Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[51, 50, 32, 9], Operations: [] Exploring Operation: 32+9=41, Resulting Numbers: [51, 50, 41] Generated Node #0,0: 41:[51, 50, 41] Operation: 32+9=41 Moving to Node #0,0 Current State: 41:[51, 50, 41], Operations: ['32+9=41'] Exploring Operation: 51-50=1, Resulting Numbers: [41, 1] Generated Node #0,0,0: 41:[41, 1] Operation: 51-50=1 Moving to Node #0,0,0 Current State: 41:[41, 1], Operations: ['32+9=41', '51-50=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 30, 78, 32, 19 ]
58
[ "32-30=2", "78/2=39", "19+39=58" ]
Current State: 58:[30, 78, 32, 19], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [78, 19, 2] Generated Node #2: [78, 19, 2] from Operation: 32-30=2 Current State: 58:[78, 19, 2], Operations: ['32-30=2'] Exploring Operation: 78/2=39, Resulting Numbers: [19, 39] Generated Node #3: [19, 39] from Operation: 78/2=39 Current State: 58:[19, 39], Operations: ['32-30=2', '78/2=39'] Exploring Operation: 19+39=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[30, 78, 32, 19], Operations: [] Exploring Operation: 78-19=59, Resulting Numbers: [30, 32, 59] Generated Node #0,0: 58:[30, 32, 59] Operation: 78-19=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[30, 32, 59], Operations: ['78-19=59'] Exploring Operation: 32-30=2, Resulting Numbers: [59, 2] Generated Node #0,0,0: 58:[59, 2] Operation: 32-30=2 Moving to Node #0,0,0 Current State: 58:[59, 2], Operations: ['78-19=59', '32-30=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,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
[ 41, 95, 39, 63 ]
31
[ "41-39=2", "63*2=126", "126-95=31" ]
Current State: 31:[41, 95, 39, 63], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [95, 63, 2] Generated Node #2: [95, 63, 2] from Operation: 41-39=2 Current State: 31:[95, 63, 2], Operations: ['41-39=2'] Exploring Operation: 63*2=126, Resulting Numbers: [95, 126] Generated Node #3: [95, 126] from Operation: 63*2=126 Current State: 31:[95, 126], Operations: ['41-39=2', '63*2=126'] Exploring Operation: 126-95=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[41, 95, 39, 63], Operations: [] Exploring Operation: 95-63=32, Resulting Numbers: [41, 39, 32] Generated Node #0,0: 31:[41, 39, 32] Operation: 95-63=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[41, 39, 32], Operations: ['95-63=32'] Exploring Operation: 41-39=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 31:[32, 2] Operation: 41-39=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[32, 2], Operations: ['95-63=32', '41-39=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,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 No solution found.
0
hs_1
sum_heuristic
[ 93, 17, 42, 95 ]
27
[ "93+17=110", "42+95=137", "137-110=27" ]
Current State: 27:[93, 17, 42, 95], Operations: [] Exploring Operation: 93+17=110, Resulting Numbers: [42, 95, 110] Generated Node #2: [42, 95, 110] from Operation: 93+17=110 Current State: 27:[42, 95, 110], Operations: ['93+17=110'] Exploring Operation: 42+95=137, Resulting Numbers: [110, 137] Generated Node #3: [110, 137] from Operation: 42+95=137 Current State: 27:[110, 137], Operations: ['93+17=110', '42+95=137'] Exploring Operation: 137-110=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[93, 17, 42, 95], Operations: [] Exploring Operation: 95-42=53, Resulting Numbers: [93, 17, 53] Generated Node #0,0: 27:[93, 17, 53] Operation: 95-42=53 Exploring Operation: 95-93=2, Resulting Numbers: [17, 42, 2] Generated Node #0,1: 27:[17, 42, 2] Operation: 95-93=2 Exploring Operation: 93-17=76, Resulting Numbers: [42, 95, 76] Generated Node #0,2: 27:[42, 95, 76] Operation: 93-17=76 Exploring Operation: 93-42=51, Resulting Numbers: [17, 95, 51] Generated Node #0,3: 27:[17, 95, 51] Operation: 93-42=51 Moving to Node #0,1 Current State: 27:[17, 42, 2], Operations: ['95-93=2'] Exploring Operation: 42-2=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 27:[17, 40] Operation: 42-2=40 Exploring Operation: 42/2=21, Resulting Numbers: [17, 21] Generated Node #0,1,1: 27:[17, 21] Operation: 42/2=21 Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 42-17=25 Exploring Operation: 17-2=15, Resulting Numbers: [42, 15] Generated Node #0,1,3: 27:[42, 15] Operation: 17-2=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['95-93=2', '42-17=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[93, 17, 42, 95], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [17, 42, 2] Generated Node #0,1: 27:[17, 42, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 27:[17, 42, 2], Operations: ['95-93=2'] Exploring Operation: 42-17=25, Resulting Numbers: [2, 25] Generated Node #0,1,2: 27:[2, 25] Operation: 42-17=25 Moving to Node #0,1,2 Current State: 27:[2, 25], Operations: ['95-93=2', '42-17=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 88, 92, 19, 89 ]
13
[ "92-88=4", "19*4=76", "89-76=13" ]
Current State: 13:[88, 92, 19, 89], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [19, 89, 4] Generated Node #2: [19, 89, 4] from Operation: 92-88=4 Current State: 13:[19, 89, 4], Operations: ['92-88=4'] Exploring Operation: 19*4=76, Resulting Numbers: [89, 76] Generated Node #3: [89, 76] from Operation: 19*4=76 Current State: 13:[89, 76], Operations: ['92-88=4', '19*4=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[88, 92, 19, 89], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [19, 89, 4] Generated Node #0,0: 13:[19, 89, 4] Operation: 92-88=4 Exploring Operation: 88-19=69, Resulting Numbers: [92, 89, 69] Generated Node #0,1: 13:[92, 89, 69] Operation: 88-19=69 Exploring Operation: 89-88=1, Resulting Numbers: [92, 19, 1] Generated Node #0,2: 13:[92, 19, 1] Operation: 89-88=1 Exploring Operation: 92-89=3, Resulting Numbers: [88, 19, 3] Generated Node #0,3: 13:[88, 19, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[19, 89, 4], Operations: ['92-88=4'] Exploring Operation: 89-4=85, Resulting Numbers: [19, 85] Generated Node #0,0,0: 13:[19, 85] Operation: 89-4=85 Exploring Operation: 19-4=15, Resulting Numbers: [89, 15] Generated Node #0,0,1: 13:[89, 15] Operation: 19-4=15 Exploring Operation: 89-19=70, Resulting Numbers: [4, 70] Generated Node #0,0,2: 13:[4, 70] Operation: 89-19=70 Exploring Operation: 19+4=23, Resulting Numbers: [89, 23] Generated Node #0,0,3: 13:[89, 23] Operation: 19+4=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[4, 70], Operations: ['92-88=4', '89-19=70'] Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 4*70=280, Resulting Numbers: [280] 280,13 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,13 unequal: No Solution No 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: 13:[19, 85], Operations: ['92-88=4', '89-4=85'] Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,13 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,13 unequal: No Solution No 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: 13:[89, 15], Operations: ['92-88=4', '19-4=15'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,13 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,13 unequal: No Solution No 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: 13:[89, 23], Operations: ['92-88=4', '19+4=23'] Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,13 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: 13:[88, 19, 3], Operations: ['92-89=3'] Exploring Operation: 19-3=16, Resulting Numbers: [88, 16] Generated Node #0,3,0: 13:[88, 16] Operation: 19-3=16 Exploring Operation: 88+3=91, Resulting Numbers: [19, 91] Generated Node #0,3,1: 13:[19, 91] Operation: 88+3=91 Exploring Operation: 88-3=85, Resulting Numbers: [19, 85] Generated Node #0,3,2: 13:[19, 85] Operation: 88-3=85 Exploring Operation: 88-19=69, Resulting Numbers: [3, 69] Generated Node #0,3,3: 13:[3, 69] Operation: 88-19=69 Moving to Node #0,3,3 Current State: 13:[3, 69], Operations: ['92-89=3', '88-19=69'] Exploring Operation: 3+69=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,13 unequal: No Solution Exploring Operation: 3*69=207, Resulting Numbers: [207] 207,13 unequal: No Solution Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[19, 85], Operations: ['92-89=3', '88-3=85'] Exploring Operation: 19*85=1615, Resulting Numbers: [1615] 1615,13 unequal: No Solution Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 19+85=104, Resulting Numbers: [104] 104,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[88, 16], Operations: ['92-89=3', '19-3=16'] Exploring Operation: 88*16=1408, Resulting Numbers: [1408] 1408,13 unequal: No Solution Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 88+16=104, Resulting Numbers: [104] 104,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[19, 91], Operations: ['92-89=3', '88+3=91'] Exploring Operation: 19*91=1729, Resulting Numbers: [1729] 1729,13 unequal: No Solution Exploring Operation: 19+91=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[92, 19, 1], Operations: ['89-88=1'] Exploring Operation: 19-1=18, Resulting Numbers: [92, 18] Generated Node #0,2,0: 13:[92, 18] Operation: 19-1=18 Exploring Operation: 92*1=92, Resulting Numbers: [19, 92] Generated Node #0,2,1: 13:[19, 92] Operation: 92*1=92 Exploring Operation: 92-1=91, Resulting Numbers: [19, 91] Generated Node #0,2,2: 13:[19, 91] Operation: 92-1=91 Exploring Operation: 92-19=73, Resulting Numbers: [1, 73] Generated Node #0,2,3: 13:[1, 73] Operation: 92-19=73 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 13:[1, 73], Operations: ['89-88=1', '92-19=73'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 1*73=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,13 unequal: No Solution No 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: 13:[92, 18], Operations: ['89-88=1', '19-1=18'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,13 unequal: No Solution No 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: 13:[19, 91], Operations: ['89-88=1', '92-1=91'] Exploring Operation: 19+91=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 19*91=1729, Resulting Numbers: [1729] 1729,13 unequal: No Solution Exploring Operation: 91-19=72, Resulting Numbers: [72] 72,13 unequal: No Solution No 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: 13:[19, 92], Operations: ['89-88=1', '92*1=92'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 19*92=1748, Resulting Numbers: [1748] 1748,13 unequal: No Solution Exploring Operation: 19+92=111, Resulting Numbers: [111] 111,13 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: 13:[92, 89, 69], Operations: ['88-19=69'] Exploring Operation: 92+89=181, Resulting Numbers: [69, 181] Generated Node #0,1,0: 13:[69, 181] Operation: 92+89=181 Exploring Operation: 89-69=20, Resulting Numbers: [92, 20] Generated Node #0,1,1: 13:[92, 20] Operation: 89-69=20 Exploring Operation: 92-69=23, Resulting Numbers: [89, 23] Generated Node #0,1,2: 13:[89, 23] Operation: 92-69=23 Exploring Operation: 92-89=3, Resulting Numbers: [69, 3] Generated Node #0,1,3: 13:[69, 3] Operation: 92-89=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 13:[69, 3], Operations: ['88-19=69', '92-89=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 69*3=207, Resulting Numbers: [207] 207,13 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,13 unequal: No Solution No 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: 13:[92, 20], Operations: ['88-19=69', '89-69=20'] Exploring Operation: 92-20=72, Resulting Numbers: [72] 72,13 unequal: No Solution Exploring Operation: 92+20=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 92*20=1840, Resulting Numbers: [1840] 1840,13 unequal: No Solution No 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: 13:[89, 23], Operations: ['88-19=69', '92-69=23'] Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,13 unequal: No Solution No 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: 13:[69, 181], Operations: ['88-19=69', '92+89=181'] Exploring Operation: 181-69=112, Resulting Numbers: [112] 112,13 unequal: No Solution Exploring Operation: 69+181=250, Resulting Numbers: [250] 250,13 unequal: No Solution Exploring Operation: 69*181=12489, Resulting Numbers: [12489] 12489,13 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
[ 59, 52, 1, 79 ]
73
[ "59-52=7", "1+79=80", "80-7=73" ]
Current State: 73:[59, 52, 1, 79], Operations: [] Exploring Operation: 59-52=7, Resulting Numbers: [1, 79, 7] Generated Node #2: [1, 79, 7] from Operation: 59-52=7 Current State: 73:[1, 79, 7], Operations: ['59-52=7'] Exploring Operation: 1+79=80, Resulting Numbers: [7, 80] Generated Node #3: [7, 80] from Operation: 1+79=80 Current State: 73:[7, 80], Operations: ['59-52=7', '1+79=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[59, 52, 1, 79], Operations: [] Exploring Operation: 59+1=60, Resulting Numbers: [52, 79, 60] Generated Node #0,0: 73:[52, 79, 60] Operation: 59+1=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[52, 79, 60], Operations: ['59+1=60'] Exploring Operation: 52+60=112, Resulting Numbers: [79, 112] Generated Node #0,0,0: 73:[79, 112] Operation: 52+60=112 Moving to Node #0,0,0 Current State: 73:[79, 112], Operations: ['59+1=60', '52+60=112'] Exploring Operation: 112-79=33, Resulting Numbers: [33] 33,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
[ 1, 95, 35, 91 ]
32
[ "95-1=94", "35+91=126", "126-94=32" ]
Current State: 32:[1, 95, 35, 91], Operations: [] Exploring Operation: 95-1=94, Resulting Numbers: [35, 91, 94] Generated Node #2: [35, 91, 94] from Operation: 95-1=94 Current State: 32:[35, 91, 94], Operations: ['95-1=94'] Exploring Operation: 35+91=126, Resulting Numbers: [94, 126] Generated Node #3: [94, 126] from Operation: 35+91=126 Current State: 32:[94, 126], Operations: ['95-1=94', '35+91=126'] Exploring Operation: 126-94=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[1, 95, 35, 91], Operations: [] Exploring Operation: 95-1=94, Resulting Numbers: [35, 91, 94] Generated Node #0,0: 32:[35, 91, 94] Operation: 95-1=94 Exploring Operation: 91-35=56, Resulting Numbers: [1, 95, 56] Generated Node #0,1: 32:[1, 95, 56] Operation: 91-35=56 Exploring Operation: 95-35=60, Resulting Numbers: [1, 91, 60] Generated Node #0,2: 32:[1, 91, 60] Operation: 95-35=60 Exploring Operation: 95-91=4, Resulting Numbers: [1, 35, 4] Generated Node #0,3: 32:[1, 35, 4] Operation: 95-91=4 Moving to Node #0,3 Current State: 32:[1, 35, 4], Operations: ['95-91=4'] Exploring Operation: 35/1=35, Resulting Numbers: [4, 35] Generated Node #0,3,0: 32:[4, 35] Operation: 35/1=35 Exploring Operation: 35-1=34, Resulting Numbers: [4, 34] Generated Node #0,3,1: 32:[4, 34] Operation: 35-1=34 Exploring Operation: 1*35=35, Resulting Numbers: [4, 35] Generated Node #0,3,2: 32:[4, 35] Operation: 1*35=35 Exploring Operation: 35-4=31, Resulting Numbers: [1, 31] Generated Node #0,3,3: 32:[1, 31] Operation: 35-4=31 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 32:[4, 34], Operations: ['95-91=4', '35-1=34'] Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 32:[1, 31], Operations: ['95-91=4', '35-4=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,32 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[1, 95, 35, 91], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [1, 35, 4] Generated Node #0,3: 32:[1, 35, 4] Operation: 95-91=4 Moving to Node #0,3 Current State: 32:[1, 35, 4], Operations: ['95-91=4'] Exploring Operation: 35-4=31, Resulting Numbers: [1, 31] Generated Node #0,3,3: 32:[1, 31] Operation: 35-4=31 Moving to Node #0,3,3 Current State: 32:[1, 31], Operations: ['95-91=4', '35-4=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 78, 48, 45, 75 ]
31
[ "78-75=3", "48+45=93", "93/3=31" ]
Current State: 31:[78, 48, 45, 75], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [48, 45, 3] Generated Node #2: [48, 45, 3] from Operation: 78-75=3 Current State: 31:[48, 45, 3], Operations: ['78-75=3'] Exploring Operation: 48+45=93, Resulting Numbers: [3, 93] Generated Node #3: [3, 93] from Operation: 48+45=93 Current State: 31:[3, 93], Operations: ['78-75=3', '48+45=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[78, 48, 45, 75], Operations: [] Exploring Operation: 75-48=27, Resulting Numbers: [78, 45, 27] Generated Node #0,0: 31:[78, 45, 27] Operation: 75-48=27 Exploring Operation: 78-48=30, Resulting Numbers: [45, 75, 30] Generated Node #0,1: 31:[45, 75, 30] Operation: 78-48=30 Exploring Operation: 78-45=33, Resulting Numbers: [48, 75, 33] Generated Node #0,2: 31:[48, 75, 33] Operation: 78-45=33 Exploring Operation: 78-75=3, Resulting Numbers: [48, 45, 3] Generated Node #0,3: 31:[48, 45, 3] Operation: 78-75=3 Exploring Operation: 75-45=30, Resulting Numbers: [78, 48, 30] Generated Node #0,4: 31:[78, 48, 30] Operation: 75-45=30 Moving to Node #0,1 Current State: 31:[45, 75, 30], Operations: ['78-48=30'] Exploring Operation: 45-30=15, Resulting Numbers: [75, 15] Generated Node #0,1,0: 31:[75, 15] Operation: 45-30=15 Exploring Operation: 75-30=45, Resulting Numbers: [45, 45] Generated Node #0,1,1: 31:[45, 45] Operation: 75-30=45 Exploring Operation: 75-45=30, Resulting Numbers: [30, 30] Generated Node #0,1,2: 31:[30, 30] Operation: 75-45=30 Exploring Operation: 75+30=105, Resulting Numbers: [45, 105] Generated Node #0,1,3: 31:[45, 105] Operation: 75+30=105 Exploring Operation: 45+30=75, Resulting Numbers: [75, 75] Generated Node #0,1,4: 31:[75, 75] Operation: 45+30=75 Moving to Node #0,3 Current State: 31:[48, 45, 3], Operations: ['78-75=3'] Exploring Operation: 48+3=51, Resulting Numbers: [45, 51] Generated Node #0,3,0: 31:[45, 51] Operation: 48+3=51 Exploring Operation: 45/3=15, Resulting Numbers: [48, 15] Generated Node #0,3,1: 31:[48, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [48, 42] Generated Node #0,3,2: 31:[48, 42] Operation: 45-3=42 Exploring Operation: 48/3=16, Resulting Numbers: [45, 16] Generated Node #0,3,3: 31:[45, 16] Operation: 48/3=16 Exploring Operation: 48-3=45, Resulting Numbers: [45, 45] Generated Node #0,3,4: 31:[45, 45] Operation: 48-3=45 Moving to Node #0,2 Current State: 31:[48, 75, 33], Operations: ['78-45=33'] Exploring Operation: 48+75=123, Resulting Numbers: [33, 123] Generated Node #0,2,0: 31:[33, 123] Operation: 48+75=123 Exploring Operation: 75-48=27, Resulting Numbers: [33, 27] Generated Node #0,2,1: 31:[33, 27] Operation: 75-48=27 Exploring Operation: 75-33=42, Resulting Numbers: [48, 42] Generated Node #0,2,2: 31:[48, 42] Operation: 75-33=42 Exploring Operation: 48-33=15, Resulting Numbers: [75, 15] Generated Node #0,2,3: 31:[75, 15] Operation: 48-33=15 Exploring Operation: 48+33=81, Resulting Numbers: [75, 81] Generated Node #0,2,4: 31:[75, 81] Operation: 48+33=81 Moving to Node #0,0 Current State: 31:[78, 45, 27], Operations: ['75-48=27'] Exploring Operation: 45+27=72, Resulting Numbers: [78, 72] Generated Node #0,0,0: 31:[78, 72] Operation: 45+27=72 Exploring Operation: 78+27=105, Resulting Numbers: [45, 105] Generated Node #0,0,1: 31:[45, 105] Operation: 78+27=105 Exploring Operation: 45-27=18, Resulting Numbers: [78, 18] Generated Node #0,0,2: 31:[78, 18] Operation: 45-27=18 Exploring Operation: 78-27=51, Resulting Numbers: [45, 51] Generated Node #0,0,3: 31:[45, 51] Operation: 78-27=51 Exploring Operation: 78-45=33, Resulting Numbers: [27, 33] Generated Node #0,0,4: 31:[27, 33] Operation: 78-45=33 Moving to Node #0,4 Current State: 31:[78, 48, 30], Operations: ['75-45=30'] Exploring Operation: 48-30=18, Resulting Numbers: [78, 18] Generated Node #0,4,0: 31:[78, 18] Operation: 48-30=18 Exploring Operation: 78-30=48, Resulting Numbers: [48, 48] Generated Node #0,4,1: 31:[48, 48] Operation: 78-30=48 Exploring Operation: 48+30=78, Resulting Numbers: [78, 78] Generated Node #0,4,2: 31:[78, 78] Operation: 48+30=78 Exploring Operation: 78+30=108, Resulting Numbers: [48, 108] Generated Node #0,4,3: 31:[48, 108] Operation: 78+30=108 Exploring Operation: 78-48=30, Resulting Numbers: [30, 30] Generated Node #0,4,4: 31:[30, 30] Operation: 78-48=30 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[30, 30], Operations: ['75-45=30', '78-48=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[48, 48], Operations: ['75-45=30', '78-30=48'] Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,31 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[78, 18], Operations: ['75-45=30', '48-30=18'] Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,31 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[78, 78], Operations: ['75-45=30', '48+30=78'] Exploring Operation: 78-78=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 78/78=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 78+78=156, Resulting Numbers: [156] 156,31 unequal: No Solution Exploring Operation: 78*78=6084, Resulting Numbers: [6084] 6084,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[48, 108], Operations: ['75-45=30', '78+30=108'] Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,31 unequal: No Solution Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,31 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: 31:[30, 30], Operations: ['78-48=30', '75-45=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,31 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[33, 27], Operations: ['78-45=33', '75-48=27'] Exploring Operation: 33*27=891, Resulting Numbers: [891] 891,31 unequal: No Solution Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 33+27=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[27, 33], Operations: ['75-48=27', '78-45=33'] Exploring Operation: 33-27=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 27+33=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 27*33=891, Resulting Numbers: [891] 891,31 unequal: No Solution Moving to Node #0,3,2 Current State: 31:[48, 42], Operations: ['78-75=3', '45-3=42'] Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,31 unequal: No Solution Moving to Node #0,3,4 Current State: 31:[45, 45], Operations: ['78-75=3', '48-3=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,31 unequal: No Solution Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[48, 42], Operations: ['78-45=33', '75-33=42'] Exploring Operation: 48*42=2016, Resulting Numbers: [2016] 2016,31 unequal: No Solution Exploring Operation: 48-42=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 48+42=90, Resulting Numbers: [90] 90,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[45, 45], Operations: ['78-48=30', '75-30=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,31 unequal: No Solution Moving to Node #0,3,3 Current State: 31:[45, 16], Operations: ['78-75=3', '48/3=16'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,31 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,31 unequal: No Solution Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,31 unequal: No Solution Moving to Node #0,3,1 Current State: 31:[48, 15], Operations: ['78-75=3', '45/3=15'] Exploring Operation: 48*15=720, Resulting Numbers: [720] 720,31 unequal: No Solution Exploring Operation: 48+15=63, Resulting Numbers: [63] 63,31 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,31 unequal: No Solution Moving to Node #0,3,0 Current State: 31:[45, 51], Operations: ['78-75=3', '48+3=51'] Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,31 unequal: No Solution Moving to Node #0,0,3 Current State: 31:[45, 51], Operations: ['75-48=27', '78-27=51'] Exploring Operation: 45*51=2295, Resulting Numbers: [2295] 2295,31 unequal: No Solution Exploring Operation: 45+51=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[78, 18], Operations: ['75-48=27', '45-27=18'] Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 78+18=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 78*18=1404, Resulting Numbers: [1404] 1404,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[75, 15], Operations: ['78-45=33', '48-33=15'] Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,31 unequal: No Solution Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[75, 15], Operations: ['78-48=30', '45-30=15'] Exploring Operation: 75+15=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 75/15=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 75*15=1125, Resulting Numbers: [1125] 1125,31 unequal: No Solution Exploring Operation: 75-15=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[45, 105], Operations: ['78-48=30', '75+30=105'] Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,31 unequal: No Solution Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[75, 75], Operations: ['78-48=30', '45+30=75'] Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,31 unequal: No Solution Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[78, 72], Operations: ['75-48=27', '45+27=72'] Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[45, 105], Operations: ['75-48=27', '78+27=105'] Exploring Operation: 105-45=60, Resulting Numbers: [60] 60,31 unequal: No Solution Exploring Operation: 45*105=4725, Resulting Numbers: [4725] 4725,31 unequal: No Solution Exploring Operation: 45+105=150, Resulting Numbers: [150] 150,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[33, 123], Operations: ['78-45=33', '48+75=123'] Exploring Operation: 33+123=156, Resulting Numbers: [156] 156,31 unequal: No Solution Exploring Operation: 33*123=4059, Resulting Numbers: [4059] 4059,31 unequal: No Solution Exploring Operation: 123-33=90, Resulting Numbers: [90] 90,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[75, 81], Operations: ['78-45=33', '48+33=81'] Exploring Operation: 81-75=6, Resulting Numbers: [6] 6,31 unequal: No Solution Exploring Operation: 75+81=156, Resulting Numbers: [156] 156,31 unequal: No Solution Exploring Operation: 75*81=6075, Resulting Numbers: [6075] 6075,31 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 5, 69, 81, 80 ]
26
[ "80-69=11", "5*11=55", "81-55=26" ]
Current State: 26:[5, 69, 81, 80], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [5, 81, 11] Generated Node #2: [5, 81, 11] from Operation: 80-69=11 Current State: 26:[5, 81, 11], Operations: ['80-69=11'] Exploring Operation: 5*11=55, Resulting Numbers: [81, 55] Generated Node #3: [81, 55] from Operation: 5*11=55 Current State: 26:[81, 55], Operations: ['80-69=11', '5*11=55'] Exploring Operation: 81-55=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[5, 69, 81, 80], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [5, 80, 12] Generated Node #0,0: 26:[5, 80, 12] Operation: 81-69=12 Exploring Operation: 81-80=1, Resulting Numbers: [5, 69, 1] Generated Node #0,1: 26:[5, 69, 1] Operation: 81-80=1 Exploring Operation: 80-69=11, Resulting Numbers: [5, 81, 11] Generated Node #0,2: 26:[5, 81, 11] Operation: 80-69=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[5, 69, 1], Operations: ['81-80=1'] Exploring Operation: 69-5=64, Resulting Numbers: [1, 64] Generated Node #0,1,0: 26:[1, 64] Operation: 69-5=64 Exploring Operation: 5-1=4, Resulting Numbers: [69, 4] Generated Node #0,1,1: 26:[69, 4] Operation: 5-1=4 Exploring Operation: 69-1=68, Resulting Numbers: [5, 68] Generated Node #0,1,2: 26:[5, 68] Operation: 69-1=68 Moving to Node #0,1,0 Current State: 26:[1, 64], Operations: ['81-80=1', '69-5=64'] Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,26 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[69, 4], Operations: ['81-80=1', '5-1=4'] Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,26 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[5, 68], Operations: ['81-80=1', '69-1=68'] Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,26 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,26 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[5, 80, 12], Operations: ['81-69=12'] Exploring Operation: 80/5=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 26:[12, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [12, 75] Generated Node #0,0,1: 26:[12, 75] Operation: 80-5=75 Exploring Operation: 80-12=68, Resulting Numbers: [5, 68] Generated Node #0,0,2: 26:[5, 68] Operation: 80-12=68 Moving to Node #0,0,0 Current State: 26:[12, 16], Operations: ['81-69=12', '80/5=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,26 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[5, 68], Operations: ['81-69=12', '80-12=68'] Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,26 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[12, 75], Operations: ['81-69=12', '80-5=75'] Exploring Operation: 12+75=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 12*75=900, Resulting Numbers: [900] 900,26 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[5, 81, 11], Operations: ['80-69=11'] Exploring Operation: 81-5=76, Resulting Numbers: [11, 76] Generated Node #0,2,0: 26:[11, 76] Operation: 81-5=76 Exploring Operation: 5+11=16, Resulting Numbers: [81, 16] Generated Node #0,2,1: 26:[81, 16] Operation: 5+11=16 Exploring Operation: 81-11=70, Resulting Numbers: [5, 70] Generated Node #0,2,2: 26:[5, 70] Operation: 81-11=70 Moving to Node #0,2,2 Current State: 26:[5, 70], Operations: ['80-69=11', '81-11=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[11, 76], Operations: ['80-69=11', '81-5=76'] Exploring Operation: 11*76=836, Resulting Numbers: [836] 836,26 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 11+76=87, Resulting Numbers: [87] 87,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[81, 16], Operations: ['80-69=11', '5+11=16'] Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,26 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,26 unequal: No Solution Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,26 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
[ 70, 6, 90, 45 ]
32
[ "70-6=64", "90/45=2", "64/2=32" ]
Current State: 32:[70, 6, 90, 45], Operations: [] Exploring Operation: 70-6=64, Resulting Numbers: [90, 45, 64] Generated Node #2: [90, 45, 64] from Operation: 70-6=64 Current State: 32:[90, 45, 64], Operations: ['70-6=64'] Exploring Operation: 90/45=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 90/45=2 Current State: 32:[64, 2], Operations: ['70-6=64', '90/45=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[70, 6, 90, 45], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [6, 45, 20] Generated Node #0,0: 32:[6, 45, 20] Operation: 90-70=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[6, 45, 20], Operations: ['90-70=20'] Exploring Operation: 45-20=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 32:[6, 25] Operation: 45-20=25 Moving to Node #0,0,0 Current State: 32:[6, 25], Operations: ['90-70=20', '45-20=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 75, 87, 14, 77 ]
59
[ "77-75=2", "14*2=28", "87-28=59" ]
Current State: 59:[75, 87, 14, 77], Operations: [] Exploring Operation: 77-75=2, Resulting Numbers: [87, 14, 2] Generated Node #2: [87, 14, 2] from Operation: 77-75=2 Current State: 59:[87, 14, 2], Operations: ['77-75=2'] Exploring Operation: 14*2=28, Resulting Numbers: [87, 28] Generated Node #3: [87, 28] from Operation: 14*2=28 Current State: 59:[87, 28], Operations: ['77-75=2', '14*2=28'] Exploring Operation: 87-28=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[75, 87, 14, 77], Operations: [] Exploring Operation: 87-14=73, Resulting Numbers: [75, 77, 73] Generated Node #0,0: 59:[75, 77, 73] Operation: 87-14=73 Exploring Operation: 75+14=89, Resulting Numbers: [87, 77, 89] Generated Node #0,1: 59:[87, 77, 89] Operation: 75+14=89 Exploring Operation: 75-14=61, Resulting Numbers: [87, 77, 61] Generated Node #0,2: 59:[87, 77, 61] Operation: 75-14=61 Exploring Operation: 87+14=101, Resulting Numbers: [75, 77, 101] Generated Node #0,3: 59:[75, 77, 101] Operation: 87+14=101 Exploring Operation: 77-14=63, Resulting Numbers: [75, 87, 63] Generated Node #0,4: 59:[75, 87, 63] Operation: 77-14=63 Moving to Node #0,0 Current State: 59:[75, 77, 73], Operations: ['87-14=73'] Exploring Operation: 77-73=4, Resulting Numbers: [75, 4] Generated Node #0,0,0: 59:[75, 4] Operation: 77-73=4 Exploring Operation: 75+77=152, Resulting Numbers: [73, 152] Generated Node #0,0,1: 59:[73, 152] Operation: 75+77=152 Exploring Operation: 75-73=2, Resulting Numbers: [77, 2] Generated Node #0,0,2: 59:[77, 2] Operation: 75-73=2 Exploring Operation: 75+73=148, Resulting Numbers: [77, 148] Generated Node #0,0,3: 59:[77, 148] Operation: 75+73=148 Exploring Operation: 77-75=2, Resulting Numbers: [73, 2] Generated Node #0,0,4: 59:[73, 2] Operation: 77-75=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[75, 4], Operations: ['87-14=73', '77-73=4'] Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,59 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[73, 2], Operations: ['87-14=73', '77-75=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,59 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[77, 2], Operations: ['87-14=73', '75-73=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[73, 152], Operations: ['87-14=73', '75+77=152'] Exploring Operation: 152-73=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 73+152=225, Resulting Numbers: [225] 225,59 unequal: No Solution Exploring Operation: 73*152=11096, Resulting Numbers: [11096] 11096,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[77, 148], Operations: ['87-14=73', '75+73=148'] Exploring Operation: 148-77=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 77+148=225, Resulting Numbers: [225] 225,59 unequal: No Solution Exploring Operation: 77*148=11396, Resulting Numbers: [11396] 11396,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 59:[75, 87, 63], Operations: ['77-14=63'] Exploring Operation: 87-63=24, Resulting Numbers: [75, 24] Generated Node #0,4,0: 59:[75, 24] Operation: 87-63=24 Exploring Operation: 87-75=12, Resulting Numbers: [63, 12] Generated Node #0,4,1: 59:[63, 12] Operation: 87-75=12 Exploring Operation: 75+63=138, Resulting Numbers: [87, 138] Generated Node #0,4,2: 59:[87, 138] Operation: 75+63=138 Exploring Operation: 75+87=162, Resulting Numbers: [63, 162] Generated Node #0,4,3: 59:[63, 162] Operation: 75+87=162 Exploring Operation: 75-63=12, Resulting Numbers: [87, 12] Generated Node #0,4,4: 59:[87, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 59:[75, 24], Operations: ['77-14=63', '87-63=24'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,59 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 59:[63, 12], Operations: ['77-14=63', '87-75=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 59:[87, 12], Operations: ['77-14=63', '75-63=12'] Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 59:[87, 138], Operations: ['77-14=63', '75+63=138'] Exploring Operation: 138-87=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 87*138=12006, Resulting Numbers: [12006] 12006,59 unequal: No Solution Exploring Operation: 87+138=225, Resulting Numbers: [225] 225,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 59:[63, 162], Operations: ['77-14=63', '75+87=162'] Exploring Operation: 162-63=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 63*162=10206, Resulting Numbers: [10206] 10206,59 unequal: No Solution Exploring Operation: 63+162=225, Resulting Numbers: [225] 225,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[87, 77, 61], Operations: ['75-14=61'] Exploring Operation: 87-61=26, Resulting Numbers: [77, 26] Generated Node #0,2,0: 59:[77, 26] Operation: 87-61=26 Exploring Operation: 87+77=164, Resulting Numbers: [61, 164] Generated Node #0,2,1: 59:[61, 164] Operation: 87+77=164 Exploring Operation: 87-77=10, Resulting Numbers: [61, 10] Generated Node #0,2,2: 59:[61, 10] Operation: 87-77=10 Exploring Operation: 77-61=16, Resulting Numbers: [87, 16] Generated Node #0,2,3: 59:[87, 16] Operation: 77-61=16 Exploring Operation: 87+61=148, Resulting Numbers: [77, 148] Generated Node #0,2,4: 59:[77, 148] Operation: 87+61=148 Moving to Node #0,1 Current State: 59:[87, 77, 89], Operations: ['75+14=89'] Exploring Operation: 87-77=10, Resulting Numbers: [89, 10] Generated Node #0,1,0: 59:[89, 10] Operation: 87-77=10 Exploring Operation: 89-87=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 59:[77, 2] Operation: 89-87=2 Exploring Operation: 89-77=12, Resulting Numbers: [87, 12] Generated Node #0,1,2: 59:[87, 12] Operation: 89-77=12 Exploring Operation: 87+89=176, Resulting Numbers: [77, 176] Generated Node #0,1,3: 59:[77, 176] Operation: 87+89=176 Exploring Operation: 87+77=164, Resulting Numbers: [89, 164] Generated Node #0,1,4: 59:[89, 164] Operation: 87+77=164 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[77, 2], Operations: ['75+14=89', '89-87=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,59 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[87, 12], Operations: ['75+14=89', '89-77=12'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 87*12=1044, Resulting Numbers: [1044] 1044,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[89, 10], Operations: ['75+14=89', '87-77=10'] Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,59 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[77, 176], Operations: ['75+14=89', '87+89=176'] Exploring Operation: 176-77=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 77+176=253, Resulting Numbers: [253] 253,59 unequal: No Solution Exploring Operation: 77*176=13552, Resulting Numbers: [13552] 13552,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[89, 164], Operations: ['75+14=89', '87+77=164'] Exploring Operation: 89+164=253, Resulting Numbers: [253] 253,59 unequal: No Solution Exploring Operation: 164-89=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 89*164=14596, Resulting Numbers: [14596] 14596,59 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: 59:[75, 77, 101], Operations: ['87+14=101'] Exploring Operation: 75+77=152, Resulting Numbers: [101, 152] Generated Node #0,3,0: 59:[101, 152] Operation: 75+77=152 Exploring Operation: 77-75=2, Resulting Numbers: [101, 2] Generated Node #0,3,1: 59:[101, 2] Operation: 77-75=2 Exploring Operation: 101-77=24, Resulting Numbers: [75, 24] Generated Node #0,3,2: 59:[75, 24] Operation: 101-77=24 Exploring Operation: 75+101=176, Resulting Numbers: [77, 176] Generated Node #0,3,3: 59:[77, 176] Operation: 75+101=176 Exploring Operation: 101-75=26, Resulting Numbers: [77, 26] Generated Node #0,3,4: 59:[77, 26] Operation: 101-75=26 Moving to Node #0,2,0 Current State: 59:[77, 26], Operations: ['75-14=61', '87-61=26'] Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[75, 24], Operations: ['87+14=101', '101-77=24'] Exploring Operation: 75*24=1800, Resulting Numbers: [1800] 1800,59 unequal: No Solution Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,59 unequal: No Solution Moving to Node #0,3,4 Current State: 59:[77, 26], Operations: ['87+14=101', '101-75=26'] Exploring Operation: 77*26=2002, Resulting Numbers: [2002] 2002,59 unequal: No Solution Exploring Operation: 77+26=103, Resulting Numbers: [103] 103,59 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[61, 10], Operations: ['75-14=61', '87-77=10'] Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,59 unequal: No Solution Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[87, 16], Operations: ['75-14=61', '77-61=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 87*16=1392, Resulting Numbers: [1392] 1392,59 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[101, 2], Operations: ['87+14=101', '77-75=2'] Exploring Operation: 101*2=202, Resulting Numbers: [202] 202,59 unequal: No Solution Exploring Operation: 101-2=99, Resulting Numbers: [99] 99,59 unequal: No Solution Exploring Operation: 101+2=103, Resulting Numbers: [103] 103,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[77, 148], Operations: ['75-14=61', '87+61=148'] Exploring Operation: 77*148=11396, Resulting Numbers: [11396] 11396,59 unequal: No Solution Exploring Operation: 148-77=71, Resulting Numbers: [71] 71,59 unequal: No Solution Exploring Operation: 77+148=225, Resulting Numbers: [225] 225,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[61, 164], Operations: ['75-14=61', '87+77=164'] Exploring Operation: 61+164=225, Resulting Numbers: [225] 225,59 unequal: No Solution Exploring Operation: 61*164=10004, Resulting Numbers: [10004] 10004,59 unequal: No Solution Exploring Operation: 164-61=103, Resulting Numbers: [103] 103,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[77, 176], Operations: ['87+14=101', '75+101=176'] Exploring Operation: 77*176=13552, Resulting Numbers: [13552] 13552,59 unequal: No Solution Exploring Operation: 77+176=253, Resulting Numbers: [253] 253,59 unequal: No Solution Exploring Operation: 176-77=99, Resulting Numbers: [99] 99,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[101, 152], Operations: ['87+14=101', '75+77=152'] Exploring Operation: 152-101=51, Resulting Numbers: [51] 51,59 unequal: No Solution Exploring Operation: 101*152=15352, Resulting Numbers: [15352] 15352,59 unequal: No Solution Exploring Operation: 101+152=253, Resulting Numbers: [253] 253,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 52, 18, 31, 56 ]
59
[ "52-18=34", "56-31=25", "34+25=59" ]
Current State: 59:[52, 18, 31, 56], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [31, 56, 34] Generated Node #2: [31, 56, 34] from Operation: 52-18=34 Current State: 59:[31, 56, 34], Operations: ['52-18=34'] Exploring Operation: 56-31=25, Resulting Numbers: [34, 25] Generated Node #3: [34, 25] from Operation: 56-31=25 Current State: 59:[34, 25], Operations: ['52-18=34', '56-31=25'] Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[52, 18, 31, 56], Operations: [] Exploring Operation: 52+18=70, Resulting Numbers: [31, 56, 70] Generated Node #0,0: 59:[31, 56, 70] Operation: 52+18=70 Exploring Operation: 18+31=49, Resulting Numbers: [52, 56, 49] Generated Node #0,1: 59:[52, 56, 49] Operation: 18+31=49 Moving to Node #0,1 Current State: 59:[52, 56, 49], Operations: ['18+31=49'] Exploring Operation: 52+49=101, Resulting Numbers: [56, 101] Generated Node #0,1,0: 59:[56, 101] Operation: 52+49=101 Exploring Operation: 56+49=105, Resulting Numbers: [52, 105] Generated Node #0,1,1: 59:[52, 105] Operation: 56+49=105 Moving to Node #0,0 Current State: 59:[31, 56, 70], Operations: ['52+18=70'] Exploring Operation: 70-31=39, Resulting Numbers: [56, 39] Generated Node #0,0,0: 59:[56, 39] Operation: 70-31=39 Exploring Operation: 31+56=87, Resulting Numbers: [70, 87] Generated Node #0,0,1: 59:[70, 87] Operation: 31+56=87 Moving to Node #0,0,0 Current State: 59:[56, 39], Operations: ['52+18=70', '70-31=39'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[70, 87], Operations: ['52+18=70', '31+56=87'] Exploring Operation: 70+87=157, Resulting Numbers: [157] 157,59 unequal: No Solution Exploring Operation: 87-70=17, Resulting Numbers: [17] 17,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[56, 101], Operations: ['18+31=49', '52+49=101'] Exploring Operation: 56+101=157, Resulting Numbers: [157] 157,59 unequal: No Solution Exploring Operation: 101-56=45, Resulting Numbers: [45] 45,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[52, 105], Operations: ['18+31=49', '56+49=105'] Exploring Operation: 105-52=53, Resulting Numbers: [53] 53,59 unequal: No Solution Exploring Operation: 52+105=157, Resulting Numbers: [157] 157,59 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 19, 36, 23, 17 ]
95
[ "19+36=55", "23+17=40", "55+40=95" ]
Current State: 95:[19, 36, 23, 17], Operations: [] Exploring Operation: 19+36=55, Resulting Numbers: [23, 17, 55] Generated Node #2: [23, 17, 55] from Operation: 19+36=55 Current State: 95:[23, 17, 55], Operations: ['19+36=55'] Exploring Operation: 23+17=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 23+17=40 Current State: 95:[55, 40], Operations: ['19+36=55', '23+17=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[19, 36, 23, 17], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [23, 17, 17] Generated Node #0,0: 95:[23, 17, 17] Operation: 36-19=17 Exploring Operation: 36-17=19, Resulting Numbers: [19, 23, 19] Generated Node #0,1: 95:[19, 23, 19] Operation: 36-17=19 Exploring Operation: 23-17=6, Resulting Numbers: [19, 36, 6] Generated Node #0,2: 95:[19, 36, 6] Operation: 23-17=6 Exploring Operation: 23-19=4, Resulting Numbers: [36, 17, 4] Generated Node #0,3: 95:[36, 17, 4] Operation: 23-19=4 Exploring Operation: 36-23=13, Resulting Numbers: [19, 17, 13] Generated Node #0,4: 95:[19, 17, 13] Operation: 36-23=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[19, 23, 19], Operations: ['36-17=19'] Exploring Operation: 23-19=4, Resulting Numbers: [19, 4] Generated Node #0,1,0: 95:[19, 4] Operation: 23-19=4 Exploring Operation: 19/19=1, Resulting Numbers: [23, 1] Generated Node #0,1,1: 95:[23, 1] Operation: 19/19=1 Exploring Operation: 23-19=4, Resulting Numbers: [19, 4] Generated Node #0,1,2: 95:[19, 4] Operation: 23-19=4 Exploring Operation: 19+23=42, Resulting Numbers: [19, 42] Generated Node #0,1,3: 95:[19, 42] Operation: 19+23=42 Exploring Operation: 19-19=0, Resulting Numbers: [23, 0] Generated Node #0,1,4: 95:[23, 0] Operation: 19-19=0 Moving to Node #0,1,0 Current State: 95:[19, 4], Operations: ['36-17=19', '23-19=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[19, 4], Operations: ['36-17=19', '23-19=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,95 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,1,1 Current State: 95:[23, 1], Operations: ['36-17=19', '19/19=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,95 unequal: No Solution Moving to Node #0,1,4 Current State: 95:[23, 0], Operations: ['36-17=19', '19-19=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[19, 42], Operations: ['36-17=19', '19+23=42'] Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,95 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[23, 17, 17], Operations: ['36-19=17'] Exploring Operation: 17+17=34, Resulting Numbers: [23, 34] Generated Node #0,0,0: 95:[23, 34] Operation: 17+17=34 Exploring Operation: 23-17=6, Resulting Numbers: [17, 6] Generated Node #0,0,1: 95:[17, 6] Operation: 23-17=6 Exploring Operation: 17-17=0, Resulting Numbers: [23, 0] Generated Node #0,0,2: 95:[23, 0] Operation: 17-17=0 Exploring Operation: 23-17=6, Resulting Numbers: [17, 6] Generated Node #0,0,3: 95:[17, 6] Operation: 23-17=6 Exploring Operation: 17/17=1, Resulting Numbers: [23, 1] Generated Node #0,0,4: 95:[23, 1] Operation: 17/17=1 Moving to Node #0,0,1 Current State: 95:[17, 6], Operations: ['36-19=17', '23-17=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[17, 6], Operations: ['36-19=17', '23-17=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,95 unequal: No Solution Moving to Node #0,0,4 Current State: 95:[23, 1], Operations: ['36-19=17', '17/17=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,95 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[23, 0], Operations: ['36-19=17', '17-17=0'] Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,95 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[23, 34], Operations: ['36-19=17', '17+17=34'] Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,95 unequal: No Solution Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 95:[19, 17, 13], Operations: ['36-23=13'] Exploring Operation: 17-13=4, Resulting Numbers: [19, 4] Generated Node #0,4,0: 95:[19, 4] Operation: 17-13=4 Exploring Operation: 19+13=32, Resulting Numbers: [17, 32] Generated Node #0,4,1: 95:[17, 32] Operation: 19+13=32 Exploring Operation: 19-13=6, Resulting Numbers: [17, 6] Generated Node #0,4,2: 95:[17, 6] Operation: 19-13=6 Exploring Operation: 17+13=30, Resulting Numbers: [19, 30] Generated Node #0,4,3: 95:[19, 30] Operation: 17+13=30 Exploring Operation: 19-17=2, Resulting Numbers: [13, 2] Generated Node #0,4,4: 95:[13, 2] Operation: 19-17=2 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 95:[19, 4], Operations: ['36-23=13', '17-13=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,95 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 95:[17, 6], Operations: ['36-23=13', '19-13=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 95:[13, 2], Operations: ['36-23=13', '19-17=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 95:[19, 30], Operations: ['36-23=13', '17+13=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,95 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 95:[17, 32], Operations: ['36-23=13', '19+13=32'] Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,95 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[19, 36, 6], Operations: ['23-17=6'] Exploring Operation: 19-6=13, Resulting Numbers: [36, 13] Generated Node #0,2,0: 95:[36, 13] Operation: 19-6=13 Exploring Operation: 36-19=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 95:[6, 17] Operation: 36-19=17 Exploring Operation: 19+6=25, Resulting Numbers: [36, 25] Generated Node #0,2,2: 95:[36, 25] Operation: 19+6=25 Exploring Operation: 36/6=6, Resulting Numbers: [19, 6] Generated Node #0,2,3: 95:[19, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [19, 30] Generated Node #0,2,4: 95:[19, 30] Operation: 36-6=30 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[19, 6], Operations: ['23-17=6', '36/6=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[6, 17], Operations: ['23-17=6', '36-19=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 95:[19, 30], Operations: ['23-17=6', '36-6=30'] Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,95 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[36, 13], Operations: ['23-17=6', '19-6=13'] Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,95 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[36, 25], Operations: ['23-17=6', '19+6=25'] Exploring Operation: 36*25=900, Resulting Numbers: [900] 900,95 unequal: No Solution Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 36+25=61, Resulting Numbers: [61] 61,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[36, 17, 4], Operations: ['23-19=4'] Exploring Operation: 36/4=9, Resulting Numbers: [17, 9] Generated Node #0,3,0: 95:[17, 9] Operation: 36/4=9 Exploring Operation: 36-4=32, Resulting Numbers: [17, 32] Generated Node #0,3,1: 95:[17, 32] Operation: 36-4=32 Exploring Operation: 36-17=19, Resulting Numbers: [4, 19] Generated Node #0,3,2: 95:[4, 19] Operation: 36-17=19 Exploring Operation: 17+4=21, Resulting Numbers: [36, 21] Generated Node #0,3,3: 95:[36, 21] Operation: 17+4=21 Exploring Operation: 36+4=40, Resulting Numbers: [17, 40] Generated Node #0,3,4: 95:[17, 40] Operation: 36+4=40 Moving to Node #0,3,2 Current State: 95:[4, 19], Operations: ['23-19=4', '36-17=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,95 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[17, 9], Operations: ['23-19=4', '36/4=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,95 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[17, 32], Operations: ['23-19=4', '36-4=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,95 unequal: No Solution Exploring Operation: 17*32=544, Resulting Numbers: [544] 544,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[36, 21], Operations: ['23-19=4', '17+4=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,95 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,3,4 Current State: 95:[17, 40], Operations: ['23-19=4', '36+4=40'] Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,95 unequal: No Solution Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,95 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 35, 25, 55 ]
11
[ "35*55=1925", "1925/25=77", "88-77=11" ]
Current State: 11:[88, 35, 25, 55], Operations: [] Exploring Operation: 35*55=1925, Resulting Numbers: [88, 25, 1925] Generated Node #2: [88, 25, 1925] from Operation: 35*55=1925 Current State: 11:[88, 25, 1925], Operations: ['35*55=1925'] Exploring Operation: 1925/25=77, Resulting Numbers: [88, 77] Generated Node #3: [88, 77] from Operation: 1925/25=77 Current State: 11:[88, 77], Operations: ['35*55=1925', '1925/25=77'] Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[88, 35, 25, 55], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [25, 55, 53] Generated Node #0,0: 11:[25, 55, 53] Operation: 88-35=53 Exploring Operation: 88-55=33, Resulting Numbers: [35, 25, 33] Generated Node #0,1: 11:[35, 25, 33] Operation: 88-55=33 Exploring Operation: 88-25=63, Resulting Numbers: [35, 55, 63] Generated Node #0,2: 11:[35, 55, 63] Operation: 88-25=63 Exploring Operation: 55-35=20, Resulting Numbers: [88, 25, 20] Generated Node #0,3: 11:[88, 25, 20] Operation: 55-35=20 Moving to Node #0,1 Current State: 11:[35, 25, 33], Operations: ['88-55=33'] Exploring Operation: 35+25=60, Resulting Numbers: [33, 60] Generated Node #0,1,0: 11:[33, 60] Operation: 35+25=60 Exploring Operation: 35-33=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 11:[25, 2] Operation: 35-33=2 Exploring Operation: 35-25=10, Resulting Numbers: [33, 10] Generated Node #0,1,2: 11:[33, 10] Operation: 35-25=10 Exploring Operation: 33-25=8, Resulting Numbers: [35, 8] Generated Node #0,1,3: 11:[35, 8] Operation: 33-25=8 Moving to Node #0,3 Current State: 11:[88, 25, 20], Operations: ['55-35=20'] Exploring Operation: 88+25=113, Resulting Numbers: [20, 113] Generated Node #0,3,0: 11:[20, 113] Operation: 88+25=113 Exploring Operation: 25-20=5, Resulting Numbers: [88, 5] Generated Node #0,3,1: 11:[88, 5] Operation: 25-20=5 Exploring Operation: 88-25=63, Resulting Numbers: [20, 63] Generated Node #0,3,2: 11:[20, 63] Operation: 88-25=63 Exploring Operation: 88-20=68, Resulting Numbers: [25, 68] Generated Node #0,3,3: 11:[25, 68] Operation: 88-20=68 Moving to Node #0,0 Current State: 11:[25, 55, 53], Operations: ['88-35=53'] Exploring Operation: 55-53=2, Resulting Numbers: [25, 2] Generated Node #0,0,0: 11:[25, 2] Operation: 55-53=2 Exploring Operation: 25+55=80, Resulting Numbers: [53, 80] Generated Node #0,0,1: 11:[53, 80] Operation: 25+55=80 Exploring Operation: 53-25=28, Resulting Numbers: [55, 28] Generated Node #0,0,2: 11:[55, 28] Operation: 53-25=28 Exploring Operation: 55-25=30, Resulting Numbers: [53, 30] Generated Node #0,0,3: 11:[53, 30] Operation: 55-25=30 Moving to Node #0,2 Current State: 11:[35, 55, 63], Operations: ['88-25=63'] Exploring Operation: 63-55=8, Resulting Numbers: [35, 8] Generated Node #0,2,0: 11:[35, 8] Operation: 63-55=8 Exploring Operation: 63-35=28, Resulting Numbers: [55, 28] Generated Node #0,2,1: 11:[55, 28] Operation: 63-35=28 Exploring Operation: 55-35=20, Resulting Numbers: [63, 20] Generated Node #0,2,2: 11:[63, 20] Operation: 55-35=20 Exploring Operation: 35+55=90, Resulting Numbers: [63, 90] Generated Node #0,2,3: 11:[63, 90] Operation: 35+55=90 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 11:[35, 8], Operations: ['88-25=63', '63-55=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,11 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,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:[55, 28], Operations: ['88-25=63', '63-35=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,11 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,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:[63, 20], Operations: ['88-25=63', '55-35=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,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,3 Current State: 11:[63, 90], Operations: ['88-25=63', '35+55=90'] Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,11 unequal: No Solution Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,11 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 11:[25, 2], Operations: ['88-55=33', '35-33=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[33, 10], Operations: ['88-55=33', '35-25=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,11 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[25, 2], Operations: ['88-35=53', '55-53=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[35, 8], Operations: ['88-55=33', '33-25=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,11 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[53, 30], Operations: ['88-35=53', '55-25=30'] 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 Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[20, 63], Operations: ['55-35=20', '88-25=63'] Exploring Operation: 20+63=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 20*63=1260, Resulting Numbers: [1260] 1260,11 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[55, 28], Operations: ['88-35=53', '53-25=28'] Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,11 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[25, 68], Operations: ['55-35=20', '88-20=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,11 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,11 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[33, 60], Operations: ['88-55=33', '35+25=60'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,11 unequal: No Solution Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[88, 5], Operations: ['55-35=20', '25-20=5'] Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,11 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[20, 113], Operations: ['55-35=20', '88+25=113'] Exploring Operation: 20+113=133, Resulting Numbers: [133] 133,11 unequal: No Solution Exploring Operation: 20*113=2260, Resulting Numbers: [2260] 2260,11 unequal: No Solution Exploring Operation: 113-20=93, Resulting Numbers: [93] 93,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[53, 80], Operations: ['88-35=53', '25+55=80'] Exploring Operation: 53+80=133, Resulting Numbers: [133] 133,11 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 53*80=4240, Resulting Numbers: [4240] 4240,11 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 56, 69, 79, 56 ]
69
[ "56-56=0", "79*0=0", "69+0=69" ]
Current State: 69:[56, 69, 79, 56], Operations: [] Exploring Operation: 56-56=0, Resulting Numbers: [69, 79, 0] Generated Node #2: [69, 79, 0] from Operation: 56-56=0 Current State: 69:[69, 79, 0], Operations: ['56-56=0'] Exploring Operation: 79*0=0, Resulting Numbers: [69, 0] Generated Node #3: [69, 0] from Operation: 79*0=0 Current State: 69:[69, 0], Operations: ['56-56=0', '79*0=0'] Exploring Operation: 69+0=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[56, 69, 79, 56], Operations: [] Exploring Operation: 79-56=23, Resulting Numbers: [69, 56, 23] Generated Node #0,0: 69:[69, 56, 23] Operation: 79-56=23 Exploring Operation: 56/56=1, Resulting Numbers: [69, 79, 1] Generated Node #0,1: 69:[69, 79, 1] Operation: 56/56=1 Moving to Node #0,1 Current State: 69:[69, 79, 1], Operations: ['56/56=1'] Exploring Operation: 79-69=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 69:[1, 10] Operation: 79-69=10 Exploring Operation: 79-1=78, Resulting Numbers: [69, 78] Generated Node #0,1,1: 69:[69, 78] Operation: 79-1=78 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[1, 10], Operations: ['56/56=1', '79-69=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,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,1,1 Current State: 69:[69, 78], Operations: ['56/56=1', '79-1=78'] Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,69 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,69 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: 69:[69, 56, 23], Operations: ['79-56=23'] Exploring Operation: 56+23=79, Resulting Numbers: [69, 79] Generated Node #0,0,0: 69:[69, 79] Operation: 56+23=79 Exploring Operation: 69-56=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 69:[23, 13] Operation: 69-56=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[69, 79], Operations: ['79-56=23', '56+23=79'] Exploring Operation: 69+79=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 79-69=10, Resulting Numbers: [10] 10,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:[23, 13], Operations: ['79-56=23', '69-56=13'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,69 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
[ 79, 34, 31, 8 ]
74
[ "79+34=113", "31+8=39", "113-39=74" ]
Current State: 74:[79, 34, 31, 8], Operations: [] Exploring Operation: 79+34=113, Resulting Numbers: [31, 8, 113] Generated Node #2: [31, 8, 113] from Operation: 79+34=113 Current State: 74:[31, 8, 113], Operations: ['79+34=113'] Exploring Operation: 31+8=39, Resulting Numbers: [113, 39] Generated Node #3: [113, 39] from Operation: 31+8=39 Current State: 74:[113, 39], Operations: ['79+34=113', '31+8=39'] Exploring Operation: 113-39=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[79, 34, 31, 8], Operations: [] Exploring Operation: 31+8=39, Resulting Numbers: [79, 34, 39] Generated Node #0,0: 74:[79, 34, 39] Operation: 31+8=39 Exploring Operation: 79-8=71, Resulting Numbers: [34, 31, 71] Generated Node #0,1: 74:[34, 31, 71] Operation: 79-8=71 Moving to Node #0,0 Current State: 74:[79, 34, 39], Operations: ['31+8=39'] Exploring Operation: 79-39=40, Resulting Numbers: [34, 40] Generated Node #0,0,0: 74:[34, 40] Operation: 79-39=40 Exploring Operation: 34+39=73, Resulting Numbers: [79, 73] Generated Node #0,0,1: 74:[79, 73] Operation: 34+39=73 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[34, 40], Operations: ['31+8=39', '79-39=40'] Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[79, 34, 31, 8], Operations: [] Exploring Operation: 31+8=39, Resulting Numbers: [79, 34, 39] Generated Node #0,0: 74:[79, 34, 39] Operation: 31+8=39 Moving to Node #0,0 Current State: 74:[79, 34, 39], Operations: ['31+8=39'] Exploring Operation: 79-39=40, Resulting Numbers: [34, 40] Generated Node #0,0,0: 74:[34, 40] Operation: 79-39=40 Moving to Node #0,0,0 Current State: 74:[34, 40], Operations: ['31+8=39', '79-39=40'] Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic