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
[ 14, 27, 51, 79 ]
89
[ "14+27=41", "51+79=130", "130-41=89" ]
Current State: 89:[14, 27, 51, 79], Operations: [] Exploring Operation: 14+27=41, Resulting Numbers: [51, 79, 41] Generated Node #2: [51, 79, 41] from Operation: 14+27=41 Current State: 89:[51, 79, 41], Operations: ['14+27=41'] Exploring Operation: 51+79=130, Resulting Numbers: [41, 130] Generated Node #3: [41, 130] from Operation: 51+79=130 Current State: 89:[41, 130], Operations: ['14+27=41', '51+79=130'] Exploring Operation: 130-41=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[14, 27, 51, 79], Operations: [] Exploring Operation: 14+79=93, Resulting Numbers: [27, 51, 93] Generated Node #0,0: 89:[27, 51, 93] Operation: 14+79=93 Exploring Operation: 14+51=65, Resulting Numbers: [27, 79, 65] Generated Node #0,1: 89:[27, 79, 65] Operation: 14+51=65 Exploring Operation: 27-14=13, Resulting Numbers: [51, 79, 13] Generated Node #0,2: 89:[51, 79, 13] Operation: 27-14=13 Exploring Operation: 14+27=41, Resulting Numbers: [51, 79, 41] Generated Node #0,3: 89:[51, 79, 41] Operation: 14+27=41 Exploring Operation: 27+51=78, Resulting Numbers: [14, 79, 78] Generated Node #0,4: 89:[14, 79, 78] Operation: 27+51=78 Moving to Node #0,1 Current State: 89:[27, 79, 65], Operations: ['14+51=65'] Exploring Operation: 65-27=38, Resulting Numbers: [79, 38] Generated Node #0,1,0: 89:[79, 38] Operation: 65-27=38 Exploring Operation: 79+65=144, Resulting Numbers: [27, 144] Generated Node #0,1,1: 89:[27, 144] Operation: 79+65=144 Exploring Operation: 79-27=52, Resulting Numbers: [65, 52] Generated Node #0,1,2: 89:[65, 52] Operation: 79-27=52 Exploring Operation: 27+79=106, Resulting Numbers: [65, 106] Generated Node #0,1,3: 89:[65, 106] Operation: 27+79=106 Exploring Operation: 27+65=92, Resulting Numbers: [79, 92] Generated Node #0,1,4: 89:[79, 92] Operation: 27+65=92 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 89:[79, 92], Operations: ['14+51=65', '27+65=92'] Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,89 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,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,3 Current State: 89:[65, 106], Operations: ['14+51=65', '27+79=106'] Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 65*106=6890, Resulting Numbers: [6890] 6890,89 unequal: No Solution Exploring Operation: 65+106=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[79, 38], Operations: ['14+51=65', '65-27=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,89 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[65, 52], Operations: ['14+51=65', '79-27=52'] Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,89 unequal: No Solution Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,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,1 Current State: 89:[27, 144], Operations: ['14+51=65', '79+65=144'] Exploring Operation: 144-27=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 27*144=3888, Resulting Numbers: [3888] 3888,89 unequal: No Solution Exploring Operation: 27+144=171, Resulting Numbers: [171] 171,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 89:[14, 79, 78], Operations: ['27+51=78'] Exploring Operation: 14+78=92, Resulting Numbers: [79, 92] Generated Node #0,4,0: 89:[79, 92] Operation: 14+78=92 Exploring Operation: 78-14=64, Resulting Numbers: [79, 64] Generated Node #0,4,1: 89:[79, 64] Operation: 78-14=64 Exploring Operation: 79+78=157, Resulting Numbers: [14, 157] Generated Node #0,4,2: 89:[14, 157] Operation: 79+78=157 Exploring Operation: 79-14=65, Resulting Numbers: [78, 65] Generated Node #0,4,3: 89:[78, 65] Operation: 79-14=65 Exploring Operation: 14+79=93, Resulting Numbers: [78, 93] Generated Node #0,4,4: 89:[78, 93] Operation: 14+79=93 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 89:[79, 92], Operations: ['27+51=78', '14+78=92'] Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,89 unequal: No Solution Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,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,4,4 Current State: 89:[78, 93], Operations: ['27+51=78', '14+79=93'] Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 78*93=7254, Resulting Numbers: [7254] 7254,89 unequal: No Solution Exploring Operation: 78+93=171, Resulting Numbers: [171] 171,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,4,1 Current State: 89:[79, 64], Operations: ['27+51=78', '78-14=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,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,4,3 Current State: 89:[78, 65], Operations: ['27+51=78', '79-14=65'] Exploring Operation: 78*65=5070, Resulting Numbers: [5070] 5070,89 unequal: No Solution Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,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,4,2 Current State: 89:[14, 157], Operations: ['27+51=78', '79+78=157'] Exploring Operation: 157-14=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 14*157=2198, Resulting Numbers: [2198] 2198,89 unequal: No Solution Exploring Operation: 14+157=171, Resulting Numbers: [171] 171,89 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: 89:[51, 79, 41], Operations: ['14+27=41'] Exploring Operation: 51-41=10, Resulting Numbers: [79, 10] Generated Node #0,3,0: 89:[79, 10] Operation: 51-41=10 Exploring Operation: 51+41=92, Resulting Numbers: [79, 92] Generated Node #0,3,1: 89:[79, 92] Operation: 51+41=92 Exploring Operation: 51+79=130, Resulting Numbers: [41, 130] Generated Node #0,3,2: 89:[41, 130] Operation: 51+79=130 Exploring Operation: 79+41=120, Resulting Numbers: [51, 120] Generated Node #0,3,3: 89:[51, 120] Operation: 79+41=120 Exploring Operation: 79-41=38, Resulting Numbers: [51, 38] Generated Node #0,3,4: 89:[51, 38] Operation: 79-41=38 Moving to Node #0,0 Current State: 89:[27, 51, 93], Operations: ['14+79=93'] Exploring Operation: 51-27=24, Resulting Numbers: [93, 24] Generated Node #0,0,0: 89:[93, 24] Operation: 51-27=24 Exploring Operation: 93-51=42, Resulting Numbers: [27, 42] Generated Node #0,0,1: 89:[27, 42] Operation: 93-51=42 Exploring Operation: 27+93=120, Resulting Numbers: [51, 120] Generated Node #0,0,2: 89:[51, 120] Operation: 27+93=120 Exploring Operation: 27+51=78, Resulting Numbers: [93, 78] Generated Node #0,0,3: 89:[93, 78] Operation: 27+51=78 Exploring Operation: 93-27=66, Resulting Numbers: [51, 66] Generated Node #0,0,4: 89:[51, 66] Operation: 93-27=66 Moving to Node #0,2 Current State: 89:[51, 79, 13], Operations: ['27-14=13'] Exploring Operation: 79+13=92, Resulting Numbers: [51, 92] Generated Node #0,2,0: 89:[51, 92] Operation: 79+13=92 Exploring Operation: 51+79=130, Resulting Numbers: [13, 130] Generated Node #0,2,1: 89:[13, 130] Operation: 51+79=130 Exploring Operation: 51-13=38, Resulting Numbers: [79, 38] Generated Node #0,2,2: 89:[79, 38] Operation: 51-13=38 Exploring Operation: 51+13=64, Resulting Numbers: [79, 64] Generated Node #0,2,3: 89:[79, 64] Operation: 51+13=64 Exploring Operation: 79-13=66, Resulting Numbers: [51, 66] Generated Node #0,2,4: 89:[51, 66] Operation: 79-13=66 Moving to Node #0,3,1 Current State: 89:[79, 92], Operations: ['14+27=41', '51+41=92'] Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 79+92=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 79*92=7268, Resulting Numbers: [7268] 7268,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[93, 78], Operations: ['14+79=93', '27+51=78'] Exploring Operation: 93*78=7254, Resulting Numbers: [7254] 7254,89 unequal: No Solution Exploring Operation: 93-78=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 93+78=171, Resulting Numbers: [171] 171,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[79, 64], Operations: ['27-14=13', '51+13=64'] Exploring Operation: 79-64=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 79*64=5056, Resulting Numbers: [5056] 5056,89 unequal: No Solution Exploring Operation: 79+64=143, Resulting Numbers: [143] 143,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[51, 92], Operations: ['27-14=13', '79+13=92'] Exploring Operation: 51+92=143, Resulting Numbers: [143] 143,89 unequal: No Solution Exploring Operation: 51*92=4692, Resulting Numbers: [4692] 4692,89 unequal: No Solution Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,89 unequal: No Solution Moving to Node #0,0,4 Current State: 89:[51, 66], Operations: ['14+79=93', '93-27=66'] Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,89 unequal: No Solution Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[79, 38], Operations: ['27-14=13', '51-13=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,89 unequal: No Solution Moving to Node #0,2,4 Current State: 89:[51, 66], Operations: ['27-14=13', '79-13=66'] Exploring Operation: 51+66=117, Resulting Numbers: [117] 117,89 unequal: No Solution Exploring Operation: 51*66=3366, Resulting Numbers: [3366] 3366,89 unequal: No Solution Exploring Operation: 66-51=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[51, 120], Operations: ['14+27=41', '79+41=120'] Exploring Operation: 51+120=171, Resulting Numbers: [171] 171,89 unequal: No Solution Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 51*120=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[93, 24], Operations: ['14+79=93', '51-27=24'] Exploring Operation: 93*24=2232, Resulting Numbers: [2232] 2232,89 unequal: No Solution Exploring Operation: 93-24=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 93+24=117, Resulting Numbers: [117] 117,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[51, 120], Operations: ['14+79=93', '27+93=120'] Exploring Operation: 51*120=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Exploring Operation: 120-51=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 51+120=171, Resulting Numbers: [171] 171,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[79, 10], Operations: ['14+27=41', '51-41=10'] Exploring Operation: 79*10=790, Resulting Numbers: [790] 790,89 unequal: No Solution Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[14, 27, 51, 79], Operations: [] Exploring Operation: 14+27=41, Resulting Numbers: [51, 79, 41] Generated Node #0,3: 89:[51, 79, 41] Operation: 14+27=41 Moving to Node #0,3 Current State: 89:[51, 79, 41], Operations: ['14+27=41'] Exploring Operation: 51-41=10, Resulting Numbers: [79, 10] Generated Node #0,3,0: 89:[79, 10] Operation: 51-41=10 Moving to Node #0,3,0 Current State: 89:[79, 10], Operations: ['14+27=41', '51-41=10'] Exploring Operation: 79+10=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.916667
hs_5
mult_heuristic
[ 80, 41, 16, 43 ]
66
[ "80-41=39", "43-16=27", "39+27=66" ]
Current State: 66:[80, 41, 16, 43], Operations: [] Exploring Operation: 80-41=39, Resulting Numbers: [16, 43, 39] Generated Node #2: [16, 43, 39] from Operation: 80-41=39 Current State: 66:[16, 43, 39], Operations: ['80-41=39'] Exploring Operation: 43-16=27, Resulting Numbers: [39, 27] Generated Node #3: [39, 27] from Operation: 43-16=27 Current State: 66:[39, 27], Operations: ['80-41=39', '43-16=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[80, 41, 16, 43], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [41, 43, 5] Generated Node #0,0: 66:[41, 43, 5] Operation: 80/16=5 Exploring Operation: 80-43=37, Resulting Numbers: [41, 16, 37] Generated Node #0,1: 66:[41, 16, 37] Operation: 80-43=37 Moving to Node #0,1 Current State: 66:[41, 16, 37], Operations: ['80-43=37'] Exploring Operation: 41-37=4, Resulting Numbers: [16, 4] Generated Node #0,1,0: 66:[16, 4] Operation: 41-37=4 Exploring Operation: 41-16=25, Resulting Numbers: [37, 25] Generated Node #0,1,1: 66:[37, 25] Operation: 41-16=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[16, 4], Operations: ['80-43=37', '41-37=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[37, 25], Operations: ['80-43=37', '41-16=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,66 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: 66:[41, 43, 5], Operations: ['80/16=5'] Exploring Operation: 41-5=36, Resulting Numbers: [43, 36] Generated Node #0,0,0: 66:[43, 36] Operation: 41-5=36 Exploring Operation: 43-41=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 66:[5, 2] Operation: 43-41=2 Moving to Node #0,0,1 Current State: 66:[5, 2], Operations: ['80/16=5', '43-41=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[43, 36], Operations: ['80/16=5', '41-5=36'] Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,66 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 6, 64, 54, 60 ]
71
[ "64*60=3840", "3840-6=3834", "3834/54=71" ]
Current State: 71:[6, 64, 54, 60], Operations: [] Exploring Operation: 64*60=3840, Resulting Numbers: [6, 54, 3840] Generated Node #2: [6, 54, 3840] from Operation: 64*60=3840 Current State: 71:[6, 54, 3840], Operations: ['64*60=3840'] Exploring Operation: 3840-6=3834, Resulting Numbers: [54, 3834] Generated Node #3: [54, 3834] from Operation: 3840-6=3834 Current State: 71:[54, 3834], Operations: ['64*60=3840', '3840-6=3834'] Exploring Operation: 3834/54=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[6, 64, 54, 60], Operations: [] Exploring Operation: 6+60=66, Resulting Numbers: [64, 54, 66] Generated Node #0,0: 71:[64, 54, 66] Operation: 6+60=66 Exploring Operation: 54-6=48, Resulting Numbers: [64, 60, 48] Generated Node #0,1: 71:[64, 60, 48] Operation: 54-6=48 Exploring Operation: 6+54=60, Resulting Numbers: [64, 60, 60] Generated Node #0,2: 71:[64, 60, 60] Operation: 6+54=60 Exploring Operation: 6+64=70, Resulting Numbers: [54, 60, 70] Generated Node #0,3: 71:[54, 60, 70] Operation: 6+64=70 Exploring Operation: 64-6=58, Resulting Numbers: [54, 60, 58] Generated Node #0,4: 71:[54, 60, 58] Operation: 64-6=58 Moving to Node #0,0 Current State: 71:[64, 54, 66], Operations: ['6+60=66'] Exploring Operation: 64-54=10, Resulting Numbers: [66, 10] Generated Node #0,0,0: 71:[66, 10] Operation: 64-54=10 Exploring Operation: 54+66=120, Resulting Numbers: [64, 120] Generated Node #0,0,1: 71:[64, 120] Operation: 54+66=120 Exploring Operation: 66-54=12, Resulting Numbers: [64, 12] Generated Node #0,0,2: 71:[64, 12] Operation: 66-54=12 Exploring Operation: 64+54=118, Resulting Numbers: [66, 118] Generated Node #0,0,3: 71:[66, 118] Operation: 64+54=118 Exploring Operation: 64+66=130, Resulting Numbers: [54, 130] Generated Node #0,0,4: 71:[54, 130] Operation: 64+66=130 Moving to Node #0,3 Current State: 71:[54, 60, 70], Operations: ['6+64=70'] Exploring Operation: 60-54=6, Resulting Numbers: [70, 6] Generated Node #0,3,0: 71:[70, 6] Operation: 60-54=6 Exploring Operation: 60+70=130, Resulting Numbers: [54, 130] Generated Node #0,3,1: 71:[54, 130] Operation: 60+70=130 Exploring Operation: 70-54=16, Resulting Numbers: [60, 16] Generated Node #0,3,2: 71:[60, 16] Operation: 70-54=16 Exploring Operation: 54+70=124, Resulting Numbers: [60, 124] Generated Node #0,3,3: 71:[60, 124] Operation: 54+70=124 Exploring Operation: 54+60=114, Resulting Numbers: [70, 114] Generated Node #0,3,4: 71:[70, 114] Operation: 54+60=114 Moving to Node #0,2 Current State: 71:[64, 60, 60], Operations: ['6+54=60'] Exploring Operation: 64+60=124, Resulting Numbers: [60, 124] Generated Node #0,2,0: 71:[60, 124] Operation: 64+60=124 Exploring Operation: 60+60=120, Resulting Numbers: [64, 120] Generated Node #0,2,1: 71:[64, 120] Operation: 60+60=120 Exploring Operation: 60/60=1, Resulting Numbers: [64, 1] Generated Node #0,2,2: 71:[64, 1] Operation: 60/60=1 Exploring Operation: 64-60=4, Resulting Numbers: [60, 4] Generated Node #0,2,3: 71:[60, 4] Operation: 64-60=4 Exploring Operation: 64+60=124, Resulting Numbers: [60, 124] Generated Node #0,2,4: 71:[60, 124] Operation: 64+60=124 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[64, 120], Operations: ['6+54=60', '60+60=120'] Exploring Operation: 64+120=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 120-64=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 64*120=7680, Resulting Numbers: [7680] 7680,71 unequal: No Solution No 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: 71:[60, 124], Operations: ['6+54=60', '64+60=124'] Exploring Operation: 124-60=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60+124=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 60*124=7440, Resulting Numbers: [7440] 7440,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 71:[60, 124], Operations: ['6+54=60', '64+60=124'] Exploring Operation: 60*124=7440, Resulting Numbers: [7440] 7440,71 unequal: No Solution Exploring Operation: 124-60=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60+124=184, Resulting Numbers: [184] 184,71 unequal: No Solution No 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: 71:[64, 1], Operations: ['6+54=60', '60/60=1'] Exploring Operation: 64+1=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 64*1=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 64-1=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 64/1=64, Resulting Numbers: [64] 64,71 unequal: No Solution No 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: 71:[60, 4], Operations: ['6+54=60', '64-60=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,71 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: 71:[64, 60, 48], Operations: ['54-6=48'] Exploring Operation: 64+60=124, Resulting Numbers: [48, 124] Generated Node #0,1,0: 71:[48, 124] Operation: 64+60=124 Exploring Operation: 60-48=12, Resulting Numbers: [64, 12] Generated Node #0,1,1: 71:[64, 12] Operation: 60-48=12 Exploring Operation: 60+48=108, Resulting Numbers: [64, 108] Generated Node #0,1,2: 71:[64, 108] Operation: 60+48=108 Exploring Operation: 64+48=112, Resulting Numbers: [60, 112] Generated Node #0,1,3: 71:[60, 112] Operation: 64+48=112 Exploring Operation: 64-48=16, Resulting Numbers: [60, 16] Generated Node #0,1,4: 71:[60, 16] Operation: 64-48=16 Moving to Node #0,4 Current State: 71:[54, 60, 58], Operations: ['64-6=58'] Exploring Operation: 58-54=4, Resulting Numbers: [60, 4] Generated Node #0,4,0: 71:[60, 4] Operation: 58-54=4 Exploring Operation: 60+58=118, Resulting Numbers: [54, 118] Generated Node #0,4,1: 71:[54, 118] Operation: 60+58=118 Exploring Operation: 60-54=6, Resulting Numbers: [58, 6] Generated Node #0,4,2: 71:[58, 6] Operation: 60-54=6 Exploring Operation: 54+58=112, Resulting Numbers: [60, 112] Generated Node #0,4,3: 71:[60, 112] Operation: 54+58=112 Exploring Operation: 54+60=114, Resulting Numbers: [58, 114] Generated Node #0,4,4: 71:[58, 114] Operation: 54+60=114 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 71:[60, 112], Operations: ['64-6=58', '54+58=112'] Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,71 unequal: No Solution Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 71:[58, 114], Operations: ['64-6=58', '54+60=114'] Exploring Operation: 114-58=56, Resulting Numbers: [56] 56,71 unequal: No Solution Exploring Operation: 58+114=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 58*114=6612, Resulting Numbers: [6612] 6612,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 71:[54, 118], Operations: ['64-6=58', '60+58=118'] Exploring Operation: 54*118=6372, Resulting Numbers: [6372] 6372,71 unequal: No Solution Exploring Operation: 118-54=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 54+118=172, Resulting Numbers: [172] 172,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 71:[60, 4], Operations: ['64-6=58', '58-54=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,71 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,71 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 71:[58, 6], Operations: ['64-6=58', '60-54=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,4 Current State: 71:[70, 114], Operations: ['6+64=70', '54+60=114'] Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 70+114=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 70*114=7980, Resulting Numbers: [7980] 7980,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[64, 108], Operations: ['54-6=48', '60+48=108'] Exploring Operation: 64*108=6912, Resulting Numbers: [6912] 6912,71 unequal: No Solution Exploring Operation: 64+108=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 108-64=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[66, 118], Operations: ['6+60=66', '64+54=118'] Exploring Operation: 118-66=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 66*118=7788, Resulting Numbers: [7788] 7788,71 unequal: No Solution Exploring Operation: 66+118=184, Resulting Numbers: [184] 184,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[60, 112], Operations: ['54-6=48', '64+48=112'] Exploring Operation: 60*112=6720, Resulting Numbers: [6720] 6720,71 unequal: No Solution Exploring Operation: 60+112=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[64, 120], Operations: ['6+60=66', '54+66=120'] Exploring Operation: 64*120=7680, Resulting Numbers: [7680] 7680,71 unequal: No Solution Exploring Operation: 64+120=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 120-64=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[60, 124], Operations: ['6+64=70', '54+70=124'] Exploring Operation: 124-60=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 60*124=7440, Resulting Numbers: [7440] 7440,71 unequal: No Solution Exploring Operation: 60+124=184, Resulting Numbers: [184] 184,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[60, 16], Operations: ['54-6=48', '64-48=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,71 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[64, 12], Operations: ['54-6=48', '60-48=12'] Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,71 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[66, 10], Operations: ['6+60=66', '64-54=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,71 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[70, 6], Operations: ['6+64=70', '60-54=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,71 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[64, 12], Operations: ['6+60=66', '66-54=12'] Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,71 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[60, 16], Operations: ['6+64=70', '70-54=16'] Exploring Operation: 60*16=960, Resulting Numbers: [960] 960,71 unequal: No Solution Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,71 unequal: No Solution Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[54, 130], Operations: ['6+64=70', '60+70=130'] Exploring Operation: 130-54=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 54+130=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 54*130=7020, Resulting Numbers: [7020] 7020,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[48, 124], Operations: ['54-6=48', '64+60=124'] Exploring Operation: 48+124=172, Resulting Numbers: [172] 172,71 unequal: No Solution Exploring Operation: 124-48=76, Resulting Numbers: [76] 76,71 unequal: No Solution Exploring Operation: 48*124=5952, Resulting Numbers: [5952] 5952,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[54, 130], Operations: ['6+60=66', '64+66=130'] Exploring Operation: 54*130=7020, Resulting Numbers: [7020] 7020,71 unequal: No Solution Exploring Operation: 54+130=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 130-54=76, Resulting Numbers: [76] 76,71 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 43, 54, 42, 47 ]
70
[ "43+47=90", "42*90=3780", "3780/54=70" ]
Current State: 70:[43, 54, 42, 47], Operations: [] Exploring Operation: 43+47=90, Resulting Numbers: [54, 42, 90] Generated Node #2: [54, 42, 90] from Operation: 43+47=90 Current State: 70:[54, 42, 90], Operations: ['43+47=90'] Exploring Operation: 42*90=3780, Resulting Numbers: [54, 3780] Generated Node #3: [54, 3780] from Operation: 42*90=3780 Current State: 70:[54, 3780], Operations: ['43+47=90', '42*90=3780'] Exploring Operation: 3780/54=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[43, 54, 42, 47], Operations: [] Exploring Operation: 54-42=12, Resulting Numbers: [43, 47, 12] Generated Node #0,0: 70:[43, 47, 12] Operation: 54-42=12 Exploring Operation: 47-43=4, Resulting Numbers: [54, 42, 4] Generated Node #0,1: 70:[54, 42, 4] Operation: 47-43=4 Exploring Operation: 54-43=11, Resulting Numbers: [42, 47, 11] Generated Node #0,2: 70:[42, 47, 11] Operation: 54-43=11 Exploring Operation: 54-47=7, Resulting Numbers: [43, 42, 7] Generated Node #0,3: 70:[43, 42, 7] Operation: 54-47=7 Exploring Operation: 47-42=5, Resulting Numbers: [43, 54, 5] Generated Node #0,4: 70:[43, 54, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[43, 42, 7], Operations: ['54-47=7'] Exploring Operation: 43-7=36, Resulting Numbers: [42, 36] Generated Node #0,3,0: 70:[42, 36] Operation: 43-7=36 Exploring Operation: 43-42=1, Resulting Numbers: [7, 1] Generated Node #0,3,1: 70:[7, 1] Operation: 43-42=1 Exploring Operation: 43+42=85, Resulting Numbers: [7, 85] Generated Node #0,3,2: 70:[7, 85] Operation: 43+42=85 Exploring Operation: 42/7=6, Resulting Numbers: [43, 6] Generated Node #0,3,3: 70:[43, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [43, 35] Generated Node #0,3,4: 70:[43, 35] Operation: 42-7=35 Moving to Node #0,3,1 Current State: 70:[7, 1], Operations: ['54-47=7', '43-42=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,70 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,70 unequal: No Solution Moving to Node #0,3,4 Current State: 70:[43, 35], Operations: ['54-47=7', '42-7=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,70 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[42, 36], Operations: ['54-47=7', '43-7=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[43, 6], Operations: ['54-47=7', '42/7=6'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,70 unequal: No Solution Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[7, 85], Operations: ['54-47=7', '43+42=85'] Exploring Operation: 7*85=595, Resulting Numbers: [595] 595,70 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 7+85=92, Resulting Numbers: [92] 92,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:[42, 47, 11], Operations: ['54-43=11'] Exploring Operation: 42-11=31, Resulting Numbers: [47, 31] Generated Node #0,2,0: 70:[47, 31] Operation: 42-11=31 Exploring Operation: 47+11=58, Resulting Numbers: [42, 58] Generated Node #0,2,1: 70:[42, 58] Operation: 47+11=58 Exploring Operation: 42+47=89, Resulting Numbers: [11, 89] Generated Node #0,2,2: 70:[11, 89] Operation: 42+47=89 Exploring Operation: 47-11=36, Resulting Numbers: [42, 36] Generated Node #0,2,3: 70:[42, 36] Operation: 47-11=36 Exploring Operation: 47-42=5, Resulting Numbers: [11, 5] Generated Node #0,2,4: 70:[11, 5] Operation: 47-42=5 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 70:[11, 5], Operations: ['54-43=11', '47-42=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,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,3 Current State: 70:[42, 36], Operations: ['54-43=11', '47-11=36'] Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,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,0 Current State: 70:[47, 31], Operations: ['54-43=11', '42-11=31'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,70 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,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:[42, 58], Operations: ['54-43=11', '47+11=58'] Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,70 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,70 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,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:[11, 89], Operations: ['54-43=11', '42+47=89'] Exploring Operation: 11+89=100, Resulting Numbers: [100] 100,70 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 11*89=979, Resulting Numbers: [979] 979,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,0 Current State: 70:[43, 47, 12], Operations: ['54-42=12'] Exploring Operation: 47-12=35, Resulting Numbers: [43, 35] Generated Node #0,0,0: 70:[43, 35] Operation: 47-12=35 Exploring Operation: 47+12=59, Resulting Numbers: [43, 59] Generated Node #0,0,1: 70:[43, 59] Operation: 47+12=59 Exploring Operation: 43+47=90, Resulting Numbers: [12, 90] Generated Node #0,0,2: 70:[12, 90] Operation: 43+47=90 Exploring Operation: 43-12=31, Resulting Numbers: [47, 31] Generated Node #0,0,3: 70:[47, 31] Operation: 43-12=31 Exploring Operation: 47-43=4, Resulting Numbers: [12, 4] Generated Node #0,0,4: 70:[12, 4] Operation: 47-43=4 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 70:[12, 4], Operations: ['54-42=12', '47-43=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,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=16, Resulting Numbers: [16] 16,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:[43, 35], Operations: ['54-42=12', '47-12=35'] Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,70 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,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,3 Current State: 70:[47, 31], Operations: ['54-42=12', '43-12=31'] Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,70 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,70 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,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:[43, 59], Operations: ['54-42=12', '47+12=59'] Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,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:[12, 90], Operations: ['54-42=12', '43+47=90'] Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,70 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,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,1 Current State: 70:[54, 42, 4], Operations: ['47-43=4'] Exploring Operation: 54+42=96, Resulting Numbers: [4, 96] Generated Node #0,1,0: 70:[4, 96] Operation: 54+42=96 Exploring Operation: 54-42=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 70:[4, 12] Operation: 54-42=12 Exploring Operation: 54+4=58, Resulting Numbers: [42, 58] Generated Node #0,1,2: 70:[42, 58] Operation: 54+4=58 Exploring Operation: 42-4=38, Resulting Numbers: [54, 38] Generated Node #0,1,3: 70:[54, 38] Operation: 42-4=38 Exploring Operation: 54-4=50, Resulting Numbers: [42, 50] Generated Node #0,1,4: 70:[42, 50] Operation: 54-4=50 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[4, 12], Operations: ['47-43=4', '54-42=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,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,1,2 Current State: 70:[42, 58], Operations: ['47-43=4', '54+4=58'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,70 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,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,1,3 Current State: 70:[54, 38], Operations: ['47-43=4', '42-4=38'] Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,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,1,4 Current State: 70:[42, 50], Operations: ['47-43=4', '54-4=50'] Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,70 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,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,1,0 Current State: 70:[4, 96], Operations: ['47-43=4', '54+42=96'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 4*96=384, Resulting Numbers: [384] 384,70 unequal: No Solution Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,70 unequal: No Solution Exploring Operation: 4+96=100, Resulting Numbers: [100] 100,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,4 Current State: 70:[43, 54, 5], Operations: ['47-42=5'] Exploring Operation: 43+54=97, Resulting Numbers: [5, 97] Generated Node #0,4,0: 70:[5, 97] Operation: 43+54=97 Exploring Operation: 43-5=38, Resulting Numbers: [54, 38] Generated Node #0,4,1: 70:[54, 38] Operation: 43-5=38 Exploring Operation: 54-43=11, Resulting Numbers: [5, 11] Generated Node #0,4,2: 70:[5, 11] Operation: 54-43=11 Exploring Operation: 54+5=59, Resulting Numbers: [43, 59] Generated Node #0,4,3: 70:[43, 59] Operation: 54+5=59 Exploring Operation: 54-5=49, Resulting Numbers: [43, 49] Generated Node #0,4,4: 70:[43, 49] Operation: 54-5=49 Moving to Node #0,4,2 Current State: 70:[5, 11], Operations: ['47-42=5', '54-43=11'] Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,70 unequal: No Solution Moving to Node #0,4,3 Current State: 70:[43, 59], Operations: ['47-42=5', '54+5=59'] Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,70 unequal: No Solution Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,4,1 Current State: 70:[54, 38], Operations: ['47-42=5', '43-5=38'] Exploring Operation: 54*38=2052, Resulting Numbers: [2052] 2052,70 unequal: No Solution Exploring Operation: 54+38=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 54-38=16, Resulting Numbers: [16] 16,70 unequal: No Solution Moving to Node #0,4,4 Current State: 70:[43, 49], Operations: ['47-42=5', '54-5=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,70 unequal: No Solution Exploring Operation: 49-43=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 43*49=2107, Resulting Numbers: [2107] 2107,70 unequal: No Solution Moving to Node #0,4,0 Current State: 70:[5, 97], Operations: ['47-42=5', '43+54=97'] Exploring Operation: 5+97=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 5*97=485, Resulting Numbers: [485] 485,70 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,70 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
[ 17, 12, 89, 19 ]
13
[ "89-17=72", "72/12=6", "19-6=13" ]
Current State: 13:[17, 12, 89, 19], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [12, 19, 72] Generated Node #2: [12, 19, 72] from Operation: 89-17=72 Current State: 13:[12, 19, 72], Operations: ['89-17=72'] Exploring Operation: 72/12=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 72/12=6 Current State: 13:[19, 6], Operations: ['89-17=72', '72/12=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[17, 12, 89, 19], Operations: [] Exploring Operation: 89-12=77, Resulting Numbers: [17, 19, 77] Generated Node #0,0: 13:[17, 19, 77] Operation: 89-12=77 Exploring Operation: 19-12=7, Resulting Numbers: [17, 89, 7] Generated Node #0,1: 13:[17, 89, 7] Operation: 19-12=7 Exploring Operation: 89-19=70, Resulting Numbers: [17, 12, 70] Generated Node #0,2: 13:[17, 12, 70] Operation: 89-19=70 Exploring Operation: 89-17=72, Resulting Numbers: [12, 19, 72] Generated Node #0,3: 13:[12, 19, 72] Operation: 89-17=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[17, 12, 70], Operations: ['89-19=70'] Exploring Operation: 17+12=29, Resulting Numbers: [70, 29] Generated Node #0,2,0: 13:[70, 29] Operation: 17+12=29 Exploring Operation: 17-12=5, Resulting Numbers: [70, 5] Generated Node #0,2,1: 13:[70, 5] Operation: 17-12=5 Exploring Operation: 70-17=53, Resulting Numbers: [12, 53] Generated Node #0,2,2: 13:[12, 53] Operation: 70-17=53 Exploring Operation: 70-12=58, Resulting Numbers: [17, 58] Generated Node #0,2,3: 13:[17, 58] Operation: 70-12=58 Moving to Node #0,2,2 Current State: 13:[12, 53], Operations: ['89-19=70', '70-17=53'] Exploring Operation: 12*53=636, Resulting Numbers: [636] 636,13 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,13 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[17, 58], Operations: ['89-19=70', '70-12=58'] Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,13 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[70, 5], Operations: ['89-19=70', '17-12=5'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,13 unequal: No Solution Exploring Operation: 70*5=350, Resulting Numbers: [350] 350,13 unequal: No Solution Exploring Operation: 70+5=75, Resulting Numbers: [75] 75,13 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[70, 29], Operations: ['89-19=70', '17+12=29'] Exploring Operation: 70-29=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 70+29=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 70*29=2030, Resulting Numbers: [2030] 2030,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[12, 19, 72], Operations: ['89-17=72'] Exploring Operation: 19-12=7, Resulting Numbers: [72, 7] Generated Node #0,3,0: 13:[72, 7] Operation: 19-12=7 Exploring Operation: 72-19=53, Resulting Numbers: [12, 53] Generated Node #0,3,1: 13:[12, 53] Operation: 72-19=53 Exploring Operation: 72-12=60, Resulting Numbers: [19, 60] Generated Node #0,3,2: 13:[19, 60] Operation: 72-12=60 Exploring Operation: 72/12=6, Resulting Numbers: [19, 6] Generated Node #0,3,3: 13:[19, 6] Operation: 72/12=6 Moving to Node #0,3,3 Current State: 13:[19, 6], Operations: ['89-17=72', '72/12=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[17, 12, 89, 19], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [12, 19, 72] Generated Node #0,3: 13:[12, 19, 72] Operation: 89-17=72 Moving to Node #0,3 Current State: 13:[12, 19, 72], Operations: ['89-17=72'] Exploring Operation: 72/12=6, Resulting Numbers: [19, 6] Generated Node #0,3,3: 13:[19, 6] Operation: 72/12=6 Moving to Node #0,3,3 Current State: 13:[19, 6], Operations: ['89-17=72', '72/12=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 24, 3, 4, 69 ]
52
[ "24-3=21", "4+69=73", "73-21=52" ]
Current State: 52:[24, 3, 4, 69], Operations: [] Exploring Operation: 24-3=21, Resulting Numbers: [4, 69, 21] Generated Node #2: [4, 69, 21] from Operation: 24-3=21 Current State: 52:[4, 69, 21], Operations: ['24-3=21'] Exploring Operation: 4+69=73, Resulting Numbers: [21, 73] Generated Node #3: [21, 73] from Operation: 4+69=73 Current State: 52:[21, 73], Operations: ['24-3=21', '4+69=73'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[24, 3, 4, 69], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [3, 4, 45] Generated Node #0,0: 52:[3, 4, 45] Operation: 69-24=45 Exploring Operation: 69/3=23, Resulting Numbers: [24, 4, 23] Generated Node #0,1: 52:[24, 4, 23] Operation: 69/3=23 Exploring Operation: 69-3=66, Resulting Numbers: [24, 4, 66] Generated Node #0,2: 52:[24, 4, 66] Operation: 69-3=66 Moving to Node #0,1 Current State: 52:[24, 4, 23], Operations: ['69/3=23'] Exploring Operation: 4+23=27, Resulting Numbers: [24, 27] Generated Node #0,1,0: 52:[24, 27] Operation: 4+23=27 Exploring Operation: 24-23=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 52:[4, 1] Operation: 24-23=1 Exploring Operation: 24+4=28, Resulting Numbers: [23, 28] Generated Node #0,1,2: 52:[23, 28] Operation: 24+4=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[4, 1], Operations: ['69/3=23', '24-23=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,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,1,0 Current State: 52:[24, 27], Operations: ['69/3=23', '4+23=27'] Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,52 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,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,1,2 Current State: 52:[23, 28], Operations: ['69/3=23', '24+4=28'] Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,52 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,52 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: 52:[3, 4, 45], Operations: ['69-24=45'] Exploring Operation: 4+45=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 52:[3, 49] Operation: 4+45=49 Exploring Operation: 3+45=48, Resulting Numbers: [4, 48] Generated Node #0,0,1: 52:[4, 48] Operation: 3+45=48 Exploring Operation: 45/3=15, Resulting Numbers: [4, 15] Generated Node #0,0,2: 52:[4, 15] Operation: 45/3=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[4, 15], Operations: ['69-24=45', '45/3=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,52 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[3, 49], Operations: ['69-24=45', '4+45=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[24, 3, 4, 69], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [3, 4, 45] Generated Node #0,0: 52:[3, 4, 45] Operation: 69-24=45 Moving to Node #0,0 Current State: 52:[3, 4, 45], Operations: ['69-24=45'] Exploring Operation: 4+45=49, Resulting Numbers: [3, 49] Generated Node #0,0,0: 52:[3, 49] Operation: 4+45=49 Moving to Node #0,0,0 Current State: 52:[3, 49], Operations: ['69-24=45', '4+45=49'] Exploring Operation: 3+49=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 96, 44, 41, 43 ]
32
[ "96-44=52", "41+43=84", "84-52=32" ]
Current State: 32:[96, 44, 41, 43], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [41, 43, 52] Generated Node #2: [41, 43, 52] from Operation: 96-44=52 Current State: 32:[41, 43, 52], Operations: ['96-44=52'] Exploring Operation: 41+43=84, Resulting Numbers: [52, 84] Generated Node #3: [52, 84] from Operation: 41+43=84 Current State: 32:[52, 84], Operations: ['96-44=52', '41+43=84'] Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[96, 44, 41, 43], Operations: [] Exploring Operation: 96-43=53, Resulting Numbers: [44, 41, 53] Generated Node #0,0: 32:[44, 41, 53] Operation: 96-43=53 Exploring Operation: 96-44=52, Resulting Numbers: [41, 43, 52] Generated Node #0,1: 32:[41, 43, 52] Operation: 96-44=52 Exploring Operation: 44-43=1, Resulting Numbers: [96, 41, 1] Generated Node #0,2: 32:[96, 41, 1] Operation: 44-43=1 Exploring Operation: 96-41=55, Resulting Numbers: [44, 43, 55] Generated Node #0,3: 32:[44, 43, 55] Operation: 96-41=55 Moving to Node #0,1 Current State: 32:[41, 43, 52], Operations: ['96-44=52'] Exploring Operation: 52-41=11, Resulting Numbers: [43, 11] Generated Node #0,1,0: 32:[43, 11] Operation: 52-41=11 Exploring Operation: 43-41=2, Resulting Numbers: [52, 2] Generated Node #0,1,1: 32:[52, 2] Operation: 43-41=2 Exploring Operation: 52-43=9, Resulting Numbers: [41, 9] Generated Node #0,1,2: 32:[41, 9] Operation: 52-43=9 Exploring Operation: 41+43=84, Resulting Numbers: [52, 84] Generated Node #0,1,3: 32:[52, 84] Operation: 41+43=84 Moving to Node #0,0 Current State: 32:[44, 41, 53], Operations: ['96-43=53'] Exploring Operation: 44-41=3, Resulting Numbers: [53, 3] Generated Node #0,0,0: 32:[53, 3] Operation: 44-41=3 Exploring Operation: 53-44=9, Resulting Numbers: [41, 9] Generated Node #0,0,1: 32:[41, 9] Operation: 53-44=9 Exploring Operation: 53-41=12, Resulting Numbers: [44, 12] Generated Node #0,0,2: 32:[44, 12] Operation: 53-41=12 Exploring Operation: 44+41=85, Resulting Numbers: [53, 85] Generated Node #0,0,3: 32:[53, 85] Operation: 44+41=85 Moving to Node #0,3 Current State: 32:[44, 43, 55], Operations: ['96-41=55'] Exploring Operation: 55-44=11, Resulting Numbers: [43, 11] Generated Node #0,3,0: 32:[43, 11] Operation: 55-44=11 Exploring Operation: 44-43=1, Resulting Numbers: [55, 1] Generated Node #0,3,1: 32:[55, 1] Operation: 44-43=1 Exploring Operation: 44+43=87, Resulting Numbers: [55, 87] Generated Node #0,3,2: 32:[55, 87] Operation: 44+43=87 Exploring Operation: 55-43=12, Resulting Numbers: [44, 12] Generated Node #0,3,3: 32:[44, 12] Operation: 55-43=12 Moving to Node #0,2 Current State: 32:[96, 41, 1], Operations: ['44-43=1'] Exploring Operation: 41-1=40, Resulting Numbers: [96, 40] Generated Node #0,2,0: 32:[96, 40] Operation: 41-1=40 Exploring Operation: 96-1=95, Resulting Numbers: [41, 95] Generated Node #0,2,1: 32:[41, 95] Operation: 96-1=95 Exploring Operation: 96*1=96, Resulting Numbers: [41, 96] Generated Node #0,2,2: 32:[41, 96] Operation: 96*1=96 Exploring Operation: 96-41=55, Resulting Numbers: [1, 55] Generated Node #0,2,3: 32:[1, 55] Operation: 96-41=55 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[1, 55], Operations: ['44-43=1', '96-41=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,32 unequal: No Solution Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,32 unequal: No Solution Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[96, 40], Operations: ['44-43=1', '41-1=40'] Exploring Operation: 96*40=3840, Resulting Numbers: [3840] 3840,32 unequal: No Solution Exploring Operation: 96+40=136, Resulting Numbers: [136] 136,32 unequal: No Solution Exploring Operation: 96-40=56, Resulting Numbers: [56] 56,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[41, 95], Operations: ['44-43=1', '96-1=95'] Exploring Operation: 41*95=3895, Resulting Numbers: [3895] 3895,32 unequal: No Solution Exploring Operation: 41+95=136, Resulting Numbers: [136] 136,32 unequal: No Solution Exploring Operation: 95-41=54, Resulting Numbers: [54] 54,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[41, 96], Operations: ['44-43=1', '96*1=96'] Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,32 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,32 unequal: No Solution Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 32:[41, 9], Operations: ['96-44=52', '52-43=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[96, 44, 41, 43], Operations: [] Exploring Operation: 96-44=52, Resulting Numbers: [41, 43, 52] Generated Node #0,1: 32:[41, 43, 52] Operation: 96-44=52 Moving to Node #0,1 Current State: 32:[41, 43, 52], Operations: ['96-44=52'] Exploring Operation: 52-43=9, Resulting Numbers: [41, 9] Generated Node #0,1,2: 32:[41, 9] Operation: 52-43=9 Moving to Node #0,1,2 Current State: 32:[41, 9], Operations: ['96-44=52', '52-43=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.967014
hs_4
sum_heuristic
[ 14, 17, 39, 37 ]
79
[ "17-14=3", "39+37=76", "3+76=79" ]
Current State: 79:[14, 17, 39, 37], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [39, 37, 3] Generated Node #2: [39, 37, 3] from Operation: 17-14=3 Current State: 79:[39, 37, 3], Operations: ['17-14=3'] Exploring Operation: 39+37=76, Resulting Numbers: [3, 76] Generated Node #3: [3, 76] from Operation: 39+37=76 Current State: 79:[3, 76], Operations: ['17-14=3', '39+37=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[14, 17, 39, 37], Operations: [] Exploring Operation: 17+39=56, Resulting Numbers: [14, 37, 56] Generated Node #0,0: 79:[14, 37, 56] Operation: 17+39=56 Exploring Operation: 14+37=51, Resulting Numbers: [17, 39, 51] Generated Node #0,1: 79:[17, 39, 51] Operation: 14+37=51 Exploring Operation: 14+17=31, Resulting Numbers: [39, 37, 31] Generated Node #0,2: 79:[39, 37, 31] Operation: 14+17=31 Exploring Operation: 14+39=53, Resulting Numbers: [17, 37, 53] Generated Node #0,3: 79:[17, 37, 53] Operation: 14+39=53 Moving to Node #0,0 Current State: 79:[14, 37, 56], Operations: ['17+39=56'] Exploring Operation: 14+56=70, Resulting Numbers: [37, 70] Generated Node #0,0,0: 79:[37, 70] Operation: 14+56=70 Exploring Operation: 56-14=42, Resulting Numbers: [37, 42] Generated Node #0,0,1: 79:[37, 42] Operation: 56-14=42 Exploring Operation: 37-14=23, Resulting Numbers: [56, 23] Generated Node #0,0,2: 79:[56, 23] Operation: 37-14=23 Exploring Operation: 14+37=51, Resulting Numbers: [56, 51] Generated Node #0,0,3: 79:[56, 51] Operation: 14+37=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[37, 70], Operations: ['17+39=56', '14+56=70'] Exploring Operation: 37*70=2590, Resulting Numbers: [2590] 2590,79 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,79 unequal: No Solution Exploring Operation: 37+70=107, Resulting Numbers: [107] 107,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[56, 51], Operations: ['17+39=56', '14+37=51'] Exploring Operation: 56*51=2856, Resulting Numbers: [2856] 2856,79 unequal: No Solution Exploring Operation: 56-51=5, Resulting Numbers: [5] 5,79 unequal: No Solution Exploring Operation: 56+51=107, Resulting Numbers: [107] 107,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[37, 42], Operations: ['17+39=56', '56-14=42'] Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,79 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[14, 17, 39, 37], Operations: [] Exploring Operation: 17+39=56, Resulting Numbers: [14, 37, 56] Generated Node #0,0: 79:[14, 37, 56] Operation: 17+39=56 Moving to Node #0,0 Current State: 79:[14, 37, 56], Operations: ['17+39=56'] Exploring Operation: 56-14=42, Resulting Numbers: [37, 42] Generated Node #0,0,1: 79:[37, 42] Operation: 56-14=42 Moving to Node #0,0,1 Current State: 79:[37, 42], Operations: ['17+39=56', '56-14=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 23, 93, 17, 33 ]
54
[ "93-23=70", "33-17=16", "70-16=54" ]
Current State: 54:[23, 93, 17, 33], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [17, 33, 70] Generated Node #2: [17, 33, 70] from Operation: 93-23=70 Current State: 54:[17, 33, 70], Operations: ['93-23=70'] Exploring Operation: 33-17=16, Resulting Numbers: [70, 16] Generated Node #3: [70, 16] from Operation: 33-17=16 Current State: 54:[70, 16], Operations: ['93-23=70', '33-17=16'] Exploring Operation: 70-16=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[23, 93, 17, 33], Operations: [] Exploring Operation: 93-23=70, Resulting Numbers: [17, 33, 70] Generated Node #0,0: 54:[17, 33, 70] Operation: 93-23=70 Exploring Operation: 93-33=60, Resulting Numbers: [23, 17, 60] Generated Node #0,1: 54:[23, 17, 60] Operation: 93-33=60 Exploring Operation: 93-17=76, Resulting Numbers: [23, 33, 76] Generated Node #0,2: 54:[23, 33, 76] Operation: 93-17=76 Exploring Operation: 33-23=10, Resulting Numbers: [93, 17, 10] Generated Node #0,3: 54:[93, 17, 10] Operation: 33-23=10 Exploring Operation: 23+33=56, Resulting Numbers: [93, 17, 56] Generated Node #0,4: 54:[93, 17, 56] Operation: 23+33=56 Moving to Node #0,1 Current State: 54:[23, 17, 60], Operations: ['93-33=60'] Exploring Operation: 23+17=40, Resulting Numbers: [60, 40] Generated Node #0,1,0: 54:[60, 40] Operation: 23+17=40 Exploring Operation: 23-17=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 54:[60, 6] Operation: 23-17=6 Exploring Operation: 60-17=43, Resulting Numbers: [23, 43] Generated Node #0,1,2: 54:[23, 43] Operation: 60-17=43 Exploring Operation: 60-23=37, Resulting Numbers: [17, 37] Generated Node #0,1,3: 54:[17, 37] Operation: 60-23=37 Exploring Operation: 17+60=77, Resulting Numbers: [23, 77] Generated Node #0,1,4: 54:[23, 77] Operation: 17+60=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[60, 6], Operations: ['93-33=60', '23-17=6'] Exploring Operation: 60+6=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 60*6=360, Resulting Numbers: [360] 360,54 unequal: No Solution Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[23, 93, 17, 33], Operations: [] Exploring Operation: 93-33=60, Resulting Numbers: [23, 17, 60] Generated Node #0,1: 54:[23, 17, 60] Operation: 93-33=60 Moving to Node #0,1 Current State: 54:[23, 17, 60], Operations: ['93-33=60'] Exploring Operation: 23-17=6, Resulting Numbers: [60, 6] Generated Node #0,1,1: 54:[60, 6] Operation: 23-17=6 Moving to Node #0,1,1 Current State: 54:[60, 6], Operations: ['93-33=60', '23-17=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 72, 14, 87, 23 ]
23
[ "72+14=86", "87-86=1", "23*1=23" ]
Current State: 23:[72, 14, 87, 23], Operations: [] Exploring Operation: 72+14=86, Resulting Numbers: [87, 23, 86] Generated Node #2: [87, 23, 86] from Operation: 72+14=86 Current State: 23:[87, 23, 86], Operations: ['72+14=86'] Exploring Operation: 87-86=1, Resulting Numbers: [23, 1] Generated Node #3: [23, 1] from Operation: 87-86=1 Current State: 23:[23, 1], Operations: ['72+14=86', '87-86=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 14, 87, 23], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [14, 23, 15] Generated Node #0,0: 23:[14, 23, 15] Operation: 87-72=15 Exploring Operation: 72-14=58, Resulting Numbers: [87, 23, 58] Generated Node #0,1: 23:[87, 23, 58] Operation: 72-14=58 Exploring Operation: 87-14=73, Resulting Numbers: [72, 23, 73] Generated Node #0,2: 23:[72, 23, 73] Operation: 87-14=73 Exploring Operation: 72-23=49, Resulting Numbers: [14, 87, 49] Generated Node #0,3: 23:[14, 87, 49] Operation: 72-23=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[14, 23, 15], Operations: ['87-72=15'] Exploring Operation: 15-14=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 23:[23, 1] Operation: 15-14=1 Exploring Operation: 14+23=37, Resulting Numbers: [15, 37] Generated Node #0,0,1: 23:[15, 37] Operation: 14+23=37 Exploring Operation: 23-14=9, Resulting Numbers: [15, 9] Generated Node #0,0,2: 23:[15, 9] Operation: 23-14=9 Exploring Operation: 14+15=29, Resulting Numbers: [23, 29] Generated Node #0,0,3: 23:[23, 29] Operation: 14+15=29 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 23:[23, 29], Operations: ['87-72=15', '14+15=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,23 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[23, 1], Operations: ['87-72=15', '15-14=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[72, 14, 87, 23], Operations: [] Exploring Operation: 87-72=15, Resulting Numbers: [14, 23, 15] Generated Node #0,0: 23:[14, 23, 15] Operation: 87-72=15 Moving to Node #0,0 Current State: 23:[14, 23, 15], Operations: ['87-72=15'] Exploring Operation: 15-14=1, Resulting Numbers: [23, 1] Generated Node #0,0,0: 23:[23, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 23:[23, 1], Operations: ['87-72=15', '15-14=1'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 20, 31, 48, 37 ]
28
[ "37-31=6", "48/6=8", "20+8=28" ]
Current State: 28:[20, 31, 48, 37], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [20, 48, 6] Generated Node #2: [20, 48, 6] from Operation: 37-31=6 Current State: 28:[20, 48, 6], Operations: ['37-31=6'] Exploring Operation: 48/6=8, Resulting Numbers: [20, 8] Generated Node #3: [20, 8] from Operation: 48/6=8 Current State: 28:[20, 8], Operations: ['37-31=6', '48/6=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[20, 31, 48, 37], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [20, 48, 6] Generated Node #0,0: 28:[20, 48, 6] Operation: 37-31=6 Exploring Operation: 37-20=17, Resulting Numbers: [31, 48, 17] Generated Node #0,1: 28:[31, 48, 17] Operation: 37-20=17 Exploring Operation: 48-37=11, Resulting Numbers: [20, 31, 11] Generated Node #0,2: 28:[20, 31, 11] Operation: 48-37=11 Exploring Operation: 48-20=28, Resulting Numbers: [31, 37, 28] Generated Node #0,3: 28:[31, 37, 28] Operation: 48-20=28 Exploring Operation: 48-31=17, Resulting Numbers: [20, 37, 17] Generated Node #0,4: 28:[20, 37, 17] Operation: 48-31=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[20, 31, 11], Operations: ['48-37=11'] Exploring Operation: 20-11=9, Resulting Numbers: [31, 9] Generated Node #0,2,0: 28:[31, 9] Operation: 20-11=9 Exploring Operation: 31-20=11, Resulting Numbers: [11, 11] Generated Node #0,2,1: 28:[11, 11] Operation: 31-20=11 Exploring Operation: 20+11=31, Resulting Numbers: [31, 31] Generated Node #0,2,2: 28:[31, 31] Operation: 20+11=31 Exploring Operation: 31+11=42, Resulting Numbers: [20, 42] Generated Node #0,2,3: 28:[20, 42] Operation: 31+11=42 Exploring Operation: 31-11=20, Resulting Numbers: [20, 20] Generated Node #0,2,4: 28:[20, 20] Operation: 31-11=20 Moving to Node #0,2,0 Current State: 28:[31, 9], Operations: ['48-37=11', '20-11=9'] Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[31, 31], Operations: ['48-37=11', '20+11=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,28 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[11, 11], Operations: ['48-37=11', '31-20=11'] Exploring Operation: 11-11=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 11/11=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 11*11=121, Resulting Numbers: [121] 121,28 unequal: No Solution Moving to Node #0,2,4 Current State: 28:[20, 20], Operations: ['48-37=11', '31-11=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,28 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[20, 42], Operations: ['48-37=11', '31+11=42'] Exploring Operation: 20+42=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 20*42=840, Resulting Numbers: [840] 840,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,3 Current State: 28:[31, 37, 28], Operations: ['48-20=28'] Exploring Operation: 37-28=9, Resulting Numbers: [31, 9] Generated Node #0,3,0: 28:[31, 9] Operation: 37-28=9 Exploring Operation: 37-31=6, Resulting Numbers: [28, 6] Generated Node #0,3,1: 28:[28, 6] Operation: 37-31=6 Exploring Operation: 31-28=3, Resulting Numbers: [37, 3] Generated Node #0,3,2: 28:[37, 3] Operation: 31-28=3 Exploring Operation: 31+37=68, Resulting Numbers: [28, 68] Generated Node #0,3,3: 28:[28, 68] Operation: 31+37=68 Exploring Operation: 31+28=59, Resulting Numbers: [37, 59] Generated Node #0,3,4: 28:[37, 59] Operation: 31+28=59 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 28:[28, 6], Operations: ['48-20=28', '37-31=6'] Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 28:[31, 9], Operations: ['48-20=28', '37-28=9'] Exploring Operation: 31*9=279, Resulting Numbers: [279] 279,28 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 31+9=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 28:[37, 3], Operations: ['48-20=28', '31-28=3'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,28 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 28:[28, 68], Operations: ['48-20=28', '31+37=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,28 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 28:[37, 59], Operations: ['48-20=28', '31+28=59'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[20, 37, 17], Operations: ['48-31=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37, 37] Generated Node #0,4,0: 28:[37, 37] Operation: 20+17=37 Exploring Operation: 37-17=20, Resulting Numbers: [20, 20] Generated Node #0,4,1: 28:[20, 20] Operation: 37-17=20 Exploring Operation: 20-17=3, Resulting Numbers: [37, 3] Generated Node #0,4,2: 28:[37, 3] Operation: 20-17=3 Exploring Operation: 20+37=57, Resulting Numbers: [17, 57] Generated Node #0,4,3: 28:[17, 57] Operation: 20+37=57 Exploring Operation: 37-20=17, Resulting Numbers: [17, 17] Generated Node #0,4,4: 28:[17, 17] Operation: 37-20=17 Moving to Node #0,4,4 Current State: 28:[17, 17], Operations: ['48-31=17', '37-20=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,28 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,28 unequal: No Solution Moving to Node #0,4,2 Current State: 28:[37, 3], Operations: ['48-31=17', '20-17=3'] Exploring Operation: 37*3=111, Resulting Numbers: [111] 111,28 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 37+3=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,4,1 Current State: 28:[20, 20], Operations: ['48-31=17', '37-17=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,28 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,4,0 Current State: 28:[37, 37], Operations: ['48-31=17', '20+17=37'] Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,28 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,28 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,4,3 Current State: 28:[17, 57], Operations: ['48-31=17', '20+37=57'] Exploring Operation: 17+57=74, Resulting Numbers: [74] 74,28 unequal: No Solution Exploring Operation: 17*57=969, Resulting Numbers: [969] 969,28 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[31, 48, 17], Operations: ['37-20=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31, 31] Generated Node #0,1,0: 28:[31, 31] Operation: 48-17=31 Exploring Operation: 48-31=17, Resulting Numbers: [17, 17] Generated Node #0,1,1: 28:[17, 17] Operation: 48-31=17 Exploring Operation: 31+17=48, Resulting Numbers: [48, 48] Generated Node #0,1,2: 28:[48, 48] Operation: 31+17=48 Exploring Operation: 48+17=65, Resulting Numbers: [31, 65] Generated Node #0,1,3: 28:[31, 65] Operation: 48+17=65 Exploring Operation: 31-17=14, Resulting Numbers: [48, 14] Generated Node #0,1,4: 28:[48, 14] Operation: 31-17=14 Moving to Node #0,1,0 Current State: 28:[31, 31], Operations: ['37-20=17', '48-17=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,28 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,28 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[17, 17], Operations: ['37-20=17', '48-31=17'] Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,28 unequal: No Solution Moving to Node #0,1,4 Current State: 28:[48, 14], Operations: ['37-20=17', '31-17=14'] Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,28 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[48, 48], Operations: ['37-20=17', '31+17=48'] Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,28 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[31, 65], Operations: ['37-20=17', '48+17=65'] Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 31+65=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 31*65=2015, Resulting Numbers: [2015] 2015,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 Current State: 28:[20, 48, 6], Operations: ['37-31=6'] Exploring Operation: 48-20=28, Resulting Numbers: [6, 28] Generated Node #0,0,0: 28:[6, 28] Operation: 48-20=28 Exploring Operation: 20-6=14, Resulting Numbers: [48, 14] Generated Node #0,0,1: 28:[48, 14] Operation: 20-6=14 Exploring Operation: 48/6=8, Resulting Numbers: [20, 8] Generated Node #0,0,2: 28:[20, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [20, 42] Generated Node #0,0,3: 28:[20, 42] Operation: 48-6=42 Exploring Operation: 20+6=26, Resulting Numbers: [48, 26] Generated Node #0,0,4: 28:[48, 26] Operation: 20+6=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[6, 28], Operations: ['37-31=6', '48-20=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 28:[20, 8], Operations: ['37-31=6', '48/6=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[20, 31, 48, 37], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [20, 48, 6] Generated Node #0,0: 28:[20, 48, 6] Operation: 37-31=6 Moving to Node #0,0 Current State: 28:[20, 48, 6], Operations: ['37-31=6'] Exploring Operation: 48/6=8, Resulting Numbers: [20, 8] Generated Node #0,0,2: 28:[20, 8] Operation: 48/6=8 Moving to Node #0,0,2 Current State: 28:[20, 8], Operations: ['37-31=6', '48/6=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.907118
hs_5
sum_heuristic
[ 72, 27, 82, 63 ]
77
[ "72+63=135", "135/27=5", "82-5=77" ]
Current State: 77:[72, 27, 82, 63], Operations: [] Exploring Operation: 72+63=135, Resulting Numbers: [27, 82, 135] Generated Node #2: [27, 82, 135] from Operation: 72+63=135 Current State: 77:[27, 82, 135], Operations: ['72+63=135'] Exploring Operation: 135/27=5, Resulting Numbers: [82, 5] Generated Node #3: [82, 5] from Operation: 135/27=5 Current State: 77:[82, 5], Operations: ['72+63=135', '135/27=5'] Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[72, 27, 82, 63], Operations: [] Exploring Operation: 82-63=19, Resulting Numbers: [72, 27, 19] Generated Node #0,0: 77:[72, 27, 19] Operation: 82-63=19 Exploring Operation: 72-63=9, Resulting Numbers: [27, 82, 9] Generated Node #0,1: 77:[27, 82, 9] Operation: 72-63=9 Exploring Operation: 27+63=90, Resulting Numbers: [72, 82, 90] Generated Node #0,2: 77:[72, 82, 90] Operation: 27+63=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[27, 82, 9], Operations: ['72-63=9'] Exploring Operation: 82-9=73, Resulting Numbers: [27, 73] Generated Node #0,1,0: 77:[27, 73] Operation: 82-9=73 Exploring Operation: 27-9=18, Resulting Numbers: [82, 18] Generated Node #0,1,1: 77:[82, 18] Operation: 27-9=18 Exploring Operation: 27/9=3, Resulting Numbers: [82, 3] Generated Node #0,1,2: 77:[82, 3] Operation: 27/9=3 Moving to Node #0,1,2 Current State: 77:[82, 3], Operations: ['72-63=9', '27/9=3'] Exploring Operation: 82-3=79, Resulting Numbers: [79] 79,77 unequal: No Solution Exploring Operation: 82*3=246, Resulting Numbers: [246] 246,77 unequal: No Solution Exploring Operation: 82+3=85, Resulting Numbers: [85] 85,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[82, 18], Operations: ['72-63=9', '27-9=18'] Exploring Operation: 82*18=1476, Resulting Numbers: [1476] 1476,77 unequal: No Solution Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 82+18=100, Resulting Numbers: [100] 100,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[27, 73], Operations: ['72-63=9', '82-9=73'] Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,77 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[72, 82, 90], Operations: ['27+63=90'] Exploring Operation: 90-82=8, Resulting Numbers: [72, 8] Generated Node #0,2,0: 77:[72, 8] Operation: 90-82=8 Exploring Operation: 82-72=10, Resulting Numbers: [90, 10] Generated Node #0,2,1: 77:[90, 10] Operation: 82-72=10 Exploring Operation: 90-72=18, Resulting Numbers: [82, 18] Generated Node #0,2,2: 77:[82, 18] Operation: 90-72=18 Moving to Node #0,2,0 Current State: 77:[72, 8], Operations: ['27+63=90', '90-82=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[82, 18], Operations: ['27+63=90', '90-72=18'] Exploring Operation: 82+18=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 82*18=1476, Resulting Numbers: [1476] 1476,77 unequal: No Solution Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[90, 10], Operations: ['27+63=90', '82-72=10'] Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[72, 27, 19], Operations: ['82-63=19'] Exploring Operation: 72+27=99, Resulting Numbers: [19, 99] Generated Node #0,0,0: 77:[19, 99] Operation: 72+27=99 Exploring Operation: 27-19=8, Resulting Numbers: [72, 8] Generated Node #0,0,1: 77:[72, 8] Operation: 27-19=8 Exploring Operation: 72+19=91, Resulting Numbers: [27, 91] Generated Node #0,0,2: 77:[27, 91] Operation: 72+19=91 Moving to Node #0,0,1 Current State: 77:[72, 8], Operations: ['82-63=19', '27-19=8'] Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[19, 99], Operations: ['82-63=19', '72+27=99'] Exploring Operation: 99-19=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 19*99=1881, Resulting Numbers: [1881] 1881,77 unequal: No Solution Exploring Operation: 19+99=118, Resulting Numbers: [118] 118,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[27, 91], Operations: ['82-63=19', '72+19=91'] Exploring Operation: 91-27=64, Resulting Numbers: [64] 64,77 unequal: No Solution Exploring Operation: 27+91=118, Resulting Numbers: [118] 118,77 unequal: No Solution Exploring Operation: 27*91=2457, Resulting Numbers: [2457] 2457,77 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
[ 72, 8, 8, 49 ]
59
[ "72+8=80", "80/8=10", "49+10=59" ]
Current State: 59:[72, 8, 8, 49], Operations: [] Exploring Operation: 72+8=80, Resulting Numbers: [49, 80] Generated Node #2: [49, 80] from Operation: 72+8=80 Current State: 59:[49, 80], Operations: ['72+8=80'] Exploring Operation: 80/8=10, Resulting Numbers: [49, 10] Generated Node #3: [49, 10] from Operation: 80/8=10 Current State: 59:[49, 10], Operations: ['72+8=80', '80/8=10'] Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[72, 8, 8, 49], Operations: [] Exploring Operation: 8*8=64, Resulting Numbers: [72, 49, 64] Generated Node #0,0: 59:[72, 49, 64] Operation: 8*8=64 Moving to Node #0,0 Current State: 59:[72, 49, 64], Operations: ['8*8=64'] Exploring Operation: 72-49=23, Resulting Numbers: [64, 23] Generated Node #0,0,0: 59:[64, 23] Operation: 72-49=23 Moving to Node #0,0,0 Current State: 59:[64, 23], Operations: ['8*8=64', '72-49=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,59 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 36, 95, 11, 62 ]
39
[ "95-62=33", "33/11=3", "36+3=39" ]
Current State: 39:[36, 95, 11, 62], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [36, 11, 33] Generated Node #2: [36, 11, 33] from Operation: 95-62=33 Current State: 39:[36, 11, 33], Operations: ['95-62=33'] Exploring Operation: 33/11=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 33/11=3 Current State: 39:[36, 3], Operations: ['95-62=33', '33/11=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[36, 95, 11, 62], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [36, 11, 33] Generated Node #0,0: 39:[36, 11, 33] Operation: 95-62=33 Moving to Node #0,0 Current State: 39:[36, 11, 33], Operations: ['95-62=33'] Exploring Operation: 36-33=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 39:[11, 3] Operation: 36-33=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[11, 3], Operations: ['95-62=33', '36-33=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 43, 2, 97, 98 ]
85
[ "43*2=86", "98-97=1", "86-1=85" ]
Current State: 85:[43, 2, 97, 98], Operations: [] Exploring Operation: 43*2=86, Resulting Numbers: [97, 98, 86] Generated Node #2: [97, 98, 86] from Operation: 43*2=86 Current State: 85:[97, 98, 86], Operations: ['43*2=86'] Exploring Operation: 98-97=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 98-97=1 Current State: 85:[86, 1], Operations: ['43*2=86', '98-97=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[43, 2, 97, 98], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [43, 2, 1] Generated Node #0,0: 85:[43, 2, 1] Operation: 98-97=1 Exploring Operation: 97-43=54, Resulting Numbers: [2, 98, 54] Generated Node #0,1: 85:[2, 98, 54] Operation: 97-43=54 Exploring Operation: 43-2=41, Resulting Numbers: [97, 98, 41] Generated Node #0,2: 85:[97, 98, 41] Operation: 43-2=41 Exploring Operation: 98-43=55, Resulting Numbers: [2, 97, 55] Generated Node #0,3: 85:[2, 97, 55] Operation: 98-43=55 Exploring Operation: 43*2=86, Resulting Numbers: [97, 98, 86] Generated Node #0,4: 85:[97, 98, 86] Operation: 43*2=86 Moving to Node #0,4 Current State: 85:[97, 98, 86], Operations: ['43*2=86'] Exploring Operation: 97+86=183, Resulting Numbers: [98, 183] Generated Node #0,4,0: 85:[98, 183] Operation: 97+86=183 Exploring Operation: 97-86=11, Resulting Numbers: [98, 11] Generated Node #0,4,1: 85:[98, 11] Operation: 97-86=11 Exploring Operation: 97+98=195, Resulting Numbers: [86, 195] Generated Node #0,4,2: 85:[86, 195] Operation: 97+98=195 Exploring Operation: 98-97=1, Resulting Numbers: [86, 1] Generated Node #0,4,3: 85:[86, 1] Operation: 98-97=1 Exploring Operation: 98-86=12, Resulting Numbers: [97, 12] Generated Node #0,4,4: 85:[97, 12] Operation: 98-86=12 Moving to Node #0,0 Current State: 85:[43, 2, 1], Operations: ['98-97=1'] Exploring Operation: 43*2=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 85:[1, 86] Operation: 43*2=86 Exploring Operation: 43-1=42, Resulting Numbers: [2, 42] Generated Node #0,0,1: 85:[2, 42] Operation: 43-1=42 Exploring Operation: 2+1=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 85:[43, 3] Operation: 2+1=3 Exploring Operation: 43-2=41, Resulting Numbers: [1, 41] Generated Node #0,0,3: 85:[1, 41] Operation: 43-2=41 Exploring Operation: 43*1=43, Resulting Numbers: [2, 43] Generated Node #0,0,4: 85:[2, 43] Operation: 43*1=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[1, 86], Operations: ['98-97=1', '43*2=86'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,85 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[43, 2, 97, 98], Operations: [] Exploring Operation: 98-97=1, Resulting Numbers: [43, 2, 1] Generated Node #0,0: 85:[43, 2, 1] Operation: 98-97=1 Moving to Node #0,0 Current State: 85:[43, 2, 1], Operations: ['98-97=1'] Exploring Operation: 43*2=86, Resulting Numbers: [1, 86] Generated Node #0,0,0: 85:[1, 86] Operation: 43*2=86 Moving to Node #0,0,0 Current State: 85:[1, 86], Operations: ['98-97=1', '43*2=86'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 41, 80, 16, 59 ]
95
[ "41+59=100", "80/16=5", "100-5=95" ]
Current State: 95:[41, 80, 16, 59], Operations: [] Exploring Operation: 41+59=100, Resulting Numbers: [80, 16, 100] Generated Node #2: [80, 16, 100] from Operation: 41+59=100 Current State: 95:[80, 16, 100], Operations: ['41+59=100'] Exploring Operation: 80/16=5, Resulting Numbers: [100, 5] Generated Node #3: [100, 5] from Operation: 80/16=5 Current State: 95:[100, 5], Operations: ['41+59=100', '80/16=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[41, 80, 16, 59], Operations: [] Exploring Operation: 80-59=21, Resulting Numbers: [41, 16, 21] Generated Node #0,0: 95:[41, 16, 21] Operation: 80-59=21 Exploring Operation: 59-41=18, Resulting Numbers: [80, 16, 18] Generated Node #0,1: 95:[80, 16, 18] Operation: 59-41=18 Exploring Operation: 41+59=100, Resulting Numbers: [80, 16, 100] Generated Node #0,2: 95:[80, 16, 100] Operation: 41+59=100 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[80, 16, 18], Operations: ['59-41=18'] Exploring Operation: 80+18=98, Resulting Numbers: [16, 98] Generated Node #0,1,0: 95:[16, 98] Operation: 80+18=98 Exploring Operation: 80/16=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 95:[18, 5] Operation: 80/16=5 Exploring Operation: 80+16=96, Resulting Numbers: [18, 96] Generated Node #0,1,2: 95:[18, 96] Operation: 80+16=96 Moving to Node #0,1,1 Current State: 95:[18, 5], Operations: ['59-41=18', '80/16=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,95 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[18, 96], Operations: ['59-41=18', '80+16=96'] Exploring Operation: 18*96=1728, Resulting Numbers: [1728] 1728,95 unequal: No Solution Exploring Operation: 18+96=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[16, 98], Operations: ['59-41=18', '80+18=98'] Exploring Operation: 16+98=114, Resulting Numbers: [114] 114,95 unequal: No Solution Exploring Operation: 98-16=82, Resulting Numbers: [82] 82,95 unequal: No Solution Exploring Operation: 16*98=1568, Resulting Numbers: [1568] 1568,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[80, 16, 100], Operations: ['41+59=100'] Exploring Operation: 80+16=96, Resulting Numbers: [100, 96] Generated Node #0,2,0: 95:[100, 96] Operation: 80+16=96 Exploring Operation: 100-80=20, Resulting Numbers: [16, 20] Generated Node #0,2,1: 95:[16, 20] Operation: 100-80=20 Exploring Operation: 80/16=5, Resulting Numbers: [100, 5] Generated Node #0,2,2: 95:[100, 5] Operation: 80/16=5 Moving to Node #0,2,1 Current State: 95:[16, 20], Operations: ['41+59=100', '100-80=20'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,95 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[100, 5], Operations: ['41+59=100', '80/16=5'] Exploring Operation: 100+5=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[41, 80, 16, 59], Operations: [] Exploring Operation: 41+59=100, Resulting Numbers: [80, 16, 100] Generated Node #0,2: 95:[80, 16, 100] Operation: 41+59=100 Moving to Node #0,2 Current State: 95:[80, 16, 100], Operations: ['41+59=100'] Exploring Operation: 80/16=5, Resulting Numbers: [100, 5] Generated Node #0,2,2: 95:[100, 5] Operation: 80/16=5 Moving to Node #0,2,2 Current State: 95:[100, 5], Operations: ['41+59=100', '80/16=5'] Exploring Operation: 100-5=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 28, 82, 18, 96 ]
36
[ "28*18=504", "96-82=14", "504/14=36" ]
Current State: 36:[28, 82, 18, 96], Operations: [] Exploring Operation: 28*18=504, Resulting Numbers: [82, 96, 504] Generated Node #2: [82, 96, 504] from Operation: 28*18=504 Current State: 36:[82, 96, 504], Operations: ['28*18=504'] Exploring Operation: 96-82=14, Resulting Numbers: [504, 14] Generated Node #3: [504, 14] from Operation: 96-82=14 Current State: 36:[504, 14], Operations: ['28*18=504', '96-82=14'] Exploring Operation: 504/14=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[28, 82, 18, 96], Operations: [] Exploring Operation: 82-18=64, Resulting Numbers: [28, 96, 64] Generated Node #0,0: 36:[28, 96, 64] Operation: 82-18=64 Exploring Operation: 82-28=54, Resulting Numbers: [18, 96, 54] Generated Node #0,1: 36:[18, 96, 54] Operation: 82-28=54 Exploring Operation: 96-82=14, Resulting Numbers: [28, 18, 14] Generated Node #0,2: 36:[28, 18, 14] Operation: 96-82=14 Exploring Operation: 96-28=68, Resulting Numbers: [82, 18, 68] Generated Node #0,3: 36:[82, 18, 68] Operation: 96-28=68 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[28, 18, 14], Operations: ['96-82=14'] Exploring Operation: 28/14=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 36:[18, 2] Operation: 28/14=2 Exploring Operation: 28-18=10, Resulting Numbers: [14, 10] Generated Node #0,2,1: 36:[14, 10] Operation: 28-18=10 Exploring Operation: 28-14=14, Resulting Numbers: [18, 14] Generated Node #0,2,2: 36:[18, 14] Operation: 28-14=14 Exploring Operation: 28+14=42, Resulting Numbers: [18, 42] Generated Node #0,2,3: 36:[18, 42] Operation: 28+14=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[18, 2], Operations: ['96-82=14', '28/14=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[28, 82, 18, 96], Operations: [] Exploring Operation: 96-82=14, Resulting Numbers: [28, 18, 14] Generated Node #0,2: 36:[28, 18, 14] Operation: 96-82=14 Moving to Node #0,2 Current State: 36:[28, 18, 14], Operations: ['96-82=14'] Exploring Operation: 28/14=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 36:[18, 2] Operation: 28/14=2 Moving to Node #0,2,0 Current State: 36:[18, 2], Operations: ['96-82=14', '28/14=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 2, 32, 86, 6 ]
34
[ "2*86=172", "32+172=204", "204/6=34" ]
Current State: 34:[2, 32, 86, 6], Operations: [] Exploring Operation: 2*86=172, Resulting Numbers: [32, 6, 172] Generated Node #2: [32, 6, 172] from Operation: 2*86=172 Current State: 34:[32, 6, 172], Operations: ['2*86=172'] Exploring Operation: 32+172=204, Resulting Numbers: [6, 204] Generated Node #3: [6, 204] from Operation: 32+172=204 Current State: 34:[6, 204], Operations: ['2*86=172', '32+172=204'] Exploring Operation: 204/6=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[2, 32, 86, 6], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [32, 86, 3] Generated Node #0,0: 34:[32, 86, 3] Operation: 6/2=3 Exploring Operation: 86-32=54, Resulting Numbers: [2, 6, 54] Generated Node #0,1: 34:[2, 6, 54] Operation: 86-32=54 Exploring Operation: 86/2=43, Resulting Numbers: [32, 6, 43] Generated Node #0,2: 34:[32, 6, 43] Operation: 86/2=43 Exploring Operation: 86-6=80, Resulting Numbers: [2, 32, 80] Generated Node #0,3: 34:[2, 32, 80] Operation: 86-6=80 Exploring Operation: 2+32=34, Resulting Numbers: [86, 6, 34] Generated Node #0,4: 34:[86, 6, 34] Operation: 2+32=34 Moving to Node #0,2 Current State: 34:[32, 6, 43], Operations: ['86/2=43'] Exploring Operation: 43-32=11, Resulting Numbers: [6, 11] Generated Node #0,2,0: 34:[6, 11] Operation: 43-32=11 Exploring Operation: 32-6=26, Resulting Numbers: [43, 26] Generated Node #0,2,1: 34:[43, 26] Operation: 32-6=26 Exploring Operation: 43-6=37, Resulting Numbers: [32, 37] Generated Node #0,2,2: 34:[32, 37] Operation: 43-6=37 Exploring Operation: 6+43=49, Resulting Numbers: [32, 49] Generated Node #0,2,3: 34:[32, 49] Operation: 6+43=49 Exploring Operation: 32+6=38, Resulting Numbers: [43, 38] Generated Node #0,2,4: 34:[43, 38] Operation: 32+6=38 Moving to Node #0,1 Current State: 34:[2, 6, 54], Operations: ['86-32=54'] Exploring Operation: 54/2=27, Resulting Numbers: [6, 27] Generated Node #0,1,0: 34:[6, 27] Operation: 54/2=27 Exploring Operation: 6/2=3, Resulting Numbers: [54, 3] Generated Node #0,1,1: 34:[54, 3] Operation: 6/2=3 Exploring Operation: 54/6=9, Resulting Numbers: [2, 9] Generated Node #0,1,2: 34:[2, 9] Operation: 54/6=9 Exploring Operation: 54-6=48, Resulting Numbers: [2, 48] Generated Node #0,1,3: 34:[2, 48] Operation: 54-6=48 Exploring Operation: 6-2=4, Resulting Numbers: [54, 4] Generated Node #0,1,4: 34:[54, 4] Operation: 6-2=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[2, 9], Operations: ['86-32=54', '54/6=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[6, 27], Operations: ['86-32=54', '54/2=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 34:[2, 48], Operations: ['86-32=54', '54-6=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,34 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[54, 3], Operations: ['86-32=54', '6/2=3'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 54+3=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 54*3=162, Resulting Numbers: [162] 162,34 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 34:[54, 4], Operations: ['86-32=54', '6-2=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,34 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,34 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: 34:[2, 32, 80], Operations: ['86-6=80'] Exploring Operation: 80/2=40, Resulting Numbers: [32, 40] Generated Node #0,3,0: 34:[32, 40] Operation: 80/2=40 Exploring Operation: 80-32=48, Resulting Numbers: [2, 48] Generated Node #0,3,1: 34:[2, 48] Operation: 80-32=48 Exploring Operation: 80-2=78, Resulting Numbers: [32, 78] Generated Node #0,3,2: 34:[32, 78] Operation: 80-2=78 Exploring Operation: 2+32=34, Resulting Numbers: [80, 34] Generated Node #0,3,3: 34:[80, 34] Operation: 2+32=34 Exploring Operation: 32/2=16, Resulting Numbers: [80, 16] Generated Node #0,3,4: 34:[80, 16] Operation: 32/2=16 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[32, 40], Operations: ['86-6=80', '80/2=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,34 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 34:[2, 48], Operations: ['86-6=80', '80-32=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,34 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[32, 78], Operations: ['86-6=80', '80-2=78'] Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,34 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,34 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[80, 34], Operations: ['86-6=80', '2+32=34'] Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 34:[80, 16], Operations: ['86-6=80', '32/2=16'] Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,34 unequal: No Solution Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 34:[32, 86, 3], Operations: ['6/2=3'] Exploring Operation: 32+3=35, Resulting Numbers: [86, 35] Generated Node #0,0,0: 34:[86, 35] Operation: 32+3=35 Exploring Operation: 86-3=83, Resulting Numbers: [32, 83] Generated Node #0,0,1: 34:[32, 83] Operation: 86-3=83 Exploring Operation: 86-32=54, Resulting Numbers: [3, 54] Generated Node #0,0,2: 34:[3, 54] Operation: 86-32=54 Exploring Operation: 32-3=29, Resulting Numbers: [86, 29] Generated Node #0,0,3: 34:[86, 29] Operation: 32-3=29 Exploring Operation: 86+3=89, Resulting Numbers: [32, 89] Generated Node #0,0,4: 34:[32, 89] Operation: 86+3=89 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[3, 54], Operations: ['6/2=3', '86-32=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,34 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[32, 83], Operations: ['6/2=3', '86-3=83'] Exploring Operation: 32+83=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 83-32=51, Resulting Numbers: [51] 51,34 unequal: No Solution Exploring Operation: 32*83=2656, Resulting Numbers: [2656] 2656,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[86, 35], Operations: ['6/2=3', '32+3=35'] Exploring Operation: 86+35=121, Resulting Numbers: [121] 121,34 unequal: No Solution Exploring Operation: 86*35=3010, Resulting Numbers: [3010] 3010,34 unequal: No Solution Exploring Operation: 86-35=51, Resulting Numbers: [51] 51,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 34:[86, 29], Operations: ['6/2=3', '32-3=29'] Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,34 unequal: No Solution Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 34:[32, 89], Operations: ['6/2=3', '86+3=89'] Exploring Operation: 89-32=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 32*89=2848, Resulting Numbers: [2848] 2848,34 unequal: No Solution Exploring Operation: 32+89=121, Resulting Numbers: [121] 121,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 34:[86, 6, 34], Operations: ['2+32=34'] Exploring Operation: 86-34=52, Resulting Numbers: [6, 52] Generated Node #0,4,0: 34:[6, 52] Operation: 86-34=52 Exploring Operation: 6+34=40, Resulting Numbers: [86, 40] Generated Node #0,4,1: 34:[86, 40] Operation: 6+34=40 Exploring Operation: 86-6=80, Resulting Numbers: [34, 80] Generated Node #0,4,2: 34:[34, 80] Operation: 86-6=80 Exploring Operation: 86+6=92, Resulting Numbers: [34, 92] Generated Node #0,4,3: 34:[34, 92] Operation: 86+6=92 Exploring Operation: 34-6=28, Resulting Numbers: [86, 28] Generated Node #0,4,4: 34:[86, 28] Operation: 34-6=28 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 34:[6, 52], Operations: ['2+32=34', '86-34=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,34 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 34:[34, 80], Operations: ['2+32=34', '86-6=80'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,34 unequal: No Solution Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 34:[86, 40], Operations: ['2+32=34', '6+34=40'] Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,34 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 34:[34, 92], Operations: ['2+32=34', '86+6=92'] Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,34 unequal: No Solution Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,34 unequal: No Solution Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 34:[86, 28], Operations: ['2+32=34', '34-6=28'] Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,34 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,34 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 34:[32, 37], Operations: ['86/2=43', '43-6=37'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,34 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[6, 11], Operations: ['86/2=43', '43-32=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[43, 38], Operations: ['86/2=43', '32+6=38'] Exploring Operation: 43+38=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 43*38=1634, Resulting Numbers: [1634] 1634,34 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[43, 26], Operations: ['86/2=43', '32-6=26'] Exploring Operation: 43+26=69, Resulting Numbers: [69] 69,34 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 43*26=1118, Resulting Numbers: [1118] 1118,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[32, 49], Operations: ['86/2=43', '6+43=49'] Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,34 unequal: No Solution Exploring Operation: 32+49=81, Resulting Numbers: [81] 81,34 unequal: No Solution Exploring Operation: 32*49=1568, Resulting Numbers: [1568] 1568,34 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 18, 53, 54, 88 ]
47
[ "54/18=3", "53+88=141", "141/3=47" ]
Current State: 47:[18, 53, 54, 88], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [53, 88, 3] Generated Node #2: [53, 88, 3] from Operation: 54/18=3 Current State: 47:[53, 88, 3], Operations: ['54/18=3'] Exploring Operation: 53+88=141, Resulting Numbers: [3, 141] Generated Node #3: [3, 141] from Operation: 53+88=141 Current State: 47:[3, 141], Operations: ['54/18=3', '53+88=141'] Exploring Operation: 141/3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[18, 53, 54, 88], Operations: [] Exploring Operation: 88-53=35, Resulting Numbers: [18, 54, 35] Generated Node #0,0: 47:[18, 54, 35] Operation: 88-53=35 Exploring Operation: 88-54=34, Resulting Numbers: [18, 53, 34] Generated Node #0,1: 47:[18, 53, 34] Operation: 88-54=34 Exploring Operation: 88-18=70, Resulting Numbers: [53, 54, 70] Generated Node #0,2: 47:[53, 54, 70] Operation: 88-18=70 Moving to Node #0,2 Current State: 47:[53, 54, 70], Operations: ['88-18=70'] Exploring Operation: 54-53=1, Resulting Numbers: [70, 1] Generated Node #0,2,0: 47:[70, 1] Operation: 54-53=1 Exploring Operation: 70-53=17, Resulting Numbers: [54, 17] Generated Node #0,2,1: 47:[54, 17] Operation: 70-53=17 Exploring Operation: 70-54=16, Resulting Numbers: [53, 16] Generated Node #0,2,2: 47:[53, 16] Operation: 70-54=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[54, 17], Operations: ['88-18=70', '70-53=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,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,2,2 Current State: 47:[53, 16], Operations: ['88-18=70', '70-54=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,47 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,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,2,0 Current State: 47:[70, 1], Operations: ['88-18=70', '54-53=1'] Exploring Operation: 70/1=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 70*1=70, Resulting Numbers: [70] 70,47 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: 47:[18, 54, 35], Operations: ['88-53=35'] Exploring Operation: 18+54=72, Resulting Numbers: [35, 72] Generated Node #0,0,0: 47:[35, 72] Operation: 18+54=72 Exploring Operation: 54-18=36, Resulting Numbers: [35, 36] Generated Node #0,0,1: 47:[35, 36] Operation: 54-18=36 Exploring Operation: 18+35=53, Resulting Numbers: [54, 53] Generated Node #0,0,2: 47:[54, 53] Operation: 18+35=53 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[54, 53], Operations: ['88-53=35', '18+35=53'] Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 54+53=107, Resulting Numbers: [107] 107,47 unequal: No Solution Exploring Operation: 54*53=2862, Resulting Numbers: [2862] 2862,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[35, 36], Operations: ['88-53=35', '54-18=36'] Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,47 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,47 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[35, 72], Operations: ['88-53=35', '18+54=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,47 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,47 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,47 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: 47:[18, 53, 34], Operations: ['88-54=34'] Exploring Operation: 18+34=52, Resulting Numbers: [53, 52] Generated Node #0,1,0: 47:[53, 52] Operation: 18+34=52 Exploring Operation: 53-18=35, Resulting Numbers: [34, 35] Generated Node #0,1,1: 47:[34, 35] Operation: 53-18=35 Exploring Operation: 18+53=71, Resulting Numbers: [34, 71] Generated Node #0,1,2: 47:[34, 71] Operation: 18+53=71 Moving to Node #0,1,0 Current State: 47:[53, 52], Operations: ['88-54=34', '18+34=52'] Exploring Operation: 53+52=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 53*52=2756, Resulting Numbers: [2756] 2756,47 unequal: No Solution Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[34, 35], Operations: ['88-54=34', '53-18=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,47 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[34, 71], Operations: ['88-54=34', '18+53=71'] Exploring Operation: 34+71=105, Resulting Numbers: [105] 105,47 unequal: No Solution Exploring Operation: 34*71=2414, Resulting Numbers: [2414] 2414,47 unequal: No Solution Exploring Operation: 71-34=37, Resulting Numbers: [37] 37,47 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 82, 49, 20, 14 ]
67
[ "82-49=33", "20+14=34", "33+34=67" ]
Current State: 67:[82, 49, 20, 14], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [20, 14, 33] Generated Node #2: [20, 14, 33] from Operation: 82-49=33 Current State: 67:[20, 14, 33], Operations: ['82-49=33'] Exploring Operation: 20+14=34, Resulting Numbers: [33, 34] Generated Node #3: [33, 34] from Operation: 20+14=34 Current State: 67:[33, 34], Operations: ['82-49=33', '20+14=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[82, 49, 20, 14], Operations: [] Exploring Operation: 49+20=69, Resulting Numbers: [82, 14, 69] Generated Node #0,0: 67:[82, 14, 69] Operation: 49+20=69 Exploring Operation: 82-20=62, Resulting Numbers: [49, 14, 62] Generated Node #0,1: 67:[49, 14, 62] Operation: 82-20=62 Exploring Operation: 49+14=63, Resulting Numbers: [82, 20, 63] Generated Node #0,2: 67:[82, 20, 63] Operation: 49+14=63 Exploring Operation: 82-14=68, Resulting Numbers: [49, 20, 68] Generated Node #0,3: 67:[49, 20, 68] Operation: 82-14=68 Exploring Operation: 20+14=34, Resulting Numbers: [82, 49, 34] Generated Node #0,4: 67:[82, 49, 34] Operation: 20+14=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[82, 20, 63], Operations: ['49+14=63'] Exploring Operation: 63-20=43, Resulting Numbers: [82, 43] Generated Node #0,2,0: 67:[82, 43] Operation: 63-20=43 Exploring Operation: 82-63=19, Resulting Numbers: [20, 19] Generated Node #0,2,1: 67:[20, 19] Operation: 82-63=19 Exploring Operation: 82+20=102, Resulting Numbers: [63, 102] Generated Node #0,2,2: 67:[63, 102] Operation: 82+20=102 Exploring Operation: 82-20=62, Resulting Numbers: [63, 62] Generated Node #0,2,3: 67:[63, 62] Operation: 82-20=62 Exploring Operation: 20+63=83, Resulting Numbers: [82, 83] Generated Node #0,2,4: 67:[82, 83] Operation: 20+63=83 Moving to Node #0,2,3 Current State: 67:[63, 62], Operations: ['49+14=63', '82-20=62'] Exploring Operation: 63*62=3906, Resulting Numbers: [3906] 3906,67 unequal: No Solution Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 63+62=125, Resulting Numbers: [125] 125,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[82, 83], Operations: ['49+14=63', '20+63=83'] Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 82*83=6806, Resulting Numbers: [6806] 6806,67 unequal: No Solution Exploring Operation: 82+83=165, Resulting Numbers: [165] 165,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[82, 43], Operations: ['49+14=63', '63-20=43'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 82+43=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 82*43=3526, Resulting Numbers: [3526] 3526,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[63, 102], Operations: ['49+14=63', '82+20=102'] Exploring Operation: 102-63=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 63+102=165, Resulting Numbers: [165] 165,67 unequal: No Solution Exploring Operation: 63*102=6426, Resulting Numbers: [6426] 6426,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[20, 19], Operations: ['49+14=63', '82-63=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,67 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[49, 20, 68], Operations: ['82-14=68'] Exploring Operation: 68-20=48, Resulting Numbers: [49, 48] Generated Node #0,3,0: 67:[49, 48] Operation: 68-20=48 Exploring Operation: 68-49=19, Resulting Numbers: [20, 19] Generated Node #0,3,1: 67:[20, 19] Operation: 68-49=19 Exploring Operation: 49+20=69, Resulting Numbers: [68, 69] Generated Node #0,3,2: 67:[68, 69] Operation: 49+20=69 Exploring Operation: 20+68=88, Resulting Numbers: [49, 88] Generated Node #0,3,3: 67:[49, 88] Operation: 20+68=88 Exploring Operation: 49-20=29, Resulting Numbers: [68, 29] Generated Node #0,3,4: 67:[68, 29] Operation: 49-20=29 Moving to Node #0,3,2 Current State: 67:[68, 69], Operations: ['82-14=68', '49+20=69'] Exploring Operation: 68*69=4692, Resulting Numbers: [4692] 4692,67 unequal: No Solution Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 68+69=137, Resulting Numbers: [137] 137,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[49, 48], Operations: ['82-14=68', '68-20=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,67 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[49, 88], Operations: ['82-14=68', '20+68=88'] Exploring Operation: 49+88=137, Resulting Numbers: [137] 137,67 unequal: No Solution Exploring Operation: 49*88=4312, Resulting Numbers: [4312] 4312,67 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[68, 29], Operations: ['82-14=68', '49-20=29'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 68*29=1972, Resulting Numbers: [1972] 1972,67 unequal: No Solution Exploring Operation: 68+29=97, Resulting Numbers: [97] 97,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[20, 19], Operations: ['82-14=68', '68-49=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,67 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 67:[82, 49, 34], Operations: ['20+14=34'] Exploring Operation: 82-49=33, Resulting Numbers: [34, 33] Generated Node #0,4,0: 67:[34, 33] Operation: 82-49=33 Exploring Operation: 82+34=116, Resulting Numbers: [49, 116] Generated Node #0,4,1: 67:[49, 116] Operation: 82+34=116 Exploring Operation: 49-34=15, Resulting Numbers: [82, 15] Generated Node #0,4,2: 67:[82, 15] Operation: 49-34=15 Exploring Operation: 82-34=48, Resulting Numbers: [49, 48] Generated Node #0,4,3: 67:[49, 48] Operation: 82-34=48 Exploring Operation: 49+34=83, Resulting Numbers: [82, 83] Generated Node #0,4,4: 67:[82, 83] Operation: 49+34=83 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 67:[82, 83], Operations: ['20+14=34', '49+34=83'] Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 82*83=6806, Resulting Numbers: [6806] 6806,67 unequal: No Solution Exploring Operation: 82+83=165, Resulting Numbers: [165] 165,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 67:[49, 48], Operations: ['20+14=34', '82-34=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,67 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,67 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 67:[34, 33], Operations: ['20+14=34', '82-49=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,67 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[82, 49, 20, 14], Operations: [] Exploring Operation: 20+14=34, Resulting Numbers: [82, 49, 34] Generated Node #0,4: 67:[82, 49, 34] Operation: 20+14=34 Moving to Node #0,4 Current State: 67:[82, 49, 34], Operations: ['20+14=34'] Exploring Operation: 82-49=33, Resulting Numbers: [34, 33] Generated Node #0,4,0: 67:[34, 33] Operation: 82-49=33 Moving to Node #0,4,0 Current State: 67:[34, 33], Operations: ['20+14=34', '82-49=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 70, 37, 18, 28 ]
97
[ "70+37=107", "28-18=10", "107-10=97" ]
Current State: 97:[70, 37, 18, 28], Operations: [] Exploring Operation: 70+37=107, Resulting Numbers: [18, 28, 107] Generated Node #2: [18, 28, 107] from Operation: 70+37=107 Current State: 97:[18, 28, 107], Operations: ['70+37=107'] Exploring Operation: 28-18=10, Resulting Numbers: [107, 10] Generated Node #3: [107, 10] from Operation: 28-18=10 Current State: 97:[107, 10], Operations: ['70+37=107', '28-18=10'] Exploring Operation: 107-10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[70, 37, 18, 28], Operations: [] Exploring Operation: 70+18=88, Resulting Numbers: [37, 28, 88] Generated Node #0,0: 97:[37, 28, 88] Operation: 70+18=88 Exploring Operation: 37+28=65, Resulting Numbers: [70, 18, 65] Generated Node #0,1: 97:[70, 18, 65] Operation: 37+28=65 Exploring Operation: 18+28=46, Resulting Numbers: [70, 37, 46] Generated Node #0,2: 97:[70, 37, 46] Operation: 18+28=46 Exploring Operation: 70+28=98, Resulting Numbers: [37, 18, 98] Generated Node #0,3: 97:[37, 18, 98] Operation: 70+28=98 Exploring Operation: 37+18=55, Resulting Numbers: [70, 28, 55] Generated Node #0,4: 97:[70, 28, 55] Operation: 37+18=55 Moving to Node #0,0 Current State: 97:[37, 28, 88], Operations: ['70+18=88'] Exploring Operation: 37+28=65, Resulting Numbers: [88, 65] Generated Node #0,0,0: 97:[88, 65] Operation: 37+28=65 Exploring Operation: 37-28=9, Resulting Numbers: [88, 9] Generated Node #0,0,1: 97:[88, 9] Operation: 37-28=9 Exploring Operation: 88-28=60, Resulting Numbers: [37, 60] Generated Node #0,0,2: 97:[37, 60] Operation: 88-28=60 Exploring Operation: 37+88=125, Resulting Numbers: [28, 125] Generated Node #0,0,3: 97:[28, 125] Operation: 37+88=125 Exploring Operation: 28+88=116, Resulting Numbers: [37, 116] Generated Node #0,0,4: 97:[37, 116] Operation: 28+88=116 Moving to Node #0,2 Current State: 97:[70, 37, 46], Operations: ['18+28=46'] Exploring Operation: 70+46=116, Resulting Numbers: [37, 116] Generated Node #0,2,0: 97:[37, 116] Operation: 70+46=116 Exploring Operation: 70-37=33, Resulting Numbers: [46, 33] Generated Node #0,2,1: 97:[46, 33] Operation: 70-37=33 Exploring Operation: 46-37=9, Resulting Numbers: [70, 9] Generated Node #0,2,2: 97:[70, 9] Operation: 46-37=9 Exploring Operation: 37+46=83, Resulting Numbers: [70, 83] Generated Node #0,2,3: 97:[70, 83] Operation: 37+46=83 Exploring Operation: 70+37=107, Resulting Numbers: [46, 107] Generated Node #0,2,4: 97:[46, 107] Operation: 70+37=107 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[70, 83], Operations: ['18+28=46', '37+46=83'] Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,97 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 97:[46, 107], Operations: ['18+28=46', '70+37=107'] Exploring Operation: 46*107=4922, Resulting Numbers: [4922] 4922,97 unequal: No Solution Exploring Operation: 46+107=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 107-46=61, Resulting Numbers: [61] 61,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 97:[37, 116], Operations: ['18+28=46', '70+46=116'] Exploring Operation: 116-37=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 37+116=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 37*116=4292, Resulting Numbers: [4292] 4292,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 97:[46, 33], Operations: ['18+28=46', '70-37=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[70, 9], Operations: ['18+28=46', '46-37=9'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[70, 18, 65], Operations: ['37+28=65'] Exploring Operation: 65-18=47, Resulting Numbers: [70, 47] Generated Node #0,1,0: 97:[70, 47] Operation: 65-18=47 Exploring Operation: 70-18=52, Resulting Numbers: [65, 52] Generated Node #0,1,1: 97:[65, 52] Operation: 70-18=52 Exploring Operation: 70+65=135, Resulting Numbers: [18, 135] Generated Node #0,1,2: 97:[18, 135] Operation: 70+65=135 Exploring Operation: 18+65=83, Resulting Numbers: [70, 83] Generated Node #0,1,3: 97:[70, 83] Operation: 18+65=83 Exploring Operation: 70+18=88, Resulting Numbers: [65, 88] Generated Node #0,1,4: 97:[65, 88] Operation: 70+18=88 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[70, 83], Operations: ['37+28=65', '18+65=83'] Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,97 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 97:[65, 88], Operations: ['37+28=65', '70+18=88'] Exploring Operation: 65+88=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 65*88=5720, Resulting Numbers: [5720] 5720,97 unequal: No Solution Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[70, 47], Operations: ['37+28=65', '65-18=47'] Exploring Operation: 70+47=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 70*47=3290, Resulting Numbers: [3290] 3290,97 unequal: No Solution Exploring Operation: 70-47=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[65, 52], Operations: ['37+28=65', '70-18=52'] Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[18, 135], Operations: ['37+28=65', '70+65=135'] Exploring Operation: 18+135=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 135-18=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 18*135=2430, Resulting Numbers: [2430] 2430,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 97:[70, 28, 55], Operations: ['37+18=55'] Exploring Operation: 70+55=125, Resulting Numbers: [28, 125] Generated Node #0,4,0: 97:[28, 125] Operation: 70+55=125 Exploring Operation: 70+28=98, Resulting Numbers: [55, 98] Generated Node #0,4,1: 97:[55, 98] Operation: 70+28=98 Exploring Operation: 70-28=42, Resulting Numbers: [55, 42] Generated Node #0,4,2: 97:[55, 42] Operation: 70-28=42 Exploring Operation: 55-28=27, Resulting Numbers: [70, 27] Generated Node #0,4,3: 97:[70, 27] Operation: 55-28=27 Exploring Operation: 28+55=83, Resulting Numbers: [70, 83] Generated Node #0,4,4: 97:[70, 83] Operation: 28+55=83 Moving to Node #0,3 Current State: 97:[37, 18, 98], Operations: ['70+28=98'] Exploring Operation: 37-18=19, Resulting Numbers: [98, 19] Generated Node #0,3,0: 97:[98, 19] Operation: 37-18=19 Exploring Operation: 18+98=116, Resulting Numbers: [37, 116] Generated Node #0,3,1: 97:[37, 116] Operation: 18+98=116 Exploring Operation: 98-18=80, Resulting Numbers: [37, 80] Generated Node #0,3,2: 97:[37, 80] Operation: 98-18=80 Exploring Operation: 98-37=61, Resulting Numbers: [18, 61] Generated Node #0,3,3: 97:[18, 61] Operation: 98-37=61 Exploring Operation: 37+18=55, Resulting Numbers: [98, 55] Generated Node #0,3,4: 97:[98, 55] Operation: 37+18=55 Moving to Node #0,0,0 Current State: 97:[88, 65], Operations: ['70+18=88', '37+28=65'] Exploring Operation: 88*65=5720, Resulting Numbers: [5720] 5720,97 unequal: No Solution Exploring Operation: 88+65=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 88-65=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[70, 83], Operations: ['37+18=55', '28+55=83'] Exploring Operation: 70*83=5810, Resulting Numbers: [5810] 5810,97 unequal: No Solution Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[55, 98], Operations: ['37+18=55', '70+28=98'] Exploring Operation: 55+98=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 55*98=5390, Resulting Numbers: [5390] 5390,97 unequal: No Solution Moving to Node #0,3,4 Current State: 97:[98, 55], Operations: ['70+28=98', '37+18=55'] Exploring Operation: 98+55=153, Resulting Numbers: [153] 153,97 unequal: No Solution Exploring Operation: 98*55=5390, Resulting Numbers: [5390] 5390,97 unequal: No Solution Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[37, 80], Operations: ['70+28=98', '98-18=80'] Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,97 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[37, 116], Operations: ['70+28=98', '18+98=116'] Exploring Operation: 116-37=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 37*116=4292, Resulting Numbers: [4292] 4292,97 unequal: No Solution Exploring Operation: 37+116=153, Resulting Numbers: [153] 153,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[98, 19], Operations: ['70+28=98', '37-18=19'] Exploring Operation: 98-19=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 98+19=117, Resulting Numbers: [117] 117,97 unequal: No Solution Exploring Operation: 98*19=1862, Resulting Numbers: [1862] 1862,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[37, 116], Operations: ['70+18=88', '28+88=116'] Exploring Operation: 37*116=4292, Resulting Numbers: [4292] 4292,97 unequal: No Solution Exploring Operation: 116-37=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 37+116=153, Resulting Numbers: [153] 153,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[88, 9], Operations: ['70+18=88', '37-28=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[70, 37, 18, 28], Operations: [] Exploring Operation: 70+18=88, Resulting Numbers: [37, 28, 88] Generated Node #0,0: 97:[37, 28, 88] Operation: 70+18=88 Moving to Node #0,0 Current State: 97:[37, 28, 88], Operations: ['70+18=88'] Exploring Operation: 37-28=9, Resulting Numbers: [88, 9] Generated Node #0,0,1: 97:[88, 9] Operation: 37-28=9 Moving to Node #0,0,1 Current State: 97:[88, 9], Operations: ['70+18=88', '37-28=9'] Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.922743
hs_5
mult_heuristic
[ 65, 1, 73, 26 ]
18
[ "65*1=65", "73-26=47", "65-47=18" ]
Current State: 18:[65, 1, 73, 26], Operations: [] Exploring Operation: 65*1=65, Resulting Numbers: [73, 26, 65] Generated Node #2: [73, 26, 65] from Operation: 65*1=65 Current State: 18:[73, 26, 65], Operations: ['65*1=65'] Exploring Operation: 73-26=47, Resulting Numbers: [65, 47] Generated Node #3: [65, 47] from Operation: 73-26=47 Current State: 18:[65, 47], Operations: ['65*1=65', '73-26=47'] Exploring Operation: 65-47=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[65, 1, 73, 26], Operations: [] Exploring Operation: 73-1=72, Resulting Numbers: [65, 26, 72] Generated Node #0,0: 18:[65, 26, 72] Operation: 73-1=72 Exploring Operation: 65-26=39, Resulting Numbers: [1, 73, 39] Generated Node #0,1: 18:[1, 73, 39] Operation: 65-26=39 Exploring Operation: 65-1=64, Resulting Numbers: [73, 26, 64] Generated Node #0,2: 18:[73, 26, 64] Operation: 65-1=64 Exploring Operation: 73-26=47, Resulting Numbers: [65, 1, 47] Generated Node #0,3: 18:[65, 1, 47] Operation: 73-26=47 Exploring Operation: 73-65=8, Resulting Numbers: [1, 26, 8] Generated Node #0,4: 18:[1, 26, 8] Operation: 73-65=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 18:[1, 26, 8], Operations: ['73-65=8'] Exploring Operation: 26/1=26, Resulting Numbers: [8, 26] Generated Node #0,4,0: 18:[8, 26] Operation: 26/1=26 Exploring Operation: 26-1=25, Resulting Numbers: [8, 25] Generated Node #0,4,1: 18:[8, 25] Operation: 26-1=25 Exploring Operation: 1+8=9, Resulting Numbers: [26, 9] Generated Node #0,4,2: 18:[26, 9] Operation: 1+8=9 Exploring Operation: 26-8=18, Resulting Numbers: [1, 18] Generated Node #0,4,3: 18:[1, 18] Operation: 26-8=18 Exploring Operation: 1*26=26, Resulting Numbers: [8, 26] Generated Node #0,4,4: 18:[8, 26] Operation: 1*26=26 Moving to Node #0,4,3 Current State: 18:[1, 18], Operations: ['73-65=8', '26-8=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[65, 1, 73, 26], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [1, 26, 8] Generated Node #0,4: 18:[1, 26, 8] Operation: 73-65=8 Moving to Node #0,4 Current State: 18:[1, 26, 8], Operations: ['73-65=8'] Exploring Operation: 26-8=18, Resulting Numbers: [1, 18] Generated Node #0,4,3: 18:[1, 18] Operation: 26-8=18 Moving to Node #0,4,3 Current State: 18:[1, 18], Operations: ['73-65=8', '26-8=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 79, 3, 81, 72 ]
76
[ "81-72=9", "9/3=3", "79-3=76" ]
Current State: 76:[79, 3, 81, 72], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [79, 3, 9] Generated Node #2: [79, 3, 9] from Operation: 81-72=9 Current State: 76:[79, 3, 9], Operations: ['81-72=9'] Exploring Operation: 9/3=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 9/3=3 Current State: 76:[79, 3], Operations: ['81-72=9', '9/3=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[79, 3, 81, 72], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [3, 72, 2] Generated Node #0,0: 76:[3, 72, 2] Operation: 81-79=2 Exploring Operation: 79-3=76, Resulting Numbers: [81, 72, 76] Generated Node #0,1: 76:[81, 72, 76] Operation: 79-3=76 Exploring Operation: 79-72=7, Resulting Numbers: [3, 81, 7] Generated Node #0,2: 76:[3, 81, 7] Operation: 79-72=7 Moving to Node #0,0 Current State: 76:[3, 72, 2], Operations: ['81-79=2'] Exploring Operation: 72+2=74, Resulting Numbers: [3, 74] Generated Node #0,0,0: 76:[3, 74] Operation: 72+2=74 Exploring Operation: 72/2=36, Resulting Numbers: [3, 36] Generated Node #0,0,1: 76:[3, 36] Operation: 72/2=36 Exploring Operation: 3+72=75, Resulting Numbers: [2, 75] Generated Node #0,0,2: 76:[2, 75] Operation: 3+72=75 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[2, 75], Operations: ['81-79=2', '3+72=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,76 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,76 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,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,0 Current State: 76:[3, 74], Operations: ['81-79=2', '72+2=74'] Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,76 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,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,1 Current State: 76:[3, 36], Operations: ['81-79=2', '72/2=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,76 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: 76:[81, 72, 76], Operations: ['79-3=76'] Exploring Operation: 76-72=4, Resulting Numbers: [81, 4] Generated Node #0,1,0: 76:[81, 4] Operation: 76-72=4 Exploring Operation: 81-72=9, Resulting Numbers: [76, 9] Generated Node #0,1,1: 76:[76, 9] Operation: 81-72=9 Exploring Operation: 81-76=5, Resulting Numbers: [72, 5] Generated Node #0,1,2: 76:[72, 5] Operation: 81-76=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[81, 4], Operations: ['79-3=76', '76-72=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[76, 9], Operations: ['79-3=76', '81-72=9'] Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,76 unequal: No Solution Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[72, 5], Operations: ['79-3=76', '81-76=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 76:[3, 81, 7], Operations: ['79-72=7'] Exploring Operation: 81-3=78, Resulting Numbers: [7, 78] Generated Node #0,2,0: 76:[7, 78] Operation: 81-3=78 Exploring Operation: 81-7=74, Resulting Numbers: [3, 74] Generated Node #0,2,1: 76:[3, 74] Operation: 81-7=74 Exploring Operation: 7-3=4, Resulting Numbers: [81, 4] Generated Node #0,2,2: 76:[81, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[3, 74], Operations: ['79-72=7', '81-7=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[7, 78], Operations: ['79-72=7', '81-3=78'] Exploring Operation: 7*78=546, Resulting Numbers: [546] 546,76 unequal: No Solution Exploring Operation: 7+78=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[81, 4], Operations: ['79-72=7', '7-3=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,76 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
[ 3, 97, 64, 32 ]
50
[ "3+97=100", "64/32=2", "100/2=50" ]
Current State: 50:[3, 97, 64, 32], Operations: [] Exploring Operation: 3+97=100, Resulting Numbers: [64, 32, 100] Generated Node #2: [64, 32, 100] from Operation: 3+97=100 Current State: 50:[64, 32, 100], Operations: ['3+97=100'] Exploring Operation: 64/32=2, Resulting Numbers: [100, 2] Generated Node #3: [100, 2] from Operation: 64/32=2 Current State: 50:[100, 2], Operations: ['3+97=100', '64/32=2'] Exploring Operation: 100/2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[3, 97, 64, 32], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [3, 97, 2] Generated Node #0,0: 50:[3, 97, 2] Operation: 64/32=2 Exploring Operation: 97-32=65, Resulting Numbers: [3, 64, 65] Generated Node #0,1: 50:[3, 64, 65] Operation: 97-32=65 Exploring Operation: 97-64=33, Resulting Numbers: [3, 32, 33] Generated Node #0,2: 50:[3, 32, 33] Operation: 97-64=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[3, 32, 33], Operations: ['97-64=33'] Exploring Operation: 33-32=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 50:[3, 1] Operation: 33-32=1 Exploring Operation: 33/3=11, Resulting Numbers: [32, 11] Generated Node #0,2,1: 50:[32, 11] Operation: 33/3=11 Exploring Operation: 32-3=29, Resulting Numbers: [33, 29] Generated Node #0,2,2: 50:[33, 29] Operation: 32-3=29 Moving to Node #0,2,0 Current State: 50:[3, 1], Operations: ['97-64=33', '33-32=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,2,1 Current State: 50:[32, 11], Operations: ['97-64=33', '33/3=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,50 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,50 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,50 unequal: No Solution Moving to Node #0,2,2 Current State: 50:[33, 29], Operations: ['97-64=33', '32-3=29'] Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,50 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,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 Current State: 50:[3, 64, 65], Operations: ['97-32=65'] Exploring Operation: 64-3=61, Resulting Numbers: [65, 61] Generated Node #0,1,0: 50:[65, 61] Operation: 64-3=61 Exploring Operation: 65-3=62, Resulting Numbers: [64, 62] Generated Node #0,1,1: 50:[64, 62] Operation: 65-3=62 Exploring Operation: 65-64=1, Resulting Numbers: [3, 1] Generated Node #0,1,2: 50:[3, 1] Operation: 65-64=1 Moving to Node #0,1,2 Current State: 50:[3, 1], Operations: ['97-32=65', '65-64=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[65, 61], Operations: ['97-32=65', '64-3=61'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,50 unequal: No Solution Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[64, 62], Operations: ['97-32=65', '65-3=62'] Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,50 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,50 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[3, 97, 2], Operations: ['64/32=2'] Exploring Operation: 97-3=94, Resulting Numbers: [2, 94] Generated Node #0,0,0: 50:[2, 94] Operation: 97-3=94 Exploring Operation: 3+2=5, Resulting Numbers: [97, 5] Generated Node #0,0,1: 50:[97, 5] Operation: 3+2=5 Exploring Operation: 97-2=95, Resulting Numbers: [3, 95] Generated Node #0,0,2: 50:[3, 95] Operation: 97-2=95 Moving to Node #0,0,0 Current State: 50:[2, 94], Operations: ['64/32=2', '97-3=94'] Exploring Operation: 2+94=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 94-2=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[3, 95], Operations: ['64/32=2', '97-2=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,50 unequal: No Solution Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,50 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[97, 5], Operations: ['64/32=2', '3+2=5'] Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,50 unequal: No Solution Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,50 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,50 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
[ 5, 96, 87, 29 ]
91
[ "29-5=24", "96/24=4", "87+4=91" ]
Current State: 91:[5, 96, 87, 29], Operations: [] Exploring Operation: 29-5=24, Resulting Numbers: [96, 87, 24] Generated Node #2: [96, 87, 24] from Operation: 29-5=24 Current State: 91:[96, 87, 24], Operations: ['29-5=24'] Exploring Operation: 96/24=4, Resulting Numbers: [87, 4] Generated Node #3: [87, 4] from Operation: 96/24=4 Current State: 91:[87, 4], Operations: ['29-5=24', '96/24=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 96, 87, 29], Operations: [] Exploring Operation: 87/29=3, Resulting Numbers: [5, 96, 3] Generated Node #0,0: 91:[5, 96, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 96, 3], Operations: ['87/29=3'] Exploring Operation: 96-5=91, Resulting Numbers: [3, 91] Generated Node #0,0,0: 91:[3, 91] Operation: 96-5=91 Moving to Node #0,0,0 Current State: 91:[3, 91], Operations: ['87/29=3', '96-5=91'] Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 55, 94, 31, 32 ]
40
[ "94-55=39", "32-31=1", "39+1=40" ]
Current State: 40:[55, 94, 31, 32], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [31, 32, 39] Generated Node #2: [31, 32, 39] from Operation: 94-55=39 Current State: 40:[31, 32, 39], Operations: ['94-55=39'] Exploring Operation: 32-31=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 32-31=1 Current State: 40:[39, 1], Operations: ['94-55=39', '32-31=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[55, 94, 31, 32], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [31, 32, 39] Generated Node #0,0: 40:[31, 32, 39] Operation: 94-55=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[31, 32, 39], Operations: ['94-55=39'] Exploring Operation: 32-31=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 40:[39, 1] Operation: 32-31=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[39, 1], Operations: ['94-55=39', '32-31=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[55, 94, 31, 32], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [31, 32, 39] Generated Node #0,0: 40:[31, 32, 39] Operation: 94-55=39 Moving to Node #0,0 Current State: 40:[31, 32, 39], Operations: ['94-55=39'] Exploring Operation: 32-31=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 40:[39, 1] Operation: 32-31=1 Moving to Node #0,0,0 Current State: 40:[39, 1], Operations: ['94-55=39', '32-31=1'] Exploring Operation: 39+1=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 28, 90, 15, 2 ]
32
[ "90-28=62", "15*2=30", "62-30=32" ]
Current State: 32:[28, 90, 15, 2], Operations: [] Exploring Operation: 90-28=62, Resulting Numbers: [15, 2, 62] Generated Node #2: [15, 2, 62] from Operation: 90-28=62 Current State: 32:[15, 2, 62], Operations: ['90-28=62'] Exploring Operation: 15*2=30, Resulting Numbers: [62, 30] Generated Node #3: [62, 30] from Operation: 15*2=30 Current State: 32:[62, 30], Operations: ['90-28=62', '15*2=30'] Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[28, 90, 15, 2], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [28, 2, 6] Generated Node #0,0: 32:[28, 2, 6] Operation: 90/15=6 Exploring Operation: 90-28=62, Resulting Numbers: [15, 2, 62] Generated Node #0,1: 32:[15, 2, 62] Operation: 90-28=62 Exploring Operation: 90/2=45, Resulting Numbers: [28, 15, 45] Generated Node #0,2: 32:[28, 15, 45] Operation: 90/2=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[28, 2, 6], Operations: ['90/15=6'] Exploring Operation: 28+6=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 32:[2, 34] Operation: 28+6=34 Exploring Operation: 28+2=30, Resulting Numbers: [6, 30] Generated Node #0,0,1: 32:[6, 30] Operation: 28+2=30 Exploring Operation: 28/2=14, Resulting Numbers: [6, 14] Generated Node #0,0,2: 32:[6, 14] Operation: 28/2=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[2, 34], Operations: ['90/15=6', '28+6=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[28, 90, 15, 2], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [28, 2, 6] Generated Node #0,0: 32:[28, 2, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 32:[28, 2, 6], Operations: ['90/15=6'] Exploring Operation: 28+6=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 32:[2, 34] Operation: 28+6=34 Moving to Node #0,0,0 Current State: 32:[2, 34], Operations: ['90/15=6', '28+6=34'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 11, 33, 86, 52 ]
56
[ "33-11=22", "86-52=34", "22+34=56" ]
Current State: 56:[11, 33, 86, 52], Operations: [] Exploring Operation: 33-11=22, Resulting Numbers: [86, 52, 22] Generated Node #2: [86, 52, 22] from Operation: 33-11=22 Current State: 56:[86, 52, 22], Operations: ['33-11=22'] Exploring Operation: 86-52=34, Resulting Numbers: [22, 34] Generated Node #3: [22, 34] from Operation: 86-52=34 Current State: 56:[22, 34], Operations: ['33-11=22', '86-52=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[11, 33, 86, 52], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [11, 86, 19] Generated Node #0,0: 56:[11, 86, 19] Operation: 52-33=19 Exploring Operation: 86-52=34, Resulting Numbers: [11, 33, 34] Generated Node #0,1: 56:[11, 33, 34] Operation: 86-52=34 Exploring Operation: 33/11=3, Resulting Numbers: [86, 52, 3] Generated Node #0,2: 56:[86, 52, 3] Operation: 33/11=3 Exploring Operation: 86-33=53, Resulting Numbers: [11, 52, 53] Generated Node #0,3: 56:[11, 52, 53] Operation: 86-33=53 Exploring Operation: 86-11=75, Resulting Numbers: [33, 52, 75] Generated Node #0,4: 56:[33, 52, 75] Operation: 86-11=75 Moving to Node #0,3 Current State: 56:[11, 52, 53], Operations: ['86-33=53'] Exploring Operation: 52-11=41, Resulting Numbers: [53, 41] Generated Node #0,3,0: 56:[53, 41] Operation: 52-11=41 Exploring Operation: 53-11=42, Resulting Numbers: [52, 42] Generated Node #0,3,1: 56:[52, 42] Operation: 53-11=42 Exploring Operation: 53-52=1, Resulting Numbers: [11, 1] Generated Node #0,3,2: 56:[11, 1] Operation: 53-52=1 Exploring Operation: 11+53=64, Resulting Numbers: [52, 64] Generated Node #0,3,3: 56:[52, 64] Operation: 11+53=64 Exploring Operation: 11+52=63, Resulting Numbers: [53, 63] Generated Node #0,3,4: 56:[53, 63] Operation: 11+52=63 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[11, 1], Operations: ['86-33=53', '53-52=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[53, 63], Operations: ['86-33=53', '11+52=63'] Exploring Operation: 53+63=116, Resulting Numbers: [116] 116,56 unequal: No Solution Exploring Operation: 53*63=3339, Resulting Numbers: [3339] 3339,56 unequal: No Solution Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[52, 64], Operations: ['86-33=53', '11+53=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,56 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[53, 41], Operations: ['86-33=53', '52-11=41'] Exploring Operation: 53*41=2173, Resulting Numbers: [2173] 2173,56 unequal: No Solution Exploring Operation: 53-41=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 53+41=94, Resulting Numbers: [94] 94,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[52, 42], Operations: ['86-33=53', '53-11=42'] Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,56 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,56 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: 56:[11, 33, 34], Operations: ['86-52=34'] Exploring Operation: 33+34=67, Resulting Numbers: [11, 67] Generated Node #0,1,0: 56:[11, 67] Operation: 33+34=67 Exploring Operation: 34-11=23, Resulting Numbers: [33, 23] Generated Node #0,1,1: 56:[33, 23] Operation: 34-11=23 Exploring Operation: 33-11=22, Resulting Numbers: [34, 22] Generated Node #0,1,2: 56:[34, 22] Operation: 33-11=22 Exploring Operation: 34-33=1, Resulting Numbers: [11, 1] Generated Node #0,1,3: 56:[11, 1] Operation: 34-33=1 Exploring Operation: 33/11=3, Resulting Numbers: [34, 3] Generated Node #0,1,4: 56:[34, 3] Operation: 33/11=3 Moving to Node #0,4 Current State: 56:[33, 52, 75], Operations: ['86-11=75'] Exploring Operation: 33+52=85, Resulting Numbers: [75, 85] Generated Node #0,4,0: 56:[75, 85] Operation: 33+52=85 Exploring Operation: 52-33=19, Resulting Numbers: [75, 19] Generated Node #0,4,1: 56:[75, 19] Operation: 52-33=19 Exploring Operation: 33+75=108, Resulting Numbers: [52, 108] Generated Node #0,4,2: 56:[52, 108] Operation: 33+75=108 Exploring Operation: 75-33=42, Resulting Numbers: [52, 42] Generated Node #0,4,3: 56:[52, 42] Operation: 75-33=42 Exploring Operation: 75-52=23, Resulting Numbers: [33, 23] Generated Node #0,4,4: 56:[33, 23] Operation: 75-52=23 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[33, 23], Operations: ['86-11=75', '75-52=23'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[11, 33, 86, 52], Operations: [] Exploring Operation: 86-11=75, Resulting Numbers: [33, 52, 75] Generated Node #0,4: 56:[33, 52, 75] Operation: 86-11=75 Moving to Node #0,4 Current State: 56:[33, 52, 75], Operations: ['86-11=75'] Exploring Operation: 75-52=23, Resulting Numbers: [33, 23] Generated Node #0,4,4: 56:[33, 23] Operation: 75-52=23 Moving to Node #0,4,4 Current State: 56:[33, 23], Operations: ['86-11=75', '75-52=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 34, 20, 36, 70 ]
83
[ "34*70=2380", "2380/20=119", "119-36=83" ]
Current State: 83:[34, 20, 36, 70], Operations: [] Exploring Operation: 34*70=2380, Resulting Numbers: [20, 36, 2380] Generated Node #2: [20, 36, 2380] from Operation: 34*70=2380 Current State: 83:[20, 36, 2380], Operations: ['34*70=2380'] Exploring Operation: 2380/20=119, Resulting Numbers: [36, 119] Generated Node #3: [36, 119] from Operation: 2380/20=119 Current State: 83:[36, 119], Operations: ['34*70=2380', '2380/20=119'] Exploring Operation: 119-36=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[34, 20, 36, 70], Operations: [] Exploring Operation: 34+20=54, Resulting Numbers: [36, 70, 54] Generated Node #0,0: 83:[36, 70, 54] Operation: 34+20=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[36, 70, 54], Operations: ['34+20=54'] Exploring Operation: 36+54=90, Resulting Numbers: [70, 90] Generated Node #0,0,0: 83:[70, 90] Operation: 36+54=90 Moving to Node #0,0,0 Current State: 83:[70, 90], Operations: ['34+20=54', '36+54=90'] Exploring Operation: 90-70=20, Resulting Numbers: [20] 20,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 40, 66, 21, 67 ]
62
[ "66-40=26", "21+67=88", "88-26=62" ]
Current State: 62:[40, 66, 21, 67], Operations: [] Exploring Operation: 66-40=26, Resulting Numbers: [21, 67, 26] Generated Node #2: [21, 67, 26] from Operation: 66-40=26 Current State: 62:[21, 67, 26], Operations: ['66-40=26'] Exploring Operation: 21+67=88, Resulting Numbers: [26, 88] Generated Node #3: [26, 88] from Operation: 21+67=88 Current State: 62:[26, 88], Operations: ['66-40=26', '21+67=88'] Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[40, 66, 21, 67], Operations: [] Exploring Operation: 40+21=61, Resulting Numbers: [66, 67, 61] Generated Node #0,0: 62:[66, 67, 61] Operation: 40+21=61 Exploring Operation: 66-40=26, Resulting Numbers: [21, 67, 26] Generated Node #0,1: 62:[21, 67, 26] Operation: 66-40=26 Exploring Operation: 67-66=1, Resulting Numbers: [40, 21, 1] Generated Node #0,2: 62:[40, 21, 1] Operation: 67-66=1 Exploring Operation: 67-40=27, Resulting Numbers: [66, 21, 27] Generated Node #0,3: 62:[66, 21, 27] Operation: 67-40=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[66, 67, 61], Operations: ['40+21=61'] Exploring Operation: 66+61=127, Resulting Numbers: [67, 127] Generated Node #0,0,0: 62:[67, 127] Operation: 66+61=127 Exploring Operation: 67-61=6, Resulting Numbers: [66, 6] Generated Node #0,0,1: 62:[66, 6] Operation: 67-61=6 Exploring Operation: 67-66=1, Resulting Numbers: [61, 1] Generated Node #0,0,2: 62:[61, 1] Operation: 67-66=1 Exploring Operation: 66-61=5, Resulting Numbers: [67, 5] Generated Node #0,0,3: 62:[67, 5] Operation: 66-61=5 Moving to Node #0,0,2 Current State: 62:[61, 1], Operations: ['40+21=61', '67-66=1'] Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[40, 66, 21, 67], Operations: [] Exploring Operation: 40+21=61, Resulting Numbers: [66, 67, 61] Generated Node #0,0: 62:[66, 67, 61] Operation: 40+21=61 Moving to Node #0,0 Current State: 62:[66, 67, 61], Operations: ['40+21=61'] Exploring Operation: 67-66=1, Resulting Numbers: [61, 1] Generated Node #0,0,2: 62:[61, 1] Operation: 67-66=1 Moving to Node #0,0,2 Current State: 62:[61, 1], Operations: ['40+21=61', '67-66=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 80, 84, 27, 12 ]
35
[ "84-80=4", "27+12=39", "39-4=35" ]
Current State: 35:[80, 84, 27, 12], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [27, 12, 4] Generated Node #2: [27, 12, 4] from Operation: 84-80=4 Current State: 35:[27, 12, 4], Operations: ['84-80=4'] Exploring Operation: 27+12=39, Resulting Numbers: [4, 39] Generated Node #3: [4, 39] from Operation: 27+12=39 Current State: 35:[4, 39], Operations: ['84-80=4', '27+12=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[80, 84, 27, 12], Operations: [] Exploring Operation: 84/12=7, Resulting Numbers: [80, 27, 7] Generated Node #0,0: 35:[80, 27, 7] Operation: 84/12=7 Exploring Operation: 84-27=57, Resulting Numbers: [80, 12, 57] Generated Node #0,1: 35:[80, 12, 57] Operation: 84-27=57 Exploring Operation: 80-12=68, Resulting Numbers: [84, 27, 68] Generated Node #0,2: 35:[84, 27, 68] Operation: 80-12=68 Exploring Operation: 84-80=4, Resulting Numbers: [27, 12, 4] Generated Node #0,3: 35:[27, 12, 4] Operation: 84-80=4 Exploring Operation: 80-27=53, Resulting Numbers: [84, 12, 53] Generated Node #0,4: 35:[84, 12, 53] Operation: 80-27=53 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[27, 12, 4], Operations: ['84-80=4'] Exploring Operation: 27+4=31, Resulting Numbers: [12, 31] Generated Node #0,3,0: 35:[12, 31] Operation: 27+4=31 Exploring Operation: 27-12=15, Resulting Numbers: [4, 15] Generated Node #0,3,1: 35:[4, 15] Operation: 27-12=15 Exploring Operation: 12/4=3, Resulting Numbers: [27, 3] Generated Node #0,3,2: 35:[27, 3] Operation: 12/4=3 Exploring Operation: 27+12=39, Resulting Numbers: [4, 39] Generated Node #0,3,3: 35:[4, 39] Operation: 27+12=39 Exploring Operation: 12-4=8, Resulting Numbers: [27, 8] Generated Node #0,3,4: 35:[27, 8] Operation: 12-4=8 Moving to Node #0,3,3 Current State: 35:[4, 39], Operations: ['84-80=4', '27+12=39'] Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,35 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[80, 84, 27, 12], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [27, 12, 4] Generated Node #0,3: 35:[27, 12, 4] Operation: 84-80=4 Moving to Node #0,3 Current State: 35:[27, 12, 4], Operations: ['84-80=4'] Exploring Operation: 27+12=39, Resulting Numbers: [4, 39] Generated Node #0,3,3: 35:[4, 39] Operation: 27+12=39 Moving to Node #0,3,3 Current State: 35:[4, 39], Operations: ['84-80=4', '27+12=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 45, 51, 48, 39 ]
30
[ "48-45=3", "51+39=90", "90/3=30" ]
Current State: 30:[45, 51, 48, 39], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [51, 39, 3] Generated Node #2: [51, 39, 3] from Operation: 48-45=3 Current State: 30:[51, 39, 3], Operations: ['48-45=3'] Exploring Operation: 51+39=90, Resulting Numbers: [3, 90] Generated Node #3: [3, 90] from Operation: 51+39=90 Current State: 30:[3, 90], Operations: ['48-45=3', '51+39=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[45, 51, 48, 39], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [45, 39, 3] Generated Node #0,0: 30:[45, 39, 3] Operation: 51-48=3 Exploring Operation: 48-45=3, Resulting Numbers: [51, 39, 3] Generated Node #0,1: 30:[51, 39, 3] Operation: 48-45=3 Exploring Operation: 51-45=6, Resulting Numbers: [48, 39, 6] Generated Node #0,2: 30:[48, 39, 6] Operation: 51-45=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[45, 39, 3], Operations: ['51-48=3'] Exploring Operation: 39/3=13, Resulting Numbers: [45, 13] Generated Node #0,0,0: 30:[45, 13] Operation: 39/3=13 Exploring Operation: 45-39=6, Resulting Numbers: [3, 6] Generated Node #0,0,1: 30:[3, 6] Operation: 45-39=6 Exploring Operation: 45/3=15, Resulting Numbers: [39, 15] Generated Node #0,0,2: 30:[39, 15] Operation: 45/3=15 Moving to Node #0,0,1 Current State: 30:[3, 6], Operations: ['51-48=3', '45-39=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[39, 15], Operations: ['51-48=3', '45/3=15'] Exploring Operation: 39+15=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 39*15=585, Resulting Numbers: [585] 585,30 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[45, 13], Operations: ['51-48=3', '39/3=13'] Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,30 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,30 unequal: No Solution Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,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,2 Current State: 30:[48, 39, 6], Operations: ['51-45=6'] Exploring Operation: 48-39=9, Resulting Numbers: [6, 9] Generated Node #0,2,0: 30:[6, 9] Operation: 48-39=9 Exploring Operation: 48-6=42, Resulting Numbers: [39, 42] Generated Node #0,2,1: 30:[39, 42] Operation: 48-6=42 Exploring Operation: 48/6=8, Resulting Numbers: [39, 8] Generated Node #0,2,2: 30:[39, 8] Operation: 48/6=8 Moving to Node #0,2,0 Current State: 30:[6, 9], Operations: ['51-45=6', '48-39=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,30 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[39, 8], Operations: ['51-45=6', '48/6=8'] Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,30 unequal: No Solution Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[39, 42], Operations: ['51-45=6', '48-6=42'] Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,30 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,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 Current State: 30:[51, 39, 3], Operations: ['48-45=3'] Exploring Operation: 51/3=17, Resulting Numbers: [39, 17] Generated Node #0,1,0: 30:[39, 17] Operation: 51/3=17 Exploring Operation: 39/3=13, Resulting Numbers: [51, 13] Generated Node #0,1,1: 30:[51, 13] Operation: 39/3=13 Exploring Operation: 51-39=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 30:[3, 12] Operation: 51-39=12 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 30:[3, 12], Operations: ['48-45=3', '51-39=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,30 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,30 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,30 unequal: No Solution No 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: 30:[39, 17], Operations: ['48-45=3', '51/3=17'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,30 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,30 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,30 unequal: No Solution No 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: 30:[51, 13], Operations: ['48-45=3', '39/3=13'] Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,30 unequal: No Solution Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,30 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,30 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
[ 4, 71, 20, 29 ]
26
[ "4+71=75", "20+29=49", "75-49=26" ]
Current State: 26:[4, 71, 20, 29], Operations: [] Exploring Operation: 4+71=75, Resulting Numbers: [20, 29, 75] Generated Node #2: [20, 29, 75] from Operation: 4+71=75 Current State: 26:[20, 29, 75], Operations: ['4+71=75'] Exploring Operation: 20+29=49, Resulting Numbers: [75, 49] Generated Node #3: [75, 49] from Operation: 20+29=49 Current State: 26:[75, 49], Operations: ['4+71=75', '20+29=49'] Exploring Operation: 75-49=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[4, 71, 20, 29], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [4, 20, 42] Generated Node #0,0: 26:[4, 20, 42] Operation: 71-29=42 Exploring Operation: 71-4=67, Resulting Numbers: [20, 29, 67] Generated Node #0,1: 26:[20, 29, 67] Operation: 71-4=67 Exploring Operation: 71-20=51, Resulting Numbers: [4, 29, 51] Generated Node #0,2: 26:[4, 29, 51] Operation: 71-20=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[4, 20, 42], Operations: ['71-29=42'] Exploring Operation: 4+20=24, Resulting Numbers: [42, 24] Generated Node #0,0,0: 26:[42, 24] Operation: 4+20=24 Exploring Operation: 42-20=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 26:[4, 22] Operation: 42-20=22 Exploring Operation: 42-4=38, Resulting Numbers: [20, 38] Generated Node #0,0,2: 26:[20, 38] Operation: 42-4=38 Moving to Node #0,0,1 Current State: 26:[4, 22], Operations: ['71-29=42', '42-20=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[4, 71, 20, 29], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [4, 20, 42] Generated Node #0,0: 26:[4, 20, 42] Operation: 71-29=42 Moving to Node #0,0 Current State: 26:[4, 20, 42], Operations: ['71-29=42'] Exploring Operation: 42-20=22, Resulting Numbers: [4, 22] Generated Node #0,0,1: 26:[4, 22] Operation: 42-20=22 Moving to Node #0,0,1 Current State: 26:[4, 22], Operations: ['71-29=42', '42-20=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 70, 69, 23, 17 ]
84
[ "70+17=87", "69/23=3", "87-3=84" ]
Current State: 84:[70, 69, 23, 17], Operations: [] Exploring Operation: 70+17=87, Resulting Numbers: [69, 23, 87] Generated Node #2: [69, 23, 87] from Operation: 70+17=87 Current State: 84:[69, 23, 87], Operations: ['70+17=87'] Exploring Operation: 69/23=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 69/23=3 Current State: 84:[87, 3], Operations: ['70+17=87', '69/23=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[70, 69, 23, 17], Operations: [] Exploring Operation: 69+17=86, Resulting Numbers: [70, 23, 86] Generated Node #0,0: 84:[70, 23, 86] Operation: 69+17=86 Exploring Operation: 70-69=1, Resulting Numbers: [23, 17, 1] Generated Node #0,1: 84:[23, 17, 1] Operation: 70-69=1 Exploring Operation: 69/23=3, Resulting Numbers: [70, 17, 3] Generated Node #0,2: 84:[70, 17, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[23, 17, 1], Operations: ['70-69=1'] Exploring Operation: 23-17=6, Resulting Numbers: [1, 6] Generated Node #0,1,0: 84:[1, 6] Operation: 23-17=6 Exploring Operation: 23+17=40, Resulting Numbers: [1, 40] Generated Node #0,1,1: 84:[1, 40] Operation: 23+17=40 Exploring Operation: 23-1=22, Resulting Numbers: [17, 22] Generated Node #0,1,2: 84:[17, 22] Operation: 23-1=22 Moving to Node #0,1,0 Current State: 84:[1, 6], Operations: ['70-69=1', '23-17=6'] Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[1, 40], Operations: ['70-69=1', '23+17=40'] Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[17, 22], Operations: ['70-69=1', '23-1=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,84 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[70, 17, 3], Operations: ['69/23=3'] Exploring Operation: 70-17=53, Resulting Numbers: [3, 53] Generated Node #0,2,0: 84:[3, 53] Operation: 70-17=53 Exploring Operation: 70+17=87, Resulting Numbers: [3, 87] Generated Node #0,2,1: 84:[3, 87] Operation: 70+17=87 Exploring Operation: 70+3=73, Resulting Numbers: [17, 73] Generated Node #0,2,2: 84:[17, 73] Operation: 70+3=73 Moving to Node #0,2,1 Current State: 84:[3, 87], Operations: ['69/23=3', '70+17=87'] Exploring Operation: 87/3=29, Resulting Numbers: [29] 29,84 unequal: No Solution Exploring Operation: 3+87=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[70, 69, 23, 17], Operations: [] Exploring Operation: 69/23=3, Resulting Numbers: [70, 17, 3] Generated Node #0,2: 84:[70, 17, 3] Operation: 69/23=3 Moving to Node #0,2 Current State: 84:[70, 17, 3], Operations: ['69/23=3'] Exploring Operation: 70+17=87, Resulting Numbers: [3, 87] Generated Node #0,2,1: 84:[3, 87] Operation: 70+17=87 Moving to Node #0,2,1 Current State: 84:[3, 87], Operations: ['69/23=3', '70+17=87'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 14, 44, 4, 19 ]
31
[ "14*4=56", "44-19=25", "56-25=31" ]
Current State: 31:[14, 44, 4, 19], Operations: [] Exploring Operation: 14*4=56, Resulting Numbers: [44, 19, 56] Generated Node #2: [44, 19, 56] from Operation: 14*4=56 Current State: 31:[44, 19, 56], Operations: ['14*4=56'] Exploring Operation: 44-19=25, Resulting Numbers: [56, 25] Generated Node #3: [56, 25] from Operation: 44-19=25 Current State: 31:[56, 25], Operations: ['14*4=56', '44-19=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[14, 44, 4, 19], Operations: [] Exploring Operation: 14+19=33, Resulting Numbers: [44, 4, 33] Generated Node #0,0: 31:[44, 4, 33] Operation: 14+19=33 Exploring Operation: 44-14=30, Resulting Numbers: [4, 19, 30] Generated Node #0,1: 31:[4, 19, 30] Operation: 44-14=30 Exploring Operation: 4+19=23, Resulting Numbers: [14, 44, 23] Generated Node #0,2: 31:[14, 44, 23] Operation: 4+19=23 Exploring Operation: 44-4=40, Resulting Numbers: [14, 19, 40] Generated Node #0,3: 31:[14, 19, 40] Operation: 44-4=40 Exploring Operation: 14+4=18, Resulting Numbers: [44, 19, 18] Generated Node #0,4: 31:[44, 19, 18] Operation: 14+4=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[14, 44, 23], Operations: ['4+19=23'] Exploring Operation: 14+23=37, Resulting Numbers: [44, 37] Generated Node #0,2,0: 31:[44, 37] Operation: 14+23=37 Exploring Operation: 23-14=9, Resulting Numbers: [44, 9] Generated Node #0,2,1: 31:[44, 9] Operation: 23-14=9 Exploring Operation: 44-23=21, Resulting Numbers: [14, 21] Generated Node #0,2,2: 31:[14, 21] Operation: 44-23=21 Exploring Operation: 44-14=30, Resulting Numbers: [23, 30] Generated Node #0,2,3: 31:[23, 30] Operation: 44-14=30 Exploring Operation: 14+44=58, Resulting Numbers: [23, 58] Generated Node #0,2,4: 31:[23, 58] Operation: 14+44=58 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[23, 30], Operations: ['4+19=23', '44-14=30'] Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,31 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,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,2,0 Current State: 31:[44, 37], Operations: ['4+19=23', '14+23=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,31 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,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,2,2 Current State: 31:[14, 21], Operations: ['4+19=23', '44-23=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,31 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,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,2,1 Current State: 31:[44, 9], Operations: ['4+19=23', '23-14=9'] Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,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,2,4 Current State: 31:[23, 58], Operations: ['4+19=23', '14+44=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,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,3 Current State: 31:[14, 19, 40], Operations: ['44-4=40'] Exploring Operation: 40-19=21, Resulting Numbers: [14, 21] Generated Node #0,3,0: 31:[14, 21] Operation: 40-19=21 Exploring Operation: 19-14=5, Resulting Numbers: [40, 5] Generated Node #0,3,1: 31:[40, 5] Operation: 19-14=5 Exploring Operation: 14+19=33, Resulting Numbers: [40, 33] Generated Node #0,3,2: 31:[40, 33] Operation: 14+19=33 Exploring Operation: 14+40=54, Resulting Numbers: [19, 54] Generated Node #0,3,3: 31:[19, 54] Operation: 14+40=54 Exploring Operation: 40-14=26, Resulting Numbers: [19, 26] Generated Node #0,3,4: 31:[19, 26] Operation: 40-14=26 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[40, 33], Operations: ['44-4=40', '14+19=33'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,31 unequal: No Solution Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,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,3,4 Current State: 31:[19, 26], Operations: ['44-4=40', '40-14=26'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,31 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,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,3,0 Current State: 31:[14, 21], Operations: ['44-4=40', '40-19=21'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,31 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,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,3,1 Current State: 31:[40, 5], Operations: ['44-4=40', '19-14=5'] Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,31 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,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,3,3 Current State: 31:[19, 54], Operations: ['44-4=40', '14+40=54'] Exploring Operation: 54-19=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 19*54=1026, Resulting Numbers: [1026] 1026,31 unequal: No Solution Exploring Operation: 19+54=73, Resulting Numbers: [73] 73,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,4 Current State: 31:[44, 19, 18], Operations: ['14+4=18'] Exploring Operation: 44+18=62, Resulting Numbers: [19, 62] Generated Node #0,4,0: 31:[19, 62] Operation: 44+18=62 Exploring Operation: 19-18=1, Resulting Numbers: [44, 1] Generated Node #0,4,1: 31:[44, 1] Operation: 19-18=1 Exploring Operation: 44-18=26, Resulting Numbers: [19, 26] Generated Node #0,4,2: 31:[19, 26] Operation: 44-18=26 Exploring Operation: 19+18=37, Resulting Numbers: [44, 37] Generated Node #0,4,3: 31:[44, 37] Operation: 19+18=37 Exploring Operation: 44-19=25, Resulting Numbers: [18, 25] Generated Node #0,4,4: 31:[18, 25] Operation: 44-19=25 Moving to Node #0,4,2 Current State: 31:[19, 26], Operations: ['14+4=18', '44-18=26'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,31 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,31 unequal: No Solution Moving to Node #0,4,4 Current State: 31:[18, 25], Operations: ['14+4=18', '44-19=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,31 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,31 unequal: No Solution Moving to Node #0,4,3 Current State: 31:[44, 37], Operations: ['14+4=18', '19+18=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,31 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,31 unequal: No Solution Moving to Node #0,4,0 Current State: 31:[19, 62], Operations: ['14+4=18', '44+18=62'] Exploring Operation: 19*62=1178, Resulting Numbers: [1178] 1178,31 unequal: No Solution Exploring Operation: 19+62=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,31 unequal: No Solution Moving to Node #0,4,1 Current State: 31:[44, 1], Operations: ['14+4=18', '19-18=1'] Exploring Operation: 44*1=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 44+1=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[4, 19, 30], Operations: ['44-14=30'] Exploring Operation: 19+30=49, Resulting Numbers: [4, 49] Generated Node #0,1,0: 31:[4, 49] Operation: 19+30=49 Exploring Operation: 4+19=23, Resulting Numbers: [30, 23] Generated Node #0,1,1: 31:[30, 23] Operation: 4+19=23 Exploring Operation: 30-4=26, Resulting Numbers: [19, 26] Generated Node #0,1,2: 31:[19, 26] Operation: 30-4=26 Exploring Operation: 19-4=15, Resulting Numbers: [30, 15] Generated Node #0,1,3: 31:[30, 15] Operation: 19-4=15 Exploring Operation: 4+30=34, Resulting Numbers: [19, 34] Generated Node #0,1,4: 31:[19, 34] Operation: 4+30=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[30, 23], Operations: ['44-14=30', '4+19=23'] Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,31 unequal: No Solution Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,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,4 Current State: 31:[19, 34], Operations: ['44-14=30', '4+30=34'] Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,31 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,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:[19, 26], Operations: ['44-14=30', '30-4=26'] Exploring Operation: 19*26=494, Resulting Numbers: [494] 494,31 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,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,3 Current State: 31:[30, 15], Operations: ['44-14=30', '19-4=15'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,31 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,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:[4, 49], Operations: ['44-14=30', '19+30=49'] Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,31 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,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,0 Current State: 31:[44, 4, 33], Operations: ['14+19=33'] Exploring Operation: 44-4=40, Resulting Numbers: [33, 40] Generated Node #0,0,0: 31:[33, 40] Operation: 44-4=40 Exploring Operation: 44+4=48, Resulting Numbers: [33, 48] Generated Node #0,0,1: 31:[33, 48] Operation: 44+4=48 Exploring Operation: 4+33=37, Resulting Numbers: [44, 37] Generated Node #0,0,2: 31:[44, 37] Operation: 4+33=37 Exploring Operation: 33-4=29, Resulting Numbers: [44, 29] Generated Node #0,0,3: 31:[44, 29] Operation: 33-4=29 Exploring Operation: 44/4=11, Resulting Numbers: [33, 11] Generated Node #0,0,4: 31:[33, 11] Operation: 44/4=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[33, 40], Operations: ['14+19=33', '44-4=40'] Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,31 unequal: No Solution Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,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,3 Current State: 31:[44, 29], Operations: ['14+19=33', '33-4=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,31 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,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:[33, 48], Operations: ['14+19=33', '44+4=48'] Exploring Operation: 33+48=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 33*48=1584, Resulting Numbers: [1584] 1584,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:[44, 37], Operations: ['14+19=33', '4+33=37'] Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,31 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,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,4 Current State: 31:[33, 11], Operations: ['14+19=33', '44/4=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,31 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,31 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,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_5
mult_heuristic
[ 67, 54, 22, 4 ]
22
[ "67+54=121", "4*121=484", "484/22=22" ]
Current State: 22:[67, 54, 22, 4], Operations: [] Exploring Operation: 67+54=121, Resulting Numbers: [22, 4, 121] Generated Node #2: [22, 4, 121] from Operation: 67+54=121 Current State: 22:[22, 4, 121], Operations: ['67+54=121'] Exploring Operation: 4*121=484, Resulting Numbers: [22, 484] Generated Node #3: [22, 484] from Operation: 4*121=484 Current State: 22:[22, 484], Operations: ['67+54=121', '4*121=484'] Exploring Operation: 484/22=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[67, 54, 22, 4], Operations: [] Exploring Operation: 67-4=63, Resulting Numbers: [54, 22, 63] Generated Node #0,0: 22:[54, 22, 63] Operation: 67-4=63 Exploring Operation: 54-4=50, Resulting Numbers: [67, 22, 50] Generated Node #0,1: 22:[67, 22, 50] Operation: 54-4=50 Exploring Operation: 54-22=32, Resulting Numbers: [67, 4, 32] Generated Node #0,2: 22:[67, 4, 32] Operation: 54-22=32 Exploring Operation: 67-22=45, Resulting Numbers: [54, 4, 45] Generated Node #0,3: 22:[54, 4, 45] Operation: 67-22=45 Exploring Operation: 67-54=13, Resulting Numbers: [22, 4, 13] Generated Node #0,4: 22:[22, 4, 13] Operation: 67-54=13 Moving to Node #0,4 Current State: 22:[22, 4, 13], Operations: ['67-54=13'] Exploring Operation: 22-4=18, Resulting Numbers: [13, 18] Generated Node #0,4,0: 22:[13, 18] Operation: 22-4=18 Exploring Operation: 22+4=26, Resulting Numbers: [13, 26] Generated Node #0,4,1: 22:[13, 26] Operation: 22+4=26 Exploring Operation: 4+13=17, Resulting Numbers: [22, 17] Generated Node #0,4,2: 22:[22, 17] Operation: 4+13=17 Exploring Operation: 22-13=9, Resulting Numbers: [4, 9] Generated Node #0,4,3: 22:[4, 9] Operation: 22-13=9 Exploring Operation: 13-4=9, Resulting Numbers: [22, 9] Generated Node #0,4,4: 22:[22, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[22, 9], Operations: ['67-54=13', '13-4=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,22 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[4, 9], Operations: ['67-54=13', '22-13=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[22, 17], Operations: ['67-54=13', '4+13=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,22 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[13, 18], Operations: ['67-54=13', '22-4=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 13*18=234, Resulting Numbers: [234] 234,22 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[13, 26], Operations: ['67-54=13', '22+4=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,22 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: 22:[54, 4, 45], Operations: ['67-22=45'] Exploring Operation: 54-45=9, Resulting Numbers: [4, 9] Generated Node #0,3,0: 22:[4, 9] Operation: 54-45=9 Exploring Operation: 54-4=50, Resulting Numbers: [45, 50] Generated Node #0,3,1: 22:[45, 50] Operation: 54-4=50 Exploring Operation: 54+4=58, Resulting Numbers: [45, 58] Generated Node #0,3,2: 22:[45, 58] Operation: 54+4=58 Exploring Operation: 4+45=49, Resulting Numbers: [54, 49] Generated Node #0,3,3: 22:[54, 49] Operation: 4+45=49 Exploring Operation: 45-4=41, Resulting Numbers: [54, 41] Generated Node #0,3,4: 22:[54, 41] Operation: 45-4=41 Moving to Node #0,2 Current State: 22:[67, 4, 32], Operations: ['54-22=32'] Exploring Operation: 67-32=35, Resulting Numbers: [4, 35] Generated Node #0,2,0: 22:[4, 35] Operation: 67-32=35 Exploring Operation: 32-4=28, Resulting Numbers: [67, 28] Generated Node #0,2,1: 22:[67, 28] Operation: 32-4=28 Exploring Operation: 32/4=8, Resulting Numbers: [67, 8] Generated Node #0,2,2: 22:[67, 8] Operation: 32/4=8 Exploring Operation: 67-4=63, Resulting Numbers: [32, 63] Generated Node #0,2,3: 22:[32, 63] Operation: 67-4=63 Exploring Operation: 67+4=71, Resulting Numbers: [32, 71] Generated Node #0,2,4: 22:[32, 71] Operation: 67+4=71 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[4, 35], Operations: ['54-22=32', '67-32=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,22 unequal: No Solution No 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: 22:[67, 8], Operations: ['54-22=32', '32/4=8'] Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,22 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,22 unequal: No Solution No 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: 22:[67, 28], Operations: ['54-22=32', '32-4=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,22 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,22 unequal: No Solution No 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: 22:[32, 63], Operations: ['54-22=32', '67-4=63'] Exploring Operation: 32+63=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 32*63=2016, Resulting Numbers: [2016] 2016,22 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[32, 71], Operations: ['54-22=32', '67+4=71'] Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,22 unequal: No Solution Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,22 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: 22:[54, 22, 63], Operations: ['67-4=63'] Exploring Operation: 63-54=9, Resulting Numbers: [22, 9] Generated Node #0,0,0: 22:[22, 9] Operation: 63-54=9 Exploring Operation: 54-22=32, Resulting Numbers: [63, 32] Generated Node #0,0,1: 22:[63, 32] Operation: 54-22=32 Exploring Operation: 54+63=117, Resulting Numbers: [22, 117] Generated Node #0,0,2: 22:[22, 117] Operation: 54+63=117 Exploring Operation: 63-22=41, Resulting Numbers: [54, 41] Generated Node #0,0,3: 22:[54, 41] Operation: 63-22=41 Exploring Operation: 54+22=76, Resulting Numbers: [63, 76] Generated Node #0,0,4: 22:[63, 76] Operation: 54+22=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[22, 9], Operations: ['67-4=63', '63-54=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,22 unequal: No Solution Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,22 unequal: No Solution No 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: 22:[63, 32], Operations: ['67-4=63', '54-22=32'] Exploring Operation: 63*32=2016, Resulting Numbers: [2016] 2016,22 unequal: No Solution Exploring Operation: 63-32=31, Resulting Numbers: [31] 31,22 unequal: No Solution Exploring Operation: 63+32=95, Resulting Numbers: [95] 95,22 unequal: No Solution No 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: 22:[54, 41], Operations: ['67-4=63', '63-22=41'] Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,22 unequal: No Solution No 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: 22:[22, 117], Operations: ['67-4=63', '54+63=117'] Exploring Operation: 22*117=2574, Resulting Numbers: [2574] 2574,22 unequal: No Solution Exploring Operation: 117-22=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 22+117=139, Resulting Numbers: [139] 139,22 unequal: No Solution No 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: 22:[63, 76], Operations: ['67-4=63', '54+22=76'] Exploring Operation: 63*76=4788, Resulting Numbers: [4788] 4788,22 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 63+76=139, Resulting Numbers: [139] 139,22 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: 22:[67, 22, 50], Operations: ['54-4=50'] Exploring Operation: 67+50=117, Resulting Numbers: [22, 117] Generated Node #0,1,0: 22:[22, 117] Operation: 67+50=117 Exploring Operation: 50-22=28, Resulting Numbers: [67, 28] Generated Node #0,1,1: 22:[67, 28] Operation: 50-22=28 Exploring Operation: 67+22=89, Resulting Numbers: [50, 89] Generated Node #0,1,2: 22:[50, 89] Operation: 67+22=89 Exploring Operation: 67-22=45, Resulting Numbers: [50, 45] Generated Node #0,1,3: 22:[50, 45] Operation: 67-22=45 Exploring Operation: 67-50=17, Resulting Numbers: [22, 17] Generated Node #0,1,4: 22:[22, 17] Operation: 67-50=17 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 22:[22, 17], Operations: ['54-4=50', '67-50=17'] Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,22 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,22 unequal: No Solution No 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: 22:[67, 28], Operations: ['54-4=50', '50-22=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,22 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,22 unequal: No Solution No 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: 22:[50, 45], Operations: ['54-4=50', '67-22=45'] Exploring Operation: 50*45=2250, Resulting Numbers: [2250] 2250,22 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 50+45=95, Resulting Numbers: [95] 95,22 unequal: No Solution No 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: 22:[22, 117], Operations: ['54-4=50', '67+50=117'] Exploring Operation: 22*117=2574, Resulting Numbers: [2574] 2574,22 unequal: No Solution Exploring Operation: 117-22=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 22+117=139, Resulting Numbers: [139] 139,22 unequal: No Solution No 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: 22:[50, 89], Operations: ['54-4=50', '67+22=89'] Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,22 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,22 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 22:[4, 9], Operations: ['67-22=45', '54-45=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[54, 41], Operations: ['67-22=45', '45-4=41'] Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,22 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[45, 50], Operations: ['67-22=45', '54-4=50'] Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,22 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[45, 58], Operations: ['67-22=45', '54+4=58'] Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 45+58=103, Resulting Numbers: [103] 103,22 unequal: No Solution Exploring Operation: 45*58=2610, Resulting Numbers: [2610] 2610,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[54, 49], Operations: ['67-22=45', '4+45=49'] Exploring Operation: 54*49=2646, Resulting Numbers: [2646] 2646,22 unequal: No Solution Exploring Operation: 54-49=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 54+49=103, Resulting Numbers: [103] 103,22 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 92, 2, 72 ]
79
[ "92-87=5", "2+72=74", "5+74=79" ]
Current State: 79:[87, 92, 2, 72], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [2, 72, 5] Generated Node #2: [2, 72, 5] from Operation: 92-87=5 Current State: 79:[2, 72, 5], Operations: ['92-87=5'] Exploring Operation: 2+72=74, Resulting Numbers: [5, 74] Generated Node #3: [5, 74] from Operation: 2+72=74 Current State: 79:[5, 74], Operations: ['92-87=5', '2+72=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[87, 92, 2, 72], Operations: [] Exploring Operation: 2+72=74, Resulting Numbers: [87, 92, 74] Generated Node #0,0: 79:[87, 92, 74] Operation: 2+72=74 Exploring Operation: 87-2=85, Resulting Numbers: [92, 72, 85] Generated Node #0,1: 79:[92, 72, 85] Operation: 87-2=85 Exploring Operation: 92-2=90, Resulting Numbers: [87, 72, 90] Generated Node #0,2: 79:[87, 72, 90] Operation: 92-2=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[87, 92, 74], Operations: ['2+72=74'] Exploring Operation: 92-74=18, Resulting Numbers: [87, 18] Generated Node #0,0,0: 79:[87, 18] Operation: 92-74=18 Exploring Operation: 92-87=5, Resulting Numbers: [74, 5] Generated Node #0,0,1: 79:[74, 5] Operation: 92-87=5 Exploring Operation: 87-74=13, Resulting Numbers: [92, 13] Generated Node #0,0,2: 79:[92, 13] Operation: 87-74=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[87, 18], Operations: ['2+72=74', '92-74=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,79 unequal: No Solution Exploring Operation: 87*18=1566, Resulting Numbers: [1566] 1566,79 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[74, 5], Operations: ['2+72=74', '92-87=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[87, 92, 2, 72], Operations: [] Exploring Operation: 2+72=74, Resulting Numbers: [87, 92, 74] Generated Node #0,0: 79:[87, 92, 74] Operation: 2+72=74 Moving to Node #0,0 Current State: 79:[87, 92, 74], Operations: ['2+72=74'] Exploring Operation: 92-87=5, Resulting Numbers: [74, 5] Generated Node #0,0,1: 79:[74, 5] Operation: 92-87=5 Moving to Node #0,0,1 Current State: 79:[74, 5], Operations: ['2+72=74', '92-87=5'] Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 7, 39, 3, 92 ]
98
[ "92-7=85", "39/3=13", "85+13=98" ]
Current State: 98:[7, 39, 3, 92], Operations: [] Exploring Operation: 92-7=85, Resulting Numbers: [39, 3, 85] Generated Node #2: [39, 3, 85] from Operation: 92-7=85 Current State: 98:[39, 3, 85], Operations: ['92-7=85'] Exploring Operation: 39/3=13, Resulting Numbers: [85, 13] Generated Node #3: [85, 13] from Operation: 39/3=13 Current State: 98:[85, 13], Operations: ['92-7=85', '39/3=13'] Exploring Operation: 85+13=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[7, 39, 3, 92], Operations: [] Exploring Operation: 39+3=42, Resulting Numbers: [7, 92, 42] Generated Node #0,0: 98:[7, 92, 42] Operation: 39+3=42 Exploring Operation: 7+92=99, Resulting Numbers: [39, 3, 99] Generated Node #0,1: 98:[39, 3, 99] Operation: 7+92=99 Exploring Operation: 92-39=53, Resulting Numbers: [7, 3, 53] Generated Node #0,2: 98:[7, 3, 53] Operation: 92-39=53 Exploring Operation: 39/3=13, Resulting Numbers: [7, 92, 13] Generated Node #0,3: 98:[7, 92, 13] Operation: 39/3=13 Exploring Operation: 7+39=46, Resulting Numbers: [3, 92, 46] Generated Node #0,4: 98:[3, 92, 46] Operation: 7+39=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[7, 3, 53], Operations: ['92-39=53'] Exploring Operation: 7-3=4, Resulting Numbers: [53, 4] Generated Node #0,2,0: 98:[53, 4] Operation: 7-3=4 Exploring Operation: 53-7=46, Resulting Numbers: [3, 46] Generated Node #0,2,1: 98:[3, 46] Operation: 53-7=46 Exploring Operation: 3+53=56, Resulting Numbers: [7, 56] Generated Node #0,2,2: 98:[7, 56] Operation: 3+53=56 Exploring Operation: 7+3=10, Resulting Numbers: [53, 10] Generated Node #0,2,3: 98:[53, 10] Operation: 7+3=10 Exploring Operation: 53-3=50, Resulting Numbers: [7, 50] Generated Node #0,2,4: 98:[7, 50] Operation: 53-3=50 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 98:[7, 50], Operations: ['92-39=53', '53-3=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[3, 46], Operations: ['92-39=53', '53-7=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,98 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 98:[53, 4], Operations: ['92-39=53', '7-3=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,98 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 53*4=212, Resulting Numbers: [212] 212,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 98:[7, 56], Operations: ['92-39=53', '3+53=56'] Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,98 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,98 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 98:[53, 10], Operations: ['92-39=53', '7+3=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,98 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,98 unequal: No Solution Exploring Operation: 53*10=530, Resulting Numbers: [530] 530,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 98:[7, 92, 13], Operations: ['39/3=13'] Exploring Operation: 7+13=20, Resulting Numbers: [92, 20] Generated Node #0,3,0: 98:[92, 20] Operation: 7+13=20 Exploring Operation: 92+13=105, Resulting Numbers: [7, 105] Generated Node #0,3,1: 98:[7, 105] Operation: 92+13=105 Exploring Operation: 13-7=6, Resulting Numbers: [92, 6] Generated Node #0,3,2: 98:[92, 6] Operation: 13-7=6 Exploring Operation: 7*13=91, Resulting Numbers: [92, 91] Generated Node #0,3,3: 98:[92, 91] Operation: 7*13=91 Exploring Operation: 7+92=99, Resulting Numbers: [13, 99] Generated Node #0,3,4: 98:[13, 99] Operation: 7+92=99 Moving to Node #0,3,4 Current State: 98:[13, 99], Operations: ['39/3=13', '7+92=99'] Exploring Operation: 13*99=1287, Resulting Numbers: [1287] 1287,98 unequal: No Solution Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,98 unequal: No Solution Exploring Operation: 13+99=112, Resulting Numbers: [112] 112,98 unequal: No Solution Moving to Node #0,3,2 Current State: 98:[92, 6], Operations: ['39/3=13', '13-7=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[7, 39, 3, 92], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [7, 92, 13] Generated Node #0,3: 98:[7, 92, 13] Operation: 39/3=13 Moving to Node #0,3 Current State: 98:[7, 92, 13], Operations: ['39/3=13'] Exploring Operation: 13-7=6, Resulting Numbers: [92, 6] Generated Node #0,3,2: 98:[92, 6] Operation: 13-7=6 Moving to Node #0,3,2 Current State: 98:[92, 6], Operations: ['39/3=13', '13-7=6'] Exploring Operation: 92+6=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 34, 3, 28, 53 ]
36
[ "3+53=56", "56/28=2", "34+2=36" ]
Current State: 36:[34, 3, 28, 53], Operations: [] Exploring Operation: 3+53=56, Resulting Numbers: [34, 28, 56] Generated Node #2: [34, 28, 56] from Operation: 3+53=56 Current State: 36:[34, 28, 56], Operations: ['3+53=56'] Exploring Operation: 56/28=2, Resulting Numbers: [34, 2] Generated Node #3: [34, 2] from Operation: 56/28=2 Current State: 36:[34, 2], Operations: ['3+53=56', '56/28=2'] Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[34, 3, 28, 53], Operations: [] Exploring Operation: 53-34=19, Resulting Numbers: [3, 28, 19] Generated Node #0,0: 36:[3, 28, 19] Operation: 53-34=19 Moving to Node #0,0 Current State: 36:[3, 28, 19], Operations: ['53-34=19'] Exploring Operation: 28-19=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 36:[3, 9] Operation: 28-19=9 Moving to Node #0,0,0 Current State: 36:[3, 9], Operations: ['53-34=19', '28-19=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,36 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 38, 81, 21 ]
59
[ "5+38=43", "81+21=102", "102-43=59" ]
Current State: 59:[5, 38, 81, 21], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [81, 21, 43] Generated Node #2: [81, 21, 43] from Operation: 5+38=43 Current State: 59:[81, 21, 43], Operations: ['5+38=43'] Exploring Operation: 81+21=102, Resulting Numbers: [43, 102] Generated Node #3: [43, 102] from Operation: 81+21=102 Current State: 59:[43, 102], Operations: ['5+38=43', '81+21=102'] Exploring Operation: 102-43=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[5, 38, 81, 21], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [81, 21, 43] Generated Node #0,0: 59:[81, 21, 43] Operation: 5+38=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[81, 21, 43], Operations: ['5+38=43'] Exploring Operation: 81-21=60, Resulting Numbers: [43, 60] Generated Node #0,0,0: 59:[43, 60] Operation: 81-21=60 Moving to Node #0,0,0 Current State: 59:[43, 60], Operations: ['5+38=43', '81-21=60'] Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,59 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
[ 8, 96, 64, 22 ]
54
[ "96/8=12", "64-22=42", "12+42=54" ]
Current State: 54:[8, 96, 64, 22], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [64, 22, 12] Generated Node #2: [64, 22, 12] from Operation: 96/8=12 Current State: 54:[64, 22, 12], Operations: ['96/8=12'] Exploring Operation: 64-22=42, Resulting Numbers: [12, 42] Generated Node #3: [12, 42] from Operation: 64-22=42 Current State: 54:[12, 42], Operations: ['96/8=12', '64-22=42'] Exploring Operation: 12+42=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[8, 96, 64, 22], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [96, 22, 8] Generated Node #0,0: 54:[96, 22, 8] Operation: 64/8=8 Exploring Operation: 96-22=74, Resulting Numbers: [8, 64, 74] Generated Node #0,1: 54:[8, 64, 74] Operation: 96-22=74 Exploring Operation: 96/8=12, Resulting Numbers: [64, 22, 12] Generated Node #0,2: 54:[64, 22, 12] Operation: 96/8=12 Exploring Operation: 96-64=32, Resulting Numbers: [8, 22, 32] Generated Node #0,3: 54:[8, 22, 32] Operation: 96-64=32 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[8, 22, 32], Operations: ['96-64=32'] Exploring Operation: 32/8=4, Resulting Numbers: [22, 4] Generated Node #0,3,0: 54:[22, 4] Operation: 32/8=4 Exploring Operation: 32-22=10, Resulting Numbers: [8, 10] Generated Node #0,3,1: 54:[8, 10] Operation: 32-22=10 Exploring Operation: 22+32=54, Resulting Numbers: [8, 54] Generated Node #0,3,2: 54:[8, 54] Operation: 22+32=54 Exploring Operation: 32-8=24, Resulting Numbers: [22, 24] Generated Node #0,3,3: 54:[22, 24] Operation: 32-8=24 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 54:[8, 54], Operations: ['96-64=32', '22+32=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,54 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[8, 10], Operations: ['96-64=32', '32-22=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 54:[22, 4], Operations: ['96-64=32', '32/8=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,54 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[22, 24], Operations: ['96-64=32', '32-8=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,54 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,54 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,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:[64, 22, 12], Operations: ['96/8=12'] Exploring Operation: 22-12=10, Resulting Numbers: [64, 10] Generated Node #0,2,0: 54:[64, 10] Operation: 22-12=10 Exploring Operation: 64-12=52, Resulting Numbers: [22, 52] Generated Node #0,2,1: 54:[22, 52] Operation: 64-12=52 Exploring Operation: 22+12=34, Resulting Numbers: [64, 34] Generated Node #0,2,2: 54:[64, 34] Operation: 22+12=34 Exploring Operation: 64-22=42, Resulting Numbers: [12, 42] Generated Node #0,2,3: 54:[12, 42] Operation: 64-22=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 54:[22, 52], Operations: ['96/8=12', '64-12=52'] Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,54 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,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,0 Current State: 54:[64, 10], Operations: ['96/8=12', '22-12=10'] Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,54 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[8, 96, 64, 22], Operations: [] Exploring Operation: 96/8=12, Resulting Numbers: [64, 22, 12] Generated Node #0,2: 54:[64, 22, 12] Operation: 96/8=12 Moving to Node #0,2 Current State: 54:[64, 22, 12], Operations: ['96/8=12'] Exploring Operation: 22-12=10, Resulting Numbers: [64, 10] Generated Node #0,2,0: 54:[64, 10] Operation: 22-12=10 Moving to Node #0,2,0 Current State: 54:[64, 10], Operations: ['96/8=12', '22-12=10'] Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 96, 62, 14, 4 ]
72
[ "96/4=24", "62-14=48", "24+48=72" ]
Current State: 72:[96, 62, 14, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [62, 14, 24] Generated Node #2: [62, 14, 24] from Operation: 96/4=24 Current State: 72:[62, 14, 24], Operations: ['96/4=24'] Exploring Operation: 62-14=48, Resulting Numbers: [24, 48] Generated Node #3: [24, 48] from Operation: 62-14=48 Current State: 72:[24, 48], Operations: ['96/4=24', '62-14=48'] Exploring Operation: 24+48=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[96, 62, 14, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [62, 14, 24] Generated Node #0,0: 72:[62, 14, 24] Operation: 96/4=24 Exploring Operation: 62+14=76, Resulting Numbers: [96, 4, 76] Generated Node #0,1: 72:[96, 4, 76] Operation: 62+14=76 Exploring Operation: 96-62=34, Resulting Numbers: [14, 4, 34] Generated Node #0,2: 72:[14, 4, 34] Operation: 96-62=34 Exploring Operation: 96-4=92, Resulting Numbers: [62, 14, 92] Generated Node #0,3: 72:[62, 14, 92] Operation: 96-4=92 Exploring Operation: 96-14=82, Resulting Numbers: [62, 4, 82] Generated Node #0,4: 72:[62, 4, 82] Operation: 96-14=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[14, 4, 34], Operations: ['96-62=34'] Exploring Operation: 4+34=38, Resulting Numbers: [14, 38] Generated Node #0,2,0: 72:[14, 38] Operation: 4+34=38 Exploring Operation: 14-4=10, Resulting Numbers: [34, 10] Generated Node #0,2,1: 72:[34, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [34, 18] Generated Node #0,2,2: 72:[34, 18] Operation: 14+4=18 Exploring Operation: 34-4=30, Resulting Numbers: [14, 30] Generated Node #0,2,3: 72:[14, 30] Operation: 34-4=30 Exploring Operation: 34-14=20, Resulting Numbers: [4, 20] Generated Node #0,2,4: 72:[4, 20] Operation: 34-14=20 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[34, 18], Operations: ['96-62=34', '14+4=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,72 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,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,2,4 Current State: 72:[4, 20], Operations: ['96-62=34', '34-14=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,72 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,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,2,1 Current State: 72:[34, 10], Operations: ['96-62=34', '14-4=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,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,2,0 Current State: 72:[14, 38], Operations: ['96-62=34', '4+34=38'] Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,72 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,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,2,3 Current State: 72:[14, 30], Operations: ['96-62=34', '34-4=30'] Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,72 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,72 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,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,0 Current State: 72:[62, 14, 24], Operations: ['96/4=24'] Exploring Operation: 62-14=48, Resulting Numbers: [24, 48] Generated Node #0,0,0: 72:[24, 48] Operation: 62-14=48 Exploring Operation: 14+24=38, Resulting Numbers: [62, 38] Generated Node #0,0,1: 72:[62, 38] Operation: 14+24=38 Exploring Operation: 62-24=38, Resulting Numbers: [14, 38] Generated Node #0,0,2: 72:[14, 38] Operation: 62-24=38 Exploring Operation: 24-14=10, Resulting Numbers: [62, 10] Generated Node #0,0,3: 72:[62, 10] Operation: 24-14=10 Exploring Operation: 62+14=76, Resulting Numbers: [24, 76] Generated Node #0,0,4: 72:[24, 76] Operation: 62+14=76 Moving to Node #0,0,2 Current State: 72:[14, 38], Operations: ['96/4=24', '62-24=38'] Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,72 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[24, 76], Operations: ['96/4=24', '62+14=76'] Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,72 unequal: No Solution Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,72 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[62, 10], Operations: ['96/4=24', '24-14=10'] Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 62*10=620, Resulting Numbers: [620] 620,72 unequal: No Solution Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[96, 62, 14, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [62, 14, 24] Generated Node #0,0: 72:[62, 14, 24] Operation: 96/4=24 Moving to Node #0,0 Current State: 72:[62, 14, 24], Operations: ['96/4=24'] Exploring Operation: 24-14=10, Resulting Numbers: [62, 10] Generated Node #0,0,3: 72:[62, 10] Operation: 24-14=10 Moving to Node #0,0,3 Current State: 72:[62, 10], Operations: ['96/4=24', '24-14=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
sum_heuristic
[ 59, 27, 89, 52 ]
100
[ "59-52=7", "27*7=189", "189-89=100" ]
Current State: 100:[59, 27, 89, 52], Operations: [] Exploring Operation: 59-52=7, Resulting Numbers: [27, 89, 7] Generated Node #2: [27, 89, 7] from Operation: 59-52=7 Current State: 100:[27, 89, 7], Operations: ['59-52=7'] Exploring Operation: 27*7=189, Resulting Numbers: [89, 189] Generated Node #3: [89, 189] from Operation: 27*7=189 Current State: 100:[89, 189], Operations: ['59-52=7', '27*7=189'] Exploring Operation: 189-89=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[59, 27, 89, 52], Operations: [] Exploring Operation: 59-52=7, Resulting Numbers: [27, 89, 7] Generated Node #0,0: 100:[27, 89, 7] Operation: 59-52=7 Exploring Operation: 89-59=30, Resulting Numbers: [27, 52, 30] Generated Node #0,1: 100:[27, 52, 30] Operation: 89-59=30 Exploring Operation: 59-27=32, Resulting Numbers: [89, 52, 32] Generated Node #0,2: 100:[89, 52, 32] Operation: 59-27=32 Exploring Operation: 52-27=25, Resulting Numbers: [59, 89, 25] Generated Node #0,3: 100:[59, 89, 25] Operation: 52-27=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[27, 52, 30], Operations: ['89-59=30'] Exploring Operation: 52-27=25, Resulting Numbers: [30, 25] Generated Node #0,1,0: 100:[30, 25] Operation: 52-27=25 Exploring Operation: 27+30=57, Resulting Numbers: [52, 57] Generated Node #0,1,1: 100:[52, 57] Operation: 27+30=57 Exploring Operation: 52-30=22, Resulting Numbers: [27, 22] Generated Node #0,1,2: 100:[27, 22] Operation: 52-30=22 Exploring Operation: 30-27=3, Resulting Numbers: [52, 3] Generated Node #0,1,3: 100:[52, 3] Operation: 30-27=3 Moving to Node #0,1,3 Current State: 100:[52, 3], Operations: ['89-59=30', '30-27=3'] Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,100 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[27, 22], Operations: ['89-59=30', '52-30=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,100 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[30, 25], Operations: ['89-59=30', '52-27=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[52, 57], Operations: ['89-59=30', '27+30=57'] Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,100 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,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,0 Current State: 100:[27, 89, 7], Operations: ['59-52=7'] Exploring Operation: 89+7=96, Resulting Numbers: [27, 96] Generated Node #0,0,0: 100:[27, 96] Operation: 89+7=96 Exploring Operation: 27-7=20, Resulting Numbers: [89, 20] Generated Node #0,0,1: 100:[89, 20] Operation: 27-7=20 Exploring Operation: 89-27=62, Resulting Numbers: [7, 62] Generated Node #0,0,2: 100:[7, 62] Operation: 89-27=62 Exploring Operation: 27+89=116, Resulting Numbers: [7, 116] Generated Node #0,0,3: 100:[7, 116] Operation: 27+89=116 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[27, 96], Operations: ['59-52=7', '89+7=96'] Exploring Operation: 27*96=2592, Resulting Numbers: [2592] 2592,100 unequal: No Solution Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 27+96=123, Resulting Numbers: [123] 123,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[89, 20], Operations: ['59-52=7', '27-7=20'] Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,100 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 100:[7, 62], Operations: ['59-52=7', '89-27=62'] Exploring Operation: 7*62=434, Resulting Numbers: [434] 434,100 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 100:[7, 116], Operations: ['59-52=7', '27+89=116'] Exploring Operation: 7+116=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 116-7=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 7*116=812, Resulting Numbers: [812] 812,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[89, 52, 32], Operations: ['59-27=32'] Exploring Operation: 52-32=20, Resulting Numbers: [89, 20] Generated Node #0,2,0: 100:[89, 20] Operation: 52-32=20 Exploring Operation: 89-52=37, Resulting Numbers: [32, 37] Generated Node #0,2,1: 100:[32, 37] Operation: 89-52=37 Exploring Operation: 89-32=57, Resulting Numbers: [52, 57] Generated Node #0,2,2: 100:[52, 57] Operation: 89-32=57 Exploring Operation: 89+32=121, Resulting Numbers: [52, 121] Generated Node #0,2,3: 100:[52, 121] Operation: 89+32=121 Moving to Node #0,2,2 Current State: 100:[52, 57], Operations: ['59-27=32', '89-32=57'] Exploring Operation: 57-52=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 52+57=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 52*57=2964, Resulting Numbers: [2964] 2964,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[89, 20], Operations: ['59-27=32', '52-32=20'] Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,100 unequal: No Solution Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[32, 37], Operations: ['59-27=32', '89-52=37'] Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[52, 121], Operations: ['59-27=32', '89+32=121'] Exploring Operation: 52*121=6292, Resulting Numbers: [6292] 6292,100 unequal: No Solution Exploring Operation: 121-52=69, Resulting Numbers: [69] 69,100 unequal: No Solution Exploring Operation: 52+121=173, Resulting Numbers: [173] 173,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 Current State: 100:[59, 89, 25], Operations: ['52-27=25'] Exploring Operation: 59-25=34, Resulting Numbers: [89, 34] Generated Node #0,3,0: 100:[89, 34] Operation: 59-25=34 Exploring Operation: 89+25=114, Resulting Numbers: [59, 114] Generated Node #0,3,1: 100:[59, 114] Operation: 89+25=114 Exploring Operation: 89-25=64, Resulting Numbers: [59, 64] Generated Node #0,3,2: 100:[59, 64] Operation: 89-25=64 Exploring Operation: 89-59=30, Resulting Numbers: [25, 30] Generated Node #0,3,3: 100:[25, 30] Operation: 89-59=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[25, 30], Operations: ['52-27=25', '89-59=30'] Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,100 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 100:[89, 34], Operations: ['52-27=25', '59-25=34'] Exploring Operation: 89-34=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 89*34=3026, Resulting Numbers: [3026] 3026,100 unequal: No Solution Exploring Operation: 89+34=123, Resulting Numbers: [123] 123,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 100:[59, 114], Operations: ['52-27=25', '89+25=114'] Exploring Operation: 114-59=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 59*114=6726, Resulting Numbers: [6726] 6726,100 unequal: No Solution Exploring Operation: 59+114=173, Resulting Numbers: [173] 173,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 100:[59, 64], Operations: ['52-27=25', '89-25=64'] Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,100 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,100 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 7, 74, 69, 13 ]
82
[ "69-13=56", "56/7=8", "74+8=82" ]
Current State: 82:[7, 74, 69, 13], Operations: [] Exploring Operation: 69-13=56, Resulting Numbers: [7, 74, 56] Generated Node #2: [7, 74, 56] from Operation: 69-13=56 Current State: 82:[7, 74, 56], Operations: ['69-13=56'] Exploring Operation: 56/7=8, Resulting Numbers: [74, 8] Generated Node #3: [74, 8] from Operation: 56/7=8 Current State: 82:[74, 8], Operations: ['69-13=56', '56/7=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[7, 74, 69, 13], Operations: [] Exploring Operation: 74-69=5, Resulting Numbers: [7, 13, 5] Generated Node #0,0: 82:[7, 13, 5] Operation: 74-69=5 Exploring Operation: 69+13=82, Resulting Numbers: [7, 74, 82] Generated Node #0,1: 82:[7, 74, 82] Operation: 69+13=82 Exploring Operation: 74+13=87, Resulting Numbers: [7, 69, 87] Generated Node #0,2: 82:[7, 69, 87] Operation: 74+13=87 Moving to Node #0,1 Current State: 82:[7, 74, 82], Operations: ['69+13=82'] Exploring Operation: 7+74=81, Resulting Numbers: [82, 81] Generated Node #0,1,0: 82:[82, 81] Operation: 7+74=81 Exploring Operation: 74-7=67, Resulting Numbers: [82, 67] Generated Node #0,1,1: 82:[82, 67] Operation: 74-7=67 Exploring Operation: 82-74=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 82:[7, 8] Operation: 82-74=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[82, 81], Operations: ['69+13=82', '7+74=81'] Exploring Operation: 82*81=6642, Resulting Numbers: [6642] 6642,82 unequal: No Solution Exploring Operation: 82+81=163, Resulting Numbers: [163] 163,82 unequal: No Solution Exploring Operation: 82-81=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[7, 8], Operations: ['69+13=82', '82-74=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,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:[82, 67], Operations: ['69+13=82', '74-7=67'] Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 82*67=5494, Resulting Numbers: [5494] 5494,82 unequal: No Solution Exploring Operation: 82+67=149, Resulting Numbers: [149] 149,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:[7, 13, 5], Operations: ['74-69=5'] Exploring Operation: 7-5=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 82:[13, 2] Operation: 7-5=2 Exploring Operation: 13-7=6, Resulting Numbers: [5, 6] Generated Node #0,0,1: 82:[5, 6] Operation: 13-7=6 Exploring Operation: 13-5=8, Resulting Numbers: [7, 8] Generated Node #0,0,2: 82:[7, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[5, 6], Operations: ['74-69=5', '13-7=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,82 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,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,0,0 Current State: 82:[13, 2], Operations: ['74-69=5', '7-5=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,82 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,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,0,2 Current State: 82:[7, 8], Operations: ['74-69=5', '13-5=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,82 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,82 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: 82:[7, 69, 87], Operations: ['74+13=87'] Exploring Operation: 7+69=76, Resulting Numbers: [87, 76] Generated Node #0,2,0: 82:[87, 76] Operation: 7+69=76 Exploring Operation: 87-69=18, Resulting Numbers: [7, 18] Generated Node #0,2,1: 82:[7, 18] Operation: 87-69=18 Exploring Operation: 87-7=80, Resulting Numbers: [69, 80] Generated Node #0,2,2: 82:[69, 80] Operation: 87-7=80 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[87, 76], Operations: ['74+13=87', '7+69=76'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 87*76=6612, Resulting Numbers: [6612] 6612,82 unequal: No Solution Exploring Operation: 87+76=163, Resulting Numbers: [163] 163,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,2 Current State: 82:[69, 80], Operations: ['74+13=87', '87-7=80'] Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,82 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,82 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,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:[7, 18], Operations: ['74+13=87', '87-69=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,82 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,82 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 50, 83, 2, 30 ]
73
[ "50+83=133", "2*30=60", "133-60=73" ]
Current State: 73:[50, 83, 2, 30], Operations: [] Exploring Operation: 50+83=133, Resulting Numbers: [2, 30, 133] Generated Node #2: [2, 30, 133] from Operation: 50+83=133 Current State: 73:[2, 30, 133], Operations: ['50+83=133'] Exploring Operation: 2*30=60, Resulting Numbers: [133, 60] Generated Node #3: [133, 60] from Operation: 2*30=60 Current State: 73:[133, 60], Operations: ['50+83=133', '2*30=60'] Exploring Operation: 133-60=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[50, 83, 2, 30], Operations: [] Exploring Operation: 2*30=60, Resulting Numbers: [50, 83, 60] Generated Node #0,0: 73:[50, 83, 60] Operation: 2*30=60 Moving to Node #0,0 Current State: 73:[50, 83, 60], Operations: ['2*30=60'] Exploring Operation: 50+60=110, Resulting Numbers: [83, 110] Generated Node #0,0,0: 73:[83, 110] Operation: 50+60=110 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[83, 110], Operations: ['2*30=60', '50+60=110'] Exploring Operation: 110-83=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 32, 98, 28 ]
96
[ "32*98=3136", "3136/28=112", "112-16=96" ]
Current State: 96:[16, 32, 98, 28], Operations: [] Exploring Operation: 32*98=3136, Resulting Numbers: [16, 28, 3136] Generated Node #2: [16, 28, 3136] from Operation: 32*98=3136 Current State: 96:[16, 28, 3136], Operations: ['32*98=3136'] Exploring Operation: 3136/28=112, Resulting Numbers: [16, 112] Generated Node #3: [16, 112] from Operation: 3136/28=112 Current State: 96:[16, 112], Operations: ['32*98=3136', '3136/28=112'] Exploring Operation: 112-16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[16, 32, 98, 28], Operations: [] Exploring Operation: 28-16=12, Resulting Numbers: [32, 98, 12] Generated Node #0,0: 96:[32, 98, 12] Operation: 28-16=12 Moving to Node #0,0 Current State: 96:[32, 98, 12], Operations: ['28-16=12'] Exploring Operation: 32+12=44, Resulting Numbers: [98, 44] Generated Node #0,0,0: 96:[98, 44] Operation: 32+12=44 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[98, 44], Operations: ['28-16=12', '32+12=44'] Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,96 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
[ 16, 60, 65, 75 ]
54
[ "60-16=44", "75-65=10", "44+10=54" ]
Current State: 54:[16, 60, 65, 75], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [65, 75, 44] Generated Node #2: [65, 75, 44] from Operation: 60-16=44 Current State: 54:[65, 75, 44], Operations: ['60-16=44'] Exploring Operation: 75-65=10, Resulting Numbers: [44, 10] Generated Node #3: [44, 10] from Operation: 75-65=10 Current State: 54:[44, 10], Operations: ['60-16=44', '75-65=10'] Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[16, 60, 65, 75], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [16, 60, 10] Generated Node #0,0: 54:[16, 60, 10] Operation: 75-65=10 Exploring Operation: 75-60=15, Resulting Numbers: [16, 65, 15] Generated Node #0,1: 54:[16, 65, 15] Operation: 75-60=15 Moving to Node #0,0 Current State: 54:[16, 60, 10], Operations: ['75-65=10'] Exploring Operation: 16-10=6, Resulting Numbers: [60, 6] Generated Node #0,0,0: 54:[60, 6] Operation: 16-10=6 Exploring Operation: 60/10=6, Resulting Numbers: [16, 6] Generated Node #0,0,1: 54:[16, 6] Operation: 60/10=6 Moving to Node #0,1 Current State: 54:[16, 65, 15], Operations: ['75-60=15'] Exploring Operation: 65-16=49, Resulting Numbers: [15, 49] Generated Node #0,1,0: 54:[15, 49] Operation: 65-16=49 Exploring Operation: 65-15=50, Resulting Numbers: [16, 50] Generated Node #0,1,1: 54:[16, 50] Operation: 65-15=50 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[16, 50], Operations: ['75-60=15', '65-15=50'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[15, 49], Operations: ['75-60=15', '65-16=49'] Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,54 unequal: No Solution Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,54 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: 54:[16, 6], Operations: ['75-65=10', '60/10=6'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[60, 6], Operations: ['75-65=10', '16-10=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[16, 60, 65, 75], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [16, 60, 10] Generated Node #0,0: 54:[16, 60, 10] Operation: 75-65=10 Moving to Node #0,0 Current State: 54:[16, 60, 10], Operations: ['75-65=10'] Exploring Operation: 16-10=6, Resulting Numbers: [60, 6] Generated Node #0,0,0: 54:[60, 6] Operation: 16-10=6 Moving to Node #0,0,0 Current State: 54:[60, 6], Operations: ['75-65=10', '16-10=6'] Exploring Operation: 60-6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.985243
hs_2
sum_heuristic
[ 49, 36, 91, 7 ]
62
[ "49/7=7", "91-36=55", "7+55=62" ]
Current State: 62:[49, 36, 91, 7], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [36, 91, 7] Generated Node #2: [36, 91, 7] from Operation: 49/7=7 Current State: 62:[36, 91, 7], Operations: ['49/7=7'] Exploring Operation: 91-36=55, Resulting Numbers: [7, 55] Generated Node #3: [7, 55] from Operation: 91-36=55 Current State: 62:[7, 55], Operations: ['49/7=7', '91-36=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[49, 36, 91, 7], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [36, 7, 42] Generated Node #0,0: 62:[36, 7, 42] Operation: 91-49=42 Exploring Operation: 91-36=55, Resulting Numbers: [49, 7, 55] Generated Node #0,1: 62:[49, 7, 55] Operation: 91-36=55 Exploring Operation: 91/7=13, Resulting Numbers: [49, 36, 13] Generated Node #0,2: 62:[49, 36, 13] Operation: 91/7=13 Exploring Operation: 49/7=7, Resulting Numbers: [36, 91, 7] Generated Node #0,3: 62:[36, 91, 7] Operation: 49/7=7 Moving to Node #0,0 Current State: 62:[36, 7, 42], Operations: ['91-49=42'] Exploring Operation: 36-7=29, Resulting Numbers: [42, 29] Generated Node #0,0,0: 62:[42, 29] Operation: 36-7=29 Exploring Operation: 42/7=6, Resulting Numbers: [36, 6] Generated Node #0,0,1: 62:[36, 6] Operation: 42/7=6 Exploring Operation: 42-36=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 62:[7, 6] Operation: 42-36=6 Exploring Operation: 42-7=35, Resulting Numbers: [36, 35] Generated Node #0,0,3: 62:[36, 35] Operation: 42-7=35 Moving to Node #0,1 Current State: 62:[49, 7, 55], Operations: ['91-36=55'] Exploring Operation: 49/7=7, Resulting Numbers: [55, 7] Generated Node #0,1,0: 62:[55, 7] Operation: 49/7=7 Exploring Operation: 7+55=62, Resulting Numbers: [49, 62] Generated Node #0,1,1: 62:[49, 62] Operation: 7+55=62 Exploring Operation: 49+7=56, Resulting Numbers: [55, 56] Generated Node #0,1,2: 62:[55, 56] Operation: 49+7=56 Exploring Operation: 55-49=6, Resulting Numbers: [7, 6] Generated Node #0,1,3: 62:[7, 6] Operation: 55-49=6 Moving to Node #0,2 Current State: 62:[49, 36, 13], Operations: ['91/7=13'] Exploring Operation: 49-36=13, Resulting Numbers: [13, 13] Generated Node #0,2,0: 62:[13, 13] Operation: 49-36=13 Exploring Operation: 36-13=23, Resulting Numbers: [49, 23] Generated Node #0,2,1: 62:[49, 23] Operation: 36-13=23 Exploring Operation: 49-13=36, Resulting Numbers: [36, 36] Generated Node #0,2,2: 62:[36, 36] Operation: 49-13=36 Exploring Operation: 49+13=62, Resulting Numbers: [36, 62] Generated Node #0,2,3: 62:[36, 62] Operation: 49+13=62 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[36, 62], Operations: ['91/7=13', '49+13=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,62 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,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:[36, 36], Operations: ['91/7=13', '49-13=36'] Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,62 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[49, 23], Operations: ['91/7=13', '36-13=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,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,0 Current State: 62:[13, 13], Operations: ['91/7=13', '49-36=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,62 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: 62:[36, 91, 7], Operations: ['49/7=7'] Exploring Operation: 36-7=29, Resulting Numbers: [91, 29] Generated Node #0,3,0: 62:[91, 29] Operation: 36-7=29 Exploring Operation: 91/7=13, Resulting Numbers: [36, 13] Generated Node #0,3,1: 62:[36, 13] Operation: 91/7=13 Exploring Operation: 91-7=84, Resulting Numbers: [36, 84] Generated Node #0,3,2: 62:[36, 84] Operation: 91-7=84 Exploring Operation: 91-36=55, Resulting Numbers: [7, 55] Generated Node #0,3,3: 62:[7, 55] Operation: 91-36=55 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[7, 55], Operations: ['49/7=7', '91-36=55'] Exploring Operation: 7*55=385, Resulting Numbers: [385] 385,62 unequal: No Solution Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[49, 36, 91, 7], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [36, 91, 7] Generated Node #0,3: 62:[36, 91, 7] Operation: 49/7=7 Moving to Node #0,3 Current State: 62:[36, 91, 7], Operations: ['49/7=7'] Exploring Operation: 91-36=55, Resulting Numbers: [7, 55] Generated Node #0,3,3: 62:[7, 55] Operation: 91-36=55 Moving to Node #0,3,3 Current State: 62:[7, 55], Operations: ['49/7=7', '91-36=55'] Exploring Operation: 7+55=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 76, 26, 54, 85 ]
45
[ "76+26=102", "54*85=4590", "4590/102=45" ]
Current State: 45:[76, 26, 54, 85], Operations: [] Exploring Operation: 76+26=102, Resulting Numbers: [54, 85, 102] Generated Node #2: [54, 85, 102] from Operation: 76+26=102 Current State: 45:[54, 85, 102], Operations: ['76+26=102'] Exploring Operation: 54*85=4590, Resulting Numbers: [102, 4590] Generated Node #3: [102, 4590] from Operation: 54*85=4590 Current State: 45:[102, 4590], Operations: ['76+26=102', '54*85=4590'] Exploring Operation: 4590/102=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[76, 26, 54, 85], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [76, 54, 59] Generated Node #0,0: 45:[76, 54, 59] Operation: 85-26=59 Exploring Operation: 76-26=50, Resulting Numbers: [54, 85, 50] Generated Node #0,1: 45:[54, 85, 50] Operation: 76-26=50 Exploring Operation: 85-76=9, Resulting Numbers: [26, 54, 9] Generated Node #0,2: 45:[26, 54, 9] Operation: 85-76=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[26, 54, 9], Operations: ['85-76=9'] Exploring Operation: 54-9=45, Resulting Numbers: [26, 45] Generated Node #0,2,0: 45:[26, 45] Operation: 54-9=45 Exploring Operation: 26-9=17, Resulting Numbers: [54, 17] Generated Node #0,2,1: 45:[54, 17] Operation: 26-9=17 Exploring Operation: 54/9=6, Resulting Numbers: [26, 6] Generated Node #0,2,2: 45:[26, 6] Operation: 54/9=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[26, 45], Operations: ['85-76=9', '54-9=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,45 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,45 unequal: No Solution No 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: 45:[54, 17], Operations: ['85-76=9', '26-9=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,45 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,45 unequal: No Solution No 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: 45:[26, 6], Operations: ['85-76=9', '54/9=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,45 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,45 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,45 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: 45:[76, 54, 59], Operations: ['85-26=59'] Exploring Operation: 76-54=22, Resulting Numbers: [59, 22] Generated Node #0,0,0: 45:[59, 22] Operation: 76-54=22 Exploring Operation: 59-54=5, Resulting Numbers: [76, 5] Generated Node #0,0,1: 45:[76, 5] Operation: 59-54=5 Exploring Operation: 76-59=17, Resulting Numbers: [54, 17] Generated Node #0,0,2: 45:[54, 17] Operation: 76-59=17 Moving to Node #0,0,2 Current State: 45:[54, 17], Operations: ['85-26=59', '76-59=17'] Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,45 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,45 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[59, 22], Operations: ['85-26=59', '76-54=22'] Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,45 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[76, 5], Operations: ['85-26=59', '59-54=5'] Exploring Operation: 76*5=380, Resulting Numbers: [380] 380,45 unequal: No Solution Exploring Operation: 76+5=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,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 Current State: 45:[54, 85, 50], Operations: ['76-26=50'] Exploring Operation: 85-54=31, Resulting Numbers: [50, 31] Generated Node #0,1,0: 45:[50, 31] Operation: 85-54=31 Exploring Operation: 85-50=35, Resulting Numbers: [54, 35] Generated Node #0,1,1: 45:[54, 35] Operation: 85-50=35 Exploring Operation: 54-50=4, Resulting Numbers: [85, 4] Generated Node #0,1,2: 45:[85, 4] Operation: 54-50=4 Moving to Node #0,1,0 Current State: 45:[50, 31], Operations: ['76-26=50', '85-54=31'] Exploring Operation: 50-31=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 50*31=1550, Resulting Numbers: [1550] 1550,45 unequal: No Solution Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[54, 35], Operations: ['76-26=50', '85-50=35'] Exploring Operation: 54*35=1890, Resulting Numbers: [1890] 1890,45 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,45 unequal: No Solution Exploring Operation: 54+35=89, Resulting Numbers: [89] 89,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[85, 4], Operations: ['76-26=50', '54-50=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,45 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,45 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
[ 17, 82, 25, 48 ]
76
[ "17+82=99", "48-25=23", "99-23=76" ]
Current State: 76:[17, 82, 25, 48], Operations: [] Exploring Operation: 17+82=99, Resulting Numbers: [25, 48, 99] Generated Node #2: [25, 48, 99] from Operation: 17+82=99 Current State: 76:[25, 48, 99], Operations: ['17+82=99'] Exploring Operation: 48-25=23, Resulting Numbers: [99, 23] Generated Node #3: [99, 23] from Operation: 48-25=23 Current State: 76:[99, 23], Operations: ['17+82=99', '48-25=23'] Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[17, 82, 25, 48], Operations: [] Exploring Operation: 25+48=73, Resulting Numbers: [17, 82, 73] Generated Node #0,0: 76:[17, 82, 73] Operation: 25+48=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[17, 82, 73], Operations: ['25+48=73'] Exploring Operation: 82-73=9, Resulting Numbers: [17, 9] Generated Node #0,0,0: 76:[17, 9] Operation: 82-73=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[17, 9], Operations: ['25+48=73', '82-73=9'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,76 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
[ 92, 46, 56, 21 ]
79
[ "92/46=2", "56+21=77", "2+77=79" ]
Current State: 79:[92, 46, 56, 21], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [56, 21, 2] Generated Node #2: [56, 21, 2] from Operation: 92/46=2 Current State: 79:[56, 21, 2], Operations: ['92/46=2'] Exploring Operation: 56+21=77, Resulting Numbers: [2, 77] Generated Node #3: [2, 77] from Operation: 56+21=77 Current State: 79:[2, 77], Operations: ['92/46=2', '56+21=77'] Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[92, 46, 56, 21], Operations: [] Exploring Operation: 46-21=25, Resulting Numbers: [92, 56, 25] Generated Node #0,0: 79:[92, 56, 25] Operation: 46-21=25 Exploring Operation: 56+21=77, Resulting Numbers: [92, 46, 77] Generated Node #0,1: 79:[92, 46, 77] Operation: 56+21=77 Exploring Operation: 46+21=67, Resulting Numbers: [92, 56, 67] Generated Node #0,2: 79:[92, 56, 67] Operation: 46+21=67 Exploring Operation: 92+21=113, Resulting Numbers: [46, 56, 113] Generated Node #0,3: 79:[46, 56, 113] Operation: 92+21=113 Exploring Operation: 92-21=71, Resulting Numbers: [46, 56, 71] Generated Node #0,4: 79:[46, 56, 71] Operation: 92-21=71 Moving to Node #0,1 Current State: 79:[92, 46, 77], Operations: ['56+21=77'] Exploring Operation: 46+77=123, Resulting Numbers: [92, 123] Generated Node #0,1,0: 79:[92, 123] Operation: 46+77=123 Exploring Operation: 92/46=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 79:[77, 2] Operation: 92/46=2 Exploring Operation: 92+46=138, Resulting Numbers: [77, 138] Generated Node #0,1,2: 79:[77, 138] Operation: 92+46=138 Exploring Operation: 77-46=31, Resulting Numbers: [92, 31] Generated Node #0,1,3: 79:[92, 31] Operation: 77-46=31 Exploring Operation: 92-46=46, Resulting Numbers: [77, 46] Generated Node #0,1,4: 79:[77, 46] Operation: 92-46=46 Moving to Node #0,2 Current State: 79:[92, 56, 67], Operations: ['46+21=67'] Exploring Operation: 92-56=36, Resulting Numbers: [67, 36] Generated Node #0,2,0: 79:[67, 36] Operation: 92-56=36 Exploring Operation: 92-67=25, Resulting Numbers: [56, 25] Generated Node #0,2,1: 79:[56, 25] Operation: 92-67=25 Exploring Operation: 67-56=11, Resulting Numbers: [92, 11] Generated Node #0,2,2: 79:[92, 11] Operation: 67-56=11 Exploring Operation: 92+56=148, Resulting Numbers: [67, 148] Generated Node #0,2,3: 79:[67, 148] Operation: 92+56=148 Exploring Operation: 56+67=123, Resulting Numbers: [92, 123] Generated Node #0,2,4: 79:[92, 123] Operation: 56+67=123 Moving to Node #0,4 Current State: 79:[46, 56, 71], Operations: ['92-21=71'] Exploring Operation: 46+56=102, Resulting Numbers: [71, 102] Generated Node #0,4,0: 79:[71, 102] Operation: 46+56=102 Exploring Operation: 56+71=127, Resulting Numbers: [46, 127] Generated Node #0,4,1: 79:[46, 127] Operation: 56+71=127 Exploring Operation: 56-46=10, Resulting Numbers: [71, 10] Generated Node #0,4,2: 79:[71, 10] Operation: 56-46=10 Exploring Operation: 71-46=25, Resulting Numbers: [56, 25] Generated Node #0,4,3: 79:[56, 25] Operation: 71-46=25 Exploring Operation: 46+71=117, Resulting Numbers: [56, 117] Generated Node #0,4,4: 79:[56, 117] Operation: 46+71=117 Moving to Node #0,0 Current State: 79:[92, 56, 25], Operations: ['46-21=25'] Exploring Operation: 92-56=36, Resulting Numbers: [25, 36] Generated Node #0,0,0: 79:[25, 36] Operation: 92-56=36 Exploring Operation: 56-25=31, Resulting Numbers: [92, 31] Generated Node #0,0,1: 79:[92, 31] Operation: 56-25=31 Exploring Operation: 92-25=67, Resulting Numbers: [56, 67] Generated Node #0,0,2: 79:[56, 67] Operation: 92-25=67 Exploring Operation: 92+25=117, Resulting Numbers: [56, 117] Generated Node #0,0,3: 79:[56, 117] Operation: 92+25=117 Exploring Operation: 56+25=81, Resulting Numbers: [92, 81] Generated Node #0,0,4: 79:[92, 81] Operation: 56+25=81 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 79:[92, 81], Operations: ['46-21=25', '56+25=81'] Exploring Operation: 92*81=7452, Resulting Numbers: [7452] 7452,79 unequal: No Solution Exploring Operation: 92-81=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 92+81=173, Resulting Numbers: [173] 173,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[56, 67], Operations: ['46-21=25', '92-25=67'] Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[92, 31], Operations: ['46-21=25', '56-25=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,79 unequal: No Solution Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[56, 117], Operations: ['46-21=25', '92+25=117'] Exploring Operation: 56+117=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 56*117=6552, Resulting Numbers: [6552] 6552,79 unequal: No Solution Exploring Operation: 117-56=61, Resulting Numbers: [61] 61,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[25, 36], Operations: ['46-21=25', '92-56=36'] Exploring Operation: 36-25=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 25*36=900, Resulting Numbers: [900] 900,79 unequal: No Solution Exploring Operation: 25+36=61, Resulting Numbers: [61] 61,79 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: 79:[46, 56, 113], Operations: ['92+21=113'] Exploring Operation: 46+113=159, Resulting Numbers: [56, 159] Generated Node #0,3,0: 79:[56, 159] Operation: 46+113=159 Exploring Operation: 56-46=10, Resulting Numbers: [113, 10] Generated Node #0,3,1: 79:[113, 10] Operation: 56-46=10 Exploring Operation: 113-56=57, Resulting Numbers: [46, 57] Generated Node #0,3,2: 79:[46, 57] Operation: 113-56=57 Exploring Operation: 46+56=102, Resulting Numbers: [113, 102] Generated Node #0,3,3: 79:[113, 102] Operation: 46+56=102 Exploring Operation: 113-46=67, Resulting Numbers: [56, 67] Generated Node #0,3,4: 79:[56, 67] Operation: 113-46=67 Moving to Node #0,4,0 Current State: 79:[71, 102], Operations: ['92-21=71', '46+56=102'] Exploring Operation: 71*102=7242, Resulting Numbers: [7242] 7242,79 unequal: No Solution Exploring Operation: 102-71=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 71+102=173, Resulting Numbers: [173] 173,79 unequal: No Solution Moving to Node #0,1,4 Current State: 79:[77, 46], Operations: ['56+21=77', '92-46=46'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[56, 67], Operations: ['92+21=113', '113-46=67'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 56*67=3752, Resulting Numbers: [3752] 3752,79 unequal: No Solution Exploring Operation: 56+67=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[67, 36], Operations: ['46+21=67', '92-56=36'] Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,79 unequal: No Solution Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[46, 57], Operations: ['92+21=113', '113-56=57'] Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,79 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[92, 123], Operations: ['46+21=67', '56+67=123'] Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,79 unequal: No Solution Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[92, 123], Operations: ['56+21=77', '46+77=123'] Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,79 unequal: No Solution Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[113, 102], Operations: ['92+21=113', '46+56=102'] Exploring Operation: 113-102=11, Resulting Numbers: [11] 11,79 unequal: No Solution Exploring Operation: 113*102=11526, Resulting Numbers: [11526] 11526,79 unequal: No Solution Exploring Operation: 113+102=215, Resulting Numbers: [215] 215,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[77, 138], Operations: ['56+21=77', '92+46=138'] Exploring Operation: 77+138=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 77*138=10626, Resulting Numbers: [10626] 10626,79 unequal: No Solution Exploring Operation: 138-77=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[56, 117], Operations: ['92-21=71', '46+71=117'] Exploring Operation: 56*117=6552, Resulting Numbers: [6552] 6552,79 unequal: No Solution Exploring Operation: 56+117=173, Resulting Numbers: [173] 173,79 unequal: No Solution Exploring Operation: 117-56=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[92, 31], Operations: ['56+21=77', '77-46=31'] Exploring Operation: 92-31=61, Resulting Numbers: [61] 61,79 unequal: No Solution Exploring Operation: 92*31=2852, Resulting Numbers: [2852] 2852,79 unequal: No Solution Exploring Operation: 92+31=123, Resulting Numbers: [123] 123,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[56, 25], Operations: ['92-21=71', '71-46=25'] Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[71, 10], Operations: ['92-21=71', '56-46=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 71*10=710, Resulting Numbers: [710] 710,79 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[56, 25], Operations: ['46+21=67', '92-67=25'] Exploring Operation: 56+25=81, Resulting Numbers: [81] 81,79 unequal: No Solution Exploring Operation: 56-25=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 56*25=1400, Resulting Numbers: [1400] 1400,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[77, 2], Operations: ['56+21=77', '92/46=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,79 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[92, 46, 56, 21], Operations: [] Exploring Operation: 56+21=77, Resulting Numbers: [92, 46, 77] Generated Node #0,1: 79:[92, 46, 77] Operation: 56+21=77 Moving to Node #0,1 Current State: 79:[92, 46, 77], Operations: ['56+21=77'] Exploring Operation: 92/46=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 79:[77, 2] Operation: 92/46=2 Moving to Node #0,1,1 Current State: 79:[77, 2], Operations: ['56+21=77', '92/46=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
0.919271
hs_5
sum_heuristic
[ 54, 18, 84, 45 ]
27
[ "84-54=30", "18*45=810", "810/30=27" ]
Current State: 27:[54, 18, 84, 45], Operations: [] Exploring Operation: 84-54=30, Resulting Numbers: [18, 45, 30] Generated Node #2: [18, 45, 30] from Operation: 84-54=30 Current State: 27:[18, 45, 30], Operations: ['84-54=30'] Exploring Operation: 18*45=810, Resulting Numbers: [30, 810] Generated Node #3: [30, 810] from Operation: 18*45=810 Current State: 27:[30, 810], Operations: ['84-54=30', '18*45=810'] Exploring Operation: 810/30=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[54, 18, 84, 45], Operations: [] Exploring Operation: 54-45=9, Resulting Numbers: [18, 84, 9] Generated Node #0,0: 27:[18, 84, 9] Operation: 54-45=9 Exploring Operation: 84-54=30, Resulting Numbers: [18, 45, 30] Generated Node #0,1: 27:[18, 45, 30] Operation: 84-54=30 Exploring Operation: 54/18=3, Resulting Numbers: [84, 45, 3] Generated Node #0,2: 27:[84, 45, 3] Operation: 54/18=3 Exploring Operation: 84-45=39, Resulting Numbers: [54, 18, 39] Generated Node #0,3: 27:[54, 18, 39] Operation: 84-45=39 Moving to Node #0,1 Current State: 27:[18, 45, 30], Operations: ['84-54=30'] Exploring Operation: 30-18=12, Resulting Numbers: [45, 12] Generated Node #0,1,0: 27:[45, 12] Operation: 30-18=12 Exploring Operation: 45-30=15, Resulting Numbers: [18, 15] Generated Node #0,1,1: 27:[18, 15] Operation: 45-30=15 Exploring Operation: 45-18=27, Resulting Numbers: [30, 27] Generated Node #0,1,2: 27:[30, 27] Operation: 45-18=27 Exploring Operation: 18+45=63, Resulting Numbers: [30, 63] Generated Node #0,1,3: 27:[30, 63] Operation: 18+45=63 Moving to Node #0,3 Current State: 27:[54, 18, 39], Operations: ['84-45=39'] Exploring Operation: 39-18=21, Resulting Numbers: [54, 21] Generated Node #0,3,0: 27:[54, 21] Operation: 39-18=21 Exploring Operation: 54-39=15, Resulting Numbers: [18, 15] Generated Node #0,3,1: 27:[18, 15] Operation: 54-39=15 Exploring Operation: 54-18=36, Resulting Numbers: [39, 36] Generated Node #0,3,2: 27:[39, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 27:[39, 3] Operation: 54/18=3 Moving to Node #0,0 Current State: 27:[18, 84, 9], Operations: ['54-45=9'] Exploring Operation: 84-18=66, Resulting Numbers: [9, 66] Generated Node #0,0,0: 27:[9, 66] Operation: 84-18=66 Exploring Operation: 18-9=9, Resulting Numbers: [84, 9] Generated Node #0,0,1: 27:[84, 9] Operation: 18-9=9 Exploring Operation: 18+9=27, Resulting Numbers: [84, 27] Generated Node #0,0,2: 27:[84, 27] Operation: 18+9=27 Exploring Operation: 84-9=75, Resulting Numbers: [18, 75] Generated Node #0,0,3: 27:[18, 75] Operation: 84-9=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[9, 66], Operations: ['54-45=9', '84-18=66'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,27 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 27:[84, 9], Operations: ['54-45=9', '18-9=9'] Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,27 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 27:[84, 27], Operations: ['54-45=9', '18+9=27'] Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,27 unequal: No Solution Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,27 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 27:[18, 75], Operations: ['54-45=9', '84-9=75'] Exploring Operation: 18*75=1350, Resulting Numbers: [1350] 1350,27 unequal: No Solution Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,27 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: 27:[84, 45, 3], Operations: ['54/18=3'] Exploring Operation: 45/3=15, Resulting Numbers: [84, 15] Generated Node #0,2,0: 27:[84, 15] Operation: 45/3=15 Exploring Operation: 84-45=39, Resulting Numbers: [3, 39] Generated Node #0,2,1: 27:[3, 39] Operation: 84-45=39 Exploring Operation: 84/3=28, Resulting Numbers: [45, 28] Generated Node #0,2,2: 27:[45, 28] Operation: 84/3=28 Exploring Operation: 84-3=81, Resulting Numbers: [45, 81] Generated Node #0,2,3: 27:[45, 81] Operation: 84-3=81 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 27:[3, 39], Operations: ['54/18=3', '84-45=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,27 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,27 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[45, 28], Operations: ['54/18=3', '84/3=28'] Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 45*28=1260, Resulting Numbers: [1260] 1260,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 27:[84, 15], Operations: ['54/18=3', '45/3=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,27 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,27 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 27:[45, 81], Operations: ['54/18=3', '84-3=81'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,27 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,27 unequal: No Solution Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 27:[30, 27], Operations: ['84-54=30', '45-18=27'] Exploring Operation: 30*27=810, Resulting Numbers: [810] 810,27 unequal: No Solution Exploring Operation: 30+27=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,3,3 Current State: 27:[39, 3], Operations: ['84-45=39', '54/18=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,27 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,27 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,27 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,3,1 Current State: 27:[18, 15], Operations: ['84-45=39', '54-39=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,27 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[18, 15], Operations: ['84-54=30', '45-30=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,27 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[45, 12], Operations: ['84-54=30', '30-18=12'] Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,27 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,27 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,27 unequal: No Solution Moving to Node #0,3,2 Current State: 27:[39, 36], Operations: ['84-45=39', '54-18=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,27 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,27 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,3,0 Current State: 27:[54, 21], Operations: ['84-45=39', '39-18=21'] Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,27 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,27 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[30, 63], Operations: ['84-54=30', '18+45=63'] Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,27 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,27 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 37, 55, 51, 68 ]
27
[ "37+55=92", "51+68=119", "119-92=27" ]
Current State: 27:[37, 55, 51, 68], Operations: [] Exploring Operation: 37+55=92, Resulting Numbers: [51, 68, 92] Generated Node #2: [51, 68, 92] from Operation: 37+55=92 Current State: 27:[51, 68, 92], Operations: ['37+55=92'] Exploring Operation: 51+68=119, Resulting Numbers: [92, 119] Generated Node #3: [92, 119] from Operation: 51+68=119 Current State: 27:[92, 119], Operations: ['37+55=92', '51+68=119'] Exploring Operation: 119-92=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[37, 55, 51, 68], Operations: [] Exploring Operation: 68-37=31, Resulting Numbers: [55, 51, 31] Generated Node #0,0: 27:[55, 51, 31] Operation: 68-37=31 Exploring Operation: 68-51=17, Resulting Numbers: [37, 55, 17] Generated Node #0,1: 27:[37, 55, 17] Operation: 68-51=17 Exploring Operation: 68-55=13, Resulting Numbers: [37, 51, 13] Generated Node #0,2: 27:[37, 51, 13] Operation: 68-55=13 Exploring Operation: 55-51=4, Resulting Numbers: [37, 68, 4] Generated Node #0,3: 27:[37, 68, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[37, 51, 13], Operations: ['68-55=13'] Exploring Operation: 51-37=14, Resulting Numbers: [13, 14] Generated Node #0,2,0: 27:[13, 14] Operation: 51-37=14 Exploring Operation: 37-13=24, Resulting Numbers: [51, 24] Generated Node #0,2,1: 27:[51, 24] Operation: 37-13=24 Exploring Operation: 37+13=50, Resulting Numbers: [51, 50] Generated Node #0,2,2: 27:[51, 50] Operation: 37+13=50 Exploring Operation: 51-13=38, Resulting Numbers: [37, 38] Generated Node #0,2,3: 27:[37, 38] Operation: 51-13=38 Moving to Node #0,2,0 Current State: 27:[13, 14], Operations: ['68-55=13', '51-37=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[37, 55, 51, 68], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [37, 51, 13] Generated Node #0,2: 27:[37, 51, 13] Operation: 68-55=13 Moving to Node #0,2 Current State: 27:[37, 51, 13], Operations: ['68-55=13'] Exploring Operation: 51-37=14, Resulting Numbers: [13, 14] Generated Node #0,2,0: 27:[13, 14] Operation: 51-37=14 Moving to Node #0,2,0 Current State: 27:[13, 14], Operations: ['68-55=13', '51-37=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 49, 38, 38, 72 ]
72
[ "38-38=0", "49*0=0", "72+0=72" ]
Current State: 72:[49, 38, 38, 72], Operations: [] Exploring Operation: 38-38=0, Resulting Numbers: [49, 72, 0] Generated Node #2: [49, 72, 0] from Operation: 38-38=0 Current State: 72:[49, 72, 0], Operations: ['38-38=0'] Exploring Operation: 49*0=0, Resulting Numbers: [72, 0] Generated Node #3: [72, 0] from Operation: 49*0=0 Current State: 72:[72, 0], Operations: ['38-38=0', '49*0=0'] Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[49, 38, 38, 72], Operations: [] Exploring Operation: 49-38=11, Resulting Numbers: [38, 72, 11] Generated Node #0,0: 72:[38, 72, 11] Operation: 49-38=11 Exploring Operation: 72-49=23, Resulting Numbers: [38, 38, 23] Generated Node #0,1: 72:[38, 38, 23] Operation: 72-49=23 Exploring Operation: 49-38=11, Resulting Numbers: [38, 72, 11] Generated Node #0,2: 72:[38, 72, 11] Operation: 49-38=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[38, 72, 11], Operations: ['49-38=11'] Exploring Operation: 38-11=27, Resulting Numbers: [72, 27] Generated Node #0,0,0: 72:[72, 27] Operation: 38-11=27 Exploring Operation: 38+11=49, Resulting Numbers: [72, 49] Generated Node #0,0,1: 72:[72, 49] Operation: 38+11=49 Exploring Operation: 72-38=34, Resulting Numbers: [11, 34] Generated Node #0,0,2: 72:[11, 34] Operation: 72-38=34 Moving to Node #0,0,0 Current State: 72:[72, 27], Operations: ['49-38=11', '38-11=27'] Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[11, 34], Operations: ['49-38=11', '72-38=34'] Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,72 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[72, 49], Operations: ['49-38=11', '38+11=49'] Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,72 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,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,2 Current State: 72:[38, 72, 11], Operations: ['49-38=11'] Exploring Operation: 38-11=27, Resulting Numbers: [72, 27] Generated Node #0,2,0: 72:[72, 27] Operation: 38-11=27 Exploring Operation: 72-38=34, Resulting Numbers: [11, 34] Generated Node #0,2,1: 72:[11, 34] Operation: 72-38=34 Exploring Operation: 38+11=49, Resulting Numbers: [72, 49] Generated Node #0,2,2: 72:[72, 49] Operation: 38+11=49 Moving to Node #0,2,0 Current State: 72:[72, 27], Operations: ['49-38=11', '38-11=27'] Exploring Operation: 72*27=1944, Resulting Numbers: [1944] 1944,72 unequal: No Solution Exploring Operation: 72+27=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 72-27=45, Resulting Numbers: [45] 45,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[11, 34], Operations: ['49-38=11', '72-38=34'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 11*34=374, Resulting Numbers: [374] 374,72 unequal: No Solution Exploring Operation: 11+34=45, Resulting Numbers: [45] 45,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[72, 49], Operations: ['49-38=11', '38+11=49'] Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,72 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[38, 38, 23], Operations: ['72-49=23'] Exploring Operation: 38-38=0, Resulting Numbers: [23, 0] Generated Node #0,1,0: 72:[23, 0] Operation: 38-38=0 Exploring Operation: 38+38=76, Resulting Numbers: [23, 76] Generated Node #0,1,1: 72:[23, 76] Operation: 38+38=76 Exploring Operation: 38/38=1, Resulting Numbers: [23, 1] Generated Node #0,1,2: 72:[23, 1] Operation: 38/38=1 Moving to Node #0,1,2 Current State: 72:[23, 1], Operations: ['72-49=23', '38/38=1'] Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[23, 0], Operations: ['72-49=23', '38-38=0'] Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[23, 76], Operations: ['72-49=23', '38+38=76'] Exploring Operation: 23+76=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 23*76=1748, Resulting Numbers: [1748] 1748,72 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,72 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
[ 65, 5, 82, 4 ]
67
[ "65-5=60", "60/4=15", "82-15=67" ]
Current State: 67:[65, 5, 82, 4], Operations: [] Exploring Operation: 65-5=60, Resulting Numbers: [82, 4, 60] Generated Node #2: [82, 4, 60] from Operation: 65-5=60 Current State: 67:[82, 4, 60], Operations: ['65-5=60'] Exploring Operation: 60/4=15, Resulting Numbers: [82, 15] Generated Node #3: [82, 15] from Operation: 60/4=15 Current State: 67:[82, 15], Operations: ['65-5=60', '60/4=15'] Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[65, 5, 82, 4], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [65, 4, 77] Generated Node #0,0: 67:[65, 4, 77] Operation: 82-5=77 Exploring Operation: 5*4=20, Resulting Numbers: [65, 82, 20] Generated Node #0,1: 67:[65, 82, 20] Operation: 5*4=20 Exploring Operation: 5+4=9, Resulting Numbers: [65, 82, 9] Generated Node #0,2: 67:[65, 82, 9] Operation: 5+4=9 Moving to Node #0,1 Current State: 67:[65, 82, 20], Operations: ['5*4=20'] Exploring Operation: 65+20=85, Resulting Numbers: [82, 85] Generated Node #0,1,0: 67:[82, 85] Operation: 65+20=85 Exploring Operation: 65-20=45, Resulting Numbers: [82, 45] Generated Node #0,1,1: 67:[82, 45] Operation: 65-20=45 Exploring Operation: 82-20=62, Resulting Numbers: [65, 62] Generated Node #0,1,2: 67:[65, 62] Operation: 82-20=62 Moving to Node #0,0 Current State: 67:[65, 4, 77], Operations: ['82-5=77'] Exploring Operation: 65-4=61, Resulting Numbers: [77, 61] Generated Node #0,0,0: 67:[77, 61] Operation: 65-4=61 Exploring Operation: 77-4=73, Resulting Numbers: [65, 73] Generated Node #0,0,1: 67:[65, 73] Operation: 77-4=73 Exploring Operation: 65+4=69, Resulting Numbers: [77, 69] Generated Node #0,0,2: 67:[77, 69] Operation: 65+4=69 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[65, 73], Operations: ['82-5=77', '77-4=73'] Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,67 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[77, 69], Operations: ['82-5=77', '65+4=69'] Exploring Operation: 77+69=146, Resulting Numbers: [146] 146,67 unequal: No Solution Exploring Operation: 77*69=5313, Resulting Numbers: [5313] 5313,67 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[77, 61], Operations: ['82-5=77', '65-4=61'] Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 67:[65, 82, 9], Operations: ['5+4=9'] Exploring Operation: 65+9=74, Resulting Numbers: [82, 74] Generated Node #0,2,0: 67:[82, 74] Operation: 65+9=74 Exploring Operation: 65-9=56, Resulting Numbers: [82, 56] Generated Node #0,2,1: 67:[82, 56] Operation: 65-9=56 Exploring Operation: 82-9=73, Resulting Numbers: [65, 73] Generated Node #0,2,2: 67:[65, 73] Operation: 82-9=73 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[65, 73], Operations: ['5+4=9', '82-9=73'] Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,67 unequal: No Solution Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[82, 74], Operations: ['5+4=9', '65+9=74'] Exploring Operation: 82+74=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 82*74=6068, Resulting Numbers: [6068] 6068,67 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[82, 56], Operations: ['5+4=9', '65-9=56'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,67 unequal: No Solution Exploring Operation: 82*56=4592, Resulting Numbers: [4592] 4592,67 unequal: No Solution Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 67:[65, 62], Operations: ['5*4=20', '82-20=62'] Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[82, 85], Operations: ['5*4=20', '65+20=85'] Exploring Operation: 82*85=6970, Resulting Numbers: [6970] 6970,67 unequal: No Solution Exploring Operation: 82+85=167, Resulting Numbers: [167] 167,67 unequal: No Solution Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[82, 45], Operations: ['5*4=20', '65-20=45'] Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,67 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,67 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 19, 54, 17, 40 ]
74
[ "19-17=2", "40/2=20", "54+20=74" ]
Current State: 74:[19, 54, 17, 40], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [54, 40, 2] Generated Node #2: [54, 40, 2] from Operation: 19-17=2 Current State: 74:[54, 40, 2], Operations: ['19-17=2'] Exploring Operation: 40/2=20, Resulting Numbers: [54, 20] Generated Node #3: [54, 20] from Operation: 40/2=20 Current State: 74:[54, 20], Operations: ['19-17=2', '40/2=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[19, 54, 17, 40], Operations: [] Exploring Operation: 19+54=73, Resulting Numbers: [17, 40, 73] Generated Node #0,0: 74:[17, 40, 73] Operation: 19+54=73 Moving to Node #0,0 Current State: 74:[17, 40, 73], Operations: ['19+54=73'] Exploring Operation: 40-17=23, Resulting Numbers: [73, 23] Generated Node #0,0,0: 74:[73, 23] Operation: 40-17=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[73, 23], Operations: ['19+54=73', '40-17=23'] Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 93, 2, 21, 91 ]
68
[ "93+21=114", "2*91=182", "182-114=68" ]
Current State: 68:[93, 2, 21, 91], Operations: [] Exploring Operation: 93+21=114, Resulting Numbers: [2, 91, 114] Generated Node #2: [2, 91, 114] from Operation: 93+21=114 Current State: 68:[2, 91, 114], Operations: ['93+21=114'] Exploring Operation: 2*91=182, Resulting Numbers: [114, 182] Generated Node #3: [114, 182] from Operation: 2*91=182 Current State: 68:[114, 182], Operations: ['93+21=114', '2*91=182'] Exploring Operation: 182-114=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[93, 2, 21, 91], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [2, 91, 72] Generated Node #0,0: 68:[2, 91, 72] Operation: 93-21=72 Exploring Operation: 93-2=91, Resulting Numbers: [21, 91, 91] Generated Node #0,1: 68:[21, 91, 91] Operation: 93-2=91 Exploring Operation: 93-91=2, Resulting Numbers: [2, 21, 2] Generated Node #0,2: 68:[2, 21, 2] Operation: 93-91=2 Exploring Operation: 21-2=19, Resulting Numbers: [93, 91, 19] Generated Node #0,3: 68:[93, 91, 19] Operation: 21-2=19 Exploring Operation: 91-21=70, Resulting Numbers: [93, 2, 70] Generated Node #0,4: 68:[93, 2, 70] Operation: 91-21=70 Moving to Node #0,2 Current State: 68:[2, 21, 2], Operations: ['93-91=2'] Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,2,0: 68:[2, 19] Operation: 21-2=19 Exploring Operation: 2/2=1, Resulting Numbers: [21, 1] Generated Node #0,2,1: 68:[21, 1] Operation: 2/2=1 Exploring Operation: 21-2=19, Resulting Numbers: [2, 19] Generated Node #0,2,2: 68:[2, 19] Operation: 21-2=19 Exploring Operation: 2*2=4, Resulting Numbers: [21, 4] Generated Node #0,2,3: 68:[21, 4] Operation: 2*2=4 Exploring Operation: 2+2=4, Resulting Numbers: [21, 4] Generated Node #0,2,4: 68:[21, 4] Operation: 2+2=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[2, 19], Operations: ['93-91=2', '21-2=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[2, 19], Operations: ['93-91=2', '21-2=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,68 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[21, 4], Operations: ['93-91=2', '2*2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[21, 4], Operations: ['93-91=2', '2+2=4'] Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,68 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[21, 1], Operations: ['93-91=2', '2/2=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 68:[93, 2, 70], Operations: ['91-21=70'] Exploring Operation: 93+2=95, Resulting Numbers: [70, 95] Generated Node #0,4,0: 68:[70, 95] Operation: 93+2=95 Exploring Operation: 93-70=23, Resulting Numbers: [2, 23] Generated Node #0,4,1: 68:[2, 23] Operation: 93-70=23 Exploring Operation: 93-2=91, Resulting Numbers: [70, 91] Generated Node #0,4,2: 68:[70, 91] Operation: 93-2=91 Exploring Operation: 70-2=68, Resulting Numbers: [93, 68] Generated Node #0,4,3: 68:[93, 68] Operation: 70-2=68 Exploring Operation: 70/2=35, Resulting Numbers: [93, 35] Generated Node #0,4,4: 68:[93, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 68:[2, 91, 72], Operations: ['93-21=72'] Exploring Operation: 72/2=36, Resulting Numbers: [91, 36] Generated Node #0,0,0: 68:[91, 36] Operation: 72/2=36 Exploring Operation: 91-72=19, Resulting Numbers: [2, 19] Generated Node #0,0,1: 68:[2, 19] Operation: 91-72=19 Exploring Operation: 72-2=70, Resulting Numbers: [91, 70] Generated Node #0,0,2: 68:[91, 70] Operation: 72-2=70 Exploring Operation: 2+91=93, Resulting Numbers: [72, 93] Generated Node #0,0,3: 68:[72, 93] Operation: 2+91=93 Exploring Operation: 91-2=89, Resulting Numbers: [72, 89] Generated Node #0,0,4: 68:[72, 89] Operation: 91-2=89 Moving to Node #0,1 Current State: 68:[21, 91, 91], Operations: ['93-2=91'] Exploring Operation: 21+91=112, Resulting Numbers: [91, 112] Generated Node #0,1,0: 68:[91, 112] Operation: 21+91=112 Exploring Operation: 91-21=70, Resulting Numbers: [91, 70] Generated Node #0,1,1: 68:[91, 70] Operation: 91-21=70 Exploring Operation: 91-91=0, Resulting Numbers: [21, 0] Generated Node #0,1,2: 68:[21, 0] Operation: 91-91=0 Exploring Operation: 91/91=1, Resulting Numbers: [21, 1] Generated Node #0,1,3: 68:[21, 1] Operation: 91/91=1 Exploring Operation: 91-21=70, Resulting Numbers: [91, 70] Generated Node #0,1,4: 68:[91, 70] Operation: 91-21=70 Moving to Node #0,3 Current State: 68:[93, 91, 19], Operations: ['21-2=19'] Exploring Operation: 93+19=112, Resulting Numbers: [91, 112] Generated Node #0,3,0: 68:[91, 112] Operation: 93+19=112 Exploring Operation: 91-19=72, Resulting Numbers: [93, 72] Generated Node #0,3,1: 68:[93, 72] Operation: 91-19=72 Exploring Operation: 93-19=74, Resulting Numbers: [91, 74] Generated Node #0,3,2: 68:[91, 74] Operation: 93-19=74 Exploring Operation: 93-91=2, Resulting Numbers: [19, 2] Generated Node #0,3,3: 68:[19, 2] Operation: 93-91=2 Exploring Operation: 91+19=110, Resulting Numbers: [93, 110] Generated Node #0,3,4: 68:[93, 110] Operation: 91+19=110 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[19, 2], Operations: ['21-2=19', '93-91=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,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,3,1 Current State: 68:[93, 72], Operations: ['21-2=19', '91-19=72'] Exploring Operation: 93+72=165, Resulting Numbers: [165] 165,68 unequal: No Solution Exploring Operation: 93*72=6696, Resulting Numbers: [6696] 6696,68 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,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,3,2 Current State: 68:[91, 74], Operations: ['21-2=19', '93-19=74'] Exploring Operation: 91+74=165, Resulting Numbers: [165] 165,68 unequal: No Solution Exploring Operation: 91*74=6734, Resulting Numbers: [6734] 6734,68 unequal: No Solution Exploring Operation: 91-74=17, Resulting Numbers: [17] 17,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,3,0 Current State: 68:[91, 112], Operations: ['21-2=19', '93+19=112'] Exploring Operation: 91*112=10192, Resulting Numbers: [10192] 10192,68 unequal: No Solution Exploring Operation: 91+112=203, Resulting Numbers: [203] 203,68 unequal: No Solution Exploring Operation: 112-91=21, Resulting Numbers: [21] 21,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,3,4 Current State: 68:[93, 110], Operations: ['21-2=19', '91+19=110'] Exploring Operation: 110-93=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 93+110=203, Resulting Numbers: [203] 203,68 unequal: No Solution Exploring Operation: 93*110=10230, Resulting Numbers: [10230] 10230,68 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: 68:[2, 19], Operations: ['93-21=72', '91-72=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[21, 1], Operations: ['93-2=91', '91/91=1'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,68 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,68 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,68 unequal: No Solution Moving to Node #0,4,1 Current State: 68:[2, 23], Operations: ['91-21=70', '93-70=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,68 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[21, 0], Operations: ['93-2=91', '91-91=0'] Exploring Operation: 21*0=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 21-0=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 21+0=21, Resulting Numbers: [21] 21,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[91, 36], Operations: ['93-21=72', '72/2=36'] Exploring Operation: 91*36=3276, Resulting Numbers: [3276] 3276,68 unequal: No Solution Exploring Operation: 91-36=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 91+36=127, Resulting Numbers: [127] 127,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[91, 70], Operations: ['93-2=91', '91-21=70'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,68 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[93, 68], Operations: ['91-21=70', '70-2=68'] Exploring Operation: 93*68=6324, Resulting Numbers: [6324] 6324,68 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,68 unequal: No Solution Exploring Operation: 93+68=161, Resulting Numbers: [161] 161,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[91, 70], Operations: ['93-2=91', '91-21=70'] Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,68 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,68 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[72, 89], Operations: ['93-21=72', '91-2=89'] Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,68 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,68 unequal: No Solution Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[70, 91], Operations: ['91-21=70', '93-2=91'] Exploring Operation: 70*91=6370, Resulting Numbers: [6370] 6370,68 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 70+91=161, Resulting Numbers: [161] 161,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[91, 70], Operations: ['93-21=72', '72-2=70'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,68 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,68 unequal: No Solution Moving to Node #0,4,4 Current State: 68:[93, 35], Operations: ['91-21=70', '70/2=35'] Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,68 unequal: No Solution Exploring Operation: 93*35=3255, Resulting Numbers: [3255] 3255,68 unequal: No Solution Exploring Operation: 93+35=128, Resulting Numbers: [128] 128,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[72, 93], Operations: ['93-21=72', '2+91=93'] Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,68 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,68 unequal: No Solution Moving to Node #0,4,0 Current State: 68:[70, 95], Operations: ['91-21=70', '93+2=95'] Exploring Operation: 70+95=165, Resulting Numbers: [165] 165,68 unequal: No Solution Exploring Operation: 70*95=6650, Resulting Numbers: [6650] 6650,68 unequal: No Solution Exploring Operation: 95-70=25, Resulting Numbers: [25] 25,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[91, 112], Operations: ['93-2=91', '21+91=112'] Exploring Operation: 91+112=203, Resulting Numbers: [203] 203,68 unequal: No Solution Exploring Operation: 112-91=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 91*112=10192, Resulting Numbers: [10192] 10192,68 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 85, 29, 81, 42 ]
95
[ "85-29=56", "81-42=39", "56+39=95" ]
Current State: 95:[85, 29, 81, 42], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [81, 42, 56] Generated Node #2: [81, 42, 56] from Operation: 85-29=56 Current State: 95:[81, 42, 56], Operations: ['85-29=56'] Exploring Operation: 81-42=39, Resulting Numbers: [56, 39] Generated Node #3: [56, 39] from Operation: 81-42=39 Current State: 95:[56, 39], Operations: ['85-29=56', '81-42=39'] Exploring Operation: 56+39=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[85, 29, 81, 42], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [29, 42, 4] Generated Node #0,0: 95:[29, 42, 4] Operation: 85-81=4 Exploring Operation: 42-29=13, Resulting Numbers: [85, 81, 13] Generated Node #0,1: 95:[85, 81, 13] Operation: 42-29=13 Moving to Node #0,1 Current State: 95:[85, 81, 13], Operations: ['42-29=13'] Exploring Operation: 81+13=94, Resulting Numbers: [85, 94] Generated Node #0,1,0: 95:[85, 94] Operation: 81+13=94 Exploring Operation: 85-81=4, Resulting Numbers: [13, 4] Generated Node #0,1,1: 95:[13, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 95:[29, 42, 4], Operations: ['85-81=4'] Exploring Operation: 42-29=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 95:[4, 13] Operation: 42-29=13 Exploring Operation: 29+42=71, Resulting Numbers: [4, 71] Generated Node #0,0,1: 95:[4, 71] Operation: 29+42=71 Moving to Node #0,1,1 Current State: 95:[13, 4], Operations: ['42-29=13', '85-81=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[4, 13], Operations: ['85-81=4', '42-29=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,95 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[85, 94], Operations: ['42-29=13', '81+13=94'] Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 85+94=179, Resulting Numbers: [179] 179,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[4, 71], Operations: ['85-81=4', '29+42=71'] Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,95 unequal: No Solution Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,95 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 85, 21, 26, 5 ]
86
[ "26-21=5", "5/5=1", "85+1=86" ]
Current State: 86:[85, 21, 26, 5], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [85, 5, 5] Generated Node #2: [85, 5, 5] from Operation: 26-21=5 Current State: 86:[85, 5, 5], Operations: ['26-21=5'] Exploring Operation: 5/5=1, Resulting Numbers: [85, 1] Generated Node #3: [85, 1] from Operation: 5/5=1 Current State: 86:[85, 1], Operations: ['26-21=5', '5/5=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[85, 21, 26, 5], Operations: [] Exploring Operation: 21+5=26, Resulting Numbers: [85, 26, 26] Generated Node #0,0: 86:[85, 26, 26] Operation: 21+5=26 Exploring Operation: 26-21=5, Resulting Numbers: [85, 5, 5] Generated Node #0,1: 86:[85, 5, 5] Operation: 26-21=5 Exploring Operation: 26+5=31, Resulting Numbers: [85, 21, 31] Generated Node #0,2: 86:[85, 21, 31] Operation: 26+5=31 Exploring Operation: 21-5=16, Resulting Numbers: [85, 26, 16] Generated Node #0,3: 86:[85, 26, 16] Operation: 21-5=16 Exploring Operation: 21+26=47, Resulting Numbers: [85, 5, 47] Generated Node #0,4: 86:[85, 5, 47] Operation: 21+26=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[85, 5, 5], Operations: ['26-21=5'] Exploring Operation: 85+5=90, Resulting Numbers: [5, 90] Generated Node #0,1,0: 86:[5, 90] Operation: 85+5=90 Exploring Operation: 85+5=90, Resulting Numbers: [5, 90] Generated Node #0,1,1: 86:[5, 90] Operation: 85+5=90 Exploring Operation: 5-5=0, Resulting Numbers: [85, 0] Generated Node #0,1,2: 86:[85, 0] Operation: 5-5=0 Exploring Operation: 5/5=1, Resulting Numbers: [85, 1] Generated Node #0,1,3: 86:[85, 1] Operation: 5/5=1 Exploring Operation: 85-5=80, Resulting Numbers: [5, 80] Generated Node #0,1,4: 86:[5, 80] Operation: 85-5=80 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[85, 1], Operations: ['26-21=5', '5/5=1'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,86 unequal: No Solution Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[85, 21, 26, 5], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [85, 5, 5] Generated Node #0,1: 86:[85, 5, 5] Operation: 26-21=5 Moving to Node #0,1 Current State: 86:[85, 5, 5], Operations: ['26-21=5'] Exploring Operation: 5/5=1, Resulting Numbers: [85, 1] Generated Node #0,1,3: 86:[85, 1] Operation: 5/5=1 Moving to Node #0,1,3 Current State: 86:[85, 1], Operations: ['26-21=5', '5/5=1'] Exploring Operation: 85+1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 48, 2, 2, 1 ]
49
[ "48+2=50", "2-1=1", "50-1=49" ]
Current State: 49:[48, 2, 2, 1], Operations: [] Exploring Operation: 48+2=50, Resulting Numbers: [1, 50] Generated Node #2: [1, 50] from Operation: 48+2=50 Current State: 49:[1, 50], Operations: ['48+2=50'] Exploring Operation: 2-1=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 2-1=1 Current State: 49:[50, 1], Operations: ['48+2=50', '2-1=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[48, 2, 2, 1], Operations: [] Exploring Operation: 2+1=3, Resulting Numbers: [48, 2, 3] Generated Node #0,0: 49:[48, 2, 3] Operation: 2+1=3 Exploring Operation: 2*2=4, Resulting Numbers: [48, 1, 4] Generated Node #0,1: 49:[48, 1, 4] Operation: 2*2=4 Exploring Operation: 2+1=3, Resulting Numbers: [48, 2, 3] Generated Node #0,2: 49:[48, 2, 3] Operation: 2+1=3 Exploring Operation: 2+2=4, Resulting Numbers: [48, 1, 4] Generated Node #0,3: 49:[48, 1, 4] Operation: 2+2=4 Exploring Operation: 48+1=49, Resulting Numbers: [2, 2, 49] Generated Node #0,4: 49:[2, 2, 49] Operation: 48+1=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[48, 2, 3], Operations: ['2+1=3'] Exploring Operation: 48+2=50, Resulting Numbers: [3, 50] Generated Node #0,0,0: 49:[3, 50] Operation: 48+2=50 Exploring Operation: 48+3=51, Resulting Numbers: [2, 51] Generated Node #0,0,1: 49:[2, 51] Operation: 48+3=51 Exploring Operation: 48-2=46, Resulting Numbers: [3, 46] Generated Node #0,0,2: 49:[3, 46] Operation: 48-2=46 Exploring Operation: 2*3=6, Resulting Numbers: [48, 6] Generated Node #0,0,3: 49:[48, 6] Operation: 2*3=6 Exploring Operation: 2+3=5, Resulting Numbers: [48, 5] Generated Node #0,0,4: 49:[48, 5] Operation: 2+3=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[48, 6], Operations: ['2+1=3', '2*3=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,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,4 Current State: 49:[48, 5], Operations: ['2+1=3', '2+3=5'] Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,49 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,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,0 Current State: 49:[3, 50], Operations: ['2+1=3', '48+2=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,49 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,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:[2, 51], Operations: ['2+1=3', '48+3=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,49 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[48, 2, 2, 1], Operations: [] Exploring Operation: 2+1=3, Resulting Numbers: [48, 2, 3] Generated Node #0,0: 49:[48, 2, 3] Operation: 2+1=3 Moving to Node #0,0 Current State: 49:[48, 2, 3], Operations: ['2+1=3'] Exploring Operation: 48+3=51, Resulting Numbers: [2, 51] Generated Node #0,0,1: 49:[2, 51] Operation: 48+3=51 Moving to Node #0,0,1 Current State: 49:[2, 51], Operations: ['2+1=3', '48+3=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 19, 70, 98, 5 ]
52
[ "70-19=51", "98+5=103", "103-51=52" ]
Current State: 52:[19, 70, 98, 5], Operations: [] Exploring Operation: 70-19=51, Resulting Numbers: [98, 5, 51] Generated Node #2: [98, 5, 51] from Operation: 70-19=51 Current State: 52:[98, 5, 51], Operations: ['70-19=51'] Exploring Operation: 98+5=103, Resulting Numbers: [51, 103] Generated Node #3: [51, 103] from Operation: 98+5=103 Current State: 52:[51, 103], Operations: ['70-19=51', '98+5=103'] Exploring Operation: 103-51=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[19, 70, 98, 5], Operations: [] Exploring Operation: 98-19=79, Resulting Numbers: [70, 5, 79] Generated Node #0,0: 52:[70, 5, 79] Operation: 98-19=79 Exploring Operation: 70-19=51, Resulting Numbers: [98, 5, 51] Generated Node #0,1: 52:[98, 5, 51] Operation: 70-19=51 Exploring Operation: 98-70=28, Resulting Numbers: [19, 5, 28] Generated Node #0,2: 52:[19, 5, 28] Operation: 98-70=28 Exploring Operation: 70/5=14, Resulting Numbers: [19, 98, 14] Generated Node #0,3: 52:[19, 98, 14] Operation: 70/5=14 Exploring Operation: 19-5=14, Resulting Numbers: [70, 98, 14] Generated Node #0,4: 52:[70, 98, 14] Operation: 19-5=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[19, 5, 28], Operations: ['98-70=28'] Exploring Operation: 28-19=9, Resulting Numbers: [5, 9] Generated Node #0,2,0: 52:[5, 9] Operation: 28-19=9 Exploring Operation: 19+28=47, Resulting Numbers: [5, 47] Generated Node #0,2,1: 52:[5, 47] Operation: 19+28=47 Exploring Operation: 19+5=24, Resulting Numbers: [28, 24] Generated Node #0,2,2: 52:[28, 24] Operation: 19+5=24 Exploring Operation: 19-5=14, Resulting Numbers: [28, 14] Generated Node #0,2,3: 52:[28, 14] Operation: 19-5=14 Exploring Operation: 28-5=23, Resulting Numbers: [19, 23] Generated Node #0,2,4: 52:[19, 23] Operation: 28-5=23 Moving to Node #0,2,3 Current State: 52:[28, 14], Operations: ['98-70=28', '19-5=14'] Exploring Operation: 28*14=392, Resulting Numbers: [392] 392,52 unequal: No Solution Exploring Operation: 28+14=42, Resulting Numbers: [42] 42,52 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[28, 24], Operations: ['98-70=28', '19+5=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[19, 70, 98, 5], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [19, 5, 28] Generated Node #0,2: 52:[19, 5, 28] Operation: 98-70=28 Moving to Node #0,2 Current State: 52:[19, 5, 28], Operations: ['98-70=28'] Exploring Operation: 19+5=24, Resulting Numbers: [28, 24] Generated Node #0,2,2: 52:[28, 24] Operation: 19+5=24 Moving to Node #0,2,2 Current State: 52:[28, 24], Operations: ['98-70=28', '19+5=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 52, 2, 36, 21 ]
89
[ "52*2=104", "36-21=15", "104-15=89" ]
Current State: 89:[52, 2, 36, 21], Operations: [] Exploring Operation: 52*2=104, Resulting Numbers: [36, 21, 104] Generated Node #2: [36, 21, 104] from Operation: 52*2=104 Current State: 89:[36, 21, 104], Operations: ['52*2=104'] Exploring Operation: 36-21=15, Resulting Numbers: [104, 15] Generated Node #3: [104, 15] from Operation: 36-21=15 Current State: 89:[104, 15], Operations: ['52*2=104', '36-21=15'] Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[52, 2, 36, 21], Operations: [] Exploring Operation: 2*36=72, Resulting Numbers: [52, 21, 72] Generated Node #0,0: 89:[52, 21, 72] Operation: 2*36=72 Exploring Operation: 2*21=42, Resulting Numbers: [52, 36, 42] Generated Node #0,1: 89:[52, 36, 42] Operation: 2*21=42 Exploring Operation: 52*2=104, Resulting Numbers: [36, 21, 104] Generated Node #0,2: 89:[36, 21, 104] Operation: 52*2=104 Exploring Operation: 52+2=54, Resulting Numbers: [36, 21, 54] Generated Node #0,3: 89:[36, 21, 54] Operation: 52+2=54 Moving to Node #0,0 Current State: 89:[52, 21, 72], Operations: ['2*36=72'] Exploring Operation: 52-21=31, Resulting Numbers: [72, 31] Generated Node #0,0,0: 89:[72, 31] Operation: 52-21=31 Exploring Operation: 21+72=93, Resulting Numbers: [52, 93] Generated Node #0,0,1: 89:[52, 93] Operation: 21+72=93 Exploring Operation: 52+21=73, Resulting Numbers: [72, 73] Generated Node #0,0,2: 89:[72, 73] Operation: 52+21=73 Exploring Operation: 72-21=51, Resulting Numbers: [52, 51] Generated Node #0,0,3: 89:[52, 51] Operation: 72-21=51 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[72, 73], Operations: ['2*36=72', '52+21=73'] Exploring Operation: 72*73=5256, Resulting Numbers: [5256] 5256,89 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 72+73=145, Resulting Numbers: [145] 145,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[52, 93], Operations: ['2*36=72', '21+72=93'] Exploring Operation: 52+93=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 93-52=41, Resulting Numbers: [41] 41,89 unequal: No Solution Exploring Operation: 52*93=4836, Resulting Numbers: [4836] 4836,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[72, 31], Operations: ['2*36=72', '52-21=31'] Exploring Operation: 72+31=103, Resulting Numbers: [103] 103,89 unequal: No Solution Exploring Operation: 72*31=2232, Resulting Numbers: [2232] 2232,89 unequal: No Solution Exploring Operation: 72-31=41, Resulting Numbers: [41] 41,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[52, 51], Operations: ['2*36=72', '72-21=51'] Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,89 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,89 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,89 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: 89:[36, 21, 104], Operations: ['52*2=104'] Exploring Operation: 104-36=68, Resulting Numbers: [21, 68] Generated Node #0,2,0: 89:[21, 68] Operation: 104-36=68 Exploring Operation: 36+21=57, Resulting Numbers: [104, 57] Generated Node #0,2,1: 89:[104, 57] Operation: 36+21=57 Exploring Operation: 104-21=83, Resulting Numbers: [36, 83] Generated Node #0,2,2: 89:[36, 83] Operation: 104-21=83 Exploring Operation: 36-21=15, Resulting Numbers: [104, 15] Generated Node #0,2,3: 89:[104, 15] Operation: 36-21=15 Moving to Node #0,1 Current State: 89:[52, 36, 42], Operations: ['2*21=42'] Exploring Operation: 36+42=78, Resulting Numbers: [52, 78] Generated Node #0,1,0: 89:[52, 78] Operation: 36+42=78 Exploring Operation: 52+36=88, Resulting Numbers: [42, 88] Generated Node #0,1,1: 89:[42, 88] Operation: 52+36=88 Exploring Operation: 52+42=94, Resulting Numbers: [36, 94] Generated Node #0,1,2: 89:[36, 94] Operation: 52+42=94 Exploring Operation: 52-36=16, Resulting Numbers: [42, 16] Generated Node #0,1,3: 89:[42, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[52, 78], Operations: ['2*21=42', '36+42=78'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,89 unequal: No Solution Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,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,1 Current State: 89:[42, 88], Operations: ['2*21=42', '52+36=88'] Exploring Operation: 42+88=130, Resulting Numbers: [130] 130,89 unequal: No Solution Exploring Operation: 42*88=3696, Resulting Numbers: [3696] 3696,89 unequal: No Solution Exploring Operation: 88-42=46, Resulting Numbers: [46] 46,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[36, 94], Operations: ['2*21=42', '52+42=94'] Exploring Operation: 94-36=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 36+94=130, Resulting Numbers: [130] 130,89 unequal: No Solution Exploring Operation: 36*94=3384, Resulting Numbers: [3384] 3384,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,3 Current State: 89:[42, 16], Operations: ['2*21=42', '52-36=16'] Exploring Operation: 42+16=58, Resulting Numbers: [58] 58,89 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 42*16=672, Resulting Numbers: [672] 672,89 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: 89:[36, 21, 54], Operations: ['52+2=54'] Exploring Operation: 36+21=57, Resulting Numbers: [54, 57] Generated Node #0,3,0: 89:[54, 57] Operation: 36+21=57 Exploring Operation: 36+54=90, Resulting Numbers: [21, 90] Generated Node #0,3,1: 89:[21, 90] Operation: 36+54=90 Exploring Operation: 21+54=75, Resulting Numbers: [36, 75] Generated Node #0,3,2: 89:[36, 75] Operation: 21+54=75 Exploring Operation: 36-21=15, Resulting Numbers: [54, 15] Generated Node #0,3,3: 89:[54, 15] Operation: 36-21=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 89:[54, 57], Operations: ['52+2=54', '36+21=57'] Exploring Operation: 54+57=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 54*57=3078, Resulting Numbers: [3078] 3078,89 unequal: No Solution Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 89:[36, 75], Operations: ['52+2=54', '21+54=75'] Exploring Operation: 36+75=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 36*75=2700, Resulting Numbers: [2700] 2700,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 89:[21, 90], Operations: ['52+2=54', '36+54=90'] Exploring Operation: 21+90=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 21*90=1890, Resulting Numbers: [1890] 1890,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 89:[54, 15], Operations: ['52+2=54', '36-21=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,89 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,89 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 89:[104, 57], Operations: ['52*2=104', '36+21=57'] Exploring Operation: 104+57=161, Resulting Numbers: [161] 161,89 unequal: No Solution Exploring Operation: 104*57=5928, Resulting Numbers: [5928] 5928,89 unequal: No Solution Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[36, 83], Operations: ['52*2=104', '104-21=83'] Exploring Operation: 36*83=2988, Resulting Numbers: [2988] 2988,89 unequal: No Solution Exploring Operation: 36+83=119, Resulting Numbers: [119] 119,89 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[104, 15], Operations: ['52*2=104', '36-21=15'] Exploring Operation: 104+15=119, Resulting Numbers: [119] 119,89 unequal: No Solution Exploring Operation: 104*15=1560, Resulting Numbers: [1560] 1560,89 unequal: No Solution Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[52, 2, 36, 21], Operations: [] Exploring Operation: 52*2=104, Resulting Numbers: [36, 21, 104] Generated Node #0,2: 89:[36, 21, 104] Operation: 52*2=104 Moving to Node #0,2 Current State: 89:[36, 21, 104], Operations: ['52*2=104'] Exploring Operation: 36-21=15, Resulting Numbers: [104, 15] Generated Node #0,2,3: 89:[104, 15] Operation: 36-21=15 Moving to Node #0,2,3 Current State: 89:[104, 15], Operations: ['52*2=104', '36-21=15'] Exploring Operation: 104-15=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.940104
hs_4
mult_heuristic
[ 76, 47, 5, 89 ]
29
[ "76+47=123", "5+89=94", "123-94=29" ]
Current State: 29:[76, 47, 5, 89], Operations: [] Exploring Operation: 76+47=123, Resulting Numbers: [5, 89, 123] Generated Node #2: [5, 89, 123] from Operation: 76+47=123 Current State: 29:[5, 89, 123], Operations: ['76+47=123'] Exploring Operation: 5+89=94, Resulting Numbers: [123, 94] Generated Node #3: [123, 94] from Operation: 5+89=94 Current State: 29:[123, 94], Operations: ['76+47=123', '5+89=94'] Exploring Operation: 123-94=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[76, 47, 5, 89], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [47, 5, 13] Generated Node #0,0: 29:[47, 5, 13] Operation: 89-76=13 Exploring Operation: 89-47=42, Resulting Numbers: [76, 5, 42] Generated Node #0,1: 29:[76, 5, 42] Operation: 89-47=42 Exploring Operation: 76-47=29, Resulting Numbers: [5, 89, 29] Generated Node #0,2: 29:[5, 89, 29] Operation: 76-47=29 Moving to Node #0,0 Current State: 29:[47, 5, 13], Operations: ['89-76=13'] Exploring Operation: 47-13=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 29:[5, 34] Operation: 47-13=34 Exploring Operation: 5+13=18, Resulting Numbers: [47, 18] Generated Node #0,0,1: 29:[47, 18] Operation: 5+13=18 Exploring Operation: 47-5=42, Resulting Numbers: [13, 42] Generated Node #0,0,2: 29:[13, 42] Operation: 47-5=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[5, 34], Operations: ['89-76=13', '47-13=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[76, 47, 5, 89], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [47, 5, 13] Generated Node #0,0: 29:[47, 5, 13] Operation: 89-76=13 Moving to Node #0,0 Current State: 29:[47, 5, 13], Operations: ['89-76=13'] Exploring Operation: 47-13=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 29:[5, 34] Operation: 47-13=34 Moving to Node #0,0,0 Current State: 29:[5, 34], Operations: ['89-76=13', '47-13=34'] Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 93, 62, 62, 99 ]
97
[ "93-62=31", "62/31=2", "99-2=97" ]
Current State: 97:[93, 62, 62, 99], Operations: [] Exploring Operation: 93-62=31, Resulting Numbers: [99, 31] Generated Node #2: [99, 31] from Operation: 93-62=31 Current State: 97:[99, 31], Operations: ['93-62=31'] Exploring Operation: 62/31=2, Resulting Numbers: [99, 2] Generated Node #3: [99, 2] from Operation: 62/31=2 Current State: 97:[99, 2], Operations: ['93-62=31', '62/31=2'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[93, 62, 62, 99], Operations: [] Exploring Operation: 93+62=155, Resulting Numbers: [62, 99, 155] Generated Node #0,0: 97:[62, 99, 155] Operation: 93+62=155 Exploring Operation: 99-62=37, Resulting Numbers: [93, 62, 37] Generated Node #0,1: 97:[93, 62, 37] Operation: 99-62=37 Exploring Operation: 93+62=155, Resulting Numbers: [62, 99, 155] Generated Node #0,2: 97:[62, 99, 155] Operation: 93+62=155 Exploring Operation: 62+62=124, Resulting Numbers: [93, 99, 124] Generated Node #0,3: 97:[93, 99, 124] Operation: 62+62=124 Moving to Node #0,3 Current State: 97:[93, 99, 124], Operations: ['62+62=124'] Exploring Operation: 124-99=25, Resulting Numbers: [93, 25] Generated Node #0,3,0: 97:[93, 25] Operation: 124-99=25 Exploring Operation: 124-93=31, Resulting Numbers: [99, 31] Generated Node #0,3,1: 97:[99, 31] Operation: 124-93=31 Exploring Operation: 99-93=6, Resulting Numbers: [124, 6] Generated Node #0,3,2: 97:[124, 6] Operation: 99-93=6 Exploring Operation: 93+99=192, Resulting Numbers: [124, 192] Generated Node #0,3,3: 97:[124, 192] Operation: 93+99=192 Moving to Node #0,2 Current State: 97:[62, 99, 155], Operations: ['93+62=155'] Exploring Operation: 155-62=93, Resulting Numbers: [99, 93] Generated Node #0,2,0: 97:[99, 93] Operation: 155-62=93 Exploring Operation: 155-99=56, Resulting Numbers: [62, 56] Generated Node #0,2,1: 97:[62, 56] Operation: 155-99=56 Exploring Operation: 99-62=37, Resulting Numbers: [155, 37] Generated Node #0,2,2: 97:[155, 37] Operation: 99-62=37 Exploring Operation: 62+99=161, Resulting Numbers: [155, 161] Generated Node #0,2,3: 97:[155, 161] Operation: 62+99=161 Moving to Node #0,0 Current State: 97:[62, 99, 155], Operations: ['93+62=155'] Exploring Operation: 155-99=56, Resulting Numbers: [62, 56] Generated Node #0,0,0: 97:[62, 56] Operation: 155-99=56 Exploring Operation: 155-62=93, Resulting Numbers: [99, 93] Generated Node #0,0,1: 97:[99, 93] Operation: 155-62=93 Exploring Operation: 62+99=161, Resulting Numbers: [155, 161] Generated Node #0,0,2: 97:[155, 161] Operation: 62+99=161 Exploring Operation: 99-62=37, Resulting Numbers: [155, 37] Generated Node #0,0,3: 97:[155, 37] Operation: 99-62=37 Moving to Node #0,1 Current State: 97:[93, 62, 37], Operations: ['99-62=37'] Exploring Operation: 93-37=56, Resulting Numbers: [62, 56] Generated Node #0,1,0: 97:[62, 56] Operation: 93-37=56 Exploring Operation: 62+37=99, Resulting Numbers: [93, 99] Generated Node #0,1,1: 97:[93, 99] Operation: 62+37=99 Exploring Operation: 62-37=25, Resulting Numbers: [93, 25] Generated Node #0,1,2: 97:[93, 25] Operation: 62-37=25 Exploring Operation: 93+37=130, Resulting Numbers: [62, 130] Generated Node #0,1,3: 97:[62, 130] Operation: 93+37=130 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[93, 99], Operations: ['99-62=37', '62+37=99'] Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 93*99=9207, Resulting Numbers: [9207] 9207,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 97:[62, 130], Operations: ['99-62=37', '93+37=130'] Exploring Operation: 130-62=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 62+130=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 62*130=8060, Resulting Numbers: [8060] 8060,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[62, 56], Operations: ['99-62=37', '93-37=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,97 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[93, 25], Operations: ['99-62=37', '62-37=25'] Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,97 unequal: No Solution Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 97:[99, 93], Operations: ['93+62=155', '155-62=93'] Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,97 unequal: No Solution Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[99, 93], Operations: ['93+62=155', '155-62=93'] Exploring Operation: 99+93=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 99*93=9207, Resulting Numbers: [9207] 9207,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[99, 31], Operations: ['62+62=124', '124-93=31'] Exploring Operation: 99+31=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 99*31=3069, Resulting Numbers: [3069] 3069,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[62, 56], Operations: ['93+62=155', '155-99=56'] Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[93, 25], Operations: ['62+62=124', '124-99=25'] Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,97 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[62, 56], Operations: ['93+62=155', '155-99=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,97 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[155, 37], Operations: ['93+62=155', '99-62=37'] Exploring Operation: 155*37=5735, Resulting Numbers: [5735] 5735,97 unequal: No Solution Exploring Operation: 155+37=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 155-37=118, Resulting Numbers: [118] 118,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[124, 6], Operations: ['62+62=124', '99-93=6'] Exploring Operation: 124+6=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 124-6=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 124*6=744, Resulting Numbers: [744] 744,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[155, 37], Operations: ['93+62=155', '99-62=37'] Exploring Operation: 155-37=118, Resulting Numbers: [118] 118,97 unequal: No Solution Exploring Operation: 155*37=5735, Resulting Numbers: [5735] 5735,97 unequal: No Solution Exploring Operation: 155+37=192, Resulting Numbers: [192] 192,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[155, 161], Operations: ['93+62=155', '62+99=161'] Exploring Operation: 161-155=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 155+161=316, Resulting Numbers: [316] 316,97 unequal: No Solution Exploring Operation: 155*161=24955, Resulting Numbers: [24955] 24955,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[155, 161], Operations: ['93+62=155', '62+99=161'] Exploring Operation: 161-155=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 155+161=316, Resulting Numbers: [316] 316,97 unequal: No Solution Exploring Operation: 155*161=24955, Resulting Numbers: [24955] 24955,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[124, 192], Operations: ['62+62=124', '93+99=192'] Exploring Operation: 192-124=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 124+192=316, Resulting Numbers: [316] 316,97 unequal: No Solution Exploring Operation: 124*192=23808, Resulting Numbers: [23808] 23808,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 80, 2, 14, 32 ]
12
[ "14+32=46", "2*46=92", "92-80=12" ]
Current State: 12:[80, 2, 14, 32], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [80, 2, 46] Generated Node #2: [80, 2, 46] from Operation: 14+32=46 Current State: 12:[80, 2, 46], Operations: ['14+32=46'] Exploring Operation: 2*46=92, Resulting Numbers: [80, 92] Generated Node #3: [80, 92] from Operation: 2*46=92 Current State: 12:[80, 92], Operations: ['14+32=46', '2*46=92'] Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[80, 2, 14, 32], Operations: [] Exploring Operation: 80-32=48, Resulting Numbers: [2, 14, 48] Generated Node #0,0: 12:[2, 14, 48] Operation: 80-32=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[2, 14, 48], Operations: ['80-32=48'] Exploring Operation: 48/2=24, Resulting Numbers: [14, 24] Generated Node #0,0,0: 12:[14, 24] Operation: 48/2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[14, 24], Operations: ['80-32=48', '48/2=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 84, 6, 13 ]
25
[ "18*13=234", "234-84=150", "150/6=25" ]
Current State: 25:[18, 84, 6, 13], Operations: [] Exploring Operation: 18*13=234, Resulting Numbers: [84, 6, 234] Generated Node #2: [84, 6, 234] from Operation: 18*13=234 Current State: 25:[84, 6, 234], Operations: ['18*13=234'] Exploring Operation: 234-84=150, Resulting Numbers: [6, 150] Generated Node #3: [6, 150] from Operation: 234-84=150 Current State: 25:[6, 150], Operations: ['18*13=234', '234-84=150'] Exploring Operation: 150/6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[18, 84, 6, 13], Operations: [] Exploring Operation: 84-18=66, Resulting Numbers: [6, 13, 66] Generated Node #0,0: 25:[6, 13, 66] Operation: 84-18=66 Exploring Operation: 84-13=71, Resulting Numbers: [18, 6, 71] Generated Node #0,1: 25:[18, 6, 71] Operation: 84-13=71 Exploring Operation: 84/6=14, Resulting Numbers: [18, 13, 14] Generated Node #0,2: 25:[18, 13, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[18, 13, 14], Operations: ['84/6=14'] Exploring Operation: 18-14=4, Resulting Numbers: [13, 4] Generated Node #0,2,0: 25:[13, 4] Operation: 18-14=4 Exploring Operation: 13+14=27, Resulting Numbers: [18, 27] Generated Node #0,2,1: 25:[18, 27] Operation: 13+14=27 Exploring Operation: 18-13=5, Resulting Numbers: [14, 5] Generated Node #0,2,2: 25:[14, 5] Operation: 18-13=5 Moving to Node #0,2,0 Current State: 25:[13, 4], Operations: ['84/6=14', '18-14=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[18, 27], Operations: ['84/6=14', '13+14=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,25 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[14, 5], Operations: ['84/6=14', '18-13=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[6, 13, 66], Operations: ['84-18=66'] Exploring Operation: 66-13=53, Resulting Numbers: [6, 53] Generated Node #0,0,0: 25:[6, 53] Operation: 66-13=53 Exploring Operation: 66/6=11, Resulting Numbers: [13, 11] Generated Node #0,0,1: 25:[13, 11] Operation: 66/6=11 Exploring Operation: 13-6=7, Resulting Numbers: [66, 7] Generated Node #0,0,2: 25:[66, 7] Operation: 13-6=7 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[13, 11], Operations: ['84-18=66', '66/6=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,25 unequal: No Solution No 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: 25:[6, 53], Operations: ['84-18=66', '66-13=53'] Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,25 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,25 unequal: No Solution No 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: 25:[66, 7], Operations: ['84-18=66', '13-6=7'] Exploring Operation: 66-7=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 66*7=462, Resulting Numbers: [462] 462,25 unequal: No Solution Exploring Operation: 66+7=73, Resulting Numbers: [73] 73,25 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: 25:[18, 6, 71], Operations: ['84-13=71'] Exploring Operation: 71-6=65, Resulting Numbers: [18, 65] Generated Node #0,1,0: 25:[18, 65] Operation: 71-6=65 Exploring Operation: 71-18=53, Resulting Numbers: [6, 53] Generated Node #0,1,1: 25:[6, 53] Operation: 71-18=53 Exploring Operation: 18+6=24, Resulting Numbers: [71, 24] Generated Node #0,1,2: 25:[71, 24] Operation: 18+6=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[6, 53], Operations: ['84-13=71', '71-18=53'] Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,25 unequal: No Solution Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,25 unequal: No Solution No 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: 25:[18, 65], Operations: ['84-13=71', '71-6=65'] Exploring Operation: 18*65=1170, Resulting Numbers: [1170] 1170,25 unequal: No Solution Exploring Operation: 18+65=83, Resulting Numbers: [83] 83,25 unequal: No Solution Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,25 unequal: No Solution No 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: 25:[71, 24], Operations: ['84-13=71', '18+6=24'] Exploring Operation: 71*24=1704, Resulting Numbers: [1704] 1704,25 unequal: No Solution Exploring Operation: 71+24=95, Resulting Numbers: [95] 95,25 unequal: No Solution Exploring Operation: 71-24=47, Resulting Numbers: [47] 47,25 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
[ 73, 83, 88, 55 ]
16
[ "83-73=10", "88*10=880", "880/55=16" ]
Current State: 16:[73, 83, 88, 55], Operations: [] Exploring Operation: 83-73=10, Resulting Numbers: [88, 55, 10] Generated Node #2: [88, 55, 10] from Operation: 83-73=10 Current State: 16:[88, 55, 10], Operations: ['83-73=10'] Exploring Operation: 88*10=880, Resulting Numbers: [55, 880] Generated Node #3: [55, 880] from Operation: 88*10=880 Current State: 16:[55, 880], Operations: ['83-73=10', '88*10=880'] Exploring Operation: 880/55=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[73, 83, 88, 55], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [73, 55, 5] Generated Node #0,0: 16:[73, 55, 5] Operation: 88-83=5 Moving to Node #0,0 Current State: 16:[73, 55, 5], Operations: ['88-83=5'] Exploring Operation: 73-55=18, Resulting Numbers: [5, 18] Generated Node #0,0,0: 16:[5, 18] Operation: 73-55=18 Moving to Node #0,0,0 Current State: 16:[5, 18], Operations: ['88-83=5', '73-55=18'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,16 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 20, 36, 32, 54 ]
52
[ "36-20=16", "32/16=2", "54-2=52" ]
Current State: 52:[20, 36, 32, 54], Operations: [] Exploring Operation: 36-20=16, Resulting Numbers: [32, 54, 16] Generated Node #2: [32, 54, 16] from Operation: 36-20=16 Current State: 52:[32, 54, 16], Operations: ['36-20=16'] Exploring Operation: 32/16=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 32/16=2 Current State: 52:[54, 2], Operations: ['36-20=16', '32/16=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[20, 36, 32, 54], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [20, 54, 4] Generated Node #0,0: 52:[20, 54, 4] Operation: 36-32=4 Exploring Operation: 36-20=16, Resulting Numbers: [32, 54, 16] Generated Node #0,1: 52:[32, 54, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [32, 54, 56] Generated Node #0,2: 52:[32, 54, 56] Operation: 20+36=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[20, 54, 4], Operations: ['36-32=4'] Exploring Operation: 20-4=16, Resulting Numbers: [54, 16] Generated Node #0,0,0: 52:[54, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [54, 5] Generated Node #0,0,1: 52:[54, 5] Operation: 20/4=5 Exploring Operation: 20+4=24, Resulting Numbers: [54, 24] Generated Node #0,0,2: 52:[54, 24] Operation: 20+4=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[54, 5], Operations: ['36-32=4', '20/4=5'] Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,52 unequal: No Solution No 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: 52:[54, 24], Operations: ['36-32=4', '20+4=24'] Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,52 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,52 unequal: No Solution No 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: 52:[54, 16], Operations: ['36-32=4', '20-4=16'] Exploring Operation: 54*16=864, Resulting Numbers: [864] 864,52 unequal: No Solution Exploring Operation: 54+16=70, Resulting Numbers: [70] 70,52 unequal: No Solution Exploring Operation: 54-16=38, Resulting Numbers: [38] 38,52 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: 52:[32, 54, 16], Operations: ['36-20=16'] Exploring Operation: 32-16=16, Resulting Numbers: [54, 16] Generated Node #0,1,0: 52:[54, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 32/16=2 Exploring Operation: 32+16=48, Resulting Numbers: [54, 48] Generated Node #0,1,2: 52:[54, 48] Operation: 32+16=48 Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['36-20=16', '32/16=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[20, 36, 32, 54], Operations: [] Exploring Operation: 36-20=16, Resulting Numbers: [32, 54, 16] Generated Node #0,1: 52:[32, 54, 16] Operation: 36-20=16 Moving to Node #0,1 Current State: 52:[32, 54, 16], Operations: ['36-20=16'] Exploring Operation: 32/16=2, Resulting Numbers: [54, 2] Generated Node #0,1,1: 52:[54, 2] Operation: 32/16=2 Moving to Node #0,1,1 Current State: 52:[54, 2], Operations: ['36-20=16', '32/16=2'] Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
sum_heuristic
[ 68, 4, 78, 55 ]
74
[ "68+78=146", "4*55=220", "220-146=74" ]
Current State: 74:[68, 4, 78, 55], Operations: [] Exploring Operation: 68+78=146, Resulting Numbers: [4, 55, 146] Generated Node #2: [4, 55, 146] from Operation: 68+78=146 Current State: 74:[4, 55, 146], Operations: ['68+78=146'] Exploring Operation: 4*55=220, Resulting Numbers: [146, 220] Generated Node #3: [146, 220] from Operation: 4*55=220 Current State: 74:[146, 220], Operations: ['68+78=146', '4*55=220'] Exploring Operation: 220-146=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[68, 4, 78, 55], Operations: [] Exploring Operation: 78-4=74, Resulting Numbers: [68, 55, 74] Generated Node #0,0: 74:[68, 55, 74] Operation: 78-4=74 Exploring Operation: 68-55=13, Resulting Numbers: [4, 78, 13] Generated Node #0,1: 74:[4, 78, 13] Operation: 68-55=13 Exploring Operation: 78-55=23, Resulting Numbers: [68, 4, 23] Generated Node #0,2: 74:[68, 4, 23] Operation: 78-55=23 Exploring Operation: 68+4=72, Resulting Numbers: [78, 55, 72] Generated Node #0,3: 74:[78, 55, 72] Operation: 68+4=72 Moving to Node #0,1 Current State: 74:[4, 78, 13], Operations: ['68-55=13'] Exploring Operation: 78-13=65, Resulting Numbers: [4, 65] Generated Node #0,1,0: 74:[4, 65] Operation: 78-13=65 Exploring Operation: 78-4=74, Resulting Numbers: [13, 74] Generated Node #0,1,1: 74:[13, 74] Operation: 78-4=74 Exploring Operation: 78/13=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 74:[4, 6] Operation: 78/13=6 Exploring Operation: 13-4=9, Resulting Numbers: [78, 9] Generated Node #0,1,3: 74:[78, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[4, 6], Operations: ['68-55=13', '78/13=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,74 unequal: No Solution No 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: 74:[4, 65], Operations: ['68-55=13', '78-13=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,74 unequal: No Solution Exploring Operation: 4*65=260, Resulting Numbers: [260] 260,74 unequal: No Solution Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,74 unequal: No Solution No 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: 74:[13, 74], Operations: ['68-55=13', '78-4=74'] Exploring Operation: 13+74=87, Resulting Numbers: [87] 87,74 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 13*74=962, Resulting Numbers: [962] 962,74 unequal: No Solution No 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: 74:[78, 9], Operations: ['68-55=13', '13-4=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,74 unequal: No Solution Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,74 unequal: No Solution Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,74 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: 74:[68, 4, 23], Operations: ['78-55=23'] Exploring Operation: 68+23=91, Resulting Numbers: [4, 91] Generated Node #0,2,0: 74:[4, 91] Operation: 68+23=91 Exploring Operation: 68-23=45, Resulting Numbers: [4, 45] Generated Node #0,2,1: 74:[4, 45] Operation: 68-23=45 Exploring Operation: 68+4=72, Resulting Numbers: [23, 72] Generated Node #0,2,2: 74:[23, 72] Operation: 68+4=72 Exploring Operation: 4+23=27, Resulting Numbers: [68, 27] Generated Node #0,2,3: 74:[68, 27] Operation: 4+23=27 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[4, 45], Operations: ['78-55=23', '68-23=45'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,74 unequal: No Solution Exploring Operation: 4*45=180, Resulting Numbers: [180] 180,74 unequal: No Solution Exploring Operation: 4+45=49, Resulting Numbers: [49] 49,74 unequal: No Solution No 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: 74:[23, 72], Operations: ['78-55=23', '68+4=72'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,74 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,74 unequal: No Solution No 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: 74:[68, 27], Operations: ['78-55=23', '4+23=27'] Exploring Operation: 68*27=1836, Resulting Numbers: [1836] 1836,74 unequal: No Solution Exploring Operation: 68+27=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 68-27=41, Resulting Numbers: [41] 41,74 unequal: No Solution No 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: 74:[4, 91], Operations: ['78-55=23', '68+23=91'] Exploring Operation: 4+91=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 4*91=364, Resulting Numbers: [364] 364,74 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,74 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: 74:[78, 55, 72], Operations: ['68+4=72'] Exploring Operation: 72-55=17, Resulting Numbers: [78, 17] Generated Node #0,3,0: 74:[78, 17] Operation: 72-55=17 Exploring Operation: 78-72=6, Resulting Numbers: [55, 6] Generated Node #0,3,1: 74:[55, 6] Operation: 78-72=6 Exploring Operation: 78-55=23, Resulting Numbers: [72, 23] Generated Node #0,3,2: 74:[72, 23] Operation: 78-55=23 Exploring Operation: 55+72=127, Resulting Numbers: [78, 127] Generated Node #0,3,3: 74:[78, 127] Operation: 55+72=127 Moving to Node #0,0 Current State: 74:[68, 55, 74], Operations: ['78-4=74'] Exploring Operation: 68+55=123, Resulting Numbers: [74, 123] Generated Node #0,0,0: 74:[74, 123] Operation: 68+55=123 Exploring Operation: 74-68=6, Resulting Numbers: [55, 6] Generated Node #0,0,1: 74:[55, 6] Operation: 74-68=6 Exploring Operation: 74-55=19, Resulting Numbers: [68, 19] Generated Node #0,0,2: 74:[68, 19] Operation: 74-55=19 Exploring Operation: 68-55=13, Resulting Numbers: [74, 13] Generated Node #0,0,3: 74:[74, 13] Operation: 68-55=13 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[74, 13], Operations: ['78-4=74', '68-55=13'] Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,74 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,74 unequal: No Solution No 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: 74:[55, 6], Operations: ['78-4=74', '74-68=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,74 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,74 unequal: No Solution No 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: 74:[68, 19], Operations: ['78-4=74', '74-55=19'] Exploring Operation: 68*19=1292, Resulting Numbers: [1292] 1292,74 unequal: No Solution Exploring Operation: 68+19=87, Resulting Numbers: [87] 87,74 unequal: No Solution Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,74 unequal: No Solution No 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: 74:[74, 123], Operations: ['78-4=74', '68+55=123'] Exploring Operation: 74*123=9102, Resulting Numbers: [9102] 9102,74 unequal: No Solution Exploring Operation: 74+123=197, Resulting Numbers: [197] 197,74 unequal: No Solution Exploring Operation: 123-74=49, Resulting Numbers: [49] 49,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 74:[72, 23], Operations: ['68+4=72', '78-55=23'] Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 72*23=1656, Resulting Numbers: [1656] 1656,74 unequal: No Solution Moving to Node #0,3,0 Current State: 74:[78, 17], Operations: ['68+4=72', '72-55=17'] Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,74 unequal: No Solution Moving to Node #0,3,1 Current State: 74:[55, 6], Operations: ['68+4=72', '78-72=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 55+6=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 55*6=330, Resulting Numbers: [330] 330,74 unequal: No Solution Moving to Node #0,3,3 Current State: 74:[78, 127], Operations: ['68+4=72', '55+72=127'] Exploring Operation: 78*127=9906, Resulting Numbers: [9906] 9906,74 unequal: No Solution Exploring Operation: 127-78=49, Resulting Numbers: [49] 49,74 unequal: No Solution Exploring Operation: 78+127=205, Resulting Numbers: [205] 205,74 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 15, 56, 40, 59 ]
90
[ "15+56=71", "59-40=19", "71+19=90" ]
Current State: 90:[15, 56, 40, 59], Operations: [] Exploring Operation: 15+56=71, Resulting Numbers: [40, 59, 71] Generated Node #2: [40, 59, 71] from Operation: 15+56=71 Current State: 90:[40, 59, 71], Operations: ['15+56=71'] Exploring Operation: 59-40=19, Resulting Numbers: [71, 19] Generated Node #3: [71, 19] from Operation: 59-40=19 Current State: 90:[71, 19], Operations: ['15+56=71', '59-40=19'] Exploring Operation: 71+19=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[15, 56, 40, 59], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [15, 40, 3] Generated Node #0,0: 90:[15, 40, 3] Operation: 59-56=3 Exploring Operation: 56-40=16, Resulting Numbers: [15, 59, 16] Generated Node #0,1: 90:[15, 59, 16] Operation: 56-40=16 Exploring Operation: 59-40=19, Resulting Numbers: [15, 56, 19] Generated Node #0,2: 90:[15, 56, 19] Operation: 59-40=19 Exploring Operation: 59-15=44, Resulting Numbers: [56, 40, 44] Generated Node #0,3: 90:[56, 40, 44] Operation: 59-15=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[15, 40, 3], Operations: ['59-56=3'] Exploring Operation: 40+3=43, Resulting Numbers: [15, 43] Generated Node #0,0,0: 90:[15, 43] Operation: 40+3=43 Exploring Operation: 15+3=18, Resulting Numbers: [40, 18] Generated Node #0,0,1: 90:[40, 18] Operation: 15+3=18 Exploring Operation: 40-15=25, Resulting Numbers: [3, 25] Generated Node #0,0,2: 90:[3, 25] Operation: 40-15=25 Exploring Operation: 15*3=45, Resulting Numbers: [40, 45] Generated Node #0,0,3: 90:[40, 45] Operation: 15*3=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[15, 43], Operations: ['59-56=3', '40+3=43'] Exploring Operation: 15*43=645, Resulting Numbers: [645] 645,90 unequal: No Solution Exploring Operation: 15+43=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 43-15=28, Resulting Numbers: [28] 28,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[40, 18], Operations: ['59-56=3', '15+3=18'] Exploring Operation: 40+18=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 40*18=720, Resulting Numbers: [720] 720,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 90:[3, 25], Operations: ['59-56=3', '40-15=25'] Exploring Operation: 3*25=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 3+25=28, Resulting Numbers: [28] 28,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 90:[40, 45], Operations: ['59-56=3', '15*3=45'] Exploring Operation: 40*45=1800, Resulting Numbers: [1800] 1800,90 unequal: No Solution Exploring Operation: 40+45=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[15, 56, 19], Operations: ['59-40=19'] Exploring Operation: 15+19=34, Resulting Numbers: [56, 34] Generated Node #0,2,0: 90:[56, 34] Operation: 15+19=34 Exploring Operation: 56-19=37, Resulting Numbers: [15, 37] Generated Node #0,2,1: 90:[15, 37] Operation: 56-19=37 Exploring Operation: 19-15=4, Resulting Numbers: [56, 4] Generated Node #0,2,2: 90:[56, 4] Operation: 19-15=4 Exploring Operation: 56-15=41, Resulting Numbers: [19, 41] Generated Node #0,2,3: 90:[19, 41] Operation: 56-15=41 Moving to Node #0,2,3 Current State: 90:[19, 41], Operations: ['59-40=19', '56-15=41'] Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,90 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[15, 37], Operations: ['59-40=19', '56-19=37'] Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,90 unequal: No Solution Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[56, 4], Operations: ['59-40=19', '19-15=4'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,90 unequal: No Solution Exploring Operation: 56*4=224, Resulting Numbers: [224] 224,90 unequal: No Solution Exploring Operation: 56+4=60, Resulting Numbers: [60] 60,90 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[56, 34], Operations: ['59-40=19', '15+19=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,90 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[15, 56, 40, 59], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [15, 56, 19] Generated Node #0,2: 90:[15, 56, 19] Operation: 59-40=19 Moving to Node #0,2 Current State: 90:[15, 56, 19], Operations: ['59-40=19'] Exploring Operation: 15+19=34, Resulting Numbers: [56, 34] Generated Node #0,2,0: 90:[56, 34] Operation: 15+19=34 Moving to Node #0,2,0 Current State: 90:[56, 34], Operations: ['59-40=19', '15+19=34'] Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 3, 41, 63, 5 ]
44
[ "5-3=2", "63-41=22", "2*22=44" ]
Current State: 44:[3, 41, 63, 5], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [41, 63, 2] Generated Node #2: [41, 63, 2] from Operation: 5-3=2 Current State: 44:[41, 63, 2], Operations: ['5-3=2'] Exploring Operation: 63-41=22, Resulting Numbers: [2, 22] Generated Node #3: [2, 22] from Operation: 63-41=22 Current State: 44:[2, 22], Operations: ['5-3=2', '63-41=22'] Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[3, 41, 63, 5], Operations: [] Exploring Operation: 63-5=58, Resulting Numbers: [3, 41, 58] Generated Node #0,0: 44:[3, 41, 58] Operation: 63-5=58 Exploring Operation: 63/3=21, Resulting Numbers: [41, 5, 21] Generated Node #0,1: 44:[41, 5, 21] Operation: 63/3=21 Exploring Operation: 3+41=44, Resulting Numbers: [63, 5, 44] Generated Node #0,2: 44:[63, 5, 44] Operation: 3+41=44 Exploring Operation: 63-41=22, Resulting Numbers: [3, 5, 22] Generated Node #0,3: 44:[3, 5, 22] Operation: 63-41=22 Exploring Operation: 63-3=60, Resulting Numbers: [41, 5, 60] Generated Node #0,4: 44:[41, 5, 60] Operation: 63-3=60 Moving to Node #0,3 Current State: 44:[3, 5, 22], Operations: ['63-41=22'] Exploring Operation: 3+22=25, Resulting Numbers: [5, 25] Generated Node #0,3,0: 44:[5, 25] Operation: 3+22=25 Exploring Operation: 3+5=8, Resulting Numbers: [22, 8] Generated Node #0,3,1: 44:[22, 8] Operation: 3+5=8 Exploring Operation: 5-3=2, Resulting Numbers: [22, 2] Generated Node #0,3,2: 44:[22, 2] Operation: 5-3=2 Exploring Operation: 3*5=15, Resulting Numbers: [22, 15] Generated Node #0,3,3: 44:[22, 15] Operation: 3*5=15 Exploring Operation: 22-3=19, Resulting Numbers: [5, 19] Generated Node #0,3,4: 44:[5, 19] Operation: 22-3=19 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[22, 2], Operations: ['63-41=22', '5-3=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[3, 41, 63, 5], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [3, 5, 22] Generated Node #0,3: 44:[3, 5, 22] Operation: 63-41=22 Moving to Node #0,3 Current State: 44:[3, 5, 22], Operations: ['63-41=22'] Exploring Operation: 5-3=2, Resulting Numbers: [22, 2] Generated Node #0,3,2: 44:[22, 2] Operation: 5-3=2 Moving to Node #0,3,2 Current State: 44:[22, 2], Operations: ['63-41=22', '5-3=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 8, 32, 24, 86 ]
58
[ "32/8=4", "86-24=62", "62-4=58" ]
Current State: 58:[8, 32, 24, 86], Operations: [] Exploring Operation: 32/8=4, Resulting Numbers: [24, 86, 4] Generated Node #2: [24, 86, 4] from Operation: 32/8=4 Current State: 58:[24, 86, 4], Operations: ['32/8=4'] Exploring Operation: 86-24=62, Resulting Numbers: [4, 62] Generated Node #3: [4, 62] from Operation: 86-24=62 Current State: 58:[4, 62], Operations: ['32/8=4', '86-24=62'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[8, 32, 24, 86], Operations: [] Exploring Operation: 86-32=54, Resulting Numbers: [8, 24, 54] Generated Node #0,0: 58:[8, 24, 54] Operation: 86-32=54 Exploring Operation: 8+24=32, Resulting Numbers: [32, 86, 32] Generated Node #0,1: 58:[32, 86, 32] Operation: 8+24=32 Exploring Operation: 24/8=3, Resulting Numbers: [32, 86, 3] Generated Node #0,2: 58:[32, 86, 3] Operation: 24/8=3 Exploring Operation: 86-24=62, Resulting Numbers: [8, 32, 62] Generated Node #0,3: 58:[8, 32, 62] Operation: 86-24=62 Exploring Operation: 86-8=78, Resulting Numbers: [32, 24, 78] Generated Node #0,4: 58:[32, 24, 78] Operation: 86-8=78 Moving to Node #0,3 Current State: 58:[8, 32, 62], Operations: ['86-24=62'] Exploring Operation: 62-32=30, Resulting Numbers: [8, 30] Generated Node #0,3,0: 58:[8, 30] Operation: 62-32=30 Exploring Operation: 32/8=4, Resulting Numbers: [62, 4] Generated Node #0,3,1: 58:[62, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [62, 24] Generated Node #0,3,2: 58:[62, 24] Operation: 32-8=24 Exploring Operation: 8+32=40, Resulting Numbers: [62, 40] Generated Node #0,3,3: 58:[62, 40] Operation: 8+32=40 Exploring Operation: 62-8=54, Resulting Numbers: [32, 54] Generated Node #0,3,4: 58:[32, 54] Operation: 62-8=54 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[62, 4], Operations: ['86-24=62', '32/8=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,58 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[8, 32, 24, 86], Operations: [] Exploring Operation: 86-24=62, Resulting Numbers: [8, 32, 62] Generated Node #0,3: 58:[8, 32, 62] Operation: 86-24=62 Moving to Node #0,3 Current State: 58:[8, 32, 62], Operations: ['86-24=62'] Exploring Operation: 32/8=4, Resulting Numbers: [62, 4] Generated Node #0,3,1: 58:[62, 4] Operation: 32/8=4 Moving to Node #0,3,1 Current State: 58:[62, 4], Operations: ['86-24=62', '32/8=4'] Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 40, 38, 78, 52 ]
22
[ "40*78=3120", "3120/52=60", "60-38=22" ]
Current State: 22:[40, 38, 78, 52], Operations: [] Exploring Operation: 40*78=3120, Resulting Numbers: [38, 52, 3120] Generated Node #2: [38, 52, 3120] from Operation: 40*78=3120 Current State: 22:[38, 52, 3120], Operations: ['40*78=3120'] Exploring Operation: 3120/52=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 3120/52=60 Current State: 22:[38, 60], Operations: ['40*78=3120', '3120/52=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[40, 38, 78, 52], Operations: [] Exploring Operation: 78-40=38, Resulting Numbers: [38, 52, 38] Generated Node #0,0: 22:[38, 52, 38] Operation: 78-40=38 Exploring Operation: 78-52=26, Resulting Numbers: [40, 38, 26] Generated Node #0,1: 22:[40, 38, 26] Operation: 78-52=26 Moving to Node #0,1 Current State: 22:[40, 38, 26], Operations: ['78-52=26'] Exploring Operation: 40-26=14, Resulting Numbers: [38, 14] Generated Node #0,1,0: 22:[38, 14] Operation: 40-26=14 Exploring Operation: 40-38=2, Resulting Numbers: [26, 2] Generated Node #0,1,1: 22:[26, 2] Operation: 40-38=2 Moving to Node #0,0 Current State: 22:[38, 52, 38], Operations: ['78-40=38'] Exploring Operation: 52-38=14, Resulting Numbers: [38, 14] Generated Node #0,0,0: 22:[38, 14] Operation: 52-38=14 Exploring Operation: 52-38=14, Resulting Numbers: [38, 14] Generated Node #0,0,1: 22:[38, 14] Operation: 52-38=14 Moving to Node #0,1,1 Current State: 22:[26, 2], Operations: ['78-52=26', '40-38=2'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[38, 14], Operations: ['78-40=38', '52-38=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,22 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[38, 14], Operations: ['78-52=26', '40-26=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,22 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[38, 14], Operations: ['78-40=38', '52-38=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,22 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,22 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 36, 2, 14, 40 ]
90
[ "36*40=1440", "2+14=16", "1440/16=90" ]
Current State: 90:[36, 2, 14, 40], Operations: [] Exploring Operation: 36*40=1440, Resulting Numbers: [2, 14, 1440] Generated Node #2: [2, 14, 1440] from Operation: 36*40=1440 Current State: 90:[2, 14, 1440], Operations: ['36*40=1440'] Exploring Operation: 2+14=16, Resulting Numbers: [1440, 16] Generated Node #3: [1440, 16] from Operation: 2+14=16 Current State: 90:[1440, 16], Operations: ['36*40=1440', '2+14=16'] Exploring Operation: 1440/16=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[36, 2, 14, 40], Operations: [] Exploring Operation: 36/2=18, Resulting Numbers: [14, 40, 18] Generated Node #0,0: 90:[14, 40, 18] Operation: 36/2=18 Exploring Operation: 40-36=4, Resulting Numbers: [2, 14, 4] Generated Node #0,1: 90:[2, 14, 4] Operation: 40-36=4 Exploring Operation: 40/2=20, Resulting Numbers: [36, 14, 20] Generated Node #0,2: 90:[36, 14, 20] Operation: 40/2=20 Exploring Operation: 36-14=22, Resulting Numbers: [2, 40, 22] Generated Node #0,3: 90:[2, 40, 22] Operation: 36-14=22 Moving to Node #0,1 Current State: 90:[2, 14, 4], Operations: ['40-36=4'] Exploring Operation: 4-2=2, Resulting Numbers: [14, 2] Generated Node #0,1,0: 90:[14, 2] Operation: 4-2=2 Exploring Operation: 2+4=6, Resulting Numbers: [14, 6] Generated Node #0,1,1: 90:[14, 6] Operation: 2+4=6 Exploring Operation: 14+4=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 90:[2, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [2, 10] Generated Node #0,1,3: 90:[2, 10] Operation: 14-4=10 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[2, 18], Operations: ['40-36=4', '14+4=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[2, 10], Operations: ['40-36=4', '14-4=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[14, 2], Operations: ['40-36=4', '4-2=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,90 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[14, 6], Operations: ['40-36=4', '2+4=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 90:[14, 40, 18], Operations: ['36/2=18'] Exploring Operation: 18-14=4, Resulting Numbers: [40, 4] Generated Node #0,0,0: 90:[40, 4] Operation: 18-14=4 Exploring Operation: 14+18=32, Resulting Numbers: [40, 32] Generated Node #0,0,1: 90:[40, 32] Operation: 14+18=32 Exploring Operation: 40-18=22, Resulting Numbers: [14, 22] Generated Node #0,0,2: 90:[14, 22] Operation: 40-18=22 Exploring Operation: 40-14=26, Resulting Numbers: [18, 26] Generated Node #0,0,3: 90:[18, 26] Operation: 40-14=26 Moving to Node #0,3 Current State: 90:[2, 40, 22], Operations: ['36-14=22'] Exploring Operation: 22/2=11, Resulting Numbers: [40, 11] Generated Node #0,3,0: 90:[40, 11] Operation: 22/2=11 Exploring Operation: 40/2=20, Resulting Numbers: [22, 20] Generated Node #0,3,1: 90:[22, 20] Operation: 40/2=20 Exploring Operation: 40-22=18, Resulting Numbers: [2, 18] Generated Node #0,3,2: 90:[2, 18] Operation: 40-22=18 Exploring Operation: 2*22=44, Resulting Numbers: [40, 44] Generated Node #0,3,3: 90:[40, 44] Operation: 2*22=44 Moving to Node #0,2 Current State: 90:[36, 14, 20], Operations: ['40/2=20'] Exploring Operation: 36-20=16, Resulting Numbers: [14, 16] Generated Node #0,2,0: 90:[14, 16] Operation: 36-20=16 Exploring Operation: 36+14=50, Resulting Numbers: [20, 50] Generated Node #0,2,1: 90:[20, 50] Operation: 36+14=50 Exploring Operation: 20-14=6, Resulting Numbers: [36, 6] Generated Node #0,2,2: 90:[36, 6] Operation: 20-14=6 Exploring Operation: 36-14=22, Resulting Numbers: [20, 22] Generated Node #0,2,3: 90:[20, 22] Operation: 36-14=22 Moving to Node #0,3,2 Current State: 90:[2, 18], Operations: ['36-14=22', '40-22=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[14, 16], Operations: ['40/2=20', '36-20=16'] Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,90 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[18, 26], Operations: ['36/2=18', '40-14=26'] Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,90 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[14, 22], Operations: ['36/2=18', '40-18=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,90 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[40, 4], Operations: ['36/2=18', '18-14=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,90 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[22, 20], Operations: ['36-14=22', '40/2=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,90 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[40, 11], Operations: ['36-14=22', '22/2=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,90 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,90 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[36, 6], Operations: ['40/2=20', '20-14=6'] Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,90 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[20, 22], Operations: ['40/2=20', '36-14=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[40, 44], Operations: ['36-14=22', '2*22=44'] Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,90 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[20, 50], Operations: ['40/2=20', '36+14=50'] Exploring Operation: 20+50=70, Resulting Numbers: [70] 70,90 unequal: No Solution Exploring Operation: 20*50=1000, Resulting Numbers: [1000] 1000,90 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[40, 32], Operations: ['36/2=18', '14+18=32'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,90 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,90 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 45, 99, 26 ]
98
[ "45-18=27", "99+26=125", "125-27=98" ]
Current State: 98:[18, 45, 99, 26], Operations: [] Exploring Operation: 45-18=27, Resulting Numbers: [99, 26, 27] Generated Node #2: [99, 26, 27] from Operation: 45-18=27 Current State: 98:[99, 26, 27], Operations: ['45-18=27'] Exploring Operation: 99+26=125, Resulting Numbers: [27, 125] Generated Node #3: [27, 125] from Operation: 99+26=125 Current State: 98:[27, 125], Operations: ['45-18=27', '99+26=125'] Exploring Operation: 125-27=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[18, 45, 99, 26], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [18, 26, 54] Generated Node #0,0: 98:[18, 26, 54] Operation: 99-45=54 Exploring Operation: 26-18=8, Resulting Numbers: [45, 99, 8] Generated Node #0,1: 98:[45, 99, 8] Operation: 26-18=8 Exploring Operation: 45-26=19, Resulting Numbers: [18, 99, 19] Generated Node #0,2: 98:[18, 99, 19] Operation: 45-26=19 Exploring Operation: 18+26=44, Resulting Numbers: [45, 99, 44] Generated Node #0,3: 98:[45, 99, 44] Operation: 18+26=44 Moving to Node #0,1 Current State: 98:[45, 99, 8], Operations: ['26-18=8'] Exploring Operation: 45-8=37, Resulting Numbers: [99, 37] Generated Node #0,1,0: 98:[99, 37] Operation: 45-8=37 Exploring Operation: 99-8=91, Resulting Numbers: [45, 91] Generated Node #0,1,1: 98:[45, 91] Operation: 99-8=91 Exploring Operation: 99-45=54, Resulting Numbers: [8, 54] Generated Node #0,1,2: 98:[8, 54] Operation: 99-45=54 Exploring Operation: 45+8=53, Resulting Numbers: [99, 53] Generated Node #0,1,3: 98:[99, 53] Operation: 45+8=53 Moving to Node #0,3 Current State: 98:[45, 99, 44], Operations: ['18+26=44'] Exploring Operation: 99-44=55, Resulting Numbers: [45, 55] Generated Node #0,3,0: 98:[45, 55] Operation: 99-44=55 Exploring Operation: 45+44=89, Resulting Numbers: [99, 89] Generated Node #0,3,1: 98:[99, 89] Operation: 45+44=89 Exploring Operation: 99-45=54, Resulting Numbers: [44, 54] Generated Node #0,3,2: 98:[44, 54] Operation: 99-45=54 Exploring Operation: 45-44=1, Resulting Numbers: [99, 1] Generated Node #0,3,3: 98:[99, 1] Operation: 45-44=1 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[99, 1], Operations: ['18+26=44', '45-44=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[18, 45, 99, 26], Operations: [] Exploring Operation: 18+26=44, Resulting Numbers: [45, 99, 44] Generated Node #0,3: 98:[45, 99, 44] Operation: 18+26=44 Moving to Node #0,3 Current State: 98:[45, 99, 44], Operations: ['18+26=44'] Exploring Operation: 45-44=1, Resulting Numbers: [99, 1] Generated Node #0,3,3: 98:[99, 1] Operation: 45-44=1 Moving to Node #0,3,3 Current State: 98:[99, 1], Operations: ['18+26=44', '45-44=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 25, 20, 51, 43 ]
89
[ "25-20=5", "51+43=94", "94-5=89" ]
Current State: 89:[25, 20, 51, 43], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [51, 43, 5] Generated Node #2: [51, 43, 5] from Operation: 25-20=5 Current State: 89:[51, 43, 5], Operations: ['25-20=5'] Exploring Operation: 51+43=94, Resulting Numbers: [5, 94] Generated Node #3: [5, 94] from Operation: 51+43=94 Current State: 89:[5, 94], Operations: ['25-20=5', '51+43=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[25, 20, 51, 43], Operations: [] Exploring Operation: 25+51=76, Resulting Numbers: [20, 43, 76] Generated Node #0,0: 89:[20, 43, 76] Operation: 25+51=76 Exploring Operation: 25+43=68, Resulting Numbers: [20, 51, 68] Generated Node #0,1: 89:[20, 51, 68] Operation: 25+43=68 Exploring Operation: 20+51=71, Resulting Numbers: [25, 43, 71] Generated Node #0,2: 89:[25, 43, 71] Operation: 20+51=71 Exploring Operation: 25+20=45, Resulting Numbers: [51, 43, 45] Generated Node #0,3: 89:[51, 43, 45] Operation: 25+20=45 Moving to Node #0,0 Current State: 89:[20, 43, 76], Operations: ['25+51=76'] Exploring Operation: 20+43=63, Resulting Numbers: [76, 63] Generated Node #0,0,0: 89:[76, 63] Operation: 20+43=63 Exploring Operation: 76-20=56, Resulting Numbers: [43, 56] Generated Node #0,0,1: 89:[43, 56] Operation: 76-20=56 Exploring Operation: 43-20=23, Resulting Numbers: [76, 23] Generated Node #0,0,2: 89:[76, 23] Operation: 43-20=23 Exploring Operation: 20+76=96, Resulting Numbers: [43, 96] Generated Node #0,0,3: 89:[43, 96] Operation: 20+76=96 Moving to Node #0,2 Current State: 89:[25, 43, 71], Operations: ['20+51=71'] Exploring Operation: 71-25=46, Resulting Numbers: [43, 46] Generated Node #0,2,0: 89:[43, 46] Operation: 71-25=46 Exploring Operation: 25+43=68, Resulting Numbers: [71, 68] Generated Node #0,2,1: 89:[71, 68] Operation: 25+43=68 Exploring Operation: 43-25=18, Resulting Numbers: [71, 18] Generated Node #0,2,2: 89:[71, 18] Operation: 43-25=18 Exploring Operation: 25+71=96, Resulting Numbers: [43, 96] Generated Node #0,2,3: 89:[43, 96] Operation: 25+71=96 Moving to Node #0,1 Current State: 89:[20, 51, 68], Operations: ['25+43=68'] Exploring Operation: 51-20=31, Resulting Numbers: [68, 31] Generated Node #0,1,0: 89:[68, 31] Operation: 51-20=31 Exploring Operation: 20+51=71, Resulting Numbers: [68, 71] Generated Node #0,1,1: 89:[68, 71] Operation: 20+51=71 Exploring Operation: 20+68=88, Resulting Numbers: [51, 88] Generated Node #0,1,2: 89:[51, 88] Operation: 20+68=88 Exploring Operation: 68-20=48, Resulting Numbers: [51, 48] Generated Node #0,1,3: 89:[51, 48] Operation: 68-20=48 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[68, 71], Operations: ['25+43=68', '20+51=71'] Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[51, 88], Operations: ['25+43=68', '20+68=88'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[68, 31], Operations: ['25+43=68', '51-20=31'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,89 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,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,3 Current State: 89:[51, 48], Operations: ['25+43=68', '68-20=48'] Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,89 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,89 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: 89:[51, 43, 45], Operations: ['25+20=45'] Exploring Operation: 51+45=96, Resulting Numbers: [43, 96] Generated Node #0,3,0: 89:[43, 96] Operation: 51+45=96 Exploring Operation: 43+45=88, Resulting Numbers: [51, 88] Generated Node #0,3,1: 89:[51, 88] Operation: 43+45=88 Exploring Operation: 51-43=8, Resulting Numbers: [45, 8] Generated Node #0,3,2: 89:[45, 8] Operation: 51-43=8 Exploring Operation: 51+43=94, Resulting Numbers: [45, 94] Generated Node #0,3,3: 89:[45, 94] Operation: 51+43=94 Moving to Node #0,0,0 Current State: 89:[76, 63], Operations: ['25+51=76', '20+43=63'] Exploring Operation: 76*63=4788, Resulting Numbers: [4788] 4788,89 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[71, 68], Operations: ['20+51=71', '25+43=68'] Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[51, 88], Operations: ['25+20=45', '43+45=88'] Exploring Operation: 88-51=37, Resulting Numbers: [37] 37,89 unequal: No Solution Exploring Operation: 51+88=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 51*88=4488, Resulting Numbers: [4488] 4488,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[45, 94], Operations: ['25+20=45', '51+43=94'] Exploring Operation: 45*94=4230, Resulting Numbers: [4230] 4230,89 unequal: No Solution Exploring Operation: 94-45=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 45+94=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,2,3 Current State: 89:[43, 96], Operations: ['20+51=71', '25+71=96'] Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,89 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[43, 96], Operations: ['25+51=76', '20+76=96'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,89 unequal: No Solution Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[43, 96], Operations: ['25+20=45', '51+45=96'] Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,89 unequal: No Solution Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[43, 56], Operations: ['25+51=76', '76-20=56'] Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,89 unequal: No Solution Exploring Operation: 43+56=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 43*56=2408, Resulting Numbers: [2408] 2408,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[76, 23], Operations: ['25+51=76', '43-20=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,89 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,89 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[43, 46], Operations: ['20+51=71', '71-25=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[25, 20, 51, 43], Operations: [] Exploring Operation: 20+51=71, Resulting Numbers: [25, 43, 71] Generated Node #0,2: 89:[25, 43, 71] Operation: 20+51=71 Moving to Node #0,2 Current State: 89:[25, 43, 71], Operations: ['20+51=71'] Exploring Operation: 71-25=46, Resulting Numbers: [43, 46] Generated Node #0,2,0: 89:[43, 46] Operation: 71-25=46 Moving to Node #0,2,0 Current State: 89:[43, 46], Operations: ['20+51=71', '71-25=46'] Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
0.944444
hs_4
sum_heuristic
[ 33, 88, 40, 31 ]
46
[ "88-33=55", "40-31=9", "55-9=46" ]
Current State: 46:[33, 88, 40, 31], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [40, 31, 55] Generated Node #2: [40, 31, 55] from Operation: 88-33=55 Current State: 46:[40, 31, 55], Operations: ['88-33=55'] Exploring Operation: 40-31=9, Resulting Numbers: [55, 9] Generated Node #3: [55, 9] from Operation: 40-31=9 Current State: 46:[55, 9], Operations: ['88-33=55', '40-31=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[33, 88, 40, 31], Operations: [] Exploring Operation: 88-40=48, Resulting Numbers: [33, 31, 48] Generated Node #0,0: 46:[33, 31, 48] Operation: 88-40=48 Exploring Operation: 88-31=57, Resulting Numbers: [33, 40, 57] Generated Node #0,1: 46:[33, 40, 57] Operation: 88-31=57 Exploring Operation: 88-33=55, Resulting Numbers: [40, 31, 55] Generated Node #0,2: 46:[40, 31, 55] Operation: 88-33=55 Moving to Node #0,0 Current State: 46:[33, 31, 48], Operations: ['88-40=48'] Exploring Operation: 33-31=2, Resulting Numbers: [48, 2] Generated Node #0,0,0: 46:[48, 2] Operation: 33-31=2 Exploring Operation: 48-33=15, Resulting Numbers: [31, 15] Generated Node #0,0,1: 46:[31, 15] Operation: 48-33=15 Exploring Operation: 48-31=17, Resulting Numbers: [33, 17] Generated Node #0,0,2: 46:[33, 17] Operation: 48-31=17 Moving to Node #0,2 Current State: 46:[40, 31, 55], Operations: ['88-33=55'] Exploring Operation: 40-31=9, Resulting Numbers: [55, 9] Generated Node #0,2,0: 46:[55, 9] Operation: 40-31=9 Exploring Operation: 55-40=15, Resulting Numbers: [31, 15] Generated Node #0,2,1: 46:[31, 15] Operation: 55-40=15 Exploring Operation: 55-31=24, Resulting Numbers: [40, 24] Generated Node #0,2,2: 46:[40, 24] Operation: 55-31=24 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[40, 24], Operations: ['88-33=55', '55-31=24'] Exploring Operation: 40-24=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 40*24=960, Resulting Numbers: [960] 960,46 unequal: No Solution Exploring Operation: 40+24=64, Resulting Numbers: [64] 64,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 46:[55, 9], Operations: ['88-33=55', '40-31=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[33, 88, 40, 31], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [40, 31, 55] Generated Node #0,2: 46:[40, 31, 55] Operation: 88-33=55 Moving to Node #0,2 Current State: 46:[40, 31, 55], Operations: ['88-33=55'] Exploring Operation: 40-31=9, Resulting Numbers: [55, 9] Generated Node #0,2,0: 46:[55, 9] Operation: 40-31=9 Moving to Node #0,2,0 Current State: 46:[55, 9], Operations: ['88-33=55', '40-31=9'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 7, 90, 11, 16 ]
33
[ "7*16=112", "90-11=79", "112-79=33" ]
Current State: 33:[7, 90, 11, 16], Operations: [] Exploring Operation: 7*16=112, Resulting Numbers: [90, 11, 112] Generated Node #2: [90, 11, 112] from Operation: 7*16=112 Current State: 33:[90, 11, 112], Operations: ['7*16=112'] Exploring Operation: 90-11=79, Resulting Numbers: [112, 79] Generated Node #3: [112, 79] from Operation: 90-11=79 Current State: 33:[112, 79], Operations: ['7*16=112', '90-11=79'] Exploring Operation: 112-79=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[7, 90, 11, 16], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [90, 11, 9] Generated Node #0,0: 33:[90, 11, 9] Operation: 16-7=9 Exploring Operation: 11-7=4, Resulting Numbers: [90, 16, 4] Generated Node #0,1: 33:[90, 16, 4] Operation: 11-7=4 Exploring Operation: 90-11=79, Resulting Numbers: [7, 16, 79] Generated Node #0,2: 33:[7, 16, 79] Operation: 90-11=79 Exploring Operation: 90-7=83, Resulting Numbers: [11, 16, 83] Generated Node #0,3: 33:[11, 16, 83] Operation: 90-7=83 Exploring Operation: 90-16=74, Resulting Numbers: [7, 11, 74] Generated Node #0,4: 33:[7, 11, 74] Operation: 90-16=74 Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[7, 11, 74], Operations: ['90-16=74'] Exploring Operation: 74-7=67, Resulting Numbers: [11, 67] Generated Node #0,4,0: 33:[11, 67] Operation: 74-7=67 Exploring Operation: 7+74=81, Resulting Numbers: [11, 81] Generated Node #0,4,1: 33:[11, 81] Operation: 7+74=81 Exploring Operation: 7+11=18, Resulting Numbers: [74, 18] Generated Node #0,4,2: 33:[74, 18] Operation: 7+11=18 Exploring Operation: 74-11=63, Resulting Numbers: [7, 63] Generated Node #0,4,3: 33:[7, 63] Operation: 74-11=63 Exploring Operation: 11-7=4, Resulting Numbers: [74, 4] Generated Node #0,4,4: 33:[74, 4] Operation: 11-7=4 Moving to Node #0,4,0 Current State: 33:[11, 67], Operations: ['90-16=74', '74-7=67'] Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,33 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[7, 63], Operations: ['90-16=74', '74-11=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,33 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[74, 4], Operations: ['90-16=74', '11-7=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,33 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[11, 81], Operations: ['90-16=74', '7+74=81'] Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 11*81=891, Resulting Numbers: [891] 891,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[74, 18], Operations: ['90-16=74', '7+11=18'] Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[7, 16, 79], Operations: ['90-11=79'] Exploring Operation: 79-7=72, Resulting Numbers: [16, 72] Generated Node #0,2,0: 33:[16, 72] Operation: 79-7=72 Exploring Operation: 7+79=86, Resulting Numbers: [16, 86] Generated Node #0,2,1: 33:[16, 86] Operation: 7+79=86 Exploring Operation: 7+16=23, Resulting Numbers: [79, 23] Generated Node #0,2,2: 33:[79, 23] Operation: 7+16=23 Exploring Operation: 16-7=9, Resulting Numbers: [79, 9] Generated Node #0,2,3: 33:[79, 9] Operation: 16-7=9 Exploring Operation: 79-16=63, Resulting Numbers: [7, 63] Generated Node #0,2,4: 33:[7, 63] Operation: 79-16=63 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 33:[7, 63], Operations: ['90-11=79', '79-16=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,33 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,33 unequal: No Solution No 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: 33:[16, 72], Operations: ['90-11=79', '79-7=72'] Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,33 unequal: No Solution Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,33 unequal: No Solution No 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: 33:[79, 9], Operations: ['90-11=79', '16-7=9'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,33 unequal: No Solution No 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: 33:[79, 23], Operations: ['90-11=79', '7+16=23'] Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,33 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,33 unequal: No Solution No 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: 33:[16, 86], Operations: ['90-11=79', '7+79=86'] Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,33 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,33 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: 33:[11, 16, 83], Operations: ['90-7=83'] Exploring Operation: 83-11=72, Resulting Numbers: [16, 72] Generated Node #0,3,0: 33:[16, 72] Operation: 83-11=72 Exploring Operation: 83-16=67, Resulting Numbers: [11, 67] Generated Node #0,3,1: 33:[11, 67] Operation: 83-16=67 Exploring Operation: 16-11=5, Resulting Numbers: [83, 5] Generated Node #0,3,2: 33:[83, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [83, 27] Generated Node #0,3,3: 33:[83, 27] Operation: 11+16=27 Exploring Operation: 11+83=94, Resulting Numbers: [16, 94] Generated Node #0,3,4: 33:[16, 94] Operation: 11+83=94 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[11, 67], Operations: ['90-7=83', '83-16=67'] Exploring Operation: 11+67=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 67-11=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 11*67=737, Resulting Numbers: [737] 737,33 unequal: No Solution No 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: 33:[16, 72], Operations: ['90-7=83', '83-11=72'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,33 unequal: No Solution Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,33 unequal: No Solution No 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: 33:[83, 5], Operations: ['90-7=83', '16-11=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 83*5=415, Resulting Numbers: [415] 415,33 unequal: No Solution Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,33 unequal: No Solution No 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: 33:[83, 27], Operations: ['90-7=83', '11+16=27'] Exploring Operation: 83-27=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 83*27=2241, Resulting Numbers: [2241] 2241,33 unequal: No Solution Exploring Operation: 83+27=110, Resulting Numbers: [110] 110,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 33:[16, 94], Operations: ['90-7=83', '11+83=94'] Exploring Operation: 16*94=1504, Resulting Numbers: [1504] 1504,33 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 16+94=110, Resulting Numbers: [110] 110,33 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: 33:[90, 11, 9], Operations: ['16-7=9'] Exploring Operation: 90+9=99, Resulting Numbers: [11, 99] Generated Node #0,0,0: 33:[11, 99] Operation: 90+9=99 Exploring Operation: 90/9=10, Resulting Numbers: [11, 10] Generated Node #0,0,1: 33:[11, 10] Operation: 90/9=10 Exploring Operation: 90-9=81, Resulting Numbers: [11, 81] Generated Node #0,0,2: 33:[11, 81] Operation: 90-9=81 Exploring Operation: 90-11=79, Resulting Numbers: [9, 79] Generated Node #0,0,3: 33:[9, 79] Operation: 90-11=79 Exploring Operation: 11-9=2, Resulting Numbers: [90, 2] Generated Node #0,0,4: 33:[90, 2] Operation: 11-9=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[11, 10], Operations: ['16-7=9', '90/9=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,33 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,33 unequal: No Solution No 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: 33:[11, 81], Operations: ['16-7=9', '90-9=81'] Exploring Operation: 11*81=891, Resulting Numbers: [891] 891,33 unequal: No Solution Exploring Operation: 11+81=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,33 unequal: No Solution No 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: 33:[9, 79], Operations: ['16-7=9', '90-11=79'] Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 9*79=711, Resulting Numbers: [711] 711,33 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,33 unequal: No Solution No 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: 33:[90, 2], Operations: ['16-7=9', '11-9=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 90*2=180, Resulting Numbers: [180] 180,33 unequal: No Solution Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,33 unequal: No Solution No 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: 33:[11, 99], Operations: ['16-7=9', '90+9=99'] Exploring Operation: 11+99=110, Resulting Numbers: [110] 110,33 unequal: No Solution Exploring Operation: 99/11=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 11*99=1089, Resulting Numbers: [1089] 1089,33 unequal: No Solution Exploring Operation: 99-11=88, Resulting Numbers: [88] 88,33 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: 33:[90, 16, 4], Operations: ['11-7=4'] Exploring Operation: 90-16=74, Resulting Numbers: [4, 74] Generated Node #0,1,0: 33:[4, 74] Operation: 90-16=74 Exploring Operation: 16/4=4, Resulting Numbers: [90, 4] Generated Node #0,1,1: 33:[90, 4] Operation: 16/4=4 Exploring Operation: 16-4=12, Resulting Numbers: [90, 12] Generated Node #0,1,2: 33:[90, 12] Operation: 16-4=12 Exploring Operation: 90-4=86, Resulting Numbers: [16, 86] Generated Node #0,1,3: 33:[16, 86] Operation: 90-4=86 Exploring Operation: 90+4=94, Resulting Numbers: [16, 94] Generated Node #0,1,4: 33:[16, 94] Operation: 90+4=94 Moving to Node #0,1,0 Current State: 33:[4, 74], Operations: ['11-7=4', '90-16=74'] Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,33 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[90, 12], Operations: ['11-7=4', '16-4=12'] Exploring Operation: 90*12=1080, Resulting Numbers: [1080] 1080,33 unequal: No Solution Exploring Operation: 90+12=102, Resulting Numbers: [102] 102,33 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[90, 4], Operations: ['11-7=4', '16/4=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,33 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,33 unequal: No Solution Moving to Node #0,1,3 Current State: 33:[16, 86], Operations: ['11-7=4', '90-4=86'] Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,33 unequal: No Solution Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,33 unequal: No Solution Moving to Node #0,1,4 Current State: 33:[16, 94], Operations: ['11-7=4', '90+4=94'] Exploring Operation: 16+94=110, Resulting Numbers: [110] 110,33 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,33 unequal: No Solution Exploring Operation: 16*94=1504, Resulting Numbers: [1504] 1504,33 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
[ 49, 64, 72, 14 ]
56
[ "49+14=63", "64*63=4032", "4032/72=56" ]
Current State: 56:[49, 64, 72, 14], Operations: [] Exploring Operation: 49+14=63, Resulting Numbers: [64, 72, 63] Generated Node #2: [64, 72, 63] from Operation: 49+14=63 Current State: 56:[64, 72, 63], Operations: ['49+14=63'] Exploring Operation: 64*63=4032, Resulting Numbers: [72, 4032] Generated Node #3: [72, 4032] from Operation: 64*63=4032 Current State: 56:[72, 4032], Operations: ['49+14=63', '64*63=4032'] Exploring Operation: 4032/72=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[49, 64, 72, 14], Operations: [] Exploring Operation: 64-14=50, Resulting Numbers: [49, 72, 50] Generated Node #0,0: 56:[49, 72, 50] Operation: 64-14=50 Exploring Operation: 72-49=23, Resulting Numbers: [64, 14, 23] Generated Node #0,1: 56:[64, 14, 23] Operation: 72-49=23 Exploring Operation: 64-49=15, Resulting Numbers: [72, 14, 15] Generated Node #0,2: 56:[72, 14, 15] Operation: 64-49=15 Exploring Operation: 72-14=58, Resulting Numbers: [49, 64, 58] Generated Node #0,3: 56:[49, 64, 58] Operation: 72-14=58 Exploring Operation: 72-64=8, Resulting Numbers: [49, 14, 8] Generated Node #0,4: 56:[49, 14, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 56:[49, 14, 8], Operations: ['72-64=8'] Exploring Operation: 49-14=35, Resulting Numbers: [8, 35] Generated Node #0,4,0: 56:[8, 35] Operation: 49-14=35 Exploring Operation: 49+14=63, Resulting Numbers: [8, 63] Generated Node #0,4,1: 56:[8, 63] Operation: 49+14=63 Exploring Operation: 49-8=41, Resulting Numbers: [14, 41] Generated Node #0,4,2: 56:[14, 41] Operation: 49-8=41 Exploring Operation: 49+8=57, Resulting Numbers: [14, 57] Generated Node #0,4,3: 56:[14, 57] Operation: 49+8=57 Exploring Operation: 14-8=6, Resulting Numbers: [49, 6] Generated Node #0,4,4: 56:[49, 6] Operation: 14-8=6 Moving to Node #0,4,3 Current State: 56:[14, 57], Operations: ['72-64=8', '49+8=57'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,56 unequal: No Solution Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[8, 63], Operations: ['72-64=8', '49+14=63'] Exploring Operation: 8*63=504, Resulting Numbers: [504] 504,56 unequal: No Solution Exploring Operation: 8+63=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[8, 35], Operations: ['72-64=8', '49-14=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,56 unequal: No Solution Moving to Node #0,4,4 Current State: 56:[49, 6], Operations: ['72-64=8', '14-8=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,56 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[14, 41], Operations: ['72-64=8', '49-8=41'] Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,56 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,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 Current State: 56:[64, 14, 23], Operations: ['72-49=23'] Exploring Operation: 64-14=50, Resulting Numbers: [23, 50] Generated Node #0,1,0: 56:[23, 50] Operation: 64-14=50 Exploring Operation: 14+23=37, Resulting Numbers: [64, 37] Generated Node #0,1,1: 56:[64, 37] Operation: 14+23=37 Exploring Operation: 64-23=41, Resulting Numbers: [14, 41] Generated Node #0,1,2: 56:[14, 41] Operation: 64-23=41 Exploring Operation: 23-14=9, Resulting Numbers: [64, 9] Generated Node #0,1,3: 56:[64, 9] Operation: 23-14=9 Exploring Operation: 64+14=78, Resulting Numbers: [23, 78] Generated Node #0,1,4: 56:[23, 78] Operation: 64+14=78 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[64, 9], Operations: ['72-49=23', '23-14=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,56 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[23, 50], Operations: ['72-49=23', '64-14=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[14, 41], Operations: ['72-49=23', '64-23=41'] Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,56 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[64, 37], Operations: ['72-49=23', '14+23=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 56:[23, 78], Operations: ['72-49=23', '64+14=78'] Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[72, 14, 15], Operations: ['64-49=15'] Exploring Operation: 72-14=58, Resulting Numbers: [15, 58] Generated Node #0,2,0: 56:[15, 58] Operation: 72-14=58 Exploring Operation: 72+14=86, Resulting Numbers: [15, 86] Generated Node #0,2,1: 56:[15, 86] Operation: 72+14=86 Exploring Operation: 14+15=29, Resulting Numbers: [72, 29] Generated Node #0,2,2: 56:[72, 29] Operation: 14+15=29 Exploring Operation: 72-15=57, Resulting Numbers: [14, 57] Generated Node #0,2,3: 56:[14, 57] Operation: 72-15=57 Exploring Operation: 15-14=1, Resulting Numbers: [72, 1] Generated Node #0,2,4: 56:[72, 1] Operation: 15-14=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[14, 57], Operations: ['64-49=15', '72-15=57'] Exploring Operation: 14+57=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 14*57=798, Resulting Numbers: [798] 798,56 unequal: No Solution Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[15, 58], Operations: ['64-49=15', '72-14=58'] Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 15*58=870, Resulting Numbers: [870] 870,56 unequal: No Solution Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[72, 29], Operations: ['64-49=15', '14+15=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 56:[72, 1], Operations: ['64-49=15', '15-14=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[15, 86], Operations: ['64-49=15', '72+14=86'] Exploring Operation: 15+86=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 15*86=1290, Resulting Numbers: [1290] 1290,56 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[49, 64, 58], Operations: ['72-14=58'] Exploring Operation: 49+58=107, Resulting Numbers: [64, 107] Generated Node #0,3,0: 56:[64, 107] Operation: 49+58=107 Exploring Operation: 64-58=6, Resulting Numbers: [49, 6] Generated Node #0,3,1: 56:[49, 6] Operation: 64-58=6 Exploring Operation: 64-49=15, Resulting Numbers: [58, 15] Generated Node #0,3,2: 56:[58, 15] Operation: 64-49=15 Exploring Operation: 58-49=9, Resulting Numbers: [64, 9] Generated Node #0,3,3: 56:[64, 9] Operation: 58-49=9 Exploring Operation: 49+64=113, Resulting Numbers: [58, 113] Generated Node #0,3,4: 56:[58, 113] Operation: 49+64=113 Moving to Node #0,3,2 Current State: 56:[58, 15], Operations: ['72-14=58', '64-49=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 58-15=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 58*15=870, Resulting Numbers: [870] 870,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[49, 6], Operations: ['72-14=58', '64-58=6'] Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[64, 9], Operations: ['72-14=58', '58-49=9'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[64, 107], Operations: ['72-14=58', '49+58=107'] Exploring Operation: 64*107=6848, Resulting Numbers: [6848] 6848,56 unequal: No Solution Exploring Operation: 64+107=171, Resulting Numbers: [171] 171,56 unequal: No Solution Exploring Operation: 107-64=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[58, 113], Operations: ['72-14=58', '49+64=113'] Exploring Operation: 58*113=6554, Resulting Numbers: [6554] 6554,56 unequal: No Solution Exploring Operation: 58+113=171, Resulting Numbers: [171] 171,56 unequal: No Solution Exploring Operation: 113-58=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[49, 72, 50], Operations: ['64-14=50'] Exploring Operation: 49+50=99, Resulting Numbers: [72, 99] Generated Node #0,0,0: 56:[72, 99] Operation: 49+50=99 Exploring Operation: 50-49=1, Resulting Numbers: [72, 1] Generated Node #0,0,1: 56:[72, 1] Operation: 50-49=1 Exploring Operation: 49+72=121, Resulting Numbers: [50, 121] Generated Node #0,0,2: 56:[50, 121] Operation: 49+72=121 Exploring Operation: 72-49=23, Resulting Numbers: [50, 23] Generated Node #0,0,3: 56:[50, 23] Operation: 72-49=23 Exploring Operation: 72-50=22, Resulting Numbers: [49, 22] Generated Node #0,0,4: 56:[49, 22] Operation: 72-50=22 Moving to Node #0,0,3 Current State: 56:[50, 23], Operations: ['64-14=50', '72-49=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,56 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[49, 22], Operations: ['64-14=50', '72-50=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,56 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[72, 1], Operations: ['64-14=50', '50-49=1'] Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[72, 99], Operations: ['64-14=50', '49+50=99'] Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,56 unequal: No Solution Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[50, 121], Operations: ['64-14=50', '49+72=121'] Exploring Operation: 50*121=6050, Resulting Numbers: [6050] 6050,56 unequal: No Solution Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 50+121=171, Resulting Numbers: [171] 171,56 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
[ 63, 34, 47, 38 ]
27
[ "47-38=9", "63/9=7", "34-7=27" ]
Current State: 27:[63, 34, 47, 38], Operations: [] Exploring Operation: 47-38=9, Resulting Numbers: [63, 34, 9] Generated Node #2: [63, 34, 9] from Operation: 47-38=9 Current State: 27:[63, 34, 9], Operations: ['47-38=9'] Exploring Operation: 63/9=7, Resulting Numbers: [34, 7] Generated Node #3: [34, 7] from Operation: 63/9=7 Current State: 27:[34, 7], Operations: ['47-38=9', '63/9=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[63, 34, 47, 38], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [34, 38, 16] Generated Node #0,0: 27:[34, 38, 16] Operation: 63-47=16 Exploring Operation: 63-38=25, Resulting Numbers: [34, 47, 25] Generated Node #0,1: 27:[34, 47, 25] Operation: 63-38=25 Exploring Operation: 63-34=29, Resulting Numbers: [47, 38, 29] Generated Node #0,2: 27:[47, 38, 29] Operation: 63-34=29 Moving to Node #0,0 Current State: 27:[34, 38, 16], Operations: ['63-47=16'] Exploring Operation: 38-16=22, Resulting Numbers: [34, 22] Generated Node #0,0,0: 27:[34, 22] Operation: 38-16=22 Exploring Operation: 38-34=4, Resulting Numbers: [16, 4] Generated Node #0,0,1: 27:[16, 4] Operation: 38-34=4 Exploring Operation: 34-16=18, Resulting Numbers: [38, 18] Generated Node #0,0,2: 27:[38, 18] Operation: 34-16=18 Moving to Node #0,1 Current State: 27:[34, 47, 25], Operations: ['63-38=25'] Exploring Operation: 34-25=9, Resulting Numbers: [47, 9] Generated Node #0,1,0: 27:[47, 9] Operation: 34-25=9 Exploring Operation: 47-25=22, Resulting Numbers: [34, 22] Generated Node #0,1,1: 27:[34, 22] Operation: 47-25=22 Exploring Operation: 47-34=13, Resulting Numbers: [25, 13] Generated Node #0,1,2: 27:[25, 13] Operation: 47-34=13 Moving to Node #0,2 Current State: 27:[47, 38, 29], Operations: ['63-34=29'] Exploring Operation: 47-38=9, Resulting Numbers: [29, 9] Generated Node #0,2,0: 27:[29, 9] Operation: 47-38=9 Exploring Operation: 38-29=9, Resulting Numbers: [47, 9] Generated Node #0,2,1: 27:[47, 9] Operation: 38-29=9 Exploring Operation: 47-29=18, Resulting Numbers: [38, 18] Generated Node #0,2,2: 27:[38, 18] Operation: 47-29=18 Moving to Node #0,2,0 Current State: 27:[29, 9], Operations: ['63-34=29', '47-38=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 29*9=261, Resulting Numbers: [261] 261,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[25, 13], Operations: ['63-38=25', '47-34=13'] Exploring Operation: 25*13=325, Resulting Numbers: [325] 325,27 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 25+13=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[16, 4], Operations: ['63-47=16', '38-34=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,27 unequal: No Solution Moving to Node #0,1,1 Current State: 27:[34, 22], Operations: ['63-38=25', '47-25=22'] Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,27 unequal: No Solution Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[34, 22], Operations: ['63-47=16', '38-16=22'] Exploring Operation: 34+22=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 34*22=748, Resulting Numbers: [748] 748,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[38, 18], Operations: ['63-47=16', '34-16=18'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,27 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[47, 9], Operations: ['63-38=25', '34-25=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,27 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[47, 9], Operations: ['63-34=29', '38-29=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,27 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[38, 18], Operations: ['63-34=29', '47-29=18'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,27 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,27 unequal: No Solution Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,27 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 44, 58, 40, 98 ]
36
[ "44+58=102", "40+98=138", "138-102=36" ]
Current State: 36:[44, 58, 40, 98], Operations: [] Exploring Operation: 44+58=102, Resulting Numbers: [40, 98, 102] Generated Node #2: [40, 98, 102] from Operation: 44+58=102 Current State: 36:[40, 98, 102], Operations: ['44+58=102'] Exploring Operation: 40+98=138, Resulting Numbers: [102, 138] Generated Node #3: [102, 138] from Operation: 40+98=138 Current State: 36:[102, 138], Operations: ['44+58=102', '40+98=138'] Exploring Operation: 138-102=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[44, 58, 40, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [44, 40, 40] Generated Node #0,0: 36:[44, 40, 40] Operation: 98-58=40 Exploring Operation: 98-44=54, Resulting Numbers: [58, 40, 54] Generated Node #0,1: 36:[58, 40, 54] Operation: 98-44=54 Moving to Node #0,0 Current State: 36:[44, 40, 40], Operations: ['98-58=40'] Exploring Operation: 44-40=4, Resulting Numbers: [40, 4] Generated Node #0,0,0: 36:[40, 4] Operation: 44-40=4 Exploring Operation: 44-40=4, Resulting Numbers: [40, 4] Generated Node #0,0,1: 36:[40, 4] Operation: 44-40=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[40, 4], Operations: ['98-58=40', '44-40=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[44, 58, 40, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [44, 40, 40] Generated Node #0,0: 36:[44, 40, 40] Operation: 98-58=40 Moving to Node #0,0 Current State: 36:[44, 40, 40], Operations: ['98-58=40'] Exploring Operation: 44-40=4, Resulting Numbers: [40, 4] Generated Node #0,0,0: 36:[40, 4] Operation: 44-40=4 Moving to Node #0,0,0 Current State: 36:[40, 4], Operations: ['98-58=40', '44-40=4'] Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 64, 88, 89, 31 ]
95
[ "64+31=95", "89-88=1", "95*1=95" ]
Current State: 95:[64, 88, 89, 31], Operations: [] Exploring Operation: 64+31=95, Resulting Numbers: [88, 89, 95] Generated Node #2: [88, 89, 95] from Operation: 64+31=95 Current State: 95:[88, 89, 95], Operations: ['64+31=95'] Exploring Operation: 89-88=1, Resulting Numbers: [95, 1] Generated Node #3: [95, 1] from Operation: 89-88=1 Current State: 95:[95, 1], Operations: ['64+31=95', '89-88=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[64, 88, 89, 31], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [89, 31, 24] Generated Node #0,0: 95:[89, 31, 24] Operation: 88-64=24 Exploring Operation: 64+31=95, Resulting Numbers: [88, 89, 95] Generated Node #0,1: 95:[88, 89, 95] Operation: 64+31=95 Exploring Operation: 89-64=25, Resulting Numbers: [88, 31, 25] Generated Node #0,2: 95:[88, 31, 25] Operation: 89-64=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[88, 89, 95], Operations: ['64+31=95'] Exploring Operation: 95-88=7, Resulting Numbers: [89, 7] Generated Node #0,1,0: 95:[89, 7] Operation: 95-88=7 Exploring Operation: 89-88=1, Resulting Numbers: [95, 1] Generated Node #0,1,1: 95:[95, 1] Operation: 89-88=1 Exploring Operation: 95-89=6, Resulting Numbers: [88, 6] Generated Node #0,1,2: 95:[88, 6] Operation: 95-89=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[95, 1], Operations: ['64+31=95', '89-88=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[64, 88, 89, 31], Operations: [] Exploring Operation: 64+31=95, Resulting Numbers: [88, 89, 95] Generated Node #0,1: 95:[88, 89, 95] Operation: 64+31=95 Moving to Node #0,1 Current State: 95:[88, 89, 95], Operations: ['64+31=95'] Exploring Operation: 89-88=1, Resulting Numbers: [95, 1] Generated Node #0,1,1: 95:[95, 1] Operation: 89-88=1 Moving to Node #0,1,1 Current State: 95:[95, 1], Operations: ['64+31=95', '89-88=1'] Exploring Operation: 95*1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 43, 74, 35, 27 ]
37
[ "43+27=70", "74*35=2590", "2590/70=37" ]
Current State: 37:[43, 74, 35, 27], Operations: [] Exploring Operation: 43+27=70, Resulting Numbers: [74, 35, 70] Generated Node #2: [74, 35, 70] from Operation: 43+27=70 Current State: 37:[74, 35, 70], Operations: ['43+27=70'] Exploring Operation: 74*35=2590, Resulting Numbers: [70, 2590] Generated Node #3: [70, 2590] from Operation: 74*35=2590 Current State: 37:[70, 2590], Operations: ['43+27=70', '74*35=2590'] Exploring Operation: 2590/70=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[43, 74, 35, 27], Operations: [] Exploring Operation: 74-27=47, Resulting Numbers: [43, 35, 47] Generated Node #0,0: 37:[43, 35, 47] Operation: 74-27=47 Exploring Operation: 35+27=62, Resulting Numbers: [43, 74, 62] Generated Node #0,1: 37:[43, 74, 62] Operation: 35+27=62 Exploring Operation: 74-43=31, Resulting Numbers: [35, 27, 31] Generated Node #0,2: 37:[35, 27, 31] Operation: 74-43=31 Exploring Operation: 43-27=16, Resulting Numbers: [74, 35, 16] Generated Node #0,3: 37:[74, 35, 16] Operation: 43-27=16 Exploring Operation: 74-35=39, Resulting Numbers: [43, 27, 39] Generated Node #0,4: 37:[43, 27, 39] Operation: 74-35=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[43, 35, 47], Operations: ['74-27=47'] Exploring Operation: 35+47=82, Resulting Numbers: [43, 82] Generated Node #0,0,0: 37:[43, 82] Operation: 35+47=82 Exploring Operation: 47-43=4, Resulting Numbers: [35, 4] Generated Node #0,0,1: 37:[35, 4] Operation: 47-43=4 Exploring Operation: 43-35=8, Resulting Numbers: [47, 8] Generated Node #0,0,2: 37:[47, 8] Operation: 43-35=8 Exploring Operation: 47-35=12, Resulting Numbers: [43, 12] Generated Node #0,0,3: 37:[43, 12] Operation: 47-35=12 Exploring Operation: 43+35=78, Resulting Numbers: [47, 78] Generated Node #0,0,4: 37:[47, 78] Operation: 43+35=78 Moving to Node #0,0,3 Current State: 37:[43, 12], Operations: ['74-27=47', '47-35=12'] Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,37 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[35, 4], Operations: ['74-27=47', '47-43=4'] Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,37 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[47, 8], Operations: ['74-27=47', '43-35=8'] Exploring Operation: 47-8=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 47*8=376, Resulting Numbers: [376] 376,37 unequal: No Solution Exploring Operation: 47+8=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[43, 82], Operations: ['74-27=47', '35+47=82'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,37 unequal: No Solution Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[47, 78], Operations: ['74-27=47', '43+35=78'] Exploring Operation: 47+78=125, Resulting Numbers: [125] 125,37 unequal: No Solution Exploring Operation: 47*78=3666, Resulting Numbers: [3666] 3666,37 unequal: No Solution Exploring Operation: 78-47=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[35, 27, 31], Operations: ['74-43=31'] Exploring Operation: 31-27=4, Resulting Numbers: [35, 4] Generated Node #0,2,0: 37:[35, 4] Operation: 31-27=4 Exploring Operation: 35+31=66, Resulting Numbers: [27, 66] Generated Node #0,2,1: 37:[27, 66] Operation: 35+31=66 Exploring Operation: 35+27=62, Resulting Numbers: [31, 62] Generated Node #0,2,2: 37:[31, 62] Operation: 35+27=62 Exploring Operation: 35-27=8, Resulting Numbers: [31, 8] Generated Node #0,2,3: 37:[31, 8] Operation: 35-27=8 Exploring Operation: 27+31=58, Resulting Numbers: [35, 58] Generated Node #0,2,4: 37:[35, 58] Operation: 27+31=58 Moving to Node #0,2,4 Current State: 37:[35, 58], Operations: ['74-43=31', '27+31=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[31, 62], Operations: ['74-43=31', '35+27=62'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 31+62=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 31*62=1922, Resulting Numbers: [1922] 1922,37 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[35, 4], Operations: ['74-43=31', '31-27=4'] Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,37 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[31, 8], Operations: ['74-43=31', '35-27=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,37 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[27, 66], Operations: ['74-43=31', '35+31=66'] Exploring Operation: 66-27=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 27+66=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 27*66=1782, Resulting Numbers: [1782] 1782,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[43, 27, 39], Operations: ['74-35=39'] Exploring Operation: 39-27=12, Resulting Numbers: [43, 12] Generated Node #0,4,0: 37:[43, 12] Operation: 39-27=12 Exploring Operation: 43+27=70, Resulting Numbers: [39, 70] Generated Node #0,4,1: 37:[39, 70] Operation: 43+27=70 Exploring Operation: 43-27=16, Resulting Numbers: [39, 16] Generated Node #0,4,2: 37:[39, 16] Operation: 43-27=16 Exploring Operation: 27+39=66, Resulting Numbers: [43, 66] Generated Node #0,4,3: 37:[43, 66] Operation: 27+39=66 Exploring Operation: 43-39=4, Resulting Numbers: [27, 4] Generated Node #0,4,4: 37:[27, 4] Operation: 43-39=4 Moving to Node #0,4,2 Current State: 37:[39, 16], Operations: ['74-35=39', '43-27=16'] Exploring Operation: 39*16=624, Resulting Numbers: [624] 624,37 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[43, 12], Operations: ['74-35=39', '39-27=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[39, 70], Operations: ['74-35=39', '43+27=70'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 39*70=2730, Resulting Numbers: [2730] 2730,37 unequal: No Solution Exploring Operation: 39+70=109, Resulting Numbers: [109] 109,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[43, 66], Operations: ['74-35=39', '27+39=66'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,37 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[27, 4], Operations: ['74-35=39', '43-39=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[74, 35, 16], Operations: ['43-27=16'] Exploring Operation: 74-35=39, Resulting Numbers: [16, 39] Generated Node #0,3,0: 37:[16, 39] Operation: 74-35=39 Exploring Operation: 74+16=90, Resulting Numbers: [35, 90] Generated Node #0,3,1: 37:[35, 90] Operation: 74+16=90 Exploring Operation: 35-16=19, Resulting Numbers: [74, 19] Generated Node #0,3,2: 37:[74, 19] Operation: 35-16=19 Exploring Operation: 35+16=51, Resulting Numbers: [74, 51] Generated Node #0,3,3: 37:[74, 51] Operation: 35+16=51 Exploring Operation: 74-16=58, Resulting Numbers: [35, 58] Generated Node #0,3,4: 37:[35, 58] Operation: 74-16=58 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 37:[16, 39], Operations: ['43-27=16', '74-35=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 37:[35, 58], Operations: ['43-27=16', '74-16=58'] Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 37:[74, 51], Operations: ['43-27=16', '35+16=51'] Exploring Operation: 74*51=3774, Resulting Numbers: [3774] 3774,37 unequal: No Solution Exploring Operation: 74+51=125, Resulting Numbers: [125] 125,37 unequal: No Solution Exploring Operation: 74-51=23, Resulting Numbers: [23] 23,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 37:[35, 90], Operations: ['43-27=16', '74+16=90'] Exploring Operation: 35*90=3150, Resulting Numbers: [3150] 3150,37 unequal: No Solution Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 35+90=125, Resulting Numbers: [125] 125,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[74, 19], Operations: ['43-27=16', '35-16=19'] Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,37 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[43, 74, 62], Operations: ['35+27=62'] Exploring Operation: 74-62=12, Resulting Numbers: [43, 12] Generated Node #0,1,0: 37:[43, 12] Operation: 74-62=12 Exploring Operation: 43+62=105, Resulting Numbers: [74, 105] Generated Node #0,1,1: 37:[74, 105] Operation: 43+62=105 Exploring Operation: 62-43=19, Resulting Numbers: [74, 19] Generated Node #0,1,2: 37:[74, 19] Operation: 62-43=19 Exploring Operation: 43+74=117, Resulting Numbers: [62, 117] Generated Node #0,1,3: 37:[62, 117] Operation: 43+74=117 Exploring Operation: 74-43=31, Resulting Numbers: [62, 31] Generated Node #0,1,4: 37:[62, 31] Operation: 74-43=31 Moving to Node #0,1,0 Current State: 37:[43, 12], Operations: ['35+27=62', '74-62=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,37 unequal: No Solution Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[62, 31], Operations: ['35+27=62', '74-43=31'] Exploring Operation: 62-31=31, Resulting Numbers: [31] 31,37 unequal: No Solution Exploring Operation: 62*31=1922, Resulting Numbers: [1922] 1922,37 unequal: No Solution Exploring Operation: 62+31=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 62/31=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[74, 19], Operations: ['35+27=62', '62-43=19'] Exploring Operation: 74*19=1406, Resulting Numbers: [1406] 1406,37 unequal: No Solution Exploring Operation: 74+19=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 74-19=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[74, 105], Operations: ['35+27=62', '43+62=105'] Exploring Operation: 74+105=179, Resulting Numbers: [179] 179,37 unequal: No Solution Exploring Operation: 74*105=7770, Resulting Numbers: [7770] 7770,37 unequal: No Solution Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[62, 117], Operations: ['35+27=62', '43+74=117'] Exploring Operation: 62*117=7254, Resulting Numbers: [7254] 7254,37 unequal: No Solution Exploring Operation: 117-62=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 62+117=179, Resulting Numbers: [179] 179,37 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
[ 33, 43, 48, 46 ]
59
[ "46-43=3", "33/3=11", "48+11=59" ]
Current State: 59:[33, 43, 48, 46], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [33, 48, 3] Generated Node #2: [33, 48, 3] from Operation: 46-43=3 Current State: 59:[33, 48, 3], Operations: ['46-43=3'] Exploring Operation: 33/3=11, Resulting Numbers: [48, 11] Generated Node #3: [48, 11] from Operation: 33/3=11 Current State: 59:[48, 11], Operations: ['46-43=3', '33/3=11'] Exploring Operation: 48+11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[33, 43, 48, 46], Operations: [] Exploring Operation: 33+46=79, Resulting Numbers: [43, 48, 79] Generated Node #0,0: 59:[43, 48, 79] Operation: 33+46=79 Exploring Operation: 33+43=76, Resulting Numbers: [48, 46, 76] Generated Node #0,1: 59:[48, 46, 76] Operation: 33+43=76 Exploring Operation: 33+48=81, Resulting Numbers: [43, 46, 81] Generated Node #0,2: 59:[43, 46, 81] Operation: 33+48=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[48, 46, 76], Operations: ['33+43=76'] Exploring Operation: 48+46=94, Resulting Numbers: [76, 94] Generated Node #0,1,0: 59:[76, 94] Operation: 48+46=94 Exploring Operation: 76-48=28, Resulting Numbers: [46, 28] Generated Node #0,1,1: 59:[46, 28] Operation: 76-48=28 Exploring Operation: 76-46=30, Resulting Numbers: [48, 30] Generated Node #0,1,2: 59:[48, 30] Operation: 76-46=30 Moving to Node #0,1,2 Current State: 59:[48, 30], Operations: ['33+43=76', '76-46=30'] Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[46, 28], Operations: ['33+43=76', '76-48=28'] Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,59 unequal: No Solution Exploring Operation: 46*28=1288, Resulting Numbers: [1288] 1288,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[76, 94], Operations: ['33+43=76', '48+46=94'] Exploring Operation: 76*94=7144, Resulting Numbers: [7144] 7144,59 unequal: No Solution Exploring Operation: 76+94=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 94-76=18, Resulting Numbers: [18] 18,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[43, 48, 79], Operations: ['33+46=79'] Exploring Operation: 79-48=31, Resulting Numbers: [43, 31] Generated Node #0,0,0: 59:[43, 31] Operation: 79-48=31 Exploring Operation: 43+48=91, Resulting Numbers: [79, 91] Generated Node #0,0,1: 59:[79, 91] Operation: 43+48=91 Exploring Operation: 79-43=36, Resulting Numbers: [48, 36] Generated Node #0,0,2: 59:[48, 36] Operation: 79-43=36 Moving to Node #0,0,2 Current State: 59:[48, 36], Operations: ['33+46=79', '79-43=36'] Exploring Operation: 48+36=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 48*36=1728, Resulting Numbers: [1728] 1728,59 unequal: No Solution Exploring Operation: 48-36=12, Resulting Numbers: [12] 12,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[43, 31], Operations: ['33+46=79', '79-48=31'] Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,59 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[79, 91], Operations: ['33+46=79', '43+48=91'] Exploring Operation: 79+91=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 79*91=7189, Resulting Numbers: [7189] 7189,59 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[43, 46, 81], Operations: ['33+48=81'] Exploring Operation: 81-46=35, Resulting Numbers: [43, 35] Generated Node #0,2,0: 59:[43, 35] Operation: 81-46=35 Exploring Operation: 43+46=89, Resulting Numbers: [81, 89] Generated Node #0,2,1: 59:[81, 89] Operation: 43+46=89 Exploring Operation: 81-43=38, Resulting Numbers: [46, 38] Generated Node #0,2,2: 59:[46, 38] Operation: 81-43=38 Moving to Node #0,2,2 Current State: 59:[46, 38], Operations: ['33+48=81', '81-43=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,59 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,59 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[43, 35], Operations: ['33+48=81', '81-46=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,59 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,59 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[81, 89], Operations: ['33+48=81', '43+46=89'] Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,59 unequal: No Solution Exploring Operation: 81*89=7209, Resulting Numbers: [7209] 7209,59 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,59 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
[ 99, 25, 13, 97 ]
63
[ "99-97=2", "25*2=50", "13+50=63" ]
Current State: 63:[99, 25, 13, 97], Operations: [] Exploring Operation: 99-97=2, Resulting Numbers: [25, 13, 2] Generated Node #2: [25, 13, 2] from Operation: 99-97=2 Current State: 63:[25, 13, 2], Operations: ['99-97=2'] Exploring Operation: 25*2=50, Resulting Numbers: [13, 50] Generated Node #3: [13, 50] from Operation: 25*2=50 Current State: 63:[13, 50], Operations: ['99-97=2', '25*2=50'] Exploring Operation: 13+50=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[99, 25, 13, 97], Operations: [] Exploring Operation: 99-25=74, Resulting Numbers: [13, 97, 74] Generated Node #0,0: 63:[13, 97, 74] Operation: 99-25=74 Exploring Operation: 99-97=2, Resulting Numbers: [25, 13, 2] Generated Node #0,1: 63:[25, 13, 2] Operation: 99-97=2 Exploring Operation: 97-25=72, Resulting Numbers: [99, 13, 72] Generated Node #0,2: 63:[99, 13, 72] Operation: 97-25=72 Moving to Node #0,1 Current State: 63:[25, 13, 2], Operations: ['99-97=2'] Exploring Operation: 13-2=11, Resulting Numbers: [25, 11] Generated Node #0,1,0: 63:[25, 11] Operation: 13-2=11 Exploring Operation: 25-2=23, Resulting Numbers: [13, 23] Generated Node #0,1,1: 63:[13, 23] Operation: 25-2=23 Exploring Operation: 25-13=12, Resulting Numbers: [2, 12] Generated Node #0,1,2: 63:[2, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[2, 12], Operations: ['99-97=2', '25-13=12'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[25, 11], Operations: ['99-97=2', '13-2=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,63 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[13, 23], Operations: ['99-97=2', '25-2=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,63 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: 63:[13, 97, 74], Operations: ['99-25=74'] Exploring Operation: 97-13=84, Resulting Numbers: [74, 84] Generated Node #0,0,0: 63:[74, 84] Operation: 97-13=84 Exploring Operation: 74-13=61, Resulting Numbers: [97, 61] Generated Node #0,0,1: 63:[97, 61] Operation: 74-13=61 Exploring Operation: 97-74=23, Resulting Numbers: [13, 23] Generated Node #0,0,2: 63:[13, 23] Operation: 97-74=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[13, 23], Operations: ['99-25=74', '97-74=23'] Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,63 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,63 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[74, 84], Operations: ['99-25=74', '97-13=84'] Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,63 unequal: No Solution Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,63 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[97, 61], Operations: ['99-25=74', '74-13=61'] Exploring Operation: 97*61=5917, Resulting Numbers: [5917] 5917,63 unequal: No Solution Exploring Operation: 97+61=158, Resulting Numbers: [158] 158,63 unequal: No Solution Exploring Operation: 97-61=36, Resulting Numbers: [36] 36,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 63:[99, 13, 72], Operations: ['97-25=72'] Exploring Operation: 72-13=59, Resulting Numbers: [99, 59] Generated Node #0,2,0: 63:[99, 59] Operation: 72-13=59 Exploring Operation: 99-72=27, Resulting Numbers: [13, 27] Generated Node #0,2,1: 63:[13, 27] Operation: 99-72=27 Exploring Operation: 99-13=86, Resulting Numbers: [72, 86] Generated Node #0,2,2: 63:[72, 86] Operation: 99-13=86 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[13, 27], Operations: ['97-25=72', '99-72=27'] Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,63 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[72, 86], Operations: ['97-25=72', '99-13=86'] Exploring Operation: 72*86=6192, Resulting Numbers: [6192] 6192,63 unequal: No Solution Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 72+86=158, Resulting Numbers: [158] 158,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[99, 59], Operations: ['97-25=72', '72-13=59'] Exploring Operation: 99*59=5841, Resulting Numbers: [5841] 5841,63 unequal: No Solution Exploring Operation: 99+59=158, Resulting Numbers: [158] 158,63 unequal: No Solution Exploring Operation: 99-59=40, Resulting Numbers: [40] 40,63 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
[ 75, 89, 82, 67 ]
29
[ "89-75=14", "82-67=15", "14+15=29" ]
Current State: 29:[75, 89, 82, 67], Operations: [] Exploring Operation: 89-75=14, Resulting Numbers: [82, 67, 14] Generated Node #2: [82, 67, 14] from Operation: 89-75=14 Current State: 29:[82, 67, 14], Operations: ['89-75=14'] Exploring Operation: 82-67=15, Resulting Numbers: [14, 15] Generated Node #3: [14, 15] from Operation: 82-67=15 Current State: 29:[14, 15], Operations: ['89-75=14', '82-67=15'] Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[75, 89, 82, 67], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [89, 67, 7] Generated Node #0,0: 29:[89, 67, 7] Operation: 82-75=7 Exploring Operation: 89-67=22, Resulting Numbers: [75, 82, 22] Generated Node #0,1: 29:[75, 82, 22] Operation: 89-67=22 Exploring Operation: 89-75=14, Resulting Numbers: [82, 67, 14] Generated Node #0,2: 29:[82, 67, 14] Operation: 89-75=14 Exploring Operation: 82-67=15, Resulting Numbers: [75, 89, 15] Generated Node #0,3: 29:[75, 89, 15] Operation: 82-67=15 Exploring Operation: 89-82=7, Resulting Numbers: [75, 67, 7] Generated Node #0,4: 29:[75, 67, 7] Operation: 89-82=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[75, 82, 22], Operations: ['89-67=22'] Exploring Operation: 75-22=53, Resulting Numbers: [82, 53] Generated Node #0,1,0: 29:[82, 53] Operation: 75-22=53 Exploring Operation: 75+22=97, Resulting Numbers: [82, 97] Generated Node #0,1,1: 29:[82, 97] Operation: 75+22=97 Exploring Operation: 82+22=104, Resulting Numbers: [75, 104] Generated Node #0,1,2: 29:[75, 104] Operation: 82+22=104 Exploring Operation: 82-75=7, Resulting Numbers: [22, 7] Generated Node #0,1,3: 29:[22, 7] Operation: 82-75=7 Exploring Operation: 82-22=60, Resulting Numbers: [75, 60] Generated Node #0,1,4: 29:[75, 60] Operation: 82-22=60 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 29:[22, 7], Operations: ['89-67=22', '82-75=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,29 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[75, 89, 82, 67], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [75, 82, 22] Generated Node #0,1: 29:[75, 82, 22] Operation: 89-67=22 Moving to Node #0,1 Current State: 29:[75, 82, 22], Operations: ['89-67=22'] Exploring Operation: 82-75=7, Resulting Numbers: [22, 7] Generated Node #0,1,3: 29:[22, 7] Operation: 82-75=7 Moving to Node #0,1,3 Current State: 29:[22, 7], Operations: ['89-67=22', '82-75=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 38, 56, 22, 39 ]
77
[ "38+56=94", "39-22=17", "94-17=77" ]
Current State: 77:[38, 56, 22, 39], Operations: [] Exploring Operation: 38+56=94, Resulting Numbers: [22, 39, 94] Generated Node #2: [22, 39, 94] from Operation: 38+56=94 Current State: 77:[22, 39, 94], Operations: ['38+56=94'] Exploring Operation: 39-22=17, Resulting Numbers: [94, 17] Generated Node #3: [94, 17] from Operation: 39-22=17 Current State: 77:[94, 17], Operations: ['38+56=94', '39-22=17'] Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[38, 56, 22, 39], Operations: [] Exploring Operation: 56-39=17, Resulting Numbers: [38, 22, 17] Generated Node #0,0: 77:[38, 22, 17] Operation: 56-39=17 Exploring Operation: 38+39=77, Resulting Numbers: [56, 22, 77] Generated Node #0,1: 77:[56, 22, 77] Operation: 38+39=77 Exploring Operation: 39-38=1, Resulting Numbers: [56, 22, 1] Generated Node #0,2: 77:[56, 22, 1] Operation: 39-38=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[56, 22, 77], Operations: ['38+39=77'] Exploring Operation: 77-56=21, Resulting Numbers: [22, 21] Generated Node #0,1,0: 77:[22, 21] Operation: 77-56=21 Exploring Operation: 56+22=78, Resulting Numbers: [77, 78] Generated Node #0,1,1: 77:[77, 78] Operation: 56+22=78 Exploring Operation: 56-22=34, Resulting Numbers: [77, 34] Generated Node #0,1,2: 77:[77, 34] Operation: 56-22=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[77, 78], Operations: ['38+39=77', '56+22=78'] Exploring Operation: 77*78=6006, Resulting Numbers: [6006] 6006,77 unequal: No Solution Exploring Operation: 77+78=155, Resulting Numbers: [155] 155,77 unequal: No Solution Exploring Operation: 78-77=1, Resulting Numbers: [1] 1,77 unequal: No Solution No 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: 77:[22, 21], Operations: ['38+39=77', '77-56=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 22*21=462, Resulting Numbers: [462] 462,77 unequal: No Solution No 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: 77:[77, 34], Operations: ['38+39=77', '56-22=34'] Exploring Operation: 77-34=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 77+34=111, Resulting Numbers: [111] 111,77 unequal: No Solution Exploring Operation: 77*34=2618, Resulting Numbers: [2618] 2618,77 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: 77:[56, 22, 1], Operations: ['39-38=1'] Exploring Operation: 56+22=78, Resulting Numbers: [1, 78] Generated Node #0,2,0: 77:[1, 78] Operation: 56+22=78 Exploring Operation: 56+1=57, Resulting Numbers: [22, 57] Generated Node #0,2,1: 77:[22, 57] Operation: 56+1=57 Exploring Operation: 56-22=34, Resulting Numbers: [1, 34] Generated Node #0,2,2: 77:[1, 34] Operation: 56-22=34 Moving to Node #0,2,0 Current State: 77:[1, 78], Operations: ['39-38=1', '56+22=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[38, 56, 22, 39], Operations: [] Exploring Operation: 39-38=1, Resulting Numbers: [56, 22, 1] Generated Node #0,2: 77:[56, 22, 1] Operation: 39-38=1 Moving to Node #0,2 Current State: 77:[56, 22, 1], Operations: ['39-38=1'] Exploring Operation: 56+22=78, Resulting Numbers: [1, 78] Generated Node #0,2,0: 77:[1, 78] Operation: 56+22=78 Moving to Node #0,2,0 Current State: 77:[1, 78], Operations: ['39-38=1', '56+22=78'] Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 17, 99, 54, 10 ]
19
[ "99+54=153", "153/17=9", "10+9=19" ]
Current State: 19:[17, 99, 54, 10], Operations: [] Exploring Operation: 99+54=153, Resulting Numbers: [17, 10, 153] Generated Node #2: [17, 10, 153] from Operation: 99+54=153 Current State: 19:[17, 10, 153], Operations: ['99+54=153'] Exploring Operation: 153/17=9, Resulting Numbers: [10, 9] Generated Node #3: [10, 9] from Operation: 153/17=9 Current State: 19:[10, 9], Operations: ['99+54=153', '153/17=9'] Exploring Operation: 10+9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[17, 99, 54, 10], Operations: [] Exploring Operation: 99-54=45, Resulting Numbers: [17, 10, 45] Generated Node #0,0: 19:[17, 10, 45] Operation: 99-54=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[17, 10, 45], Operations: ['99-54=45'] Exploring Operation: 45-17=28, Resulting Numbers: [10, 28] Generated Node #0,0,0: 19:[10, 28] Operation: 45-17=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[10, 28], Operations: ['99-54=45', '45-17=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,19 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
[ 14, 10, 44, 34 ]
29
[ "10*44=440", "440-34=406", "406/14=29" ]
Current State: 29:[14, 10, 44, 34], Operations: [] Exploring Operation: 10*44=440, Resulting Numbers: [14, 34, 440] Generated Node #2: [14, 34, 440] from Operation: 10*44=440 Current State: 29:[14, 34, 440], Operations: ['10*44=440'] Exploring Operation: 440-34=406, Resulting Numbers: [14, 406] Generated Node #3: [14, 406] from Operation: 440-34=406 Current State: 29:[14, 406], Operations: ['10*44=440', '440-34=406'] Exploring Operation: 406/14=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[14, 10, 44, 34], Operations: [] Exploring Operation: 44-14=30, Resulting Numbers: [10, 34, 30] Generated Node #0,0: 29:[10, 34, 30] Operation: 44-14=30 Exploring Operation: 14+10=24, Resulting Numbers: [44, 34, 24] Generated Node #0,1: 29:[44, 34, 24] Operation: 14+10=24 Exploring Operation: 44-10=34, Resulting Numbers: [14, 34, 34] Generated Node #0,2: 29:[14, 34, 34] Operation: 44-10=34 Moving to Node #0,0 Current State: 29:[10, 34, 30], Operations: ['44-14=30'] Exploring Operation: 10+34=44, Resulting Numbers: [30, 44] Generated Node #0,0,0: 29:[30, 44] Operation: 10+34=44 Exploring Operation: 34-10=24, Resulting Numbers: [30, 24] Generated Node #0,0,1: 29:[30, 24] Operation: 34-10=24 Exploring Operation: 30-10=20, Resulting Numbers: [34, 20] Generated Node #0,0,2: 29:[34, 20] Operation: 30-10=20 Moving to Node #0,1 Current State: 29:[44, 34, 24], Operations: ['14+10=24'] Exploring Operation: 44-34=10, Resulting Numbers: [24, 10] Generated Node #0,1,0: 29:[24, 10] Operation: 44-34=10 Exploring Operation: 34-24=10, Resulting Numbers: [44, 10] Generated Node #0,1,1: 29:[44, 10] Operation: 34-24=10 Exploring Operation: 44-24=20, Resulting Numbers: [34, 20] Generated Node #0,1,2: 29:[34, 20] Operation: 44-24=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[34, 20], Operations: ['14+10=24', '44-24=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,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,0 Current State: 29:[24, 10], Operations: ['14+10=24', '44-34=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,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,1 Current State: 29:[44, 10], Operations: ['14+10=24', '34-24=10'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 44*10=440, Resulting Numbers: [440] 440,29 unequal: No Solution Exploring Operation: 44+10=54, Resulting Numbers: [54] 54,29 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: 29:[14, 34, 34], Operations: ['44-10=34'] Exploring Operation: 34-14=20, Resulting Numbers: [34, 20] Generated Node #0,2,0: 29:[34, 20] Operation: 34-14=20 Exploring Operation: 14+34=48, Resulting Numbers: [34, 48] Generated Node #0,2,1: 29:[34, 48] Operation: 14+34=48 Exploring Operation: 34-14=20, Resulting Numbers: [34, 20] Generated Node #0,2,2: 29:[34, 20] Operation: 34-14=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[34, 20], Operations: ['44-10=34', '34-14=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,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,2,2 Current State: 29:[34, 20], Operations: ['44-10=34', '34-14=20'] Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,29 unequal: No Solution Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,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,2,1 Current State: 29:[34, 48], Operations: ['44-10=34', '14+34=48'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,29 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: 29:[30, 24], Operations: ['44-14=30', '34-10=24'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 30+24=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 30*24=720, Resulting Numbers: [720] 720,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[34, 20], Operations: ['44-14=30', '30-10=20'] Exploring Operation: 34-20=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 34*20=680, Resulting Numbers: [680] 680,29 unequal: No Solution Exploring Operation: 34+20=54, Resulting Numbers: [54] 54,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[30, 44], Operations: ['44-14=30', '10+34=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,29 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,29 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 39, 18, 84, 6 ]
32
[ "18-6=12", "84/12=7", "39-7=32" ]
Current State: 32:[39, 18, 84, 6], Operations: [] Exploring Operation: 18-6=12, Resulting Numbers: [39, 84, 12] Generated Node #2: [39, 84, 12] from Operation: 18-6=12 Current State: 32:[39, 84, 12], Operations: ['18-6=12'] Exploring Operation: 84/12=7, Resulting Numbers: [39, 7] Generated Node #3: [39, 7] from Operation: 84/12=7 Current State: 32:[39, 7], Operations: ['18-6=12', '84/12=7'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[39, 18, 84, 6], Operations: [] Exploring Operation: 39-6=33, Resulting Numbers: [18, 84, 33] Generated Node #0,0: 32:[18, 84, 33] Operation: 39-6=33 Exploring Operation: 84-39=45, Resulting Numbers: [18, 6, 45] Generated Node #0,1: 32:[18, 6, 45] Operation: 84-39=45 Exploring Operation: 84-18=66, Resulting Numbers: [39, 6, 66] Generated Node #0,2: 32:[39, 6, 66] Operation: 84-18=66 Exploring Operation: 84-6=78, Resulting Numbers: [39, 18, 78] Generated Node #0,3: 32:[39, 18, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [39, 18, 14] Generated Node #0,4: 32:[39, 18, 14] Operation: 84/6=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[39, 18, 14], Operations: ['84/6=14'] Exploring Operation: 39-14=25, Resulting Numbers: [18, 25] Generated Node #0,4,0: 32:[18, 25] Operation: 39-14=25 Exploring Operation: 39+14=53, Resulting Numbers: [18, 53] Generated Node #0,4,1: 32:[18, 53] Operation: 39+14=53 Exploring Operation: 18+14=32, Resulting Numbers: [39, 32] Generated Node #0,4,2: 32:[39, 32] Operation: 18+14=32 Exploring Operation: 18-14=4, Resulting Numbers: [39, 4] Generated Node #0,4,3: 32:[39, 4] Operation: 18-14=4 Exploring Operation: 39-18=21, Resulting Numbers: [14, 21] Generated Node #0,4,4: 32:[14, 21] Operation: 39-18=21 Moving to Node #0,4,2 Current State: 32:[39, 32], Operations: ['84/6=14', '18+14=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,32 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[14, 21], Operations: ['84/6=14', '39-18=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,32 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,32 unequal: No Solution Moving to Node #0,4,3 Current State: 32:[39, 4], Operations: ['84/6=14', '18-14=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,32 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,4,0 Current State: 32:[18, 25], Operations: ['84/6=14', '39-14=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,32 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,32 unequal: No Solution Moving to Node #0,4,1 Current State: 32:[18, 53], Operations: ['84/6=14', '39+14=53'] Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,32 unequal: No Solution Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,32 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[18, 6, 45], Operations: ['84-39=45'] Exploring Operation: 18-6=12, Resulting Numbers: [45, 12] Generated Node #0,1,0: 32:[45, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [45, 3] Generated Node #0,1,1: 32:[45, 3] Operation: 18/6=3 Exploring Operation: 18+6=24, Resulting Numbers: [45, 24] Generated Node #0,1,2: 32:[45, 24] Operation: 18+6=24 Exploring Operation: 45-6=39, Resulting Numbers: [18, 39] Generated Node #0,1,3: 32:[18, 39] Operation: 45-6=39 Exploring Operation: 45-18=27, Resulting Numbers: [6, 27] Generated Node #0,1,4: 32:[6, 27] Operation: 45-18=27 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[6, 27], Operations: ['84-39=45', '45-18=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[18, 39], Operations: ['84-39=45', '45-6=39'] Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[45, 3], Operations: ['84-39=45', '18/6=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,32 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[45, 12], Operations: ['84-39=45', '18-6=12'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[45, 24], Operations: ['84-39=45', '18+6=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 45*24=1080, Resulting Numbers: [1080] 1080,32 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[39, 6, 66], Operations: ['84-18=66'] Exploring Operation: 39-6=33, Resulting Numbers: [66, 33] Generated Node #0,2,0: 32:[66, 33] Operation: 39-6=33 Exploring Operation: 39+6=45, Resulting Numbers: [66, 45] Generated Node #0,2,1: 32:[66, 45] Operation: 39+6=45 Exploring Operation: 66/6=11, Resulting Numbers: [39, 11] Generated Node #0,2,2: 32:[39, 11] Operation: 66/6=11 Exploring Operation: 66-6=60, Resulting Numbers: [39, 60] Generated Node #0,2,3: 32:[39, 60] Operation: 66-6=60 Exploring Operation: 66-39=27, Resulting Numbers: [6, 27] Generated Node #0,2,4: 32:[6, 27] Operation: 66-39=27 Moving to Node #0,2,4 Current State: 32:[6, 27], Operations: ['84-18=66', '66-39=27'] Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[39, 11], Operations: ['84-18=66', '66/6=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[66, 33], Operations: ['84-18=66', '39-6=33'] Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 66+33=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 66*33=2178, Resulting Numbers: [2178] 2178,32 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,2,3 Current State: 32:[39, 60], Operations: ['84-18=66', '66-6=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[66, 45], Operations: ['84-18=66', '39+6=45'] Exploring Operation: 66+45=111, Resulting Numbers: [111] 111,32 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 66*45=2970, Resulting Numbers: [2970] 2970,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[18, 84, 33], Operations: ['39-6=33'] Exploring Operation: 33-18=15, Resulting Numbers: [84, 15] Generated Node #0,0,0: 32:[84, 15] Operation: 33-18=15 Exploring Operation: 84-18=66, Resulting Numbers: [33, 66] Generated Node #0,0,1: 32:[33, 66] Operation: 84-18=66 Exploring Operation: 18+84=102, Resulting Numbers: [33, 102] Generated Node #0,0,2: 32:[33, 102] Operation: 18+84=102 Exploring Operation: 18+33=51, Resulting Numbers: [84, 51] Generated Node #0,0,3: 32:[84, 51] Operation: 18+33=51 Exploring Operation: 84-33=51, Resulting Numbers: [18, 51] Generated Node #0,0,4: 32:[18, 51] Operation: 84-33=51 Moving to Node #0,0,4 Current State: 32:[18, 51], Operations: ['39-6=33', '84-33=51'] Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,32 unequal: No Solution Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[33, 66], Operations: ['39-6=33', '84-18=66'] Exploring Operation: 33+66=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 66-33=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 33*66=2178, Resulting Numbers: [2178] 2178,32 unequal: No Solution Exploring Operation: 66/33=2, Resulting Numbers: [2] 2,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[84, 15], Operations: ['39-6=33', '33-18=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[33, 102], Operations: ['39-6=33', '18+84=102'] Exploring Operation: 33+102=135, Resulting Numbers: [135] 135,32 unequal: No Solution Exploring Operation: 102-33=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 33*102=3366, Resulting Numbers: [3366] 3366,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[84, 51], Operations: ['39-6=33', '18+33=51'] Exploring Operation: 84*51=4284, Resulting Numbers: [4284] 4284,32 unequal: No Solution Exploring Operation: 84-51=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 84+51=135, Resulting Numbers: [135] 135,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[39, 18, 78], Operations: ['84-6=78'] Exploring Operation: 39+18=57, Resulting Numbers: [78, 57] Generated Node #0,3,0: 32:[78, 57] Operation: 39+18=57 Exploring Operation: 78-18=60, Resulting Numbers: [39, 60] Generated Node #0,3,1: 32:[39, 60] Operation: 78-18=60 Exploring Operation: 78/39=2, Resulting Numbers: [18, 2] Generated Node #0,3,2: 32:[18, 2] Operation: 78/39=2 Exploring Operation: 39-18=21, Resulting Numbers: [78, 21] Generated Node #0,3,3: 32:[78, 21] Operation: 39-18=21 Exploring Operation: 78-39=39, Resulting Numbers: [18, 39] Generated Node #0,3,4: 32:[18, 39] Operation: 78-39=39 Moving to Node #0,3,2 Current State: 32:[18, 2], Operations: ['84-6=78', '78/39=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,32 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[18, 39], Operations: ['84-6=78', '78-39=39'] Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[39, 60], Operations: ['84-6=78', '78-18=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,32 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[78, 21], Operations: ['84-6=78', '39-18=21'] Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[78, 57], Operations: ['84-6=78', '39+18=57'] Exploring Operation: 78+57=135, Resulting Numbers: [135] 135,32 unequal: No Solution Exploring Operation: 78*57=4446, Resulting Numbers: [4446] 4446,32 unequal: No Solution Exploring Operation: 78-57=21, Resulting Numbers: [21] 21,32 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
[ 58, 32, 63, 4 ]
33
[ "58-32=26", "63-4=59", "59-26=33" ]
Current State: 33:[58, 32, 63, 4], Operations: [] Exploring Operation: 58-32=26, Resulting Numbers: [63, 4, 26] Generated Node #2: [63, 4, 26] from Operation: 58-32=26 Current State: 33:[63, 4, 26], Operations: ['58-32=26'] Exploring Operation: 63-4=59, Resulting Numbers: [26, 59] Generated Node #3: [26, 59] from Operation: 63-4=59 Current State: 33:[26, 59], Operations: ['58-32=26', '63-4=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[58, 32, 63, 4], Operations: [] Exploring Operation: 63-4=59, Resulting Numbers: [58, 32, 59] Generated Node #0,0: 33:[58, 32, 59] Operation: 63-4=59 Exploring Operation: 58-32=26, Resulting Numbers: [63, 4, 26] Generated Node #0,1: 33:[63, 4, 26] Operation: 58-32=26 Exploring Operation: 63-32=31, Resulting Numbers: [58, 4, 31] Generated Node #0,2: 33:[58, 4, 31] Operation: 63-32=31 Exploring Operation: 63-58=5, Resulting Numbers: [32, 4, 5] Generated Node #0,3: 33:[32, 4, 5] Operation: 63-58=5 Exploring Operation: 58-4=54, Resulting Numbers: [32, 63, 54] Generated Node #0,4: 33:[32, 63, 54] Operation: 58-4=54 Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[32, 4, 5], Operations: ['63-58=5'] Exploring Operation: 5-4=1, Resulting Numbers: [32, 1] Generated Node #0,3,0: 33:[32, 1] Operation: 5-4=1 Exploring Operation: 32+5=37, Resulting Numbers: [4, 37] Generated Node #0,3,1: 33:[4, 37] Operation: 32+5=37 Exploring Operation: 32+4=36, Resulting Numbers: [5, 36] Generated Node #0,3,2: 33:[5, 36] Operation: 32+4=36 Exploring Operation: 4+5=9, Resulting Numbers: [32, 9] Generated Node #0,3,3: 33:[32, 9] Operation: 4+5=9 Exploring Operation: 32/4=8, Resulting Numbers: [5, 8] Generated Node #0,3,4: 33:[5, 8] Operation: 32/4=8 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[32, 1], Operations: ['63-58=5', '5-4=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[58, 32, 63, 4], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [32, 4, 5] Generated Node #0,3: 33:[32, 4, 5] Operation: 63-58=5 Moving to Node #0,3 Current State: 33:[32, 4, 5], Operations: ['63-58=5'] Exploring Operation: 5-4=1, Resulting Numbers: [32, 1] Generated Node #0,3,0: 33:[32, 1] Operation: 5-4=1 Moving to Node #0,3,0 Current State: 33:[32, 1], Operations: ['63-58=5', '5-4=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 24, 8, 43, 7 ]
18
[ "24+8=32", "43+7=50", "50-32=18" ]
Current State: 18:[24, 8, 43, 7], Operations: [] Exploring Operation: 24+8=32, Resulting Numbers: [43, 7, 32] Generated Node #2: [43, 7, 32] from Operation: 24+8=32 Current State: 18:[43, 7, 32], Operations: ['24+8=32'] Exploring Operation: 43+7=50, Resulting Numbers: [32, 50] Generated Node #3: [32, 50] from Operation: 43+7=50 Current State: 18:[32, 50], Operations: ['24+8=32', '43+7=50'] Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[24, 8, 43, 7], Operations: [] Exploring Operation: 43-8=35, Resulting Numbers: [24, 7, 35] Generated Node #0,0: 18:[24, 7, 35] Operation: 43-8=35 Exploring Operation: 43-24=19, Resulting Numbers: [8, 7, 19] Generated Node #0,1: 18:[8, 7, 19] Operation: 43-24=19 Exploring Operation: 43-7=36, Resulting Numbers: [24, 8, 36] Generated Node #0,2: 18:[24, 8, 36] Operation: 43-7=36 Moving to Node #0,1 Current State: 18:[8, 7, 19], Operations: ['43-24=19'] Exploring Operation: 19-8=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 18:[7, 11] Operation: 19-8=11 Exploring Operation: 8-7=1, Resulting Numbers: [19, 1] Generated Node #0,1,1: 18:[19, 1] Operation: 8-7=1 Exploring Operation: 8+7=15, Resulting Numbers: [19, 15] Generated Node #0,1,2: 18:[19, 15] Operation: 8+7=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[19, 1], Operations: ['43-24=19', '8-7=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[24, 8, 43, 7], Operations: [] Exploring Operation: 43-24=19, Resulting Numbers: [8, 7, 19] Generated Node #0,1: 18:[8, 7, 19] Operation: 43-24=19 Moving to Node #0,1 Current State: 18:[8, 7, 19], Operations: ['43-24=19'] Exploring Operation: 8-7=1, Resulting Numbers: [19, 1] Generated Node #0,1,1: 18:[19, 1] Operation: 8-7=1 Moving to Node #0,1,1 Current State: 18:[19, 1], Operations: ['43-24=19', '8-7=1'] Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 35, 53, 30, 26 ]
74
[ "53-35=18", "30+26=56", "18+56=74" ]
Current State: 74:[35, 53, 30, 26], Operations: [] Exploring Operation: 53-35=18, Resulting Numbers: [30, 26, 18] Generated Node #2: [30, 26, 18] from Operation: 53-35=18 Current State: 74:[30, 26, 18], Operations: ['53-35=18'] Exploring Operation: 30+26=56, Resulting Numbers: [18, 56] Generated Node #3: [18, 56] from Operation: 30+26=56 Current State: 74:[18, 56], Operations: ['53-35=18', '30+26=56'] Exploring Operation: 18+56=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[35, 53, 30, 26], Operations: [] Exploring Operation: 53+26=79, Resulting Numbers: [35, 30, 79] Generated Node #0,0: 74:[35, 30, 79] Operation: 53+26=79 Moving to Node #0,0 Current State: 74:[35, 30, 79], Operations: ['53+26=79'] Exploring Operation: 35-30=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 74:[79, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 74:[79, 5], Operations: ['53+26=79', '35-30=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[35, 53, 30, 26], Operations: [] Exploring Operation: 53+26=79, Resulting Numbers: [35, 30, 79] Generated Node #0,0: 74:[35, 30, 79] Operation: 53+26=79 Moving to Node #0,0 Current State: 74:[35, 30, 79], Operations: ['53+26=79'] Exploring Operation: 35-30=5, Resulting Numbers: [79, 5] Generated Node #0,0,0: 74:[79, 5] Operation: 35-30=5 Moving to Node #0,0,0 Current State: 74:[79, 5], Operations: ['53+26=79', '35-30=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 91, 49, 14, 5 ]
50
[ "91+49=140", "140/14=10", "5*10=50" ]
Current State: 50:[91, 49, 14, 5], Operations: [] Exploring Operation: 91+49=140, Resulting Numbers: [14, 5, 140] Generated Node #2: [14, 5, 140] from Operation: 91+49=140 Current State: 50:[14, 5, 140], Operations: ['91+49=140'] Exploring Operation: 140/14=10, Resulting Numbers: [5, 10] Generated Node #3: [5, 10] from Operation: 140/14=10 Current State: 50:[5, 10], Operations: ['91+49=140', '140/14=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[91, 49, 14, 5], Operations: [] Exploring Operation: 91-49=42, Resulting Numbers: [14, 5, 42] Generated Node #0,0: 50:[14, 5, 42] Operation: 91-49=42 Moving to Node #0,0 Current State: 50:[14, 5, 42], Operations: ['91-49=42'] Exploring Operation: 42/14=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 50:[5, 3] Operation: 42/14=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[5, 3], Operations: ['91-49=42', '42/14=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 92, 37, 26, 33 ]
39
[ "92-26=66", "66/33=2", "37+2=39" ]
Current State: 39:[92, 37, 26, 33], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [37, 33, 66] Generated Node #2: [37, 33, 66] from Operation: 92-26=66 Current State: 39:[37, 33, 66], Operations: ['92-26=66'] Exploring Operation: 66/33=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 66/33=2 Current State: 39:[37, 2], Operations: ['92-26=66', '66/33=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[92, 37, 26, 33], Operations: [] Exploring Operation: 92-37=55, Resulting Numbers: [26, 33, 55] Generated Node #0,0: 39:[26, 33, 55] Operation: 92-37=55 Exploring Operation: 92-26=66, Resulting Numbers: [37, 33, 66] Generated Node #0,1: 39:[37, 33, 66] Operation: 92-26=66 Exploring Operation: 33-26=7, Resulting Numbers: [92, 37, 7] Generated Node #0,2: 39:[92, 37, 7] Operation: 33-26=7 Exploring Operation: 92-33=59, Resulting Numbers: [37, 26, 59] Generated Node #0,3: 39:[37, 26, 59] Operation: 92-33=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[26, 33, 55], Operations: ['92-37=55'] Exploring Operation: 26+33=59, Resulting Numbers: [55, 59] Generated Node #0,0,0: 39:[55, 59] Operation: 26+33=59 Exploring Operation: 55-33=22, Resulting Numbers: [26, 22] Generated Node #0,0,1: 39:[26, 22] Operation: 55-33=22 Exploring Operation: 55-26=29, Resulting Numbers: [33, 29] Generated Node #0,0,2: 39:[33, 29] Operation: 55-26=29 Exploring Operation: 33-26=7, Resulting Numbers: [55, 7] Generated Node #0,0,3: 39:[55, 7] Operation: 33-26=7 Moving to Node #0,0,2 Current State: 39:[33, 29], Operations: ['92-37=55', '55-26=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[55, 7], Operations: ['92-37=55', '33-26=7'] Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,39 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,39 unequal: No Solution Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[26, 22], Operations: ['92-37=55', '55-33=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[55, 59], Operations: ['92-37=55', '26+33=59'] Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,39 unequal: No Solution Exploring Operation: 55*59=3245, Resulting Numbers: [3245] 3245,39 unequal: No Solution Exploring Operation: 55+59=114, Resulting Numbers: [114] 114,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[37, 33, 66], Operations: ['92-26=66'] Exploring Operation: 66-33=33, Resulting Numbers: [37, 33] Generated Node #0,1,0: 39:[37, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 39:[37, 2] Operation: 66/33=2 Exploring Operation: 37-33=4, Resulting Numbers: [66, 4] Generated Node #0,1,2: 39:[66, 4] Operation: 37-33=4 Exploring Operation: 66-37=29, Resulting Numbers: [33, 29] Generated Node #0,1,3: 39:[33, 29] Operation: 66-37=29 Moving to Node #0,1,1 Current State: 39:[37, 2], Operations: ['92-26=66', '66/33=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,39 unequal: No Solution 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:[92, 37, 26, 33], Operations: [] Exploring Operation: 92-26=66, Resulting Numbers: [37, 33, 66] Generated Node #0,1: 39:[37, 33, 66] Operation: 92-26=66 Moving to Node #0,1 Current State: 39:[37, 33, 66], Operations: ['92-26=66'] Exploring Operation: 66/33=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 39:[37, 2] Operation: 66/33=2 Moving to Node #0,1,1 Current State: 39:[37, 2], Operations: ['92-26=66', '66/33=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 20, 27, 67, 47 ]
49
[ "67-27=40", "40/20=2", "47+2=49" ]
Current State: 49:[20, 27, 67, 47], Operations: [] Exploring Operation: 67-27=40, Resulting Numbers: [20, 47, 40] Generated Node #2: [20, 47, 40] from Operation: 67-27=40 Current State: 49:[20, 47, 40], Operations: ['67-27=40'] Exploring Operation: 40/20=2, Resulting Numbers: [47, 2] Generated Node #3: [47, 2] from Operation: 40/20=2 Current State: 49:[47, 2], Operations: ['67-27=40', '40/20=2'] Exploring Operation: 47+2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[20, 27, 67, 47], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [67, 47, 47] Generated Node #0,0: 49:[67, 47, 47] Operation: 20+27=47 Exploring Operation: 27-20=7, Resulting Numbers: [67, 47, 7] Generated Node #0,1: 49:[67, 47, 7] Operation: 27-20=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[67, 47, 7], Operations: ['27-20=7'] Exploring Operation: 67-47=20, Resulting Numbers: [7, 20] Generated Node #0,1,0: 49:[7, 20] Operation: 67-47=20 Exploring Operation: 67-7=60, Resulting Numbers: [47, 60] Generated Node #0,1,1: 49:[47, 60] Operation: 67-7=60 Moving to Node #0,1,0 Current State: 49:[7, 20], Operations: ['27-20=7', '67-47=20'] Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[47, 60], Operations: ['27-20=7', '67-7=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,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:[67, 47, 47], Operations: ['20+27=47'] Exploring Operation: 67-47=20, Resulting Numbers: [47, 20] Generated Node #0,0,0: 49:[47, 20] Operation: 67-47=20 Exploring Operation: 67-47=20, Resulting Numbers: [47, 20] Generated Node #0,0,1: 49:[47, 20] Operation: 67-47=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[47, 20], Operations: ['20+27=47', '67-47=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,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:[47, 20], Operations: ['20+27=47', '67-47=20'] Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,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 No solution found.
0
hs_2
sum_heuristic
[ 10, 16, 44, 72 ]
16
[ "10*72=720", "16*44=704", "720-704=16" ]
Current State: 16:[10, 16, 44, 72], Operations: [] Exploring Operation: 10*72=720, Resulting Numbers: [16, 44, 720] Generated Node #2: [16, 44, 720] from Operation: 10*72=720 Current State: 16:[16, 44, 720], Operations: ['10*72=720'] Exploring Operation: 16*44=704, Resulting Numbers: [720, 704] Generated Node #3: [720, 704] from Operation: 16*44=704 Current State: 16:[720, 704], Operations: ['10*72=720', '16*44=704'] Exploring Operation: 720-704=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[10, 16, 44, 72], Operations: [] Exploring Operation: 72-16=56, Resulting Numbers: [10, 44, 56] Generated Node #0,0: 16:[10, 44, 56] Operation: 72-16=56 Exploring Operation: 72-44=28, Resulting Numbers: [10, 16, 28] Generated Node #0,1: 16:[10, 16, 28] Operation: 72-44=28 Exploring Operation: 44-16=28, Resulting Numbers: [10, 72, 28] Generated Node #0,2: 16:[10, 72, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[10, 16, 28], Operations: ['72-44=28'] Exploring Operation: 28-16=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 16:[10, 12] Operation: 28-16=12 Exploring Operation: 28-10=18, Resulting Numbers: [16, 18] Generated Node #0,1,1: 16:[16, 18] Operation: 28-10=18 Exploring Operation: 16-10=6, Resulting Numbers: [28, 6] Generated Node #0,1,2: 16:[28, 6] Operation: 16-10=6 Moving to Node #0,1,1 Current State: 16:[16, 18], Operations: ['72-44=28', '28-10=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,16 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[10, 12], Operations: ['72-44=28', '28-16=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[28, 6], Operations: ['72-44=28', '16-10=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[10, 44, 56], Operations: ['72-16=56'] Exploring Operation: 56-44=12, Resulting Numbers: [10, 12] Generated Node #0,0,0: 16:[10, 12] Operation: 56-44=12 Exploring Operation: 44-10=34, Resulting Numbers: [56, 34] Generated Node #0,0,1: 16:[56, 34] Operation: 44-10=34 Exploring Operation: 56-10=46, Resulting Numbers: [44, 46] Generated Node #0,0,2: 16:[44, 46] Operation: 56-10=46 Moving to Node #0,0,0 Current State: 16:[10, 12], Operations: ['72-16=56', '56-44=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,16 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[56, 34], Operations: ['72-16=56', '44-10=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,16 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,16 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[44, 46], Operations: ['72-16=56', '56-10=46'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,16 unequal: No Solution Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[10, 72, 28], Operations: ['44-16=28'] Exploring Operation: 28-10=18, Resulting Numbers: [72, 18] Generated Node #0,2,0: 16:[72, 18] Operation: 28-10=18 Exploring Operation: 72-28=44, Resulting Numbers: [10, 44] Generated Node #0,2,1: 16:[10, 44] Operation: 72-28=44 Exploring Operation: 72-10=62, Resulting Numbers: [28, 62] Generated Node #0,2,2: 16:[28, 62] Operation: 72-10=62 Moving to Node #0,2,1 Current State: 16:[10, 44], Operations: ['44-16=28', '72-28=44'] Exploring Operation: 44-10=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 10*44=440, Resulting Numbers: [440] 440,16 unequal: No Solution Exploring Operation: 10+44=54, Resulting Numbers: [54] 54,16 unequal: No Solution Moving to Node #0,2,0 Current State: 16:[72, 18], Operations: ['44-16=28', '28-10=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,16 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,16 unequal: No Solution Moving to Node #0,2,2 Current State: 16:[28, 62], Operations: ['44-16=28', '72-10=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,16 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,16 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
[ 26, 87, 15, 59 ]
13
[ "87-26=61", "15+59=74", "74-61=13" ]
Current State: 13:[26, 87, 15, 59], Operations: [] Exploring Operation: 87-26=61, Resulting Numbers: [15, 59, 61] Generated Node #2: [15, 59, 61] from Operation: 87-26=61 Current State: 13:[15, 59, 61], Operations: ['87-26=61'] Exploring Operation: 15+59=74, Resulting Numbers: [61, 74] Generated Node #3: [61, 74] from Operation: 15+59=74 Current State: 13:[61, 74], Operations: ['87-26=61', '15+59=74'] Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[26, 87, 15, 59], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [26, 15, 28] Generated Node #0,0: 13:[26, 15, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 13:[26, 15, 28], Operations: ['87-59=28'] Exploring Operation: 28-26=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 13:[15, 2] Operation: 28-26=2 Moving to Node #0,0,0 Current State: 13:[15, 2], Operations: ['87-59=28', '28-26=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[26, 87, 15, 59], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [26, 15, 28] Generated Node #0,0: 13:[26, 15, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 13:[26, 15, 28], Operations: ['87-59=28'] Exploring Operation: 28-26=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 13:[15, 2] Operation: 28-26=2 Moving to Node #0,0,0 Current State: 13:[15, 2], Operations: ['87-59=28', '28-26=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 84, 36, 48, 77 ]
56
[ "36*77=2772", "2772-84=2688", "2688/48=56" ]
Current State: 56:[84, 36, 48, 77], Operations: [] Exploring Operation: 36*77=2772, Resulting Numbers: [84, 48, 2772] Generated Node #2: [84, 48, 2772] from Operation: 36*77=2772 Current State: 56:[84, 48, 2772], Operations: ['36*77=2772'] Exploring Operation: 2772-84=2688, Resulting Numbers: [48, 2688] Generated Node #3: [48, 2688] from Operation: 2772-84=2688 Current State: 56:[48, 2688], Operations: ['36*77=2772', '2772-84=2688'] Exploring Operation: 2688/48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[84, 36, 48, 77], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [48, 77, 48] Generated Node #0,0: 56:[48, 77, 48] Operation: 84-36=48 Exploring Operation: 84-48=36, Resulting Numbers: [36, 77, 36] Generated Node #0,1: 56:[36, 77, 36] Operation: 84-48=36 Exploring Operation: 84-77=7, Resulting Numbers: [36, 48, 7] Generated Node #0,2: 56:[36, 48, 7] Operation: 84-77=7 Exploring Operation: 77-48=29, Resulting Numbers: [84, 36, 29] Generated Node #0,3: 56:[84, 36, 29] Operation: 77-48=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[36, 48, 7], Operations: ['84-77=7'] Exploring Operation: 36+7=43, Resulting Numbers: [48, 43] Generated Node #0,2,0: 56:[48, 43] Operation: 36+7=43 Exploring Operation: 36-7=29, Resulting Numbers: [48, 29] Generated Node #0,2,1: 56:[48, 29] Operation: 36-7=29 Exploring Operation: 48+7=55, Resulting Numbers: [36, 55] Generated Node #0,2,2: 56:[36, 55] Operation: 48+7=55 Exploring Operation: 48-36=12, Resulting Numbers: [7, 12] Generated Node #0,2,3: 56:[7, 12] Operation: 48-36=12 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 56:[7, 12], Operations: ['84-77=7', '48-36=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 56:[48, 29], Operations: ['84-77=7', '36-7=29'] Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,56 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 56:[36, 55], Operations: ['84-77=7', '48+7=55'] Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,56 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 56:[48, 43], Operations: ['84-77=7', '36+7=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,56 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[48, 77, 48], Operations: ['84-36=48'] Exploring Operation: 48/48=1, Resulting Numbers: [77, 1] Generated Node #0,0,0: 56:[77, 1] Operation: 48/48=1 Exploring Operation: 77-48=29, Resulting Numbers: [48, 29] Generated Node #0,0,1: 56:[48, 29] Operation: 77-48=29 Exploring Operation: 77-48=29, Resulting Numbers: [48, 29] Generated Node #0,0,2: 56:[48, 29] Operation: 77-48=29 Exploring Operation: 48-48=0, Resulting Numbers: [77, 0] Generated Node #0,0,3: 56:[77, 0] Operation: 48-48=0 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[48, 29], Operations: ['84-36=48', '77-48=29'] Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,56 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 56:[48, 29], Operations: ['84-36=48', '77-48=29'] Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[77, 1], Operations: ['84-36=48', '48/48=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,56 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 56:[77, 0], Operations: ['84-36=48', '48-48=0'] Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[36, 77, 36], Operations: ['84-48=36'] Exploring Operation: 36/36=1, Resulting Numbers: [77, 1] Generated Node #0,1,0: 56:[77, 1] Operation: 36/36=1 Exploring Operation: 77-36=41, Resulting Numbers: [36, 41] Generated Node #0,1,1: 56:[36, 41] Operation: 77-36=41 Exploring Operation: 36-36=0, Resulting Numbers: [77, 0] Generated Node #0,1,2: 56:[77, 0] Operation: 36-36=0 Exploring Operation: 77-36=41, Resulting Numbers: [36, 41] Generated Node #0,1,3: 56:[36, 41] Operation: 77-36=41 Moving to Node #0,1,1 Current State: 56:[36, 41], Operations: ['84-48=36', '77-36=41'] Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,56 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[36, 41], Operations: ['84-48=36', '77-36=41'] Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,56 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[77, 1], Operations: ['84-48=36', '36/36=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,56 unequal: No Solution Exploring Operation: 77+1=78, Resulting Numbers: [78] 78,56 unequal: No Solution Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[77, 0], Operations: ['84-48=36', '36-36=0'] Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 77*0=0, Resulting Numbers: [0] 0,56 unequal: No Solution Exploring Operation: 77-0=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[84, 36, 29], Operations: ['77-48=29'] Exploring Operation: 36+29=65, Resulting Numbers: [84, 65] Generated Node #0,3,0: 56:[84, 65] Operation: 36+29=65 Exploring Operation: 84-29=55, Resulting Numbers: [36, 55] Generated Node #0,3,1: 56:[36, 55] Operation: 84-29=55 Exploring Operation: 84-36=48, Resulting Numbers: [29, 48] Generated Node #0,3,2: 56:[29, 48] Operation: 84-36=48 Exploring Operation: 36-29=7, Resulting Numbers: [84, 7] Generated Node #0,3,3: 56:[84, 7] Operation: 36-29=7 Moving to Node #0,3,1 Current State: 56:[36, 55], Operations: ['77-48=29', '84-29=55'] Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,56 unequal: No Solution Exploring Operation: 36*55=1980, Resulting Numbers: [1980] 1980,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[29, 48], Operations: ['77-48=29', '84-36=48'] Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 29+48=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 29*48=1392, Resulting Numbers: [1392] 1392,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[84, 7], Operations: ['77-48=29', '36-29=7'] Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,56 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,56 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[84, 65], Operations: ['77-48=29', '36+29=65'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 84*65=5460, Resulting Numbers: [5460] 5460,56 unequal: No Solution Exploring Operation: 84+65=149, Resulting Numbers: [149] 149,56 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
[ 3, 6, 14, 6 ]
43
[ "3*14=42", "6/6=1", "42+1=43" ]
Current State: 43:[3, 6, 14, 6], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [6, 6, 42] Generated Node #2: [6, 6, 42] from Operation: 3*14=42 Current State: 43:[6, 6, 42], Operations: ['3*14=42'] Exploring Operation: 6/6=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 6/6=1 Current State: 43:[42, 1], Operations: ['3*14=42', '6/6=1'] Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[3, 6, 14, 6], Operations: [] Exploring Operation: 6*6=36, Resulting Numbers: [3, 14, 36] Generated Node #0,0: 43:[3, 14, 36] Operation: 6*6=36 Exploring Operation: 3*14=42, Resulting Numbers: [6, 6, 42] Generated Node #0,1: 43:[6, 6, 42] Operation: 3*14=42 Exploring Operation: 3*6=18, Resulting Numbers: [14, 6, 18] Generated Node #0,2: 43:[14, 6, 18] Operation: 3*6=18 Exploring Operation: 3*6=18, Resulting Numbers: [6, 14, 18] Generated Node #0,3: 43:[6, 14, 18] Operation: 3*6=18 Moving to Node #0,1 Current State: 43:[6, 6, 42], Operations: ['3*14=42'] Exploring Operation: 6+42=48, Resulting Numbers: [6, 48] Generated Node #0,1,0: 43:[6, 48] Operation: 6+42=48 Exploring Operation: 6+42=48, Resulting Numbers: [6, 48] Generated Node #0,1,1: 43:[6, 48] Operation: 6+42=48 Exploring Operation: 6*6=36, Resulting Numbers: [42, 36] Generated Node #0,1,2: 43:[42, 36] Operation: 6*6=36 Exploring Operation: 6+6=12, Resulting Numbers: [42, 12] Generated Node #0,1,3: 43:[42, 12] Operation: 6+6=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[42, 36], Operations: ['3*14=42', '6*6=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,43 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,43 unequal: No Solution No 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: 43:[42, 12], Operations: ['3*14=42', '6+6=12'] Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,43 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,43 unequal: No Solution No 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: 43:[6, 48], Operations: ['3*14=42', '6+42=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,43 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,43 unequal: No Solution No 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: 43:[6, 48], Operations: ['3*14=42', '6+42=48'] Exploring Operation: 6+48=54, Resulting Numbers: [54] 54,43 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,43 unequal: No Solution Exploring Operation: 6*48=288, Resulting Numbers: [288] 288,43 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,43 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: 43:[3, 14, 36], Operations: ['6*6=36'] Exploring Operation: 3+14=17, Resulting Numbers: [36, 17] Generated Node #0,0,0: 43:[36, 17] Operation: 3+14=17 Exploring Operation: 14-3=11, Resulting Numbers: [36, 11] Generated Node #0,0,1: 43:[36, 11] Operation: 14-3=11 Exploring Operation: 3*14=42, Resulting Numbers: [36, 42] Generated Node #0,0,2: 43:[36, 42] Operation: 3*14=42 Exploring Operation: 3+36=39, Resulting Numbers: [14, 39] Generated Node #0,0,3: 43:[14, 39] Operation: 3+36=39 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 43:[36, 42], Operations: ['6*6=36', '3*14=42'] Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,43 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,43 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,43 unequal: No Solution No 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: 43:[36, 17], Operations: ['6*6=36', '3+14=17'] Exploring Operation: 36-17=19, Resulting Numbers: [19] 19,43 unequal: No Solution Exploring Operation: 36*17=612, Resulting Numbers: [612] 612,43 unequal: No Solution Exploring Operation: 36+17=53, Resulting Numbers: [53] 53,43 unequal: No Solution No 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: 43:[14, 39], Operations: ['6*6=36', '3+36=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,43 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,43 unequal: No Solution No 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: 43:[36, 11], Operations: ['6*6=36', '14-3=11'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,43 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: 43:[6, 14, 18], Operations: ['3*6=18'] Exploring Operation: 14-6=8, Resulting Numbers: [18, 8] Generated Node #0,3,0: 43:[18, 8] Operation: 14-6=8 Exploring Operation: 6+18=24, Resulting Numbers: [14, 24] Generated Node #0,3,1: 43:[14, 24] Operation: 6+18=24 Exploring Operation: 14+18=32, Resulting Numbers: [6, 32] Generated Node #0,3,2: 43:[6, 32] Operation: 14+18=32 Exploring Operation: 6+14=20, Resulting Numbers: [18, 20] Generated Node #0,3,3: 43:[18, 20] Operation: 6+14=20 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[14, 24], Operations: ['3*6=18', '6+18=24'] Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,43 unequal: No Solution Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,43 unequal: No Solution No 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: 43:[6, 32], Operations: ['3*6=18', '14+18=32'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,43 unequal: No Solution No 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: 43:[18, 20], Operations: ['3*6=18', '6+14=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,43 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,43 unequal: No Solution No 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: 43:[18, 8], Operations: ['3*6=18', '14-6=8'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,43 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: 43:[14, 6, 18], Operations: ['3*6=18'] Exploring Operation: 14+6=20, Resulting Numbers: [18, 20] Generated Node #0,2,0: 43:[18, 20] Operation: 14+6=20 Exploring Operation: 6+18=24, Resulting Numbers: [14, 24] Generated Node #0,2,1: 43:[14, 24] Operation: 6+18=24 Exploring Operation: 14-6=8, Resulting Numbers: [18, 8] Generated Node #0,2,2: 43:[18, 8] Operation: 14-6=8 Exploring Operation: 14+18=32, Resulting Numbers: [6, 32] Generated Node #0,2,3: 43:[6, 32] Operation: 14+18=32 Moving to Node #0,2,0 Current State: 43:[18, 20], Operations: ['3*6=18', '14+6=20'] Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,43 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,43 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[6, 32], Operations: ['3*6=18', '14+18=32'] Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,43 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[14, 24], Operations: ['3*6=18', '6+18=24'] Exploring Operation: 14+24=38, Resulting Numbers: [38] 38,43 unequal: No Solution Exploring Operation: 14*24=336, Resulting Numbers: [336] 336,43 unequal: No Solution Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[18, 8], Operations: ['3*6=18', '14-6=8'] Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,43 unequal: No Solution No solution found.
0
hs_4
sum_heuristic