Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 42, 12, 27, 78 ]
39
[ "42+12=54", "27*78=2106", "2106/54=39" ]
Current State: 39:[42, 12, 27, 78], Operations: [] Exploring Operation: 42+12=54, Resulting Numbers: [27, 78, 54] Generated Node #2: [27, 78, 54] from Operation: 42+12=54 Current State: 39:[27, 78, 54], Operations: ['42+12=54'] Exploring Operation: 27*78=2106, Resulting Numbers: [54, 2106] Generated Node #3: [54, 2106] from Operation: 27*78=2106 Current State: 39:[54, 2106], Operations: ['42+12=54', '27*78=2106'] Exploring Operation: 2106/54=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[42, 12, 27, 78], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [12, 27, 36] Generated Node #0,0: 39:[12, 27, 36] Operation: 78-42=36 Exploring Operation: 42-27=15, Resulting Numbers: [12, 78, 15] Generated Node #0,1: 39:[12, 78, 15] Operation: 42-27=15 Exploring Operation: 78-27=51, Resulting Numbers: [42, 12, 51] Generated Node #0,2: 39:[42, 12, 51] Operation: 78-27=51 Exploring Operation: 12+27=39, Resulting Numbers: [42, 78, 39] Generated Node #0,3: 39:[42, 78, 39] Operation: 12+27=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[12, 27, 36], Operations: ['78-42=36'] Exploring Operation: 36-27=9, Resulting Numbers: [12, 9] Generated Node #0,0,0: 39:[12, 9] Operation: 36-27=9 Exploring Operation: 36/12=3, Resulting Numbers: [27, 3] Generated Node #0,0,1: 39:[27, 3] Operation: 36/12=3 Exploring Operation: 12+27=39, Resulting Numbers: [36, 39] Generated Node #0,0,2: 39:[36, 39] Operation: 12+27=39 Exploring Operation: 27-12=15, Resulting Numbers: [36, 15] Generated Node #0,0,3: 39:[36, 15] Operation: 27-12=15 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[36, 39], Operations: ['78-42=36', '12+27=39'] Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,39 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,39 unequal: No Solution No 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: 39:[12, 9], Operations: ['78-42=36', '36-27=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,39 unequal: No Solution No 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: 39:[36, 15], Operations: ['78-42=36', '27-12=15'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 36+15=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 36*15=540, Resulting Numbers: [540] 540,39 unequal: No Solution No 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: 39:[27, 3], Operations: ['78-42=36', '36/12=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,39 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: 39:[42, 12, 51], Operations: ['78-27=51'] Exploring Operation: 51-12=39, Resulting Numbers: [42, 39] Generated Node #0,2,0: 39:[42, 39] Operation: 51-12=39 Exploring Operation: 42-12=30, Resulting Numbers: [51, 30] Generated Node #0,2,1: 39:[51, 30] Operation: 42-12=30 Exploring Operation: 42+12=54, Resulting Numbers: [51, 54] Generated Node #0,2,2: 39:[51, 54] Operation: 42+12=54 Exploring Operation: 51-42=9, Resulting Numbers: [12, 9] Generated Node #0,2,3: 39:[12, 9] Operation: 51-42=9 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[42, 39], Operations: ['78-27=51', '51-12=39'] Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,39 unequal: No Solution Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,39 unequal: No Solution No 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: 39:[12, 9], Operations: ['78-27=51', '51-42=9'] Exploring Operation: 12*9=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,39 unequal: No Solution No 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: 39:[51, 30], Operations: ['78-27=51', '42-12=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,39 unequal: No Solution No 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: 39:[51, 54], Operations: ['78-27=51', '42+12=54'] Exploring Operation: 54-51=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 51*54=2754, Resulting Numbers: [2754] 2754,39 unequal: No Solution Exploring Operation: 51+54=105, Resulting Numbers: [105] 105,39 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: 39:[12, 78, 15], Operations: ['42-27=15'] Exploring Operation: 78-15=63, Resulting Numbers: [12, 63] Generated Node #0,1,0: 39:[12, 63] Operation: 78-15=63 Exploring Operation: 15-12=3, Resulting Numbers: [78, 3] Generated Node #0,1,1: 39:[78, 3] Operation: 15-12=3 Exploring Operation: 78-12=66, Resulting Numbers: [15, 66] Generated Node #0,1,2: 39:[15, 66] Operation: 78-12=66 Exploring Operation: 12+15=27, Resulting Numbers: [78, 27] Generated Node #0,1,3: 39:[78, 27] Operation: 12+15=27 Moving to Node #0,1,0 Current State: 39:[12, 63], Operations: ['42-27=15', '78-15=63'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 12+63=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 12*63=756, Resulting Numbers: [756] 756,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[15, 66], Operations: ['42-27=15', '78-12=66'] Exploring Operation: 15*66=990, Resulting Numbers: [990] 990,39 unequal: No Solution Exploring Operation: 15+66=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[78, 3], Operations: ['42-27=15', '15-12=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,39 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,39 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[78, 27], Operations: ['42-27=15', '12+15=27'] Exploring Operation: 78+27=105, Resulting Numbers: [105] 105,39 unequal: No Solution Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,39 unequal: No Solution Exploring Operation: 78*27=2106, Resulting Numbers: [2106] 2106,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[42, 78, 39], Operations: ['12+27=39'] Exploring Operation: 42-39=3, Resulting Numbers: [78, 3] Generated Node #0,3,0: 39:[78, 3] Operation: 42-39=3 Exploring Operation: 78-39=39, Resulting Numbers: [42, 39] Generated Node #0,3,1: 39:[42, 39] Operation: 78-39=39 Exploring Operation: 78-42=36, Resulting Numbers: [39, 36] Generated Node #0,3,2: 39:[39, 36] Operation: 78-42=36 Exploring Operation: 78/39=2, Resulting Numbers: [42, 2] Generated Node #0,3,3: 39:[42, 2] Operation: 78/39=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[42, 39], Operations: ['12+27=39', '78-39=39'] Exploring Operation: 42+39=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 42*39=1638, Resulting Numbers: [1638] 1638,39 unequal: No Solution No 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: 39:[39, 36], Operations: ['12+27=39', '78-42=36'] Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,39 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,39 unequal: No Solution No 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: 39:[42, 2], Operations: ['12+27=39', '78/39=2'] Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,39 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,39 unequal: No Solution No 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: 39:[78, 3], Operations: ['12+27=39', '42-39=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,39 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 59, 80, 53, 90 ]
95
[ "59-53=6", "90/6=15", "80+15=95" ]
Current State: 95:[59, 80, 53, 90], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [80, 90, 6] Generated Node #2: [80, 90, 6] from Operation: 59-53=6 Current State: 95:[80, 90, 6], Operations: ['59-53=6'] Exploring Operation: 90/6=15, Resulting Numbers: [80, 15] Generated Node #3: [80, 15] from Operation: 90/6=15 Current State: 95:[80, 15], Operations: ['59-53=6', '90/6=15'] Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[59, 80, 53, 90], Operations: [] Exploring Operation: 59+53=112, Resulting Numbers: [80, 90, 112] Generated Node #0,0: 95:[80, 90, 112] Operation: 59+53=112 Exploring Operation: 59-53=6, Resulting Numbers: [80, 90, 6] Generated Node #0,1: 95:[80, 90, 6] Operation: 59-53=6 Exploring Operation: 80-59=21, Resulting Numbers: [53, 90, 21] Generated Node #0,2: 95:[53, 90, 21] Operation: 80-59=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[80, 90, 6], Operations: ['59-53=6'] Exploring Operation: 90+6=96, Resulting Numbers: [80, 96] Generated Node #0,1,0: 95:[80, 96] Operation: 90+6=96 Exploring Operation: 80+6=86, Resulting Numbers: [90, 86] Generated Node #0,1,1: 95:[90, 86] Operation: 80+6=86 Exploring Operation: 90-80=10, Resulting Numbers: [6, 10] Generated Node #0,1,2: 95:[6, 10] Operation: 90-80=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[6, 10], Operations: ['59-53=6', '90-80=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,95 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[90, 86], Operations: ['59-53=6', '80+6=86'] Exploring Operation: 90*86=7740, Resulting Numbers: [7740] 7740,95 unequal: No Solution Exploring Operation: 90+86=176, Resulting Numbers: [176] 176,95 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[80, 96], Operations: ['59-53=6', '90+6=96'] Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,95 unequal: No Solution Exploring Operation: 80*96=7680, Resulting Numbers: [7680] 7680,95 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[80, 90, 112], Operations: ['59+53=112'] Exploring Operation: 90-80=10, Resulting Numbers: [112, 10] Generated Node #0,0,0: 95:[112, 10] Operation: 90-80=10 Exploring Operation: 112-90=22, Resulting Numbers: [80, 22] Generated Node #0,0,1: 95:[80, 22] Operation: 112-90=22 Exploring Operation: 112-80=32, Resulting Numbers: [90, 32] Generated Node #0,0,2: 95:[90, 32] Operation: 112-80=32 Moving to Node #0,0,1 Current State: 95:[80, 22], Operations: ['59+53=112', '112-90=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 80+22=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 80*22=1760, Resulting Numbers: [1760] 1760,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[90, 32], Operations: ['59+53=112', '112-80=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[112, 10], Operations: ['59+53=112', '90-80=10'] Exploring Operation: 112*10=1120, Resulting Numbers: [1120] 1120,95 unequal: No Solution Exploring Operation: 112+10=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 112-10=102, Resulting Numbers: [102] 102,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[53, 90, 21], Operations: ['80-59=21'] Exploring Operation: 53+21=74, Resulting Numbers: [90, 74] Generated Node #0,2,0: 95:[90, 74] Operation: 53+21=74 Exploring Operation: 90-53=37, Resulting Numbers: [21, 37] Generated Node #0,2,1: 95:[21, 37] Operation: 90-53=37 Exploring Operation: 53-21=32, Resulting Numbers: [90, 32] Generated Node #0,2,2: 95:[90, 32] Operation: 53-21=32 Moving to Node #0,2,2 Current State: 95:[90, 32], Operations: ['80-59=21', '53-21=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,95 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[21, 37], Operations: ['80-59=21', '90-53=37'] Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,95 unequal: No Solution Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,95 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,95 unequal: No Solution Moving to Node #0,2,0 Current State: 95:[90, 74], Operations: ['80-59=21', '53+21=74'] Exploring Operation: 90+74=164, Resulting Numbers: [164] 164,95 unequal: No Solution Exploring Operation: 90-74=16, Resulting Numbers: [16] 16,95 unequal: No Solution Exploring Operation: 90*74=6660, Resulting Numbers: [6660] 6660,95 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
[ 5, 93, 99, 97 ]
31
[ "99-5=94", "97-94=3", "93/3=31" ]
Current State: 31:[5, 93, 99, 97], Operations: [] Exploring Operation: 99-5=94, Resulting Numbers: [93, 97, 94] Generated Node #2: [93, 97, 94] from Operation: 99-5=94 Current State: 31:[93, 97, 94], Operations: ['99-5=94'] Exploring Operation: 97-94=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 97-94=3 Current State: 31:[93, 3], Operations: ['99-5=94', '97-94=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[5, 93, 99, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [5, 93, 2] Generated Node #0,0: 31:[5, 93, 2] Operation: 99-97=2 Exploring Operation: 97-93=4, Resulting Numbers: [5, 99, 4] Generated Node #0,1: 31:[5, 99, 4] Operation: 97-93=4 Exploring Operation: 99-93=6, Resulting Numbers: [5, 97, 6] Generated Node #0,2: 31:[5, 97, 6] Operation: 99-93=6 Moving to Node #0,0 Current State: 31:[5, 93, 2], Operations: ['99-97=2'] Exploring Operation: 93-5=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 31:[2, 88] Operation: 93-5=88 Exploring Operation: 5*2=10, Resulting Numbers: [93, 10] Generated Node #0,0,1: 31:[93, 10] Operation: 5*2=10 Exploring Operation: 5+2=7, Resulting Numbers: [93, 7] Generated Node #0,0,2: 31:[93, 7] Operation: 5+2=7 Moving to Node #0,2 Current State: 31:[5, 97, 6], Operations: ['99-93=6'] Exploring Operation: 5*6=30, Resulting Numbers: [97, 30] Generated Node #0,2,0: 31:[97, 30] Operation: 5*6=30 Exploring Operation: 97-5=92, Resulting Numbers: [6, 92] Generated Node #0,2,1: 31:[6, 92] Operation: 97-5=92 Exploring Operation: 5+6=11, Resulting Numbers: [97, 11] Generated Node #0,2,2: 31:[97, 11] Operation: 5+6=11 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[97, 30], Operations: ['99-93=6', '5*6=30'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,31 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[6, 92], Operations: ['99-93=6', '97-5=92'] Exploring Operation: 6*92=552, Resulting Numbers: [552] 552,31 unequal: No Solution Exploring Operation: 6+92=98, Resulting Numbers: [98] 98,31 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[97, 11], Operations: ['99-93=6', '5+6=11'] Exploring Operation: 97*11=1067, Resulting Numbers: [1067] 1067,31 unequal: No Solution Exploring Operation: 97+11=108, Resulting Numbers: [108] 108,31 unequal: No Solution Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,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:[5, 99, 4], Operations: ['97-93=4'] Exploring Operation: 99-5=94, Resulting Numbers: [4, 94] Generated Node #0,1,0: 31:[4, 94] Operation: 99-5=94 Exploring Operation: 5+4=9, Resulting Numbers: [99, 9] Generated Node #0,1,1: 31:[99, 9] Operation: 5+4=9 Exploring Operation: 5*4=20, Resulting Numbers: [99, 20] Generated Node #0,1,2: 31:[99, 20] Operation: 5*4=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[99, 20], Operations: ['97-93=4', '5*4=20'] Exploring Operation: 99+20=119, Resulting Numbers: [119] 119,31 unequal: No Solution Exploring Operation: 99-20=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 99*20=1980, Resulting Numbers: [1980] 1980,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[4, 94], Operations: ['97-93=4', '99-5=94'] Exploring Operation: 4+94=98, Resulting Numbers: [98] 98,31 unequal: No Solution Exploring Operation: 4*94=376, Resulting Numbers: [376] 376,31 unequal: No Solution Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[99, 9], Operations: ['97-93=4', '5+4=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,31 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: 31:[93, 10], Operations: ['99-97=2', '5*2=10'] Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,31 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,31 unequal: No Solution Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[2, 88], Operations: ['99-97=2', '93-5=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[93, 7], Operations: ['99-97=2', '5+2=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,31 unequal: No Solution Exploring Operation: 93*7=651, Resulting Numbers: [651] 651,31 unequal: No Solution Exploring Operation: 93+7=100, Resulting Numbers: [100] 100,31 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 80, 37, 83, 42 ]
83
[ "80-37=43", "43-42=1", "83*1=83" ]
Current State: 83:[80, 37, 83, 42], Operations: [] Exploring Operation: 80-37=43, Resulting Numbers: [83, 42, 43] Generated Node #2: [83, 42, 43] from Operation: 80-37=43 Current State: 83:[83, 42, 43], Operations: ['80-37=43'] Exploring Operation: 43-42=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 43-42=1 Current State: 83:[83, 1], Operations: ['80-37=43', '43-42=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[80, 37, 83, 42], Operations: [] Exploring Operation: 37+83=120, Resulting Numbers: [80, 42, 120] Generated Node #0,0: 83:[80, 42, 120] Operation: 37+83=120 Exploring Operation: 37+42=79, Resulting Numbers: [80, 83, 79] Generated Node #0,1: 83:[80, 83, 79] Operation: 37+42=79 Exploring Operation: 80+37=117, Resulting Numbers: [83, 42, 117] Generated Node #0,2: 83:[83, 42, 117] Operation: 80+37=117 Exploring Operation: 83-37=46, Resulting Numbers: [80, 42, 46] Generated Node #0,3: 83:[80, 42, 46] Operation: 83-37=46 Exploring Operation: 80-37=43, Resulting Numbers: [83, 42, 43] Generated Node #0,4: 83:[83, 42, 43] Operation: 80-37=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[80, 83, 79], Operations: ['37+42=79'] Exploring Operation: 80+83=163, Resulting Numbers: [79, 163] Generated Node #0,1,0: 83:[79, 163] Operation: 80+83=163 Exploring Operation: 83+79=162, Resulting Numbers: [80, 162] Generated Node #0,1,1: 83:[80, 162] Operation: 83+79=162 Exploring Operation: 83-79=4, Resulting Numbers: [80, 4] Generated Node #0,1,2: 83:[80, 4] Operation: 83-79=4 Exploring Operation: 80-79=1, Resulting Numbers: [83, 1] Generated Node #0,1,3: 83:[83, 1] Operation: 80-79=1 Exploring Operation: 80+79=159, Resulting Numbers: [83, 159] Generated Node #0,1,4: 83:[83, 159] Operation: 80+79=159 Moving to Node #0,1,4 Current State: 83:[83, 159], Operations: ['37+42=79', '80+79=159'] Exploring Operation: 159-83=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 83*159=13197, Resulting Numbers: [13197] 13197,83 unequal: No Solution Exploring Operation: 83+159=242, Resulting Numbers: [242] 242,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[80, 4], Operations: ['37+42=79', '83-79=4'] Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,83 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[80, 162], Operations: ['37+42=79', '83+79=162'] Exploring Operation: 80*162=12960, Resulting Numbers: [12960] 12960,83 unequal: No Solution Exploring Operation: 162-80=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 80+162=242, Resulting Numbers: [242] 242,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[83, 1], Operations: ['37+42=79', '80-79=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[80, 37, 83, 42], Operations: [] Exploring Operation: 37+42=79, Resulting Numbers: [80, 83, 79] Generated Node #0,1: 83:[80, 83, 79] Operation: 37+42=79 Moving to Node #0,1 Current State: 83:[80, 83, 79], Operations: ['37+42=79'] Exploring Operation: 80-79=1, Resulting Numbers: [83, 1] Generated Node #0,1,3: 83:[83, 1] Operation: 80-79=1 Moving to Node #0,1,3 Current State: 83:[83, 1], Operations: ['37+42=79', '80-79=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 52, 80, 84, 66 ]
46
[ "80-52=28", "84-66=18", "28+18=46" ]
Current State: 46:[52, 80, 84, 66], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [84, 66, 28] Generated Node #2: [84, 66, 28] from Operation: 80-52=28 Current State: 46:[84, 66, 28], Operations: ['80-52=28'] Exploring Operation: 84-66=18, Resulting Numbers: [28, 18] Generated Node #3: [28, 18] from Operation: 84-66=18 Current State: 46:[28, 18], Operations: ['80-52=28', '84-66=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[52, 80, 84, 66], Operations: [] Exploring Operation: 84-52=32, Resulting Numbers: [80, 66, 32] Generated Node #0,0: 46:[80, 66, 32] Operation: 84-52=32 Exploring Operation: 80-66=14, Resulting Numbers: [52, 84, 14] Generated Node #0,1: 46:[52, 84, 14] Operation: 80-66=14 Exploring Operation: 80-52=28, Resulting Numbers: [84, 66, 28] Generated Node #0,2: 46:[84, 66, 28] Operation: 80-52=28 Exploring Operation: 84-66=18, Resulting Numbers: [52, 80, 18] Generated Node #0,3: 46:[52, 80, 18] Operation: 84-66=18 Exploring Operation: 84-80=4, Resulting Numbers: [52, 66, 4] Generated Node #0,4: 46:[52, 66, 4] Operation: 84-80=4 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[52, 66, 4], Operations: ['84-80=4'] Exploring Operation: 52-4=48, Resulting Numbers: [66, 48] Generated Node #0,4,0: 46:[66, 48] Operation: 52-4=48 Exploring Operation: 66-4=62, Resulting Numbers: [52, 62] Generated Node #0,4,1: 46:[52, 62] Operation: 66-4=62 Exploring Operation: 52+4=56, Resulting Numbers: [66, 56] Generated Node #0,4,2: 46:[66, 56] Operation: 52+4=56 Exploring Operation: 66-52=14, Resulting Numbers: [4, 14] Generated Node #0,4,3: 46:[4, 14] Operation: 66-52=14 Exploring Operation: 52/4=13, Resulting Numbers: [66, 13] Generated Node #0,4,4: 46:[66, 13] Operation: 52/4=13 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[4, 14], Operations: ['84-80=4', '66-52=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,46 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,46 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,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,4,0 Current State: 46:[66, 48], Operations: ['84-80=4', '52-4=48'] Exploring Operation: 66+48=114, Resulting Numbers: [114] 114,46 unequal: No Solution Exploring Operation: 66*48=3168, Resulting Numbers: [3168] 3168,46 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,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,4,1 Current State: 46:[52, 62], Operations: ['84-80=4', '66-4=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,46 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,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,4,2 Current State: 46:[66, 56], Operations: ['84-80=4', '52+4=56'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,46 unequal: No Solution Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,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,4,4 Current State: 46:[66, 13], Operations: ['84-80=4', '52/4=13'] Exploring Operation: 66+13=79, Resulting Numbers: [79] 79,46 unequal: No Solution Exploring Operation: 66-13=53, Resulting Numbers: [53] 53,46 unequal: No Solution Exploring Operation: 66*13=858, Resulting Numbers: [858] 858,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:[52, 80, 18], Operations: ['84-66=18'] Exploring Operation: 80+18=98, Resulting Numbers: [52, 98] Generated Node #0,3,0: 46:[52, 98] Operation: 80+18=98 Exploring Operation: 52+18=70, Resulting Numbers: [80, 70] Generated Node #0,3,1: 46:[80, 70] Operation: 52+18=70 Exploring Operation: 80-52=28, Resulting Numbers: [18, 28] Generated Node #0,3,2: 46:[18, 28] Operation: 80-52=28 Exploring Operation: 80-18=62, Resulting Numbers: [52, 62] Generated Node #0,3,3: 46:[52, 62] Operation: 80-18=62 Exploring Operation: 52-18=34, Resulting Numbers: [80, 34] Generated Node #0,3,4: 46:[80, 34] Operation: 52-18=34 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[18, 28], Operations: ['84-66=18', '80-52=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[52, 80, 84, 66], Operations: [] Exploring Operation: 84-66=18, Resulting Numbers: [52, 80, 18] Generated Node #0,3: 46:[52, 80, 18] Operation: 84-66=18 Moving to Node #0,3 Current State: 46:[52, 80, 18], Operations: ['84-66=18'] Exploring Operation: 80-52=28, Resulting Numbers: [18, 28] Generated Node #0,3,2: 46:[18, 28] Operation: 80-52=28 Moving to Node #0,3,2 Current State: 46:[18, 28], Operations: ['84-66=18', '80-52=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 8, 37, 55, 10 ]
70
[ "8*55=440", "37*10=370", "440-370=70" ]
Current State: 70:[8, 37, 55, 10], Operations: [] Exploring Operation: 8*55=440, Resulting Numbers: [37, 10, 440] Generated Node #2: [37, 10, 440] from Operation: 8*55=440 Current State: 70:[37, 10, 440], Operations: ['8*55=440'] Exploring Operation: 37*10=370, Resulting Numbers: [440, 370] Generated Node #3: [440, 370] from Operation: 37*10=370 Current State: 70:[440, 370], Operations: ['8*55=440', '37*10=370'] Exploring Operation: 440-370=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[8, 37, 55, 10], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [8, 10, 18] Generated Node #0,0: 70:[8, 10, 18] Operation: 55-37=18 Exploring Operation: 55+10=65, Resulting Numbers: [8, 37, 65] Generated Node #0,1: 70:[8, 37, 65] Operation: 55+10=65 Exploring Operation: 8+55=63, Resulting Numbers: [37, 10, 63] Generated Node #0,2: 70:[37, 10, 63] Operation: 8+55=63 Moving to Node #0,0 Current State: 70:[8, 10, 18], Operations: ['55-37=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8, 8] Generated Node #0,0,0: 70:[8, 8] Operation: 18-10=8 Exploring Operation: 10-8=2, Resulting Numbers: [18, 2] Generated Node #0,0,1: 70:[18, 2] Operation: 10-8=2 Exploring Operation: 18-8=10, Resulting Numbers: [10, 10] Generated Node #0,0,2: 70:[10, 10] Operation: 18-8=10 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[10, 10], Operations: ['55-37=18', '18-8=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[8, 8], Operations: ['55-37=18', '18-10=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,70 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[18, 2], Operations: ['55-37=18', '10-8=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[8, 37, 65], Operations: ['55+10=65'] Exploring Operation: 65-37=28, Resulting Numbers: [8, 28] Generated Node #0,1,0: 70:[8, 28] Operation: 65-37=28 Exploring Operation: 37-8=29, Resulting Numbers: [65, 29] Generated Node #0,1,1: 70:[65, 29] Operation: 37-8=29 Exploring Operation: 8+65=73, Resulting Numbers: [37, 73] Generated Node #0,1,2: 70:[37, 73] Operation: 8+65=73 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 70:[37, 73], Operations: ['55+10=65', '8+65=73'] Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,70 unequal: No Solution Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[8, 28], Operations: ['55+10=65', '65-37=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,70 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 70:[65, 29], Operations: ['55+10=65', '37-8=29'] Exploring Operation: 65-29=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 65*29=1885, Resulting Numbers: [1885] 1885,70 unequal: No Solution Exploring Operation: 65+29=94, Resulting Numbers: [94] 94,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 70:[37, 10, 63], Operations: ['8+55=63'] Exploring Operation: 10+63=73, Resulting Numbers: [37, 73] Generated Node #0,2,0: 70:[37, 73] Operation: 10+63=73 Exploring Operation: 37-10=27, Resulting Numbers: [63, 27] Generated Node #0,2,1: 70:[63, 27] Operation: 37-10=27 Exploring Operation: 63-37=26, Resulting Numbers: [10, 26] Generated Node #0,2,2: 70:[10, 26] Operation: 63-37=26 Moving to Node #0,2,0 Current State: 70:[37, 73], Operations: ['8+55=63', '10+63=73'] Exploring Operation: 37*73=2701, Resulting Numbers: [2701] 2701,70 unequal: No Solution Exploring Operation: 37+73=110, Resulting Numbers: [110] 110,70 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[10, 26], Operations: ['8+55=63', '63-37=26'] Exploring Operation: 10*26=260, Resulting Numbers: [260] 260,70 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[63, 27], Operations: ['8+55=63', '37-10=27'] Exploring Operation: 63*27=1701, Resulting Numbers: [1701] 1701,70 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,70 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 45, 79, 70, 24 ]
79
[ "70-45=25", "25-24=1", "79*1=79" ]
Current State: 79:[45, 79, 70, 24], Operations: [] Exploring Operation: 70-45=25, Resulting Numbers: [79, 24, 25] Generated Node #2: [79, 24, 25] from Operation: 70-45=25 Current State: 79:[79, 24, 25], Operations: ['70-45=25'] Exploring Operation: 25-24=1, Resulting Numbers: [79, 1] Generated Node #3: [79, 1] from Operation: 25-24=1 Current State: 79:[79, 1], Operations: ['70-45=25', '25-24=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[45, 79, 70, 24], Operations: [] Exploring Operation: 79+24=103, Resulting Numbers: [45, 70, 103] Generated Node #0,0: 79:[45, 70, 103] Operation: 79+24=103 Exploring Operation: 70+24=94, Resulting Numbers: [45, 79, 94] Generated Node #0,1: 79:[45, 79, 94] Operation: 70+24=94 Exploring Operation: 45-24=21, Resulting Numbers: [79, 70, 21] Generated Node #0,2: 79:[79, 70, 21] Operation: 45-24=21 Exploring Operation: 45+24=69, Resulting Numbers: [79, 70, 69] Generated Node #0,3: 79:[79, 70, 69] Operation: 45+24=69 Moving to Node #0,3 Current State: 79:[79, 70, 69], Operations: ['45+24=69'] Exploring Operation: 70+69=139, Resulting Numbers: [79, 139] Generated Node #0,3,0: 79:[79, 139] Operation: 70+69=139 Exploring Operation: 79-69=10, Resulting Numbers: [70, 10] Generated Node #0,3,1: 79:[70, 10] Operation: 79-69=10 Exploring Operation: 79+69=148, Resulting Numbers: [70, 148] Generated Node #0,3,2: 79:[70, 148] Operation: 79+69=148 Exploring Operation: 70-69=1, Resulting Numbers: [79, 1] Generated Node #0,3,3: 79:[79, 1] Operation: 70-69=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 79:[79, 139], Operations: ['45+24=69', '70+69=139'] Exploring Operation: 79*139=10981, Resulting Numbers: [10981] 10981,79 unequal: No Solution Exploring Operation: 139-79=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 79+139=218, Resulting Numbers: [218] 218,79 unequal: No Solution No 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: 79:[70, 10], Operations: ['45+24=69', '79-69=10'] Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,79 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,79 unequal: No Solution No 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: 79:[70, 148], Operations: ['45+24=69', '79+69=148'] Exploring Operation: 148-70=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 70*148=10360, Resulting Numbers: [10360] 10360,79 unequal: No Solution Exploring Operation: 70+148=218, Resulting Numbers: [218] 218,79 unequal: No Solution No 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: 79:[79, 1], Operations: ['45+24=69', '70-69=1'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[45, 79, 70, 24], Operations: [] Exploring Operation: 45+24=69, Resulting Numbers: [79, 70, 69] Generated Node #0,3: 79:[79, 70, 69] Operation: 45+24=69 Moving to Node #0,3 Current State: 79:[79, 70, 69], Operations: ['45+24=69'] Exploring Operation: 70-69=1, Resulting Numbers: [79, 1] Generated Node #0,3,3: 79:[79, 1] Operation: 70-69=1 Moving to Node #0,3,3 Current State: 79:[79, 1], Operations: ['45+24=69', '70-69=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 19, 66, 28, 31 ]
29
[ "66-28=38", "38/19=2", "31-2=29" ]
Current State: 29:[19, 66, 28, 31], Operations: [] Exploring Operation: 66-28=38, Resulting Numbers: [19, 31, 38] Generated Node #2: [19, 31, 38] from Operation: 66-28=38 Current State: 29:[19, 31, 38], Operations: ['66-28=38'] Exploring Operation: 38/19=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 38/19=2 Current State: 29:[31, 2], Operations: ['66-28=38', '38/19=2'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[19, 66, 28, 31], Operations: [] Exploring Operation: 66-31=35, Resulting Numbers: [19, 28, 35] Generated Node #0,0: 29:[19, 28, 35] Operation: 66-31=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[19, 28, 35], Operations: ['66-31=35'] Exploring Operation: 35-19=16, Resulting Numbers: [28, 16] Generated Node #0,0,0: 29:[28, 16] Operation: 35-19=16 Moving to Node #0,0,0 Current State: 29:[28, 16], Operations: ['66-31=35', '35-19=16'] Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,29 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
[ 85, 33, 97, 92 ]
16
[ "97-92=5", "85/5=17", "33-17=16" ]
Current State: 16:[85, 33, 97, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [85, 33, 5] Generated Node #2: [85, 33, 5] from Operation: 97-92=5 Current State: 16:[85, 33, 5], Operations: ['97-92=5'] Exploring Operation: 85/5=17, Resulting Numbers: [33, 17] Generated Node #3: [33, 17] from Operation: 85/5=17 Current State: 16:[33, 17], Operations: ['97-92=5', '85/5=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[85, 33, 97, 92], Operations: [] Exploring Operation: 97-85=12, Resulting Numbers: [33, 92, 12] Generated Node #0,0: 16:[33, 92, 12] Operation: 97-85=12 Exploring Operation: 85-33=52, Resulting Numbers: [97, 92, 52] Generated Node #0,1: 16:[97, 92, 52] Operation: 85-33=52 Exploring Operation: 97-92=5, Resulting Numbers: [85, 33, 5] Generated Node #0,2: 16:[85, 33, 5] Operation: 97-92=5 Exploring Operation: 92-85=7, Resulting Numbers: [33, 97, 7] Generated Node #0,3: 16:[33, 97, 7] Operation: 92-85=7 Moving to Node #0,2 Current State: 16:[85, 33, 5], Operations: ['97-92=5'] Exploring Operation: 85-5=80, Resulting Numbers: [33, 80] Generated Node #0,2,0: 16:[33, 80] Operation: 85-5=80 Exploring Operation: 85/5=17, Resulting Numbers: [33, 17] Generated Node #0,2,1: 16:[33, 17] Operation: 85/5=17 Exploring Operation: 33-5=28, Resulting Numbers: [85, 28] Generated Node #0,2,2: 16:[85, 28] Operation: 33-5=28 Exploring Operation: 85-33=52, Resulting Numbers: [5, 52] Generated Node #0,2,3: 16:[5, 52] Operation: 85-33=52 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[33, 17], Operations: ['97-92=5', '85/5=17'] Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,16 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,16 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[85, 33, 97, 92], Operations: [] Exploring Operation: 97-92=5, Resulting Numbers: [85, 33, 5] Generated Node #0,2: 16:[85, 33, 5] Operation: 97-92=5 Moving to Node #0,2 Current State: 16:[85, 33, 5], Operations: ['97-92=5'] Exploring Operation: 85/5=17, Resulting Numbers: [33, 17] Generated Node #0,2,1: 16:[33, 17] Operation: 85/5=17 Moving to Node #0,2,1 Current State: 16:[33, 17], Operations: ['97-92=5', '85/5=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 72, 44, 4, 69 ]
98
[ "72+44=116", "116/4=29", "69+29=98" ]
Current State: 98:[72, 44, 4, 69], Operations: [] Exploring Operation: 72+44=116, Resulting Numbers: [4, 69, 116] Generated Node #2: [4, 69, 116] from Operation: 72+44=116 Current State: 98:[4, 69, 116], Operations: ['72+44=116'] Exploring Operation: 116/4=29, Resulting Numbers: [69, 29] Generated Node #3: [69, 29] from Operation: 116/4=29 Current State: 98:[69, 29], Operations: ['72+44=116', '116/4=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[72, 44, 4, 69], Operations: [] Exploring Operation: 72/4=18, Resulting Numbers: [44, 69, 18] Generated Node #0,0: 98:[44, 69, 18] Operation: 72/4=18 Exploring Operation: 69-44=25, Resulting Numbers: [72, 4, 25] Generated Node #0,1: 98:[72, 4, 25] Operation: 69-44=25 Exploring Operation: 72+44=116, Resulting Numbers: [4, 69, 116] Generated Node #0,2: 98:[4, 69, 116] Operation: 72+44=116 Exploring Operation: 72-69=3, Resulting Numbers: [44, 4, 3] Generated Node #0,3: 98:[44, 4, 3] Operation: 72-69=3 Exploring Operation: 72-44=28, Resulting Numbers: [4, 69, 28] Generated Node #0,4: 98:[4, 69, 28] Operation: 72-44=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[44, 4, 3], Operations: ['72-69=3'] Exploring Operation: 44+3=47, Resulting Numbers: [4, 47] Generated Node #0,3,0: 98:[4, 47] Operation: 44+3=47 Exploring Operation: 44/4=11, Resulting Numbers: [3, 11] Generated Node #0,3,1: 98:[3, 11] Operation: 44/4=11 Exploring Operation: 4+3=7, Resulting Numbers: [44, 7] Generated Node #0,3,2: 98:[44, 7] Operation: 4+3=7 Exploring Operation: 44+4=48, Resulting Numbers: [3, 48] Generated Node #0,3,3: 98:[3, 48] Operation: 44+4=48 Exploring Operation: 4-3=1, Resulting Numbers: [44, 1] Generated Node #0,3,4: 98:[44, 1] Operation: 4-3=1 Moving to Node #0,3,3 Current State: 98:[3, 48], Operations: ['72-69=3', '44+4=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,98 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,98 unequal: No Solution Moving to Node #0,3,1 Current State: 98:[3, 11], Operations: ['72-69=3', '44/4=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,98 unequal: No Solution Moving to Node #0,3,0 Current State: 98:[4, 47], Operations: ['72-69=3', '44+3=47'] Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[44, 7], Operations: ['72-69=3', '4+3=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,98 unequal: No Solution Moving to Node #0,3,4 Current State: 98:[44, 1], Operations: ['72-69=3', '4-3=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,98 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[44, 69, 18], Operations: ['72/4=18'] Exploring Operation: 44+69=113, Resulting Numbers: [18, 113] Generated Node #0,0,0: 98:[18, 113] Operation: 44+69=113 Exploring Operation: 69+18=87, Resulting Numbers: [44, 87] Generated Node #0,0,1: 98:[44, 87] Operation: 69+18=87 Exploring Operation: 44-18=26, Resulting Numbers: [69, 26] Generated Node #0,0,2: 98:[69, 26] Operation: 44-18=26 Exploring Operation: 69-44=25, Resulting Numbers: [18, 25] Generated Node #0,0,3: 98:[18, 25] Operation: 69-44=25 Exploring Operation: 69-18=51, Resulting Numbers: [44, 51] Generated Node #0,0,4: 98:[44, 51] Operation: 69-18=51 Moving to Node #0,0,4 Current State: 98:[44, 51], Operations: ['72/4=18', '69-18=51'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 44*51=2244, Resulting Numbers: [2244] 2244,98 unequal: No Solution Exploring Operation: 44+51=95, Resulting Numbers: [95] 95,98 unequal: No Solution Moving to Node #0,0,3 Current State: 98:[18, 25], Operations: ['72/4=18', '69-44=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,98 unequal: No Solution Moving to Node #0,0,1 Current State: 98:[44, 87], Operations: ['72/4=18', '69+18=87'] Exploring Operation: 44+87=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 44*87=3828, Resulting Numbers: [3828] 3828,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[18, 113], Operations: ['72/4=18', '44+69=113'] Exploring Operation: 113-18=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 18+113=131, Resulting Numbers: [131] 131,98 unequal: No Solution Exploring Operation: 18*113=2034, Resulting Numbers: [2034] 2034,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[69, 26], Operations: ['72/4=18', '44-18=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,98 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,98 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[72, 4, 25], Operations: ['69-44=25'] Exploring Operation: 72-25=47, Resulting Numbers: [4, 47] Generated Node #0,1,0: 98:[4, 47] Operation: 72-25=47 Exploring Operation: 72+25=97, Resulting Numbers: [4, 97] Generated Node #0,1,1: 98:[4, 97] Operation: 72+25=97 Exploring Operation: 4*25=100, Resulting Numbers: [72, 100] Generated Node #0,1,2: 98:[72, 100] Operation: 4*25=100 Exploring Operation: 72/4=18, Resulting Numbers: [25, 18] Generated Node #0,1,3: 98:[25, 18] Operation: 72/4=18 Exploring Operation: 72-4=68, Resulting Numbers: [25, 68] Generated Node #0,1,4: 98:[25, 68] Operation: 72-4=68 Moving to Node #0,1,1 Current State: 98:[4, 97], Operations: ['69-44=25', '72+25=97'] Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,98 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[4, 47], Operations: ['69-44=25', '72-25=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,98 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,98 unequal: No Solution Moving to Node #0,1,3 Current State: 98:[25, 18], Operations: ['69-44=25', '72/4=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,98 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[72, 100], Operations: ['69-44=25', '4*25=100'] Exploring Operation: 72+100=172, Resulting Numbers: [172] 172,98 unequal: No Solution Exploring Operation: 72*100=7200, Resulting Numbers: [7200] 7200,98 unequal: No Solution Exploring Operation: 100-72=28, Resulting Numbers: [28] 28,98 unequal: No Solution Moving to Node #0,1,4 Current State: 98:[25, 68], Operations: ['69-44=25', '72-4=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,98 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 98:[4, 69, 28], Operations: ['72-44=28'] Exploring Operation: 69+28=97, Resulting Numbers: [4, 97] Generated Node #0,4,0: 98:[4, 97] Operation: 69+28=97 Exploring Operation: 28-4=24, Resulting Numbers: [69, 24] Generated Node #0,4,1: 98:[69, 24] Operation: 28-4=24 Exploring Operation: 69-28=41, Resulting Numbers: [4, 41] Generated Node #0,4,2: 98:[4, 41] Operation: 69-28=41 Exploring Operation: 28/4=7, Resulting Numbers: [69, 7] Generated Node #0,4,3: 98:[69, 7] Operation: 28/4=7 Exploring Operation: 69-4=65, Resulting Numbers: [28, 65] Generated Node #0,4,4: 98:[28, 65] Operation: 69-4=65 Moving to Node #0,4,0 Current State: 98:[4, 97], Operations: ['72-44=28', '69+28=97'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,98 unequal: No Solution Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,98 unequal: No Solution Moving to Node #0,4,2 Current State: 98:[4, 41], Operations: ['72-44=28', '69-28=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,98 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,98 unequal: No Solution Moving to Node #0,4,3 Current State: 98:[69, 7], Operations: ['72-44=28', '28/4=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,98 unequal: No Solution Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,98 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,98 unequal: No Solution Moving to Node #0,4,1 Current State: 98:[69, 24], Operations: ['72-44=28', '28-4=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,98 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,98 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,98 unequal: No Solution Moving to Node #0,4,4 Current State: 98:[28, 65], Operations: ['72-44=28', '69-4=65'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,98 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,98 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[4, 69, 116], Operations: ['72+44=116'] Exploring Operation: 116-69=47, Resulting Numbers: [4, 47] Generated Node #0,2,0: 98:[4, 47] Operation: 116-69=47 Exploring Operation: 116/4=29, Resulting Numbers: [69, 29] Generated Node #0,2,1: 98:[69, 29] Operation: 116/4=29 Exploring Operation: 69-4=65, Resulting Numbers: [116, 65] Generated Node #0,2,2: 98:[116, 65] Operation: 69-4=65 Exploring Operation: 4+69=73, Resulting Numbers: [116, 73] Generated Node #0,2,3: 98:[116, 73] Operation: 4+69=73 Exploring Operation: 116-4=112, Resulting Numbers: [69, 112] Generated Node #0,2,4: 98:[69, 112] Operation: 116-4=112 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[4, 47], Operations: ['72+44=116', '116-69=47'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 4+47=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 4*47=188, Resulting Numbers: [188] 188,98 unequal: No Solution No 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: 98:[116, 65], Operations: ['72+44=116', '69-4=65'] Exploring Operation: 116+65=181, Resulting Numbers: [181] 181,98 unequal: No Solution Exploring Operation: 116-65=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 116*65=7540, Resulting Numbers: [7540] 7540,98 unequal: No Solution No 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: 98:[69, 112], Operations: ['72+44=116', '116-4=112'] Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 69+112=181, Resulting Numbers: [181] 181,98 unequal: No Solution Exploring Operation: 69*112=7728, Resulting Numbers: [7728] 7728,98 unequal: No Solution No 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: 98:[69, 29], Operations: ['72+44=116', '116/4=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[72, 44, 4, 69], Operations: [] Exploring Operation: 72+44=116, Resulting Numbers: [4, 69, 116] Generated Node #0,2: 98:[4, 69, 116] Operation: 72+44=116 Moving to Node #0,2 Current State: 98:[4, 69, 116], Operations: ['72+44=116'] Exploring Operation: 116/4=29, Resulting Numbers: [69, 29] Generated Node #0,2,1: 98:[69, 29] Operation: 116/4=29 Moving to Node #0,2,1 Current State: 98:[69, 29], Operations: ['72+44=116', '116/4=29'] Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.907986
hs_5
sum_heuristic
[ 75, 80, 39, 28 ]
72
[ "80-75=5", "39+28=67", "5+67=72" ]
Current State: 72:[75, 80, 39, 28], Operations: [] Exploring Operation: 80-75=5, Resulting Numbers: [39, 28, 5] Generated Node #2: [39, 28, 5] from Operation: 80-75=5 Current State: 72:[39, 28, 5], Operations: ['80-75=5'] Exploring Operation: 39+28=67, Resulting Numbers: [5, 67] Generated Node #3: [5, 67] from Operation: 39+28=67 Current State: 72:[5, 67], Operations: ['80-75=5', '39+28=67'] Exploring Operation: 5+67=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[75, 80, 39, 28], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [80, 28, 36] Generated Node #0,0: 72:[80, 28, 36] Operation: 75-39=36 Exploring Operation: 80-75=5, Resulting Numbers: [39, 28, 5] Generated Node #0,1: 72:[39, 28, 5] Operation: 80-75=5 Moving to Node #0,1 Current State: 72:[39, 28, 5], Operations: ['80-75=5'] Exploring Operation: 28-5=23, Resulting Numbers: [39, 23] Generated Node #0,1,0: 72:[39, 23] Operation: 28-5=23 Exploring Operation: 39-28=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 72:[5, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[5, 11], Operations: ['80-75=5', '39-28=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[39, 23], Operations: ['80-75=5', '28-5=23'] Exploring Operation: 39+23=62, Resulting Numbers: [62] 62,72 unequal: No Solution Exploring Operation: 39-23=16, Resulting Numbers: [16] 16,72 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: 72:[80, 28, 36], Operations: ['75-39=36'] Exploring Operation: 36-28=8, Resulting Numbers: [80, 8] Generated Node #0,0,0: 72:[80, 8] Operation: 36-28=8 Exploring Operation: 80-36=44, Resulting Numbers: [28, 44] Generated Node #0,0,1: 72:[28, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[80, 8], Operations: ['75-39=36', '36-28=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[75, 80, 39, 28], Operations: [] Exploring Operation: 75-39=36, Resulting Numbers: [80, 28, 36] Generated Node #0,0: 72:[80, 28, 36] Operation: 75-39=36 Moving to Node #0,0 Current State: 72:[80, 28, 36], Operations: ['75-39=36'] Exploring Operation: 36-28=8, Resulting Numbers: [80, 8] Generated Node #0,0,0: 72:[80, 8] Operation: 36-28=8 Moving to Node #0,0,0 Current State: 72:[80, 8], Operations: ['75-39=36', '36-28=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 54, 6, 19, 3 ]
54
[ "6*3=18", "19-18=1", "54*1=54" ]
Current State: 54:[54, 6, 19, 3], Operations: [] Exploring Operation: 6*3=18, Resulting Numbers: [54, 19, 18] Generated Node #2: [54, 19, 18] from Operation: 6*3=18 Current State: 54:[54, 19, 18], Operations: ['6*3=18'] Exploring Operation: 19-18=1, Resulting Numbers: [54, 1] Generated Node #3: [54, 1] from Operation: 19-18=1 Current State: 54:[54, 1], Operations: ['6*3=18', '19-18=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[54, 6, 19, 3], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [19, 3, 9] Generated Node #0,0: 54:[19, 3, 9] Operation: 54/6=9 Exploring Operation: 6*3=18, Resulting Numbers: [54, 19, 18] Generated Node #0,1: 54:[54, 19, 18] Operation: 6*3=18 Exploring Operation: 54/3=18, Resulting Numbers: [6, 19, 18] Generated Node #0,2: 54:[6, 19, 18] Operation: 54/3=18 Exploring Operation: 6+3=9, Resulting Numbers: [54, 19, 9] Generated Node #0,3: 54:[54, 19, 9] Operation: 6+3=9 Exploring Operation: 6-3=3, Resulting Numbers: [54, 19, 3] Generated Node #0,4: 54:[54, 19, 3] Operation: 6-3=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[19, 3, 9], Operations: ['54/6=9'] Exploring Operation: 3*9=27, Resulting Numbers: [19, 27] Generated Node #0,0,0: 54:[19, 27] Operation: 3*9=27 Exploring Operation: 9/3=3, Resulting Numbers: [19, 3] Generated Node #0,0,1: 54:[19, 3] Operation: 9/3=3 Exploring Operation: 19+9=28, Resulting Numbers: [3, 28] Generated Node #0,0,2: 54:[3, 28] Operation: 19+9=28 Exploring Operation: 9-3=6, Resulting Numbers: [19, 6] Generated Node #0,0,3: 54:[19, 6] Operation: 9-3=6 Exploring Operation: 19-9=10, Resulting Numbers: [3, 10] Generated Node #0,0,4: 54:[3, 10] Operation: 19-9=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[19, 27], Operations: ['54/6=9', '3*9=27'] Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 19+27=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 19*27=513, Resulting Numbers: [513] 513,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[19, 3], Operations: ['54/6=9', '9/3=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[3, 28], Operations: ['54/6=9', '19+9=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 54:[19, 6], Operations: ['54/6=9', '9-3=6'] Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 54:[3, 10], Operations: ['54/6=9', '19-9=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,54 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[54, 19, 18], Operations: ['6*3=18'] Exploring Operation: 54/18=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 54:[19, 3] Operation: 54/18=3 Exploring Operation: 54-19=35, Resulting Numbers: [18, 35] Generated Node #0,1,1: 54:[18, 35] Operation: 54-19=35 Exploring Operation: 54-18=36, Resulting Numbers: [19, 36] Generated Node #0,1,2: 54:[19, 36] Operation: 54-18=36 Exploring Operation: 19+18=37, Resulting Numbers: [54, 37] Generated Node #0,1,3: 54:[54, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [54, 1] Generated Node #0,1,4: 54:[54, 1] Operation: 19-18=1 Moving to Node #0,1,0 Current State: 54:[19, 3], Operations: ['6*3=18', '54/18=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,54 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,1,4 Current State: 54:[54, 1], Operations: ['6*3=18', '19-18=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[54, 6, 19, 3], Operations: [] Exploring Operation: 6*3=18, Resulting Numbers: [54, 19, 18] Generated Node #0,1: 54:[54, 19, 18] Operation: 6*3=18 Moving to Node #0,1 Current State: 54:[54, 19, 18], Operations: ['6*3=18'] Exploring Operation: 19-18=1, Resulting Numbers: [54, 1] Generated Node #0,1,4: 54:[54, 1] Operation: 19-18=1 Moving to Node #0,1,4 Current State: 54:[54, 1], Operations: ['6*3=18', '19-18=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 2, 18, 38, 8 ]
19
[ "18-2=16", "38*8=304", "304/16=19" ]
Current State: 19:[2, 18, 38, 8], Operations: [] Exploring Operation: 18-2=16, Resulting Numbers: [38, 8, 16] Generated Node #2: [38, 8, 16] from Operation: 18-2=16 Current State: 19:[38, 8, 16], Operations: ['18-2=16'] Exploring Operation: 38*8=304, Resulting Numbers: [16, 304] Generated Node #3: [16, 304] from Operation: 38*8=304 Current State: 19:[16, 304], Operations: ['18-2=16', '38*8=304'] Exploring Operation: 304/16=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[2, 18, 38, 8], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [18, 8, 19] Generated Node #0,0: 19:[18, 8, 19] Operation: 38/2=19 Moving to Node #0,0 Current State: 19:[18, 8, 19], Operations: ['38/2=19'] Exploring Operation: 18+8=26, Resulting Numbers: [19, 26] Generated Node #0,0,0: 19:[19, 26] Operation: 18+8=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[19, 26], Operations: ['38/2=19', '18+8=26'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,19 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
[ 53, 21, 85, 8 ]
10
[ "21+85=106", "106/53=2", "8+2=10" ]
Current State: 10:[53, 21, 85, 8], Operations: [] Exploring Operation: 21+85=106, Resulting Numbers: [53, 8, 106] Generated Node #2: [53, 8, 106] from Operation: 21+85=106 Current State: 10:[53, 8, 106], Operations: ['21+85=106'] Exploring Operation: 106/53=2, Resulting Numbers: [8, 2] Generated Node #3: [8, 2] from Operation: 106/53=2 Current State: 10:[8, 2], Operations: ['21+85=106', '106/53=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[53, 21, 85, 8], Operations: [] Exploring Operation: 85-53=32, Resulting Numbers: [21, 8, 32] Generated Node #0,0: 10:[21, 8, 32] Operation: 85-53=32 Moving to Node #0,0 Current State: 10:[21, 8, 32], Operations: ['85-53=32'] Exploring Operation: 32-21=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 10:[8, 11] Operation: 32-21=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[8, 11], Operations: ['85-53=32', '32-21=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 45, 9, 7, 79 ]
61
[ "45+79=124", "9*7=63", "124-63=61" ]
Current State: 61:[45, 9, 7, 79], Operations: [] Exploring Operation: 45+79=124, Resulting Numbers: [9, 7, 124] Generated Node #2: [9, 7, 124] from Operation: 45+79=124 Current State: 61:[9, 7, 124], Operations: ['45+79=124'] Exploring Operation: 9*7=63, Resulting Numbers: [124, 63] Generated Node #3: [124, 63] from Operation: 9*7=63 Current State: 61:[124, 63], Operations: ['45+79=124', '9*7=63'] Exploring Operation: 124-63=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[45, 9, 7, 79], Operations: [] Exploring Operation: 9*7=63, Resulting Numbers: [45, 79, 63] Generated Node #0,0: 61:[45, 79, 63] Operation: 9*7=63 Moving to Node #0,0 Current State: 61:[45, 79, 63], Operations: ['9*7=63'] Exploring Operation: 79-45=34, Resulting Numbers: [63, 34] Generated Node #0,0,0: 61:[63, 34] Operation: 79-45=34 Moving to Node #0,0,0 Current State: 61:[63, 34], Operations: ['9*7=63', '79-45=34'] Exploring Operation: 63-34=29, Resulting Numbers: [29] 29,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 90, 72, 21, 80 ]
77
[ "90-72=18", "80-21=59", "18+59=77" ]
Current State: 77:[90, 72, 21, 80], Operations: [] Exploring Operation: 90-72=18, Resulting Numbers: [21, 80, 18] Generated Node #2: [21, 80, 18] from Operation: 90-72=18 Current State: 77:[21, 80, 18], Operations: ['90-72=18'] Exploring Operation: 80-21=59, Resulting Numbers: [18, 59] Generated Node #3: [18, 59] from Operation: 80-21=59 Current State: 77:[18, 59], Operations: ['90-72=18', '80-21=59'] Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[90, 72, 21, 80], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [72, 21, 10] Generated Node #0,0: 77:[72, 21, 10] Operation: 90-80=10 Exploring Operation: 90-72=18, Resulting Numbers: [21, 80, 18] Generated Node #0,1: 77:[21, 80, 18] Operation: 90-72=18 Exploring Operation: 80-72=8, Resulting Numbers: [90, 21, 8] Generated Node #0,2: 77:[90, 21, 8] Operation: 80-72=8 Exploring Operation: 90-21=69, Resulting Numbers: [72, 80, 69] Generated Node #0,3: 77:[72, 80, 69] Operation: 90-21=69 Moving to Node #0,0 Current State: 77:[72, 21, 10], Operations: ['90-80=10'] Exploring Operation: 21-10=11, Resulting Numbers: [72, 11] Generated Node #0,0,0: 77:[72, 11] Operation: 21-10=11 Exploring Operation: 72-10=62, Resulting Numbers: [21, 62] Generated Node #0,0,1: 77:[21, 62] Operation: 72-10=62 Exploring Operation: 72+21=93, Resulting Numbers: [10, 93] Generated Node #0,0,2: 77:[10, 93] Operation: 72+21=93 Exploring Operation: 72+10=82, Resulting Numbers: [21, 82] Generated Node #0,0,3: 77:[21, 82] Operation: 72+10=82 Moving to Node #0,3 Current State: 77:[72, 80, 69], Operations: ['90-21=69'] Exploring Operation: 80-69=11, Resulting Numbers: [72, 11] Generated Node #0,3,0: 77:[72, 11] Operation: 80-69=11 Exploring Operation: 80-72=8, Resulting Numbers: [69, 8] Generated Node #0,3,1: 77:[69, 8] Operation: 80-72=8 Exploring Operation: 72-69=3, Resulting Numbers: [80, 3] Generated Node #0,3,2: 77:[80, 3] Operation: 72-69=3 Exploring Operation: 72+69=141, Resulting Numbers: [80, 141] Generated Node #0,3,3: 77:[80, 141] Operation: 72+69=141 Moving to Node #0,1 Current State: 77:[21, 80, 18], Operations: ['90-72=18'] Exploring Operation: 21-18=3, Resulting Numbers: [80, 3] Generated Node #0,1,0: 77:[80, 3] Operation: 21-18=3 Exploring Operation: 21+80=101, Resulting Numbers: [18, 101] Generated Node #0,1,1: 77:[18, 101] Operation: 21+80=101 Exploring Operation: 80-21=59, Resulting Numbers: [18, 59] Generated Node #0,1,2: 77:[18, 59] Operation: 80-21=59 Exploring Operation: 80-18=62, Resulting Numbers: [21, 62] Generated Node #0,1,3: 77:[21, 62] Operation: 80-18=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[80, 3], Operations: ['90-72=18', '21-18=3'] Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[90, 72, 21, 80], Operations: [] Exploring Operation: 90-72=18, Resulting Numbers: [21, 80, 18] Generated Node #0,1: 77:[21, 80, 18] Operation: 90-72=18 Moving to Node #0,1 Current State: 77:[21, 80, 18], Operations: ['90-72=18'] Exploring Operation: 21-18=3, Resulting Numbers: [80, 3] Generated Node #0,1,0: 77:[80, 3] Operation: 21-18=3 Moving to Node #0,1,0 Current State: 77:[80, 3], Operations: ['90-72=18', '21-18=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 78, 12, 80, 94 ]
76
[ "78+12=90", "94-80=14", "90-14=76" ]
Current State: 76:[78, 12, 80, 94], Operations: [] Exploring Operation: 78+12=90, Resulting Numbers: [80, 94, 90] Generated Node #2: [80, 94, 90] from Operation: 78+12=90 Current State: 76:[80, 94, 90], Operations: ['78+12=90'] Exploring Operation: 94-80=14, Resulting Numbers: [90, 14] Generated Node #3: [90, 14] from Operation: 94-80=14 Current State: 76:[90, 14], Operations: ['78+12=90', '94-80=14'] Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[78, 12, 80, 94], Operations: [] Exploring Operation: 80-78=2, Resulting Numbers: [12, 94, 2] Generated Node #0,0: 76:[12, 94, 2] Operation: 80-78=2 Exploring Operation: 94-80=14, Resulting Numbers: [78, 12, 14] Generated Node #0,1: 76:[78, 12, 14] Operation: 94-80=14 Exploring Operation: 94-78=16, Resulting Numbers: [12, 80, 16] Generated Node #0,2: 76:[12, 80, 16] Operation: 94-78=16 Exploring Operation: 94-12=82, Resulting Numbers: [78, 80, 82] Generated Node #0,3: 76:[78, 80, 82] Operation: 94-12=82 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[78, 80, 82], Operations: ['94-12=82'] Exploring Operation: 78+80=158, Resulting Numbers: [82, 158] Generated Node #0,3,0: 76:[82, 158] Operation: 78+80=158 Exploring Operation: 80-78=2, Resulting Numbers: [82, 2] Generated Node #0,3,1: 76:[82, 2] Operation: 80-78=2 Exploring Operation: 82-80=2, Resulting Numbers: [78, 2] Generated Node #0,3,2: 76:[78, 2] Operation: 82-80=2 Exploring Operation: 82-78=4, Resulting Numbers: [80, 4] Generated Node #0,3,3: 76:[80, 4] Operation: 82-78=4 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[78, 2], Operations: ['94-12=82', '82-80=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[78, 12, 80, 94], Operations: [] Exploring Operation: 94-12=82, Resulting Numbers: [78, 80, 82] Generated Node #0,3: 76:[78, 80, 82] Operation: 94-12=82 Moving to Node #0,3 Current State: 76:[78, 80, 82], Operations: ['94-12=82'] Exploring Operation: 82-80=2, Resulting Numbers: [78, 2] Generated Node #0,3,2: 76:[78, 2] Operation: 82-80=2 Moving to Node #0,3,2 Current State: 76:[78, 2], Operations: ['94-12=82', '82-80=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 20, 76, 2, 68 ]
64
[ "20+68=88", "76*2=152", "152-88=64" ]
Current State: 64:[20, 76, 2, 68], Operations: [] Exploring Operation: 20+68=88, Resulting Numbers: [76, 2, 88] Generated Node #2: [76, 2, 88] from Operation: 20+68=88 Current State: 64:[76, 2, 88], Operations: ['20+68=88'] Exploring Operation: 76*2=152, Resulting Numbers: [88, 152] Generated Node #3: [88, 152] from Operation: 76*2=152 Current State: 64:[88, 152], Operations: ['20+68=88', '76*2=152'] Exploring Operation: 152-88=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[20, 76, 2, 68], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [2, 68, 56] Generated Node #0,0: 64:[2, 68, 56] Operation: 76-20=56 Exploring Operation: 76-68=8, Resulting Numbers: [20, 2, 8] Generated Node #0,1: 64:[20, 2, 8] Operation: 76-68=8 Exploring Operation: 20/2=10, Resulting Numbers: [76, 68, 10] Generated Node #0,2: 64:[76, 68, 10] Operation: 20/2=10 Exploring Operation: 76/2=38, Resulting Numbers: [20, 68, 38] Generated Node #0,3: 64:[20, 68, 38] Operation: 76/2=38 Exploring Operation: 20-2=18, Resulting Numbers: [76, 68, 18] Generated Node #0,4: 64:[76, 68, 18] Operation: 20-2=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[20, 2, 8], Operations: ['76-68=8'] Exploring Operation: 20-2=18, Resulting Numbers: [8, 18] Generated Node #0,1,0: 64:[8, 18] Operation: 20-2=18 Exploring Operation: 20+8=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 64:[2, 28] Operation: 20+8=28 Exploring Operation: 20-8=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 64:[2, 12] Operation: 20-8=12 Exploring Operation: 20/2=10, Resulting Numbers: [8, 10] Generated Node #0,1,3: 64:[8, 10] Operation: 20/2=10 Exploring Operation: 2*8=16, Resulting Numbers: [20, 16] Generated Node #0,1,4: 64:[20, 16] Operation: 2*8=16 Moving to Node #0,1,0 Current State: 64:[8, 18], Operations: ['76-68=8', '20-2=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[8, 10], Operations: ['76-68=8', '20/2=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[2, 28], Operations: ['76-68=8', '20+8=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[2, 12], Operations: ['76-68=8', '20-8=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[20, 16], Operations: ['76-68=8', '2*8=16'] Exploring Operation: 20*16=320, Resulting Numbers: [320] 320,64 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[2, 68, 56], Operations: ['76-20=56'] Exploring Operation: 68-56=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 64:[2, 12] Operation: 68-56=12 Exploring Operation: 2+56=58, Resulting Numbers: [68, 58] Generated Node #0,0,1: 64:[68, 58] Operation: 2+56=58 Exploring Operation: 68-2=66, Resulting Numbers: [56, 66] Generated Node #0,0,2: 64:[56, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [56, 34] Generated Node #0,0,3: 64:[56, 34] Operation: 68/2=34 Exploring Operation: 56/2=28, Resulting Numbers: [68, 28] Generated Node #0,0,4: 64:[68, 28] Operation: 56/2=28 Moving to Node #0,0,0 Current State: 64:[2, 12], Operations: ['76-20=56', '68-56=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[68, 28], Operations: ['76-20=56', '56/2=28'] Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,64 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[68, 58], Operations: ['76-20=56', '2+56=58'] Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,64 unequal: No Solution Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[56, 66], Operations: ['76-20=56', '68-2=66'] Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,64 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,64 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[56, 34], Operations: ['76-20=56', '68/2=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,64 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[20, 68, 38], Operations: ['76/2=38'] Exploring Operation: 20+38=58, Resulting Numbers: [68, 58] Generated Node #0,3,0: 64:[68, 58] Operation: 20+38=58 Exploring Operation: 68-20=48, Resulting Numbers: [38, 48] Generated Node #0,3,1: 64:[38, 48] Operation: 68-20=48 Exploring Operation: 20+68=88, Resulting Numbers: [38, 88] Generated Node #0,3,2: 64:[38, 88] Operation: 20+68=88 Exploring Operation: 68-38=30, Resulting Numbers: [20, 30] Generated Node #0,3,3: 64:[20, 30] Operation: 68-38=30 Exploring Operation: 38-20=18, Resulting Numbers: [68, 18] Generated Node #0,3,4: 64:[68, 18] Operation: 38-20=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[20, 30], Operations: ['76/2=38', '68-38=30'] Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,64 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,64 unequal: No Solution No 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: 64:[68, 18], Operations: ['76/2=38', '38-20=18'] Exploring Operation: 68+18=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 68*18=1224, Resulting Numbers: [1224] 1224,64 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,64 unequal: No Solution No 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: 64:[68, 58], Operations: ['76/2=38', '20+38=58'] Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,64 unequal: No Solution No 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: 64:[38, 48], Operations: ['76/2=38', '68-20=48'] Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,64 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,64 unequal: No Solution No 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: 64:[38, 88], Operations: ['76/2=38', '20+68=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,64 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,64 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: 64:[76, 68, 10], Operations: ['20/2=10'] Exploring Operation: 68-10=58, Resulting Numbers: [76, 58] Generated Node #0,2,0: 64:[76, 58] Operation: 68-10=58 Exploring Operation: 76+10=86, Resulting Numbers: [68, 86] Generated Node #0,2,1: 64:[68, 86] Operation: 76+10=86 Exploring Operation: 76-10=66, Resulting Numbers: [68, 66] Generated Node #0,2,2: 64:[68, 66] Operation: 76-10=66 Exploring Operation: 68+10=78, Resulting Numbers: [76, 78] Generated Node #0,2,3: 64:[76, 78] Operation: 68+10=78 Exploring Operation: 76-68=8, Resulting Numbers: [10, 8] Generated Node #0,2,4: 64:[10, 8] Operation: 76-68=8 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 64:[10, 8], Operations: ['20/2=10', '76-68=8'] Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,64 unequal: No Solution No 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: 64:[68, 66], Operations: ['20/2=10', '76-10=66'] Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,64 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,64 unequal: No Solution No 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: 64:[76, 58], Operations: ['20/2=10', '68-10=58'] Exploring Operation: 76*58=4408, Resulting Numbers: [4408] 4408,64 unequal: No Solution Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 76+58=134, Resulting Numbers: [134] 134,64 unequal: No Solution No 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: 64:[68, 86], Operations: ['20/2=10', '76+10=86'] Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,64 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,64 unequal: No Solution No 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: 64:[76, 78], Operations: ['20/2=10', '68+10=78'] Exploring Operation: 76*78=5928, Resulting Numbers: [5928] 5928,64 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 76+78=154, Resulting Numbers: [154] 154,64 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: 64:[76, 68, 18], Operations: ['20-2=18'] Exploring Operation: 68+18=86, Resulting Numbers: [76, 86] Generated Node #0,4,0: 64:[76, 86] Operation: 68+18=86 Exploring Operation: 68-18=50, Resulting Numbers: [76, 50] Generated Node #0,4,1: 64:[76, 50] Operation: 68-18=50 Exploring Operation: 76-18=58, Resulting Numbers: [68, 58] Generated Node #0,4,2: 64:[68, 58] Operation: 76-18=58 Exploring Operation: 76-68=8, Resulting Numbers: [18, 8] Generated Node #0,4,3: 64:[18, 8] Operation: 76-68=8 Exploring Operation: 76+18=94, Resulting Numbers: [68, 94] Generated Node #0,4,4: 64:[68, 94] Operation: 76+18=94 Moving to Node #0,4,3 Current State: 64:[18, 8], Operations: ['20-2=18', '76-68=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[68, 58], Operations: ['20-2=18', '76-18=58'] Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[76, 50], Operations: ['20-2=18', '68-18=50'] Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 76+50=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 76*50=3800, Resulting Numbers: [3800] 3800,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[76, 86], Operations: ['20-2=18', '68+18=86'] Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 76*86=6536, Resulting Numbers: [6536] 6536,64 unequal: No Solution Exploring Operation: 76+86=162, Resulting Numbers: [162] 162,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[68, 94], Operations: ['20-2=18', '76+18=94'] Exploring Operation: 68*94=6392, Resulting Numbers: [6392] 6392,64 unequal: No Solution Exploring Operation: 94-68=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 68+94=162, Resulting Numbers: [162] 162,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 88, 74, 92, 31 ]
50
[ "92-88=4", "31*4=124", "124-74=50" ]
Current State: 50:[88, 74, 92, 31], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [74, 31, 4] Generated Node #2: [74, 31, 4] from Operation: 92-88=4 Current State: 50:[74, 31, 4], Operations: ['92-88=4'] Exploring Operation: 31*4=124, Resulting Numbers: [74, 124] Generated Node #3: [74, 124] from Operation: 31*4=124 Current State: 50:[74, 124], Operations: ['92-88=4', '31*4=124'] Exploring Operation: 124-74=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[88, 74, 92, 31], Operations: [] Exploring Operation: 92-74=18, Resulting Numbers: [88, 31, 18] Generated Node #0,0: 50:[88, 31, 18] Operation: 92-74=18 Exploring Operation: 92-88=4, Resulting Numbers: [74, 31, 4] Generated Node #0,1: 50:[74, 31, 4] Operation: 92-88=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[74, 31, 4], Operations: ['92-88=4'] Exploring Operation: 74-4=70, Resulting Numbers: [31, 70] Generated Node #0,1,0: 50:[31, 70] Operation: 74-4=70 Exploring Operation: 74-31=43, Resulting Numbers: [4, 43] Generated Node #0,1,1: 50:[4, 43] Operation: 74-31=43 Moving to Node #0,1,1 Current State: 50:[4, 43], Operations: ['92-88=4', '74-31=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[31, 70], Operations: ['92-88=4', '74-4=70'] Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[88, 31, 18], Operations: ['92-74=18'] Exploring Operation: 88-31=57, Resulting Numbers: [18, 57] Generated Node #0,0,0: 50:[18, 57] Operation: 88-31=57 Exploring Operation: 88-18=70, Resulting Numbers: [31, 70] Generated Node #0,0,1: 50:[31, 70] Operation: 88-18=70 Moving to Node #0,0,0 Current State: 50:[18, 57], Operations: ['92-74=18', '88-31=57'] Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,50 unequal: No Solution Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[31, 70], Operations: ['92-74=18', '88-18=70'] Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,50 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
[ 94, 91, 40, 14 ]
82
[ "94-91=3", "14*3=42", "40+42=82" ]
Current State: 82:[94, 91, 40, 14], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [40, 14, 3] Generated Node #2: [40, 14, 3] from Operation: 94-91=3 Current State: 82:[40, 14, 3], Operations: ['94-91=3'] Exploring Operation: 14*3=42, Resulting Numbers: [40, 42] Generated Node #3: [40, 42] from Operation: 14*3=42 Current State: 82:[40, 42], Operations: ['94-91=3', '14*3=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[94, 91, 40, 14], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [40, 14, 3] Generated Node #0,0: 82:[40, 14, 3] Operation: 94-91=3 Exploring Operation: 94-14=80, Resulting Numbers: [91, 40, 80] Generated Node #0,1: 82:[91, 40, 80] Operation: 94-14=80 Moving to Node #0,1 Current State: 82:[91, 40, 80], Operations: ['94-14=80'] Exploring Operation: 91-80=11, Resulting Numbers: [40, 11] Generated Node #0,1,0: 82:[40, 11] Operation: 91-80=11 Exploring Operation: 80/40=2, Resulting Numbers: [91, 2] Generated Node #0,1,1: 82:[91, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[91, 2], Operations: ['94-14=80', '80/40=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[40, 11], Operations: ['94-14=80', '91-80=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,82 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,82 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: 82:[40, 14, 3], Operations: ['94-91=3'] Exploring Operation: 14*3=42, Resulting Numbers: [40, 42] Generated Node #0,0,0: 82:[40, 42] Operation: 14*3=42 Exploring Operation: 14-3=11, Resulting Numbers: [40, 11] Generated Node #0,0,1: 82:[40, 11] Operation: 14-3=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[40, 42], Operations: ['94-91=3', '14*3=42'] Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[94, 91, 40, 14], Operations: [] Exploring Operation: 94-91=3, Resulting Numbers: [40, 14, 3] Generated Node #0,0: 82:[40, 14, 3] Operation: 94-91=3 Moving to Node #0,0 Current State: 82:[40, 14, 3], Operations: ['94-91=3'] Exploring Operation: 14*3=42, Resulting Numbers: [40, 42] Generated Node #0,0,0: 82:[40, 42] Operation: 14*3=42 Moving to Node #0,0,0 Current State: 82:[40, 42], Operations: ['94-91=3', '14*3=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 84, 94, 30, 86 ]
90
[ "94+86=180", "180/30=6", "84+6=90" ]
Current State: 90:[84, 94, 30, 86], Operations: [] Exploring Operation: 94+86=180, Resulting Numbers: [84, 30, 180] Generated Node #2: [84, 30, 180] from Operation: 94+86=180 Current State: 90:[84, 30, 180], Operations: ['94+86=180'] Exploring Operation: 180/30=6, Resulting Numbers: [84, 6] Generated Node #3: [84, 6] from Operation: 180/30=6 Current State: 90:[84, 6], Operations: ['94+86=180', '180/30=6'] Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[84, 94, 30, 86], Operations: [] Exploring Operation: 86-30=56, Resulting Numbers: [84, 94, 56] Generated Node #0,0: 90:[84, 94, 56] Operation: 86-30=56 Exploring Operation: 86-84=2, Resulting Numbers: [94, 30, 2] Generated Node #0,1: 90:[94, 30, 2] Operation: 86-84=2 Exploring Operation: 84-30=54, Resulting Numbers: [94, 86, 54] Generated Node #0,2: 90:[94, 86, 54] Operation: 84-30=54 Exploring Operation: 94-84=10, Resulting Numbers: [30, 86, 10] Generated Node #0,3: 90:[30, 86, 10] Operation: 94-84=10 Exploring Operation: 94-86=8, Resulting Numbers: [84, 30, 8] Generated Node #0,4: 90:[84, 30, 8] Operation: 94-86=8 Moving to Node #0,1 Current State: 90:[94, 30, 2], Operations: ['86-84=2'] Exploring Operation: 94-2=92, Resulting Numbers: [30, 92] Generated Node #0,1,0: 90:[30, 92] Operation: 94-2=92 Exploring Operation: 30+2=32, Resulting Numbers: [94, 32] Generated Node #0,1,1: 90:[94, 32] Operation: 30+2=32 Exploring Operation: 94+2=96, Resulting Numbers: [30, 96] Generated Node #0,1,2: 90:[30, 96] Operation: 94+2=96 Exploring Operation: 94/2=47, Resulting Numbers: [30, 47] Generated Node #0,1,3: 90:[30, 47] Operation: 94/2=47 Exploring Operation: 30/2=15, Resulting Numbers: [94, 15] Generated Node #0,1,4: 90:[94, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[30, 92], Operations: ['86-84=2', '94-2=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,90 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,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,3 Current State: 90:[30, 47], Operations: ['86-84=2', '94/2=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,90 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,90 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,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,4 Current State: 90:[94, 15], Operations: ['86-84=2', '30/2=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,90 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[94, 32], Operations: ['86-84=2', '30+2=32'] Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,90 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,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,2 Current State: 90:[30, 96], Operations: ['86-84=2', '94+2=96'] Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 30+96=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 30*96=2880, Resulting Numbers: [2880] 2880,90 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: 90:[30, 86, 10], Operations: ['94-84=10'] Exploring Operation: 30-10=20, Resulting Numbers: [86, 20] Generated Node #0,3,0: 90:[86, 20] Operation: 30-10=20 Exploring Operation: 86+10=96, Resulting Numbers: [30, 96] Generated Node #0,3,1: 90:[30, 96] Operation: 86+10=96 Exploring Operation: 30+10=40, Resulting Numbers: [86, 40] Generated Node #0,3,2: 90:[86, 40] Operation: 30+10=40 Exploring Operation: 30/10=3, Resulting Numbers: [86, 3] Generated Node #0,3,3: 90:[86, 3] Operation: 30/10=3 Exploring Operation: 86-30=56, Resulting Numbers: [10, 56] Generated Node #0,3,4: 90:[10, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[86, 3], Operations: ['94-84=10', '30/10=3'] Exploring Operation: 86*3=258, Resulting Numbers: [258] 258,90 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 86+3=89, Resulting Numbers: [89] 89,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[86, 20], Operations: ['94-84=10', '30-10=20'] Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,90 unequal: No Solution Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,90 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[30, 96], Operations: ['94-84=10', '86+10=96'] Exploring Operation: 30*96=2880, Resulting Numbers: [2880] 2880,90 unequal: No Solution Exploring Operation: 96-30=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 30+96=126, Resulting Numbers: [126] 126,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[86, 40], Operations: ['94-84=10', '30+10=40'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 90:[10, 56], Operations: ['94-84=10', '86-30=56'] Exploring Operation: 10*56=560, Resulting Numbers: [560] 560,90 unequal: No Solution Exploring Operation: 10+56=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,90 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: 90:[84, 30, 8], Operations: ['94-86=8'] Exploring Operation: 84-8=76, Resulting Numbers: [30, 76] Generated Node #0,4,0: 90:[30, 76] Operation: 84-8=76 Exploring Operation: 84-30=54, Resulting Numbers: [8, 54] Generated Node #0,4,1: 90:[8, 54] Operation: 84-30=54 Exploring Operation: 84+8=92, Resulting Numbers: [30, 92] Generated Node #0,4,2: 90:[30, 92] Operation: 84+8=92 Exploring Operation: 30+8=38, Resulting Numbers: [84, 38] Generated Node #0,4,3: 90:[84, 38] Operation: 30+8=38 Exploring Operation: 30-8=22, Resulting Numbers: [84, 22] Generated Node #0,4,4: 90:[84, 22] Operation: 30-8=22 Moving to Node #0,2 Current State: 90:[94, 86, 54], Operations: ['84-30=54'] Exploring Operation: 94-86=8, Resulting Numbers: [54, 8] Generated Node #0,2,0: 90:[54, 8] Operation: 94-86=8 Exploring Operation: 86-54=32, Resulting Numbers: [94, 32] Generated Node #0,2,1: 90:[94, 32] Operation: 86-54=32 Exploring Operation: 86+54=140, Resulting Numbers: [94, 140] Generated Node #0,2,2: 90:[94, 140] Operation: 86+54=140 Exploring Operation: 94+54=148, Resulting Numbers: [86, 148] Generated Node #0,2,3: 90:[86, 148] Operation: 94+54=148 Exploring Operation: 94-54=40, Resulting Numbers: [86, 40] Generated Node #0,2,4: 90:[86, 40] Operation: 94-54=40 Moving to Node #0,0 Current State: 90:[84, 94, 56], Operations: ['86-30=56'] Exploring Operation: 84-56=28, Resulting Numbers: [94, 28] Generated Node #0,0,0: 90:[94, 28] Operation: 84-56=28 Exploring Operation: 94+56=150, Resulting Numbers: [84, 150] Generated Node #0,0,1: 90:[84, 150] Operation: 94+56=150 Exploring Operation: 94-84=10, Resulting Numbers: [56, 10] Generated Node #0,0,2: 90:[56, 10] Operation: 94-84=10 Exploring Operation: 94-56=38, Resulting Numbers: [84, 38] Generated Node #0,0,3: 90:[84, 38] Operation: 94-56=38 Exploring Operation: 84+56=140, Resulting Numbers: [94, 140] Generated Node #0,0,4: 90:[94, 140] Operation: 84+56=140 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[94, 28], Operations: ['86-30=56', '84-56=28'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,90 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[56, 10], Operations: ['86-30=56', '94-84=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,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,3 Current State: 90:[84, 38], Operations: ['86-30=56', '94-56=38'] Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,90 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,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,4 Current State: 90:[94, 140], Operations: ['86-30=56', '84+56=140'] Exploring Operation: 140-94=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 94*140=13160, Resulting Numbers: [13160] 13160,90 unequal: No Solution Exploring Operation: 94+140=234, Resulting Numbers: [234] 234,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,1 Current State: 90:[84, 150], Operations: ['86-30=56', '94+56=150'] Exploring Operation: 150-84=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 84*150=12600, Resulting Numbers: [12600] 12600,90 unequal: No Solution Exploring Operation: 84+150=234, Resulting Numbers: [234] 234,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 90:[30, 92], Operations: ['94-86=8', '84+8=92'] Exploring Operation: 92-30=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 30+92=122, Resulting Numbers: [122] 122,90 unequal: No Solution Exploring Operation: 30*92=2760, Resulting Numbers: [2760] 2760,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[94, 32], Operations: ['84-30=54', '86-54=32'] Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,90 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[86, 40], Operations: ['84-30=54', '94-54=40'] Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,90 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[84, 22], Operations: ['94-86=8', '30-8=22'] Exploring Operation: 84*22=1848, Resulting Numbers: [1848] 1848,90 unequal: No Solution Exploring Operation: 84-22=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 84+22=106, Resulting Numbers: [106] 106,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[8, 54], Operations: ['94-86=8', '84-30=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,90 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[54, 8], Operations: ['84-30=54', '94-86=8'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,90 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[84, 38], Operations: ['94-86=8', '30+8=38'] Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,90 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[30, 76], Operations: ['94-86=8', '84-8=76'] Exploring Operation: 30+76=106, Resulting Numbers: [106] 106,90 unequal: No Solution Exploring Operation: 30*76=2280, Resulting Numbers: [2280] 2280,90 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[94, 140], Operations: ['84-30=54', '86+54=140'] Exploring Operation: 94+140=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 94*140=13160, Resulting Numbers: [13160] 13160,90 unequal: No Solution Exploring Operation: 140-94=46, Resulting Numbers: [46] 46,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[86, 148], Operations: ['84-30=54', '94+54=148'] Exploring Operation: 86*148=12728, Resulting Numbers: [12728] 12728,90 unequal: No Solution Exploring Operation: 148-86=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 86+148=234, Resulting Numbers: [234] 234,90 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 44, 72, 85, 17 ]
11
[ "85-72=13", "17-13=4", "44/4=11" ]
Current State: 11:[44, 72, 85, 17], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [44, 17, 13] Generated Node #2: [44, 17, 13] from Operation: 85-72=13 Current State: 11:[44, 17, 13], Operations: ['85-72=13'] Exploring Operation: 17-13=4, Resulting Numbers: [44, 4] Generated Node #3: [44, 4] from Operation: 17-13=4 Current State: 11:[44, 4], Operations: ['85-72=13', '17-13=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[44, 72, 85, 17], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [44, 72, 5] Generated Node #0,0: 11:[44, 72, 5] Operation: 85/17=5 Exploring Operation: 72-44=28, Resulting Numbers: [85, 17, 28] Generated Node #0,1: 11:[85, 17, 28] Operation: 72-44=28 Exploring Operation: 44-17=27, Resulting Numbers: [72, 85, 27] Generated Node #0,2: 11:[72, 85, 27] Operation: 44-17=27 Exploring Operation: 85-44=41, Resulting Numbers: [72, 17, 41] Generated Node #0,3: 11:[72, 17, 41] Operation: 85-44=41 Exploring Operation: 85-72=13, Resulting Numbers: [44, 17, 13] Generated Node #0,4: 11:[44, 17, 13] Operation: 85-72=13 Moving to Node #0,4 Current State: 11:[44, 17, 13], Operations: ['85-72=13'] Exploring Operation: 44+13=57, Resulting Numbers: [17, 57] Generated Node #0,4,0: 11:[17, 57] Operation: 44+13=57 Exploring Operation: 44-13=31, Resulting Numbers: [17, 31] Generated Node #0,4,1: 11:[17, 31] Operation: 44-13=31 Exploring Operation: 44+17=61, Resulting Numbers: [13, 61] Generated Node #0,4,2: 11:[13, 61] Operation: 44+17=61 Exploring Operation: 17-13=4, Resulting Numbers: [44, 4] Generated Node #0,4,3: 11:[44, 4] Operation: 17-13=4 Exploring Operation: 44-17=27, Resulting Numbers: [13, 27] Generated Node #0,4,4: 11:[13, 27] Operation: 44-17=27 Moving to Node #0,3 Current State: 11:[72, 17, 41], Operations: ['85-44=41'] Exploring Operation: 41-17=24, Resulting Numbers: [72, 24] Generated Node #0,3,0: 11:[72, 24] Operation: 41-17=24 Exploring Operation: 72-41=31, Resulting Numbers: [17, 31] Generated Node #0,3,1: 11:[17, 31] Operation: 72-41=31 Exploring Operation: 72-17=55, Resulting Numbers: [41, 55] Generated Node #0,3,2: 11:[41, 55] Operation: 72-17=55 Exploring Operation: 72+17=89, Resulting Numbers: [41, 89] Generated Node #0,3,3: 11:[41, 89] Operation: 72+17=89 Exploring Operation: 72+41=113, Resulting Numbers: [17, 113] Generated Node #0,3,4: 11:[17, 113] Operation: 72+41=113 Moving to Node #0,1 Current State: 11:[85, 17, 28], Operations: ['72-44=28'] Exploring Operation: 85+17=102, Resulting Numbers: [28, 102] Generated Node #0,1,0: 11:[28, 102] Operation: 85+17=102 Exploring Operation: 85/17=5, Resulting Numbers: [28, 5] Generated Node #0,1,1: 11:[28, 5] Operation: 85/17=5 Exploring Operation: 28-17=11, Resulting Numbers: [85, 11] Generated Node #0,1,2: 11:[85, 11] Operation: 28-17=11 Exploring Operation: 85-28=57, Resulting Numbers: [17, 57] Generated Node #0,1,3: 11:[17, 57] Operation: 85-28=57 Exploring Operation: 85-17=68, Resulting Numbers: [28, 68] Generated Node #0,1,4: 11:[28, 68] Operation: 85-17=68 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[28, 5], Operations: ['72-44=28', '85/17=5'] Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,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,3 Current State: 11:[17, 57], Operations: ['72-44=28', '85-28=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,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,2 Current State: 11:[85, 11], Operations: ['72-44=28', '28-17=11'] Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,11 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,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,4 Current State: 11:[28, 68], Operations: ['72-44=28', '85-17=68'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,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,0 Current State: 11:[28, 102], Operations: ['72-44=28', '85+17=102'] Exploring Operation: 102-28=74, Resulting Numbers: [74] 74,11 unequal: No Solution Exploring Operation: 28*102=2856, Resulting Numbers: [2856] 2856,11 unequal: No Solution Exploring Operation: 28+102=130, Resulting Numbers: [130] 130,11 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: 11:[44, 72, 5], Operations: ['85/17=5'] Exploring Operation: 44-5=39, Resulting Numbers: [72, 39] Generated Node #0,0,0: 11:[72, 39] Operation: 44-5=39 Exploring Operation: 44+5=49, Resulting Numbers: [72, 49] Generated Node #0,0,1: 11:[72, 49] Operation: 44+5=49 Exploring Operation: 72+5=77, Resulting Numbers: [44, 77] Generated Node #0,0,2: 11:[44, 77] Operation: 72+5=77 Exploring Operation: 72-5=67, Resulting Numbers: [44, 67] Generated Node #0,0,3: 11:[44, 67] Operation: 72-5=67 Exploring Operation: 72-44=28, Resulting Numbers: [5, 28] Generated Node #0,0,4: 11:[5, 28] Operation: 72-44=28 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[5, 28], Operations: ['85/17=5', '72-44=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[72, 39], Operations: ['85/17=5', '44-5=39'] Exploring Operation: 72+39=111, Resulting Numbers: [111] 111,11 unequal: No Solution Exploring Operation: 72*39=2808, Resulting Numbers: [2808] 2808,11 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[44, 67], Operations: ['85/17=5', '72-5=67'] Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,11 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[72, 49], Operations: ['85/17=5', '44+5=49'] Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,11 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[44, 77], Operations: ['85/17=5', '72+5=77'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,11 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[72, 85, 27], Operations: ['44-17=27'] Exploring Operation: 85-72=13, Resulting Numbers: [27, 13] Generated Node #0,2,0: 11:[27, 13] Operation: 85-72=13 Exploring Operation: 72+27=99, Resulting Numbers: [85, 99] Generated Node #0,2,1: 11:[85, 99] Operation: 72+27=99 Exploring Operation: 72-27=45, Resulting Numbers: [85, 45] Generated Node #0,2,2: 11:[85, 45] Operation: 72-27=45 Exploring Operation: 72+85=157, Resulting Numbers: [27, 157] Generated Node #0,2,3: 11:[27, 157] Operation: 72+85=157 Exploring Operation: 85-27=58, Resulting Numbers: [72, 58] Generated Node #0,2,4: 11:[72, 58] Operation: 85-27=58 Moving to Node #0,4,4 Current State: 11:[13, 27], Operations: ['85-72=13', '44-17=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[27, 13], Operations: ['44-17=27', '85-72=13'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[17, 31], Operations: ['85-44=41', '72-41=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[17, 31], Operations: ['85-72=13', '44-13=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,11 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[44, 4], Operations: ['85-72=13', '17-13=4'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[44, 72, 85, 17], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [44, 17, 13] Generated Node #0,4: 11:[44, 17, 13] Operation: 85-72=13 Moving to Node #0,4 Current State: 11:[44, 17, 13], Operations: ['85-72=13'] Exploring Operation: 17-13=4, Resulting Numbers: [44, 4] Generated Node #0,4,3: 11:[44, 4] Operation: 17-13=4 Moving to Node #0,4,3 Current State: 11:[44, 4], Operations: ['85-72=13', '17-13=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.932292
hs_5
mult_heuristic
[ 25, 54, 67, 52 ]
64
[ "25+54=79", "67-52=15", "79-15=64" ]
Current State: 64:[25, 54, 67, 52], Operations: [] Exploring Operation: 25+54=79, Resulting Numbers: [67, 52, 79] Generated Node #2: [67, 52, 79] from Operation: 25+54=79 Current State: 64:[67, 52, 79], Operations: ['25+54=79'] Exploring Operation: 67-52=15, Resulting Numbers: [79, 15] Generated Node #3: [79, 15] from Operation: 67-52=15 Current State: 64:[79, 15], Operations: ['25+54=79', '67-52=15'] Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[25, 54, 67, 52], Operations: [] Exploring Operation: 54-25=29, Resulting Numbers: [67, 52, 29] Generated Node #0,0: 64:[67, 52, 29] Operation: 54-25=29 Exploring Operation: 54-52=2, Resulting Numbers: [25, 67, 2] Generated Node #0,1: 64:[25, 67, 2] Operation: 54-52=2 Moving to Node #0,1 Current State: 64:[25, 67, 2], Operations: ['54-52=2'] Exploring Operation: 25+2=27, Resulting Numbers: [67, 27] Generated Node #0,1,0: 64:[67, 27] Operation: 25+2=27 Exploring Operation: 67-2=65, Resulting Numbers: [25, 65] Generated Node #0,1,1: 64:[25, 65] Operation: 67-2=65 Moving to Node #0,0 Current State: 64:[67, 52, 29], Operations: ['54-25=29'] Exploring Operation: 52-29=23, Resulting Numbers: [67, 23] Generated Node #0,0,0: 64:[67, 23] Operation: 52-29=23 Exploring Operation: 67-52=15, Resulting Numbers: [29, 15] Generated Node #0,0,1: 64:[29, 15] Operation: 67-52=15 Moving to Node #0,0,1 Current State: 64:[29, 15], Operations: ['54-25=29', '67-52=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,64 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[67, 27], Operations: ['54-52=2', '25+2=27'] Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,64 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[25, 65], Operations: ['54-52=2', '67-2=65'] Exploring Operation: 25+65=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[67, 23], Operations: ['54-25=29', '52-29=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,64 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,64 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 62, 55, 39, 15 ]
62
[ "55-39=16", "16-15=1", "62*1=62" ]
Current State: 62:[62, 55, 39, 15], Operations: [] Exploring Operation: 55-39=16, Resulting Numbers: [62, 15, 16] Generated Node #2: [62, 15, 16] from Operation: 55-39=16 Current State: 62:[62, 15, 16], Operations: ['55-39=16'] Exploring Operation: 16-15=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 16-15=1 Current State: 62:[62, 1], Operations: ['55-39=16', '16-15=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[62, 55, 39, 15], Operations: [] Exploring Operation: 39-15=24, Resulting Numbers: [62, 55, 24] Generated Node #0,0: 62:[62, 55, 24] Operation: 39-15=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[62, 55, 24], Operations: ['39-15=24'] Exploring Operation: 55-24=31, Resulting Numbers: [62, 31] Generated Node #0,0,0: 62:[62, 31] Operation: 55-24=31 Moving to Node #0,0,0 Current State: 62:[62, 31], Operations: ['39-15=24', '55-24=31'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,62 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
[ 43, 99, 8, 72 ]
47
[ "99-43=56", "72/8=9", "56-9=47" ]
Current State: 47:[43, 99, 8, 72], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [8, 72, 56] Generated Node #2: [8, 72, 56] from Operation: 99-43=56 Current State: 47:[8, 72, 56], Operations: ['99-43=56'] Exploring Operation: 72/8=9, Resulting Numbers: [56, 9] Generated Node #3: [56, 9] from Operation: 72/8=9 Current State: 47:[56, 9], Operations: ['99-43=56', '72/8=9'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[43, 99, 8, 72], Operations: [] Exploring Operation: 99-72=27, Resulting Numbers: [43, 8, 27] Generated Node #0,0: 47:[43, 8, 27] Operation: 99-72=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[43, 8, 27], Operations: ['99-72=27'] Exploring Operation: 8+27=35, Resulting Numbers: [43, 35] Generated Node #0,0,0: 47:[43, 35] Operation: 8+27=35 Moving to Node #0,0,0 Current State: 47:[43, 35], Operations: ['99-72=27', '8+27=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,47 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, 53, 51, 43 ]
49
[ "53+51=104", "43+104=147", "147/3=49" ]
Current State: 49:[3, 53, 51, 43], Operations: [] Exploring Operation: 53+51=104, Resulting Numbers: [3, 43, 104] Generated Node #2: [3, 43, 104] from Operation: 53+51=104 Current State: 49:[3, 43, 104], Operations: ['53+51=104'] Exploring Operation: 43+104=147, Resulting Numbers: [3, 147] Generated Node #3: [3, 147] from Operation: 43+104=147 Current State: 49:[3, 147], Operations: ['53+51=104', '43+104=147'] Exploring Operation: 147/3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[3, 53, 51, 43], Operations: [] Exploring Operation: 53-3=50, Resulting Numbers: [51, 43, 50] Generated Node #0,0: 49:[51, 43, 50] Operation: 53-3=50 Moving to Node #0,0 Current State: 49:[51, 43, 50], Operations: ['53-3=50'] Exploring Operation: 51-43=8, Resulting Numbers: [50, 8] Generated Node #0,0,0: 49:[50, 8] Operation: 51-43=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[50, 8], Operations: ['53-3=50', '51-43=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,49 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, 19, 7, 18 ]
60
[ "40*18=720", "19-7=12", "720/12=60" ]
Current State: 60:[40, 19, 7, 18], Operations: [] Exploring Operation: 40*18=720, Resulting Numbers: [19, 7, 720] Generated Node #2: [19, 7, 720] from Operation: 40*18=720 Current State: 60:[19, 7, 720], Operations: ['40*18=720'] Exploring Operation: 19-7=12, Resulting Numbers: [720, 12] Generated Node #3: [720, 12] from Operation: 19-7=12 Current State: 60:[720, 12], Operations: ['40*18=720', '19-7=12'] Exploring Operation: 720/12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[40, 19, 7, 18], Operations: [] Exploring Operation: 40+19=59, Resulting Numbers: [7, 18, 59] Generated Node #0,0: 60:[7, 18, 59] Operation: 40+19=59 Exploring Operation: 40-19=21, Resulting Numbers: [7, 18, 21] Generated Node #0,1: 60:[7, 18, 21] Operation: 40-19=21 Exploring Operation: 40-18=22, Resulting Numbers: [19, 7, 22] Generated Node #0,2: 60:[19, 7, 22] Operation: 40-18=22 Exploring Operation: 40+18=58, Resulting Numbers: [19, 7, 58] Generated Node #0,3: 60:[19, 7, 58] Operation: 40+18=58 Moving to Node #0,0 Current State: 60:[7, 18, 59], Operations: ['40+19=59'] Exploring Operation: 18-7=11, Resulting Numbers: [59, 11] Generated Node #0,0,0: 60:[59, 11] Operation: 18-7=11 Exploring Operation: 59-7=52, Resulting Numbers: [18, 52] Generated Node #0,0,1: 60:[18, 52] Operation: 59-7=52 Exploring Operation: 7+18=25, Resulting Numbers: [59, 25] Generated Node #0,0,2: 60:[59, 25] Operation: 7+18=25 Exploring Operation: 7+59=66, Resulting Numbers: [18, 66] Generated Node #0,0,3: 60:[18, 66] Operation: 7+59=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[59, 11], Operations: ['40+19=59', '18-7=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,60 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 60:[59, 25], Operations: ['40+19=59', '7+18=25'] Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,60 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 60:[18, 66], Operations: ['40+19=59', '7+59=66'] Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,60 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[18, 52], Operations: ['40+19=59', '59-7=52'] Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,60 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: 60:[19, 7, 22], Operations: ['40-18=22'] Exploring Operation: 22-19=3, Resulting Numbers: [7, 3] Generated Node #0,2,0: 60:[7, 3] Operation: 22-19=3 Exploring Operation: 19-7=12, Resulting Numbers: [22, 12] Generated Node #0,2,1: 60:[22, 12] Operation: 19-7=12 Exploring Operation: 22-7=15, Resulting Numbers: [19, 15] Generated Node #0,2,2: 60:[19, 15] Operation: 22-7=15 Exploring Operation: 7+22=29, Resulting Numbers: [19, 29] Generated Node #0,2,3: 60:[19, 29] Operation: 7+22=29 Moving to Node #0,1 Current State: 60:[7, 18, 21], Operations: ['40-19=21'] Exploring Operation: 21-7=14, Resulting Numbers: [18, 14] Generated Node #0,1,0: 60:[18, 14] Operation: 21-7=14 Exploring Operation: 18-7=11, Resulting Numbers: [21, 11] Generated Node #0,1,1: 60:[21, 11] Operation: 18-7=11 Exploring Operation: 21-18=3, Resulting Numbers: [7, 3] Generated Node #0,1,2: 60:[7, 3] Operation: 21-18=3 Exploring Operation: 21/7=3, Resulting Numbers: [18, 3] Generated Node #0,1,3: 60:[18, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[7, 3], Operations: ['40-19=21', '21-18=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[21, 11], Operations: ['40-19=21', '18-7=11'] Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,60 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 60:[18, 3], Operations: ['40-19=21', '21/7=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,60 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[18, 14], Operations: ['40-19=21', '21-7=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 18*14=252, Resulting Numbers: [252] 252,60 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,60 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: 60:[19, 7, 58], Operations: ['40+18=58'] Exploring Operation: 58-19=39, Resulting Numbers: [7, 39] Generated Node #0,3,0: 60:[7, 39] Operation: 58-19=39 Exploring Operation: 19-7=12, Resulting Numbers: [58, 12] Generated Node #0,3,1: 60:[58, 12] Operation: 19-7=12 Exploring Operation: 19+7=26, Resulting Numbers: [58, 26] Generated Node #0,3,2: 60:[58, 26] Operation: 19+7=26 Exploring Operation: 7+58=65, Resulting Numbers: [19, 65] Generated Node #0,3,3: 60:[19, 65] Operation: 7+58=65 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 60:[58, 12], Operations: ['40+18=58', '19-7=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 60:[58, 26], Operations: ['40+18=58', '19+7=26'] Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 60:[19, 65], Operations: ['40+18=58', '7+58=65'] Exploring Operation: 19*65=1235, Resulting Numbers: [1235] 1235,60 unequal: No Solution Exploring Operation: 19+65=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 60:[7, 39], Operations: ['40+18=58', '58-19=39'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,60 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 60:[7, 3], Operations: ['40-18=22', '22-19=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[19, 15], Operations: ['40-18=22', '22-7=15'] Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,60 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,60 unequal: No Solution Moving to Node #0,2,3 Current State: 60:[19, 29], Operations: ['40-18=22', '7+22=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,60 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[22, 12], Operations: ['40-18=22', '19-7=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,60 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 5, 81, 10, 74 ]
21
[ "81+74=155", "155/5=31", "31-10=21" ]
Current State: 21:[5, 81, 10, 74], Operations: [] Exploring Operation: 81+74=155, Resulting Numbers: [5, 10, 155] Generated Node #2: [5, 10, 155] from Operation: 81+74=155 Current State: 21:[5, 10, 155], Operations: ['81+74=155'] Exploring Operation: 155/5=31, Resulting Numbers: [10, 31] Generated Node #3: [10, 31] from Operation: 155/5=31 Current State: 21:[10, 31], Operations: ['81+74=155', '155/5=31'] Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[5, 81, 10, 74], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [5, 81, 64] Generated Node #0,0: 21:[5, 81, 64] Operation: 74-10=64 Exploring Operation: 81-74=7, Resulting Numbers: [5, 10, 7] Generated Node #0,1: 21:[5, 10, 7] Operation: 81-74=7 Exploring Operation: 81-5=76, Resulting Numbers: [10, 74, 76] Generated Node #0,2: 21:[10, 74, 76] Operation: 81-5=76 Exploring Operation: 81-10=71, Resulting Numbers: [5, 74, 71] Generated Node #0,3: 21:[5, 74, 71] Operation: 81-10=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[5, 10, 7], Operations: ['81-74=7'] Exploring Operation: 7-5=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 21:[10, 2] Operation: 7-5=2 Exploring Operation: 10-5=5, Resulting Numbers: [7, 5] Generated Node #0,1,1: 21:[7, 5] Operation: 10-5=5 Exploring Operation: 10-7=3, Resulting Numbers: [5, 3] Generated Node #0,1,2: 21:[5, 3] Operation: 10-7=3 Exploring Operation: 10/5=2, Resulting Numbers: [7, 2] Generated Node #0,1,3: 21:[7, 2] Operation: 10/5=2 Moving to Node #0,1,3 Current State: 21:[7, 2], Operations: ['81-74=7', '10/5=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,21 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[5, 3], Operations: ['81-74=7', '10-7=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[7, 5], Operations: ['81-74=7', '10-5=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,21 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[10, 2], Operations: ['81-74=7', '7-5=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[5, 81, 64], Operations: ['74-10=64'] Exploring Operation: 81-64=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 21:[5, 17] Operation: 81-64=17 Exploring Operation: 5+81=86, Resulting Numbers: [64, 86] Generated Node #0,0,1: 21:[64, 86] Operation: 5+81=86 Exploring Operation: 64-5=59, Resulting Numbers: [81, 59] Generated Node #0,0,2: 21:[81, 59] Operation: 64-5=59 Exploring Operation: 81-5=76, Resulting Numbers: [64, 76] Generated Node #0,0,3: 21:[64, 76] Operation: 81-5=76 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[5, 17], Operations: ['74-10=64', '81-64=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 5*17=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[81, 59], Operations: ['74-10=64', '64-5=59'] Exploring Operation: 81+59=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 81*59=4779, Resulting Numbers: [4779] 4779,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[64, 76], Operations: ['74-10=64', '81-5=76'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 64*76=4864, Resulting Numbers: [4864] 4864,21 unequal: No Solution Exploring Operation: 64+76=140, Resulting Numbers: [140] 140,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[64, 86], Operations: ['74-10=64', '5+81=86'] Exploring Operation: 64+86=150, Resulting Numbers: [150] 150,21 unequal: No Solution Exploring Operation: 86-64=22, Resulting Numbers: [22] 22,21 unequal: No Solution Exploring Operation: 64*86=5504, Resulting Numbers: [5504] 5504,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[5, 74, 71], Operations: ['81-10=71'] Exploring Operation: 5+74=79, Resulting Numbers: [71, 79] Generated Node #0,3,0: 21:[71, 79] Operation: 5+74=79 Exploring Operation: 74-5=69, Resulting Numbers: [71, 69] Generated Node #0,3,1: 21:[71, 69] Operation: 74-5=69 Exploring Operation: 74-71=3, Resulting Numbers: [5, 3] Generated Node #0,3,2: 21:[5, 3] Operation: 74-71=3 Exploring Operation: 71-5=66, Resulting Numbers: [74, 66] Generated Node #0,3,3: 21:[74, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 21:[5, 3], Operations: ['81-10=71', '74-71=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 21:[71, 69], Operations: ['81-10=71', '74-5=69'] Exploring Operation: 71*69=4899, Resulting Numbers: [4899] 4899,21 unequal: No Solution Exploring Operation: 71-69=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 71+69=140, Resulting Numbers: [140] 140,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 21:[74, 66], Operations: ['81-10=71', '71-5=66'] Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 21:[71, 79], Operations: ['81-10=71', '5+74=79'] Exploring Operation: 71+79=150, Resulting Numbers: [150] 150,21 unequal: No Solution Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 71*79=5609, Resulting Numbers: [5609] 5609,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[10, 74, 76], Operations: ['81-5=76'] Exploring Operation: 74-10=64, Resulting Numbers: [76, 64] Generated Node #0,2,0: 21:[76, 64] Operation: 74-10=64 Exploring Operation: 76-10=66, Resulting Numbers: [74, 66] Generated Node #0,2,1: 21:[74, 66] Operation: 76-10=66 Exploring Operation: 76-74=2, Resulting Numbers: [10, 2] Generated Node #0,2,2: 21:[10, 2] Operation: 76-74=2 Exploring Operation: 10+74=84, Resulting Numbers: [76, 84] Generated Node #0,2,3: 21:[76, 84] Operation: 10+74=84 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[10, 2], Operations: ['81-5=76', '76-74=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[76, 64], Operations: ['81-5=76', '74-10=64'] Exploring Operation: 76-64=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 76+64=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 76*64=4864, Resulting Numbers: [4864] 4864,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[74, 66], Operations: ['81-5=76', '76-10=66'] Exploring Operation: 74+66=140, Resulting Numbers: [140] 140,21 unequal: No Solution Exploring Operation: 74*66=4884, Resulting Numbers: [4884] 4884,21 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[76, 84], Operations: ['81-5=76', '10+74=84'] Exploring Operation: 76*84=6384, Resulting Numbers: [6384] 6384,21 unequal: No Solution Exploring Operation: 76+84=160, Resulting Numbers: [160] 160,21 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 20, 31, 70 ]
25
[ "96-20=76", "31+70=101", "101-76=25" ]
Current State: 25:[96, 20, 31, 70], Operations: [] Exploring Operation: 96-20=76, Resulting Numbers: [31, 70, 76] Generated Node #2: [31, 70, 76] from Operation: 96-20=76 Current State: 25:[31, 70, 76], Operations: ['96-20=76'] Exploring Operation: 31+70=101, Resulting Numbers: [76, 101] Generated Node #3: [76, 101] from Operation: 31+70=101 Current State: 25:[76, 101], Operations: ['96-20=76', '31+70=101'] Exploring Operation: 101-76=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[96, 20, 31, 70], Operations: [] Exploring Operation: 96-31=65, Resulting Numbers: [20, 70, 65] Generated Node #0,0: 25:[20, 70, 65] Operation: 96-31=65 Exploring Operation: 96-70=26, Resulting Numbers: [20, 31, 26] Generated Node #0,1: 25:[20, 31, 26] Operation: 96-70=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[20, 31, 26], Operations: ['96-70=26'] Exploring Operation: 31-26=5, Resulting Numbers: [20, 5] Generated Node #0,1,0: 25:[20, 5] Operation: 31-26=5 Exploring Operation: 31-20=11, Resulting Numbers: [26, 11] Generated Node #0,1,1: 25:[26, 11] Operation: 31-20=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[20, 5], Operations: ['96-70=26', '31-26=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[96, 20, 31, 70], Operations: [] Exploring Operation: 96-70=26, Resulting Numbers: [20, 31, 26] Generated Node #0,1: 25:[20, 31, 26] Operation: 96-70=26 Moving to Node #0,1 Current State: 25:[20, 31, 26], Operations: ['96-70=26'] Exploring Operation: 31-26=5, Resulting Numbers: [20, 5] Generated Node #0,1,0: 25:[20, 5] Operation: 31-26=5 Moving to Node #0,1,0 Current State: 25:[20, 5], Operations: ['96-70=26', '31-26=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 95, 78, 85, 17 ]
85
[ "95-78=17", "85+17=102", "102-17=85" ]
Current State: 85:[95, 78, 85, 17], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [85, 17, 17] Generated Node #2: [85, 17, 17] from Operation: 95-78=17 Current State: 85:[85, 17, 17], Operations: ['95-78=17'] Exploring Operation: 85+17=102, Resulting Numbers: [102] 102,85 equal: Goal Reached Exploring Operation: 102-17=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[95, 78, 85, 17], Operations: [] Exploring Operation: 85-78=7, Resulting Numbers: [95, 17, 7] Generated Node #0,0: 85:[95, 17, 7] Operation: 85-78=7 Exploring Operation: 95-85=10, Resulting Numbers: [78, 17, 10] Generated Node #0,1: 85:[78, 17, 10] Operation: 95-85=10 Exploring Operation: 85/17=5, Resulting Numbers: [95, 78, 5] Generated Node #0,2: 85:[95, 78, 5] Operation: 85/17=5 Exploring Operation: 95-17=78, Resulting Numbers: [78, 85, 78] Generated Node #0,3: 85:[78, 85, 78] Operation: 95-17=78 Exploring Operation: 95-78=17, Resulting Numbers: [85, 17, 17] Generated Node #0,4: 85:[85, 17, 17] Operation: 95-78=17 Start Sub Search at level 1: Moving to Node #0,4 Current State: 85:[85, 17, 17], Operations: ['95-78=17'] Exploring Operation: 85/17=5, Resulting Numbers: [17, 5] Generated Node #0,4,0: 85:[17, 5] Operation: 85/17=5 Exploring Operation: 85/17=5, Resulting Numbers: [17, 5] Generated Node #0,4,1: 85:[17, 5] Operation: 85/17=5 Exploring Operation: 17/17=1, Resulting Numbers: [85, 1] Generated Node #0,4,2: 85:[85, 1] Operation: 17/17=1 Exploring Operation: 85+17=102, Resulting Numbers: [17, 102] Generated Node #0,4,3: 85:[17, 102] Operation: 85+17=102 Exploring Operation: 17-17=0, Resulting Numbers: [85, 0] Generated Node #0,4,4: 85:[85, 0] Operation: 17-17=0 Moving to Node #0,4,0 Current State: 85:[17, 5], Operations: ['95-78=17', '85/17=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[95, 78, 85, 17], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [85, 17, 17] Generated Node #0,4: 85:[85, 17, 17] Operation: 95-78=17 Moving to Node #0,4 Current State: 85:[85, 17, 17], Operations: ['95-78=17'] Exploring Operation: 85/17=5, Resulting Numbers: [17, 5] Generated Node #0,4,0: 85:[17, 5] Operation: 85/17=5 Moving to Node #0,4,0 Current State: 85:[17, 5], Operations: ['95-78=17', '85/17=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 35, 52, 47, 45 ]
61
[ "47-45=2", "52/2=26", "35+26=61" ]
Current State: 61:[35, 52, 47, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [35, 52, 2] Generated Node #2: [35, 52, 2] from Operation: 47-45=2 Current State: 61:[35, 52, 2], Operations: ['47-45=2'] Exploring Operation: 52/2=26, Resulting Numbers: [35, 26] Generated Node #3: [35, 26] from Operation: 52/2=26 Current State: 61:[35, 26], Operations: ['47-45=2', '52/2=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[35, 52, 47, 45], Operations: [] Exploring Operation: 35+52=87, Resulting Numbers: [47, 45, 87] Generated Node #0,0: 61:[47, 45, 87] Operation: 35+52=87 Exploring Operation: 35+45=80, Resulting Numbers: [52, 47, 80] Generated Node #0,1: 61:[52, 47, 80] Operation: 35+45=80 Exploring Operation: 47+45=92, Resulting Numbers: [35, 52, 92] Generated Node #0,2: 61:[35, 52, 92] Operation: 47+45=92 Exploring Operation: 35+47=82, Resulting Numbers: [52, 45, 82] Generated Node #0,3: 61:[52, 45, 82] Operation: 35+47=82 Moving to Node #0,1 Current State: 61:[52, 47, 80], Operations: ['35+45=80'] Exploring Operation: 52-47=5, Resulting Numbers: [80, 5] Generated Node #0,1,0: 61:[80, 5] Operation: 52-47=5 Exploring Operation: 80-52=28, Resulting Numbers: [47, 28] Generated Node #0,1,1: 61:[47, 28] Operation: 80-52=28 Exploring Operation: 52+47=99, Resulting Numbers: [80, 99] Generated Node #0,1,2: 61:[80, 99] Operation: 52+47=99 Exploring Operation: 80-47=33, Resulting Numbers: [52, 33] Generated Node #0,1,3: 61:[52, 33] Operation: 80-47=33 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[52, 33], Operations: ['35+45=80', '80-47=33'] Exploring Operation: 52+33=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 52*33=1716, Resulting Numbers: [1716] 1716,61 unequal: No Solution Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[47, 28], Operations: ['35+45=80', '80-52=28'] Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,61 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[80, 99], Operations: ['35+45=80', '52+47=99'] Exploring Operation: 80*99=7920, Resulting Numbers: [7920] 7920,61 unequal: No Solution Exploring Operation: 80+99=179, Resulting Numbers: [179] 179,61 unequal: No Solution Exploring Operation: 99-80=19, Resulting Numbers: [19] 19,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:[80, 5], Operations: ['35+45=80', '52-47=5'] Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,61 unequal: No Solution Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,61 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,61 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: 61:[52, 45, 82], Operations: ['35+47=82'] Exploring Operation: 82-52=30, Resulting Numbers: [45, 30] Generated Node #0,3,0: 61:[45, 30] Operation: 82-52=30 Exploring Operation: 52+45=97, Resulting Numbers: [82, 97] Generated Node #0,3,1: 61:[82, 97] Operation: 52+45=97 Exploring Operation: 52-45=7, Resulting Numbers: [82, 7] Generated Node #0,3,2: 61:[82, 7] Operation: 52-45=7 Exploring Operation: 82-45=37, Resulting Numbers: [52, 37] Generated Node #0,3,3: 61:[52, 37] Operation: 82-45=37 Moving to Node #0,0 Current State: 61:[47, 45, 87], Operations: ['35+52=87'] Exploring Operation: 87-47=40, Resulting Numbers: [45, 40] Generated Node #0,0,0: 61:[45, 40] Operation: 87-47=40 Exploring Operation: 47-45=2, Resulting Numbers: [87, 2] Generated Node #0,0,1: 61:[87, 2] Operation: 47-45=2 Exploring Operation: 47+45=92, Resulting Numbers: [87, 92] Generated Node #0,0,2: 61:[87, 92] Operation: 47+45=92 Exploring Operation: 87-45=42, Resulting Numbers: [47, 42] Generated Node #0,0,3: 61:[47, 42] Operation: 87-45=42 Moving to Node #0,2 Current State: 61:[35, 52, 92], Operations: ['47+45=92'] Exploring Operation: 92-52=40, Resulting Numbers: [35, 40] Generated Node #0,2,0: 61:[35, 40] Operation: 92-52=40 Exploring Operation: 92-35=57, Resulting Numbers: [52, 57] Generated Node #0,2,1: 61:[52, 57] Operation: 92-35=57 Exploring Operation: 35+52=87, Resulting Numbers: [92, 87] Generated Node #0,2,2: 61:[92, 87] Operation: 35+52=87 Exploring Operation: 52-35=17, Resulting Numbers: [92, 17] Generated Node #0,2,3: 61:[92, 17] Operation: 52-35=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[52, 57], Operations: ['47+45=92', '92-35=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[35, 40], Operations: ['47+45=92', '92-52=40'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[92, 87], Operations: ['47+45=92', '35+52=87'] Exploring Operation: 92*87=8004, Resulting Numbers: [8004] 8004,61 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 92+87=179, Resulting Numbers: [179] 179,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[92, 17], Operations: ['47+45=92', '52-35=17'] Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 92+17=109, Resulting Numbers: [109] 109,61 unequal: No Solution Exploring Operation: 92*17=1564, Resulting Numbers: [1564] 1564,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 61:[52, 37], Operations: ['35+47=82', '82-45=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[47, 42], Operations: ['35+52=87', '87-45=42'] Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,61 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,61 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[45, 40], Operations: ['35+52=87', '87-47=40'] Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,61 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[45, 30], Operations: ['35+47=82', '82-52=30'] Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,61 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[82, 97], Operations: ['35+47=82', '52+45=97'] Exploring Operation: 82+97=179, Resulting Numbers: [179] 179,61 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 82*97=7954, Resulting Numbers: [7954] 7954,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[87, 92], Operations: ['35+52=87', '47+45=92'] Exploring Operation: 87*92=8004, Resulting Numbers: [8004] 8004,61 unequal: No Solution Exploring Operation: 87+92=179, Resulting Numbers: [179] 179,61 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[82, 7], Operations: ['35+47=82', '52-45=7'] Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,61 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[87, 2], Operations: ['35+52=87', '47-45=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,61 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,61 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 45, 41, 1, 96 ]
24
[ "45-41=4", "1*96=96", "96/4=24" ]
Current State: 24:[45, 41, 1, 96], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [1, 96, 4] Generated Node #2: [1, 96, 4] from Operation: 45-41=4 Current State: 24:[1, 96, 4], Operations: ['45-41=4'] Exploring Operation: 1*96=96, Resulting Numbers: [4, 96] Generated Node #3: [4, 96] from Operation: 1*96=96 Current State: 24:[4, 96], Operations: ['45-41=4', '1*96=96'] Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[45, 41, 1, 96], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [41, 1, 51] Generated Node #0,0: 24:[41, 1, 51] Operation: 96-45=51 Exploring Operation: 96-41=55, Resulting Numbers: [45, 1, 55] Generated Node #0,1: 24:[45, 1, 55] Operation: 96-41=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[41, 1, 51], Operations: ['96-45=51'] Exploring Operation: 41-1=40, Resulting Numbers: [51, 40] Generated Node #0,0,0: 24:[51, 40] Operation: 41-1=40 Exploring Operation: 51-41=10, Resulting Numbers: [1, 10] Generated Node #0,0,1: 24:[1, 10] Operation: 51-41=10 Moving to Node #0,0,1 Current State: 24:[1, 10], Operations: ['96-45=51', '51-41=10'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[51, 40], Operations: ['96-45=51', '41-1=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,24 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,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:[45, 1, 55], Operations: ['96-41=55'] Exploring Operation: 55-45=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 24:[1, 10] Operation: 55-45=10 Exploring Operation: 45-1=44, Resulting Numbers: [55, 44] Generated Node #0,1,1: 24:[55, 44] Operation: 45-1=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[1, 10], Operations: ['96-41=55', '55-45=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[55, 44], Operations: ['96-41=55', '45-1=44'] Exploring Operation: 55-44=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 55+44=99, Resulting Numbers: [99] 99,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 57, 4, 63 ]
51
[ "8*57=456", "456/4=114", "114-63=51" ]
Current State: 51:[8, 57, 4, 63], Operations: [] Exploring Operation: 8*57=456, Resulting Numbers: [4, 63, 456] Generated Node #2: [4, 63, 456] from Operation: 8*57=456 Current State: 51:[4, 63, 456], Operations: ['8*57=456'] Exploring Operation: 456/4=114, Resulting Numbers: [63, 114] Generated Node #3: [63, 114] from Operation: 456/4=114 Current State: 51:[63, 114], Operations: ['8*57=456', '456/4=114'] Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[8, 57, 4, 63], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [57, 4, 55] Generated Node #0,0: 51:[57, 4, 55] Operation: 63-8=55 Exploring Operation: 63-57=6, Resulting Numbers: [8, 4, 6] Generated Node #0,1: 51:[8, 4, 6] Operation: 63-57=6 Exploring Operation: 57-8=49, Resulting Numbers: [4, 63, 49] Generated Node #0,2: 51:[4, 63, 49] Operation: 57-8=49 Moving to Node #0,1 Current State: 51:[8, 4, 6], Operations: ['63-57=6'] Exploring Operation: 8-4=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 51:[6, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [6, 2] Generated Node #0,1,1: 51:[6, 2] Operation: 8/4=2 Exploring Operation: 8-6=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 51:[4, 2] Operation: 8-6=2 Moving to Node #0,0 Current State: 51:[57, 4, 55], Operations: ['63-8=55'] Exploring Operation: 57-55=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 51:[4, 2] Operation: 57-55=2 Exploring Operation: 57-4=53, Resulting Numbers: [55, 53] Generated Node #0,0,1: 51:[55, 53] Operation: 57-4=53 Exploring Operation: 55-4=51, Resulting Numbers: [57, 51] Generated Node #0,0,2: 51:[57, 51] Operation: 55-4=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[4, 2], Operations: ['63-8=55', '57-55=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[55, 53], Operations: ['63-8=55', '57-4=53'] Exploring Operation: 55*53=2915, Resulting Numbers: [2915] 2915,51 unequal: No Solution Exploring Operation: 55-53=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 55+53=108, Resulting Numbers: [108] 108,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 51:[57, 51], Operations: ['63-8=55', '55-4=51'] Exploring Operation: 57*51=2907, Resulting Numbers: [2907] 2907,51 unequal: No Solution Exploring Operation: 57-51=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 57+51=108, Resulting Numbers: [108] 108,51 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: 51:[4, 63, 49], Operations: ['57-8=49'] Exploring Operation: 4+49=53, Resulting Numbers: [63, 53] Generated Node #0,2,0: 51:[63, 53] Operation: 4+49=53 Exploring Operation: 63-49=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 51:[4, 14] Operation: 63-49=14 Exploring Operation: 63-4=59, Resulting Numbers: [49, 59] Generated Node #0,2,2: 51:[49, 59] Operation: 63-4=59 Moving to Node #0,1,2 Current State: 51:[4, 2], Operations: ['63-57=6', '8-6=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[6, 2], Operations: ['63-57=6', '8/4=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[6, 4], Operations: ['63-57=6', '8-4=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,51 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[4, 14], Operations: ['57-8=49', '63-49=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[49, 59], Operations: ['57-8=49', '63-4=59'] Exploring Operation: 49*59=2891, Resulting Numbers: [2891] 2891,51 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 49+59=108, Resulting Numbers: [108] 108,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[63, 53], Operations: ['57-8=49', '4+49=53'] Exploring Operation: 63+53=116, Resulting Numbers: [116] 116,51 unequal: No Solution Exploring Operation: 63*53=3339, Resulting Numbers: [3339] 3339,51 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 93, 37, 23, 80 ]
47
[ "93-37=56", "23+80=103", "103-56=47" ]
Current State: 47:[93, 37, 23, 80], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [23, 80, 56] Generated Node #2: [23, 80, 56] from Operation: 93-37=56 Current State: 47:[23, 80, 56], Operations: ['93-37=56'] Exploring Operation: 23+80=103, Resulting Numbers: [56, 103] Generated Node #3: [56, 103] from Operation: 23+80=103 Current State: 47:[56, 103], Operations: ['93-37=56', '23+80=103'] Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[93, 37, 23, 80], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [23, 80, 56] Generated Node #0,0: 47:[23, 80, 56] Operation: 93-37=56 Moving to Node #0,0 Current State: 47:[23, 80, 56], Operations: ['93-37=56'] Exploring Operation: 80-23=57, Resulting Numbers: [56, 57] Generated Node #0,0,0: 47:[56, 57] Operation: 80-23=57 Moving to Node #0,0,0 Current State: 47:[56, 57], Operations: ['93-37=56', '80-23=57'] Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 45, 64, 53 ]
37
[ "49-45=4", "64/4=16", "53-16=37" ]
Current State: 37:[49, 45, 64, 53], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [64, 53, 4] Generated Node #2: [64, 53, 4] from Operation: 49-45=4 Current State: 37:[64, 53, 4], Operations: ['49-45=4'] Exploring Operation: 64/4=16, Resulting Numbers: [53, 16] Generated Node #3: [53, 16] from Operation: 64/4=16 Current State: 37:[53, 16], Operations: ['49-45=4', '64/4=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[49, 45, 64, 53], Operations: [] Exploring Operation: 64-49=15, Resulting Numbers: [45, 53, 15] Generated Node #0,0: 37:[45, 53, 15] Operation: 64-49=15 Moving to Node #0,0 Current State: 37:[45, 53, 15], Operations: ['64-49=15'] Exploring Operation: 53-15=38, Resulting Numbers: [45, 38] Generated Node #0,0,0: 37:[45, 38] Operation: 53-15=38 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[45, 38], Operations: ['64-49=15', '53-15=38'] Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,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
mult_heuristic
[ 20, 23, 23, 40 ]
51
[ "23-20=3", "40-23=17", "3*17=51" ]
Current State: 51:[20, 23, 23, 40], Operations: [] Exploring Operation: 23-20=3, Resulting Numbers: [40, 3] Generated Node #2: [40, 3] from Operation: 23-20=3 Current State: 51:[40, 3], Operations: ['23-20=3'] Exploring Operation: 40-23=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 40-23=17 Current State: 51:[3, 17], Operations: ['23-20=3', '40-23=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[20, 23, 23, 40], Operations: [] Exploring Operation: 40-20=20, Resulting Numbers: [23, 23, 20] Generated Node #0,0: 51:[23, 23, 20] Operation: 40-20=20 Exploring Operation: 40-23=17, Resulting Numbers: [20, 23, 17] Generated Node #0,1: 51:[20, 23, 17] Operation: 40-23=17 Exploring Operation: 40-23=17, Resulting Numbers: [20, 23, 17] Generated Node #0,2: 51:[20, 23, 17] Operation: 40-23=17 Exploring Operation: 40/20=2, Resulting Numbers: [23, 23, 2] Generated Node #0,3: 51:[23, 23, 2] Operation: 40/20=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[20, 23, 17], Operations: ['40-23=17'] Exploring Operation: 20-17=3, Resulting Numbers: [23, 3] Generated Node #0,1,0: 51:[23, 3] Operation: 20-17=3 Exploring Operation: 23-20=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 51:[17, 3] Operation: 23-20=3 Exploring Operation: 20+23=43, Resulting Numbers: [17, 43] Generated Node #0,1,2: 51:[17, 43] Operation: 20+23=43 Exploring Operation: 23-17=6, Resulting Numbers: [20, 6] Generated Node #0,1,3: 51:[20, 6] Operation: 23-17=6 Moving to Node #0,1,1 Current State: 51:[17, 3], Operations: ['40-23=17', '23-20=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[20, 23, 23, 40], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [20, 23, 17] Generated Node #0,1: 51:[20, 23, 17] Operation: 40-23=17 Moving to Node #0,1 Current State: 51:[20, 23, 17], Operations: ['40-23=17'] Exploring Operation: 23-20=3, Resulting Numbers: [17, 3] Generated Node #0,1,1: 51:[17, 3] Operation: 23-20=3 Moving to Node #0,1,1 Current State: 51:[17, 3], Operations: ['40-23=17', '23-20=3'] Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 22, 61, 74, 94 ]
19
[ "61-22=39", "94-74=20", "39-20=19" ]
Current State: 19:[22, 61, 74, 94], Operations: [] Exploring Operation: 61-22=39, Resulting Numbers: [74, 94, 39] Generated Node #2: [74, 94, 39] from Operation: 61-22=39 Current State: 19:[74, 94, 39], Operations: ['61-22=39'] Exploring Operation: 94-74=20, Resulting Numbers: [39, 20] Generated Node #3: [39, 20] from Operation: 94-74=20 Current State: 19:[39, 20], Operations: ['61-22=39', '94-74=20'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[22, 61, 74, 94], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [22, 74, 33] Generated Node #0,0: 19:[22, 74, 33] Operation: 94-61=33 Exploring Operation: 94-74=20, Resulting Numbers: [22, 61, 20] Generated Node #0,1: 19:[22, 61, 20] Operation: 94-74=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[22, 61, 20], Operations: ['94-74=20'] Exploring Operation: 61-20=41, Resulting Numbers: [22, 41] Generated Node #0,1,0: 19:[22, 41] Operation: 61-20=41 Exploring Operation: 61-22=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 19:[20, 39] Operation: 61-22=39 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[20, 39], Operations: ['94-74=20', '61-22=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[22, 61, 74, 94], Operations: [] Exploring Operation: 94-74=20, Resulting Numbers: [22, 61, 20] Generated Node #0,1: 19:[22, 61, 20] Operation: 94-74=20 Moving to Node #0,1 Current State: 19:[22, 61, 20], Operations: ['94-74=20'] Exploring Operation: 61-22=39, Resulting Numbers: [20, 39] Generated Node #0,1,1: 19:[20, 39] Operation: 61-22=39 Moving to Node #0,1,1 Current State: 19:[20, 39], Operations: ['94-74=20', '61-22=39'] Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 37, 2, 49, 74 ]
87
[ "74-49=25", "2*25=50", "37+50=87" ]
Current State: 87:[37, 2, 49, 74], Operations: [] Exploring Operation: 74-49=25, Resulting Numbers: [37, 2, 25] Generated Node #2: [37, 2, 25] from Operation: 74-49=25 Current State: 87:[37, 2, 25], Operations: ['74-49=25'] Exploring Operation: 2*25=50, Resulting Numbers: [37, 50] Generated Node #3: [37, 50] from Operation: 2*25=50 Current State: 87:[37, 50], Operations: ['74-49=25', '2*25=50'] Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[37, 2, 49, 74], Operations: [] Exploring Operation: 37+49=86, Resulting Numbers: [2, 74, 86] Generated Node #0,0: 87:[2, 74, 86] Operation: 37+49=86 Exploring Operation: 74-49=25, Resulting Numbers: [37, 2, 25] Generated Node #0,1: 87:[37, 2, 25] Operation: 74-49=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[37, 2, 25], Operations: ['74-49=25'] Exploring Operation: 37-25=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 87:[2, 12] Operation: 37-25=12 Exploring Operation: 37-2=35, Resulting Numbers: [25, 35] Generated Node #0,1,1: 87:[25, 35] Operation: 37-2=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[2, 12], Operations: ['74-49=25', '37-25=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,87 unequal: No Solution No 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: 87:[25, 35], Operations: ['74-49=25', '37-2=35'] Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,87 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,87 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: 87:[2, 74, 86], Operations: ['37+49=86'] Exploring Operation: 74/2=37, Resulting Numbers: [86, 37] Generated Node #0,0,0: 87:[86, 37] Operation: 74/2=37 Exploring Operation: 86-74=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 87:[2, 12] Operation: 86-74=12 Moving to Node #0,0,0 Current State: 87:[86, 37], Operations: ['37+49=86', '74/2=37'] Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,87 unequal: No Solution Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[2, 12], Operations: ['37+49=86', '86-74=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,87 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,87 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
[ 88, 60, 28, 35 ]
36
[ "88-60=28", "28/28=1", "35+1=36" ]
Current State: 36:[88, 60, 28, 35], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [28, 35, 28] Generated Node #2: [28, 35, 28] from Operation: 88-60=28 Current State: 36:[28, 35, 28], Operations: ['88-60=28'] Exploring Operation: 28/28=1, Resulting Numbers: [35, 1] Generated Node #3: [35, 1] from Operation: 28/28=1 Current State: 36:[35, 1], Operations: ['88-60=28', '28/28=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[88, 60, 28, 35], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [60, 28, 53] Generated Node #0,0: 36:[60, 28, 53] Operation: 88-35=53 Exploring Operation: 60-28=32, Resulting Numbers: [88, 35, 32] Generated Node #0,1: 36:[88, 35, 32] Operation: 60-28=32 Exploring Operation: 88-60=28, Resulting Numbers: [28, 35, 28] Generated Node #0,2: 36:[28, 35, 28] Operation: 88-60=28 Exploring Operation: 88-28=60, Resulting Numbers: [60, 35, 60] Generated Node #0,3: 36:[60, 35, 60] Operation: 88-28=60 Moving to Node #0,2 Current State: 36:[28, 35, 28], Operations: ['88-60=28'] Exploring Operation: 35-28=7, Resulting Numbers: [28, 7] Generated Node #0,2,0: 36:[28, 7] Operation: 35-28=7 Exploring Operation: 35-28=7, Resulting Numbers: [28, 7] Generated Node #0,2,1: 36:[28, 7] Operation: 35-28=7 Exploring Operation: 28-28=0, Resulting Numbers: [35, 0] Generated Node #0,2,2: 36:[35, 0] Operation: 28-28=0 Exploring Operation: 28/28=1, Resulting Numbers: [35, 1] Generated Node #0,2,3: 36:[35, 1] Operation: 28/28=1 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[35, 1], Operations: ['88-60=28', '28/28=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[88, 60, 28, 35], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [28, 35, 28] Generated Node #0,2: 36:[28, 35, 28] Operation: 88-60=28 Moving to Node #0,2 Current State: 36:[28, 35, 28], Operations: ['88-60=28'] Exploring Operation: 28/28=1, Resulting Numbers: [35, 1] Generated Node #0,2,3: 36:[35, 1] Operation: 28/28=1 Moving to Node #0,2,3 Current State: 36:[35, 1], Operations: ['88-60=28', '28/28=1'] Exploring Operation: 35+1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 49, 5, 5, 2 ]
97
[ "49*2=98", "5/5=1", "98-1=97" ]
Current State: 97:[49, 5, 5, 2], Operations: [] Exploring Operation: 49*2=98, Resulting Numbers: [5, 5, 98] Generated Node #2: [5, 5, 98] from Operation: 49*2=98 Current State: 97:[5, 5, 98], Operations: ['49*2=98'] Exploring Operation: 5/5=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 5/5=1 Current State: 97:[98, 1], Operations: ['49*2=98', '5/5=1'] Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[49, 5, 5, 2], Operations: [] Exploring Operation: 5*5=25, Resulting Numbers: [49, 2, 25] Generated Node #0,0: 97:[49, 2, 25] Operation: 5*5=25 Exploring Operation: 49*2=98, Resulting Numbers: [5, 5, 98] Generated Node #0,1: 97:[5, 5, 98] Operation: 49*2=98 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[5, 5, 98], Operations: ['49*2=98'] Exploring Operation: 5+5=10, Resulting Numbers: [98, 10] Generated Node #0,1,0: 97:[98, 10] Operation: 5+5=10 Exploring Operation: 5*5=25, Resulting Numbers: [98, 25] Generated Node #0,1,1: 97:[98, 25] Operation: 5*5=25 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[98, 25], Operations: ['49*2=98', '5*5=25'] Exploring Operation: 98+25=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[98, 10], Operations: ['49*2=98', '5+5=10'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,97 unequal: No Solution Exploring Operation: 98+10=108, Resulting Numbers: [108] 108,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[49, 2, 25], Operations: ['5*5=25'] Exploring Operation: 2*25=50, Resulting Numbers: [49, 50] Generated Node #0,0,0: 97:[49, 50] Operation: 2*25=50 Exploring Operation: 49*2=98, Resulting Numbers: [25, 98] Generated Node #0,0,1: 97:[25, 98] Operation: 49*2=98 Moving to Node #0,0,1 Current State: 97:[25, 98], Operations: ['5*5=25', '49*2=98'] Exploring Operation: 25+98=123, Resulting Numbers: [123] 123,97 unequal: No Solution Exploring Operation: 98-25=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[49, 50], Operations: ['5*5=25', '2*25=50'] Exploring Operation: 49+50=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 73, 1, 84, 7 ]
87
[ "7-1=6", "84/6=14", "73+14=87" ]
Current State: 87:[73, 1, 84, 7], Operations: [] Exploring Operation: 7-1=6, Resulting Numbers: [73, 84, 6] Generated Node #2: [73, 84, 6] from Operation: 7-1=6 Current State: 87:[73, 84, 6], Operations: ['7-1=6'] Exploring Operation: 84/6=14, Resulting Numbers: [73, 14] Generated Node #3: [73, 14] from Operation: 84/6=14 Current State: 87:[73, 14], Operations: ['7-1=6', '84/6=14'] Exploring Operation: 73+14=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[73, 1, 84, 7], Operations: [] Exploring Operation: 84-73=11, Resulting Numbers: [1, 7, 11] Generated Node #0,0: 87:[1, 7, 11] Operation: 84-73=11 Exploring Operation: 73+7=80, Resulting Numbers: [1, 84, 80] Generated Node #0,1: 87:[1, 84, 80] Operation: 73+7=80 Moving to Node #0,1 Current State: 87:[1, 84, 80], Operations: ['73+7=80'] Exploring Operation: 84-80=4, Resulting Numbers: [1, 4] Generated Node #0,1,0: 87:[1, 4] Operation: 84-80=4 Exploring Operation: 1+84=85, Resulting Numbers: [80, 85] Generated Node #0,1,1: 87:[80, 85] Operation: 1+84=85 Moving to Node #0,0 Current State: 87:[1, 7, 11], Operations: ['84-73=11'] Exploring Operation: 7-1=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 87:[11, 6] Operation: 7-1=6 Exploring Operation: 11-7=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 87:[1, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[1, 4], Operations: ['84-73=11', '11-7=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,87 unequal: No Solution No 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: 87:[11, 6], Operations: ['84-73=11', '7-1=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,87 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: 87:[1, 4], Operations: ['73+7=80', '84-80=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[80, 85], Operations: ['73+7=80', '1+84=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 85-80=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 2, 55, 79, 48 ]
36
[ "79-55=24", "24/2=12", "48-12=36" ]
Current State: 36:[2, 55, 79, 48], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [2, 48, 24] Generated Node #2: [2, 48, 24] from Operation: 79-55=24 Current State: 36:[2, 48, 24], Operations: ['79-55=24'] Exploring Operation: 24/2=12, Resulting Numbers: [48, 12] Generated Node #3: [48, 12] from Operation: 24/2=12 Current State: 36:[48, 12], Operations: ['79-55=24', '24/2=12'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 55, 79, 48], Operations: [] Exploring Operation: 79-55=24, Resulting Numbers: [2, 48, 24] Generated Node #0,0: 36:[2, 48, 24] Operation: 79-55=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[2, 48, 24], Operations: ['79-55=24'] Exploring Operation: 48/24=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 36:[2, 2] Operation: 48/24=2 Moving to Node #0,0,0 Current State: 36:[2, 2], Operations: ['79-55=24', '48/24=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,36 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
[ 90, 57, 6, 77 ]
27
[ "90*6=540", "77-57=20", "540/20=27" ]
Current State: 27:[90, 57, 6, 77], Operations: [] Exploring Operation: 90*6=540, Resulting Numbers: [57, 77, 540] Generated Node #2: [57, 77, 540] from Operation: 90*6=540 Current State: 27:[57, 77, 540], Operations: ['90*6=540'] Exploring Operation: 77-57=20, Resulting Numbers: [540, 20] Generated Node #3: [540, 20] from Operation: 77-57=20 Current State: 27:[540, 20], Operations: ['90*6=540', '77-57=20'] Exploring Operation: 540/20=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[90, 57, 6, 77], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [6, 77, 33] Generated Node #0,0: 27:[6, 77, 33] Operation: 90-57=33 Exploring Operation: 90-77=13, Resulting Numbers: [57, 6, 13] Generated Node #0,1: 27:[57, 6, 13] Operation: 90-77=13 Exploring Operation: 77-57=20, Resulting Numbers: [90, 6, 20] Generated Node #0,2: 27:[90, 6, 20] Operation: 77-57=20 Exploring Operation: 90/6=15, Resulting Numbers: [57, 77, 15] Generated Node #0,3: 27:[57, 77, 15] Operation: 90/6=15 Exploring Operation: 90-6=84, Resulting Numbers: [57, 77, 84] Generated Node #0,4: 27:[57, 77, 84] Operation: 90-6=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[57, 6, 13], Operations: ['90-77=13'] Exploring Operation: 57-6=51, Resulting Numbers: [13, 51] Generated Node #0,1,0: 27:[13, 51] Operation: 57-6=51 Exploring Operation: 13-6=7, Resulting Numbers: [57, 7] Generated Node #0,1,1: 27:[57, 7] Operation: 13-6=7 Exploring Operation: 6+13=19, Resulting Numbers: [57, 19] Generated Node #0,1,2: 27:[57, 19] Operation: 6+13=19 Exploring Operation: 57-13=44, Resulting Numbers: [6, 44] Generated Node #0,1,3: 27:[6, 44] Operation: 57-13=44 Exploring Operation: 57+6=63, Resulting Numbers: [13, 63] Generated Node #0,1,4: 27:[13, 63] Operation: 57+6=63 Moving to Node #0,1,3 Current State: 27:[6, 44], Operations: ['90-77=13', '57-13=44'] Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,27 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[13, 51], Operations: ['90-77=13', '57-6=51'] Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[57, 7], Operations: ['90-77=13', '13-6=7'] Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,27 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[57, 19], Operations: ['90-77=13', '6+13=19'] Exploring Operation: 57*19=1083, Resulting Numbers: [1083] 1083,27 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 57+19=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,1,4 Current State: 27:[13, 63], Operations: ['90-77=13', '57+6=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,27 unequal: No Solution Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[6, 77, 33], Operations: ['90-57=33'] Exploring Operation: 33-6=27, Resulting Numbers: [77, 27] Generated Node #0,0,0: 27:[77, 27] Operation: 33-6=27 Exploring Operation: 77-33=44, Resulting Numbers: [6, 44] Generated Node #0,0,1: 27:[6, 44] Operation: 77-33=44 Exploring Operation: 77-6=71, Resulting Numbers: [33, 71] Generated Node #0,0,2: 27:[33, 71] Operation: 77-6=71 Exploring Operation: 6+33=39, Resulting Numbers: [77, 39] Generated Node #0,0,3: 27:[77, 39] Operation: 6+33=39 Exploring Operation: 6+77=83, Resulting Numbers: [33, 83] Generated Node #0,0,4: 27:[33, 83] Operation: 6+77=83 Moving to Node #0,0,1 Current State: 27:[6, 44], Operations: ['90-57=33', '77-33=44'] Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[33, 71], Operations: ['90-57=33', '77-6=71'] Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 33*71=2343, Resulting Numbers: [2343] 2343,27 unequal: No Solution Exploring Operation: 33+71=104, Resulting Numbers: [104] 104,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[77, 27], Operations: ['90-57=33', '33-6=27'] Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,27 unequal: No Solution Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[77, 39], Operations: ['90-57=33', '6+33=39'] Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 77*39=3003, Resulting Numbers: [3003] 3003,27 unequal: No Solution Exploring Operation: 77+39=116, Resulting Numbers: [116] 116,27 unequal: No Solution Moving to Node #0,0,4 Current State: 27:[33, 83], Operations: ['90-57=33', '6+77=83'] Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,27 unequal: No Solution Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,27 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,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,2 Current State: 27:[90, 6, 20], Operations: ['77-57=20'] Exploring Operation: 20-6=14, Resulting Numbers: [90, 14] Generated Node #0,2,0: 27:[90, 14] Operation: 20-6=14 Exploring Operation: 6+20=26, Resulting Numbers: [90, 26] Generated Node #0,2,1: 27:[90, 26] Operation: 6+20=26 Exploring Operation: 90-6=84, Resulting Numbers: [20, 84] Generated Node #0,2,2: 27:[20, 84] Operation: 90-6=84 Exploring Operation: 90/6=15, Resulting Numbers: [20, 15] Generated Node #0,2,3: 27:[20, 15] Operation: 90/6=15 Exploring Operation: 90-20=70, Resulting Numbers: [6, 70] Generated Node #0,2,4: 27:[6, 70] Operation: 90-20=70 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 27:[20, 15], Operations: ['77-57=20', '90/6=15'] Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,27 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 27:[6, 70], Operations: ['77-57=20', '90-20=70'] Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,27 unequal: No Solution Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,27 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[90, 26], Operations: ['77-57=20', '6+20=26'] Exploring Operation: 90*26=2340, Resulting Numbers: [2340] 2340,27 unequal: No Solution Exploring Operation: 90-26=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 90+26=116, Resulting Numbers: [116] 116,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[20, 84], Operations: ['77-57=20', '90-6=84'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 20+84=104, Resulting Numbers: [104] 104,27 unequal: No Solution Exploring Operation: 20*84=1680, Resulting Numbers: [1680] 1680,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[90, 14], Operations: ['77-57=20', '20-6=14'] Exploring Operation: 90+14=104, Resulting Numbers: [104] 104,27 unequal: No Solution Exploring Operation: 90*14=1260, Resulting Numbers: [1260] 1260,27 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[57, 77, 15], Operations: ['90/6=15'] Exploring Operation: 57+15=72, Resulting Numbers: [77, 72] Generated Node #0,3,0: 27:[77, 72] Operation: 57+15=72 Exploring Operation: 77-15=62, Resulting Numbers: [57, 62] Generated Node #0,3,1: 27:[57, 62] Operation: 77-15=62 Exploring Operation: 57-15=42, Resulting Numbers: [77, 42] Generated Node #0,3,2: 27:[77, 42] Operation: 57-15=42 Exploring Operation: 77-57=20, Resulting Numbers: [15, 20] Generated Node #0,3,3: 27:[15, 20] Operation: 77-57=20 Exploring Operation: 77+15=92, Resulting Numbers: [57, 92] Generated Node #0,3,4: 27:[57, 92] Operation: 77+15=92 Moving to Node #0,3,3 Current State: 27:[15, 20], Operations: ['90/6=15', '77-57=20'] Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,27 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[77, 42], Operations: ['90/6=15', '57-15=42'] Exploring Operation: 77+42=119, Resulting Numbers: [119] 119,27 unequal: No Solution Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 77*42=3234, Resulting Numbers: [3234] 3234,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[57, 62], Operations: ['90/6=15', '77-15=62'] Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 57+62=119, Resulting Numbers: [119] 119,27 unequal: No Solution Exploring Operation: 57*62=3534, Resulting Numbers: [3534] 3534,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[77, 72], Operations: ['90/6=15', '57+15=72'] Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,27 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,27 unequal: No Solution Moving to Node #0,3,4 Current State: 27:[57, 92], Operations: ['90/6=15', '77+15=92'] Exploring Operation: 57*92=5244, Resulting Numbers: [5244] 5244,27 unequal: No Solution Exploring Operation: 57+92=149, Resulting Numbers: [149] 149,27 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,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,4 Current State: 27:[57, 77, 84], Operations: ['90-6=84'] Exploring Operation: 57+84=141, Resulting Numbers: [77, 141] Generated Node #0,4,0: 27:[77, 141] Operation: 57+84=141 Exploring Operation: 57+77=134, Resulting Numbers: [84, 134] Generated Node #0,4,1: 27:[84, 134] Operation: 57+77=134 Exploring Operation: 77-57=20, Resulting Numbers: [84, 20] Generated Node #0,4,2: 27:[84, 20] Operation: 77-57=20 Exploring Operation: 84-77=7, Resulting Numbers: [57, 7] Generated Node #0,4,3: 27:[57, 7] Operation: 84-77=7 Exploring Operation: 84-57=27, Resulting Numbers: [77, 27] Generated Node #0,4,4: 27:[77, 27] Operation: 84-57=27 Moving to Node #0,4,3 Current State: 27:[57, 7], Operations: ['90-6=84', '84-77=7'] Exploring Operation: 57+7=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 57*7=399, Resulting Numbers: [399] 399,27 unequal: No Solution Moving to Node #0,4,4 Current State: 27:[77, 27], Operations: ['90-6=84', '84-57=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,27 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,27 unequal: No Solution Moving to Node #0,4,2 Current State: 27:[84, 20], Operations: ['90-6=84', '77-57=20'] Exploring Operation: 84+20=104, Resulting Numbers: [104] 104,27 unequal: No Solution Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 84*20=1680, Resulting Numbers: [1680] 1680,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[77, 141], Operations: ['90-6=84', '57+84=141'] Exploring Operation: 77*141=10857, Resulting Numbers: [10857] 10857,27 unequal: No Solution Exploring Operation: 141-77=64, Resulting Numbers: [64] 64,27 unequal: No Solution Exploring Operation: 77+141=218, Resulting Numbers: [218] 218,27 unequal: No Solution Moving to Node #0,4,1 Current State: 27:[84, 134], Operations: ['90-6=84', '57+77=134'] Exploring Operation: 134-84=50, Resulting Numbers: [50] 50,27 unequal: No Solution Exploring Operation: 84+134=218, Resulting Numbers: [218] 218,27 unequal: No Solution Exploring Operation: 84*134=11256, Resulting Numbers: [11256] 11256,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 5, 90, 22, 98 ]
35
[ "90-5=85", "22+98=120", "120-85=35" ]
Current State: 35:[5, 90, 22, 98], Operations: [] Exploring Operation: 90-5=85, Resulting Numbers: [22, 98, 85] Generated Node #2: [22, 98, 85] from Operation: 90-5=85 Current State: 35:[22, 98, 85], Operations: ['90-5=85'] Exploring Operation: 22+98=120, Resulting Numbers: [85, 120] Generated Node #3: [85, 120] from Operation: 22+98=120 Current State: 35:[85, 120], Operations: ['90-5=85', '22+98=120'] Exploring Operation: 120-85=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[5, 90, 22, 98], Operations: [] Exploring Operation: 90-22=68, Resulting Numbers: [5, 98, 68] Generated Node #0,0: 35:[5, 98, 68] Operation: 90-22=68 Exploring Operation: 98-90=8, Resulting Numbers: [5, 22, 8] Generated Node #0,1: 35:[5, 22, 8] Operation: 98-90=8 Exploring Operation: 90/5=18, Resulting Numbers: [22, 98, 18] Generated Node #0,2: 35:[22, 98, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[5, 22, 8], Operations: ['98-90=8'] Exploring Operation: 5+22=27, Resulting Numbers: [8, 27] Generated Node #0,1,0: 35:[8, 27] Operation: 5+22=27 Exploring Operation: 22-8=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 35:[5, 14] Operation: 22-8=14 Exploring Operation: 22+8=30, Resulting Numbers: [5, 30] Generated Node #0,1,2: 35:[5, 30] Operation: 22+8=30 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[5, 30], Operations: ['98-90=8', '22+8=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[5, 90, 22, 98], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [5, 22, 8] Generated Node #0,1: 35:[5, 22, 8] Operation: 98-90=8 Moving to Node #0,1 Current State: 35:[5, 22, 8], Operations: ['98-90=8'] Exploring Operation: 22+8=30, Resulting Numbers: [5, 30] Generated Node #0,1,2: 35:[5, 30] Operation: 22+8=30 Moving to Node #0,1,2 Current State: 35:[5, 30], Operations: ['98-90=8', '22+8=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 68, 64, 54, 6 ]
72
[ "68+64=132", "54+6=60", "132-60=72" ]
Current State: 72:[68, 64, 54, 6], Operations: [] Exploring Operation: 68+64=132, Resulting Numbers: [54, 6, 132] Generated Node #2: [54, 6, 132] from Operation: 68+64=132 Current State: 72:[54, 6, 132], Operations: ['68+64=132'] Exploring Operation: 54+6=60, Resulting Numbers: [132, 60] Generated Node #3: [132, 60] from Operation: 54+6=60 Current State: 72:[132, 60], Operations: ['68+64=132', '54+6=60'] Exploring Operation: 132-60=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 64, 54, 6], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [54, 6, 4] Generated Node #0,0: 72:[54, 6, 4] Operation: 68-64=4 Exploring Operation: 64-54=10, Resulting Numbers: [68, 6, 10] Generated Node #0,1: 72:[68, 6, 10] Operation: 64-54=10 Exploring Operation: 54/6=9, Resulting Numbers: [68, 64, 9] Generated Node #0,2: 72:[68, 64, 9] Operation: 54/6=9 Exploring Operation: 68-54=14, Resulting Numbers: [64, 6, 14] Generated Node #0,3: 72:[64, 6, 14] Operation: 68-54=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[68, 6, 10], Operations: ['64-54=10'] Exploring Operation: 68+6=74, Resulting Numbers: [10, 74] Generated Node #0,1,0: 72:[10, 74] Operation: 68+6=74 Exploring Operation: 68+10=78, Resulting Numbers: [6, 78] Generated Node #0,1,1: 72:[6, 78] Operation: 68+10=78 Exploring Operation: 6+10=16, Resulting Numbers: [68, 16] Generated Node #0,1,2: 72:[68, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [68, 4] Generated Node #0,1,3: 72:[68, 4] Operation: 10-6=4 Moving to Node #0,1,0 Current State: 72:[10, 74], Operations: ['64-54=10', '68+6=74'] Exploring Operation: 10+74=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 74-10=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 10*74=740, Resulting Numbers: [740] 740,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[68, 4], Operations: ['64-54=10', '10-6=4'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[68, 64, 54, 6], Operations: [] Exploring Operation: 64-54=10, Resulting Numbers: [68, 6, 10] Generated Node #0,1: 72:[68, 6, 10] Operation: 64-54=10 Moving to Node #0,1 Current State: 72:[68, 6, 10], Operations: ['64-54=10'] Exploring Operation: 10-6=4, Resulting Numbers: [68, 4] Generated Node #0,1,3: 72:[68, 4] Operation: 10-6=4 Moving to Node #0,1,3 Current State: 72:[68, 4], Operations: ['64-54=10', '10-6=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 18, 91, 67, 15 ]
57
[ "18+91=109", "67-15=52", "109-52=57" ]
Current State: 57:[18, 91, 67, 15], Operations: [] Exploring Operation: 18+91=109, Resulting Numbers: [67, 15, 109] Generated Node #2: [67, 15, 109] from Operation: 18+91=109 Current State: 57:[67, 15, 109], Operations: ['18+91=109'] Exploring Operation: 67-15=52, Resulting Numbers: [109, 52] Generated Node #3: [109, 52] from Operation: 67-15=52 Current State: 57:[109, 52], Operations: ['18+91=109', '67-15=52'] Exploring Operation: 109-52=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[18, 91, 67, 15], Operations: [] Exploring Operation: 91-15=76, Resulting Numbers: [18, 67, 76] Generated Node #0,0: 57:[18, 67, 76] Operation: 91-15=76 Exploring Operation: 91-18=73, Resulting Numbers: [67, 15, 73] Generated Node #0,1: 57:[67, 15, 73] Operation: 91-18=73 Exploring Operation: 91-67=24, Resulting Numbers: [18, 15, 24] Generated Node #0,2: 57:[18, 15, 24] Operation: 91-67=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[18, 15, 24], Operations: ['91-67=24'] Exploring Operation: 24-18=6, Resulting Numbers: [15, 6] Generated Node #0,2,0: 57:[15, 6] Operation: 24-18=6 Exploring Operation: 18-15=3, Resulting Numbers: [24, 3] Generated Node #0,2,1: 57:[24, 3] Operation: 18-15=3 Exploring Operation: 24-15=9, Resulting Numbers: [18, 9] Generated Node #0,2,2: 57:[18, 9] Operation: 24-15=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[24, 3], Operations: ['91-67=24', '18-15=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,57 unequal: No Solution No 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: 57:[15, 6], Operations: ['91-67=24', '24-18=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,57 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,57 unequal: No Solution No 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: 57:[18, 9], Operations: ['91-67=24', '24-15=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,57 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: 57:[18, 67, 76], Operations: ['91-15=76'] Exploring Operation: 76-67=9, Resulting Numbers: [18, 9] Generated Node #0,0,0: 57:[18, 9] Operation: 76-67=9 Exploring Operation: 76-18=58, Resulting Numbers: [67, 58] Generated Node #0,0,1: 57:[67, 58] Operation: 76-18=58 Exploring Operation: 67-18=49, Resulting Numbers: [76, 49] Generated Node #0,0,2: 57:[76, 49] Operation: 67-18=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[18, 9], Operations: ['91-15=76', '76-67=9'] Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,57 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,57 unequal: No Solution No 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: 57:[67, 58], Operations: ['91-15=76', '76-18=58'] Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,57 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,57 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,57 unequal: No Solution No 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: 57:[76, 49], Operations: ['91-15=76', '67-18=49'] Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,57 unequal: No Solution Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,57 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,57 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: 57:[67, 15, 73], Operations: ['91-18=73'] Exploring Operation: 73-15=58, Resulting Numbers: [67, 58] Generated Node #0,1,0: 57:[67, 58] Operation: 73-15=58 Exploring Operation: 73-67=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 57:[15, 6] Operation: 73-67=6 Exploring Operation: 67-15=52, Resulting Numbers: [73, 52] Generated Node #0,1,2: 57:[73, 52] Operation: 67-15=52 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 57:[15, 6], Operations: ['91-18=73', '73-67=6'] Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,57 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,57 unequal: No Solution No 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: 57:[67, 58], Operations: ['91-18=73', '73-15=58'] Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,57 unequal: No Solution Exploring Operation: 67*58=3886, Resulting Numbers: [3886] 3886,57 unequal: No Solution Exploring Operation: 67+58=125, Resulting Numbers: [125] 125,57 unequal: No Solution No 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: 57:[73, 52], Operations: ['91-18=73', '67-15=52'] Exploring Operation: 73+52=125, Resulting Numbers: [125] 125,57 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 73*52=3796, Resulting Numbers: [3796] 3796,57 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
[ 60, 46, 45, 95 ]
64
[ "60-46=14", "95-45=50", "14+50=64" ]
Current State: 64:[60, 46, 45, 95], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [45, 95, 14] Generated Node #2: [45, 95, 14] from Operation: 60-46=14 Current State: 64:[45, 95, 14], Operations: ['60-46=14'] Exploring Operation: 95-45=50, Resulting Numbers: [14, 50] Generated Node #3: [14, 50] from Operation: 95-45=50 Current State: 64:[14, 50], Operations: ['60-46=14', '95-45=50'] Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[60, 46, 45, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [60, 45, 49] Generated Node #0,0: 64:[60, 45, 49] Operation: 95-46=49 Exploring Operation: 95-60=35, Resulting Numbers: [46, 45, 35] Generated Node #0,1: 64:[46, 45, 35] Operation: 95-60=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[46, 45, 35], Operations: ['95-60=35'] Exploring Operation: 46-45=1, Resulting Numbers: [35, 1] Generated Node #0,1,0: 64:[35, 1] Operation: 46-45=1 Exploring Operation: 46-35=11, Resulting Numbers: [45, 11] Generated Node #0,1,1: 64:[45, 11] Operation: 46-35=11 Moving to Node #0,1,0 Current State: 64:[35, 1], Operations: ['95-60=35', '46-45=1'] Exploring Operation: 35*1=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 35-1=34, Resulting Numbers: [34] 34,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[45, 11], Operations: ['95-60=35', '46-35=11'] Exploring Operation: 45+11=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[60, 45, 49], Operations: ['95-46=49'] Exploring Operation: 60-45=15, Resulting Numbers: [49, 15] Generated Node #0,0,0: 64:[49, 15] Operation: 60-45=15 Exploring Operation: 49-45=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 64:[60, 4] Operation: 49-45=4 Moving to Node #0,0,1 Current State: 64:[60, 4], Operations: ['95-46=49', '49-45=4'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[60, 46, 45, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [60, 45, 49] Generated Node #0,0: 64:[60, 45, 49] Operation: 95-46=49 Moving to Node #0,0 Current State: 64:[60, 45, 49], Operations: ['95-46=49'] Exploring Operation: 49-45=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 64:[60, 4] Operation: 49-45=4 Moving to Node #0,0,1 Current State: 64:[60, 4], Operations: ['95-46=49', '49-45=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 28, 8, 11, 97 ]
88
[ "28-8=20", "11+97=108", "108-20=88" ]
Current State: 88:[28, 8, 11, 97], Operations: [] Exploring Operation: 28-8=20, Resulting Numbers: [11, 97, 20] Generated Node #2: [11, 97, 20] from Operation: 28-8=20 Current State: 88:[11, 97, 20], Operations: ['28-8=20'] Exploring Operation: 11+97=108, Resulting Numbers: [20, 108] Generated Node #3: [20, 108] from Operation: 11+97=108 Current State: 88:[20, 108], Operations: ['28-8=20', '11+97=108'] Exploring Operation: 108-20=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[28, 8, 11, 97], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [28, 11, 89] Generated Node #0,0: 88:[28, 11, 89] Operation: 97-8=89 Exploring Operation: 97-11=86, Resulting Numbers: [28, 8, 86] Generated Node #0,1: 88:[28, 8, 86] Operation: 97-11=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[28, 11, 89], Operations: ['97-8=89'] Exploring Operation: 28+11=39, Resulting Numbers: [89, 39] Generated Node #0,0,0: 88:[89, 39] Operation: 28+11=39 Exploring Operation: 28-11=17, Resulting Numbers: [89, 17] Generated Node #0,0,1: 88:[89, 17] Operation: 28-11=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[89, 39], Operations: ['97-8=89', '28+11=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 88:[89, 17], Operations: ['97-8=89', '28-11=17'] Exploring Operation: 89+17=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 89-17=72, Resulting Numbers: [72] 72,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[28, 8, 86], Operations: ['97-11=86'] Exploring Operation: 28+8=36, Resulting Numbers: [86, 36] Generated Node #0,1,0: 88:[86, 36] Operation: 28+8=36 Exploring Operation: 28-8=20, Resulting Numbers: [86, 20] Generated Node #0,1,1: 88:[86, 20] Operation: 28-8=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 88:[86, 20], Operations: ['97-11=86', '28-8=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,88 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[86, 36], Operations: ['97-11=86', '28+8=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,88 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 49, 30, 96, 56 ]
73
[ "49+30=79", "96+56=152", "152-79=73" ]
Current State: 73:[49, 30, 96, 56], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [96, 56, 79] Generated Node #2: [96, 56, 79] from Operation: 49+30=79 Current State: 73:[96, 56, 79], Operations: ['49+30=79'] Exploring Operation: 96+56=152, Resulting Numbers: [79, 152] Generated Node #3: [79, 152] from Operation: 96+56=152 Current State: 73:[79, 152], Operations: ['49+30=79', '96+56=152'] Exploring Operation: 152-79=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[49, 30, 96, 56], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [49, 56, 66] Generated Node #0,0: 73:[49, 56, 66] Operation: 96-30=66 Exploring Operation: 49+30=79, Resulting Numbers: [96, 56, 79] Generated Node #0,1: 73:[96, 56, 79] Operation: 49+30=79 Exploring Operation: 49-30=19, Resulting Numbers: [96, 56, 19] Generated Node #0,2: 73:[96, 56, 19] Operation: 49-30=19 Exploring Operation: 30+56=86, Resulting Numbers: [49, 96, 86] Generated Node #0,3: 73:[49, 96, 86] Operation: 30+56=86 Exploring Operation: 96-49=47, Resulting Numbers: [30, 56, 47] Generated Node #0,4: 73:[30, 56, 47] Operation: 96-49=47 Moving to Node #0,1 Current State: 73:[96, 56, 79], Operations: ['49+30=79'] Exploring Operation: 79-56=23, Resulting Numbers: [96, 23] Generated Node #0,1,0: 73:[96, 23] Operation: 79-56=23 Exploring Operation: 96-56=40, Resulting Numbers: [79, 40] Generated Node #0,1,1: 73:[79, 40] Operation: 96-56=40 Exploring Operation: 96-79=17, Resulting Numbers: [56, 17] Generated Node #0,1,2: 73:[56, 17] Operation: 96-79=17 Exploring Operation: 96+56=152, Resulting Numbers: [79, 152] Generated Node #0,1,3: 73:[79, 152] Operation: 96+56=152 Exploring Operation: 56+79=135, Resulting Numbers: [96, 135] Generated Node #0,1,4: 73:[96, 135] Operation: 56+79=135 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[79, 40], Operations: ['49+30=79', '96-56=40'] Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[96, 23], Operations: ['49+30=79', '79-56=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[49, 30, 96, 56], Operations: [] Exploring Operation: 49+30=79, Resulting Numbers: [96, 56, 79] Generated Node #0,1: 73:[96, 56, 79] Operation: 49+30=79 Moving to Node #0,1 Current State: 73:[96, 56, 79], Operations: ['49+30=79'] Exploring Operation: 79-56=23, Resulting Numbers: [96, 23] Generated Node #0,1,0: 73:[96, 23] Operation: 79-56=23 Moving to Node #0,1,0 Current State: 73:[96, 23], Operations: ['49+30=79', '79-56=23'] Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 32, 97, 23, 11 ]
92
[ "32+23=55", "55/11=5", "97-5=92" ]
Current State: 92:[32, 97, 23, 11], Operations: [] Exploring Operation: 32+23=55, Resulting Numbers: [97, 11, 55] Generated Node #2: [97, 11, 55] from Operation: 32+23=55 Current State: 92:[97, 11, 55], Operations: ['32+23=55'] Exploring Operation: 55/11=5, Resulting Numbers: [97, 5] Generated Node #3: [97, 5] from Operation: 55/11=5 Current State: 92:[97, 5], Operations: ['32+23=55', '55/11=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[32, 97, 23, 11], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [32, 23, 86] Generated Node #0,0: 92:[32, 23, 86] Operation: 97-11=86 Exploring Operation: 32+23=55, Resulting Numbers: [97, 11, 55] Generated Node #0,1: 92:[97, 11, 55] Operation: 32+23=55 Exploring Operation: 32+11=43, Resulting Numbers: [97, 23, 43] Generated Node #0,2: 92:[97, 23, 43] Operation: 32+11=43 Exploring Operation: 32-23=9, Resulting Numbers: [97, 11, 9] Generated Node #0,3: 92:[97, 11, 9] Operation: 32-23=9 Exploring Operation: 32-11=21, Resulting Numbers: [97, 23, 21] Generated Node #0,4: 92:[97, 23, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 92:[97, 23, 21], Operations: ['32-11=21'] Exploring Operation: 97-21=76, Resulting Numbers: [23, 76] Generated Node #0,4,0: 92:[23, 76] Operation: 97-21=76 Exploring Operation: 97+21=118, Resulting Numbers: [23, 118] Generated Node #0,4,1: 92:[23, 118] Operation: 97+21=118 Exploring Operation: 23-21=2, Resulting Numbers: [97, 2] Generated Node #0,4,2: 92:[97, 2] Operation: 23-21=2 Exploring Operation: 23+21=44, Resulting Numbers: [97, 44] Generated Node #0,4,3: 92:[97, 44] Operation: 23+21=44 Exploring Operation: 97-23=74, Resulting Numbers: [21, 74] Generated Node #0,4,4: 92:[21, 74] Operation: 97-23=74 Moving to Node #0,4,2 Current State: 92:[97, 2], Operations: ['32-11=21', '23-21=2'] Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[97, 44], Operations: ['32-11=21', '23+21=44'] Exploring Operation: 97*44=4268, Resulting Numbers: [4268] 4268,92 unequal: No Solution Exploring Operation: 97+44=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 97-44=53, Resulting Numbers: [53] 53,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[23, 76], Operations: ['32-11=21', '97-21=76'] Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,92 unequal: No Solution Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[21, 74], Operations: ['32-11=21', '97-23=74'] Exploring Operation: 21*74=1554, Resulting Numbers: [1554] 1554,92 unequal: No Solution Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[23, 118], Operations: ['32-11=21', '97+21=118'] Exploring Operation: 23+118=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 118-23=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 23*118=2714, Resulting Numbers: [2714] 2714,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:[97, 23, 43], Operations: ['32+11=43'] Exploring Operation: 43-23=20, Resulting Numbers: [97, 20] Generated Node #0,2,0: 92:[97, 20] Operation: 43-23=20 Exploring Operation: 97-43=54, Resulting Numbers: [23, 54] Generated Node #0,2,1: 92:[23, 54] Operation: 97-43=54 Exploring Operation: 97-23=74, Resulting Numbers: [43, 74] Generated Node #0,2,2: 92:[43, 74] Operation: 97-23=74 Exploring Operation: 23+43=66, Resulting Numbers: [97, 66] Generated Node #0,2,3: 92:[97, 66] Operation: 23+43=66 Exploring Operation: 97+23=120, Resulting Numbers: [43, 120] Generated Node #0,2,4: 92:[43, 120] Operation: 97+23=120 Moving to Node #0,2,0 Current State: 92:[97, 20], Operations: ['32+11=43', '43-23=20'] Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 97*20=1940, Resulting Numbers: [1940] 1940,92 unequal: No Solution Exploring Operation: 97+20=117, Resulting Numbers: [117] 117,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[23, 54], Operations: ['32+11=43', '97-43=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,92 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[43, 74], Operations: ['32+11=43', '97-23=74'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,92 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[97, 66], Operations: ['32+11=43', '23+43=66'] Exploring Operation: 97*66=6402, Resulting Numbers: [6402] 6402,92 unequal: No Solution Exploring Operation: 97-66=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 97+66=163, Resulting Numbers: [163] 163,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[43, 120], Operations: ['32+11=43', '97+23=120'] Exploring Operation: 43+120=163, Resulting Numbers: [163] 163,92 unequal: No Solution Exploring Operation: 43*120=5160, Resulting Numbers: [5160] 5160,92 unequal: No Solution Exploring Operation: 120-43=77, Resulting Numbers: [77] 77,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[32, 23, 86], Operations: ['97-11=86'] Exploring Operation: 32-23=9, Resulting Numbers: [86, 9] Generated Node #0,0,0: 92:[86, 9] Operation: 32-23=9 Exploring Operation: 32+86=118, Resulting Numbers: [23, 118] Generated Node #0,0,1: 92:[23, 118] Operation: 32+86=118 Exploring Operation: 86-32=54, Resulting Numbers: [23, 54] Generated Node #0,0,2: 92:[23, 54] Operation: 86-32=54 Exploring Operation: 32+23=55, Resulting Numbers: [86, 55] Generated Node #0,0,3: 92:[86, 55] Operation: 32+23=55 Exploring Operation: 23+86=109, Resulting Numbers: [32, 109] Generated Node #0,0,4: 92:[32, 109] Operation: 23+86=109 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[23, 54], Operations: ['97-11=86', '86-32=54'] Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,92 unequal: No Solution No 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: 92:[86, 9], Operations: ['97-11=86', '32-23=9'] Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,92 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,92 unequal: No Solution No 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: 92:[86, 55], Operations: ['97-11=86', '32+23=55'] Exploring Operation: 86+55=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 86*55=4730, Resulting Numbers: [4730] 4730,92 unequal: No Solution No 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: 92:[23, 118], Operations: ['97-11=86', '32+86=118'] Exploring Operation: 118-23=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 23+118=141, Resulting Numbers: [141] 141,92 unequal: No Solution Exploring Operation: 23*118=2714, Resulting Numbers: [2714] 2714,92 unequal: No Solution No 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: 92:[32, 109], Operations: ['97-11=86', '23+86=109'] Exploring Operation: 32*109=3488, Resulting Numbers: [3488] 3488,92 unequal: No Solution Exploring Operation: 109-32=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 32+109=141, Resulting Numbers: [141] 141,92 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: 92:[97, 11, 9], Operations: ['32-23=9'] Exploring Operation: 11+9=20, Resulting Numbers: [97, 20] Generated Node #0,3,0: 92:[97, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [97, 2] Generated Node #0,3,1: 92:[97, 2] Operation: 11-9=2 Exploring Operation: 97-9=88, Resulting Numbers: [11, 88] Generated Node #0,3,2: 92:[11, 88] Operation: 97-9=88 Exploring Operation: 11*9=99, Resulting Numbers: [97, 99] Generated Node #0,3,3: 92:[97, 99] Operation: 11*9=99 Exploring Operation: 97-11=86, Resulting Numbers: [9, 86] Generated Node #0,3,4: 92:[9, 86] Operation: 97-11=86 Moving to Node #0,3,1 Current State: 92:[97, 2], Operations: ['32-23=9', '11-9=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[97, 20], Operations: ['32-23=9', '11+9=20'] Exploring Operation: 97*20=1940, Resulting Numbers: [1940] 1940,92 unequal: No Solution Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 97+20=117, Resulting Numbers: [117] 117,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[11, 88], Operations: ['32-23=9', '97-9=88'] Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,92 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,92 unequal: No Solution Exploring Operation: 11*88=968, Resulting Numbers: [968] 968,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[9, 86], Operations: ['32-23=9', '97-11=86'] Exploring Operation: 9*86=774, Resulting Numbers: [774] 774,92 unequal: No Solution Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[97, 99], Operations: ['32-23=9', '11*9=99'] Exploring Operation: 97+99=196, Resulting Numbers: [196] 196,92 unequal: No Solution Exploring Operation: 99-97=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 97*99=9603, Resulting Numbers: [9603] 9603,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[97, 11, 55], Operations: ['32+23=55'] Exploring Operation: 55/11=5, Resulting Numbers: [97, 5] Generated Node #0,1,0: 92:[97, 5] Operation: 55/11=5 Exploring Operation: 55-11=44, Resulting Numbers: [97, 44] Generated Node #0,1,1: 92:[97, 44] Operation: 55-11=44 Exploring Operation: 97-11=86, Resulting Numbers: [55, 86] Generated Node #0,1,2: 92:[55, 86] Operation: 97-11=86 Exploring Operation: 97+11=108, Resulting Numbers: [55, 108] Generated Node #0,1,3: 92:[55, 108] Operation: 97+11=108 Exploring Operation: 97-55=42, Resulting Numbers: [11, 42] Generated Node #0,1,4: 92:[11, 42] Operation: 97-55=42 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[97, 5], Operations: ['32+23=55', '55/11=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[32, 97, 23, 11], Operations: [] Exploring Operation: 32+23=55, Resulting Numbers: [97, 11, 55] Generated Node #0,1: 92:[97, 11, 55] Operation: 32+23=55 Moving to Node #0,1 Current State: 92:[97, 11, 55], Operations: ['32+23=55'] Exploring Operation: 55/11=5, Resulting Numbers: [97, 5] Generated Node #0,1,0: 92:[97, 5] Operation: 55/11=5 Moving to Node #0,1,0 Current State: 92:[97, 5], Operations: ['32+23=55', '55/11=5'] Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.916667
hs_5
mult_heuristic
[ 19, 80, 13, 18 ]
66
[ "80-19=61", "18-13=5", "61+5=66" ]
Current State: 66:[19, 80, 13, 18], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [13, 18, 61] Generated Node #2: [13, 18, 61] from Operation: 80-19=61 Current State: 66:[13, 18, 61], Operations: ['80-19=61'] Exploring Operation: 18-13=5, Resulting Numbers: [61, 5] Generated Node #3: [61, 5] from Operation: 18-13=5 Current State: 66:[61, 5], Operations: ['80-19=61', '18-13=5'] Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[19, 80, 13, 18], Operations: [] Exploring Operation: 80-19=61, Resulting Numbers: [13, 18, 61] Generated Node #0,0: 66:[13, 18, 61] Operation: 80-19=61 Exploring Operation: 80-18=62, Resulting Numbers: [19, 13, 62] Generated Node #0,1: 66:[19, 13, 62] Operation: 80-18=62 Exploring Operation: 19-18=1, Resulting Numbers: [80, 13, 1] Generated Node #0,2: 66:[80, 13, 1] Operation: 19-18=1 Exploring Operation: 80-13=67, Resulting Numbers: [19, 18, 67] Generated Node #0,3: 66:[19, 18, 67] Operation: 80-13=67 Start Sub Search at level 1: Moving to Node #0,3 Current State: 66:[19, 18, 67], Operations: ['80-13=67'] Exploring Operation: 19+18=37, Resulting Numbers: [67, 37] Generated Node #0,3,0: 66:[67, 37] Operation: 19+18=37 Exploring Operation: 67-19=48, Resulting Numbers: [18, 48] Generated Node #0,3,1: 66:[18, 48] Operation: 67-19=48 Exploring Operation: 67-18=49, Resulting Numbers: [19, 49] Generated Node #0,3,2: 66:[19, 49] Operation: 67-18=49 Exploring Operation: 19-18=1, Resulting Numbers: [67, 1] Generated Node #0,3,3: 66:[67, 1] Operation: 19-18=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 66:[67, 1], Operations: ['80-13=67', '19-18=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,66 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[19, 80, 13, 18], Operations: [] Exploring Operation: 80-13=67, Resulting Numbers: [19, 18, 67] Generated Node #0,3: 66:[19, 18, 67] Operation: 80-13=67 Moving to Node #0,3 Current State: 66:[19, 18, 67], Operations: ['80-13=67'] Exploring Operation: 19-18=1, Resulting Numbers: [67, 1] Generated Node #0,3,3: 66:[67, 1] Operation: 19-18=1 Moving to Node #0,3,3 Current State: 66:[67, 1], Operations: ['80-13=67', '19-18=1'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 31, 93, 94, 38 ]
68
[ "31+93=124", "94-38=56", "124-56=68" ]
Current State: 68:[31, 93, 94, 38], Operations: [] Exploring Operation: 31+93=124, Resulting Numbers: [94, 38, 124] Generated Node #2: [94, 38, 124] from Operation: 31+93=124 Current State: 68:[94, 38, 124], Operations: ['31+93=124'] Exploring Operation: 94-38=56, Resulting Numbers: [124, 56] Generated Node #3: [124, 56] from Operation: 94-38=56 Current State: 68:[124, 56], Operations: ['31+93=124', '94-38=56'] Exploring Operation: 124-56=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[31, 93, 94, 38], Operations: [] Exploring Operation: 94-31=63, Resulting Numbers: [93, 38, 63] Generated Node #0,0: 68:[93, 38, 63] Operation: 94-31=63 Exploring Operation: 93-31=62, Resulting Numbers: [94, 38, 62] Generated Node #0,1: 68:[94, 38, 62] Operation: 93-31=62 Exploring Operation: 93/31=3, Resulting Numbers: [94, 38, 3] Generated Node #0,2: 68:[94, 38, 3] Operation: 93/31=3 Exploring Operation: 94-93=1, Resulting Numbers: [31, 38, 1] Generated Node #0,3: 68:[31, 38, 1] Operation: 94-93=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[31, 38, 1], Operations: ['94-93=1'] Exploring Operation: 31+1=32, Resulting Numbers: [38, 32] Generated Node #0,3,0: 68:[38, 32] Operation: 31+1=32 Exploring Operation: 38-31=7, Resulting Numbers: [1, 7] Generated Node #0,3,1: 68:[1, 7] Operation: 38-31=7 Exploring Operation: 38-1=37, Resulting Numbers: [31, 37] Generated Node #0,3,2: 68:[31, 37] Operation: 38-1=37 Exploring Operation: 31+38=69, Resulting Numbers: [1, 69] Generated Node #0,3,3: 68:[1, 69] Operation: 31+38=69 Moving to Node #0,3,3 Current State: 68:[1, 69], Operations: ['94-93=1', '31+38=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[31, 93, 94, 38], Operations: [] Exploring Operation: 94-93=1, Resulting Numbers: [31, 38, 1] Generated Node #0,3: 68:[31, 38, 1] Operation: 94-93=1 Moving to Node #0,3 Current State: 68:[31, 38, 1], Operations: ['94-93=1'] Exploring Operation: 31+38=69, Resulting Numbers: [1, 69] Generated Node #0,3,3: 68:[1, 69] Operation: 31+38=69 Moving to Node #0,3,3 Current State: 68:[1, 69], Operations: ['94-93=1', '31+38=69'] Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 7, 82, 25, 41 ]
44
[ "82-7=75", "75/25=3", "41+3=44" ]
Current State: 44:[7, 82, 25, 41], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [25, 41, 75] Generated Node #2: [25, 41, 75] from Operation: 82-7=75 Current State: 44:[25, 41, 75], Operations: ['82-7=75'] Exploring Operation: 75/25=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 75/25=3 Current State: 44:[41, 3], Operations: ['82-7=75', '75/25=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[7, 82, 25, 41], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [7, 25, 2] Generated Node #0,0: 44:[7, 25, 2] Operation: 82/41=2 Exploring Operation: 82-7=75, Resulting Numbers: [25, 41, 75] Generated Node #0,1: 44:[25, 41, 75] Operation: 82-7=75 Exploring Operation: 82-41=41, Resulting Numbers: [7, 25, 41] Generated Node #0,2: 44:[7, 25, 41] Operation: 82-41=41 Exploring Operation: 82-25=57, Resulting Numbers: [7, 41, 57] Generated Node #0,3: 44:[7, 41, 57] Operation: 82-25=57 Moving to Node #0,0 Current State: 44:[7, 25, 2], Operations: ['82/41=2'] Exploring Operation: 25-2=23, Resulting Numbers: [7, 23] Generated Node #0,0,0: 44:[7, 23] Operation: 25-2=23 Exploring Operation: 25-7=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 44:[2, 18] Operation: 25-7=18 Exploring Operation: 7-2=5, Resulting Numbers: [25, 5] Generated Node #0,0,2: 44:[25, 5] Operation: 7-2=5 Exploring Operation: 7+2=9, Resulting Numbers: [25, 9] Generated Node #0,0,3: 44:[25, 9] Operation: 7+2=9 Moving to Node #0,2 Current State: 44:[7, 25, 41], Operations: ['82-41=41'] Exploring Operation: 25-7=18, Resulting Numbers: [41, 18] Generated Node #0,2,0: 44:[41, 18] Operation: 25-7=18 Exploring Operation: 7+41=48, Resulting Numbers: [25, 48] Generated Node #0,2,1: 44:[25, 48] Operation: 7+41=48 Exploring Operation: 41-25=16, Resulting Numbers: [7, 16] Generated Node #0,2,2: 44:[7, 16] Operation: 41-25=16 Exploring Operation: 7+25=32, Resulting Numbers: [41, 32] Generated Node #0,2,3: 44:[41, 32] Operation: 7+25=32 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[41, 18], Operations: ['82-41=41', '25-7=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,44 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[25, 48], Operations: ['82-41=41', '7+41=48'] Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,44 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,44 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[7, 16], Operations: ['82-41=41', '41-25=16'] Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[41, 32], Operations: ['82-41=41', '7+25=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,44 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,44 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,44 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: 44:[7, 41, 57], Operations: ['82-25=57'] Exploring Operation: 57-7=50, Resulting Numbers: [41, 50] Generated Node #0,3,0: 44:[41, 50] Operation: 57-7=50 Exploring Operation: 41-7=34, Resulting Numbers: [57, 34] Generated Node #0,3,1: 44:[57, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [57, 48] Generated Node #0,3,2: 44:[57, 48] Operation: 7+41=48 Exploring Operation: 57-41=16, Resulting Numbers: [7, 16] Generated Node #0,3,3: 44:[7, 16] Operation: 57-41=16 Moving to Node #0,1 Current State: 44:[25, 41, 75], Operations: ['82-7=75'] Exploring Operation: 75/25=3, Resulting Numbers: [41, 3] Generated Node #0,1,0: 44:[41, 3] Operation: 75/25=3 Exploring Operation: 75-41=34, Resulting Numbers: [25, 34] Generated Node #0,1,1: 44:[25, 34] Operation: 75-41=34 Exploring Operation: 75-25=50, Resulting Numbers: [41, 50] Generated Node #0,1,2: 44:[41, 50] Operation: 75-25=50 Exploring Operation: 41-25=16, Resulting Numbers: [75, 16] Generated Node #0,1,3: 44:[75, 16] Operation: 41-25=16 Moving to Node #0,0,0 Current State: 44:[7, 23], Operations: ['82/41=2', '25-2=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,44 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[25, 5], Operations: ['82/41=2', '7-2=5'] Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[2, 18], Operations: ['82/41=2', '25-7=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,44 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[41, 3], Operations: ['82-7=75', '75/25=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[7, 82, 25, 41], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [25, 41, 75] Generated Node #0,1: 44:[25, 41, 75] Operation: 82-7=75 Moving to Node #0,1 Current State: 44:[25, 41, 75], Operations: ['82-7=75'] Exploring Operation: 75/25=3, Resulting Numbers: [41, 3] Generated Node #0,1,0: 44:[41, 3] Operation: 75/25=3 Moving to Node #0,1,0 Current State: 44:[41, 3], Operations: ['82-7=75', '75/25=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 90, 72, 56, 73 ]
33
[ "90+72=162", "56+73=129", "162-129=33" ]
Current State: 33:[90, 72, 56, 73], Operations: [] Exploring Operation: 90+72=162, Resulting Numbers: [56, 73, 162] Generated Node #2: [56, 73, 162] from Operation: 90+72=162 Current State: 33:[56, 73, 162], Operations: ['90+72=162'] Exploring Operation: 56+73=129, Resulting Numbers: [162, 129] Generated Node #3: [162, 129] from Operation: 56+73=129 Current State: 33:[162, 129], Operations: ['90+72=162', '56+73=129'] Exploring Operation: 162-129=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[90, 72, 56, 73], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [72, 56, 17] Generated Node #0,0: 33:[72, 56, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 33:[72, 56, 17], Operations: ['90-73=17'] Exploring Operation: 72-56=16, Resulting Numbers: [17, 16] Generated Node #0,0,0: 33:[17, 16] Operation: 72-56=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[17, 16], Operations: ['90-73=17', '72-56=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[90, 72, 56, 73], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [72, 56, 17] Generated Node #0,0: 33:[72, 56, 17] Operation: 90-73=17 Moving to Node #0,0 Current State: 33:[72, 56, 17], Operations: ['90-73=17'] Exploring Operation: 72-56=16, Resulting Numbers: [17, 16] Generated Node #0,0,0: 33:[17, 16] Operation: 72-56=16 Moving to Node #0,0,0 Current State: 33:[17, 16], Operations: ['90-73=17', '72-56=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 81, 4, 78, 6 ]
90
[ "81-4=77", "78/6=13", "77+13=90" ]
Current State: 90:[81, 4, 78, 6], Operations: [] Exploring Operation: 81-4=77, Resulting Numbers: [78, 6, 77] Generated Node #2: [78, 6, 77] from Operation: 81-4=77 Current State: 90:[78, 6, 77], Operations: ['81-4=77'] Exploring Operation: 78/6=13, Resulting Numbers: [77, 13] Generated Node #3: [77, 13] from Operation: 78/6=13 Current State: 90:[77, 13], Operations: ['81-4=77', '78/6=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[81, 4, 78, 6], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [4, 6, 3] Generated Node #0,0: 90:[4, 6, 3] Operation: 81-78=3 Exploring Operation: 78/6=13, Resulting Numbers: [81, 4, 13] Generated Node #0,1: 90:[81, 4, 13] Operation: 78/6=13 Exploring Operation: 81+6=87, Resulting Numbers: [4, 78, 87] Generated Node #0,2: 90:[4, 78, 87] Operation: 81+6=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[4, 6, 3], Operations: ['81-78=3'] Exploring Operation: 4+6=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 90:[3, 10] Operation: 4+6=10 Exploring Operation: 4+3=7, Resulting Numbers: [6, 7] Generated Node #0,0,1: 90:[6, 7] Operation: 4+3=7 Exploring Operation: 6-4=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 90:[3, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[3, 10], Operations: ['81-78=3', '4+6=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[3, 2], Operations: ['81-78=3', '6-4=2'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[6, 7], Operations: ['81-78=3', '4+3=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,90 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[81, 4, 13], Operations: ['78/6=13'] Exploring Operation: 81+13=94, Resulting Numbers: [4, 94] Generated Node #0,1,0: 90:[4, 94] Operation: 81+13=94 Exploring Operation: 81+4=85, Resulting Numbers: [13, 85] Generated Node #0,1,1: 90:[13, 85] Operation: 81+4=85 Exploring Operation: 13-4=9, Resulting Numbers: [81, 9] Generated Node #0,1,2: 90:[81, 9] Operation: 13-4=9 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[4, 94], Operations: ['78/6=13', '81+13=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[81, 4, 78, 6], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [81, 4, 13] Generated Node #0,1: 90:[81, 4, 13] Operation: 78/6=13 Moving to Node #0,1 Current State: 90:[81, 4, 13], Operations: ['78/6=13'] Exploring Operation: 81+13=94, Resulting Numbers: [4, 94] Generated Node #0,1,0: 90:[4, 94] Operation: 81+13=94 Moving to Node #0,1,0 Current State: 90:[4, 94], Operations: ['78/6=13', '81+13=94'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 37, 47, 24, 7 ]
98
[ "47-37=10", "24-10=14", "7*14=98" ]
Current State: 98:[37, 47, 24, 7], Operations: [] Exploring Operation: 47-37=10, Resulting Numbers: [24, 7, 10] Generated Node #2: [24, 7, 10] from Operation: 47-37=10 Current State: 98:[24, 7, 10], Operations: ['47-37=10'] Exploring Operation: 24-10=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 24-10=14 Current State: 98:[7, 14], Operations: ['47-37=10', '24-10=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[37, 47, 24, 7], Operations: [] Exploring Operation: 37-24=13, Resulting Numbers: [47, 7, 13] Generated Node #0,0: 98:[47, 7, 13] Operation: 37-24=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[47, 7, 13], Operations: ['37-24=13'] Exploring Operation: 13-7=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 98:[47, 6] Operation: 13-7=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[47, 6], Operations: ['37-24=13', '13-7=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 24, 39, 44, 25 ]
83
[ "25-24=1", "39+44=83", "1*83=83" ]
Current State: 83:[24, 39, 44, 25], Operations: [] Exploring Operation: 25-24=1, Resulting Numbers: [39, 44, 1] Generated Node #2: [39, 44, 1] from Operation: 25-24=1 Current State: 83:[39, 44, 1], Operations: ['25-24=1'] Exploring Operation: 39+44=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 39+44=83 Current State: 83:[1, 83], Operations: ['25-24=1', '39+44=83'] Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[24, 39, 44, 25], Operations: [] Exploring Operation: 24+39=63, Resulting Numbers: [44, 25, 63] Generated Node #0,0: 83:[44, 25, 63] Operation: 24+39=63 Exploring Operation: 24+44=68, Resulting Numbers: [39, 25, 68] Generated Node #0,1: 83:[39, 25, 68] Operation: 24+44=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[44, 25, 63], Operations: ['24+39=63'] Exploring Operation: 44+25=69, Resulting Numbers: [63, 69] Generated Node #0,0,0: 83:[63, 69] Operation: 44+25=69 Exploring Operation: 25+63=88, Resulting Numbers: [44, 88] Generated Node #0,0,1: 83:[44, 88] Operation: 25+63=88 Moving to Node #0,0,0 Current State: 83:[63, 69], Operations: ['24+39=63', '44+25=69'] Exploring Operation: 69-63=6, Resulting Numbers: [6] 6,83 unequal: No Solution Exploring Operation: 63+69=132, Resulting Numbers: [132] 132,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[44, 88], Operations: ['24+39=63', '25+63=88'] Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,83 unequal: No Solution Exploring Operation: 44+88=132, Resulting Numbers: [132] 132,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:[39, 25, 68], Operations: ['24+44=68'] Exploring Operation: 25+68=93, Resulting Numbers: [39, 93] Generated Node #0,1,0: 83:[39, 93] Operation: 25+68=93 Exploring Operation: 39+25=64, Resulting Numbers: [68, 64] Generated Node #0,1,1: 83:[68, 64] Operation: 39+25=64 Moving to Node #0,1,1 Current State: 83:[68, 64], Operations: ['24+44=68', '39+25=64'] Exploring Operation: 68-64=4, Resulting Numbers: [4] 4,83 unequal: No Solution Exploring Operation: 68+64=132, Resulting Numbers: [132] 132,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[39, 93], Operations: ['24+44=68', '25+68=93'] Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,83 unequal: No Solution Exploring Operation: 39+93=132, Resulting Numbers: [132] 132,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 90, 4, 92, 7 ]
26
[ "92-90=2", "4*7=28", "28-2=26" ]
Current State: 26:[90, 4, 92, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [4, 7, 2] Generated Node #2: [4, 7, 2] from Operation: 92-90=2 Current State: 26:[4, 7, 2], Operations: ['92-90=2'] Exploring Operation: 4*7=28, Resulting Numbers: [2, 28] Generated Node #3: [2, 28] from Operation: 4*7=28 Current State: 26:[2, 28], Operations: ['92-90=2', '4*7=28'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[90, 4, 92, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [4, 7, 2] Generated Node #0,0: 26:[4, 7, 2] Operation: 92-90=2 Exploring Operation: 92/4=23, Resulting Numbers: [90, 7, 23] Generated Node #0,1: 26:[90, 7, 23] Operation: 92/4=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[4, 7, 2], Operations: ['92-90=2'] Exploring Operation: 4+7=11, Resulting Numbers: [2, 11] Generated Node #0,0,0: 26:[2, 11] Operation: 4+7=11 Exploring Operation: 7-4=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 26:[2, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[2, 3], Operations: ['92-90=2', '7-4=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[2, 11], Operations: ['92-90=2', '4+7=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 2+11=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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[90, 7, 23], Operations: ['92/4=23'] Exploring Operation: 90-7=83, Resulting Numbers: [23, 83] Generated Node #0,1,0: 26:[23, 83] Operation: 90-7=83 Exploring Operation: 90-23=67, Resulting Numbers: [7, 67] Generated Node #0,1,1: 26:[7, 67] Operation: 90-23=67 Moving to Node #0,1,1 Current State: 26:[7, 67], Operations: ['92/4=23', '90-23=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,26 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[23, 83], Operations: ['92/4=23', '90-7=83'] Exploring Operation: 83-23=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 23+83=106, Resulting Numbers: [106] 106,26 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
[ 2, 68, 4, 81 ]
44
[ "2+68=70", "81-70=11", "4*11=44" ]
Current State: 44:[2, 68, 4, 81], Operations: [] Exploring Operation: 2+68=70, Resulting Numbers: [4, 81, 70] Generated Node #2: [4, 81, 70] from Operation: 2+68=70 Current State: 44:[4, 81, 70], Operations: ['2+68=70'] Exploring Operation: 81-70=11, Resulting Numbers: [4, 11] Generated Node #3: [4, 11] from Operation: 81-70=11 Current State: 44:[4, 11], Operations: ['2+68=70', '81-70=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[2, 68, 4, 81], Operations: [] Exploring Operation: 68-4=64, Resulting Numbers: [2, 81, 64] Generated Node #0,0: 44:[2, 81, 64] Operation: 68-4=64 Exploring Operation: 81-4=77, Resulting Numbers: [2, 68, 77] Generated Node #0,1: 44:[2, 68, 77] Operation: 81-4=77 Exploring Operation: 81-68=13, Resulting Numbers: [2, 4, 13] Generated Node #0,2: 44:[2, 4, 13] Operation: 81-68=13 Exploring Operation: 68/2=34, Resulting Numbers: [4, 81, 34] Generated Node #0,3: 44:[4, 81, 34] Operation: 68/2=34 Exploring Operation: 68/4=17, Resulting Numbers: [2, 81, 17] Generated Node #0,4: 44:[2, 81, 17] Operation: 68/4=17 Moving to Node #0,2 Current State: 44:[2, 4, 13], Operations: ['81-68=13'] Exploring Operation: 4-2=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 44:[13, 2] Operation: 4-2=2 Exploring Operation: 4/2=2, Resulting Numbers: [13, 2] Generated Node #0,2,1: 44:[13, 2] Operation: 4/2=2 Exploring Operation: 13-4=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 44:[2, 9] Operation: 13-4=9 Exploring Operation: 2+4=6, Resulting Numbers: [13, 6] Generated Node #0,2,3: 44:[13, 6] Operation: 2+4=6 Exploring Operation: 13-2=11, Resulting Numbers: [4, 11] Generated Node #0,2,4: 44:[4, 11] Operation: 13-2=11 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 44:[4, 11], Operations: ['81-68=13', '13-2=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[2, 68, 4, 81], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [2, 4, 13] Generated Node #0,2: 44:[2, 4, 13] Operation: 81-68=13 Moving to Node #0,2 Current State: 44:[2, 4, 13], Operations: ['81-68=13'] Exploring Operation: 13-2=11, Resulting Numbers: [4, 11] Generated Node #0,2,4: 44:[4, 11] Operation: 13-2=11 Moving to Node #0,2,4 Current State: 44:[4, 11], Operations: ['81-68=13', '13-2=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 7, 78, 12 ]
68
[ "12-7=5", "2*5=10", "78-10=68" ]
Current State: 68:[2, 7, 78, 12], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [2, 78, 5] Generated Node #2: [2, 78, 5] from Operation: 12-7=5 Current State: 68:[2, 78, 5], Operations: ['12-7=5'] Exploring Operation: 2*5=10, Resulting Numbers: [78, 10] Generated Node #3: [78, 10] from Operation: 2*5=10 Current State: 68:[78, 10], Operations: ['12-7=5', '2*5=10'] Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[2, 7, 78, 12], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [2, 7, 66] Generated Node #0,0: 68:[2, 7, 66] Operation: 78-12=66 Exploring Operation: 78-7=71, Resulting Numbers: [2, 12, 71] Generated Node #0,1: 68:[2, 12, 71] Operation: 78-7=71 Exploring Operation: 12-7=5, Resulting Numbers: [2, 78, 5] Generated Node #0,2: 68:[2, 78, 5] Operation: 12-7=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[2, 7, 66], Operations: ['78-12=66'] Exploring Operation: 2+66=68, Resulting Numbers: [7, 68] Generated Node #0,0,0: 68:[7, 68] Operation: 2+66=68 Exploring Operation: 7-2=5, Resulting Numbers: [66, 5] Generated Node #0,0,1: 68:[66, 5] Operation: 7-2=5 Exploring Operation: 66/2=33, Resulting Numbers: [7, 33] Generated Node #0,0,2: 68:[7, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[7, 68], Operations: ['78-12=66', '2+66=68'] Exploring Operation: 7+68=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 68-7=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 7*68=476, Resulting Numbers: [476] 476,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,0,1 Current State: 68:[66, 5], Operations: ['78-12=66', '7-2=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,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,0,2 Current State: 68:[7, 33], Operations: ['78-12=66', '66/2=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,68 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,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,1 Current State: 68:[2, 12, 71], Operations: ['78-7=71'] Exploring Operation: 12/2=6, Resulting Numbers: [71, 6] Generated Node #0,1,0: 68:[71, 6] Operation: 12/2=6 Exploring Operation: 71-2=69, Resulting Numbers: [12, 69] Generated Node #0,1,1: 68:[12, 69] Operation: 71-2=69 Exploring Operation: 2+12=14, Resulting Numbers: [71, 14] Generated Node #0,1,2: 68:[71, 14] Operation: 2+12=14 Moving to Node #0,1,0 Current State: 68:[71, 6], Operations: ['78-7=71', '12/2=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,68 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[12, 69], Operations: ['78-7=71', '71-2=69'] Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,68 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[71, 14], Operations: ['78-7=71', '2+12=14'] Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,68 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,68 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[2, 78, 5], Operations: ['12-7=5'] Exploring Operation: 78/2=39, Resulting Numbers: [5, 39] Generated Node #0,2,0: 68:[5, 39] Operation: 78/2=39 Exploring Operation: 78-2=76, Resulting Numbers: [5, 76] Generated Node #0,2,1: 68:[5, 76] Operation: 78-2=76 Exploring Operation: 78-5=73, Resulting Numbers: [2, 73] Generated Node #0,2,2: 68:[2, 73] Operation: 78-5=73 Moving to Node #0,2,2 Current State: 68:[2, 73], Operations: ['12-7=5', '78-5=73'] Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,68 unequal: No Solution Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[5, 39], Operations: ['12-7=5', '78/2=39'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,68 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[5, 76], Operations: ['12-7=5', '78-2=76'] Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,68 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,68 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
[ 94, 28, 94, 89 ]
89
[ "94-94=0", "28*0=0", "89+0=89" ]
Current State: 89:[94, 28, 94, 89], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [28, 89, 0] Generated Node #2: [28, 89, 0] from Operation: 94-94=0 Current State: 89:[28, 89, 0], Operations: ['94-94=0'] Exploring Operation: 28*0=0, Resulting Numbers: [89, 0] Generated Node #3: [89, 0] from Operation: 28*0=0 Current State: 89:[89, 0], Operations: ['94-94=0', '28*0=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[94, 28, 94, 89], Operations: [] Exploring Operation: 94-28=66, Resulting Numbers: [94, 89, 66] Generated Node #0,0: 89:[94, 89, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[94, 89, 66], Operations: ['94-28=66'] Exploring Operation: 94-66=28, Resulting Numbers: [89, 28] Generated Node #0,0,0: 89:[89, 28] Operation: 94-66=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[89, 28], Operations: ['94-28=66', '94-66=28'] Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 79, 94, 92, 56 ]
33
[ "94-92=2", "56*2=112", "112-79=33" ]
Current State: 33:[79, 94, 92, 56], Operations: [] Exploring Operation: 94-92=2, Resulting Numbers: [79, 56, 2] Generated Node #2: [79, 56, 2] from Operation: 94-92=2 Current State: 33:[79, 56, 2], Operations: ['94-92=2'] Exploring Operation: 56*2=112, Resulting Numbers: [79, 112] Generated Node #3: [79, 112] from Operation: 56*2=112 Current State: 33:[79, 112], Operations: ['94-92=2', '56*2=112'] Exploring Operation: 112-79=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[79, 94, 92, 56], Operations: [] Exploring Operation: 92-79=13, Resulting Numbers: [94, 56, 13] Generated Node #0,0: 33:[94, 56, 13] Operation: 92-79=13 Exploring Operation: 94-79=15, Resulting Numbers: [92, 56, 15] Generated Node #0,1: 33:[92, 56, 15] Operation: 94-79=15 Exploring Operation: 94-92=2, Resulting Numbers: [79, 56, 2] Generated Node #0,2: 33:[79, 56, 2] Operation: 94-92=2 Moving to Node #0,2 Current State: 33:[79, 56, 2], Operations: ['94-92=2'] Exploring Operation: 79-56=23, Resulting Numbers: [2, 23] Generated Node #0,2,0: 33:[2, 23] Operation: 79-56=23 Exploring Operation: 79-2=77, Resulting Numbers: [56, 77] Generated Node #0,2,1: 33:[56, 77] Operation: 79-2=77 Exploring Operation: 56/2=28, Resulting Numbers: [79, 28] Generated Node #0,2,2: 33:[79, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[2, 23], Operations: ['94-92=2', '79-56=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,33 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 33:[79, 28], Operations: ['94-92=2', '56/2=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[56, 77], Operations: ['94-92=2', '79-2=77'] Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,33 unequal: No Solution Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,33 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: 33:[94, 56, 13], Operations: ['92-79=13'] Exploring Operation: 94-13=81, Resulting Numbers: [56, 81] Generated Node #0,0,0: 33:[56, 81] Operation: 94-13=81 Exploring Operation: 94-56=38, Resulting Numbers: [13, 38] Generated Node #0,0,1: 33:[13, 38] Operation: 94-56=38 Exploring Operation: 56-13=43, Resulting Numbers: [94, 43] Generated Node #0,0,2: 33:[94, 43] Operation: 56-13=43 Moving to Node #0,1 Current State: 33:[92, 56, 15], Operations: ['94-79=15'] Exploring Operation: 56-15=41, Resulting Numbers: [92, 41] Generated Node #0,1,0: 33:[92, 41] Operation: 56-15=41 Exploring Operation: 92-56=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 33:[15, 36] Operation: 92-56=36 Exploring Operation: 92-15=77, Resulting Numbers: [56, 77] Generated Node #0,1,2: 33:[56, 77] Operation: 92-15=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[15, 36], Operations: ['94-79=15', '92-56=36'] Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[92, 41], Operations: ['94-79=15', '56-15=41'] Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,33 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[56, 77], Operations: ['94-79=15', '92-15=77'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,33 unequal: No Solution Exploring Operation: 56*77=4312, Resulting Numbers: [4312] 4312,33 unequal: No Solution Exploring Operation: 56+77=133, Resulting Numbers: [133] 133,33 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: 33:[13, 38], Operations: ['92-79=13', '94-56=38'] Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,33 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[56, 81], Operations: ['92-79=13', '94-13=81'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,33 unequal: No Solution Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,33 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[94, 43], Operations: ['92-79=13', '56-13=43'] Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,33 unequal: No Solution Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,33 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 90, 63, 2, 49 ]
34
[ "63+49=112", "112/2=56", "90-56=34" ]
Current State: 34:[90, 63, 2, 49], Operations: [] Exploring Operation: 63+49=112, Resulting Numbers: [90, 2, 112] Generated Node #2: [90, 2, 112] from Operation: 63+49=112 Current State: 34:[90, 2, 112], Operations: ['63+49=112'] Exploring Operation: 112/2=56, Resulting Numbers: [90, 56] Generated Node #3: [90, 56] from Operation: 112/2=56 Current State: 34:[90, 56], Operations: ['63+49=112', '112/2=56'] Exploring Operation: 90-56=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[90, 63, 2, 49], Operations: [] Exploring Operation: 90-2=88, Resulting Numbers: [63, 49, 88] Generated Node #0,0: 34:[63, 49, 88] Operation: 90-2=88 Exploring Operation: 63-49=14, Resulting Numbers: [90, 2, 14] Generated Node #0,1: 34:[90, 2, 14] Operation: 63-49=14 Exploring Operation: 90/2=45, Resulting Numbers: [63, 49, 45] Generated Node #0,2: 34:[63, 49, 45] Operation: 90/2=45 Exploring Operation: 90-63=27, Resulting Numbers: [2, 49, 27] Generated Node #0,3: 34:[2, 49, 27] Operation: 90-63=27 Exploring Operation: 90-49=41, Resulting Numbers: [63, 2, 41] Generated Node #0,4: 34:[63, 2, 41] Operation: 90-49=41 Moving to Node #0,3 Current State: 34:[2, 49, 27], Operations: ['90-63=27'] Exploring Operation: 27-2=25, Resulting Numbers: [49, 25] Generated Node #0,3,0: 34:[49, 25] Operation: 27-2=25 Exploring Operation: 49-27=22, Resulting Numbers: [2, 22] Generated Node #0,3,1: 34:[2, 22] Operation: 49-27=22 Exploring Operation: 2+49=51, Resulting Numbers: [27, 51] Generated Node #0,3,2: 34:[27, 51] Operation: 2+49=51 Exploring Operation: 49-2=47, Resulting Numbers: [27, 47] Generated Node #0,3,3: 34:[27, 47] Operation: 49-2=47 Exploring Operation: 2+27=29, Resulting Numbers: [49, 29] Generated Node #0,3,4: 34:[49, 29] Operation: 2+27=29 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[2, 22], Operations: ['90-63=27', '49-27=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,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,3,3 Current State: 34:[27, 47], Operations: ['90-63=27', '49-2=47'] Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,34 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,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,3,4 Current State: 34:[49, 29], Operations: ['90-63=27', '2+27=29'] Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,34 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,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,3,0 Current State: 34:[49, 25], Operations: ['90-63=27', '27-2=25'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,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,3,2 Current State: 34:[27, 51], Operations: ['90-63=27', '2+49=51'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 27*51=1377, Resulting Numbers: [1377] 1377,34 unequal: No Solution Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,34 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: 34:[63, 2, 41], Operations: ['90-49=41'] Exploring Operation: 41-2=39, Resulting Numbers: [63, 39] Generated Node #0,4,0: 34:[63, 39] Operation: 41-2=39 Exploring Operation: 63-2=61, Resulting Numbers: [41, 61] Generated Node #0,4,1: 34:[41, 61] Operation: 63-2=61 Exploring Operation: 63+2=65, Resulting Numbers: [41, 65] Generated Node #0,4,2: 34:[41, 65] Operation: 63+2=65 Exploring Operation: 2+41=43, Resulting Numbers: [63, 43] Generated Node #0,4,3: 34:[63, 43] Operation: 2+41=43 Exploring Operation: 63-41=22, Resulting Numbers: [2, 22] Generated Node #0,4,4: 34:[2, 22] Operation: 63-41=22 Moving to Node #0,2 Current State: 34:[63, 49, 45], Operations: ['90/2=45'] Exploring Operation: 63+49=112, Resulting Numbers: [45, 112] Generated Node #0,2,0: 34:[45, 112] Operation: 63+49=112 Exploring Operation: 49-45=4, Resulting Numbers: [63, 4] Generated Node #0,2,1: 34:[63, 4] Operation: 49-45=4 Exploring Operation: 63-45=18, Resulting Numbers: [49, 18] Generated Node #0,2,2: 34:[49, 18] Operation: 63-45=18 Exploring Operation: 63+45=108, Resulting Numbers: [49, 108] Generated Node #0,2,3: 34:[49, 108] Operation: 63+45=108 Exploring Operation: 63-49=14, Resulting Numbers: [45, 14] Generated Node #0,2,4: 34:[45, 14] Operation: 63-49=14 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 34:[45, 14], Operations: ['90/2=45', '63-49=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,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:[49, 18], Operations: ['90/2=45', '63-45=18'] Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,34 unequal: No Solution Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,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:[63, 4], Operations: ['90/2=45', '49-45=4'] Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,34 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,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,0 Current State: 34:[45, 112], Operations: ['90/2=45', '63+49=112'] Exploring Operation: 45+112=157, Resulting Numbers: [157] 157,34 unequal: No Solution Exploring Operation: 45*112=5040, Resulting Numbers: [5040] 5040,34 unequal: No Solution Exploring Operation: 112-45=67, Resulting Numbers: [67] 67,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,3 Current State: 34:[49, 108], Operations: ['90/2=45', '63+45=108'] Exploring Operation: 49*108=5292, Resulting Numbers: [5292] 5292,34 unequal: No Solution Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,34 unequal: No Solution Exploring Operation: 49+108=157, Resulting Numbers: [157] 157,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:[90, 2, 14], Operations: ['63-49=14'] Exploring Operation: 90-2=88, Resulting Numbers: [14, 88] Generated Node #0,1,0: 34:[14, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [14, 45] Generated Node #0,1,1: 34:[14, 45] Operation: 90/2=45 Exploring Operation: 90+2=92, Resulting Numbers: [14, 92] Generated Node #0,1,2: 34:[14, 92] Operation: 90+2=92 Exploring Operation: 90-14=76, Resulting Numbers: [2, 76] Generated Node #0,1,3: 34:[2, 76] Operation: 90-14=76 Exploring Operation: 2+14=16, Resulting Numbers: [90, 16] Generated Node #0,1,4: 34:[90, 16] Operation: 2+14=16 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[14, 45], Operations: ['63-49=14', '90/2=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,34 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,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,3 Current State: 34:[2, 76], Operations: ['63-49=14', '90-14=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,34 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,34 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,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,0 Current State: 34:[14, 88], Operations: ['63-49=14', '90-2=88'] Exploring Operation: 14+88=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 14*88=1232, Resulting Numbers: [1232] 1232,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,4 Current State: 34:[90, 16], Operations: ['63-49=14', '2+14=16'] Exploring Operation: 90-16=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 90*16=1440, Resulting Numbers: [1440] 1440,34 unequal: No Solution Exploring Operation: 90+16=106, Resulting Numbers: [106] 106,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:[14, 92], Operations: ['63-49=14', '90+2=92'] Exploring Operation: 14*92=1288, Resulting Numbers: [1288] 1288,34 unequal: No Solution Exploring Operation: 14+92=106, Resulting Numbers: [106] 106,34 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,34 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: 34:[63, 49, 88], Operations: ['90-2=88'] Exploring Operation: 88-49=39, Resulting Numbers: [63, 39] Generated Node #0,0,0: 34:[63, 39] Operation: 88-49=39 Exploring Operation: 63+88=151, Resulting Numbers: [49, 151] Generated Node #0,0,1: 34:[49, 151] Operation: 63+88=151 Exploring Operation: 88-63=25, Resulting Numbers: [49, 25] Generated Node #0,0,2: 34:[49, 25] Operation: 88-63=25 Exploring Operation: 63-49=14, Resulting Numbers: [88, 14] Generated Node #0,0,3: 34:[88, 14] Operation: 63-49=14 Exploring Operation: 63+49=112, Resulting Numbers: [88, 112] Generated Node #0,0,4: 34:[88, 112] Operation: 63+49=112 Moving to Node #0,4,4 Current State: 34:[2, 22], Operations: ['90-49=41', '63-41=22'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,34 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[49, 25], Operations: ['90-2=88', '88-63=25'] Exploring Operation: 49*25=1225, Resulting Numbers: [1225] 1225,34 unequal: No Solution Exploring Operation: 49+25=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[63, 39], Operations: ['90-2=88', '88-49=39'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[41, 61], Operations: ['90-49=41', '63-2=61'] Exploring Operation: 41*61=2501, Resulting Numbers: [2501] 2501,34 unequal: No Solution Exploring Operation: 41+61=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[63, 39], Operations: ['90-49=41', '41-2=39'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 63*39=2457, Resulting Numbers: [2457] 2457,34 unequal: No Solution Exploring Operation: 63+39=102, Resulting Numbers: [102] 102,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[63, 43], Operations: ['90-49=41', '2+41=43'] Exploring Operation: 63-43=20, Resulting Numbers: [20] 20,34 unequal: No Solution Exploring Operation: 63*43=2709, Resulting Numbers: [2709] 2709,34 unequal: No Solution Exploring Operation: 63+43=106, Resulting Numbers: [106] 106,34 unequal: No Solution Moving to Node #0,4,2 Current State: 34:[41, 65], Operations: ['90-49=41', '63+2=65'] Exploring Operation: 41*65=2665, Resulting Numbers: [2665] 2665,34 unequal: No Solution Exploring Operation: 65-41=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 41+65=106, Resulting Numbers: [106] 106,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[88, 14], Operations: ['90-2=88', '63-49=14'] Exploring Operation: 88+14=102, Resulting Numbers: [102] 102,34 unequal: No Solution Exploring Operation: 88-14=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 88*14=1232, Resulting Numbers: [1232] 1232,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[49, 151], Operations: ['90-2=88', '63+88=151'] Exploring Operation: 49+151=200, Resulting Numbers: [200] 200,34 unequal: No Solution Exploring Operation: 49*151=7399, Resulting Numbers: [7399] 7399,34 unequal: No Solution Exploring Operation: 151-49=102, Resulting Numbers: [102] 102,34 unequal: No Solution Moving to Node #0,0,4 Current State: 34:[88, 112], Operations: ['90-2=88', '63+49=112'] Exploring Operation: 112-88=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 88*112=9856, Resulting Numbers: [9856] 9856,34 unequal: No Solution Exploring Operation: 88+112=200, Resulting Numbers: [200] 200,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 84, 70, 20, 80 ]
98
[ "84*70=5880", "80-20=60", "5880/60=98" ]
Current State: 98:[84, 70, 20, 80], Operations: [] Exploring Operation: 84*70=5880, Resulting Numbers: [20, 80, 5880] Generated Node #2: [20, 80, 5880] from Operation: 84*70=5880 Current State: 98:[20, 80, 5880], Operations: ['84*70=5880'] Exploring Operation: 80-20=60, Resulting Numbers: [5880, 60] Generated Node #3: [5880, 60] from Operation: 80-20=60 Current State: 98:[5880, 60], Operations: ['84*70=5880', '80-20=60'] Exploring Operation: 5880/60=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[84, 70, 20, 80], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [70, 20, 4] Generated Node #0,0: 98:[70, 20, 4] Operation: 84-80=4 Exploring Operation: 80-70=10, Resulting Numbers: [84, 20, 10] Generated Node #0,1: 98:[84, 20, 10] Operation: 80-70=10 Exploring Operation: 84-70=14, Resulting Numbers: [20, 80, 14] Generated Node #0,2: 98:[20, 80, 14] Operation: 84-70=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[84, 20, 10], Operations: ['80-70=10'] Exploring Operation: 84+10=94, Resulting Numbers: [20, 94] Generated Node #0,1,0: 98:[20, 94] Operation: 84+10=94 Exploring Operation: 84+20=104, Resulting Numbers: [10, 104] Generated Node #0,1,1: 98:[10, 104] Operation: 84+20=104 Exploring Operation: 20/10=2, Resulting Numbers: [84, 2] Generated Node #0,1,2: 98:[84, 2] Operation: 20/10=2 Moving to Node #0,1,1 Current State: 98:[10, 104], Operations: ['80-70=10', '84+20=104'] Exploring Operation: 104-10=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 10*104=1040, Resulting Numbers: [1040] 1040,98 unequal: No Solution Exploring Operation: 10+104=114, Resulting Numbers: [114] 114,98 unequal: No Solution Moving to Node #0,1,0 Current State: 98:[20, 94], Operations: ['80-70=10', '84+10=94'] Exploring Operation: 20*94=1880, Resulting Numbers: [1880] 1880,98 unequal: No Solution Exploring Operation: 20+94=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[84, 2], Operations: ['80-70=10', '20/10=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,98 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[20, 80, 14], Operations: ['84-70=14'] Exploring Operation: 20+80=100, Resulting Numbers: [14, 100] Generated Node #0,2,0: 98:[14, 100] Operation: 20+80=100 Exploring Operation: 80/20=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 98:[14, 4] Operation: 80/20=4 Exploring Operation: 80+14=94, Resulting Numbers: [20, 94] Generated Node #0,2,2: 98:[20, 94] Operation: 80+14=94 Moving to Node #0,2,0 Current State: 98:[14, 100], Operations: ['84-70=14', '20+80=100'] Exploring Operation: 100-14=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 14*100=1400, Resulting Numbers: [1400] 1400,98 unequal: No Solution Exploring Operation: 14+100=114, Resulting Numbers: [114] 114,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[14, 4], Operations: ['84-70=14', '80/20=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[20, 94], Operations: ['84-70=14', '80+14=94'] Exploring Operation: 20+94=114, Resulting Numbers: [114] 114,98 unequal: No Solution Exploring Operation: 20*94=1880, Resulting Numbers: [1880] 1880,98 unequal: No Solution Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[70, 20, 4], Operations: ['84-80=4'] Exploring Operation: 70+20=90, Resulting Numbers: [4, 90] Generated Node #0,0,0: 98:[4, 90] Operation: 70+20=90 Exploring Operation: 70-20=50, Resulting Numbers: [4, 50] Generated Node #0,0,1: 98:[4, 50] Operation: 70-20=50 Exploring Operation: 70-4=66, Resulting Numbers: [20, 66] Generated Node #0,0,2: 98:[20, 66] Operation: 70-4=66 Moving to Node #0,0,1 Current State: 98:[4, 50], Operations: ['84-80=4', '70-20=50'] Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,98 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,98 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[4, 90], Operations: ['84-80=4', '70+20=90'] Exploring Operation: 4+90=94, Resulting Numbers: [94] 94,98 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 4*90=360, Resulting Numbers: [360] 360,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[20, 66], Operations: ['84-80=4', '70-4=66'] Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,98 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
[ 27, 58, 16, 32 ]
37
[ "27+58=85", "16+32=48", "85-48=37" ]
Current State: 37:[27, 58, 16, 32], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [16, 32, 85] Generated Node #2: [16, 32, 85] from Operation: 27+58=85 Current State: 37:[16, 32, 85], Operations: ['27+58=85'] Exploring Operation: 16+32=48, Resulting Numbers: [85, 48] Generated Node #3: [85, 48] from Operation: 16+32=48 Current State: 37:[85, 48], Operations: ['27+58=85', '16+32=48'] Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[27, 58, 16, 32], Operations: [] Exploring Operation: 58-27=31, Resulting Numbers: [16, 32, 31] Generated Node #0,0: 37:[16, 32, 31] Operation: 58-27=31 Exploring Operation: 58-16=42, Resulting Numbers: [27, 32, 42] Generated Node #0,1: 37:[27, 32, 42] Operation: 58-16=42 Exploring Operation: 27+16=43, Resulting Numbers: [58, 32, 43] Generated Node #0,2: 37:[58, 32, 43] Operation: 27+16=43 Exploring Operation: 58-32=26, Resulting Numbers: [27, 16, 26] Generated Node #0,3: 37:[27, 16, 26] Operation: 58-32=26 Moving to Node #0,1 Current State: 37:[27, 32, 42], Operations: ['58-16=42'] Exploring Operation: 42-27=15, Resulting Numbers: [32, 15] Generated Node #0,1,0: 37:[32, 15] Operation: 42-27=15 Exploring Operation: 27+32=59, Resulting Numbers: [42, 59] Generated Node #0,1,1: 37:[42, 59] Operation: 27+32=59 Exploring Operation: 27+42=69, Resulting Numbers: [32, 69] Generated Node #0,1,2: 37:[32, 69] Operation: 27+42=69 Exploring Operation: 32-27=5, Resulting Numbers: [42, 5] Generated Node #0,1,3: 37:[42, 5] Operation: 32-27=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[32, 15], Operations: ['58-16=42', '42-27=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,37 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,37 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[42, 59], Operations: ['58-16=42', '27+32=59'] Exploring Operation: 42*59=2478, Resulting Numbers: [2478] 2478,37 unequal: No Solution Exploring Operation: 42+59=101, Resulting Numbers: [101] 101,37 unequal: No Solution Exploring Operation: 59-42=17, Resulting Numbers: [17] 17,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[32, 69], Operations: ['58-16=42', '27+42=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[27, 58, 16, 32], Operations: [] Exploring Operation: 58-16=42, Resulting Numbers: [27, 32, 42] Generated Node #0,1: 37:[27, 32, 42] Operation: 58-16=42 Moving to Node #0,1 Current State: 37:[27, 32, 42], Operations: ['58-16=42'] Exploring Operation: 27+42=69, Resulting Numbers: [32, 69] Generated Node #0,1,2: 37:[32, 69] Operation: 27+42=69 Moving to Node #0,1,2 Current State: 37:[32, 69], Operations: ['58-16=42', '27+42=69'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 42, 6, 93, 72 ]
57
[ "42-6=36", "93-72=21", "36+21=57" ]
Current State: 57:[42, 6, 93, 72], Operations: [] Exploring Operation: 42-6=36, Resulting Numbers: [93, 72, 36] Generated Node #2: [93, 72, 36] from Operation: 42-6=36 Current State: 57:[93, 72, 36], Operations: ['42-6=36'] Exploring Operation: 93-72=21, Resulting Numbers: [36, 21] Generated Node #3: [36, 21] from Operation: 93-72=21 Current State: 57:[36, 21], Operations: ['42-6=36', '93-72=21'] Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[42, 6, 93, 72], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [6, 72, 51] Generated Node #0,0: 57:[6, 72, 51] Operation: 93-42=51 Exploring Operation: 93-72=21, Resulting Numbers: [42, 6, 21] Generated Node #0,1: 57:[42, 6, 21] Operation: 93-72=21 Exploring Operation: 72-42=30, Resulting Numbers: [6, 93, 30] Generated Node #0,2: 57:[6, 93, 30] Operation: 72-42=30 Exploring Operation: 42/6=7, Resulting Numbers: [93, 72, 7] Generated Node #0,3: 57:[93, 72, 7] Operation: 42/6=7 Exploring Operation: 72/6=12, Resulting Numbers: [42, 93, 12] Generated Node #0,4: 57:[42, 93, 12] Operation: 72/6=12 Moving to Node #0,1 Current State: 57:[42, 6, 21], Operations: ['93-72=21'] Exploring Operation: 42+6=48, Resulting Numbers: [21, 48] Generated Node #0,1,0: 57:[21, 48] Operation: 42+6=48 Exploring Operation: 42/6=7, Resulting Numbers: [21, 7] Generated Node #0,1,1: 57:[21, 7] Operation: 42/6=7 Exploring Operation: 42/21=2, Resulting Numbers: [6, 2] Generated Node #0,1,2: 57:[6, 2] Operation: 42/21=2 Exploring Operation: 42-21=21, Resulting Numbers: [6, 21] Generated Node #0,1,3: 57:[6, 21] Operation: 42-21=21 Exploring Operation: 42+21=63, Resulting Numbers: [6, 63] Generated Node #0,1,4: 57:[6, 63] Operation: 42+21=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[6, 2], Operations: ['93-72=21', '42/21=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,57 unequal: No Solution No 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: 57:[6, 21], Operations: ['93-72=21', '42-21=21'] Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,57 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,57 unequal: No Solution No 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: 57:[21, 7], Operations: ['93-72=21', '42/6=7'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 21*7=147, Resulting Numbers: [147] 147,57 unequal: No Solution Exploring Operation: 21+7=28, Resulting Numbers: [28] 28,57 unequal: No Solution No 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: 57:[6, 63], Operations: ['93-72=21', '42+21=63'] Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,57 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,57 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[42, 6, 93, 72], Operations: [] Exploring Operation: 93-72=21, Resulting Numbers: [42, 6, 21] Generated Node #0,1: 57:[42, 6, 21] Operation: 93-72=21 Moving to Node #0,1 Current State: 57:[42, 6, 21], Operations: ['93-72=21'] Exploring Operation: 42+21=63, Resulting Numbers: [6, 63] Generated Node #0,1,4: 57:[6, 63] Operation: 42+21=63 Moving to Node #0,1,4 Current State: 57:[6, 63], Operations: ['93-72=21', '42+21=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 85, 29, 33, 45 ]
36
[ "85+29=114", "33+45=78", "114-78=36" ]
Current State: 36:[85, 29, 33, 45], Operations: [] Exploring Operation: 85+29=114, Resulting Numbers: [33, 45, 114] Generated Node #2: [33, 45, 114] from Operation: 85+29=114 Current State: 36:[33, 45, 114], Operations: ['85+29=114'] Exploring Operation: 33+45=78, Resulting Numbers: [114, 78] Generated Node #3: [114, 78] from Operation: 33+45=78 Current State: 36:[114, 78], Operations: ['85+29=114', '33+45=78'] Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[85, 29, 33, 45], Operations: [] Exploring Operation: 45-29=16, Resulting Numbers: [85, 33, 16] Generated Node #0,0: 36:[85, 33, 16] Operation: 45-29=16 Exploring Operation: 85-33=52, Resulting Numbers: [29, 45, 52] Generated Node #0,1: 36:[29, 45, 52] Operation: 85-33=52 Exploring Operation: 85-29=56, Resulting Numbers: [33, 45, 56] Generated Node #0,2: 36:[33, 45, 56] Operation: 85-29=56 Exploring Operation: 85-45=40, Resulting Numbers: [29, 33, 40] Generated Node #0,3: 36:[29, 33, 40] Operation: 85-45=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[29, 33, 40], Operations: ['85-45=40'] Exploring Operation: 33-29=4, Resulting Numbers: [40, 4] Generated Node #0,3,0: 36:[40, 4] Operation: 33-29=4 Exploring Operation: 40-29=11, Resulting Numbers: [33, 11] Generated Node #0,3,1: 36:[33, 11] Operation: 40-29=11 Exploring Operation: 29+33=62, Resulting Numbers: [40, 62] Generated Node #0,3,2: 36:[40, 62] Operation: 29+33=62 Exploring Operation: 40-33=7, Resulting Numbers: [29, 7] Generated Node #0,3,3: 36:[29, 7] Operation: 40-33=7 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 36:[40, 4], Operations: ['85-45=40', '33-29=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[85, 29, 33, 45], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [29, 33, 40] Generated Node #0,3: 36:[29, 33, 40] Operation: 85-45=40 Moving to Node #0,3 Current State: 36:[29, 33, 40], Operations: ['85-45=40'] Exploring Operation: 33-29=4, Resulting Numbers: [40, 4] Generated Node #0,3,0: 36:[40, 4] Operation: 33-29=4 Moving to Node #0,3,0 Current State: 36:[40, 4], Operations: ['85-45=40', '33-29=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 69, 47, 86, 17 ]
81
[ "69-47=22", "86+17=103", "103-22=81" ]
Current State: 81:[69, 47, 86, 17], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [86, 17, 22] Generated Node #2: [86, 17, 22] from Operation: 69-47=22 Current State: 81:[86, 17, 22], Operations: ['69-47=22'] Exploring Operation: 86+17=103, Resulting Numbers: [22, 103] Generated Node #3: [22, 103] from Operation: 86+17=103 Current State: 81:[22, 103], Operations: ['69-47=22', '86+17=103'] Exploring Operation: 103-22=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[69, 47, 86, 17], Operations: [] Exploring Operation: 47-17=30, Resulting Numbers: [69, 86, 30] Generated Node #0,0: 81:[69, 86, 30] Operation: 47-17=30 Exploring Operation: 69-47=22, Resulting Numbers: [86, 17, 22] Generated Node #0,1: 81:[86, 17, 22] Operation: 69-47=22 Moving to Node #0,1 Current State: 81:[86, 17, 22], Operations: ['69-47=22'] Exploring Operation: 86-17=69, Resulting Numbers: [22, 69] Generated Node #0,1,0: 81:[22, 69] Operation: 86-17=69 Exploring Operation: 22-17=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 81:[86, 5] Operation: 22-17=5 Moving to Node #0,0 Current State: 81:[69, 86, 30], Operations: ['47-17=30'] Exploring Operation: 69-30=39, Resulting Numbers: [86, 39] Generated Node #0,0,0: 81:[86, 39] Operation: 69-30=39 Exploring Operation: 86-69=17, Resulting Numbers: [30, 17] Generated Node #0,0,1: 81:[30, 17] Operation: 86-69=17 Moving to Node #0,1,1 Current State: 81:[86, 5], Operations: ['69-47=22', '22-17=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[69, 47, 86, 17], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [86, 17, 22] Generated Node #0,1: 81:[86, 17, 22] Operation: 69-47=22 Moving to Node #0,1 Current State: 81:[86, 17, 22], Operations: ['69-47=22'] Exploring Operation: 22-17=5, Resulting Numbers: [86, 5] Generated Node #0,1,1: 81:[86, 5] Operation: 22-17=5 Moving to Node #0,1,1 Current State: 81:[86, 5], Operations: ['69-47=22', '22-17=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 83, 16, 58, 50 ]
59
[ "83-16=67", "58-50=8", "67-8=59" ]
Current State: 59:[83, 16, 58, 50], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [58, 50, 67] Generated Node #2: [58, 50, 67] from Operation: 83-16=67 Current State: 59:[58, 50, 67], Operations: ['83-16=67'] Exploring Operation: 58-50=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 58-50=8 Current State: 59:[67, 8], Operations: ['83-16=67', '58-50=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[83, 16, 58, 50], Operations: [] Exploring Operation: 16+58=74, Resulting Numbers: [83, 50, 74] Generated Node #0,0: 59:[83, 50, 74] Operation: 16+58=74 Exploring Operation: 16+50=66, Resulting Numbers: [83, 58, 66] Generated Node #0,1: 59:[83, 58, 66] Operation: 16+50=66 Exploring Operation: 83-16=67, Resulting Numbers: [58, 50, 67] Generated Node #0,2: 59:[58, 50, 67] Operation: 83-16=67 Exploring Operation: 83+16=99, Resulting Numbers: [58, 50, 99] Generated Node #0,3: 59:[58, 50, 99] Operation: 83+16=99 Moving to Node #0,2 Current State: 59:[58, 50, 67], Operations: ['83-16=67'] Exploring Operation: 58+50=108, Resulting Numbers: [67, 108] Generated Node #0,2,0: 59:[67, 108] Operation: 58+50=108 Exploring Operation: 67-58=9, Resulting Numbers: [50, 9] Generated Node #0,2,1: 59:[50, 9] Operation: 67-58=9 Exploring Operation: 58-50=8, Resulting Numbers: [67, 8] Generated Node #0,2,2: 59:[67, 8] Operation: 58-50=8 Exploring Operation: 67-50=17, Resulting Numbers: [58, 17] Generated Node #0,2,3: 59:[58, 17] Operation: 67-50=17 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 59:[58, 17], Operations: ['83-16=67', '67-50=17'] Exploring Operation: 58*17=986, Resulting Numbers: [986] 986,59 unequal: No Solution Exploring Operation: 58+17=75, Resulting Numbers: [75] 75,59 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[67, 108], Operations: ['83-16=67', '58+50=108'] Exploring Operation: 67*108=7236, Resulting Numbers: [7236] 7236,59 unequal: No Solution Exploring Operation: 67+108=175, Resulting Numbers: [175] 175,59 unequal: No Solution Exploring Operation: 108-67=41, Resulting Numbers: [41] 41,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[50, 9], Operations: ['83-16=67', '67-58=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,59 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,59 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[83, 16, 58, 50], Operations: [] Exploring Operation: 83-16=67, Resulting Numbers: [58, 50, 67] Generated Node #0,2: 59:[58, 50, 67] Operation: 83-16=67 Moving to Node #0,2 Current State: 59:[58, 50, 67], Operations: ['83-16=67'] Exploring Operation: 67-58=9, Resulting Numbers: [50, 9] Generated Node #0,2,1: 59:[50, 9] Operation: 67-58=9 Moving to Node #0,2,1 Current State: 59:[50, 9], Operations: ['83-16=67', '67-58=9'] Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 95, 88, 47, 58 ]
87
[ "58-47=11", "88/11=8", "95-8=87" ]
Current State: 87:[95, 88, 47, 58], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [95, 88, 11] Generated Node #2: [95, 88, 11] from Operation: 58-47=11 Current State: 87:[95, 88, 11], Operations: ['58-47=11'] Exploring Operation: 88/11=8, Resulting Numbers: [95, 8] Generated Node #3: [95, 8] from Operation: 88/11=8 Current State: 87:[95, 8], Operations: ['58-47=11', '88/11=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[95, 88, 47, 58], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [95, 88, 11] Generated Node #0,0: 87:[95, 88, 11] Operation: 58-47=11 Exploring Operation: 88-58=30, Resulting Numbers: [95, 47, 30] Generated Node #0,1: 87:[95, 47, 30] Operation: 88-58=30 Exploring Operation: 95-58=37, Resulting Numbers: [88, 47, 37] Generated Node #0,2: 87:[88, 47, 37] Operation: 95-58=37 Moving to Node #0,0 Current State: 87:[95, 88, 11], Operations: ['58-47=11'] Exploring Operation: 95-88=7, Resulting Numbers: [11, 7] Generated Node #0,0,0: 87:[11, 7] Operation: 95-88=7 Exploring Operation: 95-11=84, Resulting Numbers: [88, 84] Generated Node #0,0,1: 87:[88, 84] Operation: 95-11=84 Exploring Operation: 88/11=8, Resulting Numbers: [95, 8] Generated Node #0,0,2: 87:[95, 8] Operation: 88/11=8 Moving to Node #0,1 Current State: 87:[95, 47, 30], Operations: ['88-58=30'] Exploring Operation: 47+30=77, Resulting Numbers: [95, 77] Generated Node #0,1,0: 87:[95, 77] Operation: 47+30=77 Exploring Operation: 47-30=17, Resulting Numbers: [95, 17] Generated Node #0,1,1: 87:[95, 17] Operation: 47-30=17 Exploring Operation: 95-47=48, Resulting Numbers: [30, 48] Generated Node #0,1,2: 87:[30, 48] Operation: 95-47=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[95, 77], Operations: ['88-58=30', '47+30=77'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 95*77=7315, Resulting Numbers: [7315] 7315,87 unequal: No Solution Exploring Operation: 95+77=172, Resulting Numbers: [172] 172,87 unequal: No Solution No 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: 87:[95, 17], Operations: ['88-58=30', '47-30=17'] Exploring Operation: 95-17=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 95*17=1615, Resulting Numbers: [1615] 1615,87 unequal: No Solution Exploring Operation: 95+17=112, Resulting Numbers: [112] 112,87 unequal: No Solution No 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: 87:[30, 48], Operations: ['88-58=30', '95-47=48'] Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,87 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,87 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: 87:[88, 47, 37], Operations: ['95-58=37'] Exploring Operation: 47+37=84, Resulting Numbers: [88, 84] Generated Node #0,2,0: 87:[88, 84] Operation: 47+37=84 Exploring Operation: 88-47=41, Resulting Numbers: [37, 41] Generated Node #0,2,1: 87:[37, 41] Operation: 88-47=41 Exploring Operation: 47-37=10, Resulting Numbers: [88, 10] Generated Node #0,2,2: 87:[88, 10] Operation: 47-37=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[88, 84], Operations: ['95-58=37', '47+37=84'] Exploring Operation: 88*84=7392, Resulting Numbers: [7392] 7392,87 unequal: No Solution Exploring Operation: 88-84=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 88+84=172, Resulting Numbers: [172] 172,87 unequal: No Solution No 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: 87:[88, 10], Operations: ['95-58=37', '47-37=10'] Exploring Operation: 88*10=880, Resulting Numbers: [880] 880,87 unequal: No Solution Exploring Operation: 88-10=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 88+10=98, Resulting Numbers: [98] 98,87 unequal: No Solution No 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: 87:[37, 41], Operations: ['95-58=37', '88-47=41'] Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,87 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: 87:[88, 84], Operations: ['58-47=11', '95-11=84'] Exploring Operation: 88-84=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 88*84=7392, Resulting Numbers: [7392] 7392,87 unequal: No Solution Exploring Operation: 88+84=172, Resulting Numbers: [172] 172,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[11, 7], Operations: ['58-47=11', '95-88=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,87 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,87 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[95, 8], Operations: ['58-47=11', '88/11=8'] Exploring Operation: 95*8=760, Resulting Numbers: [760] 760,87 unequal: No Solution Exploring Operation: 95+8=103, Resulting Numbers: [103] 103,87 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[95, 88, 47, 58], Operations: [] Exploring Operation: 58-47=11, Resulting Numbers: [95, 88, 11] Generated Node #0,0: 87:[95, 88, 11] Operation: 58-47=11 Moving to Node #0,0 Current State: 87:[95, 88, 11], Operations: ['58-47=11'] Exploring Operation: 88/11=8, Resulting Numbers: [95, 8] Generated Node #0,0,2: 87:[95, 8] Operation: 88/11=8 Moving to Node #0,0,2 Current State: 87:[95, 8], Operations: ['58-47=11', '88/11=8'] Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.962674
hs_3
mult_heuristic
[ 19, 9, 58, 26 ]
53
[ "19+26=45", "45/9=5", "58-5=53" ]
Current State: 53:[19, 9, 58, 26], Operations: [] Exploring Operation: 19+26=45, Resulting Numbers: [9, 58, 45] Generated Node #2: [9, 58, 45] from Operation: 19+26=45 Current State: 53:[9, 58, 45], Operations: ['19+26=45'] Exploring Operation: 45/9=5, Resulting Numbers: [58, 5] Generated Node #3: [58, 5] from Operation: 45/9=5 Current State: 53:[58, 5], Operations: ['19+26=45', '45/9=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[19, 9, 58, 26], Operations: [] Exploring Operation: 19+9=28, Resulting Numbers: [58, 26, 28] Generated Node #0,0: 53:[58, 26, 28] Operation: 19+9=28 Exploring Operation: 19+26=45, Resulting Numbers: [9, 58, 45] Generated Node #0,1: 53:[9, 58, 45] Operation: 19+26=45 Exploring Operation: 9+26=35, Resulting Numbers: [19, 58, 35] Generated Node #0,2: 53:[19, 58, 35] Operation: 9+26=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[58, 26, 28], Operations: ['19+9=28'] Exploring Operation: 26+28=54, Resulting Numbers: [58, 54] Generated Node #0,0,0: 53:[58, 54] Operation: 26+28=54 Exploring Operation: 58-26=32, Resulting Numbers: [28, 32] Generated Node #0,0,1: 53:[28, 32] Operation: 58-26=32 Exploring Operation: 58-28=30, Resulting Numbers: [26, 30] Generated Node #0,0,2: 53:[26, 30] Operation: 58-28=30 Moving to Node #0,0,0 Current State: 53:[58, 54], Operations: ['19+9=28', '26+28=54'] Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[28, 32], Operations: ['19+9=28', '58-26=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,53 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[26, 30], Operations: ['19+9=28', '58-28=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,53 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,53 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,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:[9, 58, 45], Operations: ['19+26=45'] Exploring Operation: 9+58=67, Resulting Numbers: [45, 67] Generated Node #0,1,0: 53:[45, 67] Operation: 9+58=67 Exploring Operation: 9+45=54, Resulting Numbers: [58, 54] Generated Node #0,1,1: 53:[58, 54] Operation: 9+45=54 Exploring Operation: 58-9=49, Resulting Numbers: [45, 49] Generated Node #0,1,2: 53:[45, 49] Operation: 58-9=49 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[58, 54], Operations: ['19+26=45', '9+45=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[45, 49], Operations: ['19+26=45', '58-9=49'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 45*49=2205, Resulting Numbers: [2205] 2205,53 unequal: No Solution Exploring Operation: 45+49=94, Resulting Numbers: [94] 94,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:[45, 67], Operations: ['19+26=45', '9+58=67'] Exploring Operation: 45*67=3015, Resulting Numbers: [3015] 3015,53 unequal: No Solution Exploring Operation: 45+67=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[19, 58, 35], Operations: ['9+26=35'] Exploring Operation: 19+35=54, Resulting Numbers: [58, 54] Generated Node #0,2,0: 53:[58, 54] Operation: 19+35=54 Exploring Operation: 58-19=39, Resulting Numbers: [35, 39] Generated Node #0,2,1: 53:[35, 39] Operation: 58-19=39 Exploring Operation: 19+58=77, Resulting Numbers: [35, 77] Generated Node #0,2,2: 53:[35, 77] Operation: 19+58=77 Moving to Node #0,2,0 Current State: 53:[58, 54], Operations: ['9+26=35', '19+35=54'] Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[35, 39], Operations: ['9+26=35', '58-19=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,53 unequal: No Solution Exploring Operation: 35*39=1365, Resulting Numbers: [1365] 1365,53 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[35, 77], Operations: ['9+26=35', '19+58=77'] Exploring Operation: 35+77=112, Resulting Numbers: [112] 112,53 unequal: No Solution Exploring Operation: 35*77=2695, Resulting Numbers: [2695] 2695,53 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 3, 36, 20, 6 ]
96
[ "6-3=3", "20*3=60", "36+60=96" ]
Current State: 96:[3, 36, 20, 6], Operations: [] Exploring Operation: 6-3=3, Resulting Numbers: [36, 20, 3] Generated Node #2: [36, 20, 3] from Operation: 6-3=3 Current State: 96:[36, 20, 3], Operations: ['6-3=3'] Exploring Operation: 20*3=60, Resulting Numbers: [36, 60] Generated Node #3: [36, 60] from Operation: 20*3=60 Current State: 96:[36, 60], Operations: ['6-3=3', '20*3=60'] Exploring Operation: 36+60=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 36, 20, 6], Operations: [] Exploring Operation: 36-20=16, Resulting Numbers: [3, 6, 16] Generated Node #0,0: 96:[3, 6, 16] Operation: 36-20=16 Exploring Operation: 36/3=12, Resulting Numbers: [20, 6, 12] Generated Node #0,1: 96:[20, 6, 12] Operation: 36/3=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[3, 6, 16], Operations: ['36-20=16'] Exploring Operation: 6-3=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 96:[16, 3] Operation: 6-3=3 Exploring Operation: 6/3=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 96:[16, 2] Operation: 6/3=2 Moving to Node #0,0,0 Current State: 96:[16, 3], Operations: ['36-20=16', '6-3=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[16, 2], Operations: ['36-20=16', '6/3=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,96 unequal: No Solution No 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: 96:[20, 6, 12], Operations: ['36/3=12'] Exploring Operation: 20-12=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 96:[6, 8] Operation: 20-12=8 Exploring Operation: 20+12=32, Resulting Numbers: [6, 32] Generated Node #0,1,1: 96:[6, 32] Operation: 20+12=32 Moving to Node #0,1,0 Current State: 96:[6, 8], Operations: ['36/3=12', '20-12=8'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 6*8=48, Resulting Numbers: [48] 48,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[6, 32], Operations: ['36/3=12', '20+12=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,96 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
[ 42, 37, 26, 28 ]
16
[ "28-26=2", "42/2=21", "37-21=16" ]
Current State: 16:[42, 37, 26, 28], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [42, 37, 2] Generated Node #2: [42, 37, 2] from Operation: 28-26=2 Current State: 16:[42, 37, 2], Operations: ['28-26=2'] Exploring Operation: 42/2=21, Resulting Numbers: [37, 21] Generated Node #3: [37, 21] from Operation: 42/2=21 Current State: 16:[37, 21], Operations: ['28-26=2', '42/2=21'] Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[42, 37, 26, 28], Operations: [] Exploring Operation: 42-28=14, Resulting Numbers: [37, 26, 14] Generated Node #0,0: 16:[37, 26, 14] Operation: 42-28=14 Exploring Operation: 42-26=16, Resulting Numbers: [37, 28, 16] Generated Node #0,1: 16:[37, 28, 16] Operation: 42-26=16 Exploring Operation: 42-37=5, Resulting Numbers: [26, 28, 5] Generated Node #0,2: 16:[26, 28, 5] Operation: 42-37=5 Moving to Node #0,2 Current State: 16:[26, 28, 5], Operations: ['42-37=5'] Exploring Operation: 26-5=21, Resulting Numbers: [28, 21] Generated Node #0,2,0: 16:[28, 21] Operation: 26-5=21 Exploring Operation: 28-5=23, Resulting Numbers: [26, 23] Generated Node #0,2,1: 16:[26, 23] Operation: 28-5=23 Exploring Operation: 28-26=2, Resulting Numbers: [5, 2] Generated Node #0,2,2: 16:[5, 2] Operation: 28-26=2 Moving to Node #0,0 Current State: 16:[37, 26, 14], Operations: ['42-28=14'] Exploring Operation: 37-26=11, Resulting Numbers: [14, 11] Generated Node #0,0,0: 16:[14, 11] Operation: 37-26=11 Exploring Operation: 26-14=12, Resulting Numbers: [37, 12] Generated Node #0,0,1: 16:[37, 12] Operation: 26-14=12 Exploring Operation: 37-14=23, Resulting Numbers: [26, 23] Generated Node #0,0,2: 16:[26, 23] Operation: 37-14=23 Moving to Node #0,1 Current State: 16:[37, 28, 16], Operations: ['42-26=16'] Exploring Operation: 37-16=21, Resulting Numbers: [28, 21] Generated Node #0,1,0: 16:[28, 21] Operation: 37-16=21 Exploring Operation: 28-16=12, Resulting Numbers: [37, 12] Generated Node #0,1,1: 16:[37, 12] Operation: 28-16=12 Exploring Operation: 37-28=9, Resulting Numbers: [16, 9] Generated Node #0,1,2: 16:[16, 9] Operation: 37-28=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[16, 9], Operations: ['42-26=16', '37-28=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[28, 21], Operations: ['42-26=16', '37-16=21'] Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,16 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[37, 12], Operations: ['42-26=16', '28-16=12'] Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 16:[5, 2], Operations: ['42-37=5', '28-26=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,16 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Moving to Node #0,0,0 Current State: 16:[14, 11], Operations: ['42-28=14', '37-26=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,16 unequal: No Solution Moving to Node #0,2,1 Current State: 16:[26, 23], Operations: ['42-37=5', '28-5=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[26, 23], Operations: ['42-28=14', '37-14=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[28, 21], Operations: ['42-37=5', '26-5=21'] Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,16 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[37, 12], Operations: ['42-28=14', '26-14=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,16 unequal: No Solution Exploring Operation: 37*12=444, Resulting Numbers: [444] 444,16 unequal: No Solution Exploring Operation: 37+12=49, Resulting Numbers: [49] 49,16 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 8, 6, 90, 27 ]
21
[ "8*27=216", "216-90=126", "126/6=21" ]
Current State: 21:[8, 6, 90, 27], Operations: [] Exploring Operation: 8*27=216, Resulting Numbers: [6, 90, 216] Generated Node #2: [6, 90, 216] from Operation: 8*27=216 Current State: 21:[6, 90, 216], Operations: ['8*27=216'] Exploring Operation: 216-90=126, Resulting Numbers: [6, 126] Generated Node #3: [6, 126] from Operation: 216-90=126 Current State: 21:[6, 126], Operations: ['8*27=216', '216-90=126'] Exploring Operation: 126/6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[8, 6, 90, 27], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [8, 27, 15] Generated Node #0,0: 21:[8, 27, 15] Operation: 90/6=15 Moving to Node #0,0 Current State: 21:[8, 27, 15], Operations: ['90/6=15'] Exploring Operation: 15-8=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 21:[27, 7] Operation: 15-8=7 Moving to Node #0,0,0 Current State: 21:[27, 7], Operations: ['90/6=15', '15-8=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,21 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 1, 64, 86, 15 ]
37
[ "1*64=64", "86+15=101", "101-64=37" ]
Current State: 37:[1, 64, 86, 15], Operations: [] Exploring Operation: 1*64=64, Resulting Numbers: [86, 15, 64] Generated Node #2: [86, 15, 64] from Operation: 1*64=64 Current State: 37:[86, 15, 64], Operations: ['1*64=64'] Exploring Operation: 86+15=101, Resulting Numbers: [64, 101] Generated Node #3: [64, 101] from Operation: 86+15=101 Current State: 37:[64, 101], Operations: ['1*64=64', '86+15=101'] Exploring Operation: 101-64=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[1, 64, 86, 15], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [1, 15, 22] Generated Node #0,0: 37:[1, 15, 22] Operation: 86-64=22 Exploring Operation: 64-1=63, Resulting Numbers: [86, 15, 63] Generated Node #0,1: 37:[86, 15, 63] Operation: 64-1=63 Moving to Node #0,0 Current State: 37:[1, 15, 22], Operations: ['86-64=22'] Exploring Operation: 1+22=23, Resulting Numbers: [15, 23] Generated Node #0,0,0: 37:[15, 23] Operation: 1+22=23 Exploring Operation: 1+15=16, Resulting Numbers: [22, 16] Generated Node #0,0,1: 37:[22, 16] Operation: 1+15=16 Moving to Node #0,1 Current State: 37:[86, 15, 63], Operations: ['64-1=63'] Exploring Operation: 86-63=23, Resulting Numbers: [15, 23] Generated Node #0,1,0: 37:[15, 23] Operation: 86-63=23 Exploring Operation: 86-15=71, Resulting Numbers: [63, 71] Generated Node #0,1,1: 37:[63, 71] Operation: 86-15=71 Moving to Node #0,0,0 Current State: 37:[15, 23], Operations: ['86-64=22', '1+22=23'] Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[15, 23], Operations: ['64-1=63', '86-63=23'] Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[22, 16], Operations: ['86-64=22', '1+15=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,37 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[63, 71], Operations: ['64-1=63', '86-15=71'] Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 63+71=134, Resulting Numbers: [134] 134,37 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 30, 90, 11, 4 ]
11
[ "90/30=3", "4-3=1", "11*1=11" ]
Current State: 11:[30, 90, 11, 4], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [11, 4, 3] Generated Node #2: [11, 4, 3] from Operation: 90/30=3 Current State: 11:[11, 4, 3], Operations: ['90/30=3'] Exploring Operation: 4-3=1, Resulting Numbers: [11, 1] Generated Node #3: [11, 1] from Operation: 4-3=1 Current State: 11:[11, 1], Operations: ['90/30=3', '4-3=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[30, 90, 11, 4], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [11, 4, 3] Generated Node #0,0: 11:[11, 4, 3] Operation: 90/30=3 Exploring Operation: 90-30=60, Resulting Numbers: [11, 4, 60] Generated Node #0,1: 11:[11, 4, 60] Operation: 90-30=60 Exploring Operation: 90-11=79, Resulting Numbers: [30, 4, 79] Generated Node #0,2: 11:[30, 4, 79] Operation: 90-11=79 Exploring Operation: 30-4=26, Resulting Numbers: [90, 11, 26] Generated Node #0,3: 11:[90, 11, 26] Operation: 30-4=26 Exploring Operation: 30-11=19, Resulting Numbers: [90, 4, 19] Generated Node #0,4: 11:[90, 4, 19] Operation: 30-11=19 Moving to Node #0,0 Current State: 11:[11, 4, 3], Operations: ['90/30=3'] Exploring Operation: 11-3=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 11:[4, 8] Operation: 11-3=8 Exploring Operation: 4+3=7, Resulting Numbers: [11, 7] Generated Node #0,0,1: 11:[11, 7] Operation: 4+3=7 Exploring Operation: 11+3=14, Resulting Numbers: [4, 14] Generated Node #0,0,2: 11:[4, 14] Operation: 11+3=14 Exploring Operation: 4-3=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 11:[11, 1] Operation: 4-3=1 Exploring Operation: 4*3=12, Resulting Numbers: [11, 12] Generated Node #0,0,4: 11:[11, 12] Operation: 4*3=12 Moving to Node #0,1 Current State: 11:[11, 4, 60], Operations: ['90-30=60'] Exploring Operation: 60-11=49, Resulting Numbers: [4, 49] Generated Node #0,1,0: 11:[4, 49] Operation: 60-11=49 Exploring Operation: 11+4=15, Resulting Numbers: [60, 15] Generated Node #0,1,1: 11:[60, 15] Operation: 11+4=15 Exploring Operation: 60-4=56, Resulting Numbers: [11, 56] Generated Node #0,1,2: 11:[11, 56] Operation: 60-4=56 Exploring Operation: 11-4=7, Resulting Numbers: [60, 7] Generated Node #0,1,3: 11:[60, 7] Operation: 11-4=7 Exploring Operation: 60/4=15, Resulting Numbers: [11, 15] Generated Node #0,1,4: 11:[11, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[11, 15], Operations: ['90-30=60', '60/4=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,11 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,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,0 Current State: 11:[4, 49], Operations: ['90-30=60', '60-11=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,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,2 Current State: 11:[11, 56], Operations: ['90-30=60', '60-4=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,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,1 Current State: 11:[60, 15], Operations: ['90-30=60', '11+4=15'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 60*15=900, Resulting Numbers: [900] 900,11 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,11 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,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,3 Current State: 11:[60, 7], Operations: ['90-30=60', '11-4=7'] Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,11 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 11:[30, 4, 79], Operations: ['90-11=79'] Exploring Operation: 30+4=34, Resulting Numbers: [79, 34] Generated Node #0,2,0: 11:[79, 34] Operation: 30+4=34 Exploring Operation: 30-4=26, Resulting Numbers: [79, 26] Generated Node #0,2,1: 11:[79, 26] Operation: 30-4=26 Exploring Operation: 4+79=83, Resulting Numbers: [30, 83] Generated Node #0,2,2: 11:[30, 83] Operation: 4+79=83 Exploring Operation: 79-4=75, Resulting Numbers: [30, 75] Generated Node #0,2,3: 11:[30, 75] Operation: 79-4=75 Exploring Operation: 79-30=49, Resulting Numbers: [4, 49] Generated Node #0,2,4: 11:[4, 49] Operation: 79-30=49 Moving to Node #0,3 Current State: 11:[90, 11, 26], Operations: ['30-4=26'] Exploring Operation: 90-11=79, Resulting Numbers: [26, 79] Generated Node #0,3,0: 11:[26, 79] Operation: 90-11=79 Exploring Operation: 90+11=101, Resulting Numbers: [26, 101] Generated Node #0,3,1: 11:[26, 101] Operation: 90+11=101 Exploring Operation: 90-26=64, Resulting Numbers: [11, 64] Generated Node #0,3,2: 11:[11, 64] Operation: 90-26=64 Exploring Operation: 26-11=15, Resulting Numbers: [90, 15] Generated Node #0,3,3: 11:[90, 15] Operation: 26-11=15 Exploring Operation: 90+26=116, Resulting Numbers: [11, 116] Generated Node #0,3,4: 11:[11, 116] Operation: 90+26=116 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[11, 64], Operations: ['30-4=26', '90-26=64'] Exploring Operation: 11*64=704, Resulting Numbers: [704] 704,11 unequal: No Solution Exploring Operation: 11+64=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[26, 79], Operations: ['30-4=26', '90-11=79'] Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,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:[90, 15], Operations: ['30-4=26', '26-11=15'] Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,11 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,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:[26, 101], Operations: ['30-4=26', '90+11=101'] Exploring Operation: 26*101=2626, Resulting Numbers: [2626] 2626,11 unequal: No Solution Exploring Operation: 26+101=127, Resulting Numbers: [127] 127,11 unequal: No Solution Exploring Operation: 101-26=75, Resulting Numbers: [75] 75,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,4 Current State: 11:[11, 116], Operations: ['30-4=26', '90+26=116'] Exploring Operation: 11+116=127, Resulting Numbers: [127] 127,11 unequal: No Solution Exploring Operation: 116-11=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 11*116=1276, Resulting Numbers: [1276] 1276,11 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: 11:[90, 4, 19], Operations: ['30-11=19'] Exploring Operation: 4+19=23, Resulting Numbers: [90, 23] Generated Node #0,4,0: 11:[90, 23] Operation: 4+19=23 Exploring Operation: 90-19=71, Resulting Numbers: [4, 71] Generated Node #0,4,1: 11:[4, 71] Operation: 90-19=71 Exploring Operation: 90+4=94, Resulting Numbers: [19, 94] Generated Node #0,4,2: 11:[19, 94] Operation: 90+4=94 Exploring Operation: 19-4=15, Resulting Numbers: [90, 15] Generated Node #0,4,3: 11:[90, 15] Operation: 19-4=15 Exploring Operation: 90-4=86, Resulting Numbers: [19, 86] Generated Node #0,4,4: 11:[19, 86] Operation: 90-4=86 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 11:[4, 71], Operations: ['30-11=19', '90-19=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 4*71=284, Resulting Numbers: [284] 284,11 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,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,4,3 Current State: 11:[90, 15], Operations: ['30-11=19', '19-4=15'] Exploring Operation: 90*15=1350, Resulting Numbers: [1350] 1350,11 unequal: No Solution Exploring Operation: 90-15=75, Resulting Numbers: [75] 75,11 unequal: No Solution Exploring Operation: 90+15=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 90/15=6, Resulting Numbers: [6] 6,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,4,4 Current State: 11:[19, 86], Operations: ['30-11=19', '90-4=86'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 19*86=1634, Resulting Numbers: [1634] 1634,11 unequal: No Solution Exploring Operation: 19+86=105, Resulting Numbers: [105] 105,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,4,0 Current State: 11:[90, 23], Operations: ['30-11=19', '4+19=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,11 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,11 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,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,4,2 Current State: 11:[19, 94], Operations: ['30-11=19', '90+4=94'] Exploring Operation: 19*94=1786, Resulting Numbers: [1786] 1786,11 unequal: No Solution Exploring Operation: 19+94=113, Resulting Numbers: [113] 113,11 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 11:[11, 12], Operations: ['90/30=3', '4*3=12'] Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,11 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,11 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[11, 7], Operations: ['90/30=3', '4+3=7'] Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[4, 8], Operations: ['90/30=3', '11-3=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[11, 1], Operations: ['90/30=3', '4-3=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[30, 90, 11, 4], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [11, 4, 3] Generated Node #0,0: 11:[11, 4, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 11:[11, 4, 3], Operations: ['90/30=3'] Exploring Operation: 4-3=1, Resulting Numbers: [11, 1] Generated Node #0,0,3: 11:[11, 1] Operation: 4-3=1 Moving to Node #0,0,3 Current State: 11:[11, 1], Operations: ['90/30=3', '4-3=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
0.918403
hs_5
sum_heuristic
[ 53, 92, 73, 89 ]
23
[ "92-53=39", "89-73=16", "39-16=23" ]
Current State: 23:[53, 92, 73, 89], Operations: [] Exploring Operation: 92-53=39, Resulting Numbers: [73, 89, 39] Generated Node #2: [73, 89, 39] from Operation: 92-53=39 Current State: 23:[73, 89, 39], Operations: ['92-53=39'] Exploring Operation: 89-73=16, Resulting Numbers: [39, 16] Generated Node #3: [39, 16] from Operation: 89-73=16 Current State: 23:[39, 16], Operations: ['92-53=39', '89-73=16'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[53, 92, 73, 89], Operations: [] Exploring Operation: 92-73=19, Resulting Numbers: [53, 89, 19] Generated Node #0,0: 23:[53, 89, 19] Operation: 92-73=19 Moving to Node #0,0 Current State: 23:[53, 89, 19], Operations: ['92-73=19'] Exploring Operation: 89-53=36, Resulting Numbers: [19, 36] Generated Node #0,0,0: 23:[19, 36] Operation: 89-53=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[19, 36], Operations: ['92-73=19', '89-53=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 71, 49, 19 ]
87
[ "84+71=155", "49+19=68", "155-68=87" ]
Current State: 87:[84, 71, 49, 19], Operations: [] Exploring Operation: 84+71=155, Resulting Numbers: [49, 19, 155] Generated Node #2: [49, 19, 155] from Operation: 84+71=155 Current State: 87:[49, 19, 155], Operations: ['84+71=155'] Exploring Operation: 49+19=68, Resulting Numbers: [155, 68] Generated Node #3: [155, 68] from Operation: 49+19=68 Current State: 87:[155, 68], Operations: ['84+71=155', '49+19=68'] Exploring Operation: 155-68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[84, 71, 49, 19], Operations: [] Exploring Operation: 84-49=35, Resulting Numbers: [71, 19, 35] Generated Node #0,0: 87:[71, 19, 35] Operation: 84-49=35 Exploring Operation: 71-49=22, Resulting Numbers: [84, 19, 22] Generated Node #0,1: 87:[84, 19, 22] Operation: 71-49=22 Exploring Operation: 49-19=30, Resulting Numbers: [84, 71, 30] Generated Node #0,2: 87:[84, 71, 30] Operation: 49-19=30 Exploring Operation: 71+19=90, Resulting Numbers: [84, 49, 90] Generated Node #0,3: 87:[84, 49, 90] Operation: 71+19=90 Exploring Operation: 49+19=68, Resulting Numbers: [84, 71, 68] Generated Node #0,4: 87:[84, 71, 68] Operation: 49+19=68 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[84, 19, 22], Operations: ['71-49=22'] Exploring Operation: 84+22=106, Resulting Numbers: [19, 106] Generated Node #0,1,0: 87:[19, 106] Operation: 84+22=106 Exploring Operation: 84+19=103, Resulting Numbers: [22, 103] Generated Node #0,1,1: 87:[22, 103] Operation: 84+19=103 Exploring Operation: 19+22=41, Resulting Numbers: [84, 41] Generated Node #0,1,2: 87:[84, 41] Operation: 19+22=41 Exploring Operation: 84-19=65, Resulting Numbers: [22, 65] Generated Node #0,1,3: 87:[22, 65] Operation: 84-19=65 Exploring Operation: 22-19=3, Resulting Numbers: [84, 3] Generated Node #0,1,4: 87:[84, 3] Operation: 22-19=3 Moving to Node #0,1,4 Current State: 87:[84, 3], Operations: ['71-49=22', '22-19=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,87 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[84, 71, 49, 19], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [84, 19, 22] Generated Node #0,1: 87:[84, 19, 22] Operation: 71-49=22 Moving to Node #0,1 Current State: 87:[84, 19, 22], Operations: ['71-49=22'] Exploring Operation: 22-19=3, Resulting Numbers: [84, 3] Generated Node #0,1,4: 87:[84, 3] Operation: 22-19=3 Moving to Node #0,1,4 Current State: 87:[84, 3], Operations: ['71-49=22', '22-19=3'] Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 37, 15, 60, 15 ]
37
[ "15-15=0", "60*0=0", "37+0=37" ]
Current State: 37:[37, 15, 60, 15], Operations: [] Exploring Operation: 15-15=0, Resulting Numbers: [37, 60, 0] Generated Node #2: [37, 60, 0] from Operation: 15-15=0 Current State: 37:[37, 60, 0], Operations: ['15-15=0'] Exploring Operation: 60*0=0, Resulting Numbers: [37, 0] Generated Node #3: [37, 0] from Operation: 60*0=0 Current State: 37:[37, 0], Operations: ['15-15=0', '60*0=0'] Exploring Operation: 37+0=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[37, 15, 60, 15], Operations: [] Exploring Operation: 60-15=45, Resulting Numbers: [37, 15, 45] Generated Node #0,0: 37:[37, 15, 45] Operation: 60-15=45 Moving to Node #0,0 Current State: 37:[37, 15, 45], Operations: ['60-15=45'] Exploring Operation: 45-15=30, Resulting Numbers: [37, 30] Generated Node #0,0,0: 37:[37, 30] Operation: 45-15=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[37, 30], Operations: ['60-15=45', '45-15=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,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
[ 11, 43, 2, 51 ]
81
[ "43-11=32", "51-2=49", "32+49=81" ]
Current State: 81:[11, 43, 2, 51], Operations: [] Exploring Operation: 43-11=32, Resulting Numbers: [2, 51, 32] Generated Node #2: [2, 51, 32] from Operation: 43-11=32 Current State: 81:[2, 51, 32], Operations: ['43-11=32'] Exploring Operation: 51-2=49, Resulting Numbers: [32, 49] Generated Node #3: [32, 49] from Operation: 51-2=49 Current State: 81:[32, 49], Operations: ['43-11=32', '51-2=49'] Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[11, 43, 2, 51], Operations: [] Exploring Operation: 43*2=86, Resulting Numbers: [11, 51, 86] Generated Node #0,0: 81:[11, 51, 86] Operation: 43*2=86 Exploring Operation: 51-43=8, Resulting Numbers: [11, 2, 8] Generated Node #0,1: 81:[11, 2, 8] Operation: 51-43=8 Exploring Operation: 43+51=94, Resulting Numbers: [11, 2, 94] Generated Node #0,2: 81:[11, 2, 94] Operation: 43+51=94 Exploring Operation: 43-11=32, Resulting Numbers: [2, 51, 32] Generated Node #0,3: 81:[2, 51, 32] Operation: 43-11=32 Exploring Operation: 51-11=40, Resulting Numbers: [43, 2, 40] Generated Node #0,4: 81:[43, 2, 40] Operation: 51-11=40 Moving to Node #0,1 Current State: 81:[11, 2, 8], Operations: ['51-43=8'] Exploring Operation: 11-2=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 81:[8, 9] Operation: 11-2=9 Exploring Operation: 8/2=4, Resulting Numbers: [11, 4] Generated Node #0,1,1: 81:[11, 4] Operation: 8/2=4 Exploring Operation: 2+8=10, Resulting Numbers: [11, 10] Generated Node #0,1,2: 81:[11, 10] Operation: 2+8=10 Exploring Operation: 11+2=13, Resulting Numbers: [8, 13] Generated Node #0,1,3: 81:[8, 13] Operation: 11+2=13 Exploring Operation: 11-8=3, Resulting Numbers: [2, 3] Generated Node #0,1,4: 81:[2, 3] Operation: 11-8=3 Moving to Node #0,2 Current State: 81:[11, 2, 94], Operations: ['43+51=94'] Exploring Operation: 11-2=9, Resulting Numbers: [94, 9] Generated Node #0,2,0: 81:[94, 9] Operation: 11-2=9 Exploring Operation: 94-11=83, Resulting Numbers: [2, 83] Generated Node #0,2,1: 81:[2, 83] Operation: 94-11=83 Exploring Operation: 2+94=96, Resulting Numbers: [11, 96] Generated Node #0,2,2: 81:[11, 96] Operation: 2+94=96 Exploring Operation: 94-2=92, Resulting Numbers: [11, 92] Generated Node #0,2,3: 81:[11, 92] Operation: 94-2=92 Exploring Operation: 11+2=13, Resulting Numbers: [94, 13] Generated Node #0,2,4: 81:[94, 13] Operation: 11+2=13 Moving to Node #0,3 Current State: 81:[2, 51, 32], Operations: ['43-11=32'] Exploring Operation: 51-2=49, Resulting Numbers: [32, 49] Generated Node #0,3,0: 81:[32, 49] Operation: 51-2=49 Exploring Operation: 51+32=83, Resulting Numbers: [2, 83] Generated Node #0,3,1: 81:[2, 83] Operation: 51+32=83 Exploring Operation: 2*51=102, Resulting Numbers: [32, 102] Generated Node #0,3,2: 81:[32, 102] Operation: 2*51=102 Exploring Operation: 32-2=30, Resulting Numbers: [51, 30] Generated Node #0,3,3: 81:[51, 30] Operation: 32-2=30 Exploring Operation: 51-32=19, Resulting Numbers: [2, 19] Generated Node #0,3,4: 81:[2, 19] Operation: 51-32=19 Moving to Node #0,4 Current State: 81:[43, 2, 40], Operations: ['51-11=40'] Exploring Operation: 43*2=86, Resulting Numbers: [40, 86] Generated Node #0,4,0: 81:[40, 86] Operation: 43*2=86 Exploring Operation: 43-40=3, Resulting Numbers: [2, 3] Generated Node #0,4,1: 81:[2, 3] Operation: 43-40=3 Exploring Operation: 2*40=80, Resulting Numbers: [43, 80] Generated Node #0,4,2: 81:[43, 80] Operation: 2*40=80 Exploring Operation: 43+40=83, Resulting Numbers: [2, 83] Generated Node #0,4,3: 81:[2, 83] Operation: 43+40=83 Exploring Operation: 40/2=20, Resulting Numbers: [43, 20] Generated Node #0,4,4: 81:[43, 20] Operation: 40/2=20 Moving to Node #0,0 Current State: 81:[11, 51, 86], Operations: ['43*2=86'] Exploring Operation: 86-11=75, Resulting Numbers: [51, 75] Generated Node #0,0,0: 81:[51, 75] Operation: 86-11=75 Exploring Operation: 11+51=62, Resulting Numbers: [86, 62] Generated Node #0,0,1: 81:[86, 62] Operation: 11+51=62 Exploring Operation: 11+86=97, Resulting Numbers: [51, 97] Generated Node #0,0,2: 81:[51, 97] Operation: 11+86=97 Exploring Operation: 51-11=40, Resulting Numbers: [86, 40] Generated Node #0,0,3: 81:[86, 40] Operation: 51-11=40 Exploring Operation: 86-51=35, Resulting Numbers: [11, 35] Generated Node #0,0,4: 81:[11, 35] Operation: 86-51=35 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 81:[11, 35], Operations: ['43*2=86', '86-51=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,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:[86, 40], Operations: ['43*2=86', '51-11=40'] Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,81 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,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:[86, 62], Operations: ['43*2=86', '11+51=62'] Exploring Operation: 86+62=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 86*62=5332, Resulting Numbers: [5332] 5332,81 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,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:[51, 75], Operations: ['43*2=86', '86-11=75'] Exploring Operation: 51+75=126, Resulting Numbers: [126] 126,81 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 51*75=3825, Resulting Numbers: [3825] 3825,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[51, 97], Operations: ['43*2=86', '11+86=97'] Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,81 unequal: No Solution Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,81 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: 81:[8, 9], Operations: ['51-43=8', '11-2=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,81 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[2, 3], Operations: ['51-43=8', '11-8=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,81 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Moving to Node #0,4,1 Current State: 81:[2, 3], Operations: ['51-11=40', '43-40=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,81 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[11, 4], Operations: ['51-43=8', '8/2=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,81 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[2, 83], Operations: ['43+51=94', '94-11=83'] Exploring Operation: 2*83=166, Resulting Numbers: [166] 166,81 unequal: No Solution Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[11, 43, 2, 51], Operations: [] Exploring Operation: 43+51=94, Resulting Numbers: [11, 2, 94] Generated Node #0,2: 81:[11, 2, 94] Operation: 43+51=94 Moving to Node #0,2 Current State: 81:[11, 2, 94], Operations: ['43+51=94'] Exploring Operation: 94-11=83, Resulting Numbers: [2, 83] Generated Node #0,2,1: 81:[2, 83] Operation: 94-11=83 Moving to Node #0,2,1 Current State: 81:[2, 83], Operations: ['43+51=94', '94-11=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.944444
hs_5
mult_heuristic
[ 17, 17, 26, 68 ]
39
[ "17+26=43", "68/17=4", "43-4=39" ]
Current State: 39:[17, 17, 26, 68], Operations: [] Exploring Operation: 17+26=43, Resulting Numbers: [68, 43] Generated Node #2: [68, 43] from Operation: 17+26=43 Current State: 39:[68, 43], Operations: ['17+26=43'] Exploring Operation: 68/17=4, Resulting Numbers: [43, 4] Generated Node #3: [43, 4] from Operation: 68/17=4 Current State: 39:[43, 4], Operations: ['17+26=43', '68/17=4'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[17, 17, 26, 68], Operations: [] Exploring Operation: 68-26=42, Resulting Numbers: [17, 17, 42] Generated Node #0,0: 39:[17, 17, 42] Operation: 68-26=42 Exploring Operation: 68/17=4, Resulting Numbers: [17, 26, 4] Generated Node #0,1: 39:[17, 26, 4] Operation: 68/17=4 Exploring Operation: 68/17=4, Resulting Numbers: [17, 26, 4] Generated Node #0,2: 39:[17, 26, 4] Operation: 68/17=4 Moving to Node #0,0 Current State: 39:[17, 17, 42], Operations: ['68-26=42'] Exploring Operation: 17+17=34, Resulting Numbers: [42, 34] Generated Node #0,0,0: 39:[42, 34] Operation: 17+17=34 Exploring Operation: 17/17=1, Resulting Numbers: [42, 1] Generated Node #0,0,1: 39:[42, 1] Operation: 17/17=1 Exploring Operation: 17-17=0, Resulting Numbers: [42, 0] Generated Node #0,0,2: 39:[42, 0] Operation: 17-17=0 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[42, 1], Operations: ['68-26=42', '17/17=1'] Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 39:[42, 0], Operations: ['68-26=42', '17-17=0'] Exploring Operation: 42+0=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 42-0=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 42*0=0, Resulting Numbers: [0] 0,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[42, 34], Operations: ['68-26=42', '17+17=34'] Exploring Operation: 42*34=1428, Resulting Numbers: [1428] 1428,39 unequal: No Solution Exploring Operation: 42+34=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 42-34=8, Resulting Numbers: [8] 8,39 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: 39:[17, 26, 4], Operations: ['68/17=4'] Exploring Operation: 26-17=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 39:[4, 9] Operation: 26-17=9 Exploring Operation: 17-4=13, Resulting Numbers: [26, 13] Generated Node #0,1,1: 39:[26, 13] Operation: 17-4=13 Exploring Operation: 17+26=43, Resulting Numbers: [4, 43] Generated Node #0,1,2: 39:[4, 43] Operation: 17+26=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[4, 9], Operations: ['68/17=4', '26-17=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[4, 43], Operations: ['68/17=4', '17+26=43'] Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,39 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,39 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[17, 17, 26, 68], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [17, 26, 4] Generated Node #0,1: 39:[17, 26, 4] Operation: 68/17=4 Moving to Node #0,1 Current State: 39:[17, 26, 4], Operations: ['68/17=4'] Exploring Operation: 17+26=43, Resulting Numbers: [4, 43] Generated Node #0,1,2: 39:[4, 43] Operation: 17+26=43 Moving to Node #0,1,2 Current State: 39:[4, 43], Operations: ['68/17=4', '17+26=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 50, 15, 47, 11 ]
93
[ "50-15=35", "47+11=58", "35+58=93" ]
Current State: 93:[50, 15, 47, 11], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [47, 11, 35] Generated Node #2: [47, 11, 35] from Operation: 50-15=35 Current State: 93:[47, 11, 35], Operations: ['50-15=35'] Exploring Operation: 47+11=58, Resulting Numbers: [35, 58] Generated Node #3: [35, 58] from Operation: 47+11=58 Current State: 93:[35, 58], Operations: ['50-15=35', '47+11=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[50, 15, 47, 11], Operations: [] Exploring Operation: 50+47=97, Resulting Numbers: [15, 11, 97] Generated Node #0,0: 93:[15, 11, 97] Operation: 50+47=97 Exploring Operation: 50-47=3, Resulting Numbers: [15, 11, 3] Generated Node #0,1: 93:[15, 11, 3] Operation: 50-47=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[15, 11, 3], Operations: ['50-47=3'] Exploring Operation: 15-11=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 93:[3, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [3, 26] Generated Node #0,1,1: 93:[3, 26] Operation: 15+11=26 Moving to Node #0,1,0 Current State: 93:[3, 4], Operations: ['50-47=3', '15-11=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,93 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[3, 26], Operations: ['50-47=3', '15+11=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,93 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[15, 11, 97], Operations: ['50+47=97'] Exploring Operation: 15-11=4, Resulting Numbers: [97, 4] Generated Node #0,0,0: 93:[97, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [97, 26] Generated Node #0,0,1: 93:[97, 26] Operation: 15+11=26 Moving to Node #0,0,0 Current State: 93:[97, 4], Operations: ['50+47=97', '15-11=4'] Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,93 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[50, 15, 47, 11], Operations: [] Exploring Operation: 50+47=97, Resulting Numbers: [15, 11, 97] Generated Node #0,0: 93:[15, 11, 97] Operation: 50+47=97 Moving to Node #0,0 Current State: 93:[15, 11, 97], Operations: ['50+47=97'] Exploring Operation: 15-11=4, Resulting Numbers: [97, 4] Generated Node #0,0,0: 93:[97, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 93:[97, 4], Operations: ['50+47=97', '15-11=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 55, 15, 17, 29 ]
82
[ "55+15=70", "29-17=12", "70+12=82" ]
Current State: 82:[55, 15, 17, 29], Operations: [] Exploring Operation: 55+15=70, Resulting Numbers: [17, 29, 70] Generated Node #2: [17, 29, 70] from Operation: 55+15=70 Current State: 82:[17, 29, 70], Operations: ['55+15=70'] Exploring Operation: 29-17=12, Resulting Numbers: [70, 12] Generated Node #3: [70, 12] from Operation: 29-17=12 Current State: 82:[70, 12], Operations: ['55+15=70', '29-17=12'] Exploring Operation: 70+12=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[55, 15, 17, 29], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [55, 29, 2] Generated Node #0,0: 82:[55, 29, 2] Operation: 17-15=2 Exploring Operation: 55-15=40, Resulting Numbers: [17, 29, 40] Generated Node #0,1: 82:[17, 29, 40] Operation: 55-15=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[55, 29, 2], Operations: ['17-15=2'] Exploring Operation: 55+29=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 82:[2, 84] Operation: 55+29=84 Exploring Operation: 55-29=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 82:[2, 26] Operation: 55-29=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[2, 84], Operations: ['17-15=2', '55+29=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[55, 15, 17, 29], Operations: [] Exploring Operation: 17-15=2, Resulting Numbers: [55, 29, 2] Generated Node #0,0: 82:[55, 29, 2] Operation: 17-15=2 Moving to Node #0,0 Current State: 82:[55, 29, 2], Operations: ['17-15=2'] Exploring Operation: 55+29=84, Resulting Numbers: [2, 84] Generated Node #0,0,0: 82:[2, 84] Operation: 55+29=84 Moving to Node #0,0,0 Current State: 82:[2, 84], Operations: ['17-15=2', '55+29=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 32, 3, 90 ]
10
[ "90-4=86", "32*3=96", "96-86=10" ]
Current State: 10:[4, 32, 3, 90], Operations: [] Exploring Operation: 90-4=86, Resulting Numbers: [32, 3, 86] Generated Node #2: [32, 3, 86] from Operation: 90-4=86 Current State: 10:[32, 3, 86], Operations: ['90-4=86'] Exploring Operation: 32*3=96, Resulting Numbers: [86, 96] Generated Node #3: [86, 96] from Operation: 32*3=96 Current State: 10:[86, 96], Operations: ['90-4=86', '32*3=96'] Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[4, 32, 3, 90], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [4, 32, 30] Generated Node #0,0: 10:[4, 32, 30] Operation: 90/3=30 Exploring Operation: 90-32=58, Resulting Numbers: [4, 3, 58] Generated Node #0,1: 10:[4, 3, 58] Operation: 90-32=58 Moving to Node #0,0 Current State: 10:[4, 32, 30], Operations: ['90/3=30'] Exploring Operation: 32-30=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 10:[4, 2] Operation: 32-30=2 Exploring Operation: 32/4=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 10:[30, 8] Operation: 32/4=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[4, 2], Operations: ['90/3=30', '32-30=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[30, 8], Operations: ['90/3=30', '32/4=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,10 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: 10:[4, 3, 58], Operations: ['90-32=58'] Exploring Operation: 58-3=55, Resulting Numbers: [4, 55] Generated Node #0,1,0: 10:[4, 55] Operation: 58-3=55 Exploring Operation: 58-4=54, Resulting Numbers: [3, 54] Generated Node #0,1,1: 10:[3, 54] Operation: 58-4=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[3, 54], Operations: ['90-32=58', '58-4=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[4, 55], Operations: ['90-32=58', '58-3=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,10 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
[ 99, 82, 65, 6 ]
41
[ "99+82=181", "65+181=246", "246/6=41" ]
Current State: 41:[99, 82, 65, 6], Operations: [] Exploring Operation: 99+82=181, Resulting Numbers: [65, 6, 181] Generated Node #2: [65, 6, 181] from Operation: 99+82=181 Current State: 41:[65, 6, 181], Operations: ['99+82=181'] Exploring Operation: 65+181=246, Resulting Numbers: [6, 246] Generated Node #3: [6, 246] from Operation: 65+181=246 Current State: 41:[6, 246], Operations: ['99+82=181', '65+181=246'] Exploring Operation: 246/6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[99, 82, 65, 6], Operations: [] Exploring Operation: 99-82=17, Resulting Numbers: [65, 6, 17] Generated Node #0,0: 41:[65, 6, 17] Operation: 99-82=17 Exploring Operation: 99-6=93, Resulting Numbers: [82, 65, 93] Generated Node #0,1: 41:[82, 65, 93] Operation: 99-6=93 Exploring Operation: 99-65=34, Resulting Numbers: [82, 6, 34] Generated Node #0,2: 41:[82, 6, 34] Operation: 99-65=34 Exploring Operation: 82-65=17, Resulting Numbers: [99, 6, 17] Generated Node #0,3: 41:[99, 6, 17] Operation: 82-65=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[65, 6, 17], Operations: ['99-82=17'] Exploring Operation: 65+6=71, Resulting Numbers: [17, 71] Generated Node #0,0,0: 41:[17, 71] Operation: 65+6=71 Exploring Operation: 65-6=59, Resulting Numbers: [17, 59] Generated Node #0,0,1: 41:[17, 59] Operation: 65-6=59 Exploring Operation: 65-17=48, Resulting Numbers: [6, 48] Generated Node #0,0,2: 41:[6, 48] Operation: 65-17=48 Exploring Operation: 6+17=23, Resulting Numbers: [65, 23] Generated Node #0,0,3: 41:[65, 23] Operation: 6+17=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[17, 59], Operations: ['99-82=17', '65-6=59'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,41 unequal: No Solution Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,41 unequal: No Solution No 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: 41:[6, 48], Operations: ['99-82=17', '65-17=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,41 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,41 unequal: No Solution No 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: 41:[65, 23], Operations: ['99-82=17', '6+17=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,41 unequal: No Solution No 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: 41:[17, 71], Operations: ['99-82=17', '65+6=71'] Exploring Operation: 17+71=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 17*71=1207, Resulting Numbers: [1207] 1207,41 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: 41:[82, 6, 34], Operations: ['99-65=34'] Exploring Operation: 6+34=40, Resulting Numbers: [82, 40] Generated Node #0,2,0: 41:[82, 40] Operation: 6+34=40 Exploring Operation: 82-6=76, Resulting Numbers: [34, 76] Generated Node #0,2,1: 41:[34, 76] Operation: 82-6=76 Exploring Operation: 82-34=48, Resulting Numbers: [6, 48] Generated Node #0,2,2: 41:[6, 48] Operation: 82-34=48 Exploring Operation: 82+6=88, Resulting Numbers: [34, 88] Generated Node #0,2,3: 41:[34, 88] Operation: 82+6=88 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[82, 40], Operations: ['99-65=34', '6+34=40'] Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,41 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,41 unequal: No Solution No 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: 41:[34, 76], Operations: ['99-65=34', '82-6=76'] Exploring Operation: 76-34=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 34+76=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 34*76=2584, Resulting Numbers: [2584] 2584,41 unequal: No Solution No 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: 41:[6, 48], Operations: ['99-65=34', '82-34=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,41 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,41 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,41 unequal: No Solution No 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: 41:[34, 88], Operations: ['99-65=34', '82+6=88'] Exploring Operation: 34*88=2992, Resulting Numbers: [2992] 2992,41 unequal: No Solution Exploring Operation: 34+88=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 88-34=54, Resulting Numbers: [54] 54,41 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: 41:[82, 65, 93], Operations: ['99-6=93'] Exploring Operation: 82-65=17, Resulting Numbers: [93, 17] Generated Node #0,1,0: 41:[93, 17] Operation: 82-65=17 Exploring Operation: 93-65=28, Resulting Numbers: [82, 28] Generated Node #0,1,1: 41:[82, 28] Operation: 93-65=28 Exploring Operation: 82+65=147, Resulting Numbers: [93, 147] Generated Node #0,1,2: 41:[93, 147] Operation: 82+65=147 Exploring Operation: 93-82=11, Resulting Numbers: [65, 11] Generated Node #0,1,3: 41:[65, 11] Operation: 93-82=11 Moving to Node #0,1,1 Current State: 41:[82, 28], Operations: ['99-6=93', '93-65=28'] Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[65, 11], Operations: ['99-6=93', '93-82=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 65*11=715, Resulting Numbers: [715] 715,41 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[93, 17], Operations: ['99-6=93', '82-65=17'] Exploring Operation: 93+17=110, Resulting Numbers: [110] 110,41 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 93*17=1581, Resulting Numbers: [1581] 1581,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[93, 147], Operations: ['99-6=93', '82+65=147'] Exploring Operation: 93*147=13671, Resulting Numbers: [13671] 13671,41 unequal: No Solution Exploring Operation: 93+147=240, Resulting Numbers: [240] 240,41 unequal: No Solution Exploring Operation: 147-93=54, Resulting Numbers: [54] 54,41 unequal: No Solution No 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: 41:[99, 6, 17], Operations: ['82-65=17'] Exploring Operation: 6+17=23, Resulting Numbers: [99, 23] Generated Node #0,3,0: 41:[99, 23] Operation: 6+17=23 Exploring Operation: 99-6=93, Resulting Numbers: [17, 93] Generated Node #0,3,1: 41:[17, 93] Operation: 99-6=93 Exploring Operation: 99-17=82, Resulting Numbers: [6, 82] Generated Node #0,3,2: 41:[6, 82] Operation: 99-17=82 Exploring Operation: 99+6=105, Resulting Numbers: [17, 105] Generated Node #0,3,3: 41:[17, 105] Operation: 99+6=105 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[99, 23], Operations: ['82-65=17', '6+17=23'] Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,41 unequal: No Solution Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,41 unequal: No Solution No 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: 41:[17, 93], Operations: ['82-65=17', '99-6=93'] Exploring Operation: 17*93=1581, Resulting Numbers: [1581] 1581,41 unequal: No Solution Exploring Operation: 93-17=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 17+93=110, Resulting Numbers: [110] 110,41 unequal: No Solution No 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: 41:[6, 82], Operations: ['82-65=17', '99-17=82'] Exploring Operation: 6+82=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,41 unequal: No Solution Exploring Operation: 6*82=492, Resulting Numbers: [492] 492,41 unequal: No Solution No 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: 41:[17, 105], Operations: ['82-65=17', '99+6=105'] Exploring Operation: 105-17=88, Resulting Numbers: [88] 88,41 unequal: No Solution Exploring Operation: 17+105=122, Resulting Numbers: [122] 122,41 unequal: No Solution Exploring Operation: 17*105=1785, Resulting Numbers: [1785] 1785,41 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
[ 73, 83, 94, 42 ]
42
[ "83-73=10", "94-42=52", "52-10=42" ]
Current State: 42:[73, 83, 94, 42], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [94, 42, 10] Generated Node #2: [94, 42, 10] from Operation: 83-73=10 Current State: 42:[94, 42, 10], Operations: ['83-73=10'] Exploring Operation: 94-42=52, Resulting Numbers: [10, 52] Generated Node #3: [10, 52] from Operation: 94-42=52 Current State: 42:[10, 52], Operations: ['83-73=10', '94-42=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[73, 83, 94, 42], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [94, 42, 10] Generated Node #0,0: 42:[94, 42, 10] Operation: 83-73=10 Exploring Operation: 94-42=52, Resulting Numbers: [73, 83, 52] Generated Node #0,1: 42:[73, 83, 52] Operation: 94-42=52 Exploring Operation: 94-73=21, Resulting Numbers: [83, 42, 21] Generated Node #0,2: 42:[83, 42, 21] Operation: 94-73=21 Exploring Operation: 94-83=11, Resulting Numbers: [73, 42, 11] Generated Node #0,3: 42:[73, 42, 11] Operation: 94-83=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[73, 42, 11], Operations: ['94-83=11'] Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,3,0: 42:[11, 31] Operation: 73-42=31 Exploring Operation: 73-11=62, Resulting Numbers: [42, 62] Generated Node #0,3,1: 42:[42, 62] Operation: 73-11=62 Exploring Operation: 42-11=31, Resulting Numbers: [73, 31] Generated Node #0,3,2: 42:[73, 31] Operation: 42-11=31 Exploring Operation: 73+11=84, Resulting Numbers: [42, 84] Generated Node #0,3,3: 42:[42, 84] Operation: 73+11=84 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[11, 31], Operations: ['94-83=11', '73-42=31'] Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[73, 83, 94, 42], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [73, 42, 11] Generated Node #0,3: 42:[73, 42, 11] Operation: 94-83=11 Moving to Node #0,3 Current State: 42:[73, 42, 11], Operations: ['94-83=11'] Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,3,0: 42:[11, 31] Operation: 73-42=31 Moving to Node #0,3,0 Current State: 42:[11, 31], Operations: ['94-83=11', '73-42=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 92, 34, 76, 87 ]
37
[ "92+34=126", "76+87=163", "163-126=37" ]
Current State: 37:[92, 34, 76, 87], Operations: [] Exploring Operation: 92+34=126, Resulting Numbers: [76, 87, 126] Generated Node #2: [76, 87, 126] from Operation: 92+34=126 Current State: 37:[76, 87, 126], Operations: ['92+34=126'] Exploring Operation: 76+87=163, Resulting Numbers: [126, 163] Generated Node #3: [126, 163] from Operation: 76+87=163 Current State: 37:[126, 163], Operations: ['92+34=126', '76+87=163'] Exploring Operation: 163-126=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[92, 34, 76, 87], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [34, 87, 16] Generated Node #0,0: 37:[34, 87, 16] Operation: 92-76=16 Exploring Operation: 92-87=5, Resulting Numbers: [34, 76, 5] Generated Node #0,1: 37:[34, 76, 5] Operation: 92-87=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[34, 87, 16], Operations: ['92-76=16'] Exploring Operation: 87-16=71, Resulting Numbers: [34, 71] Generated Node #0,0,0: 37:[34, 71] Operation: 87-16=71 Exploring Operation: 87-34=53, Resulting Numbers: [16, 53] Generated Node #0,0,1: 37:[16, 53] Operation: 87-34=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[34, 71], Operations: ['92-76=16', '87-16=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,37 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[92, 34, 76, 87], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [34, 87, 16] Generated Node #0,0: 37:[34, 87, 16] Operation: 92-76=16 Moving to Node #0,0 Current State: 37:[34, 87, 16], Operations: ['92-76=16'] Exploring Operation: 87-16=71, Resulting Numbers: [34, 71] Generated Node #0,0,0: 37:[34, 71] Operation: 87-16=71 Moving to Node #0,0,0 Current State: 37:[34, 71], Operations: ['92-76=16', '87-16=71'] Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 82, 51, 2, 41 ]
74
[ "82-51=31", "2+41=43", "31+43=74" ]
Current State: 74:[82, 51, 2, 41], Operations: [] Exploring Operation: 82-51=31, Resulting Numbers: [2, 41, 31] Generated Node #2: [2, 41, 31] from Operation: 82-51=31 Current State: 74:[2, 41, 31], Operations: ['82-51=31'] Exploring Operation: 2+41=43, Resulting Numbers: [31, 43] Generated Node #3: [31, 43] from Operation: 2+41=43 Current State: 74:[31, 43], Operations: ['82-51=31', '2+41=43'] Exploring Operation: 31+43=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[82, 51, 2, 41], Operations: [] Exploring Operation: 82/41=2, Resulting Numbers: [51, 2, 2] Generated Node #0,0: 74:[51, 2, 2] Operation: 82/41=2 Exploring Operation: 82/2=41, Resulting Numbers: [51, 41, 41] Generated Node #0,1: 74:[51, 41, 41] Operation: 82/2=41 Exploring Operation: 51-41=10, Resulting Numbers: [82, 2, 10] Generated Node #0,2: 74:[82, 2, 10] Operation: 51-41=10 Exploring Operation: 82-41=41, Resulting Numbers: [51, 2, 41] Generated Node #0,3: 74:[51, 2, 41] Operation: 82-41=41 Exploring Operation: 82-51=31, Resulting Numbers: [2, 41, 31] Generated Node #0,4: 74:[2, 41, 31] Operation: 82-51=31 Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[2, 41, 31], Operations: ['82-51=31'] Exploring Operation: 41-31=10, Resulting Numbers: [2, 10] Generated Node #0,4,0: 74:[2, 10] Operation: 41-31=10 Exploring Operation: 2+41=43, Resulting Numbers: [31, 43] Generated Node #0,4,1: 74:[31, 43] Operation: 2+41=43 Exploring Operation: 2+31=33, Resulting Numbers: [41, 33] Generated Node #0,4,2: 74:[41, 33] Operation: 2+31=33 Exploring Operation: 41+31=72, Resulting Numbers: [2, 72] Generated Node #0,4,3: 74:[2, 72] Operation: 41+31=72 Exploring Operation: 41-2=39, Resulting Numbers: [31, 39] Generated Node #0,4,4: 74:[31, 39] Operation: 41-2=39 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[2, 72], Operations: ['82-51=31', '41+31=72'] Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,74 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[82, 51, 2, 41], Operations: [] Exploring Operation: 82-51=31, Resulting Numbers: [2, 41, 31] Generated Node #0,4: 74:[2, 41, 31] Operation: 82-51=31 Moving to Node #0,4 Current State: 74:[2, 41, 31], Operations: ['82-51=31'] Exploring Operation: 41+31=72, Resulting Numbers: [2, 72] Generated Node #0,4,3: 74:[2, 72] Operation: 41+31=72 Moving to Node #0,4,3 Current State: 74:[2, 72], Operations: ['82-51=31', '41+31=72'] Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 41, 16, 23, 45 ]
76
[ "45-41=4", "23*4=92", "92-16=76" ]
Current State: 76:[41, 16, 23, 45], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [16, 23, 4] Generated Node #2: [16, 23, 4] from Operation: 45-41=4 Current State: 76:[16, 23, 4], Operations: ['45-41=4'] Exploring Operation: 23*4=92, Resulting Numbers: [16, 92] Generated Node #3: [16, 92] from Operation: 23*4=92 Current State: 76:[16, 92], Operations: ['45-41=4', '23*4=92'] Exploring Operation: 92-16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[41, 16, 23, 45], Operations: [] Exploring Operation: 45-23=22, Resulting Numbers: [41, 16, 22] Generated Node #0,0: 76:[41, 16, 22] Operation: 45-23=22 Exploring Operation: 45-41=4, Resulting Numbers: [16, 23, 4] Generated Node #0,1: 76:[16, 23, 4] Operation: 45-41=4 Exploring Operation: 41-23=18, Resulting Numbers: [16, 45, 18] Generated Node #0,2: 76:[16, 45, 18] Operation: 41-23=18 Exploring Operation: 16+23=39, Resulting Numbers: [41, 45, 39] Generated Node #0,3: 76:[41, 45, 39] Operation: 16+23=39 Moving to Node #0,1 Current State: 76:[16, 23, 4], Operations: ['45-41=4'] Exploring Operation: 16+23=39, Resulting Numbers: [4, 39] Generated Node #0,1,0: 76:[4, 39] Operation: 16+23=39 Exploring Operation: 23-16=7, Resulting Numbers: [4, 7] Generated Node #0,1,1: 76:[4, 7] Operation: 23-16=7 Exploring Operation: 23-4=19, Resulting Numbers: [16, 19] Generated Node #0,1,2: 76:[16, 19] Operation: 23-4=19 Exploring Operation: 16/4=4, Resulting Numbers: [23, 4] Generated Node #0,1,3: 76:[23, 4] Operation: 16/4=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[4, 39], Operations: ['45-41=4', '16+23=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[4, 7], Operations: ['45-41=4', '23-16=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[16, 19], Operations: ['45-41=4', '23-4=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[23, 4], Operations: ['45-41=4', '16/4=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,76 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: 76:[41, 16, 22], Operations: ['45-23=22'] Exploring Operation: 41-16=25, Resulting Numbers: [22, 25] Generated Node #0,0,0: 76:[22, 25] Operation: 41-16=25 Exploring Operation: 22-16=6, Resulting Numbers: [41, 6] Generated Node #0,0,1: 76:[41, 6] Operation: 22-16=6 Exploring Operation: 41-22=19, Resulting Numbers: [16, 19] Generated Node #0,0,2: 76:[16, 19] Operation: 41-22=19 Exploring Operation: 16+22=38, Resulting Numbers: [41, 38] Generated Node #0,0,3: 76:[41, 38] Operation: 16+22=38 Moving to Node #0,3 Current State: 76:[41, 45, 39], Operations: ['16+23=39'] Exploring Operation: 45-39=6, Resulting Numbers: [41, 6] Generated Node #0,3,0: 76:[41, 6] Operation: 45-39=6 Exploring Operation: 41+45=86, Resulting Numbers: [39, 86] Generated Node #0,3,1: 76:[39, 86] Operation: 41+45=86 Exploring Operation: 45-41=4, Resulting Numbers: [39, 4] Generated Node #0,3,2: 76:[39, 4] Operation: 45-41=4 Exploring Operation: 41-39=2, Resulting Numbers: [45, 2] Generated Node #0,3,3: 76:[45, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[39, 4], Operations: ['16+23=39', '45-41=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 76:[41, 6], Operations: ['16+23=39', '45-39=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 76:[45, 2], Operations: ['16+23=39', '41-39=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[39, 86], Operations: ['16+23=39', '41+45=86'] Exploring Operation: 39*86=3354, Resulting Numbers: [3354] 3354,76 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,76 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: 76:[16, 45, 18], Operations: ['41-23=18'] Exploring Operation: 45-18=27, Resulting Numbers: [16, 27] Generated Node #0,2,0: 76:[16, 27] Operation: 45-18=27 Exploring Operation: 16+18=34, Resulting Numbers: [45, 34] Generated Node #0,2,1: 76:[45, 34] Operation: 16+18=34 Exploring Operation: 45-16=29, Resulting Numbers: [18, 29] Generated Node #0,2,2: 76:[18, 29] Operation: 45-16=29 Exploring Operation: 18-16=2, Resulting Numbers: [45, 2] Generated Node #0,2,3: 76:[45, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[45, 2], Operations: ['41-23=18', '18-16=2'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[18, 29], Operations: ['41-23=18', '45-16=29'] Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,76 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[16, 27], Operations: ['41-23=18', '45-18=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[45, 34], Operations: ['41-23=18', '16+18=34'] Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,76 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 76:[16, 19], Operations: ['45-23=22', '41-22=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,76 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[41, 38], Operations: ['45-23=22', '16+22=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,76 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[41, 6], Operations: ['45-23=22', '22-16=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,76 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[22, 25], Operations: ['45-23=22', '41-16=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,76 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 35, 72, 36, 23 ]
94
[ "35+72=107", "36-23=13", "107-13=94" ]
Current State: 94:[35, 72, 36, 23], Operations: [] Exploring Operation: 35+72=107, Resulting Numbers: [36, 23, 107] Generated Node #2: [36, 23, 107] from Operation: 35+72=107 Current State: 94:[36, 23, 107], Operations: ['35+72=107'] Exploring Operation: 36-23=13, Resulting Numbers: [107, 13] Generated Node #3: [107, 13] from Operation: 36-23=13 Current State: 94:[107, 13], Operations: ['35+72=107', '36-23=13'] Exploring Operation: 107-13=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[35, 72, 36, 23], Operations: [] Exploring Operation: 35-23=12, Resulting Numbers: [72, 36, 12] Generated Node #0,0: 94:[72, 36, 12] Operation: 35-23=12 Exploring Operation: 72+23=95, Resulting Numbers: [35, 36, 95] Generated Node #0,1: 94:[35, 36, 95] Operation: 72+23=95 Exploring Operation: 72/36=2, Resulting Numbers: [35, 23, 2] Generated Node #0,2: 94:[35, 23, 2] Operation: 72/36=2 Exploring Operation: 72-35=37, Resulting Numbers: [36, 23, 37] Generated Node #0,3: 94:[36, 23, 37] Operation: 72-35=37 Exploring Operation: 72-23=49, Resulting Numbers: [35, 36, 49] Generated Node #0,4: 94:[35, 36, 49] Operation: 72-23=49 Moving to Node #0,1 Current State: 94:[35, 36, 95], Operations: ['72+23=95'] Exploring Operation: 36-35=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 94:[95, 1] Operation: 36-35=1 Exploring Operation: 35+36=71, Resulting Numbers: [95, 71] Generated Node #0,1,1: 94:[95, 71] Operation: 35+36=71 Exploring Operation: 95-35=60, Resulting Numbers: [36, 60] Generated Node #0,1,2: 94:[36, 60] Operation: 95-35=60 Exploring Operation: 35+95=130, Resulting Numbers: [36, 130] Generated Node #0,1,3: 94:[36, 130] Operation: 35+95=130 Exploring Operation: 95-36=59, Resulting Numbers: [35, 59] Generated Node #0,1,4: 94:[35, 59] Operation: 95-36=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[95, 1], Operations: ['72+23=95', '36-35=1'] Exploring Operation: 95+1=96, Resulting Numbers: [96] 96,94 unequal: No Solution Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[35, 72, 36, 23], Operations: [] Exploring Operation: 72+23=95, Resulting Numbers: [35, 36, 95] Generated Node #0,1: 94:[35, 36, 95] Operation: 72+23=95 Moving to Node #0,1 Current State: 94:[35, 36, 95], Operations: ['72+23=95'] Exploring Operation: 36-35=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 94:[95, 1] Operation: 36-35=1 Moving to Node #0,1,0 Current State: 94:[95, 1], Operations: ['72+23=95', '36-35=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 68, 66, 88, 91 ]
94
[ "68-66=2", "91*2=182", "182-88=94" ]
Current State: 94:[68, 66, 88, 91], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [88, 91, 2] Generated Node #2: [88, 91, 2] from Operation: 68-66=2 Current State: 94:[88, 91, 2], Operations: ['68-66=2'] Exploring Operation: 91*2=182, Resulting Numbers: [88, 182] Generated Node #3: [88, 182] from Operation: 91*2=182 Current State: 94:[88, 182], Operations: ['68-66=2', '91*2=182'] Exploring Operation: 182-88=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[68, 66, 88, 91], Operations: [] Exploring Operation: 88-68=20, Resulting Numbers: [66, 91, 20] Generated Node #0,0: 94:[66, 91, 20] Operation: 88-68=20 Exploring Operation: 91-88=3, Resulting Numbers: [68, 66, 3] Generated Node #0,1: 94:[68, 66, 3] Operation: 91-88=3 Exploring Operation: 88-66=22, Resulting Numbers: [68, 91, 22] Generated Node #0,2: 94:[68, 91, 22] Operation: 88-66=22 Exploring Operation: 68-66=2, Resulting Numbers: [88, 91, 2] Generated Node #0,3: 94:[88, 91, 2] Operation: 68-66=2 Moving to Node #0,3 Current State: 94:[88, 91, 2], Operations: ['68-66=2'] Exploring Operation: 88+2=90, Resulting Numbers: [91, 90] Generated Node #0,3,0: 94:[91, 90] Operation: 88+2=90 Exploring Operation: 88/2=44, Resulting Numbers: [91, 44] Generated Node #0,3,1: 94:[91, 44] Operation: 88/2=44 Exploring Operation: 91+2=93, Resulting Numbers: [88, 93] Generated Node #0,3,2: 94:[88, 93] Operation: 91+2=93 Exploring Operation: 91-88=3, Resulting Numbers: [2, 3] Generated Node #0,3,3: 94:[2, 3] Operation: 91-88=3 Moving to Node #0,0 Current State: 94:[66, 91, 20], Operations: ['88-68=20'] Exploring Operation: 91-66=25, Resulting Numbers: [20, 25] Generated Node #0,0,0: 94:[20, 25] Operation: 91-66=25 Exploring Operation: 66-20=46, Resulting Numbers: [91, 46] Generated Node #0,0,1: 94:[91, 46] Operation: 66-20=46 Exploring Operation: 91+20=111, Resulting Numbers: [66, 111] Generated Node #0,0,2: 94:[66, 111] Operation: 91+20=111 Exploring Operation: 66+20=86, Resulting Numbers: [91, 86] Generated Node #0,0,3: 94:[91, 86] Operation: 66+20=86 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[91, 46], Operations: ['88-68=20', '66-20=46'] Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,94 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,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,0,3 Current State: 94:[91, 86], Operations: ['88-68=20', '66+20=86'] Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 91*86=7826, Resulting Numbers: [7826] 7826,94 unequal: No Solution Exploring Operation: 91+86=177, Resulting Numbers: [177] 177,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,0,2 Current State: 94:[66, 111], Operations: ['88-68=20', '91+20=111'] Exploring Operation: 111-66=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 66+111=177, Resulting Numbers: [177] 177,94 unequal: No Solution Exploring Operation: 66*111=7326, Resulting Numbers: [7326] 7326,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,0,0 Current State: 94:[20, 25], Operations: ['88-68=20', '91-66=25'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,94 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: 94:[68, 66, 3], Operations: ['91-88=3'] Exploring Operation: 66-3=63, Resulting Numbers: [68, 63] Generated Node #0,1,0: 94:[68, 63] Operation: 66-3=63 Exploring Operation: 68+66=134, Resulting Numbers: [3, 134] Generated Node #0,1,1: 94:[3, 134] Operation: 68+66=134 Exploring Operation: 68-3=65, Resulting Numbers: [66, 65] Generated Node #0,1,2: 94:[66, 65] Operation: 68-3=65 Exploring Operation: 68-66=2, Resulting Numbers: [3, 2] Generated Node #0,1,3: 94:[3, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[3, 2], Operations: ['91-88=3', '68-66=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,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,0 Current State: 94:[68, 63], Operations: ['91-88=3', '66-3=63'] Exploring Operation: 68*63=4284, Resulting Numbers: [4284] 4284,94 unequal: No Solution Exploring Operation: 68+63=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,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,2 Current State: 94:[66, 65], Operations: ['91-88=3', '68-3=65'] Exploring Operation: 66*65=4290, Resulting Numbers: [4290] 4290,94 unequal: No Solution Exploring Operation: 66+65=131, Resulting Numbers: [131] 131,94 unequal: No Solution Exploring Operation: 66-65=1, Resulting Numbers: [1] 1,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,1 Current State: 94:[3, 134], Operations: ['91-88=3', '68+66=134'] Exploring Operation: 3+134=137, Resulting Numbers: [137] 137,94 unequal: No Solution Exploring Operation: 3*134=402, Resulting Numbers: [402] 402,94 unequal: No Solution Exploring Operation: 134-3=131, Resulting Numbers: [131] 131,94 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: 94:[68, 91, 22], Operations: ['88-66=22'] Exploring Operation: 91+22=113, Resulting Numbers: [68, 113] Generated Node #0,2,0: 94:[68, 113] Operation: 91+22=113 Exploring Operation: 68-22=46, Resulting Numbers: [91, 46] Generated Node #0,2,1: 94:[91, 46] Operation: 68-22=46 Exploring Operation: 91-68=23, Resulting Numbers: [22, 23] Generated Node #0,2,2: 94:[22, 23] Operation: 91-68=23 Exploring Operation: 68+22=90, Resulting Numbers: [91, 90] Generated Node #0,2,3: 94:[91, 90] Operation: 68+22=90 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[91, 46], Operations: ['88-66=22', '68-22=46'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,94 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[91, 90], Operations: ['88-66=22', '68+22=90'] Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,94 unequal: No Solution Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[68, 113], Operations: ['88-66=22', '91+22=113'] Exploring Operation: 68*113=7684, Resulting Numbers: [7684] 7684,94 unequal: No Solution Exploring Operation: 113-68=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 68+113=181, Resulting Numbers: [181] 181,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[22, 23], Operations: ['88-66=22', '91-68=23'] Exploring Operation: 22+23=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 22*23=506, Resulting Numbers: [506] 506,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 94:[2, 3], Operations: ['68-66=2', '91-88=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,94 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[91, 44], Operations: ['68-66=2', '88/2=44'] Exploring Operation: 91*44=4004, Resulting Numbers: [4004] 4004,94 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,94 unequal: No Solution Exploring Operation: 91+44=135, Resulting Numbers: [135] 135,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[88, 93], Operations: ['68-66=2', '91+2=93'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,94 unequal: No Solution Exploring Operation: 88*93=8184, Resulting Numbers: [8184] 8184,94 unequal: No Solution Exploring Operation: 88+93=181, Resulting Numbers: [181] 181,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[91, 90], Operations: ['68-66=2', '88+2=90'] Exploring Operation: 91+90=181, Resulting Numbers: [181] 181,94 unequal: No Solution Exploring Operation: 91-90=1, Resulting Numbers: [1] 1,94 unequal: No Solution Exploring Operation: 91*90=8190, Resulting Numbers: [8190] 8190,94 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 62, 26, 33, 15 ]
18
[ "62-26=36", "33-15=18", "36-18=18" ]
Current State: 18:[62, 26, 33, 15], Operations: [] Exploring Operation: 62-26=36, Resulting Numbers: [33, 15, 36] Generated Node #2: [33, 15, 36] from Operation: 62-26=36 Current State: 18:[33, 15, 36], Operations: ['62-26=36'] Exploring Operation: 33-15=18, Resulting Numbers: [36, 18] Generated Node #3: [36, 18] from Operation: 33-15=18 Current State: 18:[36, 18], Operations: ['62-26=36', '33-15=18'] Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[62, 26, 33, 15], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [26, 15, 29] Generated Node #0,0: 18:[26, 15, 29] Operation: 62-33=29 Exploring Operation: 62-26=36, Resulting Numbers: [33, 15, 36] Generated Node #0,1: 18:[33, 15, 36] Operation: 62-26=36 Moving to Node #0,0 Current State: 18:[26, 15, 29], Operations: ['62-33=29'] Exploring Operation: 29-15=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 18:[26, 14] Operation: 29-15=14 Exploring Operation: 29-26=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 18:[15, 3] Operation: 29-26=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[15, 3], Operations: ['62-33=29', '29-26=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,18 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[62, 26, 33, 15], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [26, 15, 29] Generated Node #0,0: 18:[26, 15, 29] Operation: 62-33=29 Moving to Node #0,0 Current State: 18:[26, 15, 29], Operations: ['62-33=29'] Exploring Operation: 29-26=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 18:[15, 3] Operation: 29-26=3 Moving to Node #0,0,1 Current State: 18:[15, 3], Operations: ['62-33=29', '29-26=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 33, 18, 24, 96 ]
94
[ "33-24=9", "18/9=2", "96-2=94" ]
Current State: 94:[33, 18, 24, 96], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [18, 96, 9] Generated Node #2: [18, 96, 9] from Operation: 33-24=9 Current State: 94:[18, 96, 9], Operations: ['33-24=9'] Exploring Operation: 18/9=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 18/9=2 Current State: 94:[96, 2], Operations: ['33-24=9', '18/9=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[33, 18, 24, 96], Operations: [] Exploring Operation: 33+24=57, Resulting Numbers: [18, 96, 57] Generated Node #0,0: 94:[18, 96, 57] Operation: 33+24=57 Exploring Operation: 24-18=6, Resulting Numbers: [33, 96, 6] Generated Node #0,1: 94:[33, 96, 6] Operation: 24-18=6 Exploring Operation: 33-24=9, Resulting Numbers: [18, 96, 9] Generated Node #0,2: 94:[18, 96, 9] Operation: 33-24=9 Exploring Operation: 18+24=42, Resulting Numbers: [33, 96, 42] Generated Node #0,3: 94:[33, 96, 42] Operation: 18+24=42 Exploring Operation: 33+18=51, Resulting Numbers: [24, 96, 51] Generated Node #0,4: 94:[24, 96, 51] Operation: 33+18=51 Moving to Node #0,1 Current State: 94:[33, 96, 6], Operations: ['24-18=6'] Exploring Operation: 96+6=102, Resulting Numbers: [33, 102] Generated Node #0,1,0: 94:[33, 102] Operation: 96+6=102 Exploring Operation: 33+6=39, Resulting Numbers: [96, 39] Generated Node #0,1,1: 94:[96, 39] Operation: 33+6=39 Exploring Operation: 96-33=63, Resulting Numbers: [6, 63] Generated Node #0,1,2: 94:[6, 63] Operation: 96-33=63 Exploring Operation: 33-6=27, Resulting Numbers: [96, 27] Generated Node #0,1,3: 94:[96, 27] Operation: 33-6=27 Exploring Operation: 96-6=90, Resulting Numbers: [33, 90] Generated Node #0,1,4: 94:[33, 90] Operation: 96-6=90 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[96, 39], Operations: ['24-18=6', '33+6=39'] Exploring Operation: 96+39=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 96*39=3744, Resulting Numbers: [3744] 3744,94 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,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,4 Current State: 94:[33, 90], Operations: ['24-18=6', '96-6=90'] Exploring Operation: 33*90=2970, Resulting Numbers: [2970] 2970,94 unequal: No Solution Exploring Operation: 33+90=123, Resulting Numbers: [123] 123,94 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,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,2 Current State: 94:[6, 63], Operations: ['24-18=6', '96-33=63'] Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,94 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,94 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,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,0 Current State: 94:[33, 102], Operations: ['24-18=6', '96+6=102'] Exploring Operation: 102-33=69, Resulting Numbers: [69] 69,94 unequal: No Solution Exploring Operation: 33*102=3366, Resulting Numbers: [3366] 3366,94 unequal: No Solution Exploring Operation: 33+102=135, Resulting Numbers: [135] 135,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,3 Current State: 94:[96, 27], Operations: ['24-18=6', '33-6=27'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,94 unequal: No Solution Exploring Operation: 96+27=123, Resulting Numbers: [123] 123,94 unequal: No Solution Exploring Operation: 96*27=2592, Resulting Numbers: [2592] 2592,94 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: 94:[33, 96, 42], Operations: ['18+24=42'] Exploring Operation: 42-33=9, Resulting Numbers: [96, 9] Generated Node #0,3,0: 94:[96, 9] Operation: 42-33=9 Exploring Operation: 33+96=129, Resulting Numbers: [42, 129] Generated Node #0,3,1: 94:[42, 129] Operation: 33+96=129 Exploring Operation: 33+42=75, Resulting Numbers: [96, 75] Generated Node #0,3,2: 94:[96, 75] Operation: 33+42=75 Exploring Operation: 96-33=63, Resulting Numbers: [42, 63] Generated Node #0,3,3: 94:[42, 63] Operation: 96-33=63 Exploring Operation: 96-42=54, Resulting Numbers: [33, 54] Generated Node #0,3,4: 94:[33, 54] Operation: 96-42=54 Moving to Node #0,2 Current State: 94:[18, 96, 9], Operations: ['33-24=9'] Exploring Operation: 18+9=27, Resulting Numbers: [96, 27] Generated Node #0,2,0: 94:[96, 27] Operation: 18+9=27 Exploring Operation: 18-9=9, Resulting Numbers: [96, 9] Generated Node #0,2,1: 94:[96, 9] Operation: 18-9=9 Exploring Operation: 96-9=87, Resulting Numbers: [18, 87] Generated Node #0,2,2: 94:[18, 87] Operation: 96-9=87 Exploring Operation: 96-18=78, Resulting Numbers: [9, 78] Generated Node #0,2,3: 94:[9, 78] Operation: 96-18=78 Exploring Operation: 18/9=2, Resulting Numbers: [96, 2] Generated Node #0,2,4: 94:[96, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[96, 2], Operations: ['33-24=9', '18/9=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[33, 18, 24, 96], Operations: [] Exploring Operation: 33-24=9, Resulting Numbers: [18, 96, 9] Generated Node #0,2: 94:[18, 96, 9] Operation: 33-24=9 Moving to Node #0,2 Current State: 94:[18, 96, 9], Operations: ['33-24=9'] Exploring Operation: 18/9=2, Resulting Numbers: [96, 2] Generated Node #0,2,4: 94:[96, 2] Operation: 18/9=2 Moving to Node #0,2,4 Current State: 94:[96, 2], Operations: ['33-24=9', '18/9=2'] Exploring Operation: 96-2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 76, 63, 55, 79 ]
24
[ "79-76=3", "63-55=8", "3*8=24" ]
Current State: 24:[76, 63, 55, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [63, 55, 3] Generated Node #2: [63, 55, 3] from Operation: 79-76=3 Current State: 24:[63, 55, 3], Operations: ['79-76=3'] Exploring Operation: 63-55=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 63-55=8 Current State: 24:[3, 8], Operations: ['79-76=3', '63-55=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[76, 63, 55, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [63, 55, 3] Generated Node #0,0: 24:[63, 55, 3] Operation: 79-76=3 Exploring Operation: 76-63=13, Resulting Numbers: [55, 79, 13] Generated Node #0,1: 24:[55, 79, 13] Operation: 76-63=13 Moving to Node #0,0 Current State: 24:[63, 55, 3], Operations: ['79-76=3'] Exploring Operation: 63/3=21, Resulting Numbers: [55, 21] Generated Node #0,0,0: 24:[55, 21] Operation: 63/3=21 Exploring Operation: 63-55=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 24:[3, 8] Operation: 63-55=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[3, 8], Operations: ['79-76=3', '63-55=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[76, 63, 55, 79], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [63, 55, 3] Generated Node #0,0: 24:[63, 55, 3] Operation: 79-76=3 Moving to Node #0,0 Current State: 24:[63, 55, 3], Operations: ['79-76=3'] Exploring Operation: 63-55=8, Resulting Numbers: [3, 8] Generated Node #0,0,1: 24:[3, 8] Operation: 63-55=8 Moving to Node #0,0,1 Current State: 24:[3, 8], Operations: ['79-76=3', '63-55=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 16, 7, 4, 61 ]
56
[ "16-7=9", "4+61=65", "65-9=56" ]
Current State: 56:[16, 7, 4, 61], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [4, 61, 9] Generated Node #2: [4, 61, 9] from Operation: 16-7=9 Current State: 56:[4, 61, 9], Operations: ['16-7=9'] Exploring Operation: 4+61=65, Resulting Numbers: [9, 65] Generated Node #3: [9, 65] from Operation: 4+61=65 Current State: 56:[9, 65], Operations: ['16-7=9', '4+61=65'] Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 7, 4, 61], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [4, 61, 9] Generated Node #0,0: 56:[4, 61, 9] Operation: 16-7=9 Exploring Operation: 61-4=57, Resulting Numbers: [16, 7, 57] Generated Node #0,1: 56:[16, 7, 57] Operation: 61-4=57 Exploring Operation: 61-7=54, Resulting Numbers: [16, 4, 54] Generated Node #0,2: 56:[16, 4, 54] Operation: 61-7=54 Exploring Operation: 16/4=4, Resulting Numbers: [7, 61, 4] Generated Node #0,3: 56:[7, 61, 4] Operation: 16/4=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[16, 7, 57], Operations: ['61-4=57'] Exploring Operation: 7+57=64, Resulting Numbers: [16, 64] Generated Node #0,1,0: 56:[16, 64] Operation: 7+57=64 Exploring Operation: 16-7=9, Resulting Numbers: [57, 9] Generated Node #0,1,1: 56:[57, 9] Operation: 16-7=9 Exploring Operation: 16+7=23, Resulting Numbers: [57, 23] Generated Node #0,1,2: 56:[57, 23] Operation: 16+7=23 Exploring Operation: 57-7=50, Resulting Numbers: [16, 50] Generated Node #0,1,3: 56:[16, 50] Operation: 57-7=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[57, 9], Operations: ['61-4=57', '16-7=9'] Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 57*9=513, Resulting Numbers: [513] 513,56 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,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:[57, 23], Operations: ['61-4=57', '16+7=23'] Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,56 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,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,3 Current State: 56:[16, 50], Operations: ['61-4=57', '57-7=50'] Exploring Operation: 16*50=800, Resulting Numbers: [800] 800,56 unequal: No Solution Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,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,0 Current State: 56:[16, 64], Operations: ['61-4=57', '7+57=64'] Exploring Operation: 16*64=1024, Resulting Numbers: [1024] 1024,56 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[16, 4, 54], Operations: ['61-7=54'] Exploring Operation: 16-4=12, Resulting Numbers: [54, 12] Generated Node #0,2,0: 56:[54, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [54, 4] Generated Node #0,2,1: 56:[54, 4] Operation: 16/4=4 Exploring Operation: 4+54=58, Resulting Numbers: [16, 58] Generated Node #0,2,2: 56:[16, 58] Operation: 4+54=58 Exploring Operation: 16+4=20, Resulting Numbers: [54, 20] Generated Node #0,2,3: 56:[54, 20] Operation: 16+4=20 Moving to Node #0,2,1 Current State: 56:[54, 4], Operations: ['61-7=54', '16/4=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[16, 58], Operations: ['61-7=54', '4+54=58'] Exploring Operation: 16+58=74, Resulting Numbers: [74] 74,56 unequal: No Solution Exploring Operation: 16*58=928, Resulting Numbers: [928] 928,56 unequal: No Solution Exploring Operation: 58-16=42, Resulting Numbers: [42] 42,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[54, 12], Operations: ['61-7=54', '16-4=12'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,56 unequal: No Solution Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,56 unequal: No Solution Exploring Operation: 54*12=648, Resulting Numbers: [648] 648,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[54, 20], Operations: ['61-7=54', '16+4=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,56 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,56 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,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,3 Current State: 56:[7, 61, 4], Operations: ['16/4=4'] Exploring Operation: 61-4=57, Resulting Numbers: [7, 57] Generated Node #0,3,0: 56:[7, 57] Operation: 61-4=57 Exploring Operation: 7-4=3, Resulting Numbers: [61, 3] Generated Node #0,3,1: 56:[61, 3] Operation: 7-4=3 Exploring Operation: 7*4=28, Resulting Numbers: [61, 28] Generated Node #0,3,2: 56:[61, 28] Operation: 7*4=28 Exploring Operation: 61-7=54, Resulting Numbers: [4, 54] Generated Node #0,3,3: 56:[4, 54] Operation: 61-7=54 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[7, 57], Operations: ['16/4=4', '61-4=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,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,3,3 Current State: 56:[4, 54], Operations: ['16/4=4', '61-7=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,56 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,56 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,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,3,2 Current State: 56:[61, 28], Operations: ['16/4=4', '7*4=28'] Exploring Operation: 61+28=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 61*28=1708, Resulting Numbers: [1708] 1708,56 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,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,3,1 Current State: 56:[61, 3], Operations: ['16/4=4', '7-4=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,56 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,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:[4, 61, 9], Operations: ['16-7=9'] Exploring Operation: 4+9=13, Resulting Numbers: [61, 13] Generated Node #0,0,0: 56:[61, 13] Operation: 4+9=13 Exploring Operation: 61-4=57, Resulting Numbers: [9, 57] Generated Node #0,0,1: 56:[9, 57] Operation: 61-4=57 Exploring Operation: 9-4=5, Resulting Numbers: [61, 5] Generated Node #0,0,2: 56:[61, 5] Operation: 9-4=5 Exploring Operation: 61-9=52, Resulting Numbers: [4, 52] Generated Node #0,0,3: 56:[4, 52] Operation: 61-9=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[9, 57], Operations: ['16-7=9', '61-4=57'] Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,56 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[4, 52], Operations: ['16-7=9', '61-9=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[16, 7, 4, 61], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [4, 61, 9] Generated Node #0,0: 56:[4, 61, 9] Operation: 16-7=9 Moving to Node #0,0 Current State: 56:[4, 61, 9], Operations: ['16-7=9'] Exploring Operation: 61-9=52, Resulting Numbers: [4, 52] Generated Node #0,0,3: 56:[4, 52] Operation: 61-9=52 Moving to Node #0,0,3 Current State: 56:[4, 52], Operations: ['16-7=9', '61-9=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.942708
hs_4
sum_heuristic
[ 56, 1, 80, 61 ]
20
[ "56+1=57", "61-57=4", "80/4=20" ]
Current State: 20:[56, 1, 80, 61], Operations: [] Exploring Operation: 56+1=57, Resulting Numbers: [80, 61, 57] Generated Node #2: [80, 61, 57] from Operation: 56+1=57 Current State: 20:[80, 61, 57], Operations: ['56+1=57'] Exploring Operation: 61-57=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 61-57=4 Current State: 20:[80, 4], Operations: ['56+1=57', '61-57=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[56, 1, 80, 61], Operations: [] Exploring Operation: 80-61=19, Resulting Numbers: [56, 1, 19] Generated Node #0,0: 20:[56, 1, 19] Operation: 80-61=19 Exploring Operation: 80-56=24, Resulting Numbers: [1, 61, 24] Generated Node #0,1: 20:[1, 61, 24] Operation: 80-56=24 Exploring Operation: 61-56=5, Resulting Numbers: [1, 80, 5] Generated Node #0,2: 20:[1, 80, 5] Operation: 61-56=5 Moving to Node #0,0 Current State: 20:[56, 1, 19], Operations: ['80-61=19'] Exploring Operation: 56-1=55, Resulting Numbers: [19, 55] Generated Node #0,0,0: 20:[19, 55] Operation: 56-1=55 Exploring Operation: 1+19=20, Resulting Numbers: [56, 20] Generated Node #0,0,1: 20:[56, 20] Operation: 1+19=20 Exploring Operation: 56-19=37, Resulting Numbers: [1, 37] Generated Node #0,0,2: 20:[1, 37] Operation: 56-19=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[1, 37], Operations: ['80-61=19', '56-19=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,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,0,0 Current State: 20:[19, 55], Operations: ['80-61=19', '56-1=55'] Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,20 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,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,0,1 Current State: 20:[56, 20], Operations: ['80-61=19', '1+19=20'] Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,20 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,20 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: 20:[1, 61, 24], Operations: ['80-56=24'] Exploring Operation: 24-1=23, Resulting Numbers: [61, 23] Generated Node #0,1,0: 20:[61, 23] Operation: 24-1=23 Exploring Operation: 61-1=60, Resulting Numbers: [24, 60] Generated Node #0,1,1: 20:[24, 60] Operation: 61-1=60 Exploring Operation: 61-24=37, Resulting Numbers: [1, 37] Generated Node #0,1,2: 20:[1, 37] Operation: 61-24=37 Moving to Node #0,2 Current State: 20:[1, 80, 5], Operations: ['61-56=5'] Exploring Operation: 80-5=75, Resulting Numbers: [1, 75] Generated Node #0,2,0: 20:[1, 75] Operation: 80-5=75 Exploring Operation: 80/5=16, Resulting Numbers: [1, 16] Generated Node #0,2,1: 20:[1, 16] Operation: 80/5=16 Exploring Operation: 80-1=79, Resulting Numbers: [5, 79] Generated Node #0,2,2: 20:[5, 79] Operation: 80-1=79 Moving to Node #0,2,1 Current State: 20:[1, 16], Operations: ['61-56=5', '80/5=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[1, 37], Operations: ['80-56=24', '61-24=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[24, 60], Operations: ['80-56=24', '61-1=60'] Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,20 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[61, 23], Operations: ['80-56=24', '24-1=23'] Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 61*23=1403, Resulting Numbers: [1403] 1403,20 unequal: No Solution Exploring Operation: 61+23=84, Resulting Numbers: [84] 84,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[1, 75], Operations: ['61-56=5', '80-5=75'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[5, 79], Operations: ['61-56=5', '80-1=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,20 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,20 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 72, 11, 10, 48 ]
10
[ "72-10=62", "48+62=110", "110/11=10" ]
Current State: 10:[72, 11, 10, 48], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [11, 48, 62] Generated Node #2: [11, 48, 62] from Operation: 72-10=62 Current State: 10:[11, 48, 62], Operations: ['72-10=62'] Exploring Operation: 48+62=110, Resulting Numbers: [11, 110] Generated Node #3: [11, 110] from Operation: 48+62=110 Current State: 10:[11, 110], Operations: ['72-10=62', '48+62=110'] Exploring Operation: 110/11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[72, 11, 10, 48], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [11, 10, 24] Generated Node #0,0: 10:[11, 10, 24] Operation: 72-48=24 Exploring Operation: 72-10=62, Resulting Numbers: [11, 48, 62] Generated Node #0,1: 10:[11, 48, 62] Operation: 72-10=62 Exploring Operation: 48-11=37, Resulting Numbers: [72, 10, 37] Generated Node #0,2: 10:[72, 10, 37] Operation: 48-11=37 Exploring Operation: 72-11=61, Resulting Numbers: [10, 48, 61] Generated Node #0,3: 10:[10, 48, 61] Operation: 72-11=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[11, 10, 24], Operations: ['72-48=24'] Exploring Operation: 11+10=21, Resulting Numbers: [24, 21] Generated Node #0,0,0: 10:[24, 21] Operation: 11+10=21 Exploring Operation: 24-11=13, Resulting Numbers: [10, 13] Generated Node #0,0,1: 10:[10, 13] Operation: 24-11=13 Exploring Operation: 11-10=1, Resulting Numbers: [24, 1] Generated Node #0,0,2: 10:[24, 1] Operation: 11-10=1 Exploring Operation: 24-10=14, Resulting Numbers: [11, 14] Generated Node #0,0,3: 10:[11, 14] Operation: 24-10=14 Moving to Node #0,0,1 Current State: 10:[10, 13], Operations: ['72-48=24', '24-11=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,10 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[11, 14], Operations: ['72-48=24', '24-10=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,10 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[24, 1], Operations: ['72-48=24', '11-10=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[24, 21], Operations: ['72-48=24', '11+10=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,10 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[72, 10, 37], Operations: ['48-11=37'] Exploring Operation: 37-10=27, Resulting Numbers: [72, 27] Generated Node #0,2,0: 10:[72, 27] Operation: 37-10=27 Exploring Operation: 72+10=82, Resulting Numbers: [37, 82] Generated Node #0,2,1: 10:[37, 82] Operation: 72+10=82 Exploring Operation: 72-10=62, Resulting Numbers: [37, 62] Generated Node #0,2,2: 10:[37, 62] Operation: 72-10=62 Exploring Operation: 72-37=35, Resulting Numbers: [10, 35] Generated Node #0,2,3: 10:[10, 35] Operation: 72-37=35 Moving to Node #0,2,3 Current State: 10:[10, 35], Operations: ['48-11=37', '72-37=35'] Exploring Operation: 10*35=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 10+35=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[37, 62], Operations: ['48-11=37', '72-10=62'] Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,10 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[72, 27], Operations: ['48-11=37', '37-10=27'] Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,10 unequal: No Solution Moving to Node #0,2,1 Current State: 10:[37, 82], Operations: ['48-11=37', '72+10=82'] Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,10 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[10, 48, 61], Operations: ['72-11=61'] Exploring Operation: 61-10=51, Resulting Numbers: [48, 51] Generated Node #0,3,0: 10:[48, 51] Operation: 61-10=51 Exploring Operation: 48-10=38, Resulting Numbers: [61, 38] Generated Node #0,3,1: 10:[61, 38] Operation: 48-10=38 Exploring Operation: 10+48=58, Resulting Numbers: [61, 58] Generated Node #0,3,2: 10:[61, 58] Operation: 10+48=58 Exploring Operation: 61-48=13, Resulting Numbers: [10, 13] Generated Node #0,3,3: 10:[10, 13] Operation: 61-48=13 Moving to Node #0,3,3 Current State: 10:[10, 13], Operations: ['72-11=61', '61-48=13'] Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,10 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[61, 38], Operations: ['72-11=61', '48-10=38'] Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 61*38=2318, Resulting Numbers: [2318] 2318,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[48, 51], Operations: ['72-11=61', '61-10=51'] Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,10 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[61, 58], Operations: ['72-11=61', '10+48=58'] Exploring Operation: 61-58=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 61+58=119, Resulting Numbers: [119] 119,10 unequal: No Solution Exploring Operation: 61*58=3538, Resulting Numbers: [3538] 3538,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[11, 48, 62], Operations: ['72-10=62'] Exploring Operation: 62-48=14, Resulting Numbers: [11, 14] Generated Node #0,1,0: 10:[11, 14] Operation: 62-48=14 Exploring Operation: 62-11=51, Resulting Numbers: [48, 51] Generated Node #0,1,1: 10:[48, 51] Operation: 62-11=51 Exploring Operation: 48-11=37, Resulting Numbers: [62, 37] Generated Node #0,1,2: 10:[62, 37] Operation: 48-11=37 Exploring Operation: 11+48=59, Resulting Numbers: [62, 59] Generated Node #0,1,3: 10:[62, 59] Operation: 11+48=59 Moving to Node #0,1,0 Current State: 10:[11, 14], Operations: ['72-10=62', '62-48=14'] Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,10 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,1,2 Current State: 10:[62, 37], Operations: ['72-10=62', '48-11=37'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,10 unequal: No Solution Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[48, 51], Operations: ['72-10=62', '62-11=51'] Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,10 unequal: No Solution Moving to Node #0,1,3 Current State: 10:[62, 59], Operations: ['72-10=62', '11+48=59'] Exploring Operation: 62*59=3658, Resulting Numbers: [3658] 3658,10 unequal: No Solution Exploring Operation: 62+59=121, Resulting Numbers: [121] 121,10 unequal: No Solution Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 47, 53, 14, 32 ]
53
[ "47-14=33", "33-32=1", "53*1=53" ]
Current State: 53:[47, 53, 14, 32], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [53, 32, 33] Generated Node #2: [53, 32, 33] from Operation: 47-14=33 Current State: 53:[53, 32, 33], Operations: ['47-14=33'] Exploring Operation: 33-32=1, Resulting Numbers: [53, 1] Generated Node #3: [53, 1] from Operation: 33-32=1 Current State: 53:[53, 1], Operations: ['47-14=33', '33-32=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[47, 53, 14, 32], Operations: [] Exploring Operation: 47-14=33, Resulting Numbers: [53, 32, 33] Generated Node #0,0: 53:[53, 32, 33] Operation: 47-14=33 Exploring Operation: 47+14=61, Resulting Numbers: [53, 32, 61] Generated Node #0,1: 53:[53, 32, 61] Operation: 47+14=61 Exploring Operation: 14+32=46, Resulting Numbers: [47, 53, 46] Generated Node #0,2: 53:[47, 53, 46] Operation: 14+32=46 Exploring Operation: 53+14=67, Resulting Numbers: [47, 32, 67] Generated Node #0,3: 53:[47, 32, 67] Operation: 53+14=67 Moving to Node #0,2 Current State: 53:[47, 53, 46], Operations: ['14+32=46'] Exploring Operation: 47+46=93, Resulting Numbers: [53, 93] Generated Node #0,2,0: 53:[53, 93] Operation: 47+46=93 Exploring Operation: 53-46=7, Resulting Numbers: [47, 7] Generated Node #0,2,1: 53:[47, 7] Operation: 53-46=7 Exploring Operation: 47-46=1, Resulting Numbers: [53, 1] Generated Node #0,2,2: 53:[53, 1] Operation: 47-46=1 Exploring Operation: 53+46=99, Resulting Numbers: [47, 99] Generated Node #0,2,3: 53:[47, 99] Operation: 53+46=99 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[53, 93], Operations: ['14+32=46', '47+46=93'] Exploring Operation: 53+93=146, Resulting Numbers: [146] 146,53 unequal: No Solution Exploring Operation: 53*93=4929, Resulting Numbers: [4929] 4929,53 unequal: No Solution Exploring Operation: 93-53=40, Resulting Numbers: [40] 40,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 53:[47, 7], Operations: ['14+32=46', '53-46=7'] Exploring Operation: 47*7=329, Resulting Numbers: [329] 329,53 unequal: No Solution Exploring Operation: 47+7=54, Resulting Numbers: [54] 54,53 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 53:[53, 1], Operations: ['14+32=46', '47-46=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[47, 53, 14, 32], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [47, 53, 46] Generated Node #0,2: 53:[47, 53, 46] Operation: 14+32=46 Moving to Node #0,2 Current State: 53:[47, 53, 46], Operations: ['14+32=46'] Exploring Operation: 47-46=1, Resulting Numbers: [53, 1] Generated Node #0,2,2: 53:[53, 1] Operation: 47-46=1 Moving to Node #0,2,2 Current State: 53:[53, 1], Operations: ['14+32=46', '47-46=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 47, 53, 1, 10 ]
59
[ "53-47=6", "10*6=60", "60-1=59" ]
Current State: 59:[47, 53, 1, 10], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [1, 10, 6] Generated Node #2: [1, 10, 6] from Operation: 53-47=6 Current State: 59:[1, 10, 6], Operations: ['53-47=6'] Exploring Operation: 10*6=60, Resulting Numbers: [1, 60] Generated Node #3: [1, 60] from Operation: 10*6=60 Current State: 59:[1, 60], Operations: ['53-47=6', '10*6=60'] Exploring Operation: 60-1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[47, 53, 1, 10], Operations: [] Exploring Operation: 47+10=57, Resulting Numbers: [53, 1, 57] Generated Node #0,0: 59:[53, 1, 57] Operation: 47+10=57 Exploring Operation: 1+10=11, Resulting Numbers: [47, 53, 11] Generated Node #0,1: 59:[47, 53, 11] Operation: 1+10=11 Exploring Operation: 53+1=54, Resulting Numbers: [47, 10, 54] Generated Node #0,2: 59:[47, 10, 54] Operation: 53+1=54 Exploring Operation: 47+1=48, Resulting Numbers: [53, 10, 48] Generated Node #0,3: 59:[53, 10, 48] Operation: 47+1=48 Moving to Node #0,0 Current State: 59:[53, 1, 57], Operations: ['47+10=57'] Exploring Operation: 1+57=58, Resulting Numbers: [53, 58] Generated Node #0,0,0: 59:[53, 58] Operation: 1+57=58 Exploring Operation: 53/1=53, Resulting Numbers: [57, 53] Generated Node #0,0,1: 59:[57, 53] Operation: 53/1=53 Exploring Operation: 53*1=53, Resulting Numbers: [57, 53] Generated Node #0,0,2: 59:[57, 53] Operation: 53*1=53 Exploring Operation: 53+1=54, Resulting Numbers: [57, 54] Generated Node #0,0,3: 59:[57, 54] Operation: 53+1=54 Moving to Node #0,2 Current State: 59:[47, 10, 54], Operations: ['53+1=54'] Exploring Operation: 47+10=57, Resulting Numbers: [54, 57] Generated Node #0,2,0: 59:[54, 57] Operation: 47+10=57 Exploring Operation: 10+54=64, Resulting Numbers: [47, 64] Generated Node #0,2,1: 59:[47, 64] Operation: 10+54=64 Exploring Operation: 47-10=37, Resulting Numbers: [54, 37] Generated Node #0,2,2: 59:[54, 37] Operation: 47-10=37 Exploring Operation: 54-10=44, Resulting Numbers: [47, 44] Generated Node #0,2,3: 59:[47, 44] Operation: 54-10=44 Moving to Node #0,1 Current State: 59:[47, 53, 11], Operations: ['1+10=11'] Exploring Operation: 53-11=42, Resulting Numbers: [47, 42] Generated Node #0,1,0: 59:[47, 42] Operation: 53-11=42 Exploring Operation: 53+11=64, Resulting Numbers: [47, 64] Generated Node #0,1,1: 59:[47, 64] Operation: 53+11=64 Exploring Operation: 47+11=58, Resulting Numbers: [53, 58] Generated Node #0,1,2: 59:[53, 58] Operation: 47+11=58 Exploring Operation: 47-11=36, Resulting Numbers: [53, 36] Generated Node #0,1,3: 59:[53, 36] Operation: 47-11=36 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[53, 58], Operations: ['1+10=11', '47+11=58'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[47, 64], Operations: ['1+10=11', '53+11=64'] Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[47, 42], Operations: ['1+10=11', '53-11=42'] Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 47*42=1974, Resulting Numbers: [1974] 1974,59 unequal: No Solution Exploring Operation: 47+42=89, Resulting Numbers: [89] 89,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[53, 36], Operations: ['1+10=11', '47-11=36'] Exploring Operation: 53*36=1908, Resulting Numbers: [1908] 1908,59 unequal: No Solution Exploring Operation: 53-36=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 53+36=89, Resulting Numbers: [89] 89,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 59:[53, 10, 48], Operations: ['47+1=48'] Exploring Operation: 10+48=58, Resulting Numbers: [53, 58] Generated Node #0,3,0: 59:[53, 58] Operation: 10+48=58 Exploring Operation: 53+10=63, Resulting Numbers: [48, 63] Generated Node #0,3,1: 59:[48, 63] Operation: 53+10=63 Exploring Operation: 53-10=43, Resulting Numbers: [48, 43] Generated Node #0,3,2: 59:[48, 43] Operation: 53-10=43 Exploring Operation: 48-10=38, Resulting Numbers: [53, 38] Generated Node #0,3,3: 59:[53, 38] Operation: 48-10=38 Moving to Node #0,0,0 Current State: 59:[53, 58], Operations: ['47+10=57', '1+57=58'] Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,59 unequal: No Solution Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[57, 54], Operations: ['47+10=57', '53+1=54'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 57+54=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 57*54=3078, Resulting Numbers: [3078] 3078,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[54, 57], Operations: ['53+1=54', '47+10=57'] Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[53, 58], Operations: ['47+1=48', '10+48=58'] Exploring Operation: 53+58=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 53*58=3074, Resulting Numbers: [3074] 3074,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[57, 53], Operations: ['47+10=57', '53/1=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[57, 53], Operations: ['47+10=57', '53*1=53'] Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 57+53=110, Resulting Numbers: [110] 110,59 unequal: No Solution Exploring Operation: 57*53=3021, Resulting Numbers: [3021] 3021,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[48, 63], Operations: ['47+1=48', '53+10=63'] Exploring Operation: 48*63=3024, Resulting Numbers: [3024] 3024,59 unequal: No Solution Exploring Operation: 48+63=111, Resulting Numbers: [111] 111,59 unequal: No Solution Exploring Operation: 63-48=15, Resulting Numbers: [15] 15,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[47, 64], Operations: ['53+1=54', '10+54=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,59 unequal: No Solution Exploring Operation: 47*64=3008, Resulting Numbers: [3008] 3008,59 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[53, 38], Operations: ['47+1=48', '48-10=38'] Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,59 unequal: No Solution Exploring Operation: 53*38=2014, Resulting Numbers: [2014] 2014,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[54, 37], Operations: ['53+1=54', '47-10=37'] Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,59 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[47, 44], Operations: ['53+1=54', '54-10=44'] Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,59 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[48, 43], Operations: ['47+1=48', '53-10=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,59 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,59 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 61, 8, 5, 35 ]
17
[ "61+35=96", "96/8=12", "5+12=17" ]
Current State: 17:[61, 8, 5, 35], Operations: [] Exploring Operation: 61+35=96, Resulting Numbers: [8, 5, 96] Generated Node #2: [8, 5, 96] from Operation: 61+35=96 Current State: 17:[8, 5, 96], Operations: ['61+35=96'] Exploring Operation: 96/8=12, Resulting Numbers: [5, 12] Generated Node #3: [5, 12] from Operation: 96/8=12 Current State: 17:[5, 12], Operations: ['61+35=96', '96/8=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[61, 8, 5, 35], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [61, 8, 7] Generated Node #0,0: 17:[61, 8, 7] Operation: 35/5=7 Exploring Operation: 61-35=26, Resulting Numbers: [8, 5, 26] Generated Node #0,1: 17:[8, 5, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[8, 5, 26], Operations: ['61-35=26'] Exploring Operation: 8+5=13, Resulting Numbers: [26, 13] Generated Node #0,1,0: 17:[26, 13] Operation: 8+5=13 Exploring Operation: 26-8=18, Resulting Numbers: [5, 18] Generated Node #0,1,1: 17:[5, 18] Operation: 26-8=18 Moving to Node #0,1,0 Current State: 17:[26, 13], Operations: ['61-35=26', '8+5=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[5, 18], Operations: ['61-35=26', '26-8=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[61, 8, 7], Operations: ['35/5=7'] Exploring Operation: 61-7=54, Resulting Numbers: [8, 54] Generated Node #0,0,0: 17:[8, 54] Operation: 61-7=54 Exploring Operation: 61-8=53, Resulting Numbers: [7, 53] Generated Node #0,0,1: 17:[7, 53] Operation: 61-8=53 Moving to Node #0,0,0 Current State: 17:[8, 54], Operations: ['35/5=7', '61-7=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[7, 53], Operations: ['35/5=7', '61-8=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,17 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,17 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