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
[ 57, 27, 3, 62 ]
12
[ "62-57=5", "3*5=15", "27-15=12" ]
Current State: 12:[57, 27, 3, 62], Operations: [] Exploring Operation: 62-57=5, Resulting Numbers: [27, 3, 5] Generated Node #2: [27, 3, 5] from Operation: 62-57=5 Current State: 12:[27, 3, 5], Operations: ['62-57=5'] Exploring Operation: 3*5=15, Resulting Numbers: [27, 15] Generated Node #3: [27, 15] from Operation: 3*5=15 Current State: 12:[27, 15], Operations: ['62-57=5', '3*5=15'] Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[57, 27, 3, 62], Operations: [] Exploring Operation: 62-27=35, Resulting Numbers: [57, 3, 35] Generated Node #0,0: 12:[57, 3, 35] Operation: 62-27=35 Exploring Operation: 57/3=19, Resulting Numbers: [27, 62, 19] Generated Node #0,1: 12:[27, 62, 19] Operation: 57/3=19 Exploring Operation: 62-57=5, Resulting Numbers: [27, 3, 5] Generated Node #0,2: 12:[27, 3, 5] Operation: 62-57=5 Exploring Operation: 27/3=9, Resulting Numbers: [57, 62, 9] Generated Node #0,3: 12:[57, 62, 9] Operation: 27/3=9 Exploring Operation: 57-27=30, Resulting Numbers: [3, 62, 30] Generated Node #0,4: 12:[3, 62, 30] Operation: 57-27=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[27, 3, 5], Operations: ['62-57=5'] Exploring Operation: 5-3=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 12:[27, 2] Operation: 5-3=2 Exploring Operation: 3+5=8, Resulting Numbers: [27, 8] Generated Node #0,2,1: 12:[27, 8] Operation: 3+5=8 Exploring Operation: 27-3=24, Resulting Numbers: [5, 24] Generated Node #0,2,2: 12:[5, 24] Operation: 27-3=24 Exploring Operation: 27/3=9, Resulting Numbers: [5, 9] Generated Node #0,2,3: 12:[5, 9] Operation: 27/3=9 Exploring Operation: 27-5=22, Resulting Numbers: [3, 22] Generated Node #0,2,4: 12:[3, 22] Operation: 27-5=22 Moving to Node #0,2,3 Current State: 12:[5, 9], Operations: ['62-57=5', '27/3=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,12 unequal: No Solution Moving to Node #0,2,4 Current State: 12:[3, 22], Operations: ['62-57=5', '27-5=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,2,2 Current State: 12:[5, 24], Operations: ['62-57=5', '27-3=24'] Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,12 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,2,0 Current State: 12:[27, 2], Operations: ['62-57=5', '5-3=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,12 unequal: No Solution Moving to Node #0,2,1 Current State: 12:[27, 8], Operations: ['62-57=5', '3+5=8'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 27*8=216, Resulting Numbers: [216] 216,12 unequal: No Solution Exploring Operation: 27+8=35, Resulting Numbers: [35] 35,12 unequal: No Solution No 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: 12:[57, 3, 35], Operations: ['62-27=35'] Exploring Operation: 57+3=60, Resulting Numbers: [35, 60] Generated Node #0,0,0: 12:[35, 60] Operation: 57+3=60 Exploring Operation: 57-35=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 12:[3, 22] Operation: 57-35=22 Exploring Operation: 57-3=54, Resulting Numbers: [35, 54] Generated Node #0,0,2: 12:[35, 54] Operation: 57-3=54 Exploring Operation: 35-3=32, Resulting Numbers: [57, 32] Generated Node #0,0,3: 12:[57, 32] Operation: 35-3=32 Exploring Operation: 57/3=19, Resulting Numbers: [35, 19] Generated Node #0,0,4: 12:[35, 19] Operation: 57/3=19 Moving to Node #0,0,1 Current State: 12:[3, 22], Operations: ['62-27=35', '57-35=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,0,4 Current State: 12:[35, 19], Operations: ['62-27=35', '57/3=19'] Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 35*19=665, Resulting Numbers: [665] 665,12 unequal: No Solution Exploring Operation: 35+19=54, Resulting Numbers: [54] 54,12 unequal: No Solution Moving to Node #0,0,2 Current State: 12:[35, 54], Operations: ['62-27=35', '57-3=54'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,12 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[57, 32], Operations: ['62-27=35', '35-3=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,12 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,12 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[35, 60], Operations: ['62-27=35', '57+3=60'] Exploring Operation: 35*60=2100, Resulting Numbers: [2100] 2100,12 unequal: No Solution Exploring Operation: 35+60=95, Resulting Numbers: [95] 95,12 unequal: No Solution Exploring Operation: 60-35=25, Resulting Numbers: [25] 25,12 unequal: No Solution No 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: 12:[3, 62, 30], Operations: ['57-27=30'] Exploring Operation: 62-3=59, Resulting Numbers: [30, 59] Generated Node #0,4,0: 12:[30, 59] Operation: 62-3=59 Exploring Operation: 62-30=32, Resulting Numbers: [3, 32] Generated Node #0,4,1: 12:[3, 32] Operation: 62-30=32 Exploring Operation: 3+62=65, Resulting Numbers: [30, 65] Generated Node #0,4,2: 12:[30, 65] Operation: 3+62=65 Exploring Operation: 30-3=27, Resulting Numbers: [62, 27] Generated Node #0,4,3: 12:[62, 27] Operation: 30-3=27 Exploring Operation: 30/3=10, Resulting Numbers: [62, 10] Generated Node #0,4,4: 12:[62, 10] Operation: 30/3=10 Moving to Node #0,4,1 Current State: 12:[3, 32], Operations: ['57-27=30', '62-30=32'] Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,12 unequal: No Solution Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[62, 10], Operations: ['57-27=30', '30/3=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[30, 59], Operations: ['57-27=30', '62-3=59'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,12 unequal: No Solution Exploring Operation: 30*59=1770, Resulting Numbers: [1770] 1770,12 unequal: No Solution Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,12 unequal: No Solution Moving to Node #0,4,3 Current State: 12:[62, 27], Operations: ['57-27=30', '30-3=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,12 unequal: No Solution Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[30, 65], Operations: ['57-27=30', '3+62=65'] Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,12 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,12 unequal: No Solution No 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:[27, 62, 19], Operations: ['57/3=19'] Exploring Operation: 27-19=8, Resulting Numbers: [62, 8] Generated Node #0,1,0: 12:[62, 8] Operation: 27-19=8 Exploring Operation: 27+19=46, Resulting Numbers: [62, 46] Generated Node #0,1,1: 12:[62, 46] Operation: 27+19=46 Exploring Operation: 62-19=43, Resulting Numbers: [27, 43] Generated Node #0,1,2: 12:[27, 43] Operation: 62-19=43 Exploring Operation: 62-27=35, Resulting Numbers: [19, 35] Generated Node #0,1,3: 12:[19, 35] Operation: 62-27=35 Exploring Operation: 27+62=89, Resulting Numbers: [19, 89] Generated Node #0,1,4: 12:[19, 89] Operation: 27+62=89 Moving to Node #0,1,3 Current State: 12:[19, 35], Operations: ['57/3=19', '62-27=35'] Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,12 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[27, 43], Operations: ['57/3=19', '62-19=43'] Exploring Operation: 27+43=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 27*43=1161, Resulting Numbers: [1161] 1161,12 unequal: No Solution Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[62, 8], Operations: ['57/3=19', '27-19=8'] Exploring Operation: 62*8=496, Resulting Numbers: [496] 496,12 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[62, 46], Operations: ['57/3=19', '27+19=46'] Exploring Operation: 62-46=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 62+46=108, Resulting Numbers: [108] 108,12 unequal: No Solution Exploring Operation: 62*46=2852, Resulting Numbers: [2852] 2852,12 unequal: No Solution Moving to Node #0,1,4 Current State: 12:[19, 89], Operations: ['57/3=19', '27+62=89'] Exploring Operation: 19*89=1691, Resulting Numbers: [1691] 1691,12 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 19+89=108, Resulting Numbers: [108] 108,12 unequal: No Solution No 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: 12:[57, 62, 9], Operations: ['27/3=9'] Exploring Operation: 62-57=5, Resulting Numbers: [9, 5] Generated Node #0,3,0: 12:[9, 5] Operation: 62-57=5 Exploring Operation: 57+9=66, Resulting Numbers: [62, 66] Generated Node #0,3,1: 12:[62, 66] Operation: 57+9=66 Exploring Operation: 62+9=71, Resulting Numbers: [57, 71] Generated Node #0,3,2: 12:[57, 71] Operation: 62+9=71 Exploring Operation: 62-9=53, Resulting Numbers: [57, 53] Generated Node #0,3,3: 12:[57, 53] Operation: 62-9=53 Exploring Operation: 57-9=48, Resulting Numbers: [62, 48] Generated Node #0,3,4: 12:[62, 48] Operation: 57-9=48 Moving to Node #0,3,0 Current State: 12:[9, 5], Operations: ['27/3=9', '62-57=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,3,4 Current State: 12:[62, 48], Operations: ['27/3=9', '57-9=48'] Exploring Operation: 62+48=110, Resulting Numbers: [110] 110,12 unequal: No Solution Exploring Operation: 62*48=2976, Resulting Numbers: [2976] 2976,12 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[57, 53], Operations: ['27/3=9', '62-9=53'] Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,12 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,12 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[62, 66], Operations: ['27/3=9', '57+9=66'] Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,12 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[57, 71], Operations: ['27/3=9', '62+9=71'] Exploring Operation: 57+71=128, Resulting Numbers: [128] 128,12 unequal: No Solution Exploring Operation: 71-57=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 57*71=4047, Resulting Numbers: [4047] 4047,12 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
[ 24, 31, 12, 30 ]
49
[ "31-24=7", "12+30=42", "7+42=49" ]
Current State: 49:[24, 31, 12, 30], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [12, 30, 7] Generated Node #2: [12, 30, 7] from Operation: 31-24=7 Current State: 49:[12, 30, 7], Operations: ['31-24=7'] Exploring Operation: 12+30=42, Resulting Numbers: [7, 42] Generated Node #3: [7, 42] from Operation: 12+30=42 Current State: 49:[7, 42], Operations: ['31-24=7', '12+30=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[24, 31, 12, 30], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [12, 30, 7] Generated Node #0,0: 49:[12, 30, 7] Operation: 31-24=7 Moving to Node #0,0 Current State: 49:[12, 30, 7], Operations: ['31-24=7'] Exploring Operation: 12+30=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 49:[7, 42] Operation: 12+30=42 Moving to Node #0,0,0 Current State: 49:[7, 42], Operations: ['31-24=7', '12+30=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[24, 31, 12, 30], Operations: [] Exploring Operation: 31-24=7, Resulting Numbers: [12, 30, 7] Generated Node #0,0: 49:[12, 30, 7] Operation: 31-24=7 Moving to Node #0,0 Current State: 49:[12, 30, 7], Operations: ['31-24=7'] Exploring Operation: 12+30=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 49:[7, 42] Operation: 12+30=42 Moving to Node #0,0,0 Current State: 49:[7, 42], Operations: ['31-24=7', '12+30=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 54, 82, 71, 87 ]
44
[ "82-54=28", "87-71=16", "28+16=44" ]
Current State: 44:[54, 82, 71, 87], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [71, 87, 28] Generated Node #2: [71, 87, 28] from Operation: 82-54=28 Current State: 44:[71, 87, 28], Operations: ['82-54=28'] Exploring Operation: 87-71=16, Resulting Numbers: [28, 16] Generated Node #3: [28, 16] from Operation: 87-71=16 Current State: 44:[28, 16], Operations: ['82-54=28', '87-71=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[54, 82, 71, 87], Operations: [] Exploring Operation: 87-82=5, Resulting Numbers: [54, 71, 5] Generated Node #0,0: 44:[54, 71, 5] Operation: 87-82=5 Exploring Operation: 82-54=28, Resulting Numbers: [71, 87, 28] Generated Node #0,1: 44:[71, 87, 28] Operation: 82-54=28 Exploring Operation: 87-71=16, Resulting Numbers: [54, 82, 16] Generated Node #0,2: 44:[54, 82, 16] Operation: 87-71=16 Exploring Operation: 82-71=11, Resulting Numbers: [54, 87, 11] Generated Node #0,3: 44:[54, 87, 11] Operation: 82-71=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[54, 71, 5], Operations: ['87-82=5'] Exploring Operation: 71-5=66, Resulting Numbers: [54, 66] Generated Node #0,0,0: 44:[54, 66] Operation: 71-5=66 Exploring Operation: 54-5=49, Resulting Numbers: [71, 49] Generated Node #0,0,1: 44:[71, 49] Operation: 54-5=49 Exploring Operation: 54+5=59, Resulting Numbers: [71, 59] Generated Node #0,0,2: 44:[71, 59] Operation: 54+5=59 Exploring Operation: 71-54=17, Resulting Numbers: [5, 17] Generated Node #0,0,3: 44:[5, 17] Operation: 71-54=17 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[5, 17], Operations: ['87-82=5', '71-54=17'] Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[54, 66], Operations: ['87-82=5', '71-5=66'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 54+66=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 54*66=3564, Resulting Numbers: [3564] 3564,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[71, 49], Operations: ['87-82=5', '54-5=49'] Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,44 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[71, 59], Operations: ['87-82=5', '54+5=59'] Exploring Operation: 71*59=4189, Resulting Numbers: [4189] 4189,44 unequal: No Solution Exploring Operation: 71+59=130, Resulting Numbers: [130] 130,44 unequal: No Solution Exploring Operation: 71-59=12, Resulting Numbers: [12] 12,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[54, 82, 16], Operations: ['87-71=16'] Exploring Operation: 82-54=28, Resulting Numbers: [16, 28] Generated Node #0,2,0: 44:[16, 28] Operation: 82-54=28 Exploring Operation: 54+16=70, Resulting Numbers: [82, 70] Generated Node #0,2,1: 44:[82, 70] Operation: 54+16=70 Exploring Operation: 82-16=66, Resulting Numbers: [54, 66] Generated Node #0,2,2: 44:[54, 66] Operation: 82-16=66 Exploring Operation: 54-16=38, Resulting Numbers: [82, 38] Generated Node #0,2,3: 44:[82, 38] Operation: 54-16=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 44:[16, 28], Operations: ['87-71=16', '82-54=28'] Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,44 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[54, 82, 71, 87], Operations: [] Exploring Operation: 87-71=16, Resulting Numbers: [54, 82, 16] Generated Node #0,2: 44:[54, 82, 16] Operation: 87-71=16 Moving to Node #0,2 Current State: 44:[54, 82, 16], Operations: ['87-71=16'] Exploring Operation: 82-54=28, Resulting Numbers: [16, 28] Generated Node #0,2,0: 44:[16, 28] Operation: 82-54=28 Moving to Node #0,2,0 Current State: 44:[16, 28], Operations: ['87-71=16', '82-54=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 58, 60, 14, 71 ]
61
[ "58+60=118", "71-14=57", "118-57=61" ]
Current State: 61:[58, 60, 14, 71], Operations: [] Exploring Operation: 58+60=118, Resulting Numbers: [14, 71, 118] Generated Node #2: [14, 71, 118] from Operation: 58+60=118 Current State: 61:[14, 71, 118], Operations: ['58+60=118'] Exploring Operation: 71-14=57, Resulting Numbers: [118, 57] Generated Node #3: [118, 57] from Operation: 71-14=57 Current State: 61:[118, 57], Operations: ['58+60=118', '71-14=57'] Exploring Operation: 118-57=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[58, 60, 14, 71], Operations: [] Exploring Operation: 71-14=57, Resulting Numbers: [58, 60, 57] Generated Node #0,0: 61:[58, 60, 57] Operation: 71-14=57 Exploring Operation: 58+14=72, Resulting Numbers: [60, 71, 72] Generated Node #0,1: 61:[60, 71, 72] Operation: 58+14=72 Moving to Node #0,0 Current State: 61:[58, 60, 57], Operations: ['71-14=57'] Exploring Operation: 60+57=117, Resulting Numbers: [58, 117] Generated Node #0,0,0: 61:[58, 117] Operation: 60+57=117 Exploring Operation: 58+57=115, Resulting Numbers: [60, 115] Generated Node #0,0,1: 61:[60, 115] Operation: 58+57=115 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[60, 115], Operations: ['71-14=57', '58+57=115'] Exploring Operation: 115-60=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 60+115=175, Resulting Numbers: [175] 175,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[58, 117], Operations: ['71-14=57', '60+57=117'] Exploring Operation: 117-58=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 58+117=175, Resulting Numbers: [175] 175,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 61:[60, 71, 72], Operations: ['58+14=72'] Exploring Operation: 71-60=11, Resulting Numbers: [72, 11] Generated Node #0,1,0: 61:[72, 11] Operation: 71-60=11 Exploring Operation: 72-60=12, Resulting Numbers: [71, 12] Generated Node #0,1,1: 61:[71, 12] Operation: 72-60=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[71, 12], Operations: ['58+14=72', '72-60=12'] Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[72, 11], Operations: ['58+14=72', '71-60=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[58, 60, 14, 71], Operations: [] Exploring Operation: 58+14=72, Resulting Numbers: [60, 71, 72] Generated Node #0,1: 61:[60, 71, 72] Operation: 58+14=72 Moving to Node #0,1 Current State: 61:[60, 71, 72], Operations: ['58+14=72'] Exploring Operation: 71-60=11, Resulting Numbers: [72, 11] Generated Node #0,1,0: 61:[72, 11] Operation: 71-60=11 Moving to Node #0,1,0 Current State: 61:[72, 11], Operations: ['58+14=72', '71-60=11'] Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 66, 91, 2, 24 ]
98
[ "91-66=25", "24+25=49", "2*49=98" ]
Current State: 98:[66, 91, 2, 24], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [2, 24, 25] Generated Node #2: [2, 24, 25] from Operation: 91-66=25 Current State: 98:[2, 24, 25], Operations: ['91-66=25'] Exploring Operation: 24+25=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 24+25=49 Current State: 98:[2, 49], Operations: ['91-66=25', '24+25=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[66, 91, 2, 24], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [2, 24, 25] Generated Node #0,0: 98:[2, 24, 25] Operation: 91-66=25 Exploring Operation: 66-24=42, Resulting Numbers: [91, 2, 42] Generated Node #0,1: 98:[91, 2, 42] Operation: 66-24=42 Exploring Operation: 66+24=90, Resulting Numbers: [91, 2, 90] Generated Node #0,2: 98:[91, 2, 90] Operation: 66+24=90 Moving to Node #0,1 Current State: 98:[91, 2, 42], Operations: ['66-24=42'] Exploring Operation: 91+2=93, Resulting Numbers: [42, 93] Generated Node #0,1,0: 98:[42, 93] Operation: 91+2=93 Exploring Operation: 2+42=44, Resulting Numbers: [91, 44] Generated Node #0,1,1: 98:[91, 44] Operation: 2+42=44 Exploring Operation: 91-42=49, Resulting Numbers: [2, 49] Generated Node #0,1,2: 98:[2, 49] Operation: 91-42=49 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[2, 49], Operations: ['66-24=42', '91-42=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[66, 91, 2, 24], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [91, 2, 42] Generated Node #0,1: 98:[91, 2, 42] Operation: 66-24=42 Moving to Node #0,1 Current State: 98:[91, 2, 42], Operations: ['66-24=42'] Exploring Operation: 91-42=49, Resulting Numbers: [2, 49] Generated Node #0,1,2: 98:[2, 49] Operation: 91-42=49 Moving to Node #0,1,2 Current State: 98:[2, 49], Operations: ['66-24=42', '91-42=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 44, 27, 12, 43 ]
56
[ "44*27=1188", "1188/12=99", "99-43=56" ]
Current State: 56:[44, 27, 12, 43], Operations: [] Exploring Operation: 44*27=1188, Resulting Numbers: [12, 43, 1188] Generated Node #2: [12, 43, 1188] from Operation: 44*27=1188 Current State: 56:[12, 43, 1188], Operations: ['44*27=1188'] Exploring Operation: 1188/12=99, Resulting Numbers: [43, 99] Generated Node #3: [43, 99] from Operation: 1188/12=99 Current State: 56:[43, 99], Operations: ['44*27=1188', '1188/12=99'] Exploring Operation: 99-43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[44, 27, 12, 43], Operations: [] Exploring Operation: 12+43=55, Resulting Numbers: [44, 27, 55] Generated Node #0,0: 56:[44, 27, 55] Operation: 12+43=55 Exploring Operation: 44-43=1, Resulting Numbers: [27, 12, 1] Generated Node #0,1: 56:[27, 12, 1] Operation: 44-43=1 Exploring Operation: 44+12=56, Resulting Numbers: [27, 43, 56] Generated Node #0,2: 56:[27, 43, 56] Operation: 44+12=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[27, 12, 1], Operations: ['44-43=1'] Exploring Operation: 12+1=13, Resulting Numbers: [27, 13] Generated Node #0,1,0: 56:[27, 13] Operation: 12+1=13 Exploring Operation: 27+1=28, Resulting Numbers: [12, 28] Generated Node #0,1,1: 56:[12, 28] Operation: 27+1=28 Exploring Operation: 27-12=15, Resulting Numbers: [1, 15] Generated Node #0,1,2: 56:[1, 15] Operation: 27-12=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[27, 13], Operations: ['44-43=1', '12+1=13'] Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,56 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[12, 28], Operations: ['44-43=1', '27+1=28'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,56 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[1, 15], Operations: ['44-43=1', '27-12=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[44, 27, 55], Operations: ['12+43=55'] Exploring Operation: 55-44=11, Resulting Numbers: [27, 11] Generated Node #0,0,0: 56:[27, 11] Operation: 55-44=11 Exploring Operation: 55-27=28, Resulting Numbers: [44, 28] Generated Node #0,0,1: 56:[44, 28] Operation: 55-27=28 Exploring Operation: 44-27=17, Resulting Numbers: [55, 17] Generated Node #0,0,2: 56:[55, 17] Operation: 44-27=17 Moving to Node #0,0,0 Current State: 56:[27, 11], Operations: ['12+43=55', '55-44=11'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,56 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[55, 17], Operations: ['12+43=55', '44-27=17'] Exploring Operation: 55+17=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 55-17=38, Resulting Numbers: [38] 38,56 unequal: No Solution Exploring Operation: 55*17=935, Resulting Numbers: [935] 935,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[44, 28], Operations: ['12+43=55', '55-27=28'] Exploring Operation: 44+28=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 44-28=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 44*28=1232, Resulting Numbers: [1232] 1232,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[27, 43, 56], Operations: ['44+12=56'] Exploring Operation: 56-43=13, Resulting Numbers: [27, 13] Generated Node #0,2,0: 56:[27, 13] Operation: 56-43=13 Exploring Operation: 43-27=16, Resulting Numbers: [56, 16] Generated Node #0,2,1: 56:[56, 16] Operation: 43-27=16 Exploring Operation: 27+43=70, Resulting Numbers: [56, 70] Generated Node #0,2,2: 56:[56, 70] Operation: 27+43=70 Moving to Node #0,2,0 Current State: 56:[27, 13], Operations: ['44+12=56', '56-43=13'] Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,56 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[56, 16], Operations: ['44+12=56', '43-27=16'] Exploring Operation: 56*16=896, Resulting Numbers: [896] 896,56 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 56+16=72, Resulting Numbers: [72] 72,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[56, 70], Operations: ['44+12=56', '27+43=70'] Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,56 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,56 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
[ 31, 8, 54, 40 ]
28
[ "54-31=23", "40/8=5", "23+5=28" ]
Current State: 28:[31, 8, 54, 40], Operations: [] Exploring Operation: 54-31=23, Resulting Numbers: [8, 40, 23] Generated Node #2: [8, 40, 23] from Operation: 54-31=23 Current State: 28:[8, 40, 23], Operations: ['54-31=23'] Exploring Operation: 40/8=5, Resulting Numbers: [23, 5] Generated Node #3: [23, 5] from Operation: 40/8=5 Current State: 28:[23, 5], Operations: ['54-31=23', '40/8=5'] Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[31, 8, 54, 40], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [31, 8, 14] Generated Node #0,0: 28:[31, 8, 14] Operation: 54-40=14 Moving to Node #0,0 Current State: 28:[31, 8, 14], Operations: ['54-40=14'] Exploring Operation: 31-14=17, Resulting Numbers: [8, 17] Generated Node #0,0,0: 28:[8, 17] Operation: 31-14=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[8, 17], Operations: ['54-40=14', '31-14=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 3, 2, 25, 63 ]
52
[ "25-3=22", "22/2=11", "63-11=52" ]
Current State: 52:[3, 2, 25, 63], Operations: [] Exploring Operation: 25-3=22, Resulting Numbers: [2, 63, 22] Generated Node #2: [2, 63, 22] from Operation: 25-3=22 Current State: 52:[2, 63, 22], Operations: ['25-3=22'] Exploring Operation: 22/2=11, Resulting Numbers: [63, 11] Generated Node #3: [63, 11] from Operation: 22/2=11 Current State: 52:[63, 11], Operations: ['25-3=22', '22/2=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[3, 2, 25, 63], Operations: [] Exploring Operation: 3+2=5, Resulting Numbers: [25, 63, 5] Generated Node #0,0: 52:[25, 63, 5] Operation: 3+2=5 Exploring Operation: 63-2=61, Resulting Numbers: [3, 25, 61] Generated Node #0,1: 52:[3, 25, 61] Operation: 63-2=61 Exploring Operation: 63-3=60, Resulting Numbers: [2, 25, 60] Generated Node #0,2: 52:[2, 25, 60] Operation: 63-3=60 Exploring Operation: 63/3=21, Resulting Numbers: [2, 25, 21] Generated Node #0,3: 52:[2, 25, 21] Operation: 63/3=21 Exploring Operation: 3-2=1, Resulting Numbers: [25, 63, 1] Generated Node #0,4: 52:[25, 63, 1] Operation: 3-2=1 Moving to Node #0,3 Current State: 52:[2, 25, 21], Operations: ['63/3=21'] Exploring Operation: 25-21=4, Resulting Numbers: [2, 4] Generated Node #0,3,0: 52:[2, 4] Operation: 25-21=4 Exploring Operation: 2+21=23, Resulting Numbers: [25, 23] Generated Node #0,3,1: 52:[25, 23] Operation: 2+21=23 Exploring Operation: 2*25=50, Resulting Numbers: [21, 50] Generated Node #0,3,2: 52:[21, 50] Operation: 2*25=50 Exploring Operation: 25+21=46, Resulting Numbers: [2, 46] Generated Node #0,3,3: 52:[2, 46] Operation: 25+21=46 Exploring Operation: 2+25=27, Resulting Numbers: [21, 27] Generated Node #0,3,4: 52:[21, 27] Operation: 2+25=27 Moving to Node #0,2 Current State: 52:[2, 25, 60], Operations: ['63-3=60'] Exploring Operation: 2*25=50, Resulting Numbers: [60, 50] Generated Node #0,2,0: 52:[60, 50] Operation: 2*25=50 Exploring Operation: 60-2=58, Resulting Numbers: [25, 58] Generated Node #0,2,1: 52:[25, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [25, 30] Generated Node #0,2,2: 52:[25, 30] Operation: 60/2=30 Exploring Operation: 2+25=27, Resulting Numbers: [60, 27] Generated Node #0,2,3: 52:[60, 27] Operation: 2+25=27 Exploring Operation: 60-25=35, Resulting Numbers: [2, 35] Generated Node #0,2,4: 52:[2, 35] Operation: 60-25=35 Moving to Node #0,1 Current State: 52:[3, 25, 61], Operations: ['63-2=61'] Exploring Operation: 3+25=28, Resulting Numbers: [61, 28] Generated Node #0,1,0: 52:[61, 28] Operation: 3+25=28 Exploring Operation: 25-3=22, Resulting Numbers: [61, 22] Generated Node #0,1,1: 52:[61, 22] Operation: 25-3=22 Exploring Operation: 61-25=36, Resulting Numbers: [3, 36] Generated Node #0,1,2: 52:[3, 36] Operation: 61-25=36 Exploring Operation: 3+61=64, Resulting Numbers: [25, 64] Generated Node #0,1,3: 52:[25, 64] Operation: 3+61=64 Exploring Operation: 61-3=58, Resulting Numbers: [25, 58] Generated Node #0,1,4: 52:[25, 58] Operation: 61-3=58 Moving to Node #0,0 Current State: 52:[25, 63, 5], Operations: ['3+2=5'] Exploring Operation: 25-5=20, Resulting Numbers: [63, 20] Generated Node #0,0,0: 52:[63, 20] Operation: 25-5=20 Exploring Operation: 63-25=38, Resulting Numbers: [5, 38] Generated Node #0,0,1: 52:[5, 38] Operation: 63-25=38 Exploring Operation: 25+5=30, Resulting Numbers: [63, 30] Generated Node #0,0,2: 52:[63, 30] Operation: 25+5=30 Exploring Operation: 63-5=58, Resulting Numbers: [25, 58] Generated Node #0,0,3: 52:[25, 58] Operation: 63-5=58 Exploring Operation: 25/5=5, Resulting Numbers: [63, 5] Generated Node #0,0,4: 52:[63, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[25, 58], Operations: ['3+2=5', '63-5=58'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 52:[63, 5], Operations: ['3+2=5', '25/5=5'] Exploring Operation: 63+5=68, Resulting Numbers: [68] 68,52 unequal: No Solution Exploring Operation: 63*5=315, Resulting Numbers: [315] 315,52 unequal: No Solution Exploring Operation: 63-5=58, Resulting Numbers: [58] 58,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[5, 38], Operations: ['3+2=5', '63-25=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,52 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[63, 30], Operations: ['3+2=5', '25+5=30'] Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,52 unequal: No Solution Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,52 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[63, 20], Operations: ['3+2=5', '25-5=20'] Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,52 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 52:[25, 63, 1], Operations: ['3-2=1'] Exploring Operation: 63-1=62, Resulting Numbers: [25, 62] Generated Node #0,4,0: 52:[25, 62] Operation: 63-1=62 Exploring Operation: 25+1=26, Resulting Numbers: [63, 26] Generated Node #0,4,1: 52:[63, 26] Operation: 25+1=26 Exploring Operation: 25*1=25, Resulting Numbers: [63, 25] Generated Node #0,4,2: 52:[63, 25] Operation: 25*1=25 Exploring Operation: 25/1=25, Resulting Numbers: [63, 25] Generated Node #0,4,3: 52:[63, 25] Operation: 25/1=25 Exploring Operation: 63*1=63, Resulting Numbers: [25, 63] Generated Node #0,4,4: 52:[25, 63] Operation: 63*1=63 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[25, 62], Operations: ['3-2=1', '63-1=62'] Exploring Operation: 62-25=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 25*62=1550, Resulting Numbers: [1550] 1550,52 unequal: No Solution Exploring Operation: 25+62=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[63, 26], Operations: ['3-2=1', '25+1=26'] Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,52 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[63, 25], Operations: ['3-2=1', '25*1=25'] Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,52 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[63, 25], Operations: ['3-2=1', '25/1=25'] Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[25, 63], Operations: ['3-2=1', '63*1=63'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,52 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 52:[2, 4], Operations: ['63/3=21', '25-21=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[25, 23], Operations: ['63/3=21', '2+21=23'] Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 25+23=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 25*23=575, Resulting Numbers: [575] 575,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[25, 30], Operations: ['63-3=60', '60/2=30'] Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,52 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[2, 46], Operations: ['63/3=21', '25+21=46'] Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,52 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[21, 27], Operations: ['63/3=21', '2+25=27'] Exploring Operation: 21+27=48, Resulting Numbers: [48] 48,52 unequal: No Solution Exploring Operation: 21*27=567, Resulting Numbers: [567] 567,52 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[25, 58], Operations: ['63-3=60', '60-2=58'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[21, 50], Operations: ['63/3=21', '2*25=50'] Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,52 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[25, 58], Operations: ['63-2=61', '61-3=58'] Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,52 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[2, 35], Operations: ['63-3=60', '60-25=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,52 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[60, 27], Operations: ['63-3=60', '2+25=27'] Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,52 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[60, 50], Operations: ['63-3=60', '2*25=50'] Exploring Operation: 60+50=110, Resulting Numbers: [110] 110,52 unequal: No Solution Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 60*50=3000, Resulting Numbers: [3000] 3000,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[3, 36], Operations: ['63-2=61', '61-25=36'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,52 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[61, 28], Operations: ['63-2=61', '3+25=28'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,52 unequal: No Solution Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[25, 64], Operations: ['63-2=61', '3+61=64'] Exploring Operation: 25*64=1600, Resulting Numbers: [1600] 1600,52 unequal: No Solution Exploring Operation: 25+64=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[61, 22], Operations: ['63-2=61', '25-3=22'] Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 61+22=83, Resulting Numbers: [83] 83,52 unequal: No Solution Exploring Operation: 61*22=1342, Resulting Numbers: [1342] 1342,52 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 11, 69, 38 ]
83
[ "15-11=4", "38*4=152", "152-69=83" ]
Current State: 83:[15, 11, 69, 38], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [69, 38, 4] Generated Node #2: [69, 38, 4] from Operation: 15-11=4 Current State: 83:[69, 38, 4], Operations: ['15-11=4'] Exploring Operation: 38*4=152, Resulting Numbers: [69, 152] Generated Node #3: [69, 152] from Operation: 38*4=152 Current State: 83:[69, 152], Operations: ['15-11=4', '38*4=152'] Exploring Operation: 152-69=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[15, 11, 69, 38], Operations: [] Exploring Operation: 15+38=53, Resulting Numbers: [11, 69, 53] Generated Node #0,0: 83:[11, 69, 53] Operation: 15+38=53 Exploring Operation: 15+11=26, Resulting Numbers: [69, 38, 26] Generated Node #0,1: 83:[69, 38, 26] Operation: 15+11=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[11, 69, 53], Operations: ['15+38=53'] Exploring Operation: 11+53=64, Resulting Numbers: [69, 64] Generated Node #0,0,0: 83:[69, 64] Operation: 11+53=64 Exploring Operation: 11+69=80, Resulting Numbers: [53, 80] Generated Node #0,0,1: 83:[53, 80] Operation: 11+69=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[69, 64], Operations: ['15+38=53', '11+53=64'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[53, 80], Operations: ['15+38=53', '11+69=80'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 53+80=133, Resulting Numbers: [133] 133,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[69, 38, 26], Operations: ['15+11=26'] Exploring Operation: 69+26=95, Resulting Numbers: [38, 95] Generated Node #0,1,0: 83:[38, 95] Operation: 69+26=95 Exploring Operation: 38+26=64, Resulting Numbers: [69, 64] Generated Node #0,1,1: 83:[69, 64] Operation: 38+26=64 Moving to Node #0,1,1 Current State: 83:[69, 64], Operations: ['15+11=26', '38+26=64'] Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,83 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[38, 95], Operations: ['15+11=26', '69+26=95'] Exploring Operation: 95-38=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 38+95=133, Resulting Numbers: [133] 133,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 3, 48, 38, 7 ]
50
[ "7-3=4", "48/4=12", "38+12=50" ]
Current State: 50:[3, 48, 38, 7], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [48, 38, 4] Generated Node #2: [48, 38, 4] from Operation: 7-3=4 Current State: 50:[48, 38, 4], Operations: ['7-3=4'] Exploring Operation: 48/4=12, Resulting Numbers: [38, 12] Generated Node #3: [38, 12] from Operation: 48/4=12 Current State: 50:[38, 12], Operations: ['7-3=4', '48/4=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[3, 48, 38, 7], Operations: [] Exploring Operation: 48-38=10, Resulting Numbers: [3, 7, 10] Generated Node #0,0: 50:[3, 7, 10] Operation: 48-38=10 Moving to Node #0,0 Current State: 50:[3, 7, 10], Operations: ['48-38=10'] Exploring Operation: 3+7=10, Resulting Numbers: [10, 10] Generated Node #0,0,0: 50:[10, 10] Operation: 3+7=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[10, 10], Operations: ['48-38=10', '3+7=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,50 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
[ 74, 27, 59, 59 ]
48
[ "74-27=47", "59/59=1", "47+1=48" ]
Current State: 48:[74, 27, 59, 59], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [59, 59, 47] Generated Node #2: [59, 59, 47] from Operation: 74-27=47 Current State: 48:[59, 59, 47], Operations: ['74-27=47'] Exploring Operation: 59/59=1, Resulting Numbers: [47, 1] Generated Node #3: [47, 1] from Operation: 59/59=1 Current State: 48:[47, 1], Operations: ['74-27=47', '59/59=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[74, 27, 59, 59], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [27, 59, 15] Generated Node #0,0: 48:[27, 59, 15] Operation: 74-59=15 Exploring Operation: 74-59=15, Resulting Numbers: [27, 59, 15] Generated Node #0,1: 48:[27, 59, 15] Operation: 74-59=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[27, 59, 15], Operations: ['74-59=15'] Exploring Operation: 59-27=32, Resulting Numbers: [15, 32] Generated Node #0,0,0: 48:[15, 32] Operation: 59-27=32 Exploring Operation: 59-15=44, Resulting Numbers: [27, 44] Generated Node #0,0,1: 48:[27, 44] Operation: 59-15=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[27, 44], Operations: ['74-59=15', '59-15=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,48 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,48 unequal: No Solution No 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: 48:[15, 32], Operations: ['74-59=15', '59-27=32'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,48 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: 48:[27, 59, 15], Operations: ['74-59=15'] Exploring Operation: 59-15=44, Resulting Numbers: [27, 44] Generated Node #0,1,0: 48:[27, 44] Operation: 59-15=44 Exploring Operation: 59-27=32, Resulting Numbers: [15, 32] Generated Node #0,1,1: 48:[15, 32] Operation: 59-27=32 Moving to Node #0,1,0 Current State: 48:[27, 44], Operations: ['74-59=15', '59-15=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[15, 32], Operations: ['74-59=15', '59-27=32'] Exploring Operation: 15+32=47, Resulting Numbers: [47] 47,48 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 87, 69, 93, 35 ]
32
[ "87*35=3045", "3045-69=2976", "2976/93=32" ]
Current State: 32:[87, 69, 93, 35], Operations: [] Exploring Operation: 87*35=3045, Resulting Numbers: [69, 93, 3045] Generated Node #2: [69, 93, 3045] from Operation: 87*35=3045 Current State: 32:[69, 93, 3045], Operations: ['87*35=3045'] Exploring Operation: 3045-69=2976, Resulting Numbers: [93, 2976] Generated Node #3: [93, 2976] from Operation: 3045-69=2976 Current State: 32:[93, 2976], Operations: ['87*35=3045', '3045-69=2976'] Exploring Operation: 2976/93=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[87, 69, 93, 35], Operations: [] Exploring Operation: 87-35=52, Resulting Numbers: [69, 93, 52] Generated Node #0,0: 32:[69, 93, 52] Operation: 87-35=52 Exploring Operation: 87-69=18, Resulting Numbers: [93, 35, 18] Generated Node #0,1: 32:[93, 35, 18] Operation: 87-69=18 Exploring Operation: 93-87=6, Resulting Numbers: [69, 35, 6] Generated Node #0,2: 32:[69, 35, 6] Operation: 93-87=6 Exploring Operation: 69-35=34, Resulting Numbers: [87, 93, 34] Generated Node #0,3: 32:[87, 93, 34] Operation: 69-35=34 Exploring Operation: 93-69=24, Resulting Numbers: [87, 35, 24] Generated Node #0,4: 32:[87, 35, 24] Operation: 93-69=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[69, 35, 6], Operations: ['93-87=6'] Exploring Operation: 69+6=75, Resulting Numbers: [35, 75] Generated Node #0,2,0: 32:[35, 75] Operation: 69+6=75 Exploring Operation: 35-6=29, Resulting Numbers: [69, 29] Generated Node #0,2,1: 32:[69, 29] Operation: 35-6=29 Exploring Operation: 35+6=41, Resulting Numbers: [69, 41] Generated Node #0,2,2: 32:[69, 41] Operation: 35+6=41 Exploring Operation: 69-35=34, Resulting Numbers: [6, 34] Generated Node #0,2,3: 32:[6, 34] Operation: 69-35=34 Exploring Operation: 69-6=63, Resulting Numbers: [35, 63] Generated Node #0,2,4: 32:[35, 63] Operation: 69-6=63 Moving to Node #0,2,3 Current State: 32:[6, 34], Operations: ['93-87=6', '69-35=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,32 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,2,4 Current State: 32:[35, 63], Operations: ['93-87=6', '69-6=63'] Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,32 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[69, 29], Operations: ['93-87=6', '35-6=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[35, 75], Operations: ['93-87=6', '69+6=75'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,32 unequal: No Solution Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[69, 41], Operations: ['93-87=6', '35+6=41'] Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,32 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[93, 35, 18], Operations: ['87-69=18'] Exploring Operation: 93+18=111, Resulting Numbers: [35, 111] Generated Node #0,1,0: 32:[35, 111] Operation: 93+18=111 Exploring Operation: 93-35=58, Resulting Numbers: [18, 58] Generated Node #0,1,1: 32:[18, 58] Operation: 93-35=58 Exploring Operation: 35-18=17, Resulting Numbers: [93, 17] Generated Node #0,1,2: 32:[93, 17] Operation: 35-18=17 Exploring Operation: 93-18=75, Resulting Numbers: [35, 75] Generated Node #0,1,3: 32:[35, 75] Operation: 93-18=75 Exploring Operation: 35+18=53, Resulting Numbers: [93, 53] Generated Node #0,1,4: 32:[93, 53] Operation: 35+18=53 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[18, 58], Operations: ['87-69=18', '93-35=58'] Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 18*58=1044, Resulting Numbers: [1044] 1044,32 unequal: No Solution No 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: 32:[35, 75], Operations: ['87-69=18', '93-18=75'] Exploring Operation: 35*75=2625, Resulting Numbers: [2625] 2625,32 unequal: No Solution Exploring Operation: 35+75=110, Resulting Numbers: [110] 110,32 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,32 unequal: No Solution No 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: 32:[93, 17], Operations: ['87-69=18', '35-18=17'] Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,32 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,32 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,32 unequal: No Solution No 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: 32:[35, 111], Operations: ['87-69=18', '93+18=111'] Exploring Operation: 111-35=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 35*111=3885, Resulting Numbers: [3885] 3885,32 unequal: No Solution Exploring Operation: 35+111=146, Resulting Numbers: [146] 146,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[93, 53], Operations: ['87-69=18', '35+18=53'] Exploring Operation: 93*53=4929, Resulting Numbers: [4929] 4929,32 unequal: No Solution Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 93+53=146, Resulting Numbers: [146] 146,32 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: 32:[87, 35, 24], Operations: ['93-69=24'] Exploring Operation: 35+24=59, Resulting Numbers: [87, 59] Generated Node #0,4,0: 32:[87, 59] Operation: 35+24=59 Exploring Operation: 35-24=11, Resulting Numbers: [87, 11] Generated Node #0,4,1: 32:[87, 11] Operation: 35-24=11 Exploring Operation: 87-24=63, Resulting Numbers: [35, 63] Generated Node #0,4,2: 32:[35, 63] Operation: 87-24=63 Exploring Operation: 87+24=111, Resulting Numbers: [35, 111] Generated Node #0,4,3: 32:[35, 111] Operation: 87+24=111 Exploring Operation: 87-35=52, Resulting Numbers: [24, 52] Generated Node #0,4,4: 32:[24, 52] Operation: 87-35=52 Moving to Node #0,4,4 Current State: 32:[24, 52], Operations: ['93-69=24', '87-35=52'] Exploring Operation: 24+52=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 24*52=1248, Resulting Numbers: [1248] 1248,32 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,4,2 Current State: 32:[35, 63], Operations: ['93-69=24', '87-24=63'] Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,32 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[87, 11], Operations: ['93-69=24', '35-24=11'] Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,32 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[87, 59], Operations: ['93-69=24', '35+24=59'] Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,32 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[35, 111], Operations: ['93-69=24', '87+24=111'] Exploring Operation: 35*111=3885, Resulting Numbers: [3885] 3885,32 unequal: No Solution Exploring Operation: 35+111=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 111-35=76, Resulting Numbers: [76] 76,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[69, 93, 52], Operations: ['87-35=52'] Exploring Operation: 93-69=24, Resulting Numbers: [52, 24] Generated Node #0,0,0: 32:[52, 24] Operation: 93-69=24 Exploring Operation: 69-52=17, Resulting Numbers: [93, 17] Generated Node #0,0,1: 32:[93, 17] Operation: 69-52=17 Exploring Operation: 69+93=162, Resulting Numbers: [52, 162] Generated Node #0,0,2: 32:[52, 162] Operation: 69+93=162 Exploring Operation: 93-52=41, Resulting Numbers: [69, 41] Generated Node #0,0,3: 32:[69, 41] Operation: 93-52=41 Exploring Operation: 69+52=121, Resulting Numbers: [93, 121] Generated Node #0,0,4: 32:[93, 121] Operation: 69+52=121 Moving to Node #0,0,0 Current State: 32:[52, 24], Operations: ['87-35=52', '93-69=24'] Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,32 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[69, 41], Operations: ['87-35=52', '93-52=41'] Exploring Operation: 69+41=110, Resulting Numbers: [110] 110,32 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 69*41=2829, Resulting Numbers: [2829] 2829,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[93, 17], Operations: ['87-35=52', '69-52=17'] Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,32 unequal: No Solution Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[52, 162], Operations: ['87-35=52', '69+93=162'] Exploring Operation: 162-52=110, Resulting Numbers: [110] 110,32 unequal: No Solution Exploring Operation: 52+162=214, Resulting Numbers: [214] 214,32 unequal: No Solution Exploring Operation: 52*162=8424, Resulting Numbers: [8424] 8424,32 unequal: No Solution Moving to Node #0,0,4 Current State: 32:[93, 121], Operations: ['87-35=52', '69+52=121'] Exploring Operation: 121-93=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 93*121=11253, Resulting Numbers: [11253] 11253,32 unequal: No Solution Exploring Operation: 93+121=214, Resulting Numbers: [214] 214,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[87, 93, 34], Operations: ['69-35=34'] Exploring Operation: 93-87=6, Resulting Numbers: [34, 6] Generated Node #0,3,0: 32:[34, 6] Operation: 93-87=6 Exploring Operation: 87-34=53, Resulting Numbers: [93, 53] Generated Node #0,3,1: 32:[93, 53] Operation: 87-34=53 Exploring Operation: 87+93=180, Resulting Numbers: [34, 180] Generated Node #0,3,2: 32:[34, 180] Operation: 87+93=180 Exploring Operation: 93-34=59, Resulting Numbers: [87, 59] Generated Node #0,3,3: 32:[87, 59] Operation: 93-34=59 Exploring Operation: 87+34=121, Resulting Numbers: [93, 121] Generated Node #0,3,4: 32:[93, 121] Operation: 87+34=121 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 32:[34, 6], Operations: ['69-35=34', '93-87=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,32 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,32 unequal: No Solution No 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: 32:[93, 53], Operations: ['69-35=34', '87-34=53'] Exploring Operation: 93+53=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 93*53=4929, Resulting Numbers: [4929] 4929,32 unequal: No Solution No 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: 32:[87, 59], Operations: ['69-35=34', '93-34=59'] Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,32 unequal: No Solution Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,32 unequal: No Solution No 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: 32:[34, 180], Operations: ['69-35=34', '87+93=180'] Exploring Operation: 34+180=214, Resulting Numbers: [214] 214,32 unequal: No Solution Exploring Operation: 180-34=146, Resulting Numbers: [146] 146,32 unequal: No Solution Exploring Operation: 34*180=6120, Resulting Numbers: [6120] 6120,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 32:[93, 121], Operations: ['69-35=34', '87+34=121'] Exploring Operation: 93+121=214, Resulting Numbers: [214] 214,32 unequal: No Solution Exploring Operation: 93*121=11253, Resulting Numbers: [11253] 11253,32 unequal: No Solution Exploring Operation: 121-93=28, Resulting Numbers: [28] 28,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 77, 9, 68, 22 ]
22
[ "77-9=68", "68+22=90", "90-68=22" ]
Current State: 22:[77, 9, 68, 22], Operations: [] Exploring Operation: 77-9=68, Resulting Numbers: [68, 22, 68] Generated Node #2: [68, 22, 68] from Operation: 77-9=68 Current State: 22:[68, 22, 68], Operations: ['77-9=68'] Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,22 equal: Goal Reached Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[77, 9, 68, 22], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [9, 68, 55] Generated Node #0,0: 22:[9, 68, 55] Operation: 77-22=55 Exploring Operation: 77-68=9, Resulting Numbers: [9, 22, 9] Generated Node #0,1: 22:[9, 22, 9] Operation: 77-68=9 Exploring Operation: 68-9=59, Resulting Numbers: [77, 22, 59] Generated Node #0,2: 22:[77, 22, 59] Operation: 68-9=59 Exploring Operation: 68-22=46, Resulting Numbers: [77, 9, 46] Generated Node #0,3: 22:[77, 9, 46] Operation: 68-22=46 Exploring Operation: 77-9=68, Resulting Numbers: [68, 22, 68] Generated Node #0,4: 22:[68, 22, 68] Operation: 77-9=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[9, 22, 9], Operations: ['77-68=9'] Exploring Operation: 9+9=18, Resulting Numbers: [22, 18] Generated Node #0,1,0: 22:[22, 18] Operation: 9+9=18 Exploring Operation: 9-9=0, Resulting Numbers: [22, 0] Generated Node #0,1,1: 22:[22, 0] Operation: 9-9=0 Exploring Operation: 22-9=13, Resulting Numbers: [9, 13] Generated Node #0,1,2: 22:[9, 13] Operation: 22-9=13 Exploring Operation: 22-9=13, Resulting Numbers: [9, 13] Generated Node #0,1,3: 22:[9, 13] Operation: 22-9=13 Exploring Operation: 9/9=1, Resulting Numbers: [22, 1] Generated Node #0,1,4: 22:[22, 1] Operation: 9/9=1 Moving to Node #0,1,4 Current State: 22:[22, 1], Operations: ['77-68=9', '9/9=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[77, 9, 68, 22], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [9, 22, 9] Generated Node #0,1: 22:[9, 22, 9] Operation: 77-68=9 Moving to Node #0,1 Current State: 22:[9, 22, 9], Operations: ['77-68=9'] Exploring Operation: 9/9=1, Resulting Numbers: [22, 1] Generated Node #0,1,4: 22:[22, 1] Operation: 9/9=1 Moving to Node #0,1,4 Current State: 22:[22, 1], Operations: ['77-68=9', '9/9=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 77, 10, 40, 67 ]
40
[ "77-10=67", "40+67=107", "107-67=40" ]
Current State: 40:[77, 10, 40, 67], Operations: [] Exploring Operation: 77-10=67, Resulting Numbers: [40, 67, 67] Generated Node #2: [40, 67, 67] from Operation: 77-10=67 Current State: 40:[40, 67, 67], Operations: ['77-10=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,40 equal: Goal Reached Exploring Operation: 107-67=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[77, 10, 40, 67], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [10, 40, 10] Generated Node #0,0: 40:[10, 40, 10] Operation: 77-67=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[10, 40, 10], Operations: ['77-67=10'] Exploring Operation: 40/10=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 40:[10, 4] Operation: 40/10=4 Moving to Node #0,0,0 Current State: 40:[10, 4], Operations: ['77-67=10', '40/10=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[77, 10, 40, 67], Operations: [] Exploring Operation: 77-67=10, Resulting Numbers: [10, 40, 10] Generated Node #0,0: 40:[10, 40, 10] Operation: 77-67=10 Moving to Node #0,0 Current State: 40:[10, 40, 10], Operations: ['77-67=10'] Exploring Operation: 40/10=4, Resulting Numbers: [10, 4] Generated Node #0,0,0: 40:[10, 4] Operation: 40/10=4 Moving to Node #0,0,0 Current State: 40:[10, 4], Operations: ['77-67=10', '40/10=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 59, 82, 14, 58 ]
95
[ "82-59=23", "14+58=72", "23+72=95" ]
Current State: 95:[59, 82, 14, 58], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [14, 58, 23] Generated Node #2: [14, 58, 23] from Operation: 82-59=23 Current State: 95:[14, 58, 23], Operations: ['82-59=23'] Exploring Operation: 14+58=72, Resulting Numbers: [23, 72] Generated Node #3: [23, 72] from Operation: 14+58=72 Current State: 95:[23, 72], Operations: ['82-59=23', '14+58=72'] Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[59, 82, 14, 58], Operations: [] Exploring Operation: 59+58=117, Resulting Numbers: [82, 14, 117] Generated Node #0,0: 95:[82, 14, 117] Operation: 59+58=117 Exploring Operation: 59-58=1, Resulting Numbers: [82, 14, 1] Generated Node #0,1: 95:[82, 14, 1] Operation: 59-58=1 Moving to Node #0,1 Current State: 95:[82, 14, 1], Operations: ['59-58=1'] Exploring Operation: 82+14=96, Resulting Numbers: [1, 96] Generated Node #0,1,0: 95:[1, 96] Operation: 82+14=96 Exploring Operation: 82+1=83, Resulting Numbers: [14, 83] Generated Node #0,1,1: 95:[14, 83] Operation: 82+1=83 Moving to Node #0,0 Current State: 95:[82, 14, 117], Operations: ['59+58=117'] Exploring Operation: 117-82=35, Resulting Numbers: [14, 35] Generated Node #0,0,0: 95:[14, 35] Operation: 117-82=35 Exploring Operation: 117-14=103, Resulting Numbers: [82, 103] Generated Node #0,0,1: 95:[82, 103] Operation: 117-14=103 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[14, 35], Operations: ['59+58=117', '117-82=35'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[82, 103], Operations: ['59+58=117', '117-14=103'] Exploring Operation: 103-82=21, Resulting Numbers: [21] 21,95 unequal: No Solution Exploring Operation: 82+103=185, Resulting Numbers: [185] 185,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 95:[1, 96], Operations: ['59-58=1', '82+14=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[59, 82, 14, 58], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [82, 14, 1] Generated Node #0,1: 95:[82, 14, 1] Operation: 59-58=1 Moving to Node #0,1 Current State: 95:[82, 14, 1], Operations: ['59-58=1'] Exploring Operation: 82+14=96, Resulting Numbers: [1, 96] Generated Node #0,1,0: 95:[1, 96] Operation: 82+14=96 Moving to Node #0,1,0 Current State: 95:[1, 96], Operations: ['59-58=1', '82+14=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 8, 11, 88, 5 ]
55
[ "8+5=13", "11*13=143", "143-88=55" ]
Current State: 55:[8, 11, 88, 5], Operations: [] Exploring Operation: 8+5=13, Resulting Numbers: [11, 88, 13] Generated Node #2: [11, 88, 13] from Operation: 8+5=13 Current State: 55:[11, 88, 13], Operations: ['8+5=13'] Exploring Operation: 11*13=143, Resulting Numbers: [88, 143] Generated Node #3: [88, 143] from Operation: 11*13=143 Current State: 55:[88, 143], Operations: ['8+5=13', '11*13=143'] Exploring Operation: 143-88=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[8, 11, 88, 5], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [11, 5, 11] Generated Node #0,0: 55:[11, 5, 11] Operation: 88/8=11 Exploring Operation: 88/11=8, Resulting Numbers: [8, 5, 8] Generated Node #0,1: 55:[8, 5, 8] Operation: 88/11=8 Exploring Operation: 88-5=83, Resulting Numbers: [8, 11, 83] Generated Node #0,2: 55:[8, 11, 83] Operation: 88-5=83 Exploring Operation: 88-11=77, Resulting Numbers: [8, 5, 77] Generated Node #0,3: 55:[8, 5, 77] Operation: 88-11=77 Exploring Operation: 88-8=80, Resulting Numbers: [11, 5, 80] Generated Node #0,4: 55:[11, 5, 80] Operation: 88-8=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[11, 5, 11], Operations: ['88/8=11'] Exploring Operation: 5*11=55, Resulting Numbers: [11, 55] Generated Node #0,0,0: 55:[11, 55] Operation: 5*11=55 Exploring Operation: 11*5=55, Resulting Numbers: [11, 55] Generated Node #0,0,1: 55:[11, 55] Operation: 11*5=55 Exploring Operation: 11-5=6, Resulting Numbers: [11, 6] Generated Node #0,0,2: 55:[11, 6] Operation: 11-5=6 Exploring Operation: 11-5=6, Resulting Numbers: [11, 6] Generated Node #0,0,3: 55:[11, 6] Operation: 11-5=6 Exploring Operation: 11/11=1, Resulting Numbers: [5, 1] Generated Node #0,0,4: 55:[5, 1] Operation: 11/11=1 Moving to Node #0,0,0 Current State: 55:[11, 55], Operations: ['88/8=11', '5*11=55'] Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,55 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[11, 55], Operations: ['88/8=11', '11*5=55'] Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,55 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[11, 6], Operations: ['88/8=11', '11-5=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,0,3 Current State: 55:[11, 6], Operations: ['88/8=11', '11-5=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,55 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,0,4 Current State: 55:[5, 1], Operations: ['88/8=11', '11/11=1'] Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,55 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[8, 5, 8], Operations: ['88/11=8'] Exploring Operation: 8-8=0, Resulting Numbers: [5, 0] Generated Node #0,1,0: 55:[5, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 55:[5, 16] Operation: 8+8=16 Exploring Operation: 8-5=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 55:[8, 3] Operation: 8-5=3 Exploring Operation: 8+5=13, Resulting Numbers: [8, 13] Generated Node #0,1,3: 55:[8, 13] Operation: 8+5=13 Exploring Operation: 8/8=1, Resulting Numbers: [5, 1] Generated Node #0,1,4: 55:[5, 1] Operation: 8/8=1 Moving to Node #0,1,4 Current State: 55:[5, 1], Operations: ['88/11=8', '8/8=1'] Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[5, 16], Operations: ['88/11=8', '8+8=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[8, 13], Operations: ['88/11=8', '8+5=13'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[5, 0], Operations: ['88/11=8', '8-8=0'] Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[8, 3], Operations: ['88/11=8', '8-5=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,55 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[8, 5, 77], Operations: ['88-11=77'] Exploring Operation: 8+77=85, Resulting Numbers: [5, 85] Generated Node #0,3,0: 55:[5, 85] Operation: 8+77=85 Exploring Operation: 8+5=13, Resulting Numbers: [77, 13] Generated Node #0,3,1: 55:[77, 13] Operation: 8+5=13 Exploring Operation: 77-5=72, Resulting Numbers: [8, 72] Generated Node #0,3,2: 55:[8, 72] Operation: 77-5=72 Exploring Operation: 8-5=3, Resulting Numbers: [77, 3] Generated Node #0,3,3: 55:[77, 3] Operation: 8-5=3 Exploring Operation: 77-8=69, Resulting Numbers: [5, 69] Generated Node #0,3,4: 55:[5, 69] Operation: 77-8=69 Moving to Node #0,3,4 Current State: 55:[5, 69], Operations: ['88-11=77', '77-8=69'] Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[8, 72], Operations: ['88-11=77', '77-5=72'] Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,55 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[77, 13], Operations: ['88-11=77', '8+5=13'] Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,55 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[77, 3], Operations: ['88-11=77', '8-5=3'] Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,55 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[5, 85], Operations: ['88-11=77', '8+77=85'] Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,55 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,55 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 55:[11, 5, 80], Operations: ['88-8=80'] Exploring Operation: 80-11=69, Resulting Numbers: [5, 69] Generated Node #0,4,0: 55:[5, 69] Operation: 80-11=69 Exploring Operation: 80-5=75, Resulting Numbers: [11, 75] Generated Node #0,4,1: 55:[11, 75] Operation: 80-5=75 Exploring Operation: 11-5=6, Resulting Numbers: [80, 6] Generated Node #0,4,2: 55:[80, 6] Operation: 11-5=6 Exploring Operation: 11*5=55, Resulting Numbers: [80, 55] Generated Node #0,4,3: 55:[80, 55] Operation: 11*5=55 Exploring Operation: 80/5=16, Resulting Numbers: [11, 16] Generated Node #0,4,4: 55:[11, 16] Operation: 80/5=16 Moving to Node #0,4,4 Current State: 55:[11, 16], Operations: ['88-8=80', '80/5=16'] Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,55 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,55 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,4,0 Current State: 55:[5, 69], Operations: ['88-8=80', '80-11=69'] Exploring Operation: 5*69=345, Resulting Numbers: [345] 345,55 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 5+69=74, Resulting Numbers: [74] 74,55 unequal: No Solution Moving to Node #0,4,1 Current State: 55:[11, 75], Operations: ['88-8=80', '80-5=75'] Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,55 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,4,3 Current State: 55:[80, 55], Operations: ['88-8=80', '11*5=55'] Exploring Operation: 80+55=135, Resulting Numbers: [135] 135,55 unequal: No Solution Exploring Operation: 80*55=4400, Resulting Numbers: [4400] 4400,55 unequal: No Solution Exploring Operation: 80-55=25, Resulting Numbers: [25] 25,55 unequal: No Solution Moving to Node #0,4,2 Current State: 55:[80, 6], Operations: ['88-8=80', '11-5=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,55 unequal: No Solution Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 80*6=480, Resulting Numbers: [480] 480,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[8, 11, 83], Operations: ['88-5=83'] Exploring Operation: 11-8=3, Resulting Numbers: [83, 3] Generated Node #0,2,0: 55:[83, 3] Operation: 11-8=3 Exploring Operation: 83-11=72, Resulting Numbers: [8, 72] Generated Node #0,2,1: 55:[8, 72] Operation: 83-11=72 Exploring Operation: 8+83=91, Resulting Numbers: [11, 91] Generated Node #0,2,2: 55:[11, 91] Operation: 8+83=91 Exploring Operation: 8+11=19, Resulting Numbers: [83, 19] Generated Node #0,2,3: 55:[83, 19] Operation: 8+11=19 Exploring Operation: 83-8=75, Resulting Numbers: [11, 75] Generated Node #0,2,4: 55:[11, 75] Operation: 83-8=75 Moving to Node #0,2,1 Current State: 55:[8, 72], Operations: ['88-5=83', '83-11=72'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,55 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,55 unequal: No Solution Moving to Node #0,2,4 Current State: 55:[11, 75], Operations: ['88-5=83', '83-8=75'] Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,55 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[83, 3], Operations: ['88-5=83', '11-8=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[11, 91], Operations: ['88-5=83', '8+83=91'] Exploring Operation: 11*91=1001, Resulting Numbers: [1001] 1001,55 unequal: No Solution Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,55 unequal: No Solution Exploring Operation: 11+91=102, Resulting Numbers: [102] 102,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[83, 19], Operations: ['88-5=83', '8+11=19'] Exploring Operation: 83+19=102, Resulting Numbers: [102] 102,55 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 83*19=1577, Resulting Numbers: [1577] 1577,55 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
[ 30, 13, 23, 38 ]
35
[ "23-13=10", "30/10=3", "38-3=35" ]
Current State: 35:[30, 13, 23, 38], Operations: [] Exploring Operation: 23-13=10, Resulting Numbers: [30, 38, 10] Generated Node #2: [30, 38, 10] from Operation: 23-13=10 Current State: 35:[30, 38, 10], Operations: ['23-13=10'] Exploring Operation: 30/10=3, Resulting Numbers: [38, 3] Generated Node #3: [38, 3] from Operation: 30/10=3 Current State: 35:[38, 3], Operations: ['23-13=10', '30/10=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[30, 13, 23, 38], Operations: [] Exploring Operation: 30-23=7, Resulting Numbers: [13, 38, 7] Generated Node #0,0: 35:[13, 38, 7] Operation: 30-23=7 Exploring Operation: 38-30=8, Resulting Numbers: [13, 23, 8] Generated Node #0,1: 35:[13, 23, 8] Operation: 38-30=8 Exploring Operation: 13+23=36, Resulting Numbers: [30, 38, 36] Generated Node #0,2: 35:[30, 38, 36] Operation: 13+23=36 Exploring Operation: 23-13=10, Resulting Numbers: [30, 38, 10] Generated Node #0,3: 35:[30, 38, 10] Operation: 23-13=10 Moving to Node #0,0 Current State: 35:[13, 38, 7], Operations: ['30-23=7'] Exploring Operation: 38-13=25, Resulting Numbers: [7, 25] Generated Node #0,0,0: 35:[7, 25] Operation: 38-13=25 Exploring Operation: 13-7=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 35:[38, 6] Operation: 13-7=6 Exploring Operation: 38-7=31, Resulting Numbers: [13, 31] Generated Node #0,0,2: 35:[13, 31] Operation: 38-7=31 Exploring Operation: 13+38=51, Resulting Numbers: [7, 51] Generated Node #0,0,3: 35:[7, 51] Operation: 13+38=51 Moving to Node #0,2 Current State: 35:[30, 38, 36], Operations: ['13+23=36'] Exploring Operation: 36-30=6, Resulting Numbers: [38, 6] Generated Node #0,2,0: 35:[38, 6] Operation: 36-30=6 Exploring Operation: 38-30=8, Resulting Numbers: [36, 8] Generated Node #0,2,1: 35:[36, 8] Operation: 38-30=8 Exploring Operation: 30+38=68, Resulting Numbers: [36, 68] Generated Node #0,2,2: 35:[36, 68] Operation: 30+38=68 Exploring Operation: 38-36=2, Resulting Numbers: [30, 2] Generated Node #0,2,3: 35:[30, 2] Operation: 38-36=2 Moving to Node #0,3 Current State: 35:[30, 38, 10], Operations: ['23-13=10'] Exploring Operation: 30/10=3, Resulting Numbers: [38, 3] Generated Node #0,3,0: 35:[38, 3] Operation: 30/10=3 Exploring Operation: 38-30=8, Resulting Numbers: [10, 8] Generated Node #0,3,1: 35:[10, 8] Operation: 38-30=8 Exploring Operation: 30+10=40, Resulting Numbers: [38, 40] Generated Node #0,3,2: 35:[38, 40] Operation: 30+10=40 Exploring Operation: 38-10=28, Resulting Numbers: [30, 28] Generated Node #0,3,3: 35:[30, 28] Operation: 38-10=28 Moving to Node #0,1 Current State: 35:[13, 23, 8], Operations: ['38-30=8'] Exploring Operation: 23-13=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 35:[8, 10] Operation: 23-13=10 Exploring Operation: 13-8=5, Resulting Numbers: [23, 5] Generated Node #0,1,1: 35:[23, 5] Operation: 13-8=5 Exploring Operation: 13+23=36, Resulting Numbers: [8, 36] Generated Node #0,1,2: 35:[8, 36] Operation: 13+23=36 Exploring Operation: 23+8=31, Resulting Numbers: [13, 31] Generated Node #0,1,3: 35:[13, 31] Operation: 23+8=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[8, 36], Operations: ['38-30=8', '13+23=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,35 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[8, 10], Operations: ['38-30=8', '23-13=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,35 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 35:[13, 31], Operations: ['38-30=8', '23+8=31'] Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,35 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[23, 5], Operations: ['38-30=8', '13-8=5'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,35 unequal: No Solution Exploring Operation: 23+5=28, Resulting Numbers: [28] 28,35 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: 35:[36, 8], Operations: ['13+23=36', '38-30=8'] Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,35 unequal: No Solution Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[38, 6], Operations: ['13+23=36', '36-30=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[38, 6], Operations: ['30-23=7', '13-7=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,35 unequal: No Solution Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[10, 8], Operations: ['23-13=10', '38-30=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,35 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[38, 3], Operations: ['23-13=10', '30/10=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,35 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[30, 13, 23, 38], Operations: [] Exploring Operation: 23-13=10, Resulting Numbers: [30, 38, 10] Generated Node #0,3: 35:[30, 38, 10] Operation: 23-13=10 Moving to Node #0,3 Current State: 35:[30, 38, 10], Operations: ['23-13=10'] Exploring Operation: 30/10=3, Resulting Numbers: [38, 3] Generated Node #0,3,0: 35:[38, 3] Operation: 30/10=3 Moving to Node #0,3,0 Current State: 35:[38, 3], Operations: ['23-13=10', '30/10=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 94, 46, 73, 23 ]
90
[ "94+46=140", "73-23=50", "140-50=90" ]
Current State: 90:[94, 46, 73, 23], Operations: [] Exploring Operation: 94+46=140, Resulting Numbers: [73, 23, 140] Generated Node #2: [73, 23, 140] from Operation: 94+46=140 Current State: 90:[73, 23, 140], Operations: ['94+46=140'] Exploring Operation: 73-23=50, Resulting Numbers: [140, 50] Generated Node #3: [140, 50] from Operation: 73-23=50 Current State: 90:[140, 50], Operations: ['94+46=140', '73-23=50'] Exploring Operation: 140-50=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[94, 46, 73, 23], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [46, 23, 21] Generated Node #0,0: 90:[46, 23, 21] Operation: 94-73=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[46, 23, 21], Operations: ['94-73=21'] Exploring Operation: 23-21=2, Resulting Numbers: [46, 2] Generated Node #0,0,0: 90:[46, 2] Operation: 23-21=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[46, 2], Operations: ['94-73=21', '23-21=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 37, 2, 53, 1 ]
48
[ "53-37=16", "2+1=3", "16*3=48" ]
Current State: 48:[37, 2, 53, 1], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [2, 1, 16] Generated Node #2: [2, 1, 16] from Operation: 53-37=16 Current State: 48:[2, 1, 16], Operations: ['53-37=16'] Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 2+1=3 Current State: 48:[16, 3], Operations: ['53-37=16', '2+1=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[37, 2, 53, 1], Operations: [] Exploring Operation: 37+1=38, Resulting Numbers: [2, 53, 38] Generated Node #0,0: 48:[2, 53, 38] Operation: 37+1=38 Exploring Operation: 53-37=16, Resulting Numbers: [2, 1, 16] Generated Node #0,1: 48:[2, 1, 16] Operation: 53-37=16 Exploring Operation: 37+2=39, Resulting Numbers: [53, 1, 39] Generated Node #0,2: 48:[53, 1, 39] Operation: 37+2=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[2, 1, 16], Operations: ['53-37=16'] Exploring Operation: 2/1=2, Resulting Numbers: [16, 2] Generated Node #0,1,0: 48:[16, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 48:[16, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,1,2: 48:[16, 3] Operation: 2+1=3 Moving to Node #0,1,0 Current State: 48:[16, 2], Operations: ['53-37=16', '2/1=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[16, 2], Operations: ['53-37=16', '2*1=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[16, 3], Operations: ['53-37=16', '2+1=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[37, 2, 53, 1], Operations: [] Exploring Operation: 53-37=16, Resulting Numbers: [2, 1, 16] Generated Node #0,1: 48:[2, 1, 16] Operation: 53-37=16 Moving to Node #0,1 Current State: 48:[2, 1, 16], Operations: ['53-37=16'] Exploring Operation: 2+1=3, Resulting Numbers: [16, 3] Generated Node #0,1,2: 48:[16, 3] Operation: 2+1=3 Moving to Node #0,1,2 Current State: 48:[16, 3], Operations: ['53-37=16', '2+1=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 12, 96, 44, 94 ]
42
[ "96/12=8", "94-44=50", "50-8=42" ]
Current State: 42:[12, 96, 44, 94], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [44, 94, 8] Generated Node #2: [44, 94, 8] from Operation: 96/12=8 Current State: 42:[44, 94, 8], Operations: ['96/12=8'] Exploring Operation: 94-44=50, Resulting Numbers: [8, 50] Generated Node #3: [8, 50] from Operation: 94-44=50 Current State: 42:[8, 50], Operations: ['96/12=8', '94-44=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[12, 96, 44, 94], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [44, 94, 8] Generated Node #0,0: 42:[44, 94, 8] Operation: 96/12=8 Exploring Operation: 96-94=2, Resulting Numbers: [12, 44, 2] Generated Node #0,1: 42:[12, 44, 2] Operation: 96-94=2 Moving to Node #0,1 Current State: 42:[12, 44, 2], Operations: ['96-94=2'] Exploring Operation: 12/2=6, Resulting Numbers: [44, 6] Generated Node #0,1,0: 42:[44, 6] Operation: 12/2=6 Exploring Operation: 12+2=14, Resulting Numbers: [44, 14] Generated Node #0,1,1: 42:[44, 14] Operation: 12+2=14 Moving to Node #0,0 Current State: 42:[44, 94, 8], Operations: ['96/12=8'] Exploring Operation: 94-44=50, Resulting Numbers: [8, 50] Generated Node #0,0,0: 42:[8, 50] Operation: 94-44=50 Exploring Operation: 94-8=86, Resulting Numbers: [44, 86] Generated Node #0,0,1: 42:[44, 86] Operation: 94-8=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[8, 50], Operations: ['96/12=8', '94-44=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[12, 96, 44, 94], Operations: [] Exploring Operation: 96/12=8, Resulting Numbers: [44, 94, 8] Generated Node #0,0: 42:[44, 94, 8] Operation: 96/12=8 Moving to Node #0,0 Current State: 42:[44, 94, 8], Operations: ['96/12=8'] Exploring Operation: 94-44=50, Resulting Numbers: [8, 50] Generated Node #0,0,0: 42:[8, 50] Operation: 94-44=50 Moving to Node #0,0,0 Current State: 42:[8, 50], Operations: ['96/12=8', '94-44=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 20, 24, 1, 18 ]
24
[ "20-1=19", "19-18=1", "24*1=24" ]
Current State: 24:[20, 24, 1, 18], Operations: [] Exploring Operation: 20-1=19, Resulting Numbers: [24, 18, 19] Generated Node #2: [24, 18, 19] from Operation: 20-1=19 Current State: 24:[24, 18, 19], Operations: ['20-1=19'] Exploring Operation: 19-18=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 19-18=1 Current State: 24:[24, 1], Operations: ['20-1=19', '19-18=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[20, 24, 1, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [24, 1, 2] Generated Node #0,0: 24:[24, 1, 2] Operation: 20-18=2 Exploring Operation: 24-18=6, Resulting Numbers: [20, 1, 6] Generated Node #0,1: 24:[20, 1, 6] Operation: 24-18=6 Exploring Operation: 24-20=4, Resulting Numbers: [1, 18, 4] Generated Node #0,2: 24:[1, 18, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[24, 1, 2], Operations: ['20-18=2'] Exploring Operation: 24/1=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 24:[2, 24] Operation: 24/1=24 Exploring Operation: 1+2=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 24:[24, 3] Operation: 1+2=3 Exploring Operation: 24*1=24, Resulting Numbers: [2, 24] Generated Node #0,0,2: 24:[2, 24] Operation: 24*1=24 Moving to Node #0,0,0 Current State: 24:[2, 24], Operations: ['20-18=2', '24/1=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[24, 3], Operations: ['20-18=2', '1+2=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[2, 24], Operations: ['20-18=2', '24*1=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[20, 1, 6], Operations: ['24-18=6'] Exploring Operation: 20-6=14, Resulting Numbers: [1, 14] Generated Node #0,1,0: 24:[1, 14] Operation: 20-6=14 Exploring Operation: 20+6=26, Resulting Numbers: [1, 26] Generated Node #0,1,1: 24:[1, 26] Operation: 20+6=26 Exploring Operation: 20+1=21, Resulting Numbers: [6, 21] Generated Node #0,1,2: 24:[6, 21] Operation: 20+1=21 Moving to Node #0,1,0 Current State: 24:[1, 14], Operations: ['24-18=6', '20-6=14'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[1, 26], Operations: ['24-18=6', '20+6=26'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[6, 21], Operations: ['24-18=6', '20+1=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,24 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[1, 18, 4], Operations: ['24-20=4'] Exploring Operation: 18-4=14, Resulting Numbers: [1, 14] Generated Node #0,2,0: 24:[1, 14] Operation: 18-4=14 Exploring Operation: 1+18=19, Resulting Numbers: [4, 19] Generated Node #0,2,1: 24:[4, 19] Operation: 1+18=19 Exploring Operation: 18+4=22, Resulting Numbers: [1, 22] Generated Node #0,2,2: 24:[1, 22] Operation: 18+4=22 Moving to Node #0,2,0 Current State: 24:[1, 14], Operations: ['24-20=4', '18-4=14'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,24 unequal: No Solution Exploring Operation: 1*14=14, Resulting Numbers: [14] 14,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[1, 22], Operations: ['24-20=4', '18+4=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[4, 19], Operations: ['24-20=4', '1+18=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,24 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,24 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
[ 50, 10, 47, 79 ]
27
[ "50/10=5", "79-47=32", "32-5=27" ]
Current State: 27:[50, 10, 47, 79], Operations: [] Exploring Operation: 50/10=5, Resulting Numbers: [47, 79, 5] Generated Node #2: [47, 79, 5] from Operation: 50/10=5 Current State: 27:[47, 79, 5], Operations: ['50/10=5'] Exploring Operation: 79-47=32, Resulting Numbers: [5, 32] Generated Node #3: [5, 32] from Operation: 79-47=32 Current State: 27:[5, 32], Operations: ['50/10=5', '79-47=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[50, 10, 47, 79], Operations: [] Exploring Operation: 79-50=29, Resulting Numbers: [10, 47, 29] Generated Node #0,0: 27:[10, 47, 29] Operation: 79-50=29 Exploring Operation: 79-47=32, Resulting Numbers: [50, 10, 32] Generated Node #0,1: 27:[50, 10, 32] Operation: 79-47=32 Moving to Node #0,0 Current State: 27:[10, 47, 29], Operations: ['79-50=29'] Exploring Operation: 47-10=37, Resulting Numbers: [29, 37] Generated Node #0,0,0: 27:[29, 37] Operation: 47-10=37 Exploring Operation: 47-29=18, Resulting Numbers: [10, 18] Generated Node #0,0,1: 27:[10, 18] Operation: 47-29=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[10, 18], Operations: ['79-50=29', '47-29=18'] Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[29, 37], Operations: ['79-50=29', '47-10=37'] Exploring Operation: 29+37=66, Resulting Numbers: [66] 66,27 unequal: No Solution Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,27 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: 27:[50, 10, 32], Operations: ['79-47=32'] Exploring Operation: 50-32=18, Resulting Numbers: [10, 18] Generated Node #0,1,0: 27:[10, 18] Operation: 50-32=18 Exploring Operation: 50/10=5, Resulting Numbers: [32, 5] Generated Node #0,1,1: 27:[32, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 27:[32, 5], Operations: ['79-47=32', '50/10=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[50, 10, 47, 79], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [50, 10, 32] Generated Node #0,1: 27:[50, 10, 32] Operation: 79-47=32 Moving to Node #0,1 Current State: 27:[50, 10, 32], Operations: ['79-47=32'] Exploring Operation: 50/10=5, Resulting Numbers: [32, 5] Generated Node #0,1,1: 27:[32, 5] Operation: 50/10=5 Moving to Node #0,1,1 Current State: 27:[32, 5], Operations: ['79-47=32', '50/10=5'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 56, 17, 4, 33 ]
10
[ "56+17=73", "73-33=40", "40/4=10" ]
Current State: 10:[56, 17, 4, 33], Operations: [] Exploring Operation: 56+17=73, Resulting Numbers: [4, 33, 73] Generated Node #2: [4, 33, 73] from Operation: 56+17=73 Current State: 10:[4, 33, 73], Operations: ['56+17=73'] Exploring Operation: 73-33=40, Resulting Numbers: [4, 40] Generated Node #3: [4, 40] from Operation: 73-33=40 Current State: 10:[4, 40], Operations: ['56+17=73', '73-33=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[56, 17, 4, 33], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [17, 4, 23] Generated Node #0,0: 10:[17, 4, 23] Operation: 56-33=23 Exploring Operation: 56-17=39, Resulting Numbers: [4, 33, 39] Generated Node #0,1: 10:[4, 33, 39] Operation: 56-17=39 Exploring Operation: 33-17=16, Resulting Numbers: [56, 4, 16] Generated Node #0,2: 10:[56, 4, 16] Operation: 33-17=16 Exploring Operation: 56/4=14, Resulting Numbers: [17, 33, 14] Generated Node #0,3: 10:[17, 33, 14] Operation: 56/4=14 Moving to Node #0,0 Current State: 10:[17, 4, 23], Operations: ['56-33=23'] Exploring Operation: 23-4=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 10:[17, 19] Operation: 23-4=19 Exploring Operation: 17-4=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 10:[23, 13] Operation: 17-4=13 Exploring Operation: 23-17=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 10:[4, 6] Operation: 23-17=6 Exploring Operation: 17+4=21, Resulting Numbers: [23, 21] Generated Node #0,0,3: 10:[23, 21] Operation: 17+4=21 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[4, 6], Operations: ['56-33=23', '23-17=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[56, 17, 4, 33], Operations: [] Exploring Operation: 56-33=23, Resulting Numbers: [17, 4, 23] Generated Node #0,0: 10:[17, 4, 23] Operation: 56-33=23 Moving to Node #0,0 Current State: 10:[17, 4, 23], Operations: ['56-33=23'] Exploring Operation: 23-17=6, Resulting Numbers: [4, 6] Generated Node #0,0,2: 10:[4, 6] Operation: 23-17=6 Moving to Node #0,0,2 Current State: 10:[4, 6], Operations: ['56-33=23', '23-17=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 41, 94, 60, 38 ]
86
[ "41-38=3", "60*3=180", "180-94=86" ]
Current State: 86:[41, 94, 60, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [94, 60, 3] Generated Node #2: [94, 60, 3] from Operation: 41-38=3 Current State: 86:[94, 60, 3], Operations: ['41-38=3'] Exploring Operation: 60*3=180, Resulting Numbers: [94, 180] Generated Node #3: [94, 180] from Operation: 60*3=180 Current State: 86:[94, 180], Operations: ['41-38=3', '60*3=180'] Exploring Operation: 180-94=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[41, 94, 60, 38], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [94, 60, 3] Generated Node #0,0: 86:[94, 60, 3] Operation: 41-38=3 Exploring Operation: 60+38=98, Resulting Numbers: [41, 94, 98] Generated Node #0,1: 86:[41, 94, 98] Operation: 60+38=98 Exploring Operation: 94-60=34, Resulting Numbers: [41, 38, 34] Generated Node #0,2: 86:[41, 38, 34] Operation: 94-60=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[41, 38, 34], Operations: ['94-60=34'] Exploring Operation: 41-34=7, Resulting Numbers: [38, 7] Generated Node #0,2,0: 86:[38, 7] Operation: 41-34=7 Exploring Operation: 38-34=4, Resulting Numbers: [41, 4] Generated Node #0,2,1: 86:[41, 4] Operation: 38-34=4 Exploring Operation: 41-38=3, Resulting Numbers: [34, 3] Generated Node #0,2,2: 86:[34, 3] Operation: 41-38=3 Moving to Node #0,2,1 Current State: 86:[41, 4], Operations: ['94-60=34', '38-34=4'] Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,86 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[38, 7], Operations: ['94-60=34', '41-34=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[34, 3], Operations: ['94-60=34', '41-38=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[41, 94, 98], Operations: ['60+38=98'] Exploring Operation: 94-41=53, Resulting Numbers: [98, 53] Generated Node #0,1,0: 86:[98, 53] Operation: 94-41=53 Exploring Operation: 98-94=4, Resulting Numbers: [41, 4] Generated Node #0,1,1: 86:[41, 4] Operation: 98-94=4 Exploring Operation: 98-41=57, Resulting Numbers: [94, 57] Generated Node #0,1,2: 86:[94, 57] Operation: 98-41=57 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[41, 4], Operations: ['60+38=98', '98-94=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,86 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[98, 53], Operations: ['60+38=98', '94-41=53'] Exploring Operation: 98*53=5194, Resulting Numbers: [5194] 5194,86 unequal: No Solution Exploring Operation: 98+53=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[94, 57], Operations: ['60+38=98', '98-41=57'] Exploring Operation: 94*57=5358, Resulting Numbers: [5358] 5358,86 unequal: No Solution Exploring Operation: 94+57=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[94, 60, 3], Operations: ['41-38=3'] Exploring Operation: 94-3=91, Resulting Numbers: [60, 91] Generated Node #0,0,0: 86:[60, 91] Operation: 94-3=91 Exploring Operation: 94-60=34, Resulting Numbers: [3, 34] Generated Node #0,0,1: 86:[3, 34] Operation: 94-60=34 Exploring Operation: 60-3=57, Resulting Numbers: [94, 57] Generated Node #0,0,2: 86:[94, 57] Operation: 60-3=57 Moving to Node #0,0,1 Current State: 86:[3, 34], Operations: ['41-38=3', '94-60=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,86 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[60, 91], Operations: ['41-38=3', '94-3=91'] Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,86 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[94, 57], Operations: ['41-38=3', '60-3=57'] Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 94+57=151, Resulting Numbers: [151] 151,86 unequal: No Solution Exploring Operation: 94*57=5358, Resulting Numbers: [5358] 5358,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 58, 32, 87 ]
83
[ "58-50=8", "32/8=4", "87-4=83" ]
Current State: 83:[50, 58, 32, 87], Operations: [] Exploring Operation: 58-50=8, Resulting Numbers: [32, 87, 8] Generated Node #2: [32, 87, 8] from Operation: 58-50=8 Current State: 83:[32, 87, 8], Operations: ['58-50=8'] Exploring Operation: 32/8=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 32/8=4 Current State: 83:[87, 4], Operations: ['58-50=8', '32/8=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[50, 58, 32, 87], Operations: [] Exploring Operation: 50+32=82, Resulting Numbers: [58, 87, 82] Generated Node #0,0: 83:[58, 87, 82] Operation: 50+32=82 Exploring Operation: 87-32=55, Resulting Numbers: [50, 58, 55] Generated Node #0,1: 83:[50, 58, 55] Operation: 87-32=55 Exploring Operation: 50+58=108, Resulting Numbers: [32, 87, 108] Generated Node #0,2: 83:[32, 87, 108] Operation: 50+58=108 Exploring Operation: 58+32=90, Resulting Numbers: [50, 87, 90] Generated Node #0,3: 83:[50, 87, 90] Operation: 58+32=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[58, 87, 82], Operations: ['50+32=82'] Exploring Operation: 58+82=140, Resulting Numbers: [87, 140] Generated Node #0,0,0: 83:[87, 140] Operation: 58+82=140 Exploring Operation: 87-58=29, Resulting Numbers: [82, 29] Generated Node #0,0,1: 83:[82, 29] Operation: 87-58=29 Exploring Operation: 58+87=145, Resulting Numbers: [82, 145] Generated Node #0,0,2: 83:[82, 145] Operation: 58+87=145 Exploring Operation: 82-58=24, Resulting Numbers: [87, 24] Generated Node #0,0,3: 83:[87, 24] Operation: 82-58=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[82, 29], Operations: ['50+32=82', '87-58=29'] Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 82*29=2378, Resulting Numbers: [2378] 2378,83 unequal: No Solution Exploring Operation: 82+29=111, Resulting Numbers: [111] 111,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[87, 140], Operations: ['50+32=82', '58+82=140'] Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,83 unequal: No Solution Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[82, 145], Operations: ['50+32=82', '58+87=145'] Exploring Operation: 82+145=227, Resulting Numbers: [227] 227,83 unequal: No Solution Exploring Operation: 145-82=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 82*145=11890, Resulting Numbers: [11890] 11890,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 83:[87, 24], Operations: ['50+32=82', '82-58=24'] Exploring Operation: 87+24=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 87*24=2088, Resulting Numbers: [2088] 2088,83 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[50, 87, 90], Operations: ['58+32=90'] Exploring Operation: 87-50=37, Resulting Numbers: [90, 37] Generated Node #0,3,0: 83:[90, 37] Operation: 87-50=37 Exploring Operation: 50+87=137, Resulting Numbers: [90, 137] Generated Node #0,3,1: 83:[90, 137] Operation: 50+87=137 Exploring Operation: 90-50=40, Resulting Numbers: [87, 40] Generated Node #0,3,2: 83:[87, 40] Operation: 90-50=40 Exploring Operation: 50+90=140, Resulting Numbers: [87, 140] Generated Node #0,3,3: 83:[87, 140] Operation: 50+90=140 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[87, 40], Operations: ['58+32=90', '90-50=40'] Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,83 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[90, 37], Operations: ['58+32=90', '87-50=37'] Exploring Operation: 90-37=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 90*37=3330, Resulting Numbers: [3330] 3330,83 unequal: No Solution Exploring Operation: 90+37=127, Resulting Numbers: [127] 127,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[90, 137], Operations: ['58+32=90', '50+87=137'] Exploring Operation: 90+137=227, Resulting Numbers: [227] 227,83 unequal: No Solution Exploring Operation: 137-90=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 90*137=12330, Resulting Numbers: [12330] 12330,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 83:[87, 140], Operations: ['58+32=90', '50+90=140'] Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,83 unequal: No Solution Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[32, 87, 108], Operations: ['50+58=108'] Exploring Operation: 32+87=119, Resulting Numbers: [108, 119] Generated Node #0,2,0: 83:[108, 119] Operation: 32+87=119 Exploring Operation: 32+108=140, Resulting Numbers: [87, 140] Generated Node #0,2,1: 83:[87, 140] Operation: 32+108=140 Exploring Operation: 108-32=76, Resulting Numbers: [87, 76] Generated Node #0,2,2: 83:[87, 76] Operation: 108-32=76 Exploring Operation: 87-32=55, Resulting Numbers: [108, 55] Generated Node #0,2,3: 83:[108, 55] Operation: 87-32=55 Moving to Node #0,2,2 Current State: 83:[87, 76], Operations: ['50+58=108', '108-32=76'] Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,83 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[108, 55], Operations: ['50+58=108', '87-32=55'] Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 108*55=5940, Resulting Numbers: [5940] 5940,83 unequal: No Solution Exploring Operation: 108+55=163, Resulting Numbers: [163] 163,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[87, 140], Operations: ['50+58=108', '32+108=140'] Exploring Operation: 140-87=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 87+140=227, Resulting Numbers: [227] 227,83 unequal: No Solution Exploring Operation: 87*140=12180, Resulting Numbers: [12180] 12180,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[108, 119], Operations: ['50+58=108', '32+87=119'] Exploring Operation: 108*119=12852, Resulting Numbers: [12852] 12852,83 unequal: No Solution Exploring Operation: 119-108=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 108+119=227, Resulting Numbers: [227] 227,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[50, 58, 55], Operations: ['87-32=55'] Exploring Operation: 50+55=105, Resulting Numbers: [58, 105] Generated Node #0,1,0: 83:[58, 105] Operation: 50+55=105 Exploring Operation: 58-50=8, Resulting Numbers: [55, 8] Generated Node #0,1,1: 83:[55, 8] Operation: 58-50=8 Exploring Operation: 58+55=113, Resulting Numbers: [50, 113] Generated Node #0,1,2: 83:[50, 113] Operation: 58+55=113 Exploring Operation: 50+58=108, Resulting Numbers: [55, 108] Generated Node #0,1,3: 83:[55, 108] Operation: 50+58=108 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[58, 105], Operations: ['87-32=55', '50+55=105'] Exploring Operation: 105-58=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 58*105=6090, Resulting Numbers: [6090] 6090,83 unequal: No Solution Exploring Operation: 58+105=163, Resulting Numbers: [163] 163,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 83:[55, 108], Operations: ['87-32=55', '50+58=108'] Exploring Operation: 55+108=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 108-55=53, Resulting Numbers: [53] 53,83 unequal: No Solution Exploring Operation: 55*108=5940, Resulting Numbers: [5940] 5940,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[50, 113], Operations: ['87-32=55', '58+55=113'] Exploring Operation: 50+113=163, Resulting Numbers: [163] 163,83 unequal: No Solution Exploring Operation: 50*113=5650, Resulting Numbers: [5650] 5650,83 unequal: No Solution Exploring Operation: 113-50=63, Resulting Numbers: [63] 63,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:[55, 8], Operations: ['87-32=55', '58-50=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,83 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,83 unequal: No Solution Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,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_4
mult_heuristic
[ 25, 42, 3, 63 ]
46
[ "25+42=67", "63/3=21", "67-21=46" ]
Current State: 46:[25, 42, 3, 63], Operations: [] Exploring Operation: 25+42=67, Resulting Numbers: [3, 63, 67] Generated Node #2: [3, 63, 67] from Operation: 25+42=67 Current State: 46:[3, 63, 67], Operations: ['25+42=67'] Exploring Operation: 63/3=21, Resulting Numbers: [67, 21] Generated Node #3: [67, 21] from Operation: 63/3=21 Current State: 46:[67, 21], Operations: ['25+42=67', '63/3=21'] Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[25, 42, 3, 63], Operations: [] Exploring Operation: 63-42=21, Resulting Numbers: [25, 3, 21] Generated Node #0,0: 46:[25, 3, 21] Operation: 63-42=21 Exploring Operation: 42+3=45, Resulting Numbers: [25, 63, 45] Generated Node #0,1: 46:[25, 63, 45] Operation: 42+3=45 Exploring Operation: 63-25=38, Resulting Numbers: [42, 3, 38] Generated Node #0,2: 46:[42, 3, 38] Operation: 63-25=38 Exploring Operation: 63/3=21, Resulting Numbers: [25, 42, 21] Generated Node #0,3: 46:[25, 42, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [25, 42, 60] Generated Node #0,4: 46:[25, 42, 60] Operation: 63-3=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[25, 3, 21], Operations: ['63-42=21'] Exploring Operation: 25-21=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 46:[3, 4] Operation: 25-21=4 Exploring Operation: 25-3=22, Resulting Numbers: [21, 22] Generated Node #0,0,1: 46:[21, 22] Operation: 25-3=22 Exploring Operation: 25+3=28, Resulting Numbers: [21, 28] Generated Node #0,0,2: 46:[21, 28] Operation: 25+3=28 Exploring Operation: 25+21=46, Resulting Numbers: [3, 46] Generated Node #0,0,3: 46:[3, 46] Operation: 25+21=46 Exploring Operation: 3+21=24, Resulting Numbers: [25, 24] Generated Node #0,0,4: 46:[25, 24] Operation: 3+21=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 46:[3, 46], Operations: ['63-42=21', '25+21=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[3, 4], Operations: ['63-42=21', '25-21=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,46 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[21, 22], Operations: ['63-42=21', '25-3=22'] Exploring Operation: 21+22=43, Resulting Numbers: [43] 43,46 unequal: No Solution Exploring Operation: 21*22=462, Resulting Numbers: [462] 462,46 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 46:[25, 24], Operations: ['63-42=21', '3+21=24'] Exploring Operation: 25*24=600, Resulting Numbers: [600] 600,46 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[21, 28], Operations: ['63-42=21', '25+3=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,46 unequal: No Solution Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,46 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[25, 42, 21], Operations: ['63/3=21'] Exploring Operation: 42-21=21, Resulting Numbers: [25, 21] Generated Node #0,3,0: 46:[25, 21] Operation: 42-21=21 Exploring Operation: 25+21=46, Resulting Numbers: [42, 46] Generated Node #0,3,1: 46:[42, 46] Operation: 25+21=46 Exploring Operation: 25-21=4, Resulting Numbers: [42, 4] Generated Node #0,3,2: 46:[42, 4] Operation: 25-21=4 Exploring Operation: 42/21=2, Resulting Numbers: [25, 2] Generated Node #0,3,3: 46:[25, 2] Operation: 42/21=2 Exploring Operation: 42-25=17, Resulting Numbers: [21, 17] Generated Node #0,3,4: 46:[21, 17] Operation: 42-25=17 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[25, 2], Operations: ['63/3=21', '42/21=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,46 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[25, 21], Operations: ['63/3=21', '42-21=21'] Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,46 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,46 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[25, 42, 3, 63], Operations: [] Exploring Operation: 63/3=21, Resulting Numbers: [25, 42, 21] Generated Node #0,3: 46:[25, 42, 21] Operation: 63/3=21 Moving to Node #0,3 Current State: 46:[25, 42, 21], Operations: ['63/3=21'] Exploring Operation: 42-21=21, Resulting Numbers: [25, 21] Generated Node #0,3,0: 46:[25, 21] Operation: 42-21=21 Moving to Node #0,3,0 Current State: 46:[25, 21], Operations: ['63/3=21', '42-21=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 14, 29, 6, 80 ]
19
[ "14-6=8", "80/8=10", "29-10=19" ]
Current State: 19:[14, 29, 6, 80], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [29, 80, 8] Generated Node #2: [29, 80, 8] from Operation: 14-6=8 Current State: 19:[29, 80, 8], Operations: ['14-6=8'] Exploring Operation: 80/8=10, Resulting Numbers: [29, 10] Generated Node #3: [29, 10] from Operation: 80/8=10 Current State: 19:[29, 10], Operations: ['14-6=8', '80/8=10'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[14, 29, 6, 80], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [14, 6, 51] Generated Node #0,0: 19:[14, 6, 51] Operation: 80-29=51 Moving to Node #0,0 Current State: 19:[14, 6, 51], Operations: ['80-29=51'] Exploring Operation: 51-14=37, Resulting Numbers: [6, 37] Generated Node #0,0,0: 19:[6, 37] Operation: 51-14=37 Moving to Node #0,0,0 Current State: 19:[6, 37], Operations: ['80-29=51', '51-14=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 83, 22, 94, 18 ]
20
[ "94-83=11", "22/11=2", "18+2=20" ]
Current State: 20:[83, 22, 94, 18], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [22, 18, 11] Generated Node #2: [22, 18, 11] from Operation: 94-83=11 Current State: 20:[22, 18, 11], Operations: ['94-83=11'] Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 22/11=2 Current State: 20:[18, 2], Operations: ['94-83=11', '22/11=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[83, 22, 94, 18], Operations: [] Exploring Operation: 83-22=61, Resulting Numbers: [94, 18, 61] Generated Node #0,0: 20:[94, 18, 61] Operation: 83-22=61 Exploring Operation: 94-83=11, Resulting Numbers: [22, 18, 11] Generated Node #0,1: 20:[22, 18, 11] Operation: 94-83=11 Exploring Operation: 94-22=72, Resulting Numbers: [83, 18, 72] Generated Node #0,2: 20:[83, 18, 72] Operation: 94-22=72 Moving to Node #0,1 Current State: 20:[22, 18, 11], Operations: ['94-83=11'] Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 20:[18, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [18, 11] Generated Node #0,1,1: 20:[18, 11] Operation: 22-11=11 Exploring Operation: 22-18=4, Resulting Numbers: [11, 4] Generated Node #0,1,2: 20:[11, 4] Operation: 22-18=4 Moving to Node #0,0 Current State: 20:[94, 18, 61], Operations: ['83-22=61'] Exploring Operation: 94-61=33, Resulting Numbers: [18, 33] Generated Node #0,0,0: 20:[18, 33] Operation: 94-61=33 Exploring Operation: 94-18=76, Resulting Numbers: [61, 76] Generated Node #0,0,1: 20:[61, 76] Operation: 94-18=76 Exploring Operation: 61-18=43, Resulting Numbers: [94, 43] Generated Node #0,0,2: 20:[94, 43] Operation: 61-18=43 Moving to Node #0,2 Current State: 20:[83, 18, 72], Operations: ['94-22=72'] Exploring Operation: 83-72=11, Resulting Numbers: [18, 11] Generated Node #0,2,0: 20:[18, 11] Operation: 83-72=11 Exploring Operation: 83-18=65, Resulting Numbers: [72, 65] Generated Node #0,2,1: 20:[72, 65] Operation: 83-18=65 Exploring Operation: 72/18=4, Resulting Numbers: [83, 4] Generated Node #0,2,2: 20:[83, 4] Operation: 72/18=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[18, 11], Operations: ['94-22=72', '83-72=11'] Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,20 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[83, 4], Operations: ['94-22=72', '72/18=4'] Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,20 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,20 unequal: No Solution Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[72, 65], Operations: ['94-22=72', '83-18=65'] Exploring Operation: 72+65=137, Resulting Numbers: [137] 137,20 unequal: No Solution Exploring Operation: 72*65=4680, Resulting Numbers: [4680] 4680,20 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 20:[11, 4], Operations: ['94-83=11', '22-18=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[18, 2], Operations: ['94-83=11', '22/11=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[83, 22, 94, 18], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [22, 18, 11] Generated Node #0,1: 20:[22, 18, 11] Operation: 94-83=11 Moving to Node #0,1 Current State: 20:[22, 18, 11], Operations: ['94-83=11'] Exploring Operation: 22/11=2, Resulting Numbers: [18, 2] Generated Node #0,1,0: 20:[18, 2] Operation: 22/11=2 Moving to Node #0,1,0 Current State: 20:[18, 2], Operations: ['94-83=11', '22/11=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 19, 18, 32, 19 ]
49
[ "19/19=1", "18+32=50", "50-1=49" ]
Current State: 49:[19, 18, 32, 19], Operations: [] Exploring Operation: 19/19=1, Resulting Numbers: [18, 32, 1] Generated Node #2: [18, 32, 1] from Operation: 19/19=1 Current State: 49:[18, 32, 1], Operations: ['19/19=1'] Exploring Operation: 18+32=50, Resulting Numbers: [1, 50] Generated Node #3: [1, 50] from Operation: 18+32=50 Current State: 49:[1, 50], Operations: ['19/19=1', '18+32=50'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[19, 18, 32, 19], Operations: [] Exploring Operation: 18+32=50, Resulting Numbers: [19, 19, 50] Generated Node #0,0: 49:[19, 19, 50] Operation: 18+32=50 Exploring Operation: 19+32=51, Resulting Numbers: [18, 19, 51] Generated Node #0,1: 49:[18, 19, 51] Operation: 19+32=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[19, 19, 50], Operations: ['18+32=50'] Exploring Operation: 19/19=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 49:[50, 1] Operation: 19/19=1 Exploring Operation: 19-19=0, Resulting Numbers: [50, 0] Generated Node #0,0,1: 49:[50, 0] Operation: 19-19=0 Moving to Node #0,0,0 Current State: 49:[50, 1], Operations: ['18+32=50', '19/19=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[19, 18, 32, 19], Operations: [] Exploring Operation: 18+32=50, Resulting Numbers: [19, 19, 50] Generated Node #0,0: 49:[19, 19, 50] Operation: 18+32=50 Moving to Node #0,0 Current State: 49:[19, 19, 50], Operations: ['18+32=50'] Exploring Operation: 19/19=1, Resulting Numbers: [50, 1] Generated Node #0,0,0: 49:[50, 1] Operation: 19/19=1 Moving to Node #0,0,0 Current State: 49:[50, 1], Operations: ['18+32=50', '19/19=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 9, 77, 53, 11 ]
31
[ "9*11=99", "77+53=130", "130-99=31" ]
Current State: 31:[9, 77, 53, 11], Operations: [] Exploring Operation: 9*11=99, Resulting Numbers: [77, 53, 99] Generated Node #2: [77, 53, 99] from Operation: 9*11=99 Current State: 31:[77, 53, 99], Operations: ['9*11=99'] Exploring Operation: 77+53=130, Resulting Numbers: [99, 130] Generated Node #3: [99, 130] from Operation: 77+53=130 Current State: 31:[99, 130], Operations: ['9*11=99', '77+53=130'] Exploring Operation: 130-99=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[9, 77, 53, 11], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [9, 11, 24] Generated Node #0,0: 31:[9, 11, 24] Operation: 77-53=24 Exploring Operation: 77-9=68, Resulting Numbers: [53, 11, 68] Generated Node #0,1: 31:[53, 11, 68] Operation: 77-9=68 Exploring Operation: 53-9=44, Resulting Numbers: [77, 11, 44] Generated Node #0,2: 31:[77, 11, 44] Operation: 53-9=44 Exploring Operation: 77/11=7, Resulting Numbers: [9, 53, 7] Generated Node #0,3: 31:[9, 53, 7] Operation: 77/11=7 Exploring Operation: 9+11=20, Resulting Numbers: [77, 53, 20] Generated Node #0,4: 31:[77, 53, 20] Operation: 9+11=20 Moving to Node #0,0 Current State: 31:[9, 11, 24], Operations: ['77-53=24'] Exploring Operation: 11+24=35, Resulting Numbers: [9, 35] Generated Node #0,0,0: 31:[9, 35] Operation: 11+24=35 Exploring Operation: 24-9=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 31:[11, 15] Operation: 24-9=15 Exploring Operation: 9+24=33, Resulting Numbers: [11, 33] Generated Node #0,0,2: 31:[11, 33] Operation: 9+24=33 Exploring Operation: 9+11=20, Resulting Numbers: [24, 20] Generated Node #0,0,3: 31:[24, 20] Operation: 9+11=20 Exploring Operation: 11-9=2, Resulting Numbers: [24, 2] Generated Node #0,0,4: 31:[24, 2] Operation: 11-9=2 Moving to Node #0,3 Current State: 31:[9, 53, 7], Operations: ['77/11=7'] Exploring Operation: 9+7=16, Resulting Numbers: [53, 16] Generated Node #0,3,0: 31:[53, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [53, 2] Generated Node #0,3,1: 31:[53, 2] Operation: 9-7=2 Exploring Operation: 53-9=44, Resulting Numbers: [7, 44] Generated Node #0,3,2: 31:[7, 44] Operation: 53-9=44 Exploring Operation: 53+7=60, Resulting Numbers: [9, 60] Generated Node #0,3,3: 31:[9, 60] Operation: 53+7=60 Exploring Operation: 53-7=46, Resulting Numbers: [9, 46] Generated Node #0,3,4: 31:[9, 46] Operation: 53-7=46 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[53, 16], Operations: ['77/11=7', '9+7=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,31 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 31:[7, 44], Operations: ['77/11=7', '53-9=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,31 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 31:[9, 46], Operations: ['77/11=7', '53-7=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[53, 2], Operations: ['77/11=7', '9-7=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,31 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 31:[9, 60], Operations: ['77/11=7', '53+7=60'] Exploring Operation: 60-9=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 9+60=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 9*60=540, Resulting Numbers: [540] 540,31 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: 31:[53, 11, 68], Operations: ['77-9=68'] Exploring Operation: 53+11=64, Resulting Numbers: [68, 64] Generated Node #0,1,0: 31:[68, 64] Operation: 53+11=64 Exploring Operation: 53-11=42, Resulting Numbers: [68, 42] Generated Node #0,1,1: 31:[68, 42] Operation: 53-11=42 Exploring Operation: 68-53=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 31:[11, 15] Operation: 68-53=15 Exploring Operation: 68-11=57, Resulting Numbers: [53, 57] Generated Node #0,1,3: 31:[53, 57] Operation: 68-11=57 Exploring Operation: 11+68=79, Resulting Numbers: [53, 79] Generated Node #0,1,4: 31:[53, 79] Operation: 11+68=79 Moving to Node #0,2 Current State: 31:[77, 11, 44], Operations: ['53-9=44'] Exploring Operation: 77+11=88, Resulting Numbers: [44, 88] Generated Node #0,2,0: 31:[44, 88] Operation: 77+11=88 Exploring Operation: 77-44=33, Resulting Numbers: [11, 33] Generated Node #0,2,1: 31:[11, 33] Operation: 77-44=33 Exploring Operation: 77/11=7, Resulting Numbers: [44, 7] Generated Node #0,2,2: 31:[44, 7] Operation: 77/11=7 Exploring Operation: 44-11=33, Resulting Numbers: [77, 33] Generated Node #0,2,3: 31:[77, 33] Operation: 44-11=33 Exploring Operation: 77-11=66, Resulting Numbers: [44, 66] Generated Node #0,2,4: 31:[44, 66] Operation: 77-11=66 Moving to Node #0,4 Current State: 31:[77, 53, 20], Operations: ['9+11=20'] Exploring Operation: 53+20=73, Resulting Numbers: [77, 73] Generated Node #0,4,0: 31:[77, 73] Operation: 53+20=73 Exploring Operation: 77-20=57, Resulting Numbers: [53, 57] Generated Node #0,4,1: 31:[53, 57] Operation: 77-20=57 Exploring Operation: 53-20=33, Resulting Numbers: [77, 33] Generated Node #0,4,2: 31:[77, 33] Operation: 53-20=33 Exploring Operation: 77+20=97, Resulting Numbers: [53, 97] Generated Node #0,4,3: 31:[53, 97] Operation: 77+20=97 Exploring Operation: 77-53=24, Resulting Numbers: [20, 24] Generated Node #0,4,4: 31:[20, 24] Operation: 77-53=24 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 31:[20, 24], Operations: ['9+11=20', '77-53=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,31 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 31:[53, 57], Operations: ['9+11=20', '77-20=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,31 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 31:[77, 33], Operations: ['9+11=20', '53-20=33'] Exploring Operation: 77+33=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 77*33=2541, Resulting Numbers: [2541] 2541,31 unequal: No Solution Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 31:[77, 73], Operations: ['9+11=20', '53+20=73'] Exploring Operation: 77+73=150, Resulting Numbers: [150] 150,31 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 77*73=5621, Resulting Numbers: [5621] 5621,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 31:[53, 97], Operations: ['9+11=20', '77+20=97'] Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,31 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,31 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: 31:[24, 20], Operations: ['77-53=24', '9+11=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,31 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[11, 33], Operations: ['77-53=24', '9+24=33'] Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[11, 33], Operations: ['53-9=44', '77-44=33'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,31 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[9, 35], Operations: ['77-53=24', '11+24=35'] Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,31 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[11, 15], Operations: ['77-9=68', '68-53=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,31 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0,4 Current State: 31:[24, 2], Operations: ['77-53=24', '11-9=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[11, 15], Operations: ['77-53=24', '24-9=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,31 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[44, 7], Operations: ['53-9=44', '77/11=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,31 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[68, 42], Operations: ['77-9=68', '53-11=42'] Exploring Operation: 68*42=2856, Resulting Numbers: [2856] 2856,31 unequal: No Solution Exploring Operation: 68+42=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,31 unequal: No Solution Moving to Node #0,2,3 Current State: 31:[77, 33], Operations: ['53-9=44', '44-11=33'] Exploring Operation: 77*33=2541, Resulting Numbers: [2541] 2541,31 unequal: No Solution Exploring Operation: 77+33=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 77-33=44, Resulting Numbers: [44] 44,31 unequal: No Solution Moving to Node #0,2,4 Current State: 31:[44, 66], Operations: ['53-9=44', '77-11=66'] Exploring Operation: 44*66=2904, Resulting Numbers: [2904] 2904,31 unequal: No Solution Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 44+66=110, Resulting Numbers: [110] 110,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[53, 57], Operations: ['77-9=68', '68-11=57'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[44, 88], Operations: ['53-9=44', '77+11=88'] Exploring Operation: 44*88=3872, Resulting Numbers: [3872] 3872,31 unequal: No Solution Exploring Operation: 44+88=132, Resulting Numbers: [132] 132,31 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[68, 64], Operations: ['77-9=68', '53+11=64'] Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,31 unequal: No Solution Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 68*64=4352, Resulting Numbers: [4352] 4352,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[53, 79], Operations: ['77-9=68', '11+68=79'] Exploring Operation: 53+79=132, Resulting Numbers: [132] 132,31 unequal: No Solution Exploring Operation: 53*79=4187, Resulting Numbers: [4187] 4187,31 unequal: No Solution Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,31 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 34, 94, 64, 21 ]
25
[ "94-34=60", "64+21=85", "85-60=25" ]
Current State: 25:[34, 94, 64, 21], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [64, 21, 60] Generated Node #2: [64, 21, 60] from Operation: 94-34=60 Current State: 25:[64, 21, 60], Operations: ['94-34=60'] Exploring Operation: 64+21=85, Resulting Numbers: [60, 85] Generated Node #3: [60, 85] from Operation: 64+21=85 Current State: 25:[60, 85], Operations: ['94-34=60', '64+21=85'] Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[34, 94, 64, 21], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [34, 21, 30] Generated Node #0,0: 25:[34, 21, 30] Operation: 94-64=30 Exploring Operation: 94-34=60, Resulting Numbers: [64, 21, 60] Generated Node #0,1: 25:[64, 21, 60] Operation: 94-34=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[34, 21, 30], Operations: ['94-64=30'] Exploring Operation: 34-21=13, Resulting Numbers: [30, 13] Generated Node #0,0,0: 25:[30, 13] Operation: 34-21=13 Exploring Operation: 34-30=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 25:[21, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 25:[21, 4], Operations: ['94-64=30', '34-30=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[34, 94, 64, 21], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [34, 21, 30] Generated Node #0,0: 25:[34, 21, 30] Operation: 94-64=30 Moving to Node #0,0 Current State: 25:[34, 21, 30], Operations: ['94-64=30'] Exploring Operation: 34-30=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 25:[21, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 25:[21, 4], Operations: ['94-64=30', '34-30=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 52, 12, 73, 20 ]
53
[ "52-12=40", "73+20=93", "93-40=53" ]
Current State: 53:[52, 12, 73, 20], Operations: [] Exploring Operation: 52-12=40, Resulting Numbers: [73, 20, 40] Generated Node #2: [73, 20, 40] from Operation: 52-12=40 Current State: 53:[73, 20, 40], Operations: ['52-12=40'] Exploring Operation: 73+20=93, Resulting Numbers: [40, 93] Generated Node #3: [40, 93] from Operation: 73+20=93 Current State: 53:[40, 93], Operations: ['52-12=40', '73+20=93'] Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[52, 12, 73, 20], Operations: [] Exploring Operation: 12+20=32, Resulting Numbers: [52, 73, 32] Generated Node #0,0: 53:[52, 73, 32] Operation: 12+20=32 Exploring Operation: 73-12=61, Resulting Numbers: [52, 20, 61] Generated Node #0,1: 53:[52, 20, 61] Operation: 73-12=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[52, 73, 32], Operations: ['12+20=32'] Exploring Operation: 73-32=41, Resulting Numbers: [52, 41] Generated Node #0,0,0: 53:[52, 41] Operation: 73-32=41 Exploring Operation: 52+32=84, Resulting Numbers: [73, 84] Generated Node #0,0,1: 53:[73, 84] Operation: 52+32=84 Moving to Node #0,0,0 Current State: 53:[52, 41], Operations: ['12+20=32', '73-32=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[73, 84], Operations: ['12+20=32', '52+32=84'] Exploring Operation: 73+84=157, Resulting Numbers: [157] 157,53 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[52, 20, 61], Operations: ['73-12=61'] Exploring Operation: 52+20=72, Resulting Numbers: [61, 72] Generated Node #0,1,0: 53:[61, 72] Operation: 52+20=72 Exploring Operation: 61-20=41, Resulting Numbers: [52, 41] Generated Node #0,1,1: 53:[52, 41] Operation: 61-20=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[52, 41], Operations: ['73-12=61', '61-20=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[61, 72], Operations: ['73-12=61', '52+20=72'] Exploring Operation: 72-61=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 61+72=133, Resulting Numbers: [133] 133,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 50, 3, 9, 7 ]
84
[ "50+7=57", "3*9=27", "57+27=84" ]
Current State: 84:[50, 3, 9, 7], Operations: [] Exploring Operation: 50+7=57, Resulting Numbers: [3, 9, 57] Generated Node #2: [3, 9, 57] from Operation: 50+7=57 Current State: 84:[3, 9, 57], Operations: ['50+7=57'] Exploring Operation: 3*9=27, Resulting Numbers: [57, 27] Generated Node #3: [57, 27] from Operation: 3*9=27 Current State: 84:[57, 27], Operations: ['50+7=57', '3*9=27'] Exploring Operation: 57+27=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[50, 3, 9, 7], Operations: [] Exploring Operation: 50-9=41, Resulting Numbers: [3, 7, 41] Generated Node #0,0: 84:[3, 7, 41] Operation: 50-9=41 Exploring Operation: 50-7=43, Resulting Numbers: [3, 9, 43] Generated Node #0,1: 84:[3, 9, 43] Operation: 50-7=43 Moving to Node #0,0 Current State: 84:[3, 7, 41], Operations: ['50-9=41'] Exploring Operation: 3*7=21, Resulting Numbers: [41, 21] Generated Node #0,0,0: 84:[41, 21] Operation: 3*7=21 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,0,1: 84:[41, 4] Operation: 7-3=4 Moving to Node #0,1 Current State: 84:[3, 9, 43], Operations: ['50-7=43'] Exploring Operation: 9-3=6, Resulting Numbers: [43, 6] Generated Node #0,1,0: 84:[43, 6] Operation: 9-3=6 Exploring Operation: 3+9=12, Resulting Numbers: [43, 12] Generated Node #0,1,1: 84:[43, 12] Operation: 3+9=12 Moving to Node #0,0,0 Current State: 84:[41, 21], Operations: ['50-9=41', '3*7=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[43, 6], Operations: ['50-7=43', '9-3=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[41, 4], Operations: ['50-9=41', '7-3=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,84 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[43, 12], Operations: ['50-7=43', '3+9=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,84 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 53, 28, 94, 59 ]
10
[ "53-28=25", "94-59=35", "35-25=10" ]
Current State: 10:[53, 28, 94, 59], Operations: [] Exploring Operation: 53-28=25, Resulting Numbers: [94, 59, 25] Generated Node #2: [94, 59, 25] from Operation: 53-28=25 Current State: 10:[94, 59, 25], Operations: ['53-28=25'] Exploring Operation: 94-59=35, Resulting Numbers: [25, 35] Generated Node #3: [25, 35] from Operation: 94-59=35 Current State: 10:[25, 35], Operations: ['53-28=25', '94-59=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[53, 28, 94, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [28, 94, 6] Generated Node #0,0: 10:[28, 94, 6] Operation: 59-53=6 Exploring Operation: 94-53=41, Resulting Numbers: [28, 59, 41] Generated Node #0,1: 10:[28, 59, 41] Operation: 94-53=41 Exploring Operation: 53-28=25, Resulting Numbers: [94, 59, 25] Generated Node #0,2: 10:[94, 59, 25] Operation: 53-28=25 Exploring Operation: 94-59=35, Resulting Numbers: [53, 28, 35] Generated Node #0,3: 10:[53, 28, 35] Operation: 94-59=35 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[53, 28, 35], Operations: ['94-59=35'] Exploring Operation: 53-28=25, Resulting Numbers: [35, 25] Generated Node #0,3,0: 10:[35, 25] Operation: 53-28=25 Exploring Operation: 53-35=18, Resulting Numbers: [28, 18] Generated Node #0,3,1: 10:[28, 18] Operation: 53-35=18 Exploring Operation: 35-28=7, Resulting Numbers: [53, 7] Generated Node #0,3,2: 10:[53, 7] Operation: 35-28=7 Exploring Operation: 53+28=81, Resulting Numbers: [35, 81] Generated Node #0,3,3: 10:[35, 81] Operation: 53+28=81 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 10:[28, 18], Operations: ['94-59=35', '53-35=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,10 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,10 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[53, 28, 94, 59], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [53, 28, 35] Generated Node #0,3: 10:[53, 28, 35] Operation: 94-59=35 Moving to Node #0,3 Current State: 10:[53, 28, 35], Operations: ['94-59=35'] Exploring Operation: 53-35=18, Resulting Numbers: [28, 18] Generated Node #0,3,1: 10:[28, 18] Operation: 53-35=18 Moving to Node #0,3,1 Current State: 10:[28, 18], Operations: ['94-59=35', '53-35=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 22, 5, 23, 59 ]
34
[ "22+59=81", "5*23=115", "115-81=34" ]
Current State: 34:[22, 5, 23, 59], Operations: [] Exploring Operation: 22+59=81, Resulting Numbers: [5, 23, 81] Generated Node #2: [5, 23, 81] from Operation: 22+59=81 Current State: 34:[5, 23, 81], Operations: ['22+59=81'] Exploring Operation: 5*23=115, Resulting Numbers: [81, 115] Generated Node #3: [81, 115] from Operation: 5*23=115 Current State: 34:[81, 115], Operations: ['22+59=81', '5*23=115'] Exploring Operation: 115-81=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[22, 5, 23, 59], Operations: [] Exploring Operation: 59-23=36, Resulting Numbers: [22, 5, 36] Generated Node #0,0: 34:[22, 5, 36] Operation: 59-23=36 Exploring Operation: 23-22=1, Resulting Numbers: [5, 59, 1] Generated Node #0,1: 34:[5, 59, 1] Operation: 23-22=1 Exploring Operation: 59-22=37, Resulting Numbers: [5, 23, 37] Generated Node #0,2: 34:[5, 23, 37] Operation: 59-22=37 Moving to Node #0,0 Current State: 34:[22, 5, 36], Operations: ['59-23=36'] Exploring Operation: 22-5=17, Resulting Numbers: [36, 17] Generated Node #0,0,0: 34:[36, 17] Operation: 22-5=17 Exploring Operation: 36-5=31, Resulting Numbers: [22, 31] Generated Node #0,0,1: 34:[22, 31] Operation: 36-5=31 Exploring Operation: 36-22=14, Resulting Numbers: [5, 14] Generated Node #0,0,2: 34:[5, 14] Operation: 36-22=14 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[36, 17], Operations: ['59-23=36', '22-5=17'] Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,34 unequal: No Solution Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[5, 14], Operations: ['59-23=36', '36-22=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[22, 31], Operations: ['59-23=36', '36-5=31'] Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,34 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: 34:[5, 23, 37], Operations: ['59-22=37'] Exploring Operation: 23-5=18, Resulting Numbers: [37, 18] Generated Node #0,2,0: 34:[37, 18] Operation: 23-5=18 Exploring Operation: 37-23=14, Resulting Numbers: [5, 14] Generated Node #0,2,1: 34:[5, 14] Operation: 37-23=14 Exploring Operation: 37-5=32, Resulting Numbers: [23, 32] Generated Node #0,2,2: 34:[23, 32] Operation: 37-5=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 34:[37, 18], Operations: ['59-22=37', '23-5=18'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,34 unequal: No Solution Exploring Operation: 37*18=666, Resulting Numbers: [666] 666,34 unequal: No Solution Exploring Operation: 37+18=55, Resulting Numbers: [55] 55,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 34:[5, 14], Operations: ['59-22=37', '37-23=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,34 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 34:[23, 32], Operations: ['59-22=37', '37-5=32'] Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,34 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,34 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: 34:[5, 59, 1], Operations: ['23-22=1'] Exploring Operation: 59-5=54, Resulting Numbers: [1, 54] Generated Node #0,1,0: 34:[1, 54] Operation: 59-5=54 Exploring Operation: 5-1=4, Resulting Numbers: [59, 4] Generated Node #0,1,1: 34:[59, 4] Operation: 5-1=4 Exploring Operation: 59-1=58, Resulting Numbers: [5, 58] Generated Node #0,1,2: 34:[5, 58] Operation: 59-1=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[1, 54], Operations: ['23-22=1', '59-5=54'] Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[59, 4], Operations: ['23-22=1', '5-1=4'] Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,34 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,34 unequal: No Solution Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[5, 58], Operations: ['23-22=1', '59-1=58'] Exploring Operation: 5*58=290, Resulting Numbers: [290] 290,34 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 56, 89, 84, 36 ]
77
[ "89-56=33", "84*33=2772", "2772/36=77" ]
Current State: 77:[56, 89, 84, 36], Operations: [] Exploring Operation: 89-56=33, Resulting Numbers: [84, 36, 33] Generated Node #2: [84, 36, 33] from Operation: 89-56=33 Current State: 77:[84, 36, 33], Operations: ['89-56=33'] Exploring Operation: 84*33=2772, Resulting Numbers: [36, 2772] Generated Node #3: [36, 2772] from Operation: 84*33=2772 Current State: 77:[36, 2772], Operations: ['89-56=33', '84*33=2772'] Exploring Operation: 2772/36=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[56, 89, 84, 36], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [89, 84, 20] Generated Node #0,0: 77:[89, 84, 20] Operation: 56-36=20 Exploring Operation: 56+36=92, Resulting Numbers: [89, 84, 92] Generated Node #0,1: 77:[89, 84, 92] Operation: 56+36=92 Exploring Operation: 89-36=53, Resulting Numbers: [56, 84, 53] Generated Node #0,2: 77:[56, 84, 53] Operation: 89-36=53 Exploring Operation: 89-84=5, Resulting Numbers: [56, 36, 5] Generated Node #0,3: 77:[56, 36, 5] Operation: 89-84=5 Moving to Node #0,0 Current State: 77:[89, 84, 20], Operations: ['56-36=20'] Exploring Operation: 89-20=69, Resulting Numbers: [84, 69] Generated Node #0,0,0: 77:[84, 69] Operation: 89-20=69 Exploring Operation: 89-84=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 77:[20, 5] Operation: 89-84=5 Exploring Operation: 84-20=64, Resulting Numbers: [89, 64] Generated Node #0,0,2: 77:[89, 64] Operation: 84-20=64 Exploring Operation: 89+20=109, Resulting Numbers: [84, 109] Generated Node #0,0,3: 77:[84, 109] Operation: 89+20=109 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[20, 5], Operations: ['56-36=20', '89-84=5'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 20*5=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[84, 69], Operations: ['56-36=20', '89-20=69'] Exploring Operation: 84*69=5796, Resulting Numbers: [5796] 5796,77 unequal: No Solution Exploring Operation: 84+69=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 84-69=15, Resulting Numbers: [15] 15,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[89, 64], Operations: ['56-36=20', '84-20=64'] Exploring Operation: 89+64=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 89*64=5696, Resulting Numbers: [5696] 5696,77 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[84, 109], Operations: ['56-36=20', '89+20=109'] Exploring Operation: 84*109=9156, Resulting Numbers: [9156] 9156,77 unequal: No Solution Exploring Operation: 84+109=193, Resulting Numbers: [193] 193,77 unequal: No Solution Exploring Operation: 109-84=25, Resulting Numbers: [25] 25,77 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: 77:[89, 84, 92], Operations: ['56+36=92'] Exploring Operation: 92-89=3, Resulting Numbers: [84, 3] Generated Node #0,1,0: 77:[84, 3] Operation: 92-89=3 Exploring Operation: 92-84=8, Resulting Numbers: [89, 8] Generated Node #0,1,1: 77:[89, 8] Operation: 92-84=8 Exploring Operation: 89+84=173, Resulting Numbers: [92, 173] Generated Node #0,1,2: 77:[92, 173] Operation: 89+84=173 Exploring Operation: 89-84=5, Resulting Numbers: [92, 5] Generated Node #0,1,3: 77:[92, 5] Operation: 89-84=5 Moving to Node #0,3 Current State: 77:[56, 36, 5], Operations: ['89-84=5'] Exploring Operation: 56+5=61, Resulting Numbers: [36, 61] Generated Node #0,3,0: 77:[36, 61] Operation: 56+5=61 Exploring Operation: 36-5=31, Resulting Numbers: [56, 31] Generated Node #0,3,1: 77:[56, 31] Operation: 36-5=31 Exploring Operation: 56-36=20, Resulting Numbers: [5, 20] Generated Node #0,3,2: 77:[5, 20] Operation: 56-36=20 Exploring Operation: 56+36=92, Resulting Numbers: [5, 92] Generated Node #0,3,3: 77:[5, 92] Operation: 56+36=92 Moving to Node #0,2 Current State: 77:[56, 84, 53], Operations: ['89-36=53'] Exploring Operation: 56+53=109, Resulting Numbers: [84, 109] Generated Node #0,2,0: 77:[84, 109] Operation: 56+53=109 Exploring Operation: 56-53=3, Resulting Numbers: [84, 3] Generated Node #0,2,1: 77:[84, 3] Operation: 56-53=3 Exploring Operation: 84-56=28, Resulting Numbers: [53, 28] Generated Node #0,2,2: 77:[53, 28] Operation: 84-56=28 Exploring Operation: 84-53=31, Resulting Numbers: [56, 31] Generated Node #0,2,3: 77:[56, 31] Operation: 84-53=31 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[84, 3], Operations: ['89-36=53', '56-53=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,77 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,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,2,0 Current State: 77:[84, 109], Operations: ['89-36=53', '56+53=109'] Exploring Operation: 84*109=9156, Resulting Numbers: [9156] 9156,77 unequal: No Solution Exploring Operation: 84+109=193, Resulting Numbers: [193] 193,77 unequal: No Solution Exploring Operation: 109-84=25, Resulting Numbers: [25] 25,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,2,2 Current State: 77:[53, 28], Operations: ['89-36=53', '84-56=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,77 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,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,2,3 Current State: 77:[56, 31], Operations: ['89-36=53', '84-53=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,77 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 77:[84, 3], Operations: ['56+36=92', '92-89=3'] Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,77 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[5, 20], Operations: ['89-84=5', '56-36=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,77 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[89, 8], Operations: ['56+36=92', '92-84=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 89*8=712, Resulting Numbers: [712] 712,77 unequal: No Solution Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[92, 5], Operations: ['56+36=92', '89-84=5'] Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 92+5=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 92*5=460, Resulting Numbers: [460] 460,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[5, 92], Operations: ['89-84=5', '56+36=92'] Exploring Operation: 5*92=460, Resulting Numbers: [460] 460,77 unequal: No Solution Exploring Operation: 5+92=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 92-5=87, Resulting Numbers: [87] 87,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[56, 31], Operations: ['89-84=5', '36-5=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,77 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[36, 61], Operations: ['89-84=5', '56+5=61'] Exploring Operation: 36*61=2196, Resulting Numbers: [2196] 2196,77 unequal: No Solution Exploring Operation: 36+61=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 61-36=25, Resulting Numbers: [25] 25,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[92, 173], Operations: ['56+36=92', '89+84=173'] Exploring Operation: 173-92=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 92*173=15916, Resulting Numbers: [15916] 15916,77 unequal: No Solution Exploring Operation: 92+173=265, Resulting Numbers: [265] 265,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 84, 2, 13, 7 ]
32
[ "84-13=71", "71-7=64", "64/2=32" ]
Current State: 32:[84, 2, 13, 7], Operations: [] Exploring Operation: 84-13=71, Resulting Numbers: [2, 7, 71] Generated Node #2: [2, 7, 71] from Operation: 84-13=71 Current State: 32:[2, 7, 71], Operations: ['84-13=71'] Exploring Operation: 71-7=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 71-7=64 Current State: 32:[2, 64], Operations: ['84-13=71', '71-7=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 2, 13, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [2, 13, 12] Generated Node #0,0: 32:[2, 13, 12] Operation: 84/7=12 Exploring Operation: 84-13=71, Resulting Numbers: [2, 7, 71] Generated Node #0,1: 32:[2, 7, 71] Operation: 84-13=71 Exploring Operation: 84/2=42, Resulting Numbers: [13, 7, 42] Generated Node #0,2: 32:[13, 7, 42] Operation: 84/2=42 Moving to Node #0,0 Current State: 32:[2, 13, 12], Operations: ['84/7=12'] Exploring Operation: 2+12=14, Resulting Numbers: [13, 14] Generated Node #0,0,0: 32:[13, 14] Operation: 2+12=14 Exploring Operation: 13-12=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 32:[2, 1] Operation: 13-12=1 Exploring Operation: 2+13=15, Resulting Numbers: [12, 15] Generated Node #0,0,2: 32:[12, 15] Operation: 2+13=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[2, 1], Operations: ['84/7=12', '13-12=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[13, 14], Operations: ['84/7=12', '2+12=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,32 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[12, 15], Operations: ['84/7=12', '2+13=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,32 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,32 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: 32:[13, 7, 42], Operations: ['84/2=42'] Exploring Operation: 42-7=35, Resulting Numbers: [13, 35] Generated Node #0,2,0: 32:[13, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [13, 6] Generated Node #0,2,1: 32:[13, 6] Operation: 42/7=6 Exploring Operation: 42-13=29, Resulting Numbers: [7, 29] Generated Node #0,2,2: 32:[7, 29] Operation: 42-13=29 Moving to Node #0,1 Current State: 32:[2, 7, 71], Operations: ['84-13=71'] Exploring Operation: 71-2=69, Resulting Numbers: [7, 69] Generated Node #0,1,0: 32:[7, 69] Operation: 71-2=69 Exploring Operation: 71-7=64, Resulting Numbers: [2, 64] Generated Node #0,1,1: 32:[2, 64] Operation: 71-7=64 Exploring Operation: 2+7=9, Resulting Numbers: [71, 9] Generated Node #0,1,2: 32:[71, 9] Operation: 2+7=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[2, 64], Operations: ['84-13=71', '71-7=64'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[84, 2, 13, 7], Operations: [] Exploring Operation: 84-13=71, Resulting Numbers: [2, 7, 71] Generated Node #0,1: 32:[2, 7, 71] Operation: 84-13=71 Moving to Node #0,1 Current State: 32:[2, 7, 71], Operations: ['84-13=71'] Exploring Operation: 71-7=64, Resulting Numbers: [2, 64] Generated Node #0,1,1: 32:[2, 64] Operation: 71-7=64 Moving to Node #0,1,1 Current State: 32:[2, 64], Operations: ['84-13=71', '71-7=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 53, 51, 58, 60 ]
45
[ "58-53=5", "60-51=9", "5*9=45" ]
Current State: 45:[53, 51, 58, 60], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [51, 60, 5] Generated Node #2: [51, 60, 5] from Operation: 58-53=5 Current State: 45:[51, 60, 5], Operations: ['58-53=5'] Exploring Operation: 60-51=9, Resulting Numbers: [5, 9] Generated Node #3: [5, 9] from Operation: 60-51=9 Current State: 45:[5, 9], Operations: ['58-53=5', '60-51=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[53, 51, 58, 60], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [51, 60, 5] Generated Node #0,0: 45:[51, 60, 5] Operation: 58-53=5 Exploring Operation: 60-53=7, Resulting Numbers: [51, 58, 7] Generated Node #0,1: 45:[51, 58, 7] Operation: 60-53=7 Exploring Operation: 60-51=9, Resulting Numbers: [53, 58, 9] Generated Node #0,2: 45:[53, 58, 9] Operation: 60-51=9 Exploring Operation: 60-58=2, Resulting Numbers: [53, 51, 2] Generated Node #0,3: 45:[53, 51, 2] Operation: 60-58=2 Moving to Node #0,3 Current State: 45:[53, 51, 2], Operations: ['60-58=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51, 51] Generated Node #0,3,0: 45:[51, 51] Operation: 53-2=51 Exploring Operation: 53-51=2, Resulting Numbers: [2, 2] Generated Node #0,3,1: 45:[2, 2] Operation: 53-51=2 Exploring Operation: 51-2=49, Resulting Numbers: [53, 49] Generated Node #0,3,2: 45:[53, 49] Operation: 51-2=49 Exploring Operation: 53+2=55, Resulting Numbers: [51, 55] Generated Node #0,3,3: 45:[51, 55] Operation: 53+2=55 Moving to Node #0,1 Current State: 45:[51, 58, 7], Operations: ['60-53=7'] Exploring Operation: 51+7=58, Resulting Numbers: [58, 58] Generated Node #0,1,0: 45:[58, 58] Operation: 51+7=58 Exploring Operation: 58-7=51, Resulting Numbers: [51, 51] Generated Node #0,1,1: 45:[51, 51] Operation: 58-7=51 Exploring Operation: 58-51=7, Resulting Numbers: [7, 7] Generated Node #0,1,2: 45:[7, 7] Operation: 58-51=7 Exploring Operation: 51-7=44, Resulting Numbers: [58, 44] Generated Node #0,1,3: 45:[58, 44] Operation: 51-7=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[7, 7], Operations: ['60-53=7', '58-51=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,45 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[51, 51], Operations: ['60-53=7', '58-7=51'] Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,45 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[58, 44], Operations: ['60-53=7', '51-7=44'] Exploring Operation: 58+44=102, Resulting Numbers: [102] 102,45 unequal: No Solution Exploring Operation: 58*44=2552, Resulting Numbers: [2552] 2552,45 unequal: No Solution Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[58, 58], Operations: ['60-53=7', '51+7=58'] Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,45 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,45 unequal: No Solution Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 45:[51, 60, 5], Operations: ['58-53=5'] Exploring Operation: 60-51=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 45:[5, 9] Operation: 60-51=9 Exploring Operation: 60/5=12, Resulting Numbers: [51, 12] Generated Node #0,0,1: 45:[51, 12] Operation: 60/5=12 Exploring Operation: 51-5=46, Resulting Numbers: [60, 46] Generated Node #0,0,2: 45:[60, 46] Operation: 51-5=46 Exploring Operation: 60-5=55, Resulting Numbers: [51, 55] Generated Node #0,0,3: 45:[51, 55] Operation: 60-5=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[5, 9], Operations: ['58-53=5', '60-51=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[53, 51, 58, 60], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [51, 60, 5] Generated Node #0,0: 45:[51, 60, 5] Operation: 58-53=5 Moving to Node #0,0 Current State: 45:[51, 60, 5], Operations: ['58-53=5'] Exploring Operation: 60-51=9, Resulting Numbers: [5, 9] Generated Node #0,0,0: 45:[5, 9] Operation: 60-51=9 Moving to Node #0,0,0 Current State: 45:[5, 9], Operations: ['58-53=5', '60-51=9'] Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 35, 63, 42, 51 ]
85
[ "35*51=1785", "63-42=21", "1785/21=85" ]
Current State: 85:[35, 63, 42, 51], Operations: [] Exploring Operation: 35*51=1785, Resulting Numbers: [63, 42, 1785] Generated Node #2: [63, 42, 1785] from Operation: 35*51=1785 Current State: 85:[63, 42, 1785], Operations: ['35*51=1785'] Exploring Operation: 63-42=21, Resulting Numbers: [1785, 21] Generated Node #3: [1785, 21] from Operation: 63-42=21 Current State: 85:[1785, 21], Operations: ['35*51=1785', '63-42=21'] Exploring Operation: 1785/21=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[35, 63, 42, 51], Operations: [] Exploring Operation: 51-42=9, Resulting Numbers: [35, 63, 9] Generated Node #0,0: 85:[35, 63, 9] Operation: 51-42=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[35, 63, 9], Operations: ['51-42=9'] Exploring Operation: 63-35=28, Resulting Numbers: [9, 28] Generated Node #0,0,0: 85:[9, 28] Operation: 63-35=28 Moving to Node #0,0,0 Current State: 85:[9, 28], Operations: ['51-42=9', '63-35=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,85 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
[ 40, 78, 88, 24 ]
54
[ "40+78=118", "88-24=64", "118-64=54" ]
Current State: 54:[40, 78, 88, 24], Operations: [] Exploring Operation: 40+78=118, Resulting Numbers: [88, 24, 118] Generated Node #2: [88, 24, 118] from Operation: 40+78=118 Current State: 54:[88, 24, 118], Operations: ['40+78=118'] Exploring Operation: 88-24=64, Resulting Numbers: [118, 64] Generated Node #3: [118, 64] from Operation: 88-24=64 Current State: 54:[118, 64], Operations: ['40+78=118', '88-24=64'] Exploring Operation: 118-64=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[40, 78, 88, 24], Operations: [] Exploring Operation: 88-24=64, Resulting Numbers: [40, 78, 64] Generated Node #0,0: 54:[40, 78, 64] Operation: 88-24=64 Exploring Operation: 88-78=10, Resulting Numbers: [40, 24, 10] Generated Node #0,1: 54:[40, 24, 10] Operation: 88-78=10 Exploring Operation: 78-24=54, Resulting Numbers: [40, 88, 54] Generated Node #0,2: 54:[40, 88, 54] Operation: 78-24=54 Exploring Operation: 88-40=48, Resulting Numbers: [78, 24, 48] Generated Node #0,3: 54:[78, 24, 48] Operation: 88-40=48 Moving to Node #0,1 Current State: 54:[40, 24, 10], Operations: ['88-78=10'] Exploring Operation: 40+10=50, Resulting Numbers: [24, 50] Generated Node #0,1,0: 54:[24, 50] Operation: 40+10=50 Exploring Operation: 40-10=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 54:[24, 30] Operation: 40-10=30 Exploring Operation: 40-24=16, Resulting Numbers: [10, 16] Generated Node #0,1,2: 54:[10, 16] Operation: 40-24=16 Exploring Operation: 40/10=4, Resulting Numbers: [24, 4] Generated Node #0,1,3: 54:[24, 4] Operation: 40/10=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[10, 16], Operations: ['88-78=10', '40-24=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,54 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,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,3 Current State: 54:[24, 4], Operations: ['88-78=10', '40/10=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,54 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,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,1 Current State: 54:[24, 30], Operations: ['88-78=10', '40-10=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[40, 78, 88, 24], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [40, 24, 10] Generated Node #0,1: 54:[40, 24, 10] Operation: 88-78=10 Moving to Node #0,1 Current State: 54:[40, 24, 10], Operations: ['88-78=10'] Exploring Operation: 40-10=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 54:[24, 30] Operation: 40-10=30 Moving to Node #0,1,1 Current State: 54:[24, 30], Operations: ['88-78=10', '40-10=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 25, 52, 76, 93 ]
93
[ "25+52=77", "77-76=1", "93*1=93" ]
Current State: 93:[25, 52, 76, 93], Operations: [] Exploring Operation: 25+52=77, Resulting Numbers: [76, 93, 77] Generated Node #2: [76, 93, 77] from Operation: 25+52=77 Current State: 93:[76, 93, 77], Operations: ['25+52=77'] Exploring Operation: 77-76=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 77-76=1 Current State: 93:[93, 1], Operations: ['25+52=77', '77-76=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[25, 52, 76, 93], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [25, 93, 24] Generated Node #0,0: 93:[25, 93, 24] Operation: 76-52=24 Exploring Operation: 25+76=101, Resulting Numbers: [52, 93, 101] Generated Node #0,1: 93:[52, 93, 101] Operation: 25+76=101 Exploring Operation: 93-52=41, Resulting Numbers: [25, 76, 41] Generated Node #0,2: 93:[25, 76, 41] Operation: 93-52=41 Exploring Operation: 52-25=27, Resulting Numbers: [76, 93, 27] Generated Node #0,3: 93:[76, 93, 27] Operation: 52-25=27 Exploring Operation: 25+52=77, Resulting Numbers: [76, 93, 77] Generated Node #0,4: 93:[76, 93, 77] Operation: 25+52=77 Moving to Node #0,0 Current State: 93:[25, 93, 24], Operations: ['76-52=24'] Exploring Operation: 93-24=69, Resulting Numbers: [25, 69] Generated Node #0,0,0: 93:[25, 69] Operation: 93-24=69 Exploring Operation: 25-24=1, Resulting Numbers: [93, 1] Generated Node #0,0,1: 93:[93, 1] Operation: 25-24=1 Exploring Operation: 25+24=49, Resulting Numbers: [93, 49] Generated Node #0,0,2: 93:[93, 49] Operation: 25+24=49 Exploring Operation: 25+93=118, Resulting Numbers: [24, 118] Generated Node #0,0,3: 93:[24, 118] Operation: 25+93=118 Exploring Operation: 93+24=117, Resulting Numbers: [25, 117] Generated Node #0,0,4: 93:[25, 117] Operation: 93+24=117 Moving to Node #0,3 Current State: 93:[76, 93, 27], Operations: ['52-25=27'] Exploring Operation: 76-27=49, Resulting Numbers: [93, 49] Generated Node #0,3,0: 93:[93, 49] Operation: 76-27=49 Exploring Operation: 93-76=17, Resulting Numbers: [27, 17] Generated Node #0,3,1: 93:[27, 17] Operation: 93-76=17 Exploring Operation: 93+27=120, Resulting Numbers: [76, 120] Generated Node #0,3,2: 93:[76, 120] Operation: 93+27=120 Exploring Operation: 76+27=103, Resulting Numbers: [93, 103] Generated Node #0,3,3: 93:[93, 103] Operation: 76+27=103 Exploring Operation: 93-27=66, Resulting Numbers: [76, 66] Generated Node #0,3,4: 93:[76, 66] Operation: 93-27=66 Moving to Node #0,1 Current State: 93:[52, 93, 101], Operations: ['25+76=101'] Exploring Operation: 101-93=8, Resulting Numbers: [52, 8] Generated Node #0,1,0: 93:[52, 8] Operation: 101-93=8 Exploring Operation: 101-52=49, Resulting Numbers: [93, 49] Generated Node #0,1,1: 93:[93, 49] Operation: 101-52=49 Exploring Operation: 52+93=145, Resulting Numbers: [101, 145] Generated Node #0,1,2: 93:[101, 145] Operation: 52+93=145 Exploring Operation: 52+101=153, Resulting Numbers: [93, 153] Generated Node #0,1,3: 93:[93, 153] Operation: 52+101=153 Exploring Operation: 93-52=41, Resulting Numbers: [101, 41] Generated Node #0,1,4: 93:[101, 41] Operation: 93-52=41 Moving to Node #0,2 Current State: 93:[25, 76, 41], Operations: ['93-52=41'] Exploring Operation: 41-25=16, Resulting Numbers: [76, 16] Generated Node #0,2,0: 93:[76, 16] Operation: 41-25=16 Exploring Operation: 76+41=117, Resulting Numbers: [25, 117] Generated Node #0,2,1: 93:[25, 117] Operation: 76+41=117 Exploring Operation: 76-25=51, Resulting Numbers: [41, 51] Generated Node #0,2,2: 93:[41, 51] Operation: 76-25=51 Exploring Operation: 76-41=35, Resulting Numbers: [25, 35] Generated Node #0,2,3: 93:[25, 35] Operation: 76-41=35 Exploring Operation: 25+76=101, Resulting Numbers: [41, 101] Generated Node #0,2,4: 93:[41, 101] Operation: 25+76=101 Moving to Node #0,4 Current State: 93:[76, 93, 77], Operations: ['25+52=77'] Exploring Operation: 93-77=16, Resulting Numbers: [76, 16] Generated Node #0,4,0: 93:[76, 16] Operation: 93-77=16 Exploring Operation: 77-76=1, Resulting Numbers: [93, 1] Generated Node #0,4,1: 93:[93, 1] Operation: 77-76=1 Exploring Operation: 76+93=169, Resulting Numbers: [77, 169] Generated Node #0,4,2: 93:[77, 169] Operation: 76+93=169 Exploring Operation: 93-76=17, Resulting Numbers: [77, 17] Generated Node #0,4,3: 93:[77, 17] Operation: 93-76=17 Exploring Operation: 76+77=153, Resulting Numbers: [93, 153] Generated Node #0,4,4: 93:[93, 153] Operation: 76+77=153 Moving to Node #0,0,1 Current State: 93:[93, 1], Operations: ['76-52=24', '25-24=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[25, 52, 76, 93], Operations: [] Exploring Operation: 76-52=24, Resulting Numbers: [25, 93, 24] Generated Node #0,0: 93:[25, 93, 24] Operation: 76-52=24 Moving to Node #0,0 Current State: 93:[25, 93, 24], Operations: ['76-52=24'] Exploring Operation: 25-24=1, Resulting Numbers: [93, 1] Generated Node #0,0,1: 93:[93, 1] Operation: 25-24=1 Moving to Node #0,0,1 Current State: 93:[93, 1], Operations: ['76-52=24', '25-24=1'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.969618
hs_5
sum_heuristic
[ 25, 9, 91, 97 ]
75
[ "9+91=100", "100-97=3", "25*3=75" ]
Current State: 75:[25, 9, 91, 97], Operations: [] Exploring Operation: 9+91=100, Resulting Numbers: [25, 97, 100] Generated Node #2: [25, 97, 100] from Operation: 9+91=100 Current State: 75:[25, 97, 100], Operations: ['9+91=100'] Exploring Operation: 100-97=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 100-97=3 Current State: 75:[25, 3], Operations: ['9+91=100', '100-97=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[25, 9, 91, 97], Operations: [] Exploring Operation: 97-25=72, Resulting Numbers: [9, 91, 72] Generated Node #0,0: 75:[9, 91, 72] Operation: 97-25=72 Exploring Operation: 97-91=6, Resulting Numbers: [25, 9, 6] Generated Node #0,1: 75:[25, 9, 6] Operation: 97-91=6 Exploring Operation: 91-9=82, Resulting Numbers: [25, 97, 82] Generated Node #0,2: 75:[25, 97, 82] Operation: 91-9=82 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[25, 9, 6], Operations: ['97-91=6'] Exploring Operation: 25-9=16, Resulting Numbers: [6, 16] Generated Node #0,1,0: 75:[6, 16] Operation: 25-9=16 Exploring Operation: 9+6=15, Resulting Numbers: [25, 15] Generated Node #0,1,1: 75:[25, 15] Operation: 9+6=15 Exploring Operation: 9-6=3, Resulting Numbers: [25, 3] Generated Node #0,1,2: 75:[25, 3] Operation: 9-6=3 Moving to Node #0,1,1 Current State: 75:[25, 15], Operations: ['97-91=6', '9+6=15'] Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,75 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,75 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[25, 3], Operations: ['97-91=6', '9-6=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[25, 9, 91, 97], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [25, 9, 6] Generated Node #0,1: 75:[25, 9, 6] Operation: 97-91=6 Moving to Node #0,1 Current State: 75:[25, 9, 6], Operations: ['97-91=6'] Exploring Operation: 9-6=3, Resulting Numbers: [25, 3] Generated Node #0,1,2: 75:[25, 3] Operation: 9-6=3 Moving to Node #0,1,2 Current State: 75:[25, 3], Operations: ['97-91=6', '9-6=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 59, 3, 24, 21 ]
65
[ "59+3=62", "24-21=3", "62+3=65" ]
Current State: 65:[59, 3, 24, 21], Operations: [] Exploring Operation: 59+3=62, Resulting Numbers: [24, 21, 62] Generated Node #2: [24, 21, 62] from Operation: 59+3=62 Current State: 65:[24, 21, 62], Operations: ['59+3=62'] Exploring Operation: 24-21=3, Resulting Numbers: [62, 3] Generated Node #3: [62, 3] from Operation: 24-21=3 Current State: 65:[62, 3], Operations: ['59+3=62', '24-21=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[59, 3, 24, 21], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [59, 21, 8] Generated Node #0,0: 65:[59, 21, 8] Operation: 24/3=8 Exploring Operation: 24-21=3, Resulting Numbers: [59, 3, 3] Generated Node #0,1: 65:[59, 3, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[59, 3, 3], Operations: ['24-21=3'] Exploring Operation: 59+3=62, Resulting Numbers: [3, 62] Generated Node #0,1,0: 65:[3, 62] Operation: 59+3=62 Exploring Operation: 59+3=62, Resulting Numbers: [3, 62] Generated Node #0,1,1: 65:[3, 62] Operation: 59+3=62 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[3, 62], Operations: ['24-21=3', '59+3=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[59, 3, 24, 21], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [59, 3, 3] Generated Node #0,1: 65:[59, 3, 3] Operation: 24-21=3 Moving to Node #0,1 Current State: 65:[59, 3, 3], Operations: ['24-21=3'] Exploring Operation: 59+3=62, Resulting Numbers: [3, 62] Generated Node #0,1,0: 65:[3, 62] Operation: 59+3=62 Moving to Node #0,1,0 Current State: 65:[3, 62], Operations: ['24-21=3', '59+3=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 84, 86, 7, 83 ]
69
[ "86-84=2", "7*2=14", "83-14=69" ]
Current State: 69:[84, 86, 7, 83], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [7, 83, 2] Generated Node #2: [7, 83, 2] from Operation: 86-84=2 Current State: 69:[7, 83, 2], Operations: ['86-84=2'] Exploring Operation: 7*2=14, Resulting Numbers: [83, 14] Generated Node #3: [83, 14] from Operation: 7*2=14 Current State: 69:[83, 14], Operations: ['86-84=2', '7*2=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[84, 86, 7, 83], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [7, 83, 2] Generated Node #0,0: 69:[7, 83, 2] Operation: 86-84=2 Exploring Operation: 84-7=77, Resulting Numbers: [86, 83, 77] Generated Node #0,1: 69:[86, 83, 77] Operation: 84-7=77 Exploring Operation: 84-83=1, Resulting Numbers: [86, 7, 1] Generated Node #0,2: 69:[86, 7, 1] Operation: 84-83=1 Exploring Operation: 86-83=3, Resulting Numbers: [84, 7, 3] Generated Node #0,3: 69:[84, 7, 3] Operation: 86-83=3 Moving to Node #0,0 Current State: 69:[7, 83, 2], Operations: ['86-84=2'] Exploring Operation: 7-2=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 69:[83, 5] Operation: 7-2=5 Exploring Operation: 83-2=81, Resulting Numbers: [7, 81] Generated Node #0,0,1: 69:[7, 81] Operation: 83-2=81 Exploring Operation: 7+2=9, Resulting Numbers: [83, 9] Generated Node #0,0,2: 69:[83, 9] Operation: 7+2=9 Exploring Operation: 83-7=76, Resulting Numbers: [2, 76] Generated Node #0,0,3: 69:[2, 76] Operation: 83-7=76 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[2, 76], Operations: ['86-84=2', '83-7=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[83, 5], Operations: ['86-84=2', '7-2=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[7, 81], Operations: ['86-84=2', '83-2=81'] Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[83, 9], Operations: ['86-84=2', '7+2=9'] Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,69 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,69 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: 69:[84, 7, 3], Operations: ['86-83=3'] Exploring Operation: 84-7=77, Resulting Numbers: [3, 77] Generated Node #0,3,0: 69:[3, 77] Operation: 84-7=77 Exploring Operation: 84-3=81, Resulting Numbers: [7, 81] Generated Node #0,3,1: 69:[7, 81] Operation: 84-3=81 Exploring Operation: 84/7=12, Resulting Numbers: [3, 12] Generated Node #0,3,2: 69:[3, 12] Operation: 84/7=12 Exploring Operation: 84/3=28, Resulting Numbers: [7, 28] Generated Node #0,3,3: 69:[7, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[3, 77], Operations: ['86-83=3', '84-7=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 3*77=231, Resulting Numbers: [231] 231,69 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[3, 12], Operations: ['86-83=3', '84/7=12'] Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[7, 28], Operations: ['86-83=3', '84/3=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,69 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[7, 81], Operations: ['86-83=3', '84-3=81'] Exploring Operation: 7+81=88, Resulting Numbers: [88] 88,69 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 7*81=567, Resulting Numbers: [567] 567,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 69:[86, 7, 1], Operations: ['84-83=1'] Exploring Operation: 7-1=6, Resulting Numbers: [86, 6] Generated Node #0,2,0: 69:[86, 6] Operation: 7-1=6 Exploring Operation: 86-7=79, Resulting Numbers: [1, 79] Generated Node #0,2,1: 69:[1, 79] Operation: 86-7=79 Exploring Operation: 86*1=86, Resulting Numbers: [7, 86] Generated Node #0,2,2: 69:[7, 86] Operation: 86*1=86 Exploring Operation: 86-1=85, Resulting Numbers: [7, 85] Generated Node #0,2,3: 69:[7, 85] Operation: 86-1=85 Moving to Node #0,1 Current State: 69:[86, 83, 77], Operations: ['84-7=77'] Exploring Operation: 86-83=3, Resulting Numbers: [77, 3] Generated Node #0,1,0: 69:[77, 3] Operation: 86-83=3 Exploring Operation: 83-77=6, Resulting Numbers: [86, 6] Generated Node #0,1,1: 69:[86, 6] Operation: 83-77=6 Exploring Operation: 86-77=9, Resulting Numbers: [83, 9] Generated Node #0,1,2: 69:[83, 9] Operation: 86-77=9 Exploring Operation: 86+83=169, Resulting Numbers: [77, 169] Generated Node #0,1,3: 69:[77, 169] Operation: 86+83=169 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[77, 3], Operations: ['84-7=77', '86-83=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 77+3=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 77*3=231, Resulting Numbers: [231] 231,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[86, 6], Operations: ['84-7=77', '83-77=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[83, 9], Operations: ['84-7=77', '86-77=9'] Exploring Operation: 83*9=747, Resulting Numbers: [747] 747,69 unequal: No Solution Exploring Operation: 83-9=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 83+9=92, Resulting Numbers: [92] 92,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[77, 169], Operations: ['84-7=77', '86+83=169'] Exploring Operation: 77*169=13013, Resulting Numbers: [13013] 13013,69 unequal: No Solution Exploring Operation: 169-77=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 77+169=246, Resulting Numbers: [246] 246,69 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: 69:[1, 79], Operations: ['84-83=1', '86-7=79'] Exploring Operation: 1*79=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 1+79=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[7, 85], Operations: ['84-83=1', '86-1=85'] Exploring Operation: 7*85=595, Resulting Numbers: [595] 595,69 unequal: No Solution Exploring Operation: 7+85=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[86, 6], Operations: ['84-83=1', '7-1=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,69 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[7, 86], Operations: ['84-83=1', '86*1=86'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 7+86=93, Resulting Numbers: [93] 93,69 unequal: No Solution Exploring Operation: 7*86=602, Resulting Numbers: [602] 602,69 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 37, 46, 51, 16 ]
93
[ "46-37=9", "16*9=144", "144-51=93" ]
Current State: 93:[37, 46, 51, 16], Operations: [] Exploring Operation: 46-37=9, Resulting Numbers: [51, 16, 9] Generated Node #2: [51, 16, 9] from Operation: 46-37=9 Current State: 93:[51, 16, 9], Operations: ['46-37=9'] Exploring Operation: 16*9=144, Resulting Numbers: [51, 144] Generated Node #3: [51, 144] from Operation: 16*9=144 Current State: 93:[51, 144], Operations: ['46-37=9', '16*9=144'] Exploring Operation: 144-51=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[37, 46, 51, 16], Operations: [] Exploring Operation: 51-46=5, Resulting Numbers: [37, 16, 5] Generated Node #0,0: 93:[37, 16, 5] Operation: 51-46=5 Exploring Operation: 51-16=35, Resulting Numbers: [37, 46, 35] Generated Node #0,1: 93:[37, 46, 35] Operation: 51-16=35 Exploring Operation: 46+51=97, Resulting Numbers: [37, 16, 97] Generated Node #0,2: 93:[37, 16, 97] Operation: 46+51=97 Exploring Operation: 46-16=30, Resulting Numbers: [37, 51, 30] Generated Node #0,3: 93:[37, 51, 30] Operation: 46-16=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[37, 16, 5], Operations: ['51-46=5'] Exploring Operation: 16+5=21, Resulting Numbers: [37, 21] Generated Node #0,0,0: 93:[37, 21] Operation: 16+5=21 Exploring Operation: 37-5=32, Resulting Numbers: [16, 32] Generated Node #0,0,1: 93:[16, 32] Operation: 37-5=32 Exploring Operation: 16-5=11, Resulting Numbers: [37, 11] Generated Node #0,0,2: 93:[37, 11] Operation: 16-5=11 Exploring Operation: 37-16=21, Resulting Numbers: [5, 21] Generated Node #0,0,3: 93:[5, 21] Operation: 37-16=21 Moving to Node #0,0,3 Current State: 93:[5, 21], Operations: ['51-46=5', '37-16=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[37, 11], Operations: ['51-46=5', '16-5=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,93 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[16, 32], Operations: ['51-46=5', '37-5=32'] Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 16*32=512, Resulting Numbers: [512] 512,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[37, 21], Operations: ['51-46=5', '16+5=21'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,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:[37, 16, 97], Operations: ['46+51=97'] Exploring Operation: 37-16=21, Resulting Numbers: [97, 21] Generated Node #0,2,0: 93:[97, 21] Operation: 37-16=21 Exploring Operation: 97-16=81, Resulting Numbers: [37, 81] Generated Node #0,2,1: 93:[37, 81] Operation: 97-16=81 Exploring Operation: 37+16=53, Resulting Numbers: [97, 53] Generated Node #0,2,2: 93:[97, 53] Operation: 37+16=53 Exploring Operation: 16+97=113, Resulting Numbers: [37, 113] Generated Node #0,2,3: 93:[37, 113] Operation: 16+97=113 Moving to Node #0,2,0 Current State: 93:[97, 21], Operations: ['46+51=97', '37-16=21'] Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[37, 81], Operations: ['46+51=97', '97-16=81'] Exploring Operation: 37*81=2997, Resulting Numbers: [2997] 2997,93 unequal: No Solution Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[37, 113], Operations: ['46+51=97', '16+97=113'] Exploring Operation: 37*113=4181, Resulting Numbers: [4181] 4181,93 unequal: No Solution Exploring Operation: 37+113=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 113-37=76, Resulting Numbers: [76] 76,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[97, 53], Operations: ['46+51=97', '37+16=53'] Exploring Operation: 97+53=150, Resulting Numbers: [150] 150,93 unequal: No Solution Exploring Operation: 97*53=5141, Resulting Numbers: [5141] 5141,93 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[37, 46, 35], Operations: ['51-16=35'] Exploring Operation: 46-37=9, Resulting Numbers: [35, 9] Generated Node #0,1,0: 93:[35, 9] Operation: 46-37=9 Exploring Operation: 46-35=11, Resulting Numbers: [37, 11] Generated Node #0,1,1: 93:[37, 11] Operation: 46-35=11 Exploring Operation: 37+46=83, Resulting Numbers: [35, 83] Generated Node #0,1,2: 93:[35, 83] Operation: 37+46=83 Exploring Operation: 37-35=2, Resulting Numbers: [46, 2] Generated Node #0,1,3: 93:[46, 2] Operation: 37-35=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[35, 9], Operations: ['51-16=35', '46-37=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,93 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,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,1 Current State: 93:[37, 11], Operations: ['51-16=35', '46-35=11'] Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,93 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,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:[35, 83], Operations: ['51-16=35', '37+46=83'] Exploring Operation: 35+83=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 83-35=48, Resulting Numbers: [48] 48,93 unequal: No Solution Exploring Operation: 35*83=2905, Resulting Numbers: [2905] 2905,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[46, 2], Operations: ['51-16=35', '37-35=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,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,3 Current State: 93:[37, 51, 30], Operations: ['46-16=30'] Exploring Operation: 37+51=88, Resulting Numbers: [30, 88] Generated Node #0,3,0: 93:[30, 88] Operation: 37+51=88 Exploring Operation: 51-30=21, Resulting Numbers: [37, 21] Generated Node #0,3,1: 93:[37, 21] Operation: 51-30=21 Exploring Operation: 51-37=14, Resulting Numbers: [30, 14] Generated Node #0,3,2: 93:[30, 14] Operation: 51-37=14 Exploring Operation: 51+30=81, Resulting Numbers: [37, 81] Generated Node #0,3,3: 93:[37, 81] Operation: 51+30=81 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[30, 88], Operations: ['46-16=30', '37+51=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,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,3,2 Current State: 93:[30, 14], Operations: ['46-16=30', '51-37=14'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,93 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,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,3,1 Current State: 93:[37, 21], Operations: ['46-16=30', '51-30=21'] Exploring Operation: 37*21=777, Resulting Numbers: [777] 777,93 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,93 unequal: No Solution Exploring Operation: 37+21=58, Resulting Numbers: [58] 58,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,3,3 Current State: 93:[37, 81], Operations: ['46-16=30', '51+30=81'] Exploring Operation: 37*81=2997, Resulting Numbers: [2997] 2997,93 unequal: No Solution Exploring Operation: 37+81=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 42, 87, 57, 72 ]
30
[ "87-42=45", "72-57=15", "45-15=30" ]
Current State: 30:[42, 87, 57, 72], Operations: [] Exploring Operation: 87-42=45, Resulting Numbers: [57, 72, 45] Generated Node #2: [57, 72, 45] from Operation: 87-42=45 Current State: 30:[57, 72, 45], Operations: ['87-42=45'] Exploring Operation: 72-57=15, Resulting Numbers: [45, 15] Generated Node #3: [45, 15] from Operation: 72-57=15 Current State: 30:[45, 15], Operations: ['87-42=45', '72-57=15'] Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[42, 87, 57, 72], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [42, 57, 15] Generated Node #0,0: 30:[42, 57, 15] Operation: 87-72=15 Moving to Node #0,0 Current State: 30:[42, 57, 15], Operations: ['87-72=15'] Exploring Operation: 57-42=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 30:[15, 15] Operation: 57-42=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[15, 15], Operations: ['87-72=15', '57-42=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[42, 87, 57, 72], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [42, 57, 15] Generated Node #0,0: 30:[42, 57, 15] Operation: 87-72=15 Moving to Node #0,0 Current State: 30:[42, 57, 15], Operations: ['87-72=15'] Exploring Operation: 57-42=15, Resulting Numbers: [15, 15] Generated Node #0,0,0: 30:[15, 15] Operation: 57-42=15 Moving to Node #0,0,0 Current State: 30:[15, 15], Operations: ['87-72=15', '57-42=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 90, 42, 50, 94 ]
47
[ "90-42=48", "50-48=2", "94/2=47" ]
Current State: 47:[90, 42, 50, 94], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [50, 94, 48] Generated Node #2: [50, 94, 48] from Operation: 90-42=48 Current State: 47:[50, 94, 48], Operations: ['90-42=48'] Exploring Operation: 50-48=2, Resulting Numbers: [94, 2] Generated Node #3: [94, 2] from Operation: 50-48=2 Current State: 47:[94, 2], Operations: ['90-42=48', '50-48=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[90, 42, 50, 94], Operations: [] Exploring Operation: 94-50=44, Resulting Numbers: [90, 42, 44] Generated Node #0,0: 47:[90, 42, 44] Operation: 94-50=44 Exploring Operation: 90-42=48, Resulting Numbers: [50, 94, 48] Generated Node #0,1: 47:[50, 94, 48] Operation: 90-42=48 Exploring Operation: 94-42=52, Resulting Numbers: [90, 50, 52] Generated Node #0,2: 47:[90, 50, 52] Operation: 94-42=52 Exploring Operation: 94-90=4, Resulting Numbers: [42, 50, 4] Generated Node #0,3: 47:[42, 50, 4] Operation: 94-90=4 Exploring Operation: 90-50=40, Resulting Numbers: [42, 94, 40] Generated Node #0,4: 47:[42, 94, 40] Operation: 90-50=40 Moving to Node #0,0 Current State: 47:[90, 42, 44], Operations: ['94-50=44'] Exploring Operation: 44-42=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 47:[90, 2] Operation: 44-42=2 Exploring Operation: 90-42=48, Resulting Numbers: [44, 48] Generated Node #0,0,1: 47:[44, 48] Operation: 90-42=48 Exploring Operation: 42+44=86, Resulting Numbers: [90, 86] Generated Node #0,0,2: 47:[90, 86] Operation: 42+44=86 Exploring Operation: 90+42=132, Resulting Numbers: [44, 132] Generated Node #0,0,3: 47:[44, 132] Operation: 90+42=132 Exploring Operation: 90-44=46, Resulting Numbers: [42, 46] Generated Node #0,0,4: 47:[42, 46] Operation: 90-44=46 Moving to Node #0,2 Current State: 47:[90, 50, 52], Operations: ['94-42=52'] Exploring Operation: 90-50=40, Resulting Numbers: [52, 40] Generated Node #0,2,0: 47:[52, 40] Operation: 90-50=40 Exploring Operation: 52-50=2, Resulting Numbers: [90, 2] Generated Node #0,2,1: 47:[90, 2] Operation: 52-50=2 Exploring Operation: 90-52=38, Resulting Numbers: [50, 38] Generated Node #0,2,2: 47:[50, 38] Operation: 90-52=38 Exploring Operation: 90+50=140, Resulting Numbers: [52, 140] Generated Node #0,2,3: 47:[52, 140] Operation: 90+50=140 Exploring Operation: 90+52=142, Resulting Numbers: [50, 142] Generated Node #0,2,4: 47:[50, 142] Operation: 90+52=142 Moving to Node #0,1 Current State: 47:[50, 94, 48], Operations: ['90-42=48'] Exploring Operation: 94-50=44, Resulting Numbers: [48, 44] Generated Node #0,1,0: 47:[48, 44] Operation: 94-50=44 Exploring Operation: 50+48=98, Resulting Numbers: [94, 98] Generated Node #0,1,1: 47:[94, 98] Operation: 50+48=98 Exploring Operation: 50-48=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 47:[94, 2] Operation: 50-48=2 Exploring Operation: 94-48=46, Resulting Numbers: [50, 46] Generated Node #0,1,3: 47:[50, 46] Operation: 94-48=46 Exploring Operation: 50+94=144, Resulting Numbers: [48, 144] Generated Node #0,1,4: 47:[48, 144] Operation: 50+94=144 Moving to Node #0,3 Current State: 47:[42, 50, 4], Operations: ['94-90=4'] Exploring Operation: 50+4=54, Resulting Numbers: [42, 54] Generated Node #0,3,0: 47:[42, 54] Operation: 50+4=54 Exploring Operation: 42-4=38, Resulting Numbers: [50, 38] Generated Node #0,3,1: 47:[50, 38] Operation: 42-4=38 Exploring Operation: 42+4=46, Resulting Numbers: [50, 46] Generated Node #0,3,2: 47:[50, 46] Operation: 42+4=46 Exploring Operation: 50-42=8, Resulting Numbers: [4, 8] Generated Node #0,3,3: 47:[4, 8] Operation: 50-42=8 Exploring Operation: 50-4=46, Resulting Numbers: [42, 46] Generated Node #0,3,4: 47:[42, 46] Operation: 50-4=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[50, 46], Operations: ['94-90=4', '42+4=46'] Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,47 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 47:[42, 46], Operations: ['94-90=4', '50-4=46'] Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[42, 54], Operations: ['94-90=4', '50+4=54'] Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,47 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[50, 38], Operations: ['94-90=4', '42-4=38'] Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,47 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[4, 8], Operations: ['94-90=4', '50-42=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 47:[42, 94, 40], Operations: ['90-50=40'] Exploring Operation: 42-40=2, Resulting Numbers: [94, 2] Generated Node #0,4,0: 47:[94, 2] Operation: 42-40=2 Exploring Operation: 94+40=134, Resulting Numbers: [42, 134] Generated Node #0,4,1: 47:[42, 134] Operation: 94+40=134 Exploring Operation: 94-40=54, Resulting Numbers: [42, 54] Generated Node #0,4,2: 47:[42, 54] Operation: 94-40=54 Exploring Operation: 42+40=82, Resulting Numbers: [94, 82] Generated Node #0,4,3: 47:[94, 82] Operation: 42+40=82 Exploring Operation: 94-42=52, Resulting Numbers: [40, 52] Generated Node #0,4,4: 47:[40, 52] Operation: 94-42=52 Moving to Node #0,0,1 Current State: 47:[44, 48], Operations: ['94-50=44', '90-42=48'] Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 44*48=2112, Resulting Numbers: [2112] 2112,47 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[50, 46], Operations: ['90-42=48', '94-48=46'] Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[48, 44], Operations: ['90-42=48', '94-50=44'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,47 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,47 unequal: No Solution Moving to Node #0,0,4 Current State: 47:[42, 46], Operations: ['94-50=44', '90-44=46'] Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,47 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[50, 38], Operations: ['94-42=52', '90-52=38'] Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,47 unequal: No Solution Moving to Node #0,2,0 Current State: 47:[52, 40], Operations: ['94-42=52', '90-50=40'] Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[42, 54], Operations: ['90-50=40', '94-40=54'] Exploring Operation: 42*54=2268, Resulting Numbers: [2268] 2268,47 unequal: No Solution Exploring Operation: 54-42=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 42+54=96, Resulting Numbers: [96] 96,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[40, 52], Operations: ['90-50=40', '94-42=52'] Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,47 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[90, 86], Operations: ['94-50=44', '42+44=86'] Exploring Operation: 90+86=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 90*86=7740, Resulting Numbers: [7740] 7740,47 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[94, 82], Operations: ['90-50=40', '42+40=82'] Exploring Operation: 94+82=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 94-82=12, Resulting Numbers: [12] 12,47 unequal: No Solution Exploring Operation: 94*82=7708, Resulting Numbers: [7708] 7708,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[90, 2], Operations: ['94-42=52', '52-50=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,47 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[44, 132], Operations: ['94-50=44', '90+42=132'] Exploring Operation: 132/44=3, Resulting Numbers: [3] 3,47 unequal: No Solution Exploring Operation: 44+132=176, Resulting Numbers: [176] 176,47 unequal: No Solution Exploring Operation: 132-44=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 44*132=5808, Resulting Numbers: [5808] 5808,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[90, 2], Operations: ['94-50=44', '44-42=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,47 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,47 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[94, 2], Operations: ['90-42=48', '50-48=2'] Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,47 unequal: No Solution Exploring Operation: 94+2=96, Resulting Numbers: [96] 96,47 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[90, 42, 50, 94], Operations: [] Exploring Operation: 90-42=48, Resulting Numbers: [50, 94, 48] Generated Node #0,1: 47:[50, 94, 48] Operation: 90-42=48 Moving to Node #0,1 Current State: 47:[50, 94, 48], Operations: ['90-42=48'] Exploring Operation: 50-48=2, Resulting Numbers: [94, 2] Generated Node #0,1,2: 47:[94, 2] Operation: 50-48=2 Moving to Node #0,1,2 Current State: 47:[94, 2], Operations: ['90-42=48', '50-48=2'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
0.917535
hs_5
sum_heuristic
[ 60, 29, 8, 11 ]
92
[ "60+29=89", "11-8=3", "89+3=92" ]
Current State: 92:[60, 29, 8, 11], Operations: [] Exploring Operation: 60+29=89, Resulting Numbers: [8, 11, 89] Generated Node #2: [8, 11, 89] from Operation: 60+29=89 Current State: 92:[8, 11, 89], Operations: ['60+29=89'] Exploring Operation: 11-8=3, Resulting Numbers: [89, 3] Generated Node #3: [89, 3] from Operation: 11-8=3 Current State: 92:[89, 3], Operations: ['60+29=89', '11-8=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[60, 29, 8, 11], Operations: [] Exploring Operation: 60-29=31, Resulting Numbers: [8, 11, 31] Generated Node #0,0: 92:[8, 11, 31] Operation: 60-29=31 Exploring Operation: 60-11=49, Resulting Numbers: [29, 8, 49] Generated Node #0,1: 92:[29, 8, 49] Operation: 60-11=49 Exploring Operation: 60+29=89, Resulting Numbers: [8, 11, 89] Generated Node #0,2: 92:[8, 11, 89] Operation: 60+29=89 Exploring Operation: 11-8=3, Resulting Numbers: [60, 29, 3] Generated Node #0,3: 92:[60, 29, 3] Operation: 11-8=3 Exploring Operation: 60-8=52, Resulting Numbers: [29, 11, 52] Generated Node #0,4: 92:[29, 11, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[29, 8, 49], Operations: ['60-11=49'] Exploring Operation: 8+49=57, Resulting Numbers: [29, 57] Generated Node #0,1,0: 92:[29, 57] Operation: 8+49=57 Exploring Operation: 29+8=37, Resulting Numbers: [49, 37] Generated Node #0,1,1: 92:[49, 37] Operation: 29+8=37 Exploring Operation: 49-8=41, Resulting Numbers: [29, 41] Generated Node #0,1,2: 92:[29, 41] Operation: 49-8=41 Exploring Operation: 29-8=21, Resulting Numbers: [49, 21] Generated Node #0,1,3: 92:[49, 21] Operation: 29-8=21 Exploring Operation: 49-29=20, Resulting Numbers: [8, 20] Generated Node #0,1,4: 92:[8, 20] Operation: 49-29=20 Moving to Node #0,1,3 Current State: 92:[49, 21], Operations: ['60-11=49', '29-8=21'] Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,92 unequal: No Solution Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[8, 20], Operations: ['60-11=49', '49-29=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[29, 41], Operations: ['60-11=49', '49-8=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,92 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[49, 37], Operations: ['60-11=49', '29+8=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[29, 57], Operations: ['60-11=49', '8+49=57'] Exploring Operation: 29+57=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 57-29=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 29*57=1653, Resulting Numbers: [1653] 1653,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,2 Current State: 92:[8, 11, 89], Operations: ['60+29=89'] Exploring Operation: 11+89=100, Resulting Numbers: [8, 100] Generated Node #0,2,0: 92:[8, 100] Operation: 11+89=100 Exploring Operation: 8+89=97, Resulting Numbers: [11, 97] Generated Node #0,2,1: 92:[11, 97] Operation: 8+89=97 Exploring Operation: 8*11=88, Resulting Numbers: [89, 88] Generated Node #0,2,2: 92:[89, 88] Operation: 8*11=88 Exploring Operation: 11-8=3, Resulting Numbers: [89, 3] Generated Node #0,2,3: 92:[89, 3] Operation: 11-8=3 Exploring Operation: 8+11=19, Resulting Numbers: [89, 19] Generated Node #0,2,4: 92:[89, 19] Operation: 8+11=19 Moving to Node #0,2,3 Current State: 92:[89, 3], Operations: ['60+29=89', '11-8=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,92 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,92 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[60, 29, 8, 11], Operations: [] Exploring Operation: 60+29=89, Resulting Numbers: [8, 11, 89] Generated Node #0,2: 92:[8, 11, 89] Operation: 60+29=89 Moving to Node #0,2 Current State: 92:[8, 11, 89], Operations: ['60+29=89'] Exploring Operation: 11-8=3, Resulting Numbers: [89, 3] Generated Node #0,2,3: 92:[89, 3] Operation: 11-8=3 Moving to Node #0,2,3 Current State: 92:[89, 3], Operations: ['60+29=89', '11-8=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 72, 38, 70, 54 ]
73
[ "72-70=2", "38/2=19", "54+19=73" ]
Current State: 73:[72, 38, 70, 54], Operations: [] Exploring Operation: 72-70=2, Resulting Numbers: [38, 54, 2] Generated Node #2: [38, 54, 2] from Operation: 72-70=2 Current State: 73:[38, 54, 2], Operations: ['72-70=2'] Exploring Operation: 38/2=19, Resulting Numbers: [54, 19] Generated Node #3: [54, 19] from Operation: 38/2=19 Current State: 73:[54, 19], Operations: ['72-70=2', '38/2=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[72, 38, 70, 54], Operations: [] Exploring Operation: 38+54=92, Resulting Numbers: [72, 70, 92] Generated Node #0,0: 73:[72, 70, 92] Operation: 38+54=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[72, 70, 92], Operations: ['38+54=92'] Exploring Operation: 92-70=22, Resulting Numbers: [72, 22] Generated Node #0,0,0: 73:[72, 22] Operation: 92-70=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[72, 22], Operations: ['38+54=92', '92-70=22'] Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 57, 81, 45 ]
67
[ "96*57=5472", "5472-45=5427", "5427/81=67" ]
Current State: 67:[96, 57, 81, 45], Operations: [] Exploring Operation: 96*57=5472, Resulting Numbers: [81, 45, 5472] Generated Node #2: [81, 45, 5472] from Operation: 96*57=5472 Current State: 67:[81, 45, 5472], Operations: ['96*57=5472'] Exploring Operation: 5472-45=5427, Resulting Numbers: [81, 5427] Generated Node #3: [81, 5427] from Operation: 5472-45=5427 Current State: 67:[81, 5427], Operations: ['96*57=5472', '5472-45=5427'] Exploring Operation: 5427/81=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[96, 57, 81, 45], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [96, 57, 36] Generated Node #0,0: 67:[96, 57, 36] Operation: 81-45=36 Exploring Operation: 96-57=39, Resulting Numbers: [81, 45, 39] Generated Node #0,1: 67:[81, 45, 39] Operation: 96-57=39 Exploring Operation: 57+45=102, Resulting Numbers: [96, 81, 102] Generated Node #0,2: 67:[96, 81, 102] Operation: 57+45=102 Exploring Operation: 96-81=15, Resulting Numbers: [57, 45, 15] Generated Node #0,3: 67:[57, 45, 15] Operation: 96-81=15 Exploring Operation: 96-45=51, Resulting Numbers: [57, 81, 51] Generated Node #0,4: 67:[57, 81, 51] Operation: 96-45=51 Start Sub Search at level 1: Moving to Node #0,4 Current State: 67:[57, 81, 51], Operations: ['96-45=51'] Exploring Operation: 81-51=30, Resulting Numbers: [57, 30] Generated Node #0,4,0: 67:[57, 30] Operation: 81-51=30 Exploring Operation: 57+51=108, Resulting Numbers: [81, 108] Generated Node #0,4,1: 67:[81, 108] Operation: 57+51=108 Exploring Operation: 81+51=132, Resulting Numbers: [57, 132] Generated Node #0,4,2: 67:[57, 132] Operation: 81+51=132 Exploring Operation: 57-51=6, Resulting Numbers: [81, 6] Generated Node #0,4,3: 67:[81, 6] Operation: 57-51=6 Exploring Operation: 81-57=24, Resulting Numbers: [51, 24] Generated Node #0,4,4: 67:[51, 24] Operation: 81-57=24 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 67:[57, 30], Operations: ['96-45=51', '81-51=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 67:[81, 108], Operations: ['96-45=51', '57+51=108'] Exploring Operation: 108-81=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 81*108=8748, Resulting Numbers: [8748] 8748,67 unequal: No Solution Exploring Operation: 81+108=189, Resulting Numbers: [189] 189,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 67:[51, 24], Operations: ['96-45=51', '81-57=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 67:[57, 132], Operations: ['96-45=51', '81+51=132'] Exploring Operation: 57*132=7524, Resulting Numbers: [7524] 7524,67 unequal: No Solution Exploring Operation: 57+132=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 132-57=75, Resulting Numbers: [75] 75,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 67:[81, 6], Operations: ['96-45=51', '57-51=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,67 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: 67:[81, 45, 39], Operations: ['96-57=39'] Exploring Operation: 81+39=120, Resulting Numbers: [45, 120] Generated Node #0,1,0: 67:[45, 120] Operation: 81+39=120 Exploring Operation: 45+39=84, Resulting Numbers: [81, 84] Generated Node #0,1,1: 67:[81, 84] Operation: 45+39=84 Exploring Operation: 81-45=36, Resulting Numbers: [39, 36] Generated Node #0,1,2: 67:[39, 36] Operation: 81-45=36 Exploring Operation: 81-39=42, Resulting Numbers: [45, 42] Generated Node #0,1,3: 67:[45, 42] Operation: 81-39=42 Exploring Operation: 45-39=6, Resulting Numbers: [81, 6] Generated Node #0,1,4: 67:[81, 6] Operation: 45-39=6 Moving to Node #0,1,1 Current State: 67:[81, 84], Operations: ['96-57=39', '45+39=84'] Exploring Operation: 81+84=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 81*84=6804, Resulting Numbers: [6804] 6804,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[45, 42], Operations: ['96-57=39', '81-39=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,67 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[39, 36], Operations: ['96-57=39', '81-45=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[45, 120], Operations: ['96-57=39', '81+39=120'] Exploring Operation: 120-45=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 45+120=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 45*120=5400, Resulting Numbers: [5400] 5400,67 unequal: No Solution Moving to Node #0,1,4 Current State: 67:[81, 6], Operations: ['96-57=39', '45-39=6'] Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,67 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[96, 57, 36], Operations: ['81-45=36'] Exploring Operation: 57+36=93, Resulting Numbers: [96, 93] Generated Node #0,0,0: 67:[96, 93] Operation: 57+36=93 Exploring Operation: 96-57=39, Resulting Numbers: [36, 39] Generated Node #0,0,1: 67:[36, 39] Operation: 96-57=39 Exploring Operation: 96+36=132, Resulting Numbers: [57, 132] Generated Node #0,0,2: 67:[57, 132] Operation: 96+36=132 Exploring Operation: 96-36=60, Resulting Numbers: [57, 60] Generated Node #0,0,3: 67:[57, 60] Operation: 96-36=60 Exploring Operation: 57-36=21, Resulting Numbers: [96, 21] Generated Node #0,0,4: 67:[96, 21] Operation: 57-36=21 Moving to Node #0,0,3 Current State: 67:[57, 60], Operations: ['81-45=36', '96-36=60'] Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 57*60=3420, Resulting Numbers: [3420] 3420,67 unequal: No Solution Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[96, 93], Operations: ['81-45=36', '57+36=93'] Exploring Operation: 96+93=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 96*93=8928, Resulting Numbers: [8928] 8928,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[36, 39], Operations: ['81-45=36', '96-57=39'] Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[57, 132], Operations: ['81-45=36', '96+36=132'] Exploring Operation: 57+132=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 132-57=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 57*132=7524, Resulting Numbers: [7524] 7524,67 unequal: No Solution Moving to Node #0,0,4 Current State: 67:[96, 21], Operations: ['81-45=36', '57-36=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[96, 81, 102], Operations: ['57+45=102'] Exploring Operation: 96-81=15, Resulting Numbers: [102, 15] Generated Node #0,2,0: 67:[102, 15] Operation: 96-81=15 Exploring Operation: 96+102=198, Resulting Numbers: [81, 198] Generated Node #0,2,1: 67:[81, 198] Operation: 96+102=198 Exploring Operation: 96+81=177, Resulting Numbers: [102, 177] Generated Node #0,2,2: 67:[102, 177] Operation: 96+81=177 Exploring Operation: 102-96=6, Resulting Numbers: [81, 6] Generated Node #0,2,3: 67:[81, 6] Operation: 102-96=6 Exploring Operation: 102-81=21, Resulting Numbers: [96, 21] Generated Node #0,2,4: 67:[96, 21] Operation: 102-81=21 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[81, 6], Operations: ['57+45=102', '102-96=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,67 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 67:[96, 21], Operations: ['57+45=102', '102-81=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,67 unequal: No Solution Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[102, 15], Operations: ['57+45=102', '96-81=15'] Exploring Operation: 102+15=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 102*15=1530, Resulting Numbers: [1530] 1530,67 unequal: No Solution Exploring Operation: 102-15=87, Resulting Numbers: [87] 87,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[81, 198], Operations: ['57+45=102', '96+102=198'] Exploring Operation: 81+198=279, Resulting Numbers: [279] 279,67 unequal: No Solution Exploring Operation: 198-81=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 81*198=16038, Resulting Numbers: [16038] 16038,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[102, 177], Operations: ['57+45=102', '96+81=177'] Exploring Operation: 102*177=18054, Resulting Numbers: [18054] 18054,67 unequal: No Solution Exploring Operation: 177-102=75, Resulting Numbers: [75] 75,67 unequal: No Solution Exploring Operation: 102+177=279, Resulting Numbers: [279] 279,67 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: 67:[57, 45, 15], Operations: ['96-81=15'] Exploring Operation: 57+15=72, Resulting Numbers: [45, 72] Generated Node #0,3,0: 67:[45, 72] Operation: 57+15=72 Exploring Operation: 45-15=30, Resulting Numbers: [57, 30] Generated Node #0,3,1: 67:[57, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [57, 3] Generated Node #0,3,2: 67:[57, 3] Operation: 45/15=3 Exploring Operation: 45+15=60, Resulting Numbers: [57, 60] Generated Node #0,3,3: 67:[57, 60] Operation: 45+15=60 Exploring Operation: 57-15=42, Resulting Numbers: [45, 42] Generated Node #0,3,4: 67:[45, 42] Operation: 57-15=42 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[57, 60], Operations: ['96-81=15', '45+15=60'] Exploring Operation: 60-57=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 57+60=117, Resulting Numbers: [117] 117,67 unequal: No Solution Exploring Operation: 57*60=3420, Resulting Numbers: [3420] 3420,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[45, 72], Operations: ['96-81=15', '57+15=72'] Exploring Operation: 72-45=27, Resulting Numbers: [27] 27,67 unequal: No Solution Exploring Operation: 45*72=3240, Resulting Numbers: [3240] 3240,67 unequal: No Solution Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[57, 30], Operations: ['96-81=15', '45-15=30'] Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,67 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 67:[45, 42], Operations: ['96-81=15', '57-15=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,67 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[57, 3], Operations: ['96-81=15', '45/15=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,67 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,67 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 78, 51, 46, 87 ]
81
[ "51+87=138", "138/46=3", "78+3=81" ]
Current State: 81:[78, 51, 46, 87], Operations: [] Exploring Operation: 51+87=138, Resulting Numbers: [78, 46, 138] Generated Node #2: [78, 46, 138] from Operation: 51+87=138 Current State: 81:[78, 46, 138], Operations: ['51+87=138'] Exploring Operation: 138/46=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 138/46=3 Current State: 81:[78, 3], Operations: ['51+87=138', '138/46=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[78, 51, 46, 87], Operations: [] Exploring Operation: 51+46=97, Resulting Numbers: [78, 87, 97] Generated Node #0,0: 81:[78, 87, 97] Operation: 51+46=97 Exploring Operation: 51-46=5, Resulting Numbers: [78, 87, 5] Generated Node #0,1: 81:[78, 87, 5] Operation: 51-46=5 Exploring Operation: 78-51=27, Resulting Numbers: [46, 87, 27] Generated Node #0,2: 81:[46, 87, 27] Operation: 78-51=27 Moving to Node #0,1 Current State: 81:[78, 87, 5], Operations: ['51-46=5'] Exploring Operation: 87-5=82, Resulting Numbers: [78, 82] Generated Node #0,1,0: 81:[78, 82] Operation: 87-5=82 Exploring Operation: 87-78=9, Resulting Numbers: [5, 9] Generated Node #0,1,1: 81:[5, 9] Operation: 87-78=9 Exploring Operation: 78+5=83, Resulting Numbers: [87, 83] Generated Node #0,1,2: 81:[87, 83] Operation: 78+5=83 Moving to Node #0,0 Current State: 81:[78, 87, 97], Operations: ['51+46=97'] Exploring Operation: 87-78=9, Resulting Numbers: [97, 9] Generated Node #0,0,0: 81:[97, 9] Operation: 87-78=9 Exploring Operation: 97-78=19, Resulting Numbers: [87, 19] Generated Node #0,0,1: 81:[87, 19] Operation: 97-78=19 Exploring Operation: 97-87=10, Resulting Numbers: [78, 10] Generated Node #0,0,2: 81:[78, 10] Operation: 97-87=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[78, 10], Operations: ['51+46=97', '97-87=10'] Exploring Operation: 78*10=780, Resulting Numbers: [780] 780,81 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 78+10=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,1 Current State: 81:[87, 19], Operations: ['51+46=97', '97-78=19'] Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,81 unequal: No Solution Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,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:[97, 9], Operations: ['51+46=97', '87-78=9'] Exploring Operation: 97+9=106, Resulting Numbers: [106] 106,81 unequal: No Solution Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 97*9=873, Resulting Numbers: [873] 873,81 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: 81:[46, 87, 27], Operations: ['78-51=27'] Exploring Operation: 46+27=73, Resulting Numbers: [87, 73] Generated Node #0,2,0: 81:[87, 73] Operation: 46+27=73 Exploring Operation: 87-46=41, Resulting Numbers: [27, 41] Generated Node #0,2,1: 81:[27, 41] Operation: 87-46=41 Exploring Operation: 46-27=19, Resulting Numbers: [87, 19] Generated Node #0,2,2: 81:[87, 19] Operation: 46-27=19 Moving to Node #0,1,1 Current State: 81:[5, 9], Operations: ['51-46=5', '87-78=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[78, 82], Operations: ['51-46=5', '87-5=82'] Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,81 unequal: No Solution Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,81 unequal: No Solution Moving to Node #0,1,2 Current State: 81:[87, 83], Operations: ['51-46=5', '78+5=83'] Exploring Operation: 87*83=7221, Resulting Numbers: [7221] 7221,81 unequal: No Solution Exploring Operation: 87-83=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 87+83=170, Resulting Numbers: [170] 170,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[87, 19], Operations: ['78-51=27', '46-27=19'] Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,81 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,81 unequal: No Solution Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[27, 41], Operations: ['78-51=27', '87-46=41'] Exploring Operation: 27*41=1107, Resulting Numbers: [1107] 1107,81 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 27+41=68, Resulting Numbers: [68] 68,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[87, 73], Operations: ['78-51=27', '46+27=73'] Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,81 unequal: No Solution Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,81 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,81 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 64, 28, 57, 5 ]
81
[ "28+57=85", "85/5=17", "64+17=81" ]
Current State: 81:[64, 28, 57, 5], Operations: [] Exploring Operation: 28+57=85, Resulting Numbers: [64, 5, 85] Generated Node #2: [64, 5, 85] from Operation: 28+57=85 Current State: 81:[64, 5, 85], Operations: ['28+57=85'] Exploring Operation: 85/5=17, Resulting Numbers: [64, 17] Generated Node #3: [64, 17] from Operation: 85/5=17 Current State: 81:[64, 17], Operations: ['28+57=85', '85/5=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[64, 28, 57, 5], Operations: [] Exploring Operation: 28+57=85, Resulting Numbers: [64, 5, 85] Generated Node #0,0: 81:[64, 5, 85] Operation: 28+57=85 Exploring Operation: 64-57=7, Resulting Numbers: [28, 5, 7] Generated Node #0,1: 81:[28, 5, 7] Operation: 64-57=7 Exploring Operation: 64-28=36, Resulting Numbers: [57, 5, 36] Generated Node #0,2: 81:[57, 5, 36] Operation: 64-28=36 Exploring Operation: 57-28=29, Resulting Numbers: [64, 5, 29] Generated Node #0,3: 81:[64, 5, 29] Operation: 57-28=29 Moving to Node #0,1 Current State: 81:[28, 5, 7], Operations: ['64-57=7'] Exploring Operation: 28-5=23, Resulting Numbers: [7, 23] Generated Node #0,1,0: 81:[7, 23] Operation: 28-5=23 Exploring Operation: 28/7=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 81:[5, 4] Operation: 28/7=4 Exploring Operation: 5+7=12, Resulting Numbers: [28, 12] Generated Node #0,1,2: 81:[28, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [28, 2] Generated Node #0,1,3: 81:[28, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[28, 2], Operations: ['64-57=7', '7-5=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,81 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,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,1,1 Current State: 81:[5, 4], Operations: ['64-57=7', '28/7=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,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,1,2 Current State: 81:[28, 12], Operations: ['64-57=7', '5+7=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 28*12=336, Resulting Numbers: [336] 336,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,1,0 Current State: 81:[7, 23], Operations: ['64-57=7', '28-5=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,81 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,81 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: 81:[64, 5, 29], Operations: ['57-28=29'] Exploring Operation: 64-29=35, Resulting Numbers: [5, 35] Generated Node #0,3,0: 81:[5, 35] Operation: 64-29=35 Exploring Operation: 64+29=93, Resulting Numbers: [5, 93] Generated Node #0,3,1: 81:[5, 93] Operation: 64+29=93 Exploring Operation: 29-5=24, Resulting Numbers: [64, 24] Generated Node #0,3,2: 81:[64, 24] Operation: 29-5=24 Exploring Operation: 64+5=69, Resulting Numbers: [29, 69] Generated Node #0,3,3: 81:[29, 69] Operation: 64+5=69 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[5, 35], Operations: ['57-28=29', '64-29=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,81 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[5, 93], Operations: ['57-28=29', '64+29=93'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,81 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[29, 69], Operations: ['57-28=29', '64+5=69'] Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,81 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,81 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[64, 24], Operations: ['57-28=29', '29-5=24'] Exploring Operation: 64+24=88, Resulting Numbers: [88] 88,81 unequal: No Solution Exploring Operation: 64*24=1536, Resulting Numbers: [1536] 1536,81 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,81 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: 81:[64, 5, 85], Operations: ['28+57=85'] Exploring Operation: 64+5=69, Resulting Numbers: [85, 69] Generated Node #0,0,0: 81:[85, 69] Operation: 64+5=69 Exploring Operation: 85/5=17, Resulting Numbers: [64, 17] Generated Node #0,0,1: 81:[64, 17] Operation: 85/5=17 Exploring Operation: 85-64=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 81:[5, 21] Operation: 85-64=21 Exploring Operation: 85-5=80, Resulting Numbers: [64, 80] Generated Node #0,0,3: 81:[64, 80] Operation: 85-5=80 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[5, 21], Operations: ['28+57=85', '85-64=21'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,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:[85, 69], Operations: ['28+57=85', '64+5=69'] Exploring Operation: 85-69=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 85*69=5865, Resulting Numbers: [5865] 5865,81 unequal: No Solution Exploring Operation: 85+69=154, Resulting Numbers: [154] 154,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 81:[64, 80], Operations: ['28+57=85', '85-5=80'] Exploring Operation: 64*80=5120, Resulting Numbers: [5120] 5120,81 unequal: No Solution Exploring Operation: 64+80=144, Resulting Numbers: [144] 144,81 unequal: No Solution Exploring Operation: 80-64=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[64, 17], Operations: ['28+57=85', '85/5=17'] Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,81 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[64, 28, 57, 5], Operations: [] Exploring Operation: 28+57=85, Resulting Numbers: [64, 5, 85] Generated Node #0,0: 81:[64, 5, 85] Operation: 28+57=85 Moving to Node #0,0 Current State: 81:[64, 5, 85], Operations: ['28+57=85'] Exploring Operation: 85/5=17, Resulting Numbers: [64, 17] Generated Node #0,0,1: 81:[64, 17] Operation: 85/5=17 Moving to Node #0,0,1 Current State: 81:[64, 17], Operations: ['28+57=85', '85/5=17'] Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_4
sum_heuristic
[ 56, 84, 70, 8 ]
90
[ "84-56=28", "70-8=62", "28+62=90" ]
Current State: 90:[56, 84, 70, 8], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [70, 8, 28] Generated Node #2: [70, 8, 28] from Operation: 84-56=28 Current State: 90:[70, 8, 28], Operations: ['84-56=28'] Exploring Operation: 70-8=62, Resulting Numbers: [28, 62] Generated Node #3: [28, 62] from Operation: 70-8=62 Current State: 90:[28, 62], Operations: ['84-56=28', '70-8=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[56, 84, 70, 8], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [84, 8, 14] Generated Node #0,0: 90:[84, 8, 14] Operation: 70-56=14 Exploring Operation: 84-70=14, Resulting Numbers: [56, 8, 14] Generated Node #0,1: 90:[56, 8, 14] Operation: 84-70=14 Moving to Node #0,0 Current State: 90:[84, 8, 14], Operations: ['70-56=14'] Exploring Operation: 84+8=92, Resulting Numbers: [14, 92] Generated Node #0,0,0: 90:[14, 92] Operation: 84+8=92 Exploring Operation: 84/14=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 90:[8, 6] Operation: 84/14=6 Moving to Node #0,1 Current State: 90:[56, 8, 14], Operations: ['84-70=14'] Exploring Operation: 56/8=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 90:[14, 7] Operation: 56/8=7 Exploring Operation: 56/14=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 90:[8, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[14, 7], Operations: ['84-70=14', '56/8=7'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,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, 4], Operations: ['84-70=14', '56/14=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 90:[8, 6], Operations: ['70-56=14', '84/14=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[14, 92], Operations: ['70-56=14', '84+8=92'] Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,90 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 53, 61, 75, 6 ]
100
[ "61-53=8", "75*8=600", "600/6=100" ]
Current State: 100:[53, 61, 75, 6], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [75, 6, 8] Generated Node #2: [75, 6, 8] from Operation: 61-53=8 Current State: 100:[75, 6, 8], Operations: ['61-53=8'] Exploring Operation: 75*8=600, Resulting Numbers: [6, 600] Generated Node #3: [6, 600] from Operation: 75*8=600 Current State: 100:[6, 600], Operations: ['61-53=8', '75*8=600'] Exploring Operation: 600/6=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[53, 61, 75, 6], Operations: [] Exploring Operation: 75-53=22, Resulting Numbers: [61, 6, 22] Generated Node #0,0: 100:[61, 6, 22] Operation: 75-53=22 Exploring Operation: 75-61=14, Resulting Numbers: [53, 6, 14] Generated Node #0,1: 100:[53, 6, 14] Operation: 75-61=14 Moving to Node #0,1 Current State: 100:[53, 6, 14], Operations: ['75-61=14'] Exploring Operation: 6+14=20, Resulting Numbers: [53, 20] Generated Node #0,1,0: 100:[53, 20] Operation: 6+14=20 Exploring Operation: 14-6=8, Resulting Numbers: [53, 8] Generated Node #0,1,1: 100:[53, 8] Operation: 14-6=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[53, 20], Operations: ['75-61=14', '6+14=20'] Exploring Operation: 53+20=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[53, 8], Operations: ['75-61=14', '14-6=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,100 unequal: No Solution Exploring Operation: 53+8=61, Resulting Numbers: [61] 61,100 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: 100:[61, 6, 22], Operations: ['75-53=22'] Exploring Operation: 61-22=39, Resulting Numbers: [6, 39] Generated Node #0,0,0: 100:[6, 39] Operation: 61-22=39 Exploring Operation: 61-6=55, Resulting Numbers: [22, 55] Generated Node #0,0,1: 100:[22, 55] Operation: 61-6=55 Moving to Node #0,0,1 Current State: 100:[22, 55], Operations: ['75-53=22', '61-6=55'] Exploring Operation: 22+55=77, Resulting Numbers: [77] 77,100 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[6, 39], Operations: ['75-53=22', '61-22=39'] Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,100 unequal: No Solution Exploring Operation: 6+39=45, Resulting Numbers: [45] 45,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 98, 96, 62 ]
37
[ "98-96=2", "62*2=124", "124-87=37" ]
Current State: 37:[87, 98, 96, 62], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [87, 62, 2] Generated Node #2: [87, 62, 2] from Operation: 98-96=2 Current State: 37:[87, 62, 2], Operations: ['98-96=2'] Exploring Operation: 62*2=124, Resulting Numbers: [87, 124] Generated Node #3: [87, 124] from Operation: 62*2=124 Current State: 37:[87, 124], Operations: ['98-96=2', '62*2=124'] Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[87, 98, 96, 62], Operations: [] Exploring Operation: 98-87=11, Resulting Numbers: [96, 62, 11] Generated Node #0,0: 37:[96, 62, 11] Operation: 98-87=11 Moving to Node #0,0 Current State: 37:[96, 62, 11], Operations: ['98-87=11'] Exploring Operation: 96-62=34, Resulting Numbers: [11, 34] Generated Node #0,0,0: 37:[11, 34] Operation: 96-62=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[11, 34], Operations: ['98-87=11', '96-62=34'] Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 58, 76, 80, 3 ]
59
[ "76-58=18", "80-3=77", "77-18=59" ]
Current State: 59:[58, 76, 80, 3], Operations: [] Exploring Operation: 76-58=18, Resulting Numbers: [80, 3, 18] Generated Node #2: [80, 3, 18] from Operation: 76-58=18 Current State: 59:[80, 3, 18], Operations: ['76-58=18'] Exploring Operation: 80-3=77, Resulting Numbers: [18, 77] Generated Node #3: [18, 77] from Operation: 80-3=77 Current State: 59:[18, 77], Operations: ['76-58=18', '80-3=77'] Exploring Operation: 77-18=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[58, 76, 80, 3], Operations: [] Exploring Operation: 58-3=55, Resulting Numbers: [76, 80, 55] Generated Node #0,0: 59:[76, 80, 55] Operation: 58-3=55 Exploring Operation: 76-3=73, Resulting Numbers: [58, 80, 73] Generated Node #0,1: 59:[58, 80, 73] Operation: 76-3=73 Exploring Operation: 58+3=61, Resulting Numbers: [76, 80, 61] Generated Node #0,2: 59:[76, 80, 61] Operation: 58+3=61 Exploring Operation: 80-3=77, Resulting Numbers: [58, 76, 77] Generated Node #0,3: 59:[58, 76, 77] Operation: 80-3=77 Moving to Node #0,1 Current State: 59:[58, 80, 73], Operations: ['76-3=73'] Exploring Operation: 58+80=138, Resulting Numbers: [73, 138] Generated Node #0,1,0: 59:[73, 138] Operation: 58+80=138 Exploring Operation: 80-73=7, Resulting Numbers: [58, 7] Generated Node #0,1,1: 59:[58, 7] Operation: 80-73=7 Exploring Operation: 73-58=15, Resulting Numbers: [80, 15] Generated Node #0,1,2: 59:[80, 15] Operation: 73-58=15 Exploring Operation: 80-58=22, Resulting Numbers: [73, 22] Generated Node #0,1,3: 59:[73, 22] Operation: 80-58=22 Moving to Node #0,3 Current State: 59:[58, 76, 77], Operations: ['80-3=77'] Exploring Operation: 77-76=1, Resulting Numbers: [58, 1] Generated Node #0,3,0: 59:[58, 1] Operation: 77-76=1 Exploring Operation: 77-58=19, Resulting Numbers: [76, 19] Generated Node #0,3,1: 59:[76, 19] Operation: 77-58=19 Exploring Operation: 76-58=18, Resulting Numbers: [77, 18] Generated Node #0,3,2: 59:[77, 18] Operation: 76-58=18 Exploring Operation: 58+76=134, Resulting Numbers: [77, 134] Generated Node #0,3,3: 59:[77, 134] Operation: 58+76=134 Moving to Node #0,2 Current State: 59:[76, 80, 61], Operations: ['58+3=61'] Exploring Operation: 76-61=15, Resulting Numbers: [80, 15] Generated Node #0,2,0: 59:[80, 15] Operation: 76-61=15 Exploring Operation: 76+80=156, Resulting Numbers: [61, 156] Generated Node #0,2,1: 59:[61, 156] Operation: 76+80=156 Exploring Operation: 80-76=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 59:[61, 4] Operation: 80-76=4 Exploring Operation: 80-61=19, Resulting Numbers: [76, 19] Generated Node #0,2,3: 59:[76, 19] Operation: 80-61=19 Moving to Node #0,0 Current State: 59:[76, 80, 55], Operations: ['58-3=55'] Exploring Operation: 80-55=25, Resulting Numbers: [76, 25] Generated Node #0,0,0: 59:[76, 25] Operation: 80-55=25 Exploring Operation: 76-55=21, Resulting Numbers: [80, 21] Generated Node #0,0,1: 59:[80, 21] Operation: 76-55=21 Exploring Operation: 76+55=131, Resulting Numbers: [80, 131] Generated Node #0,0,2: 59:[80, 131] Operation: 76+55=131 Exploring Operation: 80-76=4, Resulting Numbers: [55, 4] Generated Node #0,0,3: 59:[55, 4] Operation: 80-76=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[76, 25], Operations: ['58-3=55', '80-55=25'] Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,59 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,59 unequal: No Solution Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[80, 21], Operations: ['58-3=55', '76-55=21'] Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[58, 76, 80, 3], Operations: [] Exploring Operation: 58-3=55, Resulting Numbers: [76, 80, 55] Generated Node #0,0: 59:[76, 80, 55] Operation: 58-3=55 Moving to Node #0,0 Current State: 59:[76, 80, 55], Operations: ['58-3=55'] Exploring Operation: 76-55=21, Resulting Numbers: [80, 21] Generated Node #0,0,1: 59:[80, 21] Operation: 76-55=21 Moving to Node #0,0,1 Current State: 59:[80, 21], Operations: ['58-3=55', '76-55=21'] Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_4
mult_heuristic
[ 11, 55, 50, 81 ]
14
[ "81-11=70", "55-50=5", "70/5=14" ]
Current State: 14:[11, 55, 50, 81], Operations: [] Exploring Operation: 81-11=70, Resulting Numbers: [55, 50, 70] Generated Node #2: [55, 50, 70] from Operation: 81-11=70 Current State: 14:[55, 50, 70], Operations: ['81-11=70'] Exploring Operation: 55-50=5, Resulting Numbers: [70, 5] Generated Node #3: [70, 5] from Operation: 55-50=5 Current State: 14:[70, 5], Operations: ['81-11=70', '55-50=5'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[11, 55, 50, 81], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [11, 55, 31] Generated Node #0,0: 14:[11, 55, 31] Operation: 81-50=31 Exploring Operation: 55-50=5, Resulting Numbers: [11, 81, 5] Generated Node #0,1: 14:[11, 81, 5] Operation: 55-50=5 Exploring Operation: 81-55=26, Resulting Numbers: [11, 50, 26] Generated Node #0,2: 14:[11, 50, 26] Operation: 81-55=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[11, 50, 26], Operations: ['81-55=26'] Exploring Operation: 26-11=15, Resulting Numbers: [50, 15] Generated Node #0,2,0: 14:[50, 15] Operation: 26-11=15 Exploring Operation: 50-11=39, Resulting Numbers: [26, 39] Generated Node #0,2,1: 14:[26, 39] Operation: 50-11=39 Exploring Operation: 50-26=24, Resulting Numbers: [11, 24] Generated Node #0,2,2: 14:[11, 24] Operation: 50-26=24 Moving to Node #0,2,2 Current State: 14:[11, 24], Operations: ['81-55=26', '50-26=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,14 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[50, 15], Operations: ['81-55=26', '26-11=15'] Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 50*15=750, Resulting Numbers: [750] 750,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[26, 39], Operations: ['81-55=26', '50-11=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,14 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[11, 55, 31], Operations: ['81-50=31'] Exploring Operation: 55-11=44, Resulting Numbers: [31, 44] Generated Node #0,0,0: 14:[31, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [31, 5] Generated Node #0,0,1: 14:[31, 5] Operation: 55/11=5 Exploring Operation: 55-31=24, Resulting Numbers: [11, 24] Generated Node #0,0,2: 14:[11, 24] Operation: 55-31=24 Moving to Node #0,0,2 Current State: 14:[11, 24], Operations: ['81-50=31', '55-31=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[31, 5], Operations: ['81-50=31', '55/11=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[31, 44], Operations: ['81-50=31', '55-11=44'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 31+44=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 31*44=1364, Resulting Numbers: [1364] 1364,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[11, 81, 5], Operations: ['55-50=5'] Exploring Operation: 81-5=76, Resulting Numbers: [11, 76] Generated Node #0,1,0: 14:[11, 76] Operation: 81-5=76 Exploring Operation: 11-5=6, Resulting Numbers: [81, 6] Generated Node #0,1,1: 14:[81, 6] Operation: 11-5=6 Exploring Operation: 81-11=70, Resulting Numbers: [5, 70] Generated Node #0,1,2: 14:[5, 70] Operation: 81-11=70 Moving to Node #0,1,2 Current State: 14:[5, 70], Operations: ['55-50=5', '81-11=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,14 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[11, 55, 50, 81], Operations: [] Exploring Operation: 55-50=5, Resulting Numbers: [11, 81, 5] Generated Node #0,1: 14:[11, 81, 5] Operation: 55-50=5 Moving to Node #0,1 Current State: 14:[11, 81, 5], Operations: ['55-50=5'] Exploring Operation: 81-11=70, Resulting Numbers: [5, 70] Generated Node #0,1,2: 14:[5, 70] Operation: 81-11=70 Moving to Node #0,1,2 Current State: 14:[5, 70], Operations: ['55-50=5', '81-11=70'] Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_3
mult_heuristic
[ 19, 23, 61, 14 ]
25
[ "23+61=84", "84/14=6", "19+6=25" ]
Current State: 25:[19, 23, 61, 14], Operations: [] Exploring Operation: 23+61=84, Resulting Numbers: [19, 14, 84] Generated Node #2: [19, 14, 84] from Operation: 23+61=84 Current State: 25:[19, 14, 84], Operations: ['23+61=84'] Exploring Operation: 84/14=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 84/14=6 Current State: 25:[19, 6], Operations: ['23+61=84', '84/14=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[19, 23, 61, 14], Operations: [] Exploring Operation: 61-19=42, Resulting Numbers: [23, 14, 42] Generated Node #0,0: 25:[23, 14, 42] Operation: 61-19=42 Exploring Operation: 19-14=5, Resulting Numbers: [23, 61, 5] Generated Node #0,1: 25:[23, 61, 5] Operation: 19-14=5 Exploring Operation: 61-23=38, Resulting Numbers: [19, 14, 38] Generated Node #0,2: 25:[19, 14, 38] Operation: 61-23=38 Exploring Operation: 61-14=47, Resulting Numbers: [19, 23, 47] Generated Node #0,3: 25:[19, 23, 47] Operation: 61-14=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[23, 14, 42], Operations: ['61-19=42'] Exploring Operation: 42-23=19, Resulting Numbers: [14, 19] Generated Node #0,0,0: 25:[14, 19] Operation: 42-23=19 Exploring Operation: 23-14=9, Resulting Numbers: [42, 9] Generated Node #0,0,1: 25:[42, 9] Operation: 23-14=9 Exploring Operation: 42/14=3, Resulting Numbers: [23, 3] Generated Node #0,0,2: 25:[23, 3] Operation: 42/14=3 Exploring Operation: 42-14=28, Resulting Numbers: [23, 28] Generated Node #0,0,3: 25:[23, 28] Operation: 42-14=28 Moving to Node #0,0,2 Current State: 25:[23, 3], Operations: ['61-19=42', '42/14=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,25 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[23, 28], Operations: ['61-19=42', '42-14=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[14, 19], Operations: ['61-19=42', '42-23=19'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[42, 9], Operations: ['61-19=42', '23-14=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,25 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[19, 14, 38], Operations: ['61-23=38'] Exploring Operation: 38-19=19, Resulting Numbers: [14, 19] Generated Node #0,2,0: 25:[14, 19] Operation: 38-19=19 Exploring Operation: 38/19=2, Resulting Numbers: [14, 2] Generated Node #0,2,1: 25:[14, 2] Operation: 38/19=2 Exploring Operation: 19-14=5, Resulting Numbers: [38, 5] Generated Node #0,2,2: 25:[38, 5] Operation: 19-14=5 Exploring Operation: 38-14=24, Resulting Numbers: [19, 24] Generated Node #0,2,3: 25:[19, 24] Operation: 38-14=24 Moving to Node #0,2,3 Current State: 25:[19, 24], Operations: ['61-23=38', '38-14=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,25 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[14, 2], Operations: ['61-23=38', '38/19=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,25 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[38, 5], Operations: ['61-23=38', '19-14=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,25 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[14, 19], Operations: ['61-23=38', '38-19=19'] Exploring Operation: 14+19=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 14*19=266, Resulting Numbers: [266] 266,25 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[19, 23, 47], Operations: ['61-14=47'] Exploring Operation: 19+23=42, Resulting Numbers: [47, 42] Generated Node #0,3,0: 25:[47, 42] Operation: 19+23=42 Exploring Operation: 47-19=28, Resulting Numbers: [23, 28] Generated Node #0,3,1: 25:[23, 28] Operation: 47-19=28 Exploring Operation: 23-19=4, Resulting Numbers: [47, 4] Generated Node #0,3,2: 25:[47, 4] Operation: 23-19=4 Exploring Operation: 47-23=24, Resulting Numbers: [19, 24] Generated Node #0,3,3: 25:[19, 24] Operation: 47-23=24 Moving to Node #0,3,1 Current State: 25:[23, 28], Operations: ['61-14=47', '47-19=28'] Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,25 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[19, 24], Operations: ['61-14=47', '47-23=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[47, 4], Operations: ['61-14=47', '23-19=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[47, 42], Operations: ['61-14=47', '19+23=42'] Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,25 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[23, 61, 5], Operations: ['19-14=5'] Exploring Operation: 61-23=38, Resulting Numbers: [5, 38] Generated Node #0,1,0: 25:[5, 38] Operation: 61-23=38 Exploring Operation: 61-5=56, Resulting Numbers: [23, 56] Generated Node #0,1,1: 25:[23, 56] Operation: 61-5=56 Exploring Operation: 23-5=18, Resulting Numbers: [61, 18] Generated Node #0,1,2: 25:[61, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [61, 28] Generated Node #0,1,3: 25:[61, 28] Operation: 23+5=28 Moving to Node #0,1,0 Current State: 25:[5, 38], Operations: ['19-14=5', '61-23=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[23, 56], Operations: ['19-14=5', '61-5=56'] Exploring Operation: 23+56=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 23*56=1288, Resulting Numbers: [1288] 1288,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[61, 28], Operations: ['19-14=5', '23+5=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,25 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,25 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[61, 18], Operations: ['19-14=5', '23-5=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,25 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 44, 73, 50, 38 ]
65
[ "44*73=3212", "38+3212=3250", "3250/50=65" ]
Current State: 65:[44, 73, 50, 38], Operations: [] Exploring Operation: 44*73=3212, Resulting Numbers: [50, 38, 3212] Generated Node #2: [50, 38, 3212] from Operation: 44*73=3212 Current State: 65:[50, 38, 3212], Operations: ['44*73=3212'] Exploring Operation: 38+3212=3250, Resulting Numbers: [50, 3250] Generated Node #3: [50, 3250] from Operation: 38+3212=3250 Current State: 65:[50, 3250], Operations: ['44*73=3212', '38+3212=3250'] Exploring Operation: 3250/50=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[44, 73, 50, 38], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [73, 50, 6] Generated Node #0,0: 65:[73, 50, 6] Operation: 44-38=6 Moving to Node #0,0 Current State: 65:[73, 50, 6], Operations: ['44-38=6'] Exploring Operation: 73-50=23, Resulting Numbers: [6, 23] Generated Node #0,0,0: 65:[6, 23] Operation: 73-50=23 Moving to Node #0,0,0 Current State: 65:[6, 23], Operations: ['44-38=6', '73-50=23'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 21, 49, 56, 72 ]
74
[ "49-21=28", "56/28=2", "72+2=74" ]
Current State: 74:[21, 49, 56, 72], Operations: [] Exploring Operation: 49-21=28, Resulting Numbers: [56, 72, 28] Generated Node #2: [56, 72, 28] from Operation: 49-21=28 Current State: 74:[56, 72, 28], Operations: ['49-21=28'] Exploring Operation: 56/28=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 56/28=2 Current State: 74:[72, 2], Operations: ['49-21=28', '56/28=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[21, 49, 56, 72], Operations: [] Exploring Operation: 56-21=35, Resulting Numbers: [49, 72, 35] Generated Node #0,0: 74:[49, 72, 35] Operation: 56-21=35 Moving to Node #0,0 Current State: 74:[49, 72, 35], Operations: ['56-21=35'] Exploring Operation: 49+35=84, Resulting Numbers: [72, 84] Generated Node #0,0,0: 74:[72, 84] Operation: 49+35=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[72, 84], Operations: ['56-21=35', '49+35=84'] Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,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
sum_heuristic
[ 36, 79, 40, 24 ]
21
[ "79-36=43", "40+24=64", "64-43=21" ]
Current State: 21:[36, 79, 40, 24], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [40, 24, 43] Generated Node #2: [40, 24, 43] from Operation: 79-36=43 Current State: 21:[40, 24, 43], Operations: ['79-36=43'] Exploring Operation: 40+24=64, Resulting Numbers: [43, 64] Generated Node #3: [43, 64] from Operation: 40+24=64 Current State: 21:[43, 64], Operations: ['79-36=43', '40+24=64'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[36, 79, 40, 24], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [36, 24, 39] Generated Node #0,0: 21:[36, 24, 39] Operation: 79-40=39 Exploring Operation: 79-24=55, Resulting Numbers: [36, 40, 55] Generated Node #0,1: 21:[36, 40, 55] Operation: 79-24=55 Exploring Operation: 79-36=43, Resulting Numbers: [40, 24, 43] Generated Node #0,2: 21:[40, 24, 43] Operation: 79-36=43 Exploring Operation: 40-36=4, Resulting Numbers: [79, 24, 4] Generated Node #0,3: 21:[79, 24, 4] Operation: 40-36=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[36, 24, 39], Operations: ['79-40=39'] Exploring Operation: 36+24=60, Resulting Numbers: [39, 60] Generated Node #0,0,0: 21:[39, 60] Operation: 36+24=60 Exploring Operation: 39-36=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 21:[24, 3] Operation: 39-36=3 Exploring Operation: 36-24=12, Resulting Numbers: [39, 12] Generated Node #0,0,2: 21:[39, 12] Operation: 36-24=12 Exploring Operation: 39-24=15, Resulting Numbers: [36, 15] Generated Node #0,0,3: 21:[36, 15] Operation: 39-24=15 Moving to Node #0,0,1 Current State: 21:[24, 3], Operations: ['79-40=39', '39-36=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,21 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[36, 79, 40, 24], Operations: [] Exploring Operation: 79-40=39, Resulting Numbers: [36, 24, 39] Generated Node #0,0: 21:[36, 24, 39] Operation: 79-40=39 Moving to Node #0,0 Current State: 21:[36, 24, 39], Operations: ['79-40=39'] Exploring Operation: 39-36=3, Resulting Numbers: [24, 3] Generated Node #0,0,1: 21:[24, 3] Operation: 39-36=3 Moving to Node #0,0,1 Current State: 21:[24, 3], Operations: ['79-40=39', '39-36=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 58, 92, 31, 3 ]
62
[ "92-58=34", "31-3=28", "34+28=62" ]
Current State: 62:[58, 92, 31, 3], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [31, 3, 34] Generated Node #2: [31, 3, 34] from Operation: 92-58=34 Current State: 62:[31, 3, 34], Operations: ['92-58=34'] Exploring Operation: 31-3=28, Resulting Numbers: [34, 28] Generated Node #3: [34, 28] from Operation: 31-3=28 Current State: 62:[34, 28], Operations: ['92-58=34', '31-3=28'] Exploring Operation: 34+28=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[58, 92, 31, 3], Operations: [] Exploring Operation: 92-3=89, Resulting Numbers: [58, 31, 89] Generated Node #0,0: 62:[58, 31, 89] Operation: 92-3=89 Exploring Operation: 92-31=61, Resulting Numbers: [58, 3, 61] Generated Node #0,1: 62:[58, 3, 61] Operation: 92-31=61 Exploring Operation: 92-58=34, Resulting Numbers: [31, 3, 34] Generated Node #0,2: 62:[31, 3, 34] Operation: 92-58=34 Exploring Operation: 58-31=27, Resulting Numbers: [92, 3, 27] Generated Node #0,3: 62:[92, 3, 27] Operation: 58-31=27 Exploring Operation: 58+3=61, Resulting Numbers: [92, 31, 61] Generated Node #0,4: 62:[92, 31, 61] Operation: 58+3=61 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[31, 3, 34], Operations: ['92-58=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31, 31] Generated Node #0,2,0: 62:[31, 31] Operation: 34-3=31 Exploring Operation: 31+34=65, Resulting Numbers: [3, 65] Generated Node #0,2,1: 62:[3, 65] Operation: 31+34=65 Exploring Operation: 31+3=34, Resulting Numbers: [34, 34] Generated Node #0,2,2: 62:[34, 34] Operation: 31+3=34 Exploring Operation: 34-31=3, Resulting Numbers: [3, 3] Generated Node #0,2,3: 62:[3, 3] Operation: 34-31=3 Exploring Operation: 31-3=28, Resulting Numbers: [34, 28] Generated Node #0,2,4: 62:[34, 28] Operation: 31-3=28 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[31, 31], Operations: ['92-58=34', '34-3=31'] Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,62 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[58, 92, 31, 3], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [31, 3, 34] Generated Node #0,2: 62:[31, 3, 34] Operation: 92-58=34 Moving to Node #0,2 Current State: 62:[31, 3, 34], Operations: ['92-58=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31, 31] Generated Node #0,2,0: 62:[31, 31] Operation: 34-3=31 Moving to Node #0,2,0 Current State: 62:[31, 31], Operations: ['92-58=34', '34-3=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 56, 72, 10, 3 ]
90
[ "56+10=66", "72/3=24", "66+24=90" ]
Current State: 90:[56, 72, 10, 3], Operations: [] Exploring Operation: 56+10=66, Resulting Numbers: [72, 3, 66] Generated Node #2: [72, 3, 66] from Operation: 56+10=66 Current State: 90:[72, 3, 66], Operations: ['56+10=66'] Exploring Operation: 72/3=24, Resulting Numbers: [66, 24] Generated Node #3: [66, 24] from Operation: 72/3=24 Current State: 90:[66, 24], Operations: ['56+10=66', '72/3=24'] Exploring Operation: 66+24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[56, 72, 10, 3], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [56, 10, 24] Generated Node #0,0: 90:[56, 10, 24] Operation: 72/3=24 Exploring Operation: 72-56=16, Resulting Numbers: [10, 3, 16] Generated Node #0,1: 90:[10, 3, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[10, 3, 16], Operations: ['72-56=16'] Exploring Operation: 16-10=6, Resulting Numbers: [3, 6] Generated Node #0,1,0: 90:[3, 6] Operation: 16-10=6 Exploring Operation: 10*3=30, Resulting Numbers: [16, 30] Generated Node #0,1,1: 90:[16, 30] Operation: 10*3=30 Moving to Node #0,1,0 Current State: 90:[3, 6], Operations: ['72-56=16', '16-10=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[16, 30], Operations: ['72-56=16', '10*3=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[56, 10, 24], Operations: ['72/3=24'] Exploring Operation: 56-10=46, Resulting Numbers: [24, 46] Generated Node #0,0,0: 90:[24, 46] Operation: 56-10=46 Exploring Operation: 56-24=32, Resulting Numbers: [10, 32] Generated Node #0,0,1: 90:[10, 32] Operation: 56-24=32 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[10, 32], Operations: ['72/3=24', '56-24=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[24, 46], Operations: ['72/3=24', '56-10=46'] Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 41, 9, 70, 17 ]
42
[ "41+70=111", "9*17=153", "153-111=42" ]
Current State: 42:[41, 9, 70, 17], Operations: [] Exploring Operation: 41+70=111, Resulting Numbers: [9, 17, 111] Generated Node #2: [9, 17, 111] from Operation: 41+70=111 Current State: 42:[9, 17, 111], Operations: ['41+70=111'] Exploring Operation: 9*17=153, Resulting Numbers: [111, 153] Generated Node #3: [111, 153] from Operation: 9*17=153 Current State: 42:[111, 153], Operations: ['41+70=111', '9*17=153'] Exploring Operation: 153-111=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[41, 9, 70, 17], Operations: [] Exploring Operation: 70-41=29, Resulting Numbers: [9, 17, 29] Generated Node #0,0: 42:[9, 17, 29] Operation: 70-41=29 Moving to Node #0,0 Current State: 42:[9, 17, 29], Operations: ['70-41=29'] Exploring Operation: 29-9=20, Resulting Numbers: [17, 20] Generated Node #0,0,0: 42:[17, 20] Operation: 29-9=20 Moving to Node #0,0,0 Current State: 42:[17, 20], Operations: ['70-41=29', '29-9=20'] Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 68, 78, 15, 19 ]
11
[ "68+78=146", "19+146=165", "165/15=11" ]
Current State: 11:[68, 78, 15, 19], Operations: [] Exploring Operation: 68+78=146, Resulting Numbers: [15, 19, 146] Generated Node #2: [15, 19, 146] from Operation: 68+78=146 Current State: 11:[15, 19, 146], Operations: ['68+78=146'] Exploring Operation: 19+146=165, Resulting Numbers: [15, 165] Generated Node #3: [15, 165] from Operation: 19+146=165 Current State: 11:[15, 165], Operations: ['68+78=146', '19+146=165'] Exploring Operation: 165/15=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[68, 78, 15, 19], Operations: [] Exploring Operation: 78-15=63, Resulting Numbers: [68, 19, 63] Generated Node #0,0: 11:[68, 19, 63] Operation: 78-15=63 Exploring Operation: 78-19=59, Resulting Numbers: [68, 15, 59] Generated Node #0,1: 11:[68, 15, 59] Operation: 78-19=59 Exploring Operation: 68-15=53, Resulting Numbers: [78, 19, 53] Generated Node #0,2: 11:[78, 19, 53] Operation: 68-15=53 Exploring Operation: 68-19=49, Resulting Numbers: [78, 15, 49] Generated Node #0,3: 11:[78, 15, 49] Operation: 68-19=49 Exploring Operation: 78-68=10, Resulting Numbers: [15, 19, 10] Generated Node #0,4: 11:[15, 19, 10] Operation: 78-68=10 Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[15, 19, 10], Operations: ['78-68=10'] Exploring Operation: 19-15=4, Resulting Numbers: [10, 4] Generated Node #0,4,0: 11:[10, 4] Operation: 19-15=4 Exploring Operation: 15-10=5, Resulting Numbers: [19, 5] Generated Node #0,4,1: 11:[19, 5] Operation: 15-10=5 Exploring Operation: 15+10=25, Resulting Numbers: [19, 25] Generated Node #0,4,2: 11:[19, 25] Operation: 15+10=25 Exploring Operation: 19-10=9, Resulting Numbers: [15, 9] Generated Node #0,4,3: 11:[15, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [15, 29] Generated Node #0,4,4: 11:[15, 29] Operation: 19+10=29 Moving to Node #0,4,3 Current State: 11:[15, 9], Operations: ['78-68=10', '19-10=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[10, 4], Operations: ['78-68=10', '19-15=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[19, 5], Operations: ['78-68=10', '15-10=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,11 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,4,2 Current State: 11:[19, 25], Operations: ['78-68=10', '15+10=25'] Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,11 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[15, 29], Operations: ['78-68=10', '19+10=29'] Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,11 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[68, 15, 59], Operations: ['78-19=59'] Exploring Operation: 59-15=44, Resulting Numbers: [68, 44] Generated Node #0,1,0: 11:[68, 44] Operation: 59-15=44 Exploring Operation: 68-59=9, Resulting Numbers: [15, 9] Generated Node #0,1,1: 11:[15, 9] Operation: 68-59=9 Exploring Operation: 68+59=127, Resulting Numbers: [15, 127] Generated Node #0,1,2: 11:[15, 127] Operation: 68+59=127 Exploring Operation: 68+15=83, Resulting Numbers: [59, 83] Generated Node #0,1,3: 11:[59, 83] Operation: 68+15=83 Exploring Operation: 68-15=53, Resulting Numbers: [59, 53] Generated Node #0,1,4: 11:[59, 53] Operation: 68-15=53 Moving to Node #0,1,1 Current State: 11:[15, 9], Operations: ['78-19=59', '68-59=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,11 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,1,4 Current State: 11:[59, 53], Operations: ['78-19=59', '68-15=53'] Exploring Operation: 59+53=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 59*53=3127, Resulting Numbers: [3127] 3127,11 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[68, 44], Operations: ['78-19=59', '59-15=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,11 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[15, 127], Operations: ['78-19=59', '68+59=127'] Exploring Operation: 15*127=1905, Resulting Numbers: [1905] 1905,11 unequal: No Solution Exploring Operation: 15+127=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 127-15=112, Resulting Numbers: [112] 112,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[59, 83], Operations: ['78-19=59', '68+15=83'] Exploring Operation: 83-59=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 59+83=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 59*83=4897, Resulting Numbers: [4897] 4897,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[78, 15, 49], Operations: ['68-19=49'] Exploring Operation: 78+15=93, Resulting Numbers: [49, 93] Generated Node #0,3,0: 11:[49, 93] Operation: 78+15=93 Exploring Operation: 78+49=127, Resulting Numbers: [15, 127] Generated Node #0,3,1: 11:[15, 127] Operation: 78+49=127 Exploring Operation: 49-15=34, Resulting Numbers: [78, 34] Generated Node #0,3,2: 11:[78, 34] Operation: 49-15=34 Exploring Operation: 78-15=63, Resulting Numbers: [49, 63] Generated Node #0,3,3: 11:[49, 63] Operation: 78-15=63 Exploring Operation: 78-49=29, Resulting Numbers: [15, 29] Generated Node #0,3,4: 11:[15, 29] Operation: 78-49=29 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 11:[15, 29], Operations: ['68-19=49', '78-49=29'] Exploring Operation: 15+29=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 15*29=435, Resulting Numbers: [435] 435,11 unequal: No Solution No 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: 11:[78, 34], Operations: ['68-19=49', '49-15=34'] Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,11 unequal: No Solution Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,11 unequal: No Solution No 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: 11:[49, 63], Operations: ['68-19=49', '78-15=63'] Exploring Operation: 49*63=3087, Resulting Numbers: [3087] 3087,11 unequal: No Solution Exploring Operation: 49+63=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,11 unequal: No Solution No 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: 11:[49, 93], Operations: ['68-19=49', '78+15=93'] Exploring Operation: 49+93=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 49*93=4557, Resulting Numbers: [4557] 4557,11 unequal: No Solution Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,11 unequal: No Solution No 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: 11:[15, 127], Operations: ['68-19=49', '78+49=127'] Exploring Operation: 15+127=142, Resulting Numbers: [142] 142,11 unequal: No Solution Exploring Operation: 127-15=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 15*127=1905, Resulting Numbers: [1905] 1905,11 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: 11:[68, 19, 63], Operations: ['78-15=63'] Exploring Operation: 63-19=44, Resulting Numbers: [68, 44] Generated Node #0,0,0: 11:[68, 44] Operation: 63-19=44 Exploring Operation: 68+63=131, Resulting Numbers: [19, 131] Generated Node #0,0,1: 11:[19, 131] Operation: 68+63=131 Exploring Operation: 68-19=49, Resulting Numbers: [63, 49] Generated Node #0,0,2: 11:[63, 49] Operation: 68-19=49 Exploring Operation: 68-63=5, Resulting Numbers: [19, 5] Generated Node #0,0,3: 11:[19, 5] Operation: 68-63=5 Exploring Operation: 68+19=87, Resulting Numbers: [63, 87] Generated Node #0,0,4: 11:[63, 87] Operation: 68+19=87 Moving to Node #0,0,3 Current State: 11:[19, 5], Operations: ['78-15=63', '68-63=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[63, 49], Operations: ['78-15=63', '68-19=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[68, 44], Operations: ['78-15=63', '63-19=44'] Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[19, 131], Operations: ['78-15=63', '68+63=131'] Exploring Operation: 19+131=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 19*131=2489, Resulting Numbers: [2489] 2489,11 unequal: No Solution Exploring Operation: 131-19=112, Resulting Numbers: [112] 112,11 unequal: No Solution Moving to Node #0,0,4 Current State: 11:[63, 87], Operations: ['78-15=63', '68+19=87'] Exploring Operation: 63*87=5481, Resulting Numbers: [5481] 5481,11 unequal: No Solution Exploring Operation: 87-63=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 63+87=150, Resulting Numbers: [150] 150,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[78, 19, 53], Operations: ['68-15=53'] Exploring Operation: 78+53=131, Resulting Numbers: [19, 131] Generated Node #0,2,0: 11:[19, 131] Operation: 78+53=131 Exploring Operation: 53-19=34, Resulting Numbers: [78, 34] Generated Node #0,2,1: 11:[78, 34] Operation: 53-19=34 Exploring Operation: 78-53=25, Resulting Numbers: [19, 25] Generated Node #0,2,2: 11:[19, 25] Operation: 78-53=25 Exploring Operation: 78-19=59, Resulting Numbers: [53, 59] Generated Node #0,2,3: 11:[53, 59] Operation: 78-19=59 Exploring Operation: 78+19=97, Resulting Numbers: [53, 97] Generated Node #0,2,4: 11:[53, 97] Operation: 78+19=97 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[19, 25], Operations: ['68-15=53', '78-53=25'] Exploring Operation: 19*25=475, Resulting Numbers: [475] 475,11 unequal: No Solution Exploring Operation: 19+25=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 25-19=6, Resulting Numbers: [6] 6,11 unequal: No Solution No 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: 11:[78, 34], Operations: ['68-15=53', '53-19=34'] Exploring Operation: 78*34=2652, Resulting Numbers: [2652] 2652,11 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 78+34=112, Resulting Numbers: [112] 112,11 unequal: No Solution No 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: 11:[53, 59], Operations: ['68-15=53', '78-19=59'] Exploring Operation: 53*59=3127, Resulting Numbers: [3127] 3127,11 unequal: No Solution Exploring Operation: 53+59=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,11 unequal: No Solution No 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: 11:[19, 131], Operations: ['68-15=53', '78+53=131'] Exploring Operation: 131-19=112, Resulting Numbers: [112] 112,11 unequal: No Solution Exploring Operation: 19+131=150, Resulting Numbers: [150] 150,11 unequal: No Solution Exploring Operation: 19*131=2489, Resulting Numbers: [2489] 2489,11 unequal: No Solution No 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: 11:[53, 97], Operations: ['68-15=53', '78+19=97'] Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,11 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,11 unequal: No Solution Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 77, 81, 13, 85 ]
16
[ "77-13=64", "85-81=4", "64/4=16" ]
Current State: 16:[77, 81, 13, 85], Operations: [] Exploring Operation: 77-13=64, Resulting Numbers: [81, 85, 64] Generated Node #2: [81, 85, 64] from Operation: 77-13=64 Current State: 16:[81, 85, 64], Operations: ['77-13=64'] Exploring Operation: 85-81=4, Resulting Numbers: [64, 4] Generated Node #3: [64, 4] from Operation: 85-81=4 Current State: 16:[64, 4], Operations: ['77-13=64', '85-81=4'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[77, 81, 13, 85], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [77, 13, 4] Generated Node #0,0: 16:[77, 13, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[77, 13, 4], Operations: ['85-81=4'] Exploring Operation: 77-13=64, Resulting Numbers: [4, 64] Generated Node #0,0,0: 16:[4, 64] Operation: 77-13=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[4, 64], Operations: ['85-81=4', '77-13=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[77, 81, 13, 85], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [77, 13, 4] Generated Node #0,0: 16:[77, 13, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 16:[77, 13, 4], Operations: ['85-81=4'] Exploring Operation: 77-13=64, Resulting Numbers: [4, 64] Generated Node #0,0,0: 16:[4, 64] Operation: 77-13=64 Moving to Node #0,0,0 Current State: 16:[4, 64], Operations: ['85-81=4', '77-13=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 81, 50, 33 ]
11
[ "81-28=53", "53-50=3", "33/3=11" ]
Current State: 11:[28, 81, 50, 33], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [50, 33, 53] Generated Node #2: [50, 33, 53] from Operation: 81-28=53 Current State: 11:[50, 33, 53], Operations: ['81-28=53'] Exploring Operation: 53-50=3, Resulting Numbers: [33, 3] Generated Node #3: [33, 3] from Operation: 53-50=3 Current State: 11:[33, 3], Operations: ['81-28=53', '53-50=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[28, 81, 50, 33], Operations: [] Exploring Operation: 81-28=53, Resulting Numbers: [50, 33, 53] Generated Node #0,0: 11:[50, 33, 53] Operation: 81-28=53 Exploring Operation: 81-33=48, Resulting Numbers: [28, 50, 48] Generated Node #0,1: 11:[28, 50, 48] Operation: 81-33=48 Exploring Operation: 50-33=17, Resulting Numbers: [28, 81, 17] Generated Node #0,2: 11:[28, 81, 17] Operation: 50-33=17 Exploring Operation: 81-50=31, Resulting Numbers: [28, 33, 31] Generated Node #0,3: 11:[28, 33, 31] Operation: 81-50=31 Moving to Node #0,3 Current State: 11:[28, 33, 31], Operations: ['81-50=31'] Exploring Operation: 33-31=2, Resulting Numbers: [28, 2] Generated Node #0,3,0: 11:[28, 2] Operation: 33-31=2 Exploring Operation: 31-28=3, Resulting Numbers: [33, 3] Generated Node #0,3,1: 11:[33, 3] Operation: 31-28=3 Exploring Operation: 28+33=61, Resulting Numbers: [31, 61] Generated Node #0,3,2: 11:[31, 61] Operation: 28+33=61 Exploring Operation: 33-28=5, Resulting Numbers: [31, 5] Generated Node #0,3,3: 11:[31, 5] Operation: 33-28=5 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[28, 2], Operations: ['81-50=31', '33-31=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,11 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,11 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[31, 5], Operations: ['81-50=31', '33-28=5'] Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,11 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[33, 3], Operations: ['81-50=31', '31-28=3'] Exploring Operation: 33*3=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[28, 81, 50, 33], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [28, 33, 31] Generated Node #0,3: 11:[28, 33, 31] Operation: 81-50=31 Moving to Node #0,3 Current State: 11:[28, 33, 31], Operations: ['81-50=31'] Exploring Operation: 31-28=3, Resulting Numbers: [33, 3] Generated Node #0,3,1: 11:[33, 3] Operation: 31-28=3 Moving to Node #0,3,1 Current State: 11:[33, 3], Operations: ['81-50=31', '31-28=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 96, 28, 72, 86 ]
34
[ "96+28=124", "72+86=158", "158-124=34" ]
Current State: 34:[96, 28, 72, 86], Operations: [] Exploring Operation: 96+28=124, Resulting Numbers: [72, 86, 124] Generated Node #2: [72, 86, 124] from Operation: 96+28=124 Current State: 34:[72, 86, 124], Operations: ['96+28=124'] Exploring Operation: 72+86=158, Resulting Numbers: [124, 158] Generated Node #3: [124, 158] from Operation: 72+86=158 Current State: 34:[124, 158], Operations: ['96+28=124', '72+86=158'] Exploring Operation: 158-124=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[96, 28, 72, 86], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [96, 28, 14] Generated Node #0,0: 34:[96, 28, 14] Operation: 86-72=14 Exploring Operation: 96-28=68, Resulting Numbers: [72, 86, 68] Generated Node #0,1: 34:[72, 86, 68] Operation: 96-28=68 Exploring Operation: 72-28=44, Resulting Numbers: [96, 86, 44] Generated Node #0,2: 34:[96, 86, 44] Operation: 72-28=44 Exploring Operation: 96-86=10, Resulting Numbers: [28, 72, 10] Generated Node #0,3: 34:[28, 72, 10] Operation: 96-86=10 Exploring Operation: 96-72=24, Resulting Numbers: [28, 86, 24] Generated Node #0,4: 34:[28, 86, 24] Operation: 96-72=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[28, 72, 10], Operations: ['96-86=10'] Exploring Operation: 72-10=62, Resulting Numbers: [28, 62] Generated Node #0,3,0: 34:[28, 62] Operation: 72-10=62 Exploring Operation: 72+10=82, Resulting Numbers: [28, 82] Generated Node #0,3,1: 34:[28, 82] Operation: 72+10=82 Exploring Operation: 72-28=44, Resulting Numbers: [10, 44] Generated Node #0,3,2: 34:[10, 44] Operation: 72-28=44 Exploring Operation: 28+10=38, Resulting Numbers: [72, 38] Generated Node #0,3,3: 34:[72, 38] Operation: 28+10=38 Exploring Operation: 28-10=18, Resulting Numbers: [72, 18] Generated Node #0,3,4: 34:[72, 18] Operation: 28-10=18 Moving to Node #0,3,2 Current State: 34:[10, 44], Operations: ['96-86=10', '72-28=44'] Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,34 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[96, 28, 72, 86], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [28, 72, 10] Generated Node #0,3: 34:[28, 72, 10] Operation: 96-86=10 Moving to Node #0,3 Current State: 34:[28, 72, 10], Operations: ['96-86=10'] Exploring Operation: 72-28=44, Resulting Numbers: [10, 44] Generated Node #0,3,2: 34:[10, 44] Operation: 72-28=44 Moving to Node #0,3,2 Current State: 34:[10, 44], Operations: ['96-86=10', '72-28=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 92, 17, 17, 96 ]
68
[ "92*17=1564", "17*96=1632", "1632-1564=68" ]
Current State: 68:[92, 17, 17, 96], Operations: [] Exploring Operation: 92*17=1564, Resulting Numbers: [96, 1564] Generated Node #2: [96, 1564] from Operation: 92*17=1564 Current State: 68:[96, 1564], Operations: ['92*17=1564'] Exploring Operation: 17*96=1632, Resulting Numbers: [1564, 1632] Generated Node #3: [1564, 1632] from Operation: 17*96=1632 Current State: 68:[1564, 1632], Operations: ['92*17=1564', '17*96=1632'] Exploring Operation: 1632-1564=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[92, 17, 17, 96], Operations: [] Exploring Operation: 96-17=79, Resulting Numbers: [92, 17, 79] Generated Node #0,0: 68:[92, 17, 79] Operation: 96-17=79 Exploring Operation: 92-17=75, Resulting Numbers: [17, 96, 75] Generated Node #0,1: 68:[17, 96, 75] Operation: 92-17=75 Exploring Operation: 96-17=79, Resulting Numbers: [92, 17, 79] Generated Node #0,2: 68:[92, 17, 79] Operation: 96-17=79 Exploring Operation: 96-92=4, Resulting Numbers: [17, 17, 4] Generated Node #0,3: 68:[17, 17, 4] Operation: 96-92=4 Exploring Operation: 92-17=75, Resulting Numbers: [17, 96, 75] Generated Node #0,4: 68:[17, 96, 75] Operation: 92-17=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[17, 17, 4], Operations: ['96-92=4'] Exploring Operation: 17+17=34, Resulting Numbers: [4, 34] Generated Node #0,3,0: 68:[4, 34] Operation: 17+17=34 Exploring Operation: 17*4=68, Resulting Numbers: [17, 68] Generated Node #0,3,1: 68:[17, 68] Operation: 17*4=68 Exploring Operation: 17/17=1, Resulting Numbers: [4, 1] Generated Node #0,3,2: 68:[4, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [4, 0] Generated Node #0,3,3: 68:[4, 0] Operation: 17-17=0 Exploring Operation: 17*4=68, Resulting Numbers: [17, 68] Generated Node #0,3,4: 68:[17, 68] Operation: 17*4=68 Moving to Node #0,3,0 Current State: 68:[4, 34], Operations: ['96-92=4', '17+17=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[17, 68], Operations: ['96-92=4', '17*4=68'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 17*68=1156, Resulting Numbers: [1156] 1156,68 unequal: No Solution Exploring Operation: 17+68=85, Resulting Numbers: [85] 85,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[17, 68], Operations: ['96-92=4', '17*4=68'] Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 17*68=1156, Resulting Numbers: [1156] 1156,68 unequal: No Solution Exploring Operation: 17+68=85, Resulting Numbers: [85] 85,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[4, 1], Operations: ['96-92=4', '17/17=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[4, 0], Operations: ['96-92=4', '17-17=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[92, 17, 79], Operations: ['96-17=79'] Exploring Operation: 92-79=13, Resulting Numbers: [17, 13] Generated Node #0,0,0: 68:[17, 13] Operation: 92-79=13 Exploring Operation: 79-17=62, Resulting Numbers: [92, 62] Generated Node #0,0,1: 68:[92, 62] Operation: 79-17=62 Exploring Operation: 17+79=96, Resulting Numbers: [92, 96] Generated Node #0,0,2: 68:[92, 96] Operation: 17+79=96 Exploring Operation: 92-17=75, Resulting Numbers: [79, 75] Generated Node #0,0,3: 68:[79, 75] Operation: 92-17=75 Exploring Operation: 92+17=109, Resulting Numbers: [79, 109] Generated Node #0,0,4: 68:[79, 109] Operation: 92+17=109 Moving to Node #0,0,0 Current State: 68:[17, 13], Operations: ['96-17=79', '92-79=13'] Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,68 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[79, 75], Operations: ['96-17=79', '92-17=75'] Exploring Operation: 79*75=5925, Resulting Numbers: [5925] 5925,68 unequal: No Solution Exploring Operation: 79+75=154, Resulting Numbers: [154] 154,68 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[92, 62], Operations: ['96-17=79', '79-17=62'] Exploring Operation: 92+62=154, Resulting Numbers: [154] 154,68 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 92*62=5704, Resulting Numbers: [5704] 5704,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[92, 96], Operations: ['96-17=79', '17+79=96'] Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,68 unequal: No Solution Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[79, 109], Operations: ['96-17=79', '92+17=109'] Exploring Operation: 109-79=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 79+109=188, Resulting Numbers: [188] 188,68 unequal: No Solution Exploring Operation: 79*109=8611, Resulting Numbers: [8611] 8611,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[17, 96, 75], Operations: ['92-17=75'] Exploring Operation: 17+96=113, Resulting Numbers: [75, 113] Generated Node #0,1,0: 68:[75, 113] Operation: 17+96=113 Exploring Operation: 17+75=92, Resulting Numbers: [96, 92] Generated Node #0,1,1: 68:[96, 92] Operation: 17+75=92 Exploring Operation: 75-17=58, Resulting Numbers: [96, 58] Generated Node #0,1,2: 68:[96, 58] Operation: 75-17=58 Exploring Operation: 96-17=79, Resulting Numbers: [75, 79] Generated Node #0,1,3: 68:[75, 79] Operation: 96-17=79 Exploring Operation: 96-75=21, Resulting Numbers: [17, 21] Generated Node #0,1,4: 68:[17, 21] Operation: 96-75=21 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 68:[17, 21], Operations: ['92-17=75', '96-75=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,68 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,68 unequal: No Solution No 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: 68:[75, 79], Operations: ['92-17=75', '96-17=79'] Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,68 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,68 unequal: No Solution No 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: 68:[96, 58], Operations: ['92-17=75', '75-17=58'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,68 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,68 unequal: No Solution No 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: 68:[75, 113], Operations: ['92-17=75', '17+96=113'] Exploring Operation: 113-75=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 75*113=8475, Resulting Numbers: [8475] 8475,68 unequal: No Solution Exploring Operation: 75+113=188, Resulting Numbers: [188] 188,68 unequal: No Solution No 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: 68:[96, 92], Operations: ['92-17=75', '17+75=92'] Exploring Operation: 96+92=188, Resulting Numbers: [188] 188,68 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 96*92=8832, Resulting Numbers: [8832] 8832,68 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: 68:[92, 17, 79], Operations: ['96-17=79'] Exploring Operation: 92-79=13, Resulting Numbers: [17, 13] Generated Node #0,2,0: 68:[17, 13] Operation: 92-79=13 Exploring Operation: 92-17=75, Resulting Numbers: [79, 75] Generated Node #0,2,1: 68:[79, 75] Operation: 92-17=75 Exploring Operation: 79-17=62, Resulting Numbers: [92, 62] Generated Node #0,2,2: 68:[92, 62] Operation: 79-17=62 Exploring Operation: 17+79=96, Resulting Numbers: [92, 96] Generated Node #0,2,3: 68:[92, 96] Operation: 17+79=96 Exploring Operation: 92+17=109, Resulting Numbers: [79, 109] Generated Node #0,2,4: 68:[79, 109] Operation: 92+17=109 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[17, 13], Operations: ['96-17=79', '92-79=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,68 unequal: No Solution No 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: 68:[79, 75], Operations: ['96-17=79', '92-17=75'] Exploring Operation: 79*75=5925, Resulting Numbers: [5925] 5925,68 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 79+75=154, Resulting Numbers: [154] 154,68 unequal: No Solution No 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: 68:[92, 62], Operations: ['96-17=79', '79-17=62'] Exploring Operation: 92+62=154, Resulting Numbers: [154] 154,68 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 92*62=5704, Resulting Numbers: [5704] 5704,68 unequal: No Solution No 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: 68:[92, 96], Operations: ['96-17=79', '17+79=96'] Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 92*96=8832, Resulting Numbers: [8832] 8832,68 unequal: No Solution Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,68 unequal: No Solution No 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: 68:[79, 109], Operations: ['96-17=79', '92+17=109'] Exploring Operation: 79*109=8611, Resulting Numbers: [8611] 8611,68 unequal: No Solution Exploring Operation: 79+109=188, Resulting Numbers: [188] 188,68 unequal: No Solution Exploring Operation: 109-79=30, Resulting Numbers: [30] 30,68 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: 68:[17, 96, 75], Operations: ['92-17=75'] Exploring Operation: 17+96=113, Resulting Numbers: [75, 113] Generated Node #0,4,0: 68:[75, 113] Operation: 17+96=113 Exploring Operation: 96-75=21, Resulting Numbers: [17, 21] Generated Node #0,4,1: 68:[17, 21] Operation: 96-75=21 Exploring Operation: 96-17=79, Resulting Numbers: [75, 79] Generated Node #0,4,2: 68:[75, 79] Operation: 96-17=79 Exploring Operation: 17+75=92, Resulting Numbers: [96, 92] Generated Node #0,4,3: 68:[96, 92] Operation: 17+75=92 Exploring Operation: 75-17=58, Resulting Numbers: [96, 58] Generated Node #0,4,4: 68:[96, 58] Operation: 75-17=58 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 68:[17, 21], Operations: ['92-17=75', '96-75=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,68 unequal: No Solution No 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: 68:[75, 79], Operations: ['92-17=75', '96-17=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,68 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,68 unequal: No Solution No 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: 68:[96, 58], Operations: ['92-17=75', '75-17=58'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,68 unequal: No Solution Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 68:[75, 113], Operations: ['92-17=75', '17+96=113'] Exploring Operation: 75*113=8475, Resulting Numbers: [8475] 8475,68 unequal: No Solution Exploring Operation: 113-75=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 75+113=188, Resulting Numbers: [188] 188,68 unequal: No Solution No 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: 68:[96, 92], Operations: ['92-17=75', '17+75=92'] Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,68 unequal: No Solution Exploring Operation: 96+92=188, Resulting Numbers: [188] 188,68 unequal: No Solution Exploring Operation: 96*92=8832, Resulting Numbers: [8832] 8832,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 18, 58, 27, 67 ]
18
[ "18+58=76", "27+67=94", "94-76=18" ]
Current State: 18:[18, 58, 27, 67], Operations: [] Exploring Operation: 18+58=76, Resulting Numbers: [27, 67, 76] Generated Node #2: [27, 67, 76] from Operation: 18+58=76 Current State: 18:[27, 67, 76], Operations: ['18+58=76'] Exploring Operation: 27+67=94, Resulting Numbers: [76, 94] Generated Node #3: [76, 94] from Operation: 27+67=94 Current State: 18:[76, 94], Operations: ['18+58=76', '27+67=94'] Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[18, 58, 27, 67], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [18, 27, 9] Generated Node #0,0: 18:[18, 27, 9] Operation: 67-58=9 Exploring Operation: 58-27=31, Resulting Numbers: [18, 67, 31] Generated Node #0,1: 18:[18, 67, 31] Operation: 58-27=31 Exploring Operation: 67-27=40, Resulting Numbers: [18, 58, 40] Generated Node #0,2: 18:[18, 58, 40] Operation: 67-27=40 Exploring Operation: 58-18=40, Resulting Numbers: [27, 67, 40] Generated Node #0,3: 18:[27, 67, 40] Operation: 58-18=40 Moving to Node #0,0 Current State: 18:[18, 27, 9], Operations: ['67-58=9'] Exploring Operation: 27/9=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 18:[18, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [18, 18] Generated Node #0,0,1: 18:[18, 18] Operation: 27-9=18 Exploring Operation: 18-9=9, Resulting Numbers: [27, 9] Generated Node #0,0,2: 18:[27, 9] Operation: 18-9=9 Exploring Operation: 27-18=9, Resulting Numbers: [9, 9] Generated Node #0,0,3: 18:[9, 9] Operation: 27-18=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[18, 3], Operations: ['67-58=9', '27/9=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,18 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[18, 18], Operations: ['67-58=9', '27-9=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,18 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 18:[9, 9], Operations: ['67-58=9', '27-18=9'] Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,18 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[18, 58, 27, 67], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [18, 27, 9] Generated Node #0,0: 18:[18, 27, 9] Operation: 67-58=9 Moving to Node #0,0 Current State: 18:[18, 27, 9], Operations: ['67-58=9'] Exploring Operation: 27-18=9, Resulting Numbers: [9, 9] Generated Node #0,0,3: 18:[9, 9] Operation: 27-18=9 Moving to Node #0,0,3 Current State: 18:[9, 9], Operations: ['67-58=9', '27-18=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 71, 94, 98, 48 ]
73
[ "94-71=23", "98-48=50", "23+50=73" ]
Current State: 73:[71, 94, 98, 48], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [98, 48, 23] Generated Node #2: [98, 48, 23] from Operation: 94-71=23 Current State: 73:[98, 48, 23], Operations: ['94-71=23'] Exploring Operation: 98-48=50, Resulting Numbers: [23, 50] Generated Node #3: [23, 50] from Operation: 98-48=50 Current State: 73:[23, 50], Operations: ['94-71=23', '98-48=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[71, 94, 98, 48], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [71, 94, 50] Generated Node #0,0: 73:[71, 94, 50] Operation: 98-48=50 Exploring Operation: 98-71=27, Resulting Numbers: [94, 48, 27] Generated Node #0,1: 73:[94, 48, 27] Operation: 98-71=27 Exploring Operation: 94-48=46, Resulting Numbers: [71, 98, 46] Generated Node #0,2: 73:[71, 98, 46] Operation: 94-48=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[71, 94, 50], Operations: ['98-48=50'] Exploring Operation: 94-71=23, Resulting Numbers: [50, 23] Generated Node #0,0,0: 73:[50, 23] Operation: 94-71=23 Exploring Operation: 71+50=121, Resulting Numbers: [94, 121] Generated Node #0,0,1: 73:[94, 121] Operation: 71+50=121 Exploring Operation: 94-50=44, Resulting Numbers: [71, 44] Generated Node #0,0,2: 73:[71, 44] Operation: 94-50=44 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[71, 44], Operations: ['98-48=50', '94-50=44'] Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,73 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,73 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[94, 121], Operations: ['98-48=50', '71+50=121'] Exploring Operation: 121-94=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 94*121=11374, Resulting Numbers: [11374] 11374,73 unequal: No Solution Exploring Operation: 94+121=215, Resulting Numbers: [215] 215,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[50, 23], Operations: ['98-48=50', '94-71=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,73 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[71, 94, 98, 48], Operations: [] Exploring Operation: 98-48=50, Resulting Numbers: [71, 94, 50] Generated Node #0,0: 73:[71, 94, 50] Operation: 98-48=50 Moving to Node #0,0 Current State: 73:[71, 94, 50], Operations: ['98-48=50'] Exploring Operation: 94-71=23, Resulting Numbers: [50, 23] Generated Node #0,0,0: 73:[50, 23] Operation: 94-71=23 Moving to Node #0,0,0 Current State: 73:[50, 23], Operations: ['98-48=50', '94-71=23'] Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
sum_heuristic
[ 66, 69, 31, 89 ]
28
[ "89-66=23", "69/23=3", "31-3=28" ]
Current State: 28:[66, 69, 31, 89], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [69, 31, 23] Generated Node #2: [69, 31, 23] from Operation: 89-66=23 Current State: 28:[69, 31, 23], Operations: ['89-66=23'] Exploring Operation: 69/23=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 69/23=3 Current State: 28:[31, 3], Operations: ['89-66=23', '69/23=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[66, 69, 31, 89], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [66, 89, 38] Generated Node #0,0: 28:[66, 89, 38] Operation: 69-31=38 Exploring Operation: 89-66=23, Resulting Numbers: [69, 31, 23] Generated Node #0,1: 28:[69, 31, 23] Operation: 89-66=23 Exploring Operation: 89-69=20, Resulting Numbers: [66, 31, 20] Generated Node #0,2: 28:[66, 31, 20] Operation: 89-69=20 Exploring Operation: 66-31=35, Resulting Numbers: [69, 89, 35] Generated Node #0,3: 28:[69, 89, 35] Operation: 66-31=35 Exploring Operation: 69-66=3, Resulting Numbers: [31, 89, 3] Generated Node #0,4: 28:[31, 89, 3] Operation: 69-66=3 Moving to Node #0,2 Current State: 28:[66, 31, 20], Operations: ['89-69=20'] Exploring Operation: 66+20=86, Resulting Numbers: [31, 86] Generated Node #0,2,0: 28:[31, 86] Operation: 66+20=86 Exploring Operation: 66-31=35, Resulting Numbers: [20, 35] Generated Node #0,2,1: 28:[20, 35] Operation: 66-31=35 Exploring Operation: 31-20=11, Resulting Numbers: [66, 11] Generated Node #0,2,2: 28:[66, 11] Operation: 31-20=11 Exploring Operation: 66-20=46, Resulting Numbers: [31, 46] Generated Node #0,2,3: 28:[31, 46] Operation: 66-20=46 Exploring Operation: 31+20=51, Resulting Numbers: [66, 51] Generated Node #0,2,4: 28:[66, 51] Operation: 31+20=51 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[20, 35], Operations: ['89-69=20', '66-31=35'] Exploring Operation: 20*35=700, Resulting Numbers: [700] 700,28 unequal: No Solution Exploring Operation: 20+35=55, Resulting Numbers: [55] 55,28 unequal: No Solution Exploring Operation: 35-20=15, Resulting Numbers: [15] 15,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,3 Current State: 28:[31, 46], Operations: ['89-69=20', '66-20=46'] Exploring Operation: 31+46=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 31*46=1426, Resulting Numbers: [1426] 1426,28 unequal: No Solution Exploring Operation: 46-31=15, Resulting Numbers: [15] 15,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,2 Current State: 28:[66, 11], Operations: ['89-69=20', '31-20=11'] Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,28 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,28 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,28 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[31, 86], Operations: ['89-69=20', '66+20=86'] Exploring Operation: 31+86=117, Resulting Numbers: [117] 117,28 unequal: No Solution Exploring Operation: 31*86=2666, Resulting Numbers: [2666] 2666,28 unequal: No Solution Exploring Operation: 86-31=55, Resulting Numbers: [55] 55,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,4 Current State: 28:[66, 51], Operations: ['89-69=20', '31+20=51'] Exploring Operation: 66*51=3366, Resulting Numbers: [3366] 3366,28 unequal: No Solution Exploring Operation: 66+51=117, Resulting Numbers: [117] 117,28 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,28 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: 28:[69, 31, 23], Operations: ['89-66=23'] Exploring Operation: 69-31=38, Resulting Numbers: [23, 38] Generated Node #0,1,0: 28:[23, 38] Operation: 69-31=38 Exploring Operation: 69+23=92, Resulting Numbers: [31, 92] Generated Node #0,1,1: 28:[31, 92] Operation: 69+23=92 Exploring Operation: 69-23=46, Resulting Numbers: [31, 46] Generated Node #0,1,2: 28:[31, 46] Operation: 69-23=46 Exploring Operation: 31-23=8, Resulting Numbers: [69, 8] Generated Node #0,1,3: 28:[69, 8] Operation: 31-23=8 Exploring Operation: 69/23=3, Resulting Numbers: [31, 3] Generated Node #0,1,4: 28:[31, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 28:[31, 3], Operations: ['89-66=23', '69/23=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[66, 69, 31, 89], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [69, 31, 23] Generated Node #0,1: 28:[69, 31, 23] Operation: 89-66=23 Moving to Node #0,1 Current State: 28:[69, 31, 23], Operations: ['89-66=23'] Exploring Operation: 69/23=3, Resulting Numbers: [31, 3] Generated Node #0,1,4: 28:[31, 3] Operation: 69/23=3 Moving to Node #0,1,4 Current State: 28:[31, 3], Operations: ['89-66=23', '69/23=3'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 54, 52, 53, 90 ]
63
[ "52+53=105", "54*105=5670", "5670/90=63" ]
Current State: 63:[54, 52, 53, 90], Operations: [] Exploring Operation: 52+53=105, Resulting Numbers: [54, 90, 105] Generated Node #2: [54, 90, 105] from Operation: 52+53=105 Current State: 63:[54, 90, 105], Operations: ['52+53=105'] Exploring Operation: 54*105=5670, Resulting Numbers: [90, 5670] Generated Node #3: [90, 5670] from Operation: 54*105=5670 Current State: 63:[90, 5670], Operations: ['52+53=105', '54*105=5670'] Exploring Operation: 5670/90=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[54, 52, 53, 90], Operations: [] Exploring Operation: 90-53=37, Resulting Numbers: [54, 52, 37] Generated Node #0,0: 63:[54, 52, 37] Operation: 90-53=37 Exploring Operation: 53-52=1, Resulting Numbers: [54, 90, 1] Generated Node #0,1: 63:[54, 90, 1] Operation: 53-52=1 Exploring Operation: 90-54=36, Resulting Numbers: [52, 53, 36] Generated Node #0,2: 63:[52, 53, 36] Operation: 90-54=36 Exploring Operation: 90-52=38, Resulting Numbers: [54, 53, 38] Generated Node #0,3: 63:[54, 53, 38] Operation: 90-52=38 Exploring Operation: 54-52=2, Resulting Numbers: [53, 90, 2] Generated Node #0,4: 63:[53, 90, 2] Operation: 54-52=2 Moving to Node #0,0 Current State: 63:[54, 52, 37], Operations: ['90-53=37'] Exploring Operation: 54-52=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 63:[37, 2] Operation: 54-52=2 Exploring Operation: 52-37=15, Resulting Numbers: [54, 15] Generated Node #0,0,1: 63:[54, 15] Operation: 52-37=15 Exploring Operation: 52+37=89, Resulting Numbers: [54, 89] Generated Node #0,0,2: 63:[54, 89] Operation: 52+37=89 Exploring Operation: 54+37=91, Resulting Numbers: [52, 91] Generated Node #0,0,3: 63:[52, 91] Operation: 54+37=91 Exploring Operation: 54-37=17, Resulting Numbers: [52, 17] Generated Node #0,0,4: 63:[52, 17] Operation: 54-37=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[54, 15], Operations: ['90-53=37', '52-37=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,63 unequal: No Solution No 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: 63:[52, 17], Operations: ['90-53=37', '54-37=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,63 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[37, 2], Operations: ['90-53=37', '54-52=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,63 unequal: No Solution No 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: 63:[54, 89], Operations: ['90-53=37', '52+37=89'] Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,63 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,63 unequal: No Solution No 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: 63:[52, 91], Operations: ['90-53=37', '54+37=91'] Exploring Operation: 52+91=143, Resulting Numbers: [143] 143,63 unequal: No Solution Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 52*91=4732, Resulting Numbers: [4732] 4732,63 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: 63:[54, 53, 38], Operations: ['90-52=38'] Exploring Operation: 53+38=91, Resulting Numbers: [54, 91] Generated Node #0,3,0: 63:[54, 91] Operation: 53+38=91 Exploring Operation: 54-38=16, Resulting Numbers: [53, 16] Generated Node #0,3,1: 63:[53, 16] Operation: 54-38=16 Exploring Operation: 53-38=15, Resulting Numbers: [54, 15] Generated Node #0,3,2: 63:[54, 15] Operation: 53-38=15 Exploring Operation: 54-53=1, Resulting Numbers: [38, 1] Generated Node #0,3,3: 63:[38, 1] Operation: 54-53=1 Exploring Operation: 54+38=92, Resulting Numbers: [53, 92] Generated Node #0,3,4: 63:[53, 92] Operation: 54+38=92 Moving to Node #0,2 Current State: 63:[52, 53, 36], Operations: ['90-54=36'] Exploring Operation: 53-36=17, Resulting Numbers: [52, 17] Generated Node #0,2,0: 63:[52, 17] Operation: 53-36=17 Exploring Operation: 52+36=88, Resulting Numbers: [53, 88] Generated Node #0,2,1: 63:[53, 88] Operation: 52+36=88 Exploring Operation: 52-36=16, Resulting Numbers: [53, 16] Generated Node #0,2,2: 63:[53, 16] Operation: 52-36=16 Exploring Operation: 53-52=1, Resulting Numbers: [36, 1] Generated Node #0,2,3: 63:[36, 1] Operation: 53-52=1 Exploring Operation: 53+36=89, Resulting Numbers: [52, 89] Generated Node #0,2,4: 63:[52, 89] Operation: 53+36=89 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[52, 17], Operations: ['90-54=36', '53-36=17'] Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,63 unequal: No Solution No 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: 63:[53, 16], Operations: ['90-54=36', '52-36=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,63 unequal: No Solution No 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: 63:[36, 1], Operations: ['90-54=36', '53-52=1'] Exploring Operation: 36+1=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[53, 88], Operations: ['90-54=36', '52+36=88'] Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,63 unequal: No Solution Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,63 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[52, 89], Operations: ['90-54=36', '53+36=89'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 52*89=4628, Resulting Numbers: [4628] 4628,63 unequal: No Solution Exploring Operation: 52+89=141, Resulting Numbers: [141] 141,63 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: 63:[54, 90, 1], Operations: ['53-52=1'] Exploring Operation: 54/1=54, Resulting Numbers: [90, 54] Generated Node #0,1,0: 63:[90, 54] Operation: 54/1=54 Exploring Operation: 90-54=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 63:[1, 36] Operation: 90-54=36 Exploring Operation: 54*1=54, Resulting Numbers: [90, 54] Generated Node #0,1,2: 63:[90, 54] Operation: 54*1=54 Exploring Operation: 54+1=55, Resulting Numbers: [90, 55] Generated Node #0,1,3: 63:[90, 55] Operation: 54+1=55 Exploring Operation: 90-1=89, Resulting Numbers: [54, 89] Generated Node #0,1,4: 63:[54, 89] Operation: 90-1=89 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[1, 36], Operations: ['53-52=1', '90-54=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[90, 55], Operations: ['53-52=1', '54+1=55'] Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,63 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,63 unequal: No Solution No 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: 63:[54, 89], Operations: ['53-52=1', '90-1=89'] Exploring Operation: 54*89=4806, Resulting Numbers: [4806] 4806,63 unequal: No Solution Exploring Operation: 54+89=143, Resulting Numbers: [143] 143,63 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[90, 54], Operations: ['53-52=1', '54/1=54'] Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,63 unequal: No Solution Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,63 unequal: No Solution No 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: 63:[90, 54], Operations: ['53-52=1', '54*1=54'] Exploring Operation: 90+54=144, Resulting Numbers: [144] 144,63 unequal: No Solution Exploring Operation: 90*54=4860, Resulting Numbers: [4860] 4860,63 unequal: No Solution Exploring Operation: 90-54=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 63:[53, 90, 2], Operations: ['54-52=2'] Exploring Operation: 53-2=51, Resulting Numbers: [90, 51] Generated Node #0,4,0: 63:[90, 51] Operation: 53-2=51 Exploring Operation: 90/2=45, Resulting Numbers: [53, 45] Generated Node #0,4,1: 63:[53, 45] Operation: 90/2=45 Exploring Operation: 53+2=55, Resulting Numbers: [90, 55] Generated Node #0,4,2: 63:[90, 55] Operation: 53+2=55 Exploring Operation: 90-2=88, Resulting Numbers: [53, 88] Generated Node #0,4,3: 63:[53, 88] Operation: 90-2=88 Exploring Operation: 90-53=37, Resulting Numbers: [2, 37] Generated Node #0,4,4: 63:[2, 37] Operation: 90-53=37 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 63:[2, 37], Operations: ['54-52=2', '90-53=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,63 unequal: No Solution No 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: 63:[53, 45], Operations: ['54-52=2', '90/2=45'] Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,63 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,63 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,63 unequal: No Solution No 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: 63:[90, 55], Operations: ['54-52=2', '53+2=55'] Exploring Operation: 90*55=4950, Resulting Numbers: [4950] 4950,63 unequal: No Solution Exploring Operation: 90+55=145, Resulting Numbers: [145] 145,63 unequal: No Solution Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[53, 88], Operations: ['54-52=2', '90-2=88'] Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,63 unequal: No Solution Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,63 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,63 unequal: No Solution No 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: 63:[90, 51], Operations: ['54-52=2', '53-2=51'] Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 90+51=141, Resulting Numbers: [141] 141,63 unequal: No Solution Exploring Operation: 90*51=4590, Resulting Numbers: [4590] 4590,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 63:[53, 16], Operations: ['90-52=38', '54-38=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,63 unequal: No Solution Moving to Node #0,3,2 Current State: 63:[54, 15], Operations: ['90-52=38', '53-38=15'] Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,63 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,63 unequal: No Solution Moving to Node #0,3,3 Current State: 63:[38, 1], Operations: ['90-52=38', '54-53=1'] Exploring Operation: 38/1=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 38+1=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 38-1=37, Resulting Numbers: [37] 37,63 unequal: No Solution Moving to Node #0,3,0 Current State: 63:[54, 91], Operations: ['90-52=38', '53+38=91'] Exploring Operation: 54+91=145, Resulting Numbers: [145] 145,63 unequal: No Solution Exploring Operation: 54*91=4914, Resulting Numbers: [4914] 4914,63 unequal: No Solution Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,63 unequal: No Solution Moving to Node #0,3,4 Current State: 63:[53, 92], Operations: ['90-52=38', '54+38=92'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 53+92=145, Resulting Numbers: [145] 145,63 unequal: No Solution Exploring Operation: 53*92=4876, Resulting Numbers: [4876] 4876,63 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 78, 60, 52, 96 ]
84
[ "78*96=7488", "7488/52=144", "144-60=84" ]
Current State: 84:[78, 60, 52, 96], Operations: [] Exploring Operation: 78*96=7488, Resulting Numbers: [60, 52, 7488] Generated Node #2: [60, 52, 7488] from Operation: 78*96=7488 Current State: 84:[60, 52, 7488], Operations: ['78*96=7488'] Exploring Operation: 7488/52=144, Resulting Numbers: [60, 144] Generated Node #3: [60, 144] from Operation: 7488/52=144 Current State: 84:[60, 144], Operations: ['78*96=7488', '7488/52=144'] Exploring Operation: 144-60=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[78, 60, 52, 96], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [78, 52, 36] Generated Node #0,0: 84:[78, 52, 36] Operation: 96-60=36 Exploring Operation: 60-52=8, Resulting Numbers: [78, 96, 8] Generated Node #0,1: 84:[78, 96, 8] Operation: 60-52=8 Exploring Operation: 78-60=18, Resulting Numbers: [52, 96, 18] Generated Node #0,2: 84:[52, 96, 18] Operation: 78-60=18 Exploring Operation: 96-52=44, Resulting Numbers: [78, 60, 44] Generated Node #0,3: 84:[78, 60, 44] Operation: 96-52=44 Moving to Node #0,1 Current State: 84:[78, 96, 8], Operations: ['60-52=8'] Exploring Operation: 96-8=88, Resulting Numbers: [78, 88] Generated Node #0,1,0: 84:[78, 88] Operation: 96-8=88 Exploring Operation: 96-78=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 84:[8, 18] Operation: 96-78=18 Exploring Operation: 96/8=12, Resulting Numbers: [78, 12] Generated Node #0,1,2: 84:[78, 12] Operation: 96/8=12 Exploring Operation: 78+8=86, Resulting Numbers: [96, 86] Generated Node #0,1,3: 84:[96, 86] Operation: 78+8=86 Moving to Node #0,0 Current State: 84:[78, 52, 36], Operations: ['96-60=36'] Exploring Operation: 78-36=42, Resulting Numbers: [52, 42] Generated Node #0,0,0: 84:[52, 42] Operation: 78-36=42 Exploring Operation: 52+36=88, Resulting Numbers: [78, 88] Generated Node #0,0,1: 84:[78, 88] Operation: 52+36=88 Exploring Operation: 52-36=16, Resulting Numbers: [78, 16] Generated Node #0,0,2: 84:[78, 16] Operation: 52-36=16 Exploring Operation: 78-52=26, Resulting Numbers: [36, 26] Generated Node #0,0,3: 84:[36, 26] Operation: 78-52=26 Moving to Node #0,2 Current State: 84:[52, 96, 18], Operations: ['78-60=18'] Exploring Operation: 96-52=44, Resulting Numbers: [18, 44] Generated Node #0,2,0: 84:[18, 44] Operation: 96-52=44 Exploring Operation: 96-18=78, Resulting Numbers: [52, 78] Generated Node #0,2,1: 84:[52, 78] Operation: 96-18=78 Exploring Operation: 52-18=34, Resulting Numbers: [96, 34] Generated Node #0,2,2: 84:[96, 34] Operation: 52-18=34 Exploring Operation: 52+18=70, Resulting Numbers: [96, 70] Generated Node #0,2,3: 84:[96, 70] Operation: 52+18=70 Moving to Node #0,3 Current State: 84:[78, 60, 44], Operations: ['96-52=44'] Exploring Operation: 78-60=18, Resulting Numbers: [44, 18] Generated Node #0,3,0: 84:[44, 18] Operation: 78-60=18 Exploring Operation: 60+44=104, Resulting Numbers: [78, 104] Generated Node #0,3,1: 84:[78, 104] Operation: 60+44=104 Exploring Operation: 60-44=16, Resulting Numbers: [78, 16] Generated Node #0,3,2: 84:[78, 16] Operation: 60-44=16 Exploring Operation: 78-44=34, Resulting Numbers: [60, 34] Generated Node #0,3,3: 84:[60, 34] Operation: 78-44=34 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[44, 18], Operations: ['96-52=44', '78-60=18'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[78, 16], Operations: ['96-52=44', '60-44=16'] Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,84 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[60, 34], Operations: ['96-52=44', '78-44=34'] Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[78, 104], Operations: ['96-52=44', '60+44=104'] Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,84 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,84 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,84 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: 84:[8, 18], Operations: ['60-52=8', '96-78=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,84 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[18, 44], Operations: ['78-60=18', '96-52=44'] Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[78, 12], Operations: ['60-52=8', '96/8=12'] Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,84 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,84 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[36, 26], Operations: ['96-60=36', '78-52=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[78, 16], Operations: ['96-60=36', '52-36=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,84 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[52, 42], Operations: ['96-60=36', '78-36=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,84 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,84 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[78, 88], Operations: ['60-52=8', '96-8=88'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,84 unequal: No Solution Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[78, 88], Operations: ['96-60=36', '52+36=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,84 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[96, 86], Operations: ['60-52=8', '78+8=86'] Exploring Operation: 96*86=8256, Resulting Numbers: [8256] 8256,84 unequal: No Solution Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 96+86=182, Resulting Numbers: [182] 182,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[52, 78], Operations: ['78-60=18', '96-18=78'] Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[96, 34], Operations: ['78-60=18', '52-18=34'] Exploring Operation: 96+34=130, Resulting Numbers: [130] 130,84 unequal: No Solution Exploring Operation: 96*34=3264, Resulting Numbers: [3264] 3264,84 unequal: No Solution Exploring Operation: 96-34=62, Resulting Numbers: [62] 62,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[96, 70], Operations: ['78-60=18', '52+18=70'] Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,84 unequal: No Solution Exploring Operation: 96+70=166, Resulting Numbers: [166] 166,84 unequal: No Solution Exploring Operation: 96*70=6720, Resulting Numbers: [6720] 6720,84 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 70, 15, 67, 70 ]
82
[ "70+15=85", "70-67=3", "85-3=82" ]
Current State: 82:[70, 15, 67, 70], Operations: [] Exploring Operation: 70+15=85, Resulting Numbers: [67, 85] Generated Node #2: [67, 85] from Operation: 70+15=85 Current State: 82:[67, 85], Operations: ['70+15=85'] Exploring Operation: 70-67=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 70-67=3 Current State: 82:[85, 3], Operations: ['70+15=85', '70-67=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[70, 15, 67, 70], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [15, 70, 3] Generated Node #0,0: 82:[15, 70, 3] Operation: 70-67=3 Exploring Operation: 15+67=82, Resulting Numbers: [70, 70, 82] Generated Node #0,1: 82:[70, 70, 82] Operation: 15+67=82 Exploring Operation: 70-67=3, Resulting Numbers: [70, 15, 3] Generated Node #0,2: 82:[70, 15, 3] Operation: 70-67=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[70, 70, 82], Operations: ['15+67=82'] Exploring Operation: 70-70=0, Resulting Numbers: [82, 0] Generated Node #0,1,0: 82:[82, 0] Operation: 70-70=0 Exploring Operation: 70/70=1, Resulting Numbers: [82, 1] Generated Node #0,1,1: 82:[82, 1] Operation: 70/70=1 Exploring Operation: 82-70=12, Resulting Numbers: [70, 12] Generated Node #0,1,2: 82:[70, 12] Operation: 82-70=12 Moving to Node #0,1,1 Current State: 82:[82, 1], Operations: ['15+67=82', '70/70=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[70, 15, 67, 70], Operations: [] Exploring Operation: 15+67=82, Resulting Numbers: [70, 70, 82] Generated Node #0,1: 82:[70, 70, 82] Operation: 15+67=82 Moving to Node #0,1 Current State: 82:[70, 70, 82], Operations: ['15+67=82'] Exploring Operation: 70/70=1, Resulting Numbers: [82, 1] Generated Node #0,1,1: 82:[82, 1] Operation: 70/70=1 Moving to Node #0,1,1 Current State: 82:[82, 1], Operations: ['15+67=82', '70/70=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 72, 44, 12, 84 ]
35
[ "72-44=28", "84/12=7", "28+7=35" ]
Current State: 35:[72, 44, 12, 84], Operations: [] Exploring Operation: 72-44=28, Resulting Numbers: [12, 84, 28] Generated Node #2: [12, 84, 28] from Operation: 72-44=28 Current State: 35:[12, 84, 28], Operations: ['72-44=28'] Exploring Operation: 84/12=7, Resulting Numbers: [28, 7] Generated Node #3: [28, 7] from Operation: 84/12=7 Current State: 35:[28, 7], Operations: ['72-44=28', '84/12=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[72, 44, 12, 84], Operations: [] Exploring Operation: 84-72=12, Resulting Numbers: [44, 12, 12] Generated Node #0,0: 35:[44, 12, 12] Operation: 84-72=12 Exploring Operation: 84/12=7, Resulting Numbers: [72, 44, 7] Generated Node #0,1: 35:[72, 44, 7] Operation: 84/12=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[44, 12, 12], Operations: ['84-72=12'] Exploring Operation: 44-12=32, Resulting Numbers: [12, 32] Generated Node #0,0,0: 35:[12, 32] Operation: 44-12=32 Exploring Operation: 44-12=32, Resulting Numbers: [12, 32] Generated Node #0,0,1: 35:[12, 32] Operation: 44-12=32 Moving to Node #0,0,0 Current State: 35:[12, 32], Operations: ['84-72=12', '44-12=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[12, 32], Operations: ['84-72=12', '44-12=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[72, 44, 7], Operations: ['84/12=7'] Exploring Operation: 72-44=28, Resulting Numbers: [7, 28] Generated Node #0,1,0: 35:[7, 28] Operation: 72-44=28 Exploring Operation: 72-7=65, Resulting Numbers: [44, 65] Generated Node #0,1,1: 35:[44, 65] Operation: 72-7=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[7, 28], Operations: ['84/12=7', '72-44=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[72, 44, 12, 84], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [72, 44, 7] Generated Node #0,1: 35:[72, 44, 7] Operation: 84/12=7 Moving to Node #0,1 Current State: 35:[72, 44, 7], Operations: ['84/12=7'] Exploring Operation: 72-44=28, Resulting Numbers: [7, 28] Generated Node #0,1,0: 35:[7, 28] Operation: 72-44=28 Moving to Node #0,1,0 Current State: 35:[7, 28], Operations: ['84/12=7', '72-44=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 88, 11, 24, 65 ]
93
[ "24-11=13", "65/13=5", "88+5=93" ]
Current State: 93:[88, 11, 24, 65], Operations: [] Exploring Operation: 24-11=13, Resulting Numbers: [88, 65, 13] Generated Node #2: [88, 65, 13] from Operation: 24-11=13 Current State: 93:[88, 65, 13], Operations: ['24-11=13'] Exploring Operation: 65/13=5, Resulting Numbers: [88, 5] Generated Node #3: [88, 5] from Operation: 65/13=5 Current State: 93:[88, 5], Operations: ['24-11=13', '65/13=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[88, 11, 24, 65], Operations: [] Exploring Operation: 24+65=89, Resulting Numbers: [88, 11, 89] Generated Node #0,0: 93:[88, 11, 89] Operation: 24+65=89 Exploring Operation: 88-65=23, Resulting Numbers: [11, 24, 23] Generated Node #0,1: 93:[11, 24, 23] Operation: 88-65=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[88, 11, 89], Operations: ['24+65=89'] Exploring Operation: 88+11=99, Resulting Numbers: [89, 99] Generated Node #0,0,0: 93:[89, 99] Operation: 88+11=99 Exploring Operation: 88/11=8, Resulting Numbers: [89, 8] Generated Node #0,0,1: 93:[89, 8] Operation: 88/11=8 Moving to Node #0,0,1 Current State: 93:[89, 8], Operations: ['24+65=89', '88/11=8'] Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[89, 99], Operations: ['24+65=89', '88+11=99'] Exploring Operation: 99-89=10, Resulting Numbers: [10] 10,93 unequal: No Solution Exploring Operation: 89+99=188, Resulting Numbers: [188] 188,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[11, 24, 23], Operations: ['88-65=23'] Exploring Operation: 11+23=34, Resulting Numbers: [24, 34] Generated Node #0,1,0: 93:[24, 34] Operation: 11+23=34 Exploring Operation: 24-23=1, Resulting Numbers: [11, 1] Generated Node #0,1,1: 93:[11, 1] Operation: 24-23=1 Moving to Node #0,1,0 Current State: 93:[24, 34], Operations: ['88-65=23', '11+23=34'] Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,93 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[11, 1], Operations: ['88-65=23', '24-23=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 96, 42, 85, 83 ]
75
[ "85-83=2", "42/2=21", "96-21=75" ]
Current State: 75:[96, 42, 85, 83], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [96, 42, 2] Generated Node #2: [96, 42, 2] from Operation: 85-83=2 Current State: 75:[96, 42, 2], Operations: ['85-83=2'] Exploring Operation: 42/2=21, Resulting Numbers: [96, 21] Generated Node #3: [96, 21] from Operation: 42/2=21 Current State: 75:[96, 21], Operations: ['85-83=2', '42/2=21'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[96, 42, 85, 83], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [42, 83, 11] Generated Node #0,0: 75:[42, 83, 11] Operation: 96-85=11 Exploring Operation: 96-42=54, Resulting Numbers: [85, 83, 54] Generated Node #0,1: 75:[85, 83, 54] Operation: 96-42=54 Exploring Operation: 96-83=13, Resulting Numbers: [42, 85, 13] Generated Node #0,2: 75:[42, 85, 13] Operation: 96-83=13 Moving to Node #0,0 Current State: 75:[42, 83, 11], Operations: ['96-85=11'] Exploring Operation: 83-11=72, Resulting Numbers: [42, 72] Generated Node #0,0,0: 75:[42, 72] Operation: 83-11=72 Exploring Operation: 42-11=31, Resulting Numbers: [83, 31] Generated Node #0,0,1: 75:[83, 31] Operation: 42-11=31 Exploring Operation: 83-42=41, Resulting Numbers: [11, 41] Generated Node #0,0,2: 75:[11, 41] Operation: 83-42=41 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[83, 31], Operations: ['96-85=11', '42-11=31'] Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[42, 72], Operations: ['96-85=11', '83-11=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,75 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[11, 41], Operations: ['96-85=11', '83-42=41'] Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,75 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,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:[42, 85, 13], Operations: ['96-83=13'] Exploring Operation: 85-13=72, Resulting Numbers: [42, 72] Generated Node #0,2,0: 75:[42, 72] Operation: 85-13=72 Exploring Operation: 42-13=29, Resulting Numbers: [85, 29] Generated Node #0,2,1: 75:[85, 29] Operation: 42-13=29 Exploring Operation: 85-42=43, Resulting Numbers: [13, 43] Generated Node #0,2,2: 75:[13, 43] Operation: 85-42=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 75:[85, 29], Operations: ['96-83=13', '42-13=29'] Exploring Operation: 85*29=2465, Resulting Numbers: [2465] 2465,75 unequal: No Solution Exploring Operation: 85+29=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,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:[42, 72], Operations: ['96-83=13', '85-13=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,75 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,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,2 Current State: 75:[13, 43], Operations: ['96-83=13', '85-42=43'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,75 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 75:[85, 83, 54], Operations: ['96-42=54'] Exploring Operation: 83-54=29, Resulting Numbers: [85, 29] Generated Node #0,1,0: 75:[85, 29] Operation: 83-54=29 Exploring Operation: 85-54=31, Resulting Numbers: [83, 31] Generated Node #0,1,1: 75:[83, 31] Operation: 85-54=31 Exploring Operation: 85-83=2, Resulting Numbers: [54, 2] Generated Node #0,1,2: 75:[54, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[85, 29], Operations: ['96-42=54', '83-54=29'] Exploring Operation: 85*29=2465, Resulting Numbers: [2465] 2465,75 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 85+29=114, Resulting Numbers: [114] 114,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:[83, 31], Operations: ['96-42=54', '85-54=31'] Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,75 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,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,2 Current State: 75:[54, 2], Operations: ['96-42=54', '85-83=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,75 unequal: No Solution Exploring Operation: 54+2=56, Resulting Numbers: [56] 56,75 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,75 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
[ 77, 63, 42, 22 ]
19
[ "77-63=14", "42/14=3", "22-3=19" ]
Current State: 19:[77, 63, 42, 22], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [42, 22, 14] Generated Node #2: [42, 22, 14] from Operation: 77-63=14 Current State: 19:[42, 22, 14], Operations: ['77-63=14'] Exploring Operation: 42/14=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 42/14=3 Current State: 19:[22, 3], Operations: ['77-63=14', '42/14=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[77, 63, 42, 22], Operations: [] Exploring Operation: 77-42=35, Resulting Numbers: [63, 22, 35] Generated Node #0,0: 19:[63, 22, 35] Operation: 77-42=35 Exploring Operation: 77-63=14, Resulting Numbers: [42, 22, 14] Generated Node #0,1: 19:[42, 22, 14] Operation: 77-63=14 Exploring Operation: 63-42=21, Resulting Numbers: [77, 22, 21] Generated Node #0,2: 19:[77, 22, 21] Operation: 63-42=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[42, 22, 14], Operations: ['77-63=14'] Exploring Operation: 42-22=20, Resulting Numbers: [14, 20] Generated Node #0,1,0: 19:[14, 20] Operation: 42-22=20 Exploring Operation: 42/14=3, Resulting Numbers: [22, 3] Generated Node #0,1,1: 19:[22, 3] Operation: 42/14=3 Exploring Operation: 42-14=28, Resulting Numbers: [22, 28] Generated Node #0,1,2: 19:[22, 28] Operation: 42-14=28 Moving to Node #0,1,0 Current State: 19:[14, 20], Operations: ['77-63=14', '42-22=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,19 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[22, 28], Operations: ['77-63=14', '42-14=28'] Exploring Operation: 22+28=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,19 unequal: No Solution Exploring Operation: 22*28=616, Resulting Numbers: [616] 616,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[22, 3], Operations: ['77-63=14', '42/14=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[77, 63, 42, 22], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [42, 22, 14] Generated Node #0,1: 19:[42, 22, 14] Operation: 77-63=14 Moving to Node #0,1 Current State: 19:[42, 22, 14], Operations: ['77-63=14'] Exploring Operation: 42/14=3, Resulting Numbers: [22, 3] Generated Node #0,1,1: 19:[22, 3] Operation: 42/14=3 Moving to Node #0,1,1 Current State: 19:[22, 3], Operations: ['77-63=14', '42/14=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 28, 88, 28, 47 ]
40
[ "28/28=1", "88-47=41", "41-1=40" ]
Current State: 40:[28, 88, 28, 47], Operations: [] Exploring Operation: 28/28=1, Resulting Numbers: [88, 47, 1] Generated Node #2: [88, 47, 1] from Operation: 28/28=1 Current State: 40:[88, 47, 1], Operations: ['28/28=1'] Exploring Operation: 88-47=41, Resulting Numbers: [1, 41] Generated Node #3: [1, 41] from Operation: 88-47=41 Current State: 40:[1, 41], Operations: ['28/28=1', '88-47=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[28, 88, 28, 47], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [28, 47, 60] Generated Node #0,0: 40:[28, 47, 60] Operation: 88-28=60 Exploring Operation: 28-28=0, Resulting Numbers: [88, 47, 0] Generated Node #0,1: 40:[88, 47, 0] Operation: 28-28=0 Exploring Operation: 28/28=1, Resulting Numbers: [88, 47, 1] Generated Node #0,2: 40:[88, 47, 1] Operation: 28/28=1 Exploring Operation: 88-28=60, Resulting Numbers: [28, 47, 60] Generated Node #0,3: 40:[28, 47, 60] Operation: 88-28=60 Exploring Operation: 88-47=41, Resulting Numbers: [28, 28, 41] Generated Node #0,4: 40:[28, 28, 41] Operation: 88-47=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 40:[28, 28, 41], Operations: ['88-47=41'] Exploring Operation: 41-28=13, Resulting Numbers: [28, 13] Generated Node #0,4,0: 40:[28, 13] Operation: 41-28=13 Exploring Operation: 28+28=56, Resulting Numbers: [41, 56] Generated Node #0,4,1: 40:[41, 56] Operation: 28+28=56 Exploring Operation: 41-28=13, Resulting Numbers: [28, 13] Generated Node #0,4,2: 40:[28, 13] Operation: 41-28=13 Exploring Operation: 28-28=0, Resulting Numbers: [41, 0] Generated Node #0,4,3: 40:[41, 0] Operation: 28-28=0 Exploring Operation: 28/28=1, Resulting Numbers: [41, 1] Generated Node #0,4,4: 40:[41, 1] Operation: 28/28=1 Moving to Node #0,4,4 Current State: 40:[41, 1], Operations: ['88-47=41', '28/28=1'] Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[28, 88, 28, 47], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [28, 28, 41] Generated Node #0,4: 40:[28, 28, 41] Operation: 88-47=41 Moving to Node #0,4 Current State: 40:[28, 28, 41], Operations: ['88-47=41'] Exploring Operation: 28/28=1, Resulting Numbers: [41, 1] Generated Node #0,4,4: 40:[41, 1] Operation: 28/28=1 Moving to Node #0,4,4 Current State: 40:[41, 1], Operations: ['88-47=41', '28/28=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 7, 16, 84, 69 ]
89
[ "84-69=15", "7*15=105", "105-16=89" ]
Current State: 89:[7, 16, 84, 69], Operations: [] Exploring Operation: 84-69=15, Resulting Numbers: [7, 16, 15] Generated Node #2: [7, 16, 15] from Operation: 84-69=15 Current State: 89:[7, 16, 15], Operations: ['84-69=15'] Exploring Operation: 7*15=105, Resulting Numbers: [16, 105] Generated Node #3: [16, 105] from Operation: 7*15=105 Current State: 89:[16, 105], Operations: ['84-69=15', '7*15=105'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[7, 16, 84, 69], Operations: [] Exploring Operation: 7*16=112, Resulting Numbers: [84, 69, 112] Generated Node #0,0: 89:[84, 69, 112] Operation: 7*16=112 Exploring Operation: 7+16=23, Resulting Numbers: [84, 69, 23] Generated Node #0,1: 89:[84, 69, 23] Operation: 7+16=23 Moving to Node #0,0 Current State: 89:[84, 69, 112], Operations: ['7*16=112'] Exploring Operation: 112-69=43, Resulting Numbers: [84, 43] Generated Node #0,0,0: 89:[84, 43] Operation: 112-69=43 Exploring Operation: 112-84=28, Resulting Numbers: [69, 28] Generated Node #0,0,1: 89:[69, 28] Operation: 112-84=28 Moving to Node #0,1 Current State: 89:[84, 69, 23], Operations: ['7+16=23'] Exploring Operation: 69+23=92, Resulting Numbers: [84, 92] Generated Node #0,1,0: 89:[84, 92] Operation: 69+23=92 Exploring Operation: 84+23=107, Resulting Numbers: [69, 107] Generated Node #0,1,1: 89:[69, 107] Operation: 84+23=107 Moving to Node #0,1,0 Current State: 89:[84, 92], Operations: ['7+16=23', '69+23=92'] Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 84+92=176, Resulting Numbers: [176] 176,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[69, 107], Operations: ['7+16=23', '84+23=107'] Exploring Operation: 69+107=176, Resulting Numbers: [176] 176,89 unequal: No Solution Exploring Operation: 107-69=38, Resulting Numbers: [38] 38,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[84, 43], Operations: ['7*16=112', '112-69=43'] Exploring Operation: 84+43=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[69, 28], Operations: ['7*16=112', '112-84=28'] Exploring Operation: 69+28=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 30, 50, 18 ]
37
[ "50/2=25", "30-18=12", "25+12=37" ]
Current State: 37:[2, 30, 50, 18], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [30, 18, 25] Generated Node #2: [30, 18, 25] from Operation: 50/2=25 Current State: 37:[30, 18, 25], Operations: ['50/2=25'] Exploring Operation: 30-18=12, Resulting Numbers: [25, 12] Generated Node #3: [25, 12] from Operation: 30-18=12 Current State: 37:[25, 12], Operations: ['50/2=25', '30-18=12'] Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[2, 30, 50, 18], Operations: [] Exploring Operation: 50-2=48, Resulting Numbers: [30, 18, 48] Generated Node #0,0: 37:[30, 18, 48] Operation: 50-2=48 Exploring Operation: 2*18=36, Resulting Numbers: [30, 50, 36] Generated Node #0,1: 37:[30, 50, 36] Operation: 2*18=36 Exploring Operation: 2+30=32, Resulting Numbers: [50, 18, 32] Generated Node #0,2: 37:[50, 18, 32] Operation: 2+30=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[30, 50, 36], Operations: ['2*18=36'] Exploring Operation: 50-36=14, Resulting Numbers: [30, 14] Generated Node #0,1,0: 37:[30, 14] Operation: 50-36=14 Exploring Operation: 30+36=66, Resulting Numbers: [50, 66] Generated Node #0,1,1: 37:[50, 66] Operation: 30+36=66 Exploring Operation: 50-30=20, Resulting Numbers: [36, 20] Generated Node #0,1,2: 37:[36, 20] Operation: 50-30=20 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[36, 20], Operations: ['2*18=36', '50-30=20'] Exploring Operation: 36*20=720, Resulting Numbers: [720] 720,37 unequal: No Solution Exploring Operation: 36+20=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[30, 14], Operations: ['2*18=36', '50-36=14'] Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,37 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[50, 66], Operations: ['2*18=36', '30+36=66'] Exploring Operation: 50+66=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 50*66=3300, Resulting Numbers: [3300] 3300,37 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[30, 18, 48], Operations: ['50-2=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 37:[30, 30] Operation: 48-18=30 Exploring Operation: 30-18=12, Resulting Numbers: [48, 12] Generated Node #0,0,1: 37:[48, 12] Operation: 30-18=12 Exploring Operation: 30+18=48, Resulting Numbers: [48, 48] Generated Node #0,0,2: 37:[48, 48] Operation: 30+18=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[30, 30], Operations: ['50-2=48', '48-18=30'] Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[48, 48], Operations: ['50-2=48', '30+18=48'] Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[48, 12], Operations: ['50-2=48', '30-18=12'] Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[50, 18, 32], Operations: ['2+30=32'] Exploring Operation: 50-18=32, Resulting Numbers: [32, 32] Generated Node #0,2,0: 37:[32, 32] Operation: 50-18=32 Exploring Operation: 18+32=50, Resulting Numbers: [50, 50] Generated Node #0,2,1: 37:[50, 50] Operation: 18+32=50 Exploring Operation: 50+18=68, Resulting Numbers: [32, 68] Generated Node #0,2,2: 37:[32, 68] Operation: 50+18=68 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[32, 32], Operations: ['2+30=32', '50-18=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,37 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[50, 50], Operations: ['2+30=32', '18+32=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[32, 68], Operations: ['2+30=32', '50+18=68'] Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,37 unequal: No Solution Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 77, 39, 1, 4 ]
75
[ "39-1=38", "4*38=152", "152-77=75" ]
Current State: 75:[77, 39, 1, 4], Operations: [] Exploring Operation: 39-1=38, Resulting Numbers: [77, 4, 38] Generated Node #2: [77, 4, 38] from Operation: 39-1=38 Current State: 75:[77, 4, 38], Operations: ['39-1=38'] Exploring Operation: 4*38=152, Resulting Numbers: [77, 152] Generated Node #3: [77, 152] from Operation: 4*38=152 Current State: 75:[77, 152], Operations: ['39-1=38', '4*38=152'] Exploring Operation: 152-77=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[77, 39, 1, 4], Operations: [] Exploring Operation: 39-4=35, Resulting Numbers: [77, 1, 35] Generated Node #0,0: 75:[77, 1, 35] Operation: 39-4=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[77, 1, 35], Operations: ['39-4=35'] Exploring Operation: 77-1=76, Resulting Numbers: [35, 76] Generated Node #0,0,0: 75:[35, 76] Operation: 77-1=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[35, 76], Operations: ['39-4=35', '77-1=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,75 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
[ 52, 31, 71, 53 ]
65
[ "52+31=83", "71-53=18", "83-18=65" ]
Current State: 65:[52, 31, 71, 53], Operations: [] Exploring Operation: 52+31=83, Resulting Numbers: [71, 53, 83] Generated Node #2: [71, 53, 83] from Operation: 52+31=83 Current State: 65:[71, 53, 83], Operations: ['52+31=83'] Exploring Operation: 71-53=18, Resulting Numbers: [83, 18] Generated Node #3: [83, 18] from Operation: 71-53=18 Current State: 65:[83, 18], Operations: ['52+31=83', '71-53=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[52, 31, 71, 53], Operations: [] Exploring Operation: 53-31=22, Resulting Numbers: [52, 71, 22] Generated Node #0,0: 65:[52, 71, 22] Operation: 53-31=22 Exploring Operation: 52+31=83, Resulting Numbers: [71, 53, 83] Generated Node #0,1: 65:[71, 53, 83] Operation: 52+31=83 Exploring Operation: 53-52=1, Resulting Numbers: [31, 71, 1] Generated Node #0,2: 65:[31, 71, 1] Operation: 53-52=1 Exploring Operation: 52-31=21, Resulting Numbers: [71, 53, 21] Generated Node #0,3: 65:[71, 53, 21] Operation: 52-31=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[71, 53, 21], Operations: ['52-31=21'] Exploring Operation: 71-53=18, Resulting Numbers: [21, 18] Generated Node #0,3,0: 65:[21, 18] Operation: 71-53=18 Exploring Operation: 53-21=32, Resulting Numbers: [71, 32] Generated Node #0,3,1: 65:[71, 32] Operation: 53-21=32 Exploring Operation: 71-21=50, Resulting Numbers: [53, 50] Generated Node #0,3,2: 65:[53, 50] Operation: 71-21=50 Exploring Operation: 53+21=74, Resulting Numbers: [71, 74] Generated Node #0,3,3: 65:[71, 74] Operation: 53+21=74 Moving to Node #0,3,0 Current State: 65:[21, 18], Operations: ['52-31=21', '71-53=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,65 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[71, 74], Operations: ['52-31=21', '53+21=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,65 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,65 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[71, 32], Operations: ['52-31=21', '53-21=32'] Exploring Operation: 71*32=2272, Resulting Numbers: [2272] 2272,65 unequal: No Solution Exploring Operation: 71+32=103, Resulting Numbers: [103] 103,65 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[53, 50], Operations: ['52-31=21', '71-21=50'] Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,65 unequal: No Solution Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,65 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,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:[52, 71, 22], Operations: ['53-31=22'] Exploring Operation: 71-22=49, Resulting Numbers: [52, 49] Generated Node #0,0,0: 65:[52, 49] Operation: 71-22=49 Exploring Operation: 52+22=74, Resulting Numbers: [71, 74] Generated Node #0,0,1: 65:[71, 74] Operation: 52+22=74 Exploring Operation: 52-22=30, Resulting Numbers: [71, 30] Generated Node #0,0,2: 65:[71, 30] Operation: 52-22=30 Exploring Operation: 71-52=19, Resulting Numbers: [22, 19] Generated Node #0,0,3: 65:[22, 19] Operation: 71-52=19 Moving to Node #0,0,1 Current State: 65:[71, 74], Operations: ['53-31=22', '52+22=74'] Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,65 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,65 unequal: No Solution Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[22, 19], Operations: ['53-31=22', '71-52=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,65 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[71, 30], Operations: ['53-31=22', '52-22=30'] Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,65 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,65 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[52, 49], Operations: ['53-31=22', '71-22=49'] Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,65 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,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,2 Current State: 65:[31, 71, 1], Operations: ['53-52=1'] Exploring Operation: 71-1=70, Resulting Numbers: [31, 70] Generated Node #0,2,0: 65:[31, 70] Operation: 71-1=70 Exploring Operation: 31*1=31, Resulting Numbers: [71, 31] Generated Node #0,2,1: 65:[71, 31] Operation: 31*1=31 Exploring Operation: 31-1=30, Resulting Numbers: [71, 30] Generated Node #0,2,2: 65:[71, 30] Operation: 31-1=30 Exploring Operation: 31/1=31, Resulting Numbers: [71, 31] Generated Node #0,2,3: 65:[71, 31] Operation: 31/1=31 Moving to Node #0,2,0 Current State: 65:[31, 70], Operations: ['53-52=1', '71-1=70'] Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,65 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[71, 30], Operations: ['53-52=1', '31-1=30'] Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,65 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,65 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[71, 31], Operations: ['53-52=1', '31/1=31'] Exploring Operation: 71*31=2201, Resulting Numbers: [2201] 2201,65 unequal: No Solution Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,65 unequal: No Solution Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[71, 31], Operations: ['53-52=1', '31*1=31'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,65 unequal: No Solution Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,65 unequal: No Solution Exploring Operation: 71*31=2201, Resulting Numbers: [2201] 2201,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[71, 53, 83], Operations: ['52+31=83'] Exploring Operation: 83-71=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 65:[53, 12] Operation: 83-71=12 Exploring Operation: 71-53=18, Resulting Numbers: [83, 18] Generated Node #0,1,1: 65:[83, 18] Operation: 71-53=18 Exploring Operation: 71+53=124, Resulting Numbers: [83, 124] Generated Node #0,1,2: 65:[83, 124] Operation: 71+53=124 Exploring Operation: 83-53=30, Resulting Numbers: [71, 30] Generated Node #0,1,3: 65:[71, 30] Operation: 83-53=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[53, 12], Operations: ['52+31=83', '83-71=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[52, 31, 71, 53], Operations: [] Exploring Operation: 52+31=83, Resulting Numbers: [71, 53, 83] Generated Node #0,1: 65:[71, 53, 83] Operation: 52+31=83 Moving to Node #0,1 Current State: 65:[71, 53, 83], Operations: ['52+31=83'] Exploring Operation: 83-71=12, Resulting Numbers: [53, 12] Generated Node #0,1,0: 65:[53, 12] Operation: 83-71=12 Moving to Node #0,1,0 Current State: 65:[53, 12], Operations: ['52+31=83', '83-71=12'] Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.947049
hs_4
sum_heuristic
[ 61, 55, 2, 58 ]
32
[ "61-55=6", "58+6=64", "64/2=32" ]
Current State: 32:[61, 55, 2, 58], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [2, 58, 6] Generated Node #2: [2, 58, 6] from Operation: 61-55=6 Current State: 32:[2, 58, 6], Operations: ['61-55=6'] Exploring Operation: 58+6=64, Resulting Numbers: [2, 64] Generated Node #3: [2, 64] from Operation: 58+6=64 Current State: 32:[2, 64], Operations: ['61-55=6', '58+6=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[61, 55, 2, 58], Operations: [] Exploring Operation: 58-55=3, Resulting Numbers: [61, 2, 3] Generated Node #0,0: 32:[61, 2, 3] Operation: 58-55=3 Exploring Operation: 61-55=6, Resulting Numbers: [2, 58, 6] Generated Node #0,1: 32:[2, 58, 6] Operation: 61-55=6 Exploring Operation: 58/2=29, Resulting Numbers: [61, 55, 29] Generated Node #0,2: 32:[61, 55, 29] Operation: 58/2=29 Exploring Operation: 61-58=3, Resulting Numbers: [55, 2, 3] Generated Node #0,3: 32:[55, 2, 3] Operation: 61-58=3 Moving to Node #0,3 Current State: 32:[55, 2, 3], Operations: ['61-58=3'] Exploring Operation: 55-2=53, Resulting Numbers: [3, 53] Generated Node #0,3,0: 32:[3, 53] Operation: 55-2=53 Exploring Operation: 2+3=5, Resulting Numbers: [55, 5] Generated Node #0,3,1: 32:[55, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [55, 1] Generated Node #0,3,2: 32:[55, 1] Operation: 3-2=1 Exploring Operation: 55-3=52, Resulting Numbers: [2, 52] Generated Node #0,3,3: 32:[2, 52] Operation: 55-3=52 Moving to Node #0,1 Current State: 32:[2, 58, 6], Operations: ['61-55=6'] Exploring Operation: 58/2=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 32:[6, 29] Operation: 58/2=29 Exploring Operation: 2+6=8, Resulting Numbers: [58, 8] Generated Node #0,1,1: 32:[58, 8] Operation: 2+6=8 Exploring Operation: 58-2=56, Resulting Numbers: [6, 56] Generated Node #0,1,2: 32:[6, 56] Operation: 58-2=56 Exploring Operation: 58-6=52, Resulting Numbers: [2, 52] Generated Node #0,1,3: 32:[2, 52] Operation: 58-6=52 Moving to Node #0,0 Current State: 32:[61, 2, 3], Operations: ['58-55=3'] Exploring Operation: 3-2=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 32:[61, 1] Operation: 3-2=1 Exploring Operation: 61-2=59, Resulting Numbers: [3, 59] Generated Node #0,0,1: 32:[3, 59] Operation: 61-2=59 Exploring Operation: 61-3=58, Resulting Numbers: [2, 58] Generated Node #0,0,2: 32:[2, 58] Operation: 61-3=58 Exploring Operation: 2+3=5, Resulting Numbers: [61, 5] Generated Node #0,0,3: 32:[61, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[2, 58], Operations: ['58-55=3', '61-3=58'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,32 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[3, 59], Operations: ['58-55=3', '61-2=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,32 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[61, 1], Operations: ['58-55=3', '3-2=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[61, 5], Operations: ['58-55=3', '2+3=5'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,32 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,32 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: 32:[61, 55, 29], Operations: ['58/2=29'] Exploring Operation: 61-55=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 32:[29, 6] Operation: 61-55=6 Exploring Operation: 61-29=32, Resulting Numbers: [55, 32] Generated Node #0,2,1: 32:[55, 32] Operation: 61-29=32 Exploring Operation: 61+29=90, Resulting Numbers: [55, 90] Generated Node #0,2,2: 32:[55, 90] Operation: 61+29=90 Exploring Operation: 55-29=26, Resulting Numbers: [61, 26] Generated Node #0,2,3: 32:[61, 26] Operation: 55-29=26 Moving to Node #0,1,0 Current State: 32:[6, 29], Operations: ['61-55=6', '58/2=29'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[29, 6], Operations: ['58/2=29', '61-55=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,32 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[2, 52], Operations: ['61-55=6', '58-6=52'] Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[2, 52], Operations: ['61-58=3', '55-3=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,32 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[3, 53], Operations: ['61-58=3', '55-2=53'] Exploring Operation: 3*53=159, Resulting Numbers: [159] 159,32 unequal: No Solution Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 3+53=56, Resulting Numbers: [56] 56,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[55, 32], Operations: ['58/2=29', '61-29=32'] Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,32 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[55, 5], Operations: ['61-58=3', '2+3=5'] Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,32 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[55, 1], Operations: ['61-58=3', '3-2=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 55*1=55, Resulting Numbers: [55] 55,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[58, 8], Operations: ['61-55=6', '2+6=8'] Exploring Operation: 58*8=464, Resulting Numbers: [464] 464,32 unequal: No Solution Exploring Operation: 58+8=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[6, 56], Operations: ['61-55=6', '58-2=56'] Exploring Operation: 6*56=336, Resulting Numbers: [336] 336,32 unequal: No Solution Exploring Operation: 6+56=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[61, 26], Operations: ['58/2=29', '55-29=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[55, 90], Operations: ['58/2=29', '61+29=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 55+90=145, Resulting Numbers: [145] 145,32 unequal: No Solution Exploring Operation: 55*90=4950, Resulting Numbers: [4950] 4950,32 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 45, 8, 41, 61 ]
93
[ "45-41=4", "8*4=32", "61+32=93" ]
Current State: 93:[45, 8, 41, 61], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [8, 61, 4] Generated Node #2: [8, 61, 4] from Operation: 45-41=4 Current State: 93:[8, 61, 4], Operations: ['45-41=4'] Exploring Operation: 8*4=32, Resulting Numbers: [61, 32] Generated Node #3: [61, 32] from Operation: 8*4=32 Current State: 93:[61, 32], Operations: ['45-41=4', '8*4=32'] Exploring Operation: 61+32=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[45, 8, 41, 61], Operations: [] Exploring Operation: 41+61=102, Resulting Numbers: [45, 8, 102] Generated Node #0,0: 93:[45, 8, 102] Operation: 41+61=102 Exploring Operation: 45+61=106, Resulting Numbers: [8, 41, 106] Generated Node #0,1: 93:[8, 41, 106] Operation: 45+61=106 Exploring Operation: 61-45=16, Resulting Numbers: [8, 41, 16] Generated Node #0,2: 93:[8, 41, 16] Operation: 61-45=16 Moving to Node #0,0 Current State: 93:[45, 8, 102], Operations: ['41+61=102'] Exploring Operation: 45-8=37, Resulting Numbers: [102, 37] Generated Node #0,0,0: 93:[102, 37] Operation: 45-8=37 Exploring Operation: 102-8=94, Resulting Numbers: [45, 94] Generated Node #0,0,1: 93:[45, 94] Operation: 102-8=94 Exploring Operation: 45+8=53, Resulting Numbers: [102, 53] Generated Node #0,0,2: 93:[102, 53] Operation: 45+8=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[102, 37], Operations: ['41+61=102', '45-8=37'] Exploring Operation: 102*37=3774, Resulting Numbers: [3774] 3774,93 unequal: No Solution Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,93 unequal: No Solution Exploring Operation: 102+37=139, Resulting Numbers: [139] 139,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[45, 94], Operations: ['41+61=102', '102-8=94'] Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,93 unequal: No Solution Exploring Operation: 45*94=4230, Resulting Numbers: [4230] 4230,93 unequal: No Solution Exploring Operation: 45+94=139, Resulting Numbers: [139] 139,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[102, 53], Operations: ['41+61=102', '45+8=53'] Exploring Operation: 102+53=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 102*53=5406, Resulting Numbers: [5406] 5406,93 unequal: No Solution Exploring Operation: 102-53=49, Resulting Numbers: [49] 49,93 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: 93:[8, 41, 106], Operations: ['45+61=106'] Exploring Operation: 8+41=49, Resulting Numbers: [106, 49] Generated Node #0,1,0: 93:[106, 49] Operation: 8+41=49 Exploring Operation: 41-8=33, Resulting Numbers: [106, 33] Generated Node #0,1,1: 93:[106, 33] Operation: 41-8=33 Exploring Operation: 106-8=98, Resulting Numbers: [41, 98] Generated Node #0,1,2: 93:[41, 98] Operation: 106-8=98 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[106, 33], Operations: ['45+61=106', '41-8=33'] Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 106+33=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 106*33=3498, Resulting Numbers: [3498] 3498,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[41, 98], Operations: ['45+61=106', '106-8=98'] Exploring Operation: 98-41=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 41+98=139, Resulting Numbers: [139] 139,93 unequal: No Solution Exploring Operation: 41*98=4018, Resulting Numbers: [4018] 4018,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[106, 49], Operations: ['45+61=106', '8+41=49'] Exploring Operation: 106-49=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 106+49=155, Resulting Numbers: [155] 155,93 unequal: No Solution Exploring Operation: 106*49=5194, Resulting Numbers: [5194] 5194,93 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: 93:[8, 41, 16], Operations: ['61-45=16'] Exploring Operation: 16/8=2, Resulting Numbers: [41, 2] Generated Node #0,2,0: 93:[41, 2] Operation: 16/8=2 Exploring Operation: 41-8=33, Resulting Numbers: [16, 33] Generated Node #0,2,1: 93:[16, 33] Operation: 41-8=33 Exploring Operation: 41-16=25, Resulting Numbers: [8, 25] Generated Node #0,2,2: 93:[8, 25] Operation: 41-16=25 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[41, 2], Operations: ['61-45=16', '16/8=2'] Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,93 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,93 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,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,2 Current State: 93:[8, 25], Operations: ['61-45=16', '41-16=25'] Exploring Operation: 8+25=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 8*25=200, Resulting Numbers: [200] 200,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,1 Current State: 93:[16, 33], Operations: ['61-45=16', '41-8=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,93 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,93 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,93 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
[ 27, 58, 98, 60 ]
73
[ "27+58=85", "98+60=158", "158-85=73" ]
Current State: 73:[27, 58, 98, 60], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [98, 60, 85] Generated Node #2: [98, 60, 85] from Operation: 27+58=85 Current State: 73:[98, 60, 85], Operations: ['27+58=85'] Exploring Operation: 98+60=158, Resulting Numbers: [85, 158] Generated Node #3: [85, 158] from Operation: 98+60=158 Current State: 73:[85, 158], Operations: ['27+58=85', '98+60=158'] Exploring Operation: 158-85=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[27, 58, 98, 60], Operations: [] Exploring Operation: 27+60=87, Resulting Numbers: [58, 98, 87] Generated Node #0,0: 73:[58, 98, 87] Operation: 27+60=87 Exploring Operation: 98-27=71, Resulting Numbers: [58, 60, 71] Generated Node #0,1: 73:[58, 60, 71] Operation: 98-27=71 Exploring Operation: 27+58=85, Resulting Numbers: [98, 60, 85] Generated Node #0,2: 73:[98, 60, 85] Operation: 27+58=85 Moving to Node #0,1 Current State: 73:[58, 60, 71], Operations: ['98-27=71'] Exploring Operation: 60-58=2, Resulting Numbers: [71, 2] Generated Node #0,1,0: 73:[71, 2] Operation: 60-58=2 Exploring Operation: 58+60=118, Resulting Numbers: [71, 118] Generated Node #0,1,1: 73:[71, 118] Operation: 58+60=118 Exploring Operation: 58+71=129, Resulting Numbers: [60, 129] Generated Node #0,1,2: 73:[60, 129] Operation: 58+71=129 Moving to Node #0,2 Current State: 73:[98, 60, 85], Operations: ['27+58=85'] Exploring Operation: 98-60=38, Resulting Numbers: [85, 38] Generated Node #0,2,0: 73:[85, 38] Operation: 98-60=38 Exploring Operation: 98-85=13, Resulting Numbers: [60, 13] Generated Node #0,2,1: 73:[60, 13] Operation: 98-85=13 Exploring Operation: 85-60=25, Resulting Numbers: [98, 25] Generated Node #0,2,2: 73:[98, 25] Operation: 85-60=25 Moving to Node #0,0 Current State: 73:[58, 98, 87], Operations: ['27+60=87'] Exploring Operation: 87-58=29, Resulting Numbers: [98, 29] Generated Node #0,0,0: 73:[98, 29] Operation: 87-58=29 Exploring Operation: 98-58=40, Resulting Numbers: [87, 40] Generated Node #0,0,1: 73:[87, 40] Operation: 98-58=40 Exploring Operation: 98-87=11, Resulting Numbers: [58, 11] Generated Node #0,0,2: 73:[58, 11] Operation: 98-87=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[87, 40], Operations: ['27+60=87', '98-58=40'] Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,73 unequal: No Solution Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[98, 29], Operations: ['27+60=87', '87-58=29'] Exploring Operation: 98+29=127, Resulting Numbers: [127] 127,73 unequal: No Solution Exploring Operation: 98-29=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 98*29=2842, Resulting Numbers: [2842] 2842,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 73:[58, 11], Operations: ['27+60=87', '98-87=11'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 58*11=638, Resulting Numbers: [638] 638,73 unequal: No Solution Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,73 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: 73:[71, 118], Operations: ['98-27=71', '58+60=118'] Exploring Operation: 71+118=189, Resulting Numbers: [189] 189,73 unequal: No Solution Exploring Operation: 118-71=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 71*118=8378, Resulting Numbers: [8378] 8378,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[85, 38], Operations: ['27+58=85', '98-60=38'] Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,73 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,73 unequal: No Solution Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[60, 129], Operations: ['98-27=71', '58+71=129'] Exploring Operation: 60+129=189, Resulting Numbers: [189] 189,73 unequal: No Solution Exploring Operation: 60*129=7740, Resulting Numbers: [7740] 7740,73 unequal: No Solution Exploring Operation: 129-60=69, Resulting Numbers: [69] 69,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[71, 2], Operations: ['98-27=71', '60-58=2'] Exploring Operation: 71*2=142, Resulting Numbers: [142] 142,73 unequal: No Solution Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[27, 58, 98, 60], Operations: [] Exploring Operation: 98-27=71, Resulting Numbers: [58, 60, 71] Generated Node #0,1: 73:[58, 60, 71] Operation: 98-27=71 Moving to Node #0,1 Current State: 73:[58, 60, 71], Operations: ['98-27=71'] Exploring Operation: 60-58=2, Resulting Numbers: [71, 2] Generated Node #0,1,0: 73:[71, 2] Operation: 60-58=2 Moving to Node #0,1,0 Current State: 73:[71, 2], Operations: ['98-27=71', '60-58=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 20, 19, 63, 57 ]
13
[ "63+57=120", "120/20=6", "19-6=13" ]
Current State: 13:[20, 19, 63, 57], Operations: [] Exploring Operation: 63+57=120, Resulting Numbers: [20, 19, 120] Generated Node #2: [20, 19, 120] from Operation: 63+57=120 Current State: 13:[20, 19, 120], Operations: ['63+57=120'] Exploring Operation: 120/20=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 120/20=6 Current State: 13:[19, 6], Operations: ['63+57=120', '120/20=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[20, 19, 63, 57], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [19, 57, 43] Generated Node #0,0: 13:[19, 57, 43] Operation: 63-20=43 Exploring Operation: 57/19=3, Resulting Numbers: [20, 63, 3] Generated Node #0,1: 13:[20, 63, 3] Operation: 57/19=3 Exploring Operation: 57-20=37, Resulting Numbers: [19, 63, 37] Generated Node #0,2: 13:[19, 63, 37] Operation: 57-20=37 Exploring Operation: 63-57=6, Resulting Numbers: [20, 19, 6] Generated Node #0,3: 13:[20, 19, 6] Operation: 63-57=6 Moving to Node #0,3 Current State: 13:[20, 19, 6], Operations: ['63-57=6'] Exploring Operation: 20-19=1, Resulting Numbers: [6, 1] Generated Node #0,3,0: 13:[6, 1] Operation: 20-19=1 Exploring Operation: 20-6=14, Resulting Numbers: [19, 14] Generated Node #0,3,1: 13:[19, 14] Operation: 20-6=14 Exploring Operation: 19-6=13, Resulting Numbers: [20, 13] Generated Node #0,3,2: 13:[20, 13] Operation: 19-6=13 Exploring Operation: 20+6=26, Resulting Numbers: [19, 26] Generated Node #0,3,3: 13:[19, 26] Operation: 20+6=26 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[19, 14], Operations: ['63-57=6', '20-6=14'] Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,13 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[20, 13], Operations: ['63-57=6', '19-6=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,13 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[6, 1], Operations: ['63-57=6', '20-19=1'] Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[19, 26], Operations: ['63-57=6', '20+6=26'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,13 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: 13:[20, 63, 3], Operations: ['57/19=3'] Exploring Operation: 63/3=21, Resulting Numbers: [20, 21] Generated Node #0,1,0: 13:[20, 21] Operation: 63/3=21 Exploring Operation: 63-3=60, Resulting Numbers: [20, 60] Generated Node #0,1,1: 13:[20, 60] Operation: 63-3=60 Exploring Operation: 20-3=17, Resulting Numbers: [63, 17] Generated Node #0,1,2: 13:[63, 17] Operation: 20-3=17 Exploring Operation: 63-20=43, Resulting Numbers: [3, 43] Generated Node #0,1,3: 13:[3, 43] Operation: 63-20=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[20, 21], Operations: ['57/19=3', '63/3=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,13 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,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,1,3 Current State: 13:[3, 43], Operations: ['57/19=3', '63-20=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,13 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,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,1,1 Current State: 13:[20, 60], Operations: ['57/19=3', '63-3=60'] Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,13 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,13 unequal: No Solution Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,13 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,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,1,2 Current State: 13:[63, 17], Operations: ['57/19=3', '20-3=17'] Exploring Operation: 63+17=80, Resulting Numbers: [80] 80,13 unequal: No Solution Exploring Operation: 63*17=1071, Resulting Numbers: [1071] 1071,13 unequal: No Solution Exploring Operation: 63-17=46, Resulting Numbers: [46] 46,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 13:[19, 63, 37], Operations: ['57-20=37'] Exploring Operation: 63-19=44, Resulting Numbers: [37, 44] Generated Node #0,2,0: 13:[37, 44] Operation: 63-19=44 Exploring Operation: 37-19=18, Resulting Numbers: [63, 18] Generated Node #0,2,1: 13:[63, 18] Operation: 37-19=18 Exploring Operation: 19+63=82, Resulting Numbers: [37, 82] Generated Node #0,2,2: 13:[37, 82] Operation: 19+63=82 Exploring Operation: 63-37=26, Resulting Numbers: [19, 26] Generated Node #0,2,3: 13:[19, 26] Operation: 63-37=26 Moving to Node #0,0 Current State: 13:[19, 57, 43], Operations: ['63-20=43'] Exploring Operation: 57-43=14, Resulting Numbers: [19, 14] Generated Node #0,0,0: 13:[19, 14] Operation: 57-43=14 Exploring Operation: 57-19=38, Resulting Numbers: [43, 38] Generated Node #0,0,1: 13:[43, 38] Operation: 57-19=38 Exploring Operation: 43-19=24, Resulting Numbers: [57, 24] Generated Node #0,0,2: 13:[57, 24] Operation: 43-19=24 Exploring Operation: 57/19=3, Resulting Numbers: [43, 3] Generated Node #0,0,3: 13:[43, 3] Operation: 57/19=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[19, 14], Operations: ['63-20=43', '57-43=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,13 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[43, 3], Operations: ['63-20=43', '57/19=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,13 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,13 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,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:[43, 38], Operations: ['63-20=43', '57-19=38'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,13 unequal: No Solution Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[57, 24], Operations: ['63-20=43', '43-19=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,13 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,13 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 13:[19, 26], Operations: ['57-20=37', '63-37=26'] Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,13 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[63, 18], Operations: ['57-20=37', '37-19=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,13 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,13 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[37, 44], Operations: ['57-20=37', '63-19=44'] Exploring Operation: 37*44=1628, Resulting Numbers: [1628] 1628,13 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[37, 82], Operations: ['57-20=37', '19+63=82'] Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,13 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,13 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,13 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 4, 9, 69, 91 ]
94
[ "9+91=100", "100/4=25", "69+25=94" ]
Current State: 94:[4, 9, 69, 91], Operations: [] Exploring Operation: 9+91=100, Resulting Numbers: [4, 69, 100] Generated Node #2: [4, 69, 100] from Operation: 9+91=100 Current State: 94:[4, 69, 100], Operations: ['9+91=100'] Exploring Operation: 100/4=25, Resulting Numbers: [69, 25] Generated Node #3: [69, 25] from Operation: 100/4=25 Current State: 94:[69, 25], Operations: ['9+91=100', '100/4=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[4, 9, 69, 91], Operations: [] Exploring Operation: 69-9=60, Resulting Numbers: [4, 91, 60] Generated Node #0,0: 94:[4, 91, 60] Operation: 69-9=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[4, 91, 60], Operations: ['69-9=60'] Exploring Operation: 60-4=56, Resulting Numbers: [91, 56] Generated Node #0,0,0: 94:[91, 56] Operation: 60-4=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[91, 56], Operations: ['69-9=60', '60-4=56'] Exploring Operation: 91-56=35, Resulting Numbers: [35] 35,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 11, 56, 77, 43 ]
79
[ "56-11=45", "77-43=34", "45+34=79" ]
Current State: 79:[11, 56, 77, 43], Operations: [] Exploring Operation: 56-11=45, Resulting Numbers: [77, 43, 45] Generated Node #2: [77, 43, 45] from Operation: 56-11=45 Current State: 79:[77, 43, 45], Operations: ['56-11=45'] Exploring Operation: 77-43=34, Resulting Numbers: [45, 34] Generated Node #3: [45, 34] from Operation: 77-43=34 Current State: 79:[45, 34], Operations: ['56-11=45', '77-43=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[11, 56, 77, 43], Operations: [] Exploring Operation: 11+56=67, Resulting Numbers: [77, 43, 67] Generated Node #0,0: 79:[77, 43, 67] Operation: 11+56=67 Moving to Node #0,0 Current State: 79:[77, 43, 67], Operations: ['11+56=67'] Exploring Operation: 43+67=110, Resulting Numbers: [77, 110] Generated Node #0,0,0: 79:[77, 110] Operation: 43+67=110 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[77, 110], Operations: ['11+56=67', '43+67=110'] Exploring Operation: 110-77=33, Resulting Numbers: [33] 33,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 68, 34, 30 ]
14
[ "30-2=28", "68/34=2", "28/2=14" ]
Current State: 14:[2, 68, 34, 30], Operations: [] Exploring Operation: 30-2=28, Resulting Numbers: [68, 34, 28] Generated Node #2: [68, 34, 28] from Operation: 30-2=28 Current State: 14:[68, 34, 28], Operations: ['30-2=28'] Exploring Operation: 68/34=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 68/34=2 Current State: 14:[28, 2], Operations: ['30-2=28', '68/34=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[2, 68, 34, 30], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [2, 30, 2] Generated Node #0,0: 14:[2, 30, 2] Operation: 68/34=2 Exploring Operation: 68-34=34, Resulting Numbers: [2, 30, 34] Generated Node #0,1: 14:[2, 30, 34] Operation: 68-34=34 Exploring Operation: 68/2=34, Resulting Numbers: [34, 30, 34] Generated Node #0,2: 14:[34, 30, 34] Operation: 68/2=34 Exploring Operation: 68-30=38, Resulting Numbers: [2, 34, 38] Generated Node #0,3: 14:[2, 34, 38] Operation: 68-30=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[2, 30, 2], Operations: ['68/34=2'] Exploring Operation: 30/2=15, Resulting Numbers: [2, 15] Generated Node #0,0,0: 14:[2, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 14:[2, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [2, 15] Generated Node #0,0,2: 14:[2, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [2, 28] Generated Node #0,0,3: 14:[2, 28] Operation: 30-2=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[2, 15], Operations: ['68/34=2', '30/2=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[2, 15], Operations: ['68/34=2', '30/2=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[2, 28], Operations: ['68/34=2', '30-2=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,14 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[2, 68, 34, 30], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [2, 30, 2] Generated Node #0,0: 14:[2, 30, 2] Operation: 68/34=2 Moving to Node #0,0 Current State: 14:[2, 30, 2], Operations: ['68/34=2'] Exploring Operation: 30-2=28, Resulting Numbers: [2, 28] Generated Node #0,0,1: 14:[2, 28] Operation: 30-2=28 Moving to Node #0,0,1 Current State: 14:[2, 28], Operations: ['68/34=2', '30-2=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 59, 96, 9, 3 ]
94
[ "96+9=105", "105/3=35", "59+35=94" ]
Current State: 94:[59, 96, 9, 3], Operations: [] Exploring Operation: 96+9=105, Resulting Numbers: [59, 3, 105] Generated Node #2: [59, 3, 105] from Operation: 96+9=105 Current State: 94:[59, 3, 105], Operations: ['96+9=105'] Exploring Operation: 105/3=35, Resulting Numbers: [59, 35] Generated Node #3: [59, 35] from Operation: 105/3=35 Current State: 94:[59, 35], Operations: ['96+9=105', '105/3=35'] Exploring Operation: 59+35=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[59, 96, 9, 3], Operations: [] Exploring Operation: 59-9=50, Resulting Numbers: [96, 3, 50] Generated Node #0,0: 94:[96, 3, 50] Operation: 59-9=50 Exploring Operation: 9/3=3, Resulting Numbers: [59, 96, 3] Generated Node #0,1: 94:[59, 96, 3] Operation: 9/3=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[96, 3, 50], Operations: ['59-9=50'] Exploring Operation: 50-3=47, Resulting Numbers: [96, 47] Generated Node #0,0,0: 94:[96, 47] Operation: 50-3=47 Exploring Operation: 96-50=46, Resulting Numbers: [3, 46] Generated Node #0,0,1: 94:[3, 46] Operation: 96-50=46 Moving to Node #0,0,0 Current State: 94:[96, 47], Operations: ['59-9=50', '50-3=47'] Exploring Operation: 96+47=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 96-47=49, Resulting Numbers: [49] 49,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[3, 46], Operations: ['59-9=50', '96-50=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[59, 96, 3], Operations: ['9/3=3'] Exploring Operation: 96-59=37, Resulting Numbers: [3, 37] Generated Node #0,1,0: 94:[3, 37] Operation: 96-59=37 Exploring Operation: 59-3=56, Resulting Numbers: [96, 56] Generated Node #0,1,1: 94:[96, 56] Operation: 59-3=56 Moving to Node #0,1,0 Current State: 94:[3, 37], Operations: ['9/3=3', '96-59=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[96, 56], Operations: ['9/3=3', '59-3=56'] Exploring Operation: 96-56=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 96+56=152, Resulting Numbers: [152] 152,94 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
[ 80, 14, 67, 58 ]
46
[ "67-58=9", "14*9=126", "126-80=46" ]
Current State: 46:[80, 14, 67, 58], Operations: [] Exploring Operation: 67-58=9, Resulting Numbers: [80, 14, 9] Generated Node #2: [80, 14, 9] from Operation: 67-58=9 Current State: 46:[80, 14, 9], Operations: ['67-58=9'] Exploring Operation: 14*9=126, Resulting Numbers: [80, 126] Generated Node #3: [80, 126] from Operation: 14*9=126 Current State: 46:[80, 126], Operations: ['67-58=9', '14*9=126'] Exploring Operation: 126-80=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[80, 14, 67, 58], Operations: [] Exploring Operation: 80-67=13, Resulting Numbers: [14, 58, 13] Generated Node #0,0: 46:[14, 58, 13] Operation: 80-67=13 Exploring Operation: 80-58=22, Resulting Numbers: [14, 67, 22] Generated Node #0,1: 46:[14, 67, 22] Operation: 80-58=22 Exploring Operation: 67-58=9, Resulting Numbers: [80, 14, 9] Generated Node #0,2: 46:[80, 14, 9] Operation: 67-58=9 Moving to Node #0,0 Current State: 46:[14, 58, 13], Operations: ['80-67=13'] Exploring Operation: 58-14=44, Resulting Numbers: [13, 44] Generated Node #0,0,0: 46:[13, 44] Operation: 58-14=44 Exploring Operation: 58-13=45, Resulting Numbers: [14, 45] Generated Node #0,0,1: 46:[14, 45] Operation: 58-13=45 Exploring Operation: 14-13=1, Resulting Numbers: [58, 1] Generated Node #0,0,2: 46:[58, 1] Operation: 14-13=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[14, 45], Operations: ['80-67=13', '58-13=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,46 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[13, 44], Operations: ['80-67=13', '58-14=44'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,46 unequal: No Solution Exploring Operation: 13+44=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 13*44=572, Resulting Numbers: [572] 572,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[58, 1], Operations: ['80-67=13', '14-13=1'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 58/1=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 46:[14, 67, 22], Operations: ['80-58=22'] Exploring Operation: 22-14=8, Resulting Numbers: [67, 8] Generated Node #0,1,0: 46:[67, 8] Operation: 22-14=8 Exploring Operation: 67-22=45, Resulting Numbers: [14, 45] Generated Node #0,1,1: 46:[14, 45] Operation: 67-22=45 Exploring Operation: 67-14=53, Resulting Numbers: [22, 53] Generated Node #0,1,2: 46:[22, 53] Operation: 67-14=53 Moving to Node #0,2 Current State: 46:[80, 14, 9], Operations: ['67-58=9'] Exploring Operation: 14+9=23, Resulting Numbers: [80, 23] Generated Node #0,2,0: 46:[80, 23] Operation: 14+9=23 Exploring Operation: 80-14=66, Resulting Numbers: [9, 66] Generated Node #0,2,1: 46:[9, 66] Operation: 80-14=66 Exploring Operation: 80-9=71, Resulting Numbers: [14, 71] Generated Node #0,2,2: 46:[14, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[9, 66], Operations: ['67-58=9', '80-14=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[80, 23], Operations: ['67-58=9', '14+9=23'] Exploring Operation: 80+23=103, Resulting Numbers: [103] 103,46 unequal: No Solution Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 80*23=1840, Resulting Numbers: [1840] 1840,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[14, 71], Operations: ['67-58=9', '80-9=71'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 14+71=85, Resulting Numbers: [85] 85,46 unequal: No Solution Exploring Operation: 14*71=994, Resulting Numbers: [994] 994,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 46:[22, 53], Operations: ['80-58=22', '67-14=53'] Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,46 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[14, 45], Operations: ['80-58=22', '67-22=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,46 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,46 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[67, 8], Operations: ['80-58=22', '22-14=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,46 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,46 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 71, 97, 53, 68 ]
47
[ "71+97=168", "53+68=121", "168-121=47" ]
Current State: 47:[71, 97, 53, 68], Operations: [] Exploring Operation: 71+97=168, Resulting Numbers: [53, 68, 168] Generated Node #2: [53, 68, 168] from Operation: 71+97=168 Current State: 47:[53, 68, 168], Operations: ['71+97=168'] Exploring Operation: 53+68=121, Resulting Numbers: [168, 121] Generated Node #3: [168, 121] from Operation: 53+68=121 Current State: 47:[168, 121], Operations: ['71+97=168', '53+68=121'] Exploring Operation: 168-121=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[71, 97, 53, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [71, 53, 29] Generated Node #0,0: 47:[71, 53, 29] Operation: 97-68=29 Exploring Operation: 97-71=26, Resulting Numbers: [53, 68, 26] Generated Node #0,1: 47:[53, 68, 26] Operation: 97-71=26 Exploring Operation: 97-53=44, Resulting Numbers: [71, 68, 44] Generated Node #0,2: 47:[71, 68, 44] Operation: 97-53=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[71, 53, 29], Operations: ['97-68=29'] Exploring Operation: 53-29=24, Resulting Numbers: [71, 24] Generated Node #0,0,0: 47:[71, 24] Operation: 53-29=24 Exploring Operation: 71-29=42, Resulting Numbers: [53, 42] Generated Node #0,0,1: 47:[53, 42] Operation: 71-29=42 Exploring Operation: 71-53=18, Resulting Numbers: [29, 18] Generated Node #0,0,2: 47:[29, 18] Operation: 71-53=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[53, 42], Operations: ['97-68=29', '71-29=42'] Exploring Operation: 53*42=2226, Resulting Numbers: [2226] 2226,47 unequal: No Solution Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,47 unequal: No Solution Exploring Operation: 53+42=95, Resulting Numbers: [95] 95,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[71, 24], Operations: ['97-68=29', '53-29=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,47 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[71, 97, 53, 68], Operations: [] Exploring Operation: 97-68=29, Resulting Numbers: [71, 53, 29] Generated Node #0,0: 47:[71, 53, 29] Operation: 97-68=29 Moving to Node #0,0 Current State: 47:[71, 53, 29], Operations: ['97-68=29'] Exploring Operation: 53-29=24, Resulting Numbers: [71, 24] Generated Node #0,0,0: 47:[71, 24] Operation: 53-29=24 Moving to Node #0,0,0 Current State: 47:[71, 24], Operations: ['97-68=29', '53-29=24'] Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 1, 30, 5, 99 ]
46
[ "30-1=29", "5*29=145", "145-99=46" ]
Current State: 46:[1, 30, 5, 99], Operations: [] Exploring Operation: 30-1=29, Resulting Numbers: [5, 99, 29] Generated Node #2: [5, 99, 29] from Operation: 30-1=29 Current State: 46:[5, 99, 29], Operations: ['30-1=29'] Exploring Operation: 5*29=145, Resulting Numbers: [99, 145] Generated Node #3: [99, 145] from Operation: 5*29=145 Current State: 46:[99, 145], Operations: ['30-1=29', '5*29=145'] Exploring Operation: 145-99=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[1, 30, 5, 99], Operations: [] Exploring Operation: 99-30=69, Resulting Numbers: [1, 5, 69] Generated Node #0,0: 46:[1, 5, 69] Operation: 99-30=69 Exploring Operation: 99-5=94, Resulting Numbers: [1, 30, 94] Generated Node #0,1: 46:[1, 30, 94] Operation: 99-5=94 Exploring Operation: 30/5=6, Resulting Numbers: [1, 99, 6] Generated Node #0,2: 46:[1, 99, 6] Operation: 30/5=6 Exploring Operation: 30-5=25, Resulting Numbers: [1, 99, 25] Generated Node #0,3: 46:[1, 99, 25] Operation: 30-5=25 Exploring Operation: 30-1=29, Resulting Numbers: [5, 99, 29] Generated Node #0,4: 46:[5, 99, 29] Operation: 30-1=29 Moving to Node #0,0 Current State: 46:[1, 5, 69], Operations: ['99-30=69'] Exploring Operation: 5/1=5, Resulting Numbers: [69, 5] Generated Node #0,0,0: 46:[69, 5] Operation: 5/1=5 Exploring Operation: 1*5=5, Resulting Numbers: [69, 5] Generated Node #0,0,1: 46:[69, 5] Operation: 1*5=5 Exploring Operation: 69-5=64, Resulting Numbers: [1, 64] Generated Node #0,0,2: 46:[1, 64] Operation: 69-5=64 Exploring Operation: 69-1=68, Resulting Numbers: [5, 68] Generated Node #0,0,3: 46:[5, 68] Operation: 69-1=68 Exploring Operation: 5-1=4, Resulting Numbers: [69, 4] Generated Node #0,0,4: 46:[69, 4] Operation: 5-1=4 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 46:[1, 64], Operations: ['99-30=69', '69-5=64'] Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[5, 68], Operations: ['99-30=69', '69-1=68'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 5*68=340, Resulting Numbers: [340] 340,46 unequal: No Solution Exploring Operation: 5+68=73, Resulting Numbers: [73] 73,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 46:[69, 4], Operations: ['99-30=69', '5-1=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,46 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[69, 5], Operations: ['99-30=69', '5/1=5'] Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,46 unequal: No Solution Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 46:[69, 5], Operations: ['99-30=69', '1*5=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 69+5=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 69*5=345, Resulting Numbers: [345] 345,46 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: 46:[1, 99, 25], Operations: ['30-5=25'] Exploring Operation: 99-1=98, Resulting Numbers: [25, 98] Generated Node #0,3,0: 46:[25, 98] Operation: 99-1=98 Exploring Operation: 99-25=74, Resulting Numbers: [1, 74] Generated Node #0,3,1: 46:[1, 74] Operation: 99-25=74 Exploring Operation: 99/1=99, Resulting Numbers: [25, 99] Generated Node #0,3,2: 46:[25, 99] Operation: 99/1=99 Exploring Operation: 25-1=24, Resulting Numbers: [99, 24] Generated Node #0,3,3: 46:[99, 24] Operation: 25-1=24 Exploring Operation: 1*99=99, Resulting Numbers: [25, 99] Generated Node #0,3,4: 46:[25, 99] Operation: 1*99=99 Moving to Node #0,1 Current State: 46:[1, 30, 94], Operations: ['99-5=94'] Exploring Operation: 94-1=93, Resulting Numbers: [30, 93] Generated Node #0,1,0: 46:[30, 93] Operation: 94-1=93 Exploring Operation: 1*30=30, Resulting Numbers: [94, 30] Generated Node #0,1,1: 46:[94, 30] Operation: 1*30=30 Exploring Operation: 94-30=64, Resulting Numbers: [1, 64] Generated Node #0,1,2: 46:[1, 64] Operation: 94-30=64 Exploring Operation: 30/1=30, Resulting Numbers: [94, 30] Generated Node #0,1,3: 46:[94, 30] Operation: 30/1=30 Exploring Operation: 30-1=29, Resulting Numbers: [94, 29] Generated Node #0,1,4: 46:[94, 29] Operation: 30-1=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[1, 64], Operations: ['99-5=94', '94-30=64'] Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,46 unequal: No Solution Exploring Operation: 1+64=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 1*64=64, Resulting Numbers: [64] 64,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[30, 93], Operations: ['99-5=94', '94-1=93'] Exploring Operation: 30*93=2790, Resulting Numbers: [2790] 2790,46 unequal: No Solution Exploring Operation: 30+93=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 93-30=63, Resulting Numbers: [63] 63,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[94, 29], Operations: ['99-5=94', '30-1=29'] Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,46 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[94, 30], Operations: ['99-5=94', '1*30=30'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,46 unequal: No Solution Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[94, 30], Operations: ['99-5=94', '30/1=30'] Exploring Operation: 94-30=64, Resulting Numbers: [64] 64,46 unequal: No Solution Exploring Operation: 94+30=124, Resulting Numbers: [124] 124,46 unequal: No Solution Exploring Operation: 94*30=2820, Resulting Numbers: [2820] 2820,46 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: 46:[1, 99, 6], Operations: ['30/5=6'] Exploring Operation: 6-1=5, Resulting Numbers: [99, 5] Generated Node #0,2,0: 46:[99, 5] Operation: 6-1=5 Exploring Operation: 1*99=99, Resulting Numbers: [6, 99] Generated Node #0,2,1: 46:[6, 99] Operation: 1*99=99 Exploring Operation: 99/1=99, Resulting Numbers: [6, 99] Generated Node #0,2,2: 46:[6, 99] Operation: 99/1=99 Exploring Operation: 99-1=98, Resulting Numbers: [6, 98] Generated Node #0,2,3: 46:[6, 98] Operation: 99-1=98 Exploring Operation: 99-6=93, Resulting Numbers: [1, 93] Generated Node #0,2,4: 46:[1, 93] Operation: 99-6=93 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 46:[1, 93], Operations: ['30/5=6', '99-6=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[99, 5], Operations: ['30/5=6', '6-1=5'] Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,46 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 46:[6, 98], Operations: ['30/5=6', '99-1=98'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 6+98=104, Resulting Numbers: [104] 104,46 unequal: No Solution Exploring Operation: 6*98=588, Resulting Numbers: [588] 588,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 46:[6, 99], Operations: ['30/5=6', '1*99=99'] Exploring Operation: 6*99=594, Resulting Numbers: [594] 594,46 unequal: No Solution Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 6+99=105, Resulting Numbers: [105] 105,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[6, 99], Operations: ['30/5=6', '99/1=99'] Exploring Operation: 6+99=105, Resulting Numbers: [105] 105,46 unequal: No Solution Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,46 unequal: No Solution Exploring Operation: 6*99=594, Resulting Numbers: [594] 594,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 46:[5, 99, 29], Operations: ['30-1=29'] Exploring Operation: 99-5=94, Resulting Numbers: [29, 94] Generated Node #0,4,0: 46:[29, 94] Operation: 99-5=94 Exploring Operation: 99-29=70, Resulting Numbers: [5, 70] Generated Node #0,4,1: 46:[5, 70] Operation: 99-29=70 Exploring Operation: 5+29=34, Resulting Numbers: [99, 34] Generated Node #0,4,2: 46:[99, 34] Operation: 5+29=34 Exploring Operation: 5+99=104, Resulting Numbers: [29, 104] Generated Node #0,4,3: 46:[29, 104] Operation: 5+99=104 Exploring Operation: 29-5=24, Resulting Numbers: [99, 24] Generated Node #0,4,4: 46:[99, 24] Operation: 29-5=24 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 46:[5, 70], Operations: ['30-1=29', '99-29=70'] Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,46 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 46:[29, 94], Operations: ['30-1=29', '99-5=94'] Exploring Operation: 29*94=2726, Resulting Numbers: [2726] 2726,46 unequal: No Solution Exploring Operation: 29+94=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 46:[99, 24], Operations: ['30-1=29', '29-5=24'] Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,46 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[99, 34], Operations: ['30-1=29', '5+29=34'] Exploring Operation: 99-34=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 99*34=3366, Resulting Numbers: [3366] 3366,46 unequal: No Solution Exploring Operation: 99+34=133, Resulting Numbers: [133] 133,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 46:[29, 104], Operations: ['30-1=29', '5+99=104'] Exploring Operation: 104-29=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 29*104=3016, Resulting Numbers: [3016] 3016,46 unequal: No Solution Exploring Operation: 29+104=133, Resulting Numbers: [133] 133,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 46:[1, 74], Operations: ['30-5=25', '99-25=74'] Exploring Operation: 1+74=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,46 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[99, 24], Operations: ['30-5=25', '25-1=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,46 unequal: No Solution Exploring Operation: 99+24=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 99*24=2376, Resulting Numbers: [2376] 2376,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[25, 98], Operations: ['30-5=25', '99-1=98'] Exploring Operation: 25+98=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 25*98=2450, Resulting Numbers: [2450] 2450,46 unequal: No Solution Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[25, 99], Operations: ['30-5=25', '99/1=99'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 25*99=2475, Resulting Numbers: [2475] 2475,46 unequal: No Solution Exploring Operation: 25+99=124, Resulting Numbers: [124] 124,46 unequal: No Solution Moving to Node #0,3,4 Current State: 46:[25, 99], Operations: ['30-5=25', '1*99=99'] Exploring Operation: 25*99=2475, Resulting Numbers: [2475] 2475,46 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,46 unequal: No Solution Exploring Operation: 25+99=124, Resulting Numbers: [124] 124,46 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 34, 64, 13, 4 ]
26
[ "64+4=68", "68/34=2", "13*2=26" ]
Current State: 26:[34, 64, 13, 4], Operations: [] Exploring Operation: 64+4=68, Resulting Numbers: [34, 13, 68] Generated Node #2: [34, 13, 68] from Operation: 64+4=68 Current State: 26:[34, 13, 68], Operations: ['64+4=68'] Exploring Operation: 68/34=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 68/34=2 Current State: 26:[13, 2], Operations: ['64+4=68', '68/34=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[34, 64, 13, 4], Operations: [] Exploring Operation: 64-34=30, Resulting Numbers: [13, 4, 30] Generated Node #0,0: 26:[13, 4, 30] Operation: 64-34=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[13, 4, 30], Operations: ['64-34=30'] Exploring Operation: 30-4=26, Resulting Numbers: [13, 26] Generated Node #0,0,0: 26:[13, 26] Operation: 30-4=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[13, 26], Operations: ['64-34=30', '30-4=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 96, 51, 22 ]
29
[ "96-52=44", "51+22=73", "73-44=29" ]
Current State: 29:[52, 96, 51, 22], Operations: [] Exploring Operation: 96-52=44, Resulting Numbers: [51, 22, 44] Generated Node #2: [51, 22, 44] from Operation: 96-52=44 Current State: 29:[51, 22, 44], Operations: ['96-52=44'] Exploring Operation: 51+22=73, Resulting Numbers: [44, 73] Generated Node #3: [44, 73] from Operation: 51+22=73 Current State: 29:[44, 73], Operations: ['96-52=44', '51+22=73'] Exploring Operation: 73-44=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[52, 96, 51, 22], Operations: [] Exploring Operation: 96-51=45, Resulting Numbers: [52, 22, 45] Generated Node #0,0: 29:[52, 22, 45] Operation: 96-51=45 Exploring Operation: 96-52=44, Resulting Numbers: [51, 22, 44] Generated Node #0,1: 29:[51, 22, 44] Operation: 96-52=44 Moving to Node #0,1 Current State: 29:[51, 22, 44], Operations: ['96-52=44'] Exploring Operation: 51-44=7, Resulting Numbers: [22, 7] Generated Node #0,1,0: 29:[22, 7] Operation: 51-44=7 Exploring Operation: 51-22=29, Resulting Numbers: [44, 29] Generated Node #0,1,1: 29:[44, 29] Operation: 51-22=29 Moving to Node #0,0 Current State: 29:[52, 22, 45], Operations: ['96-51=45'] Exploring Operation: 52-22=30, Resulting Numbers: [45, 30] Generated Node #0,0,0: 29:[45, 30] Operation: 52-22=30 Exploring Operation: 52-45=7, Resulting Numbers: [22, 7] Generated Node #0,0,1: 29:[22, 7] Operation: 52-45=7 Moving to Node #0,1,1 Current State: 29:[44, 29], Operations: ['96-52=44', '51-22=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[45, 30], Operations: ['96-51=45', '52-22=30'] Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[22, 7], Operations: ['96-52=44', '51-44=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[52, 96, 51, 22], Operations: [] Exploring Operation: 96-52=44, Resulting Numbers: [51, 22, 44] Generated Node #0,1: 29:[51, 22, 44] Operation: 96-52=44 Moving to Node #0,1 Current State: 29:[51, 22, 44], Operations: ['96-52=44'] Exploring Operation: 51-44=7, Resulting Numbers: [22, 7] Generated Node #0,1,0: 29:[22, 7] Operation: 51-44=7 Moving to Node #0,1,0 Current State: 29:[22, 7], Operations: ['96-52=44', '51-44=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 70, 83, 48, 76 ]
58
[ "83*48=3984", "76+3984=4060", "4060/70=58" ]
Current State: 58:[70, 83, 48, 76], Operations: [] Exploring Operation: 83*48=3984, Resulting Numbers: [70, 76, 3984] Generated Node #2: [70, 76, 3984] from Operation: 83*48=3984 Current State: 58:[70, 76, 3984], Operations: ['83*48=3984'] Exploring Operation: 76+3984=4060, Resulting Numbers: [70, 4060] Generated Node #3: [70, 4060] from Operation: 76+3984=4060 Current State: 58:[70, 4060], Operations: ['83*48=3984', '76+3984=4060'] Exploring Operation: 4060/70=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 83, 48, 76], Operations: [] Exploring Operation: 83-48=35, Resulting Numbers: [70, 76, 35] Generated Node #0,0: 58:[70, 76, 35] Operation: 83-48=35 Exploring Operation: 76-48=28, Resulting Numbers: [70, 83, 28] Generated Node #0,1: 58:[70, 83, 28] Operation: 76-48=28 Exploring Operation: 83-76=7, Resulting Numbers: [70, 48, 7] Generated Node #0,2: 58:[70, 48, 7] Operation: 83-76=7 Moving to Node #0,2 Current State: 58:[70, 48, 7], Operations: ['83-76=7'] Exploring Operation: 70-7=63, Resulting Numbers: [48, 63] Generated Node #0,2,0: 58:[48, 63] Operation: 70-7=63 Exploring Operation: 48+7=55, Resulting Numbers: [70, 55] Generated Node #0,2,1: 58:[70, 55] Operation: 48+7=55 Exploring Operation: 70-48=22, Resulting Numbers: [7, 22] Generated Node #0,2,2: 58:[7, 22] Operation: 70-48=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[7, 22], Operations: ['83-76=7', '70-48=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,58 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,58 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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,2,0 Current State: 58:[48, 63], Operations: ['83-76=7', '70-7=63'] Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,58 unequal: No Solution Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,58 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,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,2,1 Current State: 58:[70, 55], Operations: ['83-76=7', '48+7=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,58 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,58 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,58 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: 58:[70, 76, 35], Operations: ['83-48=35'] Exploring Operation: 76-70=6, Resulting Numbers: [35, 6] Generated Node #0,0,0: 58:[35, 6] Operation: 76-70=6 Exploring Operation: 70-35=35, Resulting Numbers: [76, 35] Generated Node #0,0,1: 58:[76, 35] Operation: 70-35=35 Exploring Operation: 70/35=2, Resulting Numbers: [76, 2] Generated Node #0,0,2: 58:[76, 2] Operation: 70/35=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[35, 6], Operations: ['83-48=35', '76-70=6'] Exploring Operation: 35*6=210, Resulting Numbers: [210] 210,58 unequal: No Solution Exploring Operation: 35+6=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[76, 2], Operations: ['83-48=35', '70/35=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,58 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[76, 35], Operations: ['83-48=35', '70-35=35'] Exploring Operation: 76+35=111, Resulting Numbers: [111] 111,58 unequal: No Solution Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 76*35=2660, Resulting Numbers: [2660] 2660,58 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: 58:[70, 83, 28], Operations: ['76-48=28'] Exploring Operation: 83-70=13, Resulting Numbers: [28, 13] Generated Node #0,1,0: 58:[28, 13] Operation: 83-70=13 Exploring Operation: 83-28=55, Resulting Numbers: [70, 55] Generated Node #0,1,1: 58:[70, 55] Operation: 83-28=55 Exploring Operation: 70-28=42, Resulting Numbers: [83, 42] Generated Node #0,1,2: 58:[83, 42] Operation: 70-28=42 Moving to Node #0,1,0 Current State: 58:[28, 13], Operations: ['76-48=28', '83-70=13'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,58 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[70, 55], Operations: ['76-48=28', '83-28=55'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,58 unequal: No Solution Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,58 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[83, 42], Operations: ['76-48=28', '70-28=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 83*42=3486, Resulting Numbers: [3486] 3486,58 unequal: No Solution Exploring Operation: 83+42=125, Resulting Numbers: [125] 125,58 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 47, 49, 51 ]
69
[ "49-47=2", "60*2=120", "120-51=69" ]
Current State: 69:[60, 47, 49, 51], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [60, 51, 2] Generated Node #2: [60, 51, 2] from Operation: 49-47=2 Current State: 69:[60, 51, 2], Operations: ['49-47=2'] Exploring Operation: 60*2=120, Resulting Numbers: [51, 120] Generated Node #3: [51, 120] from Operation: 60*2=120 Current State: 69:[51, 120], Operations: ['49-47=2', '60*2=120'] Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[60, 47, 49, 51], Operations: [] Exploring Operation: 49-47=2, Resulting Numbers: [60, 51, 2] Generated Node #0,0: 69:[60, 51, 2] Operation: 49-47=2 Moving to Node #0,0 Current State: 69:[60, 51, 2], Operations: ['49-47=2'] Exploring Operation: 60-51=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 69:[2, 9] Operation: 60-51=9 Moving to Node #0,0,0 Current State: 69:[2, 9], Operations: ['49-47=2', '60-51=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,69 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 78, 70, 89, 4 ]
26
[ "89-78=11", "4*11=44", "70-44=26" ]
Current State: 26:[78, 70, 89, 4], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [70, 4, 11] Generated Node #2: [70, 4, 11] from Operation: 89-78=11 Current State: 26:[70, 4, 11], Operations: ['89-78=11'] Exploring Operation: 4*11=44, Resulting Numbers: [70, 44] Generated Node #3: [70, 44] from Operation: 4*11=44 Current State: 26:[70, 44], Operations: ['89-78=11', '4*11=44'] Exploring Operation: 70-44=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[78, 70, 89, 4], Operations: [] Exploring Operation: 89-70=19, Resulting Numbers: [78, 4, 19] Generated Node #0,0: 26:[78, 4, 19] Operation: 89-70=19 Exploring Operation: 78-70=8, Resulting Numbers: [89, 4, 8] Generated Node #0,1: 26:[89, 4, 8] Operation: 78-70=8 Exploring Operation: 89-78=11, Resulting Numbers: [70, 4, 11] Generated Node #0,2: 26:[70, 4, 11] Operation: 89-78=11 Exploring Operation: 78-4=74, Resulting Numbers: [70, 89, 74] Generated Node #0,3: 26:[70, 89, 74] Operation: 78-4=74 Moving to Node #0,2 Current State: 26:[70, 4, 11], Operations: ['89-78=11'] Exploring Operation: 4+11=15, Resulting Numbers: [70, 15] Generated Node #0,2,0: 26:[70, 15] Operation: 4+11=15 Exploring Operation: 70-11=59, Resulting Numbers: [4, 59] Generated Node #0,2,1: 26:[4, 59] Operation: 70-11=59 Exploring Operation: 70-4=66, Resulting Numbers: [11, 66] Generated Node #0,2,2: 26:[11, 66] Operation: 70-4=66 Exploring Operation: 11-4=7, Resulting Numbers: [70, 7] Generated Node #0,2,3: 26:[70, 7] Operation: 11-4=7 Moving to Node #0,0 Current State: 26:[78, 4, 19], Operations: ['89-70=19'] Exploring Operation: 4+19=23, Resulting Numbers: [78, 23] Generated Node #0,0,0: 26:[78, 23] Operation: 4+19=23 Exploring Operation: 78-4=74, Resulting Numbers: [19, 74] Generated Node #0,0,1: 26:[19, 74] Operation: 78-4=74 Exploring Operation: 19-4=15, Resulting Numbers: [78, 15] Generated Node #0,0,2: 26:[78, 15] Operation: 19-4=15 Exploring Operation: 78-19=59, Resulting Numbers: [4, 59] Generated Node #0,0,3: 26:[4, 59] Operation: 78-19=59 Moving to Node #0,1 Current State: 26:[89, 4, 8], Operations: ['78-70=8'] Exploring Operation: 4+8=12, Resulting Numbers: [89, 12] Generated Node #0,1,0: 26:[89, 12] Operation: 4+8=12 Exploring Operation: 89-8=81, Resulting Numbers: [4, 81] Generated Node #0,1,1: 26:[4, 81] Operation: 89-8=81 Exploring Operation: 89-4=85, Resulting Numbers: [8, 85] Generated Node #0,1,2: 26:[8, 85] Operation: 89-4=85 Exploring Operation: 8/4=2, Resulting Numbers: [89, 2] Generated Node #0,1,3: 26:[89, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[4, 81], Operations: ['78-70=8', '89-8=81'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 4*81=324, Resulting Numbers: [324] 324,26 unequal: No Solution Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 26:[89, 2], Operations: ['78-70=8', '8/4=2'] Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,26 unequal: No Solution Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,26 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[89, 12], Operations: ['78-70=8', '4+8=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,26 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[8, 85], Operations: ['78-70=8', '89-4=85'] Exploring Operation: 8*85=680, Resulting Numbers: [680] 680,26 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 8+85=93, Resulting Numbers: [93] 93,26 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: 26:[70, 89, 74], Operations: ['78-4=74'] Exploring Operation: 89-70=19, Resulting Numbers: [74, 19] Generated Node #0,3,0: 26:[74, 19] Operation: 89-70=19 Exploring Operation: 70+89=159, Resulting Numbers: [74, 159] Generated Node #0,3,1: 26:[74, 159] Operation: 70+89=159 Exploring Operation: 89-74=15, Resulting Numbers: [70, 15] Generated Node #0,3,2: 26:[70, 15] Operation: 89-74=15 Exploring Operation: 74-70=4, Resulting Numbers: [89, 4] Generated Node #0,3,3: 26:[89, 4] Operation: 74-70=4 Moving to Node #0,2,1 Current State: 26:[4, 59], Operations: ['89-78=11', '70-11=59'] Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,26 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[4, 59], Operations: ['89-70=19', '78-19=59'] Exploring Operation: 4+59=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 4*59=236, Resulting Numbers: [236] 236,26 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[11, 66], Operations: ['89-78=11', '70-4=66'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,26 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,26 unequal: No Solution Moving to Node #0,2,0 Current State: 26:[70, 15], Operations: ['89-78=11', '4+11=15'] Exploring Operation: 70*15=1050, Resulting Numbers: [1050] 1050,26 unequal: No Solution Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,26 unequal: No Solution Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[70, 15], Operations: ['78-4=74', '89-74=15'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 70*15=1050, Resulting Numbers: [1050] 1050,26 unequal: No Solution Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,26 unequal: No Solution Moving to Node #0,2,3 Current State: 26:[70, 7], Operations: ['89-78=11', '11-4=7'] Exploring Operation: 70*7=490, Resulting Numbers: [490] 490,26 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[78, 15], Operations: ['89-70=19', '19-4=15'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,26 unequal: No Solution Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[19, 74], Operations: ['89-70=19', '78-4=74'] Exploring Operation: 19+74=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 19*74=1406, Resulting Numbers: [1406] 1406,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[74, 19], Operations: ['78-4=74', '89-70=19'] Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[78, 23], Operations: ['89-70=19', '4+19=23'] Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,26 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,26 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[89, 4], Operations: ['78-4=74', '74-70=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,26 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,26 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[74, 159], Operations: ['78-4=74', '70+89=159'] Exploring Operation: 74*159=11766, Resulting Numbers: [11766] 11766,26 unequal: No Solution Exploring Operation: 74+159=233, Resulting Numbers: [233] 233,26 unequal: No Solution Exploring Operation: 159-74=85, Resulting Numbers: [85] 85,26 unequal: No Solution No solution found.
0
hs_4
mult_heuristic