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
[ 27, 46, 72, 73 ]
72
[ "27+46=73", "72+73=145", "145-73=72" ]
Current State: 72:[27, 46, 72, 73], Operations: [] Exploring Operation: 27+46=73, Resulting Numbers: [72, 73, 73] Generated Node #2: [72, 73, 73] from Operation: 27+46=73 Current State: 72:[72, 73, 73], Operations: ['27+46=73'] Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,72 equal: Goal Reached Exploring Operation: 145-73=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[27, 46, 72, 73], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [72, 73, 19] Generated Node #0,0: 72:[72, 73, 19] Operation: 46-27=19 Exploring Operation: 27+46=73, Resulting Numbers: [72, 73, 73] Generated Node #0,1: 72:[72, 73, 73] Operation: 27+46=73 Exploring Operation: 73-46=27, Resulting Numbers: [27, 72, 27] Generated Node #0,2: 72:[27, 72, 27] Operation: 73-46=27 Exploring Operation: 72-46=26, Resulting Numbers: [27, 73, 26] Generated Node #0,3: 72:[27, 73, 26] Operation: 72-46=26 Moving to Node #0,0 Current State: 72:[72, 73, 19], Operations: ['46-27=19'] Exploring Operation: 73-19=54, Resulting Numbers: [72, 54] Generated Node #0,0,0: 72:[72, 54] Operation: 73-19=54 Exploring Operation: 72-19=53, Resulting Numbers: [73, 53] Generated Node #0,0,1: 72:[73, 53] Operation: 72-19=53 Exploring Operation: 72+19=91, Resulting Numbers: [73, 91] Generated Node #0,0,2: 72:[73, 91] Operation: 72+19=91 Exploring Operation: 73-72=1, Resulting Numbers: [19, 1] Generated Node #0,0,3: 72:[19, 1] Operation: 73-72=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[19, 1], Operations: ['46-27=19', '73-72=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,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,0,0 Current State: 72:[72, 54], Operations: ['46-27=19', '73-19=54'] Exploring Operation: 72*54=3888, Resulting Numbers: [3888] 3888,72 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 72+54=126, Resulting Numbers: [126] 126,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,0,1 Current State: 72:[73, 53], Operations: ['46-27=19', '72-19=53'] Exploring Operation: 73*53=3869, Resulting Numbers: [3869] 3869,72 unequal: No Solution Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 73+53=126, Resulting Numbers: [126] 126,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,0,2 Current State: 72:[73, 91], Operations: ['46-27=19', '72+19=91'] Exploring Operation: 73*91=6643, Resulting Numbers: [6643] 6643,72 unequal: No Solution Exploring Operation: 73+91=164, Resulting Numbers: [164] 164,72 unequal: No Solution Exploring Operation: 91-73=18, Resulting Numbers: [18] 18,72 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: 72:[72, 73, 73], Operations: ['27+46=73'] Exploring Operation: 73-73=0, Resulting Numbers: [72, 0] Generated Node #0,1,0: 72:[72, 0] Operation: 73-73=0 Exploring Operation: 73/73=1, Resulting Numbers: [72, 1] Generated Node #0,1,1: 72:[72, 1] Operation: 73/73=1 Exploring Operation: 73-72=1, Resulting Numbers: [73, 1] Generated Node #0,1,2: 72:[73, 1] Operation: 73-72=1 Exploring Operation: 73-72=1, Resulting Numbers: [73, 1] Generated Node #0,1,3: 72:[73, 1] Operation: 73-72=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[72, 1], Operations: ['27+46=73', '73/73=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[27, 46, 72, 73], Operations: [] Exploring Operation: 27+46=73, Resulting Numbers: [72, 73, 73] Generated Node #0,1: 72:[72, 73, 73] Operation: 27+46=73 Moving to Node #0,1 Current State: 72:[72, 73, 73], Operations: ['27+46=73'] Exploring Operation: 73/73=1, Resulting Numbers: [72, 1] Generated Node #0,1,1: 72:[72, 1] Operation: 73/73=1 Moving to Node #0,1,1 Current State: 72:[72, 1], Operations: ['27+46=73', '73/73=1'] Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 48, 79, 42, 69 ]
60
[ "48-42=6", "79-69=10", "6*10=60" ]
Current State: 60:[48, 79, 42, 69], Operations: [] Exploring Operation: 48-42=6, Resulting Numbers: [79, 69, 6] Generated Node #2: [79, 69, 6] from Operation: 48-42=6 Current State: 60:[79, 69, 6], Operations: ['48-42=6'] Exploring Operation: 79-69=10, Resulting Numbers: [6, 10] Generated Node #3: [6, 10] from Operation: 79-69=10 Current State: 60:[6, 10], Operations: ['48-42=6', '79-69=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[48, 79, 42, 69], Operations: [] Exploring Operation: 79-48=31, Resulting Numbers: [42, 69, 31] Generated Node #0,0: 60:[42, 69, 31] Operation: 79-48=31 Exploring Operation: 79-69=10, Resulting Numbers: [48, 42, 10] Generated Node #0,1: 60:[48, 42, 10] Operation: 79-69=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[42, 69, 31], Operations: ['79-48=31'] Exploring Operation: 69-42=27, Resulting Numbers: [31, 27] Generated Node #0,0,0: 60:[31, 27] Operation: 69-42=27 Exploring Operation: 42-31=11, Resulting Numbers: [69, 11] Generated Node #0,0,1: 60:[69, 11] Operation: 42-31=11 Moving to Node #0,0,0 Current State: 60:[31, 27], Operations: ['79-48=31', '69-42=27'] Exploring Operation: 31+27=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[69, 11], Operations: ['79-48=31', '42-31=11'] Exploring Operation: 69-11=58, Resulting Numbers: [58] 58,60 unequal: No Solution Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,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 Current State: 60:[48, 42, 10], Operations: ['79-69=10'] Exploring Operation: 48+10=58, Resulting Numbers: [42, 58] Generated Node #0,1,0: 60:[42, 58] Operation: 48+10=58 Exploring Operation: 48-42=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 60:[10, 6] Operation: 48-42=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[10, 6], Operations: ['79-69=10', '48-42=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[48, 79, 42, 69], Operations: [] Exploring Operation: 79-69=10, Resulting Numbers: [48, 42, 10] Generated Node #0,1: 60:[48, 42, 10] Operation: 79-69=10 Moving to Node #0,1 Current State: 60:[48, 42, 10], Operations: ['79-69=10'] Exploring Operation: 48-42=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 60:[10, 6] Operation: 48-42=6 Moving to Node #0,1,1 Current State: 60:[10, 6], Operations: ['79-69=10', '48-42=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 36, 78, 54, 12 ]
44
[ "36/12=3", "78+54=132", "132/3=44" ]
Current State: 44:[36, 78, 54, 12], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [78, 54, 3] Generated Node #2: [78, 54, 3] from Operation: 36/12=3 Current State: 44:[78, 54, 3], Operations: ['36/12=3'] Exploring Operation: 78+54=132, Resulting Numbers: [3, 132] Generated Node #3: [3, 132] from Operation: 78+54=132 Current State: 44:[3, 132], Operations: ['36/12=3', '78+54=132'] Exploring Operation: 132/3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[36, 78, 54, 12], Operations: [] Exploring Operation: 78-36=42, Resulting Numbers: [54, 12, 42] Generated Node #0,0: 44:[54, 12, 42] Operation: 78-36=42 Exploring Operation: 78-54=24, Resulting Numbers: [36, 12, 24] Generated Node #0,1: 44:[36, 12, 24] Operation: 78-54=24 Exploring Operation: 78-12=66, Resulting Numbers: [36, 54, 66] Generated Node #0,2: 44:[36, 54, 66] Operation: 78-12=66 Exploring Operation: 54-36=18, Resulting Numbers: [78, 12, 18] Generated Node #0,3: 44:[78, 12, 18] Operation: 54-36=18 Moving to Node #0,1 Current State: 44:[36, 12, 24], Operations: ['78-54=24'] Exploring Operation: 36-24=12, Resulting Numbers: [12, 12] Generated Node #0,1,0: 44:[12, 12] Operation: 36-24=12 Exploring Operation: 36+12=48, Resulting Numbers: [24, 48] Generated Node #0,1,1: 44:[24, 48] Operation: 36+12=48 Exploring Operation: 36-12=24, Resulting Numbers: [24, 24] Generated Node #0,1,2: 44:[24, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [24, 3] Generated Node #0,1,3: 44:[24, 3] Operation: 36/12=3 Moving to Node #0,0 Current State: 44:[54, 12, 42], Operations: ['78-36=42'] Exploring Operation: 54-42=12, Resulting Numbers: [12, 12] Generated Node #0,0,0: 44:[12, 12] Operation: 54-42=12 Exploring Operation: 42-12=30, Resulting Numbers: [54, 30] Generated Node #0,0,1: 44:[54, 30] Operation: 42-12=30 Exploring Operation: 54-12=42, Resulting Numbers: [42, 42] Generated Node #0,0,2: 44:[42, 42] Operation: 54-12=42 Exploring Operation: 12+42=54, Resulting Numbers: [54, 54] Generated Node #0,0,3: 44:[54, 54] Operation: 12+42=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[12, 12], Operations: ['78-36=42', '54-42=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,44 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,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,0,2 Current State: 44:[42, 42], Operations: ['78-36=42', '54-12=42'] Exploring Operation: 42*42=1764, Resulting Numbers: [1764] 1764,44 unequal: No Solution Exploring Operation: 42+42=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 42/42=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 42-42=0, Resulting Numbers: [0] 0,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,0,1 Current State: 44:[54, 30], Operations: ['78-36=42', '42-12=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,44 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,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,0,3 Current State: 44:[54, 54], Operations: ['78-36=42', '12+42=54'] Exploring Operation: 54/54=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 54-54=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 54+54=108, Resulting Numbers: [108] 108,44 unequal: No Solution Exploring Operation: 54*54=2916, Resulting Numbers: [2916] 2916,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:[78, 12, 18], Operations: ['54-36=18'] Exploring Operation: 12+18=30, Resulting Numbers: [78, 30] Generated Node #0,3,0: 44:[78, 30] Operation: 12+18=30 Exploring Operation: 18-12=6, Resulting Numbers: [78, 6] Generated Node #0,3,1: 44:[78, 6] Operation: 18-12=6 Exploring Operation: 78-12=66, Resulting Numbers: [18, 66] Generated Node #0,3,2: 44:[18, 66] Operation: 78-12=66 Exploring Operation: 78-18=60, Resulting Numbers: [12, 60] Generated Node #0,3,3: 44:[12, 60] Operation: 78-18=60 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[12, 60], Operations: ['54-36=18', '78-18=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 12*60=720, Resulting Numbers: [720] 720,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,3,2 Current State: 44:[18, 66], Operations: ['54-36=18', '78-12=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 18*66=1188, Resulting Numbers: [1188] 1188,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,3,1 Current State: 44:[78, 6], Operations: ['54-36=18', '18-12=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 78*6=468, Resulting Numbers: [468] 468,44 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,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,3,0 Current State: 44:[78, 30], Operations: ['54-36=18', '12+18=30'] Exploring Operation: 78*30=2340, Resulting Numbers: [2340] 2340,44 unequal: No Solution Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 78+30=108, Resulting Numbers: [108] 108,44 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: 44:[36, 54, 66], Operations: ['78-12=66'] Exploring Operation: 54-36=18, Resulting Numbers: [66, 18] Generated Node #0,2,0: 44:[66, 18] Operation: 54-36=18 Exploring Operation: 66-54=12, Resulting Numbers: [36, 12] Generated Node #0,2,1: 44:[36, 12] Operation: 66-54=12 Exploring Operation: 66-36=30, Resulting Numbers: [54, 30] Generated Node #0,2,2: 44:[54, 30] Operation: 66-36=30 Exploring Operation: 36+54=90, Resulting Numbers: [66, 90] Generated Node #0,2,3: 44:[66, 90] Operation: 36+54=90 Moving to Node #0,1,0 Current State: 44:[12, 12], Operations: ['78-54=24', '36-24=12'] Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,44 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[24, 3], Operations: ['78-54=24', '36/12=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[24, 24], Operations: ['78-54=24', '36-12=24'] Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,44 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[24, 48], Operations: ['78-54=24', '36+12=48'] Exploring Operation: 48/24=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 48-24=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 24*48=1152, Resulting Numbers: [1152] 1152,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[36, 12], Operations: ['78-12=66', '66-54=12'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 36*12=432, Resulting Numbers: [432] 432,44 unequal: No Solution Exploring Operation: 36+12=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[54, 30], Operations: ['78-12=66', '66-36=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 54*30=1620, Resulting Numbers: [1620] 1620,44 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[66, 18], Operations: ['78-12=66', '54-36=18'] Exploring Operation: 66*18=1188, Resulting Numbers: [1188] 1188,44 unequal: No Solution Exploring Operation: 66+18=84, Resulting Numbers: [84] 84,44 unequal: No Solution Exploring Operation: 66-18=48, Resulting Numbers: [48] 48,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[66, 90], Operations: ['78-12=66', '36+54=90'] Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 66+90=156, Resulting Numbers: [156] 156,44 unequal: No Solution Exploring Operation: 66*90=5940, Resulting Numbers: [5940] 5940,44 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 40, 23, 43, 23 ]
49
[ "40-23=17", "43+23=66", "66-17=49" ]
Current State: 49:[40, 23, 43, 23], Operations: [] Exploring Operation: 40-23=17, Resulting Numbers: [43, 17] Generated Node #2: [43, 17] from Operation: 40-23=17 Current State: 49:[43, 17], Operations: ['40-23=17'] Exploring Operation: 43+23=66, Resulting Numbers: [17, 66] Generated Node #3: [17, 66] from Operation: 43+23=66 Current State: 49:[17, 66], Operations: ['40-23=17', '43+23=66'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[40, 23, 43, 23], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [40, 43, 0] Generated Node #0,0: 49:[40, 43, 0] Operation: 23-23=0 Exploring Operation: 23+23=46, Resulting Numbers: [40, 43, 46] Generated Node #0,1: 49:[40, 43, 46] Operation: 23+23=46 Exploring Operation: 40-23=17, Resulting Numbers: [43, 23, 17] Generated Node #0,2: 49:[43, 23, 17] Operation: 40-23=17 Exploring Operation: 23/23=1, Resulting Numbers: [40, 43, 1] Generated Node #0,3: 49:[40, 43, 1] Operation: 23/23=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[40, 43, 46], Operations: ['23+23=46'] Exploring Operation: 40+43=83, Resulting Numbers: [46, 83] Generated Node #0,1,0: 49:[46, 83] Operation: 40+43=83 Exploring Operation: 46-43=3, Resulting Numbers: [40, 3] Generated Node #0,1,1: 49:[40, 3] Operation: 46-43=3 Exploring Operation: 46-40=6, Resulting Numbers: [43, 6] Generated Node #0,1,2: 49:[43, 6] Operation: 46-40=6 Exploring Operation: 43-40=3, Resulting Numbers: [46, 3] Generated Node #0,1,3: 49:[46, 3] Operation: 43-40=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[43, 6], Operations: ['23+23=46', '46-40=6'] Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,49 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[40, 23, 43, 23], Operations: [] Exploring Operation: 23+23=46, Resulting Numbers: [40, 43, 46] Generated Node #0,1: 49:[40, 43, 46] Operation: 23+23=46 Moving to Node #0,1 Current State: 49:[40, 43, 46], Operations: ['23+23=46'] Exploring Operation: 46-40=6, Resulting Numbers: [43, 6] Generated Node #0,1,2: 49:[43, 6] Operation: 46-40=6 Moving to Node #0,1,2 Current State: 49:[43, 6], Operations: ['23+23=46', '46-40=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 71, 35, 16, 72 ]
92
[ "71-35=36", "72-16=56", "36+56=92" ]
Current State: 92:[71, 35, 16, 72], Operations: [] Exploring Operation: 71-35=36, Resulting Numbers: [16, 72, 36] Generated Node #2: [16, 72, 36] from Operation: 71-35=36 Current State: 92:[16, 72, 36], Operations: ['71-35=36'] Exploring Operation: 72-16=56, Resulting Numbers: [36, 56] Generated Node #3: [36, 56] from Operation: 72-16=56 Current State: 92:[36, 56], Operations: ['71-35=36', '72-16=56'] Exploring Operation: 36+56=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[71, 35, 16, 72], Operations: [] Exploring Operation: 16+72=88, Resulting Numbers: [71, 35, 88] Generated Node #0,0: 92:[71, 35, 88] Operation: 16+72=88 Exploring Operation: 72-71=1, Resulting Numbers: [35, 16, 1] Generated Node #0,1: 92:[35, 16, 1] Operation: 72-71=1 Exploring Operation: 71+16=87, Resulting Numbers: [35, 72, 87] Generated Node #0,2: 92:[35, 72, 87] Operation: 71+16=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[35, 16, 1], Operations: ['72-71=1'] Exploring Operation: 35-16=19, Resulting Numbers: [1, 19] Generated Node #0,1,0: 92:[1, 19] Operation: 35-16=19 Exploring Operation: 35+16=51, Resulting Numbers: [1, 51] Generated Node #0,1,1: 92:[1, 51] Operation: 35+16=51 Exploring Operation: 35+1=36, Resulting Numbers: [16, 36] Generated Node #0,1,2: 92:[16, 36] Operation: 35+1=36 Moving to Node #0,1,0 Current State: 92:[1, 19], Operations: ['72-71=1', '35-16=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[1, 51], Operations: ['72-71=1', '35+16=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,92 unequal: No Solution Exploring Operation: 1*51=51, Resulting Numbers: [51] 51,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[16, 36], Operations: ['72-71=1', '35+1=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,92 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,92 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,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:[71, 35, 88], Operations: ['16+72=88'] Exploring Operation: 71+35=106, Resulting Numbers: [88, 106] Generated Node #0,0,0: 92:[88, 106] Operation: 71+35=106 Exploring Operation: 71-35=36, Resulting Numbers: [88, 36] Generated Node #0,0,1: 92:[88, 36] Operation: 71-35=36 Exploring Operation: 88-71=17, Resulting Numbers: [35, 17] Generated Node #0,0,2: 92:[35, 17] Operation: 88-71=17 Moving to Node #0,0,1 Current State: 92:[88, 36], Operations: ['16+72=88', '71-35=36'] Exploring Operation: 88*36=3168, Resulting Numbers: [3168] 3168,92 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 88+36=124, Resulting Numbers: [124] 124,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[35, 17], Operations: ['16+72=88', '88-71=17'] Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,92 unequal: No Solution Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[88, 106], Operations: ['16+72=88', '71+35=106'] Exploring Operation: 88*106=9328, Resulting Numbers: [9328] 9328,92 unequal: No Solution Exploring Operation: 88+106=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 106-88=18, Resulting Numbers: [18] 18,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:[35, 72, 87], Operations: ['71+16=87'] Exploring Operation: 87-72=15, Resulting Numbers: [35, 15] Generated Node #0,2,0: 92:[35, 15] Operation: 87-72=15 Exploring Operation: 35+72=107, Resulting Numbers: [87, 107] Generated Node #0,2,1: 92:[87, 107] Operation: 35+72=107 Exploring Operation: 72-35=37, Resulting Numbers: [87, 37] Generated Node #0,2,2: 92:[87, 37] Operation: 72-35=37 Moving to Node #0,2,2 Current State: 92:[87, 37], Operations: ['71+16=87', '72-35=37'] Exploring Operation: 87*37=3219, Resulting Numbers: [3219] 3219,92 unequal: No Solution Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 87+37=124, Resulting Numbers: [124] 124,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[35, 15], Operations: ['71+16=87', '87-72=15'] Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,92 unequal: No Solution Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,92 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[87, 107], Operations: ['71+16=87', '35+72=107'] Exploring Operation: 87*107=9309, Resulting Numbers: [9309] 9309,92 unequal: No Solution Exploring Operation: 87+107=194, Resulting Numbers: [194] 194,92 unequal: No Solution Exploring Operation: 107-87=20, Resulting Numbers: [20] 20,92 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
[ 13, 39, 8, 44 ]
68
[ "39/13=3", "8*3=24", "44+24=68" ]
Current State: 68:[13, 39, 8, 44], Operations: [] Exploring Operation: 39/13=3, Resulting Numbers: [8, 44, 3] Generated Node #2: [8, 44, 3] from Operation: 39/13=3 Current State: 68:[8, 44, 3], Operations: ['39/13=3'] Exploring Operation: 8*3=24, Resulting Numbers: [44, 24] Generated Node #3: [44, 24] from Operation: 8*3=24 Current State: 68:[44, 24], Operations: ['39/13=3', '8*3=24'] Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[13, 39, 8, 44], Operations: [] Exploring Operation: 44-13=31, Resulting Numbers: [39, 8, 31] Generated Node #0,0: 68:[39, 8, 31] Operation: 44-13=31 Exploring Operation: 44-39=5, Resulting Numbers: [13, 8, 5] Generated Node #0,1: 68:[13, 8, 5] Operation: 44-39=5 Exploring Operation: 44-8=36, Resulting Numbers: [13, 39, 36] Generated Node #0,2: 68:[13, 39, 36] Operation: 44-8=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[13, 8, 5], Operations: ['44-39=5'] Exploring Operation: 13+5=18, Resulting Numbers: [8, 18] Generated Node #0,1,0: 68:[8, 18] Operation: 13+5=18 Exploring Operation: 13-8=5, Resulting Numbers: [5, 5] Generated Node #0,1,1: 68:[5, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [5, 21] Generated Node #0,1,2: 68:[5, 21] Operation: 13+8=21 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[5, 5], Operations: ['44-39=5', '13-8=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[8, 18], Operations: ['44-39=5', '13+5=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,68 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 68:[5, 21], Operations: ['44-39=5', '13+8=21'] Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[13, 39, 36], Operations: ['44-8=36'] Exploring Operation: 39-13=26, Resulting Numbers: [36, 26] Generated Node #0,2,0: 68:[36, 26] Operation: 39-13=26 Exploring Operation: 39-36=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 68:[13, 3] Operation: 39-36=3 Exploring Operation: 39/13=3, Resulting Numbers: [36, 3] Generated Node #0,2,2: 68:[36, 3] Operation: 39/13=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 68:[36, 3], Operations: ['44-8=36', '39/13=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,68 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 68:[13, 3], Operations: ['44-8=36', '39-36=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 68:[36, 26], Operations: ['44-8=36', '39-13=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,68 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,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,0 Current State: 68:[39, 8, 31], Operations: ['44-13=31'] Exploring Operation: 39+31=70, Resulting Numbers: [8, 70] Generated Node #0,0,0: 68:[8, 70] Operation: 39+31=70 Exploring Operation: 39-31=8, Resulting Numbers: [8, 8] Generated Node #0,0,1: 68:[8, 8] Operation: 39-31=8 Exploring Operation: 39-8=31, Resulting Numbers: [31, 31] Generated Node #0,0,2: 68:[31, 31] Operation: 39-8=31 Moving to Node #0,0,0 Current State: 68:[8, 70], Operations: ['44-13=31', '39+31=70'] Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,68 unequal: No Solution Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[31, 31], Operations: ['44-13=31', '39-8=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[8, 8], Operations: ['44-13=31', '39-31=8'] Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,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
mult_heuristic
[ 27, 15, 34, 60 ]
38
[ "27-15=12", "60-34=26", "12+26=38" ]
Current State: 38:[27, 15, 34, 60], Operations: [] Exploring Operation: 27-15=12, Resulting Numbers: [34, 60, 12] Generated Node #2: [34, 60, 12] from Operation: 27-15=12 Current State: 38:[34, 60, 12], Operations: ['27-15=12'] Exploring Operation: 60-34=26, Resulting Numbers: [12, 26] Generated Node #3: [12, 26] from Operation: 60-34=26 Current State: 38:[12, 26], Operations: ['27-15=12', '60-34=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[27, 15, 34, 60], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [15, 34, 33] Generated Node #0,0: 38:[15, 34, 33] Operation: 60-27=33 Moving to Node #0,0 Current State: 38:[15, 34, 33], Operations: ['60-27=33'] Exploring Operation: 34-15=19, Resulting Numbers: [33, 19] Generated Node #0,0,0: 38:[33, 19] Operation: 34-15=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[33, 19], Operations: ['60-27=33', '34-15=19'] Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,38 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
[ 70, 88, 91, 41 ]
68
[ "88-70=18", "91-41=50", "18+50=68" ]
Current State: 68:[70, 88, 91, 41], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [91, 41, 18] Generated Node #2: [91, 41, 18] from Operation: 88-70=18 Current State: 68:[91, 41, 18], Operations: ['88-70=18'] Exploring Operation: 91-41=50, Resulting Numbers: [18, 50] Generated Node #3: [18, 50] from Operation: 91-41=50 Current State: 68:[18, 50], Operations: ['88-70=18', '91-41=50'] Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[70, 88, 91, 41], Operations: [] Exploring Operation: 88-41=47, Resulting Numbers: [70, 91, 47] Generated Node #0,0: 68:[70, 91, 47] Operation: 88-41=47 Exploring Operation: 88-70=18, Resulting Numbers: [91, 41, 18] Generated Node #0,1: 68:[91, 41, 18] Operation: 88-70=18 Exploring Operation: 91-70=21, Resulting Numbers: [88, 41, 21] Generated Node #0,2: 68:[88, 41, 21] Operation: 91-70=21 Exploring Operation: 91-88=3, Resulting Numbers: [70, 41, 3] Generated Node #0,3: 68:[70, 41, 3] Operation: 91-88=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[70, 41, 3], Operations: ['91-88=3'] Exploring Operation: 70-41=29, Resulting Numbers: [3, 29] Generated Node #0,3,0: 68:[3, 29] Operation: 70-41=29 Exploring Operation: 70+3=73, Resulting Numbers: [41, 73] Generated Node #0,3,1: 68:[41, 73] Operation: 70+3=73 Exploring Operation: 70-3=67, Resulting Numbers: [41, 67] Generated Node #0,3,2: 68:[41, 67] Operation: 70-3=67 Exploring Operation: 41-3=38, Resulting Numbers: [70, 38] Generated Node #0,3,3: 68:[70, 38] Operation: 41-3=38 Moving to Node #0,3,0 Current State: 68:[3, 29], Operations: ['91-88=3', '70-41=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,68 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[70, 38], Operations: ['91-88=3', '41-3=38'] Exploring Operation: 70*38=2660, Resulting Numbers: [2660] 2660,68 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 70+38=108, Resulting Numbers: [108] 108,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[41, 67], Operations: ['91-88=3', '70-3=67'] Exploring Operation: 67-41=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 41*67=2747, Resulting Numbers: [2747] 2747,68 unequal: No Solution Exploring Operation: 41+67=108, Resulting Numbers: [108] 108,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[41, 73], Operations: ['91-88=3', '70+3=73'] Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,68 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[91, 41, 18], Operations: ['88-70=18'] Exploring Operation: 41+18=59, Resulting Numbers: [91, 59] Generated Node #0,1,0: 68:[91, 59] Operation: 41+18=59 Exploring Operation: 91-41=50, Resulting Numbers: [18, 50] Generated Node #0,1,1: 68:[18, 50] Operation: 91-41=50 Exploring Operation: 41-18=23, Resulting Numbers: [91, 23] Generated Node #0,1,2: 68:[91, 23] Operation: 41-18=23 Exploring Operation: 91-18=73, Resulting Numbers: [41, 73] Generated Node #0,1,3: 68:[41, 73] Operation: 91-18=73 Moving to Node #0,1,3 Current State: 68:[41, 73], Operations: ['88-70=18', '91-18=73'] Exploring Operation: 41+73=114, Resulting Numbers: [114] 114,68 unequal: No Solution Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,68 unequal: No Solution Exploring Operation: 41*73=2993, Resulting Numbers: [2993] 2993,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[18, 50], Operations: ['88-70=18', '91-41=50'] Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,68 unequal: No Solution Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[70, 88, 91, 41], Operations: [] Exploring Operation: 88-70=18, Resulting Numbers: [91, 41, 18] Generated Node #0,1: 68:[91, 41, 18] Operation: 88-70=18 Moving to Node #0,1 Current State: 68:[91, 41, 18], Operations: ['88-70=18'] Exploring Operation: 91-41=50, Resulting Numbers: [18, 50] Generated Node #0,1,1: 68:[18, 50] Operation: 91-41=50 Moving to Node #0,1,1 Current State: 68:[18, 50], Operations: ['88-70=18', '91-41=50'] Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 98, 57, 81, 93 ]
53
[ "98-57=41", "93-81=12", "41+12=53" ]
Current State: 53:[98, 57, 81, 93], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [81, 93, 41] Generated Node #2: [81, 93, 41] from Operation: 98-57=41 Current State: 53:[81, 93, 41], Operations: ['98-57=41'] Exploring Operation: 93-81=12, Resulting Numbers: [41, 12] Generated Node #3: [41, 12] from Operation: 93-81=12 Current State: 53:[41, 12], Operations: ['98-57=41', '93-81=12'] Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[98, 57, 81, 93], Operations: [] Exploring Operation: 98-57=41, Resulting Numbers: [81, 93, 41] Generated Node #0,0: 53:[81, 93, 41] Operation: 98-57=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[81, 93, 41], Operations: ['98-57=41'] Exploring Operation: 93-41=52, Resulting Numbers: [81, 52] Generated Node #0,0,0: 53:[81, 52] Operation: 93-41=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[81, 52], Operations: ['98-57=41', '93-41=52'] Exploring Operation: 81-52=29, Resulting Numbers: [29] 29,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 66, 47, 28, 33 ]
52
[ "66+47=113", "28+33=61", "113-61=52" ]
Current State: 52:[66, 47, 28, 33], Operations: [] Exploring Operation: 66+47=113, Resulting Numbers: [28, 33, 113] Generated Node #2: [28, 33, 113] from Operation: 66+47=113 Current State: 52:[28, 33, 113], Operations: ['66+47=113'] Exploring Operation: 28+33=61, Resulting Numbers: [113, 61] Generated Node #3: [113, 61] from Operation: 28+33=61 Current State: 52:[113, 61], Operations: ['66+47=113', '28+33=61'] Exploring Operation: 113-61=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[66, 47, 28, 33], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [47, 28, 33] Generated Node #0,0: 52:[47, 28, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [47, 28, 2] Generated Node #0,1: 52:[47, 28, 2] Operation: 66/33=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[47, 28, 2], Operations: ['66/33=2'] Exploring Operation: 47+2=49, Resulting Numbers: [28, 49] Generated Node #0,1,0: 52:[28, 49] Operation: 47+2=49 Exploring Operation: 28-2=26, Resulting Numbers: [47, 26] Generated Node #0,1,1: 52:[47, 26] Operation: 28-2=26 Moving to Node #0,1,0 Current State: 52:[28, 49], Operations: ['66/33=2', '47+2=49'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[47, 26], Operations: ['66/33=2', '28-2=26'] Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[47, 28, 33], Operations: ['66-33=33'] Exploring Operation: 33-28=5, Resulting Numbers: [47, 5] Generated Node #0,0,0: 52:[47, 5] Operation: 33-28=5 Exploring Operation: 47-33=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 52:[28, 14] Operation: 47-33=14 Moving to Node #0,0,1 Current State: 52:[28, 14], Operations: ['66-33=33', '47-33=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[47, 5], Operations: ['66-33=33', '33-28=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[66, 47, 28, 33], Operations: [] Exploring Operation: 66-33=33, Resulting Numbers: [47, 28, 33] Generated Node #0,0: 52:[47, 28, 33] Operation: 66-33=33 Moving to Node #0,0 Current State: 52:[47, 28, 33], Operations: ['66-33=33'] Exploring Operation: 33-28=5, Resulting Numbers: [47, 5] Generated Node #0,0,0: 52:[47, 5] Operation: 33-28=5 Moving to Node #0,0,0 Current State: 52:[47, 5], Operations: ['66-33=33', '33-28=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 15, 25, 9, 23 ]
24
[ "25-15=10", "23-9=14", "10+14=24" ]
Current State: 24:[15, 25, 9, 23], Operations: [] Exploring Operation: 25-15=10, Resulting Numbers: [9, 23, 10] Generated Node #2: [9, 23, 10] from Operation: 25-15=10 Current State: 24:[9, 23, 10], Operations: ['25-15=10'] Exploring Operation: 23-9=14, Resulting Numbers: [10, 14] Generated Node #3: [10, 14] from Operation: 23-9=14 Current State: 24:[10, 14], Operations: ['25-15=10', '23-9=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[15, 25, 9, 23], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [25, 9, 8] Generated Node #0,0: 24:[25, 9, 8] Operation: 23-15=8 Exploring Operation: 15+9=24, Resulting Numbers: [25, 23, 24] Generated Node #0,1: 24:[25, 23, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [25, 23, 6] Generated Node #0,2: 24:[25, 23, 6] Operation: 15-9=6 Moving to Node #0,0 Current State: 24:[25, 9, 8], Operations: ['23-15=8'] Exploring Operation: 25-8=17, Resulting Numbers: [9, 17] Generated Node #0,0,0: 24:[9, 17] Operation: 25-8=17 Exploring Operation: 25-9=16, Resulting Numbers: [8, 16] Generated Node #0,0,1: 24:[8, 16] Operation: 25-9=16 Exploring Operation: 9-8=1, Resulting Numbers: [25, 1] Generated Node #0,0,2: 24:[25, 1] Operation: 9-8=1 Moving to Node #0,1 Current State: 24:[25, 23, 24], Operations: ['15+9=24'] Exploring Operation: 25-23=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 24:[24, 2] Operation: 25-23=2 Exploring Operation: 24-23=1, Resulting Numbers: [25, 1] Generated Node #0,1,1: 24:[25, 1] Operation: 24-23=1 Exploring Operation: 25-24=1, Resulting Numbers: [23, 1] Generated Node #0,1,2: 24:[23, 1] Operation: 25-24=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[24, 2], Operations: ['15+9=24', '25-23=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,24 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,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,1 Current State: 24:[25, 1], Operations: ['15+9=24', '24-23=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[15, 25, 9, 23], Operations: [] Exploring Operation: 15+9=24, Resulting Numbers: [25, 23, 24] Generated Node #0,1: 24:[25, 23, 24] Operation: 15+9=24 Moving to Node #0,1 Current State: 24:[25, 23, 24], Operations: ['15+9=24'] Exploring Operation: 24-23=1, Resulting Numbers: [25, 1] Generated Node #0,1,1: 24:[25, 1] Operation: 24-23=1 Moving to Node #0,1,1 Current State: 24:[25, 1], Operations: ['15+9=24', '24-23=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 2, 58, 45, 51 ]
67
[ "58/2=29", "45+51=96", "96-29=67" ]
Current State: 67:[2, 58, 45, 51], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [45, 51, 29] Generated Node #2: [45, 51, 29] from Operation: 58/2=29 Current State: 67:[45, 51, 29], Operations: ['58/2=29'] Exploring Operation: 45+51=96, Resulting Numbers: [29, 96] Generated Node #3: [29, 96] from Operation: 45+51=96 Current State: 67:[29, 96], Operations: ['58/2=29', '45+51=96'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[2, 58, 45, 51], Operations: [] Exploring Operation: 2+58=60, Resulting Numbers: [45, 51, 60] Generated Node #0,0: 67:[45, 51, 60] Operation: 2+58=60 Exploring Operation: 2+45=47, Resulting Numbers: [58, 51, 47] Generated Node #0,1: 67:[58, 51, 47] Operation: 2+45=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[45, 51, 60], Operations: ['2+58=60'] Exploring Operation: 45+60=105, Resulting Numbers: [51, 105] Generated Node #0,0,0: 67:[51, 105] Operation: 45+60=105 Exploring Operation: 45+51=96, Resulting Numbers: [60, 96] Generated Node #0,0,1: 67:[60, 96] Operation: 45+51=96 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[60, 96], Operations: ['2+58=60', '45+51=96'] Exploring Operation: 60+96=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 96-60=36, Resulting Numbers: [36] 36,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[51, 105], Operations: ['2+58=60', '45+60=105'] Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[58, 51, 47], Operations: ['2+45=47'] Exploring Operation: 51+47=98, Resulting Numbers: [58, 98] Generated Node #0,1,0: 67:[58, 98] Operation: 51+47=98 Exploring Operation: 58+47=105, Resulting Numbers: [51, 105] Generated Node #0,1,1: 67:[51, 105] Operation: 58+47=105 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[58, 98], Operations: ['2+45=47', '51+47=98'] Exploring Operation: 58+98=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 98-58=40, Resulting Numbers: [40] 40,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[51, 105], Operations: ['2+45=47', '58+47=105'] Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 65, 37, 49 ]
39
[ "65-49=16", "16/8=2", "37+2=39" ]
Current State: 39:[8, 65, 37, 49], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [8, 37, 16] Generated Node #2: [8, 37, 16] from Operation: 65-49=16 Current State: 39:[8, 37, 16], Operations: ['65-49=16'] Exploring Operation: 16/8=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 16/8=2 Current State: 39:[37, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[8, 65, 37, 49], Operations: [] Exploring Operation: 65-8=57, Resulting Numbers: [37, 49, 57] Generated Node #0,0: 39:[37, 49, 57] Operation: 65-8=57 Exploring Operation: 65-37=28, Resulting Numbers: [8, 49, 28] Generated Node #0,1: 39:[8, 49, 28] Operation: 65-37=28 Exploring Operation: 49-37=12, Resulting Numbers: [8, 65, 12] Generated Node #0,2: 39:[8, 65, 12] Operation: 49-37=12 Exploring Operation: 65-49=16, Resulting Numbers: [8, 37, 16] Generated Node #0,3: 39:[8, 37, 16] Operation: 65-49=16 Exploring Operation: 49-8=41, Resulting Numbers: [65, 37, 41] Generated Node #0,4: 39:[65, 37, 41] Operation: 49-8=41 Moving to Node #0,3 Current State: 39:[8, 37, 16], Operations: ['65-49=16'] Exploring Operation: 16-8=8, Resulting Numbers: [37, 8] Generated Node #0,3,0: 39:[37, 8] Operation: 16-8=8 Exploring Operation: 8+37=45, Resulting Numbers: [16, 45] Generated Node #0,3,1: 39:[16, 45] Operation: 8+37=45 Exploring Operation: 16/8=2, Resulting Numbers: [37, 2] Generated Node #0,3,2: 39:[37, 2] Operation: 16/8=2 Exploring Operation: 37-8=29, Resulting Numbers: [16, 29] Generated Node #0,3,3: 39:[16, 29] Operation: 37-8=29 Exploring Operation: 8+16=24, Resulting Numbers: [37, 24] Generated Node #0,3,4: 39:[37, 24] Operation: 8+16=24 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 39:[37, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[8, 65, 37, 49], Operations: [] Exploring Operation: 65-49=16, Resulting Numbers: [8, 37, 16] Generated Node #0,3: 39:[8, 37, 16] Operation: 65-49=16 Moving to Node #0,3 Current State: 39:[8, 37, 16], Operations: ['65-49=16'] Exploring Operation: 16/8=2, Resulting Numbers: [37, 2] Generated Node #0,3,2: 39:[37, 2] Operation: 16/8=2 Moving to Node #0,3,2 Current State: 39:[37, 2], Operations: ['65-49=16', '16/8=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 68, 14, 18, 84 ]
20
[ "68+14=82", "18+84=102", "102-82=20" ]
Current State: 20:[68, 14, 18, 84], Operations: [] Exploring Operation: 68+14=82, Resulting Numbers: [18, 84, 82] Generated Node #2: [18, 84, 82] from Operation: 68+14=82 Current State: 20:[18, 84, 82], Operations: ['68+14=82'] Exploring Operation: 18+84=102, Resulting Numbers: [82, 102] Generated Node #3: [82, 102] from Operation: 18+84=102 Current State: 20:[82, 102], Operations: ['68+14=82', '18+84=102'] Exploring Operation: 102-82=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[68, 14, 18, 84], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [14, 18, 16] Generated Node #0,0: 20:[14, 18, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 20:[14, 18, 16], Operations: ['84-68=16'] Exploring Operation: 16-14=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 20:[18, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 20:[18, 2], Operations: ['84-68=16', '16-14=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[68, 14, 18, 84], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [14, 18, 16] Generated Node #0,0: 20:[14, 18, 16] Operation: 84-68=16 Moving to Node #0,0 Current State: 20:[14, 18, 16], Operations: ['84-68=16'] Exploring Operation: 16-14=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 20:[18, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 20:[18, 2], Operations: ['84-68=16', '16-14=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 84, 14, 36, 7 ]
34
[ "84/7=12", "36-14=22", "12+22=34" ]
Current State: 34:[84, 14, 36, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [14, 36, 12] Generated Node #2: [14, 36, 12] from Operation: 84/7=12 Current State: 34:[14, 36, 12], Operations: ['84/7=12'] Exploring Operation: 36-14=22, Resulting Numbers: [12, 22] Generated Node #3: [12, 22] from Operation: 36-14=22 Current State: 34:[12, 22], Operations: ['84/7=12', '36-14=22'] Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[84, 14, 36, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [14, 36, 12] Generated Node #0,0: 34:[14, 36, 12] Operation: 84/7=12 Exploring Operation: 84/14=6, Resulting Numbers: [36, 7, 6] Generated Node #0,1: 34:[36, 7, 6] Operation: 84/14=6 Exploring Operation: 84-36=48, Resulting Numbers: [14, 7, 48] Generated Node #0,2: 34:[14, 7, 48] Operation: 84-36=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[14, 36, 12], Operations: ['84/7=12'] Exploring Operation: 36-14=22, Resulting Numbers: [12, 22] Generated Node #0,0,0: 34:[12, 22] Operation: 36-14=22 Exploring Operation: 36/12=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 34:[14, 3] Operation: 36/12=3 Exploring Operation: 14-12=2, Resulting Numbers: [36, 2] Generated Node #0,0,2: 34:[36, 2] Operation: 14-12=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 34:[36, 2], Operations: ['84/7=12', '14-12=2'] Exploring Operation: 36+2=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[84, 14, 36, 7], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [14, 36, 12] Generated Node #0,0: 34:[14, 36, 12] Operation: 84/7=12 Moving to Node #0,0 Current State: 34:[14, 36, 12], Operations: ['84/7=12'] Exploring Operation: 14-12=2, Resulting Numbers: [36, 2] Generated Node #0,0,2: 34:[36, 2] Operation: 14-12=2 Moving to Node #0,0,2 Current State: 34:[36, 2], Operations: ['84/7=12', '14-12=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 35, 1, 50, 48 ]
34
[ "35+1=36", "50-48=2", "36-2=34" ]
Current State: 34:[35, 1, 50, 48], Operations: [] Exploring Operation: 35+1=36, Resulting Numbers: [50, 48, 36] Generated Node #2: [50, 48, 36] from Operation: 35+1=36 Current State: 34:[50, 48, 36], Operations: ['35+1=36'] Exploring Operation: 50-48=2, Resulting Numbers: [36, 2] Generated Node #3: [36, 2] from Operation: 50-48=2 Current State: 34:[36, 2], Operations: ['35+1=36', '50-48=2'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[35, 1, 50, 48], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [1, 48, 15] Generated Node #0,0: 34:[1, 48, 15] Operation: 50-35=15 Exploring Operation: 50-48=2, Resulting Numbers: [35, 1, 2] Generated Node #0,1: 34:[35, 1, 2] Operation: 50-48=2 Moving to Node #0,1 Current State: 34:[35, 1, 2], Operations: ['50-48=2'] Exploring Operation: 35-1=34, Resulting Numbers: [2, 34] Generated Node #0,1,0: 34:[2, 34] Operation: 35-1=34 Exploring Operation: 35*1=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 34:[2, 35] Operation: 35*1=35 Moving to Node #0,0 Current State: 34:[1, 48, 15], Operations: ['50-35=15'] Exploring Operation: 48-15=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 34:[1, 33] Operation: 48-15=33 Exploring Operation: 48-1=47, Resulting Numbers: [15, 47] Generated Node #0,0,1: 34:[15, 47] Operation: 48-1=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[1, 33], Operations: ['50-35=15', '48-15=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[35, 1, 50, 48], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [1, 48, 15] Generated Node #0,0: 34:[1, 48, 15] Operation: 50-35=15 Moving to Node #0,0 Current State: 34:[1, 48, 15], Operations: ['50-35=15'] Exploring Operation: 48-15=33, Resulting Numbers: [1, 33] Generated Node #0,0,0: 34:[1, 33] Operation: 48-15=33 Moving to Node #0,0,0 Current State: 34:[1, 33], Operations: ['50-35=15', '48-15=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 73, 69, 22, 2 ]
49
[ "73+69=142", "142/2=71", "71-22=49" ]
Current State: 49:[73, 69, 22, 2], Operations: [] Exploring Operation: 73+69=142, Resulting Numbers: [22, 2, 142] Generated Node #2: [22, 2, 142] from Operation: 73+69=142 Current State: 49:[22, 2, 142], Operations: ['73+69=142'] Exploring Operation: 142/2=71, Resulting Numbers: [22, 71] Generated Node #3: [22, 71] from Operation: 142/2=71 Current State: 49:[22, 71], Operations: ['73+69=142', '142/2=71'] Exploring Operation: 71-22=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[73, 69, 22, 2], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [22, 2, 4] Generated Node #0,0: 49:[22, 2, 4] Operation: 73-69=4 Exploring Operation: 73-22=51, Resulting Numbers: [69, 2, 51] Generated Node #0,1: 49:[69, 2, 51] Operation: 73-22=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[22, 2, 4], Operations: ['73-69=4'] Exploring Operation: 22/2=11, Resulting Numbers: [4, 11] Generated Node #0,0,0: 49:[4, 11] Operation: 22/2=11 Exploring Operation: 22*2=44, Resulting Numbers: [4, 44] Generated Node #0,0,1: 49:[4, 44] Operation: 22*2=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[4, 11], Operations: ['73-69=4', '22/2=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,49 unequal: No Solution No 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: 49:[4, 44], Operations: ['73-69=4', '22*2=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,49 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: 49:[69, 2, 51], Operations: ['73-22=51'] Exploring Operation: 69-51=18, Resulting Numbers: [2, 18] Generated Node #0,1,0: 49:[2, 18] Operation: 69-51=18 Exploring Operation: 69-2=67, Resulting Numbers: [51, 67] Generated Node #0,1,1: 49:[51, 67] Operation: 69-2=67 Moving to Node #0,1,0 Current State: 49:[2, 18], Operations: ['73-22=51', '69-51=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[51, 67], Operations: ['73-22=51', '69-2=67'] Exploring Operation: 51+67=118, Resulting Numbers: [118] 118,49 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,49 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
[ 75, 49, 77, 81 ]
31
[ "75+49=124", "81-77=4", "124/4=31" ]
Current State: 31:[75, 49, 77, 81], Operations: [] Exploring Operation: 75+49=124, Resulting Numbers: [77, 81, 124] Generated Node #2: [77, 81, 124] from Operation: 75+49=124 Current State: 31:[77, 81, 124], Operations: ['75+49=124'] Exploring Operation: 81-77=4, Resulting Numbers: [124, 4] Generated Node #3: [124, 4] from Operation: 81-77=4 Current State: 31:[124, 4], Operations: ['75+49=124', '81-77=4'] Exploring Operation: 124/4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[75, 49, 77, 81], Operations: [] Exploring Operation: 81-77=4, Resulting Numbers: [75, 49, 4] Generated Node #0,0: 31:[75, 49, 4] Operation: 81-77=4 Exploring Operation: 81-75=6, Resulting Numbers: [49, 77, 6] Generated Node #0,1: 31:[49, 77, 6] Operation: 81-75=6 Exploring Operation: 81-49=32, Resulting Numbers: [75, 77, 32] Generated Node #0,2: 31:[75, 77, 32] Operation: 81-49=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[75, 49, 4], Operations: ['81-77=4'] Exploring Operation: 75-49=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 31:[4, 26] Operation: 75-49=26 Exploring Operation: 75-4=71, Resulting Numbers: [49, 71] Generated Node #0,0,1: 31:[49, 71] Operation: 75-4=71 Exploring Operation: 49-4=45, Resulting Numbers: [75, 45] Generated Node #0,0,2: 31:[75, 45] Operation: 49-4=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[4, 26], Operations: ['81-77=4', '75-49=26'] Exploring Operation: 4*26=104, Resulting Numbers: [104] 104,31 unequal: No Solution Exploring Operation: 4+26=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[49, 71], Operations: ['81-77=4', '75-4=71'] Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,31 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[75, 45], Operations: ['81-77=4', '49-4=45'] Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[49, 77, 6], Operations: ['81-75=6'] Exploring Operation: 49-6=43, Resulting Numbers: [77, 43] Generated Node #0,1,0: 31:[77, 43] Operation: 49-6=43 Exploring Operation: 77-49=28, Resulting Numbers: [6, 28] Generated Node #0,1,1: 31:[6, 28] Operation: 77-49=28 Exploring Operation: 77-6=71, Resulting Numbers: [49, 71] Generated Node #0,1,2: 31:[49, 71] Operation: 77-6=71 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[6, 28], Operations: ['81-75=6', '77-49=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[77, 43], Operations: ['81-75=6', '49-6=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[49, 71], Operations: ['81-75=6', '77-6=71'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 49+71=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 49*71=3479, Resulting Numbers: [3479] 3479,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[75, 77, 32], Operations: ['81-49=32'] Exploring Operation: 77-32=45, Resulting Numbers: [75, 45] Generated Node #0,2,0: 31:[75, 45] Operation: 77-32=45 Exploring Operation: 75-32=43, Resulting Numbers: [77, 43] Generated Node #0,2,1: 31:[77, 43] Operation: 75-32=43 Exploring Operation: 77-75=2, Resulting Numbers: [32, 2] Generated Node #0,2,2: 31:[32, 2] Operation: 77-75=2 Moving to Node #0,2,2 Current State: 31:[32, 2], Operations: ['81-49=32', '77-75=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[75, 45], Operations: ['81-49=32', '77-32=45'] Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,31 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[77, 43], Operations: ['81-49=32', '75-32=43'] Exploring Operation: 77+43=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 77*43=3311, Resulting Numbers: [3311] 3311,31 unequal: No Solution Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,31 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
[ 32, 81, 73, 90 ]
32
[ "81-32=49", "90-73=17", "49-17=32" ]
Current State: 32:[32, 81, 73, 90], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [73, 90, 49] Generated Node #2: [73, 90, 49] from Operation: 81-32=49 Current State: 32:[73, 90, 49], Operations: ['81-32=49'] Exploring Operation: 90-73=17, Resulting Numbers: [49, 17] Generated Node #3: [49, 17] from Operation: 90-73=17 Current State: 32:[49, 17], Operations: ['81-32=49', '90-73=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[32, 81, 73, 90], Operations: [] Exploring Operation: 81-32=49, Resulting Numbers: [73, 90, 49] Generated Node #0,0: 32:[73, 90, 49] Operation: 81-32=49 Exploring Operation: 81-73=8, Resulting Numbers: [32, 90, 8] Generated Node #0,1: 32:[32, 90, 8] Operation: 81-73=8 Exploring Operation: 90-73=17, Resulting Numbers: [32, 81, 17] Generated Node #0,2: 32:[32, 81, 17] Operation: 90-73=17 Exploring Operation: 90-81=9, Resulting Numbers: [32, 73, 9] Generated Node #0,3: 32:[32, 73, 9] Operation: 90-81=9 Exploring Operation: 73-32=41, Resulting Numbers: [81, 90, 41] Generated Node #0,4: 32:[81, 90, 41] Operation: 73-32=41 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[32, 73, 9], Operations: ['90-81=9'] Exploring Operation: 32+9=41, Resulting Numbers: [73, 41] Generated Node #0,3,0: 32:[73, 41] Operation: 32+9=41 Exploring Operation: 73-32=41, Resulting Numbers: [9, 41] Generated Node #0,3,1: 32:[9, 41] Operation: 73-32=41 Exploring Operation: 73+9=82, Resulting Numbers: [32, 82] Generated Node #0,3,2: 32:[32, 82] Operation: 73+9=82 Exploring Operation: 32-9=23, Resulting Numbers: [73, 23] Generated Node #0,3,3: 32:[73, 23] Operation: 32-9=23 Exploring Operation: 73-9=64, Resulting Numbers: [32, 64] Generated Node #0,3,4: 32:[32, 64] Operation: 73-9=64 Moving to Node #0,3,1 Current State: 32:[9, 41], Operations: ['90-81=9', '73-32=41'] Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,32 unequal: No Solution Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[32, 81, 73, 90], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [32, 73, 9] Generated Node #0,3: 32:[32, 73, 9] Operation: 90-81=9 Moving to Node #0,3 Current State: 32:[32, 73, 9], Operations: ['90-81=9'] Exploring Operation: 73-32=41, Resulting Numbers: [9, 41] Generated Node #0,3,1: 32:[9, 41] Operation: 73-32=41 Moving to Node #0,3,1 Current State: 32:[9, 41], Operations: ['90-81=9', '73-32=41'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 59, 2, 6, 27 ]
14
[ "59-2=57", "27+57=84", "84/6=14" ]
Current State: 14:[59, 2, 6, 27], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [6, 27, 57] Generated Node #2: [6, 27, 57] from Operation: 59-2=57 Current State: 14:[6, 27, 57], Operations: ['59-2=57'] Exploring Operation: 27+57=84, Resulting Numbers: [6, 84] Generated Node #3: [6, 84] from Operation: 27+57=84 Current State: 14:[6, 84], Operations: ['59-2=57', '27+57=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[59, 2, 6, 27], Operations: [] Exploring Operation: 59-27=32, Resulting Numbers: [2, 6, 32] Generated Node #0,0: 14:[2, 6, 32] Operation: 59-27=32 Moving to Node #0,0 Current State: 14:[2, 6, 32], Operations: ['59-27=32'] Exploring Operation: 32/2=16, Resulting Numbers: [6, 16] Generated Node #0,0,0: 14:[6, 16] Operation: 32/2=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[6, 16], Operations: ['59-27=32', '32/2=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,14 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
[ 98, 99, 22, 64 ]
42
[ "99-98=1", "64-22=42", "1*42=42" ]
Current State: 42:[98, 99, 22, 64], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [22, 64, 1] Generated Node #2: [22, 64, 1] from Operation: 99-98=1 Current State: 42:[22, 64, 1], Operations: ['99-98=1'] Exploring Operation: 64-22=42, Resulting Numbers: [1, 42] Generated Node #3: [1, 42] from Operation: 64-22=42 Current State: 42:[1, 42], Operations: ['99-98=1', '64-22=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[98, 99, 22, 64], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [22, 64, 1] Generated Node #0,0: 42:[22, 64, 1] Operation: 99-98=1 Moving to Node #0,0 Current State: 42:[22, 64, 1], Operations: ['99-98=1'] Exploring Operation: 64-22=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 64-22=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['99-98=1', '64-22=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[98, 99, 22, 64], Operations: [] Exploring Operation: 99-98=1, Resulting Numbers: [22, 64, 1] Generated Node #0,0: 42:[22, 64, 1] Operation: 99-98=1 Moving to Node #0,0 Current State: 42:[22, 64, 1], Operations: ['99-98=1'] Exploring Operation: 64-22=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 64-22=42 Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['99-98=1', '64-22=42'] Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 80, 54, 70, 40 ]
24
[ "80+54=134", "70+40=110", "134-110=24" ]
Current State: 24:[80, 54, 70, 40], Operations: [] Exploring Operation: 80+54=134, Resulting Numbers: [70, 40, 134] Generated Node #2: [70, 40, 134] from Operation: 80+54=134 Current State: 24:[70, 40, 134], Operations: ['80+54=134'] Exploring Operation: 70+40=110, Resulting Numbers: [134, 110] Generated Node #3: [134, 110] from Operation: 70+40=110 Current State: 24:[134, 110], Operations: ['80+54=134', '70+40=110'] Exploring Operation: 134-110=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[80, 54, 70, 40], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [70, 40, 26] Generated Node #0,0: 24:[70, 40, 26] Operation: 80-54=26 Exploring Operation: 80-70=10, Resulting Numbers: [54, 40, 10] Generated Node #0,1: 24:[54, 40, 10] Operation: 80-70=10 Exploring Operation: 80/40=2, Resulting Numbers: [54, 70, 2] Generated Node #0,2: 24:[54, 70, 2] Operation: 80/40=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[54, 40, 10], Operations: ['80-70=10'] Exploring Operation: 54-10=44, Resulting Numbers: [40, 44] Generated Node #0,1,0: 24:[40, 44] Operation: 54-10=44 Exploring Operation: 54-40=14, Resulting Numbers: [10, 14] Generated Node #0,1,1: 24:[10, 14] Operation: 54-40=14 Exploring Operation: 40/10=4, Resulting Numbers: [54, 4] Generated Node #0,1,2: 24:[54, 4] Operation: 40/10=4 Moving to Node #0,1,1 Current State: 24:[10, 14], Operations: ['80-70=10', '54-40=14'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,24 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[80, 54, 70, 40], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [54, 40, 10] Generated Node #0,1: 24:[54, 40, 10] Operation: 80-70=10 Moving to Node #0,1 Current State: 24:[54, 40, 10], Operations: ['80-70=10'] Exploring Operation: 54-40=14, Resulting Numbers: [10, 14] Generated Node #0,1,1: 24:[10, 14] Operation: 54-40=14 Moving to Node #0,1,1 Current State: 24:[10, 14], Operations: ['80-70=10', '54-40=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 42, 46, 12, 26 ]
45
[ "42*26=1092", "1092/12=91", "91-46=45" ]
Current State: 45:[42, 46, 12, 26], Operations: [] Exploring Operation: 42*26=1092, Resulting Numbers: [46, 12, 1092] Generated Node #2: [46, 12, 1092] from Operation: 42*26=1092 Current State: 45:[46, 12, 1092], Operations: ['42*26=1092'] Exploring Operation: 1092/12=91, Resulting Numbers: [46, 91] Generated Node #3: [46, 91] from Operation: 1092/12=91 Current State: 45:[46, 91], Operations: ['42*26=1092', '1092/12=91'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[42, 46, 12, 26], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [42, 46, 14] Generated Node #0,0: 45:[42, 46, 14] Operation: 26-12=14 Exploring Operation: 42-26=16, Resulting Numbers: [46, 12, 16] Generated Node #0,1: 45:[46, 12, 16] Operation: 42-26=16 Moving to Node #0,0 Current State: 45:[42, 46, 14], Operations: ['26-12=14'] Exploring Operation: 46-42=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 45:[14, 4] Operation: 46-42=4 Exploring Operation: 42/14=3, Resulting Numbers: [46, 3] Generated Node #0,0,1: 45:[46, 3] Operation: 42/14=3 Moving to Node #0,1 Current State: 45:[46, 12, 16], Operations: ['42-26=16'] Exploring Operation: 46-12=34, Resulting Numbers: [16, 34] Generated Node #0,1,0: 45:[16, 34] Operation: 46-12=34 Exploring Operation: 16-12=4, Resulting Numbers: [46, 4] Generated Node #0,1,1: 45:[46, 4] Operation: 16-12=4 Moving to Node #0,0,1 Current State: 45:[46, 3], Operations: ['26-12=14', '42/14=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[46, 4], Operations: ['42-26=16', '16-12=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,45 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[14, 4], Operations: ['26-12=14', '46-42=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,45 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[16, 34], Operations: ['42-26=16', '46-12=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,45 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 29, 4, 21, 17 ]
78
[ "29*4=116", "21+17=38", "116-38=78" ]
Current State: 78:[29, 4, 21, 17], Operations: [] Exploring Operation: 29*4=116, Resulting Numbers: [21, 17, 116] Generated Node #2: [21, 17, 116] from Operation: 29*4=116 Current State: 78:[21, 17, 116], Operations: ['29*4=116'] Exploring Operation: 21+17=38, Resulting Numbers: [116, 38] Generated Node #3: [116, 38] from Operation: 21+17=38 Current State: 78:[116, 38], Operations: ['29*4=116', '21+17=38'] Exploring Operation: 116-38=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[29, 4, 21, 17], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [4, 17, 8] Generated Node #0,0: 78:[4, 17, 8] Operation: 29-21=8 Exploring Operation: 21+17=38, Resulting Numbers: [29, 4, 38] Generated Node #0,1: 78:[29, 4, 38] Operation: 21+17=38 Exploring Operation: 29-17=12, Resulting Numbers: [4, 21, 12] Generated Node #0,2: 78:[4, 21, 12] Operation: 29-17=12 Exploring Operation: 21-17=4, Resulting Numbers: [29, 4, 4] Generated Node #0,3: 78:[29, 4, 4] Operation: 21-17=4 Exploring Operation: 4+21=25, Resulting Numbers: [29, 17, 25] Generated Node #0,4: 78:[29, 17, 25] Operation: 4+21=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[29, 4, 38], Operations: ['21+17=38'] Exploring Operation: 38-29=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 78:[4, 9] Operation: 38-29=9 Exploring Operation: 29-4=25, Resulting Numbers: [38, 25] Generated Node #0,1,1: 78:[38, 25] Operation: 29-4=25 Exploring Operation: 38-4=34, Resulting Numbers: [29, 34] Generated Node #0,1,2: 78:[29, 34] Operation: 38-4=34 Exploring Operation: 4+38=42, Resulting Numbers: [29, 42] Generated Node #0,1,3: 78:[29, 42] Operation: 4+38=42 Exploring Operation: 29+4=33, Resulting Numbers: [38, 33] Generated Node #0,1,4: 78:[38, 33] Operation: 29+4=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[38, 25], Operations: ['21+17=38', '29-4=25'] Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,78 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[4, 9], Operations: ['21+17=38', '38-29=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[29, 42], Operations: ['21+17=38', '4+38=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,78 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 78:[38, 33], Operations: ['21+17=38', '29+4=33'] Exploring Operation: 38+33=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 38*33=1254, Resulting Numbers: [1254] 1254,78 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[29, 34], Operations: ['21+17=38', '38-4=34'] Exploring Operation: 29+34=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 29*34=986, Resulting Numbers: [986] 986,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[29, 4, 4], Operations: ['21-17=4'] Exploring Operation: 4-4=0, Resulting Numbers: [29, 0] Generated Node #0,3,0: 78:[29, 0] Operation: 4-4=0 Exploring Operation: 29-4=25, Resulting Numbers: [4, 25] Generated Node #0,3,1: 78:[4, 25] Operation: 29-4=25 Exploring Operation: 4+4=8, Resulting Numbers: [29, 8] Generated Node #0,3,2: 78:[29, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [29, 1] Generated Node #0,3,3: 78:[29, 1] Operation: 4/4=1 Exploring Operation: 29-4=25, Resulting Numbers: [4, 25] Generated Node #0,3,4: 78:[4, 25] Operation: 29-4=25 Moving to Node #0,3,1 Current State: 78:[4, 25], Operations: ['21-17=4', '29-4=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,3,4 Current State: 78:[4, 25], Operations: ['21-17=4', '29-4=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[29, 1], Operations: ['21-17=4', '4/4=1'] Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,3,0 Current State: 78:[29, 0], Operations: ['21-17=4', '4-4=0'] Exploring Operation: 29*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[29, 8], Operations: ['21-17=4', '4+4=8'] Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,78 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[4, 17, 8], Operations: ['29-21=8'] Exploring Operation: 17-8=9, Resulting Numbers: [4, 9] Generated Node #0,0,0: 78:[4, 9] Operation: 17-8=9 Exploring Operation: 17-4=13, Resulting Numbers: [8, 13] Generated Node #0,0,1: 78:[8, 13] Operation: 17-4=13 Exploring Operation: 4+8=12, Resulting Numbers: [17, 12] Generated Node #0,0,2: 78:[17, 12] Operation: 4+8=12 Exploring Operation: 17+8=25, Resulting Numbers: [4, 25] Generated Node #0,0,3: 78:[4, 25] Operation: 17+8=25 Exploring Operation: 8/4=2, Resulting Numbers: [17, 2] Generated Node #0,0,4: 78:[17, 2] Operation: 8/4=2 Moving to Node #0,0,1 Current State: 78:[8, 13], Operations: ['29-21=8', '17-4=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,78 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[4, 25], Operations: ['29-21=8', '17+8=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[4, 9], Operations: ['29-21=8', '17-8=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[17, 2], Operations: ['29-21=8', '8/4=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[17, 12], Operations: ['29-21=8', '4+8=12'] Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[4, 21, 12], Operations: ['29-17=12'] Exploring Operation: 12/4=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 78:[21, 3] Operation: 12/4=3 Exploring Operation: 21-12=9, Resulting Numbers: [4, 9] Generated Node #0,2,1: 78:[4, 9] Operation: 21-12=9 Exploring Operation: 21-4=17, Resulting Numbers: [12, 17] Generated Node #0,2,2: 78:[12, 17] Operation: 21-4=17 Exploring Operation: 4*21=84, Resulting Numbers: [12, 84] Generated Node #0,2,3: 78:[12, 84] Operation: 4*21=84 Exploring Operation: 4+21=25, Resulting Numbers: [12, 25] Generated Node #0,2,4: 78:[12, 25] Operation: 4+21=25 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 78:[12, 25], Operations: ['29-17=12', '4+21=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,78 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[4, 9], Operations: ['29-17=12', '21-12=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[21, 3], Operations: ['29-17=12', '12/4=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,78 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[12, 17], Operations: ['29-17=12', '21-4=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,78 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[12, 84], Operations: ['29-17=12', '4*21=84'] Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 12+84=96, Resulting Numbers: [96] 96,78 unequal: No Solution Exploring Operation: 12*84=1008, Resulting Numbers: [1008] 1008,78 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 78:[29, 17, 25], Operations: ['4+21=25'] Exploring Operation: 17+25=42, Resulting Numbers: [29, 42] Generated Node #0,4,0: 78:[29, 42] Operation: 17+25=42 Exploring Operation: 29+17=46, Resulting Numbers: [25, 46] Generated Node #0,4,1: 78:[25, 46] Operation: 29+17=46 Exploring Operation: 29-17=12, Resulting Numbers: [25, 12] Generated Node #0,4,2: 78:[25, 12] Operation: 29-17=12 Exploring Operation: 29-25=4, Resulting Numbers: [17, 4] Generated Node #0,4,3: 78:[17, 4] Operation: 29-25=4 Exploring Operation: 25-17=8, Resulting Numbers: [29, 8] Generated Node #0,4,4: 78:[29, 8] Operation: 25-17=8 Moving to Node #0,4,2 Current State: 78:[25, 12], Operations: ['4+21=25', '29-17=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,78 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,78 unequal: No Solution Moving to Node #0,4,4 Current State: 78:[29, 8], Operations: ['4+21=25', '25-17=8'] Exploring Operation: 29*8=232, Resulting Numbers: [232] 232,78 unequal: No Solution Exploring Operation: 29+8=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,78 unequal: No Solution Moving to Node #0,4,3 Current State: 78:[17, 4], Operations: ['4+21=25', '29-25=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,78 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,78 unequal: No Solution Moving to Node #0,4,0 Current State: 78:[29, 42], Operations: ['4+21=25', '17+25=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,78 unequal: No Solution Moving to Node #0,4,1 Current State: 78:[25, 46], Operations: ['4+21=25', '29+17=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,78 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,78 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,78 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
[ 74, 1, 76, 69 ]
72
[ "74-1=73", "76+69=145", "145-73=72" ]
Current State: 72:[74, 1, 76, 69], Operations: [] Exploring Operation: 74-1=73, Resulting Numbers: [76, 69, 73] Generated Node #2: [76, 69, 73] from Operation: 74-1=73 Current State: 72:[76, 69, 73], Operations: ['74-1=73'] Exploring Operation: 76+69=145, Resulting Numbers: [73, 145] Generated Node #3: [73, 145] from Operation: 76+69=145 Current State: 72:[73, 145], Operations: ['74-1=73', '76+69=145'] Exploring Operation: 145-73=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[74, 1, 76, 69], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [74, 1, 7] Generated Node #0,0: 72:[74, 1, 7] Operation: 76-69=7 Exploring Operation: 76-74=2, Resulting Numbers: [1, 69, 2] Generated Node #0,1: 72:[1, 69, 2] Operation: 76-74=2 Exploring Operation: 74-69=5, Resulting Numbers: [1, 76, 5] Generated Node #0,2: 72:[1, 76, 5] Operation: 74-69=5 Exploring Operation: 74-1=73, Resulting Numbers: [76, 69, 73] Generated Node #0,3: 72:[76, 69, 73] Operation: 74-1=73 Exploring Operation: 76-1=75, Resulting Numbers: [74, 69, 75] Generated Node #0,4: 72:[74, 69, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[74, 1, 7], Operations: ['76-69=7'] Exploring Operation: 74-1=73, Resulting Numbers: [7, 73] Generated Node #0,0,0: 72:[7, 73] Operation: 74-1=73 Exploring Operation: 1+7=8, Resulting Numbers: [74, 8] Generated Node #0,0,1: 72:[74, 8] Operation: 1+7=8 Exploring Operation: 7-1=6, Resulting Numbers: [74, 6] Generated Node #0,0,2: 72:[74, 6] Operation: 7-1=6 Exploring Operation: 74/1=74, Resulting Numbers: [7, 74] Generated Node #0,0,3: 72:[7, 74] Operation: 74/1=74 Exploring Operation: 74*1=74, Resulting Numbers: [7, 74] Generated Node #0,0,4: 72:[7, 74] Operation: 74*1=74 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[7, 73], Operations: ['76-69=7', '74-1=73'] Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,72 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,72 unequal: No Solution No 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: 72:[74, 8], Operations: ['76-69=7', '1+7=8'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,72 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,72 unequal: No Solution No 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: 72:[74, 6], Operations: ['76-69=7', '7-1=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,72 unequal: No Solution No 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: 72:[7, 74], Operations: ['76-69=7', '74/1=74'] Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,72 unequal: No Solution No 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: 72:[7, 74], Operations: ['76-69=7', '74*1=74'] Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,72 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: 72:[1, 69, 2], Operations: ['76-74=2'] Exploring Operation: 1+69=70, Resulting Numbers: [2, 70] Generated Node #0,1,0: 72:[2, 70] Operation: 1+69=70 Exploring Operation: 69+2=71, Resulting Numbers: [1, 71] Generated Node #0,1,1: 72:[1, 71] Operation: 69+2=71 Exploring Operation: 69/1=69, Resulting Numbers: [2, 69] Generated Node #0,1,2: 72:[2, 69] Operation: 69/1=69 Exploring Operation: 1+2=3, Resulting Numbers: [69, 3] Generated Node #0,1,3: 72:[69, 3] Operation: 1+2=3 Exploring Operation: 1*69=69, Resulting Numbers: [2, 69] Generated Node #0,1,4: 72:[2, 69] Operation: 1*69=69 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[2, 70], Operations: ['76-74=2', '1+69=70'] Exploring Operation: 2*70=140, Resulting Numbers: [140] 140,72 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,72 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[74, 1, 76, 69], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [1, 69, 2] Generated Node #0,1: 72:[1, 69, 2] Operation: 76-74=2 Moving to Node #0,1 Current State: 72:[1, 69, 2], Operations: ['76-74=2'] Exploring Operation: 1+69=70, Resulting Numbers: [2, 70] Generated Node #0,1,0: 72:[2, 70] Operation: 1+69=70 Moving to Node #0,1,0 Current State: 72:[2, 70], Operations: ['76-74=2', '1+69=70'] Exploring Operation: 2+70=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 96, 69, 94, 66 ]
55
[ "96-69=27", "94-66=28", "27+28=55" ]
Current State: 55:[96, 69, 94, 66], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [94, 66, 27] Generated Node #2: [94, 66, 27] from Operation: 96-69=27 Current State: 55:[94, 66, 27], Operations: ['96-69=27'] Exploring Operation: 94-66=28, Resulting Numbers: [27, 28] Generated Node #3: [27, 28] from Operation: 94-66=28 Current State: 55:[27, 28], Operations: ['96-69=27', '94-66=28'] Exploring Operation: 27+28=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[96, 69, 94, 66], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [96, 66, 25] Generated Node #0,0: 55:[96, 66, 25] Operation: 94-69=25 Exploring Operation: 96-66=30, Resulting Numbers: [69, 94, 30] Generated Node #0,1: 55:[69, 94, 30] Operation: 96-66=30 Exploring Operation: 96-94=2, Resulting Numbers: [69, 66, 2] Generated Node #0,2: 55:[69, 66, 2] Operation: 96-94=2 Exploring Operation: 96-69=27, Resulting Numbers: [94, 66, 27] Generated Node #0,3: 55:[94, 66, 27] Operation: 96-69=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[69, 66, 2], Operations: ['96-94=2'] Exploring Operation: 69-2=67, Resulting Numbers: [66, 67] Generated Node #0,2,0: 55:[66, 67] Operation: 69-2=67 Exploring Operation: 66-2=64, Resulting Numbers: [69, 64] Generated Node #0,2,1: 55:[69, 64] Operation: 66-2=64 Exploring Operation: 69-66=3, Resulting Numbers: [2, 3] Generated Node #0,2,2: 55:[2, 3] Operation: 69-66=3 Exploring Operation: 69+2=71, Resulting Numbers: [66, 71] Generated Node #0,2,3: 55:[66, 71] Operation: 69+2=71 Moving to Node #0,2,2 Current State: 55:[2, 3], Operations: ['96-94=2', '69-66=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[69, 64], Operations: ['96-94=2', '66-2=64'] Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,55 unequal: No Solution Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[66, 67], Operations: ['96-94=2', '69-2=67'] Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[66, 71], Operations: ['96-94=2', '69+2=71'] Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,55 unequal: No Solution Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[96, 66, 25], Operations: ['94-69=25'] Exploring Operation: 96-25=71, Resulting Numbers: [66, 71] Generated Node #0,0,0: 55:[66, 71] Operation: 96-25=71 Exploring Operation: 96+25=121, Resulting Numbers: [66, 121] Generated Node #0,0,1: 55:[66, 121] Operation: 96+25=121 Exploring Operation: 96-66=30, Resulting Numbers: [25, 30] Generated Node #0,0,2: 55:[25, 30] Operation: 96-66=30 Exploring Operation: 66-25=41, Resulting Numbers: [96, 41] Generated Node #0,0,3: 55:[96, 41] Operation: 66-25=41 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[66, 71], Operations: ['94-69=25', '96-25=71'] Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,55 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,55 unequal: No Solution No 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: 55:[25, 30], Operations: ['94-69=25', '96-66=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[96, 69, 94, 66], Operations: [] Exploring Operation: 94-69=25, Resulting Numbers: [96, 66, 25] Generated Node #0,0: 55:[96, 66, 25] Operation: 94-69=25 Moving to Node #0,0 Current State: 55:[96, 66, 25], Operations: ['94-69=25'] Exploring Operation: 96-66=30, Resulting Numbers: [25, 30] Generated Node #0,0,2: 55:[25, 30] Operation: 96-66=30 Moving to Node #0,0,2 Current State: 55:[25, 30], Operations: ['94-69=25', '96-66=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 54, 52, 95, 93 ]
28
[ "95-93=2", "52/2=26", "54-26=28" ]
Current State: 28:[54, 52, 95, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [54, 52, 2] Generated Node #2: [54, 52, 2] from Operation: 95-93=2 Current State: 28:[54, 52, 2], Operations: ['95-93=2'] Exploring Operation: 52/2=26, Resulting Numbers: [54, 26] Generated Node #3: [54, 26] from Operation: 52/2=26 Current State: 28:[54, 26], Operations: ['95-93=2', '52/2=26'] Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[54, 52, 95, 93], Operations: [] Exploring Operation: 95-54=41, Resulting Numbers: [52, 93, 41] Generated Node #0,0: 28:[52, 93, 41] Operation: 95-54=41 Exploring Operation: 95-93=2, Resulting Numbers: [54, 52, 2] Generated Node #0,1: 28:[54, 52, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 28:[54, 52, 2], Operations: ['95-93=2'] Exploring Operation: 54/2=27, Resulting Numbers: [52, 27] Generated Node #0,1,0: 28:[52, 27] Operation: 54/2=27 Exploring Operation: 54-52=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 28:[2, 2] Operation: 54-52=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[2, 2], Operations: ['95-93=2', '54-52=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[52, 27], Operations: ['95-93=2', '54/2=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,28 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,28 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: 28:[52, 93, 41], Operations: ['95-54=41'] Exploring Operation: 93-41=52, Resulting Numbers: [52, 52] Generated Node #0,0,0: 28:[52, 52] Operation: 93-41=52 Exploring Operation: 93-52=41, Resulting Numbers: [41, 41] Generated Node #0,0,1: 28:[41, 41] Operation: 93-52=41 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[41, 41], Operations: ['95-54=41', '93-52=41'] Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[52, 52], Operations: ['95-54=41', '93-41=52'] Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,28 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
[ 36, 45, 94, 9 ]
94
[ "45-36=9", "94+9=103", "103-9=94" ]
Current State: 94:[36, 45, 94, 9], Operations: [] Exploring Operation: 45-36=9, Resulting Numbers: [94, 9, 9] Generated Node #2: [94, 9, 9] from Operation: 45-36=9 Current State: 94:[94, 9, 9], Operations: ['45-36=9'] Exploring Operation: 94+9=103, Resulting Numbers: [103] 103,94 equal: Goal Reached Exploring Operation: 103-9=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[36, 45, 94, 9], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [36, 94, 5] Generated Node #0,0: 94:[36, 94, 5] Operation: 45/9=5 Exploring Operation: 45-36=9, Resulting Numbers: [94, 9, 9] Generated Node #0,1: 94:[94, 9, 9] Operation: 45-36=9 Exploring Operation: 36/9=4, Resulting Numbers: [45, 94, 4] Generated Node #0,2: 94:[45, 94, 4] Operation: 36/9=4 Exploring Operation: 36+9=45, Resulting Numbers: [45, 94, 45] Generated Node #0,3: 94:[45, 94, 45] Operation: 36+9=45 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[45, 94, 4], Operations: ['36/9=4'] Exploring Operation: 45-4=41, Resulting Numbers: [94, 41] Generated Node #0,2,0: 94:[94, 41] Operation: 45-4=41 Exploring Operation: 94-45=49, Resulting Numbers: [4, 49] Generated Node #0,2,1: 94:[4, 49] Operation: 94-45=49 Exploring Operation: 94+4=98, Resulting Numbers: [45, 98] Generated Node #0,2,2: 94:[45, 98] Operation: 94+4=98 Exploring Operation: 45+4=49, Resulting Numbers: [94, 49] Generated Node #0,2,3: 94:[94, 49] Operation: 45+4=49 Moving to Node #0,2,3 Current State: 94:[94, 49], Operations: ['36/9=4', '45+4=49'] Exploring Operation: 94-49=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 94+49=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 94*49=4606, Resulting Numbers: [4606] 4606,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[4, 49], Operations: ['36/9=4', '94-45=49'] Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,94 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,94 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[45, 98], Operations: ['36/9=4', '94+4=98'] Exploring Operation: 45+98=143, Resulting Numbers: [143] 143,94 unequal: No Solution Exploring Operation: 45*98=4410, Resulting Numbers: [4410] 4410,94 unequal: No Solution Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[94, 41], Operations: ['36/9=4', '45-4=41'] Exploring Operation: 94+41=135, Resulting Numbers: [135] 135,94 unequal: No Solution Exploring Operation: 94*41=3854, Resulting Numbers: [3854] 3854,94 unequal: No Solution Exploring Operation: 94-41=53, Resulting Numbers: [53] 53,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,3 Current State: 94:[45, 94, 45], Operations: ['36+9=45'] Exploring Operation: 45+45=90, Resulting Numbers: [94, 90] Generated Node #0,3,0: 94:[94, 90] Operation: 45+45=90 Exploring Operation: 94-45=49, Resulting Numbers: [45, 49] Generated Node #0,3,1: 94:[45, 49] Operation: 94-45=49 Exploring Operation: 45-45=0, Resulting Numbers: [94, 0] Generated Node #0,3,2: 94:[94, 0] Operation: 45-45=0 Exploring Operation: 45/45=1, Resulting Numbers: [94, 1] Generated Node #0,3,3: 94:[94, 1] Operation: 45/45=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 94:[94, 1], Operations: ['36+9=45', '45/45=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[36, 45, 94, 9], Operations: [] Exploring Operation: 36+9=45, Resulting Numbers: [45, 94, 45] Generated Node #0,3: 94:[45, 94, 45] Operation: 36+9=45 Moving to Node #0,3 Current State: 94:[45, 94, 45], Operations: ['36+9=45'] Exploring Operation: 45/45=1, Resulting Numbers: [94, 1] Generated Node #0,3,3: 94:[94, 1] Operation: 45/45=1 Moving to Node #0,3,3 Current State: 94:[94, 1], Operations: ['36+9=45', '45/45=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 17, 40, 43, 90 ]
47
[ "43-40=3", "90/3=30", "17+30=47" ]
Current State: 47:[17, 40, 43, 90], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [17, 90, 3] Generated Node #2: [17, 90, 3] from Operation: 43-40=3 Current State: 47:[17, 90, 3], Operations: ['43-40=3'] Exploring Operation: 90/3=30, Resulting Numbers: [17, 30] Generated Node #3: [17, 30] from Operation: 90/3=30 Current State: 47:[17, 30], Operations: ['43-40=3', '90/3=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[17, 40, 43, 90], Operations: [] Exploring Operation: 90-17=73, Resulting Numbers: [40, 43, 73] Generated Node #0,0: 47:[40, 43, 73] Operation: 90-17=73 Moving to Node #0,0 Current State: 47:[40, 43, 73], Operations: ['90-17=73'] Exploring Operation: 73-40=33, Resulting Numbers: [43, 33] Generated Node #0,0,0: 47:[43, 33] Operation: 73-40=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[43, 33], Operations: ['90-17=73', '73-40=33'] Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,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
[ 23, 85, 86, 98 ]
93
[ "86+98=184", "184/23=8", "85+8=93" ]
Current State: 93:[23, 85, 86, 98], Operations: [] Exploring Operation: 86+98=184, Resulting Numbers: [23, 85, 184] Generated Node #2: [23, 85, 184] from Operation: 86+98=184 Current State: 93:[23, 85, 184], Operations: ['86+98=184'] Exploring Operation: 184/23=8, Resulting Numbers: [85, 8] Generated Node #3: [85, 8] from Operation: 184/23=8 Current State: 93:[85, 8], Operations: ['86+98=184', '184/23=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[23, 85, 86, 98], Operations: [] Exploring Operation: 98-85=13, Resulting Numbers: [23, 86, 13] Generated Node #0,0: 93:[23, 86, 13] Operation: 98-85=13 Exploring Operation: 23+85=108, Resulting Numbers: [86, 98, 108] Generated Node #0,1: 93:[86, 98, 108] Operation: 23+85=108 Exploring Operation: 98-86=12, Resulting Numbers: [23, 85, 12] Generated Node #0,2: 93:[23, 85, 12] Operation: 98-86=12 Exploring Operation: 86-85=1, Resulting Numbers: [23, 98, 1] Generated Node #0,3: 93:[23, 98, 1] Operation: 86-85=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[23, 98, 1], Operations: ['86-85=1'] Exploring Operation: 23+1=24, Resulting Numbers: [98, 24] Generated Node #0,3,0: 93:[98, 24] Operation: 23+1=24 Exploring Operation: 98-1=97, Resulting Numbers: [23, 97] Generated Node #0,3,1: 93:[23, 97] Operation: 98-1=97 Exploring Operation: 23/1=23, Resulting Numbers: [98, 23] Generated Node #0,3,2: 93:[98, 23] Operation: 23/1=23 Exploring Operation: 23*1=23, Resulting Numbers: [98, 23] Generated Node #0,3,3: 93:[98, 23] Operation: 23*1=23 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[98, 24], Operations: ['86-85=1', '23+1=24'] Exploring Operation: 98*24=2352, Resulting Numbers: [2352] 2352,93 unequal: No Solution Exploring Operation: 98+24=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 98-24=74, Resulting Numbers: [74] 74,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[23, 97], Operations: ['86-85=1', '98-1=97'] Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[98, 23], Operations: ['86-85=1', '23/1=23'] Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,93 unequal: No Solution Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[98, 23], Operations: ['86-85=1', '23*1=23'] Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,93 unequal: No Solution Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,93 unequal: No Solution Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[23, 86, 13], Operations: ['98-85=13'] Exploring Operation: 23+86=109, Resulting Numbers: [13, 109] Generated Node #0,0,0: 93:[13, 109] Operation: 23+86=109 Exploring Operation: 86+13=99, Resulting Numbers: [23, 99] Generated Node #0,0,1: 93:[23, 99] Operation: 86+13=99 Exploring Operation: 23+13=36, Resulting Numbers: [86, 36] Generated Node #0,0,2: 93:[86, 36] Operation: 23+13=36 Exploring Operation: 23-13=10, Resulting Numbers: [86, 10] Generated Node #0,0,3: 93:[86, 10] Operation: 23-13=10 Moving to Node #0,0,2 Current State: 93:[86, 36], Operations: ['98-85=13', '23+13=36'] Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,93 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,93 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[86, 10], Operations: ['98-85=13', '23-13=10'] Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,93 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[23, 99], Operations: ['98-85=13', '86+13=99'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 23*99=2277, Resulting Numbers: [2277] 2277,93 unequal: No Solution Exploring Operation: 23+99=122, Resulting Numbers: [122] 122,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[13, 109], Operations: ['98-85=13', '23+86=109'] Exploring Operation: 109-13=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 13*109=1417, Resulting Numbers: [1417] 1417,93 unequal: No Solution Exploring Operation: 13+109=122, Resulting Numbers: [122] 122,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[23, 85, 12], Operations: ['98-86=12'] Exploring Operation: 23-12=11, Resulting Numbers: [85, 11] Generated Node #0,2,0: 93:[85, 11] Operation: 23-12=11 Exploring Operation: 23+85=108, Resulting Numbers: [12, 108] Generated Node #0,2,1: 93:[12, 108] Operation: 23+85=108 Exploring Operation: 23+12=35, Resulting Numbers: [85, 35] Generated Node #0,2,2: 93:[85, 35] Operation: 23+12=35 Exploring Operation: 85+12=97, Resulting Numbers: [23, 97] Generated Node #0,2,3: 93:[23, 97] Operation: 85+12=97 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[85, 35], Operations: ['98-86=12', '23+12=35'] Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,93 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[23, 97], Operations: ['98-86=12', '85+12=97'] Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[85, 11], Operations: ['98-86=12', '23-12=11'] Exploring Operation: 85*11=935, Resulting Numbers: [935] 935,93 unequal: No Solution Exploring Operation: 85-11=74, Resulting Numbers: [74] 74,93 unequal: No Solution Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[12, 108], Operations: ['98-86=12', '23+85=108'] Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 12*108=1296, Resulting Numbers: [1296] 1296,93 unequal: No Solution Exploring Operation: 12+108=120, Resulting Numbers: [120] 120,93 unequal: No Solution Exploring Operation: 108/12=9, Resulting Numbers: [9] 9,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[86, 98, 108], Operations: ['23+85=108'] Exploring Operation: 86+98=184, Resulting Numbers: [108, 184] Generated Node #0,1,0: 93:[108, 184] Operation: 86+98=184 Exploring Operation: 108-98=10, Resulting Numbers: [86, 10] Generated Node #0,1,1: 93:[86, 10] Operation: 108-98=10 Exploring Operation: 108-86=22, Resulting Numbers: [98, 22] Generated Node #0,1,2: 93:[98, 22] Operation: 108-86=22 Exploring Operation: 98-86=12, Resulting Numbers: [108, 12] Generated Node #0,1,3: 93:[108, 12] Operation: 98-86=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[86, 10], Operations: ['23+85=108', '108-98=10'] Exploring Operation: 86*10=860, Resulting Numbers: [860] 860,93 unequal: No Solution Exploring Operation: 86-10=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 86+10=96, Resulting Numbers: [96] 96,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[98, 22], Operations: ['23+85=108', '108-86=22'] Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,93 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[108, 12], Operations: ['23+85=108', '98-86=12'] Exploring Operation: 108*12=1296, Resulting Numbers: [1296] 1296,93 unequal: No Solution Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,93 unequal: No Solution Exploring Operation: 108/12=9, Resulting Numbers: [9] 9,93 unequal: No Solution Exploring Operation: 108+12=120, Resulting Numbers: [120] 120,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[108, 184], Operations: ['23+85=108', '86+98=184'] Exploring Operation: 184-108=76, Resulting Numbers: [76] 76,93 unequal: No Solution Exploring Operation: 108*184=19872, Resulting Numbers: [19872] 19872,93 unequal: No Solution Exploring Operation: 108+184=292, Resulting Numbers: [292] 292,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 99, 96, 8, 75 ]
86
[ "99-96=3", "8+75=83", "3+83=86" ]
Current State: 86:[99, 96, 8, 75], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [8, 75, 3] Generated Node #2: [8, 75, 3] from Operation: 99-96=3 Current State: 86:[8, 75, 3], Operations: ['99-96=3'] Exploring Operation: 8+75=83, Resulting Numbers: [3, 83] Generated Node #3: [3, 83] from Operation: 8+75=83 Current State: 86:[3, 83], Operations: ['99-96=3', '8+75=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[99, 96, 8, 75], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [96, 75, 91] Generated Node #0,0: 86:[96, 75, 91] Operation: 99-8=91 Exploring Operation: 96-8=88, Resulting Numbers: [99, 75, 88] Generated Node #0,1: 86:[99, 75, 88] Operation: 96-8=88 Exploring Operation: 99-96=3, Resulting Numbers: [8, 75, 3] Generated Node #0,2: 86:[8, 75, 3] Operation: 99-96=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[8, 75, 3], Operations: ['99-96=3'] Exploring Operation: 8+75=83, Resulting Numbers: [3, 83] Generated Node #0,2,0: 86:[3, 83] Operation: 8+75=83 Exploring Operation: 75+3=78, Resulting Numbers: [8, 78] Generated Node #0,2,1: 86:[8, 78] Operation: 75+3=78 Exploring Operation: 8-3=5, Resulting Numbers: [75, 5] Generated Node #0,2,2: 86:[75, 5] Operation: 8-3=5 Moving to Node #0,2,0 Current State: 86:[3, 83], Operations: ['99-96=3', '8+75=83'] Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,86 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,86 unequal: No Solution Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[99, 96, 8, 75], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [8, 75, 3] Generated Node #0,2: 86:[8, 75, 3] Operation: 99-96=3 Moving to Node #0,2 Current State: 86:[8, 75, 3], Operations: ['99-96=3'] Exploring Operation: 8+75=83, Resulting Numbers: [3, 83] Generated Node #0,2,0: 86:[3, 83] Operation: 8+75=83 Moving to Node #0,2,0 Current State: 86:[3, 83], Operations: ['99-96=3', '8+75=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 21, 31, 9, 28 ]
54
[ "31-28=3", "21*3=63", "63-9=54" ]
Current State: 54:[21, 31, 9, 28], Operations: [] Exploring Operation: 31-28=3, Resulting Numbers: [21, 9, 3] Generated Node #2: [21, 9, 3] from Operation: 31-28=3 Current State: 54:[21, 9, 3], Operations: ['31-28=3'] Exploring Operation: 21*3=63, Resulting Numbers: [9, 63] Generated Node #3: [9, 63] from Operation: 21*3=63 Current State: 54:[9, 63], Operations: ['31-28=3', '21*3=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[21, 31, 9, 28], Operations: [] Exploring Operation: 31-21=10, Resulting Numbers: [9, 28, 10] Generated Node #0,0: 54:[9, 28, 10] Operation: 31-21=10 Exploring Operation: 21+9=30, Resulting Numbers: [31, 28, 30] Generated Node #0,1: 54:[31, 28, 30] Operation: 21+9=30 Exploring Operation: 21+31=52, Resulting Numbers: [9, 28, 52] Generated Node #0,2: 54:[9, 28, 52] Operation: 21+31=52 Exploring Operation: 31-28=3, Resulting Numbers: [21, 9, 3] Generated Node #0,3: 54:[21, 9, 3] Operation: 31-28=3 Exploring Operation: 28-21=7, Resulting Numbers: [31, 9, 7] Generated Node #0,4: 54:[31, 9, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[9, 28, 10], Operations: ['31-21=10'] Exploring Operation: 9+28=37, Resulting Numbers: [10, 37] Generated Node #0,0,0: 54:[10, 37] Operation: 9+28=37 Exploring Operation: 10-9=1, Resulting Numbers: [28, 1] Generated Node #0,0,1: 54:[28, 1] Operation: 10-9=1 Exploring Operation: 9+10=19, Resulting Numbers: [28, 19] Generated Node #0,0,2: 54:[28, 19] Operation: 9+10=19 Exploring Operation: 28-9=19, Resulting Numbers: [10, 19] Generated Node #0,0,3: 54:[10, 19] Operation: 28-9=19 Exploring Operation: 28-10=18, Resulting Numbers: [9, 18] Generated Node #0,0,4: 54:[9, 18] Operation: 28-10=18 Moving to Node #0,0,4 Current State: 54:[9, 18], Operations: ['31-21=10', '28-10=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,54 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[28, 19], Operations: ['31-21=10', '9+10=19'] Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,54 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[28, 1], Operations: ['31-21=10', '10-9=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[10, 19], Operations: ['31-21=10', '28-9=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[10, 37], Operations: ['31-21=10', '9+28=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[9, 28, 52], Operations: ['21+31=52'] Exploring Operation: 28-9=19, Resulting Numbers: [52, 19] Generated Node #0,2,0: 54:[52, 19] Operation: 28-9=19 Exploring Operation: 52-9=43, Resulting Numbers: [28, 43] Generated Node #0,2,1: 54:[28, 43] Operation: 52-9=43 Exploring Operation: 9+52=61, Resulting Numbers: [28, 61] Generated Node #0,2,2: 54:[28, 61] Operation: 9+52=61 Exploring Operation: 52-28=24, Resulting Numbers: [9, 24] Generated Node #0,2,3: 54:[9, 24] Operation: 52-28=24 Exploring Operation: 9+28=37, Resulting Numbers: [52, 37] Generated Node #0,2,4: 54:[52, 37] Operation: 9+28=37 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[52, 19], Operations: ['21+31=52', '28-9=19'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,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,2,3 Current State: 54:[9, 24], Operations: ['21+31=52', '52-28=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,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,2,2 Current State: 54:[28, 61], Operations: ['21+31=52', '9+52=61'] Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,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,2,1 Current State: 54:[28, 43], Operations: ['21+31=52', '52-9=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,54 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,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,2,4 Current State: 54:[52, 37], Operations: ['21+31=52', '9+28=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,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,3 Current State: 54:[21, 9, 3], Operations: ['31-28=3'] Exploring Operation: 21-9=12, Resulting Numbers: [3, 12] Generated Node #0,3,0: 54:[3, 12] Operation: 21-9=12 Exploring Operation: 21-3=18, Resulting Numbers: [9, 18] Generated Node #0,3,1: 54:[9, 18] Operation: 21-3=18 Exploring Operation: 21/3=7, Resulting Numbers: [9, 7] Generated Node #0,3,2: 54:[9, 7] Operation: 21/3=7 Exploring Operation: 21+9=30, Resulting Numbers: [3, 30] Generated Node #0,3,3: 54:[3, 30] Operation: 21+9=30 Exploring Operation: 21+3=24, Resulting Numbers: [9, 24] Generated Node #0,3,4: 54:[9, 24] Operation: 21+3=24 Moving to Node #0,3,1 Current State: 54:[9, 18], Operations: ['31-28=3', '21-3=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,54 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[9, 7], Operations: ['31-28=3', '21/3=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,54 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,54 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[3, 12], Operations: ['31-28=3', '21-9=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,54 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[3, 30], Operations: ['31-28=3', '21+9=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,54 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,54 unequal: No Solution Moving to Node #0,3,4 Current State: 54:[9, 24], Operations: ['31-28=3', '21+3=24'] Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[31, 9, 7], Operations: ['28-21=7'] Exploring Operation: 9+7=16, Resulting Numbers: [31, 16] Generated Node #0,4,0: 54:[31, 16] Operation: 9+7=16 Exploring Operation: 9-7=2, Resulting Numbers: [31, 2] Generated Node #0,4,1: 54:[31, 2] Operation: 9-7=2 Exploring Operation: 31-9=22, Resulting Numbers: [7, 22] Generated Node #0,4,2: 54:[7, 22] Operation: 31-9=22 Exploring Operation: 31-7=24, Resulting Numbers: [9, 24] Generated Node #0,4,3: 54:[9, 24] Operation: 31-7=24 Exploring Operation: 31+7=38, Resulting Numbers: [9, 38] Generated Node #0,4,4: 54:[9, 38] Operation: 31+7=38 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 54:[9, 24], Operations: ['28-21=7', '31-7=24'] Exploring Operation: 9*24=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 9+24=33, Resulting Numbers: [33] 33,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,4,1 Current State: 54:[31, 2], Operations: ['28-21=7', '9-7=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,54 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,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,4,2 Current State: 54:[7, 22], Operations: ['28-21=7', '31-9=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,54 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,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,4,0 Current State: 54:[31, 16], Operations: ['28-21=7', '9+7=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,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,4,4 Current State: 54:[9, 38], Operations: ['28-21=7', '31+7=38'] Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,54 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,54 unequal: No Solution Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,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:[31, 28, 30], Operations: ['21+9=30'] Exploring Operation: 31-28=3, Resulting Numbers: [30, 3] Generated Node #0,1,0: 54:[30, 3] Operation: 31-28=3 Exploring Operation: 31+28=59, Resulting Numbers: [30, 59] Generated Node #0,1,1: 54:[30, 59] Operation: 31+28=59 Exploring Operation: 30-28=2, Resulting Numbers: [31, 2] Generated Node #0,1,2: 54:[31, 2] Operation: 30-28=2 Exploring Operation: 31+30=61, Resulting Numbers: [28, 61] Generated Node #0,1,3: 54:[28, 61] Operation: 31+30=61 Exploring Operation: 31-30=1, Resulting Numbers: [28, 1] Generated Node #0,1,4: 54:[28, 1] Operation: 31-30=1 Moving to Node #0,1,4 Current State: 54:[28, 1], Operations: ['21+9=30', '31-30=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[30, 3], Operations: ['21+9=30', '31-28=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,54 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[31, 2], Operations: ['21+9=30', '30-28=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[30, 59], Operations: ['21+9=30', '31+28=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 30*59=1770, Resulting Numbers: [1770] 1770,54 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[28, 61], Operations: ['21+9=30', '31+30=61'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,54 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 13, 41, 5, 41 ]
100
[ "13+41=54", "5+41=46", "54+46=100" ]
Current State: 100:[13, 41, 5, 41], Operations: [] Exploring Operation: 13+41=54, Resulting Numbers: [5, 54] Generated Node #2: [5, 54] from Operation: 13+41=54 Current State: 100:[5, 54], Operations: ['13+41=54'] Exploring Operation: 5+41=46, Resulting Numbers: [54, 46] Generated Node #3: [54, 46] from Operation: 5+41=46 Current State: 100:[54, 46], Operations: ['13+41=54', '5+41=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[13, 41, 5, 41], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [5, 41, 28] Generated Node #0,0: 100:[5, 41, 28] Operation: 41-13=28 Exploring Operation: 41-41=0, Resulting Numbers: [13, 5, 0] Generated Node #0,1: 100:[13, 5, 0] Operation: 41-41=0 Exploring Operation: 41/41=1, Resulting Numbers: [13, 5, 1] Generated Node #0,2: 100:[13, 5, 1] Operation: 41/41=1 Exploring Operation: 41-13=28, Resulting Numbers: [41, 5, 28] Generated Node #0,3: 100:[41, 5, 28] Operation: 41-13=28 Moving to Node #0,2 Current State: 100:[13, 5, 1], Operations: ['41/41=1'] Exploring Operation: 13-1=12, Resulting Numbers: [5, 12] Generated Node #0,2,0: 100:[5, 12] Operation: 13-1=12 Exploring Operation: 13+5=18, Resulting Numbers: [1, 18] Generated Node #0,2,1: 100:[1, 18] Operation: 13+5=18 Exploring Operation: 13-5=8, Resulting Numbers: [1, 8] Generated Node #0,2,2: 100:[1, 8] Operation: 13-5=8 Exploring Operation: 13*1=13, Resulting Numbers: [5, 13] Generated Node #0,2,3: 100:[5, 13] Operation: 13*1=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[5, 12], Operations: ['41/41=1', '13-1=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[1, 18], Operations: ['41/41=1', '13+5=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,100 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[1, 8], Operations: ['41/41=1', '13-5=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,100 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[5, 13], Operations: ['41/41=1', '13*1=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 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: 100:[13, 5, 0], Operations: ['41-41=0'] Exploring Operation: 13*0=0, Resulting Numbers: [5, 0] Generated Node #0,1,0: 100:[5, 0] Operation: 13*0=0 Exploring Operation: 13+0=13, Resulting Numbers: [5, 13] Generated Node #0,1,1: 100:[5, 13] Operation: 13+0=13 Exploring Operation: 5+0=5, Resulting Numbers: [13, 5] Generated Node #0,1,2: 100:[13, 5] Operation: 5+0=5 Exploring Operation: 13-0=13, Resulting Numbers: [5, 13] Generated Node #0,1,3: 100:[5, 13] Operation: 13-0=13 Moving to Node #0,3 Current State: 100:[41, 5, 28], Operations: ['41-13=28'] Exploring Operation: 41-5=36, Resulting Numbers: [28, 36] Generated Node #0,3,0: 100:[28, 36] Operation: 41-5=36 Exploring Operation: 41-28=13, Resulting Numbers: [5, 13] Generated Node #0,3,1: 100:[5, 13] Operation: 41-28=13 Exploring Operation: 41+5=46, Resulting Numbers: [28, 46] Generated Node #0,3,2: 100:[28, 46] Operation: 41+5=46 Exploring Operation: 28-5=23, Resulting Numbers: [41, 23] Generated Node #0,3,3: 100:[41, 23] Operation: 28-5=23 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[5, 13], Operations: ['41-13=28', '41-28=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[28, 46], Operations: ['41-13=28', '41+5=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,100 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[41, 23], Operations: ['41-13=28', '28-5=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,100 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[28, 36], Operations: ['41-13=28', '41-5=36'] Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[5, 41, 28], Operations: ['41-13=28'] Exploring Operation: 5+41=46, Resulting Numbers: [28, 46] Generated Node #0,0,0: 100:[28, 46] Operation: 5+41=46 Exploring Operation: 28-5=23, Resulting Numbers: [41, 23] Generated Node #0,0,1: 100:[41, 23] Operation: 28-5=23 Exploring Operation: 41-5=36, Resulting Numbers: [28, 36] Generated Node #0,0,2: 100:[28, 36] Operation: 41-5=36 Exploring Operation: 41-28=13, Resulting Numbers: [5, 13] Generated Node #0,0,3: 100:[5, 13] Operation: 41-28=13 Moving to Node #0,1,0 Current State: 100:[5, 0], Operations: ['41-41=0', '13*0=0'] Exploring Operation: 5-0=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 5*0=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 5+0=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[13, 5], Operations: ['41-41=0', '5+0=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[5, 13], Operations: ['41-41=0', '13+0=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[5, 13], Operations: ['41-13=28', '41-28=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,100 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[5, 13], Operations: ['41-41=0', '13-0=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[28, 46], Operations: ['41-13=28', '5+41=46'] Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,100 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,100 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[41, 23], Operations: ['41-13=28', '28-5=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[28, 36], Operations: ['41-13=28', '41-5=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,100 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,100 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 61, 32, 26, 28 ]
91
[ "61+32=93", "28-26=2", "93-2=91" ]
Current State: 91:[61, 32, 26, 28], Operations: [] Exploring Operation: 61+32=93, Resulting Numbers: [26, 28, 93] Generated Node #2: [26, 28, 93] from Operation: 61+32=93 Current State: 91:[26, 28, 93], Operations: ['61+32=93'] Exploring Operation: 28-26=2, Resulting Numbers: [93, 2] Generated Node #3: [93, 2] from Operation: 28-26=2 Current State: 91:[93, 2], Operations: ['61+32=93', '28-26=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[61, 32, 26, 28], Operations: [] Exploring Operation: 61+32=93, Resulting Numbers: [26, 28, 93] Generated Node #0,0: 91:[26, 28, 93] Operation: 61+32=93 Exploring Operation: 61+28=89, Resulting Numbers: [32, 26, 89] Generated Node #0,1: 91:[32, 26, 89] Operation: 61+28=89 Moving to Node #0,0 Current State: 91:[26, 28, 93], Operations: ['61+32=93'] Exploring Operation: 26+28=54, Resulting Numbers: [93, 54] Generated Node #0,0,0: 91:[93, 54] Operation: 26+28=54 Exploring Operation: 28-26=2, Resulting Numbers: [93, 2] Generated Node #0,0,1: 91:[93, 2] Operation: 28-26=2 Moving to Node #0,1 Current State: 91:[32, 26, 89], Operations: ['61+28=89'] Exploring Operation: 32-26=6, Resulting Numbers: [89, 6] Generated Node #0,1,0: 91:[89, 6] Operation: 32-26=6 Exploring Operation: 32+26=58, Resulting Numbers: [89, 58] Generated Node #0,1,1: 91:[89, 58] Operation: 32+26=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[89, 6], Operations: ['61+28=89', '32-26=6'] Exploring Operation: 89-6=83, Resulting Numbers: [83] 83,91 unequal: No Solution Exploring Operation: 89+6=95, Resulting Numbers: [95] 95,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[89, 58], Operations: ['61+28=89', '32+26=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,91 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,91 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: 91:[93, 2], Operations: ['61+32=93', '28-26=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,91 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[61, 32, 26, 28], Operations: [] Exploring Operation: 61+32=93, Resulting Numbers: [26, 28, 93] Generated Node #0,0: 91:[26, 28, 93] Operation: 61+32=93 Moving to Node #0,0 Current State: 91:[26, 28, 93], Operations: ['61+32=93'] Exploring Operation: 28-26=2, Resulting Numbers: [93, 2] Generated Node #0,0,1: 91:[93, 2] Operation: 28-26=2 Moving to Node #0,0,1 Current State: 91:[93, 2], Operations: ['61+32=93', '28-26=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 22, 70, 40, 32 ]
47
[ "32-22=10", "70/10=7", "40+7=47" ]
Current State: 47:[22, 70, 40, 32], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [70, 40, 10] Generated Node #2: [70, 40, 10] from Operation: 32-22=10 Current State: 47:[70, 40, 10], Operations: ['32-22=10'] Exploring Operation: 70/10=7, Resulting Numbers: [40, 7] Generated Node #3: [40, 7] from Operation: 70/10=7 Current State: 47:[40, 7], Operations: ['32-22=10', '70/10=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[22, 70, 40, 32], Operations: [] Exploring Operation: 70-22=48, Resulting Numbers: [40, 32, 48] Generated Node #0,0: 47:[40, 32, 48] Operation: 70-22=48 Exploring Operation: 22+32=54, Resulting Numbers: [70, 40, 54] Generated Node #0,1: 47:[70, 40, 54] Operation: 22+32=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[40, 32, 48], Operations: ['70-22=48'] Exploring Operation: 40+32=72, Resulting Numbers: [48, 72] Generated Node #0,0,0: 47:[48, 72] Operation: 40+32=72 Exploring Operation: 48-32=16, Resulting Numbers: [40, 16] Generated Node #0,0,1: 47:[40, 16] Operation: 48-32=16 Moving to Node #0,0,0 Current State: 47:[48, 72], Operations: ['70-22=48', '40+32=72'] Exploring Operation: 48+72=120, Resulting Numbers: [120] 120,47 unequal: No Solution Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[40, 16], Operations: ['70-22=48', '48-32=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[70, 40, 54], Operations: ['22+32=54'] Exploring Operation: 70-40=30, Resulting Numbers: [54, 30] Generated Node #0,1,0: 47:[54, 30] Operation: 70-40=30 Exploring Operation: 70-54=16, Resulting Numbers: [40, 16] Generated Node #0,1,1: 47:[40, 16] Operation: 70-54=16 Moving to Node #0,1,0 Current State: 47:[54, 30], Operations: ['22+32=54', '70-40=30'] Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[40, 16], Operations: ['22+32=54', '70-54=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,47 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,47 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
[ 68, 98, 94, 41 ]
31
[ "68+98=166", "94+41=135", "166-135=31" ]
Current State: 31:[68, 98, 94, 41], Operations: [] Exploring Operation: 68+98=166, Resulting Numbers: [94, 41, 166] Generated Node #2: [94, 41, 166] from Operation: 68+98=166 Current State: 31:[94, 41, 166], Operations: ['68+98=166'] Exploring Operation: 94+41=135, Resulting Numbers: [166, 135] Generated Node #3: [166, 135] from Operation: 94+41=135 Current State: 31:[166, 135], Operations: ['68+98=166', '94+41=135'] Exploring Operation: 166-135=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[68, 98, 94, 41], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [94, 41, 30] Generated Node #0,0: 31:[94, 41, 30] Operation: 98-68=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[94, 41, 30], Operations: ['98-68=30'] Exploring Operation: 94-41=53, Resulting Numbers: [30, 53] Generated Node #0,0,0: 31:[30, 53] Operation: 94-41=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[30, 53], Operations: ['98-68=30', '94-41=53'] Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 3, 86, 79 ]
50
[ "79-67=12", "3*12=36", "86-36=50" ]
Current State: 50:[67, 3, 86, 79], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [3, 86, 12] Generated Node #2: [3, 86, 12] from Operation: 79-67=12 Current State: 50:[3, 86, 12], Operations: ['79-67=12'] Exploring Operation: 3*12=36, Resulting Numbers: [86, 36] Generated Node #3: [86, 36] from Operation: 3*12=36 Current State: 50:[86, 36], Operations: ['79-67=12', '3*12=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[67, 3, 86, 79], Operations: [] Exploring Operation: 79-67=12, Resulting Numbers: [3, 86, 12] Generated Node #0,0: 50:[3, 86, 12] Operation: 79-67=12 Exploring Operation: 67-3=64, Resulting Numbers: [86, 79, 64] Generated Node #0,1: 50:[86, 79, 64] Operation: 67-3=64 Exploring Operation: 86-79=7, Resulting Numbers: [67, 3, 7] Generated Node #0,2: 50:[67, 3, 7] Operation: 86-79=7 Exploring Operation: 86-67=19, Resulting Numbers: [3, 79, 19] Generated Node #0,3: 50:[3, 79, 19] Operation: 86-67=19 Moving to Node #0,2 Current State: 50:[67, 3, 7], Operations: ['86-79=7'] Exploring Operation: 67-7=60, Resulting Numbers: [3, 60] Generated Node #0,2,0: 50:[3, 60] Operation: 67-7=60 Exploring Operation: 3+7=10, Resulting Numbers: [67, 10] Generated Node #0,2,1: 50:[67, 10] Operation: 3+7=10 Exploring Operation: 67-3=64, Resulting Numbers: [7, 64] Generated Node #0,2,2: 50:[7, 64] Operation: 67-3=64 Exploring Operation: 7-3=4, Resulting Numbers: [67, 4] Generated Node #0,2,3: 50:[67, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[3, 60], Operations: ['86-79=7', '67-7=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,50 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,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,2,2 Current State: 50:[7, 64], Operations: ['86-79=7', '67-3=64'] Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,50 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,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,2,1 Current State: 50:[67, 10], Operations: ['86-79=7', '3+7=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,50 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,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,2,3 Current State: 50:[67, 4], Operations: ['86-79=7', '7-3=4'] Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,50 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,50 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,50 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: 50:[3, 79, 19], Operations: ['86-67=19'] Exploring Operation: 19-3=16, Resulting Numbers: [79, 16] Generated Node #0,3,0: 50:[79, 16] Operation: 19-3=16 Exploring Operation: 79-19=60, Resulting Numbers: [3, 60] Generated Node #0,3,1: 50:[3, 60] Operation: 79-19=60 Exploring Operation: 79-3=76, Resulting Numbers: [19, 76] Generated Node #0,3,2: 50:[19, 76] Operation: 79-3=76 Exploring Operation: 3+19=22, Resulting Numbers: [79, 22] Generated Node #0,3,3: 50:[79, 22] Operation: 3+19=22 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 50:[3, 60], Operations: ['86-67=19', '79-19=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,50 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,50 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,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,3,2 Current State: 50:[19, 76], Operations: ['86-67=19', '79-3=76'] Exploring Operation: 19+76=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 19*76=1444, Resulting Numbers: [1444] 1444,50 unequal: No Solution Exploring Operation: 76-19=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 76/19=4, Resulting Numbers: [4] 4,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,3,3 Current State: 50:[79, 22], Operations: ['86-67=19', '3+19=22'] Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,50 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,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,3,0 Current State: 50:[79, 16], Operations: ['86-67=19', '19-3=16'] Exploring Operation: 79*16=1264, Resulting Numbers: [1264] 1264,50 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,50 unequal: No Solution Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,50 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: 50:[3, 86, 12], Operations: ['79-67=12'] Exploring Operation: 86-12=74, Resulting Numbers: [3, 74] Generated Node #0,0,0: 50:[3, 74] Operation: 86-12=74 Exploring Operation: 12-3=9, Resulting Numbers: [86, 9] Generated Node #0,0,1: 50:[86, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [86, 4] Generated Node #0,0,2: 50:[86, 4] Operation: 12/3=4 Exploring Operation: 86-3=83, Resulting Numbers: [12, 83] Generated Node #0,0,3: 50:[12, 83] Operation: 86-3=83 Moving to Node #0,1 Current State: 50:[86, 79, 64], Operations: ['67-3=64'] Exploring Operation: 86-64=22, Resulting Numbers: [79, 22] Generated Node #0,1,0: 50:[79, 22] Operation: 86-64=22 Exploring Operation: 86-79=7, Resulting Numbers: [64, 7] Generated Node #0,1,1: 50:[64, 7] Operation: 86-79=7 Exploring Operation: 79-64=15, Resulting Numbers: [86, 15] Generated Node #0,1,2: 50:[86, 15] Operation: 79-64=15 Exploring Operation: 86+79=165, Resulting Numbers: [64, 165] Generated Node #0,1,3: 50:[64, 165] Operation: 86+79=165 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[64, 7], Operations: ['67-3=64', '86-79=7'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,50 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[79, 22], Operations: ['67-3=64', '86-64=22'] Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,50 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[86, 15], Operations: ['67-3=64', '79-64=15'] Exploring Operation: 86+15=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 86*15=1290, Resulting Numbers: [1290] 1290,50 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[64, 165], Operations: ['67-3=64', '86+79=165'] Exploring Operation: 64+165=229, Resulting Numbers: [229] 229,50 unequal: No Solution Exploring Operation: 165-64=101, Resulting Numbers: [101] 101,50 unequal: No Solution Exploring Operation: 64*165=10560, Resulting Numbers: [10560] 10560,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 50:[3, 74], Operations: ['79-67=12', '86-12=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,50 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,50 unequal: No Solution Moving to Node #0,0,3 Current State: 50:[12, 83], Operations: ['79-67=12', '86-3=83'] Exploring Operation: 12+83=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 12*83=996, Resulting Numbers: [996] 996,50 unequal: No Solution Exploring Operation: 83-12=71, Resulting Numbers: [71] 71,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[86, 4], Operations: ['79-67=12', '12/3=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,50 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,50 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[86, 9], Operations: ['79-67=12', '12-3=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,50 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,50 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,50 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 87, 48, 93, 40 ]
82
[ "87+48=135", "93-40=53", "135-53=82" ]
Current State: 82:[87, 48, 93, 40], Operations: [] Exploring Operation: 87+48=135, Resulting Numbers: [93, 40, 135] Generated Node #2: [93, 40, 135] from Operation: 87+48=135 Current State: 82:[93, 40, 135], Operations: ['87+48=135'] Exploring Operation: 93-40=53, Resulting Numbers: [135, 53] Generated Node #3: [135, 53] from Operation: 93-40=53 Current State: 82:[135, 53], Operations: ['87+48=135', '93-40=53'] Exploring Operation: 135-53=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[87, 48, 93, 40], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [48, 40, 6] Generated Node #0,0: 82:[48, 40, 6] Operation: 93-87=6 Exploring Operation: 87-48=39, Resulting Numbers: [93, 40, 39] Generated Node #0,1: 82:[93, 40, 39] Operation: 87-48=39 Exploring Operation: 93-48=45, Resulting Numbers: [87, 40, 45] Generated Node #0,2: 82:[87, 40, 45] Operation: 93-48=45 Exploring Operation: 48+40=88, Resulting Numbers: [87, 93, 88] Generated Node #0,3: 82:[87, 93, 88] Operation: 48+40=88 Moving to Node #0,2 Current State: 82:[87, 40, 45], Operations: ['93-48=45'] Exploring Operation: 87-40=47, Resulting Numbers: [45, 47] Generated Node #0,2,0: 82:[45, 47] Operation: 87-40=47 Exploring Operation: 45-40=5, Resulting Numbers: [87, 5] Generated Node #0,2,1: 82:[87, 5] Operation: 45-40=5 Exploring Operation: 40+45=85, Resulting Numbers: [87, 85] Generated Node #0,2,2: 82:[87, 85] Operation: 40+45=85 Exploring Operation: 87-45=42, Resulting Numbers: [40, 42] Generated Node #0,2,3: 82:[40, 42] Operation: 87-45=42 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[40, 42], Operations: ['93-48=45', '87-45=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[87, 48, 93, 40], Operations: [] Exploring Operation: 93-48=45, Resulting Numbers: [87, 40, 45] Generated Node #0,2: 82:[87, 40, 45] Operation: 93-48=45 Moving to Node #0,2 Current State: 82:[87, 40, 45], Operations: ['93-48=45'] Exploring Operation: 87-45=42, Resulting Numbers: [40, 42] Generated Node #0,2,3: 82:[40, 42] Operation: 87-45=42 Moving to Node #0,2,3 Current State: 82:[40, 42], Operations: ['93-48=45', '87-45=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 52, 64, 86, 12 ]
42
[ "52+64=116", "86-12=74", "116-74=42" ]
Current State: 42:[52, 64, 86, 12], Operations: [] Exploring Operation: 52+64=116, Resulting Numbers: [86, 12, 116] Generated Node #2: [86, 12, 116] from Operation: 52+64=116 Current State: 42:[86, 12, 116], Operations: ['52+64=116'] Exploring Operation: 86-12=74, Resulting Numbers: [116, 74] Generated Node #3: [116, 74] from Operation: 86-12=74 Current State: 42:[116, 74], Operations: ['52+64=116', '86-12=74'] Exploring Operation: 116-74=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[52, 64, 86, 12], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [52, 12, 22] Generated Node #0,0: 42:[52, 12, 22] Operation: 86-64=22 Exploring Operation: 86-52=34, Resulting Numbers: [64, 12, 34] Generated Node #0,1: 42:[64, 12, 34] Operation: 86-52=34 Exploring Operation: 64-52=12, Resulting Numbers: [86, 12, 12] Generated Node #0,2: 42:[86, 12, 12] Operation: 64-52=12 Exploring Operation: 64-12=52, Resulting Numbers: [52, 86, 52] Generated Node #0,3: 42:[52, 86, 52] Operation: 64-12=52 Moving to Node #0,0 Current State: 42:[52, 12, 22], Operations: ['86-64=22'] Exploring Operation: 52-22=30, Resulting Numbers: [12, 30] Generated Node #0,0,0: 42:[12, 30] Operation: 52-22=30 Exploring Operation: 22-12=10, Resulting Numbers: [52, 10] Generated Node #0,0,1: 42:[52, 10] Operation: 22-12=10 Exploring Operation: 12+22=34, Resulting Numbers: [52, 34] Generated Node #0,0,2: 42:[52, 34] Operation: 12+22=34 Exploring Operation: 52-12=40, Resulting Numbers: [22, 40] Generated Node #0,0,3: 42:[22, 40] Operation: 52-12=40 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 42:[22, 40], Operations: ['86-64=22', '52-12=40'] Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,42 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,42 unequal: No Solution No 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: 42:[12, 30], Operations: ['86-64=22', '52-22=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,42 unequal: No Solution Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[52, 64, 86, 12], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [52, 12, 22] Generated Node #0,0: 42:[52, 12, 22] Operation: 86-64=22 Moving to Node #0,0 Current State: 42:[52, 12, 22], Operations: ['86-64=22'] Exploring Operation: 52-22=30, Resulting Numbers: [12, 30] Generated Node #0,0,0: 42:[12, 30] Operation: 52-22=30 Moving to Node #0,0,0 Current State: 42:[12, 30], Operations: ['86-64=22', '52-22=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 45, 70, 2, 73 ]
56
[ "73-45=28", "28/2=14", "70-14=56" ]
Current State: 56:[45, 70, 2, 73], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [70, 2, 28] Generated Node #2: [70, 2, 28] from Operation: 73-45=28 Current State: 56:[70, 2, 28], Operations: ['73-45=28'] Exploring Operation: 28/2=14, Resulting Numbers: [70, 14] Generated Node #3: [70, 14] from Operation: 28/2=14 Current State: 56:[70, 14], Operations: ['73-45=28', '28/2=14'] Exploring Operation: 70-14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 70, 2, 73], Operations: [] Exploring Operation: 73-45=28, Resulting Numbers: [70, 2, 28] Generated Node #0,0: 56:[70, 2, 28] Operation: 73-45=28 Exploring Operation: 73-70=3, Resulting Numbers: [45, 2, 3] Generated Node #0,1: 56:[45, 2, 3] Operation: 73-70=3 Moving to Node #0,1 Current State: 56:[45, 2, 3], Operations: ['73-70=3'] Exploring Operation: 45/3=15, Resulting Numbers: [2, 15] Generated Node #0,1,0: 56:[2, 15] Operation: 45/3=15 Exploring Operation: 45+3=48, Resulting Numbers: [2, 48] Generated Node #0,1,1: 56:[2, 48] Operation: 45+3=48 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[2, 15], Operations: ['73-70=3', '45/3=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,56 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,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,1,1 Current State: 56:[2, 48], Operations: ['73-70=3', '45+3=48'] Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,56 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,56 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: 56:[70, 2, 28], Operations: ['73-45=28'] Exploring Operation: 70/2=35, Resulting Numbers: [28, 35] Generated Node #0,0,0: 56:[28, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [28, 68] Generated Node #0,0,1: 56:[28, 68] Operation: 70-2=68 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[28, 35], Operations: ['73-45=28', '70/2=35'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 28+35=63, Resulting Numbers: [63] 63,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[28, 68], Operations: ['73-45=28', '70-2=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,56 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
[ 43, 35, 47, 10 ]
86
[ "47-35=12", "12-10=2", "43*2=86" ]
Current State: 86:[43, 35, 47, 10], Operations: [] Exploring Operation: 47-35=12, Resulting Numbers: [43, 10, 12] Generated Node #2: [43, 10, 12] from Operation: 47-35=12 Current State: 86:[43, 10, 12], Operations: ['47-35=12'] Exploring Operation: 12-10=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 12-10=2 Current State: 86:[43, 2], Operations: ['47-35=12', '12-10=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[43, 35, 47, 10], Operations: [] Exploring Operation: 35+10=45, Resulting Numbers: [43, 47, 45] Generated Node #0,0: 86:[43, 47, 45] Operation: 35+10=45 Exploring Operation: 47-10=37, Resulting Numbers: [43, 35, 37] Generated Node #0,1: 86:[43, 35, 37] Operation: 47-10=37 Exploring Operation: 35+47=82, Resulting Numbers: [43, 10, 82] Generated Node #0,2: 86:[43, 10, 82] Operation: 35+47=82 Moving to Node #0,0 Current State: 86:[43, 47, 45], Operations: ['35+10=45'] Exploring Operation: 47-43=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 86:[45, 4] Operation: 47-43=4 Exploring Operation: 45-43=2, Resulting Numbers: [47, 2] Generated Node #0,0,1: 86:[47, 2] Operation: 45-43=2 Exploring Operation: 47-45=2, Resulting Numbers: [43, 2] Generated Node #0,0,2: 86:[43, 2] Operation: 47-45=2 Moving to Node #0,2 Current State: 86:[43, 10, 82], Operations: ['35+47=82'] Exploring Operation: 10+82=92, Resulting Numbers: [43, 92] Generated Node #0,2,0: 86:[43, 92] Operation: 10+82=92 Exploring Operation: 82-43=39, Resulting Numbers: [10, 39] Generated Node #0,2,1: 86:[10, 39] Operation: 82-43=39 Exploring Operation: 43+10=53, Resulting Numbers: [82, 53] Generated Node #0,2,2: 86:[82, 53] Operation: 43+10=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 86:[43, 92], Operations: ['35+47=82', '10+82=92'] Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,86 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,86 unequal: No Solution Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[10, 39], Operations: ['35+47=82', '82-43=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,86 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 86:[82, 53], Operations: ['35+47=82', '43+10=53'] Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,86 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[43, 35, 37], Operations: ['47-10=37'] Exploring Operation: 37-35=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 86:[43, 2] Operation: 37-35=2 Exploring Operation: 43-37=6, Resulting Numbers: [35, 6] Generated Node #0,1,1: 86:[35, 6] Operation: 43-37=6 Exploring Operation: 43-35=8, Resulting Numbers: [37, 8] Generated Node #0,1,2: 86:[37, 8] Operation: 43-35=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[43, 2], Operations: ['47-10=37', '37-35=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[43, 35, 47, 10], Operations: [] Exploring Operation: 47-10=37, Resulting Numbers: [43, 35, 37] Generated Node #0,1: 86:[43, 35, 37] Operation: 47-10=37 Moving to Node #0,1 Current State: 86:[43, 35, 37], Operations: ['47-10=37'] Exploring Operation: 37-35=2, Resulting Numbers: [43, 2] Generated Node #0,1,0: 86:[43, 2] Operation: 37-35=2 Moving to Node #0,1,0 Current State: 86:[43, 2], Operations: ['47-10=37', '37-35=2'] Exploring Operation: 43*2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 6, 53, 38, 22 ]
55
[ "6+38=44", "44/22=2", "53+2=55" ]
Current State: 55:[6, 53, 38, 22], Operations: [] Exploring Operation: 6+38=44, Resulting Numbers: [53, 22, 44] Generated Node #2: [53, 22, 44] from Operation: 6+38=44 Current State: 55:[53, 22, 44], Operations: ['6+38=44'] Exploring Operation: 44/22=2, Resulting Numbers: [53, 2] Generated Node #3: [53, 2] from Operation: 44/22=2 Current State: 55:[53, 2], Operations: ['6+38=44', '44/22=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[6, 53, 38, 22], Operations: [] Exploring Operation: 53-38=15, Resulting Numbers: [6, 22, 15] Generated Node #0,0: 55:[6, 22, 15] Operation: 53-38=15 Exploring Operation: 6+38=44, Resulting Numbers: [53, 22, 44] Generated Node #0,1: 55:[53, 22, 44] Operation: 6+38=44 Exploring Operation: 38+22=60, Resulting Numbers: [6, 53, 60] Generated Node #0,2: 55:[6, 53, 60] Operation: 38+22=60 Exploring Operation: 38-22=16, Resulting Numbers: [6, 53, 16] Generated Node #0,3: 55:[6, 53, 16] Operation: 38-22=16 Moving to Node #0,2 Current State: 55:[6, 53, 60], Operations: ['38+22=60'] Exploring Operation: 60/6=10, Resulting Numbers: [53, 10] Generated Node #0,2,0: 55:[53, 10] Operation: 60/6=10 Exploring Operation: 6+53=59, Resulting Numbers: [60, 59] Generated Node #0,2,1: 55:[60, 59] Operation: 6+53=59 Exploring Operation: 60-53=7, Resulting Numbers: [6, 7] Generated Node #0,2,2: 55:[6, 7] Operation: 60-53=7 Exploring Operation: 60-6=54, Resulting Numbers: [53, 54] Generated Node #0,2,3: 55:[53, 54] Operation: 60-6=54 Moving to Node #0,3 Current State: 55:[6, 53, 16], Operations: ['38-22=16'] Exploring Operation: 6+16=22, Resulting Numbers: [53, 22] Generated Node #0,3,0: 55:[53, 22] Operation: 6+16=22 Exploring Operation: 16-6=10, Resulting Numbers: [53, 10] Generated Node #0,3,1: 55:[53, 10] Operation: 16-6=10 Exploring Operation: 6+53=59, Resulting Numbers: [16, 59] Generated Node #0,3,2: 55:[16, 59] Operation: 6+53=59 Exploring Operation: 53-6=47, Resulting Numbers: [16, 47] Generated Node #0,3,3: 55:[16, 47] Operation: 53-6=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 55:[53, 10], Operations: ['38-22=16', '16-6=10'] Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,55 unequal: No Solution Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 55:[16, 59], Operations: ['38-22=16', '6+53=59'] Exploring Operation: 16*59=944, Resulting Numbers: [944] 944,55 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 55:[53, 22], Operations: ['38-22=16', '6+16=22'] Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,55 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 55:[16, 47], Operations: ['38-22=16', '53-6=47'] Exploring Operation: 16*47=752, Resulting Numbers: [752] 752,55 unequal: No Solution Exploring Operation: 16+47=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,55 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: 55:[6, 22, 15], Operations: ['53-38=15'] Exploring Operation: 22-6=16, Resulting Numbers: [15, 16] Generated Node #0,0,0: 55:[15, 16] Operation: 22-6=16 Exploring Operation: 22+15=37, Resulting Numbers: [6, 37] Generated Node #0,0,1: 55:[6, 37] Operation: 22+15=37 Exploring Operation: 15-6=9, Resulting Numbers: [22, 9] Generated Node #0,0,2: 55:[22, 9] Operation: 15-6=9 Exploring Operation: 22-15=7, Resulting Numbers: [6, 7] Generated Node #0,0,3: 55:[6, 7] Operation: 22-15=7 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 55:[6, 7], Operations: ['53-38=15', '22-15=7'] Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[15, 16], Operations: ['53-38=15', '22-6=16'] Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,55 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[22, 9], Operations: ['53-38=15', '15-6=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,55 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[6, 37], Operations: ['53-38=15', '22+15=37'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 6+37=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 6*37=222, Resulting Numbers: [222] 222,55 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: 55:[53, 22, 44], Operations: ['6+38=44'] Exploring Operation: 53-44=9, Resulting Numbers: [22, 9] Generated Node #0,1,0: 55:[22, 9] Operation: 53-44=9 Exploring Operation: 44-22=22, Resulting Numbers: [53, 22] Generated Node #0,1,1: 55:[53, 22] Operation: 44-22=22 Exploring Operation: 22+44=66, Resulting Numbers: [53, 66] Generated Node #0,1,2: 55:[53, 66] Operation: 22+44=66 Exploring Operation: 44/22=2, Resulting Numbers: [53, 2] Generated Node #0,1,3: 55:[53, 2] Operation: 44/22=2 Moving to Node #0,2,0 Current State: 55:[53, 10], Operations: ['38+22=60', '60/6=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,55 unequal: No Solution Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[53, 54], Operations: ['38+22=60', '60-6=54'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,55 unequal: No Solution Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[6, 7], Operations: ['38+22=60', '60-53=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[53, 2], Operations: ['6+38=44', '44/22=2'] Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,55 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[6, 53, 38, 22], Operations: [] Exploring Operation: 6+38=44, Resulting Numbers: [53, 22, 44] Generated Node #0,1: 55:[53, 22, 44] Operation: 6+38=44 Moving to Node #0,1 Current State: 55:[53, 22, 44], Operations: ['6+38=44'] Exploring Operation: 44/22=2, Resulting Numbers: [53, 2] Generated Node #0,1,3: 55:[53, 2] Operation: 44/22=2 Moving to Node #0,1,3 Current State: 55:[53, 2], Operations: ['6+38=44', '44/22=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.947917
hs_4
sum_heuristic
[ 12, 7, 55, 6 ]
42
[ "12+7=19", "55+6=61", "61-19=42" ]
Current State: 42:[12, 7, 55, 6], Operations: [] Exploring Operation: 12+7=19, Resulting Numbers: [55, 6, 19] Generated Node #2: [55, 6, 19] from Operation: 12+7=19 Current State: 42:[55, 6, 19], Operations: ['12+7=19'] Exploring Operation: 55+6=61, Resulting Numbers: [19, 61] Generated Node #3: [19, 61] from Operation: 55+6=61 Current State: 42:[19, 61], Operations: ['12+7=19', '55+6=61'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[12, 7, 55, 6], Operations: [] Exploring Operation: 55-7=48, Resulting Numbers: [12, 6, 48] Generated Node #0,0: 42:[12, 6, 48] Operation: 55-7=48 Exploring Operation: 55-6=49, Resulting Numbers: [12, 7, 49] Generated Node #0,1: 42:[12, 7, 49] Operation: 55-6=49 Exploring Operation: 55-12=43, Resulting Numbers: [7, 6, 43] Generated Node #0,2: 42:[7, 6, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[7, 6, 43], Operations: ['55-12=43'] Exploring Operation: 7-6=1, Resulting Numbers: [43, 1] Generated Node #0,2,0: 42:[43, 1] Operation: 7-6=1 Exploring Operation: 7*6=42, Resulting Numbers: [43, 42] Generated Node #0,2,1: 42:[43, 42] Operation: 7*6=42 Exploring Operation: 7+6=13, Resulting Numbers: [43, 13] Generated Node #0,2,2: 42:[43, 13] Operation: 7+6=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[43, 42], Operations: ['55-12=43', '7*6=42'] Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,42 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,42 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[43, 1], Operations: ['55-12=43', '7-6=1'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[12, 7, 55, 6], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [7, 6, 43] Generated Node #0,2: 42:[7, 6, 43] Operation: 55-12=43 Moving to Node #0,2 Current State: 42:[7, 6, 43], Operations: ['55-12=43'] Exploring Operation: 7-6=1, Resulting Numbers: [43, 1] Generated Node #0,2,0: 42:[43, 1] Operation: 7-6=1 Moving to Node #0,2,0 Current State: 42:[43, 1], Operations: ['55-12=43', '7-6=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 47, 99, 84, 2 ]
67
[ "47+84=131", "99*2=198", "198-131=67" ]
Current State: 67:[47, 99, 84, 2], Operations: [] Exploring Operation: 47+84=131, Resulting Numbers: [99, 2, 131] Generated Node #2: [99, 2, 131] from Operation: 47+84=131 Current State: 67:[99, 2, 131], Operations: ['47+84=131'] Exploring Operation: 99*2=198, Resulting Numbers: [131, 198] Generated Node #3: [131, 198] from Operation: 99*2=198 Current State: 67:[131, 198], Operations: ['47+84=131', '99*2=198'] Exploring Operation: 198-131=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[47, 99, 84, 2], Operations: [] Exploring Operation: 47+2=49, Resulting Numbers: [99, 84, 49] Generated Node #0,0: 67:[99, 84, 49] Operation: 47+2=49 Exploring Operation: 99-2=97, Resulting Numbers: [47, 84, 97] Generated Node #0,1: 67:[47, 84, 97] Operation: 99-2=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[99, 84, 49], Operations: ['47+2=49'] Exploring Operation: 99-49=50, Resulting Numbers: [84, 50] Generated Node #0,0,0: 67:[84, 50] Operation: 99-49=50 Exploring Operation: 84-49=35, Resulting Numbers: [99, 35] Generated Node #0,0,1: 67:[99, 35] Operation: 84-49=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[84, 50], Operations: ['47+2=49', '99-49=50'] Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[99, 35], Operations: ['47+2=49', '84-49=35'] Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,67 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[47, 84, 97], Operations: ['99-2=97'] Exploring Operation: 84-47=37, Resulting Numbers: [97, 37] Generated Node #0,1,0: 67:[97, 37] Operation: 84-47=37 Exploring Operation: 97-47=50, Resulting Numbers: [84, 50] Generated Node #0,1,1: 67:[84, 50] Operation: 97-47=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[84, 50], Operations: ['99-2=97', '97-47=50'] Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,67 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[97, 37], Operations: ['99-2=97', '84-47=37'] Exploring Operation: 97-37=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 97+37=134, Resulting Numbers: [134] 134,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 54, 10, 12, 5 ]
96
[ "54*10=540", "540/5=108", "108-12=96" ]
Current State: 96:[54, 10, 12, 5], Operations: [] Exploring Operation: 54*10=540, Resulting Numbers: [12, 5, 540] Generated Node #2: [12, 5, 540] from Operation: 54*10=540 Current State: 96:[12, 5, 540], Operations: ['54*10=540'] Exploring Operation: 540/5=108, Resulting Numbers: [12, 108] Generated Node #3: [12, 108] from Operation: 540/5=108 Current State: 96:[12, 108], Operations: ['54*10=540', '540/5=108'] Exploring Operation: 108-12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[54, 10, 12, 5], Operations: [] Exploring Operation: 54-10=44, Resulting Numbers: [12, 5, 44] Generated Node #0,0: 96:[12, 5, 44] Operation: 54-10=44 Exploring Operation: 54-5=49, Resulting Numbers: [10, 12, 49] Generated Node #0,1: 96:[10, 12, 49] Operation: 54-5=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[10, 12, 49], Operations: ['54-5=49'] Exploring Operation: 12-10=2, Resulting Numbers: [49, 2] Generated Node #0,1,0: 96:[49, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [49, 22] Generated Node #0,1,1: 96:[49, 22] Operation: 10+12=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[49, 2], Operations: ['54-5=49', '12-10=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,96 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[49, 22], Operations: ['54-5=49', '10+12=22'] Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[12, 5, 44], Operations: ['54-10=44'] Exploring Operation: 5+44=49, Resulting Numbers: [12, 49] Generated Node #0,0,0: 96:[12, 49] Operation: 5+44=49 Exploring Operation: 44-12=32, Resulting Numbers: [5, 32] Generated Node #0,0,1: 96:[5, 32] Operation: 44-12=32 Moving to Node #0,0,0 Current State: 96:[12, 49], Operations: ['54-10=44', '5+44=49'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[5, 32], Operations: ['54-10=44', '44-12=32'] Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,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
[ 5, 21, 47, 28 ]
49
[ "5+21=26", "47+28=75", "75-26=49" ]
Current State: 49:[5, 21, 47, 28], Operations: [] Exploring Operation: 5+21=26, Resulting Numbers: [47, 28, 26] Generated Node #2: [47, 28, 26] from Operation: 5+21=26 Current State: 49:[47, 28, 26], Operations: ['5+21=26'] Exploring Operation: 47+28=75, Resulting Numbers: [26, 75] Generated Node #3: [26, 75] from Operation: 47+28=75 Current State: 49:[26, 75], Operations: ['5+21=26', '47+28=75'] Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[5, 21, 47, 28], Operations: [] Exploring Operation: 21-5=16, Resulting Numbers: [47, 28, 16] Generated Node #0,0: 49:[47, 28, 16] Operation: 21-5=16 Exploring Operation: 21+28=49, Resulting Numbers: [5, 47, 49] Generated Node #0,1: 49:[5, 47, 49] Operation: 21+28=49 Exploring Operation: 28-21=7, Resulting Numbers: [5, 47, 7] Generated Node #0,2: 49:[5, 47, 7] Operation: 28-21=7 Exploring Operation: 5+28=33, Resulting Numbers: [21, 47, 33] Generated Node #0,3: 49:[21, 47, 33] Operation: 5+28=33 Exploring Operation: 47-28=19, Resulting Numbers: [5, 21, 19] Generated Node #0,4: 49:[5, 21, 19] Operation: 47-28=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[5, 47, 49], Operations: ['21+28=49'] Exploring Operation: 47-5=42, Resulting Numbers: [49, 42] Generated Node #0,1,0: 49:[49, 42] Operation: 47-5=42 Exploring Operation: 49-47=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 49:[5, 2] Operation: 49-47=2 Exploring Operation: 49-5=44, Resulting Numbers: [47, 44] Generated Node #0,1,2: 49:[47, 44] Operation: 49-5=44 Exploring Operation: 5+47=52, Resulting Numbers: [49, 52] Generated Node #0,1,3: 49:[49, 52] Operation: 5+47=52 Exploring Operation: 5+49=54, Resulting Numbers: [47, 54] Generated Node #0,1,4: 49:[47, 54] Operation: 5+49=54 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[49, 52], Operations: ['21+28=49', '5+47=52'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 49*52=2548, Resulting Numbers: [2548] 2548,49 unequal: No Solution Exploring Operation: 49+52=101, Resulting Numbers: [101] 101,49 unequal: No Solution No 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: 49:[49, 42], Operations: ['21+28=49', '47-5=42'] Exploring Operation: 49-42=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 49+42=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 49*42=2058, Resulting Numbers: [2058] 2058,49 unequal: No Solution No 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: 49:[5, 2], Operations: ['21+28=49', '49-47=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,49 unequal: No Solution No 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: 49:[47, 44], Operations: ['21+28=49', '49-5=44'] Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 47+44=91, Resulting Numbers: [91] 91,49 unequal: No Solution Exploring Operation: 47*44=2068, Resulting Numbers: [2068] 2068,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[47, 54], Operations: ['21+28=49', '5+49=54'] Exploring Operation: 47*54=2538, Resulting Numbers: [2538] 2538,49 unequal: No Solution Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,49 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,49 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: 49:[5, 47, 7], Operations: ['28-21=7'] Exploring Operation: 47+7=54, Resulting Numbers: [5, 54] Generated Node #0,2,0: 49:[5, 54] Operation: 47+7=54 Exploring Operation: 47-5=42, Resulting Numbers: [7, 42] Generated Node #0,2,1: 49:[7, 42] Operation: 47-5=42 Exploring Operation: 5+47=52, Resulting Numbers: [7, 52] Generated Node #0,2,2: 49:[7, 52] Operation: 5+47=52 Exploring Operation: 5+7=12, Resulting Numbers: [47, 12] Generated Node #0,2,3: 49:[47, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [47, 2] Generated Node #0,2,4: 49:[47, 2] Operation: 7-5=2 Moving to Node #0,2,2 Current State: 49:[7, 52], Operations: ['28-21=7', '5+47=52'] Exploring Operation: 7*52=364, Resulting Numbers: [364] 364,49 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[7, 42], Operations: ['28-21=7', '47-5=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[5, 21, 47, 28], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [5, 47, 7] Generated Node #0,2: 49:[5, 47, 7] Operation: 28-21=7 Moving to Node #0,2 Current State: 49:[5, 47, 7], Operations: ['28-21=7'] Exploring Operation: 47-5=42, Resulting Numbers: [7, 42] Generated Node #0,2,1: 49:[7, 42] Operation: 47-5=42 Moving to Node #0,2,1 Current State: 49:[7, 42], Operations: ['28-21=7', '47-5=42'] Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 10, 64, 17, 36 ]
70
[ "10*17=170", "64+36=100", "170-100=70" ]
Current State: 70:[10, 64, 17, 36], Operations: [] Exploring Operation: 10*17=170, Resulting Numbers: [64, 36, 170] Generated Node #2: [64, 36, 170] from Operation: 10*17=170 Current State: 70:[64, 36, 170], Operations: ['10*17=170'] Exploring Operation: 64+36=100, Resulting Numbers: [170, 100] Generated Node #3: [170, 100] from Operation: 64+36=100 Current State: 70:[170, 100], Operations: ['10*17=170', '64+36=100'] Exploring Operation: 170-100=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[10, 64, 17, 36], Operations: [] Exploring Operation: 10+64=74, Resulting Numbers: [17, 36, 74] Generated Node #0,0: 70:[17, 36, 74] Operation: 10+64=74 Exploring Operation: 17-10=7, Resulting Numbers: [64, 36, 7] Generated Node #0,1: 70:[64, 36, 7] Operation: 17-10=7 Exploring Operation: 64-36=28, Resulting Numbers: [10, 17, 28] Generated Node #0,2: 70:[10, 17, 28] Operation: 64-36=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[64, 36, 7], Operations: ['17-10=7'] Exploring Operation: 36-7=29, Resulting Numbers: [64, 29] Generated Node #0,1,0: 70:[64, 29] Operation: 36-7=29 Exploring Operation: 64-36=28, Resulting Numbers: [7, 28] Generated Node #0,1,1: 70:[7, 28] Operation: 64-36=28 Exploring Operation: 64+7=71, Resulting Numbers: [36, 71] Generated Node #0,1,2: 70:[36, 71] Operation: 64+7=71 Moving to Node #0,1,2 Current State: 70:[36, 71], Operations: ['17-10=7', '64+7=71'] Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 36+71=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 36*71=2556, Resulting Numbers: [2556] 2556,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[7, 28], Operations: ['17-10=7', '64-36=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[64, 29], Operations: ['17-10=7', '36-7=29'] Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,70 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,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 Current State: 70:[17, 36, 74], Operations: ['10+64=74'] Exploring Operation: 36-17=19, Resulting Numbers: [74, 19] Generated Node #0,0,0: 70:[74, 19] Operation: 36-17=19 Exploring Operation: 74-36=38, Resulting Numbers: [17, 38] Generated Node #0,0,1: 70:[17, 38] Operation: 74-36=38 Exploring Operation: 74-17=57, Resulting Numbers: [36, 57] Generated Node #0,0,2: 70:[36, 57] Operation: 74-17=57 Moving to Node #0,0,1 Current State: 70:[17, 38], Operations: ['10+64=74', '74-36=38'] Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,70 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[74, 19], Operations: ['10+64=74', '36-17=19'] Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[36, 57], Operations: ['10+64=74', '74-17=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,70 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,70 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[10, 17, 28], Operations: ['64-36=28'] Exploring Operation: 28-17=11, Resulting Numbers: [10, 11] Generated Node #0,2,0: 70:[10, 11] Operation: 28-17=11 Exploring Operation: 17-10=7, Resulting Numbers: [28, 7] Generated Node #0,2,1: 70:[28, 7] Operation: 17-10=7 Exploring Operation: 10+28=38, Resulting Numbers: [17, 38] Generated Node #0,2,2: 70:[17, 38] Operation: 10+28=38 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 70:[10, 11], Operations: ['64-36=28', '28-17=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,70 unequal: No Solution No 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: 70:[17, 38], Operations: ['64-36=28', '10+28=38'] Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,70 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,70 unequal: No Solution No 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: 70:[28, 7], Operations: ['64-36=28', '17-10=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,70 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
[ 32, 35, 91, 60 ]
89
[ "35-32=3", "60*3=180", "180-91=89" ]
Current State: 89:[32, 35, 91, 60], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [91, 60, 3] Generated Node #2: [91, 60, 3] from Operation: 35-32=3 Current State: 89:[91, 60, 3], Operations: ['35-32=3'] Exploring Operation: 60*3=180, Resulting Numbers: [91, 180] Generated Node #3: [91, 180] from Operation: 60*3=180 Current State: 89:[91, 180], Operations: ['35-32=3', '60*3=180'] Exploring Operation: 180-91=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[32, 35, 91, 60], Operations: [] Exploring Operation: 32+35=67, Resulting Numbers: [91, 60, 67] Generated Node #0,0: 89:[91, 60, 67] Operation: 32+35=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[91, 60, 67], Operations: ['32+35=67'] Exploring Operation: 60+67=127, Resulting Numbers: [91, 127] Generated Node #0,0,0: 89:[91, 127] Operation: 60+67=127 Moving to Node #0,0,0 Current State: 89:[91, 127], Operations: ['32+35=67', '60+67=127'] Exploring Operation: 127-91=36, Resulting Numbers: [36] 36,89 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
[ 62, 82, 5, 77 ]
73
[ "82-62=20", "20/5=4", "77-4=73" ]
Current State: 73:[62, 82, 5, 77], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [5, 77, 20] Generated Node #2: [5, 77, 20] from Operation: 82-62=20 Current State: 73:[5, 77, 20], Operations: ['82-62=20'] Exploring Operation: 20/5=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 20/5=4 Current State: 73:[77, 4], Operations: ['82-62=20', '20/5=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[62, 82, 5, 77], Operations: [] Exploring Operation: 62+5=67, Resulting Numbers: [82, 77, 67] Generated Node #0,0: 73:[82, 77, 67] Operation: 62+5=67 Exploring Operation: 82-5=77, Resulting Numbers: [62, 77, 77] Generated Node #0,1: 73:[62, 77, 77] Operation: 82-5=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[82, 77, 67], Operations: ['62+5=67'] Exploring Operation: 77-67=10, Resulting Numbers: [82, 10] Generated Node #0,0,0: 73:[82, 10] Operation: 77-67=10 Exploring Operation: 82-67=15, Resulting Numbers: [77, 15] Generated Node #0,0,1: 73:[77, 15] Operation: 82-67=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[77, 15], Operations: ['62+5=67', '82-67=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[82, 10], Operations: ['62+5=67', '77-67=10'] Exploring Operation: 82+10=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[62, 77, 77], Operations: ['82-5=77'] Exploring Operation: 77-62=15, Resulting Numbers: [77, 15] Generated Node #0,1,0: 73:[77, 15] Operation: 77-62=15 Exploring Operation: 77-62=15, Resulting Numbers: [77, 15] Generated Node #0,1,1: 73:[77, 15] Operation: 77-62=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[77, 15], Operations: ['82-5=77', '77-62=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,73 unequal: No Solution Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[77, 15], Operations: ['82-5=77', '77-62=15'] Exploring Operation: 77+15=92, Resulting Numbers: [92] 92,73 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 64, 31, 65, 68 ]
92
[ "64+31=95", "68-65=3", "95-3=92" ]
Current State: 92:[64, 31, 65, 68], Operations: [] Exploring Operation: 64+31=95, Resulting Numbers: [65, 68, 95] Generated Node #2: [65, 68, 95] from Operation: 64+31=95 Current State: 92:[65, 68, 95], Operations: ['64+31=95'] Exploring Operation: 68-65=3, Resulting Numbers: [95, 3] Generated Node #3: [95, 3] from Operation: 68-65=3 Current State: 92:[95, 3], Operations: ['64+31=95', '68-65=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[64, 31, 65, 68], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [64, 31, 3] Generated Node #0,0: 92:[64, 31, 3] Operation: 68-65=3 Exploring Operation: 68-64=4, Resulting Numbers: [31, 65, 4] Generated Node #0,1: 92:[31, 65, 4] Operation: 68-64=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[64, 31, 3], Operations: ['68-65=3'] Exploring Operation: 64-31=33, Resulting Numbers: [3, 33] Generated Node #0,0,0: 92:[3, 33] Operation: 64-31=33 Exploring Operation: 64+31=95, Resulting Numbers: [3, 95] Generated Node #0,0,1: 92:[3, 95] Operation: 64+31=95 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[3, 95], Operations: ['68-65=3', '64+31=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[64, 31, 65, 68], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [64, 31, 3] Generated Node #0,0: 92:[64, 31, 3] Operation: 68-65=3 Moving to Node #0,0 Current State: 92:[64, 31, 3], Operations: ['68-65=3'] Exploring Operation: 64+31=95, Resulting Numbers: [3, 95] Generated Node #0,0,1: 92:[3, 95] Operation: 64+31=95 Moving to Node #0,0,1 Current State: 92:[3, 95], Operations: ['68-65=3', '64+31=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 13, 67, 54, 29 ]
79
[ "67-13=54", "54-29=25", "54+25=79" ]
Current State: 79:[13, 67, 54, 29], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [54, 29, 54] Generated Node #2: [54, 29, 54] from Operation: 67-13=54 Current State: 79:[54, 29, 54], Operations: ['67-13=54'] Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,79 equal: Goal Reached Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[13, 67, 54, 29], Operations: [] Exploring Operation: 13+54=67, Resulting Numbers: [67, 29, 67] Generated Node #0,0: 79:[67, 29, 67] Operation: 13+54=67 Moving to Node #0,0 Current State: 79:[67, 29, 67], Operations: ['13+54=67'] Exploring Operation: 67+29=96, Resulting Numbers: [67, 96] Generated Node #0,0,0: 79:[67, 96] Operation: 67+29=96 Moving to Node #0,0,0 Current State: 79:[67, 96], Operations: ['13+54=67', '67+29=96'] Exploring Operation: 96-67=29, Resulting Numbers: [29] 29,79 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 49, 54, 19, 77 ]
45
[ "49+54=103", "77-19=58", "103-58=45" ]
Current State: 45:[49, 54, 19, 77], Operations: [] Exploring Operation: 49+54=103, Resulting Numbers: [19, 77, 103] Generated Node #2: [19, 77, 103] from Operation: 49+54=103 Current State: 45:[19, 77, 103], Operations: ['49+54=103'] Exploring Operation: 77-19=58, Resulting Numbers: [103, 58] Generated Node #3: [103, 58] from Operation: 77-19=58 Current State: 45:[103, 58], Operations: ['49+54=103', '77-19=58'] Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[49, 54, 19, 77], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [49, 19, 23] Generated Node #0,0: 45:[49, 19, 23] Operation: 77-54=23 Exploring Operation: 77-19=58, Resulting Numbers: [49, 54, 58] Generated Node #0,1: 45:[49, 54, 58] Operation: 77-19=58 Exploring Operation: 77-49=28, Resulting Numbers: [54, 19, 28] Generated Node #0,2: 45:[54, 19, 28] Operation: 77-49=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[49, 19, 23], Operations: ['77-54=23'] Exploring Operation: 19+23=42, Resulting Numbers: [49, 42] Generated Node #0,0,0: 45:[49, 42] Operation: 19+23=42 Exploring Operation: 49-23=26, Resulting Numbers: [19, 26] Generated Node #0,0,1: 45:[19, 26] Operation: 49-23=26 Exploring Operation: 23-19=4, Resulting Numbers: [49, 4] Generated Node #0,0,2: 45:[49, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 45:[49, 4], Operations: ['77-54=23', '23-19=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,45 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[49, 54, 19, 77], Operations: [] Exploring Operation: 77-54=23, Resulting Numbers: [49, 19, 23] Generated Node #0,0: 45:[49, 19, 23] Operation: 77-54=23 Moving to Node #0,0 Current State: 45:[49, 19, 23], Operations: ['77-54=23'] Exploring Operation: 23-19=4, Resulting Numbers: [49, 4] Generated Node #0,0,2: 45:[49, 4] Operation: 23-19=4 Moving to Node #0,0,2 Current State: 45:[49, 4], Operations: ['77-54=23', '23-19=4'] Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 49, 60, 92, 59 ]
76
[ "49+60=109", "92-59=33", "109-33=76" ]
Current State: 76:[49, 60, 92, 59], Operations: [] Exploring Operation: 49+60=109, Resulting Numbers: [92, 59, 109] Generated Node #2: [92, 59, 109] from Operation: 49+60=109 Current State: 76:[92, 59, 109], Operations: ['49+60=109'] Exploring Operation: 92-59=33, Resulting Numbers: [109, 33] Generated Node #3: [109, 33] from Operation: 92-59=33 Current State: 76:[109, 33], Operations: ['49+60=109', '92-59=33'] Exploring Operation: 109-33=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[49, 60, 92, 59], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [49, 60, 33] Generated Node #0,0: 76:[49, 60, 33] Operation: 92-59=33 Exploring Operation: 92-60=32, Resulting Numbers: [49, 59, 32] Generated Node #0,1: 76:[49, 59, 32] Operation: 92-60=32 Exploring Operation: 60-59=1, Resulting Numbers: [49, 92, 1] Generated Node #0,2: 76:[49, 92, 1] Operation: 60-59=1 Exploring Operation: 92-49=43, Resulting Numbers: [60, 59, 43] Generated Node #0,3: 76:[60, 59, 43] Operation: 92-49=43 Exploring Operation: 59-49=10, Resulting Numbers: [60, 92, 10] Generated Node #0,4: 76:[60, 92, 10] Operation: 59-49=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[49, 92, 1], Operations: ['60-59=1'] Exploring Operation: 49-1=48, Resulting Numbers: [92, 48] Generated Node #0,2,0: 76:[92, 48] Operation: 49-1=48 Exploring Operation: 49/1=49, Resulting Numbers: [92, 49] Generated Node #0,2,1: 76:[92, 49] Operation: 49/1=49 Exploring Operation: 92-1=91, Resulting Numbers: [49, 91] Generated Node #0,2,2: 76:[49, 91] Operation: 92-1=91 Exploring Operation: 49*1=49, Resulting Numbers: [92, 49] Generated Node #0,2,3: 76:[92, 49] Operation: 49*1=49 Exploring Operation: 92-49=43, Resulting Numbers: [1, 43] Generated Node #0,2,4: 76:[1, 43] Operation: 92-49=43 Moving to Node #0,2,4 Current State: 76:[1, 43], Operations: ['60-59=1', '92-49=43'] Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,76 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[49, 91], Operations: ['60-59=1', '92-1=91'] Exploring Operation: 49+91=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 91-49=42, Resulting Numbers: [42] 42,76 unequal: No Solution Exploring Operation: 49*91=4459, Resulting Numbers: [4459] 4459,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[92, 48], Operations: ['60-59=1', '49-1=48'] Exploring Operation: 92*48=4416, Resulting Numbers: [4416] 4416,76 unequal: No Solution Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 92+48=140, Resulting Numbers: [140] 140,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[92, 49], Operations: ['60-59=1', '49/1=49'] Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,76 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 92-49=43, Resulting Numbers: [43] 43,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[92, 49], Operations: ['60-59=1', '49*1=49'] Exploring Operation: 92*49=4508, Resulting Numbers: [4508] 4508,76 unequal: No Solution Exploring Operation: 92+49=141, Resulting Numbers: [141] 141,76 unequal: No Solution Exploring Operation: 92-49=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,0 Current State: 76:[49, 60, 33], Operations: ['92-59=33'] Exploring Operation: 60-49=11, Resulting Numbers: [33, 11] Generated Node #0,0,0: 76:[33, 11] Operation: 60-49=11 Exploring Operation: 60+33=93, Resulting Numbers: [49, 93] Generated Node #0,0,1: 76:[49, 93] Operation: 60+33=93 Exploring Operation: 49+33=82, Resulting Numbers: [60, 82] Generated Node #0,0,2: 76:[60, 82] Operation: 49+33=82 Exploring Operation: 49-33=16, Resulting Numbers: [60, 16] Generated Node #0,0,3: 76:[60, 16] Operation: 49-33=16 Exploring Operation: 60-33=27, Resulting Numbers: [49, 27] Generated Node #0,0,4: 76:[49, 27] Operation: 60-33=27 Moving to Node #0,0,0 Current State: 76:[33, 11], Operations: ['92-59=33', '60-49=11'] Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[49, 27], Operations: ['92-59=33', '60-33=27'] Exploring Operation: 49*27=1323, Resulting Numbers: [1323] 1323,76 unequal: No Solution Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[49, 60, 92, 59], Operations: [] Exploring Operation: 92-59=33, Resulting Numbers: [49, 60, 33] Generated Node #0,0: 76:[49, 60, 33] Operation: 92-59=33 Moving to Node #0,0 Current State: 76:[49, 60, 33], Operations: ['92-59=33'] Exploring Operation: 60-33=27, Resulting Numbers: [49, 27] Generated Node #0,0,4: 76:[49, 27] Operation: 60-33=27 Moving to Node #0,0,4 Current State: 76:[49, 27], Operations: ['92-59=33', '60-33=27'] Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 63, 14, 18, 59 ]
36
[ "63+14=77", "59-18=41", "77-41=36" ]
Current State: 36:[63, 14, 18, 59], Operations: [] Exploring Operation: 63+14=77, Resulting Numbers: [18, 59, 77] Generated Node #2: [18, 59, 77] from Operation: 63+14=77 Current State: 36:[18, 59, 77], Operations: ['63+14=77'] Exploring Operation: 59-18=41, Resulting Numbers: [77, 41] Generated Node #3: [77, 41] from Operation: 59-18=41 Current State: 36:[77, 41], Operations: ['63+14=77', '59-18=41'] Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[63, 14, 18, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [14, 18, 4] Generated Node #0,0: 36:[14, 18, 4] Operation: 63-59=4 Exploring Operation: 59-18=41, Resulting Numbers: [63, 14, 41] Generated Node #0,1: 36:[63, 14, 41] Operation: 59-18=41 Exploring Operation: 63-18=45, Resulting Numbers: [14, 59, 45] Generated Node #0,2: 36:[14, 59, 45] Operation: 63-18=45 Exploring Operation: 63-14=49, Resulting Numbers: [18, 59, 49] Generated Node #0,3: 36:[18, 59, 49] Operation: 63-14=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[14, 18, 4], Operations: ['63-59=4'] Exploring Operation: 18-14=4, Resulting Numbers: [4, 4] Generated Node #0,0,0: 36:[4, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [4, 32] Generated Node #0,0,1: 36:[4, 32] Operation: 14+18=32 Exploring Operation: 14+4=18, Resulting Numbers: [18, 18] Generated Node #0,0,2: 36:[18, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [18, 10] Generated Node #0,0,3: 36:[18, 10] Operation: 14-4=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[4, 4], Operations: ['63-59=4', '18-14=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 4*4=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 36:[18, 18], Operations: ['63-59=4', '14+4=18'] Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[63, 14, 18, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [14, 18, 4] Generated Node #0,0: 36:[14, 18, 4] Operation: 63-59=4 Moving to Node #0,0 Current State: 36:[14, 18, 4], Operations: ['63-59=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18, 18] Generated Node #0,0,2: 36:[18, 18] Operation: 14+4=18 Moving to Node #0,0,2 Current State: 36:[18, 18], Operations: ['63-59=4', '14+4=18'] Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 11, 52, 9, 98 ]
48
[ "52-11=41", "98-9=89", "89-41=48" ]
Current State: 48:[11, 52, 9, 98], Operations: [] Exploring Operation: 52-11=41, Resulting Numbers: [9, 98, 41] Generated Node #2: [9, 98, 41] from Operation: 52-11=41 Current State: 48:[9, 98, 41], Operations: ['52-11=41'] Exploring Operation: 98-9=89, Resulting Numbers: [41, 89] Generated Node #3: [41, 89] from Operation: 98-9=89 Current State: 48:[41, 89], Operations: ['52-11=41', '98-9=89'] Exploring Operation: 89-41=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[11, 52, 9, 98], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [11, 9, 46] Generated Node #0,0: 48:[11, 9, 46] Operation: 98-52=46 Exploring Operation: 98-11=87, Resulting Numbers: [52, 9, 87] Generated Node #0,1: 48:[52, 9, 87] Operation: 98-11=87 Exploring Operation: 98-9=89, Resulting Numbers: [11, 52, 89] Generated Node #0,2: 48:[11, 52, 89] Operation: 98-9=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[11, 9, 46], Operations: ['98-52=46'] Exploring Operation: 11+9=20, Resulting Numbers: [46, 20] Generated Node #0,0,0: 48:[46, 20] Operation: 11+9=20 Exploring Operation: 11-9=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 48:[46, 2] Operation: 11-9=2 Exploring Operation: 9+46=55, Resulting Numbers: [11, 55] Generated Node #0,0,2: 48:[11, 55] Operation: 9+46=55 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[46, 2], Operations: ['98-52=46', '11-9=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,48 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[11, 52, 9, 98], Operations: [] Exploring Operation: 98-52=46, Resulting Numbers: [11, 9, 46] Generated Node #0,0: 48:[11, 9, 46] Operation: 98-52=46 Moving to Node #0,0 Current State: 48:[11, 9, 46], Operations: ['98-52=46'] Exploring Operation: 11-9=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 48:[46, 2] Operation: 11-9=2 Moving to Node #0,0,1 Current State: 48:[46, 2], Operations: ['98-52=46', '11-9=2'] Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 91, 3, 51, 20 ]
60
[ "91-51=40", "40-20=20", "3*20=60" ]
Current State: 60:[91, 3, 51, 20], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [3, 20, 40] Generated Node #2: [3, 20, 40] from Operation: 91-51=40 Current State: 60:[3, 20, 40], Operations: ['91-51=40'] Exploring Operation: 40-20=20, Resulting Numbers: [3, 20] Generated Node #3: [3, 20] from Operation: 40-20=20 Current State: 60:[3, 20], Operations: ['91-51=40', '40-20=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[91, 3, 51, 20], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [3, 20, 40] Generated Node #0,0: 60:[3, 20, 40] Operation: 91-51=40 Exploring Operation: 91-3=88, Resulting Numbers: [51, 20, 88] Generated Node #0,1: 60:[51, 20, 88] Operation: 91-3=88 Exploring Operation: 91-20=71, Resulting Numbers: [3, 51, 71] Generated Node #0,2: 60:[3, 51, 71] Operation: 91-20=71 Exploring Operation: 51-20=31, Resulting Numbers: [91, 3, 31] Generated Node #0,3: 60:[91, 3, 31] Operation: 51-20=31 Exploring Operation: 51/3=17, Resulting Numbers: [91, 20, 17] Generated Node #0,4: 60:[91, 20, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[3, 20, 40], Operations: ['91-51=40'] Exploring Operation: 3*20=60, Resulting Numbers: [40, 60] Generated Node #0,0,0: 60:[40, 60] Operation: 3*20=60 Exploring Operation: 40-3=37, Resulting Numbers: [20, 37] Generated Node #0,0,1: 60:[20, 37] Operation: 40-3=37 Exploring Operation: 40/20=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 60:[3, 2] Operation: 40/20=2 Exploring Operation: 20+40=60, Resulting Numbers: [3, 60] Generated Node #0,0,3: 60:[3, 60] Operation: 20+40=60 Exploring Operation: 40-20=20, Resulting Numbers: [3, 20] Generated Node #0,0,4: 60:[3, 20] Operation: 40-20=20 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[3, 2], Operations: ['91-51=40', '40/20=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,60 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[3, 60], Operations: ['91-51=40', '20+40=60'] Exploring Operation: 3*60=180, Resulting Numbers: [180] 180,60 unequal: No Solution Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,60 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[3, 20], Operations: ['91-51=40', '40-20=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[91, 3, 51, 20], Operations: [] Exploring Operation: 91-51=40, Resulting Numbers: [3, 20, 40] Generated Node #0,0: 60:[3, 20, 40] Operation: 91-51=40 Moving to Node #0,0 Current State: 60:[3, 20, 40], Operations: ['91-51=40'] Exploring Operation: 40-20=20, Resulting Numbers: [3, 20] Generated Node #0,0,4: 60:[3, 20] Operation: 40-20=20 Moving to Node #0,0,4 Current State: 60:[3, 20], Operations: ['91-51=40', '40-20=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 44, 52, 16, 22 ]
70
[ "44/22=2", "52+16=68", "2+68=70" ]
Current State: 70:[44, 52, 16, 22], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [52, 16, 2] Generated Node #2: [52, 16, 2] from Operation: 44/22=2 Current State: 70:[52, 16, 2], Operations: ['44/22=2'] Exploring Operation: 52+16=68, Resulting Numbers: [2, 68] Generated Node #3: [2, 68] from Operation: 52+16=68 Current State: 70:[2, 68], Operations: ['44/22=2', '52+16=68'] Exploring Operation: 2+68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[44, 52, 16, 22], Operations: [] Exploring Operation: 52+22=74, Resulting Numbers: [44, 16, 74] Generated Node #0,0: 70:[44, 16, 74] Operation: 52+22=74 Exploring Operation: 52-44=8, Resulting Numbers: [16, 22, 8] Generated Node #0,1: 70:[16, 22, 8] Operation: 52-44=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[16, 22, 8], Operations: ['52-44=8'] Exploring Operation: 22-16=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 70:[8, 6] Operation: 22-16=6 Exploring Operation: 22-8=14, Resulting Numbers: [16, 14] Generated Node #0,1,1: 70:[16, 14] Operation: 22-8=14 Moving to Node #0,1,0 Current State: 70:[8, 6], Operations: ['52-44=8', '22-16=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[16, 14], Operations: ['52-44=8', '22-8=14'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,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 Current State: 70:[44, 16, 74], Operations: ['52+22=74'] Exploring Operation: 44-16=28, Resulting Numbers: [74, 28] Generated Node #0,0,0: 70:[74, 28] Operation: 44-16=28 Exploring Operation: 74-44=30, Resulting Numbers: [16, 30] Generated Node #0,0,1: 70:[16, 30] Operation: 74-44=30 Moving to Node #0,0,1 Current State: 70:[16, 30], Operations: ['52+22=74', '74-44=30'] Exploring Operation: 16+30=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 30-16=14, Resulting Numbers: [14] 14,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[74, 28], Operations: ['52+22=74', '44-16=28'] Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,70 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,70 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
[ 93, 2, 23, 42 ]
14
[ "93-23=70", "2*42=84", "84-70=14" ]
Current State: 14:[93, 2, 23, 42], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [2, 42, 70] Generated Node #2: [2, 42, 70] from Operation: 93-23=70 Current State: 14:[2, 42, 70], Operations: ['93-23=70'] Exploring Operation: 2*42=84, Resulting Numbers: [70, 84] Generated Node #3: [70, 84] from Operation: 2*42=84 Current State: 14:[70, 84], Operations: ['93-23=70', '2*42=84'] Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[93, 2, 23, 42], Operations: [] Exploring Operation: 93-2=91, Resulting Numbers: [23, 42, 91] Generated Node #0,0: 14:[23, 42, 91] Operation: 93-2=91 Exploring Operation: 93-42=51, Resulting Numbers: [2, 23, 51] Generated Node #0,1: 14:[2, 23, 51] Operation: 93-42=51 Exploring Operation: 42/2=21, Resulting Numbers: [93, 23, 21] Generated Node #0,2: 14:[93, 23, 21] Operation: 42/2=21 Exploring Operation: 93-23=70, Resulting Numbers: [2, 42, 70] Generated Node #0,3: 14:[2, 42, 70] Operation: 93-23=70 Exploring Operation: 42-23=19, Resulting Numbers: [93, 2, 19] Generated Node #0,4: 14:[93, 2, 19] Operation: 42-23=19 Moving to Node #0,1 Current State: 14:[2, 23, 51], Operations: ['93-42=51'] Exploring Operation: 2+51=53, Resulting Numbers: [23, 53] Generated Node #0,1,0: 14:[23, 53] Operation: 2+51=53 Exploring Operation: 23-2=21, Resulting Numbers: [51, 21] Generated Node #0,1,1: 14:[51, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [51, 25] Generated Node #0,1,2: 14:[51, 25] Operation: 2+23=25 Exploring Operation: 51-2=49, Resulting Numbers: [23, 49] Generated Node #0,1,3: 14:[23, 49] Operation: 51-2=49 Exploring Operation: 51-23=28, Resulting Numbers: [2, 28] Generated Node #0,1,4: 14:[2, 28] Operation: 51-23=28 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 14:[2, 28], Operations: ['93-42=51', '51-23=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[93, 2, 23, 42], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [2, 23, 51] Generated Node #0,1: 14:[2, 23, 51] Operation: 93-42=51 Moving to Node #0,1 Current State: 14:[2, 23, 51], Operations: ['93-42=51'] Exploring Operation: 51-23=28, Resulting Numbers: [2, 28] Generated Node #0,1,4: 14:[2, 28] Operation: 51-23=28 Moving to Node #0,1,4 Current State: 14:[2, 28], Operations: ['93-42=51', '51-23=28'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 10, 21, 93, 59 ]
65
[ "10+21=31", "93-59=34", "31+34=65" ]
Current State: 65:[10, 21, 93, 59], Operations: [] Exploring Operation: 10+21=31, Resulting Numbers: [93, 59, 31] Generated Node #2: [93, 59, 31] from Operation: 10+21=31 Current State: 65:[93, 59, 31], Operations: ['10+21=31'] Exploring Operation: 93-59=34, Resulting Numbers: [31, 34] Generated Node #3: [31, 34] from Operation: 93-59=34 Current State: 65:[31, 34], Operations: ['10+21=31', '93-59=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[10, 21, 93, 59], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [10, 59, 72] Generated Node #0,0: 65:[10, 59, 72] Operation: 93-21=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[10, 59, 72], Operations: ['93-21=72'] Exploring Operation: 72-59=13, Resulting Numbers: [10, 13] Generated Node #0,0,0: 65:[10, 13] Operation: 72-59=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[10, 13], Operations: ['93-21=72', '72-59=13'] Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 26, 12, 66, 55 ]
49
[ "26+12=38", "66-55=11", "38+11=49" ]
Current State: 49:[26, 12, 66, 55], Operations: [] Exploring Operation: 26+12=38, Resulting Numbers: [66, 55, 38] Generated Node #2: [66, 55, 38] from Operation: 26+12=38 Current State: 49:[66, 55, 38], Operations: ['26+12=38'] Exploring Operation: 66-55=11, Resulting Numbers: [38, 11] Generated Node #3: [38, 11] from Operation: 66-55=11 Current State: 49:[38, 11], Operations: ['26+12=38', '66-55=11'] Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[26, 12, 66, 55], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [66, 55, 14] Generated Node #0,0: 49:[66, 55, 14] Operation: 26-12=14 Exploring Operation: 66-55=11, Resulting Numbers: [26, 12, 11] Generated Node #0,1: 49:[26, 12, 11] Operation: 66-55=11 Exploring Operation: 66-26=40, Resulting Numbers: [12, 55, 40] Generated Node #0,2: 49:[12, 55, 40] Operation: 66-26=40 Exploring Operation: 66-12=54, Resulting Numbers: [26, 55, 54] Generated Node #0,3: 49:[26, 55, 54] Operation: 66-12=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[12, 55, 40], Operations: ['66-26=40'] Exploring Operation: 55-12=43, Resulting Numbers: [40, 43] Generated Node #0,2,0: 49:[40, 43] Operation: 55-12=43 Exploring Operation: 55-40=15, Resulting Numbers: [12, 15] Generated Node #0,2,1: 49:[12, 15] Operation: 55-40=15 Exploring Operation: 12+40=52, Resulting Numbers: [55, 52] Generated Node #0,2,2: 49:[55, 52] Operation: 12+40=52 Exploring Operation: 12+55=67, Resulting Numbers: [40, 67] Generated Node #0,2,3: 49:[40, 67] Operation: 12+55=67 Moving to Node #0,2,2 Current State: 49:[55, 52], Operations: ['66-26=40', '12+40=52'] Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,49 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[12, 15], Operations: ['66-26=40', '55-40=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,49 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[40, 43], Operations: ['66-26=40', '55-12=43'] Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,49 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[40, 67], Operations: ['66-26=40', '12+55=67'] Exploring Operation: 40+67=107, Resulting Numbers: [107] 107,49 unequal: No Solution Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 40*67=2680, Resulting Numbers: [2680] 2680,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[26, 12, 11], Operations: ['66-55=11'] Exploring Operation: 26+12=38, Resulting Numbers: [11, 38] Generated Node #0,1,0: 49:[11, 38] Operation: 26+12=38 Exploring Operation: 26-11=15, Resulting Numbers: [12, 15] Generated Node #0,1,1: 49:[12, 15] Operation: 26-11=15 Exploring Operation: 26+11=37, Resulting Numbers: [12, 37] Generated Node #0,1,2: 49:[12, 37] Operation: 26+11=37 Exploring Operation: 26-12=14, Resulting Numbers: [11, 14] Generated Node #0,1,3: 49:[11, 14] Operation: 26-12=14 Moving to Node #0,1,3 Current State: 49:[11, 14], Operations: ['66-55=11', '26-12=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,49 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[12, 15], Operations: ['66-55=11', '26-11=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,49 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[11, 38], Operations: ['66-55=11', '26+12=38'] Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[26, 12, 66, 55], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [26, 12, 11] Generated Node #0,1: 49:[26, 12, 11] Operation: 66-55=11 Moving to Node #0,1 Current State: 49:[26, 12, 11], Operations: ['66-55=11'] Exploring Operation: 26+12=38, Resulting Numbers: [11, 38] Generated Node #0,1,0: 49:[11, 38] Operation: 26+12=38 Moving to Node #0,1,0 Current State: 49:[11, 38], Operations: ['66-55=11', '26+12=38'] Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 3, 62, 94, 76 ]
68
[ "94-76=18", "18/3=6", "62+6=68" ]
Current State: 68:[3, 62, 94, 76], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [3, 62, 18] Generated Node #2: [3, 62, 18] from Operation: 94-76=18 Current State: 68:[3, 62, 18], Operations: ['94-76=18'] Exploring Operation: 18/3=6, Resulting Numbers: [62, 6] Generated Node #3: [62, 6] from Operation: 18/3=6 Current State: 68:[62, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[3, 62, 94, 76], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [3, 62, 18] Generated Node #0,0: 68:[3, 62, 18] Operation: 94-76=18 Exploring Operation: 76-62=14, Resulting Numbers: [3, 94, 14] Generated Node #0,1: 68:[3, 94, 14] Operation: 76-62=14 Exploring Operation: 3+62=65, Resulting Numbers: [94, 76, 65] Generated Node #0,2: 68:[94, 76, 65] Operation: 3+62=65 Exploring Operation: 94-62=32, Resulting Numbers: [3, 76, 32] Generated Node #0,3: 68:[3, 76, 32] Operation: 94-62=32 Moving to Node #0,0 Current State: 68:[3, 62, 18], Operations: ['94-76=18'] Exploring Operation: 18-3=15, Resulting Numbers: [62, 15] Generated Node #0,0,0: 68:[62, 15] Operation: 18-3=15 Exploring Operation: 3+62=65, Resulting Numbers: [18, 65] Generated Node #0,0,1: 68:[18, 65] Operation: 3+62=65 Exploring Operation: 62-3=59, Resulting Numbers: [18, 59] Generated Node #0,0,2: 68:[18, 59] Operation: 62-3=59 Exploring Operation: 18/3=6, Resulting Numbers: [62, 6] Generated Node #0,0,3: 68:[62, 6] Operation: 18/3=6 Moving to Node #0,3 Current State: 68:[3, 76, 32], Operations: ['94-62=32'] Exploring Operation: 76-3=73, Resulting Numbers: [32, 73] Generated Node #0,3,0: 68:[32, 73] Operation: 76-3=73 Exploring Operation: 3+76=79, Resulting Numbers: [32, 79] Generated Node #0,3,1: 68:[32, 79] Operation: 3+76=79 Exploring Operation: 76-32=44, Resulting Numbers: [3, 44] Generated Node #0,3,2: 68:[3, 44] Operation: 76-32=44 Exploring Operation: 3+32=35, Resulting Numbers: [76, 35] Generated Node #0,3,3: 68:[76, 35] Operation: 3+32=35 Moving to Node #0,1 Current State: 68:[3, 94, 14], Operations: ['76-62=14'] Exploring Operation: 94-3=91, Resulting Numbers: [14, 91] Generated Node #0,1,0: 68:[14, 91] Operation: 94-3=91 Exploring Operation: 3+14=17, Resulting Numbers: [94, 17] Generated Node #0,1,1: 68:[94, 17] Operation: 3+14=17 Exploring Operation: 3+94=97, Resulting Numbers: [14, 97] Generated Node #0,1,2: 68:[14, 97] Operation: 3+94=97 Exploring Operation: 94-14=80, Resulting Numbers: [3, 80] Generated Node #0,1,3: 68:[3, 80] Operation: 94-14=80 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 68:[3, 80], Operations: ['76-62=14', '94-14=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,68 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[14, 91], Operations: ['76-62=14', '94-3=91'] Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,68 unequal: No Solution Exploring Operation: 14*91=1274, Resulting Numbers: [1274] 1274,68 unequal: No Solution Exploring Operation: 14+91=105, Resulting Numbers: [105] 105,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 68:[94, 17], Operations: ['76-62=14', '3+14=17'] Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,68 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 68:[14, 97], Operations: ['76-62=14', '3+94=97'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 14+97=111, Resulting Numbers: [111] 111,68 unequal: No Solution Exploring Operation: 14*97=1358, Resulting Numbers: [1358] 1358,68 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: 68:[94, 76, 65], Operations: ['3+62=65'] Exploring Operation: 76-65=11, Resulting Numbers: [94, 11] Generated Node #0,2,0: 68:[94, 11] Operation: 76-65=11 Exploring Operation: 94+65=159, Resulting Numbers: [76, 159] Generated Node #0,2,1: 68:[76, 159] Operation: 94+65=159 Exploring Operation: 94-76=18, Resulting Numbers: [65, 18] Generated Node #0,2,2: 68:[65, 18] Operation: 94-76=18 Exploring Operation: 94-65=29, Resulting Numbers: [76, 29] Generated Node #0,2,3: 68:[76, 29] Operation: 94-65=29 Moving to Node #0,0,1 Current State: 68:[18, 65], Operations: ['94-76=18', '3+62=65'] Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,68 unequal: No Solution Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,68 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[65, 18], Operations: ['3+62=65', '94-76=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,68 unequal: No Solution Exploring Operation: 65*18=1170, Resulting Numbers: [1170] 1170,68 unequal: No Solution Exploring Operation: 65+18=83, Resulting Numbers: [83] 83,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[32, 73], Operations: ['94-62=32', '76-3=73'] Exploring Operation: 32+73=105, Resulting Numbers: [105] 105,68 unequal: No Solution Exploring Operation: 32*73=2336, Resulting Numbers: [2336] 2336,68 unequal: No Solution Exploring Operation: 73-32=41, Resulting Numbers: [41] 41,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[62, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 62*6=372, Resulting Numbers: [372] 372,68 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[3, 62, 94, 76], Operations: [] Exploring Operation: 94-76=18, Resulting Numbers: [3, 62, 18] Generated Node #0,0: 68:[3, 62, 18] Operation: 94-76=18 Moving to Node #0,0 Current State: 68:[3, 62, 18], Operations: ['94-76=18'] Exploring Operation: 18/3=6, Resulting Numbers: [62, 6] Generated Node #0,0,3: 68:[62, 6] Operation: 18/3=6 Moving to Node #0,0,3 Current State: 68:[62, 6], Operations: ['94-76=18', '18/3=6'] Exploring Operation: 62+6=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 97, 96, 53, 5 ]
99
[ "53-5=48", "96/48=2", "97+2=99" ]
Current State: 99:[97, 96, 53, 5], Operations: [] Exploring Operation: 53-5=48, Resulting Numbers: [97, 96, 48] Generated Node #2: [97, 96, 48] from Operation: 53-5=48 Current State: 99:[97, 96, 48], Operations: ['53-5=48'] Exploring Operation: 96/48=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 96/48=2 Current State: 99:[97, 2], Operations: ['53-5=48', '96/48=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[97, 96, 53, 5], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [96, 5, 44] Generated Node #0,0: 99:[96, 5, 44] Operation: 97-53=44 Exploring Operation: 96-53=43, Resulting Numbers: [97, 5, 43] Generated Node #0,1: 99:[97, 5, 43] Operation: 96-53=43 Exploring Operation: 96+5=101, Resulting Numbers: [97, 53, 101] Generated Node #0,2: 99:[97, 53, 101] Operation: 96+5=101 Exploring Operation: 53-5=48, Resulting Numbers: [97, 96, 48] Generated Node #0,3: 99:[97, 96, 48] Operation: 53-5=48 Exploring Operation: 97-96=1, Resulting Numbers: [53, 5, 1] Generated Node #0,4: 99:[53, 5, 1] Operation: 97-96=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[97, 5, 43], Operations: ['96-53=43'] Exploring Operation: 43-5=38, Resulting Numbers: [97, 38] Generated Node #0,1,0: 99:[97, 38] Operation: 43-5=38 Exploring Operation: 97-5=92, Resulting Numbers: [43, 92] Generated Node #0,1,1: 99:[43, 92] Operation: 97-5=92 Exploring Operation: 97+5=102, Resulting Numbers: [43, 102] Generated Node #0,1,2: 99:[43, 102] Operation: 97+5=102 Exploring Operation: 5+43=48, Resulting Numbers: [97, 48] Generated Node #0,1,3: 99:[97, 48] Operation: 5+43=48 Exploring Operation: 97-43=54, Resulting Numbers: [5, 54] Generated Node #0,1,4: 99:[5, 54] Operation: 97-43=54 Moving to Node #0,1,0 Current State: 99:[97, 38], Operations: ['96-53=43', '43-5=38'] Exploring Operation: 97-38=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 97+38=135, Resulting Numbers: [135] 135,99 unequal: No Solution Exploring Operation: 97*38=3686, Resulting Numbers: [3686] 3686,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[43, 102], Operations: ['96-53=43', '97+5=102'] Exploring Operation: 43+102=145, Resulting Numbers: [145] 145,99 unequal: No Solution Exploring Operation: 43*102=4386, Resulting Numbers: [4386] 4386,99 unequal: No Solution Exploring Operation: 102-43=59, Resulting Numbers: [59] 59,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[43, 92], Operations: ['96-53=43', '97-5=92'] Exploring Operation: 43+92=135, Resulting Numbers: [135] 135,99 unequal: No Solution Exploring Operation: 43*92=3956, Resulting Numbers: [3956] 3956,99 unequal: No Solution Exploring Operation: 92-43=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[97, 48], Operations: ['96-53=43', '5+43=48'] Exploring Operation: 97-48=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 97*48=4656, Resulting Numbers: [4656] 4656,99 unequal: No Solution Exploring Operation: 97+48=145, Resulting Numbers: [145] 145,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[5, 54], Operations: ['96-53=43', '97-43=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,99 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,99 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[96, 5, 44], Operations: ['97-53=44'] Exploring Operation: 44-5=39, Resulting Numbers: [96, 39] Generated Node #0,0,0: 99:[96, 39] Operation: 44-5=39 Exploring Operation: 96+5=101, Resulting Numbers: [44, 101] Generated Node #0,0,1: 99:[44, 101] Operation: 96+5=101 Exploring Operation: 96-44=52, Resulting Numbers: [5, 52] Generated Node #0,0,2: 99:[5, 52] Operation: 96-44=52 Exploring Operation: 5+44=49, Resulting Numbers: [96, 49] Generated Node #0,0,3: 99:[96, 49] Operation: 5+44=49 Exploring Operation: 96-5=91, Resulting Numbers: [44, 91] Generated Node #0,0,4: 99:[44, 91] Operation: 96-5=91 Moving to Node #0,0,0 Current State: 99:[96, 39], Operations: ['97-53=44', '44-5=39'] Exploring Operation: 96*39=3744, Resulting Numbers: [3744] 3744,99 unequal: No Solution Exploring Operation: 96+39=135, Resulting Numbers: [135] 135,99 unequal: No Solution Exploring Operation: 96-39=57, Resulting Numbers: [57] 57,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[44, 101], Operations: ['97-53=44', '96+5=101'] Exploring Operation: 101-44=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 44*101=4444, Resulting Numbers: [4444] 4444,99 unequal: No Solution Exploring Operation: 44+101=145, Resulting Numbers: [145] 145,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[96, 49], Operations: ['97-53=44', '5+44=49'] Exploring Operation: 96+49=145, Resulting Numbers: [145] 145,99 unequal: No Solution Exploring Operation: 96-49=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 96*49=4704, Resulting Numbers: [4704] 4704,99 unequal: No Solution Moving to Node #0,0,4 Current State: 99:[44, 91], Operations: ['97-53=44', '96-5=91'] Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,99 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,99 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[5, 52], Operations: ['97-53=44', '96-44=52'] Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,99 unequal: No Solution Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,99 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[97, 96, 48], Operations: ['53-5=48'] Exploring Operation: 97-48=49, Resulting Numbers: [96, 49] Generated Node #0,3,0: 99:[96, 49] Operation: 97-48=49 Exploring Operation: 96-48=48, Resulting Numbers: [97, 48] Generated Node #0,3,1: 99:[97, 48] Operation: 96-48=48 Exploring Operation: 96/48=2, Resulting Numbers: [97, 2] Generated Node #0,3,2: 99:[97, 2] Operation: 96/48=2 Exploring Operation: 96+48=144, Resulting Numbers: [97, 144] Generated Node #0,3,3: 99:[97, 144] Operation: 96+48=144 Exploring Operation: 97-96=1, Resulting Numbers: [48, 1] Generated Node #0,3,4: 99:[48, 1] Operation: 97-96=1 Moving to Node #0,3,2 Current State: 99:[97, 2], Operations: ['53-5=48', '96/48=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[97, 96, 53, 5], Operations: [] Exploring Operation: 53-5=48, Resulting Numbers: [97, 96, 48] Generated Node #0,3: 99:[97, 96, 48] Operation: 53-5=48 Moving to Node #0,3 Current State: 99:[97, 96, 48], Operations: ['53-5=48'] Exploring Operation: 96/48=2, Resulting Numbers: [97, 2] Generated Node #0,3,2: 99:[97, 2] Operation: 96/48=2 Moving to Node #0,3,2 Current State: 99:[97, 2], Operations: ['53-5=48', '96/48=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 55, 43, 13, 26 ]
49
[ "55+43=98", "26/13=2", "98/2=49" ]
Current State: 49:[55, 43, 13, 26], Operations: [] Exploring Operation: 55+43=98, Resulting Numbers: [13, 26, 98] Generated Node #2: [13, 26, 98] from Operation: 55+43=98 Current State: 49:[13, 26, 98], Operations: ['55+43=98'] Exploring Operation: 26/13=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 26/13=2 Current State: 49:[98, 2], Operations: ['55+43=98', '26/13=2'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[55, 43, 13, 26], Operations: [] Exploring Operation: 43-26=17, Resulting Numbers: [55, 13, 17] Generated Node #0,0: 49:[55, 13, 17] Operation: 43-26=17 Exploring Operation: 26-13=13, Resulting Numbers: [55, 43, 13] Generated Node #0,1: 49:[55, 43, 13] Operation: 26-13=13 Exploring Operation: 13+26=39, Resulting Numbers: [55, 43, 39] Generated Node #0,2: 49:[55, 43, 39] Operation: 13+26=39 Exploring Operation: 26/13=2, Resulting Numbers: [55, 43, 2] Generated Node #0,3: 49:[55, 43, 2] Operation: 26/13=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[55, 43, 2], Operations: ['26/13=2'] Exploring Operation: 55+2=57, Resulting Numbers: [43, 57] Generated Node #0,3,0: 49:[43, 57] Operation: 55+2=57 Exploring Operation: 55-43=12, Resulting Numbers: [2, 12] Generated Node #0,3,1: 49:[2, 12] Operation: 55-43=12 Exploring Operation: 43+2=45, Resulting Numbers: [55, 45] Generated Node #0,3,2: 49:[55, 45] Operation: 43+2=45 Exploring Operation: 55-2=53, Resulting Numbers: [43, 53] Generated Node #0,3,3: 49:[43, 53] Operation: 55-2=53 Moving to Node #0,3,1 Current State: 49:[2, 12], Operations: ['26/13=2', '55-43=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[43, 53], Operations: ['26/13=2', '55-2=53'] Exploring Operation: 43+53=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 43*53=2279, Resulting Numbers: [2279] 2279,49 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[55, 45], Operations: ['26/13=2', '43+2=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,49 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[43, 57], Operations: ['26/13=2', '55+2=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,49 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,49 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[55, 43, 13], Operations: ['26-13=13'] Exploring Operation: 55+13=68, Resulting Numbers: [43, 68] Generated Node #0,1,0: 49:[43, 68] Operation: 55+13=68 Exploring Operation: 55-13=42, Resulting Numbers: [43, 42] Generated Node #0,1,1: 49:[43, 42] Operation: 55-13=42 Exploring Operation: 43+13=56, Resulting Numbers: [55, 56] Generated Node #0,1,2: 49:[55, 56] Operation: 43+13=56 Exploring Operation: 55-43=12, Resulting Numbers: [13, 12] Generated Node #0,1,3: 49:[13, 12] Operation: 55-43=12 Moving to Node #0,1,3 Current State: 49:[13, 12], Operations: ['26-13=13', '55-43=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,49 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[55, 56], Operations: ['26-13=13', '43+13=56'] Exploring Operation: 55*56=3080, Resulting Numbers: [3080] 3080,49 unequal: No Solution Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[43, 42], Operations: ['26-13=13', '55-13=42'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,49 unequal: No Solution Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[43, 68], Operations: ['26-13=13', '55+13=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,49 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[55, 13, 17], Operations: ['43-26=17'] Exploring Operation: 55-13=42, Resulting Numbers: [17, 42] Generated Node #0,0,0: 49:[17, 42] Operation: 55-13=42 Exploring Operation: 17-13=4, Resulting Numbers: [55, 4] Generated Node #0,0,1: 49:[55, 4] Operation: 17-13=4 Exploring Operation: 55-17=38, Resulting Numbers: [13, 38] Generated Node #0,0,2: 49:[13, 38] Operation: 55-17=38 Exploring Operation: 13+17=30, Resulting Numbers: [55, 30] Generated Node #0,0,3: 49:[55, 30] Operation: 13+17=30 Moving to Node #0,0,1 Current State: 49:[55, 4], Operations: ['43-26=17', '17-13=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[13, 38], Operations: ['43-26=17', '55-17=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,49 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[17, 42], Operations: ['43-26=17', '55-13=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,49 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[55, 30], Operations: ['43-26=17', '13+17=30'] Exploring Operation: 55*30=1650, Resulting Numbers: [1650] 1650,49 unequal: No Solution Exploring Operation: 55+30=85, Resulting Numbers: [85] 85,49 unequal: No Solution Exploring Operation: 55-30=25, Resulting Numbers: [25] 25,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[55, 43, 39], Operations: ['13+26=39'] Exploring Operation: 55-39=16, Resulting Numbers: [43, 16] Generated Node #0,2,0: 49:[43, 16] Operation: 55-39=16 Exploring Operation: 43-39=4, Resulting Numbers: [55, 4] Generated Node #0,2,1: 49:[55, 4] Operation: 43-39=4 Exploring Operation: 55-43=12, Resulting Numbers: [39, 12] Generated Node #0,2,2: 49:[39, 12] Operation: 55-43=12 Exploring Operation: 43+39=82, Resulting Numbers: [55, 82] Generated Node #0,2,3: 49:[55, 82] Operation: 43+39=82 Moving to Node #0,2,1 Current State: 49:[55, 4], Operations: ['13+26=39', '43-39=4'] Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,49 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,49 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[39, 12], Operations: ['13+26=39', '55-43=12'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,49 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[43, 16], Operations: ['13+26=39', '55-39=16'] Exploring Operation: 43*16=688, Resulting Numbers: [688] 688,49 unequal: No Solution Exploring Operation: 43-16=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 43+16=59, Resulting Numbers: [59] 59,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[55, 82], Operations: ['13+26=39', '43+39=82'] Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,49 unequal: No Solution Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,49 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,49 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
[ 25, 15, 30, 75 ]
19
[ "15*30=450", "450/75=6", "25-6=19" ]
Current State: 19:[25, 15, 30, 75], Operations: [] Exploring Operation: 15*30=450, Resulting Numbers: [25, 75, 450] Generated Node #2: [25, 75, 450] from Operation: 15*30=450 Current State: 19:[25, 75, 450], Operations: ['15*30=450'] Exploring Operation: 450/75=6, Resulting Numbers: [25, 6] Generated Node #3: [25, 6] from Operation: 450/75=6 Current State: 19:[25, 6], Operations: ['15*30=450', '450/75=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[25, 15, 30, 75], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [15, 30, 3] Generated Node #0,0: 19:[15, 30, 3] Operation: 75/25=3 Exploring Operation: 75/15=5, Resulting Numbers: [25, 30, 5] Generated Node #0,1: 19:[25, 30, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 19:[15, 30, 3], Operations: ['75/25=3'] Exploring Operation: 30-3=27, Resulting Numbers: [15, 27] Generated Node #0,0,0: 19:[15, 27] Operation: 30-3=27 Exploring Operation: 15+3=18, Resulting Numbers: [30, 18] Generated Node #0,0,1: 19:[30, 18] Operation: 15+3=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[15, 27], Operations: ['75/25=3', '30-3=27'] Exploring Operation: 15+27=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,19 unequal: No Solution No 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: 19:[30, 18], Operations: ['75/25=3', '15+3=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,19 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: 19:[25, 30, 5], Operations: ['75/15=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25, 25] Generated Node #0,1,0: 19:[25, 25] Operation: 30-5=25 Exploring Operation: 25-5=20, Resulting Numbers: [30, 20] Generated Node #0,1,1: 19:[30, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[25, 25], Operations: ['75/15=5', '30-5=25'] Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,19 unequal: No Solution No 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: 19:[30, 20], Operations: ['75/15=5', '25-5=20'] Exploring Operation: 30+20=50, Resulting Numbers: [50] 50,19 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 87, 23, 12, 25 ]
91
[ "23+25=48", "48/12=4", "87+4=91" ]
Current State: 91:[87, 23, 12, 25], Operations: [] Exploring Operation: 23+25=48, Resulting Numbers: [87, 12, 48] Generated Node #2: [87, 12, 48] from Operation: 23+25=48 Current State: 91:[87, 12, 48], Operations: ['23+25=48'] Exploring Operation: 48/12=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 48/12=4 Current State: 91:[87, 4], Operations: ['23+25=48', '48/12=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 23, 12, 25], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [87, 12, 2] Generated Node #0,0: 91:[87, 12, 2] Operation: 25-23=2 Moving to Node #0,0 Current State: 91:[87, 12, 2], Operations: ['25-23=2'] Exploring Operation: 87+2=89, Resulting Numbers: [12, 89] Generated Node #0,0,0: 91:[12, 89] Operation: 87+2=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[12, 89], Operations: ['25-23=2', '87+2=89'] Exploring Operation: 12+89=101, Resulting Numbers: [101] 101,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 14, 21, 19, 17 ]
20
[ "19-14=5", "21-17=4", "5*4=20" ]
Current State: 20:[14, 21, 19, 17], Operations: [] Exploring Operation: 19-14=5, Resulting Numbers: [21, 17, 5] Generated Node #2: [21, 17, 5] from Operation: 19-14=5 Current State: 20:[21, 17, 5], Operations: ['19-14=5'] Exploring Operation: 21-17=4, Resulting Numbers: [5, 4] Generated Node #3: [5, 4] from Operation: 21-17=4 Current State: 20:[5, 4], Operations: ['19-14=5', '21-17=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[14, 21, 19, 17], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [21, 19, 3] Generated Node #0,0: 20:[21, 19, 3] Operation: 17-14=3 Moving to Node #0,0 Current State: 20:[21, 19, 3], Operations: ['17-14=3'] Exploring Operation: 21-19=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 20:[3, 2] Operation: 21-19=2 Moving to Node #0,0,0 Current State: 20:[3, 2], Operations: ['17-14=3', '21-19=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,20 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 20, 16, 43 ]
54
[ "20/4=5", "16+43=59", "59-5=54" ]
Current State: 54:[4, 20, 16, 43], Operations: [] Exploring Operation: 20/4=5, Resulting Numbers: [16, 43, 5] Generated Node #2: [16, 43, 5] from Operation: 20/4=5 Current State: 54:[16, 43, 5], Operations: ['20/4=5'] Exploring Operation: 16+43=59, Resulting Numbers: [5, 59] Generated Node #3: [5, 59] from Operation: 16+43=59 Current State: 54:[5, 59], Operations: ['20/4=5', '16+43=59'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[4, 20, 16, 43], Operations: [] Exploring Operation: 43-20=23, Resulting Numbers: [4, 16, 23] Generated Node #0,0: 54:[4, 16, 23] Operation: 43-20=23 Exploring Operation: 43-16=27, Resulting Numbers: [4, 20, 27] Generated Node #0,1: 54:[4, 20, 27] Operation: 43-16=27 Exploring Operation: 16+43=59, Resulting Numbers: [4, 20, 59] Generated Node #0,2: 54:[4, 20, 59] Operation: 16+43=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[4, 20, 27], Operations: ['43-16=27'] Exploring Operation: 20/4=5, Resulting Numbers: [27, 5] Generated Node #0,1,0: 54:[27, 5] Operation: 20/4=5 Exploring Operation: 27-20=7, Resulting Numbers: [4, 7] Generated Node #0,1,1: 54:[4, 7] Operation: 27-20=7 Exploring Operation: 20-4=16, Resulting Numbers: [27, 16] Generated Node #0,1,2: 54:[27, 16] Operation: 20-4=16 Moving to Node #0,1,0 Current State: 54:[27, 5], Operations: ['43-16=27', '20/4=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,54 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[4, 7], Operations: ['43-16=27', '27-20=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[27, 16], Operations: ['43-16=27', '20-4=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,54 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[4, 16, 23], Operations: ['43-20=23'] Exploring Operation: 23-4=19, Resulting Numbers: [16, 19] Generated Node #0,0,0: 54:[16, 19] Operation: 23-4=19 Exploring Operation: 23-16=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 54:[4, 7] Operation: 23-16=7 Exploring Operation: 4+23=27, Resulting Numbers: [16, 27] Generated Node #0,0,2: 54:[16, 27] Operation: 4+23=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[4, 7], Operations: ['43-20=23', '23-16=7'] Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,54 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[16, 27], Operations: ['43-20=23', '4+23=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,54 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,54 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,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,0 Current State: 54:[16, 19], Operations: ['43-20=23', '23-4=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,54 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[4, 20, 59], Operations: ['16+43=59'] Exploring Operation: 59-4=55, Resulting Numbers: [20, 55] Generated Node #0,2,0: 54:[20, 55] Operation: 59-4=55 Exploring Operation: 20-4=16, Resulting Numbers: [59, 16] Generated Node #0,2,1: 54:[59, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 54:[59, 5] Operation: 20/4=5 Moving to Node #0,2,0 Current State: 54:[20, 55], Operations: ['16+43=59', '59-4=55'] Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,54 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[59, 5], Operations: ['16+43=59', '20/4=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,54 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[4, 20, 16, 43], Operations: [] Exploring Operation: 16+43=59, Resulting Numbers: [4, 20, 59] Generated Node #0,2: 54:[4, 20, 59] Operation: 16+43=59 Moving to Node #0,2 Current State: 54:[4, 20, 59], Operations: ['16+43=59'] Exploring Operation: 20/4=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 54:[59, 5] Operation: 20/4=5 Moving to Node #0,2,2 Current State: 54:[59, 5], Operations: ['16+43=59', '20/4=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_3
mult_heuristic
[ 80, 40, 3, 19 ]
73
[ "80+19=99", "99/3=33", "40+33=73" ]
Current State: 73:[80, 40, 3, 19], Operations: [] Exploring Operation: 80+19=99, Resulting Numbers: [40, 3, 99] Generated Node #2: [40, 3, 99] from Operation: 80+19=99 Current State: 73:[40, 3, 99], Operations: ['80+19=99'] Exploring Operation: 99/3=33, Resulting Numbers: [40, 33] Generated Node #3: [40, 33] from Operation: 99/3=33 Current State: 73:[40, 33], Operations: ['80+19=99', '99/3=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[80, 40, 3, 19], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [80, 40, 57] Generated Node #0,0: 73:[80, 40, 57] Operation: 3*19=57 Moving to Node #0,0 Current State: 73:[80, 40, 57], Operations: ['3*19=57'] Exploring Operation: 40+57=97, Resulting Numbers: [80, 97] Generated Node #0,0,0: 73:[80, 97] Operation: 40+57=97 Moving to Node #0,0,0 Current State: 73:[80, 97], Operations: ['3*19=57', '40+57=97'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,73 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 54, 32, 34, 2 ]
46
[ "54-32=22", "34*2=68", "68-22=46" ]
Current State: 46:[54, 32, 34, 2], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [34, 2, 22] Generated Node #2: [34, 2, 22] from Operation: 54-32=22 Current State: 46:[34, 2, 22], Operations: ['54-32=22'] Exploring Operation: 34*2=68, Resulting Numbers: [22, 68] Generated Node #3: [22, 68] from Operation: 34*2=68 Current State: 46:[22, 68], Operations: ['54-32=22', '34*2=68'] Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[54, 32, 34, 2], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [54, 2, 2] Generated Node #0,0: 46:[54, 2, 2] Operation: 34-32=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[54, 2, 2], Operations: ['34-32=2'] Exploring Operation: 54/2=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 46:[2, 27] Operation: 54/2=27 Moving to Node #0,0,0 Current State: 46:[2, 27], Operations: ['34-32=2', '54/2=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,46 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
[ 46, 35, 37, 22 ]
90
[ "37-35=2", "22*2=44", "46+44=90" ]
Current State: 90:[46, 35, 37, 22], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [46, 22, 2] Generated Node #2: [46, 22, 2] from Operation: 37-35=2 Current State: 90:[46, 22, 2], Operations: ['37-35=2'] Exploring Operation: 22*2=44, Resulting Numbers: [46, 44] Generated Node #3: [46, 44] from Operation: 22*2=44 Current State: 90:[46, 44], Operations: ['37-35=2', '22*2=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[46, 35, 37, 22], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [46, 22, 2] Generated Node #0,0: 90:[46, 22, 2] Operation: 37-35=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[46, 22, 2], Operations: ['37-35=2'] Exploring Operation: 22*2=44, Resulting Numbers: [46, 44] Generated Node #0,0,0: 90:[46, 44] Operation: 22*2=44 Moving to Node #0,0,0 Current State: 90:[46, 44], Operations: ['37-35=2', '22*2=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[46, 35, 37, 22], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [46, 22, 2] Generated Node #0,0: 90:[46, 22, 2] Operation: 37-35=2 Moving to Node #0,0 Current State: 90:[46, 22, 2], Operations: ['37-35=2'] Exploring Operation: 22*2=44, Resulting Numbers: [46, 44] Generated Node #0,0,0: 90:[46, 44] Operation: 22*2=44 Moving to Node #0,0,0 Current State: 90:[46, 44], Operations: ['37-35=2', '22*2=44'] Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 38, 53, 53, 51 ]
89
[ "38+53=91", "53-51=2", "91-2=89" ]
Current State: 89:[38, 53, 53, 51], Operations: [] Exploring Operation: 38+53=91, Resulting Numbers: [51, 91] Generated Node #2: [51, 91] from Operation: 38+53=91 Current State: 89:[51, 91], Operations: ['38+53=91'] Exploring Operation: 53-51=2, Resulting Numbers: [91, 2] Generated Node #3: [91, 2] from Operation: 53-51=2 Current State: 89:[91, 2], Operations: ['38+53=91', '53-51=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[38, 53, 53, 51], Operations: [] Exploring Operation: 38+53=91, Resulting Numbers: [53, 51, 91] Generated Node #0,0: 89:[53, 51, 91] Operation: 38+53=91 Exploring Operation: 38+53=91, Resulting Numbers: [53, 51, 91] Generated Node #0,1: 89:[53, 51, 91] Operation: 38+53=91 Exploring Operation: 53+51=104, Resulting Numbers: [38, 53, 104] Generated Node #0,2: 89:[38, 53, 104] Operation: 53+51=104 Exploring Operation: 38+51=89, Resulting Numbers: [53, 53, 89] Generated Node #0,3: 89:[53, 53, 89] Operation: 38+51=89 Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[53, 53, 89], Operations: ['38+51=89'] Exploring Operation: 53/53=1, Resulting Numbers: [89, 1] Generated Node #0,3,0: 89:[89, 1] Operation: 53/53=1 Exploring Operation: 53+89=142, Resulting Numbers: [53, 142] Generated Node #0,3,1: 89:[53, 142] Operation: 53+89=142 Exploring Operation: 53+53=106, Resulting Numbers: [89, 106] Generated Node #0,3,2: 89:[89, 106] Operation: 53+53=106 Exploring Operation: 53-53=0, Resulting Numbers: [89, 0] Generated Node #0,3,3: 89:[89, 0] Operation: 53-53=0 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 89:[89, 106], Operations: ['38+51=89', '53+53=106'] Exploring Operation: 89+106=195, Resulting Numbers: [195] 195,89 unequal: No Solution Exploring Operation: 106-89=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 89*106=9434, Resulting Numbers: [9434] 9434,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[89, 1], Operations: ['38+51=89', '53/53=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[38, 53, 53, 51], Operations: [] Exploring Operation: 38+51=89, Resulting Numbers: [53, 53, 89] Generated Node #0,3: 89:[53, 53, 89] Operation: 38+51=89 Moving to Node #0,3 Current State: 89:[53, 53, 89], Operations: ['38+51=89'] Exploring Operation: 53/53=1, Resulting Numbers: [89, 1] Generated Node #0,3,0: 89:[89, 1] Operation: 53/53=1 Moving to Node #0,3,0 Current State: 89:[89, 1], Operations: ['38+51=89', '53/53=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 69, 71, 16, 11 ]
64
[ "71-16=55", "55/11=5", "69-5=64" ]
Current State: 64:[69, 71, 16, 11], Operations: [] Exploring Operation: 71-16=55, Resulting Numbers: [69, 11, 55] Generated Node #2: [69, 11, 55] from Operation: 71-16=55 Current State: 64:[69, 11, 55], Operations: ['71-16=55'] Exploring Operation: 55/11=5, Resulting Numbers: [69, 5] Generated Node #3: [69, 5] from Operation: 55/11=5 Current State: 64:[69, 5], Operations: ['71-16=55', '55/11=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[69, 71, 16, 11], Operations: [] Exploring Operation: 71-16=55, Resulting Numbers: [69, 11, 55] Generated Node #0,0: 64:[69, 11, 55] Operation: 71-16=55 Exploring Operation: 71-69=2, Resulting Numbers: [16, 11, 2] Generated Node #0,1: 64:[16, 11, 2] Operation: 71-69=2 Exploring Operation: 71-11=60, Resulting Numbers: [69, 16, 60] Generated Node #0,2: 64:[69, 16, 60] Operation: 71-11=60 Exploring Operation: 16-11=5, Resulting Numbers: [69, 71, 5] Generated Node #0,3: 64:[69, 71, 5] Operation: 16-11=5 Exploring Operation: 69-11=58, Resulting Numbers: [71, 16, 58] Generated Node #0,4: 64:[71, 16, 58] Operation: 69-11=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[16, 11, 2], Operations: ['71-69=2'] Exploring Operation: 11+2=13, Resulting Numbers: [16, 13] Generated Node #0,1,0: 64:[16, 13] Operation: 11+2=13 Exploring Operation: 16-11=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 64:[2, 5] Operation: 16-11=5 Exploring Operation: 11-2=9, Resulting Numbers: [16, 9] Generated Node #0,1,2: 64:[16, 9] Operation: 11-2=9 Exploring Operation: 16*2=32, Resulting Numbers: [11, 32] Generated Node #0,1,3: 64:[11, 32] Operation: 16*2=32 Exploring Operation: 16/2=8, Resulting Numbers: [11, 8] Generated Node #0,1,4: 64:[11, 8] Operation: 16/2=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[2, 5], Operations: ['71-69=2', '16-11=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,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,1,2 Current State: 64:[16, 9], Operations: ['71-69=2', '11-2=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,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,1,0 Current State: 64:[16, 13], Operations: ['71-69=2', '11+2=13'] Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,64 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,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,1,3 Current State: 64:[11, 32], Operations: ['71-69=2', '16*2=32'] Exploring Operation: 11+32=43, Resulting Numbers: [43] 43,64 unequal: No Solution Exploring Operation: 11*32=352, Resulting Numbers: [352] 352,64 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,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,1,4 Current State: 64:[11, 8], Operations: ['71-69=2', '16/2=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,64 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,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:[69, 16, 60], Operations: ['71-11=60'] Exploring Operation: 60-16=44, Resulting Numbers: [69, 44] Generated Node #0,2,0: 64:[69, 44] Operation: 60-16=44 Exploring Operation: 69+16=85, Resulting Numbers: [60, 85] Generated Node #0,2,1: 64:[60, 85] Operation: 69+16=85 Exploring Operation: 69-16=53, Resulting Numbers: [60, 53] Generated Node #0,2,2: 64:[60, 53] Operation: 69-16=53 Exploring Operation: 69-60=9, Resulting Numbers: [16, 9] Generated Node #0,2,3: 64:[16, 9] Operation: 69-60=9 Exploring Operation: 16+60=76, Resulting Numbers: [69, 76] Generated Node #0,2,4: 64:[69, 76] Operation: 16+60=76 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 64:[16, 9], Operations: ['71-11=60', '69-60=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,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:[60, 53], Operations: ['71-11=60', '69-16=53'] Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,64 unequal: No Solution Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,64 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,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:[69, 44], Operations: ['71-11=60', '60-16=44'] Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,64 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,64 unequal: No Solution Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,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,4 Current State: 64:[69, 76], Operations: ['71-11=60', '16+60=76'] Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 69*76=5244, Resulting Numbers: [5244] 5244,64 unequal: No Solution Exploring Operation: 69+76=145, Resulting Numbers: [145] 145,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:[60, 85], Operations: ['71-11=60', '69+16=85'] Exploring Operation: 60+85=145, Resulting Numbers: [145] 145,64 unequal: No Solution Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 60*85=5100, Resulting Numbers: [5100] 5100,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,3 Current State: 64:[69, 71, 5], Operations: ['16-11=5'] Exploring Operation: 69-5=64, Resulting Numbers: [71, 64] Generated Node #0,3,0: 64:[71, 64] Operation: 69-5=64 Exploring Operation: 71+5=76, Resulting Numbers: [69, 76] Generated Node #0,3,1: 64:[69, 76] Operation: 71+5=76 Exploring Operation: 69+5=74, Resulting Numbers: [71, 74] Generated Node #0,3,2: 64:[71, 74] Operation: 69+5=74 Exploring Operation: 71-5=66, Resulting Numbers: [69, 66] Generated Node #0,3,3: 64:[69, 66] Operation: 71-5=66 Exploring Operation: 71-69=2, Resulting Numbers: [5, 2] Generated Node #0,3,4: 64:[5, 2] Operation: 71-69=2 Moving to Node #0,3,4 Current State: 64:[5, 2], Operations: ['16-11=5', '71-69=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[69, 66], Operations: ['16-11=5', '71-5=66'] Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,64 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,64 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[71, 64], Operations: ['16-11=5', '69-5=64'] Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,64 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[69, 76], Operations: ['16-11=5', '71+5=76'] Exploring Operation: 76-69=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 69*76=5244, Resulting Numbers: [5244] 5244,64 unequal: No Solution Exploring Operation: 69+76=145, Resulting Numbers: [145] 145,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[71, 74], Operations: ['16-11=5', '69+5=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,64 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,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,4 Current State: 64:[71, 16, 58], Operations: ['69-11=58'] Exploring Operation: 71-16=55, Resulting Numbers: [58, 55] Generated Node #0,4,0: 64:[58, 55] Operation: 71-16=55 Exploring Operation: 71+16=87, Resulting Numbers: [58, 87] Generated Node #0,4,1: 64:[58, 87] Operation: 71+16=87 Exploring Operation: 16+58=74, Resulting Numbers: [71, 74] Generated Node #0,4,2: 64:[71, 74] Operation: 16+58=74 Exploring Operation: 58-16=42, Resulting Numbers: [71, 42] Generated Node #0,4,3: 64:[71, 42] Operation: 58-16=42 Exploring Operation: 71-58=13, Resulting Numbers: [16, 13] Generated Node #0,4,4: 64:[16, 13] Operation: 71-58=13 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 64:[16, 13], Operations: ['69-11=58', '71-58=13'] Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,64 unequal: No Solution Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,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,4,0 Current State: 64:[58, 55], Operations: ['69-11=58', '71-16=55'] Exploring Operation: 58-55=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 58*55=3190, Resulting Numbers: [3190] 3190,64 unequal: No Solution Exploring Operation: 58+55=113, Resulting Numbers: [113] 113,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,4,2 Current State: 64:[71, 74], Operations: ['69-11=58', '16+58=74'] Exploring Operation: 71+74=145, Resulting Numbers: [145] 145,64 unequal: No Solution Exploring Operation: 74-71=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 71*74=5254, Resulting Numbers: [5254] 5254,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,4,3 Current State: 64:[71, 42], Operations: ['69-11=58', '58-16=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,64 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,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,4,1 Current State: 64:[58, 87], Operations: ['69-11=58', '71+16=87'] Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,64 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,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,0 Current State: 64:[69, 11, 55], Operations: ['71-16=55'] Exploring Operation: 55-11=44, Resulting Numbers: [69, 44] Generated Node #0,0,0: 64:[69, 44] Operation: 55-11=44 Exploring Operation: 11+55=66, Resulting Numbers: [69, 66] Generated Node #0,0,1: 64:[69, 66] Operation: 11+55=66 Exploring Operation: 69-55=14, Resulting Numbers: [11, 14] Generated Node #0,0,2: 64:[11, 14] Operation: 69-55=14 Exploring Operation: 55/11=5, Resulting Numbers: [69, 5] Generated Node #0,0,3: 64:[69, 5] Operation: 55/11=5 Exploring Operation: 69-11=58, Resulting Numbers: [55, 58] Generated Node #0,0,4: 64:[55, 58] Operation: 69-11=58 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[11, 14], Operations: ['71-16=55', '69-55=14'] Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,64 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,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,0,3 Current State: 64:[69, 5], Operations: ['71-16=55', '55/11=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[69, 71, 16, 11], Operations: [] Exploring Operation: 71-16=55, Resulting Numbers: [69, 11, 55] Generated Node #0,0: 64:[69, 11, 55] Operation: 71-16=55 Moving to Node #0,0 Current State: 64:[69, 11, 55], Operations: ['71-16=55'] Exploring Operation: 55/11=5, Resulting Numbers: [69, 5] Generated Node #0,0,3: 64:[69, 5] Operation: 55/11=5 Moving to Node #0,0,3 Current State: 64:[69, 5], Operations: ['71-16=55', '55/11=5'] Exploring Operation: 69-5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.914931
hs_5
sum_heuristic
[ 80, 50, 56, 55 ]
58
[ "80-55=25", "50/25=2", "56+2=58" ]
Current State: 58:[80, 50, 56, 55], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [50, 56, 25] Generated Node #2: [50, 56, 25] from Operation: 80-55=25 Current State: 58:[50, 56, 25], Operations: ['80-55=25'] Exploring Operation: 50/25=2, Resulting Numbers: [56, 2] Generated Node #3: [56, 2] from Operation: 50/25=2 Current State: 58:[56, 2], Operations: ['80-55=25', '50/25=2'] Exploring Operation: 56+2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[80, 50, 56, 55], Operations: [] Exploring Operation: 80-50=30, Resulting Numbers: [56, 55, 30] Generated Node #0,0: 58:[56, 55, 30] Operation: 80-50=30 Moving to Node #0,0 Current State: 58:[56, 55, 30], Operations: ['80-50=30'] Exploring Operation: 56-55=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 58:[30, 1] Operation: 56-55=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[30, 1], Operations: ['80-50=30', '56-55=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 99, 84, 3, 55 ]
98
[ "99+55=154", "84*3=252", "252-154=98" ]
Current State: 98:[99, 84, 3, 55], Operations: [] Exploring Operation: 99+55=154, Resulting Numbers: [84, 3, 154] Generated Node #2: [84, 3, 154] from Operation: 99+55=154 Current State: 98:[84, 3, 154], Operations: ['99+55=154'] Exploring Operation: 84*3=252, Resulting Numbers: [154, 252] Generated Node #3: [154, 252] from Operation: 84*3=252 Current State: 98:[154, 252], Operations: ['99+55=154', '84*3=252'] Exploring Operation: 252-154=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[99, 84, 3, 55], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [3, 55, 15] Generated Node #0,0: 98:[3, 55, 15] Operation: 99-84=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[3, 55, 15], Operations: ['99-84=15'] Exploring Operation: 55-3=52, Resulting Numbers: [15, 52] Generated Node #0,0,0: 98:[15, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[15, 52], Operations: ['99-84=15', '55-3=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,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
[ 15, 86, 21, 7 ]
44
[ "21-15=6", "7*6=42", "86-42=44" ]
Current State: 44:[15, 86, 21, 7], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [86, 7, 6] Generated Node #2: [86, 7, 6] from Operation: 21-15=6 Current State: 44:[86, 7, 6], Operations: ['21-15=6'] Exploring Operation: 7*6=42, Resulting Numbers: [86, 42] Generated Node #3: [86, 42] from Operation: 7*6=42 Current State: 44:[86, 42], Operations: ['21-15=6', '7*6=42'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[15, 86, 21, 7], Operations: [] Exploring Operation: 86-15=71, Resulting Numbers: [21, 7, 71] Generated Node #0,0: 44:[21, 7, 71] Operation: 86-15=71 Exploring Operation: 86-7=79, Resulting Numbers: [15, 21, 79] Generated Node #0,1: 44:[15, 21, 79] Operation: 86-7=79 Exploring Operation: 15+7=22, Resulting Numbers: [86, 21, 22] Generated Node #0,2: 44:[86, 21, 22] Operation: 15+7=22 Exploring Operation: 86-21=65, Resulting Numbers: [15, 7, 65] Generated Node #0,3: 44:[15, 7, 65] Operation: 86-21=65 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[15, 7, 65], Operations: ['86-21=65'] Exploring Operation: 15-7=8, Resulting Numbers: [65, 8] Generated Node #0,3,0: 44:[65, 8] Operation: 15-7=8 Exploring Operation: 65-15=50, Resulting Numbers: [7, 50] Generated Node #0,3,1: 44:[7, 50] Operation: 65-15=50 Exploring Operation: 65-7=58, Resulting Numbers: [15, 58] Generated Node #0,3,2: 44:[15, 58] Operation: 65-7=58 Exploring Operation: 15+7=22, Resulting Numbers: [65, 22] Generated Node #0,3,3: 44:[65, 22] Operation: 15+7=22 Moving to Node #0,3,1 Current State: 44:[7, 50], Operations: ['86-21=65', '65-15=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,44 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[15, 58], Operations: ['86-21=65', '65-7=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,44 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[65, 22], Operations: ['86-21=65', '15+7=22'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,44 unequal: No Solution Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[65, 8], Operations: ['86-21=65', '15-7=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,44 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,44 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,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,0 Current State: 44:[21, 7, 71], Operations: ['86-15=71'] Exploring Operation: 21/7=3, Resulting Numbers: [71, 3] Generated Node #0,0,0: 44:[71, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [71, 14] Generated Node #0,0,1: 44:[71, 14] Operation: 21-7=14 Exploring Operation: 71-21=50, Resulting Numbers: [7, 50] Generated Node #0,0,2: 44:[7, 50] Operation: 71-21=50 Exploring Operation: 71-7=64, Resulting Numbers: [21, 64] Generated Node #0,0,3: 44:[21, 64] Operation: 71-7=64 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 44:[7, 50], Operations: ['86-15=71', '71-21=50'] Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,44 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 44:[21, 64], Operations: ['86-15=71', '71-7=64'] Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,44 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[71, 3], Operations: ['86-15=71', '21/7=3'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 71*3=213, Resulting Numbers: [213] 213,44 unequal: No Solution Exploring Operation: 71+3=74, Resulting Numbers: [74] 74,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 44:[71, 14], Operations: ['86-15=71', '21-7=14'] Exploring Operation: 71*14=994, Resulting Numbers: [994] 994,44 unequal: No Solution Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,44 unequal: No Solution Exploring Operation: 71+14=85, Resulting Numbers: [85] 85,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[15, 21, 79], Operations: ['86-7=79'] Exploring Operation: 15+21=36, Resulting Numbers: [79, 36] Generated Node #0,1,0: 44:[79, 36] Operation: 15+21=36 Exploring Operation: 21-15=6, Resulting Numbers: [79, 6] Generated Node #0,1,1: 44:[79, 6] Operation: 21-15=6 Exploring Operation: 79-21=58, Resulting Numbers: [15, 58] Generated Node #0,1,2: 44:[15, 58] Operation: 79-21=58 Exploring Operation: 79-15=64, Resulting Numbers: [21, 64] Generated Node #0,1,3: 44:[21, 64] Operation: 79-15=64 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[15, 58], Operations: ['86-7=79', '79-21=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,44 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[21, 64], Operations: ['86-7=79', '79-15=64'] Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[79, 6], Operations: ['86-7=79', '21-15=6'] Exploring Operation: 79+6=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 79*6=474, Resulting Numbers: [474] 474,44 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[79, 36], Operations: ['86-7=79', '15+21=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,44 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[86, 21, 22], Operations: ['15+7=22'] Exploring Operation: 22-21=1, Resulting Numbers: [86, 1] Generated Node #0,2,0: 44:[86, 1] Operation: 22-21=1 Exploring Operation: 86-21=65, Resulting Numbers: [22, 65] Generated Node #0,2,1: 44:[22, 65] Operation: 86-21=65 Exploring Operation: 86-22=64, Resulting Numbers: [21, 64] Generated Node #0,2,2: 44:[21, 64] Operation: 86-22=64 Exploring Operation: 21+22=43, Resulting Numbers: [86, 43] Generated Node #0,2,3: 44:[86, 43] Operation: 21+22=43 Moving to Node #0,2,1 Current State: 44:[22, 65], Operations: ['15+7=22', '86-21=65'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 22*65=1430, Resulting Numbers: [1430] 1430,44 unequal: No Solution Exploring Operation: 22+65=87, Resulting Numbers: [87] 87,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[21, 64], Operations: ['15+7=22', '86-22=64'] Exploring Operation: 64-21=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 21+64=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 21*64=1344, Resulting Numbers: [1344] 1344,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[86, 43], Operations: ['15+7=22', '21+22=43'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,44 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,44 unequal: No Solution Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[86, 1], Operations: ['15+7=22', '22-21=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,44 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,44 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,44 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
[ 46, 9, 15, 32 ]
84
[ "46-9=37", "15+32=47", "37+47=84" ]
Current State: 84:[46, 9, 15, 32], Operations: [] Exploring Operation: 46-9=37, Resulting Numbers: [15, 32, 37] Generated Node #2: [15, 32, 37] from Operation: 46-9=37 Current State: 84:[15, 32, 37], Operations: ['46-9=37'] Exploring Operation: 15+32=47, Resulting Numbers: [37, 47] Generated Node #3: [37, 47] from Operation: 15+32=47 Current State: 84:[37, 47], Operations: ['46-9=37', '15+32=47'] Exploring Operation: 37+47=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[46, 9, 15, 32], Operations: [] Exploring Operation: 9+32=41, Resulting Numbers: [46, 15, 41] Generated Node #0,0: 84:[46, 15, 41] Operation: 9+32=41 Exploring Operation: 46-32=14, Resulting Numbers: [9, 15, 14] Generated Node #0,1: 84:[9, 15, 14] Operation: 46-32=14 Exploring Operation: 32-9=23, Resulting Numbers: [46, 15, 23] Generated Node #0,2: 84:[46, 15, 23] Operation: 32-9=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[9, 15, 14], Operations: ['46-32=14'] Exploring Operation: 15-9=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 84:[14, 6] Operation: 15-9=6 Exploring Operation: 14-9=5, Resulting Numbers: [15, 5] Generated Node #0,1,1: 84:[15, 5] Operation: 14-9=5 Exploring Operation: 9+15=24, Resulting Numbers: [14, 24] Generated Node #0,1,2: 84:[14, 24] Operation: 9+15=24 Moving to Node #0,1,0 Current State: 84:[14, 6], Operations: ['46-32=14', '15-9=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[46, 9, 15, 32], Operations: [] Exploring Operation: 46-32=14, Resulting Numbers: [9, 15, 14] Generated Node #0,1: 84:[9, 15, 14] Operation: 46-32=14 Moving to Node #0,1 Current State: 84:[9, 15, 14], Operations: ['46-32=14'] Exploring Operation: 15-9=6, Resulting Numbers: [14, 6] Generated Node #0,1,0: 84:[14, 6] Operation: 15-9=6 Moving to Node #0,1,0 Current State: 84:[14, 6], Operations: ['46-32=14', '15-9=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 57, 16, 32, 85 ]
29
[ "57*32=1824", "1824/16=114", "114-85=29" ]
Current State: 29:[57, 16, 32, 85], Operations: [] Exploring Operation: 57*32=1824, Resulting Numbers: [16, 85, 1824] Generated Node #2: [16, 85, 1824] from Operation: 57*32=1824 Current State: 29:[16, 85, 1824], Operations: ['57*32=1824'] Exploring Operation: 1824/16=114, Resulting Numbers: [85, 114] Generated Node #3: [85, 114] from Operation: 1824/16=114 Current State: 29:[85, 114], Operations: ['57*32=1824', '1824/16=114'] Exploring Operation: 114-85=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[57, 16, 32, 85], Operations: [] Exploring Operation: 85-16=69, Resulting Numbers: [57, 32, 69] Generated Node #0,0: 29:[57, 32, 69] Operation: 85-16=69 Exploring Operation: 57-16=41, Resulting Numbers: [32, 85, 41] Generated Node #0,1: 29:[32, 85, 41] Operation: 57-16=41 Exploring Operation: 85-57=28, Resulting Numbers: [16, 32, 28] Generated Node #0,2: 29:[16, 32, 28] Operation: 85-57=28 Exploring Operation: 85-32=53, Resulting Numbers: [57, 16, 53] Generated Node #0,3: 29:[57, 16, 53] Operation: 85-32=53 Start Sub Search at level 1: Moving to Node #0,2 Current State: 29:[16, 32, 28], Operations: ['85-57=28'] Exploring Operation: 28-16=12, Resulting Numbers: [32, 12] Generated Node #0,2,0: 29:[32, 12] Operation: 28-16=12 Exploring Operation: 16+32=48, Resulting Numbers: [28, 48] Generated Node #0,2,1: 29:[28, 48] Operation: 16+32=48 Exploring Operation: 16+28=44, Resulting Numbers: [32, 44] Generated Node #0,2,2: 29:[32, 44] Operation: 16+28=44 Exploring Operation: 32-16=16, Resulting Numbers: [28, 16] Generated Node #0,2,3: 29:[28, 16] Operation: 32-16=16 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 29:[28, 16], Operations: ['85-57=28', '32-16=16'] Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,29 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,29 unequal: No Solution No 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: 29:[32, 44], Operations: ['85-57=28', '16+28=44'] Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,29 unequal: No Solution No 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: 29:[32, 12], Operations: ['85-57=28', '28-16=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,29 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,29 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,29 unequal: No Solution No 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: 29:[28, 48], Operations: ['85-57=28', '16+32=48'] Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 28+48=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 28*48=1344, Resulting Numbers: [1344] 1344,29 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: 29:[57, 16, 53], Operations: ['85-32=53'] Exploring Operation: 53-16=37, Resulting Numbers: [57, 37] Generated Node #0,3,0: 29:[57, 37] Operation: 53-16=37 Exploring Operation: 57-53=4, Resulting Numbers: [16, 4] Generated Node #0,3,1: 29:[16, 4] Operation: 57-53=4 Exploring Operation: 57+16=73, Resulting Numbers: [53, 73] Generated Node #0,3,2: 29:[53, 73] Operation: 57+16=73 Exploring Operation: 57-16=41, Resulting Numbers: [53, 41] Generated Node #0,3,3: 29:[53, 41] Operation: 57-16=41 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[57, 37], Operations: ['85-32=53', '53-16=37'] Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 57*37=2109, Resulting Numbers: [2109] 2109,29 unequal: No Solution No 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: 29:[53, 41], Operations: ['85-32=53', '57-16=41'] Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,29 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,29 unequal: No Solution No 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: 29:[16, 4], Operations: ['85-32=53', '57-53=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,29 unequal: No Solution No 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: 29:[53, 73], Operations: ['85-32=53', '57+16=73'] Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 53*73=3869, Resulting Numbers: [3869] 3869,29 unequal: No Solution Exploring Operation: 53+73=126, Resulting Numbers: [126] 126,29 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: 29:[57, 32, 69], Operations: ['85-16=69'] Exploring Operation: 57-32=25, Resulting Numbers: [69, 25] Generated Node #0,0,0: 29:[69, 25] Operation: 57-32=25 Exploring Operation: 69-32=37, Resulting Numbers: [57, 37] Generated Node #0,0,1: 29:[57, 37] Operation: 69-32=37 Exploring Operation: 69-57=12, Resulting Numbers: [32, 12] Generated Node #0,0,2: 29:[32, 12] Operation: 69-57=12 Exploring Operation: 57+32=89, Resulting Numbers: [69, 89] Generated Node #0,0,3: 29:[69, 89] Operation: 57+32=89 Moving to Node #0,0,2 Current State: 29:[32, 12], Operations: ['85-16=69', '69-57=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,29 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[57, 37], Operations: ['85-16=69', '69-32=37'] Exploring Operation: 57*37=2109, Resulting Numbers: [2109] 2109,29 unequal: No Solution Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[69, 25], Operations: ['85-16=69', '57-32=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,29 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,29 unequal: No Solution Moving to Node #0,0,3 Current State: 29:[69, 89], Operations: ['85-16=69', '57+32=89'] Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 69*89=6141, Resulting Numbers: [6141] 6141,29 unequal: No Solution Exploring Operation: 69+89=158, Resulting Numbers: [158] 158,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[32, 85, 41], Operations: ['57-16=41'] Exploring Operation: 85-32=53, Resulting Numbers: [41, 53] Generated Node #0,1,0: 29:[41, 53] Operation: 85-32=53 Exploring Operation: 32+85=117, Resulting Numbers: [41, 117] Generated Node #0,1,1: 29:[41, 117] Operation: 32+85=117 Exploring Operation: 85-41=44, Resulting Numbers: [32, 44] Generated Node #0,1,2: 29:[32, 44] Operation: 85-41=44 Exploring Operation: 41-32=9, Resulting Numbers: [85, 9] Generated Node #0,1,3: 29:[85, 9] Operation: 41-32=9 Moving to Node #0,1,2 Current State: 29:[32, 44], Operations: ['57-16=41', '85-41=44'] Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,29 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[41, 53], Operations: ['57-16=41', '85-32=53'] Exploring Operation: 41+53=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,29 unequal: No Solution Exploring Operation: 41*53=2173, Resulting Numbers: [2173] 2173,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[85, 9], Operations: ['57-16=41', '41-32=9'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,29 unequal: No Solution Exploring Operation: 85*9=765, Resulting Numbers: [765] 765,29 unequal: No Solution Exploring Operation: 85+9=94, Resulting Numbers: [94] 94,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[41, 117], Operations: ['57-16=41', '32+85=117'] Exploring Operation: 41*117=4797, Resulting Numbers: [4797] 4797,29 unequal: No Solution Exploring Operation: 41+117=158, Resulting Numbers: [158] 158,29 unequal: No Solution Exploring Operation: 117-41=76, Resulting Numbers: [76] 76,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 75, 87, 28, 76 ]
36
[ "87-75=12", "76-28=48", "48-12=36" ]
Current State: 36:[75, 87, 28, 76], Operations: [] Exploring Operation: 87-75=12, Resulting Numbers: [28, 76, 12] Generated Node #2: [28, 76, 12] from Operation: 87-75=12 Current State: 36:[28, 76, 12], Operations: ['87-75=12'] Exploring Operation: 76-28=48, Resulting Numbers: [12, 48] Generated Node #3: [12, 48] from Operation: 76-28=48 Current State: 36:[12, 48], Operations: ['87-75=12', '76-28=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[75, 87, 28, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [75, 28, 11] Generated Node #0,0: 36:[75, 28, 11] Operation: 87-76=11 Exploring Operation: 75-28=47, Resulting Numbers: [87, 76, 47] Generated Node #0,1: 36:[87, 76, 47] Operation: 75-28=47 Exploring Operation: 76-75=1, Resulting Numbers: [87, 28, 1] Generated Node #0,2: 36:[87, 28, 1] Operation: 76-75=1 Exploring Operation: 87-75=12, Resulting Numbers: [28, 76, 12] Generated Node #0,3: 36:[28, 76, 12] Operation: 87-75=12 Moving to Node #0,0 Current State: 36:[75, 28, 11], Operations: ['87-76=11'] Exploring Operation: 75-28=47, Resulting Numbers: [11, 47] Generated Node #0,0,0: 36:[11, 47] Operation: 75-28=47 Exploring Operation: 28+11=39, Resulting Numbers: [75, 39] Generated Node #0,0,1: 36:[75, 39] Operation: 28+11=39 Exploring Operation: 75-11=64, Resulting Numbers: [28, 64] Generated Node #0,0,2: 36:[28, 64] Operation: 75-11=64 Exploring Operation: 28-11=17, Resulting Numbers: [75, 17] Generated Node #0,0,3: 36:[75, 17] Operation: 28-11=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[11, 47], Operations: ['87-76=11', '75-28=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[75, 87, 28, 76], Operations: [] Exploring Operation: 87-76=11, Resulting Numbers: [75, 28, 11] Generated Node #0,0: 36:[75, 28, 11] Operation: 87-76=11 Moving to Node #0,0 Current State: 36:[75, 28, 11], Operations: ['87-76=11'] Exploring Operation: 75-28=47, Resulting Numbers: [11, 47] Generated Node #0,0,0: 36:[11, 47] Operation: 75-28=47 Moving to Node #0,0,0 Current State: 36:[11, 47], Operations: ['87-76=11', '75-28=47'] Exploring Operation: 47-11=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 97, 2, 67, 95 ]
13
[ "97+67=164", "164/2=82", "95-82=13" ]
Current State: 13:[97, 2, 67, 95], Operations: [] Exploring Operation: 97+67=164, Resulting Numbers: [2, 95, 164] Generated Node #2: [2, 95, 164] from Operation: 97+67=164 Current State: 13:[2, 95, 164], Operations: ['97+67=164'] Exploring Operation: 164/2=82, Resulting Numbers: [95, 82] Generated Node #3: [95, 82] from Operation: 164/2=82 Current State: 13:[95, 82], Operations: ['97+67=164', '164/2=82'] Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[97, 2, 67, 95], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [2, 95, 30] Generated Node #0,0: 13:[2, 95, 30] Operation: 97-67=30 Exploring Operation: 97-95=2, Resulting Numbers: [2, 67, 2] Generated Node #0,1: 13:[2, 67, 2] Operation: 97-95=2 Moving to Node #0,1 Current State: 13:[2, 67, 2], Operations: ['97-95=2'] Exploring Operation: 67-2=65, Resulting Numbers: [2, 65] Generated Node #0,1,0: 13:[2, 65] Operation: 67-2=65 Exploring Operation: 2+2=4, Resulting Numbers: [67, 4] Generated Node #0,1,1: 13:[67, 4] Operation: 2+2=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[2, 65], Operations: ['97-95=2', '67-2=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,13 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[67, 4], Operations: ['97-95=2', '2+2=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,13 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: 13:[2, 95, 30], Operations: ['97-67=30'] Exploring Operation: 95-30=65, Resulting Numbers: [2, 65] Generated Node #0,0,0: 13:[2, 65] Operation: 95-30=65 Exploring Operation: 30/2=15, Resulting Numbers: [95, 15] Generated Node #0,0,1: 13:[95, 15] Operation: 30/2=15 Moving to Node #0,0,0 Current State: 13:[2, 65], Operations: ['97-67=30', '95-30=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,13 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[95, 15], Operations: ['97-67=30', '30/2=15'] Exploring Operation: 95+15=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 95-15=80, Resulting Numbers: [80] 80,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 39, 78, 16, 98 ]
57
[ "78/39=2", "16+98=114", "114/2=57" ]
Current State: 57:[39, 78, 16, 98], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [16, 98, 2] Generated Node #2: [16, 98, 2] from Operation: 78/39=2 Current State: 57:[16, 98, 2], Operations: ['78/39=2'] Exploring Operation: 16+98=114, Resulting Numbers: [2, 114] Generated Node #3: [2, 114] from Operation: 16+98=114 Current State: 57:[2, 114], Operations: ['78/39=2', '16+98=114'] Exploring Operation: 114/2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[39, 78, 16, 98], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [16, 98, 2] Generated Node #0,0: 57:[16, 98, 2] Operation: 78/39=2 Exploring Operation: 98-39=59, Resulting Numbers: [78, 16, 59] Generated Node #0,1: 57:[78, 16, 59] Operation: 98-39=59 Exploring Operation: 98-78=20, Resulting Numbers: [39, 16, 20] Generated Node #0,2: 57:[39, 16, 20] Operation: 98-78=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[39, 16, 20], Operations: ['98-78=20'] Exploring Operation: 39-20=19, Resulting Numbers: [16, 19] Generated Node #0,2,0: 57:[16, 19] Operation: 39-20=19 Exploring Operation: 39-16=23, Resulting Numbers: [20, 23] Generated Node #0,2,1: 57:[20, 23] Operation: 39-16=23 Exploring Operation: 39+16=55, Resulting Numbers: [20, 55] Generated Node #0,2,2: 57:[20, 55] Operation: 39+16=55 Moving to Node #0,2,0 Current State: 57:[16, 19], Operations: ['98-78=20', '39-20=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,57 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[20, 55], Operations: ['98-78=20', '39+16=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[20, 23], Operations: ['98-78=20', '39-16=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,57 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,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 Current State: 57:[78, 16, 59], Operations: ['98-39=59'] Exploring Operation: 78-16=62, Resulting Numbers: [59, 62] Generated Node #0,1,0: 57:[59, 62] Operation: 78-16=62 Exploring Operation: 59-16=43, Resulting Numbers: [78, 43] Generated Node #0,1,1: 57:[78, 43] Operation: 59-16=43 Exploring Operation: 78-59=19, Resulting Numbers: [16, 19] Generated Node #0,1,2: 57:[16, 19] Operation: 78-59=19 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[16, 19], Operations: ['98-39=59', '78-59=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,57 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,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:[59, 62], Operations: ['98-39=59', '78-16=62'] Exploring Operation: 62-59=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 59+62=121, Resulting Numbers: [121] 121,57 unequal: No Solution Exploring Operation: 59*62=3658, Resulting Numbers: [3658] 3658,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,1 Current State: 57:[78, 43], Operations: ['98-39=59', '59-16=43'] Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,57 unequal: No Solution Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,57 unequal: No Solution Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,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:[16, 98, 2], Operations: ['78/39=2'] Exploring Operation: 16+2=18, Resulting Numbers: [98, 18] Generated Node #0,0,0: 57:[98, 18] Operation: 16+2=18 Exploring Operation: 98/2=49, Resulting Numbers: [16, 49] Generated Node #0,0,1: 57:[16, 49] Operation: 98/2=49 Exploring Operation: 98-16=82, Resulting Numbers: [2, 82] Generated Node #0,0,2: 57:[2, 82] Operation: 98-16=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 57:[16, 49], Operations: ['78/39=2', '98/2=49'] Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,57 unequal: No Solution Exploring Operation: 16*49=784, Resulting Numbers: [784] 784,57 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,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:[2, 82], Operations: ['78/39=2', '98-16=82'] Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,57 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,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,0 Current State: 57:[98, 18], Operations: ['78/39=2', '16+2=18'] Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,57 unequal: No Solution Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,57 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,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
sum_heuristic
[ 5, 11, 79, 95 ]
25
[ "11+79=90", "95-90=5", "5*5=25" ]
Current State: 25:[5, 11, 79, 95], Operations: [] Exploring Operation: 11+79=90, Resulting Numbers: [5, 95, 90] Generated Node #2: [5, 95, 90] from Operation: 11+79=90 Current State: 25:[5, 95, 90], Operations: ['11+79=90'] Exploring Operation: 95-90=5, Resulting Numbers: [5, 5] Generated Node #3: [5, 5] from Operation: 95-90=5 Current State: 25:[5, 5], Operations: ['11+79=90', '95-90=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 11, 79, 95], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [5, 11, 16] Generated Node #0,0: 25:[5, 11, 16] Operation: 95-79=16 Exploring Operation: 95/5=19, Resulting Numbers: [11, 79, 19] Generated Node #0,1: 25:[11, 79, 19] Operation: 95/5=19 Moving to Node #0,0 Current State: 25:[5, 11, 16], Operations: ['95-79=16'] Exploring Operation: 11+16=27, Resulting Numbers: [5, 27] Generated Node #0,0,0: 25:[5, 27] Operation: 11+16=27 Exploring Operation: 16-11=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 25:[5, 5] Operation: 16-11=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[5, 5], Operations: ['95-79=16', '16-11=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 11, 79, 95], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [5, 11, 16] Generated Node #0,0: 25:[5, 11, 16] Operation: 95-79=16 Moving to Node #0,0 Current State: 25:[5, 11, 16], Operations: ['95-79=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 25:[5, 5] Operation: 16-11=5 Moving to Node #0,0,1 Current State: 25:[5, 5], Operations: ['95-79=16', '16-11=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 24, 56, 7, 78 ]
62
[ "78-24=54", "56/7=8", "54+8=62" ]
Current State: 62:[24, 56, 7, 78], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [56, 7, 54] Generated Node #2: [56, 7, 54] from Operation: 78-24=54 Current State: 62:[56, 7, 54], Operations: ['78-24=54'] Exploring Operation: 56/7=8, Resulting Numbers: [54, 8] Generated Node #3: [54, 8] from Operation: 56/7=8 Current State: 62:[54, 8], Operations: ['78-24=54', '56/7=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[24, 56, 7, 78], Operations: [] Exploring Operation: 56-24=32, Resulting Numbers: [7, 78, 32] Generated Node #0,0: 62:[7, 78, 32] Operation: 56-24=32 Exploring Operation: 78-24=54, Resulting Numbers: [56, 7, 54] Generated Node #0,1: 62:[56, 7, 54] Operation: 78-24=54 Exploring Operation: 78-56=22, Resulting Numbers: [24, 7, 22] Generated Node #0,2: 62:[24, 7, 22] Operation: 78-56=22 Moving to Node #0,1 Current State: 62:[56, 7, 54], Operations: ['78-24=54'] Exploring Operation: 56-54=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 62:[7, 2] Operation: 56-54=2 Exploring Operation: 56+7=63, Resulting Numbers: [54, 63] Generated Node #0,1,1: 62:[54, 63] Operation: 56+7=63 Exploring Operation: 7+54=61, Resulting Numbers: [56, 61] Generated Node #0,1,2: 62:[56, 61] Operation: 7+54=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[7, 2], Operations: ['78-24=54', '56-54=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[56, 61], Operations: ['78-24=54', '7+54=61'] Exploring Operation: 56*61=3416, Resulting Numbers: [3416] 3416,62 unequal: No Solution Exploring Operation: 56+61=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 61-56=5, Resulting Numbers: [5] 5,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[54, 63], Operations: ['78-24=54', '56+7=63'] Exploring Operation: 54+63=117, Resulting Numbers: [117] 117,62 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 54*63=3402, Resulting Numbers: [3402] 3402,62 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: 62:[24, 7, 22], Operations: ['78-56=22'] Exploring Operation: 24-22=2, Resulting Numbers: [7, 2] Generated Node #0,2,0: 62:[7, 2] Operation: 24-22=2 Exploring Operation: 24+7=31, Resulting Numbers: [22, 31] Generated Node #0,2,1: 62:[22, 31] Operation: 24+7=31 Exploring Operation: 7+22=29, Resulting Numbers: [24, 29] Generated Node #0,2,2: 62:[24, 29] Operation: 7+22=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[7, 2], Operations: ['78-56=22', '24-22=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[22, 31], Operations: ['78-56=22', '24+7=31'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 22+31=53, Resulting Numbers: [53] 53,62 unequal: No Solution Exploring Operation: 22*31=682, Resulting Numbers: [682] 682,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[24, 29], Operations: ['78-56=22', '7+22=29'] Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,62 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,62 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,62 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: 62:[7, 78, 32], Operations: ['56-24=32'] Exploring Operation: 78-7=71, Resulting Numbers: [32, 71] Generated Node #0,0,0: 62:[32, 71] Operation: 78-7=71 Exploring Operation: 78-32=46, Resulting Numbers: [7, 46] Generated Node #0,0,1: 62:[7, 46] Operation: 78-32=46 Exploring Operation: 32-7=25, Resulting Numbers: [78, 25] Generated Node #0,0,2: 62:[78, 25] Operation: 32-7=25 Moving to Node #0,0,0 Current State: 62:[32, 71], Operations: ['56-24=32', '78-7=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,62 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[7, 46], Operations: ['56-24=32', '78-32=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,62 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[78, 25], Operations: ['56-24=32', '32-7=25'] Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,62 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,62 unequal: No Solution Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,62 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 12, 45, 52, 26 ]
45
[ "45-12=33", "52+26=78", "78-33=45" ]
Current State: 45:[12, 45, 52, 26], Operations: [] Exploring Operation: 45-12=33, Resulting Numbers: [52, 26, 33] Generated Node #2: [52, 26, 33] from Operation: 45-12=33 Current State: 45:[52, 26, 33], Operations: ['45-12=33'] Exploring Operation: 52+26=78, Resulting Numbers: [33, 78] Generated Node #3: [33, 78] from Operation: 52+26=78 Current State: 45:[33, 78], Operations: ['45-12=33', '52+26=78'] Exploring Operation: 78-33=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[12, 45, 52, 26], Operations: [] Exploring Operation: 26-12=14, Resulting Numbers: [45, 52, 14] Generated Node #0,0: 45:[45, 52, 14] Operation: 26-12=14 Exploring Operation: 52/26=2, Resulting Numbers: [12, 45, 2] Generated Node #0,1: 45:[12, 45, 2] Operation: 52/26=2 Moving to Node #0,1 Current State: 45:[12, 45, 2], Operations: ['52/26=2'] Exploring Operation: 12-2=10, Resulting Numbers: [45, 10] Generated Node #0,1,0: 45:[45, 10] Operation: 12-2=10 Exploring Operation: 12+2=14, Resulting Numbers: [45, 14] Generated Node #0,1,1: 45:[45, 14] Operation: 12+2=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[45, 10], Operations: ['52/26=2', '12-2=10'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 45+10=55, Resulting Numbers: [55] 55,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[45, 14], Operations: ['52/26=2', '12+2=14'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 45:[45, 52, 14], Operations: ['26-12=14'] Exploring Operation: 52-14=38, Resulting Numbers: [45, 38] Generated Node #0,0,0: 45:[45, 38] Operation: 52-14=38 Exploring Operation: 52-45=7, Resulting Numbers: [14, 7] Generated Node #0,0,1: 45:[14, 7] Operation: 52-45=7 Moving to Node #0,0,1 Current State: 45:[14, 7], Operations: ['26-12=14', '52-45=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[45, 38], Operations: ['26-12=14', '52-14=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,45 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,45 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 6, 73, 64, 97 ]
82
[ "6+73=79", "64+97=161", "161-79=82" ]
Current State: 82:[6, 73, 64, 97], Operations: [] Exploring Operation: 6+73=79, Resulting Numbers: [64, 97, 79] Generated Node #2: [64, 97, 79] from Operation: 6+73=79 Current State: 82:[64, 97, 79], Operations: ['6+73=79'] Exploring Operation: 64+97=161, Resulting Numbers: [79, 161] Generated Node #3: [79, 161] from Operation: 64+97=161 Current State: 82:[79, 161], Operations: ['6+73=79', '64+97=161'] Exploring Operation: 161-79=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[6, 73, 64, 97], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [6, 97, 9] Generated Node #0,0: 82:[6, 97, 9] Operation: 73-64=9 Exploring Operation: 6+73=79, Resulting Numbers: [64, 97, 79] Generated Node #0,1: 82:[64, 97, 79] Operation: 6+73=79 Exploring Operation: 97-64=33, Resulting Numbers: [6, 73, 33] Generated Node #0,2: 82:[6, 73, 33] Operation: 97-64=33 Exploring Operation: 6+64=70, Resulting Numbers: [73, 97, 70] Generated Node #0,3: 82:[73, 97, 70] Operation: 6+64=70 Moving to Node #0,2 Current State: 82:[6, 73, 33], Operations: ['97-64=33'] Exploring Operation: 6+73=79, Resulting Numbers: [33, 79] Generated Node #0,2,0: 82:[33, 79] Operation: 6+73=79 Exploring Operation: 73-6=67, Resulting Numbers: [33, 67] Generated Node #0,2,1: 82:[33, 67] Operation: 73-6=67 Exploring Operation: 73-33=40, Resulting Numbers: [6, 40] Generated Node #0,2,2: 82:[6, 40] Operation: 73-33=40 Exploring Operation: 6+33=39, Resulting Numbers: [73, 39] Generated Node #0,2,3: 82:[73, 39] Operation: 6+33=39 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[6, 40], Operations: ['97-64=33', '73-33=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,82 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,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,2,0 Current State: 82:[33, 79], Operations: ['97-64=33', '6+73=79'] Exploring Operation: 33+79=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 33*79=2607, Resulting Numbers: [2607] 2607,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,2,3 Current State: 82:[73, 39], Operations: ['97-64=33', '6+33=39'] Exploring Operation: 73*39=2847, Resulting Numbers: [2847] 2847,82 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[33, 67], Operations: ['97-64=33', '73-6=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,82 unequal: No Solution Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,82 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,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:[6, 97, 9], Operations: ['73-64=9'] Exploring Operation: 6+97=103, Resulting Numbers: [9, 103] Generated Node #0,0,0: 82:[9, 103] Operation: 6+97=103 Exploring Operation: 97-6=91, Resulting Numbers: [9, 91] Generated Node #0,0,1: 82:[9, 91] Operation: 97-6=91 Exploring Operation: 97-9=88, Resulting Numbers: [6, 88] Generated Node #0,0,2: 82:[6, 88] Operation: 97-9=88 Exploring Operation: 9-6=3, Resulting Numbers: [97, 3] Generated Node #0,0,3: 82:[97, 3] Operation: 9-6=3 Moving to Node #0,3 Current State: 82:[73, 97, 70], Operations: ['6+64=70'] Exploring Operation: 73+70=143, Resulting Numbers: [97, 143] Generated Node #0,3,0: 82:[97, 143] Operation: 73+70=143 Exploring Operation: 73-70=3, Resulting Numbers: [97, 3] Generated Node #0,3,1: 82:[97, 3] Operation: 73-70=3 Exploring Operation: 97-73=24, Resulting Numbers: [70, 24] Generated Node #0,3,2: 82:[70, 24] Operation: 97-73=24 Exploring Operation: 97-70=27, Resulting Numbers: [73, 27] Generated Node #0,3,3: 82:[73, 27] Operation: 97-70=27 Moving to Node #0,1 Current State: 82:[64, 97, 79], Operations: ['6+73=79'] Exploring Operation: 97-79=18, Resulting Numbers: [64, 18] Generated Node #0,1,0: 82:[64, 18] Operation: 97-79=18 Exploring Operation: 79-64=15, Resulting Numbers: [97, 15] Generated Node #0,1,1: 82:[97, 15] Operation: 79-64=15 Exploring Operation: 97-64=33, Resulting Numbers: [79, 33] Generated Node #0,1,2: 82:[79, 33] Operation: 97-64=33 Exploring Operation: 64+79=143, Resulting Numbers: [97, 143] Generated Node #0,1,3: 82:[97, 143] Operation: 64+79=143 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[79, 33], Operations: ['6+73=79', '97-64=33'] Exploring Operation: 79+33=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 79-33=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 79*33=2607, Resulting Numbers: [2607] 2607,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,1 Current State: 82:[97, 15], Operations: ['6+73=79', '79-64=15'] Exploring Operation: 97+15=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 97*15=1455, Resulting Numbers: [1455] 1455,82 unequal: No Solution Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[6, 73, 64, 97], Operations: [] Exploring Operation: 6+73=79, Resulting Numbers: [64, 97, 79] Generated Node #0,1: 82:[64, 97, 79] Operation: 6+73=79 Moving to Node #0,1 Current State: 82:[64, 97, 79], Operations: ['6+73=79'] Exploring Operation: 79-64=15, Resulting Numbers: [97, 15] Generated Node #0,1,1: 82:[97, 15] Operation: 79-64=15 Moving to Node #0,1,1 Current State: 82:[97, 15], Operations: ['6+73=79', '79-64=15'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_4
mult_heuristic
[ 59, 55, 14, 39 ]
21
[ "59-55=4", "39-14=25", "25-4=21" ]
Current State: 21:[59, 55, 14, 39], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [14, 39, 4] Generated Node #2: [14, 39, 4] from Operation: 59-55=4 Current State: 21:[14, 39, 4], Operations: ['59-55=4'] Exploring Operation: 39-14=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 39-14=25 Current State: 21:[4, 25], Operations: ['59-55=4', '39-14=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[59, 55, 14, 39], Operations: [] Exploring Operation: 59-39=20, Resulting Numbers: [55, 14, 20] Generated Node #0,0: 21:[55, 14, 20] Operation: 59-39=20 Exploring Operation: 59-55=4, Resulting Numbers: [14, 39, 4] Generated Node #0,1: 21:[14, 39, 4] Operation: 59-55=4 Moving to Node #0,1 Current State: 21:[14, 39, 4], Operations: ['59-55=4'] Exploring Operation: 14+4=18, Resulting Numbers: [39, 18] Generated Node #0,1,0: 21:[39, 18] Operation: 14+4=18 Exploring Operation: 39-14=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 21:[4, 25] Operation: 39-14=25 Moving to Node #0,0 Current State: 21:[55, 14, 20], Operations: ['59-39=20'] Exploring Operation: 55-14=41, Resulting Numbers: [20, 41] Generated Node #0,0,0: 21:[20, 41] Operation: 55-14=41 Exploring Operation: 55-20=35, Resulting Numbers: [14, 35] Generated Node #0,0,1: 21:[14, 35] Operation: 55-20=35 Moving to Node #0,1,1 Current State: 21:[4, 25], Operations: ['59-55=4', '39-14=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[59, 55, 14, 39], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [14, 39, 4] Generated Node #0,1: 21:[14, 39, 4] Operation: 59-55=4 Moving to Node #0,1 Current State: 21:[14, 39, 4], Operations: ['59-55=4'] Exploring Operation: 39-14=25, Resulting Numbers: [4, 25] Generated Node #0,1,1: 21:[4, 25] Operation: 39-14=25 Moving to Node #0,1,1 Current State: 21:[4, 25], Operations: ['59-55=4', '39-14=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 55, 44, 3, 66 ]
12
[ "66-55=11", "44*3=132", "132/11=12" ]
Current State: 12:[55, 44, 3, 66], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [44, 3, 11] Generated Node #2: [44, 3, 11] from Operation: 66-55=11 Current State: 12:[44, 3, 11], Operations: ['66-55=11'] Exploring Operation: 44*3=132, Resulting Numbers: [11, 132] Generated Node #3: [11, 132] from Operation: 44*3=132 Current State: 12:[11, 132], Operations: ['66-55=11', '44*3=132'] Exploring Operation: 132/11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[55, 44, 3, 66], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [3, 66, 11] Generated Node #0,0: 12:[3, 66, 11] Operation: 55-44=11 Exploring Operation: 66-44=22, Resulting Numbers: [55, 3, 22] Generated Node #0,1: 12:[55, 3, 22] Operation: 66-44=22 Exploring Operation: 66/3=22, Resulting Numbers: [55, 44, 22] Generated Node #0,2: 12:[55, 44, 22] Operation: 66/3=22 Exploring Operation: 66-55=11, Resulting Numbers: [44, 3, 11] Generated Node #0,3: 12:[44, 3, 11] Operation: 66-55=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[44, 3, 11], Operations: ['66-55=11'] Exploring Operation: 44-11=33, Resulting Numbers: [3, 33] Generated Node #0,3,0: 12:[3, 33] Operation: 44-11=33 Exploring Operation: 3+11=14, Resulting Numbers: [44, 14] Generated Node #0,3,1: 12:[44, 14] Operation: 3+11=14 Exploring Operation: 44/11=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 12:[3, 4] Operation: 44/11=4 Exploring Operation: 44-3=41, Resulting Numbers: [11, 41] Generated Node #0,3,3: 12:[11, 41] Operation: 44-3=41 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[3, 4], Operations: ['66-55=11', '44/11=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[55, 44, 3, 66], Operations: [] Exploring Operation: 66-55=11, Resulting Numbers: [44, 3, 11] Generated Node #0,3: 12:[44, 3, 11] Operation: 66-55=11 Moving to Node #0,3 Current State: 12:[44, 3, 11], Operations: ['66-55=11'] Exploring Operation: 44/11=4, Resulting Numbers: [3, 4] Generated Node #0,3,2: 12:[3, 4] Operation: 44/11=4 Moving to Node #0,3,2 Current State: 12:[3, 4], Operations: ['66-55=11', '44/11=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 35, 52, 6, 9 ]
93
[ "52-35=17", "6*17=102", "102-9=93" ]
Current State: 93:[35, 52, 6, 9], Operations: [] Exploring Operation: 52-35=17, Resulting Numbers: [6, 9, 17] Generated Node #2: [6, 9, 17] from Operation: 52-35=17 Current State: 93:[6, 9, 17], Operations: ['52-35=17'] Exploring Operation: 6*17=102, Resulting Numbers: [9, 102] Generated Node #3: [9, 102] from Operation: 6*17=102 Current State: 93:[9, 102], Operations: ['52-35=17', '6*17=102'] Exploring Operation: 102-9=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[35, 52, 6, 9], Operations: [] Exploring Operation: 35+52=87, Resulting Numbers: [6, 9, 87] Generated Node #0,0: 93:[6, 9, 87] Operation: 35+52=87 Exploring Operation: 52-9=43, Resulting Numbers: [35, 6, 43] Generated Node #0,1: 93:[35, 6, 43] Operation: 52-9=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[6, 9, 87], Operations: ['35+52=87'] Exploring Operation: 9-6=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 93:[87, 3] Operation: 9-6=3 Exploring Operation: 6+87=93, Resulting Numbers: [9, 93] Generated Node #0,0,1: 93:[9, 93] Operation: 6+87=93 Moving to Node #0,0,0 Current State: 93:[87, 3], Operations: ['35+52=87', '9-6=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,93 unequal: No Solution Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[9, 93], Operations: ['35+52=87', '6+87=93'] Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,93 unequal: No Solution Exploring Operation: 9+93=102, Resulting Numbers: [102] 102,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[35, 6, 43], Operations: ['52-9=43'] Exploring Operation: 43-35=8, Resulting Numbers: [6, 8] Generated Node #0,1,0: 93:[6, 8] Operation: 43-35=8 Exploring Operation: 43-6=37, Resulting Numbers: [35, 37] Generated Node #0,1,1: 93:[35, 37] Operation: 43-6=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[6, 8], Operations: ['52-9=43', '43-35=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[35, 37], Operations: ['52-9=43', '43-6=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,93 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 45, 3, 96 ]
22
[ "45+3=48", "44*48=2112", "2112/96=22" ]
Current State: 22:[44, 45, 3, 96], Operations: [] Exploring Operation: 45+3=48, Resulting Numbers: [44, 96, 48] Generated Node #2: [44, 96, 48] from Operation: 45+3=48 Current State: 22:[44, 96, 48], Operations: ['45+3=48'] Exploring Operation: 44*48=2112, Resulting Numbers: [96, 2112] Generated Node #3: [96, 2112] from Operation: 44*48=2112 Current State: 22:[96, 2112], Operations: ['45+3=48', '44*48=2112'] Exploring Operation: 2112/96=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[44, 45, 3, 96], Operations: [] Exploring Operation: 96-45=51, Resulting Numbers: [44, 3, 51] Generated Node #0,0: 22:[44, 3, 51] Operation: 96-45=51 Moving to Node #0,0 Current State: 22:[44, 3, 51], Operations: ['96-45=51'] Exploring Operation: 51-44=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 22:[3, 7] Operation: 51-44=7 Moving to Node #0,0,0 Current State: 22:[3, 7], Operations: ['96-45=51', '51-44=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,22 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 53, 48, 24, 4 ]
89
[ "53+24=77", "48/4=12", "77+12=89" ]
Current State: 89:[53, 48, 24, 4], Operations: [] Exploring Operation: 53+24=77, Resulting Numbers: [48, 4, 77] Generated Node #2: [48, 4, 77] from Operation: 53+24=77 Current State: 89:[48, 4, 77], Operations: ['53+24=77'] Exploring Operation: 48/4=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 48/4=12 Current State: 89:[77, 12], Operations: ['53+24=77', '48/4=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 48, 24, 4], Operations: [] Exploring Operation: 24*4=96, Resulting Numbers: [53, 48, 96] Generated Node #0,0: 89:[53, 48, 96] Operation: 24*4=96 Exploring Operation: 53+4=57, Resulting Numbers: [48, 24, 57] Generated Node #0,1: 89:[48, 24, 57] Operation: 53+4=57 Exploring Operation: 53+24=77, Resulting Numbers: [48, 4, 77] Generated Node #0,2: 89:[48, 4, 77] Operation: 53+24=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[53, 48, 96], Operations: ['24*4=96'] Exploring Operation: 53+48=101, Resulting Numbers: [96, 101] Generated Node #0,0,0: 89:[96, 101] Operation: 53+48=101 Exploring Operation: 96-48=48, Resulting Numbers: [53, 48] Generated Node #0,0,1: 89:[53, 48] Operation: 96-48=48 Exploring Operation: 96-53=43, Resulting Numbers: [48, 43] Generated Node #0,0,2: 89:[48, 43] Operation: 96-53=43 Moving to Node #0,0,0 Current State: 89:[96, 101], Operations: ['24*4=96', '53+48=101'] Exploring Operation: 96*101=9696, Resulting Numbers: [9696] 9696,89 unequal: No Solution Exploring Operation: 96+101=197, Resulting Numbers: [197] 197,89 unequal: No Solution Exploring Operation: 101-96=5, Resulting Numbers: [5] 5,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[53, 48], Operations: ['24*4=96', '96-48=48'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,89 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[48, 43], Operations: ['24*4=96', '96-53=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,89 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,89 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[48, 24, 57], Operations: ['53+4=57'] Exploring Operation: 48+57=105, Resulting Numbers: [24, 105] Generated Node #0,1,0: 89:[24, 105] Operation: 48+57=105 Exploring Operation: 48+24=72, Resulting Numbers: [57, 72] Generated Node #0,1,1: 89:[57, 72] Operation: 48+24=72 Exploring Operation: 24+57=81, Resulting Numbers: [48, 81] Generated Node #0,1,2: 89:[48, 81] Operation: 24+57=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[57, 72], Operations: ['53+4=57', '48+24=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,89 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[48, 81], Operations: ['53+4=57', '24+57=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,89 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[24, 105], Operations: ['53+4=57', '48+57=105'] Exploring Operation: 24*105=2520, Resulting Numbers: [2520] 2520,89 unequal: No Solution Exploring Operation: 105-24=81, Resulting Numbers: [81] 81,89 unequal: No Solution Exploring Operation: 24+105=129, Resulting Numbers: [129] 129,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[48, 4, 77], Operations: ['53+24=77'] Exploring Operation: 48+4=52, Resulting Numbers: [77, 52] Generated Node #0,2,0: 89:[77, 52] Operation: 48+4=52 Exploring Operation: 4+77=81, Resulting Numbers: [48, 81] Generated Node #0,2,1: 89:[48, 81] Operation: 4+77=81 Exploring Operation: 48-4=44, Resulting Numbers: [77, 44] Generated Node #0,2,2: 89:[77, 44] Operation: 48-4=44 Moving to Node #0,2,0 Current State: 89:[77, 52], Operations: ['53+24=77', '48+4=52'] Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,89 unequal: No Solution Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,89 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[48, 81], Operations: ['53+24=77', '4+77=81'] Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,89 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[77, 44], Operations: ['53+24=77', '48-4=44'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,89 unequal: No Solution Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,89 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
[ 53, 53, 50, 81 ]
30
[ "53/53=1", "81-50=31", "31-1=30" ]
Current State: 30:[53, 53, 50, 81], Operations: [] Exploring Operation: 53/53=1, Resulting Numbers: [50, 81, 1] Generated Node #2: [50, 81, 1] from Operation: 53/53=1 Current State: 30:[50, 81, 1], Operations: ['53/53=1'] Exploring Operation: 81-50=31, Resulting Numbers: [1, 31] Generated Node #3: [1, 31] from Operation: 81-50=31 Current State: 30:[1, 31], Operations: ['53/53=1', '81-50=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[53, 53, 50, 81], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [53, 53, 31] Generated Node #0,0: 30:[53, 53, 31] Operation: 81-50=31 Exploring Operation: 81-53=28, Resulting Numbers: [53, 50, 28] Generated Node #0,1: 30:[53, 50, 28] Operation: 81-53=28 Exploring Operation: 53/53=1, Resulting Numbers: [50, 81, 1] Generated Node #0,2: 30:[50, 81, 1] Operation: 53/53=1 Exploring Operation: 81-53=28, Resulting Numbers: [53, 50, 28] Generated Node #0,3: 30:[53, 50, 28] Operation: 81-53=28 Moving to Node #0,1 Current State: 30:[53, 50, 28], Operations: ['81-53=28'] Exploring Operation: 53-50=3, Resulting Numbers: [28, 3] Generated Node #0,1,0: 30:[28, 3] Operation: 53-50=3 Exploring Operation: 50-28=22, Resulting Numbers: [53, 22] Generated Node #0,1,1: 30:[53, 22] Operation: 50-28=22 Exploring Operation: 53+28=81, Resulting Numbers: [50, 81] Generated Node #0,1,2: 30:[50, 81] Operation: 53+28=81 Exploring Operation: 53-28=25, Resulting Numbers: [50, 25] Generated Node #0,1,3: 30:[50, 25] Operation: 53-28=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[28, 3], Operations: ['81-53=28', '53-50=3'] Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,30 unequal: No Solution No 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: 30:[50, 25], Operations: ['81-53=28', '53-28=25'] Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,30 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,30 unequal: No Solution No 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: 30:[53, 22], Operations: ['81-53=28', '50-28=22'] Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,30 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,30 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,30 unequal: No Solution No 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: 30:[50, 81], Operations: ['81-53=28', '53+28=81'] Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 50+81=131, Resulting Numbers: [131] 131,30 unequal: No Solution Exploring Operation: 50*81=4050, Resulting Numbers: [4050] 4050,30 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: 30:[53, 50, 28], Operations: ['81-53=28'] Exploring Operation: 53-50=3, Resulting Numbers: [28, 3] Generated Node #0,3,0: 30:[28, 3] Operation: 53-50=3 Exploring Operation: 53-28=25, Resulting Numbers: [50, 25] Generated Node #0,3,1: 30:[50, 25] Operation: 53-28=25 Exploring Operation: 53+28=81, Resulting Numbers: [50, 81] Generated Node #0,3,2: 30:[50, 81] Operation: 53+28=81 Exploring Operation: 50-28=22, Resulting Numbers: [53, 22] Generated Node #0,3,3: 30:[53, 22] Operation: 50-28=22 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[28, 3], Operations: ['81-53=28', '53-50=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,30 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,30 unequal: No Solution No 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: 30:[50, 25], Operations: ['81-53=28', '53-28=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,30 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,30 unequal: No Solution No 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: 30:[53, 22], Operations: ['81-53=28', '50-28=22'] Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,30 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,30 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,30 unequal: No Solution No 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: 30:[50, 81], Operations: ['81-53=28', '53+28=81'] Exploring Operation: 50+81=131, Resulting Numbers: [131] 131,30 unequal: No Solution Exploring Operation: 81-50=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 50*81=4050, Resulting Numbers: [4050] 4050,30 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: 30:[53, 53, 31], Operations: ['81-50=31'] Exploring Operation: 53-53=0, Resulting Numbers: [31, 0] Generated Node #0,0,0: 30:[31, 0] Operation: 53-53=0 Exploring Operation: 53-31=22, Resulting Numbers: [53, 22] Generated Node #0,0,1: 30:[53, 22] Operation: 53-31=22 Exploring Operation: 53-31=22, Resulting Numbers: [53, 22] Generated Node #0,0,2: 30:[53, 22] Operation: 53-31=22 Exploring Operation: 53/53=1, Resulting Numbers: [31, 1] Generated Node #0,0,3: 30:[31, 1] Operation: 53/53=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 30:[31, 1], Operations: ['81-50=31', '53/53=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[53, 53, 50, 81], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [53, 53, 31] Generated Node #0,0: 30:[53, 53, 31] Operation: 81-50=31 Moving to Node #0,0 Current State: 30:[53, 53, 31], Operations: ['81-50=31'] Exploring Operation: 53/53=1, Resulting Numbers: [31, 1] Generated Node #0,0,3: 30:[31, 1] Operation: 53/53=1 Moving to Node #0,0,3 Current State: 30:[31, 1], Operations: ['81-50=31', '53/53=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 40, 60, 44, 93 ]
78
[ "44-40=4", "60/4=15", "93-15=78" ]
Current State: 78:[40, 60, 44, 93], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [60, 93, 4] Generated Node #2: [60, 93, 4] from Operation: 44-40=4 Current State: 78:[60, 93, 4], Operations: ['44-40=4'] Exploring Operation: 60/4=15, Resulting Numbers: [93, 15] Generated Node #3: [93, 15] from Operation: 60/4=15 Current State: 78:[93, 15], Operations: ['44-40=4', '60/4=15'] Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[40, 60, 44, 93], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [40, 44, 33] Generated Node #0,0: 78:[40, 44, 33] Operation: 93-60=33 Exploring Operation: 60-44=16, Resulting Numbers: [40, 93, 16] Generated Node #0,1: 78:[40, 93, 16] Operation: 60-44=16 Moving to Node #0,0 Current State: 78:[40, 44, 33], Operations: ['93-60=33'] Exploring Operation: 44+33=77, Resulting Numbers: [40, 77] Generated Node #0,0,0: 78:[40, 77] Operation: 44+33=77 Exploring Operation: 44-33=11, Resulting Numbers: [40, 11] Generated Node #0,0,1: 78:[40, 11] Operation: 44-33=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[40, 77], Operations: ['93-60=33', '44+33=77'] Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,78 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[40, 11], Operations: ['93-60=33', '44-33=11'] Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,78 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: 78:[40, 93, 16], Operations: ['60-44=16'] Exploring Operation: 93-16=77, Resulting Numbers: [40, 77] Generated Node #0,1,0: 78:[40, 77] Operation: 93-16=77 Exploring Operation: 93-40=53, Resulting Numbers: [16, 53] Generated Node #0,1,1: 78:[16, 53] Operation: 93-40=53 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[40, 77], Operations: ['60-44=16', '93-16=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[16, 53], Operations: ['60-44=16', '93-40=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,78 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
[ 11, 83, 75, 65 ]
46
[ "11+83=94", "75+65=140", "140-94=46" ]
Current State: 46:[11, 83, 75, 65], Operations: [] Exploring Operation: 11+83=94, Resulting Numbers: [75, 65, 94] Generated Node #2: [75, 65, 94] from Operation: 11+83=94 Current State: 46:[75, 65, 94], Operations: ['11+83=94'] Exploring Operation: 75+65=140, Resulting Numbers: [94, 140] Generated Node #3: [94, 140] from Operation: 75+65=140 Current State: 46:[94, 140], Operations: ['11+83=94', '75+65=140'] Exploring Operation: 140-94=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[11, 83, 75, 65], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [11, 65, 8] Generated Node #0,0: 46:[11, 65, 8] Operation: 83-75=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[11, 65, 8], Operations: ['83-75=8'] Exploring Operation: 65-11=54, Resulting Numbers: [8, 54] Generated Node #0,0,0: 46:[8, 54] Operation: 65-11=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[8, 54], Operations: ['83-75=8', '65-11=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[11, 83, 75, 65], Operations: [] Exploring Operation: 83-75=8, Resulting Numbers: [11, 65, 8] Generated Node #0,0: 46:[11, 65, 8] Operation: 83-75=8 Moving to Node #0,0 Current State: 46:[11, 65, 8], Operations: ['83-75=8'] Exploring Operation: 65-11=54, Resulting Numbers: [8, 54] Generated Node #0,0,0: 46:[8, 54] Operation: 65-11=54 Moving to Node #0,0,0 Current State: 46:[8, 54], Operations: ['83-75=8', '65-11=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 6, 12, 68, 23 ]
70
[ "12-6=6", "23*6=138", "138-68=70" ]
Current State: 70:[6, 12, 68, 23], Operations: [] Exploring Operation: 12-6=6, Resulting Numbers: [68, 23, 6] Generated Node #2: [68, 23, 6] from Operation: 12-6=6 Current State: 70:[68, 23, 6], Operations: ['12-6=6'] Exploring Operation: 23*6=138, Resulting Numbers: [68, 138] Generated Node #3: [68, 138] from Operation: 23*6=138 Current State: 70:[68, 138], Operations: ['12-6=6', '23*6=138'] Exploring Operation: 138-68=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[6, 12, 68, 23], Operations: [] Exploring Operation: 12+23=35, Resulting Numbers: [6, 68, 35] Generated Node #0,0: 70:[6, 68, 35] Operation: 12+23=35 Exploring Operation: 6+23=29, Resulting Numbers: [12, 68, 29] Generated Node #0,1: 70:[12, 68, 29] Operation: 6+23=29 Exploring Operation: 23-6=17, Resulting Numbers: [12, 68, 17] Generated Node #0,2: 70:[12, 68, 17] Operation: 23-6=17 Exploring Operation: 23-12=11, Resulting Numbers: [6, 68, 11] Generated Node #0,3: 70:[6, 68, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[6, 68, 35], Operations: ['12+23=35'] Exploring Operation: 68-6=62, Resulting Numbers: [35, 62] Generated Node #0,0,0: 70:[35, 62] Operation: 68-6=62 Exploring Operation: 6+68=74, Resulting Numbers: [35, 74] Generated Node #0,0,1: 70:[35, 74] Operation: 6+68=74 Exploring Operation: 6+35=41, Resulting Numbers: [68, 41] Generated Node #0,0,2: 70:[68, 41] Operation: 6+35=41 Exploring Operation: 68-35=33, Resulting Numbers: [6, 33] Generated Node #0,0,3: 70:[6, 33] Operation: 68-35=33 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 70:[6, 33], Operations: ['12+23=35', '68-35=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,70 unequal: No Solution No 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: 70:[35, 74], Operations: ['12+23=35', '6+68=74'] Exploring Operation: 74-35=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 35+74=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 35*74=2590, Resulting Numbers: [2590] 2590,70 unequal: No Solution No 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: 70:[35, 62], Operations: ['12+23=35', '68-6=62'] Exploring Operation: 35+62=97, Resulting Numbers: [97] 97,70 unequal: No Solution Exploring Operation: 35*62=2170, Resulting Numbers: [2170] 2170,70 unequal: No Solution Exploring Operation: 62-35=27, Resulting Numbers: [27] 27,70 unequal: No Solution No 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: 70:[68, 41], Operations: ['12+23=35', '6+35=41'] Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,70 unequal: No Solution Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,70 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: 70:[6, 68, 11], Operations: ['23-12=11'] Exploring Operation: 6*11=66, Resulting Numbers: [68, 66] Generated Node #0,3,0: 70:[68, 66] Operation: 6*11=66 Exploring Operation: 6+68=74, Resulting Numbers: [11, 74] Generated Node #0,3,1: 70:[11, 74] Operation: 6+68=74 Exploring Operation: 6+11=17, Resulting Numbers: [68, 17] Generated Node #0,3,2: 70:[68, 17] Operation: 6+11=17 Exploring Operation: 11-6=5, Resulting Numbers: [68, 5] Generated Node #0,3,3: 70:[68, 5] Operation: 11-6=5 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 70:[68, 5], Operations: ['23-12=11', '11-6=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,70 unequal: No Solution No 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: 70:[11, 74], Operations: ['23-12=11', '6+68=74'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 11*74=814, Resulting Numbers: [814] 814,70 unequal: No Solution Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,70 unequal: No Solution No 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: 70:[68, 17], Operations: ['23-12=11', '6+11=17'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,70 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,70 unequal: No Solution No 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: 70:[68, 66], Operations: ['23-12=11', '6*11=66'] Exploring Operation: 68+66=134, Resulting Numbers: [134] 134,70 unequal: No Solution Exploring Operation: 68*66=4488, Resulting Numbers: [4488] 4488,70 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,70 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: 70:[12, 68, 17], Operations: ['23-6=17'] Exploring Operation: 12+17=29, Resulting Numbers: [68, 29] Generated Node #0,2,0: 70:[68, 29] Operation: 12+17=29 Exploring Operation: 17-12=5, Resulting Numbers: [68, 5] Generated Node #0,2,1: 70:[68, 5] Operation: 17-12=5 Exploring Operation: 12+68=80, Resulting Numbers: [17, 80] Generated Node #0,2,2: 70:[17, 80] Operation: 12+68=80 Exploring Operation: 68/17=4, Resulting Numbers: [12, 4] Generated Node #0,2,3: 70:[12, 4] Operation: 68/17=4 Moving to Node #0,2,1 Current State: 70:[68, 5], Operations: ['23-6=17', '17-12=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[12, 4], Operations: ['23-6=17', '68/17=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[68, 29], Operations: ['23-6=17', '12+17=29'] Exploring Operation: 68+29=97, Resulting Numbers: [97] 97,70 unequal: No Solution Exploring Operation: 68*29=1972, Resulting Numbers: [1972] 1972,70 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[17, 80], Operations: ['23-6=17', '12+68=80'] Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,70 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,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 Current State: 70:[12, 68, 29], Operations: ['6+23=29'] Exploring Operation: 12+29=41, Resulting Numbers: [68, 41] Generated Node #0,1,0: 70:[68, 41] Operation: 12+29=41 Exploring Operation: 68-29=39, Resulting Numbers: [12, 39] Generated Node #0,1,1: 70:[12, 39] Operation: 68-29=39 Exploring Operation: 12+68=80, Resulting Numbers: [29, 80] Generated Node #0,1,2: 70:[29, 80] Operation: 12+68=80 Exploring Operation: 29-12=17, Resulting Numbers: [68, 17] Generated Node #0,1,3: 70:[68, 17] Operation: 29-12=17 Moving to Node #0,1,3 Current State: 70:[68, 17], Operations: ['6+23=29', '29-12=17'] Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,70 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,70 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[12, 39], Operations: ['6+23=29', '68-29=39'] Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,70 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[68, 41], Operations: ['6+23=29', '12+29=41'] Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,70 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,70 unequal: No Solution Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[29, 80], Operations: ['6+23=29', '12+68=80'] Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,70 unequal: No Solution Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,70 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
[ 77, 22, 25, 76 ]
47
[ "77-76=1", "22+25=47", "1*47=47" ]
Current State: 47:[77, 22, 25, 76], Operations: [] Exploring Operation: 77-76=1, Resulting Numbers: [22, 25, 1] Generated Node #2: [22, 25, 1] from Operation: 77-76=1 Current State: 47:[22, 25, 1], Operations: ['77-76=1'] Exploring Operation: 22+25=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 22+25=47 Current State: 47:[1, 47], Operations: ['77-76=1', '22+25=47'] Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[77, 22, 25, 76], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [77, 76, 47] Generated Node #0,0: 47:[77, 76, 47] Operation: 22+25=47 Exploring Operation: 77-22=55, Resulting Numbers: [25, 76, 55] Generated Node #0,1: 47:[25, 76, 55] Operation: 77-22=55 Exploring Operation: 76-22=54, Resulting Numbers: [77, 25, 54] Generated Node #0,2: 47:[77, 25, 54] Operation: 76-22=54 Exploring Operation: 77-25=52, Resulting Numbers: [22, 76, 52] Generated Node #0,3: 47:[22, 76, 52] Operation: 77-25=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[77, 76, 47], Operations: ['22+25=47'] Exploring Operation: 77+76=153, Resulting Numbers: [47, 153] Generated Node #0,0,0: 47:[47, 153] Operation: 77+76=153 Exploring Operation: 77-76=1, Resulting Numbers: [47, 1] Generated Node #0,0,1: 47:[47, 1] Operation: 77-76=1 Exploring Operation: 77-47=30, Resulting Numbers: [76, 30] Generated Node #0,0,2: 47:[76, 30] Operation: 77-47=30 Exploring Operation: 76-47=29, Resulting Numbers: [77, 29] Generated Node #0,0,3: 47:[77, 29] Operation: 76-47=29 Moving to Node #0,0,1 Current State: 47:[47, 1], Operations: ['22+25=47', '77-76=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,47 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[77, 22, 25, 76], Operations: [] Exploring Operation: 22+25=47, Resulting Numbers: [77, 76, 47] Generated Node #0,0: 47:[77, 76, 47] Operation: 22+25=47 Moving to Node #0,0 Current State: 47:[77, 76, 47], Operations: ['22+25=47'] Exploring Operation: 77-76=1, Resulting Numbers: [47, 1] Generated Node #0,0,1: 47:[47, 1] Operation: 77-76=1 Moving to Node #0,0,1 Current State: 47:[47, 1], Operations: ['22+25=47', '77-76=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 44, 36, 72, 65 ]
19
[ "65-44=21", "72/36=2", "21-2=19" ]
Current State: 19:[44, 36, 72, 65], Operations: [] Exploring Operation: 65-44=21, Resulting Numbers: [36, 72, 21] Generated Node #2: [36, 72, 21] from Operation: 65-44=21 Current State: 19:[36, 72, 21], Operations: ['65-44=21'] Exploring Operation: 72/36=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 72/36=2 Current State: 19:[21, 2], Operations: ['65-44=21', '72/36=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[44, 36, 72, 65], Operations: [] Exploring Operation: 72-44=28, Resulting Numbers: [36, 65, 28] Generated Node #0,0: 19:[36, 65, 28] Operation: 72-44=28 Exploring Operation: 65-44=21, Resulting Numbers: [36, 72, 21] Generated Node #0,1: 19:[36, 72, 21] Operation: 65-44=21 Exploring Operation: 72-65=7, Resulting Numbers: [44, 36, 7] Generated Node #0,2: 19:[44, 36, 7] Operation: 72-65=7 Exploring Operation: 72-36=36, Resulting Numbers: [44, 65, 36] Generated Node #0,3: 19:[44, 65, 36] Operation: 72-36=36 Exploring Operation: 72/36=2, Resulting Numbers: [44, 65, 2] Generated Node #0,4: 19:[44, 65, 2] Operation: 72/36=2 Moving to Node #0,2 Current State: 19:[44, 36, 7], Operations: ['72-65=7'] Exploring Operation: 36+7=43, Resulting Numbers: [44, 43] Generated Node #0,2,0: 19:[44, 43] Operation: 36+7=43 Exploring Operation: 44-36=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 19:[7, 8] Operation: 44-36=8 Exploring Operation: 44+7=51, Resulting Numbers: [36, 51] Generated Node #0,2,2: 19:[36, 51] Operation: 44+7=51 Exploring Operation: 44-7=37, Resulting Numbers: [36, 37] Generated Node #0,2,3: 19:[36, 37] Operation: 44-7=37 Exploring Operation: 36-7=29, Resulting Numbers: [44, 29] Generated Node #0,2,4: 19:[44, 29] Operation: 36-7=29 Moving to Node #0,1 Current State: 19:[36, 72, 21], Operations: ['65-44=21'] Exploring Operation: 36-21=15, Resulting Numbers: [72, 15] Generated Node #0,1,0: 19:[72, 15] Operation: 36-21=15 Exploring Operation: 72-21=51, Resulting Numbers: [36, 51] Generated Node #0,1,1: 19:[36, 51] Operation: 72-21=51 Exploring Operation: 36+72=108, Resulting Numbers: [21, 108] Generated Node #0,1,2: 19:[21, 108] Operation: 36+72=108 Exploring Operation: 72/36=2, Resulting Numbers: [21, 2] Generated Node #0,1,3: 19:[21, 2] Operation: 72/36=2 Exploring Operation: 72-36=36, Resulting Numbers: [21, 36] Generated Node #0,1,4: 19:[21, 36] Operation: 72-36=36 Moving to Node #0,0 Current State: 19:[36, 65, 28], Operations: ['72-44=28'] Exploring Operation: 36-28=8, Resulting Numbers: [65, 8] Generated Node #0,0,0: 19:[65, 8] Operation: 36-28=8 Exploring Operation: 36+28=64, Resulting Numbers: [65, 64] Generated Node #0,0,1: 19:[65, 64] Operation: 36+28=64 Exploring Operation: 65-36=29, Resulting Numbers: [28, 29] Generated Node #0,0,2: 19:[28, 29] Operation: 65-36=29 Exploring Operation: 36+65=101, Resulting Numbers: [28, 101] Generated Node #0,0,3: 19:[28, 101] Operation: 36+65=101 Exploring Operation: 65-28=37, Resulting Numbers: [36, 37] Generated Node #0,0,4: 19:[36, 37] Operation: 65-28=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 19:[28, 29], Operations: ['72-44=28', '65-36=29'] Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,19 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,19 unequal: No Solution No 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: 19:[36, 37], Operations: ['72-44=28', '65-28=37'] Exploring Operation: 37-36=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 36+37=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 36*37=1332, Resulting Numbers: [1332] 1332,19 unequal: No Solution No 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: 19:[65, 8], Operations: ['72-44=28', '36-28=8'] Exploring Operation: 65*8=520, Resulting Numbers: [520] 520,19 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,19 unequal: No Solution Exploring Operation: 65+8=73, Resulting Numbers: [73] 73,19 unequal: No Solution No 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: 19:[65, 64], Operations: ['72-44=28', '36+28=64'] Exploring Operation: 65+64=129, Resulting Numbers: [129] 129,19 unequal: No Solution Exploring Operation: 65*64=4160, Resulting Numbers: [4160] 4160,19 unequal: No Solution Exploring Operation: 65-64=1, Resulting Numbers: [1] 1,19 unequal: No Solution No 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: 19:[28, 101], Operations: ['72-44=28', '36+65=101'] Exploring Operation: 28+101=129, Resulting Numbers: [129] 129,19 unequal: No Solution Exploring Operation: 101-28=73, Resulting Numbers: [73] 73,19 unequal: No Solution Exploring Operation: 28*101=2828, Resulting Numbers: [2828] 2828,19 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: 19:[44, 65, 36], Operations: ['72-36=36'] Exploring Operation: 65-36=29, Resulting Numbers: [44, 29] Generated Node #0,3,0: 19:[44, 29] Operation: 65-36=29 Exploring Operation: 44+36=80, Resulting Numbers: [65, 80] Generated Node #0,3,1: 19:[65, 80] Operation: 44+36=80 Exploring Operation: 65-44=21, Resulting Numbers: [36, 21] Generated Node #0,3,2: 19:[36, 21] Operation: 65-44=21 Exploring Operation: 44-36=8, Resulting Numbers: [65, 8] Generated Node #0,3,3: 19:[65, 8] Operation: 44-36=8 Exploring Operation: 44+65=109, Resulting Numbers: [36, 109] Generated Node #0,3,4: 19:[36, 109] Operation: 44+65=109 Moving to Node #0,4 Current State: 19:[44, 65, 2], Operations: ['72/36=2'] Exploring Operation: 65-44=21, Resulting Numbers: [2, 21] Generated Node #0,4,0: 19:[2, 21] Operation: 65-44=21 Exploring Operation: 65-2=63, Resulting Numbers: [44, 63] Generated Node #0,4,1: 19:[44, 63] Operation: 65-2=63 Exploring Operation: 44+2=46, Resulting Numbers: [65, 46] Generated Node #0,4,2: 19:[65, 46] Operation: 44+2=46 Exploring Operation: 44-2=42, Resulting Numbers: [65, 42] Generated Node #0,4,3: 19:[65, 42] Operation: 44-2=42 Exploring Operation: 44/2=22, Resulting Numbers: [65, 22] Generated Node #0,4,4: 19:[65, 22] Operation: 44/2=22 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 19:[2, 21], Operations: ['72/36=2', '65-44=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[44, 36, 72, 65], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [44, 65, 2] Generated Node #0,4: 19:[44, 65, 2] Operation: 72/36=2 Moving to Node #0,4 Current State: 19:[44, 65, 2], Operations: ['72/36=2'] Exploring Operation: 65-44=21, Resulting Numbers: [2, 21] Generated Node #0,4,0: 19:[2, 21] Operation: 65-44=21 Moving to Node #0,4,0 Current State: 19:[2, 21], Operations: ['72/36=2', '65-44=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
sum_heuristic
[ 2, 5, 35, 52 ]
57
[ "2+5=7", "35/7=5", "52+5=57" ]
Current State: 57:[2, 5, 35, 52], Operations: [] Exploring Operation: 2+5=7, Resulting Numbers: [35, 52, 7] Generated Node #2: [35, 52, 7] from Operation: 2+5=7 Current State: 57:[35, 52, 7], Operations: ['2+5=7'] Exploring Operation: 35/7=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 35/7=5 Current State: 57:[52, 5], Operations: ['2+5=7', '35/7=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 5, 35, 52], Operations: [] Exploring Operation: 5+52=57, Resulting Numbers: [2, 35, 57] Generated Node #0,0: 57:[2, 35, 57] Operation: 5+52=57 Exploring Operation: 52-35=17, Resulting Numbers: [2, 5, 17] Generated Node #0,1: 57:[2, 5, 17] Operation: 52-35=17 Exploring Operation: 35/5=7, Resulting Numbers: [2, 52, 7] Generated Node #0,2: 57:[2, 52, 7] Operation: 35/5=7 Exploring Operation: 2*35=70, Resulting Numbers: [5, 52, 70] Generated Node #0,3: 57:[5, 52, 70] Operation: 2*35=70 Exploring Operation: 35-5=30, Resulting Numbers: [2, 52, 30] Generated Node #0,4: 57:[2, 52, 30] Operation: 35-5=30 Moving to Node #0,1 Current State: 57:[2, 5, 17], Operations: ['52-35=17'] Exploring Operation: 5+17=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 57:[2, 22] Operation: 5+17=22 Exploring Operation: 17-2=15, Resulting Numbers: [5, 15] Generated Node #0,1,1: 57:[5, 15] Operation: 17-2=15 Exploring Operation: 5-2=3, Resulting Numbers: [17, 3] Generated Node #0,1,2: 57:[17, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [17, 7] Generated Node #0,1,3: 57:[17, 7] Operation: 2+5=7 Exploring Operation: 2+17=19, Resulting Numbers: [5, 19] Generated Node #0,1,4: 57:[5, 19] Operation: 2+17=19 Moving to Node #0,2 Current State: 57:[2, 52, 7], Operations: ['35/5=7'] Exploring Operation: 7-2=5, Resulting Numbers: [52, 5] Generated Node #0,2,0: 57:[52, 5] Operation: 7-2=5 Exploring Operation: 52-2=50, Resulting Numbers: [7, 50] Generated Node #0,2,1: 57:[7, 50] Operation: 52-2=50 Exploring Operation: 2+52=54, Resulting Numbers: [7, 54] Generated Node #0,2,2: 57:[7, 54] Operation: 2+52=54 Exploring Operation: 52+7=59, Resulting Numbers: [2, 59] Generated Node #0,2,3: 57:[2, 59] Operation: 52+7=59 Exploring Operation: 2*7=14, Resulting Numbers: [52, 14] Generated Node #0,2,4: 57:[52, 14] Operation: 2*7=14 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[2, 59], Operations: ['35/5=7', '52+7=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[2, 5, 35, 52], Operations: [] Exploring Operation: 35/5=7, Resulting Numbers: [2, 52, 7] Generated Node #0,2: 57:[2, 52, 7] Operation: 35/5=7 Moving to Node #0,2 Current State: 57:[2, 52, 7], Operations: ['35/5=7'] Exploring Operation: 52+7=59, Resulting Numbers: [2, 59] Generated Node #0,2,3: 57:[2, 59] Operation: 52+7=59 Moving to Node #0,2,3 Current State: 57:[2, 59], Operations: ['35/5=7', '52+7=59'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
mult_heuristic
[ 58, 63, 10, 59 ]
72
[ "58+63=121", "59-10=49", "121-49=72" ]
Current State: 72:[58, 63, 10, 59], Operations: [] Exploring Operation: 58+63=121, Resulting Numbers: [10, 59, 121] Generated Node #2: [10, 59, 121] from Operation: 58+63=121 Current State: 72:[10, 59, 121], Operations: ['58+63=121'] Exploring Operation: 59-10=49, Resulting Numbers: [121, 49] Generated Node #3: [121, 49] from Operation: 59-10=49 Current State: 72:[121, 49], Operations: ['58+63=121', '59-10=49'] Exploring Operation: 121-49=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[58, 63, 10, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [58, 10, 4] Generated Node #0,0: 72:[58, 10, 4] Operation: 63-59=4 Exploring Operation: 59-58=1, Resulting Numbers: [63, 10, 1] Generated Node #0,1: 72:[63, 10, 1] Operation: 59-58=1 Exploring Operation: 63-58=5, Resulting Numbers: [10, 59, 5] Generated Node #0,2: 72:[10, 59, 5] Operation: 63-58=5 Moving to Node #0,1 Current State: 72:[63, 10, 1], Operations: ['59-58=1'] Exploring Operation: 63+10=73, Resulting Numbers: [1, 73] Generated Node #0,1,0: 72:[1, 73] Operation: 63+10=73 Exploring Operation: 10-1=9, Resulting Numbers: [63, 9] Generated Node #0,1,1: 72:[63, 9] Operation: 10-1=9 Exploring Operation: 63+1=64, Resulting Numbers: [10, 64] Generated Node #0,1,2: 72:[10, 64] Operation: 63+1=64 Moving to Node #0,0 Current State: 72:[58, 10, 4], Operations: ['63-59=4'] Exploring Operation: 58+10=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 72:[4, 68] Operation: 58+10=68 Exploring Operation: 58-10=48, Resulting Numbers: [4, 48] Generated Node #0,0,1: 72:[4, 48] Operation: 58-10=48 Exploring Operation: 58+4=62, Resulting Numbers: [10, 62] Generated Node #0,0,2: 72:[10, 62] Operation: 58+4=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[4, 68], Operations: ['63-59=4', '58+10=68'] Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[58, 63, 10, 59], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [58, 10, 4] Generated Node #0,0: 72:[58, 10, 4] Operation: 63-59=4 Moving to Node #0,0 Current State: 72:[58, 10, 4], Operations: ['63-59=4'] Exploring Operation: 58+10=68, Resulting Numbers: [4, 68] Generated Node #0,0,0: 72:[4, 68] Operation: 58+10=68 Moving to Node #0,0,0 Current State: 72:[4, 68], Operations: ['63-59=4', '58+10=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 57, 55, 58, 70 ]
82
[ "57-55=2", "70*2=140", "140-58=82" ]
Current State: 82:[57, 55, 58, 70], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [58, 70, 2] Generated Node #2: [58, 70, 2] from Operation: 57-55=2 Current State: 82:[58, 70, 2], Operations: ['57-55=2'] Exploring Operation: 70*2=140, Resulting Numbers: [58, 140] Generated Node #3: [58, 140] from Operation: 70*2=140 Current State: 82:[58, 140], Operations: ['57-55=2', '70*2=140'] Exploring Operation: 140-58=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 55, 58, 70], Operations: [] Exploring Operation: 70-58=12, Resulting Numbers: [57, 55, 12] Generated Node #0,0: 82:[57, 55, 12] Operation: 70-58=12 Exploring Operation: 57-55=2, Resulting Numbers: [58, 70, 2] Generated Node #0,1: 82:[58, 70, 2] Operation: 57-55=2 Exploring Operation: 58-57=1, Resulting Numbers: [55, 70, 1] Generated Node #0,2: 82:[55, 70, 1] Operation: 58-57=1 Exploring Operation: 58-55=3, Resulting Numbers: [57, 70, 3] Generated Node #0,3: 82:[57, 70, 3] Operation: 58-55=3 Moving to Node #0,2 Current State: 82:[55, 70, 1], Operations: ['58-57=1'] Exploring Operation: 55*1=55, Resulting Numbers: [70, 55] Generated Node #0,2,0: 82:[70, 55] Operation: 55*1=55 Exploring Operation: 70+1=71, Resulting Numbers: [55, 71] Generated Node #0,2,1: 82:[55, 71] Operation: 70+1=71 Exploring Operation: 55-1=54, Resulting Numbers: [70, 54] Generated Node #0,2,2: 82:[70, 54] Operation: 55-1=54 Exploring Operation: 70-55=15, Resulting Numbers: [1, 15] Generated Node #0,2,3: 82:[1, 15] Operation: 70-55=15 Moving to Node #0,3 Current State: 82:[57, 70, 3], Operations: ['58-55=3'] Exploring Operation: 57-3=54, Resulting Numbers: [70, 54] Generated Node #0,3,0: 82:[70, 54] Operation: 57-3=54 Exploring Operation: 57/3=19, Resulting Numbers: [70, 19] Generated Node #0,3,1: 82:[70, 19] Operation: 57/3=19 Exploring Operation: 70-57=13, Resulting Numbers: [3, 13] Generated Node #0,3,2: 82:[3, 13] Operation: 70-57=13 Exploring Operation: 70+3=73, Resulting Numbers: [57, 73] Generated Node #0,3,3: 82:[57, 73] Operation: 70+3=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[3, 13], Operations: ['58-55=3', '70-57=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,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,3,0 Current State: 82:[70, 54], Operations: ['58-55=3', '57-3=54'] Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,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,3,3 Current State: 82:[57, 73], Operations: ['58-55=3', '70+3=73'] Exploring Operation: 57*73=4161, Resulting Numbers: [4161] 4161,82 unequal: No Solution Exploring Operation: 57+73=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,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,3,1 Current State: 82:[70, 19], Operations: ['58-55=3', '57/3=19'] Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,82 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,82 unequal: No Solution Exploring Operation: 70-19=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,1 Current State: 82:[58, 70, 2], Operations: ['57-55=2'] Exploring Operation: 70-58=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 82:[2, 12] Operation: 70-58=12 Exploring Operation: 58-2=56, Resulting Numbers: [70, 56] Generated Node #0,1,1: 82:[70, 56] Operation: 58-2=56 Exploring Operation: 70/2=35, Resulting Numbers: [58, 35] Generated Node #0,1,2: 82:[58, 35] Operation: 70/2=35 Exploring Operation: 58/2=29, Resulting Numbers: [70, 29] Generated Node #0,1,3: 82:[70, 29] Operation: 58/2=29 Moving to Node #0,0 Current State: 82:[57, 55, 12], Operations: ['70-58=12'] Exploring Operation: 55-12=43, Resulting Numbers: [57, 43] Generated Node #0,0,0: 82:[57, 43] Operation: 55-12=43 Exploring Operation: 57+12=69, Resulting Numbers: [55, 69] Generated Node #0,0,1: 82:[55, 69] Operation: 57+12=69 Exploring Operation: 57-55=2, Resulting Numbers: [12, 2] Generated Node #0,0,2: 82:[12, 2] Operation: 57-55=2 Exploring Operation: 57-12=45, Resulting Numbers: [55, 45] Generated Node #0,0,3: 82:[55, 45] Operation: 57-12=45 Moving to Node #0,1,0 Current State: 82:[2, 12], Operations: ['57-55=2', '70-58=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[12, 2], Operations: ['70-58=12', '57-55=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,82 unequal: No Solution Moving to Node #0,2,3 Current State: 82:[1, 15], Operations: ['58-57=1', '70-55=15'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[57, 43], Operations: ['70-58=12', '55-12=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,82 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,82 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[55, 45], Operations: ['70-58=12', '57-12=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,82 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,82 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[58, 35], Operations: ['57-55=2', '70/2=35'] Exploring Operation: 58*35=2030, Resulting Numbers: [2030] 2030,82 unequal: No Solution Exploring Operation: 58+35=93, Resulting Numbers: [93] 93,82 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,82 unequal: No Solution Moving to Node #0,1,3 Current State: 82:[70, 29], Operations: ['57-55=2', '58/2=29'] Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,82 unequal: No Solution Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[70, 54], Operations: ['58-57=1', '55-1=54'] Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,82 unequal: No Solution Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[55, 71], Operations: ['58-57=1', '70+1=71'] Exploring Operation: 71-55=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 55*71=3905, Resulting Numbers: [3905] 3905,82 unequal: No Solution Exploring Operation: 55+71=126, Resulting Numbers: [126] 126,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[70, 55], Operations: ['58-57=1', '55*1=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,82 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[55, 69], Operations: ['70-58=12', '57+12=69'] Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,82 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[70, 56], Operations: ['57-55=2', '58-2=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,82 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,82 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,82 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 24, 99, 32 ]
93
[ "24-18=6", "32*6=192", "192-99=93" ]
Current State: 93:[18, 24, 99, 32], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [99, 32, 6] Generated Node #2: [99, 32, 6] from Operation: 24-18=6 Current State: 93:[99, 32, 6], Operations: ['24-18=6'] Exploring Operation: 32*6=192, Resulting Numbers: [99, 192] Generated Node #3: [99, 192] from Operation: 32*6=192 Current State: 93:[99, 192], Operations: ['24-18=6', '32*6=192'] Exploring Operation: 192-99=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[18, 24, 99, 32], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [99, 32, 6] Generated Node #0,0: 93:[99, 32, 6] Operation: 24-18=6 Exploring Operation: 18+24=42, Resulting Numbers: [99, 32, 42] Generated Node #0,1: 93:[99, 32, 42] Operation: 18+24=42 Moving to Node #0,0 Current State: 93:[99, 32, 6], Operations: ['24-18=6'] Exploring Operation: 99-6=93, Resulting Numbers: [32, 93] Generated Node #0,0,0: 93:[32, 93] Operation: 99-6=93 Exploring Operation: 32-6=26, Resulting Numbers: [99, 26] Generated Node #0,0,1: 93:[99, 26] Operation: 32-6=26 Moving to Node #0,1 Current State: 93:[99, 32, 42], Operations: ['18+24=42'] Exploring Operation: 42-32=10, Resulting Numbers: [99, 10] Generated Node #0,1,0: 93:[99, 10] Operation: 42-32=10 Exploring Operation: 32+42=74, Resulting Numbers: [99, 74] Generated Node #0,1,1: 93:[99, 74] Operation: 32+42=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[99, 10], Operations: ['18+24=42', '42-32=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[99, 74], Operations: ['18+24=42', '32+42=74'] Exploring Operation: 99-74=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 99+74=173, Resulting Numbers: [173] 173,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 93:[32, 93], Operations: ['24-18=6', '99-6=93'] Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,93 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[99, 26], Operations: ['24-18=6', '32-6=26'] Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 99+26=125, Resulting Numbers: [125] 125,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 86, 62, 75, 55 ]
80
[ "86*55=4730", "62*75=4650", "4730-4650=80" ]
Current State: 80:[86, 62, 75, 55], Operations: [] Exploring Operation: 86*55=4730, Resulting Numbers: [62, 75, 4730] Generated Node #2: [62, 75, 4730] from Operation: 86*55=4730 Current State: 80:[62, 75, 4730], Operations: ['86*55=4730'] Exploring Operation: 62*75=4650, Resulting Numbers: [4730, 4650] Generated Node #3: [4730, 4650] from Operation: 62*75=4650 Current State: 80:[4730, 4650], Operations: ['86*55=4730', '62*75=4650'] Exploring Operation: 4730-4650=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[86, 62, 75, 55], Operations: [] Exploring Operation: 75-62=13, Resulting Numbers: [86, 55, 13] Generated Node #0,0: 80:[86, 55, 13] Operation: 75-62=13 Exploring Operation: 86-62=24, Resulting Numbers: [75, 55, 24] Generated Node #0,1: 80:[75, 55, 24] Operation: 86-62=24 Exploring Operation: 62-55=7, Resulting Numbers: [86, 75, 7] Generated Node #0,2: 80:[86, 75, 7] Operation: 62-55=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[86, 75, 7], Operations: ['62-55=7'] Exploring Operation: 86-75=11, Resulting Numbers: [7, 11] Generated Node #0,2,0: 80:[7, 11] Operation: 86-75=11 Exploring Operation: 75+7=82, Resulting Numbers: [86, 82] Generated Node #0,2,1: 80:[86, 82] Operation: 75+7=82 Exploring Operation: 86-7=79, Resulting Numbers: [75, 79] Generated Node #0,2,2: 80:[75, 79] Operation: 86-7=79 Moving to Node #0,2,0 Current State: 80:[7, 11], Operations: ['62-55=7', '86-75=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 7*11=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[75, 79], Operations: ['62-55=7', '86-7=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,80 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[86, 82], Operations: ['62-55=7', '75+7=82'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,80 unequal: No Solution Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[86, 55, 13], Operations: ['75-62=13'] Exploring Operation: 86-55=31, Resulting Numbers: [13, 31] Generated Node #0,0,0: 80:[13, 31] Operation: 86-55=31 Exploring Operation: 55-13=42, Resulting Numbers: [86, 42] Generated Node #0,0,1: 80:[86, 42] Operation: 55-13=42 Exploring Operation: 55+13=68, Resulting Numbers: [86, 68] Generated Node #0,0,2: 80:[86, 68] Operation: 55+13=68 Moving to Node #0,0,1 Current State: 80:[86, 42], Operations: ['75-62=13', '55-13=42'] Exploring Operation: 86+42=128, Resulting Numbers: [128] 128,80 unequal: No Solution Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 86*42=3612, Resulting Numbers: [3612] 3612,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[13, 31], Operations: ['75-62=13', '86-55=31'] Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,80 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[86, 68], Operations: ['75-62=13', '55+13=68'] Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,80 unequal: No Solution Exploring Operation: 86*68=5848, Resulting Numbers: [5848] 5848,80 unequal: No Solution Exploring Operation: 86+68=154, Resulting Numbers: [154] 154,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[75, 55, 24], Operations: ['86-62=24'] Exploring Operation: 75-55=20, Resulting Numbers: [24, 20] Generated Node #0,1,0: 80:[24, 20] Operation: 75-55=20 Exploring Operation: 55-24=31, Resulting Numbers: [75, 31] Generated Node #0,1,1: 80:[75, 31] Operation: 55-24=31 Exploring Operation: 55+24=79, Resulting Numbers: [75, 79] Generated Node #0,1,2: 80:[75, 79] Operation: 55+24=79 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[24, 20], Operations: ['86-62=24', '75-55=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,80 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,80 unequal: No Solution No 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: 80:[75, 79], Operations: ['86-62=24', '55+24=79'] Exploring Operation: 75+79=154, Resulting Numbers: [154] 154,80 unequal: No Solution Exploring Operation: 75*79=5925, Resulting Numbers: [5925] 5925,80 unequal: No Solution Exploring Operation: 79-75=4, Resulting Numbers: [4] 4,80 unequal: No Solution No 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: 80:[75, 31], Operations: ['86-62=24', '55-24=31'] Exploring Operation: 75+31=106, Resulting Numbers: [106] 106,80 unequal: No Solution Exploring Operation: 75*31=2325, Resulting Numbers: [2325] 2325,80 unequal: No Solution Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,80 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