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
[ 11, 3, 36, 9 ]
23
[ "3*36=108", "108/9=12", "11+12=23" ]
Current State: 23:[11, 3, 36, 9], Operations: [] Exploring Operation: 3*36=108, Resulting Numbers: [11, 9, 108] Generated Node #2: [11, 9, 108] from Operation: 3*36=108 Current State: 23:[11, 9, 108], Operations: ['3*36=108'] Exploring Operation: 108/9=12, Resulting Numbers: [11, 12] Generated Node #3: [11, 12] from Operation: 108/9=12 Current State: 23:[11, 12], Operations: ['3*36=108', '108/9=12'] Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[11, 3, 36, 9], Operations: [] Exploring Operation: 36-3=33, Resulting Numbers: [11, 9, 33] Generated Node #0,0: 23:[11, 9, 33] Operation: 36-3=33 Exploring Operation: 11+3=14, Resulting Numbers: [36, 9, 14] Generated Node #0,1: 23:[36, 9, 14] Operation: 11+3=14 Exploring Operation: 11+9=20, Resulting Numbers: [3, 36, 20] Generated Node #0,2: 23:[3, 36, 20] Operation: 11+9=20 Exploring Operation: 3*9=27, Resulting Numbers: [11, 36, 27] Generated Node #0,3: 23:[11, 36, 27] Operation: 3*9=27 Exploring Operation: 36-11=25, Resulting Numbers: [3, 9, 25] Generated Node #0,4: 23:[3, 9, 25] Operation: 36-11=25 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[11, 36, 27], Operations: ['3*9=27'] Exploring Operation: 36-27=9, Resulting Numbers: [11, 9] Generated Node #0,3,0: 23:[11, 9] Operation: 36-27=9 Exploring Operation: 11+27=38, Resulting Numbers: [36, 38] Generated Node #0,3,1: 23:[36, 38] Operation: 11+27=38 Exploring Operation: 36-11=25, Resulting Numbers: [27, 25] Generated Node #0,3,2: 23:[27, 25] Operation: 36-11=25 Exploring Operation: 11+36=47, Resulting Numbers: [27, 47] Generated Node #0,3,3: 23:[27, 47] Operation: 11+36=47 Exploring Operation: 27-11=16, Resulting Numbers: [36, 16] Generated Node #0,3,4: 23:[36, 16] Operation: 27-11=16 Moving to Node #0,3,2 Current State: 23:[27, 25], Operations: ['3*9=27', '36-11=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,23 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[36, 16], Operations: ['3*9=27', '27-11=16'] Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[11, 9], Operations: ['3*9=27', '36-27=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,23 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[36, 38], Operations: ['3*9=27', '11+27=38'] Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[27, 47], Operations: ['3*9=27', '11+36=47'] Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[11, 9, 33], Operations: ['36-3=33'] Exploring Operation: 11+9=20, Resulting Numbers: [33, 20] Generated Node #0,0,0: 23:[33, 20] Operation: 11+9=20 Exploring Operation: 33-11=22, Resulting Numbers: [9, 22] Generated Node #0,0,1: 23:[9, 22] Operation: 33-11=22 Exploring Operation: 9+33=42, Resulting Numbers: [11, 42] Generated Node #0,0,2: 23:[11, 42] Operation: 9+33=42 Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 23:[33, 2] Operation: 11-9=2 Exploring Operation: 33-9=24, Resulting Numbers: [11, 24] Generated Node #0,0,4: 23:[11, 24] Operation: 33-9=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[33, 20], Operations: ['36-3=33', '11+9=20'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 33*20=660, Resulting Numbers: [660] 660,23 unequal: No Solution Exploring Operation: 33+20=53, Resulting Numbers: [53] 53,23 unequal: No Solution No 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: 23:[11, 24], Operations: ['36-3=33', '33-9=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,23 unequal: No Solution No 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: 23:[9, 22], Operations: ['36-3=33', '33-11=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,23 unequal: No Solution No 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: 23:[11, 42], Operations: ['36-3=33', '9+33=42'] Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,23 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,23 unequal: No Solution No 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: 23:[33, 2], Operations: ['36-3=33', '11-9=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,23 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: 23:[36, 9, 14], Operations: ['11+3=14'] Exploring Operation: 36+9=45, Resulting Numbers: [14, 45] Generated Node #0,1,0: 23:[14, 45] Operation: 36+9=45 Exploring Operation: 36-14=22, Resulting Numbers: [9, 22] Generated Node #0,1,1: 23:[9, 22] Operation: 36-14=22 Exploring Operation: 36/9=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 23:[14, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [14, 27] Generated Node #0,1,3: 23:[14, 27] Operation: 36-9=27 Exploring Operation: 9+14=23, Resulting Numbers: [36, 23] Generated Node #0,1,4: 23:[36, 23] Operation: 9+14=23 Moving to Node #0,1,3 Current State: 23:[14, 27], Operations: ['11+3=14', '36-9=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[36, 23], Operations: ['11+3=14', '9+14=23'] Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,23 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[9, 22], Operations: ['11+3=14', '36-14=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[14, 4], Operations: ['11+3=14', '36/9=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[14, 45], Operations: ['11+3=14', '36+9=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[3, 36, 20], Operations: ['11+9=20'] Exploring Operation: 3+20=23, Resulting Numbers: [36, 23] Generated Node #0,2,0: 23:[36, 23] Operation: 3+20=23 Exploring Operation: 36/3=12, Resulting Numbers: [20, 12] Generated Node #0,2,1: 23:[20, 12] Operation: 36/3=12 Exploring Operation: 3+36=39, Resulting Numbers: [20, 39] Generated Node #0,2,2: 23:[20, 39] Operation: 3+36=39 Exploring Operation: 20-3=17, Resulting Numbers: [36, 17] Generated Node #0,2,3: 23:[36, 17] Operation: 20-3=17 Exploring Operation: 36-3=33, Resulting Numbers: [20, 33] Generated Node #0,2,4: 23:[20, 33] Operation: 36-3=33 Moving to Node #0,2,0 Current State: 23:[36, 23], Operations: ['11+9=20', '3+20=23'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[20, 33], Operations: ['11+9=20', '36-3=33'] Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[20, 12], Operations: ['11+9=20', '36/3=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,23 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[20, 39], Operations: ['11+9=20', '3+36=39'] Exploring Operation: 20+39=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 20*39=780, Resulting Numbers: [780] 780,23 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[36, 17], Operations: ['11+9=20', '20-3=17'] Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 23:[3, 9, 25], Operations: ['36-11=25'] Exploring Operation: 9-3=6, Resulting Numbers: [25, 6] Generated Node #0,4,0: 23:[25, 6] Operation: 9-3=6 Exploring Operation: 3+9=12, Resulting Numbers: [25, 12] Generated Node #0,4,1: 23:[25, 12] Operation: 3+9=12 Exploring Operation: 25-3=22, Resulting Numbers: [9, 22] Generated Node #0,4,2: 23:[9, 22] Operation: 25-3=22 Exploring Operation: 3*9=27, Resulting Numbers: [25, 27] Generated Node #0,4,3: 23:[25, 27] Operation: 3*9=27 Exploring Operation: 3+25=28, Resulting Numbers: [9, 28] Generated Node #0,4,4: 23:[9, 28] Operation: 3+25=28 Moving to Node #0,4,3 Current State: 23:[25, 27], Operations: ['36-11=25', '3*9=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,23 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[25, 12], Operations: ['36-11=25', '3+9=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,23 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[9, 22], Operations: ['36-11=25', '25-3=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,23 unequal: No Solution Moving to Node #0,4,0 Current State: 23:[25, 6], Operations: ['36-11=25', '9-3=6'] Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,23 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[9, 28], Operations: ['36-11=25', '3+25=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,23 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,23 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,23 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
[ 26, 93, 86, 80 ]
88
[ "93-80=13", "26/13=2", "86+2=88" ]
Current State: 88:[26, 93, 86, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [26, 86, 13] Generated Node #2: [26, 86, 13] from Operation: 93-80=13 Current State: 88:[26, 86, 13], Operations: ['93-80=13'] Exploring Operation: 26/13=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 26/13=2 Current State: 88:[86, 2], Operations: ['93-80=13', '26/13=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[26, 93, 86, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [26, 86, 13] Generated Node #0,0: 88:[26, 86, 13] Operation: 93-80=13 Exploring Operation: 86-80=6, Resulting Numbers: [26, 93, 6] Generated Node #0,1: 88:[26, 93, 6] Operation: 86-80=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[26, 86, 13], Operations: ['93-80=13'] Exploring Operation: 26-13=13, Resulting Numbers: [86, 13] Generated Node #0,0,0: 88:[86, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [86, 2] Generated Node #0,0,1: 88:[86, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 88:[86, 2], Operations: ['93-80=13', '26/13=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[26, 93, 86, 80], Operations: [] Exploring Operation: 93-80=13, Resulting Numbers: [26, 86, 13] Generated Node #0,0: 88:[26, 86, 13] Operation: 93-80=13 Moving to Node #0,0 Current State: 88:[26, 86, 13], Operations: ['93-80=13'] Exploring Operation: 26/13=2, Resulting Numbers: [86, 2] Generated Node #0,0,1: 88:[86, 2] Operation: 26/13=2 Moving to Node #0,0,1 Current State: 88:[86, 2], Operations: ['93-80=13', '26/13=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 56, 38, 29, 89 ]
24
[ "56+38=94", "29+89=118", "118-94=24" ]
Current State: 24:[56, 38, 29, 89], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [29, 89, 94] Generated Node #2: [29, 89, 94] from Operation: 56+38=94 Current State: 24:[29, 89, 94], Operations: ['56+38=94'] Exploring Operation: 29+89=118, Resulting Numbers: [94, 118] Generated Node #3: [94, 118] from Operation: 29+89=118 Current State: 24:[94, 118], Operations: ['56+38=94', '29+89=118'] Exploring Operation: 118-94=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[56, 38, 29, 89], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [38, 29, 33] Generated Node #0,0: 24:[38, 29, 33] Operation: 89-56=33 Moving to Node #0,0 Current State: 24:[38, 29, 33], Operations: ['89-56=33'] Exploring Operation: 38-33=5, Resulting Numbers: [29, 5] Generated Node #0,0,0: 24:[29, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[29, 5], Operations: ['89-56=33', '38-33=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[56, 38, 29, 89], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [38, 29, 33] Generated Node #0,0: 24:[38, 29, 33] Operation: 89-56=33 Moving to Node #0,0 Current State: 24:[38, 29, 33], Operations: ['89-56=33'] Exploring Operation: 38-33=5, Resulting Numbers: [29, 5] Generated Node #0,0,0: 24:[29, 5] Operation: 38-33=5 Moving to Node #0,0,0 Current State: 24:[29, 5], Operations: ['89-56=33', '38-33=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 88, 79, 22, 31 ]
12
[ "88/22=4", "79-31=48", "48/4=12" ]
Current State: 12:[88, 79, 22, 31], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [79, 31, 4] Generated Node #2: [79, 31, 4] from Operation: 88/22=4 Current State: 12:[79, 31, 4], Operations: ['88/22=4'] Exploring Operation: 79-31=48, Resulting Numbers: [4, 48] Generated Node #3: [4, 48] from Operation: 79-31=48 Current State: 12:[4, 48], Operations: ['88/22=4', '79-31=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[88, 79, 22, 31], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [22, 31, 9] Generated Node #0,0: 12:[22, 31, 9] Operation: 88-79=9 Exploring Operation: 88/22=4, Resulting Numbers: [79, 31, 4] Generated Node #0,1: 12:[79, 31, 4] Operation: 88/22=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[22, 31, 9], Operations: ['88-79=9'] Exploring Operation: 31-22=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 12:[9, 9] Operation: 31-22=9 Exploring Operation: 22-9=13, Resulting Numbers: [31, 13] Generated Node #0,0,1: 12:[31, 13] Operation: 22-9=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[9, 9], Operations: ['88-79=9', '31-22=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,12 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,12 unequal: No Solution No 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: 12:[31, 13], Operations: ['88-79=9', '22-9=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,12 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: 12:[79, 31, 4], Operations: ['88/22=4'] Exploring Operation: 79-4=75, Resulting Numbers: [31, 75] Generated Node #0,1,0: 12:[31, 75] Operation: 79-4=75 Exploring Operation: 79-31=48, Resulting Numbers: [4, 48] Generated Node #0,1,1: 12:[4, 48] Operation: 79-31=48 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 12:[4, 48], Operations: ['88/22=4', '79-31=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[88, 79, 22, 31], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [79, 31, 4] Generated Node #0,1: 12:[79, 31, 4] Operation: 88/22=4 Moving to Node #0,1 Current State: 12:[79, 31, 4], Operations: ['88/22=4'] Exploring Operation: 79-31=48, Resulting Numbers: [4, 48] Generated Node #0,1,1: 12:[4, 48] Operation: 79-31=48 Moving to Node #0,1,1 Current State: 12:[4, 48], Operations: ['88/22=4', '79-31=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 94, 12, 99, 50 ]
10
[ "99-94=5", "12*5=60", "60-50=10" ]
Current State: 10:[94, 12, 99, 50], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [12, 50, 5] Generated Node #2: [12, 50, 5] from Operation: 99-94=5 Current State: 10:[12, 50, 5], Operations: ['99-94=5'] Exploring Operation: 12*5=60, Resulting Numbers: [50, 60] Generated Node #3: [50, 60] from Operation: 12*5=60 Current State: 10:[50, 60], Operations: ['99-94=5', '12*5=60'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[94, 12, 99, 50], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [12, 50, 5] Generated Node #0,0: 10:[12, 50, 5] Operation: 99-94=5 Exploring Operation: 94-50=44, Resulting Numbers: [12, 99, 44] Generated Node #0,1: 10:[12, 99, 44] Operation: 94-50=44 Exploring Operation: 99-50=49, Resulting Numbers: [94, 12, 49] Generated Node #0,2: 10:[94, 12, 49] Operation: 99-50=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[12, 50, 5], Operations: ['99-94=5'] Exploring Operation: 50/5=10, Resulting Numbers: [12, 10] Generated Node #0,0,0: 10:[12, 10] Operation: 50/5=10 Exploring Operation: 50-12=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 10:[5, 38] Operation: 50-12=38 Exploring Operation: 50-5=45, Resulting Numbers: [12, 45] Generated Node #0,0,2: 10:[12, 45] Operation: 50-5=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[12, 10], Operations: ['99-94=5', '50/5=10'] Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,10 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 10:[5, 38], Operations: ['99-94=5', '50-12=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,10 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 10:[12, 45], Operations: ['99-94=5', '50-5=45'] Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,10 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[12, 99, 44], Operations: ['94-50=44'] Exploring Operation: 44-12=32, Resulting Numbers: [99, 32] Generated Node #0,1,0: 10:[99, 32] Operation: 44-12=32 Exploring Operation: 99-44=55, Resulting Numbers: [12, 55] Generated Node #0,1,1: 10:[12, 55] Operation: 99-44=55 Exploring Operation: 99-12=87, Resulting Numbers: [44, 87] Generated Node #0,1,2: 10:[44, 87] Operation: 99-12=87 Moving to Node #0,1,1 Current State: 10:[12, 55], Operations: ['94-50=44', '99-44=55'] Exploring Operation: 12+55=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 55-12=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 12*55=660, Resulting Numbers: [660] 660,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[99, 32], Operations: ['94-50=44', '44-12=32'] Exploring Operation: 99*32=3168, Resulting Numbers: [3168] 3168,10 unequal: No Solution Exploring Operation: 99+32=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 99-32=67, Resulting Numbers: [67] 67,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[44, 87], Operations: ['94-50=44', '99-12=87'] Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,10 unequal: No Solution Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[94, 12, 49], Operations: ['99-50=49'] Exploring Operation: 94-12=82, Resulting Numbers: [49, 82] Generated Node #0,2,0: 10:[49, 82] Operation: 94-12=82 Exploring Operation: 94-49=45, Resulting Numbers: [12, 45] Generated Node #0,2,1: 10:[12, 45] Operation: 94-49=45 Exploring Operation: 49-12=37, Resulting Numbers: [94, 37] Generated Node #0,2,2: 10:[94, 37] Operation: 49-12=37 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 10:[12, 45], Operations: ['99-50=49', '94-49=45'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,10 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 10:[49, 82], Operations: ['99-50=49', '94-12=82'] Exploring Operation: 82-49=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 49+82=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 49*82=4018, Resulting Numbers: [4018] 4018,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[94, 37], Operations: ['99-50=49', '49-12=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,10 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,10 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 76, 63, 53, 57 ]
82
[ "57-53=4", "76/4=19", "63+19=82" ]
Current State: 82:[76, 63, 53, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [76, 63, 4] Generated Node #2: [76, 63, 4] from Operation: 57-53=4 Current State: 82:[76, 63, 4], Operations: ['57-53=4'] Exploring Operation: 76/4=19, Resulting Numbers: [63, 19] Generated Node #3: [63, 19] from Operation: 76/4=19 Current State: 82:[63, 19], Operations: ['57-53=4', '76/4=19'] Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[76, 63, 53, 57], Operations: [] Exploring Operation: 63-57=6, Resulting Numbers: [76, 53, 6] Generated Node #0,0: 82:[76, 53, 6] Operation: 63-57=6 Moving to Node #0,0 Current State: 82:[76, 53, 6], Operations: ['63-57=6'] Exploring Operation: 76+6=82, Resulting Numbers: [53, 82] Generated Node #0,0,0: 82:[53, 82] Operation: 76+6=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[53, 82], Operations: ['63-57=6', '76+6=82'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,82 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
[ 87, 33, 27, 24 ]
83
[ "33-27=6", "24/6=4", "87-4=83" ]
Current State: 83:[87, 33, 27, 24], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [87, 24, 6] Generated Node #2: [87, 24, 6] from Operation: 33-27=6 Current State: 83:[87, 24, 6], Operations: ['33-27=6'] Exploring Operation: 24/6=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 24/6=4 Current State: 83:[87, 4], Operations: ['33-27=6', '24/6=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[87, 33, 27, 24], Operations: [] Exploring Operation: 33+27=60, Resulting Numbers: [87, 24, 60] Generated Node #0,0: 83:[87, 24, 60] Operation: 33+27=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[87, 24, 60], Operations: ['33+27=60'] Exploring Operation: 24+60=84, Resulting Numbers: [87, 84] Generated Node #0,0,0: 83:[87, 84] Operation: 24+60=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[87, 84], Operations: ['33+27=60', '24+60=84'] Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 20, 35, 28 ]
21
[ "60/20=3", "35+28=63", "63/3=21" ]
Current State: 21:[60, 20, 35, 28], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [35, 28, 3] Generated Node #2: [35, 28, 3] from Operation: 60/20=3 Current State: 21:[35, 28, 3], Operations: ['60/20=3'] Exploring Operation: 35+28=63, Resulting Numbers: [3, 63] Generated Node #3: [3, 63] from Operation: 35+28=63 Current State: 21:[3, 63], Operations: ['60/20=3', '35+28=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[60, 20, 35, 28], Operations: [] Exploring Operation: 60-28=32, Resulting Numbers: [20, 35, 32] Generated Node #0,0: 21:[20, 35, 32] Operation: 60-28=32 Exploring Operation: 60/20=3, Resulting Numbers: [35, 28, 3] Generated Node #0,1: 21:[35, 28, 3] Operation: 60/20=3 Exploring Operation: 60-35=25, Resulting Numbers: [20, 28, 25] Generated Node #0,2: 21:[20, 28, 25] Operation: 60-35=25 Moving to Node #0,2 Current State: 21:[20, 28, 25], Operations: ['60-35=25'] Exploring Operation: 28-25=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 21:[20, 3] Operation: 28-25=3 Exploring Operation: 25-20=5, Resulting Numbers: [28, 5] Generated Node #0,2,1: 21:[28, 5] Operation: 25-20=5 Exploring Operation: 28-20=8, Resulting Numbers: [25, 8] Generated Node #0,2,2: 21:[25, 8] Operation: 28-20=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[20, 3], Operations: ['60-35=25', '28-25=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[25, 8], Operations: ['60-35=25', '28-20=8'] Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,21 unequal: No Solution Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,21 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[28, 5], Operations: ['60-35=25', '25-20=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,21 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[35, 28, 3], Operations: ['60/20=3'] Exploring Operation: 35-3=32, Resulting Numbers: [28, 32] Generated Node #0,1,0: 21:[28, 32] Operation: 35-3=32 Exploring Operation: 28-3=25, Resulting Numbers: [35, 25] Generated Node #0,1,1: 21:[35, 25] Operation: 28-3=25 Exploring Operation: 35-28=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 21:[3, 7] Operation: 35-28=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[3, 7], Operations: ['60/20=3', '35-28=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[60, 20, 35, 28], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [35, 28, 3] Generated Node #0,1: 21:[35, 28, 3] Operation: 60/20=3 Moving to Node #0,1 Current State: 21:[35, 28, 3], Operations: ['60/20=3'] Exploring Operation: 35-28=7, Resulting Numbers: [3, 7] Generated Node #0,1,2: 21:[3, 7] Operation: 35-28=7 Moving to Node #0,1,2 Current State: 21:[3, 7], Operations: ['60/20=3', '35-28=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 88, 75, 52, 25 ]
40
[ "88-75=13", "52-25=27", "13+27=40" ]
Current State: 40:[88, 75, 52, 25], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [52, 25, 13] Generated Node #2: [52, 25, 13] from Operation: 88-75=13 Current State: 40:[52, 25, 13], Operations: ['88-75=13'] Exploring Operation: 52-25=27, Resulting Numbers: [13, 27] Generated Node #3: [13, 27] from Operation: 52-25=27 Current State: 40:[13, 27], Operations: ['88-75=13', '52-25=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[88, 75, 52, 25], Operations: [] Exploring Operation: 75-52=23, Resulting Numbers: [88, 25, 23] Generated Node #0,0: 40:[88, 25, 23] Operation: 75-52=23 Exploring Operation: 88-75=13, Resulting Numbers: [52, 25, 13] Generated Node #0,1: 40:[52, 25, 13] Operation: 88-75=13 Exploring Operation: 75/25=3, Resulting Numbers: [88, 52, 3] Generated Node #0,2: 40:[88, 52, 3] Operation: 75/25=3 Exploring Operation: 88-25=63, Resulting Numbers: [75, 52, 63] Generated Node #0,3: 40:[75, 52, 63] Operation: 88-25=63 Exploring Operation: 88-52=36, Resulting Numbers: [75, 25, 36] Generated Node #0,4: 40:[75, 25, 36] Operation: 88-52=36 Moving to Node #0,1 Current State: 40:[52, 25, 13], Operations: ['88-75=13'] Exploring Operation: 25-13=12, Resulting Numbers: [52, 12] Generated Node #0,1,0: 40:[52, 12] Operation: 25-13=12 Exploring Operation: 52-25=27, Resulting Numbers: [13, 27] Generated Node #0,1,1: 40:[13, 27] Operation: 52-25=27 Exploring Operation: 52-13=39, Resulting Numbers: [25, 39] Generated Node #0,1,2: 40:[25, 39] Operation: 52-13=39 Exploring Operation: 25+13=38, Resulting Numbers: [52, 38] Generated Node #0,1,3: 40:[52, 38] Operation: 25+13=38 Exploring Operation: 52/13=4, Resulting Numbers: [25, 4] Generated Node #0,1,4: 40:[25, 4] Operation: 52/13=4 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 40:[25, 4], Operations: ['88-75=13', '52/13=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,40 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,40 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[25, 39], Operations: ['88-75=13', '52-13=39'] Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[13, 27], Operations: ['88-75=13', '52-25=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[88, 75, 52, 25], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [52, 25, 13] Generated Node #0,1: 40:[52, 25, 13] Operation: 88-75=13 Moving to Node #0,1 Current State: 40:[52, 25, 13], Operations: ['88-75=13'] Exploring Operation: 52-25=27, Resulting Numbers: [13, 27] Generated Node #0,1,1: 40:[13, 27] Operation: 52-25=27 Moving to Node #0,1,1 Current State: 40:[13, 27], Operations: ['88-75=13', '52-25=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 8, 13, 83, 8 ]
80
[ "13-8=5", "83-8=75", "5+75=80" ]
Current State: 80:[8, 13, 83, 8], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [83, 5] Generated Node #2: [83, 5] from Operation: 13-8=5 Current State: 80:[83, 5], Operations: ['13-8=5'] Exploring Operation: 83-8=75, Resulting Numbers: [5, 75] Generated Node #3: [5, 75] from Operation: 83-8=75 Current State: 80:[5, 75], Operations: ['13-8=5', '83-8=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 13, 83, 8], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [8, 83, 5] Generated Node #0,0: 80:[8, 83, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [83, 8, 21] Generated Node #0,1: 80:[83, 8, 21] Operation: 8+13=21 Exploring Operation: 13-8=5, Resulting Numbers: [83, 8, 5] Generated Node #0,2: 80:[83, 8, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[8, 83, 5], Operations: ['13-8=5'] Exploring Operation: 8*5=40, Resulting Numbers: [83, 40] Generated Node #0,0,0: 80:[83, 40] Operation: 8*5=40 Exploring Operation: 8-5=3, Resulting Numbers: [83, 3] Generated Node #0,0,1: 80:[83, 3] Operation: 8-5=3 Exploring Operation: 83-5=78, Resulting Numbers: [8, 78] Generated Node #0,0,2: 80:[8, 78] Operation: 83-5=78 Moving to Node #0,0,2 Current State: 80:[8, 78], Operations: ['13-8=5', '83-5=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 8*78=624, Resulting Numbers: [624] 624,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[83, 40], Operations: ['13-8=5', '8*5=40'] Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,80 unequal: No Solution Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,80 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[83, 3], Operations: ['13-8=5', '8-5=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,80 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[8, 13, 83, 8], Operations: [] Exploring Operation: 13-8=5, Resulting Numbers: [8, 83, 5] Generated Node #0,0: 80:[8, 83, 5] Operation: 13-8=5 Moving to Node #0,0 Current State: 80:[8, 83, 5], Operations: ['13-8=5'] Exploring Operation: 8-5=3, Resulting Numbers: [83, 3] Generated Node #0,0,1: 80:[83, 3] Operation: 8-5=3 Moving to Node #0,0,1 Current State: 80:[83, 3], Operations: ['13-8=5', '8-5=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 13, 66, 5, 52 ]
65
[ "52/13=4", "66-5=61", "4+61=65" ]
Current State: 65:[13, 66, 5, 52], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [66, 5, 4] Generated Node #2: [66, 5, 4] from Operation: 52/13=4 Current State: 65:[66, 5, 4], Operations: ['52/13=4'] Exploring Operation: 66-5=61, Resulting Numbers: [4, 61] Generated Node #3: [4, 61] from Operation: 66-5=61 Current State: 65:[4, 61], Operations: ['52/13=4', '66-5=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[13, 66, 5, 52], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [66, 5, 4] Generated Node #0,0: 65:[66, 5, 4] Operation: 52/13=4 Exploring Operation: 13*5=65, Resulting Numbers: [66, 52, 65] Generated Node #0,1: 65:[66, 52, 65] Operation: 13*5=65 Exploring Operation: 66-52=14, Resulting Numbers: [13, 5, 14] Generated Node #0,2: 65:[13, 5, 14] Operation: 66-52=14 Exploring Operation: 5+52=57, Resulting Numbers: [13, 66, 57] Generated Node #0,3: 65:[13, 66, 57] Operation: 5+52=57 Exploring Operation: 13+52=65, Resulting Numbers: [66, 5, 65] Generated Node #0,4: 65:[66, 5, 65] Operation: 13+52=65 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[13, 5, 14], Operations: ['66-52=14'] Exploring Operation: 13-5=8, Resulting Numbers: [14, 8] Generated Node #0,2,0: 65:[14, 8] Operation: 13-5=8 Exploring Operation: 14-13=1, Resulting Numbers: [5, 1] Generated Node #0,2,1: 65:[5, 1] Operation: 14-13=1 Exploring Operation: 5*14=70, Resulting Numbers: [13, 70] Generated Node #0,2,2: 65:[13, 70] Operation: 5*14=70 Exploring Operation: 14-5=9, Resulting Numbers: [13, 9] Generated Node #0,2,3: 65:[13, 9] Operation: 14-5=9 Exploring Operation: 13*5=65, Resulting Numbers: [14, 65] Generated Node #0,2,4: 65:[14, 65] Operation: 13*5=65 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 65:[14, 65], Operations: ['66-52=14', '13*5=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,65 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,65 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[14, 8], Operations: ['66-52=14', '13-5=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[5, 1], Operations: ['66-52=14', '14-13=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 65:[13, 9], Operations: ['66-52=14', '14-5=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[13, 70], Operations: ['66-52=14', '5*14=70'] Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,65 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 65:[66, 5, 65], Operations: ['13+52=65'] Exploring Operation: 5+65=70, Resulting Numbers: [66, 70] Generated Node #0,4,0: 65:[66, 70] Operation: 5+65=70 Exploring Operation: 66+5=71, Resulting Numbers: [65, 71] Generated Node #0,4,1: 65:[65, 71] Operation: 66+5=71 Exploring Operation: 65/5=13, Resulting Numbers: [66, 13] Generated Node #0,4,2: 65:[66, 13] Operation: 65/5=13 Exploring Operation: 66-5=61, Resulting Numbers: [65, 61] Generated Node #0,4,3: 65:[65, 61] Operation: 66-5=61 Exploring Operation: 66-65=1, Resulting Numbers: [5, 1] Generated Node #0,4,4: 65:[5, 1] Operation: 66-65=1 Moving to Node #0,4,2 Current State: 65:[66, 13], Operations: ['13+52=65', '65/5=13'] Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,65 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,65 unequal: No Solution Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,65 unequal: No Solution Moving to Node #0,4,4 Current State: 65:[5, 1], Operations: ['13+52=65', '66-65=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Moving to Node #0,4,3 Current State: 65:[65, 61], Operations: ['13+52=65', '66-5=61'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,65 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,65 unequal: No Solution Moving to Node #0,4,0 Current State: 65:[66, 70], Operations: ['13+52=65', '5+65=70'] Exploring Operation: 66*70=4620, Resulting Numbers: [4620] 4620,65 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 66+70=136, Resulting Numbers: [136] 136,65 unequal: No Solution Moving to Node #0,4,1 Current State: 65:[65, 71], Operations: ['13+52=65', '66+5=71'] Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,65 unequal: No Solution Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,65 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[66, 5, 4], Operations: ['52/13=4'] Exploring Operation: 66-4=62, Resulting Numbers: [5, 62] Generated Node #0,0,0: 65:[5, 62] Operation: 66-4=62 Exploring Operation: 5+4=9, Resulting Numbers: [66, 9] Generated Node #0,0,1: 65:[66, 9] Operation: 5+4=9 Exploring Operation: 5-4=1, Resulting Numbers: [66, 1] Generated Node #0,0,2: 65:[66, 1] Operation: 5-4=1 Exploring Operation: 66-5=61, Resulting Numbers: [4, 61] Generated Node #0,0,3: 65:[4, 61] Operation: 66-5=61 Exploring Operation: 66+4=70, Resulting Numbers: [5, 70] Generated Node #0,0,4: 65:[5, 70] Operation: 66+4=70 Moving to Node #0,0,0 Current State: 65:[5, 62], Operations: ['52/13=4', '66-4=62'] Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,65 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[66, 1], Operations: ['52/13=4', '5-4=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[13, 66, 5, 52], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [66, 5, 4] Generated Node #0,0: 65:[66, 5, 4] Operation: 52/13=4 Moving to Node #0,0 Current State: 65:[66, 5, 4], Operations: ['52/13=4'] Exploring Operation: 5-4=1, Resulting Numbers: [66, 1] Generated Node #0,0,2: 65:[66, 1] Operation: 5-4=1 Moving to Node #0,0,2 Current State: 65:[66, 1], Operations: ['52/13=4', '5-4=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 12, 2, 24, 80 ]
84
[ "12/2=6", "24/6=4", "80+4=84" ]
Current State: 84:[12, 2, 24, 80], Operations: [] Exploring Operation: 12/2=6, Resulting Numbers: [24, 80, 6] Generated Node #2: [24, 80, 6] from Operation: 12/2=6 Current State: 84:[24, 80, 6], Operations: ['12/2=6'] Exploring Operation: 24/6=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 24/6=4 Current State: 84:[80, 4], Operations: ['12/2=6', '24/6=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[12, 2, 24, 80], Operations: [] Exploring Operation: 24-12=12, Resulting Numbers: [2, 80, 12] Generated Node #0,0: 84:[2, 80, 12] Operation: 24-12=12 Moving to Node #0,0 Current State: 84:[2, 80, 12], Operations: ['24-12=12'] Exploring Operation: 2+80=82, Resulting Numbers: [12, 82] Generated Node #0,0,0: 84:[12, 82] Operation: 2+80=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[12, 82], Operations: ['24-12=12', '2+80=82'] Exploring Operation: 12+82=94, Resulting Numbers: [94] 94,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 13, 37, 17, 7 ]
88
[ "37*17=629", "629-13=616", "616/7=88" ]
Current State: 88:[13, 37, 17, 7], Operations: [] Exploring Operation: 37*17=629, Resulting Numbers: [13, 7, 629] Generated Node #2: [13, 7, 629] from Operation: 37*17=629 Current State: 88:[13, 7, 629], Operations: ['37*17=629'] Exploring Operation: 629-13=616, Resulting Numbers: [7, 616] Generated Node #3: [7, 616] from Operation: 629-13=616 Current State: 88:[7, 616], Operations: ['37*17=629', '629-13=616'] Exploring Operation: 616/7=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[13, 37, 17, 7], Operations: [] Exploring Operation: 37-17=20, Resulting Numbers: [13, 7, 20] Generated Node #0,0: 88:[13, 7, 20] Operation: 37-17=20 Exploring Operation: 37+7=44, Resulting Numbers: [13, 17, 44] Generated Node #0,1: 88:[13, 17, 44] Operation: 37+7=44 Exploring Operation: 37-13=24, Resulting Numbers: [17, 7, 24] Generated Node #0,2: 88:[17, 7, 24] Operation: 37-13=24 Exploring Operation: 17-7=10, Resulting Numbers: [13, 37, 10] Generated Node #0,3: 88:[13, 37, 10] Operation: 17-7=10 Exploring Operation: 17-13=4, Resulting Numbers: [37, 7, 4] Generated Node #0,4: 88:[37, 7, 4] Operation: 17-13=4 Moving to Node #0,0 Current State: 88:[13, 7, 20], Operations: ['37-17=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 88:[13, 13] Operation: 20-7=13 Exploring Operation: 13*7=91, Resulting Numbers: [20, 91] Generated Node #0,0,1: 88:[20, 91] Operation: 13*7=91 Exploring Operation: 13-7=6, Resulting Numbers: [20, 6] Generated Node #0,0,2: 88:[20, 6] Operation: 13-7=6 Exploring Operation: 20-13=7, Resulting Numbers: [7, 7] Generated Node #0,0,3: 88:[7, 7] Operation: 20-13=7 Exploring Operation: 13+7=20, Resulting Numbers: [20, 20] Generated Node #0,0,4: 88:[20, 20] Operation: 13+7=20 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[7, 7], Operations: ['37-17=20', '20-13=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[13, 13], Operations: ['37-17=20', '20-7=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,88 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[20, 6], Operations: ['37-17=20', '13-7=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,88 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[20, 20], Operations: ['37-17=20', '13+7=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,88 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[20, 91], Operations: ['37-17=20', '13*7=91'] Exploring Operation: 20*91=1820, Resulting Numbers: [1820] 1820,88 unequal: No Solution Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 20+91=111, Resulting Numbers: [111] 111,88 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: 88:[13, 17, 44], Operations: ['37+7=44'] Exploring Operation: 44-13=31, Resulting Numbers: [17, 31] Generated Node #0,1,0: 88:[17, 31] Operation: 44-13=31 Exploring Operation: 13+44=57, Resulting Numbers: [17, 57] Generated Node #0,1,1: 88:[17, 57] Operation: 13+44=57 Exploring Operation: 17-13=4, Resulting Numbers: [44, 4] Generated Node #0,1,2: 88:[44, 4] Operation: 17-13=4 Exploring Operation: 13+17=30, Resulting Numbers: [44, 30] Generated Node #0,1,3: 88:[44, 30] Operation: 13+17=30 Exploring Operation: 44-17=27, Resulting Numbers: [13, 27] Generated Node #0,1,4: 88:[13, 27] Operation: 44-17=27 Moving to Node #0,2 Current State: 88:[17, 7, 24], Operations: ['37-13=24'] Exploring Operation: 17+7=24, Resulting Numbers: [24, 24] Generated Node #0,2,0: 88:[24, 24] Operation: 17+7=24 Exploring Operation: 24-17=7, Resulting Numbers: [7, 7] Generated Node #0,2,1: 88:[7, 7] Operation: 24-17=7 Exploring Operation: 24-7=17, Resulting Numbers: [17, 17] Generated Node #0,2,2: 88:[17, 17] Operation: 24-7=17 Exploring Operation: 17+24=41, Resulting Numbers: [7, 41] Generated Node #0,2,3: 88:[7, 41] Operation: 17+24=41 Exploring Operation: 17-7=10, Resulting Numbers: [24, 10] Generated Node #0,2,4: 88:[24, 10] Operation: 17-7=10 Moving to Node #0,4 Current State: 88:[37, 7, 4], Operations: ['17-13=4'] Exploring Operation: 7-4=3, Resulting Numbers: [37, 3] Generated Node #0,4,0: 88:[37, 3] Operation: 7-4=3 Exploring Operation: 7+4=11, Resulting Numbers: [37, 11] Generated Node #0,4,1: 88:[37, 11] Operation: 7+4=11 Exploring Operation: 37+7=44, Resulting Numbers: [4, 44] Generated Node #0,4,2: 88:[4, 44] Operation: 37+7=44 Exploring Operation: 37-7=30, Resulting Numbers: [4, 30] Generated Node #0,4,3: 88:[4, 30] Operation: 37-7=30 Exploring Operation: 37+4=41, Resulting Numbers: [7, 41] Generated Node #0,4,4: 88:[7, 41] Operation: 37+4=41 Moving to Node #0,3 Current State: 88:[13, 37, 10], Operations: ['17-7=10'] Exploring Operation: 13+37=50, Resulting Numbers: [10, 50] Generated Node #0,3,0: 88:[10, 50] Operation: 13+37=50 Exploring Operation: 37+10=47, Resulting Numbers: [13, 47] Generated Node #0,3,1: 88:[13, 47] Operation: 37+10=47 Exploring Operation: 37-13=24, Resulting Numbers: [10, 24] Generated Node #0,3,2: 88:[10, 24] Operation: 37-13=24 Exploring Operation: 13+10=23, Resulting Numbers: [37, 23] Generated Node #0,3,3: 88:[37, 23] Operation: 13+10=23 Exploring Operation: 37-10=27, Resulting Numbers: [13, 27] Generated Node #0,3,4: 88:[13, 27] Operation: 37-10=27 Moving to Node #0,1,2 Current State: 88:[44, 4], Operations: ['37+7=44', '17-13=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,88 unequal: No Solution Moving to Node #0,4,2 Current State: 88:[4, 44], Operations: ['17-13=4', '37+7=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[7, 7], Operations: ['37-13=24', '24-17=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,88 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,2,4 Current State: 88:[24, 10], Operations: ['37-13=24', '17-7=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[10, 24], Operations: ['17-7=10', '37-13=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,88 unequal: No Solution Moving to Node #0,4,4 Current State: 88:[7, 41], Operations: ['17-13=4', '37+4=41'] Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,88 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[24, 24], Operations: ['37-13=24', '17+7=24'] Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,88 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[7, 41], Operations: ['37-13=24', '17+24=41'] Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,88 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,3,1 Current State: 88:[13, 47], Operations: ['17-7=10', '37+10=47'] Exploring Operation: 13+47=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 47-13=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 13*47=611, Resulting Numbers: [611] 611,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[13, 27], Operations: ['17-7=10', '37-10=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,88 unequal: No Solution Moving to Node #0,4,1 Current State: 88:[37, 11], Operations: ['17-13=4', '7+4=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,88 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,88 unequal: No Solution Moving to Node #0,1,4 Current State: 88:[13, 27], Operations: ['37+7=44', '44-17=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,88 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[10, 50], Operations: ['17-7=10', '13+37=50'] Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 10*50=500, Resulting Numbers: [500] 500,88 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,88 unequal: No Solution Moving to Node #0,4,3 Current State: 88:[4, 30], Operations: ['17-13=4', '37-7=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,88 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[44, 30], Operations: ['37+7=44', '13+17=30'] Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,88 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[37, 23], Operations: ['17-7=10', '13+10=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,88 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,88 unequal: No Solution Moving to Node #0,4,0 Current State: 88:[37, 3], Operations: ['17-13=4', '7-4=3'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,88 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[17, 17], Operations: ['37-13=24', '24-7=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,88 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[17, 31], Operations: ['37+7=44', '44-13=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,88 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,88 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[17, 57], Operations: ['37+7=44', '13+44=57'] Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,88 unequal: No Solution Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,88 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 13, 5, 26, 59 ]
27
[ "26/13=2", "59-5=54", "54/2=27" ]
Current State: 27:[13, 5, 26, 59], Operations: [] Exploring Operation: 26/13=2, Resulting Numbers: [5, 59, 2] Generated Node #2: [5, 59, 2] from Operation: 26/13=2 Current State: 27:[5, 59, 2], Operations: ['26/13=2'] Exploring Operation: 59-5=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 59-5=54 Current State: 27:[2, 54], Operations: ['26/13=2', '59-5=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[13, 5, 26, 59], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [13, 26, 54] Generated Node #0,0: 27:[13, 26, 54] Operation: 59-5=54 Exploring Operation: 59-26=33, Resulting Numbers: [13, 5, 33] Generated Node #0,1: 27:[13, 5, 33] Operation: 59-26=33 Exploring Operation: 26/13=2, Resulting Numbers: [5, 59, 2] Generated Node #0,2: 27:[5, 59, 2] Operation: 26/13=2 Exploring Operation: 13-5=8, Resulting Numbers: [26, 59, 8] Generated Node #0,3: 27:[26, 59, 8] Operation: 13-5=8 Exploring Operation: 59-13=46, Resulting Numbers: [5, 26, 46] Generated Node #0,4: 27:[5, 26, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[13, 5, 33], Operations: ['59-26=33'] Exploring Operation: 33-13=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 27:[5, 20] Operation: 33-13=20 Exploring Operation: 13+5=18, Resulting Numbers: [33, 18] Generated Node #0,1,1: 27:[33, 18] Operation: 13+5=18 Exploring Operation: 5+33=38, Resulting Numbers: [13, 38] Generated Node #0,1,2: 27:[13, 38] Operation: 5+33=38 Exploring Operation: 13-5=8, Resulting Numbers: [33, 8] Generated Node #0,1,3: 27:[33, 8] Operation: 13-5=8 Exploring Operation: 33-5=28, Resulting Numbers: [13, 28] Generated Node #0,1,4: 27:[13, 28] Operation: 33-5=28 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 27:[13, 28], Operations: ['59-26=33', '33-5=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 27:[33, 8], Operations: ['59-26=33', '13-5=8'] Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,27 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[5, 20], Operations: ['59-26=33', '33-13=20'] Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[33, 18], Operations: ['59-26=33', '13+5=18'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[13, 38], Operations: ['59-26=33', '5+33=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,27 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[5, 26, 46], Operations: ['59-13=46'] Exploring Operation: 46-26=20, Resulting Numbers: [5, 20] Generated Node #0,4,0: 27:[5, 20] Operation: 46-26=20 Exploring Operation: 5+46=51, Resulting Numbers: [26, 51] Generated Node #0,4,1: 27:[26, 51] Operation: 5+46=51 Exploring Operation: 46-5=41, Resulting Numbers: [26, 41] Generated Node #0,4,2: 27:[26, 41] Operation: 46-5=41 Exploring Operation: 5+26=31, Resulting Numbers: [46, 31] Generated Node #0,4,3: 27:[46, 31] Operation: 5+26=31 Exploring Operation: 26-5=21, Resulting Numbers: [46, 21] Generated Node #0,4,4: 27:[46, 21] Operation: 26-5=21 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 27:[5, 20], Operations: ['59-13=46', '46-26=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,27 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 27:[26, 41], Operations: ['59-13=46', '46-5=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,27 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 27:[46, 31], Operations: ['59-13=46', '5+26=31'] Exploring Operation: 46*31=1426, Resulting Numbers: [1426] 1426,27 unequal: No Solution Exploring Operation: 46+31=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 27:[26, 51], Operations: ['59-13=46', '5+46=51'] Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,27 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 27:[46, 21], Operations: ['59-13=46', '26-5=21'] Exploring Operation: 46-21=25, Resulting Numbers: [25] 25,27 unequal: No Solution Exploring Operation: 46*21=966, Resulting Numbers: [966] 966,27 unequal: No Solution Exploring Operation: 46+21=67, Resulting Numbers: [67] 67,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[13, 26, 54], Operations: ['59-5=54'] Exploring Operation: 26/13=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 27:[54, 2] Operation: 26/13=2 Exploring Operation: 54-26=28, Resulting Numbers: [13, 28] Generated Node #0,0,1: 27:[13, 28] Operation: 54-26=28 Exploring Operation: 54-13=41, Resulting Numbers: [26, 41] Generated Node #0,0,2: 27:[26, 41] Operation: 54-13=41 Exploring Operation: 13+26=39, Resulting Numbers: [54, 39] Generated Node #0,0,3: 27:[54, 39] Operation: 13+26=39 Exploring Operation: 26-13=13, Resulting Numbers: [54, 13] Generated Node #0,0,4: 27:[54, 13] Operation: 26-13=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[13, 28], Operations: ['59-5=54', '54-26=28'] Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,27 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[26, 41], Operations: ['59-5=54', '54-13=41'] Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,27 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,27 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[54, 2], Operations: ['59-5=54', '26/13=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[13, 5, 26, 59], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [13, 26, 54] Generated Node #0,0: 27:[13, 26, 54] Operation: 59-5=54 Moving to Node #0,0 Current State: 27:[13, 26, 54], Operations: ['59-5=54'] Exploring Operation: 26/13=2, Resulting Numbers: [54, 2] Generated Node #0,0,0: 27:[54, 2] Operation: 26/13=2 Moving to Node #0,0,0 Current State: 27:[54, 2], Operations: ['59-5=54', '26/13=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.945313
hs_5
sum_heuristic
[ 70, 29, 7, 4 ]
35
[ "70/7=10", "29-4=25", "10+25=35" ]
Current State: 35:[70, 29, 7, 4], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [29, 4, 10] Generated Node #2: [29, 4, 10] from Operation: 70/7=10 Current State: 35:[29, 4, 10], Operations: ['70/7=10'] Exploring Operation: 29-4=25, Resulting Numbers: [10, 25] Generated Node #3: [10, 25] from Operation: 29-4=25 Current State: 35:[10, 25], Operations: ['70/7=10', '29-4=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[70, 29, 7, 4], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [29, 4, 10] Generated Node #0,0: 35:[29, 4, 10] Operation: 70/7=10 Exploring Operation: 70-7=63, Resulting Numbers: [29, 4, 63] Generated Node #0,1: 35:[29, 4, 63] Operation: 70-7=63 Exploring Operation: 70-29=41, Resulting Numbers: [7, 4, 41] Generated Node #0,2: 35:[7, 4, 41] Operation: 70-29=41 Moving to Node #0,2 Current State: 35:[7, 4, 41], Operations: ['70-29=41'] Exploring Operation: 7-4=3, Resulting Numbers: [41, 3] Generated Node #0,2,0: 35:[41, 3] Operation: 7-4=3 Exploring Operation: 41-4=37, Resulting Numbers: [7, 37] Generated Node #0,2,1: 35:[7, 37] Operation: 41-4=37 Exploring Operation: 41-7=34, Resulting Numbers: [4, 34] Generated Node #0,2,2: 35:[4, 34] Operation: 41-7=34 Moving to Node #0,0 Current State: 35:[29, 4, 10], Operations: ['70/7=10'] Exploring Operation: 10-4=6, Resulting Numbers: [29, 6] Generated Node #0,0,0: 35:[29, 6] Operation: 10-4=6 Exploring Operation: 29+10=39, Resulting Numbers: [4, 39] Generated Node #0,0,1: 35:[4, 39] Operation: 29+10=39 Exploring Operation: 29+4=33, Resulting Numbers: [10, 33] Generated Node #0,0,2: 35:[10, 33] Operation: 29+4=33 Moving to Node #0,1 Current State: 35:[29, 4, 63], Operations: ['70-7=63'] Exploring Operation: 63-29=34, Resulting Numbers: [4, 34] Generated Node #0,1,0: 35:[4, 34] Operation: 63-29=34 Exploring Operation: 29+4=33, Resulting Numbers: [63, 33] Generated Node #0,1,1: 35:[63, 33] Operation: 29+4=33 Exploring Operation: 63-4=59, Resulting Numbers: [29, 59] Generated Node #0,1,2: 35:[29, 59] Operation: 63-4=59 Moving to Node #0,2,1 Current State: 35:[7, 37], Operations: ['70-29=41', '41-4=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,35 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[4, 34], Operations: ['70-7=63', '63-29=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,35 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[4, 34], Operations: ['70-29=41', '41-7=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,35 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[10, 33], Operations: ['70/7=10', '29+4=33'] Exploring Operation: 10*33=330, Resulting Numbers: [330] 330,35 unequal: No Solution Exploring Operation: 10+33=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[4, 39], Operations: ['70/7=10', '29+10=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[70, 29, 7, 4], Operations: [] Exploring Operation: 70/7=10, Resulting Numbers: [29, 4, 10] Generated Node #0,0: 35:[29, 4, 10] Operation: 70/7=10 Moving to Node #0,0 Current State: 35:[29, 4, 10], Operations: ['70/7=10'] Exploring Operation: 29+10=39, Resulting Numbers: [4, 39] Generated Node #0,0,1: 35:[4, 39] Operation: 29+10=39 Moving to Node #0,0,1 Current State: 35:[4, 39], Operations: ['70/7=10', '29+10=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.973958
hs_3
mult_heuristic
[ 90, 93, 81, 35 ]
33
[ "90*35=3150", "3150-81=3069", "3069/93=33" ]
Current State: 33:[90, 93, 81, 35], Operations: [] Exploring Operation: 90*35=3150, Resulting Numbers: [93, 81, 3150] Generated Node #2: [93, 81, 3150] from Operation: 90*35=3150 Current State: 33:[93, 81, 3150], Operations: ['90*35=3150'] Exploring Operation: 3150-81=3069, Resulting Numbers: [93, 3069] Generated Node #3: [93, 3069] from Operation: 3150-81=3069 Current State: 33:[93, 3069], Operations: ['90*35=3150', '3150-81=3069'] Exploring Operation: 3069/93=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[90, 93, 81, 35], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [81, 35, 3] Generated Node #0,0: 33:[81, 35, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[81, 35, 3], Operations: ['93-90=3'] Exploring Operation: 81/3=27, Resulting Numbers: [35, 27] Generated Node #0,0,0: 33:[35, 27] Operation: 81/3=27 Moving to Node #0,0,0 Current State: 33:[35, 27], Operations: ['93-90=3', '81/3=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 41, 36, 46, 30 ]
15
[ "41*30=1230", "36+46=82", "1230/82=15" ]
Current State: 15:[41, 36, 46, 30], Operations: [] Exploring Operation: 41*30=1230, Resulting Numbers: [36, 46, 1230] Generated Node #2: [36, 46, 1230] from Operation: 41*30=1230 Current State: 15:[36, 46, 1230], Operations: ['41*30=1230'] Exploring Operation: 36+46=82, Resulting Numbers: [1230, 82] Generated Node #3: [1230, 82] from Operation: 36+46=82 Current State: 15:[1230, 82], Operations: ['41*30=1230', '36+46=82'] Exploring Operation: 1230/82=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[41, 36, 46, 30], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [41, 30, 10] Generated Node #0,0: 15:[41, 30, 10] Operation: 46-36=10 Exploring Operation: 41-36=5, Resulting Numbers: [46, 30, 5] Generated Node #0,1: 15:[46, 30, 5] Operation: 41-36=5 Exploring Operation: 46-41=5, Resulting Numbers: [36, 30, 5] Generated Node #0,2: 15:[36, 30, 5] Operation: 46-41=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[36, 30, 5], Operations: ['46-41=5'] Exploring Operation: 30/5=6, Resulting Numbers: [36, 6] Generated Node #0,2,0: 15:[36, 6] Operation: 30/5=6 Exploring Operation: 36-5=31, Resulting Numbers: [30, 31] Generated Node #0,2,1: 15:[30, 31] Operation: 36-5=31 Exploring Operation: 36-30=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 15:[5, 6] Operation: 36-30=6 Moving to Node #0,2,2 Current State: 15:[5, 6], Operations: ['46-41=5', '36-30=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[36, 6], Operations: ['46-41=5', '30/5=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[30, 31], Operations: ['46-41=5', '36-5=31'] Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,15 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,15 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[41, 30, 10], Operations: ['46-36=10'] Exploring Operation: 41-30=11, Resulting Numbers: [10, 11] Generated Node #0,0,0: 15:[10, 11] Operation: 41-30=11 Exploring Operation: 41-10=31, Resulting Numbers: [30, 31] Generated Node #0,0,1: 15:[30, 31] Operation: 41-10=31 Exploring Operation: 30/10=3, Resulting Numbers: [41, 3] Generated Node #0,0,2: 15:[41, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[10, 11], Operations: ['46-36=10', '41-30=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,15 unequal: No Solution No 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: 15:[41, 3], Operations: ['46-36=10', '30/10=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,15 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,15 unequal: No Solution No 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: 15:[30, 31], Operations: ['46-36=10', '41-10=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,15 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,15 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: 15:[46, 30, 5], Operations: ['41-36=5'] Exploring Operation: 30/5=6, Resulting Numbers: [46, 6] Generated Node #0,1,0: 15:[46, 6] Operation: 30/5=6 Exploring Operation: 46-30=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 15:[5, 16] Operation: 46-30=16 Exploring Operation: 46-5=41, Resulting Numbers: [30, 41] Generated Node #0,1,2: 15:[30, 41] Operation: 46-5=41 Moving to Node #0,1,1 Current State: 15:[5, 16], Operations: ['41-36=5', '46-30=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,15 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[46, 6], Operations: ['41-36=5', '30/5=6'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[30, 41], Operations: ['41-36=5', '46-5=41'] Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,15 unequal: No Solution Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,15 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,15 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
[ 58, 42, 25, 37 ]
28
[ "58-42=16", "37-25=12", "16+12=28" ]
Current State: 28:[58, 42, 25, 37], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [25, 37, 16] Generated Node #2: [25, 37, 16] from Operation: 58-42=16 Current State: 28:[25, 37, 16], Operations: ['58-42=16'] Exploring Operation: 37-25=12, Resulting Numbers: [16, 12] Generated Node #3: [16, 12] from Operation: 37-25=12 Current State: 28:[16, 12], Operations: ['58-42=16', '37-25=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[58, 42, 25, 37], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [25, 37, 16] Generated Node #0,0: 28:[25, 37, 16] Operation: 58-42=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[25, 37, 16], Operations: ['58-42=16'] Exploring Operation: 37-25=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 28:[16, 12] Operation: 37-25=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[16, 12], Operations: ['58-42=16', '37-25=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[58, 42, 25, 37], Operations: [] Exploring Operation: 58-42=16, Resulting Numbers: [25, 37, 16] Generated Node #0,0: 28:[25, 37, 16] Operation: 58-42=16 Moving to Node #0,0 Current State: 28:[25, 37, 16], Operations: ['58-42=16'] Exploring Operation: 37-25=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 28:[16, 12] Operation: 37-25=12 Moving to Node #0,0,0 Current State: 28:[16, 12], Operations: ['58-42=16', '37-25=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 3, 42, 40, 65 ]
13
[ "3+42=45", "45-40=5", "65/5=13" ]
Current State: 13:[3, 42, 40, 65], Operations: [] Exploring Operation: 3+42=45, Resulting Numbers: [40, 65, 45] Generated Node #2: [40, 65, 45] from Operation: 3+42=45 Current State: 13:[40, 65, 45], Operations: ['3+42=45'] Exploring Operation: 45-40=5, Resulting Numbers: [65, 5] Generated Node #3: [65, 5] from Operation: 45-40=5 Current State: 13:[65, 5], Operations: ['3+42=45', '45-40=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[3, 42, 40, 65], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [3, 42, 25] Generated Node #0,0: 13:[3, 42, 25] Operation: 65-40=25 Exploring Operation: 42-40=2, Resulting Numbers: [3, 65, 2] Generated Node #0,1: 13:[3, 65, 2] Operation: 42-40=2 Exploring Operation: 65-42=23, Resulting Numbers: [3, 40, 23] Generated Node #0,2: 13:[3, 40, 23] Operation: 65-42=23 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[3, 40, 23], Operations: ['65-42=23'] Exploring Operation: 23-3=20, Resulting Numbers: [40, 20] Generated Node #0,2,0: 13:[40, 20] Operation: 23-3=20 Exploring Operation: 40-3=37, Resulting Numbers: [23, 37] Generated Node #0,2,1: 13:[23, 37] Operation: 40-3=37 Exploring Operation: 40-23=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 13:[3, 17] Operation: 40-23=17 Moving to Node #0,2,2 Current State: 13:[3, 17], Operations: ['65-42=23', '40-23=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[40, 20], Operations: ['65-42=23', '23-3=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 40/20=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 40+20=60, Resulting Numbers: [60] 60,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[23, 37], Operations: ['65-42=23', '40-3=37'] Exploring Operation: 23*37=851, Resulting Numbers: [851] 851,13 unequal: No Solution Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 23+37=60, Resulting Numbers: [60] 60,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[3, 42, 25], Operations: ['65-40=25'] Exploring Operation: 42-3=39, Resulting Numbers: [25, 39] Generated Node #0,0,0: 13:[25, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [25, 14] Generated Node #0,0,1: 13:[25, 14] Operation: 42/3=14 Exploring Operation: 42-25=17, Resulting Numbers: [3, 17] Generated Node #0,0,2: 13:[3, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[25, 14], Operations: ['65-40=25', '42/3=14'] Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,13 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,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,2 Current State: 13:[3, 17], Operations: ['65-40=25', '42-25=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,13 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,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:[25, 39], Operations: ['65-40=25', '42-3=39'] Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 25*39=975, Resulting Numbers: [975] 975,13 unequal: No Solution Exploring Operation: 25+39=64, Resulting Numbers: [64] 64,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:[3, 65, 2], Operations: ['42-40=2'] Exploring Operation: 3*2=6, Resulting Numbers: [65, 6] Generated Node #0,1,0: 13:[65, 6] Operation: 3*2=6 Exploring Operation: 65-3=62, Resulting Numbers: [2, 62] Generated Node #0,1,1: 13:[2, 62] Operation: 65-3=62 Exploring Operation: 3+2=5, Resulting Numbers: [65, 5] Generated Node #0,1,2: 13:[65, 5] Operation: 3+2=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 13:[65, 6], Operations: ['42-40=2', '3*2=6'] Exploring Operation: 65+6=71, Resulting Numbers: [71] 71,13 unequal: No Solution Exploring Operation: 65*6=390, Resulting Numbers: [390] 390,13 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,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:[2, 62], Operations: ['42-40=2', '65-3=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,13 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,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:[65, 5], Operations: ['42-40=2', '3+2=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,13 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[3, 42, 40, 65], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [3, 65, 2] Generated Node #0,1: 13:[3, 65, 2] Operation: 42-40=2 Moving to Node #0,1 Current State: 13:[3, 65, 2], Operations: ['42-40=2'] Exploring Operation: 3+2=5, Resulting Numbers: [65, 5] Generated Node #0,1,2: 13:[65, 5] Operation: 3+2=5 Moving to Node #0,1,2 Current State: 13:[65, 5], Operations: ['42-40=2', '3+2=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_3
sum_heuristic
[ 54, 45, 90, 23 ]
62
[ "54-23=31", "90/45=2", "31*2=62" ]
Current State: 62:[54, 45, 90, 23], Operations: [] Exploring Operation: 54-23=31, Resulting Numbers: [45, 90, 31] Generated Node #2: [45, 90, 31] from Operation: 54-23=31 Current State: 62:[45, 90, 31], Operations: ['54-23=31'] Exploring Operation: 90/45=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 90/45=2 Current State: 62:[31, 2], Operations: ['54-23=31', '90/45=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[54, 45, 90, 23], Operations: [] Exploring Operation: 90-23=67, Resulting Numbers: [54, 45, 67] Generated Node #0,0: 62:[54, 45, 67] Operation: 90-23=67 Exploring Operation: 90-45=45, Resulting Numbers: [54, 23, 45] Generated Node #0,1: 62:[54, 23, 45] Operation: 90-45=45 Exploring Operation: 54-23=31, Resulting Numbers: [45, 90, 31] Generated Node #0,2: 62:[45, 90, 31] Operation: 54-23=31 Exploring Operation: 90-54=36, Resulting Numbers: [45, 23, 36] Generated Node #0,3: 62:[45, 23, 36] Operation: 90-54=36 Exploring Operation: 90/45=2, Resulting Numbers: [54, 23, 2] Generated Node #0,4: 62:[54, 23, 2] Operation: 90/45=2 Moving to Node #0,4 Current State: 62:[54, 23, 2], Operations: ['90/45=2'] Exploring Operation: 54+2=56, Resulting Numbers: [23, 56] Generated Node #0,4,0: 62:[23, 56] Operation: 54+2=56 Exploring Operation: 54/2=27, Resulting Numbers: [23, 27] Generated Node #0,4,1: 62:[23, 27] Operation: 54/2=27 Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,4,2: 62:[2, 31] Operation: 54-23=31 Exploring Operation: 23+2=25, Resulting Numbers: [54, 25] Generated Node #0,4,3: 62:[54, 25] Operation: 23+2=25 Exploring Operation: 54+23=77, Resulting Numbers: [2, 77] Generated Node #0,4,4: 62:[2, 77] Operation: 54+23=77 Moving to Node #0,3 Current State: 62:[45, 23, 36], Operations: ['90-54=36'] Exploring Operation: 36-23=13, Resulting Numbers: [45, 13] Generated Node #0,3,0: 62:[45, 13] Operation: 36-23=13 Exploring Operation: 45-36=9, Resulting Numbers: [23, 9] Generated Node #0,3,1: 62:[23, 9] Operation: 45-36=9 Exploring Operation: 23+36=59, Resulting Numbers: [45, 59] Generated Node #0,3,2: 62:[45, 59] Operation: 23+36=59 Exploring Operation: 45+23=68, Resulting Numbers: [36, 68] Generated Node #0,3,3: 62:[36, 68] Operation: 45+23=68 Exploring Operation: 45-23=22, Resulting Numbers: [36, 22] Generated Node #0,3,4: 62:[36, 22] Operation: 45-23=22 Moving to Node #0,0 Current State: 62:[54, 45, 67], Operations: ['90-23=67'] Exploring Operation: 67-54=13, Resulting Numbers: [45, 13] Generated Node #0,0,0: 62:[45, 13] Operation: 67-54=13 Exploring Operation: 45+67=112, Resulting Numbers: [54, 112] Generated Node #0,0,1: 62:[54, 112] Operation: 45+67=112 Exploring Operation: 54+45=99, Resulting Numbers: [67, 99] Generated Node #0,0,2: 62:[67, 99] Operation: 54+45=99 Exploring Operation: 54-45=9, Resulting Numbers: [67, 9] Generated Node #0,0,3: 62:[67, 9] Operation: 54-45=9 Exploring Operation: 67-45=22, Resulting Numbers: [54, 22] Generated Node #0,0,4: 62:[54, 22] Operation: 67-45=22 Moving to Node #0,1 Current State: 62:[54, 23, 45], Operations: ['90-45=45'] Exploring Operation: 45-23=22, Resulting Numbers: [54, 22] Generated Node #0,1,0: 62:[54, 22] Operation: 45-23=22 Exploring Operation: 23+45=68, Resulting Numbers: [54, 68] Generated Node #0,1,1: 62:[54, 68] Operation: 23+45=68 Exploring Operation: 54-45=9, Resulting Numbers: [23, 9] Generated Node #0,1,2: 62:[23, 9] Operation: 54-45=9 Exploring Operation: 54-23=31, Resulting Numbers: [45, 31] Generated Node #0,1,3: 62:[45, 31] Operation: 54-23=31 Exploring Operation: 54+23=77, Resulting Numbers: [45, 77] Generated Node #0,1,4: 62:[45, 77] Operation: 54+23=77 Moving to Node #0,2 Current State: 62:[45, 90, 31], Operations: ['54-23=31'] Exploring Operation: 90/45=2, Resulting Numbers: [31, 2] Generated Node #0,2,0: 62:[31, 2] Operation: 90/45=2 Exploring Operation: 90-31=59, Resulting Numbers: [45, 59] Generated Node #0,2,1: 62:[45, 59] Operation: 90-31=59 Exploring Operation: 45+31=76, Resulting Numbers: [90, 76] Generated Node #0,2,2: 62:[90, 76] Operation: 45+31=76 Exploring Operation: 45-31=14, Resulting Numbers: [90, 14] Generated Node #0,2,3: 62:[90, 14] Operation: 45-31=14 Exploring Operation: 90-45=45, Resulting Numbers: [31, 45] Generated Node #0,2,4: 62:[31, 45] Operation: 90-45=45 Moving to Node #0,4,2 Current State: 62:[2, 31], Operations: ['90/45=2', '54-23=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[54, 45, 90, 23], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [54, 23, 2] Generated Node #0,4: 62:[54, 23, 2] Operation: 90/45=2 Moving to Node #0,4 Current State: 62:[54, 23, 2], Operations: ['90/45=2'] Exploring Operation: 54-23=31, Resulting Numbers: [2, 31] Generated Node #0,4,2: 62:[2, 31] Operation: 54-23=31 Moving to Node #0,4,2 Current State: 62:[2, 31], Operations: ['90/45=2', '54-23=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.969618
hs_5
sum_heuristic
[ 46, 46, 11, 95 ]
33
[ "46+46=92", "95-92=3", "11*3=33" ]
Current State: 33:[46, 46, 11, 95], Operations: [] Exploring Operation: 46+46=92, Resulting Numbers: [11, 95, 92] Generated Node #2: [11, 95, 92] from Operation: 46+46=92 Current State: 33:[11, 95, 92], Operations: ['46+46=92'] Exploring Operation: 95-92=3, Resulting Numbers: [11, 3] Generated Node #3: [11, 3] from Operation: 95-92=3 Current State: 33:[11, 3], Operations: ['46+46=92', '95-92=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[46, 46, 11, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [46, 11, 49] Generated Node #0,0: 33:[46, 11, 49] Operation: 95-46=49 Exploring Operation: 46/46=1, Resulting Numbers: [11, 95, 1] Generated Node #0,1: 33:[11, 95, 1] Operation: 46/46=1 Exploring Operation: 46-46=0, Resulting Numbers: [11, 95, 0] Generated Node #0,2: 33:[11, 95, 0] Operation: 46-46=0 Exploring Operation: 95-46=49, Resulting Numbers: [46, 11, 49] Generated Node #0,3: 33:[46, 11, 49] Operation: 95-46=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[46, 11, 49], Operations: ['95-46=49'] Exploring Operation: 49-46=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 49-46=3 Exploring Operation: 46+11=57, Resulting Numbers: [49, 57] Generated Node #0,0,1: 33:[49, 57] Operation: 46+11=57 Exploring Operation: 49-11=38, Resulting Numbers: [46, 38] Generated Node #0,0,2: 33:[46, 38] Operation: 49-11=38 Exploring Operation: 46-11=35, Resulting Numbers: [49, 35] Generated Node #0,0,3: 33:[49, 35] Operation: 46-11=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['95-46=49', '49-46=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[46, 46, 11, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [46, 11, 49] Generated Node #0,0: 33:[46, 11, 49] Operation: 95-46=49 Moving to Node #0,0 Current State: 33:[46, 11, 49], Operations: ['95-46=49'] Exploring Operation: 49-46=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 33:[11, 3] Operation: 49-46=3 Moving to Node #0,0,0 Current State: 33:[11, 3], Operations: ['95-46=49', '49-46=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 2, 29, 65, 3 ]
89
[ "29-2=27", "65-3=62", "27+62=89" ]
Current State: 89:[2, 29, 65, 3], Operations: [] Exploring Operation: 29-2=27, Resulting Numbers: [65, 3, 27] Generated Node #2: [65, 3, 27] from Operation: 29-2=27 Current State: 89:[65, 3, 27], Operations: ['29-2=27'] Exploring Operation: 65-3=62, Resulting Numbers: [27, 62] Generated Node #3: [27, 62] from Operation: 65-3=62 Current State: 89:[27, 62], Operations: ['29-2=27', '65-3=62'] Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[2, 29, 65, 3], Operations: [] Exploring Operation: 29*3=87, Resulting Numbers: [2, 65, 87] Generated Node #0,0: 89:[2, 65, 87] Operation: 29*3=87 Exploring Operation: 2+29=31, Resulting Numbers: [65, 3, 31] Generated Node #0,1: 89:[65, 3, 31] Operation: 2+29=31 Exploring Operation: 2*29=58, Resulting Numbers: [65, 3, 58] Generated Node #0,2: 89:[65, 3, 58] Operation: 2*29=58 Exploring Operation: 2*3=6, Resulting Numbers: [29, 65, 6] Generated Node #0,3: 89:[29, 65, 6] Operation: 2*3=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[2, 65, 87], Operations: ['29*3=87'] Exploring Operation: 2+87=89, Resulting Numbers: [65, 89] Generated Node #0,0,0: 89:[65, 89] Operation: 2+87=89 Exploring Operation: 65-2=63, Resulting Numbers: [87, 63] Generated Node #0,0,1: 89:[87, 63] Operation: 65-2=63 Exploring Operation: 87-2=85, Resulting Numbers: [65, 85] Generated Node #0,0,2: 89:[65, 85] Operation: 87-2=85 Exploring Operation: 2+65=67, Resulting Numbers: [87, 67] Generated Node #0,0,3: 89:[87, 67] Operation: 2+65=67 Moving to Node #0,0,0 Current State: 89:[65, 89], Operations: ['29*3=87', '2+87=89'] Exploring Operation: 65*89=5785, Resulting Numbers: [5785] 5785,89 unequal: No Solution Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 65+89=154, Resulting Numbers: [154] 154,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[87, 67], Operations: ['29*3=87', '2+65=67'] Exploring Operation: 87+67=154, Resulting Numbers: [154] 154,89 unequal: No Solution Exploring Operation: 87-67=20, Resulting Numbers: [20] 20,89 unequal: No Solution Exploring Operation: 87*67=5829, Resulting Numbers: [5829] 5829,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[65, 85], Operations: ['29*3=87', '87-2=85'] Exploring Operation: 65+85=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 65*85=5525, Resulting Numbers: [5525] 5525,89 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[87, 63], Operations: ['29*3=87', '65-2=63'] Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,89 unequal: No Solution Exploring Operation: 87+63=150, Resulting Numbers: [150] 150,89 unequal: No Solution Exploring Operation: 87*63=5481, Resulting Numbers: [5481] 5481,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,2 Current State: 89:[65, 3, 58], Operations: ['2*29=58'] Exploring Operation: 58-3=55, Resulting Numbers: [65, 55] Generated Node #0,2,0: 89:[65, 55] Operation: 58-3=55 Exploring Operation: 65+3=68, Resulting Numbers: [58, 68] Generated Node #0,2,1: 89:[58, 68] Operation: 65+3=68 Exploring Operation: 3+58=61, Resulting Numbers: [65, 61] Generated Node #0,2,2: 89:[65, 61] Operation: 3+58=61 Exploring Operation: 65-3=62, Resulting Numbers: [58, 62] Generated Node #0,2,3: 89:[58, 62] Operation: 65-3=62 Moving to Node #0,2,1 Current State: 89:[58, 68], Operations: ['2*29=58', '65+3=68'] Exploring Operation: 58*68=3944, Resulting Numbers: [3944] 3944,89 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 58+68=126, Resulting Numbers: [126] 126,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[65, 61], Operations: ['2*29=58', '3+58=61'] Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,89 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[58, 62], Operations: ['2*29=58', '65-3=62'] Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,89 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[65, 55], Operations: ['2*29=58', '58-3=55'] Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,89 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,89 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,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,3 Current State: 89:[29, 65, 6], Operations: ['2*3=6'] Exploring Operation: 29+65=94, Resulting Numbers: [6, 94] Generated Node #0,3,0: 89:[6, 94] Operation: 29+65=94 Exploring Operation: 29-6=23, Resulting Numbers: [65, 23] Generated Node #0,3,1: 89:[65, 23] Operation: 29-6=23 Exploring Operation: 65+6=71, Resulting Numbers: [29, 71] Generated Node #0,3,2: 89:[29, 71] Operation: 65+6=71 Exploring Operation: 29+6=35, Resulting Numbers: [65, 35] Generated Node #0,3,3: 89:[65, 35] Operation: 29+6=35 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[29, 71], Operations: ['2*3=6', '65+6=71'] Exploring Operation: 29+71=100, Resulting Numbers: [100] 100,89 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,89 unequal: No Solution Exploring Operation: 29*71=2059, Resulting Numbers: [2059] 2059,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[65, 35], Operations: ['2*3=6', '29+6=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,89 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[6, 94], Operations: ['2*3=6', '29+65=94'] Exploring Operation: 6*94=564, Resulting Numbers: [564] 564,89 unequal: No Solution Exploring Operation: 6+94=100, Resulting Numbers: [100] 100,89 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 89:[65, 23], Operations: ['2*3=6', '29-6=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,89 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[65, 3, 31], Operations: ['2+29=31'] Exploring Operation: 3+31=34, Resulting Numbers: [65, 34] Generated Node #0,1,0: 89:[65, 34] Operation: 3+31=34 Exploring Operation: 3*31=93, Resulting Numbers: [65, 93] Generated Node #0,1,1: 89:[65, 93] Operation: 3*31=93 Exploring Operation: 65+3=68, Resulting Numbers: [31, 68] Generated Node #0,1,2: 89:[31, 68] Operation: 65+3=68 Exploring Operation: 65-3=62, Resulting Numbers: [31, 62] Generated Node #0,1,3: 89:[31, 62] Operation: 65-3=62 Moving to Node #0,1,1 Current State: 89:[65, 93], Operations: ['2+29=31', '3*31=93'] Exploring Operation: 93-65=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 65+93=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 65*93=6045, Resulting Numbers: [6045] 6045,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[31, 68], Operations: ['2+29=31', '65+3=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,89 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[65, 34], Operations: ['2+29=31', '3+31=34'] Exploring Operation: 65-34=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,89 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,89 unequal: No Solution Moving to Node #0,1,3 Current State: 89:[31, 62], Operations: ['2+29=31', '65-3=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,89 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,89 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,89 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
[ 82, 61, 24, 78 ]
89
[ "82+61=143", "78-24=54", "143-54=89" ]
Current State: 89:[82, 61, 24, 78], Operations: [] Exploring Operation: 82+61=143, Resulting Numbers: [24, 78, 143] Generated Node #2: [24, 78, 143] from Operation: 82+61=143 Current State: 89:[24, 78, 143], Operations: ['82+61=143'] Exploring Operation: 78-24=54, Resulting Numbers: [143, 54] Generated Node #3: [143, 54] from Operation: 78-24=54 Current State: 89:[143, 54], Operations: ['82+61=143', '78-24=54'] Exploring Operation: 143-54=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[82, 61, 24, 78], Operations: [] Exploring Operation: 61+24=85, Resulting Numbers: [82, 78, 85] Generated Node #0,0: 89:[82, 78, 85] Operation: 61+24=85 Exploring Operation: 24+78=102, Resulting Numbers: [82, 61, 102] Generated Node #0,1: 89:[82, 61, 102] Operation: 24+78=102 Moving to Node #0,0 Current State: 89:[82, 78, 85], Operations: ['61+24=85'] Exploring Operation: 78+85=163, Resulting Numbers: [82, 163] Generated Node #0,0,0: 89:[82, 163] Operation: 78+85=163 Exploring Operation: 82+78=160, Resulting Numbers: [85, 160] Generated Node #0,0,1: 89:[85, 160] Operation: 82+78=160 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[85, 160], Operations: ['61+24=85', '82+78=160'] Exploring Operation: 160-85=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 85+160=245, Resulting Numbers: [245] 245,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[82, 163], Operations: ['61+24=85', '78+85=163'] Exploring Operation: 82+163=245, Resulting Numbers: [245] 245,89 unequal: No Solution Exploring Operation: 163-82=81, Resulting Numbers: [81] 81,89 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: 89:[82, 61, 102], Operations: ['24+78=102'] Exploring Operation: 82+61=143, Resulting Numbers: [102, 143] Generated Node #0,1,0: 89:[102, 143] Operation: 82+61=143 Exploring Operation: 102-61=41, Resulting Numbers: [82, 41] Generated Node #0,1,1: 89:[82, 41] Operation: 102-61=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[82, 41], Operations: ['24+78=102', '102-61=41'] Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,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:[102, 143], Operations: ['24+78=102', '82+61=143'] Exploring Operation: 102+143=245, Resulting Numbers: [245] 245,89 unequal: No Solution Exploring Operation: 143-102=41, Resulting Numbers: [41] 41,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 22, 2, 18, 97 ]
17
[ "22+18=40", "2*40=80", "97-80=17" ]
Current State: 17:[22, 2, 18, 97], Operations: [] Exploring Operation: 22+18=40, Resulting Numbers: [2, 97, 40] Generated Node #2: [2, 97, 40] from Operation: 22+18=40 Current State: 17:[2, 97, 40], Operations: ['22+18=40'] Exploring Operation: 2*40=80, Resulting Numbers: [97, 80] Generated Node #3: [97, 80] from Operation: 2*40=80 Current State: 17:[97, 80], Operations: ['22+18=40', '2*40=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[22, 2, 18, 97], Operations: [] Exploring Operation: 22-2=20, Resulting Numbers: [18, 97, 20] Generated Node #0,0: 17:[18, 97, 20] Operation: 22-2=20 Exploring Operation: 97-18=79, Resulting Numbers: [22, 2, 79] Generated Node #0,1: 17:[22, 2, 79] Operation: 97-18=79 Exploring Operation: 97-22=75, Resulting Numbers: [2, 18, 75] Generated Node #0,2: 17:[2, 18, 75] Operation: 97-22=75 Moving to Node #0,2 Current State: 17:[2, 18, 75], Operations: ['97-22=75'] Exploring Operation: 18-2=16, Resulting Numbers: [75, 16] Generated Node #0,2,0: 17:[75, 16] Operation: 18-2=16 Exploring Operation: 75-18=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 17:[2, 57] Operation: 75-18=57 Exploring Operation: 75-2=73, Resulting Numbers: [18, 73] Generated Node #0,2,2: 17:[18, 73] Operation: 75-2=73 Moving to Node #0,1 Current State: 17:[22, 2, 79], Operations: ['97-18=79'] Exploring Operation: 79-2=77, Resulting Numbers: [22, 77] Generated Node #0,1,0: 17:[22, 77] Operation: 79-2=77 Exploring Operation: 22-2=20, Resulting Numbers: [79, 20] Generated Node #0,1,1: 17:[79, 20] Operation: 22-2=20 Exploring Operation: 79-22=57, Resulting Numbers: [2, 57] Generated Node #0,1,2: 17:[2, 57] Operation: 79-22=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[2, 57], Operations: ['97-18=79', '79-22=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[22, 77], Operations: ['97-18=79', '79-2=77'] Exploring Operation: 22+77=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 22*77=1694, Resulting Numbers: [1694] 1694,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[79, 20], Operations: ['97-18=79', '22-2=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,17 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 17:[18, 97, 20], Operations: ['22-2=20'] Exploring Operation: 20-18=2, Resulting Numbers: [97, 2] Generated Node #0,0,0: 17:[97, 2] Operation: 20-18=2 Exploring Operation: 97-18=79, Resulting Numbers: [20, 79] Generated Node #0,0,1: 17:[20, 79] Operation: 97-18=79 Exploring Operation: 97-20=77, Resulting Numbers: [18, 77] Generated Node #0,0,2: 17:[18, 77] Operation: 97-20=77 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[18, 77], Operations: ['22-2=20', '97-20=77'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 18*77=1386, Resulting Numbers: [1386] 1386,17 unequal: No Solution Exploring Operation: 18+77=95, Resulting Numbers: [95] 95,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[20, 79], Operations: ['22-2=20', '97-18=79'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 20+79=99, Resulting Numbers: [99] 99,17 unequal: No Solution Exploring Operation: 20*79=1580, Resulting Numbers: [1580] 1580,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[97, 2], Operations: ['22-2=20', '20-18=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,17 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,17 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 17:[2, 57], Operations: ['97-22=75', '75-18=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,17 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[18, 73], Operations: ['97-22=75', '75-2=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,17 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[75, 16], Operations: ['97-22=75', '18-2=16'] Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,17 unequal: No Solution Exploring Operation: 75+16=91, Resulting Numbers: [91] 91,17 unequal: No Solution Exploring Operation: 75*16=1200, Resulting Numbers: [1200] 1200,17 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 97, 3, 1, 54 ]
78
[ "97-1=96", "54/3=18", "96-18=78" ]
Current State: 78:[97, 3, 1, 54], Operations: [] Exploring Operation: 97-1=96, Resulting Numbers: [3, 54, 96] Generated Node #2: [3, 54, 96] from Operation: 97-1=96 Current State: 78:[3, 54, 96], Operations: ['97-1=96'] Exploring Operation: 54/3=18, Resulting Numbers: [96, 18] Generated Node #3: [96, 18] from Operation: 54/3=18 Current State: 78:[96, 18], Operations: ['97-1=96', '54/3=18'] Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[97, 3, 1, 54], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [97, 1, 18] Generated Node #0,0: 78:[97, 1, 18] Operation: 54/3=18 Exploring Operation: 97-54=43, Resulting Numbers: [3, 1, 43] Generated Node #0,1: 78:[3, 1, 43] Operation: 97-54=43 Exploring Operation: 97-3=94, Resulting Numbers: [1, 54, 94] Generated Node #0,2: 78:[1, 54, 94] Operation: 97-3=94 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[3, 1, 43], Operations: ['97-54=43'] Exploring Operation: 3*1=3, Resulting Numbers: [43, 3] Generated Node #0,1,0: 78:[43, 3] Operation: 3*1=3 Exploring Operation: 43-3=40, Resulting Numbers: [1, 40] Generated Node #0,1,1: 78:[1, 40] Operation: 43-3=40 Exploring Operation: 43-1=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 78:[3, 42] Operation: 43-1=42 Moving to Node #0,1,1 Current State: 78:[1, 40], Operations: ['97-54=43', '43-3=40'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[3, 42], Operations: ['97-54=43', '43-1=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,78 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[43, 3], Operations: ['97-54=43', '3*1=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[97, 1, 18], Operations: ['54/3=18'] Exploring Operation: 18-1=17, Resulting Numbers: [97, 17] Generated Node #0,0,0: 78:[97, 17] Operation: 18-1=17 Exploring Operation: 97-18=79, Resulting Numbers: [1, 79] Generated Node #0,0,1: 78:[1, 79] Operation: 97-18=79 Exploring Operation: 97-1=96, Resulting Numbers: [18, 96] Generated Node #0,0,2: 78:[18, 96] Operation: 97-1=96 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[1, 79], Operations: ['54/3=18', '97-18=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[97, 3, 1, 54], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [97, 1, 18] Generated Node #0,0: 78:[97, 1, 18] Operation: 54/3=18 Moving to Node #0,0 Current State: 78:[97, 1, 18], Operations: ['54/3=18'] Exploring Operation: 97-18=79, Resulting Numbers: [1, 79] Generated Node #0,0,1: 78:[1, 79] Operation: 97-18=79 Moving to Node #0,0,1 Current State: 78:[1, 79], Operations: ['54/3=18', '97-18=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 5, 38, 8, 73 ]
15
[ "73-38=35", "35/5=7", "8+7=15" ]
Current State: 15:[5, 38, 8, 73], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [5, 8, 35] Generated Node #2: [5, 8, 35] from Operation: 73-38=35 Current State: 15:[5, 8, 35], Operations: ['73-38=35'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #3: [8, 7] from Operation: 35/5=7 Current State: 15:[8, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[5, 38, 8, 73], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [5, 8, 35] Generated Node #0,0: 15:[5, 8, 35] Operation: 73-38=35 Exploring Operation: 73-8=65, Resulting Numbers: [5, 38, 65] Generated Node #0,1: 15:[5, 38, 65] Operation: 73-8=65 Exploring Operation: 38-5=33, Resulting Numbers: [8, 73, 33] Generated Node #0,2: 15:[8, 73, 33] Operation: 38-5=33 Exploring Operation: 38-8=30, Resulting Numbers: [5, 73, 30] Generated Node #0,3: 15:[5, 73, 30] Operation: 38-8=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 8, 35], Operations: ['73-38=35'] Exploring Operation: 35-8=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 15:[5, 27] Operation: 35-8=27 Exploring Operation: 8-5=3, Resulting Numbers: [35, 3] Generated Node #0,0,1: 15:[35, 3] Operation: 8-5=3 Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,0,2: 15:[8, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [8, 30] Generated Node #0,0,3: 15:[8, 30] Operation: 35-5=30 Moving to Node #0,0,2 Current State: 15:[8, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[5, 38, 8, 73], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [5, 8, 35] Generated Node #0,0: 15:[5, 8, 35] Operation: 73-38=35 Moving to Node #0,0 Current State: 15:[5, 8, 35], Operations: ['73-38=35'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,0,2: 15:[8, 7] Operation: 35/5=7 Moving to Node #0,0,2 Current State: 15:[8, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 69, 92, 37, 73 ]
27
[ "73-37=36", "69*36=2484", "2484/92=27" ]
Current State: 27:[69, 92, 37, 73], Operations: [] Exploring Operation: 73-37=36, Resulting Numbers: [69, 92, 36] Generated Node #2: [69, 92, 36] from Operation: 73-37=36 Current State: 27:[69, 92, 36], Operations: ['73-37=36'] Exploring Operation: 69*36=2484, Resulting Numbers: [92, 2484] Generated Node #3: [92, 2484] from Operation: 69*36=2484 Current State: 27:[92, 2484], Operations: ['73-37=36', '69*36=2484'] Exploring Operation: 2484/92=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[69, 92, 37, 73], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [37, 73, 23] Generated Node #0,0: 27:[37, 73, 23] Operation: 92-69=23 Exploring Operation: 92-73=19, Resulting Numbers: [69, 37, 19] Generated Node #0,1: 27:[69, 37, 19] Operation: 92-73=19 Exploring Operation: 73-69=4, Resulting Numbers: [92, 37, 4] Generated Node #0,2: 27:[92, 37, 4] Operation: 73-69=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[37, 73, 23], Operations: ['92-69=23'] Exploring Operation: 73-37=36, Resulting Numbers: [23, 36] Generated Node #0,0,0: 27:[23, 36] Operation: 73-37=36 Exploring Operation: 37-23=14, Resulting Numbers: [73, 14] Generated Node #0,0,1: 27:[73, 14] Operation: 37-23=14 Exploring Operation: 73-23=50, Resulting Numbers: [37, 50] Generated Node #0,0,2: 27:[37, 50] Operation: 73-23=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[23, 36], Operations: ['92-69=23', '73-37=36'] Exploring Operation: 23+36=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 23*36=828, Resulting Numbers: [828] 828,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[37, 50], Operations: ['92-69=23', '73-23=50'] Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,27 unequal: No Solution Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[73, 14], Operations: ['92-69=23', '37-23=14'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 73*14=1022, Resulting Numbers: [1022] 1022,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[69, 37, 19], Operations: ['92-73=19'] Exploring Operation: 69-19=50, Resulting Numbers: [37, 50] Generated Node #0,1,0: 27:[37, 50] Operation: 69-19=50 Exploring Operation: 69-37=32, Resulting Numbers: [19, 32] Generated Node #0,1,1: 27:[19, 32] Operation: 69-37=32 Exploring Operation: 37-19=18, Resulting Numbers: [69, 18] Generated Node #0,1,2: 27:[69, 18] Operation: 37-19=18 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[19, 32], Operations: ['92-73=19', '69-37=32'] Exploring Operation: 19+32=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 19*32=608, Resulting Numbers: [608] 608,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 27:[37, 50], Operations: ['92-73=19', '69-19=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 27:[69, 18], Operations: ['92-73=19', '37-19=18'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 69*18=1242, Resulting Numbers: [1242] 1242,27 unequal: No Solution Exploring Operation: 69+18=87, Resulting Numbers: [87] 87,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[92, 37, 4], Operations: ['73-69=4'] Exploring Operation: 92/4=23, Resulting Numbers: [37, 23] Generated Node #0,2,0: 27:[37, 23] Operation: 92/4=23 Exploring Operation: 92-4=88, Resulting Numbers: [37, 88] Generated Node #0,2,1: 27:[37, 88] Operation: 92-4=88 Exploring Operation: 92-37=55, Resulting Numbers: [4, 55] Generated Node #0,2,2: 27:[4, 55] Operation: 92-37=55 Moving to Node #0,2,0 Current State: 27:[37, 23], Operations: ['73-69=4', '92/4=23'] Exploring Operation: 37-23=14, Resulting Numbers: [14] 14,27 unequal: No Solution Exploring Operation: 37+23=60, Resulting Numbers: [60] 60,27 unequal: No Solution Exploring Operation: 37*23=851, Resulting Numbers: [851] 851,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[4, 55], Operations: ['73-69=4', '92-37=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,27 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[37, 88], Operations: ['73-69=4', '92-4=88'] Exploring Operation: 37*88=3256, Resulting Numbers: [3256] 3256,27 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,27 unequal: No Solution Exploring Operation: 37+88=125, Resulting Numbers: [125] 125,27 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
[ 19, 22, 81, 23 ]
100
[ "19+81=100", "23-22=1", "100*1=100" ]
Current State: 100:[19, 22, 81, 23], Operations: [] Exploring Operation: 19+81=100, Resulting Numbers: [22, 23, 100] Generated Node #2: [22, 23, 100] from Operation: 19+81=100 Current State: 100:[22, 23, 100], Operations: ['19+81=100'] Exploring Operation: 23-22=1, Resulting Numbers: [100, 1] Generated Node #3: [100, 1] from Operation: 23-22=1 Current State: 100:[100, 1], Operations: ['19+81=100', '23-22=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 22, 81, 23], Operations: [] Exploring Operation: 22+81=103, Resulting Numbers: [19, 23, 103] Generated Node #0,0: 100:[19, 23, 103] Operation: 22+81=103 Exploring Operation: 19+81=100, Resulting Numbers: [22, 23, 100] Generated Node #0,1: 100:[22, 23, 100] Operation: 19+81=100 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[22, 23, 100], Operations: ['19+81=100'] Exploring Operation: 22+23=45, Resulting Numbers: [100, 45] Generated Node #0,1,0: 100:[100, 45] Operation: 22+23=45 Exploring Operation: 23-22=1, Resulting Numbers: [100, 1] Generated Node #0,1,1: 100:[100, 1] Operation: 23-22=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[100, 1], Operations: ['19+81=100', '23-22=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 22, 81, 23], Operations: [] Exploring Operation: 19+81=100, Resulting Numbers: [22, 23, 100] Generated Node #0,1: 100:[22, 23, 100] Operation: 19+81=100 Moving to Node #0,1 Current State: 100:[22, 23, 100], Operations: ['19+81=100'] Exploring Operation: 23-22=1, Resulting Numbers: [100, 1] Generated Node #0,1,1: 100:[100, 1] Operation: 23-22=1 Moving to Node #0,1,1 Current State: 100:[100, 1], Operations: ['19+81=100', '23-22=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 95, 34, 54, 34 ]
81
[ "95-34=61", "54-34=20", "61+20=81" ]
Current State: 81:[95, 34, 54, 34], Operations: [] Exploring Operation: 95-34=61, Resulting Numbers: [54, 61] Generated Node #2: [54, 61] from Operation: 95-34=61 Current State: 81:[54, 61], Operations: ['95-34=61'] Exploring Operation: 54-34=20, Resulting Numbers: [61, 20] Generated Node #3: [61, 20] from Operation: 54-34=20 Current State: 81:[61, 20], Operations: ['95-34=61', '54-34=20'] Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[95, 34, 54, 34], Operations: [] Exploring Operation: 34+54=88, Resulting Numbers: [95, 34, 88] Generated Node #0,0: 81:[95, 34, 88] Operation: 34+54=88 Exploring Operation: 54-34=20, Resulting Numbers: [95, 34, 20] Generated Node #0,1: 81:[95, 34, 20] Operation: 54-34=20 Exploring Operation: 95-54=41, Resulting Numbers: [34, 34, 41] Generated Node #0,2: 81:[34, 34, 41] Operation: 95-54=41 Exploring Operation: 54+34=88, Resulting Numbers: [95, 34, 88] Generated Node #0,3: 81:[95, 34, 88] Operation: 54+34=88 Exploring Operation: 54-34=20, Resulting Numbers: [95, 34, 20] Generated Node #0,4: 81:[95, 34, 20] Operation: 54-34=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[95, 34, 88], Operations: ['34+54=88'] Exploring Operation: 95-88=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 81:[34, 7] Operation: 95-88=7 Exploring Operation: 88-34=54, Resulting Numbers: [95, 54] Generated Node #0,0,1: 81:[95, 54] Operation: 88-34=54 Exploring Operation: 34+88=122, Resulting Numbers: [95, 122] Generated Node #0,0,2: 81:[95, 122] Operation: 34+88=122 Exploring Operation: 95-34=61, Resulting Numbers: [88, 61] Generated Node #0,0,3: 81:[88, 61] Operation: 95-34=61 Exploring Operation: 95+34=129, Resulting Numbers: [88, 129] Generated Node #0,0,4: 81:[88, 129] Operation: 95+34=129 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[34, 7], Operations: ['34+54=88', '95-88=7'] Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,81 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,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,0,3 Current State: 81:[88, 61], Operations: ['34+54=88', '95-34=61'] Exploring Operation: 88*61=5368, Resulting Numbers: [5368] 5368,81 unequal: No Solution Exploring Operation: 88+61=149, Resulting Numbers: [149] 149,81 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,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,0,1 Current State: 81:[95, 54], Operations: ['34+54=88', '88-34=54'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,81 unequal: No Solution Exploring Operation: 95*54=5130, Resulting Numbers: [5130] 5130,81 unequal: No Solution Exploring Operation: 95+54=149, Resulting Numbers: [149] 149,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,0,2 Current State: 81:[95, 122], Operations: ['34+54=88', '34+88=122'] Exploring Operation: 95*122=11590, Resulting Numbers: [11590] 11590,81 unequal: No Solution Exploring Operation: 95+122=217, Resulting Numbers: [217] 217,81 unequal: No Solution Exploring Operation: 122-95=27, Resulting Numbers: [27] 27,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,0,4 Current State: 81:[88, 129], Operations: ['34+54=88', '95+34=129'] Exploring Operation: 88*129=11352, Resulting Numbers: [11352] 11352,81 unequal: No Solution Exploring Operation: 88+129=217, Resulting Numbers: [217] 217,81 unequal: No Solution Exploring Operation: 129-88=41, Resulting Numbers: [41] 41,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:[95, 34, 20], Operations: ['54-34=20'] Exploring Operation: 95-34=61, Resulting Numbers: [20, 61] Generated Node #0,1,0: 81:[20, 61] Operation: 95-34=61 Exploring Operation: 95+20=115, Resulting Numbers: [34, 115] Generated Node #0,1,1: 81:[34, 115] Operation: 95+20=115 Exploring Operation: 95-20=75, Resulting Numbers: [34, 75] Generated Node #0,1,2: 81:[34, 75] Operation: 95-20=75 Exploring Operation: 34+20=54, Resulting Numbers: [95, 54] Generated Node #0,1,3: 81:[95, 54] Operation: 34+20=54 Exploring Operation: 34-20=14, Resulting Numbers: [95, 14] Generated Node #0,1,4: 81:[95, 14] Operation: 34-20=14 Moving to Node #0,1,2 Current State: 81:[34, 75], Operations: ['54-34=20', '95-20=75'] Exploring Operation: 34+75=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 34*75=2550, Resulting Numbers: [2550] 2550,81 unequal: No Solution Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[95, 14], Operations: ['54-34=20', '34-20=14'] Exploring Operation: 95*14=1330, Resulting Numbers: [1330] 1330,81 unequal: No Solution Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[95, 34, 54, 34], Operations: [] Exploring Operation: 54-34=20, Resulting Numbers: [95, 34, 20] Generated Node #0,1: 81:[95, 34, 20] Operation: 54-34=20 Moving to Node #0,1 Current State: 81:[95, 34, 20], Operations: ['54-34=20'] Exploring Operation: 34-20=14, Resulting Numbers: [95, 14] Generated Node #0,1,4: 81:[95, 14] Operation: 34-20=14 Moving to Node #0,1,4 Current State: 81:[95, 14], Operations: ['54-34=20', '34-20=14'] Exploring Operation: 95-14=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 27, 14, 54, 49 ]
61
[ "54/27=2", "14+49=63", "63-2=61" ]
Current State: 61:[27, 14, 54, 49], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [14, 49, 2] Generated Node #2: [14, 49, 2] from Operation: 54/27=2 Current State: 61:[14, 49, 2], Operations: ['54/27=2'] Exploring Operation: 14+49=63, Resulting Numbers: [2, 63] Generated Node #3: [2, 63] from Operation: 14+49=63 Current State: 61:[2, 63], Operations: ['54/27=2', '14+49=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[27, 14, 54, 49], Operations: [] Exploring Operation: 14+49=63, Resulting Numbers: [27, 54, 63] Generated Node #0,0: 61:[27, 54, 63] Operation: 14+49=63 Exploring Operation: 27+14=41, Resulting Numbers: [54, 49, 41] Generated Node #0,1: 61:[54, 49, 41] Operation: 27+14=41 Moving to Node #0,1 Current State: 61:[54, 49, 41], Operations: ['27+14=41'] Exploring Operation: 49+41=90, Resulting Numbers: [54, 90] Generated Node #0,1,0: 61:[54, 90] Operation: 49+41=90 Exploring Operation: 54+41=95, Resulting Numbers: [49, 95] Generated Node #0,1,1: 61:[49, 95] Operation: 54+41=95 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[54, 90], Operations: ['27+14=41', '49+41=90'] Exploring Operation: 54+90=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 90-54=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,1,1 Current State: 61:[49, 95], Operations: ['27+14=41', '54+41=95'] Exploring Operation: 95-49=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 49+95=144, Resulting Numbers: [144] 144,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:[27, 54, 63], Operations: ['14+49=63'] Exploring Operation: 27+54=81, Resulting Numbers: [63, 81] Generated Node #0,0,0: 61:[63, 81] Operation: 27+54=81 Exploring Operation: 63-27=36, Resulting Numbers: [54, 36] Generated Node #0,0,1: 61:[54, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[63, 81], Operations: ['14+49=63', '27+54=81'] Exploring Operation: 63+81=144, Resulting Numbers: [144] 144,61 unequal: No Solution Exploring Operation: 81-63=18, Resulting Numbers: [18] 18,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,1 Current State: 61:[54, 36], Operations: ['14+49=63', '63-27=36'] Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 14, 6, 21, 82 ]
58
[ "82-14=68", "6*21=126", "126-68=58" ]
Current State: 58:[14, 6, 21, 82], Operations: [] Exploring Operation: 82-14=68, Resulting Numbers: [6, 21, 68] Generated Node #2: [6, 21, 68] from Operation: 82-14=68 Current State: 58:[6, 21, 68], Operations: ['82-14=68'] Exploring Operation: 6*21=126, Resulting Numbers: [68, 126] Generated Node #3: [68, 126] from Operation: 6*21=126 Current State: 58:[68, 126], Operations: ['82-14=68', '6*21=126'] Exploring Operation: 126-68=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[14, 6, 21, 82], Operations: [] Exploring Operation: 14+21=35, Resulting Numbers: [6, 82, 35] Generated Node #0,0: 58:[6, 82, 35] Operation: 14+21=35 Exploring Operation: 82-21=61, Resulting Numbers: [14, 6, 61] Generated Node #0,1: 58:[14, 6, 61] Operation: 82-21=61 Exploring Operation: 82-14=68, Resulting Numbers: [6, 21, 68] Generated Node #0,2: 58:[6, 21, 68] Operation: 82-14=68 Exploring Operation: 21-14=7, Resulting Numbers: [6, 82, 7] Generated Node #0,3: 58:[6, 82, 7] Operation: 21-14=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[14, 6, 61], Operations: ['82-21=61'] Exploring Operation: 61-6=55, Resulting Numbers: [14, 55] Generated Node #0,1,0: 58:[14, 55] Operation: 61-6=55 Exploring Operation: 14-6=8, Resulting Numbers: [61, 8] Generated Node #0,1,1: 58:[61, 8] Operation: 14-6=8 Exploring Operation: 61-14=47, Resulting Numbers: [6, 47] Generated Node #0,1,2: 58:[6, 47] Operation: 61-14=47 Exploring Operation: 14+6=20, Resulting Numbers: [61, 20] Generated Node #0,1,3: 58:[61, 20] Operation: 14+6=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[61, 8], Operations: ['82-21=61', '14-6=8'] Exploring Operation: 61*8=488, Resulting Numbers: [488] 488,58 unequal: No Solution Exploring Operation: 61+8=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,58 unequal: No Solution No 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: 58:[61, 20], Operations: ['82-21=61', '14+6=20'] Exploring Operation: 61*20=1220, Resulting Numbers: [1220] 1220,58 unequal: No Solution Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 61+20=81, Resulting Numbers: [81] 81,58 unequal: No Solution No 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: 58:[14, 55], Operations: ['82-21=61', '61-6=55'] Exploring Operation: 14+55=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 14*55=770, Resulting Numbers: [770] 770,58 unequal: No Solution No 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: 58:[6, 47], Operations: ['82-21=61', '61-14=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,58 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[6, 21, 68], Operations: ['82-14=68'] Exploring Operation: 68-6=62, Resulting Numbers: [21, 62] Generated Node #0,2,0: 58:[21, 62] Operation: 68-6=62 Exploring Operation: 21-6=15, Resulting Numbers: [68, 15] Generated Node #0,2,1: 58:[68, 15] Operation: 21-6=15 Exploring Operation: 68-21=47, Resulting Numbers: [6, 47] Generated Node #0,2,2: 58:[6, 47] Operation: 68-21=47 Exploring Operation: 6+21=27, Resulting Numbers: [68, 27] Generated Node #0,2,3: 58:[68, 27] Operation: 6+21=27 Moving to Node #0,2,0 Current State: 58:[21, 62], Operations: ['82-14=68', '68-6=62'] Exploring Operation: 21+62=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 21*62=1302, Resulting Numbers: [1302] 1302,58 unequal: No Solution Exploring Operation: 62-21=41, Resulting Numbers: [41] 41,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[68, 27], Operations: ['82-14=68', '6+21=27'] Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,58 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[6, 47], Operations: ['82-14=68', '68-21=47'] Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,58 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[68, 15], Operations: ['82-14=68', '21-6=15'] Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,58 unequal: No Solution Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[6, 82, 7], Operations: ['21-14=7'] Exploring Operation: 82-6=76, Resulting Numbers: [7, 76] Generated Node #0,3,0: 58:[7, 76] Operation: 82-6=76 Exploring Operation: 6+82=88, Resulting Numbers: [7, 88] Generated Node #0,3,1: 58:[7, 88] Operation: 6+82=88 Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,3,2: 58:[82, 1] Operation: 7-6=1 Exploring Operation: 82-7=75, Resulting Numbers: [6, 75] Generated Node #0,3,3: 58:[6, 75] Operation: 82-7=75 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 58:[6, 75], Operations: ['21-14=7', '82-7=75'] Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,58 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,58 unequal: No Solution No 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: 58:[7, 76], Operations: ['21-14=7', '82-6=76'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,58 unequal: No Solution Exploring Operation: 7*76=532, Resulting Numbers: [532] 532,58 unequal: No Solution Exploring Operation: 7+76=83, Resulting Numbers: [83] 83,58 unequal: No Solution No 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: 58:[82, 1], Operations: ['21-14=7', '7-6=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,58 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,58 unequal: No Solution No 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: 58:[7, 88], Operations: ['21-14=7', '6+82=88'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,58 unequal: No Solution Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,58 unequal: No Solution Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[6, 82, 35], Operations: ['14+21=35'] Exploring Operation: 35-6=29, Resulting Numbers: [82, 29] Generated Node #0,0,0: 58:[82, 29] Operation: 35-6=29 Exploring Operation: 82-35=47, Resulting Numbers: [6, 47] Generated Node #0,0,1: 58:[6, 47] Operation: 82-35=47 Exploring Operation: 6+82=88, Resulting Numbers: [35, 88] Generated Node #0,0,2: 58:[35, 88] Operation: 6+82=88 Exploring Operation: 82-6=76, Resulting Numbers: [35, 76] Generated Node #0,0,3: 58:[35, 76] Operation: 82-6=76 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[6, 47], Operations: ['14+21=35', '82-35=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,58 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,58 unequal: No Solution No 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: 58:[82, 29], Operations: ['14+21=35', '35-6=29'] Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,58 unequal: No Solution Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,58 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,58 unequal: No Solution No 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: 58:[35, 76], Operations: ['14+21=35', '82-6=76'] Exploring Operation: 35*76=2660, Resulting Numbers: [2660] 2660,58 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 35+76=111, Resulting Numbers: [111] 111,58 unequal: No Solution No 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: 58:[35, 88], Operations: ['14+21=35', '6+82=88'] Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,58 unequal: No Solution Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,58 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 3, 9, 96, 84 ]
92
[ "3+9=12", "96/12=8", "84+8=92" ]
Current State: 92:[3, 9, 96, 84], Operations: [] Exploring Operation: 3+9=12, Resulting Numbers: [96, 84, 12] Generated Node #2: [96, 84, 12] from Operation: 3+9=12 Current State: 92:[96, 84, 12], Operations: ['3+9=12'] Exploring Operation: 96/12=8, Resulting Numbers: [84, 8] Generated Node #3: [84, 8] from Operation: 96/12=8 Current State: 92:[84, 8], Operations: ['3+9=12', '96/12=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[3, 9, 96, 84], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [96, 84, 3] Generated Node #0,0: 92:[96, 84, 3] Operation: 9/3=3 Exploring Operation: 9+84=93, Resulting Numbers: [3, 96, 93] Generated Node #0,1: 92:[3, 96, 93] Operation: 9+84=93 Moving to Node #0,1 Current State: 92:[3, 96, 93], Operations: ['9+84=93'] Exploring Operation: 96-93=3, Resulting Numbers: [3, 3] Generated Node #0,1,0: 92:[3, 3] Operation: 96-93=3 Exploring Operation: 96-3=93, Resulting Numbers: [93, 93] Generated Node #0,1,1: 92:[93, 93] Operation: 96-3=93 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[3, 3], Operations: ['9+84=93', '96-93=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[93, 93], Operations: ['9+84=93', '96-3=93'] Exploring Operation: 93-93=0, Resulting Numbers: [0] 0,92 unequal: No Solution Exploring Operation: 93/93=1, Resulting Numbers: [1] 1,92 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: 92:[96, 84, 3], Operations: ['9/3=3'] Exploring Operation: 96-3=93, Resulting Numbers: [84, 93] Generated Node #0,0,0: 92:[84, 93] Operation: 96-3=93 Exploring Operation: 96-84=12, Resulting Numbers: [3, 12] Generated Node #0,0,1: 92:[3, 12] Operation: 96-84=12 Moving to Node #0,0,0 Current State: 92:[84, 93], Operations: ['9/3=3', '96-3=93'] Exploring Operation: 84+93=177, Resulting Numbers: [177] 177,92 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[3, 12], Operations: ['9/3=3', '96-84=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 32, 8, 49 ]
34
[ "87+49=136", "32/8=4", "136/4=34" ]
Current State: 34:[87, 32, 8, 49], Operations: [] Exploring Operation: 87+49=136, Resulting Numbers: [32, 8, 136] Generated Node #2: [32, 8, 136] from Operation: 87+49=136 Current State: 34:[32, 8, 136], Operations: ['87+49=136'] Exploring Operation: 32/8=4, Resulting Numbers: [136, 4] Generated Node #3: [136, 4] from Operation: 32/8=4 Current State: 34:[136, 4], Operations: ['87+49=136', '32/8=4'] Exploring Operation: 136/4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[87, 32, 8, 49], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [32, 8, 38] Generated Node #0,0: 34:[32, 8, 38] Operation: 87-49=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[32, 8, 38], Operations: ['87-49=38'] Exploring Operation: 32/8=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 32/8=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['87-49=38', '32/8=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[87, 32, 8, 49], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [32, 8, 38] Generated Node #0,0: 34:[32, 8, 38] Operation: 87-49=38 Moving to Node #0,0 Current State: 34:[32, 8, 38], Operations: ['87-49=38'] Exploring Operation: 32/8=4, Resulting Numbers: [38, 4] Generated Node #0,0,0: 34:[38, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 34:[38, 4], Operations: ['87-49=38', '32/8=4'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 91, 57, 69, 5 ]
98
[ "91-57=34", "69-5=64", "34+64=98" ]
Current State: 98:[91, 57, 69, 5], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [69, 5, 34] Generated Node #2: [69, 5, 34] from Operation: 91-57=34 Current State: 98:[69, 5, 34], Operations: ['91-57=34'] Exploring Operation: 69-5=64, Resulting Numbers: [34, 64] Generated Node #3: [34, 64] from Operation: 69-5=64 Current State: 98:[34, 64], Operations: ['91-57=34', '69-5=64'] Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[91, 57, 69, 5], Operations: [] Exploring Operation: 91+5=96, Resulting Numbers: [57, 69, 96] Generated Node #0,0: 98:[57, 69, 96] Operation: 91+5=96 Exploring Operation: 91-69=22, Resulting Numbers: [57, 5, 22] Generated Node #0,1: 98:[57, 5, 22] Operation: 91-69=22 Exploring Operation: 69-57=12, Resulting Numbers: [91, 5, 12] Generated Node #0,2: 98:[91, 5, 12] Operation: 69-57=12 Exploring Operation: 57-5=52, Resulting Numbers: [91, 69, 52] Generated Node #0,3: 98:[91, 69, 52] Operation: 57-5=52 Moving to Node #0,2 Current State: 98:[91, 5, 12], Operations: ['69-57=12'] Exploring Operation: 12-5=7, Resulting Numbers: [91, 7] Generated Node #0,2,0: 98:[91, 7] Operation: 12-5=7 Exploring Operation: 91+5=96, Resulting Numbers: [12, 96] Generated Node #0,2,1: 98:[12, 96] Operation: 91+5=96 Exploring Operation: 5+12=17, Resulting Numbers: [91, 17] Generated Node #0,2,2: 98:[91, 17] Operation: 5+12=17 Exploring Operation: 91+12=103, Resulting Numbers: [5, 103] Generated Node #0,2,3: 98:[5, 103] Operation: 91+12=103 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[12, 96], Operations: ['69-57=12', '91+5=96'] Exploring Operation: 96-12=84, Resulting Numbers: [84] 84,98 unequal: No Solution Exploring Operation: 96/12=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 12*96=1152, Resulting Numbers: [1152] 1152,98 unequal: No Solution Exploring Operation: 12+96=108, Resulting Numbers: [108] 108,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[91, 7], Operations: ['69-57=12', '12-5=7'] Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,98 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[91, 57, 69, 5], Operations: [] Exploring Operation: 69-57=12, Resulting Numbers: [91, 5, 12] Generated Node #0,2: 98:[91, 5, 12] Operation: 69-57=12 Moving to Node #0,2 Current State: 98:[91, 5, 12], Operations: ['69-57=12'] Exploring Operation: 12-5=7, Resulting Numbers: [91, 7] Generated Node #0,2,0: 98:[91, 7] Operation: 12-5=7 Moving to Node #0,2,0 Current State: 98:[91, 7], Operations: ['69-57=12', '12-5=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 59, 83, 27, 31 ]
82
[ "83-59=24", "27+31=58", "24+58=82" ]
Current State: 82:[59, 83, 27, 31], Operations: [] Exploring Operation: 83-59=24, Resulting Numbers: [27, 31, 24] Generated Node #2: [27, 31, 24] from Operation: 83-59=24 Current State: 82:[27, 31, 24], Operations: ['83-59=24'] Exploring Operation: 27+31=58, Resulting Numbers: [24, 58] Generated Node #3: [24, 58] from Operation: 27+31=58 Current State: 82:[24, 58], Operations: ['83-59=24', '27+31=58'] Exploring Operation: 24+58=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[59, 83, 27, 31], Operations: [] Exploring Operation: 59+27=86, Resulting Numbers: [83, 31, 86] Generated Node #0,0: 82:[83, 31, 86] Operation: 59+27=86 Exploring Operation: 59+31=90, Resulting Numbers: [83, 27, 90] Generated Node #0,1: 82:[83, 27, 90] Operation: 59+31=90 Exploring Operation: 59-27=32, Resulting Numbers: [83, 31, 32] Generated Node #0,2: 82:[83, 31, 32] Operation: 59-27=32 Exploring Operation: 59-31=28, Resulting Numbers: [83, 27, 28] Generated Node #0,3: 82:[83, 27, 28] Operation: 59-31=28 Exploring Operation: 31-27=4, Resulting Numbers: [59, 83, 4] Generated Node #0,4: 82:[59, 83, 4] Operation: 31-27=4 Moving to Node #0,0 Current State: 82:[83, 31, 86], Operations: ['59+27=86'] Exploring Operation: 83-31=52, Resulting Numbers: [86, 52] Generated Node #0,0,0: 82:[86, 52] Operation: 83-31=52 Exploring Operation: 83+31=114, Resulting Numbers: [86, 114] Generated Node #0,0,1: 82:[86, 114] Operation: 83+31=114 Exploring Operation: 86-83=3, Resulting Numbers: [31, 3] Generated Node #0,0,2: 82:[31, 3] Operation: 86-83=3 Exploring Operation: 31+86=117, Resulting Numbers: [83, 117] Generated Node #0,0,3: 82:[83, 117] Operation: 31+86=117 Exploring Operation: 86-31=55, Resulting Numbers: [83, 55] Generated Node #0,0,4: 82:[83, 55] Operation: 86-31=55 Moving to Node #0,2 Current State: 82:[83, 31, 32], Operations: ['59-27=32'] Exploring Operation: 83-31=52, Resulting Numbers: [32, 52] Generated Node #0,2,0: 82:[32, 52] Operation: 83-31=52 Exploring Operation: 83-32=51, Resulting Numbers: [31, 51] Generated Node #0,2,1: 82:[31, 51] Operation: 83-32=51 Exploring Operation: 31+32=63, Resulting Numbers: [83, 63] Generated Node #0,2,2: 82:[83, 63] Operation: 31+32=63 Exploring Operation: 83+31=114, Resulting Numbers: [32, 114] Generated Node #0,2,3: 82:[32, 114] Operation: 83+31=114 Exploring Operation: 32-31=1, Resulting Numbers: [83, 1] Generated Node #0,2,4: 82:[83, 1] Operation: 32-31=1 Moving to Node #0,4 Current State: 82:[59, 83, 4], Operations: ['31-27=4'] Exploring Operation: 83-4=79, Resulting Numbers: [59, 79] Generated Node #0,4,0: 82:[59, 79] Operation: 83-4=79 Exploring Operation: 83+4=87, Resulting Numbers: [59, 87] Generated Node #0,4,1: 82:[59, 87] Operation: 83+4=87 Exploring Operation: 59-4=55, Resulting Numbers: [83, 55] Generated Node #0,4,2: 82:[83, 55] Operation: 59-4=55 Exploring Operation: 83-59=24, Resulting Numbers: [4, 24] Generated Node #0,4,3: 82:[4, 24] Operation: 83-59=24 Exploring Operation: 59+4=63, Resulting Numbers: [83, 63] Generated Node #0,4,4: 82:[83, 63] Operation: 59+4=63 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[83, 55], Operations: ['31-27=4', '59-4=55'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 83*55=4565, Resulting Numbers: [4565] 4565,82 unequal: No Solution Exploring Operation: 83+55=138, Resulting Numbers: [138] 138,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[4, 24], Operations: ['31-27=4', '83-59=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,82 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[83, 63], Operations: ['31-27=4', '59+4=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,82 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[59, 79], Operations: ['31-27=4', '83-4=79'] Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,82 unequal: No Solution Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[59, 87], Operations: ['31-27=4', '83+4=87'] Exploring Operation: 59+87=146, Resulting Numbers: [146] 146,82 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 59*87=5133, Resulting Numbers: [5133] 5133,82 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: 82:[83, 27, 90], Operations: ['59+31=90'] Exploring Operation: 83+27=110, Resulting Numbers: [90, 110] Generated Node #0,1,0: 82:[90, 110] Operation: 83+27=110 Exploring Operation: 90-83=7, Resulting Numbers: [27, 7] Generated Node #0,1,1: 82:[27, 7] Operation: 90-83=7 Exploring Operation: 90-27=63, Resulting Numbers: [83, 63] Generated Node #0,1,2: 82:[83, 63] Operation: 90-27=63 Exploring Operation: 27+90=117, Resulting Numbers: [83, 117] Generated Node #0,1,3: 82:[83, 117] Operation: 27+90=117 Exploring Operation: 83-27=56, Resulting Numbers: [90, 56] Generated Node #0,1,4: 82:[90, 56] Operation: 83-27=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[27, 7], Operations: ['59+31=90', '90-83=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,82 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[83, 63], Operations: ['59+31=90', '90-27=63'] Exploring Operation: 83-63=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 83*63=5229, Resulting Numbers: [5229] 5229,82 unequal: No Solution Exploring Operation: 83+63=146, Resulting Numbers: [146] 146,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[90, 56], Operations: ['59+31=90', '83-27=56'] Exploring Operation: 90+56=146, Resulting Numbers: [146] 146,82 unequal: No Solution Exploring Operation: 90*56=5040, Resulting Numbers: [5040] 5040,82 unequal: No Solution Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[90, 110], Operations: ['59+31=90', '83+27=110'] Exploring Operation: 90+110=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 110-90=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 90*110=9900, Resulting Numbers: [9900] 9900,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[83, 117], Operations: ['59+31=90', '27+90=117'] Exploring Operation: 83+117=200, Resulting Numbers: [200] 200,82 unequal: No Solution Exploring Operation: 83*117=9711, Resulting Numbers: [9711] 9711,82 unequal: No Solution Exploring Operation: 117-83=34, Resulting Numbers: [34] 34,82 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: 82:[83, 27, 28], Operations: ['59-31=28'] Exploring Operation: 83+27=110, Resulting Numbers: [28, 110] Generated Node #0,3,0: 82:[28, 110] Operation: 83+27=110 Exploring Operation: 27+28=55, Resulting Numbers: [83, 55] Generated Node #0,3,1: 82:[83, 55] Operation: 27+28=55 Exploring Operation: 83-27=56, Resulting Numbers: [28, 56] Generated Node #0,3,2: 82:[28, 56] Operation: 83-27=56 Exploring Operation: 28-27=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 82:[83, 1] Operation: 28-27=1 Exploring Operation: 83-28=55, Resulting Numbers: [27, 55] Generated Node #0,3,4: 82:[27, 55] Operation: 83-28=55 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[83, 1], Operations: ['59-31=28', '28-27=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[59, 83, 27, 31], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [83, 27, 28] Generated Node #0,3: 82:[83, 27, 28] Operation: 59-31=28 Moving to Node #0,3 Current State: 82:[83, 27, 28], Operations: ['59-31=28'] Exploring Operation: 28-27=1, Resulting Numbers: [83, 1] Generated Node #0,3,3: 82:[83, 1] Operation: 28-27=1 Moving to Node #0,3,3 Current State: 82:[83, 1], Operations: ['59-31=28', '28-27=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
sum_heuristic
[ 50, 83, 74, 36 ]
23
[ "50+83=133", "74+36=110", "133-110=23" ]
Current State: 23:[50, 83, 74, 36], Operations: [] Exploring Operation: 50+83=133, Resulting Numbers: [74, 36, 133] Generated Node #2: [74, 36, 133] from Operation: 50+83=133 Current State: 23:[74, 36, 133], Operations: ['50+83=133'] Exploring Operation: 74+36=110, Resulting Numbers: [133, 110] Generated Node #3: [133, 110] from Operation: 74+36=110 Current State: 23:[133, 110], Operations: ['50+83=133', '74+36=110'] Exploring Operation: 133-110=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[50, 83, 74, 36], Operations: [] Exploring Operation: 74-50=24, Resulting Numbers: [83, 36, 24] Generated Node #0,0: 23:[83, 36, 24] Operation: 74-50=24 Exploring Operation: 83-50=33, Resulting Numbers: [74, 36, 33] Generated Node #0,1: 23:[74, 36, 33] Operation: 83-50=33 Exploring Operation: 83-74=9, Resulting Numbers: [50, 36, 9] Generated Node #0,2: 23:[50, 36, 9] Operation: 83-74=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[50, 36, 9], Operations: ['83-74=9'] Exploring Operation: 50-36=14, Resulting Numbers: [9, 14] Generated Node #0,2,0: 23:[9, 14] Operation: 50-36=14 Exploring Operation: 50-9=41, Resulting Numbers: [36, 41] Generated Node #0,2,1: 23:[36, 41] Operation: 50-9=41 Exploring Operation: 36-9=27, Resulting Numbers: [50, 27] Generated Node #0,2,2: 23:[50, 27] Operation: 36-9=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[9, 14], Operations: ['83-74=9', '50-36=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,23 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[50, 83, 74, 36], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [50, 36, 9] Generated Node #0,2: 23:[50, 36, 9] Operation: 83-74=9 Moving to Node #0,2 Current State: 23:[50, 36, 9], Operations: ['83-74=9'] Exploring Operation: 50-36=14, Resulting Numbers: [9, 14] Generated Node #0,2,0: 23:[9, 14] Operation: 50-36=14 Moving to Node #0,2,0 Current State: 23:[9, 14], Operations: ['83-74=9', '50-36=14'] Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 54, 46, 42, 57 ]
91
[ "54-46=8", "42+57=99", "99-8=91" ]
Current State: 91:[54, 46, 42, 57], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [42, 57, 8] Generated Node #2: [42, 57, 8] from Operation: 54-46=8 Current State: 91:[42, 57, 8], Operations: ['54-46=8'] Exploring Operation: 42+57=99, Resulting Numbers: [8, 99] Generated Node #3: [8, 99] from Operation: 42+57=99 Current State: 91:[8, 99], Operations: ['54-46=8', '42+57=99'] Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[54, 46, 42, 57], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [46, 57, 12] Generated Node #0,0: 91:[46, 57, 12] Operation: 54-42=12 Exploring Operation: 54-46=8, Resulting Numbers: [42, 57, 8] Generated Node #0,1: 91:[42, 57, 8] Operation: 54-46=8 Exploring Operation: 57-46=11, Resulting Numbers: [54, 42, 11] Generated Node #0,2: 91:[54, 42, 11] Operation: 57-46=11 Exploring Operation: 57-54=3, Resulting Numbers: [46, 42, 3] Generated Node #0,3: 91:[46, 42, 3] Operation: 57-54=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[42, 57, 8], Operations: ['54-46=8'] Exploring Operation: 57+8=65, Resulting Numbers: [42, 65] Generated Node #0,1,0: 91:[42, 65] Operation: 57+8=65 Exploring Operation: 42-8=34, Resulting Numbers: [57, 34] Generated Node #0,1,1: 91:[57, 34] Operation: 42-8=34 Exploring Operation: 57-42=15, Resulting Numbers: [8, 15] Generated Node #0,1,2: 91:[8, 15] Operation: 57-42=15 Exploring Operation: 42+57=99, Resulting Numbers: [8, 99] Generated Node #0,1,3: 91:[8, 99] Operation: 42+57=99 Moving to Node #0,1,2 Current State: 91:[8, 15], Operations: ['54-46=8', '57-42=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[8, 99], Operations: ['54-46=8', '42+57=99'] Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[54, 46, 42, 57], Operations: [] Exploring Operation: 54-46=8, Resulting Numbers: [42, 57, 8] Generated Node #0,1: 91:[42, 57, 8] Operation: 54-46=8 Moving to Node #0,1 Current State: 91:[42, 57, 8], Operations: ['54-46=8'] Exploring Operation: 42+57=99, Resulting Numbers: [8, 99] Generated Node #0,1,3: 91:[8, 99] Operation: 42+57=99 Moving to Node #0,1,3 Current State: 91:[8, 99], Operations: ['54-46=8', '42+57=99'] Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 2, 27, 97, 58 ]
93
[ "2*27=54", "97-58=39", "54+39=93" ]
Current State: 93:[2, 27, 97, 58], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [97, 58, 54] Generated Node #2: [97, 58, 54] from Operation: 2*27=54 Current State: 93:[97, 58, 54], Operations: ['2*27=54'] Exploring Operation: 97-58=39, Resulting Numbers: [54, 39] Generated Node #3: [54, 39] from Operation: 97-58=39 Current State: 93:[54, 39], Operations: ['2*27=54', '97-58=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 27, 97, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [27, 97, 29] Generated Node #0,0: 93:[27, 97, 29] Operation: 58/2=29 Exploring Operation: 58-27=31, Resulting Numbers: [2, 97, 31] Generated Node #0,1: 93:[2, 97, 31] Operation: 58-27=31 Exploring Operation: 27+58=85, Resulting Numbers: [2, 97, 85] Generated Node #0,2: 93:[2, 97, 85] Operation: 27+58=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[2, 97, 31], Operations: ['58-27=31'] Exploring Operation: 2+97=99, Resulting Numbers: [31, 99] Generated Node #0,1,0: 93:[31, 99] Operation: 2+97=99 Exploring Operation: 97-2=95, Resulting Numbers: [31, 95] Generated Node #0,1,1: 93:[31, 95] Operation: 97-2=95 Exploring Operation: 2+31=33, Resulting Numbers: [97, 33] Generated Node #0,1,2: 93:[97, 33] Operation: 2+31=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[31, 95], Operations: ['58-27=31', '97-2=95'] Exploring Operation: 95-31=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 31+95=126, Resulting Numbers: [126] 126,93 unequal: No Solution Exploring Operation: 31*95=2945, Resulting Numbers: [2945] 2945,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[31, 99], Operations: ['58-27=31', '2+97=99'] Exploring Operation: 31+99=130, Resulting Numbers: [130] 130,93 unequal: No Solution Exploring Operation: 31*99=3069, Resulting Numbers: [3069] 3069,93 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[97, 33], Operations: ['58-27=31', '2+31=33'] Exploring Operation: 97*33=3201, Resulting Numbers: [3201] 3201,93 unequal: No Solution Exploring Operation: 97-33=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 97+33=130, Resulting Numbers: [130] 130,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[27, 97, 29], Operations: ['58/2=29'] Exploring Operation: 97-27=70, Resulting Numbers: [29, 70] Generated Node #0,0,0: 93:[29, 70] Operation: 97-27=70 Exploring Operation: 27+29=56, Resulting Numbers: [97, 56] Generated Node #0,0,1: 93:[97, 56] Operation: 27+29=56 Exploring Operation: 29-27=2, Resulting Numbers: [97, 2] Generated Node #0,0,2: 93:[97, 2] Operation: 29-27=2 Moving to Node #0,0,2 Current State: 93:[97, 2], Operations: ['58/2=29', '29-27=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,93 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,93 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[29, 70], Operations: ['58/2=29', '97-27=70'] Exploring Operation: 29+70=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 29*70=2030, Resulting Numbers: [2030] 2030,93 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[97, 56], Operations: ['58/2=29', '27+29=56'] Exploring Operation: 97*56=5432, Resulting Numbers: [5432] 5432,93 unequal: No Solution Exploring Operation: 97+56=153, Resulting Numbers: [153] 153,93 unequal: No Solution Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[2, 97, 85], Operations: ['27+58=85'] Exploring Operation: 97-2=95, Resulting Numbers: [85, 95] Generated Node #0,2,0: 93:[85, 95] Operation: 97-2=95 Exploring Operation: 2+85=87, Resulting Numbers: [97, 87] Generated Node #0,2,1: 93:[97, 87] Operation: 2+85=87 Exploring Operation: 97-85=12, Resulting Numbers: [2, 12] Generated Node #0,2,2: 93:[2, 12] Operation: 97-85=12 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[85, 95], Operations: ['27+58=85', '97-2=95'] Exploring Operation: 85*95=8075, Resulting Numbers: [8075] 8075,93 unequal: No Solution Exploring Operation: 95-85=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 85+95=180, Resulting Numbers: [180] 180,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[97, 87], Operations: ['27+58=85', '2+85=87'] Exploring Operation: 97*87=8439, Resulting Numbers: [8439] 8439,93 unequal: No Solution Exploring Operation: 97+87=184, Resulting Numbers: [184] 184,93 unequal: No Solution Exploring Operation: 97-87=10, Resulting Numbers: [10] 10,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[2, 12], Operations: ['27+58=85', '97-85=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,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_3
sum_heuristic
[ 8, 47, 8, 42 ]
80
[ "8+8=16", "47-42=5", "16*5=80" ]
Current State: 80:[8, 47, 8, 42], Operations: [] Exploring Operation: 8+8=16, Resulting Numbers: [47, 42, 16] Generated Node #2: [47, 42, 16] from Operation: 8+8=16 Current State: 80:[47, 42, 16], Operations: ['8+8=16'] Exploring Operation: 47-42=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 47-42=5 Current State: 80:[16, 5], Operations: ['8+8=16', '47-42=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[8, 47, 8, 42], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [8, 8, 5] Generated Node #0,0: 80:[8, 8, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[8, 8, 5], Operations: ['47-42=5'] Exploring Operation: 8+8=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 80:[5, 16] Operation: 8+8=16 Moving to Node #0,0,0 Current State: 80:[5, 16], Operations: ['47-42=5', '8+8=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[8, 47, 8, 42], Operations: [] Exploring Operation: 47-42=5, Resulting Numbers: [8, 8, 5] Generated Node #0,0: 80:[8, 8, 5] Operation: 47-42=5 Moving to Node #0,0 Current State: 80:[8, 8, 5], Operations: ['47-42=5'] Exploring Operation: 8+8=16, Resulting Numbers: [5, 16] Generated Node #0,0,0: 80:[5, 16] Operation: 8+8=16 Moving to Node #0,0,0 Current State: 80:[5, 16], Operations: ['47-42=5', '8+8=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 50, 49, 47, 13 ]
65
[ "50+49=99", "47-13=34", "99-34=65" ]
Current State: 65:[50, 49, 47, 13], Operations: [] Exploring Operation: 50+49=99, Resulting Numbers: [47, 13, 99] Generated Node #2: [47, 13, 99] from Operation: 50+49=99 Current State: 65:[47, 13, 99], Operations: ['50+49=99'] Exploring Operation: 47-13=34, Resulting Numbers: [99, 34] Generated Node #3: [99, 34] from Operation: 47-13=34 Current State: 65:[99, 34], Operations: ['50+49=99', '47-13=34'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[50, 49, 47, 13], Operations: [] Exploring Operation: 49+13=62, Resulting Numbers: [50, 47, 62] Generated Node #0,0: 65:[50, 47, 62] Operation: 49+13=62 Exploring Operation: 50-47=3, Resulting Numbers: [49, 13, 3] Generated Node #0,1: 65:[49, 13, 3] Operation: 50-47=3 Exploring Operation: 49-47=2, Resulting Numbers: [50, 13, 2] Generated Node #0,2: 65:[50, 13, 2] Operation: 49-47=2 Exploring Operation: 50+13=63, Resulting Numbers: [49, 47, 63] Generated Node #0,3: 65:[49, 47, 63] Operation: 50+13=63 Exploring Operation: 50-49=1, Resulting Numbers: [47, 13, 1] Generated Node #0,4: 65:[47, 13, 1] Operation: 50-49=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[49, 13, 3], Operations: ['50-47=3'] Exploring Operation: 13-3=10, Resulting Numbers: [49, 10] Generated Node #0,1,0: 65:[49, 10] Operation: 13-3=10 Exploring Operation: 13+3=16, Resulting Numbers: [49, 16] Generated Node #0,1,1: 65:[49, 16] Operation: 13+3=16 Exploring Operation: 49+13=62, Resulting Numbers: [3, 62] Generated Node #0,1,2: 65:[3, 62] Operation: 49+13=62 Exploring Operation: 49-3=46, Resulting Numbers: [13, 46] Generated Node #0,1,3: 65:[13, 46] Operation: 49-3=46 Exploring Operation: 49+3=52, Resulting Numbers: [13, 52] Generated Node #0,1,4: 65:[13, 52] Operation: 49+3=52 Moving to Node #0,1,2 Current State: 65:[3, 62], Operations: ['50-47=3', '49+13=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[50, 49, 47, 13], Operations: [] Exploring Operation: 50-47=3, Resulting Numbers: [49, 13, 3] Generated Node #0,1: 65:[49, 13, 3] Operation: 50-47=3 Moving to Node #0,1 Current State: 65:[49, 13, 3], Operations: ['50-47=3'] Exploring Operation: 49+13=62, Resulting Numbers: [3, 62] Generated Node #0,1,2: 65:[3, 62] Operation: 49+13=62 Moving to Node #0,1,2 Current State: 65:[3, 62], Operations: ['50-47=3', '49+13=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 9, 32, 62, 80 ]
34
[ "80-62=18", "18/9=2", "32+2=34" ]
Current State: 34:[9, 32, 62, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [9, 32, 18] Generated Node #2: [9, 32, 18] from Operation: 80-62=18 Current State: 34:[9, 32, 18], Operations: ['80-62=18'] Exploring Operation: 18/9=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 18/9=2 Current State: 34:[32, 2], Operations: ['80-62=18', '18/9=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[9, 32, 62, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [9, 32, 18] Generated Node #0,0: 34:[9, 32, 18] Operation: 80-62=18 Exploring Operation: 62-9=53, Resulting Numbers: [32, 80, 53] Generated Node #0,1: 34:[32, 80, 53] Operation: 62-9=53 Exploring Operation: 62-32=30, Resulting Numbers: [9, 80, 30] Generated Node #0,2: 34:[9, 80, 30] Operation: 62-32=30 Exploring Operation: 80-32=48, Resulting Numbers: [9, 62, 48] Generated Node #0,3: 34:[9, 62, 48] Operation: 80-32=48 Moving to Node #0,0 Current State: 34:[9, 32, 18], Operations: ['80-62=18'] Exploring Operation: 9+32=41, Resulting Numbers: [18, 41] Generated Node #0,0,0: 34:[18, 41] Operation: 9+32=41 Exploring Operation: 9+18=27, Resulting Numbers: [32, 27] Generated Node #0,0,1: 34:[32, 27] Operation: 9+18=27 Exploring Operation: 18/9=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 34:[32, 2] Operation: 18/9=2 Exploring Operation: 32-9=23, Resulting Numbers: [18, 23] Generated Node #0,0,3: 34:[18, 23] Operation: 32-9=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[32, 2], Operations: ['80-62=18', '18/9=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[9, 32, 62, 80], Operations: [] Exploring Operation: 80-62=18, Resulting Numbers: [9, 32, 18] Generated Node #0,0: 34:[9, 32, 18] Operation: 80-62=18 Moving to Node #0,0 Current State: 34:[9, 32, 18], Operations: ['80-62=18'] Exploring Operation: 18/9=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 34:[32, 2] Operation: 18/9=2 Moving to Node #0,0,2 Current State: 34:[32, 2], Operations: ['80-62=18', '18/9=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 54, 57, 78, 11 ]
15
[ "57-54=3", "78/3=26", "26-11=15" ]
Current State: 15:[54, 57, 78, 11], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [78, 11, 3] Generated Node #2: [78, 11, 3] from Operation: 57-54=3 Current State: 15:[78, 11, 3], Operations: ['57-54=3'] Exploring Operation: 78/3=26, Resulting Numbers: [11, 26] Generated Node #3: [11, 26] from Operation: 78/3=26 Current State: 15:[11, 26], Operations: ['57-54=3', '78/3=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[54, 57, 78, 11], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [57, 11, 24] Generated Node #0,0: 15:[57, 11, 24] Operation: 78-54=24 Exploring Operation: 57-54=3, Resulting Numbers: [78, 11, 3] Generated Node #0,1: 15:[78, 11, 3] Operation: 57-54=3 Exploring Operation: 78-57=21, Resulting Numbers: [54, 11, 21] Generated Node #0,2: 15:[54, 11, 21] Operation: 78-57=21 Moving to Node #0,2 Current State: 15:[54, 11, 21], Operations: ['78-57=21'] Exploring Operation: 54-11=43, Resulting Numbers: [21, 43] Generated Node #0,2,0: 15:[21, 43] Operation: 54-11=43 Exploring Operation: 54-21=33, Resulting Numbers: [11, 33] Generated Node #0,2,1: 15:[11, 33] Operation: 54-21=33 Exploring Operation: 21-11=10, Resulting Numbers: [54, 10] Generated Node #0,2,2: 15:[54, 10] Operation: 21-11=10 Moving to Node #0,0 Current State: 15:[57, 11, 24], Operations: ['78-54=24'] Exploring Operation: 24-11=13, Resulting Numbers: [57, 13] Generated Node #0,0,0: 15:[57, 13] Operation: 24-11=13 Exploring Operation: 57-24=33, Resulting Numbers: [11, 33] Generated Node #0,0,1: 15:[11, 33] Operation: 57-24=33 Exploring Operation: 57-11=46, Resulting Numbers: [24, 46] Generated Node #0,0,2: 15:[24, 46] Operation: 57-11=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[11, 33], Operations: ['78-54=24', '57-24=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[24, 46], Operations: ['78-54=24', '57-11=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,15 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,15 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[57, 13], Operations: ['78-54=24', '24-11=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,15 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,15 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: 15:[78, 11, 3], Operations: ['57-54=3'] Exploring Operation: 78/3=26, Resulting Numbers: [11, 26] Generated Node #0,1,0: 15:[11, 26] Operation: 78/3=26 Exploring Operation: 78-11=67, Resulting Numbers: [3, 67] Generated Node #0,1,1: 15:[3, 67] Operation: 78-11=67 Exploring Operation: 78-3=75, Resulting Numbers: [11, 75] Generated Node #0,1,2: 15:[11, 75] Operation: 78-3=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[11, 26], Operations: ['57-54=3', '78/3=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[54, 57, 78, 11], Operations: [] Exploring Operation: 57-54=3, Resulting Numbers: [78, 11, 3] Generated Node #0,1: 15:[78, 11, 3] Operation: 57-54=3 Moving to Node #0,1 Current State: 15:[78, 11, 3], Operations: ['57-54=3'] Exploring Operation: 78/3=26, Resulting Numbers: [11, 26] Generated Node #0,1,0: 15:[11, 26] Operation: 78/3=26 Moving to Node #0,1,0 Current State: 15:[11, 26], Operations: ['57-54=3', '78/3=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 91, 5, 21, 2 ]
63
[ "91-5=86", "21+2=23", "86-23=63" ]
Current State: 63:[91, 5, 21, 2], Operations: [] Exploring Operation: 91-5=86, Resulting Numbers: [21, 2, 86] Generated Node #2: [21, 2, 86] from Operation: 91-5=86 Current State: 63:[21, 2, 86], Operations: ['91-5=86'] Exploring Operation: 21+2=23, Resulting Numbers: [86, 23] Generated Node #3: [86, 23] from Operation: 21+2=23 Current State: 63:[86, 23], Operations: ['91-5=86', '21+2=23'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 5, 21, 2], Operations: [] Exploring Operation: 91-21=70, Resulting Numbers: [5, 2, 70] Generated Node #0,0: 63:[5, 2, 70] Operation: 91-21=70 Exploring Operation: 91-5=86, Resulting Numbers: [21, 2, 86] Generated Node #0,1: 63:[21, 2, 86] Operation: 91-5=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[5, 2, 70], Operations: ['91-21=70'] Exploring Operation: 70/5=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 63:[2, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [2, 65] Generated Node #0,0,1: 63:[2, 65] Operation: 70-5=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[2, 65], Operations: ['91-21=70', '70-5=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 5, 21, 2], Operations: [] Exploring Operation: 91-21=70, Resulting Numbers: [5, 2, 70] Generated Node #0,0: 63:[5, 2, 70] Operation: 91-21=70 Moving to Node #0,0 Current State: 63:[5, 2, 70], Operations: ['91-21=70'] Exploring Operation: 70-5=65, Resulting Numbers: [2, 65] Generated Node #0,0,1: 63:[2, 65] Operation: 70-5=65 Moving to Node #0,0,1 Current State: 63:[2, 65], Operations: ['91-21=70', '70-5=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 3, 69, 92, 46 ]
23
[ "69/3=23", "92-46=46", "46-23=23" ]
Current State: 23:[3, 69, 92, 46], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [92, 46, 23] Generated Node #2: [92, 46, 23] from Operation: 69/3=23 Current State: 23:[92, 46, 23], Operations: ['69/3=23'] Exploring Operation: 92-46=46, Resulting Numbers: [23, 46] Generated Node #3: [23, 46] from Operation: 92-46=46 Current State: 23:[23, 46], Operations: ['69/3=23', '92-46=46'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[3, 69, 92, 46], Operations: [] Exploring Operation: 92-69=23, Resulting Numbers: [3, 46, 23] Generated Node #0,0: 23:[3, 46, 23] Operation: 92-69=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[3, 46, 23], Operations: ['92-69=23'] Exploring Operation: 46-3=43, Resulting Numbers: [23, 43] Generated Node #0,0,0: 23:[23, 43] Operation: 46-3=43 Moving to Node #0,0,0 Current State: 23:[23, 43], Operations: ['92-69=23', '46-3=43'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,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
mult_heuristic
[ 85, 13, 39, 39 ]
91
[ "85-39=46", "46-39=7", "13*7=91" ]
Current State: 91:[85, 13, 39, 39], Operations: [] Exploring Operation: 85-39=46, Resulting Numbers: [13, 46] Generated Node #2: [13, 46] from Operation: 85-39=46 Current State: 91:[13, 46], Operations: ['85-39=46'] Exploring Operation: 46-39=7, Resulting Numbers: [13, 7] Generated Node #3: [13, 7] from Operation: 46-39=7 Current State: 91:[13, 7], Operations: ['85-39=46', '46-39=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 13, 39, 39], Operations: [] Exploring Operation: 39/39=1, Resulting Numbers: [85, 13, 1] Generated Node #0,0: 91:[85, 13, 1] Operation: 39/39=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[85, 13, 1], Operations: ['39/39=1'] Exploring Operation: 85+1=86, Resulting Numbers: [13, 86] Generated Node #0,0,0: 91:[13, 86] Operation: 85+1=86 Moving to Node #0,0,0 Current State: 91:[13, 86], Operations: ['39/39=1', '85+1=86'] Exploring Operation: 13+86=99, Resulting Numbers: [99] 99,91 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
[ 69, 24, 64, 46 ]
75
[ "69+24=93", "64-46=18", "93-18=75" ]
Current State: 75:[69, 24, 64, 46], Operations: [] Exploring Operation: 69+24=93, Resulting Numbers: [64, 46, 93] Generated Node #2: [64, 46, 93] from Operation: 69+24=93 Current State: 75:[64, 46, 93], Operations: ['69+24=93'] Exploring Operation: 64-46=18, Resulting Numbers: [93, 18] Generated Node #3: [93, 18] from Operation: 64-46=18 Current State: 75:[93, 18], Operations: ['69+24=93', '64-46=18'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[69, 24, 64, 46], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [69, 24, 18] Generated Node #0,0: 75:[69, 24, 18] Operation: 64-46=18 Moving to Node #0,0 Current State: 75:[69, 24, 18], Operations: ['64-46=18'] Exploring Operation: 24-18=6, Resulting Numbers: [69, 6] Generated Node #0,0,0: 75:[69, 6] Operation: 24-18=6 Moving to Node #0,0,0 Current State: 75:[69, 6], Operations: ['64-46=18', '24-18=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[69, 24, 64, 46], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [69, 24, 18] Generated Node #0,0: 75:[69, 24, 18] Operation: 64-46=18 Moving to Node #0,0 Current State: 75:[69, 24, 18], Operations: ['64-46=18'] Exploring Operation: 24-18=6, Resulting Numbers: [69, 6] Generated Node #0,0,0: 75:[69, 6] Operation: 24-18=6 Moving to Node #0,0,0 Current State: 75:[69, 6], Operations: ['64-46=18', '24-18=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 25, 2, 60, 57 ]
56
[ "25+60=85", "85-57=28", "2*28=56" ]
Current State: 56:[25, 2, 60, 57], Operations: [] Exploring Operation: 25+60=85, Resulting Numbers: [2, 57, 85] Generated Node #2: [2, 57, 85] from Operation: 25+60=85 Current State: 56:[2, 57, 85], Operations: ['25+60=85'] Exploring Operation: 85-57=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 85-57=28 Current State: 56:[2, 28], Operations: ['25+60=85', '85-57=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[25, 2, 60, 57], Operations: [] Exploring Operation: 25+2=27, Resulting Numbers: [60, 57, 27] Generated Node #0,0: 56:[60, 57, 27] Operation: 25+2=27 Exploring Operation: 60/2=30, Resulting Numbers: [25, 57, 30] Generated Node #0,1: 56:[25, 57, 30] Operation: 60/2=30 Exploring Operation: 60-25=35, Resulting Numbers: [2, 57, 35] Generated Node #0,2: 56:[2, 57, 35] Operation: 60-25=35 Exploring Operation: 60-57=3, Resulting Numbers: [25, 2, 3] Generated Node #0,3: 56:[25, 2, 3] Operation: 60-57=3 Exploring Operation: 60-2=58, Resulting Numbers: [25, 57, 58] Generated Node #0,4: 56:[25, 57, 58] Operation: 60-2=58 Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[25, 2, 3], Operations: ['60-57=3'] Exploring Operation: 25+2=27, Resulting Numbers: [3, 27] Generated Node #0,3,0: 56:[3, 27] Operation: 25+2=27 Exploring Operation: 25+3=28, Resulting Numbers: [2, 28] Generated Node #0,3,1: 56:[2, 28] Operation: 25+3=28 Exploring Operation: 3-2=1, Resulting Numbers: [25, 1] Generated Node #0,3,2: 56:[25, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [25, 5] Generated Node #0,3,3: 56:[25, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [25, 6] Generated Node #0,3,4: 56:[25, 6] Operation: 2*3=6 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[2, 28], Operations: ['60-57=3', '25+3=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[25, 2, 60, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [25, 2, 3] Generated Node #0,3: 56:[25, 2, 3] Operation: 60-57=3 Moving to Node #0,3 Current State: 56:[25, 2, 3], Operations: ['60-57=3'] Exploring Operation: 25+3=28, Resulting Numbers: [2, 28] Generated Node #0,3,1: 56:[2, 28] Operation: 25+3=28 Moving to Node #0,3,1 Current State: 56:[2, 28], Operations: ['60-57=3', '25+3=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 92, 99, 2, 94 ]
54
[ "99-92=7", "94/2=47", "7+47=54" ]
Current State: 54:[92, 99, 2, 94], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [2, 94, 7] Generated Node #2: [2, 94, 7] from Operation: 99-92=7 Current State: 54:[2, 94, 7], Operations: ['99-92=7'] Exploring Operation: 94/2=47, Resulting Numbers: [7, 47] Generated Node #3: [7, 47] from Operation: 94/2=47 Current State: 54:[7, 47], Operations: ['99-92=7', '94/2=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[92, 99, 2, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [92, 2, 5] Generated Node #0,0: 54:[92, 2, 5] Operation: 99-94=5 Exploring Operation: 99-92=7, Resulting Numbers: [2, 94, 7] Generated Node #0,1: 54:[2, 94, 7] Operation: 99-92=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[92, 2, 5], Operations: ['99-94=5'] Exploring Operation: 92-5=87, Resulting Numbers: [2, 87] Generated Node #0,0,0: 54:[2, 87] Operation: 92-5=87 Exploring Operation: 92/2=46, Resulting Numbers: [5, 46] Generated Node #0,0,1: 54:[5, 46] Operation: 92/2=46 Moving to Node #0,0,1 Current State: 54:[5, 46], Operations: ['99-94=5', '92/2=46'] Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[2, 87], Operations: ['99-94=5', '92-5=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,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,1 Current State: 54:[2, 94, 7], Operations: ['99-92=7'] Exploring Operation: 94-7=87, Resulting Numbers: [2, 87] Generated Node #0,1,0: 54:[2, 87] Operation: 94-7=87 Exploring Operation: 94/2=47, Resulting Numbers: [7, 47] Generated Node #0,1,1: 54:[7, 47] Operation: 94/2=47 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 54:[7, 47], Operations: ['99-92=7', '94/2=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[92, 99, 2, 94], Operations: [] Exploring Operation: 99-92=7, Resulting Numbers: [2, 94, 7] Generated Node #0,1: 54:[2, 94, 7] Operation: 99-92=7 Moving to Node #0,1 Current State: 54:[2, 94, 7], Operations: ['99-92=7'] Exploring Operation: 94/2=47, Resulting Numbers: [7, 47] Generated Node #0,1,1: 54:[7, 47] Operation: 94/2=47 Moving to Node #0,1,1 Current State: 54:[7, 47], Operations: ['99-92=7', '94/2=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 9, 2, 6, 85 ]
58
[ "9*6=54", "54/2=27", "85-27=58" ]
Current State: 58:[9, 2, 6, 85], Operations: [] Exploring Operation: 9*6=54, Resulting Numbers: [2, 85, 54] Generated Node #2: [2, 85, 54] from Operation: 9*6=54 Current State: 58:[2, 85, 54], Operations: ['9*6=54'] Exploring Operation: 54/2=27, Resulting Numbers: [85, 27] Generated Node #3: [85, 27] from Operation: 54/2=27 Current State: 58:[85, 27], Operations: ['9*6=54', '54/2=27'] Exploring Operation: 85-27=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[9, 2, 6, 85], Operations: [] Exploring Operation: 85-9=76, Resulting Numbers: [2, 6, 76] Generated Node #0,0: 58:[2, 6, 76] Operation: 85-9=76 Moving to Node #0,0 Current State: 58:[2, 6, 76], Operations: ['85-9=76'] Exploring Operation: 76-6=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 58:[2, 70] Operation: 76-6=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 70], Operations: ['85-9=76', '76-6=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,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
[ 4, 11, 2, 27 ]
79
[ "11+2=13", "4*13=52", "27+52=79" ]
Current State: 79:[4, 11, 2, 27], Operations: [] Exploring Operation: 11+2=13, Resulting Numbers: [4, 27, 13] Generated Node #2: [4, 27, 13] from Operation: 11+2=13 Current State: 79:[4, 27, 13], Operations: ['11+2=13'] Exploring Operation: 4*13=52, Resulting Numbers: [27, 52] Generated Node #3: [27, 52] from Operation: 4*13=52 Current State: 79:[27, 52], Operations: ['11+2=13', '4*13=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[4, 11, 2, 27], Operations: [] Exploring Operation: 2*27=54, Resulting Numbers: [4, 11, 54] Generated Node #0,0: 79:[4, 11, 54] Operation: 2*27=54 Exploring Operation: 4*11=44, Resulting Numbers: [2, 27, 44] Generated Node #0,1: 79:[2, 27, 44] Operation: 4*11=44 Moving to Node #0,1 Current State: 79:[2, 27, 44], Operations: ['4*11=44'] Exploring Operation: 2*44=88, Resulting Numbers: [27, 88] Generated Node #0,1,0: 79:[27, 88] Operation: 2*44=88 Exploring Operation: 2*27=54, Resulting Numbers: [44, 54] Generated Node #0,1,1: 79:[44, 54] Operation: 2*27=54 Moving to Node #0,0 Current State: 79:[4, 11, 54], Operations: ['2*27=54'] Exploring Operation: 4+11=15, Resulting Numbers: [54, 15] Generated Node #0,0,0: 79:[54, 15] Operation: 4+11=15 Exploring Operation: 4*11=44, Resulting Numbers: [54, 44] Generated Node #0,0,1: 79:[54, 44] Operation: 4*11=44 Moving to Node #0,1,1 Current State: 79:[44, 54], Operations: ['4*11=44', '2*27=54'] Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,79 unequal: No Solution Exploring Operation: 44+54=98, Resulting Numbers: [98] 98,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[54, 44], Operations: ['2*27=54', '4*11=44'] Exploring Operation: 54+44=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 54-44=10, Resulting Numbers: [10] 10,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[27, 88], Operations: ['4*11=44', '2*44=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[54, 15], Operations: ['2*27=54', '4+11=15'] Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,79 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 50, 73, 97, 13 ]
13
[ "50+73=123", "97+13=110", "123-110=13" ]
Current State: 13:[50, 73, 97, 13], Operations: [] Exploring Operation: 50+73=123, Resulting Numbers: [97, 13, 123] Generated Node #2: [97, 13, 123] from Operation: 50+73=123 Current State: 13:[97, 13, 123], Operations: ['50+73=123'] Exploring Operation: 97+13=110, Resulting Numbers: [123, 110] Generated Node #3: [123, 110] from Operation: 97+13=110 Current State: 13:[123, 110], Operations: ['50+73=123', '97+13=110'] Exploring Operation: 123-110=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[50, 73, 97, 13], Operations: [] Exploring Operation: 97-50=47, Resulting Numbers: [73, 13, 47] Generated Node #0,0: 13:[73, 13, 47] Operation: 97-50=47 Exploring Operation: 73-50=23, Resulting Numbers: [97, 13, 23] Generated Node #0,1: 13:[97, 13, 23] Operation: 73-50=23 Exploring Operation: 97-73=24, Resulting Numbers: [50, 13, 24] Generated Node #0,2: 13:[50, 13, 24] Operation: 97-73=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[50, 13, 24], Operations: ['97-73=24'] Exploring Operation: 50-13=37, Resulting Numbers: [24, 37] Generated Node #0,2,0: 13:[24, 37] Operation: 50-13=37 Exploring Operation: 24-13=11, Resulting Numbers: [50, 11] Generated Node #0,2,1: 13:[50, 11] Operation: 24-13=11 Exploring Operation: 50-24=26, Resulting Numbers: [13, 26] Generated Node #0,2,2: 13:[13, 26] Operation: 50-24=26 Moving to Node #0,2,2 Current State: 13:[13, 26], Operations: ['97-73=24', '50-24=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[50, 73, 97, 13], Operations: [] Exploring Operation: 97-73=24, Resulting Numbers: [50, 13, 24] Generated Node #0,2: 13:[50, 13, 24] Operation: 97-73=24 Moving to Node #0,2 Current State: 13:[50, 13, 24], Operations: ['97-73=24'] Exploring Operation: 50-24=26, Resulting Numbers: [13, 26] Generated Node #0,2,2: 13:[13, 26] Operation: 50-24=26 Moving to Node #0,2,2 Current State: 13:[13, 26], Operations: ['97-73=24', '50-24=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 88, 1, 43, 43 ]
90
[ "88+1=89", "43/43=1", "89+1=90" ]
Current State: 90:[88, 1, 43, 43], Operations: [] Exploring Operation: 88+1=89, Resulting Numbers: [43, 43, 89] Generated Node #2: [43, 43, 89] from Operation: 88+1=89 Current State: 90:[43, 43, 89], Operations: ['88+1=89'] Exploring Operation: 43/43=1, Resulting Numbers: [89, 1] Generated Node #3: [89, 1] from Operation: 43/43=1 Current State: 90:[89, 1], Operations: ['88+1=89', '43/43=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[88, 1, 43, 43], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [1, 43, 45] Generated Node #0,0: 90:[1, 43, 45] Operation: 88-43=45 Exploring Operation: 88-43=45, Resulting Numbers: [1, 43, 45] Generated Node #0,1: 90:[1, 43, 45] Operation: 88-43=45 Moving to Node #0,0 Current State: 90:[1, 43, 45], Operations: ['88-43=45'] Exploring Operation: 45-43=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 90:[1, 2] Operation: 45-43=2 Exploring Operation: 1+43=44, Resulting Numbers: [45, 44] Generated Node #0,0,1: 90:[45, 44] Operation: 1+43=44 Moving to Node #0,1 Current State: 90:[1, 43, 45], Operations: ['88-43=45'] Exploring Operation: 1+43=44, Resulting Numbers: [45, 44] Generated Node #0,1,0: 90:[45, 44] Operation: 1+43=44 Exploring Operation: 45-43=2, Resulting Numbers: [1, 2] Generated Node #0,1,1: 90:[1, 2] Operation: 45-43=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[45, 44], Operations: ['88-43=45', '1+43=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[1, 2], Operations: ['88-43=45', '45-43=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 90:[1, 2], Operations: ['88-43=45', '45-43=2'] Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[45, 44], Operations: ['88-43=45', '1+43=44'] Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 88, 12, 96, 72 ]
78
[ "88*72=6336", "6336/96=66", "12+66=78" ]
Current State: 78:[88, 12, 96, 72], Operations: [] Exploring Operation: 88*72=6336, Resulting Numbers: [12, 96, 6336] Generated Node #2: [12, 96, 6336] from Operation: 88*72=6336 Current State: 78:[12, 96, 6336], Operations: ['88*72=6336'] Exploring Operation: 6336/96=66, Resulting Numbers: [12, 66] Generated Node #3: [12, 66] from Operation: 6336/96=66 Current State: 78:[12, 66], Operations: ['88*72=6336', '6336/96=66'] Exploring Operation: 12+66=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[88, 12, 96, 72], Operations: [] Exploring Operation: 96-72=24, Resulting Numbers: [88, 12, 24] Generated Node #0,0: 78:[88, 12, 24] Operation: 96-72=24 Exploring Operation: 96-88=8, Resulting Numbers: [12, 72, 8] Generated Node #0,1: 78:[12, 72, 8] Operation: 96-88=8 Exploring Operation: 96/12=8, Resulting Numbers: [88, 72, 8] Generated Node #0,2: 78:[88, 72, 8] Operation: 96/12=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[12, 72, 8], Operations: ['96-88=8'] Exploring Operation: 72+8=80, Resulting Numbers: [12, 80] Generated Node #0,1,0: 78:[12, 80] Operation: 72+8=80 Exploring Operation: 72/12=6, Resulting Numbers: [8, 6] Generated Node #0,1,1: 78:[8, 6] Operation: 72/12=6 Exploring Operation: 72/8=9, Resulting Numbers: [12, 9] Generated Node #0,1,2: 78:[12, 9] Operation: 72/8=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[8, 6], Operations: ['96-88=8', '72/12=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,78 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[12, 80], Operations: ['96-88=8', '72+8=80'] Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,78 unequal: No Solution Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,78 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[12, 9], Operations: ['96-88=8', '72/8=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,78 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[88, 12, 24], Operations: ['96-72=24'] Exploring Operation: 24-12=12, Resulting Numbers: [88, 12] Generated Node #0,0,0: 78:[88, 12] Operation: 24-12=12 Exploring Operation: 88-12=76, Resulting Numbers: [24, 76] Generated Node #0,0,1: 78:[24, 76] Operation: 88-12=76 Exploring Operation: 24/12=2, Resulting Numbers: [88, 2] Generated Node #0,0,2: 78:[88, 2] Operation: 24/12=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[24, 76], Operations: ['96-72=24', '88-12=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,78 unequal: No Solution Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[88, 2], Operations: ['96-72=24', '24/12=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,78 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[88, 12], Operations: ['96-72=24', '24-12=12'] Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,78 unequal: No Solution Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,78 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[88, 72, 8], Operations: ['96/12=8'] Exploring Operation: 88-72=16, Resulting Numbers: [8, 16] Generated Node #0,2,0: 78:[8, 16] Operation: 88-72=16 Exploring Operation: 88/8=11, Resulting Numbers: [72, 11] Generated Node #0,2,1: 78:[72, 11] Operation: 88/8=11 Exploring Operation: 88-8=80, Resulting Numbers: [72, 80] Generated Node #0,2,2: 78:[72, 80] Operation: 88-8=80 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[8, 16], Operations: ['96/12=8', '88-72=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[72, 11], Operations: ['96/12=8', '88/8=11'] Exploring Operation: 72+11=83, Resulting Numbers: [83] 83,78 unequal: No Solution Exploring Operation: 72*11=792, Resulting Numbers: [792] 792,78 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[72, 80], Operations: ['96/12=8', '88-8=80'] Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,78 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 83, 42, 78, 69 ]
98
[ "83+78=161", "42*161=6762", "6762/69=98" ]
Current State: 98:[83, 42, 78, 69], Operations: [] Exploring Operation: 83+78=161, Resulting Numbers: [42, 69, 161] Generated Node #2: [42, 69, 161] from Operation: 83+78=161 Current State: 98:[42, 69, 161], Operations: ['83+78=161'] Exploring Operation: 42*161=6762, Resulting Numbers: [69, 6762] Generated Node #3: [69, 6762] from Operation: 42*161=6762 Current State: 98:[69, 6762], Operations: ['83+78=161', '42*161=6762'] Exploring Operation: 6762/69=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[83, 42, 78, 69], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [83, 42, 9] Generated Node #0,0: 98:[83, 42, 9] Operation: 78-69=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[83, 42, 9], Operations: ['78-69=9'] Exploring Operation: 83-42=41, Resulting Numbers: [9, 41] Generated Node #0,0,0: 98:[9, 41] Operation: 83-42=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[9, 41], Operations: ['78-69=9', '83-42=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,98 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
[ 38, 84, 78, 51 ]
73
[ "84-38=46", "78-51=27", "46+27=73" ]
Current State: 73:[38, 84, 78, 51], Operations: [] Exploring Operation: 84-38=46, Resulting Numbers: [78, 51, 46] Generated Node #2: [78, 51, 46] from Operation: 84-38=46 Current State: 73:[78, 51, 46], Operations: ['84-38=46'] Exploring Operation: 78-51=27, Resulting Numbers: [46, 27] Generated Node #3: [46, 27] from Operation: 78-51=27 Current State: 73:[46, 27], Operations: ['84-38=46', '78-51=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[38, 84, 78, 51], Operations: [] Exploring Operation: 38+84=122, Resulting Numbers: [78, 51, 122] Generated Node #0,0: 73:[78, 51, 122] Operation: 38+84=122 Exploring Operation: 38+78=116, Resulting Numbers: [84, 51, 116] Generated Node #0,1: 73:[84, 51, 116] Operation: 38+78=116 Exploring Operation: 84-38=46, Resulting Numbers: [78, 51, 46] Generated Node #0,2: 73:[78, 51, 46] Operation: 84-38=46 Exploring Operation: 78-38=40, Resulting Numbers: [84, 51, 40] Generated Node #0,3: 73:[84, 51, 40] Operation: 78-38=40 Exploring Operation: 38+51=89, Resulting Numbers: [84, 78, 89] Generated Node #0,4: 73:[84, 78, 89] Operation: 38+51=89 Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[84, 78, 89], Operations: ['38+51=89'] Exploring Operation: 89-84=5, Resulting Numbers: [78, 5] Generated Node #0,4,0: 73:[78, 5] Operation: 89-84=5 Exploring Operation: 84+89=173, Resulting Numbers: [78, 173] Generated Node #0,4,1: 73:[78, 173] Operation: 84+89=173 Exploring Operation: 84-78=6, Resulting Numbers: [89, 6] Generated Node #0,4,2: 73:[89, 6] Operation: 84-78=6 Exploring Operation: 89-78=11, Resulting Numbers: [84, 11] Generated Node #0,4,3: 73:[84, 11] Operation: 89-78=11 Exploring Operation: 84+78=162, Resulting Numbers: [89, 162] Generated Node #0,4,4: 73:[89, 162] Operation: 84+78=162 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 73:[78, 5], Operations: ['38+51=89', '89-84=5'] Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,73 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,73 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[38, 84, 78, 51], Operations: [] Exploring Operation: 38+51=89, Resulting Numbers: [84, 78, 89] Generated Node #0,4: 73:[84, 78, 89] Operation: 38+51=89 Moving to Node #0,4 Current State: 73:[84, 78, 89], Operations: ['38+51=89'] Exploring Operation: 89-84=5, Resulting Numbers: [78, 5] Generated Node #0,4,0: 73:[78, 5] Operation: 89-84=5 Moving to Node #0,4,0 Current State: 73:[78, 5], Operations: ['38+51=89', '89-84=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 20, 24, 9, 31 ]
22
[ "20+24=44", "31-9=22", "44-22=22" ]
Current State: 22:[20, 24, 9, 31], Operations: [] Exploring Operation: 20+24=44, Resulting Numbers: [9, 31, 44] Generated Node #2: [9, 31, 44] from Operation: 20+24=44 Current State: 22:[9, 31, 44], Operations: ['20+24=44'] Exploring Operation: 31-9=22, Resulting Numbers: [44, 22] Generated Node #3: [44, 22] from Operation: 31-9=22 Current State: 22:[44, 22], Operations: ['20+24=44', '31-9=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[20, 24, 9, 31], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [24, 9, 11] Generated Node #0,0: 22:[24, 9, 11] Operation: 31-20=11 Moving to Node #0,0 Current State: 22:[24, 9, 11], Operations: ['31-20=11'] Exploring Operation: 11-9=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 22:[24, 2] Operation: 11-9=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[24, 2], Operations: ['31-20=11', '11-9=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[20, 24, 9, 31], Operations: [] Exploring Operation: 31-20=11, Resulting Numbers: [24, 9, 11] Generated Node #0,0: 22:[24, 9, 11] Operation: 31-20=11 Moving to Node #0,0 Current State: 22:[24, 9, 11], Operations: ['31-20=11'] Exploring Operation: 11-9=2, Resulting Numbers: [24, 2] Generated Node #0,0,0: 22:[24, 2] Operation: 11-9=2 Moving to Node #0,0,0 Current State: 22:[24, 2], Operations: ['31-20=11', '11-9=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 47, 94, 97, 64 ]
37
[ "47+64=111", "97-94=3", "111/3=37" ]
Current State: 37:[47, 94, 97, 64], Operations: [] Exploring Operation: 47+64=111, Resulting Numbers: [94, 97, 111] Generated Node #2: [94, 97, 111] from Operation: 47+64=111 Current State: 37:[94, 97, 111], Operations: ['47+64=111'] Exploring Operation: 97-94=3, Resulting Numbers: [111, 3] Generated Node #3: [111, 3] from Operation: 97-94=3 Current State: 37:[111, 3], Operations: ['47+64=111', '97-94=3'] Exploring Operation: 111/3=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[47, 94, 97, 64], Operations: [] Exploring Operation: 97-64=33, Resulting Numbers: [47, 94, 33] Generated Node #0,0: 37:[47, 94, 33] Operation: 97-64=33 Exploring Operation: 94-47=47, Resulting Numbers: [97, 64, 47] Generated Node #0,1: 37:[97, 64, 47] Operation: 94-47=47 Exploring Operation: 94-64=30, Resulting Numbers: [47, 97, 30] Generated Node #0,2: 37:[47, 97, 30] Operation: 94-64=30 Exploring Operation: 97-94=3, Resulting Numbers: [47, 64, 3] Generated Node #0,3: 37:[47, 64, 3] Operation: 97-94=3 Moving to Node #0,0 Current State: 37:[47, 94, 33], Operations: ['97-64=33'] Exploring Operation: 94-33=61, Resulting Numbers: [47, 61] Generated Node #0,0,0: 37:[47, 61] Operation: 94-33=61 Exploring Operation: 47-33=14, Resulting Numbers: [94, 14] Generated Node #0,0,1: 37:[94, 14] Operation: 47-33=14 Exploring Operation: 94-47=47, Resulting Numbers: [33, 47] Generated Node #0,0,2: 37:[33, 47] Operation: 94-47=47 Exploring Operation: 94/47=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 37:[33, 2] Operation: 94/47=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[33, 47], Operations: ['97-64=33', '94-47=47'] Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,37 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[47, 61], Operations: ['97-64=33', '94-33=61'] Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[33, 2], Operations: ['97-64=33', '94/47=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,37 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[94, 14], Operations: ['97-64=33', '47-33=14'] Exploring Operation: 94-14=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 94+14=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 94*14=1316, Resulting Numbers: [1316] 1316,37 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: 37:[47, 64, 3], Operations: ['97-94=3'] Exploring Operation: 64+3=67, Resulting Numbers: [47, 67] Generated Node #0,3,0: 37:[47, 67] Operation: 64+3=67 Exploring Operation: 47+3=50, Resulting Numbers: [64, 50] Generated Node #0,3,1: 37:[64, 50] Operation: 47+3=50 Exploring Operation: 47-3=44, Resulting Numbers: [64, 44] Generated Node #0,3,2: 37:[64, 44] Operation: 47-3=44 Exploring Operation: 64-3=61, Resulting Numbers: [47, 61] Generated Node #0,3,3: 37:[47, 61] Operation: 64-3=61 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[64, 44], Operations: ['97-94=3', '47-3=44'] Exploring Operation: 64*44=2816, Resulting Numbers: [2816] 2816,37 unequal: No Solution Exploring Operation: 64+44=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 64-44=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[47, 61], Operations: ['97-94=3', '64-3=61'] Exploring Operation: 47*61=2867, Resulting Numbers: [2867] 2867,37 unequal: No Solution Exploring Operation: 47+61=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[47, 67], Operations: ['97-94=3', '64+3=67'] Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,37 unequal: No Solution Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[64, 50], Operations: ['97-94=3', '47+3=50'] Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,37 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,37 unequal: No Solution Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,37 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: 37:[47, 97, 30], Operations: ['94-64=30'] Exploring Operation: 47-30=17, Resulting Numbers: [97, 17] Generated Node #0,2,0: 37:[97, 17] Operation: 47-30=17 Exploring Operation: 97-30=67, Resulting Numbers: [47, 67] Generated Node #0,2,1: 37:[47, 67] Operation: 97-30=67 Exploring Operation: 97-47=50, Resulting Numbers: [30, 50] Generated Node #0,2,2: 37:[30, 50] Operation: 97-47=50 Exploring Operation: 47+30=77, Resulting Numbers: [97, 77] Generated Node #0,2,3: 37:[97, 77] Operation: 47+30=77 Moving to Node #0,1 Current State: 37:[97, 64, 47], Operations: ['94-47=47'] Exploring Operation: 64-47=17, Resulting Numbers: [97, 17] Generated Node #0,1,0: 37:[97, 17] Operation: 64-47=17 Exploring Operation: 97-47=50, Resulting Numbers: [64, 50] Generated Node #0,1,1: 37:[64, 50] Operation: 97-47=50 Exploring Operation: 97-64=33, Resulting Numbers: [47, 33] Generated Node #0,1,2: 37:[47, 33] Operation: 97-64=33 Exploring Operation: 97+64=161, Resulting Numbers: [47, 161] Generated Node #0,1,3: 37:[47, 161] Operation: 97+64=161 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[47, 33], Operations: ['94-47=47', '97-64=33'] Exploring Operation: 47+33=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 47*33=1551, Resulting Numbers: [1551] 1551,37 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[64, 50], Operations: ['94-47=47', '97-47=50'] Exploring Operation: 64+50=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 64*50=3200, Resulting Numbers: [3200] 3200,37 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[97, 17], Operations: ['94-47=47', '64-47=17'] Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,37 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[47, 161], Operations: ['94-47=47', '97+64=161'] Exploring Operation: 47*161=7567, Resulting Numbers: [7567] 7567,37 unequal: No Solution Exploring Operation: 47+161=208, Resulting Numbers: [208] 208,37 unequal: No Solution Exploring Operation: 161-47=114, Resulting Numbers: [114] 114,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 37:[30, 50], Operations: ['94-64=30', '97-47=50'] Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,37 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[47, 67], Operations: ['94-64=30', '97-30=67'] Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,37 unequal: No Solution Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,37 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[97, 17], Operations: ['94-64=30', '47-30=17'] Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,37 unequal: No Solution Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[97, 77], Operations: ['94-64=30', '47+30=77'] Exploring Operation: 97*77=7469, Resulting Numbers: [7469] 7469,37 unequal: No Solution Exploring Operation: 97-77=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 97+77=174, Resulting Numbers: [174] 174,37 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 30, 54, 73, 96 ]
77
[ "54-30=24", "96/24=4", "73+4=77" ]
Current State: 77:[30, 54, 73, 96], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [73, 96, 24] Generated Node #2: [73, 96, 24] from Operation: 54-30=24 Current State: 77:[73, 96, 24], Operations: ['54-30=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 96/24=4 Current State: 77:[73, 4], Operations: ['54-30=24', '96/24=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[30, 54, 73, 96], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [73, 96, 24] Generated Node #0,0: 77:[73, 96, 24] Operation: 54-30=24 Exploring Operation: 96-30=66, Resulting Numbers: [54, 73, 66] Generated Node #0,1: 77:[54, 73, 66] Operation: 96-30=66 Exploring Operation: 30+54=84, Resulting Numbers: [73, 96, 84] Generated Node #0,2: 77:[73, 96, 84] Operation: 30+54=84 Moving to Node #0,2 Current State: 77:[73, 96, 84], Operations: ['30+54=84'] Exploring Operation: 96-84=12, Resulting Numbers: [73, 12] Generated Node #0,2,0: 77:[73, 12] Operation: 96-84=12 Exploring Operation: 84-73=11, Resulting Numbers: [96, 11] Generated Node #0,2,1: 77:[96, 11] Operation: 84-73=11 Exploring Operation: 96-73=23, Resulting Numbers: [84, 23] Generated Node #0,2,2: 77:[84, 23] Operation: 96-73=23 Moving to Node #0,0 Current State: 77:[73, 96, 24], Operations: ['54-30=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 77:[73, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [73, 72] Generated Node #0,0,1: 77:[73, 72] Operation: 96-24=72 Exploring Operation: 96-73=23, Resulting Numbers: [24, 23] Generated Node #0,0,2: 77:[24, 23] Operation: 96-73=23 Moving to Node #0,1 Current State: 77:[54, 73, 66], Operations: ['96-30=66'] Exploring Operation: 73-54=19, Resulting Numbers: [66, 19] Generated Node #0,1,0: 77:[66, 19] Operation: 73-54=19 Exploring Operation: 66-54=12, Resulting Numbers: [73, 12] Generated Node #0,1,1: 77:[73, 12] Operation: 66-54=12 Exploring Operation: 73-66=7, Resulting Numbers: [54, 7] Generated Node #0,1,2: 77:[54, 7] Operation: 73-66=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[73, 12], Operations: ['96-30=66', '66-54=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,77 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[66, 19], Operations: ['96-30=66', '73-54=19'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 66*19=1254, Resulting Numbers: [1254] 1254,77 unequal: No Solution Exploring Operation: 66+19=85, Resulting Numbers: [85] 85,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[54, 7], Operations: ['96-30=66', '73-66=7'] Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,77 unequal: No Solution Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 77:[73, 12], Operations: ['30+54=84', '96-84=12'] Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,77 unequal: No Solution Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,77 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[73, 4], Operations: ['54-30=24', '96/24=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[30, 54, 73, 96], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [73, 96, 24] Generated Node #0,0: 77:[73, 96, 24] Operation: 54-30=24 Moving to Node #0,0 Current State: 77:[73, 96, 24], Operations: ['54-30=24'] Exploring Operation: 96/24=4, Resulting Numbers: [73, 4] Generated Node #0,0,0: 77:[73, 4] Operation: 96/24=4 Moving to Node #0,0,0 Current State: 77:[73, 4], Operations: ['54-30=24', '96/24=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 19, 32, 7, 76 ]
100
[ "76/19=4", "32-7=25", "4*25=100" ]
Current State: 100:[19, 32, 7, 76], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [32, 7, 4] Generated Node #2: [32, 7, 4] from Operation: 76/19=4 Current State: 100:[32, 7, 4], Operations: ['76/19=4'] Exploring Operation: 32-7=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 32-7=25 Current State: 100:[4, 25], Operations: ['76/19=4', '32-7=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[19, 32, 7, 76], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [19, 7, 44] Generated Node #0,0: 100:[19, 7, 44] Operation: 76-32=44 Exploring Operation: 32+76=108, Resulting Numbers: [19, 7, 108] Generated Node #0,1: 100:[19, 7, 108] Operation: 32+76=108 Exploring Operation: 76/19=4, Resulting Numbers: [32, 7, 4] Generated Node #0,2: 100:[32, 7, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[19, 7, 44], Operations: ['76-32=44'] Exploring Operation: 7+44=51, Resulting Numbers: [19, 51] Generated Node #0,0,0: 100:[19, 51] Operation: 7+44=51 Exploring Operation: 44-19=25, Resulting Numbers: [7, 25] Generated Node #0,0,1: 100:[7, 25] Operation: 44-19=25 Exploring Operation: 19+7=26, Resulting Numbers: [44, 26] Generated Node #0,0,2: 100:[44, 26] Operation: 19+7=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[19, 51], Operations: ['76-32=44', '7+44=51'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,100 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 19*51=969, Resulting Numbers: [969] 969,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[7, 25], Operations: ['76-32=44', '44-19=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[44, 26], Operations: ['76-32=44', '19+7=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 44*26=1144, Resulting Numbers: [1144] 1144,100 unequal: No Solution Exploring Operation: 44-26=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[32, 7, 4], Operations: ['76/19=4'] Exploring Operation: 32-7=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 100:[4, 25] Operation: 32-7=25 Exploring Operation: 32-4=28, Resulting Numbers: [7, 28] Generated Node #0,2,1: 100:[7, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [7, 8] Generated Node #0,2,2: 100:[7, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[4, 25], Operations: ['76/19=4', '32-7=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[19, 32, 7, 76], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [32, 7, 4] Generated Node #0,2: 100:[32, 7, 4] Operation: 76/19=4 Moving to Node #0,2 Current State: 100:[32, 7, 4], Operations: ['76/19=4'] Exploring Operation: 32-7=25, Resulting Numbers: [4, 25] Generated Node #0,2,0: 100:[4, 25] Operation: 32-7=25 Moving to Node #0,2,0 Current State: 100:[4, 25], Operations: ['76/19=4', '32-7=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 99, 47, 25, 94 ]
76
[ "99-25=74", "94/47=2", "74+2=76" ]
Current State: 76:[99, 47, 25, 94], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [47, 94, 74] Generated Node #2: [47, 94, 74] from Operation: 99-25=74 Current State: 76:[47, 94, 74], Operations: ['99-25=74'] Exploring Operation: 94/47=2, Resulting Numbers: [74, 2] Generated Node #3: [74, 2] from Operation: 94/47=2 Current State: 76:[74, 2], Operations: ['99-25=74', '94/47=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[99, 47, 25, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [47, 25, 5] Generated Node #0,0: 76:[47, 25, 5] Operation: 99-94=5 Moving to Node #0,0 Current State: 76:[47, 25, 5], Operations: ['99-94=5'] Exploring Operation: 47-25=22, Resulting Numbers: [5, 22] Generated Node #0,0,0: 76:[5, 22] Operation: 47-25=22 Moving to Node #0,0,0 Current State: 76:[5, 22], Operations: ['99-94=5', '47-25=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 61, 26, 93, 77 ]
83
[ "61+26=87", "93+77=170", "170-87=83" ]
Current State: 83:[61, 26, 93, 77], Operations: [] Exploring Operation: 61+26=87, Resulting Numbers: [93, 77, 87] Generated Node #2: [93, 77, 87] from Operation: 61+26=87 Current State: 83:[93, 77, 87], Operations: ['61+26=87'] Exploring Operation: 93+77=170, Resulting Numbers: [87, 170] Generated Node #3: [87, 170] from Operation: 93+77=170 Current State: 83:[87, 170], Operations: ['61+26=87', '93+77=170'] Exploring Operation: 170-87=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[61, 26, 93, 77], Operations: [] Exploring Operation: 93-26=67, Resulting Numbers: [61, 77, 67] Generated Node #0,0: 83:[61, 77, 67] Operation: 93-26=67 Exploring Operation: 61+26=87, Resulting Numbers: [93, 77, 87] Generated Node #0,1: 83:[93, 77, 87] Operation: 61+26=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[93, 77, 87], Operations: ['61+26=87'] Exploring Operation: 93-77=16, Resulting Numbers: [87, 16] Generated Node #0,1,0: 83:[87, 16] Operation: 93-77=16 Exploring Operation: 93-87=6, Resulting Numbers: [77, 6] Generated Node #0,1,1: 83:[77, 6] Operation: 93-87=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[87, 16], Operations: ['61+26=87', '93-77=16'] Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 87+16=103, Resulting Numbers: [103] 103,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[77, 6], Operations: ['61+26=87', '93-87=6'] Exploring Operation: 77-6=71, Resulting Numbers: [71] 71,83 unequal: No Solution Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[61, 26, 93, 77], Operations: [] Exploring Operation: 61+26=87, Resulting Numbers: [93, 77, 87] Generated Node #0,1: 83:[93, 77, 87] Operation: 61+26=87 Moving to Node #0,1 Current State: 83:[93, 77, 87], Operations: ['61+26=87'] Exploring Operation: 93-87=6, Resulting Numbers: [77, 6] Generated Node #0,1,1: 83:[77, 6] Operation: 93-87=6 Moving to Node #0,1,1 Current State: 83:[77, 6], Operations: ['61+26=87', '93-87=6'] Exploring Operation: 77+6=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 26, 65, 94, 40 ]
62
[ "26+94=120", "120/40=3", "65-3=62" ]
Current State: 62:[26, 65, 94, 40], Operations: [] Exploring Operation: 26+94=120, Resulting Numbers: [65, 40, 120] Generated Node #2: [65, 40, 120] from Operation: 26+94=120 Current State: 62:[65, 40, 120], Operations: ['26+94=120'] Exploring Operation: 120/40=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 120/40=3 Current State: 62:[65, 3], Operations: ['26+94=120', '120/40=3'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[26, 65, 94, 40], Operations: [] Exploring Operation: 94-26=68, Resulting Numbers: [65, 40, 68] Generated Node #0,0: 62:[65, 40, 68] Operation: 94-26=68 Exploring Operation: 94-40=54, Resulting Numbers: [26, 65, 54] Generated Node #0,1: 62:[26, 65, 54] Operation: 94-40=54 Exploring Operation: 26+40=66, Resulting Numbers: [65, 94, 66] Generated Node #0,2: 62:[65, 94, 66] Operation: 26+40=66 Exploring Operation: 94-65=29, Resulting Numbers: [26, 40, 29] Generated Node #0,3: 62:[26, 40, 29] Operation: 94-65=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[26, 65, 54], Operations: ['94-40=54'] Exploring Operation: 65-54=11, Resulting Numbers: [26, 11] Generated Node #0,1,0: 62:[26, 11] Operation: 65-54=11 Exploring Operation: 65-26=39, Resulting Numbers: [54, 39] Generated Node #0,1,1: 62:[54, 39] Operation: 65-26=39 Exploring Operation: 26+54=80, Resulting Numbers: [65, 80] Generated Node #0,1,2: 62:[65, 80] Operation: 26+54=80 Exploring Operation: 54-26=28, Resulting Numbers: [65, 28] Generated Node #0,1,3: 62:[65, 28] Operation: 54-26=28 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[65, 28], Operations: ['94-40=54', '54-26=28'] Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,62 unequal: No Solution No 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: 62:[26, 11], Operations: ['94-40=54', '65-54=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,62 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,62 unequal: No Solution No 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: 62:[54, 39], Operations: ['94-40=54', '65-26=39'] Exploring Operation: 54+39=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 54*39=2106, Resulting Numbers: [2106] 2106,62 unequal: No Solution Exploring Operation: 54-39=15, Resulting Numbers: [15] 15,62 unequal: No Solution No 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: 62:[65, 80], Operations: ['94-40=54', '26+54=80'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,62 unequal: No Solution Exploring Operation: 65*80=5200, Resulting Numbers: [5200] 5200,62 unequal: No Solution Exploring Operation: 65+80=145, Resulting Numbers: [145] 145,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[26, 40, 29], Operations: ['94-65=29'] Exploring Operation: 26+40=66, Resulting Numbers: [29, 66] Generated Node #0,3,0: 62:[29, 66] Operation: 26+40=66 Exploring Operation: 40-26=14, Resulting Numbers: [29, 14] Generated Node #0,3,1: 62:[29, 14] Operation: 40-26=14 Exploring Operation: 40+29=69, Resulting Numbers: [26, 69] Generated Node #0,3,2: 62:[26, 69] Operation: 40+29=69 Exploring Operation: 29-26=3, Resulting Numbers: [40, 3] Generated Node #0,3,3: 62:[40, 3] Operation: 29-26=3 Moving to Node #0,3,0 Current State: 62:[29, 66], Operations: ['94-65=29', '26+40=66'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,62 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[40, 3], Operations: ['94-65=29', '29-26=3'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[26, 69], Operations: ['94-65=29', '40+29=69'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 26*69=1794, Resulting Numbers: [1794] 1794,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[29, 14], Operations: ['94-65=29', '40-26=14'] Exploring Operation: 29*14=406, Resulting Numbers: [406] 406,62 unequal: No Solution Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,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,0 Current State: 62:[65, 40, 68], Operations: ['94-26=68'] Exploring Operation: 68-40=28, Resulting Numbers: [65, 28] Generated Node #0,0,0: 62:[65, 28] Operation: 68-40=28 Exploring Operation: 68-65=3, Resulting Numbers: [40, 3] Generated Node #0,0,1: 62:[40, 3] Operation: 68-65=3 Exploring Operation: 65-40=25, Resulting Numbers: [68, 25] Generated Node #0,0,2: 62:[68, 25] Operation: 65-40=25 Exploring Operation: 65+40=105, Resulting Numbers: [68, 105] Generated Node #0,0,3: 62:[68, 105] Operation: 65+40=105 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[65, 28], Operations: ['94-26=68', '68-40=28'] Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,62 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,62 unequal: No Solution No 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: 62:[40, 3], Operations: ['94-26=68', '68-65=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,62 unequal: No Solution No 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: 62:[68, 25], Operations: ['94-26=68', '65-40=25'] Exploring Operation: 68+25=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 68*25=1700, Resulting Numbers: [1700] 1700,62 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,62 unequal: No Solution No 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: 62:[68, 105], Operations: ['94-26=68', '65+40=105'] Exploring Operation: 68+105=173, Resulting Numbers: [173] 173,62 unequal: No Solution Exploring Operation: 68*105=7140, Resulting Numbers: [7140] 7140,62 unequal: No Solution Exploring Operation: 105-68=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[65, 94, 66], Operations: ['26+40=66'] Exploring Operation: 66-65=1, Resulting Numbers: [94, 1] Generated Node #0,2,0: 62:[94, 1] Operation: 66-65=1 Exploring Operation: 94-65=29, Resulting Numbers: [66, 29] Generated Node #0,2,1: 62:[66, 29] Operation: 94-65=29 Exploring Operation: 65+94=159, Resulting Numbers: [66, 159] Generated Node #0,2,2: 62:[66, 159] Operation: 65+94=159 Exploring Operation: 94-66=28, Resulting Numbers: [65, 28] Generated Node #0,2,3: 62:[65, 28] Operation: 94-66=28 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[66, 29], Operations: ['26+40=66', '94-65=29'] Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,62 unequal: No Solution No 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: 62:[65, 28], Operations: ['26+40=66', '94-66=28'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 65+28=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 65*28=1820, Resulting Numbers: [1820] 1820,62 unequal: No Solution No 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: 62:[94, 1], Operations: ['26+40=66', '66-65=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,62 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,62 unequal: No Solution Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,62 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,62 unequal: No Solution No 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: 62:[66, 159], Operations: ['26+40=66', '65+94=159'] Exploring Operation: 66+159=225, Resulting Numbers: [225] 225,62 unequal: No Solution Exploring Operation: 159-66=93, Resulting Numbers: [93] 93,62 unequal: No Solution Exploring Operation: 66*159=10494, Resulting Numbers: [10494] 10494,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 59, 11, 69, 29 ]
88
[ "59-11=48", "69-29=40", "48+40=88" ]
Current State: 88:[59, 11, 69, 29], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [69, 29, 48] Generated Node #2: [69, 29, 48] from Operation: 59-11=48 Current State: 88:[69, 29, 48], Operations: ['59-11=48'] Exploring Operation: 69-29=40, Resulting Numbers: [48, 40] Generated Node #3: [48, 40] from Operation: 69-29=40 Current State: 88:[48, 40], Operations: ['59-11=48', '69-29=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[59, 11, 69, 29], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [11, 29, 10] Generated Node #0,0: 88:[11, 29, 10] Operation: 69-59=10 Exploring Operation: 59+29=88, Resulting Numbers: [11, 69, 88] Generated Node #0,1: 88:[11, 69, 88] Operation: 59+29=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[11, 29, 10], Operations: ['69-59=10'] Exploring Operation: 29-10=19, Resulting Numbers: [11, 19] Generated Node #0,0,0: 88:[11, 19] Operation: 29-10=19 Exploring Operation: 11+29=40, Resulting Numbers: [10, 40] Generated Node #0,0,1: 88:[10, 40] Operation: 11+29=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[11, 19], Operations: ['69-59=10', '29-10=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,88 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[10, 40], Operations: ['69-59=10', '11+29=40'] Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[11, 69, 88], Operations: ['59+29=88'] Exploring Operation: 11+69=80, Resulting Numbers: [88, 80] Generated Node #0,1,0: 88:[88, 80] Operation: 11+69=80 Exploring Operation: 88-69=19, Resulting Numbers: [11, 19] Generated Node #0,1,1: 88:[11, 19] Operation: 88-69=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[11, 19], Operations: ['59+29=88', '88-69=19'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[88, 80], Operations: ['59+29=88', '11+69=80'] Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 88+80=168, Resulting Numbers: [168] 168,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 56, 62, 66, 43 ]
52
[ "56-43=13", "66-62=4", "13*4=52" ]
Current State: 52:[56, 62, 66, 43], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [62, 66, 13] Generated Node #2: [62, 66, 13] from Operation: 56-43=13 Current State: 52:[62, 66, 13], Operations: ['56-43=13'] Exploring Operation: 66-62=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 66-62=4 Current State: 52:[13, 4], Operations: ['56-43=13', '66-62=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[56, 62, 66, 43], Operations: [] Exploring Operation: 66-43=23, Resulting Numbers: [56, 62, 23] Generated Node #0,0: 52:[56, 62, 23] Operation: 66-43=23 Exploring Operation: 66-56=10, Resulting Numbers: [62, 43, 10] Generated Node #0,1: 52:[62, 43, 10] Operation: 66-56=10 Exploring Operation: 56-43=13, Resulting Numbers: [62, 66, 13] Generated Node #0,2: 52:[62, 66, 13] Operation: 56-43=13 Exploring Operation: 62-43=19, Resulting Numbers: [56, 66, 19] Generated Node #0,3: 52:[56, 66, 19] Operation: 62-43=19 Exploring Operation: 66-62=4, Resulting Numbers: [56, 43, 4] Generated Node #0,4: 52:[56, 43, 4] Operation: 66-62=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[56, 43, 4], Operations: ['66-62=4'] Exploring Operation: 56-43=13, Resulting Numbers: [4, 13] Generated Node #0,4,0: 52:[4, 13] Operation: 56-43=13 Exploring Operation: 43+4=47, Resulting Numbers: [56, 47] Generated Node #0,4,1: 52:[56, 47] Operation: 43+4=47 Exploring Operation: 56+4=60, Resulting Numbers: [43, 60] Generated Node #0,4,2: 52:[43, 60] Operation: 56+4=60 Exploring Operation: 56/4=14, Resulting Numbers: [43, 14] Generated Node #0,4,3: 52:[43, 14] Operation: 56/4=14 Exploring Operation: 56-4=52, Resulting Numbers: [43, 52] Generated Node #0,4,4: 52:[43, 52] Operation: 56-4=52 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[4, 13], Operations: ['66-62=4', '56-43=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[56, 62, 66, 43], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [56, 43, 4] Generated Node #0,4: 52:[56, 43, 4] Operation: 66-62=4 Moving to Node #0,4 Current State: 52:[56, 43, 4], Operations: ['66-62=4'] Exploring Operation: 56-43=13, Resulting Numbers: [4, 13] Generated Node #0,4,0: 52:[4, 13] Operation: 56-43=13 Moving to Node #0,4,0 Current State: 52:[4, 13], Operations: ['66-62=4', '56-43=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 65, 3, 99, 3 ]
93
[ "65+3=68", "99-68=31", "3*31=93" ]
Current State: 93:[65, 3, 99, 3], Operations: [] Exploring Operation: 65+3=68, Resulting Numbers: [99, 68] Generated Node #2: [99, 68] from Operation: 65+3=68 Current State: 93:[99, 68], Operations: ['65+3=68'] Exploring Operation: 99-68=31, Resulting Numbers: [31] 31,93 equal: Goal Reached Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[65, 3, 99, 3], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [65, 3, 33] Generated Node #0,0: 93:[65, 3, 33] Operation: 99/3=33 Exploring Operation: 99/3=33, Resulting Numbers: [65, 3, 33] Generated Node #0,1: 93:[65, 3, 33] Operation: 99/3=33 Exploring Operation: 99-65=34, Resulting Numbers: [3, 3, 34] Generated Node #0,2: 93:[3, 3, 34] Operation: 99-65=34 Moving to Node #0,2 Current State: 93:[3, 3, 34], Operations: ['99-65=34'] Exploring Operation: 34-3=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 93:[3, 31] Operation: 34-3=31 Exploring Operation: 34-3=31, Resulting Numbers: [3, 31] Generated Node #0,2,1: 93:[3, 31] Operation: 34-3=31 Exploring Operation: 3/3=1, Resulting Numbers: [34, 1] Generated Node #0,2,2: 93:[34, 1] Operation: 3/3=1 Moving to Node #0,0 Current State: 93:[65, 3, 33], Operations: ['99/3=33'] Exploring Operation: 65+33=98, Resulting Numbers: [3, 98] Generated Node #0,0,0: 93:[3, 98] Operation: 65+33=98 Exploring Operation: 65-33=32, Resulting Numbers: [3, 32] Generated Node #0,0,1: 93:[3, 32] Operation: 65-33=32 Exploring Operation: 65+3=68, Resulting Numbers: [33, 68] Generated Node #0,0,2: 93:[33, 68] Operation: 65+3=68 Moving to Node #0,1 Current State: 93:[65, 3, 33], Operations: ['99/3=33'] Exploring Operation: 65+3=68, Resulting Numbers: [33, 68] Generated Node #0,1,0: 93:[33, 68] Operation: 65+3=68 Exploring Operation: 65+33=98, Resulting Numbers: [3, 98] Generated Node #0,1,1: 93:[3, 98] Operation: 65+33=98 Exploring Operation: 65-33=32, Resulting Numbers: [3, 32] Generated Node #0,1,2: 93:[3, 32] Operation: 65-33=32 Moving to Node #0,2,0 Current State: 93:[3, 31], Operations: ['99-65=34', '34-3=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[65, 3, 99, 3], Operations: [] Exploring Operation: 99-65=34, Resulting Numbers: [3, 3, 34] Generated Node #0,2: 93:[3, 3, 34] Operation: 99-65=34 Moving to Node #0,2 Current State: 93:[3, 3, 34], Operations: ['99-65=34'] Exploring Operation: 34-3=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 93:[3, 31] Operation: 34-3=31 Moving to Node #0,2,0 Current State: 93:[3, 31], Operations: ['99-65=34', '34-3=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.984375
hs_3
sum_heuristic
[ 5, 32, 23, 28 ]
11
[ "32+28=60", "60/5=12", "23-12=11" ]
Current State: 11:[5, 32, 23, 28], Operations: [] Exploring Operation: 32+28=60, Resulting Numbers: [5, 23, 60] Generated Node #2: [5, 23, 60] from Operation: 32+28=60 Current State: 11:[5, 23, 60], Operations: ['32+28=60'] Exploring Operation: 60/5=12, Resulting Numbers: [23, 12] Generated Node #3: [23, 12] from Operation: 60/5=12 Current State: 11:[23, 12], Operations: ['32+28=60', '60/5=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[5, 32, 23, 28], Operations: [] Exploring Operation: 32-23=9, Resulting Numbers: [5, 28, 9] Generated Node #0,0: 11:[5, 28, 9] Operation: 32-23=9 Moving to Node #0,0 Current State: 11:[5, 28, 9], Operations: ['32-23=9'] Exploring Operation: 28-5=23, Resulting Numbers: [9, 23] Generated Node #0,0,0: 11:[9, 23] Operation: 28-5=23 Moving to Node #0,0,0 Current State: 11:[9, 23], Operations: ['32-23=9', '28-5=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,11 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 46, 5, 41 ]
39
[ "46-30=16", "5*16=80", "80-41=39" ]
Current State: 39:[30, 46, 5, 41], Operations: [] Exploring Operation: 46-30=16, Resulting Numbers: [5, 41, 16] Generated Node #2: [5, 41, 16] from Operation: 46-30=16 Current State: 39:[5, 41, 16], Operations: ['46-30=16'] Exploring Operation: 5*16=80, Resulting Numbers: [41, 80] Generated Node #3: [41, 80] from Operation: 5*16=80 Current State: 39:[41, 80], Operations: ['46-30=16', '5*16=80'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[30, 46, 5, 41], Operations: [] Exploring Operation: 30/5=6, Resulting Numbers: [46, 41, 6] Generated Node #0,0: 39:[46, 41, 6] Operation: 30/5=6 Exploring Operation: 41-30=11, Resulting Numbers: [46, 5, 11] Generated Node #0,1: 39:[46, 5, 11] Operation: 41-30=11 Exploring Operation: 46-30=16, Resulting Numbers: [5, 41, 16] Generated Node #0,2: 39:[5, 41, 16] Operation: 46-30=16 Exploring Operation: 30+5=35, Resulting Numbers: [46, 41, 35] Generated Node #0,3: 39:[46, 41, 35] Operation: 30+5=35 Moving to Node #0,2 Current State: 39:[5, 41, 16], Operations: ['46-30=16'] Exploring Operation: 41-5=36, Resulting Numbers: [16, 36] Generated Node #0,2,0: 39:[16, 36] Operation: 41-5=36 Exploring Operation: 16-5=11, Resulting Numbers: [41, 11] Generated Node #0,2,1: 39:[41, 11] Operation: 16-5=11 Exploring Operation: 5+16=21, Resulting Numbers: [41, 21] Generated Node #0,2,2: 39:[41, 21] Operation: 5+16=21 Exploring Operation: 5+41=46, Resulting Numbers: [16, 46] Generated Node #0,2,3: 39:[16, 46] Operation: 5+41=46 Moving to Node #0,1 Current State: 39:[46, 5, 11], Operations: ['41-30=11'] Exploring Operation: 5+11=16, Resulting Numbers: [46, 16] Generated Node #0,1,0: 39:[46, 16] Operation: 5+11=16 Exploring Operation: 46-5=41, Resulting Numbers: [11, 41] Generated Node #0,1,1: 39:[11, 41] Operation: 46-5=41 Exploring Operation: 11-5=6, Resulting Numbers: [46, 6] Generated Node #0,1,2: 39:[46, 6] Operation: 11-5=6 Exploring Operation: 46-11=35, Resulting Numbers: [5, 35] Generated Node #0,1,3: 39:[5, 35] Operation: 46-11=35 Moving to Node #0,0 Current State: 39:[46, 41, 6], Operations: ['30/5=6'] Exploring Operation: 41-6=35, Resulting Numbers: [46, 35] Generated Node #0,0,0: 39:[46, 35] Operation: 41-6=35 Exploring Operation: 46+6=52, Resulting Numbers: [41, 52] Generated Node #0,0,1: 39:[41, 52] Operation: 46+6=52 Exploring Operation: 46-41=5, Resulting Numbers: [6, 5] Generated Node #0,0,2: 39:[6, 5] Operation: 46-41=5 Exploring Operation: 46-6=40, Resulting Numbers: [41, 40] Generated Node #0,0,3: 39:[41, 40] Operation: 46-6=40 Moving to Node #0,3 Current State: 39:[46, 41, 35], Operations: ['30+5=35'] Exploring Operation: 46+35=81, Resulting Numbers: [41, 81] Generated Node #0,3,0: 39:[41, 81] Operation: 46+35=81 Exploring Operation: 46-35=11, Resulting Numbers: [41, 11] Generated Node #0,3,1: 39:[41, 11] Operation: 46-35=11 Exploring Operation: 46-41=5, Resulting Numbers: [35, 5] Generated Node #0,3,2: 39:[35, 5] Operation: 46-41=5 Exploring Operation: 41-35=6, Resulting Numbers: [46, 6] Generated Node #0,3,3: 39:[46, 6] Operation: 41-35=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 39:[41, 11], Operations: ['30+5=35', '46-35=11'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,39 unequal: No Solution No 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: 39:[35, 5], Operations: ['30+5=35', '46-41=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,39 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,39 unequal: No Solution No 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: 39:[46, 6], Operations: ['30+5=35', '41-35=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,39 unequal: No Solution No 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: 39:[41, 81], Operations: ['30+5=35', '46+35=81'] Exploring Operation: 41*81=3321, Resulting Numbers: [3321] 3321,39 unequal: No Solution Exploring Operation: 41+81=122, Resulting Numbers: [122] 122,39 unequal: No Solution Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,3 Current State: 39:[41, 40], Operations: ['30/5=6', '46-6=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,39 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[41, 11], Operations: ['46-30=16', '16-5=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[11, 41], Operations: ['41-30=11', '46-5=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,39 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[6, 5], Operations: ['30/5=6', '46-41=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[5, 35], Operations: ['41-30=11', '46-11=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,39 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,39 unequal: No Solution Moving to Node #0,2,0 Current State: 39:[16, 36], Operations: ['46-30=16', '41-5=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[46, 16], Operations: ['41-30=11', '5+11=16'] Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,39 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[41, 21], Operations: ['46-30=16', '5+16=21'] Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,39 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,39 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,39 unequal: No Solution Moving to Node #0,2,3 Current State: 39:[16, 46], Operations: ['46-30=16', '5+41=46'] Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[46, 6], Operations: ['41-30=11', '11-5=6'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,39 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[46, 35], Operations: ['30/5=6', '41-6=35'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[41, 52], Operations: ['30/5=6', '46+6=52'] Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,39 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,39 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 68, 3, 2, 8 ]
94
[ "68*3=204", "204/2=102", "102-8=94" ]
Current State: 94:[68, 3, 2, 8], Operations: [] Exploring Operation: 68*3=204, Resulting Numbers: [2, 8, 204] Generated Node #2: [2, 8, 204] from Operation: 68*3=204 Current State: 94:[2, 8, 204], Operations: ['68*3=204'] Exploring Operation: 204/2=102, Resulting Numbers: [8, 102] Generated Node #3: [8, 102] from Operation: 204/2=102 Current State: 94:[8, 102], Operations: ['68*3=204', '204/2=102'] Exploring Operation: 102-8=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[68, 3, 2, 8], Operations: [] Exploring Operation: 68-8=60, Resulting Numbers: [3, 2, 60] Generated Node #0,0: 94:[3, 2, 60] Operation: 68-8=60 Moving to Node #0,0 Current State: 94:[3, 2, 60], Operations: ['68-8=60'] Exploring Operation: 60-3=57, Resulting Numbers: [2, 57] Generated Node #0,0,0: 94:[2, 57] Operation: 60-3=57 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[2, 57], Operations: ['68-8=60', '60-3=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,94 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
[ 63, 17, 11, 87 ]
37
[ "63+87=150", "17*11=187", "187-150=37" ]
Current State: 37:[63, 17, 11, 87], Operations: [] Exploring Operation: 63+87=150, Resulting Numbers: [17, 11, 150] Generated Node #2: [17, 11, 150] from Operation: 63+87=150 Current State: 37:[17, 11, 150], Operations: ['63+87=150'] Exploring Operation: 17*11=187, Resulting Numbers: [150, 187] Generated Node #3: [150, 187] from Operation: 17*11=187 Current State: 37:[150, 187], Operations: ['63+87=150', '17*11=187'] Exploring Operation: 187-150=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[63, 17, 11, 87], Operations: [] Exploring Operation: 63-17=46, Resulting Numbers: [11, 87, 46] Generated Node #0,0: 37:[11, 87, 46] Operation: 63-17=46 Exploring Operation: 87-63=24, Resulting Numbers: [17, 11, 24] Generated Node #0,1: 37:[17, 11, 24] Operation: 87-63=24 Moving to Node #0,1 Current State: 37:[17, 11, 24], Operations: ['87-63=24'] Exploring Operation: 17+11=28, Resulting Numbers: [24, 28] Generated Node #0,1,0: 37:[24, 28] Operation: 17+11=28 Exploring Operation: 11+24=35, Resulting Numbers: [17, 35] Generated Node #0,1,1: 37:[17, 35] Operation: 11+24=35 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[24, 28], Operations: ['87-63=24', '17+11=28'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[17, 35], Operations: ['87-63=24', '11+24=35'] Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 17+35=52, Resulting Numbers: [52] 52,37 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: 37:[11, 87, 46], Operations: ['63-17=46'] Exploring Operation: 87-46=41, Resulting Numbers: [11, 41] Generated Node #0,0,0: 37:[11, 41] Operation: 87-46=41 Exploring Operation: 87-11=76, Resulting Numbers: [46, 76] Generated Node #0,0,1: 37:[46, 76] Operation: 87-11=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[11, 41], Operations: ['63-17=46', '87-46=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[46, 76], Operations: ['63-17=46', '87-11=76'] Exploring Operation: 46+76=122, Resulting Numbers: [122] 122,37 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,37 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
[ 8, 30, 87, 8 ]
58
[ "8/8=1", "87-30=57", "1+57=58" ]
Current State: 58:[8, 30, 87, 8], Operations: [] Exploring Operation: 8/8=1, Resulting Numbers: [30, 87, 1] Generated Node #2: [30, 87, 1] from Operation: 8/8=1 Current State: 58:[30, 87, 1], Operations: ['8/8=1'] Exploring Operation: 87-30=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 87-30=57 Current State: 58:[1, 57], Operations: ['8/8=1', '87-30=57'] Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[8, 30, 87, 8], Operations: [] Exploring Operation: 87-8=79, Resulting Numbers: [8, 30, 79] Generated Node #0,0: 58:[8, 30, 79] Operation: 87-8=79 Exploring Operation: 87-8=79, Resulting Numbers: [30, 8, 79] Generated Node #0,1: 58:[30, 8, 79] Operation: 87-8=79 Exploring Operation: 8/8=1, Resulting Numbers: [30, 87, 1] Generated Node #0,2: 58:[30, 87, 1] Operation: 8/8=1 Exploring Operation: 8-8=0, Resulting Numbers: [30, 87, 0] Generated Node #0,3: 58:[30, 87, 0] Operation: 8-8=0 Exploring Operation: 87-30=57, Resulting Numbers: [8, 8, 57] Generated Node #0,4: 58:[8, 8, 57] Operation: 87-30=57 Start Sub Search at level 1: Moving to Node #0,4 Current State: 58:[8, 8, 57], Operations: ['87-30=57'] Exploring Operation: 8-8=0, Resulting Numbers: [57, 0] Generated Node #0,4,0: 58:[57, 0] Operation: 8-8=0 Exploring Operation: 8/8=1, Resulting Numbers: [57, 1] Generated Node #0,4,1: 58:[57, 1] Operation: 8/8=1 Exploring Operation: 8+57=65, Resulting Numbers: [8, 65] Generated Node #0,4,2: 58:[8, 65] Operation: 8+57=65 Exploring Operation: 8+57=65, Resulting Numbers: [8, 65] Generated Node #0,4,3: 58:[8, 65] Operation: 8+57=65 Exploring Operation: 8*8=64, Resulting Numbers: [57, 64] Generated Node #0,4,4: 58:[57, 64] Operation: 8*8=64 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 58:[57, 1], Operations: ['87-30=57', '8/8=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[8, 30, 87, 8], Operations: [] Exploring Operation: 87-30=57, Resulting Numbers: [8, 8, 57] Generated Node #0,4: 58:[8, 8, 57] Operation: 87-30=57 Moving to Node #0,4 Current State: 58:[8, 8, 57], Operations: ['87-30=57'] Exploring Operation: 8/8=1, Resulting Numbers: [57, 1] Generated Node #0,4,1: 58:[57, 1] Operation: 8/8=1 Moving to Node #0,4,1 Current State: 58:[57, 1], Operations: ['87-30=57', '8/8=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 81, 42, 3, 51 ]
86
[ "81+51=132", "132/3=44", "42+44=86" ]
Current State: 86:[81, 42, 3, 51], Operations: [] Exploring Operation: 81+51=132, Resulting Numbers: [42, 3, 132] Generated Node #2: [42, 3, 132] from Operation: 81+51=132 Current State: 86:[42, 3, 132], Operations: ['81+51=132'] Exploring Operation: 132/3=44, Resulting Numbers: [42, 44] Generated Node #3: [42, 44] from Operation: 132/3=44 Current State: 86:[42, 44], Operations: ['81+51=132', '132/3=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[81, 42, 3, 51], Operations: [] Exploring Operation: 81+3=84, Resulting Numbers: [42, 51, 84] Generated Node #0,0: 86:[42, 51, 84] Operation: 81+3=84 Moving to Node #0,0 Current State: 86:[42, 51, 84], Operations: ['81+3=84'] Exploring Operation: 84/42=2, Resulting Numbers: [51, 2] Generated Node #0,0,0: 86:[51, 2] Operation: 84/42=2 Moving to Node #0,0,0 Current State: 86:[51, 2], Operations: ['81+3=84', '84/42=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 31, 56, 90, 84 ]
87
[ "31+56=87", "90+84=174", "174-87=87" ]
Current State: 87:[31, 56, 90, 84], Operations: [] Exploring Operation: 31+56=87, Resulting Numbers: [90, 84, 87] Generated Node #2: [90, 84, 87] from Operation: 31+56=87 Current State: 87:[90, 84, 87], Operations: ['31+56=87'] Exploring Operation: 90+84=174, Resulting Numbers: [87, 174] Generated Node #3: [87, 174] from Operation: 90+84=174 Current State: 87:[87, 174], Operations: ['31+56=87', '90+84=174'] Exploring Operation: 174-87=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 56, 90, 84], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [31, 90, 28] Generated Node #0,0: 87:[31, 90, 28] Operation: 84-56=28 Exploring Operation: 90-56=34, Resulting Numbers: [31, 84, 34] Generated Node #0,1: 87:[31, 84, 34] Operation: 90-56=34 Exploring Operation: 90-84=6, Resulting Numbers: [31, 56, 6] Generated Node #0,2: 87:[31, 56, 6] Operation: 90-84=6 Exploring Operation: 31+56=87, Resulting Numbers: [90, 84, 87] Generated Node #0,3: 87:[90, 84, 87] Operation: 31+56=87 Exploring Operation: 56-31=25, Resulting Numbers: [90, 84, 25] Generated Node #0,4: 87:[90, 84, 25] Operation: 56-31=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[31, 90, 28], Operations: ['84-56=28'] Exploring Operation: 31-28=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 31-28=3 Exploring Operation: 31+28=59, Resulting Numbers: [90, 59] Generated Node #0,0,1: 87:[90, 59] Operation: 31+28=59 Exploring Operation: 90-31=59, Resulting Numbers: [28, 59] Generated Node #0,0,2: 87:[28, 59] Operation: 90-31=59 Exploring Operation: 90+28=118, Resulting Numbers: [31, 118] Generated Node #0,0,3: 87:[31, 118] Operation: 90+28=118 Exploring Operation: 90-28=62, Resulting Numbers: [31, 62] Generated Node #0,0,4: 87:[31, 62] Operation: 90-28=62 Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['84-56=28', '31-28=3'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 56, 90, 84], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [31, 90, 28] Generated Node #0,0: 87:[31, 90, 28] Operation: 84-56=28 Moving to Node #0,0 Current State: 87:[31, 90, 28], Operations: ['84-56=28'] Exploring Operation: 31-28=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['84-56=28', '31-28=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 66, 57, 88, 55 ]
24
[ "66-57=9", "88-55=33", "33-9=24" ]
Current State: 24:[66, 57, 88, 55], Operations: [] Exploring Operation: 66-57=9, Resulting Numbers: [88, 55, 9] Generated Node #2: [88, 55, 9] from Operation: 66-57=9 Current State: 24:[88, 55, 9], Operations: ['66-57=9'] Exploring Operation: 88-55=33, Resulting Numbers: [9, 33] Generated Node #3: [9, 33] from Operation: 88-55=33 Current State: 24:[9, 33], Operations: ['66-57=9', '88-55=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 57, 88, 55], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [57, 55, 22] Generated Node #0,0: 24:[57, 55, 22] Operation: 88-66=22 Moving to Node #0,0 Current State: 24:[57, 55, 22], Operations: ['88-66=22'] Exploring Operation: 57-55=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 57-55=2 Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['88-66=22', '57-55=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[66, 57, 88, 55], Operations: [] Exploring Operation: 88-66=22, Resulting Numbers: [57, 55, 22] Generated Node #0,0: 24:[57, 55, 22] Operation: 88-66=22 Moving to Node #0,0 Current State: 24:[57, 55, 22], Operations: ['88-66=22'] Exploring Operation: 57-55=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 24:[22, 2] Operation: 57-55=2 Moving to Node #0,0,0 Current State: 24:[22, 2], Operations: ['88-66=22', '57-55=2'] Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 69, 6, 64, 48 ]
100
[ "69+6=75", "64*75=4800", "4800/48=100" ]
Current State: 100:[69, 6, 64, 48], Operations: [] Exploring Operation: 69+6=75, Resulting Numbers: [64, 48, 75] Generated Node #2: [64, 48, 75] from Operation: 69+6=75 Current State: 100:[64, 48, 75], Operations: ['69+6=75'] Exploring Operation: 64*75=4800, Resulting Numbers: [48, 4800] Generated Node #3: [48, 4800] from Operation: 64*75=4800 Current State: 100:[48, 4800], Operations: ['69+6=75', '64*75=4800'] Exploring Operation: 4800/48=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[69, 6, 64, 48], Operations: [] Exploring Operation: 64-6=58, Resulting Numbers: [69, 48, 58] Generated Node #0,0: 100:[69, 48, 58] Operation: 64-6=58 Exploring Operation: 64-48=16, Resulting Numbers: [69, 6, 16] Generated Node #0,1: 100:[69, 6, 16] Operation: 64-48=16 Exploring Operation: 69-6=63, Resulting Numbers: [64, 48, 63] Generated Node #0,2: 100:[64, 48, 63] Operation: 69-6=63 Exploring Operation: 69-48=21, Resulting Numbers: [6, 64, 21] Generated Node #0,3: 100:[6, 64, 21] Operation: 69-48=21 Exploring Operation: 69-64=5, Resulting Numbers: [6, 48, 5] Generated Node #0,4: 100:[6, 48, 5] Operation: 69-64=5 Moving to Node #0,4 Current State: 100:[6, 48, 5], Operations: ['69-64=5'] Exploring Operation: 6+5=11, Resulting Numbers: [48, 11] Generated Node #0,4,0: 100:[48, 11] Operation: 6+5=11 Exploring Operation: 6-5=1, Resulting Numbers: [48, 1] Generated Node #0,4,1: 100:[48, 1] Operation: 6-5=1 Exploring Operation: 6+48=54, Resulting Numbers: [5, 54] Generated Node #0,4,2: 100:[5, 54] Operation: 6+48=54 Exploring Operation: 48+5=53, Resulting Numbers: [6, 53] Generated Node #0,4,3: 100:[6, 53] Operation: 48+5=53 Exploring Operation: 48/6=8, Resulting Numbers: [5, 8] Generated Node #0,4,4: 100:[5, 8] Operation: 48/6=8 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 100:[5, 8], Operations: ['69-64=5', '48/6=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 100:[48, 11], Operations: ['69-64=5', '6+5=11'] Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,100 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 100:[48, 1], Operations: ['69-64=5', '6-5=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 100:[5, 54], Operations: ['69-64=5', '6+48=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,100 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 100:[6, 53], Operations: ['69-64=5', '48+5=53'] Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,100 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,100 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: 100:[6, 64, 21], Operations: ['69-48=21'] Exploring Operation: 6+21=27, Resulting Numbers: [64, 27] Generated Node #0,3,0: 100:[64, 27] Operation: 6+21=27 Exploring Operation: 21-6=15, Resulting Numbers: [64, 15] Generated Node #0,3,1: 100:[64, 15] Operation: 21-6=15 Exploring Operation: 64-21=43, Resulting Numbers: [6, 43] Generated Node #0,3,2: 100:[6, 43] Operation: 64-21=43 Exploring Operation: 64-6=58, Resulting Numbers: [21, 58] Generated Node #0,3,3: 100:[21, 58] Operation: 64-6=58 Exploring Operation: 64+21=85, Resulting Numbers: [6, 85] Generated Node #0,3,4: 100:[6, 85] Operation: 64+21=85 Moving to Node #0,1 Current State: 100:[69, 6, 16], Operations: ['64-48=16'] Exploring Operation: 16-6=10, Resulting Numbers: [69, 10] Generated Node #0,1,0: 100:[69, 10] Operation: 16-6=10 Exploring Operation: 69+16=85, Resulting Numbers: [6, 85] Generated Node #0,1,1: 100:[6, 85] Operation: 69+16=85 Exploring Operation: 69-16=53, Resulting Numbers: [6, 53] Generated Node #0,1,2: 100:[6, 53] Operation: 69-16=53 Exploring Operation: 69-6=63, Resulting Numbers: [16, 63] Generated Node #0,1,3: 100:[16, 63] Operation: 69-6=63 Exploring Operation: 6+16=22, Resulting Numbers: [69, 22] Generated Node #0,1,4: 100:[69, 22] Operation: 6+16=22 Moving to Node #0,0 Current State: 100:[69, 48, 58], Operations: ['64-6=58'] Exploring Operation: 48+58=106, Resulting Numbers: [69, 106] Generated Node #0,0,0: 100:[69, 106] Operation: 48+58=106 Exploring Operation: 58-48=10, Resulting Numbers: [69, 10] Generated Node #0,0,1: 100:[69, 10] Operation: 58-48=10 Exploring Operation: 69-48=21, Resulting Numbers: [58, 21] Generated Node #0,0,2: 100:[58, 21] Operation: 69-48=21 Exploring Operation: 69+48=117, Resulting Numbers: [58, 117] Generated Node #0,0,3: 100:[58, 117] Operation: 69+48=117 Exploring Operation: 69-58=11, Resulting Numbers: [48, 11] Generated Node #0,0,4: 100:[48, 11] Operation: 69-58=11 Moving to Node #0,2 Current State: 100:[64, 48, 63], Operations: ['69-6=63'] Exploring Operation: 64-48=16, Resulting Numbers: [63, 16] Generated Node #0,2,0: 100:[63, 16] Operation: 64-48=16 Exploring Operation: 64+48=112, Resulting Numbers: [63, 112] Generated Node #0,2,1: 100:[63, 112] Operation: 64+48=112 Exploring Operation: 48+63=111, Resulting Numbers: [64, 111] Generated Node #0,2,2: 100:[64, 111] Operation: 48+63=111 Exploring Operation: 63-48=15, Resulting Numbers: [64, 15] Generated Node #0,2,3: 100:[64, 15] Operation: 63-48=15 Exploring Operation: 64-63=1, Resulting Numbers: [48, 1] Generated Node #0,2,4: 100:[48, 1] Operation: 64-63=1 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 100:[48, 1], Operations: ['69-6=63', '64-63=1'] Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[63, 16], Operations: ['69-6=63', '64-48=16'] Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,100 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[64, 15], Operations: ['69-6=63', '63-48=15'] Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,100 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[63, 112], Operations: ['69-6=63', '64+48=112'] Exploring Operation: 112-63=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 63+112=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 63*112=7056, Resulting Numbers: [7056] 7056,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[64, 111], Operations: ['69-6=63', '48+63=111'] Exploring Operation: 64*111=7104, Resulting Numbers: [7104] 7104,100 unequal: No Solution Exploring Operation: 64+111=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 111-64=47, Resulting Numbers: [47] 47,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 100:[48, 11], Operations: ['64-6=58', '69-58=11'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 48*11=528, Resulting Numbers: [528] 528,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[6, 53], Operations: ['64-48=16', '69-16=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[6, 43], Operations: ['69-48=21', '64-21=43'] Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,100 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[58, 21], Operations: ['64-6=58', '69-48=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[21, 58], Operations: ['69-48=21', '64-6=58'] Exploring Operation: 21+58=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 21*58=1218, Resulting Numbers: [1218] 1218,100 unequal: No Solution Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[6, 85], Operations: ['64-48=16', '69+16=85'] Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 6*85=510, Resulting Numbers: [510] 510,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[64, 27], Operations: ['69-48=21', '6+21=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,100 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,100 unequal: No Solution Moving to Node #0,3,4 Current State: 100:[6, 85], Operations: ['69-48=21', '64+21=85'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 6*85=510, Resulting Numbers: [510] 510,100 unequal: No Solution Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[16, 63], Operations: ['64-48=16', '69-6=63'] Exploring Operation: 16*63=1008, Resulting Numbers: [1008] 1008,100 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 16+63=79, Resulting Numbers: [79] 79,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[69, 10], Operations: ['64-6=58', '58-48=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,100 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[64, 15], Operations: ['69-48=21', '21-6=15'] Exploring Operation: 64*15=960, Resulting Numbers: [960] 960,100 unequal: No Solution Exploring Operation: 64+15=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[69, 10], Operations: ['64-48=16', '16-6=10'] Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,100 unequal: No Solution Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,100 unequal: No Solution Moving to Node #0,1,4 Current State: 100:[69, 22], Operations: ['64-48=16', '6+16=22'] Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,100 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[58, 117], Operations: ['64-6=58', '69+48=117'] Exploring Operation: 117-58=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 58+117=175, Resulting Numbers: [175] 175,100 unequal: No Solution Exploring Operation: 58*117=6786, Resulting Numbers: [6786] 6786,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[69, 106], Operations: ['64-6=58', '48+58=106'] Exploring Operation: 106-69=37, Resulting Numbers: [37] 37,100 unequal: No Solution Exploring Operation: 69*106=7314, Resulting Numbers: [7314] 7314,100 unequal: No Solution Exploring Operation: 69+106=175, Resulting Numbers: [175] 175,100 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 11, 88, 99, 9 ]
81
[ "88*9=792", "99+792=891", "891/11=81" ]
Current State: 81:[11, 88, 99, 9], Operations: [] Exploring Operation: 88*9=792, Resulting Numbers: [11, 99, 792] Generated Node #2: [11, 99, 792] from Operation: 88*9=792 Current State: 81:[11, 99, 792], Operations: ['88*9=792'] Exploring Operation: 99+792=891, Resulting Numbers: [11, 891] Generated Node #3: [11, 891] from Operation: 99+792=891 Current State: 81:[11, 891], Operations: ['88*9=792', '99+792=891'] Exploring Operation: 891/11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[11, 88, 99, 9], Operations: [] Exploring Operation: 99/9=11, Resulting Numbers: [11, 88, 11] Generated Node #0,0: 81:[11, 88, 11] Operation: 99/9=11 Exploring Operation: 99/11=9, Resulting Numbers: [88, 9, 9] Generated Node #0,1: 81:[88, 9, 9] Operation: 99/11=9 Exploring Operation: 99-88=11, Resulting Numbers: [11, 9, 11] Generated Node #0,2: 81:[11, 9, 11] Operation: 99-88=11 Moving to Node #0,2 Current State: 81:[11, 9, 11], Operations: ['99-88=11'] Exploring Operation: 11/11=1, Resulting Numbers: [9, 1] Generated Node #0,2,0: 81:[9, 1] Operation: 11/11=1 Exploring Operation: 11-11=0, Resulting Numbers: [9, 0] Generated Node #0,2,1: 81:[9, 0] Operation: 11-11=0 Exploring Operation: 11-9=2, Resulting Numbers: [11, 2] Generated Node #0,2,2: 81:[11, 2] Operation: 11-9=2 Moving to Node #0,1 Current State: 81:[88, 9, 9], Operations: ['99/11=9'] Exploring Operation: 9*9=81, Resulting Numbers: [88, 81] Generated Node #0,1,0: 81:[88, 81] Operation: 9*9=81 Exploring Operation: 88-9=79, Resulting Numbers: [9, 79] Generated Node #0,1,1: 81:[9, 79] Operation: 88-9=79 Exploring Operation: 88-9=79, Resulting Numbers: [9, 79] Generated Node #0,1,2: 81:[9, 79] Operation: 88-9=79 Moving to Node #0,0 Current State: 81:[11, 88, 11], Operations: ['99/9=11'] Exploring Operation: 88-11=77, Resulting Numbers: [11, 77] Generated Node #0,0,0: 81:[11, 77] Operation: 88-11=77 Exploring Operation: 88/11=8, Resulting Numbers: [11, 8] Generated Node #0,0,1: 81:[11, 8] Operation: 88/11=8 Exploring Operation: 88/11=8, Resulting Numbers: [11, 8] Generated Node #0,0,2: 81:[11, 8] Operation: 88/11=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[11, 8], Operations: ['99/9=11', '88/11=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,81 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[11, 8], Operations: ['99/9=11', '88/11=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[11, 77], Operations: ['99/9=11', '88-11=77'] Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,81 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 11+77=88, Resulting Numbers: [88] 88,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 81:[9, 1], Operations: ['99-88=11', '11/11=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[9, 79], Operations: ['99/11=9', '88-9=79'] Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,81 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[9, 79], Operations: ['99/11=9', '88-9=79'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,81 unequal: No Solution Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[11, 2], Operations: ['99-88=11', '11-9=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[9, 0], Operations: ['99-88=11', '11-11=0'] Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,81 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[88, 81], Operations: ['99/11=9', '9*9=81'] Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,81 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,81 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 18, 48, 52, 4 ]
46
[ "52-18=34", "48/4=12", "34+12=46" ]
Current State: 46:[18, 48, 52, 4], Operations: [] Exploring Operation: 52-18=34, Resulting Numbers: [48, 4, 34] Generated Node #2: [48, 4, 34] from Operation: 52-18=34 Current State: 46:[48, 4, 34], Operations: ['52-18=34'] Exploring Operation: 48/4=12, Resulting Numbers: [34, 12] Generated Node #3: [34, 12] from Operation: 48/4=12 Current State: 46:[34, 12], Operations: ['52-18=34', '48/4=12'] Exploring Operation: 34+12=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 48, 52, 4], Operations: [] Exploring Operation: 18+4=22, Resulting Numbers: [48, 52, 22] Generated Node #0,0: 46:[48, 52, 22] Operation: 18+4=22 Moving to Node #0,0 Current State: 46:[48, 52, 22], Operations: ['18+4=22'] Exploring Operation: 52-48=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 46:[22, 4] Operation: 52-48=4 Moving to Node #0,0,0 Current State: 46:[22, 4], Operations: ['18+4=22', '52-48=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,46 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 6, 8, 15, 78 ]
75
[ "78/6=13", "13-8=5", "15*5=75" ]
Current State: 75:[6, 8, 15, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [8, 15, 13] Generated Node #2: [8, 15, 13] from Operation: 78/6=13 Current State: 75:[8, 15, 13], Operations: ['78/6=13'] Exploring Operation: 13-8=5, Resulting Numbers: [15, 5] Generated Node #3: [15, 5] from Operation: 13-8=5 Current State: 75:[15, 5], Operations: ['78/6=13', '13-8=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[6, 8, 15, 78], Operations: [] Exploring Operation: 6+8=14, Resulting Numbers: [15, 78, 14] Generated Node #0,0: 75:[15, 78, 14] Operation: 6+8=14 Exploring Operation: 78-6=72, Resulting Numbers: [8, 15, 72] Generated Node #0,1: 75:[8, 15, 72] Operation: 78-6=72 Exploring Operation: 8+15=23, Resulting Numbers: [6, 78, 23] Generated Node #0,2: 75:[6, 78, 23] Operation: 8+15=23 Exploring Operation: 8-6=2, Resulting Numbers: [15, 78, 2] Generated Node #0,3: 75:[15, 78, 2] Operation: 8-6=2 Exploring Operation: 78/6=13, Resulting Numbers: [8, 15, 13] Generated Node #0,4: 75:[8, 15, 13] Operation: 78/6=13 Moving to Node #0,0 Current State: 75:[15, 78, 14], Operations: ['6+8=14'] Exploring Operation: 15+14=29, Resulting Numbers: [78, 29] Generated Node #0,0,0: 75:[78, 29] Operation: 15+14=29 Exploring Operation: 78+14=92, Resulting Numbers: [15, 92] Generated Node #0,0,1: 75:[15, 92] Operation: 78+14=92 Exploring Operation: 78-15=63, Resulting Numbers: [14, 63] Generated Node #0,0,2: 75:[14, 63] Operation: 78-15=63 Exploring Operation: 15-14=1, Resulting Numbers: [78, 1] Generated Node #0,0,3: 75:[78, 1] Operation: 15-14=1 Exploring Operation: 78-14=64, Resulting Numbers: [15, 64] Generated Node #0,0,4: 75:[15, 64] Operation: 78-14=64 Moving to Node #0,3 Current State: 75:[15, 78, 2], Operations: ['8-6=2'] Exploring Operation: 78-2=76, Resulting Numbers: [15, 76] Generated Node #0,3,0: 75:[15, 76] Operation: 78-2=76 Exploring Operation: 15+2=17, Resulting Numbers: [78, 17] Generated Node #0,3,1: 75:[78, 17] Operation: 15+2=17 Exploring Operation: 15-2=13, Resulting Numbers: [78, 13] Generated Node #0,3,2: 75:[78, 13] Operation: 15-2=13 Exploring Operation: 78+2=80, Resulting Numbers: [15, 80] Generated Node #0,3,3: 75:[15, 80] Operation: 78+2=80 Exploring Operation: 15*2=30, Resulting Numbers: [78, 30] Generated Node #0,3,4: 75:[78, 30] Operation: 15*2=30 Moving to Node #0,4 Current State: 75:[8, 15, 13], Operations: ['78/6=13'] Exploring Operation: 15-8=7, Resulting Numbers: [13, 7] Generated Node #0,4,0: 75:[13, 7] Operation: 15-8=7 Exploring Operation: 15-13=2, Resulting Numbers: [8, 2] Generated Node #0,4,1: 75:[8, 2] Operation: 15-13=2 Exploring Operation: 8+13=21, Resulting Numbers: [15, 21] Generated Node #0,4,2: 75:[15, 21] Operation: 8+13=21 Exploring Operation: 13-8=5, Resulting Numbers: [15, 5] Generated Node #0,4,3: 75:[15, 5] Operation: 13-8=5 Exploring Operation: 8+15=23, Resulting Numbers: [13, 23] Generated Node #0,4,4: 75:[13, 23] Operation: 8+15=23 Moving to Node #0,1 Current State: 75:[8, 15, 72], Operations: ['78-6=72'] Exploring Operation: 15-8=7, Resulting Numbers: [72, 7] Generated Node #0,1,0: 75:[72, 7] Operation: 15-8=7 Exploring Operation: 8+15=23, Resulting Numbers: [72, 23] Generated Node #0,1,1: 75:[72, 23] Operation: 8+15=23 Exploring Operation: 72/8=9, Resulting Numbers: [15, 9] Generated Node #0,1,2: 75:[15, 9] Operation: 72/8=9 Exploring Operation: 8+72=80, Resulting Numbers: [15, 80] Generated Node #0,1,3: 75:[15, 80] Operation: 8+72=80 Exploring Operation: 72-8=64, Resulting Numbers: [15, 64] Generated Node #0,1,4: 75:[15, 64] Operation: 72-8=64 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[15, 9], Operations: ['78-6=72', '72/8=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,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,1,0 Current State: 75:[72, 7], Operations: ['78-6=72', '15-8=7'] Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,75 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,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,1,1 Current State: 75:[72, 23], Operations: ['78-6=72', '8+15=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,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,1,3 Current State: 75:[15, 80], Operations: ['78-6=72', '8+72=80'] Exploring Operation: 15*80=1200, Resulting Numbers: [1200] 1200,75 unequal: No Solution Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,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,1,4 Current State: 75:[15, 64], Operations: ['78-6=72', '72-8=64'] Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,75 unequal: No Solution Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,75 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: 75:[6, 78, 23], Operations: ['8+15=23'] Exploring Operation: 78-6=72, Resulting Numbers: [23, 72] Generated Node #0,2,0: 75:[23, 72] Operation: 78-6=72 Exploring Operation: 6+78=84, Resulting Numbers: [23, 84] Generated Node #0,2,1: 75:[23, 84] Operation: 6+78=84 Exploring Operation: 78/6=13, Resulting Numbers: [23, 13] Generated Node #0,2,2: 75:[23, 13] Operation: 78/6=13 Exploring Operation: 6+23=29, Resulting Numbers: [78, 29] Generated Node #0,2,3: 75:[78, 29] Operation: 6+23=29 Exploring Operation: 23-6=17, Resulting Numbers: [78, 17] Generated Node #0,2,4: 75:[78, 17] Operation: 23-6=17 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 75:[23, 13], Operations: ['8+15=23', '78/6=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,75 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,75 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 75:[23, 72], Operations: ['8+15=23', '78-6=72'] Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,75 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,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,2,4 Current State: 75:[78, 17], Operations: ['8+15=23', '23-6=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,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,2,3 Current State: 75:[78, 29], Operations: ['8+15=23', '6+23=29'] Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,75 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,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,2,1 Current State: 75:[23, 84], Operations: ['8+15=23', '6+78=84'] Exploring Operation: 84-23=61, Resulting Numbers: [61] 61,75 unequal: No Solution Exploring Operation: 23*84=1932, Resulting Numbers: [1932] 1932,75 unequal: No Solution Exploring Operation: 23+84=107, Resulting Numbers: [107] 107,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 75:[15, 5], Operations: ['78/6=13', '13-8=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,75 unequal: No Solution Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[6, 8, 15, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [8, 15, 13] Generated Node #0,4: 75:[8, 15, 13] Operation: 78/6=13 Moving to Node #0,4 Current State: 75:[8, 15, 13], Operations: ['78/6=13'] Exploring Operation: 13-8=5, Resulting Numbers: [15, 5] Generated Node #0,4,3: 75:[15, 5] Operation: 13-8=5 Moving to Node #0,4,3 Current State: 75:[15, 5], Operations: ['78/6=13', '13-8=5'] Exploring Operation: 15*5=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.942708
hs_5
sum_heuristic
[ 35, 99, 11, 2 ]
33
[ "35-2=33", "99*11=1089", "1089/33=33" ]
Current State: 33:[35, 99, 11, 2], Operations: [] Exploring Operation: 35-2=33, Resulting Numbers: [99, 11, 33] Generated Node #2: [99, 11, 33] from Operation: 35-2=33 Current State: 33:[99, 11, 33], Operations: ['35-2=33'] Exploring Operation: 99*11=1089, Resulting Numbers: [33, 1089] Generated Node #3: [33, 1089] from Operation: 99*11=1089 Current State: 33:[33, 1089], Operations: ['35-2=33', '99*11=1089'] Exploring Operation: 1089/33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[35, 99, 11, 2], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [35, 2, 9] Generated Node #0,0: 33:[35, 2, 9] Operation: 99/11=9 Exploring Operation: 99-35=64, Resulting Numbers: [11, 2, 64] Generated Node #0,1: 33:[11, 2, 64] Operation: 99-35=64 Exploring Operation: 99-11=88, Resulting Numbers: [35, 2, 88] Generated Node #0,2: 33:[35, 2, 88] Operation: 99-11=88 Moving to Node #0,0 Current State: 33:[35, 2, 9], Operations: ['99/11=9'] Exploring Operation: 35-2=33, Resulting Numbers: [9, 33] Generated Node #0,0,0: 33:[9, 33] Operation: 35-2=33 Exploring Operation: 2+9=11, Resulting Numbers: [35, 11] Generated Node #0,0,1: 33:[35, 11] Operation: 2+9=11 Exploring Operation: 35+2=37, Resulting Numbers: [9, 37] Generated Node #0,0,2: 33:[9, 37] Operation: 35+2=37 Moving to Node #0,1 Current State: 33:[11, 2, 64], Operations: ['99-35=64'] Exploring Operation: 64-2=62, Resulting Numbers: [11, 62] Generated Node #0,1,0: 33:[11, 62] Operation: 64-2=62 Exploring Operation: 64/2=32, Resulting Numbers: [11, 32] Generated Node #0,1,1: 33:[11, 32] Operation: 64/2=32 Exploring Operation: 64-11=53, Resulting Numbers: [2, 53] Generated Node #0,1,2: 33:[2, 53] Operation: 64-11=53 Moving to Node #0,2 Current State: 33:[35, 2, 88], Operations: ['99-11=88'] Exploring Operation: 35-2=33, Resulting Numbers: [88, 33] Generated Node #0,2,0: 33:[88, 33] Operation: 35-2=33 Exploring Operation: 88/2=44, Resulting Numbers: [35, 44] Generated Node #0,2,1: 33:[35, 44] Operation: 88/2=44 Exploring Operation: 88-35=53, Resulting Numbers: [2, 53] Generated Node #0,2,2: 33:[2, 53] Operation: 88-35=53 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[35, 44], Operations: ['99-11=88', '88/2=44'] Exploring Operation: 44-35=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 35*44=1540, Resulting Numbers: [1540] 1540,33 unequal: No Solution Exploring Operation: 35+44=79, Resulting Numbers: [79] 79,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,2,2 Current State: 33:[2, 53], Operations: ['99-11=88', '88-35=53'] Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,33 unequal: No Solution Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,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,2,0 Current State: 33:[88, 33], Operations: ['99-11=88', '35-2=33'] Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,33 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,33 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: 33:[11, 32], Operations: ['99-35=64', '64/2=32'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,33 unequal: No Solution Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[9, 33], Operations: ['99/11=9', '35-2=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,33 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[35, 11], Operations: ['99/11=9', '2+9=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[9, 37], Operations: ['99/11=9', '35+2=37'] Exploring Operation: 9*37=333, Resulting Numbers: [333] 333,33 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[2, 53], Operations: ['99-35=64', '64-11=53'] Exploring Operation: 2+53=55, Resulting Numbers: [55] 55,33 unequal: No Solution Exploring Operation: 2*53=106, Resulting Numbers: [106] 106,33 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[11, 62], Operations: ['99-35=64', '64-2=62'] Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,33 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 58, 9, 11 ]
66
[ "11-9=2", "58*2=116", "116-50=66" ]
Current State: 66:[50, 58, 9, 11], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [50, 58, 2] Generated Node #2: [50, 58, 2] from Operation: 11-9=2 Current State: 66:[50, 58, 2], Operations: ['11-9=2'] Exploring Operation: 58*2=116, Resulting Numbers: [50, 116] Generated Node #3: [50, 116] from Operation: 58*2=116 Current State: 66:[50, 116], Operations: ['11-9=2', '58*2=116'] Exploring Operation: 116-50=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[50, 58, 9, 11], Operations: [] Exploring Operation: 50+9=59, Resulting Numbers: [58, 11, 59] Generated Node #0,0: 66:[58, 11, 59] Operation: 50+9=59 Exploring Operation: 58-50=8, Resulting Numbers: [9, 11, 8] Generated Node #0,1: 66:[9, 11, 8] Operation: 58-50=8 Moving to Node #0,1 Current State: 66:[9, 11, 8], Operations: ['58-50=8'] Exploring Operation: 11-9=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 66:[8, 2] Operation: 11-9=2 Exploring Operation: 9-8=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 66:[11, 1] Operation: 9-8=1 Moving to Node #0,0 Current State: 66:[58, 11, 59], Operations: ['50+9=59'] Exploring Operation: 59-58=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 66:[11, 1] Operation: 59-58=1 Exploring Operation: 58+11=69, Resulting Numbers: [59, 69] Generated Node #0,0,1: 66:[59, 69] Operation: 58+11=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[11, 1], Operations: ['50+9=59', '59-58=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,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,0,1 Current State: 66:[59, 69], Operations: ['50+9=59', '58+11=69'] Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 59+69=128, Resulting Numbers: [128] 128,66 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: 66:[11, 1], Operations: ['58-50=8', '9-8=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,66 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[8, 2], Operations: ['58-50=8', '11-9=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,66 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 16, 83, 42, 88 ]
53
[ "16+83=99", "88-42=46", "99-46=53" ]
Current State: 53:[16, 83, 42, 88], Operations: [] Exploring Operation: 16+83=99, Resulting Numbers: [42, 88, 99] Generated Node #2: [42, 88, 99] from Operation: 16+83=99 Current State: 53:[42, 88, 99], Operations: ['16+83=99'] Exploring Operation: 88-42=46, Resulting Numbers: [99, 46] Generated Node #3: [99, 46] from Operation: 88-42=46 Current State: 53:[99, 46], Operations: ['16+83=99', '88-42=46'] Exploring Operation: 99-46=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[16, 83, 42, 88], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [42, 88, 67] Generated Node #0,0: 53:[42, 88, 67] Operation: 83-16=67 Exploring Operation: 16+42=58, Resulting Numbers: [83, 88, 58] Generated Node #0,1: 53:[83, 88, 58] Operation: 16+42=58 Exploring Operation: 88-16=72, Resulting Numbers: [83, 42, 72] Generated Node #0,2: 53:[83, 42, 72] Operation: 88-16=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[42, 88, 67], Operations: ['83-16=67'] Exploring Operation: 88-42=46, Resulting Numbers: [67, 46] Generated Node #0,0,0: 53:[67, 46] Operation: 88-42=46 Exploring Operation: 67-42=25, Resulting Numbers: [88, 25] Generated Node #0,0,1: 53:[88, 25] Operation: 67-42=25 Exploring Operation: 88-67=21, Resulting Numbers: [42, 21] Generated Node #0,0,2: 53:[42, 21] Operation: 88-67=21 Moving to Node #0,0,0 Current State: 53:[67, 46], Operations: ['83-16=67', '88-42=46'] Exploring Operation: 67*46=3082, Resulting Numbers: [3082] 3082,53 unequal: No Solution Exploring Operation: 67+46=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[42, 21], Operations: ['83-16=67', '88-67=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,53 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[88, 25], Operations: ['83-16=67', '67-42=25'] Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,53 unequal: No Solution Exploring Operation: 88*25=2200, Resulting Numbers: [2200] 2200,53 unequal: No Solution Exploring Operation: 88+25=113, Resulting Numbers: [113] 113,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[83, 42, 72], Operations: ['88-16=72'] Exploring Operation: 83-72=11, Resulting Numbers: [42, 11] Generated Node #0,2,0: 53:[42, 11] Operation: 83-72=11 Exploring Operation: 72-42=30, Resulting Numbers: [83, 30] Generated Node #0,2,1: 53:[83, 30] Operation: 72-42=30 Exploring Operation: 83-42=41, Resulting Numbers: [72, 41] Generated Node #0,2,2: 53:[72, 41] Operation: 83-42=41 Moving to Node #0,2,2 Current State: 53:[72, 41], Operations: ['88-16=72', '83-42=41'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 72+41=113, Resulting Numbers: [113] 113,53 unequal: No Solution Exploring Operation: 72*41=2952, Resulting Numbers: [2952] 2952,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[42, 11], Operations: ['88-16=72', '83-72=11'] Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[16, 83, 42, 88], Operations: [] Exploring Operation: 88-16=72, Resulting Numbers: [83, 42, 72] Generated Node #0,2: 53:[83, 42, 72] Operation: 88-16=72 Moving to Node #0,2 Current State: 53:[83, 42, 72], Operations: ['88-16=72'] Exploring Operation: 83-72=11, Resulting Numbers: [42, 11] Generated Node #0,2,0: 53:[42, 11] Operation: 83-72=11 Moving to Node #0,2,0 Current State: 53:[42, 11], Operations: ['88-16=72', '83-72=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 70, 78, 49, 25 ]
74
[ "70+78=148", "49+25=74", "148-74=74" ]
Current State: 74:[70, 78, 49, 25], Operations: [] Exploring Operation: 70+78=148, Resulting Numbers: [49, 25, 148] Generated Node #2: [49, 25, 148] from Operation: 70+78=148 Current State: 74:[49, 25, 148], Operations: ['70+78=148'] Exploring Operation: 49+25=74, Resulting Numbers: [148, 74] Generated Node #3: [148, 74] from Operation: 49+25=74 Current State: 74:[148, 74], Operations: ['70+78=148', '49+25=74'] Exploring Operation: 148-74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[70, 78, 49, 25], Operations: [] Exploring Operation: 49+25=74, Resulting Numbers: [70, 78, 74] Generated Node #0,0: 74:[70, 78, 74] Operation: 49+25=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[70, 78, 74], Operations: ['49+25=74'] Exploring Operation: 78-70=8, Resulting Numbers: [74, 8] Generated Node #0,0,0: 74:[74, 8] Operation: 78-70=8 Moving to Node #0,0,0 Current State: 74:[74, 8], Operations: ['49+25=74', '78-70=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,74 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
[ 39, 21, 39, 59 ]
38
[ "39+21=60", "39+59=98", "98-60=38" ]
Current State: 38:[39, 21, 39, 59], Operations: [] Exploring Operation: 39+21=60, Resulting Numbers: [59, 60] Generated Node #2: [59, 60] from Operation: 39+21=60 Current State: 38:[59, 60], Operations: ['39+21=60'] Exploring Operation: 39+59=98, Resulting Numbers: [60, 98] Generated Node #3: [60, 98] from Operation: 39+59=98 Current State: 38:[60, 98], Operations: ['39+21=60', '39+59=98'] Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[39, 21, 39, 59], Operations: [] Exploring Operation: 59-39=20, Resulting Numbers: [21, 39, 20] Generated Node #0,0: 38:[21, 39, 20] Operation: 59-39=20 Exploring Operation: 59-21=38, Resulting Numbers: [39, 39, 38] Generated Node #0,1: 38:[39, 39, 38] Operation: 59-21=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[39, 39, 38], Operations: ['59-21=38'] Exploring Operation: 39/39=1, Resulting Numbers: [38, 1] Generated Node #0,1,0: 38:[38, 1] Operation: 39/39=1 Exploring Operation: 39-39=0, Resulting Numbers: [38, 0] Generated Node #0,1,1: 38:[38, 0] Operation: 39-39=0 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[38, 1], Operations: ['59-21=38', '39/39=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[39, 21, 39, 59], Operations: [] Exploring Operation: 59-21=38, Resulting Numbers: [39, 39, 38] Generated Node #0,1: 38:[39, 39, 38] Operation: 59-21=38 Moving to Node #0,1 Current State: 38:[39, 39, 38], Operations: ['59-21=38'] Exploring Operation: 39/39=1, Resulting Numbers: [38, 1] Generated Node #0,1,0: 38:[38, 1] Operation: 39/39=1 Moving to Node #0,1,0 Current State: 38:[38, 1], Operations: ['59-21=38', '39/39=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 3, 36, 14, 8 ]
79
[ "36-3=33", "14*8=112", "112-33=79" ]
Current State: 79:[3, 36, 14, 8], Operations: [] Exploring Operation: 36-3=33, Resulting Numbers: [14, 8, 33] Generated Node #2: [14, 8, 33] from Operation: 36-3=33 Current State: 79:[14, 8, 33], Operations: ['36-3=33'] Exploring Operation: 14*8=112, Resulting Numbers: [33, 112] Generated Node #3: [33, 112] from Operation: 14*8=112 Current State: 79:[33, 112], Operations: ['36-3=33', '14*8=112'] Exploring Operation: 112-33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[3, 36, 14, 8], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [36, 8, 42] Generated Node #0,0: 79:[36, 8, 42] Operation: 3*14=42 Moving to Node #0,0 Current State: 79:[36, 8, 42], Operations: ['3*14=42'] Exploring Operation: 36+8=44, Resulting Numbers: [42, 44] Generated Node #0,0,0: 79:[42, 44] Operation: 36+8=44 Moving to Node #0,0,0 Current State: 79:[42, 44], Operations: ['3*14=42', '36+8=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,79 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 91, 85, 35 ]
95
[ "54+91=145", "85-35=50", "145-50=95" ]
Current State: 95:[54, 91, 85, 35], Operations: [] Exploring Operation: 54+91=145, Resulting Numbers: [85, 35, 145] Generated Node #2: [85, 35, 145] from Operation: 54+91=145 Current State: 95:[85, 35, 145], Operations: ['54+91=145'] Exploring Operation: 85-35=50, Resulting Numbers: [145, 50] Generated Node #3: [145, 50] from Operation: 85-35=50 Current State: 95:[145, 50], Operations: ['54+91=145', '85-35=50'] Exploring Operation: 145-50=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[54, 91, 85, 35], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [91, 35, 31] Generated Node #0,0: 95:[91, 35, 31] Operation: 85-54=31 Exploring Operation: 91-54=37, Resulting Numbers: [85, 35, 37] Generated Node #0,1: 95:[85, 35, 37] Operation: 91-54=37 Exploring Operation: 54-35=19, Resulting Numbers: [91, 85, 19] Generated Node #0,2: 95:[91, 85, 19] Operation: 54-35=19 Exploring Operation: 54+35=89, Resulting Numbers: [91, 85, 89] Generated Node #0,3: 95:[91, 85, 89] Operation: 54+35=89 Moving to Node #0,2 Current State: 95:[91, 85, 19], Operations: ['54-35=19'] Exploring Operation: 91-85=6, Resulting Numbers: [19, 6] Generated Node #0,2,0: 95:[19, 6] Operation: 91-85=6 Exploring Operation: 91-19=72, Resulting Numbers: [85, 72] Generated Node #0,2,1: 95:[85, 72] Operation: 91-19=72 Exploring Operation: 85+19=104, Resulting Numbers: [91, 104] Generated Node #0,2,2: 95:[91, 104] Operation: 85+19=104 Exploring Operation: 91+19=110, Resulting Numbers: [85, 110] Generated Node #0,2,3: 95:[85, 110] Operation: 91+19=110 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[19, 6], Operations: ['54-35=19', '91-85=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[91, 104], Operations: ['54-35=19', '85+19=104'] Exploring Operation: 104-91=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 91+104=195, Resulting Numbers: [195] 195,95 unequal: No Solution Exploring Operation: 91*104=9464, Resulting Numbers: [9464] 9464,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 95:[85, 110], Operations: ['54-35=19', '91+19=110'] Exploring Operation: 85*110=9350, Resulting Numbers: [9350] 9350,95 unequal: No Solution Exploring Operation: 110-85=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 85+110=195, Resulting Numbers: [195] 195,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[85, 72], Operations: ['54-35=19', '91-19=72'] Exploring Operation: 85+72=157, Resulting Numbers: [157] 157,95 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 85*72=6120, Resulting Numbers: [6120] 6120,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 95:[91, 85, 89], Operations: ['54+35=89'] Exploring Operation: 91-89=2, Resulting Numbers: [85, 2] Generated Node #0,3,0: 95:[85, 2] Operation: 91-89=2 Exploring Operation: 91-85=6, Resulting Numbers: [89, 6] Generated Node #0,3,1: 95:[89, 6] Operation: 91-85=6 Exploring Operation: 85+89=174, Resulting Numbers: [91, 174] Generated Node #0,3,2: 95:[91, 174] Operation: 85+89=174 Exploring Operation: 89-85=4, Resulting Numbers: [91, 4] Generated Node #0,3,3: 95:[91, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 95:[91, 35, 31], Operations: ['85-54=31'] Exploring Operation: 91+31=122, Resulting Numbers: [35, 122] Generated Node #0,0,0: 95:[35, 122] Operation: 91+31=122 Exploring Operation: 35-31=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 95:[91, 4] Operation: 35-31=4 Exploring Operation: 91+35=126, Resulting Numbers: [31, 126] Generated Node #0,0,2: 95:[31, 126] Operation: 91+35=126 Exploring Operation: 35+31=66, Resulting Numbers: [91, 66] Generated Node #0,0,3: 95:[91, 66] Operation: 35+31=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[91, 4], Operations: ['85-54=31', '35-31=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[54, 91, 85, 35], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [91, 35, 31] Generated Node #0,0: 95:[91, 35, 31] Operation: 85-54=31 Moving to Node #0,0 Current State: 95:[91, 35, 31], Operations: ['85-54=31'] Exploring Operation: 35-31=4, Resulting Numbers: [91, 4] Generated Node #0,0,1: 95:[91, 4] Operation: 35-31=4 Moving to Node #0,0,1 Current State: 95:[91, 4], Operations: ['85-54=31', '35-31=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 63, 29, 50, 19 ]
61
[ "63+29=92", "50-19=31", "92-31=61" ]
Current State: 61:[63, 29, 50, 19], Operations: [] Exploring Operation: 63+29=92, Resulting Numbers: [50, 19, 92] Generated Node #2: [50, 19, 92] from Operation: 63+29=92 Current State: 61:[50, 19, 92], Operations: ['63+29=92'] Exploring Operation: 50-19=31, Resulting Numbers: [92, 31] Generated Node #3: [92, 31] from Operation: 50-19=31 Current State: 61:[92, 31], Operations: ['63+29=92', '50-19=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[63, 29, 50, 19], Operations: [] Exploring Operation: 29+19=48, Resulting Numbers: [63, 50, 48] Generated Node #0,0: 61:[63, 50, 48] Operation: 29+19=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[63, 50, 48], Operations: ['29+19=48'] Exploring Operation: 50+48=98, Resulting Numbers: [63, 98] Generated Node #0,0,0: 61:[63, 98] Operation: 50+48=98 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[63, 98], Operations: ['29+19=48', '50+48=98'] Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 19, 86, 98, 30 ]
28
[ "19+86=105", "98*30=2940", "2940/105=28" ]
Current State: 28:[19, 86, 98, 30], Operations: [] Exploring Operation: 19+86=105, Resulting Numbers: [98, 30, 105] Generated Node #2: [98, 30, 105] from Operation: 19+86=105 Current State: 28:[98, 30, 105], Operations: ['19+86=105'] Exploring Operation: 98*30=2940, Resulting Numbers: [105, 2940] Generated Node #3: [105, 2940] from Operation: 98*30=2940 Current State: 28:[105, 2940], Operations: ['19+86=105', '98*30=2940'] Exploring Operation: 2940/105=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[19, 86, 98, 30], Operations: [] Exploring Operation: 98-30=68, Resulting Numbers: [19, 86, 68] Generated Node #0,0: 28:[19, 86, 68] Operation: 98-30=68 Exploring Operation: 86-30=56, Resulting Numbers: [19, 98, 56] Generated Node #0,1: 28:[19, 98, 56] Operation: 86-30=56 Exploring Operation: 98-86=12, Resulting Numbers: [19, 30, 12] Generated Node #0,2: 28:[19, 30, 12] Operation: 98-86=12 Moving to Node #0,2 Current State: 28:[19, 30, 12], Operations: ['98-86=12'] Exploring Operation: 19+12=31, Resulting Numbers: [30, 31] Generated Node #0,2,0: 28:[30, 31] Operation: 19+12=31 Exploring Operation: 19-12=7, Resulting Numbers: [30, 7] Generated Node #0,2,1: 28:[30, 7] Operation: 19-12=7 Exploring Operation: 30-19=11, Resulting Numbers: [12, 11] Generated Node #0,2,2: 28:[12, 11] Operation: 30-19=11 Moving to Node #0,0 Current State: 28:[19, 86, 68], Operations: ['98-30=68'] Exploring Operation: 68-19=49, Resulting Numbers: [86, 49] Generated Node #0,0,0: 28:[86, 49] Operation: 68-19=49 Exploring Operation: 86-19=67, Resulting Numbers: [68, 67] Generated Node #0,0,1: 28:[68, 67] Operation: 86-19=67 Exploring Operation: 86-68=18, Resulting Numbers: [19, 18] Generated Node #0,0,2: 28:[19, 18] Operation: 86-68=18 Moving to Node #0,1 Current State: 28:[19, 98, 56], Operations: ['86-30=56'] Exploring Operation: 98-19=79, Resulting Numbers: [56, 79] Generated Node #0,1,0: 28:[56, 79] Operation: 98-19=79 Exploring Operation: 56-19=37, Resulting Numbers: [98, 37] Generated Node #0,1,1: 28:[98, 37] Operation: 56-19=37 Exploring Operation: 98-56=42, Resulting Numbers: [19, 42] Generated Node #0,1,2: 28:[19, 42] Operation: 98-56=42 Moving to Node #0,2,1 Current State: 28:[30, 7], Operations: ['98-86=12', '19-12=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,28 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[12, 11], Operations: ['98-86=12', '30-19=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[30, 31], Operations: ['98-86=12', '19+12=31'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,28 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[19, 18], Operations: ['98-30=68', '86-68=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[19, 42], Operations: ['86-30=56', '98-56=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[68, 67], Operations: ['98-30=68', '86-19=67'] Exploring Operation: 68+67=135, Resulting Numbers: [135] 135,28 unequal: No Solution Exploring Operation: 68*67=4556, Resulting Numbers: [4556] 4556,28 unequal: No Solution Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[98, 37], Operations: ['86-30=56', '56-19=37'] Exploring Operation: 98-37=61, Resulting Numbers: [61] 61,28 unequal: No Solution Exploring Operation: 98*37=3626, Resulting Numbers: [3626] 3626,28 unequal: No Solution Exploring Operation: 98+37=135, Resulting Numbers: [135] 135,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[86, 49], Operations: ['98-30=68', '68-19=49'] Exploring Operation: 86-49=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 86*49=4214, Resulting Numbers: [4214] 4214,28 unequal: No Solution Exploring Operation: 86+49=135, Resulting Numbers: [135] 135,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[56, 79], Operations: ['86-30=56', '98-19=79'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,28 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,28 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 98, 45, 70, 87 ]
70
[ "98-45=53", "87-70=17", "53+17=70" ]
Current State: 70:[98, 45, 70, 87], Operations: [] Exploring Operation: 98-45=53, Resulting Numbers: [70, 87, 53] Generated Node #2: [70, 87, 53] from Operation: 98-45=53 Current State: 70:[70, 87, 53], Operations: ['98-45=53'] Exploring Operation: 87-70=17, Resulting Numbers: [53, 17] Generated Node #3: [53, 17] from Operation: 87-70=17 Current State: 70:[53, 17], Operations: ['98-45=53', '87-70=17'] Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[98, 45, 70, 87], Operations: [] Exploring Operation: 98-45=53, Resulting Numbers: [70, 87, 53] Generated Node #0,0: 70:[70, 87, 53] Operation: 98-45=53 Exploring Operation: 98-70=28, Resulting Numbers: [45, 87, 28] Generated Node #0,1: 70:[45, 87, 28] Operation: 98-70=28 Exploring Operation: 87-45=42, Resulting Numbers: [98, 70, 42] Generated Node #0,2: 70:[98, 70, 42] Operation: 87-45=42 Exploring Operation: 98-87=11, Resulting Numbers: [45, 70, 11] Generated Node #0,3: 70:[45, 70, 11] Operation: 98-87=11 Exploring Operation: 87-70=17, Resulting Numbers: [98, 45, 17] Generated Node #0,4: 70:[98, 45, 17] Operation: 87-70=17 Moving to Node #0,3 Current State: 70:[45, 70, 11], Operations: ['98-87=11'] Exploring Operation: 70-11=59, Resulting Numbers: [45, 59] Generated Node #0,3,0: 70:[45, 59] Operation: 70-11=59 Exploring Operation: 45+11=56, Resulting Numbers: [70, 56] Generated Node #0,3,1: 70:[70, 56] Operation: 45+11=56 Exploring Operation: 70+11=81, Resulting Numbers: [45, 81] Generated Node #0,3,2: 70:[45, 81] Operation: 70+11=81 Exploring Operation: 45-11=34, Resulting Numbers: [70, 34] Generated Node #0,3,3: 70:[70, 34] Operation: 45-11=34 Exploring Operation: 70-45=25, Resulting Numbers: [11, 25] Generated Node #0,3,4: 70:[11, 25] Operation: 70-45=25 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 70:[70, 34], Operations: ['98-87=11', '45-11=34'] Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,70 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,70 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 70:[11, 25], Operations: ['98-87=11', '70-45=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 70:[70, 56], Operations: ['98-87=11', '45+11=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,70 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 70:[45, 59], Operations: ['98-87=11', '70-11=59'] Exploring Operation: 45*59=2655, Resulting Numbers: [2655] 2655,70 unequal: No Solution Exploring Operation: 45+59=104, Resulting Numbers: [104] 104,70 unequal: No Solution Exploring Operation: 59-45=14, Resulting Numbers: [14] 14,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 70:[45, 81], Operations: ['98-87=11', '70+11=81'] Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,70 unequal: No Solution Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,70 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,70 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: 70:[45, 87, 28], Operations: ['98-70=28'] Exploring Operation: 87+28=115, Resulting Numbers: [45, 115] Generated Node #0,1,0: 70:[45, 115] Operation: 87+28=115 Exploring Operation: 87-28=59, Resulting Numbers: [45, 59] Generated Node #0,1,1: 70:[45, 59] Operation: 87-28=59 Exploring Operation: 45+28=73, Resulting Numbers: [87, 73] Generated Node #0,1,2: 70:[87, 73] Operation: 45+28=73 Exploring Operation: 87-45=42, Resulting Numbers: [28, 42] Generated Node #0,1,3: 70:[28, 42] Operation: 87-45=42 Exploring Operation: 45-28=17, Resulting Numbers: [87, 17] Generated Node #0,1,4: 70:[87, 17] Operation: 45-28=17 Moving to Node #0,0 Current State: 70:[70, 87, 53], Operations: ['98-45=53'] Exploring Operation: 70-53=17, Resulting Numbers: [87, 17] Generated Node #0,0,0: 70:[87, 17] Operation: 70-53=17 Exploring Operation: 87-53=34, Resulting Numbers: [70, 34] Generated Node #0,0,1: 70:[70, 34] Operation: 87-53=34 Exploring Operation: 87-70=17, Resulting Numbers: [53, 17] Generated Node #0,0,2: 70:[53, 17] Operation: 87-70=17 Exploring Operation: 70+53=123, Resulting Numbers: [87, 123] Generated Node #0,0,3: 70:[87, 123] Operation: 70+53=123 Exploring Operation: 87+53=140, Resulting Numbers: [70, 140] Generated Node #0,0,4: 70:[70, 140] Operation: 87+53=140 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[70, 34], Operations: ['98-45=53', '87-53=34'] Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,70 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,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:[87, 17], Operations: ['98-45=53', '70-53=17'] Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,70 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,70 unequal: No Solution Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[98, 45, 70, 87], Operations: [] Exploring Operation: 98-45=53, Resulting Numbers: [70, 87, 53] Generated Node #0,0: 70:[70, 87, 53] Operation: 98-45=53 Moving to Node #0,0 Current State: 70:[70, 87, 53], Operations: ['98-45=53'] Exploring Operation: 70-53=17, Resulting Numbers: [87, 17] Generated Node #0,0,0: 70:[87, 17] Operation: 70-53=17 Moving to Node #0,0,0 Current State: 70:[87, 17], Operations: ['98-45=53', '70-53=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 70, 62, 50, 82 ]
100
[ "70+62=132", "82-50=32", "132-32=100" ]
Current State: 100:[70, 62, 50, 82], Operations: [] Exploring Operation: 70+62=132, Resulting Numbers: [50, 82, 132] Generated Node #2: [50, 82, 132] from Operation: 70+62=132 Current State: 100:[50, 82, 132], Operations: ['70+62=132'] Exploring Operation: 82-50=32, Resulting Numbers: [132, 32] Generated Node #3: [132, 32] from Operation: 82-50=32 Current State: 100:[132, 32], Operations: ['70+62=132', '82-50=32'] Exploring Operation: 132-32=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[70, 62, 50, 82], Operations: [] Exploring Operation: 82-50=32, Resulting Numbers: [70, 62, 32] Generated Node #0,0: 100:[70, 62, 32] Operation: 82-50=32 Exploring Operation: 82-70=12, Resulting Numbers: [62, 50, 12] Generated Node #0,1: 100:[62, 50, 12] Operation: 82-70=12 Exploring Operation: 70-50=20, Resulting Numbers: [62, 82, 20] Generated Node #0,2: 100:[62, 82, 20] Operation: 70-50=20 Exploring Operation: 82-62=20, Resulting Numbers: [70, 50, 20] Generated Node #0,3: 100:[70, 50, 20] Operation: 82-62=20 Exploring Operation: 70-62=8, Resulting Numbers: [50, 82, 8] Generated Node #0,4: 100:[50, 82, 8] Operation: 70-62=8 Moving to Node #0,1 Current State: 100:[62, 50, 12], Operations: ['82-70=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62, 62] Generated Node #0,1,0: 100:[62, 62] Operation: 50+12=62 Exploring Operation: 62-50=12, Resulting Numbers: [12, 12] Generated Node #0,1,1: 100:[12, 12] Operation: 62-50=12 Exploring Operation: 62+12=74, Resulting Numbers: [50, 74] Generated Node #0,1,2: 100:[50, 74] Operation: 62+12=74 Exploring Operation: 62-12=50, Resulting Numbers: [50, 50] Generated Node #0,1,3: 100:[50, 50] Operation: 62-12=50 Exploring Operation: 62+50=112, Resulting Numbers: [12, 112] Generated Node #0,1,4: 100:[12, 112] Operation: 62+50=112 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[50, 50], Operations: ['82-70=12', '62-12=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,100 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[70, 62, 50, 82], Operations: [] Exploring Operation: 82-70=12, Resulting Numbers: [62, 50, 12] Generated Node #0,1: 100:[62, 50, 12] Operation: 82-70=12 Moving to Node #0,1 Current State: 100:[62, 50, 12], Operations: ['82-70=12'] Exploring Operation: 62-12=50, Resulting Numbers: [50, 50] Generated Node #0,1,3: 100:[50, 50] Operation: 62-12=50 Moving to Node #0,1,3 Current State: 100:[50, 50], Operations: ['82-70=12', '62-12=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 91, 95, 48, 19 ]
28
[ "95-91=4", "19*4=76", "76-48=28" ]
Current State: 28:[91, 95, 48, 19], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [48, 19, 4] Generated Node #2: [48, 19, 4] from Operation: 95-91=4 Current State: 28:[48, 19, 4], Operations: ['95-91=4'] Exploring Operation: 19*4=76, Resulting Numbers: [48, 76] Generated Node #3: [48, 76] from Operation: 19*4=76 Current State: 28:[48, 76], Operations: ['95-91=4', '19*4=76'] Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[91, 95, 48, 19], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [48, 19, 4] Generated Node #0,0: 28:[48, 19, 4] Operation: 95-91=4 Exploring Operation: 95/19=5, Resulting Numbers: [91, 48, 5] Generated Node #0,1: 28:[91, 48, 5] Operation: 95/19=5 Exploring Operation: 91-48=43, Resulting Numbers: [95, 19, 43] Generated Node #0,2: 28:[95, 19, 43] Operation: 91-48=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[48, 19, 4], Operations: ['95-91=4'] Exploring Operation: 48-19=29, Resulting Numbers: [4, 29] Generated Node #0,0,0: 28:[4, 29] Operation: 48-19=29 Exploring Operation: 48-4=44, Resulting Numbers: [19, 44] Generated Node #0,0,1: 28:[19, 44] Operation: 48-4=44 Exploring Operation: 48/4=12, Resulting Numbers: [19, 12] Generated Node #0,0,2: 28:[19, 12] Operation: 48/4=12 Moving to Node #0,0,0 Current State: 28:[4, 29], Operations: ['95-91=4', '48-19=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,28 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[19, 12], Operations: ['95-91=4', '48/4=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,28 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[19, 44], Operations: ['95-91=4', '48-4=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,28 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,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,1 Current State: 28:[91, 48, 5], Operations: ['95/19=5'] Exploring Operation: 91-5=86, Resulting Numbers: [48, 86] Generated Node #0,1,0: 28:[48, 86] Operation: 91-5=86 Exploring Operation: 91-48=43, Resulting Numbers: [5, 43] Generated Node #0,1,1: 28:[5, 43] Operation: 91-48=43 Exploring Operation: 48-5=43, Resulting Numbers: [91, 43] Generated Node #0,1,2: 28:[91, 43] Operation: 48-5=43 Moving to Node #0,1,1 Current State: 28:[5, 43], Operations: ['95/19=5', '91-48=43'] Exploring Operation: 5+43=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 5*43=215, Resulting Numbers: [215] 215,28 unequal: No Solution Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[48, 86], Operations: ['95/19=5', '91-5=86'] Exploring Operation: 48*86=4128, Resulting Numbers: [4128] 4128,28 unequal: No Solution Exploring Operation: 48+86=134, Resulting Numbers: [134] 134,28 unequal: No Solution Exploring Operation: 86-48=38, Resulting Numbers: [38] 38,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[91, 43], Operations: ['95/19=5', '48-5=43'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 91+43=134, Resulting Numbers: [134] 134,28 unequal: No Solution Exploring Operation: 91*43=3913, Resulting Numbers: [3913] 3913,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 Current State: 28:[95, 19, 43], Operations: ['91-48=43'] Exploring Operation: 95-43=52, Resulting Numbers: [19, 52] Generated Node #0,2,0: 28:[19, 52] Operation: 95-43=52 Exploring Operation: 95/19=5, Resulting Numbers: [43, 5] Generated Node #0,2,1: 28:[43, 5] Operation: 95/19=5 Exploring Operation: 95-19=76, Resulting Numbers: [43, 76] Generated Node #0,2,2: 28:[43, 76] Operation: 95-19=76 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[43, 5], Operations: ['91-48=43', '95/19=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,28 unequal: No Solution No 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: 28:[19, 52], Operations: ['91-48=43', '95-43=52'] Exploring Operation: 19+52=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 19*52=988, Resulting Numbers: [988] 988,28 unequal: No Solution No 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: 28:[43, 76], Operations: ['91-48=43', '95-19=76'] Exploring Operation: 43*76=3268, Resulting Numbers: [3268] 3268,28 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,28 unequal: No Solution Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 66, 34, 19 ]
26
[ "50*19=950", "950-66=884", "884/34=26" ]
Current State: 26:[50, 66, 34, 19], Operations: [] Exploring Operation: 50*19=950, Resulting Numbers: [66, 34, 950] Generated Node #2: [66, 34, 950] from Operation: 50*19=950 Current State: 26:[66, 34, 950], Operations: ['50*19=950'] Exploring Operation: 950-66=884, Resulting Numbers: [34, 884] Generated Node #3: [34, 884] from Operation: 950-66=884 Current State: 26:[34, 884], Operations: ['50*19=950', '950-66=884'] Exploring Operation: 884/34=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[50, 66, 34, 19], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [66, 19, 16] Generated Node #0,0: 26:[66, 19, 16] Operation: 50-34=16 Exploring Operation: 66-50=16, Resulting Numbers: [34, 19, 16] Generated Node #0,1: 26:[34, 19, 16] Operation: 66-50=16 Exploring Operation: 50-19=31, Resulting Numbers: [66, 34, 31] Generated Node #0,2: 26:[66, 34, 31] Operation: 50-19=31 Exploring Operation: 66-19=47, Resulting Numbers: [50, 34, 47] Generated Node #0,3: 26:[50, 34, 47] Operation: 66-19=47 Exploring Operation: 66-34=32, Resulting Numbers: [50, 19, 32] Generated Node #0,4: 26:[50, 19, 32] Operation: 66-34=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[34, 19, 16], Operations: ['66-50=16'] Exploring Operation: 19+16=35, Resulting Numbers: [34, 35] Generated Node #0,1,0: 26:[34, 35] Operation: 19+16=35 Exploring Operation: 34+19=53, Resulting Numbers: [16, 53] Generated Node #0,1,1: 26:[16, 53] Operation: 34+19=53 Exploring Operation: 34-16=18, Resulting Numbers: [19, 18] Generated Node #0,1,2: 26:[19, 18] Operation: 34-16=18 Exploring Operation: 34-19=15, Resulting Numbers: [16, 15] Generated Node #0,1,3: 26:[16, 15] Operation: 34-19=15 Exploring Operation: 19-16=3, Resulting Numbers: [34, 3] Generated Node #0,1,4: 26:[34, 3] Operation: 19-16=3 Moving to Node #0,1,3 Current State: 26:[16, 15], Operations: ['66-50=16', '34-19=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,26 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,26 unequal: No Solution Moving to Node #0,1,4 Current State: 26:[34, 3], Operations: ['66-50=16', '19-16=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[19, 18], Operations: ['66-50=16', '34-16=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,26 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[34, 35], Operations: ['66-50=16', '19+16=35'] Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,26 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[16, 53], Operations: ['66-50=16', '34+19=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 16*53=848, Resulting Numbers: [848] 848,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,4 Current State: 26:[50, 19, 32], Operations: ['66-34=32'] Exploring Operation: 32-19=13, Resulting Numbers: [50, 13] Generated Node #0,4,0: 26:[50, 13] Operation: 32-19=13 Exploring Operation: 19+32=51, Resulting Numbers: [50, 51] Generated Node #0,4,1: 26:[50, 51] Operation: 19+32=51 Exploring Operation: 50-32=18, Resulting Numbers: [19, 18] Generated Node #0,4,2: 26:[19, 18] Operation: 50-32=18 Exploring Operation: 50-19=31, Resulting Numbers: [32, 31] Generated Node #0,4,3: 26:[32, 31] Operation: 50-19=31 Exploring Operation: 50+19=69, Resulting Numbers: [32, 69] Generated Node #0,4,4: 26:[32, 69] Operation: 50+19=69 Moving to Node #0,4,2 Current State: 26:[19, 18], Operations: ['66-34=32', '50-32=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,26 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[32, 31], Operations: ['66-34=32', '50-19=31'] Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,26 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[50, 13], Operations: ['66-34=32', '32-19=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,26 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[50, 51], Operations: ['66-34=32', '19+32=51'] Exploring Operation: 51-50=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 50+51=101, Resulting Numbers: [101] 101,26 unequal: No Solution Exploring Operation: 50*51=2550, Resulting Numbers: [2550] 2550,26 unequal: No Solution Moving to Node #0,4,4 Current State: 26:[32, 69], Operations: ['66-34=32', '50+19=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,26 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,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:[66, 19, 16], Operations: ['50-34=16'] Exploring Operation: 66-19=47, Resulting Numbers: [16, 47] Generated Node #0,0,0: 26:[16, 47] Operation: 66-19=47 Exploring Operation: 66-16=50, Resulting Numbers: [19, 50] Generated Node #0,0,1: 26:[19, 50] Operation: 66-16=50 Exploring Operation: 19-16=3, Resulting Numbers: [66, 3] Generated Node #0,0,2: 26:[66, 3] Operation: 19-16=3 Exploring Operation: 66+19=85, Resulting Numbers: [16, 85] Generated Node #0,0,3: 26:[16, 85] Operation: 66+19=85 Exploring Operation: 19+16=35, Resulting Numbers: [66, 35] Generated Node #0,0,4: 26:[66, 35] Operation: 19+16=35 Moving to Node #0,0,0 Current State: 26:[16, 47], Operations: ['50-34=16', '66-19=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,26 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[19, 50], Operations: ['50-34=16', '66-16=50'] Exploring Operation: 50-19=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 19*50=950, Resulting Numbers: [950] 950,26 unequal: No Solution Exploring Operation: 19+50=69, Resulting Numbers: [69] 69,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[66, 3], Operations: ['50-34=16', '19-16=3'] Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,26 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,26 unequal: No Solution Moving to Node #0,0,4 Current State: 26:[66, 35], Operations: ['50-34=16', '19+16=35'] Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,26 unequal: No Solution Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[16, 85], Operations: ['50-34=16', '66+19=85'] Exploring Operation: 16*85=1360, Resulting Numbers: [1360] 1360,26 unequal: No Solution Exploring Operation: 16+85=101, Resulting Numbers: [101] 101,26 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,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:[66, 34, 31], Operations: ['50-19=31'] Exploring Operation: 66-34=32, Resulting Numbers: [31, 32] Generated Node #0,2,0: 26:[31, 32] Operation: 66-34=32 Exploring Operation: 66-31=35, Resulting Numbers: [34, 35] Generated Node #0,2,1: 26:[34, 35] Operation: 66-31=35 Exploring Operation: 66+31=97, Resulting Numbers: [34, 97] Generated Node #0,2,2: 26:[34, 97] Operation: 66+31=97 Exploring Operation: 66+34=100, Resulting Numbers: [31, 100] Generated Node #0,2,3: 26:[31, 100] Operation: 66+34=100 Exploring Operation: 34-31=3, Resulting Numbers: [66, 3] Generated Node #0,2,4: 26:[66, 3] Operation: 34-31=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[31, 32], Operations: ['50-19=31', '66-34=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,26 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[34, 35], Operations: ['50-19=31', '66-31=35'] Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,26 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 26:[66, 3], Operations: ['50-19=31', '34-31=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,26 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 26:[34, 97], Operations: ['50-19=31', '66+31=97'] Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 34*97=3298, Resulting Numbers: [3298] 3298,26 unequal: No Solution Exploring Operation: 34+97=131, Resulting Numbers: [131] 131,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 26:[31, 100], Operations: ['50-19=31', '66+34=100'] Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,26 unequal: No Solution Exploring Operation: 31+100=131, Resulting Numbers: [131] 131,26 unequal: No Solution Exploring Operation: 31*100=3100, Resulting Numbers: [3100] 3100,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[50, 34, 47], Operations: ['66-19=47'] Exploring Operation: 50+47=97, Resulting Numbers: [34, 97] Generated Node #0,3,0: 26:[34, 97] Operation: 50+47=97 Exploring Operation: 50+34=84, Resulting Numbers: [47, 84] Generated Node #0,3,1: 26:[47, 84] Operation: 50+34=84 Exploring Operation: 50-47=3, Resulting Numbers: [34, 3] Generated Node #0,3,2: 26:[34, 3] Operation: 50-47=3 Exploring Operation: 47-34=13, Resulting Numbers: [50, 13] Generated Node #0,3,3: 26:[50, 13] Operation: 47-34=13 Exploring Operation: 50-34=16, Resulting Numbers: [47, 16] Generated Node #0,3,4: 26:[47, 16] Operation: 50-34=16 Moving to Node #0,3,2 Current State: 26:[34, 3], Operations: ['66-19=47', '50-47=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,26 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[47, 16], Operations: ['66-19=47', '50-34=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[50, 13], Operations: ['66-19=47', '47-34=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,26 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[34, 97], Operations: ['66-19=47', '50+47=97'] Exploring Operation: 34*97=3298, Resulting Numbers: [3298] 3298,26 unequal: No Solution Exploring Operation: 34+97=131, Resulting Numbers: [131] 131,26 unequal: No Solution Exploring Operation: 97-34=63, Resulting Numbers: [63] 63,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[47, 84], Operations: ['66-19=47', '50+34=84'] Exploring Operation: 47*84=3948, Resulting Numbers: [3948] 3948,26 unequal: No Solution Exploring Operation: 47+84=131, Resulting Numbers: [131] 131,26 unequal: No Solution Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,26 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
[ 5, 47, 42, 35 ]
96
[ "35/5=7", "47+42=89", "7+89=96" ]
Current State: 96:[5, 47, 42, 35], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [47, 42, 7] Generated Node #2: [47, 42, 7] from Operation: 35/5=7 Current State: 96:[47, 42, 7], Operations: ['35/5=7'] Exploring Operation: 47+42=89, Resulting Numbers: [7, 89] Generated Node #3: [7, 89] from Operation: 47+42=89 Current State: 96:[7, 89], Operations: ['35/5=7', '47+42=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[5, 47, 42, 35], Operations: [] Exploring Operation: 5+42=47, Resulting Numbers: [47, 35, 47] Generated Node #0,0: 96:[47, 35, 47] Operation: 5+42=47 Exploring Operation: 42-35=7, Resulting Numbers: [5, 47, 7] Generated Node #0,1: 96:[5, 47, 7] Operation: 42-35=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[5, 47, 7], Operations: ['42-35=7'] Exploring Operation: 5+7=12, Resulting Numbers: [47, 12] Generated Node #0,1,0: 96:[47, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [47, 2] Generated Node #0,1,1: 96:[47, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[47, 12], Operations: ['42-35=7', '5+7=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,96 unequal: No Solution Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,96 unequal: No Solution No 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: 96:[47, 2], Operations: ['42-35=7', '7-5=2'] Exploring Operation: 47*2=94, Resulting Numbers: [94] 94,96 unequal: No Solution Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,96 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: 96:[47, 35, 47], Operations: ['5+42=47'] Exploring Operation: 47-35=12, Resulting Numbers: [47, 12] Generated Node #0,0,0: 96:[47, 12] Operation: 47-35=12 Exploring Operation: 47-35=12, Resulting Numbers: [47, 12] Generated Node #0,0,1: 96:[47, 12] Operation: 47-35=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[47, 12], Operations: ['5+42=47', '47-35=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,96 unequal: No Solution No 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: 96:[47, 12], Operations: ['5+42=47', '47-35=12'] Exploring Operation: 47+12=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 6, 31, 39, 38 ]
24
[ "31-6=25", "39-38=1", "25-1=24" ]
Current State: 24:[6, 31, 39, 38], Operations: [] Exploring Operation: 31-6=25, Resulting Numbers: [39, 38, 25] Generated Node #2: [39, 38, 25] from Operation: 31-6=25 Current State: 24:[39, 38, 25], Operations: ['31-6=25'] Exploring Operation: 39-38=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 39-38=1 Current State: 24:[25, 1], Operations: ['31-6=25', '39-38=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[6, 31, 39, 38], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [6, 38, 8] Generated Node #0,0: 24:[6, 38, 8] Operation: 39-31=8 Exploring Operation: 39-38=1, Resulting Numbers: [6, 31, 1] Generated Node #0,1: 24:[6, 31, 1] Operation: 39-38=1 Moving to Node #0,1 Current State: 24:[6, 31, 1], Operations: ['39-38=1'] Exploring Operation: 31-6=25, Resulting Numbers: [1, 25] Generated Node #0,1,0: 24:[1, 25] Operation: 31-6=25 Exploring Operation: 31-1=30, Resulting Numbers: [6, 30] Generated Node #0,1,1: 24:[6, 30] Operation: 31-1=30 Moving to Node #0,0 Current State: 24:[6, 38, 8], Operations: ['39-31=8'] Exploring Operation: 38-8=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 24:[6, 30] Operation: 38-8=30 Exploring Operation: 38-6=32, Resulting Numbers: [8, 32] Generated Node #0,0,1: 24:[8, 32] Operation: 38-6=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[6, 30], Operations: ['39-31=8', '38-8=30'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[6, 31, 39, 38], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [6, 38, 8] Generated Node #0,0: 24:[6, 38, 8] Operation: 39-31=8 Moving to Node #0,0 Current State: 24:[6, 38, 8], Operations: ['39-31=8'] Exploring Operation: 38-8=30, Resulting Numbers: [6, 30] Generated Node #0,0,0: 24:[6, 30] Operation: 38-8=30 Moving to Node #0,0,0 Current State: 24:[6, 30], Operations: ['39-31=8', '38-8=30'] Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 37, 35, 81, 32 ]
47
[ "37-35=2", "81-32=49", "49-2=47" ]
Current State: 47:[37, 35, 81, 32], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [81, 32, 2] Generated Node #2: [81, 32, 2] from Operation: 37-35=2 Current State: 47:[81, 32, 2], Operations: ['37-35=2'] Exploring Operation: 81-32=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 81-32=49 Current State: 47:[2, 49], Operations: ['37-35=2', '81-32=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[37, 35, 81, 32], Operations: [] Exploring Operation: 81-37=44, Resulting Numbers: [35, 32, 44] Generated Node #0,0: 47:[35, 32, 44] Operation: 81-37=44 Exploring Operation: 81-32=49, Resulting Numbers: [37, 35, 49] Generated Node #0,1: 47:[37, 35, 49] Operation: 81-32=49 Exploring Operation: 81-35=46, Resulting Numbers: [37, 32, 46] Generated Node #0,2: 47:[37, 32, 46] Operation: 81-35=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[37, 35, 49], Operations: ['81-32=49'] Exploring Operation: 37-35=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 47:[49, 2] Operation: 37-35=2 Exploring Operation: 49-35=14, Resulting Numbers: [37, 14] Generated Node #0,1,1: 47:[37, 14] Operation: 49-35=14 Exploring Operation: 37+35=72, Resulting Numbers: [49, 72] Generated Node #0,1,2: 47:[49, 72] Operation: 37+35=72 Moving to Node #0,1,2 Current State: 47:[49, 72], Operations: ['81-32=49', '37+35=72'] Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 49*72=3528, Resulting Numbers: [3528] 3528,47 unequal: No Solution Exploring Operation: 49+72=121, Resulting Numbers: [121] 121,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[37, 14], Operations: ['81-32=49', '49-35=14'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,47 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[49, 2], Operations: ['81-32=49', '37-35=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,47 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[37, 35, 81, 32], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [37, 35, 49] Generated Node #0,1: 47:[37, 35, 49] Operation: 81-32=49 Moving to Node #0,1 Current State: 47:[37, 35, 49], Operations: ['81-32=49'] Exploring Operation: 37-35=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 47:[49, 2] Operation: 37-35=2 Moving to Node #0,1,0 Current State: 47:[49, 2], Operations: ['81-32=49', '37-35=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 11, 25, 80, 42 ]
24
[ "25-11=14", "80-42=38", "38-14=24" ]
Current State: 24:[11, 25, 80, 42], Operations: [] Exploring Operation: 25-11=14, Resulting Numbers: [80, 42, 14] Generated Node #2: [80, 42, 14] from Operation: 25-11=14 Current State: 24:[80, 42, 14], Operations: ['25-11=14'] Exploring Operation: 80-42=38, Resulting Numbers: [14, 38] Generated Node #3: [14, 38] from Operation: 80-42=38 Current State: 24:[14, 38], Operations: ['25-11=14', '80-42=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[11, 25, 80, 42], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [11, 25, 38] Generated Node #0,0: 24:[11, 25, 38] Operation: 80-42=38 Moving to Node #0,0 Current State: 24:[11, 25, 38], Operations: ['80-42=38'] Exploring Operation: 38-25=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 24:[11, 13] Operation: 38-25=13 Moving to Node #0,0,0 Current State: 24:[11, 13], Operations: ['80-42=38', '38-25=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[11, 25, 80, 42], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [11, 25, 38] Generated Node #0,0: 24:[11, 25, 38] Operation: 80-42=38 Moving to Node #0,0 Current State: 24:[11, 25, 38], Operations: ['80-42=38'] Exploring Operation: 38-25=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 24:[11, 13] Operation: 38-25=13 Moving to Node #0,0,0 Current State: 24:[11, 13], Operations: ['80-42=38', '38-25=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 24, 94, 99, 3 ]
13
[ "24/3=8", "99-94=5", "8+5=13" ]
Current State: 13:[24, 94, 99, 3], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [94, 99, 8] Generated Node #2: [94, 99, 8] from Operation: 24/3=8 Current State: 13:[94, 99, 8], Operations: ['24/3=8'] Exploring Operation: 99-94=5, Resulting Numbers: [8, 5] Generated Node #3: [8, 5] from Operation: 99-94=5 Current State: 13:[8, 5], Operations: ['24/3=8', '99-94=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[24, 94, 99, 3], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [24, 3, 5] Generated Node #0,0: 13:[24, 3, 5] Operation: 99-94=5 Exploring Operation: 99/3=33, Resulting Numbers: [24, 94, 33] Generated Node #0,1: 13:[24, 94, 33] Operation: 99/3=33 Exploring Operation: 94-24=70, Resulting Numbers: [99, 3, 70] Generated Node #0,2: 13:[99, 3, 70] Operation: 94-24=70 Moving to Node #0,0 Current State: 13:[24, 3, 5], Operations: ['99-94=5'] Exploring Operation: 3*5=15, Resulting Numbers: [24, 15] Generated Node #0,0,0: 13:[24, 15] Operation: 3*5=15 Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 13:[5, 8] Operation: 24/3=8 Exploring Operation: 24-3=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 13:[5, 21] Operation: 24-3=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[24, 15], Operations: ['99-94=5', '3*5=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,13 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[5, 8], Operations: ['99-94=5', '24/3=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[24, 94, 99, 3], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [24, 3, 5] Generated Node #0,0: 13:[24, 3, 5] Operation: 99-94=5 Moving to Node #0,0 Current State: 13:[24, 3, 5], Operations: ['99-94=5'] Exploring Operation: 24/3=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 13:[5, 8] Operation: 24/3=8 Moving to Node #0,0,1 Current State: 13:[5, 8], Operations: ['99-94=5', '24/3=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 88, 43, 15, 52 ]
94
[ "88+43=131", "52-15=37", "131-37=94" ]
Current State: 94:[88, 43, 15, 52], Operations: [] Exploring Operation: 88+43=131, Resulting Numbers: [15, 52, 131] Generated Node #2: [15, 52, 131] from Operation: 88+43=131 Current State: 94:[15, 52, 131], Operations: ['88+43=131'] Exploring Operation: 52-15=37, Resulting Numbers: [131, 37] Generated Node #3: [131, 37] from Operation: 52-15=37 Current State: 94:[131, 37], Operations: ['88+43=131', '52-15=37'] Exploring Operation: 131-37=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[88, 43, 15, 52], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [15, 52, 45] Generated Node #0,0: 94:[15, 52, 45] Operation: 88-43=45 Exploring Operation: 88+15=103, Resulting Numbers: [43, 52, 103] Generated Node #0,1: 94:[43, 52, 103] Operation: 88+15=103 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[43, 52, 103], Operations: ['88+15=103'] Exploring Operation: 103-52=51, Resulting Numbers: [43, 51] Generated Node #0,1,0: 94:[43, 51] Operation: 103-52=51 Exploring Operation: 43+52=95, Resulting Numbers: [103, 95] Generated Node #0,1,1: 94:[103, 95] Operation: 43+52=95 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[43, 51], Operations: ['88+15=103', '103-52=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[88, 43, 15, 52], Operations: [] Exploring Operation: 88+15=103, Resulting Numbers: [43, 52, 103] Generated Node #0,1: 94:[43, 52, 103] Operation: 88+15=103 Moving to Node #0,1 Current State: 94:[43, 52, 103], Operations: ['88+15=103'] Exploring Operation: 103-52=51, Resulting Numbers: [43, 51] Generated Node #0,1,0: 94:[43, 51] Operation: 103-52=51 Moving to Node #0,1,0 Current State: 94:[43, 51], Operations: ['88+15=103', '103-52=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 43, 17, 49, 15 ]
90
[ "43-17=26", "49+15=64", "26+64=90" ]
Current State: 90:[43, 17, 49, 15], Operations: [] Exploring Operation: 43-17=26, Resulting Numbers: [49, 15, 26] Generated Node #2: [49, 15, 26] from Operation: 43-17=26 Current State: 90:[49, 15, 26], Operations: ['43-17=26'] Exploring Operation: 49+15=64, Resulting Numbers: [26, 64] Generated Node #3: [26, 64] from Operation: 49+15=64 Current State: 90:[26, 64], Operations: ['43-17=26', '49+15=64'] Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[43, 17, 49, 15], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [17, 15, 6] Generated Node #0,0: 90:[17, 15, 6] Operation: 49-43=6 Exploring Operation: 43+49=92, Resulting Numbers: [17, 15, 92] Generated Node #0,1: 90:[17, 15, 92] Operation: 43+49=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[17, 15, 6], Operations: ['49-43=6'] Exploring Operation: 17-15=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 90:[6, 2] Operation: 17-15=2 Exploring Operation: 17-6=11, Resulting Numbers: [15, 11] Generated Node #0,0,1: 90:[15, 11] Operation: 17-6=11 Moving to Node #0,0,0 Current State: 90:[6, 2], Operations: ['49-43=6', '17-15=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[15, 11], Operations: ['49-43=6', '17-6=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[17, 15, 92], Operations: ['43+49=92'] Exploring Operation: 17-15=2, Resulting Numbers: [92, 2] Generated Node #0,1,0: 90:[92, 2] Operation: 17-15=2 Exploring Operation: 17+15=32, Resulting Numbers: [92, 32] Generated Node #0,1,1: 90:[92, 32] Operation: 17+15=32 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[92, 2], Operations: ['43+49=92', '17-15=2'] Exploring Operation: 92/2=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[43, 17, 49, 15], Operations: [] Exploring Operation: 43+49=92, Resulting Numbers: [17, 15, 92] Generated Node #0,1: 90:[17, 15, 92] Operation: 43+49=92 Moving to Node #0,1 Current State: 90:[17, 15, 92], Operations: ['43+49=92'] Exploring Operation: 17-15=2, Resulting Numbers: [92, 2] Generated Node #0,1,0: 90:[92, 2] Operation: 17-15=2 Moving to Node #0,1,0 Current State: 90:[92, 2], Operations: ['43+49=92', '17-15=2'] Exploring Operation: 92-2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 57, 46, 2, 8 ]
90
[ "57-46=11", "8*11=88", "2+88=90" ]
Current State: 90:[57, 46, 2, 8], Operations: [] Exploring Operation: 57-46=11, Resulting Numbers: [2, 8, 11] Generated Node #2: [2, 8, 11] from Operation: 57-46=11 Current State: 90:[2, 8, 11], Operations: ['57-46=11'] Exploring Operation: 8*11=88, Resulting Numbers: [2, 88] Generated Node #3: [2, 88] from Operation: 8*11=88 Current State: 90:[2, 88], Operations: ['57-46=11', '8*11=88'] Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[57, 46, 2, 8], Operations: [] Exploring Operation: 57-8=49, Resulting Numbers: [46, 2, 49] Generated Node #0,0: 90:[46, 2, 49] Operation: 57-8=49 Exploring Operation: 57-2=55, Resulting Numbers: [46, 8, 55] Generated Node #0,1: 90:[46, 8, 55] Operation: 57-2=55 Exploring Operation: 57-46=11, Resulting Numbers: [2, 8, 11] Generated Node #0,2: 90:[2, 8, 11] Operation: 57-46=11 Moving to Node #0,2 Current State: 90:[2, 8, 11], Operations: ['57-46=11'] Exploring Operation: 11-8=3, Resulting Numbers: [2, 3] Generated Node #0,2,0: 90:[2, 3] Operation: 11-8=3 Exploring Operation: 8-2=6, Resulting Numbers: [11, 6] Generated Node #0,2,1: 90:[11, 6] Operation: 8-2=6 Exploring Operation: 2+8=10, Resulting Numbers: [11, 10] Generated Node #0,2,2: 90:[11, 10] Operation: 2+8=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 90:[2, 3], Operations: ['57-46=11', '11-8=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[11, 6], Operations: ['57-46=11', '8-2=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 90:[11, 10], Operations: ['57-46=11', '2+8=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,90 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 90:[46, 2, 49], Operations: ['57-8=49'] Exploring Operation: 46-2=44, Resulting Numbers: [49, 44] Generated Node #0,0,0: 90:[49, 44] Operation: 46-2=44 Exploring Operation: 49-46=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 90:[2, 3] Operation: 49-46=3 Exploring Operation: 49-2=47, Resulting Numbers: [46, 47] Generated Node #0,0,2: 90:[46, 47] Operation: 49-2=47 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[2, 3], Operations: ['57-8=49', '49-46=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,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,2 Current State: 90:[46, 47], Operations: ['57-8=49', '49-2=47'] Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,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:[49, 44], Operations: ['57-8=49', '46-2=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,90 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,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:[46, 8, 55], Operations: ['57-2=55'] Exploring Operation: 55-8=47, Resulting Numbers: [46, 47] Generated Node #0,1,0: 90:[46, 47] Operation: 55-8=47 Exploring Operation: 46+55=101, Resulting Numbers: [8, 101] Generated Node #0,1,1: 90:[8, 101] Operation: 46+55=101 Exploring Operation: 55-46=9, Resulting Numbers: [8, 9] Generated Node #0,1,2: 90:[8, 9] Operation: 55-46=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[8, 9], Operations: ['57-2=55', '55-46=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[46, 47], Operations: ['57-2=55', '55-8=47'] Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,90 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 46+47=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,1,1 Current State: 90:[8, 101], Operations: ['57-2=55', '46+55=101'] Exploring Operation: 101-8=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 8+101=109, Resulting Numbers: [109] 109,90 unequal: No Solution Exploring Operation: 8*101=808, Resulting Numbers: [808] 808,90 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
[ 2, 69, 52, 65 ]
99
[ "69-52=17", "2*17=34", "65+34=99" ]
Current State: 99:[2, 69, 52, 65], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [2, 65, 17] Generated Node #2: [2, 65, 17] from Operation: 69-52=17 Current State: 99:[2, 65, 17], Operations: ['69-52=17'] Exploring Operation: 2*17=34, Resulting Numbers: [65, 34] Generated Node #3: [65, 34] from Operation: 2*17=34 Current State: 99:[65, 34], Operations: ['69-52=17', '2*17=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[2, 69, 52, 65], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [2, 52, 4] Generated Node #0,0: 99:[2, 52, 4] Operation: 69-65=4 Exploring Operation: 52+65=117, Resulting Numbers: [2, 69, 117] Generated Node #0,1: 99:[2, 69, 117] Operation: 52+65=117 Exploring Operation: 65-52=13, Resulting Numbers: [2, 69, 13] Generated Node #0,2: 99:[2, 69, 13] Operation: 65-52=13 Exploring Operation: 69-52=17, Resulting Numbers: [2, 65, 17] Generated Node #0,3: 99:[2, 65, 17] Operation: 69-52=17 Exploring Operation: 69+52=121, Resulting Numbers: [2, 65, 121] Generated Node #0,4: 99:[2, 65, 121] Operation: 69+52=121 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[2, 52, 4], Operations: ['69-65=4'] Exploring Operation: 52-4=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 99:[2, 48] Operation: 52-4=48 Exploring Operation: 52-2=50, Resulting Numbers: [4, 50] Generated Node #0,0,1: 99:[4, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [4, 26] Generated Node #0,0,2: 99:[4, 26] Operation: 52/2=26 Exploring Operation: 52/4=13, Resulting Numbers: [2, 13] Generated Node #0,0,3: 99:[2, 13] Operation: 52/4=13 Exploring Operation: 2*52=104, Resulting Numbers: [4, 104] Generated Node #0,0,4: 99:[4, 104] Operation: 2*52=104 Moving to Node #0,0,3 Current State: 99:[2, 13], Operations: ['69-65=4', '52/4=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,99 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[4, 104], Operations: ['69-65=4', '2*52=104'] Exploring Operation: 4+104=108, Resulting Numbers: [108] 108,99 unequal: No Solution Exploring Operation: 104/4=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 4*104=416, Resulting Numbers: [416] 416,99 unequal: No Solution Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[4, 26], Operations: ['69-65=4', '52/2=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,99 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,99 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[2, 48], Operations: ['69-65=4', '52-4=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[4, 50], Operations: ['69-65=4', '52-2=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[2, 69, 13], Operations: ['65-52=13'] Exploring Operation: 69+13=82, Resulting Numbers: [2, 82] Generated Node #0,2,0: 99:[2, 82] Operation: 69+13=82 Exploring Operation: 69-13=56, Resulting Numbers: [2, 56] Generated Node #0,2,1: 99:[2, 56] Operation: 69-13=56 Exploring Operation: 2+69=71, Resulting Numbers: [13, 71] Generated Node #0,2,2: 99:[13, 71] Operation: 2+69=71 Exploring Operation: 69-2=67, Resulting Numbers: [13, 67] Generated Node #0,2,3: 99:[13, 67] Operation: 69-2=67 Exploring Operation: 13-2=11, Resulting Numbers: [69, 11] Generated Node #0,2,4: 99:[69, 11] Operation: 13-2=11 Moving to Node #0,2,0 Current State: 99:[2, 82], Operations: ['65-52=13', '69+13=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[2, 56], Operations: ['65-52=13', '69-13=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,99 unequal: No Solution Exploring Operation: 2*56=112, Resulting Numbers: [112] 112,99 unequal: No Solution Exploring Operation: 56/2=28, Resulting Numbers: [28] 28,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[13, 71], Operations: ['65-52=13', '2+69=71'] Exploring Operation: 13*71=923, Resulting Numbers: [923] 923,99 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[69, 11], Operations: ['65-52=13', '13-2=11'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,99 unequal: No Solution Exploring Operation: 69*11=759, Resulting Numbers: [759] 759,99 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[13, 67], Operations: ['65-52=13', '69-2=67'] Exploring Operation: 13*67=871, Resulting Numbers: [871] 871,99 unequal: No Solution Exploring Operation: 13+67=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,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,3 Current State: 99:[2, 65, 17], Operations: ['69-52=17'] Exploring Operation: 65+17=82, Resulting Numbers: [2, 82] Generated Node #0,3,0: 99:[2, 82] Operation: 65+17=82 Exploring Operation: 2*17=34, Resulting Numbers: [65, 34] Generated Node #0,3,1: 99:[65, 34] Operation: 2*17=34 Exploring Operation: 65-17=48, Resulting Numbers: [2, 48] Generated Node #0,3,2: 99:[2, 48] Operation: 65-17=48 Exploring Operation: 65-2=63, Resulting Numbers: [17, 63] Generated Node #0,3,3: 99:[17, 63] Operation: 65-2=63 Exploring Operation: 17-2=15, Resulting Numbers: [65, 15] Generated Node #0,3,4: 99:[65, 15] Operation: 17-2=15 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[2, 48], Operations: ['69-52=17', '65-17=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,99 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,99 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,99 unequal: No Solution No 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: 99:[2, 82], Operations: ['69-52=17', '65+17=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,99 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,99 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,99 unequal: No Solution No 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: 99:[65, 34], Operations: ['69-52=17', '2*17=34'] Exploring Operation: 65*34=2210, Resulting Numbers: [2210] 2210,99 unequal: No Solution Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[2, 69, 52, 65], Operations: [] Exploring Operation: 69-52=17, Resulting Numbers: [2, 65, 17] Generated Node #0,3: 99:[2, 65, 17] Operation: 69-52=17 Moving to Node #0,3 Current State: 99:[2, 65, 17], Operations: ['69-52=17'] Exploring Operation: 2*17=34, Resulting Numbers: [65, 34] Generated Node #0,3,1: 99:[65, 34] Operation: 2*17=34 Moving to Node #0,3,1 Current State: 99:[65, 34], Operations: ['69-52=17', '2*17=34'] Exploring Operation: 65+34=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940972
hs_5
sum_heuristic
[ 93, 5, 6, 73 ]
94
[ "93-73=20", "5*20=100", "100-6=94" ]
Current State: 94:[93, 5, 6, 73], Operations: [] Exploring Operation: 93-73=20, Resulting Numbers: [5, 6, 20] Generated Node #2: [5, 6, 20] from Operation: 93-73=20 Current State: 94:[5, 6, 20], Operations: ['93-73=20'] Exploring Operation: 5*20=100, Resulting Numbers: [6, 100] Generated Node #3: [6, 100] from Operation: 5*20=100 Current State: 94:[6, 100], Operations: ['93-73=20', '5*20=100'] Exploring Operation: 100-6=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[93, 5, 6, 73], Operations: [] Exploring Operation: 6+73=79, Resulting Numbers: [93, 5, 79] Generated Node #0,0: 94:[93, 5, 79] Operation: 6+73=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[93, 5, 79], Operations: ['6+73=79'] Exploring Operation: 5+79=84, Resulting Numbers: [93, 84] Generated Node #0,0,0: 94:[93, 84] Operation: 5+79=84 Moving to Node #0,0,0 Current State: 94:[93, 84], Operations: ['6+73=79', '5+79=84'] Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,94 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