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
[ 5, 5, 63, 50 ]
90
[ "5+63=68", "68-50=18", "5*18=90" ]
Current State: 90:[5, 5, 63, 50], Operations: [] Exploring Operation: 5+63=68, Resulting Numbers: [50, 68] Generated Node #2: [50, 68] from Operation: 5+63=68 Current State: 90:[50, 68], Operations: ['5+63=68'] Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,90 equal: Goal Reached Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[5, 5, 63, 50], Operations: [] Exploring Operation: 63-5=58, Resulting Numbers: [5, 50, 58] Generated Node #0,0: 90:[5, 50, 58] Operation: 63-5=58 Exploring Operation: 50/5=10, Resulting Numbers: [5, 63, 10] Generated Node #0,1: 90:[5, 63, 10] Operation: 50/5=10 Exploring Operation: 50-5=45, Resulting Numbers: [5, 63, 45] Generated Node #0,2: 90:[5, 63, 45] Operation: 50-5=45 Exploring Operation: 63-5=58, Resulting Numbers: [5, 50, 58] Generated Node #0,3: 90:[5, 50, 58] Operation: 63-5=58 Exploring Operation: 63-50=13, Resulting Numbers: [5, 5, 13] Generated Node #0,4: 90:[5, 5, 13] Operation: 63-50=13 Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[5, 5, 13], Operations: ['63-50=13'] Exploring Operation: 13-5=8, Resulting Numbers: [5, 8] Generated Node #0,4,0: 90:[5, 8] Operation: 13-5=8 Exploring Operation: 5+13=18, Resulting Numbers: [5, 18] Generated Node #0,4,1: 90:[5, 18] Operation: 5+13=18 Exploring Operation: 5+13=18, Resulting Numbers: [5, 18] Generated Node #0,4,2: 90:[5, 18] Operation: 5+13=18 Exploring Operation: 5+5=10, Resulting Numbers: [13, 10] Generated Node #0,4,3: 90:[13, 10] Operation: 5+5=10 Exploring Operation: 13-5=8, Resulting Numbers: [5, 8] Generated Node #0,4,4: 90:[5, 8] Operation: 13-5=8 Moving to Node #0,4,1 Current State: 90:[5, 18], Operations: ['63-50=13', '5+13=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[5, 5, 63, 50], Operations: [] Exploring Operation: 63-50=13, Resulting Numbers: [5, 5, 13] Generated Node #0,4: 90:[5, 5, 13] Operation: 63-50=13 Moving to Node #0,4 Current State: 90:[5, 5, 13], Operations: ['63-50=13'] Exploring Operation: 5+13=18, Resulting Numbers: [5, 18] Generated Node #0,4,1: 90:[5, 18] Operation: 5+13=18 Moving to Node #0,4,1 Current State: 90:[5, 18], Operations: ['63-50=13', '5+13=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 39, 24, 89, 72 ]
53
[ "89-39=50", "72/24=3", "50+3=53" ]
Current State: 53:[39, 24, 89, 72], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [24, 72, 50] Generated Node #2: [24, 72, 50] from Operation: 89-39=50 Current State: 53:[24, 72, 50], Operations: ['89-39=50'] Exploring Operation: 72/24=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 72/24=3 Current State: 53:[50, 3], Operations: ['89-39=50', '72/24=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[39, 24, 89, 72], Operations: [] Exploring Operation: 89-24=65, Resulting Numbers: [39, 72, 65] Generated Node #0,0: 53:[39, 72, 65] Operation: 89-24=65 Exploring Operation: 39+24=63, Resulting Numbers: [89, 72, 63] Generated Node #0,1: 53:[89, 72, 63] Operation: 39+24=63 Exploring Operation: 72-24=48, Resulting Numbers: [39, 89, 48] Generated Node #0,2: 53:[39, 89, 48] Operation: 72-24=48 Exploring Operation: 89-39=50, Resulting Numbers: [24, 72, 50] Generated Node #0,3: 53:[24, 72, 50] Operation: 89-39=50 Exploring Operation: 89-72=17, Resulting Numbers: [39, 24, 17] Generated Node #0,4: 53:[39, 24, 17] Operation: 89-72=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[39, 72, 65], Operations: ['89-24=65'] Exploring Operation: 39+72=111, Resulting Numbers: [65, 111] Generated Node #0,0,0: 53:[65, 111] Operation: 39+72=111 Exploring Operation: 65-39=26, Resulting Numbers: [72, 26] Generated Node #0,0,1: 53:[72, 26] Operation: 65-39=26 Exploring Operation: 72-65=7, Resulting Numbers: [39, 7] Generated Node #0,0,2: 53:[39, 7] Operation: 72-65=7 Exploring Operation: 72-39=33, Resulting Numbers: [65, 33] Generated Node #0,0,3: 53:[65, 33] Operation: 72-39=33 Exploring Operation: 39+65=104, Resulting Numbers: [72, 104] Generated Node #0,0,4: 53:[72, 104] Operation: 39+65=104 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 53:[65, 33], Operations: ['89-24=65', '72-39=33'] Exploring Operation: 65*33=2145, Resulting Numbers: [2145] 2145,53 unequal: No Solution Exploring Operation: 65+33=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 65-33=32, Resulting Numbers: [32] 32,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[72, 26], Operations: ['89-24=65', '65-39=26'] Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,53 unequal: No Solution Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[39, 7], Operations: ['89-24=65', '72-65=7'] Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,53 unequal: No Solution Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[65, 111], Operations: ['89-24=65', '39+72=111'] Exploring Operation: 65+111=176, Resulting Numbers: [176] 176,53 unequal: No Solution Exploring Operation: 65*111=7215, Resulting Numbers: [7215] 7215,53 unequal: No Solution Exploring Operation: 111-65=46, Resulting Numbers: [46] 46,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 53:[72, 104], Operations: ['89-24=65', '39+65=104'] Exploring Operation: 72*104=7488, Resulting Numbers: [7488] 7488,53 unequal: No Solution Exploring Operation: 72+104=176, Resulting Numbers: [176] 176,53 unequal: No Solution Exploring Operation: 104-72=32, Resulting Numbers: [32] 32,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[24, 72, 50], Operations: ['89-39=50'] Exploring Operation: 50-24=26, Resulting Numbers: [72, 26] Generated Node #0,3,0: 53:[72, 26] Operation: 50-24=26 Exploring Operation: 72/24=3, Resulting Numbers: [50, 3] Generated Node #0,3,1: 53:[50, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [50, 48] Generated Node #0,3,2: 53:[50, 48] Operation: 72-24=48 Exploring Operation: 24+50=74, Resulting Numbers: [72, 74] Generated Node #0,3,3: 53:[72, 74] Operation: 24+50=74 Exploring Operation: 24+72=96, Resulting Numbers: [50, 96] Generated Node #0,3,4: 53:[50, 96] Operation: 24+72=96 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 53:[50, 48], Operations: ['89-39=50', '72-24=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 50*48=2400, Resulting Numbers: [2400] 2400,53 unequal: No Solution Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 53:[72, 74], Operations: ['89-39=50', '24+50=74'] Exploring Operation: 72*74=5328, Resulting Numbers: [5328] 5328,53 unequal: No Solution Exploring Operation: 72+74=146, Resulting Numbers: [146] 146,53 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[72, 26], Operations: ['89-39=50', '50-24=26'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 72+26=98, Resulting Numbers: [98] 98,53 unequal: No Solution Exploring Operation: 72*26=1872, Resulting Numbers: [1872] 1872,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 53:[50, 96], Operations: ['89-39=50', '24+72=96'] Exploring Operation: 96-50=46, Resulting Numbers: [46] 46,53 unequal: No Solution Exploring Operation: 50*96=4800, Resulting Numbers: [4800] 4800,53 unequal: No Solution Exploring Operation: 50+96=146, Resulting Numbers: [146] 146,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 53:[50, 3], Operations: ['89-39=50', '72/24=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[39, 24, 89, 72], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [24, 72, 50] Generated Node #0,3: 53:[24, 72, 50] Operation: 89-39=50 Moving to Node #0,3 Current State: 53:[24, 72, 50], Operations: ['89-39=50'] Exploring Operation: 72/24=3, Resulting Numbers: [50, 3] Generated Node #0,3,1: 53:[50, 3] Operation: 72/24=3 Moving to Node #0,3,1 Current State: 53:[50, 3], Operations: ['89-39=50', '72/24=3'] Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 14, 26, 69, 16 ]
77
[ "69*16=1104", "1104-26=1078", "1078/14=77" ]
Current State: 77:[14, 26, 69, 16], Operations: [] Exploring Operation: 69*16=1104, Resulting Numbers: [14, 26, 1104] Generated Node #2: [14, 26, 1104] from Operation: 69*16=1104 Current State: 77:[14, 26, 1104], Operations: ['69*16=1104'] Exploring Operation: 1104-26=1078, Resulting Numbers: [14, 1078] Generated Node #3: [14, 1078] from Operation: 1104-26=1078 Current State: 77:[14, 1078], Operations: ['69*16=1104', '1104-26=1078'] Exploring Operation: 1078/14=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[14, 26, 69, 16], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [69, 16, 12] Generated Node #0,0: 77:[69, 16, 12] Operation: 26-14=12 Exploring Operation: 26-16=10, Resulting Numbers: [14, 69, 10] Generated Node #0,1: 77:[14, 69, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[14, 69, 10], Operations: ['26-16=10'] Exploring Operation: 69+10=79, Resulting Numbers: [14, 79] Generated Node #0,1,0: 77:[14, 79] Operation: 69+10=79 Exploring Operation: 14+69=83, Resulting Numbers: [10, 83] Generated Node #0,1,1: 77:[10, 83] Operation: 14+69=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[14, 79], Operations: ['26-16=10', '69+10=79'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,77 unequal: No Solution Exploring Operation: 14+79=93, Resulting Numbers: [93] 93,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,1 Current State: 77:[10, 83], Operations: ['26-16=10', '14+69=83'] Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,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,0 Current State: 77:[69, 16, 12], Operations: ['26-14=12'] Exploring Operation: 69+16=85, Resulting Numbers: [12, 85] Generated Node #0,0,0: 77:[12, 85] Operation: 69+16=85 Exploring Operation: 69+12=81, Resulting Numbers: [16, 81] Generated Node #0,0,1: 77:[16, 81] Operation: 69+12=81 Moving to Node #0,0,0 Current State: 77:[12, 85], Operations: ['26-14=12', '69+16=85'] Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 12+85=97, Resulting Numbers: [97] 97,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[16, 81], Operations: ['26-14=12', '69+12=81'] Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,77 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 91, 15, 9 ]
20
[ "8*15=120", "91+9=100", "120-100=20" ]
Current State: 20:[8, 91, 15, 9], Operations: [] Exploring Operation: 8*15=120, Resulting Numbers: [91, 9, 120] Generated Node #2: [91, 9, 120] from Operation: 8*15=120 Current State: 20:[91, 9, 120], Operations: ['8*15=120'] Exploring Operation: 91+9=100, Resulting Numbers: [120, 100] Generated Node #3: [120, 100] from Operation: 91+9=100 Current State: 20:[120, 100], Operations: ['8*15=120', '91+9=100'] Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[8, 91, 15, 9], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [15, 9, 83] Generated Node #0,0: 20:[15, 9, 83] Operation: 91-8=83 Exploring Operation: 91-9=82, Resulting Numbers: [8, 15, 82] Generated Node #0,1: 20:[8, 15, 82] Operation: 91-9=82 Exploring Operation: 91-15=76, Resulting Numbers: [8, 9, 76] Generated Node #0,2: 20:[8, 9, 76] Operation: 91-15=76 Moving to Node #0,2 Current State: 20:[8, 9, 76], Operations: ['91-15=76'] Exploring Operation: 76-9=67, Resulting Numbers: [8, 67] Generated Node #0,2,0: 20:[8, 67] Operation: 76-9=67 Exploring Operation: 76-8=68, Resulting Numbers: [9, 68] Generated Node #0,2,1: 20:[9, 68] Operation: 76-8=68 Exploring Operation: 9-8=1, Resulting Numbers: [76, 1] Generated Node #0,2,2: 20:[76, 1] Operation: 9-8=1 Moving to Node #0,0 Current State: 20:[15, 9, 83], Operations: ['91-8=83'] Exploring Operation: 83-9=74, Resulting Numbers: [15, 74] Generated Node #0,0,0: 20:[15, 74] Operation: 83-9=74 Exploring Operation: 15-9=6, Resulting Numbers: [83, 6] Generated Node #0,0,1: 20:[83, 6] Operation: 15-9=6 Exploring Operation: 83-15=68, Resulting Numbers: [9, 68] Generated Node #0,0,2: 20:[9, 68] Operation: 83-15=68 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[9, 68], Operations: ['91-8=83', '83-15=68'] Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,20 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[15, 74], Operations: ['91-8=83', '83-9=74'] Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,20 unequal: No Solution Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,20 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[83, 6], Operations: ['91-8=83', '15-9=6'] Exploring Operation: 83+6=89, Resulting Numbers: [89] 89,20 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 83*6=498, Resulting Numbers: [498] 498,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 20:[8, 15, 82], Operations: ['91-9=82'] Exploring Operation: 15-8=7, Resulting Numbers: [82, 7] Generated Node #0,1,0: 20:[82, 7] Operation: 15-8=7 Exploring Operation: 82-15=67, Resulting Numbers: [8, 67] Generated Node #0,1,1: 20:[8, 67] Operation: 82-15=67 Exploring Operation: 82-8=74, Resulting Numbers: [15, 74] Generated Node #0,1,2: 20:[15, 74] Operation: 82-8=74 Moving to Node #0,2,0 Current State: 20:[8, 67], Operations: ['91-15=76', '76-9=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[9, 68], Operations: ['91-15=76', '76-8=68'] Exploring Operation: 9*68=612, Resulting Numbers: [612] 612,20 unequal: No Solution Exploring Operation: 9+68=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[8, 67], Operations: ['91-9=82', '82-15=67'] Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,20 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,20 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[76, 1], Operations: ['91-15=76', '9-8=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 76/1=76, Resulting Numbers: [76] 76,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[15, 74], Operations: ['91-9=82', '82-8=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,20 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,20 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[82, 7], Operations: ['91-9=82', '15-8=7'] Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,20 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,20 unequal: No Solution Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,20 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 47, 91, 22, 75 ]
94
[ "47-22=25", "75/25=3", "91+3=94" ]
Current State: 94:[47, 91, 22, 75], Operations: [] Exploring Operation: 47-22=25, Resulting Numbers: [91, 75, 25] Generated Node #2: [91, 75, 25] from Operation: 47-22=25 Current State: 94:[91, 75, 25], Operations: ['47-22=25'] Exploring Operation: 75/25=3, Resulting Numbers: [91, 3] Generated Node #3: [91, 3] from Operation: 75/25=3 Current State: 94:[91, 3], Operations: ['47-22=25', '75/25=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[47, 91, 22, 75], Operations: [] Exploring Operation: 22+75=97, Resulting Numbers: [47, 91, 97] Generated Node #0,0: 94:[47, 91, 97] Operation: 22+75=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[47, 91, 97], Operations: ['22+75=97'] Exploring Operation: 97-91=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 94:[47, 6] Operation: 97-91=6 Moving to Node #0,0,0 Current State: 94:[47, 6], Operations: ['22+75=97', '97-91=6'] Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 54, 78, 34, 30 ]
33
[ "54+78=132", "34-30=4", "132/4=33" ]
Current State: 33:[54, 78, 34, 30], Operations: [] Exploring Operation: 54+78=132, Resulting Numbers: [34, 30, 132] Generated Node #2: [34, 30, 132] from Operation: 54+78=132 Current State: 33:[34, 30, 132], Operations: ['54+78=132'] Exploring Operation: 34-30=4, Resulting Numbers: [132, 4] Generated Node #3: [132, 4] from Operation: 34-30=4 Current State: 33:[132, 4], Operations: ['54+78=132', '34-30=4'] Exploring Operation: 132/4=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[54, 78, 34, 30], Operations: [] Exploring Operation: 78-30=48, Resulting Numbers: [54, 34, 48] Generated Node #0,0: 33:[54, 34, 48] Operation: 78-30=48 Exploring Operation: 78-54=24, Resulting Numbers: [34, 30, 24] Generated Node #0,1: 33:[34, 30, 24] Operation: 78-54=24 Exploring Operation: 78-34=44, Resulting Numbers: [54, 30, 44] Generated Node #0,2: 33:[54, 30, 44] Operation: 78-34=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[34, 30, 24], Operations: ['78-54=24'] Exploring Operation: 34-30=4, Resulting Numbers: [24, 4] Generated Node #0,1,0: 33:[24, 4] Operation: 34-30=4 Exploring Operation: 34-24=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 33:[30, 10] Operation: 34-24=10 Exploring Operation: 30-24=6, Resulting Numbers: [34, 6] Generated Node #0,1,2: 33:[34, 6] Operation: 30-24=6 Moving to Node #0,1,1 Current State: 33:[30, 10], Operations: ['78-54=24', '34-24=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,33 unequal: No Solution Moving to Node #0,1,2 Current State: 33:[34, 6], Operations: ['78-54=24', '30-24=6'] Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,33 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[24, 4], Operations: ['78-54=24', '34-30=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,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:[54, 30, 44], Operations: ['78-34=44'] Exploring Operation: 54-30=24, Resulting Numbers: [44, 24] Generated Node #0,2,0: 33:[44, 24] Operation: 54-30=24 Exploring Operation: 54-44=10, Resulting Numbers: [30, 10] Generated Node #0,2,1: 33:[30, 10] Operation: 54-44=10 Exploring Operation: 44-30=14, Resulting Numbers: [54, 14] Generated Node #0,2,2: 33:[54, 14] Operation: 44-30=14 Moving to Node #0,2,1 Current State: 33:[30, 10], Operations: ['78-34=44', '54-44=10'] Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[44, 24], Operations: ['78-34=44', '54-30=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,33 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[54, 14], Operations: ['78-34=44', '44-30=14'] Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,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,0 Current State: 33:[54, 34, 48], Operations: ['78-30=48'] Exploring Operation: 54-48=6, Resulting Numbers: [34, 6] Generated Node #0,0,0: 33:[34, 6] Operation: 54-48=6 Exploring Operation: 48-34=14, Resulting Numbers: [54, 14] Generated Node #0,0,1: 33:[54, 14] Operation: 48-34=14 Exploring Operation: 54-34=20, Resulting Numbers: [48, 20] Generated Node #0,0,2: 33:[48, 20] Operation: 54-34=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[34, 6], Operations: ['78-30=48', '54-48=6'] Exploring Operation: 34*6=204, Resulting Numbers: [204] 204,33 unequal: No Solution Exploring Operation: 34+6=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,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,1 Current State: 33:[54, 14], Operations: ['78-30=48', '48-34=14'] Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,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:[48, 20], Operations: ['78-30=48', '54-34=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,33 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,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 No solution found.
0
hs_3
sum_heuristic
[ 74, 47, 59, 4 ]
77
[ "59-47=12", "12/4=3", "74+3=77" ]
Current State: 77:[74, 47, 59, 4], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [74, 4, 12] Generated Node #2: [74, 4, 12] from Operation: 59-47=12 Current State: 77:[74, 4, 12], Operations: ['59-47=12'] Exploring Operation: 12/4=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 12/4=3 Current State: 77:[74, 3], Operations: ['59-47=12', '12/4=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[74, 47, 59, 4], Operations: [] Exploring Operation: 74-47=27, Resulting Numbers: [59, 4, 27] Generated Node #0,0: 77:[59, 4, 27] Operation: 74-47=27 Exploring Operation: 59-47=12, Resulting Numbers: [74, 4, 12] Generated Node #0,1: 77:[74, 4, 12] Operation: 59-47=12 Exploring Operation: 74-59=15, Resulting Numbers: [47, 4, 15] Generated Node #0,2: 77:[47, 4, 15] Operation: 74-59=15 Exploring Operation: 47+59=106, Resulting Numbers: [74, 4, 106] Generated Node #0,3: 77:[74, 4, 106] Operation: 47+59=106 Moving to Node #0,1 Current State: 77:[74, 4, 12], Operations: ['59-47=12'] Exploring Operation: 12/4=3, Resulting Numbers: [74, 3] Generated Node #0,1,0: 77:[74, 3] Operation: 12/4=3 Exploring Operation: 74+4=78, Resulting Numbers: [12, 78] Generated Node #0,1,1: 77:[12, 78] Operation: 74+4=78 Exploring Operation: 12-4=8, Resulting Numbers: [74, 8] Generated Node #0,1,2: 77:[74, 8] Operation: 12-4=8 Exploring Operation: 74-4=70, Resulting Numbers: [12, 70] Generated Node #0,1,3: 77:[12, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[12, 78], Operations: ['59-47=12', '74+4=78'] Exploring Operation: 12*78=936, Resulting Numbers: [936] 936,77 unequal: No Solution Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,77 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[74, 8], Operations: ['59-47=12', '12-4=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,77 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[74, 3], Operations: ['59-47=12', '12/4=3'] Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,77 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,77 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[74, 47, 59, 4], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [74, 4, 12] Generated Node #0,1: 77:[74, 4, 12] Operation: 59-47=12 Moving to Node #0,1 Current State: 77:[74, 4, 12], Operations: ['59-47=12'] Exploring Operation: 12/4=3, Resulting Numbers: [74, 3] Generated Node #0,1,0: 77:[74, 3] Operation: 12/4=3 Moving to Node #0,1,0 Current State: 77:[74, 3], Operations: ['59-47=12', '12/4=3'] Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 60, 1, 69, 4 ]
12
[ "60+1=61", "69+4=73", "73-61=12" ]
Current State: 12:[60, 1, 69, 4], Operations: [] Exploring Operation: 60+1=61, Resulting Numbers: [69, 4, 61] Generated Node #2: [69, 4, 61] from Operation: 60+1=61 Current State: 12:[69, 4, 61], Operations: ['60+1=61'] Exploring Operation: 69+4=73, Resulting Numbers: [61, 73] Generated Node #3: [61, 73] from Operation: 69+4=73 Current State: 12:[61, 73], Operations: ['60+1=61', '69+4=73'] Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[60, 1, 69, 4], Operations: [] Exploring Operation: 60-4=56, Resulting Numbers: [1, 69, 56] Generated Node #0,0: 12:[1, 69, 56] Operation: 60-4=56 Exploring Operation: 60-1=59, Resulting Numbers: [69, 4, 59] Generated Node #0,1: 12:[69, 4, 59] Operation: 60-1=59 Exploring Operation: 69-60=9, Resulting Numbers: [1, 4, 9] Generated Node #0,2: 12:[1, 4, 9] Operation: 69-60=9 Exploring Operation: 69-4=65, Resulting Numbers: [60, 1, 65] Generated Node #0,3: 12:[60, 1, 65] Operation: 69-4=65 Exploring Operation: 60/4=15, Resulting Numbers: [1, 69, 15] Generated Node #0,4: 12:[1, 69, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[1, 4, 9], Operations: ['69-60=9'] Exploring Operation: 4+9=13, Resulting Numbers: [1, 13] Generated Node #0,2,0: 12:[1, 13] Operation: 4+9=13 Exploring Operation: 9-4=5, Resulting Numbers: [1, 5] Generated Node #0,2,1: 12:[1, 5] Operation: 9-4=5 Exploring Operation: 9-1=8, Resulting Numbers: [4, 8] Generated Node #0,2,2: 12:[4, 8] Operation: 9-1=8 Exploring Operation: 1*4=4, Resulting Numbers: [9, 4] Generated Node #0,2,3: 12:[9, 4] Operation: 1*4=4 Exploring Operation: 1+9=10, Resulting Numbers: [4, 10] Generated Node #0,2,4: 12:[4, 10] Operation: 1+9=10 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[1, 13], Operations: ['69-60=9', '4+9=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,12 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[60, 1, 69, 4], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [1, 4, 9] Generated Node #0,2: 12:[1, 4, 9] Operation: 69-60=9 Moving to Node #0,2 Current State: 12:[1, 4, 9], Operations: ['69-60=9'] Exploring Operation: 4+9=13, Resulting Numbers: [1, 13] Generated Node #0,2,0: 12:[1, 13] Operation: 4+9=13 Moving to Node #0,2,0 Current State: 12:[1, 13], Operations: ['69-60=9', '4+9=13'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 20, 59, 49, 75 ]
65
[ "59-20=39", "75-49=26", "39+26=65" ]
Current State: 65:[20, 59, 49, 75], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [49, 75, 39] Generated Node #2: [49, 75, 39] from Operation: 59-20=39 Current State: 65:[49, 75, 39], Operations: ['59-20=39'] Exploring Operation: 75-49=26, Resulting Numbers: [39, 26] Generated Node #3: [39, 26] from Operation: 75-49=26 Current State: 65:[39, 26], Operations: ['59-20=39', '75-49=26'] Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[20, 59, 49, 75], Operations: [] Exploring Operation: 20+49=69, Resulting Numbers: [59, 75, 69] Generated Node #0,0: 65:[59, 75, 69] Operation: 20+49=69 Exploring Operation: 59-49=10, Resulting Numbers: [20, 75, 10] Generated Node #0,1: 65:[20, 75, 10] Operation: 59-49=10 Moving to Node #0,0 Current State: 65:[59, 75, 69], Operations: ['20+49=69'] Exploring Operation: 75-69=6, Resulting Numbers: [59, 6] Generated Node #0,0,0: 65:[59, 6] Operation: 75-69=6 Exploring Operation: 75-59=16, Resulting Numbers: [69, 16] Generated Node #0,0,1: 65:[69, 16] Operation: 75-59=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[59, 6], Operations: ['20+49=69', '75-69=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[20, 59, 49, 75], Operations: [] Exploring Operation: 20+49=69, Resulting Numbers: [59, 75, 69] Generated Node #0,0: 65:[59, 75, 69] Operation: 20+49=69 Moving to Node #0,0 Current State: 65:[59, 75, 69], Operations: ['20+49=69'] Exploring Operation: 75-69=6, Resulting Numbers: [59, 6] Generated Node #0,0,0: 65:[59, 6] Operation: 75-69=6 Moving to Node #0,0,0 Current State: 65:[59, 6], Operations: ['20+49=69', '75-69=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 41, 63, 2, 15 ]
70
[ "41+15=56", "63*2=126", "126-56=70" ]
Current State: 70:[41, 63, 2, 15], Operations: [] Exploring Operation: 41+15=56, Resulting Numbers: [63, 2, 56] Generated Node #2: [63, 2, 56] from Operation: 41+15=56 Current State: 70:[63, 2, 56], Operations: ['41+15=56'] Exploring Operation: 63*2=126, Resulting Numbers: [56, 126] Generated Node #3: [56, 126] from Operation: 63*2=126 Current State: 70:[56, 126], Operations: ['41+15=56', '63*2=126'] Exploring Operation: 126-56=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[41, 63, 2, 15], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [2, 15, 22] Generated Node #0,0: 70:[2, 15, 22] Operation: 63-41=22 Exploring Operation: 41-2=39, Resulting Numbers: [63, 15, 39] Generated Node #0,1: 70:[63, 15, 39] Operation: 41-2=39 Exploring Operation: 63+2=65, Resulting Numbers: [41, 15, 65] Generated Node #0,2: 70:[41, 15, 65] Operation: 63+2=65 Exploring Operation: 63+15=78, Resulting Numbers: [41, 2, 78] Generated Node #0,3: 70:[41, 2, 78] Operation: 63+15=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[2, 15, 22], Operations: ['63-41=22'] Exploring Operation: 22-2=20, Resulting Numbers: [15, 20] Generated Node #0,0,0: 70:[15, 20] Operation: 22-2=20 Exploring Operation: 15+22=37, Resulting Numbers: [2, 37] Generated Node #0,0,1: 70:[2, 37] Operation: 15+22=37 Exploring Operation: 22-15=7, Resulting Numbers: [2, 7] Generated Node #0,0,2: 70:[2, 7] Operation: 22-15=7 Exploring Operation: 22/2=11, Resulting Numbers: [15, 11] Generated Node #0,0,3: 70:[15, 11] Operation: 22/2=11 Moving to Node #0,0,2 Current State: 70:[2, 7], Operations: ['63-41=22', '22-15=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[15, 11], Operations: ['63-41=22', '22/2=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,70 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,70 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[2, 37], Operations: ['63-41=22', '15+22=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[15, 20], Operations: ['63-41=22', '22-2=20'] Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,70 unequal: No Solution Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,70 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[63, 15, 39], Operations: ['41-2=39'] Exploring Operation: 63-15=48, Resulting Numbers: [39, 48] Generated Node #0,1,0: 70:[39, 48] Operation: 63-15=48 Exploring Operation: 63+15=78, Resulting Numbers: [39, 78] Generated Node #0,1,1: 70:[39, 78] Operation: 63+15=78 Exploring Operation: 63-39=24, Resulting Numbers: [15, 24] Generated Node #0,1,2: 70:[15, 24] Operation: 63-39=24 Exploring Operation: 39-15=24, Resulting Numbers: [63, 24] Generated Node #0,1,3: 70:[63, 24] Operation: 39-15=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[15, 24], Operations: ['41-2=39', '63-39=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,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,1 Current State: 70:[39, 78], Operations: ['41-2=39', '63+15=78'] Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 39+78=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 39*78=3042, Resulting Numbers: [3042] 3042,70 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,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:[39, 48], Operations: ['41-2=39', '63-15=48'] Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,70 unequal: No Solution Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,70 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,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:[63, 24], Operations: ['41-2=39', '39-15=24'] Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,70 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,70 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[41, 15, 65], Operations: ['63+2=65'] Exploring Operation: 41-15=26, Resulting Numbers: [65, 26] Generated Node #0,2,0: 70:[65, 26] Operation: 41-15=26 Exploring Operation: 65-41=24, Resulting Numbers: [15, 24] Generated Node #0,2,1: 70:[15, 24] Operation: 65-41=24 Exploring Operation: 41+15=56, Resulting Numbers: [65, 56] Generated Node #0,2,2: 70:[65, 56] Operation: 41+15=56 Exploring Operation: 15+65=80, Resulting Numbers: [41, 80] Generated Node #0,2,3: 70:[41, 80] Operation: 15+65=80 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 70:[15, 24], Operations: ['63+2=65', '65-41=24'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,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:[65, 26], Operations: ['63+2=65', '41-15=26'] Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,70 unequal: No Solution Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,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:[41, 80], Operations: ['63+2=65', '15+65=80'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,70 unequal: No Solution Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,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:[65, 56], Operations: ['63+2=65', '41+15=56'] Exploring Operation: 65*56=3640, Resulting Numbers: [3640] 3640,70 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 65+56=121, Resulting Numbers: [121] 121,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[41, 2, 78], Operations: ['63+15=78'] Exploring Operation: 78-2=76, Resulting Numbers: [41, 76] Generated Node #0,3,0: 70:[41, 76] Operation: 78-2=76 Exploring Operation: 78-41=37, Resulting Numbers: [2, 37] Generated Node #0,3,1: 70:[2, 37] Operation: 78-41=37 Exploring Operation: 41-2=39, Resulting Numbers: [78, 39] Generated Node #0,3,2: 70:[78, 39] Operation: 41-2=39 Exploring Operation: 78/2=39, Resulting Numbers: [41, 39] Generated Node #0,3,3: 70:[41, 39] Operation: 78/2=39 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 70:[2, 37], Operations: ['63+15=78', '78-41=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 70:[41, 39], Operations: ['63+15=78', '78/2=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,70 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,70 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 70:[41, 76], Operations: ['63+15=78', '78-2=76'] Exploring Operation: 41*76=3116, Resulting Numbers: [3116] 3116,70 unequal: No Solution Exploring Operation: 41+76=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 76-41=35, Resulting Numbers: [35] 35,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 70:[78, 39], Operations: ['63+15=78', '41-2=39'] Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 78*39=3042, Resulting Numbers: [3042] 3042,70 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,70 unequal: No Solution Exploring Operation: 78+39=117, Resulting Numbers: [117] 117,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 6, 2, 74, 56 ]
43
[ "6+56=62", "62/2=31", "74-31=43" ]
Current State: 43:[6, 2, 74, 56], Operations: [] Exploring Operation: 6+56=62, Resulting Numbers: [2, 74, 62] Generated Node #2: [2, 74, 62] from Operation: 6+56=62 Current State: 43:[2, 74, 62], Operations: ['6+56=62'] Exploring Operation: 62/2=31, Resulting Numbers: [74, 31] Generated Node #3: [74, 31] from Operation: 62/2=31 Current State: 43:[74, 31], Operations: ['6+56=62', '62/2=31'] Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[6, 2, 74, 56], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [6, 56, 37] Generated Node #0,0: 43:[6, 56, 37] Operation: 74/2=37 Exploring Operation: 6+2=8, Resulting Numbers: [74, 56, 8] Generated Node #0,1: 43:[74, 56, 8] Operation: 6+2=8 Exploring Operation: 6*2=12, Resulting Numbers: [74, 56, 12] Generated Node #0,2: 43:[74, 56, 12] Operation: 6*2=12 Exploring Operation: 74-6=68, Resulting Numbers: [2, 56, 68] Generated Node #0,3: 43:[2, 56, 68] Operation: 74-6=68 Exploring Operation: 56-6=50, Resulting Numbers: [2, 74, 50] Generated Node #0,4: 43:[2, 74, 50] Operation: 56-6=50 Moving to Node #0,0 Current State: 43:[6, 56, 37], Operations: ['74/2=37'] Exploring Operation: 37-6=31, Resulting Numbers: [56, 31] Generated Node #0,0,0: 43:[56, 31] Operation: 37-6=31 Exploring Operation: 56-37=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 43:[6, 19] Operation: 56-37=19 Exploring Operation: 56-6=50, Resulting Numbers: [37, 50] Generated Node #0,0,2: 43:[37, 50] Operation: 56-6=50 Exploring Operation: 6+56=62, Resulting Numbers: [37, 62] Generated Node #0,0,3: 43:[37, 62] Operation: 6+56=62 Exploring Operation: 6+37=43, Resulting Numbers: [56, 43] Generated Node #0,0,4: 43:[56, 43] Operation: 6+37=43 Moving to Node #0,2 Current State: 43:[74, 56, 12], Operations: ['6*2=12'] Exploring Operation: 56-12=44, Resulting Numbers: [74, 44] Generated Node #0,2,0: 43:[74, 44] Operation: 56-12=44 Exploring Operation: 56+12=68, Resulting Numbers: [74, 68] Generated Node #0,2,1: 43:[74, 68] Operation: 56+12=68 Exploring Operation: 74+12=86, Resulting Numbers: [56, 86] Generated Node #0,2,2: 43:[56, 86] Operation: 74+12=86 Exploring Operation: 74-56=18, Resulting Numbers: [12, 18] Generated Node #0,2,3: 43:[12, 18] Operation: 74-56=18 Exploring Operation: 74-12=62, Resulting Numbers: [56, 62] Generated Node #0,2,4: 43:[56, 62] Operation: 74-12=62 Moving to Node #0,1 Current State: 43:[74, 56, 8], Operations: ['6+2=8'] Exploring Operation: 74-8=66, Resulting Numbers: [56, 66] Generated Node #0,1,0: 43:[56, 66] Operation: 74-8=66 Exploring Operation: 74-56=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 43:[8, 18] Operation: 74-56=18 Exploring Operation: 56-8=48, Resulting Numbers: [74, 48] Generated Node #0,1,2: 43:[74, 48] Operation: 56-8=48 Exploring Operation: 56+8=64, Resulting Numbers: [74, 64] Generated Node #0,1,3: 43:[74, 64] Operation: 56+8=64 Exploring Operation: 74+8=82, Resulting Numbers: [56, 82] Generated Node #0,1,4: 43:[56, 82] Operation: 74+8=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[56, 66], Operations: ['6+2=8', '74-8=66'] Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,43 unequal: No Solution Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 66-56=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,1,2 Current State: 43:[74, 48], Operations: ['6+2=8', '56-8=48'] Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,43 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,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:[74, 64], Operations: ['6+2=8', '56+8=64'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 74*64=4736, Resulting Numbers: [4736] 4736,43 unequal: No Solution Exploring Operation: 74+64=138, Resulting Numbers: [138] 138,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,4 Current State: 43:[56, 82], Operations: ['6+2=8', '74+8=82'] Exploring Operation: 56*82=4592, Resulting Numbers: [4592] 4592,43 unequal: No Solution Exploring Operation: 56+82=138, Resulting Numbers: [138] 138,43 unequal: No Solution Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,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:[8, 18], Operations: ['6+2=8', '74-56=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,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:[2, 56, 68], Operations: ['74-6=68'] Exploring Operation: 68-2=66, Resulting Numbers: [56, 66] Generated Node #0,3,0: 43:[56, 66] Operation: 68-2=66 Exploring Operation: 2+56=58, Resulting Numbers: [68, 58] Generated Node #0,3,1: 43:[68, 58] Operation: 2+56=58 Exploring Operation: 68/2=34, Resulting Numbers: [56, 34] Generated Node #0,3,2: 43:[56, 34] Operation: 68/2=34 Exploring Operation: 56/2=28, Resulting Numbers: [68, 28] Generated Node #0,3,3: 43:[68, 28] Operation: 56/2=28 Exploring Operation: 56-2=54, Resulting Numbers: [68, 54] Generated Node #0,3,4: 43:[68, 54] Operation: 56-2=54 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[56, 34], Operations: ['74-6=68', '68/2=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,43 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,43 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,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:[56, 66], Operations: ['74-6=68', '68-2=66'] Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,43 unequal: No Solution Exploring Operation: 66-56=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,4 Current State: 43:[68, 54], Operations: ['74-6=68', '56-2=54'] Exploring Operation: 68*54=3672, Resulting Numbers: [3672] 3672,43 unequal: No Solution Exploring Operation: 68+54=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 68-54=14, Resulting Numbers: [14] 14,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,1 Current State: 43:[68, 58], Operations: ['74-6=68', '2+56=58'] Exploring Operation: 68-58=10, Resulting Numbers: [10] 10,43 unequal: No Solution Exploring Operation: 68*58=3944, Resulting Numbers: [3944] 3944,43 unequal: No Solution Exploring Operation: 68+58=126, Resulting Numbers: [126] 126,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:[68, 28], Operations: ['74-6=68', '56/2=28'] Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,43 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,43 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,43 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: 43:[2, 74, 50], Operations: ['56-6=50'] Exploring Operation: 2+74=76, Resulting Numbers: [50, 76] Generated Node #0,4,0: 43:[50, 76] Operation: 2+74=76 Exploring Operation: 50-2=48, Resulting Numbers: [74, 48] Generated Node #0,4,1: 43:[74, 48] Operation: 50-2=48 Exploring Operation: 74-2=72, Resulting Numbers: [50, 72] Generated Node #0,4,2: 43:[50, 72] Operation: 74-2=72 Exploring Operation: 2+50=52, Resulting Numbers: [74, 52] Generated Node #0,4,3: 43:[74, 52] Operation: 2+50=52 Exploring Operation: 74/2=37, Resulting Numbers: [50, 37] Generated Node #0,4,4: 43:[50, 37] Operation: 74/2=37 Moving to Node #0,0,2 Current State: 43:[37, 50], Operations: ['74/2=37', '56-6=50'] Exploring Operation: 37*50=1850, Resulting Numbers: [1850] 1850,43 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 37+50=87, Resulting Numbers: [87] 87,43 unequal: No Solution Moving to Node #0,0,4 Current State: 43:[56, 43], Operations: ['74/2=37', '6+37=43'] Exploring Operation: 56+43=99, Resulting Numbers: [99] 99,43 unequal: No Solution Exploring Operation: 56*43=2408, Resulting Numbers: [2408] 2408,43 unequal: No Solution Exploring Operation: 56-43=13, Resulting Numbers: [13] 13,43 unequal: No Solution Moving to Node #0,4,4 Current State: 43:[50, 37], Operations: ['56-6=50', '74/2=37'] Exploring Operation: 50+37=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 50*37=1850, Resulting Numbers: [1850] 1850,43 unequal: No Solution Exploring Operation: 50-37=13, Resulting Numbers: [13] 13,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[56, 31], Operations: ['74/2=37', '37-6=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,43 unequal: No Solution Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[37, 62], Operations: ['74/2=37', '6+56=62'] Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,43 unequal: No Solution Exploring Operation: 37*62=2294, Resulting Numbers: [2294] 2294,43 unequal: No Solution Exploring Operation: 37+62=99, Resulting Numbers: [99] 99,43 unequal: No Solution Moving to Node #0,2,4 Current State: 43:[56, 62], Operations: ['6*2=12', '74-12=62'] Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,43 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[74, 44], Operations: ['6*2=12', '56-12=44'] Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,43 unequal: No Solution Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,43 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,43 unequal: No Solution Moving to Node #0,4,2 Current State: 43:[50, 72], Operations: ['56-6=50', '74-2=72'] Exploring Operation: 50+72=122, Resulting Numbers: [122] 122,43 unequal: No Solution Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 50*72=3600, Resulting Numbers: [3600] 3600,43 unequal: No Solution Moving to Node #0,4,1 Current State: 43:[74, 48], Operations: ['56-6=50', '50-2=48'] Exploring Operation: 74*48=3552, Resulting Numbers: [3552] 3552,43 unequal: No Solution Exploring Operation: 74-48=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 74+48=122, Resulting Numbers: [122] 122,43 unequal: No Solution Moving to Node #0,4,3 Current State: 43:[74, 52], Operations: ['56-6=50', '2+50=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,43 unequal: No Solution Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,43 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,43 unequal: No Solution Moving to Node #0,4,0 Current State: 43:[50, 76], Operations: ['56-6=50', '2+74=76'] Exploring Operation: 50+76=126, Resulting Numbers: [126] 126,43 unequal: No Solution Exploring Operation: 76-50=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 50*76=3800, Resulting Numbers: [3800] 3800,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[12, 18], Operations: ['6*2=12', '74-56=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,43 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[56, 86], Operations: ['6*2=12', '74+12=86'] Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,43 unequal: No Solution Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,43 unequal: No Solution Exploring Operation: 56*86=4816, Resulting Numbers: [4816] 4816,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[74, 68], Operations: ['6*2=12', '56+12=68'] Exploring Operation: 74+68=142, Resulting Numbers: [142] 142,43 unequal: No Solution Exploring Operation: 74*68=5032, Resulting Numbers: [5032] 5032,43 unequal: No Solution Exploring Operation: 74-68=6, Resulting Numbers: [6] 6,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[6, 19], Operations: ['74/2=37', '56-37=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,43 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 8, 49, 24, 10 ]
19
[ "24/8=3", "10*3=30", "49-30=19" ]
Current State: 19:[8, 49, 24, 10], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [49, 10, 3] Generated Node #2: [49, 10, 3] from Operation: 24/8=3 Current State: 19:[49, 10, 3], Operations: ['24/8=3'] Exploring Operation: 10*3=30, Resulting Numbers: [49, 30] Generated Node #3: [49, 30] from Operation: 10*3=30 Current State: 19:[49, 30], Operations: ['24/8=3', '10*3=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[8, 49, 24, 10], Operations: [] Exploring Operation: 49-8=41, Resulting Numbers: [24, 10, 41] Generated Node #0,0: 19:[24, 10, 41] Operation: 49-8=41 Exploring Operation: 8+10=18, Resulting Numbers: [49, 24, 18] Generated Node #0,1: 19:[49, 24, 18] Operation: 8+10=18 Exploring Operation: 49-24=25, Resulting Numbers: [8, 10, 25] Generated Node #0,2: 19:[8, 10, 25] Operation: 49-24=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[8, 10, 25], Operations: ['49-24=25'] Exploring Operation: 8+10=18, Resulting Numbers: [25, 18] Generated Node #0,2,0: 19:[25, 18] Operation: 8+10=18 Exploring Operation: 25-10=15, Resulting Numbers: [8, 15] Generated Node #0,2,1: 19:[8, 15] Operation: 25-10=15 Exploring Operation: 25-8=17, Resulting Numbers: [10, 17] Generated Node #0,2,2: 19:[10, 17] Operation: 25-8=17 Moving to Node #0,2,0 Current State: 19:[25, 18], Operations: ['49-24=25', '8+10=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[10, 17], Operations: ['49-24=25', '25-8=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,19 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[8, 15], Operations: ['49-24=25', '25-10=15'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[24, 10, 41], Operations: ['49-8=41'] Exploring Operation: 41-24=17, Resulting Numbers: [10, 17] Generated Node #0,0,0: 19:[10, 17] Operation: 41-24=17 Exploring Operation: 24-10=14, Resulting Numbers: [41, 14] Generated Node #0,0,1: 19:[41, 14] Operation: 24-10=14 Exploring Operation: 41-10=31, Resulting Numbers: [24, 31] Generated Node #0,0,2: 19:[24, 31] Operation: 41-10=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[10, 17], Operations: ['49-8=41', '41-24=17'] Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,19 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,19 unequal: No Solution No 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: 19:[24, 31], Operations: ['49-8=41', '41-10=31'] Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,19 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,19 unequal: No Solution No 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: 19:[41, 14], Operations: ['49-8=41', '24-10=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,19 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[49, 24, 18], Operations: ['8+10=18'] Exploring Operation: 49-18=31, Resulting Numbers: [24, 31] Generated Node #0,1,0: 19:[24, 31] Operation: 49-18=31 Exploring Operation: 24-18=6, Resulting Numbers: [49, 6] Generated Node #0,1,1: 19:[49, 6] Operation: 24-18=6 Exploring Operation: 49-24=25, Resulting Numbers: [18, 25] Generated Node #0,1,2: 19:[18, 25] Operation: 49-24=25 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[18, 25], Operations: ['8+10=18', '49-24=25'] Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,19 unequal: No Solution No 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: 19:[24, 31], Operations: ['8+10=18', '49-18=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,19 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,19 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,19 unequal: No Solution No 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: 19:[49, 6], Operations: ['8+10=18', '24-18=6'] Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,19 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,19 unequal: No Solution Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,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_3
mult_heuristic
[ 13, 34, 5, 28 ]
77
[ "34-13=21", "5*21=105", "105-28=77" ]
Current State: 77:[13, 34, 5, 28], Operations: [] Exploring Operation: 34-13=21, Resulting Numbers: [5, 28, 21] Generated Node #2: [5, 28, 21] from Operation: 34-13=21 Current State: 77:[5, 28, 21], Operations: ['34-13=21'] Exploring Operation: 5*21=105, Resulting Numbers: [28, 105] Generated Node #3: [28, 105] from Operation: 5*21=105 Current State: 77:[28, 105], Operations: ['34-13=21', '5*21=105'] Exploring Operation: 105-28=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[13, 34, 5, 28], Operations: [] Exploring Operation: 34-28=6, Resulting Numbers: [13, 5, 6] Generated Node #0,0: 77:[13, 5, 6] Operation: 34-28=6 Exploring Operation: 34+28=62, Resulting Numbers: [13, 5, 62] Generated Node #0,1: 77:[13, 5, 62] Operation: 34+28=62 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[13, 5, 6], Operations: ['34-28=6'] Exploring Operation: 13-5=8, Resulting Numbers: [6, 8] Generated Node #0,0,0: 77:[6, 8] Operation: 13-5=8 Exploring Operation: 13-6=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 77:[5, 7] Operation: 13-6=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[6, 8], Operations: ['34-28=6', '13-5=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,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,0,1 Current State: 77:[5, 7], Operations: ['34-28=6', '13-6=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,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,1 Current State: 77:[13, 5, 62], Operations: ['34+28=62'] Exploring Operation: 13+62=75, Resulting Numbers: [5, 75] Generated Node #0,1,0: 77:[5, 75] Operation: 13+62=75 Exploring Operation: 5+62=67, Resulting Numbers: [13, 67] Generated Node #0,1,1: 77:[13, 67] Operation: 5+62=67 Moving to Node #0,1,0 Current State: 77:[5, 75], Operations: ['34+28=62', '13+62=75'] Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[13, 67], Operations: ['34+28=62', '5+62=67'] Exploring Operation: 13+67=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 19, 75, 22 ]
27
[ "99-19=80", "75-22=53", "80-53=27" ]
Current State: 27:[99, 19, 75, 22], Operations: [] Exploring Operation: 99-19=80, Resulting Numbers: [75, 22, 80] Generated Node #2: [75, 22, 80] from Operation: 99-19=80 Current State: 27:[75, 22, 80], Operations: ['99-19=80'] Exploring Operation: 75-22=53, Resulting Numbers: [80, 53] Generated Node #3: [80, 53] from Operation: 75-22=53 Current State: 27:[80, 53], Operations: ['99-19=80', '75-22=53'] Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[99, 19, 75, 22], Operations: [] Exploring Operation: 99-19=80, Resulting Numbers: [75, 22, 80] Generated Node #0,0: 27:[75, 22, 80] Operation: 99-19=80 Exploring Operation: 99-75=24, Resulting Numbers: [19, 22, 24] Generated Node #0,1: 27:[19, 22, 24] Operation: 99-75=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[19, 22, 24], Operations: ['99-75=24'] Exploring Operation: 22-19=3, Resulting Numbers: [24, 3] Generated Node #0,1,0: 27:[24, 3] Operation: 22-19=3 Exploring Operation: 24-19=5, Resulting Numbers: [22, 5] Generated Node #0,1,1: 27:[22, 5] Operation: 24-19=5 Moving to Node #0,1,0 Current State: 27:[24, 3], Operations: ['99-75=24', '22-19=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[99, 19, 75, 22], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [19, 22, 24] Generated Node #0,1: 27:[19, 22, 24] Operation: 99-75=24 Moving to Node #0,1 Current State: 27:[19, 22, 24], Operations: ['99-75=24'] Exploring Operation: 22-19=3, Resulting Numbers: [24, 3] Generated Node #0,1,0: 27:[24, 3] Operation: 22-19=3 Moving to Node #0,1,0 Current State: 27:[24, 3], Operations: ['99-75=24', '22-19=3'] Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 44, 27, 34, 32 ]
49
[ "44-27=17", "34+32=66", "66-17=49" ]
Current State: 49:[44, 27, 34, 32], Operations: [] Exploring Operation: 44-27=17, Resulting Numbers: [34, 32, 17] Generated Node #2: [34, 32, 17] from Operation: 44-27=17 Current State: 49:[34, 32, 17], Operations: ['44-27=17'] Exploring Operation: 34+32=66, Resulting Numbers: [17, 66] Generated Node #3: [17, 66] from Operation: 34+32=66 Current State: 49:[17, 66], Operations: ['44-27=17', '34+32=66'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[44, 27, 34, 32], Operations: [] Exploring Operation: 34-27=7, Resulting Numbers: [44, 32, 7] Generated Node #0,0: 49:[44, 32, 7] Operation: 34-27=7 Moving to Node #0,0 Current State: 49:[44, 32, 7], Operations: ['34-27=7'] Exploring Operation: 44-32=12, Resulting Numbers: [7, 12] Generated Node #0,0,0: 49:[7, 12] Operation: 44-32=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[7, 12], Operations: ['34-27=7', '44-32=12'] Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 57, 19, 15, 59 ]
68
[ "59-57=2", "19+15=34", "2*34=68" ]
Current State: 68:[57, 19, 15, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [19, 15, 2] Generated Node #2: [19, 15, 2] from Operation: 59-57=2 Current State: 68:[19, 15, 2], Operations: ['59-57=2'] Exploring Operation: 19+15=34, Resulting Numbers: [2, 34] Generated Node #3: [2, 34] from Operation: 19+15=34 Current State: 68:[2, 34], Operations: ['59-57=2', '19+15=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[57, 19, 15, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [19, 15, 2] Generated Node #0,0: 68:[19, 15, 2] Operation: 59-57=2 Exploring Operation: 57/19=3, Resulting Numbers: [15, 59, 3] Generated Node #0,1: 68:[15, 59, 3] Operation: 57/19=3 Moving to Node #0,0 Current State: 68:[19, 15, 2], Operations: ['59-57=2'] Exploring Operation: 19+15=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 68:[2, 34] Operation: 19+15=34 Exploring Operation: 19-15=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 68:[2, 4] Operation: 19-15=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[2, 34], Operations: ['59-57=2', '19+15=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[57, 19, 15, 59], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [19, 15, 2] Generated Node #0,0: 68:[19, 15, 2] Operation: 59-57=2 Moving to Node #0,0 Current State: 68:[19, 15, 2], Operations: ['59-57=2'] Exploring Operation: 19+15=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 68:[2, 34] Operation: 19+15=34 Moving to Node #0,0,0 Current State: 68:[2, 34], Operations: ['59-57=2', '19+15=34'] Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 64, 38, 30, 18 ]
74
[ "64-38=26", "30+18=48", "26+48=74" ]
Current State: 74:[64, 38, 30, 18], Operations: [] Exploring Operation: 64-38=26, Resulting Numbers: [30, 18, 26] Generated Node #2: [30, 18, 26] from Operation: 64-38=26 Current State: 74:[30, 18, 26], Operations: ['64-38=26'] Exploring Operation: 30+18=48, Resulting Numbers: [26, 48] Generated Node #3: [26, 48] from Operation: 30+18=48 Current State: 74:[26, 48], Operations: ['64-38=26', '30+18=48'] Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[64, 38, 30, 18], Operations: [] Exploring Operation: 64+18=82, Resulting Numbers: [38, 30, 82] Generated Node #0,0: 74:[38, 30, 82] Operation: 64+18=82 Exploring Operation: 30+18=48, Resulting Numbers: [64, 38, 48] Generated Node #0,1: 74:[64, 38, 48] Operation: 30+18=48 Exploring Operation: 64-18=46, Resulting Numbers: [38, 30, 46] Generated Node #0,2: 74:[38, 30, 46] Operation: 64-18=46 Exploring Operation: 64-30=34, Resulting Numbers: [38, 18, 34] Generated Node #0,3: 74:[38, 18, 34] Operation: 64-30=34 Exploring Operation: 30-18=12, Resulting Numbers: [64, 38, 12] Generated Node #0,4: 74:[64, 38, 12] Operation: 30-18=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[38, 30, 82], Operations: ['64+18=82'] Exploring Operation: 38+30=68, Resulting Numbers: [82, 68] Generated Node #0,0,0: 74:[82, 68] Operation: 38+30=68 Exploring Operation: 82-30=52, Resulting Numbers: [38, 52] Generated Node #0,0,1: 74:[38, 52] Operation: 82-30=52 Exploring Operation: 82-38=44, Resulting Numbers: [30, 44] Generated Node #0,0,2: 74:[30, 44] Operation: 82-38=44 Exploring Operation: 30+82=112, Resulting Numbers: [38, 112] Generated Node #0,0,3: 74:[38, 112] Operation: 30+82=112 Exploring Operation: 38-30=8, Resulting Numbers: [82, 8] Generated Node #0,0,4: 74:[82, 8] Operation: 38-30=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[82, 68], Operations: ['64+18=82', '38+30=68'] Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,74 unequal: No Solution Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,74 unequal: No Solution No 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: 74:[30, 44], Operations: ['64+18=82', '82-38=44'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,74 unequal: No Solution Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[64, 38, 30, 18], Operations: [] Exploring Operation: 64+18=82, Resulting Numbers: [38, 30, 82] Generated Node #0,0: 74:[38, 30, 82] Operation: 64+18=82 Moving to Node #0,0 Current State: 74:[38, 30, 82], Operations: ['64+18=82'] Exploring Operation: 82-38=44, Resulting Numbers: [30, 44] Generated Node #0,0,2: 74:[30, 44] Operation: 82-38=44 Moving to Node #0,0,2 Current State: 74:[30, 44], Operations: ['64+18=82', '82-38=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 10, 53, 17, 59 ]
77
[ "59-53=6", "10*6=60", "17+60=77" ]
Current State: 77:[10, 53, 17, 59], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [10, 17, 6] Generated Node #2: [10, 17, 6] from Operation: 59-53=6 Current State: 77:[10, 17, 6], Operations: ['59-53=6'] Exploring Operation: 10*6=60, Resulting Numbers: [17, 60] Generated Node #3: [17, 60] from Operation: 10*6=60 Current State: 77:[17, 60], Operations: ['59-53=6', '10*6=60'] Exploring Operation: 17+60=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[10, 53, 17, 59], Operations: [] Exploring Operation: 53+17=70, Resulting Numbers: [10, 59, 70] Generated Node #0,0: 77:[10, 59, 70] Operation: 53+17=70 Exploring Operation: 59-53=6, Resulting Numbers: [10, 17, 6] Generated Node #0,1: 77:[10, 17, 6] Operation: 59-53=6 Moving to Node #0,1 Current State: 77:[10, 17, 6], Operations: ['59-53=6'] Exploring Operation: 17-10=7, Resulting Numbers: [6, 7] Generated Node #0,1,0: 77:[6, 7] Operation: 17-10=7 Exploring Operation: 17-6=11, Resulting Numbers: [10, 11] Generated Node #0,1,1: 77:[10, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[6, 7], Operations: ['59-53=6', '17-10=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[10, 11], Operations: ['59-53=6', '17-6=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,77 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: 77:[10, 59, 70], Operations: ['53+17=70'] Exploring Operation: 10+59=69, Resulting Numbers: [70, 69] Generated Node #0,0,0: 77:[70, 69] Operation: 10+59=69 Exploring Operation: 70-59=11, Resulting Numbers: [10, 11] Generated Node #0,0,1: 77:[10, 11] Operation: 70-59=11 Moving to Node #0,0,1 Current State: 77:[10, 11], Operations: ['53+17=70', '70-59=11'] Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[70, 69], Operations: ['53+17=70', '10+59=69'] Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,77 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 3, 45, 15, 19 ]
45
[ "3+15=18", "19-18=1", "45*1=45" ]
Current State: 45:[3, 45, 15, 19], Operations: [] Exploring Operation: 3+15=18, Resulting Numbers: [45, 19, 18] Generated Node #2: [45, 19, 18] from Operation: 3+15=18 Current State: 45:[45, 19, 18], Operations: ['3+15=18'] Exploring Operation: 19-18=1, Resulting Numbers: [45, 1] Generated Node #3: [45, 1] from Operation: 19-18=1 Current State: 45:[45, 1], Operations: ['3+15=18', '19-18=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 45, 15, 19], Operations: [] Exploring Operation: 19-3=16, Resulting Numbers: [45, 15, 16] Generated Node #0,0: 45:[45, 15, 16] Operation: 19-3=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[45, 15, 16], Operations: ['19-3=16'] Exploring Operation: 45/15=3, Resulting Numbers: [16, 3] Generated Node #0,0,0: 45:[16, 3] Operation: 45/15=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[16, 3], Operations: ['19-3=16', '45/15=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,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 No solution found.
0
hs_1
mult_heuristic
[ 97, 71, 89, 57 ]
58
[ "97-71=26", "89-57=32", "26+32=58" ]
Current State: 58:[97, 71, 89, 57], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [89, 57, 26] Generated Node #2: [89, 57, 26] from Operation: 97-71=26 Current State: 58:[89, 57, 26], Operations: ['97-71=26'] Exploring Operation: 89-57=32, Resulting Numbers: [26, 32] Generated Node #3: [26, 32] from Operation: 89-57=32 Current State: 58:[26, 32], Operations: ['97-71=26', '89-57=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[97, 71, 89, 57], Operations: [] Exploring Operation: 89-57=32, Resulting Numbers: [97, 71, 32] Generated Node #0,0: 58:[97, 71, 32] Operation: 89-57=32 Exploring Operation: 97-71=26, Resulting Numbers: [89, 57, 26] Generated Node #0,1: 58:[89, 57, 26] Operation: 97-71=26 Exploring Operation: 97-57=40, Resulting Numbers: [71, 89, 40] Generated Node #0,2: 58:[71, 89, 40] Operation: 97-57=40 Exploring Operation: 97-89=8, Resulting Numbers: [71, 57, 8] Generated Node #0,3: 58:[71, 57, 8] Operation: 97-89=8 Exploring Operation: 89-71=18, Resulting Numbers: [97, 57, 18] Generated Node #0,4: 58:[97, 57, 18] Operation: 89-71=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[71, 57, 8], Operations: ['97-89=8'] Exploring Operation: 57-8=49, Resulting Numbers: [71, 49] Generated Node #0,3,0: 58:[71, 49] Operation: 57-8=49 Exploring Operation: 57+8=65, Resulting Numbers: [71, 65] Generated Node #0,3,1: 58:[71, 65] Operation: 57+8=65 Exploring Operation: 71-57=14, Resulting Numbers: [8, 14] Generated Node #0,3,2: 58:[8, 14] Operation: 71-57=14 Exploring Operation: 71-8=63, Resulting Numbers: [57, 63] Generated Node #0,3,3: 58:[57, 63] Operation: 71-8=63 Exploring Operation: 71+8=79, Resulting Numbers: [57, 79] Generated Node #0,3,4: 58:[57, 79] Operation: 71+8=79 Moving to Node #0,3,3 Current State: 58:[57, 63], Operations: ['97-89=8', '71-8=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[8, 14], Operations: ['97-89=8', '71-57=14'] Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,58 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[71, 65], Operations: ['97-89=8', '57+8=65'] Exploring Operation: 71+65=136, Resulting Numbers: [136] 136,58 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 71*65=4615, Resulting Numbers: [4615] 4615,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[71, 49], Operations: ['97-89=8', '57-8=49'] Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,58 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[57, 79], Operations: ['97-89=8', '71+8=79'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 57+79=136, Resulting Numbers: [136] 136,58 unequal: No Solution Exploring Operation: 57*79=4503, Resulting Numbers: [4503] 4503,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[89, 57, 26], Operations: ['97-71=26'] Exploring Operation: 57+26=83, Resulting Numbers: [89, 83] Generated Node #0,1,0: 58:[89, 83] Operation: 57+26=83 Exploring Operation: 57-26=31, Resulting Numbers: [89, 31] Generated Node #0,1,1: 58:[89, 31] Operation: 57-26=31 Exploring Operation: 89-26=63, Resulting Numbers: [57, 63] Generated Node #0,1,2: 58:[57, 63] Operation: 89-26=63 Exploring Operation: 89+26=115, Resulting Numbers: [57, 115] Generated Node #0,1,3: 58:[57, 115] Operation: 89+26=115 Exploring Operation: 89-57=32, Resulting Numbers: [26, 32] Generated Node #0,1,4: 58:[26, 32] Operation: 89-57=32 Moving to Node #0,1,2 Current State: 58:[57, 63], Operations: ['97-71=26', '89-26=63'] Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[26, 32], Operations: ['97-71=26', '89-57=32'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,58 unequal: No Solution Exploring Operation: 26*32=832, Resulting Numbers: [832] 832,58 unequal: No Solution Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[97, 71, 89, 57], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [89, 57, 26] Generated Node #0,1: 58:[89, 57, 26] Operation: 97-71=26 Moving to Node #0,1 Current State: 58:[89, 57, 26], Operations: ['97-71=26'] Exploring Operation: 89-57=32, Resulting Numbers: [26, 32] Generated Node #0,1,4: 58:[26, 32] Operation: 89-57=32 Moving to Node #0,1,4 Current State: 58:[26, 32], Operations: ['97-71=26', '89-57=32'] Exploring Operation: 26+32=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
sum_heuristic
[ 32, 11, 8, 34 ]
21
[ "32-11=21", "8+34=42", "42-21=21" ]
Current State: 21:[32, 11, 8, 34], Operations: [] Exploring Operation: 32-11=21, Resulting Numbers: [8, 34, 21] Generated Node #2: [8, 34, 21] from Operation: 32-11=21 Current State: 21:[8, 34, 21], Operations: ['32-11=21'] Exploring Operation: 8+34=42, Resulting Numbers: [21, 42] Generated Node #3: [21, 42] from Operation: 8+34=42 Current State: 21:[21, 42], Operations: ['32-11=21', '8+34=42'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[32, 11, 8, 34], Operations: [] Exploring Operation: 34-11=23, Resulting Numbers: [32, 8, 23] Generated Node #0,0: 21:[32, 8, 23] Operation: 34-11=23 Exploring Operation: 34-32=2, Resulting Numbers: [11, 8, 2] Generated Node #0,1: 21:[11, 8, 2] Operation: 34-32=2 Exploring Operation: 32-11=21, Resulting Numbers: [8, 34, 21] Generated Node #0,2: 21:[8, 34, 21] Operation: 32-11=21 Exploring Operation: 32/8=4, Resulting Numbers: [11, 34, 4] Generated Node #0,3: 21:[11, 34, 4] Operation: 32/8=4 Moving to Node #0,1 Current State: 21:[11, 8, 2], Operations: ['34-32=2'] Exploring Operation: 11-8=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 21:[2, 3] Operation: 11-8=3 Exploring Operation: 11-2=9, Resulting Numbers: [8, 9] Generated Node #0,1,1: 21:[8, 9] Operation: 11-2=9 Exploring Operation: 11+8=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 21:[2, 19] Operation: 11+8=19 Exploring Operation: 11*2=22, Resulting Numbers: [8, 22] Generated Node #0,1,3: 21:[8, 22] Operation: 11*2=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[2, 3], Operations: ['34-32=2', '11-8=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[8, 22], Operations: ['34-32=2', '11*2=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,21 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[8, 9], Operations: ['34-32=2', '11-2=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[2, 19], Operations: ['34-32=2', '11+8=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,21 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[32, 11, 8, 34], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [11, 8, 2] Generated Node #0,1: 21:[11, 8, 2] Operation: 34-32=2 Moving to Node #0,1 Current State: 21:[11, 8, 2], Operations: ['34-32=2'] Exploring Operation: 11+8=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 21:[2, 19] Operation: 11+8=19 Moving to Node #0,1,2 Current State: 21:[2, 19], Operations: ['34-32=2', '11+8=19'] Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 7, 16, 85, 6 ]
82
[ "16-7=9", "85+6=91", "91-9=82" ]
Current State: 82:[7, 16, 85, 6], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [85, 6, 9] Generated Node #2: [85, 6, 9] from Operation: 16-7=9 Current State: 82:[85, 6, 9], Operations: ['16-7=9'] Exploring Operation: 85+6=91, Resulting Numbers: [9, 91] Generated Node #3: [9, 91] from Operation: 85+6=91 Current State: 82:[9, 91], Operations: ['16-7=9', '85+6=91'] Exploring Operation: 91-9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[7, 16, 85, 6], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [85, 6, 9] Generated Node #0,0: 82:[85, 6, 9] Operation: 16-7=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[85, 6, 9], Operations: ['16-7=9'] Exploring Operation: 9-6=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 9-6=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['16-7=9', '9-6=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[7, 16, 85, 6], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [85, 6, 9] Generated Node #0,0: 82:[85, 6, 9] Operation: 16-7=9 Moving to Node #0,0 Current State: 82:[85, 6, 9], Operations: ['16-7=9'] Exploring Operation: 9-6=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['16-7=9', '9-6=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 42, 26, 58, 95 ]
97
[ "26+58=84", "84/42=2", "95+2=97" ]
Current State: 97:[42, 26, 58, 95], Operations: [] Exploring Operation: 26+58=84, Resulting Numbers: [42, 95, 84] Generated Node #2: [42, 95, 84] from Operation: 26+58=84 Current State: 97:[42, 95, 84], Operations: ['26+58=84'] Exploring Operation: 84/42=2, Resulting Numbers: [95, 2] Generated Node #3: [95, 2] from Operation: 84/42=2 Current State: 97:[95, 2], Operations: ['26+58=84', '84/42=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[42, 26, 58, 95], Operations: [] Exploring Operation: 42+26=68, Resulting Numbers: [58, 95, 68] Generated Node #0,0: 97:[58, 95, 68] Operation: 42+26=68 Moving to Node #0,0 Current State: 97:[58, 95, 68], Operations: ['42+26=68'] Exploring Operation: 58+68=126, Resulting Numbers: [95, 126] Generated Node #0,0,0: 97:[95, 126] Operation: 58+68=126 Moving to Node #0,0,0 Current State: 97:[95, 126], Operations: ['42+26=68', '58+68=126'] Exploring Operation: 126-95=31, Resulting Numbers: [31] 31,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 81, 2, 96, 69 ]
27
[ "96-81=15", "69-15=54", "54/2=27" ]
Current State: 27:[81, 2, 96, 69], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [2, 69, 15] Generated Node #2: [2, 69, 15] from Operation: 96-81=15 Current State: 27:[2, 69, 15], Operations: ['96-81=15'] Exploring Operation: 69-15=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 69-15=54 Current State: 27:[2, 54], Operations: ['96-81=15', '69-15=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[81, 2, 96, 69], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [2, 96, 12] Generated Node #0,0: 27:[2, 96, 12] Operation: 81-69=12 Exploring Operation: 96-81=15, Resulting Numbers: [2, 69, 15] Generated Node #0,1: 27:[2, 69, 15] Operation: 96-81=15 Exploring Operation: 96-69=27, Resulting Numbers: [81, 2, 27] Generated Node #0,2: 27:[81, 2, 27] Operation: 96-69=27 Moving to Node #0,1 Current State: 27:[2, 69, 15], Operations: ['96-81=15'] Exploring Operation: 69-15=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 27:[2, 54] Operation: 69-15=54 Exploring Operation: 69-2=67, Resulting Numbers: [15, 67] Generated Node #0,1,1: 27:[15, 67] Operation: 69-2=67 Exploring Operation: 2*15=30, Resulting Numbers: [69, 30] Generated Node #0,1,2: 27:[69, 30] Operation: 2*15=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 27:[2, 54], Operations: ['96-81=15', '69-15=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[81, 2, 96, 69], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [2, 69, 15] Generated Node #0,1: 27:[2, 69, 15] Operation: 96-81=15 Moving to Node #0,1 Current State: 27:[2, 69, 15], Operations: ['96-81=15'] Exploring Operation: 69-15=54, Resulting Numbers: [2, 54] Generated Node #0,1,0: 27:[2, 54] Operation: 69-15=54 Moving to Node #0,1,0 Current State: 27:[2, 54], Operations: ['96-81=15', '69-15=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 66, 58, 34, 60 ]
34
[ "66-58=8", "60-34=26", "8+26=34" ]
Current State: 34:[66, 58, 34, 60], Operations: [] Exploring Operation: 66-58=8, Resulting Numbers: [34, 60, 8] Generated Node #2: [34, 60, 8] from Operation: 66-58=8 Current State: 34:[34, 60, 8], Operations: ['66-58=8'] Exploring Operation: 60-34=26, Resulting Numbers: [8, 26] Generated Node #3: [8, 26] from Operation: 60-34=26 Current State: 34:[8, 26], Operations: ['66-58=8', '60-34=26'] Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[66, 58, 34, 60], Operations: [] Exploring Operation: 66-34=32, Resulting Numbers: [58, 60, 32] Generated Node #0,0: 34:[58, 60, 32] Operation: 66-34=32 Exploring Operation: 66-60=6, Resulting Numbers: [58, 34, 6] Generated Node #0,1: 34:[58, 34, 6] Operation: 66-60=6 Exploring Operation: 60-58=2, Resulting Numbers: [66, 34, 2] Generated Node #0,2: 34:[66, 34, 2] Operation: 60-58=2 Exploring Operation: 66-58=8, Resulting Numbers: [34, 60, 8] Generated Node #0,3: 34:[34, 60, 8] Operation: 66-58=8 Moving to Node #0,1 Current State: 34:[58, 34, 6], Operations: ['66-60=6'] Exploring Operation: 58-6=52, Resulting Numbers: [34, 52] Generated Node #0,1,0: 34:[34, 52] Operation: 58-6=52 Exploring Operation: 58+6=64, Resulting Numbers: [34, 64] Generated Node #0,1,1: 34:[34, 64] Operation: 58+6=64 Exploring Operation: 34+6=40, Resulting Numbers: [58, 40] Generated Node #0,1,2: 34:[58, 40] Operation: 34+6=40 Exploring Operation: 58-34=24, Resulting Numbers: [6, 24] Generated Node #0,1,3: 34:[6, 24] Operation: 58-34=24 Moving to Node #0,3 Current State: 34:[34, 60, 8], Operations: ['66-58=8'] Exploring Operation: 34-8=26, Resulting Numbers: [60, 26] Generated Node #0,3,0: 34:[60, 26] Operation: 34-8=26 Exploring Operation: 60-8=52, Resulting Numbers: [34, 52] Generated Node #0,3,1: 34:[34, 52] Operation: 60-8=52 Exploring Operation: 60-34=26, Resulting Numbers: [8, 26] Generated Node #0,3,2: 34:[8, 26] Operation: 60-34=26 Exploring Operation: 34+8=42, Resulting Numbers: [60, 42] Generated Node #0,3,3: 34:[60, 42] Operation: 34+8=42 Moving to Node #0,2 Current State: 34:[66, 34, 2], Operations: ['60-58=2'] Exploring Operation: 66-34=32, Resulting Numbers: [2, 32] Generated Node #0,2,0: 34:[2, 32] Operation: 66-34=32 Exploring Operation: 66-2=64, Resulting Numbers: [34, 64] Generated Node #0,2,1: 34:[34, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [34, 33] Generated Node #0,2,2: 34:[34, 33] Operation: 66/2=33 Exploring Operation: 34/2=17, Resulting Numbers: [66, 17] Generated Node #0,2,3: 34:[66, 17] Operation: 34/2=17 Moving to Node #0,0 Current State: 34:[58, 60, 32], Operations: ['66-34=32'] Exploring Operation: 58+32=90, Resulting Numbers: [60, 90] Generated Node #0,0,0: 34:[60, 90] Operation: 58+32=90 Exploring Operation: 60-32=28, Resulting Numbers: [58, 28] Generated Node #0,0,1: 34:[58, 28] Operation: 60-32=28 Exploring Operation: 60-58=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 34:[32, 2] Operation: 60-58=2 Exploring Operation: 58-32=26, Resulting Numbers: [60, 26] Generated Node #0,0,3: 34:[60, 26] Operation: 58-32=26 Moving to Node #0,2,2 Current State: 34:[34, 33], Operations: ['60-58=2', '66/2=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,34 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[32, 2], Operations: ['66-34=32', '60-58=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,34 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[66, 58, 34, 60], Operations: [] Exploring Operation: 66-34=32, Resulting Numbers: [58, 60, 32] Generated Node #0,0: 34:[58, 60, 32] Operation: 66-34=32 Moving to Node #0,0 Current State: 34:[58, 60, 32], Operations: ['66-34=32'] Exploring Operation: 60-58=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 34:[32, 2] Operation: 60-58=2 Moving to Node #0,0,2 Current State: 34:[32, 2], Operations: ['66-34=32', '60-58=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.974826
hs_4
mult_heuristic
[ 60, 26, 2, 1 ]
92
[ "60-1=59", "2*59=118", "118-26=92" ]
Current State: 92:[60, 26, 2, 1], Operations: [] Exploring Operation: 60-1=59, Resulting Numbers: [26, 2, 59] Generated Node #2: [26, 2, 59] from Operation: 60-1=59 Current State: 92:[26, 2, 59], Operations: ['60-1=59'] Exploring Operation: 2*59=118, Resulting Numbers: [26, 118] Generated Node #3: [26, 118] from Operation: 2*59=118 Current State: 92:[26, 118], Operations: ['60-1=59', '2*59=118'] Exploring Operation: 118-26=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[60, 26, 2, 1], Operations: [] Exploring Operation: 60-26=34, Resulting Numbers: [2, 1, 34] Generated Node #0,0: 92:[2, 1, 34] Operation: 60-26=34 Exploring Operation: 60/2=30, Resulting Numbers: [26, 1, 30] Generated Node #0,1: 92:[26, 1, 30] Operation: 60/2=30 Exploring Operation: 60+26=86, Resulting Numbers: [2, 1, 86] Generated Node #0,2: 92:[2, 1, 86] Operation: 60+26=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[2, 1, 86], Operations: ['60+26=86'] Exploring Operation: 2+86=88, Resulting Numbers: [1, 88] Generated Node #0,2,0: 92:[1, 88] Operation: 2+86=88 Exploring Operation: 1+86=87, Resulting Numbers: [2, 87] Generated Node #0,2,1: 92:[2, 87] Operation: 1+86=87 Exploring Operation: 86/2=43, Resulting Numbers: [1, 43] Generated Node #0,2,2: 92:[1, 43] Operation: 86/2=43 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[1, 43], Operations: ['60+26=86', '86/2=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[1, 88], Operations: ['60+26=86', '2+86=88'] Exploring Operation: 1+88=89, Resulting Numbers: [89] 89,92 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[2, 87], Operations: ['60+26=86', '1+86=87'] Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,92 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,92 unequal: No Solution Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[26, 1, 30], Operations: ['60/2=30'] Exploring Operation: 26-1=25, Resulting Numbers: [30, 25] Generated Node #0,1,0: 92:[30, 25] Operation: 26-1=25 Exploring Operation: 30-26=4, Resulting Numbers: [1, 4] Generated Node #0,1,1: 92:[1, 4] Operation: 30-26=4 Exploring Operation: 30-1=29, Resulting Numbers: [26, 29] Generated Node #0,1,2: 92:[26, 29] Operation: 30-1=29 Moving to Node #0,1,1 Current State: 92:[1, 4], Operations: ['60/2=30', '30-26=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[30, 25], Operations: ['60/2=30', '26-1=25'] Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,92 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[26, 29], Operations: ['60/2=30', '30-1=29'] Exploring Operation: 26*29=754, Resulting Numbers: [754] 754,92 unequal: No Solution Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[2, 1, 34], Operations: ['60-26=34'] Exploring Operation: 34-1=33, Resulting Numbers: [2, 33] Generated Node #0,0,0: 92:[2, 33] Operation: 34-1=33 Exploring Operation: 34-2=32, Resulting Numbers: [1, 32] Generated Node #0,0,1: 92:[1, 32] Operation: 34-2=32 Exploring Operation: 34/2=17, Resulting Numbers: [1, 17] Generated Node #0,0,2: 92:[1, 17] Operation: 34/2=17 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[1, 17], Operations: ['60-26=34', '34/2=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[2, 33], Operations: ['60-26=34', '34-1=33'] Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[1, 32], Operations: ['60-26=34', '34-2=32'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 1*32=32, Resulting Numbers: [32] 32,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 77, 71, 63, 70 ]
14
[ "77-63=14", "71-70=1", "14*1=14" ]
Current State: 14:[77, 71, 63, 70], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [71, 70, 14] Generated Node #2: [71, 70, 14] from Operation: 77-63=14 Current State: 14:[71, 70, 14], Operations: ['77-63=14'] Exploring Operation: 71-70=1, Resulting Numbers: [14, 1] Generated Node #3: [14, 1] from Operation: 71-70=1 Current State: 14:[14, 1], Operations: ['77-63=14', '71-70=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[77, 71, 63, 70], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [71, 70, 14] Generated Node #0,0: 14:[71, 70, 14] Operation: 77-63=14 Exploring Operation: 77-70=7, Resulting Numbers: [71, 63, 7] Generated Node #0,1: 14:[71, 63, 7] Operation: 77-70=7 Exploring Operation: 71-70=1, Resulting Numbers: [77, 63, 1] Generated Node #0,2: 14:[77, 63, 1] Operation: 71-70=1 Exploring Operation: 77-71=6, Resulting Numbers: [63, 70, 6] Generated Node #0,3: 14:[63, 70, 6] Operation: 77-71=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[71, 63, 7], Operations: ['77-70=7'] Exploring Operation: 71-7=64, Resulting Numbers: [63, 64] Generated Node #0,1,0: 14:[63, 64] Operation: 71-7=64 Exploring Operation: 71-63=8, Resulting Numbers: [7, 8] Generated Node #0,1,1: 14:[7, 8] Operation: 71-63=8 Exploring Operation: 63/7=9, Resulting Numbers: [71, 9] Generated Node #0,1,2: 14:[71, 9] Operation: 63/7=9 Exploring Operation: 63-7=56, Resulting Numbers: [71, 56] Generated Node #0,1,3: 14:[71, 56] Operation: 63-7=56 Moving to Node #0,1,1 Current State: 14:[7, 8], Operations: ['77-70=7', '71-63=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,14 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[71, 9], Operations: ['77-70=7', '63/7=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,14 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,14 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[71, 56], Operations: ['77-70=7', '63-7=56'] Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,14 unequal: No Solution Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[63, 64], Operations: ['77-70=7', '71-7=64'] Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,14 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[63, 70, 6], Operations: ['77-71=6'] Exploring Operation: 70-63=7, Resulting Numbers: [6, 7] Generated Node #0,3,0: 14:[6, 7] Operation: 70-63=7 Exploring Operation: 70-6=64, Resulting Numbers: [63, 64] Generated Node #0,3,1: 14:[63, 64] Operation: 70-6=64 Exploring Operation: 63+6=69, Resulting Numbers: [70, 69] Generated Node #0,3,2: 14:[70, 69] Operation: 63+6=69 Exploring Operation: 63-6=57, Resulting Numbers: [70, 57] Generated Node #0,3,3: 14:[70, 57] Operation: 63-6=57 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 14:[6, 7], Operations: ['77-71=6', '70-63=7'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[63, 64], Operations: ['77-71=6', '70-6=64'] Exploring Operation: 63+64=127, Resulting Numbers: [127] 127,14 unequal: No Solution Exploring Operation: 64-63=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 63*64=4032, Resulting Numbers: [4032] 4032,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 14:[70, 57], Operations: ['77-71=6', '63-6=57'] Exploring Operation: 70*57=3990, Resulting Numbers: [3990] 3990,14 unequal: No Solution Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 70+57=127, Resulting Numbers: [127] 127,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 14:[70, 69], Operations: ['77-71=6', '63+6=69'] Exploring Operation: 70*69=4830, Resulting Numbers: [4830] 4830,14 unequal: No Solution Exploring Operation: 70-69=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 70+69=139, Resulting Numbers: [139] 139,14 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: 14:[71, 70, 14], Operations: ['77-63=14'] Exploring Operation: 70-14=56, Resulting Numbers: [71, 56] Generated Node #0,0,0: 14:[71, 56] Operation: 70-14=56 Exploring Operation: 71-70=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 14:[14, 1] Operation: 71-70=1 Exploring Operation: 70/14=5, Resulting Numbers: [71, 5] Generated Node #0,0,2: 14:[71, 5] Operation: 70/14=5 Exploring Operation: 71-14=57, Resulting Numbers: [70, 57] Generated Node #0,0,3: 14:[70, 57] Operation: 71-14=57 Moving to Node #0,0,1 Current State: 14:[14, 1], Operations: ['77-63=14', '71-70=1'] Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[77, 71, 63, 70], Operations: [] Exploring Operation: 77-63=14, Resulting Numbers: [71, 70, 14] Generated Node #0,0: 14:[71, 70, 14] Operation: 77-63=14 Moving to Node #0,0 Current State: 14:[71, 70, 14], Operations: ['77-63=14'] Exploring Operation: 71-70=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 14:[14, 1] Operation: 71-70=1 Moving to Node #0,0,1 Current State: 14:[14, 1], Operations: ['77-63=14', '71-70=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 87, 93, 89, 97 ]
14
[ "93-87=6", "97-89=8", "6+8=14" ]
Current State: 14:[87, 93, 89, 97], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [89, 97, 6] Generated Node #2: [89, 97, 6] from Operation: 93-87=6 Current State: 14:[89, 97, 6], Operations: ['93-87=6'] Exploring Operation: 97-89=8, Resulting Numbers: [6, 8] Generated Node #3: [6, 8] from Operation: 97-89=8 Current State: 14:[6, 8], Operations: ['93-87=6', '97-89=8'] Exploring Operation: 6+8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[87, 93, 89, 97], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [87, 89, 4] Generated Node #0,0: 14:[87, 89, 4] Operation: 97-93=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[87, 89, 4], Operations: ['97-93=4'] Exploring Operation: 89-87=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 14:[4, 2] Operation: 89-87=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[4, 2], Operations: ['97-93=4', '89-87=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,14 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
[ 11, 21, 70, 65 ]
76
[ "70-65=5", "11*5=55", "21+55=76" ]
Current State: 76:[11, 21, 70, 65], Operations: [] Exploring Operation: 70-65=5, Resulting Numbers: [11, 21, 5] Generated Node #2: [11, 21, 5] from Operation: 70-65=5 Current State: 76:[11, 21, 5], Operations: ['70-65=5'] Exploring Operation: 11*5=55, Resulting Numbers: [21, 55] Generated Node #3: [21, 55] from Operation: 11*5=55 Current State: 76:[21, 55], Operations: ['70-65=5', '11*5=55'] Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[11, 21, 70, 65], Operations: [] Exploring Operation: 11+65=76, Resulting Numbers: [21, 70, 76] Generated Node #0,0: 76:[21, 70, 76] Operation: 11+65=76 Exploring Operation: 11+70=81, Resulting Numbers: [21, 65, 81] Generated Node #0,1: 76:[21, 65, 81] Operation: 11+70=81 Exploring Operation: 70-65=5, Resulting Numbers: [11, 21, 5] Generated Node #0,2: 76:[11, 21, 5] Operation: 70-65=5 Exploring Operation: 65-21=44, Resulting Numbers: [11, 70, 44] Generated Node #0,3: 76:[11, 70, 44] Operation: 65-21=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[21, 70, 76], Operations: ['11+65=76'] Exploring Operation: 76-70=6, Resulting Numbers: [21, 6] Generated Node #0,0,0: 76:[21, 6] Operation: 76-70=6 Exploring Operation: 70-21=49, Resulting Numbers: [76, 49] Generated Node #0,0,1: 76:[76, 49] Operation: 70-21=49 Exploring Operation: 76-21=55, Resulting Numbers: [70, 55] Generated Node #0,0,2: 76:[70, 55] Operation: 76-21=55 Exploring Operation: 21+70=91, Resulting Numbers: [76, 91] Generated Node #0,0,3: 76:[76, 91] Operation: 21+70=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[21, 6], Operations: ['11+65=76', '76-70=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,76 unequal: No Solution No 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: 76:[76, 49], Operations: ['11+65=76', '70-21=49'] Exploring Operation: 76-49=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 76*49=3724, Resulting Numbers: [3724] 3724,76 unequal: No Solution Exploring Operation: 76+49=125, Resulting Numbers: [125] 125,76 unequal: No Solution No 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: 76:[76, 91], Operations: ['11+65=76', '21+70=91'] Exploring Operation: 91-76=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 76*91=6916, Resulting Numbers: [6916] 6916,76 unequal: No Solution Exploring Operation: 76+91=167, Resulting Numbers: [167] 167,76 unequal: No Solution No 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: 76:[70, 55], Operations: ['11+65=76', '76-21=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,76 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[11, 21, 5], Operations: ['70-65=5'] Exploring Operation: 21-11=10, Resulting Numbers: [5, 10] Generated Node #0,2,0: 76:[5, 10] Operation: 21-11=10 Exploring Operation: 11+21=32, Resulting Numbers: [5, 32] Generated Node #0,2,1: 76:[5, 32] Operation: 11+21=32 Exploring Operation: 11+5=16, Resulting Numbers: [21, 16] Generated Node #0,2,2: 76:[21, 16] Operation: 11+5=16 Exploring Operation: 11-5=6, Resulting Numbers: [21, 6] Generated Node #0,2,3: 76:[21, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[21, 6], Operations: ['70-65=5', '11-5=6'] Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,76 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,76 unequal: No Solution No 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: 76:[21, 16], Operations: ['70-65=5', '11+5=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,76 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,76 unequal: No Solution No 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: 76:[5, 10], Operations: ['70-65=5', '21-11=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,76 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,76 unequal: No Solution No 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: 76:[5, 32], Operations: ['70-65=5', '11+21=32'] Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,76 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[21, 65, 81], Operations: ['11+70=81'] Exploring Operation: 81-65=16, Resulting Numbers: [21, 16] Generated Node #0,1,0: 76:[21, 16] Operation: 81-65=16 Exploring Operation: 65-21=44, Resulting Numbers: [81, 44] Generated Node #0,1,1: 76:[81, 44] Operation: 65-21=44 Exploring Operation: 21+65=86, Resulting Numbers: [81, 86] Generated Node #0,1,2: 76:[81, 86] Operation: 21+65=86 Exploring Operation: 81-21=60, Resulting Numbers: [65, 60] Generated Node #0,1,3: 76:[65, 60] Operation: 81-21=60 Moving to Node #0,1,0 Current State: 76:[21, 16], Operations: ['11+70=81', '81-65=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,76 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[81, 44], Operations: ['11+70=81', '65-21=44'] Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 81+44=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 81*44=3564, Resulting Numbers: [3564] 3564,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[81, 86], Operations: ['11+70=81', '21+65=86'] Exploring Operation: 81*86=6966, Resulting Numbers: [6966] 6966,76 unequal: No Solution Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 81+86=167, Resulting Numbers: [167] 167,76 unequal: No Solution Moving to Node #0,1,3 Current State: 76:[65, 60], Operations: ['11+70=81', '81-21=60'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[11, 70, 44], Operations: ['65-21=44'] Exploring Operation: 44/11=4, Resulting Numbers: [70, 4] Generated Node #0,3,0: 76:[70, 4] Operation: 44/11=4 Exploring Operation: 11+70=81, Resulting Numbers: [44, 81] Generated Node #0,3,1: 76:[44, 81] Operation: 11+70=81 Exploring Operation: 44-11=33, Resulting Numbers: [70, 33] Generated Node #0,3,2: 76:[70, 33] Operation: 44-11=33 Exploring Operation: 70-44=26, Resulting Numbers: [11, 26] Generated Node #0,3,3: 76:[11, 26] Operation: 70-44=26 Moving to Node #0,3,0 Current State: 76:[70, 4], Operations: ['65-21=44', '44/11=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,76 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,76 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[70, 33], Operations: ['65-21=44', '44-11=33'] Exploring Operation: 70*33=2310, Resulting Numbers: [2310] 2310,76 unequal: No Solution Exploring Operation: 70+33=103, Resulting Numbers: [103] 103,76 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[44, 81], Operations: ['65-21=44', '11+70=81'] Exploring Operation: 44+81=125, Resulting Numbers: [125] 125,76 unequal: No Solution Exploring Operation: 81-44=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 44*81=3564, Resulting Numbers: [3564] 3564,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[11, 26], Operations: ['65-21=44', '70-44=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,76 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,76 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 96, 23, 71, 93 ]
97
[ "96+23=119", "93-71=22", "119-22=97" ]
Current State: 97:[96, 23, 71, 93], Operations: [] Exploring Operation: 96+23=119, Resulting Numbers: [71, 93, 119] Generated Node #2: [71, 93, 119] from Operation: 96+23=119 Current State: 97:[71, 93, 119], Operations: ['96+23=119'] Exploring Operation: 93-71=22, Resulting Numbers: [119, 22] Generated Node #3: [119, 22] from Operation: 93-71=22 Current State: 97:[119, 22], Operations: ['96+23=119', '93-71=22'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[96, 23, 71, 93], Operations: [] Exploring Operation: 96-23=73, Resulting Numbers: [71, 93, 73] Generated Node #0,0: 97:[71, 93, 73] Operation: 96-23=73 Exploring Operation: 23+93=116, Resulting Numbers: [96, 71, 116] Generated Node #0,1: 97:[96, 71, 116] Operation: 23+93=116 Exploring Operation: 96+23=119, Resulting Numbers: [71, 93, 119] Generated Node #0,2: 97:[71, 93, 119] Operation: 96+23=119 Exploring Operation: 23+71=94, Resulting Numbers: [96, 93, 94] Generated Node #0,3: 97:[96, 93, 94] Operation: 23+71=94 Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[96, 93, 94], Operations: ['23+71=94'] Exploring Operation: 96+94=190, Resulting Numbers: [93, 190] Generated Node #0,3,0: 97:[93, 190] Operation: 96+94=190 Exploring Operation: 93+94=187, Resulting Numbers: [96, 187] Generated Node #0,3,1: 97:[96, 187] Operation: 93+94=187 Exploring Operation: 96-93=3, Resulting Numbers: [94, 3] Generated Node #0,3,2: 97:[94, 3] Operation: 96-93=3 Exploring Operation: 96+93=189, Resulting Numbers: [94, 189] Generated Node #0,3,3: 97:[94, 189] Operation: 96+93=189 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[96, 187], Operations: ['23+71=94', '93+94=187'] Exploring Operation: 96*187=17952, Resulting Numbers: [17952] 17952,97 unequal: No Solution Exploring Operation: 96+187=283, Resulting Numbers: [283] 283,97 unequal: No Solution Exploring Operation: 187-96=91, Resulting Numbers: [91] 91,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[94, 189], Operations: ['23+71=94', '96+93=189'] Exploring Operation: 94+189=283, Resulting Numbers: [283] 283,97 unequal: No Solution Exploring Operation: 94*189=17766, Resulting Numbers: [17766] 17766,97 unequal: No Solution Exploring Operation: 189-94=95, Resulting Numbers: [95] 95,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[93, 190], Operations: ['23+71=94', '96+94=190'] Exploring Operation: 93+190=283, Resulting Numbers: [283] 283,97 unequal: No Solution Exploring Operation: 93*190=17670, Resulting Numbers: [17670] 17670,97 unequal: No Solution Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[96, 23, 71, 93], Operations: [] Exploring Operation: 23+71=94, Resulting Numbers: [96, 93, 94] Generated Node #0,3: 97:[96, 93, 94] Operation: 23+71=94 Moving to Node #0,3 Current State: 97:[96, 93, 94], Operations: ['23+71=94'] Exploring Operation: 96+94=190, Resulting Numbers: [93, 190] Generated Node #0,3,0: 97:[93, 190] Operation: 96+94=190 Moving to Node #0,3,0 Current State: 97:[93, 190], Operations: ['23+71=94', '96+94=190'] Exploring Operation: 190-93=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.981771
hs_4
mult_heuristic
[ 44, 77, 62, 78 ]
19
[ "44+77=121", "62+78=140", "140-121=19" ]
Current State: 19:[44, 77, 62, 78], Operations: [] Exploring Operation: 44+77=121, Resulting Numbers: [62, 78, 121] Generated Node #2: [62, 78, 121] from Operation: 44+77=121 Current State: 19:[62, 78, 121], Operations: ['44+77=121'] Exploring Operation: 62+78=140, Resulting Numbers: [121, 140] Generated Node #3: [121, 140] from Operation: 62+78=140 Current State: 19:[121, 140], Operations: ['44+77=121', '62+78=140'] Exploring Operation: 140-121=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[44, 77, 62, 78], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [44, 62, 1] Generated Node #0,0: 19:[44, 62, 1] Operation: 78-77=1 Exploring Operation: 78-62=16, Resulting Numbers: [44, 77, 16] Generated Node #0,1: 19:[44, 77, 16] Operation: 78-62=16 Moving to Node #0,0 Current State: 19:[44, 62, 1], Operations: ['78-77=1'] Exploring Operation: 62-44=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 19:[1, 18] Operation: 62-44=18 Exploring Operation: 44-1=43, Resulting Numbers: [62, 43] Generated Node #0,0,1: 19:[62, 43] Operation: 44-1=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[1, 18], Operations: ['78-77=1', '62-44=18'] Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,19 unequal: No Solution Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[44, 77, 62, 78], Operations: [] Exploring Operation: 78-77=1, Resulting Numbers: [44, 62, 1] Generated Node #0,0: 19:[44, 62, 1] Operation: 78-77=1 Moving to Node #0,0 Current State: 19:[44, 62, 1], Operations: ['78-77=1'] Exploring Operation: 62-44=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 19:[1, 18] Operation: 62-44=18 Moving to Node #0,0,0 Current State: 19:[1, 18], Operations: ['78-77=1', '62-44=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 22, 51, 54, 72 ]
30
[ "22*72=1584", "1584-54=1530", "1530/51=30" ]
Current State: 30:[22, 51, 54, 72], Operations: [] Exploring Operation: 22*72=1584, Resulting Numbers: [51, 54, 1584] Generated Node #2: [51, 54, 1584] from Operation: 22*72=1584 Current State: 30:[51, 54, 1584], Operations: ['22*72=1584'] Exploring Operation: 1584-54=1530, Resulting Numbers: [51, 1530] Generated Node #3: [51, 1530] from Operation: 1584-54=1530 Current State: 30:[51, 1530], Operations: ['22*72=1584', '1584-54=1530'] Exploring Operation: 1530/51=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[22, 51, 54, 72], Operations: [] Exploring Operation: 72-22=50, Resulting Numbers: [51, 54, 50] Generated Node #0,0: 30:[51, 54, 50] Operation: 72-22=50 Exploring Operation: 54-22=32, Resulting Numbers: [51, 72, 32] Generated Node #0,1: 30:[51, 72, 32] Operation: 54-22=32 Exploring Operation: 54-51=3, Resulting Numbers: [22, 72, 3] Generated Node #0,2: 30:[22, 72, 3] Operation: 54-51=3 Exploring Operation: 72-51=21, Resulting Numbers: [22, 54, 21] Generated Node #0,3: 30:[22, 54, 21] Operation: 72-51=21 Exploring Operation: 72-54=18, Resulting Numbers: [22, 51, 18] Generated Node #0,4: 30:[22, 51, 18] Operation: 72-54=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 30:[22, 51, 18], Operations: ['72-54=18'] Exploring Operation: 51-18=33, Resulting Numbers: [22, 33] Generated Node #0,4,0: 30:[22, 33] Operation: 51-18=33 Exploring Operation: 22+51=73, Resulting Numbers: [18, 73] Generated Node #0,4,1: 30:[18, 73] Operation: 22+51=73 Exploring Operation: 22+18=40, Resulting Numbers: [51, 40] Generated Node #0,4,2: 30:[51, 40] Operation: 22+18=40 Exploring Operation: 51-22=29, Resulting Numbers: [18, 29] Generated Node #0,4,3: 30:[18, 29] Operation: 51-22=29 Exploring Operation: 22-18=4, Resulting Numbers: [51, 4] Generated Node #0,4,4: 30:[51, 4] Operation: 22-18=4 Moving to Node #0,4,3 Current State: 30:[18, 29], Operations: ['72-54=18', '51-22=29'] Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,30 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,4,0 Current State: 30:[22, 33], Operations: ['72-54=18', '51-18=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,30 unequal: No Solution Moving to Node #0,4,4 Current State: 30:[51, 4], Operations: ['72-54=18', '22-18=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,30 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,4,2 Current State: 30:[51, 40], Operations: ['72-54=18', '22+18=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,30 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,4,1 Current State: 30:[18, 73], Operations: ['72-54=18', '22+51=73'] Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,30 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 30:[22, 54, 21], Operations: ['72-51=21'] Exploring Operation: 54-22=32, Resulting Numbers: [21, 32] Generated Node #0,3,0: 30:[21, 32] Operation: 54-22=32 Exploring Operation: 22-21=1, Resulting Numbers: [54, 1] Generated Node #0,3,1: 30:[54, 1] Operation: 22-21=1 Exploring Operation: 22+21=43, Resulting Numbers: [54, 43] Generated Node #0,3,2: 30:[54, 43] Operation: 22+21=43 Exploring Operation: 54-21=33, Resulting Numbers: [22, 33] Generated Node #0,3,3: 30:[22, 33] Operation: 54-21=33 Exploring Operation: 22+54=76, Resulting Numbers: [21, 76] Generated Node #0,3,4: 30:[21, 76] Operation: 22+54=76 Moving to Node #0,3,0 Current State: 30:[21, 32], Operations: ['72-51=21', '54-22=32'] Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,30 unequal: No Solution Moving to Node #0,3,3 Current State: 30:[22, 33], Operations: ['72-51=21', '54-21=33'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 22+33=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 22*33=726, Resulting Numbers: [726] 726,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[54, 1], Operations: ['72-51=21', '22-21=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[54, 43], Operations: ['72-51=21', '22+21=43'] Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,30 unequal: No Solution Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,30 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,30 unequal: No Solution Moving to Node #0,3,4 Current State: 30:[21, 76], Operations: ['72-51=21', '22+54=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,30 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,30 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,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:[22, 72, 3], Operations: ['54-51=3'] Exploring Operation: 22-3=19, Resulting Numbers: [72, 19] Generated Node #0,2,0: 30:[72, 19] Operation: 22-3=19 Exploring Operation: 72/3=24, Resulting Numbers: [22, 24] Generated Node #0,2,1: 30:[22, 24] Operation: 72/3=24 Exploring Operation: 72-22=50, Resulting Numbers: [3, 50] Generated Node #0,2,2: 30:[3, 50] Operation: 72-22=50 Exploring Operation: 22+3=25, Resulting Numbers: [72, 25] Generated Node #0,2,3: 30:[72, 25] Operation: 22+3=25 Exploring Operation: 72-3=69, Resulting Numbers: [22, 69] Generated Node #0,2,4: 30:[22, 69] Operation: 72-3=69 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 30:[22, 24], Operations: ['54-51=3', '72/3=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,30 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,30 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,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,2,2 Current State: 30:[3, 50], Operations: ['54-51=3', '72-22=50'] Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,30 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,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,2,0 Current State: 30:[72, 19], Operations: ['54-51=3', '22-3=19'] Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,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,2,4 Current State: 30:[22, 69], Operations: ['54-51=3', '72-3=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,30 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,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,2,3 Current State: 30:[72, 25], Operations: ['54-51=3', '22+3=25'] Exploring Operation: 72+25=97, Resulting Numbers: [97] 97,30 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 72*25=1800, Resulting Numbers: [1800] 1800,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[51, 54, 50], Operations: ['72-22=50'] Exploring Operation: 54-50=4, Resulting Numbers: [51, 4] Generated Node #0,0,0: 30:[51, 4] Operation: 54-50=4 Exploring Operation: 54-51=3, Resulting Numbers: [50, 3] Generated Node #0,0,1: 30:[50, 3] Operation: 54-51=3 Exploring Operation: 51-50=1, Resulting Numbers: [54, 1] Generated Node #0,0,2: 30:[54, 1] Operation: 51-50=1 Exploring Operation: 51+54=105, Resulting Numbers: [50, 105] Generated Node #0,0,3: 30:[50, 105] Operation: 51+54=105 Exploring Operation: 51+50=101, Resulting Numbers: [54, 101] Generated Node #0,0,4: 30:[54, 101] Operation: 51+50=101 Moving to Node #0,0,1 Current State: 30:[50, 3], Operations: ['72-22=50', '54-51=3'] Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,30 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[51, 4], Operations: ['72-22=50', '54-50=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,30 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[54, 1], Operations: ['72-22=50', '51-50=1'] Exploring Operation: 54-1=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 54+1=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,30 unequal: No Solution Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,30 unequal: No Solution Moving to Node #0,0,3 Current State: 30:[50, 105], Operations: ['72-22=50', '51+54=105'] Exploring Operation: 50*105=5250, Resulting Numbers: [5250] 5250,30 unequal: No Solution Exploring Operation: 105-50=55, Resulting Numbers: [55] 55,30 unequal: No Solution Exploring Operation: 50+105=155, Resulting Numbers: [155] 155,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[54, 101], Operations: ['72-22=50', '51+50=101'] Exploring Operation: 101-54=47, Resulting Numbers: [47] 47,30 unequal: No Solution Exploring Operation: 54*101=5454, Resulting Numbers: [5454] 5454,30 unequal: No Solution Exploring Operation: 54+101=155, Resulting Numbers: [155] 155,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, 72, 32], Operations: ['54-22=32'] Exploring Operation: 51-32=19, Resulting Numbers: [72, 19] Generated Node #0,1,0: 30:[72, 19] Operation: 51-32=19 Exploring Operation: 72-51=21, Resulting Numbers: [32, 21] Generated Node #0,1,1: 30:[32, 21] Operation: 72-51=21 Exploring Operation: 51+72=123, Resulting Numbers: [32, 123] Generated Node #0,1,2: 30:[32, 123] Operation: 51+72=123 Exploring Operation: 51+32=83, Resulting Numbers: [72, 83] Generated Node #0,1,3: 30:[72, 83] Operation: 51+32=83 Exploring Operation: 72-32=40, Resulting Numbers: [51, 40] Generated Node #0,1,4: 30:[51, 40] Operation: 72-32=40 Moving to Node #0,1,1 Current State: 30:[32, 21], Operations: ['54-22=32', '72-51=21'] Exploring Operation: 32*21=672, Resulting Numbers: [672] 672,30 unequal: No Solution Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 32+21=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,1,4 Current State: 30:[51, 40], Operations: ['54-22=32', '72-32=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[72, 19], Operations: ['54-22=32', '51-32=19'] Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,30 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,1,2 Current State: 30:[32, 123], Operations: ['54-22=32', '51+72=123'] Exploring Operation: 32+123=155, Resulting Numbers: [155] 155,30 unequal: No Solution Exploring Operation: 123-32=91, Resulting Numbers: [91] 91,30 unequal: No Solution Exploring Operation: 32*123=3936, Resulting Numbers: [3936] 3936,30 unequal: No Solution Moving to Node #0,1,3 Current State: 30:[72, 83], Operations: ['54-22=32', '51+32=83'] Exploring Operation: 83-72=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 72*83=5976, Resulting Numbers: [5976] 5976,30 unequal: No Solution Exploring Operation: 72+83=155, Resulting Numbers: [155] 155,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 30, 13, 36, 4 ]
49
[ "30-13=17", "36-4=32", "17+32=49" ]
Current State: 49:[30, 13, 36, 4], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [36, 4, 17] Generated Node #2: [36, 4, 17] from Operation: 30-13=17 Current State: 49:[36, 4, 17], Operations: ['30-13=17'] Exploring Operation: 36-4=32, Resulting Numbers: [17, 32] Generated Node #3: [17, 32] from Operation: 36-4=32 Current State: 49:[17, 32], Operations: ['30-13=17', '36-4=32'] Exploring Operation: 17+32=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[30, 13, 36, 4], Operations: [] Exploring Operation: 30+36=66, Resulting Numbers: [13, 4, 66] Generated Node #0,0: 49:[13, 4, 66] Operation: 30+36=66 Exploring Operation: 30-13=17, Resulting Numbers: [36, 4, 17] Generated Node #0,1: 49:[36, 4, 17] Operation: 30-13=17 Exploring Operation: 36-30=6, Resulting Numbers: [13, 4, 6] Generated Node #0,2: 49:[13, 4, 6] Operation: 36-30=6 Exploring Operation: 30+13=43, Resulting Numbers: [36, 4, 43] Generated Node #0,3: 49:[36, 4, 43] Operation: 30+13=43 Exploring Operation: 13+36=49, Resulting Numbers: [30, 4, 49] Generated Node #0,4: 49:[30, 4, 49] Operation: 13+36=49 Moving to Node #0,2 Current State: 49:[13, 4, 6], Operations: ['36-30=6'] Exploring Operation: 4+6=10, Resulting Numbers: [13, 10] Generated Node #0,2,0: 49:[13, 10] Operation: 4+6=10 Exploring Operation: 13-4=9, Resulting Numbers: [6, 9] Generated Node #0,2,1: 49:[6, 9] Operation: 13-4=9 Exploring Operation: 13-6=7, Resulting Numbers: [4, 7] Generated Node #0,2,2: 49:[4, 7] Operation: 13-6=7 Exploring Operation: 13*4=52, Resulting Numbers: [6, 52] Generated Node #0,2,3: 49:[6, 52] Operation: 13*4=52 Exploring Operation: 13+4=17, Resulting Numbers: [6, 17] Generated Node #0,2,4: 49:[6, 17] Operation: 13+4=17 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[6, 9], Operations: ['36-30=6', '13-4=9'] Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[4, 7], Operations: ['36-30=6', '13-6=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,49 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 49:[6, 52], Operations: ['36-30=6', '13*4=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,49 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[13, 10], Operations: ['36-30=6', '4+6=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 13*10=130, Resulting Numbers: [130] 130,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 49:[6, 17], Operations: ['36-30=6', '13+4=17'] Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,49 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,49 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,49 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: 49:[30, 4, 49], Operations: ['13+36=49'] Exploring Operation: 49-30=19, Resulting Numbers: [4, 19] Generated Node #0,4,0: 49:[4, 19] Operation: 49-30=19 Exploring Operation: 4+49=53, Resulting Numbers: [30, 53] Generated Node #0,4,1: 49:[30, 53] Operation: 4+49=53 Exploring Operation: 49-4=45, Resulting Numbers: [30, 45] Generated Node #0,4,2: 49:[30, 45] Operation: 49-4=45 Exploring Operation: 30-4=26, Resulting Numbers: [49, 26] Generated Node #0,4,3: 49:[49, 26] Operation: 30-4=26 Exploring Operation: 30+4=34, Resulting Numbers: [49, 34] Generated Node #0,4,4: 49:[49, 34] Operation: 30+4=34 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 49:[4, 19], Operations: ['13+36=49', '49-30=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,49 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,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,4,4 Current State: 49:[49, 34], Operations: ['13+36=49', '30+4=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,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,4,3 Current State: 49:[49, 26], Operations: ['13+36=49', '30-4=26'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,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,4,1 Current State: 49:[30, 53], Operations: ['13+36=49', '4+49=53'] Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,49 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,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,4,2 Current State: 49:[30, 45], Operations: ['13+36=49', '49-4=45'] Exploring Operation: 30*45=1350, Resulting Numbers: [1350] 1350,49 unequal: No Solution Exploring Operation: 30+45=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,49 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: 49:[36, 4, 43], Operations: ['30+13=43'] Exploring Operation: 4+43=47, Resulting Numbers: [36, 47] Generated Node #0,3,0: 49:[36, 47] Operation: 4+43=47 Exploring Operation: 43-36=7, Resulting Numbers: [4, 7] Generated Node #0,3,1: 49:[4, 7] Operation: 43-36=7 Exploring Operation: 36/4=9, Resulting Numbers: [43, 9] Generated Node #0,3,2: 49:[43, 9] Operation: 36/4=9 Exploring Operation: 36+4=40, Resulting Numbers: [43, 40] Generated Node #0,3,3: 49:[43, 40] Operation: 36+4=40 Exploring Operation: 36-4=32, Resulting Numbers: [43, 32] Generated Node #0,3,4: 49:[43, 32] Operation: 36-4=32 Moving to Node #0,0 Current State: 49:[13, 4, 66], Operations: ['30+36=66'] Exploring Operation: 13-4=9, Resulting Numbers: [66, 9] Generated Node #0,0,0: 49:[66, 9] Operation: 13-4=9 Exploring Operation: 13+4=17, Resulting Numbers: [66, 17] Generated Node #0,0,1: 49:[66, 17] Operation: 13+4=17 Exploring Operation: 13*4=52, Resulting Numbers: [66, 52] Generated Node #0,0,2: 49:[66, 52] Operation: 13*4=52 Exploring Operation: 66-4=62, Resulting Numbers: [13, 62] Generated Node #0,0,3: 49:[13, 62] Operation: 66-4=62 Exploring Operation: 66-13=53, Resulting Numbers: [4, 53] Generated Node #0,0,4: 49:[4, 53] Operation: 66-13=53 Moving to Node #0,1 Current State: 49:[36, 4, 17], Operations: ['30-13=17'] Exploring Operation: 36+4=40, Resulting Numbers: [17, 40] Generated Node #0,1,0: 49:[17, 40] Operation: 36+4=40 Exploring Operation: 36-17=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 49:[4, 19] Operation: 36-17=19 Exploring Operation: 17-4=13, Resulting Numbers: [36, 13] Generated Node #0,1,2: 49:[36, 13] Operation: 17-4=13 Exploring Operation: 36+17=53, Resulting Numbers: [4, 53] Generated Node #0,1,3: 49:[4, 53] Operation: 36+17=53 Exploring Operation: 36/4=9, Resulting Numbers: [17, 9] Generated Node #0,1,4: 49:[17, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[4, 53], Operations: ['30-13=17', '36+17=53'] Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[30, 13, 36, 4], Operations: [] Exploring Operation: 30-13=17, Resulting Numbers: [36, 4, 17] Generated Node #0,1: 49:[36, 4, 17] Operation: 30-13=17 Moving to Node #0,1 Current State: 49:[36, 4, 17], Operations: ['30-13=17'] Exploring Operation: 36+17=53, Resulting Numbers: [4, 53] Generated Node #0,1,3: 49:[4, 53] Operation: 36+17=53 Moving to Node #0,1,3 Current State: 49:[4, 53], Operations: ['30-13=17', '36+17=53'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
sum_heuristic
[ 96, 2, 10, 50 ]
24
[ "10+50=60", "2*60=120", "120-96=24" ]
Current State: 24:[96, 2, 10, 50], Operations: [] Exploring Operation: 10+50=60, Resulting Numbers: [96, 2, 60] Generated Node #2: [96, 2, 60] from Operation: 10+50=60 Current State: 24:[96, 2, 60], Operations: ['10+50=60'] Exploring Operation: 2*60=120, Resulting Numbers: [96, 120] Generated Node #3: [96, 120] from Operation: 2*60=120 Current State: 24:[96, 120], Operations: ['10+50=60', '2*60=120'] Exploring Operation: 120-96=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[96, 2, 10, 50], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [10, 50, 48] Generated Node #0,0: 24:[10, 50, 48] Operation: 96/2=48 Exploring Operation: 96-50=46, Resulting Numbers: [2, 10, 46] Generated Node #0,1: 24:[2, 10, 46] Operation: 96-50=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[2, 10, 46], Operations: ['96-50=46'] Exploring Operation: 46/2=23, Resulting Numbers: [10, 23] Generated Node #0,1,0: 24:[10, 23] Operation: 46/2=23 Exploring Operation: 46-10=36, Resulting Numbers: [2, 36] Generated Node #0,1,1: 24:[2, 36] Operation: 46-10=36 Moving to Node #0,1,0 Current State: 24:[10, 23], Operations: ['96-50=46', '46/2=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[2, 36], Operations: ['96-50=46', '46-10=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[10, 50, 48], Operations: ['96/2=48'] Exploring Operation: 50/10=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 24:[48, 5] Operation: 50/10=5 Exploring Operation: 50-48=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 24:[10, 2] Operation: 50-48=2 Moving to Node #0,0,1 Current State: 24:[10, 2], Operations: ['96/2=48', '50-48=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,24 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[48, 5], Operations: ['96/2=48', '50/10=5'] Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 50, 28, 1, 5 ]
37
[ "50/5=10", "28-1=27", "10+27=37" ]
Current State: 37:[50, 28, 1, 5], Operations: [] Exploring Operation: 50/5=10, Resulting Numbers: [28, 1, 10] Generated Node #2: [28, 1, 10] from Operation: 50/5=10 Current State: 37:[28, 1, 10], Operations: ['50/5=10'] Exploring Operation: 28-1=27, Resulting Numbers: [10, 27] Generated Node #3: [10, 27] from Operation: 28-1=27 Current State: 37:[10, 27], Operations: ['50/5=10', '28-1=27'] Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[50, 28, 1, 5], Operations: [] Exploring Operation: 50-1=49, Resulting Numbers: [28, 5, 49] Generated Node #0,0: 37:[28, 5, 49] Operation: 50-1=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[28, 5, 49], Operations: ['50-1=49'] Exploring Operation: 28+5=33, Resulting Numbers: [49, 33] Generated Node #0,0,0: 37:[49, 33] Operation: 28+5=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[49, 33], Operations: ['50-1=49', '28+5=33'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 72, 41, 77, 6 ]
71
[ "77-72=5", "6*5=30", "41+30=71" ]
Current State: 71:[72, 41, 77, 6], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [41, 6, 5] Generated Node #2: [41, 6, 5] from Operation: 77-72=5 Current State: 71:[41, 6, 5], Operations: ['77-72=5'] Exploring Operation: 6*5=30, Resulting Numbers: [41, 30] Generated Node #3: [41, 30] from Operation: 6*5=30 Current State: 71:[41, 30], Operations: ['77-72=5', '6*5=30'] Exploring Operation: 41+30=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[72, 41, 77, 6], Operations: [] Exploring Operation: 77-6=71, Resulting Numbers: [72, 41, 71] Generated Node #0,0: 71:[72, 41, 71] Operation: 77-6=71 Exploring Operation: 41+6=47, Resulting Numbers: [72, 77, 47] Generated Node #0,1: 71:[72, 77, 47] Operation: 41+6=47 Exploring Operation: 72-6=66, Resulting Numbers: [41, 77, 66] Generated Node #0,2: 71:[41, 77, 66] Operation: 72-6=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[72, 41, 71], Operations: ['77-6=71'] Exploring Operation: 72+41=113, Resulting Numbers: [71, 113] Generated Node #0,0,0: 71:[71, 113] Operation: 72+41=113 Exploring Operation: 41+71=112, Resulting Numbers: [72, 112] Generated Node #0,0,1: 71:[72, 112] Operation: 41+71=112 Exploring Operation: 72-41=31, Resulting Numbers: [71, 31] Generated Node #0,0,2: 71:[71, 31] Operation: 72-41=31 Moving to Node #0,0,2 Current State: 71:[71, 31], Operations: ['77-6=71', '72-41=31'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 71*31=2201, Resulting Numbers: [2201] 2201,71 unequal: No Solution Exploring Operation: 71+31=102, Resulting Numbers: [102] 102,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[71, 113], Operations: ['77-6=71', '72+41=113'] Exploring Operation: 71*113=8023, Resulting Numbers: [8023] 8023,71 unequal: No Solution Exploring Operation: 113-71=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 71+113=184, Resulting Numbers: [184] 184,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[72, 112], Operations: ['77-6=71', '41+71=112'] Exploring Operation: 112-72=40, Resulting Numbers: [40] 40,71 unequal: No Solution Exploring Operation: 72+112=184, Resulting Numbers: [184] 184,71 unequal: No Solution Exploring Operation: 72*112=8064, Resulting Numbers: [8064] 8064,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,1 Current State: 71:[72, 77, 47], Operations: ['41+6=47'] Exploring Operation: 77-47=30, Resulting Numbers: [72, 30] Generated Node #0,1,0: 71:[72, 30] Operation: 77-47=30 Exploring Operation: 72-47=25, Resulting Numbers: [77, 25] Generated Node #0,1,1: 71:[77, 25] Operation: 72-47=25 Exploring Operation: 72+47=119, Resulting Numbers: [77, 119] Generated Node #0,1,2: 71:[77, 119] Operation: 72+47=119 Moving to Node #0,1,0 Current State: 71:[72, 30], Operations: ['41+6=47', '77-47=30'] Exploring Operation: 72*30=2160, Resulting Numbers: [2160] 2160,71 unequal: No Solution Exploring Operation: 72-30=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 72+30=102, Resulting Numbers: [102] 102,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[77, 25], Operations: ['41+6=47', '72-47=25'] Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,71 unequal: No Solution Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[77, 119], Operations: ['41+6=47', '72+47=119'] Exploring Operation: 77*119=9163, Resulting Numbers: [9163] 9163,71 unequal: No Solution Exploring Operation: 119-77=42, Resulting Numbers: [42] 42,71 unequal: No Solution Exploring Operation: 77+119=196, Resulting Numbers: [196] 196,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 Current State: 71:[41, 77, 66], Operations: ['72-6=66'] Exploring Operation: 77-41=36, Resulting Numbers: [66, 36] Generated Node #0,2,0: 71:[66, 36] Operation: 77-41=36 Exploring Operation: 41+66=107, Resulting Numbers: [77, 107] Generated Node #0,2,1: 71:[77, 107] Operation: 41+66=107 Exploring Operation: 41+77=118, Resulting Numbers: [66, 118] Generated Node #0,2,2: 71:[66, 118] Operation: 41+77=118 Moving to Node #0,2,0 Current State: 71:[66, 36], Operations: ['72-6=66', '77-41=36'] Exploring Operation: 66*36=2376, Resulting Numbers: [2376] 2376,71 unequal: No Solution Exploring Operation: 66+36=102, Resulting Numbers: [102] 102,71 unequal: No Solution Exploring Operation: 66-36=30, Resulting Numbers: [30] 30,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[77, 107], Operations: ['72-6=66', '41+66=107'] Exploring Operation: 77*107=8239, Resulting Numbers: [8239] 8239,71 unequal: No Solution Exploring Operation: 107-77=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 77+107=184, Resulting Numbers: [184] 184,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[66, 118], Operations: ['72-6=66', '41+77=118'] Exploring Operation: 66*118=7788, Resulting Numbers: [7788] 7788,71 unequal: No Solution Exploring Operation: 118-66=52, Resulting Numbers: [52] 52,71 unequal: No Solution Exploring Operation: 66+118=184, Resulting Numbers: [184] 184,71 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
[ 69, 30, 66, 76 ]
34
[ "30*76=2280", "66+2280=2346", "2346/69=34" ]
Current State: 34:[69, 30, 66, 76], Operations: [] Exploring Operation: 30*76=2280, Resulting Numbers: [69, 66, 2280] Generated Node #2: [69, 66, 2280] from Operation: 30*76=2280 Current State: 34:[69, 66, 2280], Operations: ['30*76=2280'] Exploring Operation: 66+2280=2346, Resulting Numbers: [69, 2346] Generated Node #3: [69, 2346] from Operation: 66+2280=2346 Current State: 34:[69, 2346], Operations: ['30*76=2280', '66+2280=2346'] Exploring Operation: 2346/69=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[69, 30, 66, 76], Operations: [] Exploring Operation: 76-69=7, Resulting Numbers: [30, 66, 7] Generated Node #0,0: 34:[30, 66, 7] Operation: 76-69=7 Exploring Operation: 76-66=10, Resulting Numbers: [69, 30, 10] Generated Node #0,1: 34:[69, 30, 10] Operation: 76-66=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[30, 66, 7], Operations: ['76-69=7'] Exploring Operation: 66-30=36, Resulting Numbers: [7, 36] Generated Node #0,0,0: 34:[7, 36] Operation: 66-30=36 Exploring Operation: 66-7=59, Resulting Numbers: [30, 59] Generated Node #0,0,1: 34:[30, 59] Operation: 66-7=59 Moving to Node #0,0,0 Current State: 34:[7, 36], Operations: ['76-69=7', '66-30=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,34 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[30, 59], Operations: ['76-69=7', '66-7=59'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,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 Current State: 34:[69, 30, 10], Operations: ['76-66=10'] Exploring Operation: 69-30=39, Resulting Numbers: [10, 39] Generated Node #0,1,0: 34:[10, 39] Operation: 69-30=39 Exploring Operation: 69-10=59, Resulting Numbers: [30, 59] Generated Node #0,1,1: 34:[30, 59] Operation: 69-10=59 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 34:[10, 39], Operations: ['76-66=10', '69-30=39'] Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,34 unequal: No Solution No 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: 34:[30, 59], Operations: ['76-66=10', '69-10=59'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,34 unequal: No Solution Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 44, 14, 43, 84 ]
93
[ "44+43=87", "84/14=6", "87+6=93" ]
Current State: 93:[44, 14, 43, 84], Operations: [] Exploring Operation: 44+43=87, Resulting Numbers: [14, 84, 87] Generated Node #2: [14, 84, 87] from Operation: 44+43=87 Current State: 93:[14, 84, 87], Operations: ['44+43=87'] Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #3: [87, 6] from Operation: 84/14=6 Current State: 93:[87, 6], Operations: ['44+43=87', '84/14=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[44, 14, 43, 84], Operations: [] Exploring Operation: 44+43=87, Resulting Numbers: [14, 84, 87] Generated Node #0,0: 93:[14, 84, 87] Operation: 44+43=87 Exploring Operation: 84/14=6, Resulting Numbers: [44, 43, 6] Generated Node #0,1: 93:[44, 43, 6] Operation: 84/14=6 Exploring Operation: 44-14=30, Resulting Numbers: [43, 84, 30] Generated Node #0,2: 93:[43, 84, 30] Operation: 44-14=30 Exploring Operation: 44-43=1, Resulting Numbers: [14, 84, 1] Generated Node #0,3: 93:[14, 84, 1] Operation: 44-43=1 Exploring Operation: 43-14=29, Resulting Numbers: [44, 84, 29] Generated Node #0,4: 93:[44, 84, 29] Operation: 43-14=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[43, 84, 30], Operations: ['44-14=30'] Exploring Operation: 43+30=73, Resulting Numbers: [84, 73] Generated Node #0,2,0: 93:[84, 73] Operation: 43+30=73 Exploring Operation: 43+84=127, Resulting Numbers: [30, 127] Generated Node #0,2,1: 93:[30, 127] Operation: 43+84=127 Exploring Operation: 43-30=13, Resulting Numbers: [84, 13] Generated Node #0,2,2: 93:[84, 13] Operation: 43-30=13 Exploring Operation: 84-43=41, Resulting Numbers: [30, 41] Generated Node #0,2,3: 93:[30, 41] Operation: 84-43=41 Exploring Operation: 84+30=114, Resulting Numbers: [43, 114] Generated Node #0,2,4: 93:[43, 114] Operation: 84+30=114 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[30, 41], Operations: ['44-14=30', '84-43=41'] Exploring Operation: 30*41=1230, Resulting Numbers: [1230] 1230,93 unequal: No Solution Exploring Operation: 41-30=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 30+41=71, Resulting Numbers: [71] 71,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[84, 13], Operations: ['44-14=30', '43-30=13'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,93 unequal: No Solution Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,93 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[84, 73], Operations: ['44-14=30', '43+30=73'] Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,93 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,93 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 93:[43, 114], Operations: ['44-14=30', '84+30=114'] Exploring Operation: 43+114=157, Resulting Numbers: [157] 157,93 unequal: No Solution Exploring Operation: 43*114=4902, Resulting Numbers: [4902] 4902,93 unequal: No Solution Exploring Operation: 114-43=71, Resulting Numbers: [71] 71,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[30, 127], Operations: ['44-14=30', '43+84=127'] Exploring Operation: 30*127=3810, Resulting Numbers: [3810] 3810,93 unequal: No Solution Exploring Operation: 127-30=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 30+127=157, Resulting Numbers: [157] 157,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[14, 84, 1], Operations: ['44-43=1'] Exploring Operation: 14*1=14, Resulting Numbers: [84, 14] Generated Node #0,3,0: 93:[84, 14] Operation: 14*1=14 Exploring Operation: 84/14=6, Resulting Numbers: [1, 6] Generated Node #0,3,1: 93:[1, 6] Operation: 84/14=6 Exploring Operation: 14-1=13, Resulting Numbers: [84, 13] Generated Node #0,3,2: 93:[84, 13] Operation: 14-1=13 Exploring Operation: 14+84=98, Resulting Numbers: [1, 98] Generated Node #0,3,3: 93:[1, 98] Operation: 14+84=98 Exploring Operation: 84+1=85, Resulting Numbers: [14, 85] Generated Node #0,3,4: 93:[14, 85] Operation: 84+1=85 Moving to Node #0,3,1 Current State: 93:[1, 6], Operations: ['44-43=1', '84/14=6'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[1, 98], Operations: ['44-43=1', '14+84=98'] Exploring Operation: 1+98=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 1*98=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 98-1=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 98/1=98, Resulting Numbers: [98] 98,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[84, 13], Operations: ['44-43=1', '14-1=13'] Exploring Operation: 84*13=1092, Resulting Numbers: [1092] 1092,93 unequal: No Solution Exploring Operation: 84+13=97, Resulting Numbers: [97] 97,93 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,93 unequal: No Solution Moving to Node #0,3,4 Current State: 93:[14, 85], Operations: ['44-43=1', '84+1=85'] Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,93 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[84, 14], Operations: ['44-43=1', '14*1=14'] Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,93 unequal: No Solution Exploring Operation: 84+14=98, Resulting Numbers: [98] 98,93 unequal: No Solution Exploring Operation: 84*14=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 93:[44, 84, 29], Operations: ['43-14=29'] Exploring Operation: 84-44=40, Resulting Numbers: [29, 40] Generated Node #0,4,0: 93:[29, 40] Operation: 84-44=40 Exploring Operation: 44-29=15, Resulting Numbers: [84, 15] Generated Node #0,4,1: 93:[84, 15] Operation: 44-29=15 Exploring Operation: 84+29=113, Resulting Numbers: [44, 113] Generated Node #0,4,2: 93:[44, 113] Operation: 84+29=113 Exploring Operation: 44+29=73, Resulting Numbers: [84, 73] Generated Node #0,4,3: 93:[84, 73] Operation: 44+29=73 Exploring Operation: 44+84=128, Resulting Numbers: [29, 128] Generated Node #0,4,4: 93:[29, 128] Operation: 44+84=128 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 93:[29, 40], Operations: ['43-14=29', '84-44=40'] Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 29*40=1160, Resulting Numbers: [1160] 1160,93 unequal: No Solution Exploring Operation: 29+40=69, Resulting Numbers: [69] 69,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 93:[84, 15], Operations: ['43-14=29', '44-29=15'] Exploring Operation: 84+15=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 84*15=1260, Resulting Numbers: [1260] 1260,93 unequal: No Solution Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 93:[84, 73], Operations: ['43-14=29', '44+29=73'] Exploring Operation: 84+73=157, Resulting Numbers: [157] 157,93 unequal: No Solution Exploring Operation: 84*73=6132, Resulting Numbers: [6132] 6132,93 unequal: No Solution Exploring Operation: 84-73=11, Resulting Numbers: [11] 11,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 93:[44, 113], Operations: ['43-14=29', '84+29=113'] Exploring Operation: 44*113=4972, Resulting Numbers: [4972] 4972,93 unequal: No Solution Exploring Operation: 113-44=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 44+113=157, Resulting Numbers: [157] 157,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 93:[29, 128], Operations: ['43-14=29', '44+84=128'] Exploring Operation: 128-29=99, Resulting Numbers: [99] 99,93 unequal: No Solution Exploring Operation: 29+128=157, Resulting Numbers: [157] 157,93 unequal: No Solution Exploring Operation: 29*128=3712, Resulting Numbers: [3712] 3712,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[14, 84, 87], Operations: ['44+43=87'] Exploring Operation: 87-84=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 93:[14, 3] Operation: 87-84=3 Exploring Operation: 14+87=101, Resulting Numbers: [84, 101] Generated Node #0,0,1: 93:[84, 101] Operation: 14+87=101 Exploring Operation: 14+84=98, Resulting Numbers: [87, 98] Generated Node #0,0,2: 93:[87, 98] Operation: 14+84=98 Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #0,0,3: 93:[87, 6] Operation: 84/14=6 Exploring Operation: 84-14=70, Resulting Numbers: [87, 70] Generated Node #0,0,4: 93:[87, 70] Operation: 84-14=70 Moving to Node #0,0,3 Current State: 93:[87, 6], Operations: ['44+43=87', '84/14=6'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[44, 14, 43, 84], Operations: [] Exploring Operation: 44+43=87, Resulting Numbers: [14, 84, 87] Generated Node #0,0: 93:[14, 84, 87] Operation: 44+43=87 Moving to Node #0,0 Current State: 93:[14, 84, 87], Operations: ['44+43=87'] Exploring Operation: 84/14=6, Resulting Numbers: [87, 6] Generated Node #0,0,3: 93:[87, 6] Operation: 84/14=6 Moving to Node #0,0,3 Current State: 93:[87, 6], Operations: ['44+43=87', '84/14=6'] Exploring Operation: 87+6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.931424
hs_5
sum_heuristic
[ 46, 98, 9, 39 ]
82
[ "98-46=52", "39-9=30", "52+30=82" ]
Current State: 82:[46, 98, 9, 39], Operations: [] Exploring Operation: 98-46=52, Resulting Numbers: [9, 39, 52] Generated Node #2: [9, 39, 52] from Operation: 98-46=52 Current State: 82:[9, 39, 52], Operations: ['98-46=52'] Exploring Operation: 39-9=30, Resulting Numbers: [52, 30] Generated Node #3: [52, 30] from Operation: 39-9=30 Current State: 82:[52, 30], Operations: ['98-46=52', '39-9=30'] Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[46, 98, 9, 39], Operations: [] Exploring Operation: 98-9=89, Resulting Numbers: [46, 39, 89] Generated Node #0,0: 82:[46, 39, 89] Operation: 98-9=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[46, 39, 89], Operations: ['98-9=89'] Exploring Operation: 89-46=43, Resulting Numbers: [39, 43] Generated Node #0,0,0: 82:[39, 43] Operation: 89-46=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[39, 43], Operations: ['98-9=89', '89-46=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[46, 98, 9, 39], Operations: [] Exploring Operation: 98-9=89, Resulting Numbers: [46, 39, 89] Generated Node #0,0: 82:[46, 39, 89] Operation: 98-9=89 Moving to Node #0,0 Current State: 82:[46, 39, 89], Operations: ['98-9=89'] Exploring Operation: 89-46=43, Resulting Numbers: [39, 43] Generated Node #0,0,0: 82:[39, 43] Operation: 89-46=43 Moving to Node #0,0,0 Current State: 82:[39, 43], Operations: ['98-9=89', '89-46=43'] Exploring Operation: 39+43=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 91, 82, 29, 7 ]
34
[ "91-82=9", "7*9=63", "63-29=34" ]
Current State: 34:[91, 82, 29, 7], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [29, 7, 9] Generated Node #2: [29, 7, 9] from Operation: 91-82=9 Current State: 34:[29, 7, 9], Operations: ['91-82=9'] Exploring Operation: 7*9=63, Resulting Numbers: [29, 63] Generated Node #3: [29, 63] from Operation: 7*9=63 Current State: 34:[29, 63], Operations: ['91-82=9', '7*9=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[91, 82, 29, 7], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [82, 29, 13] Generated Node #0,0: 34:[82, 29, 13] Operation: 91/7=13 Exploring Operation: 91-82=9, Resulting Numbers: [29, 7, 9] Generated Node #0,1: 34:[29, 7, 9] Operation: 91-82=9 Exploring Operation: 82-29=53, Resulting Numbers: [91, 7, 53] Generated Node #0,2: 34:[91, 7, 53] Operation: 82-29=53 Exploring Operation: 91-29=62, Resulting Numbers: [82, 7, 62] Generated Node #0,3: 34:[82, 7, 62] Operation: 91-29=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[29, 7, 9], Operations: ['91-82=9'] Exploring Operation: 7+9=16, Resulting Numbers: [29, 16] Generated Node #0,1,0: 34:[29, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [29, 2] Generated Node #0,1,1: 34:[29, 2] Operation: 9-7=2 Exploring Operation: 29+7=36, Resulting Numbers: [9, 36] Generated Node #0,1,2: 34:[9, 36] Operation: 29+7=36 Exploring Operation: 29-9=20, Resulting Numbers: [7, 20] Generated Node #0,1,3: 34:[7, 20] Operation: 29-9=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 34:[29, 2], Operations: ['91-82=9', '9-7=2'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,34 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,34 unequal: No Solution No 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: 34:[29, 16], Operations: ['91-82=9', '7+9=16'] Exploring Operation: 29*16=464, Resulting Numbers: [464] 464,34 unequal: No Solution Exploring Operation: 29+16=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,34 unequal: No Solution No 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: 34:[7, 20], Operations: ['91-82=9', '29-9=20'] Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,34 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,34 unequal: No Solution No 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: 34:[9, 36], Operations: ['91-82=9', '29+7=36'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,34 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,34 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: 34:[82, 29, 13], Operations: ['91/7=13'] Exploring Operation: 29+13=42, Resulting Numbers: [82, 42] Generated Node #0,0,0: 34:[82, 42] Operation: 29+13=42 Exploring Operation: 82-29=53, Resulting Numbers: [13, 53] Generated Node #0,0,1: 34:[13, 53] Operation: 82-29=53 Exploring Operation: 29-13=16, Resulting Numbers: [82, 16] Generated Node #0,0,2: 34:[82, 16] Operation: 29-13=16 Exploring Operation: 82-13=69, Resulting Numbers: [29, 69] Generated Node #0,0,3: 34:[29, 69] Operation: 82-13=69 Moving to Node #0,0,1 Current State: 34:[13, 53], Operations: ['91/7=13', '82-29=53'] Exploring Operation: 13*53=689, Resulting Numbers: [689] 689,34 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[29, 69], Operations: ['91/7=13', '82-13=69'] Exploring Operation: 29*69=2001, Resulting Numbers: [2001] 2001,34 unequal: No Solution Exploring Operation: 29+69=98, Resulting Numbers: [98] 98,34 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[82, 16], Operations: ['91/7=13', '29-13=16'] Exploring Operation: 82*16=1312, Resulting Numbers: [1312] 1312,34 unequal: No Solution Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 82+16=98, Resulting Numbers: [98] 98,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[82, 42], Operations: ['91/7=13', '29+13=42'] Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 82+42=124, Resulting Numbers: [124] 124,34 unequal: No Solution Exploring Operation: 82*42=3444, Resulting Numbers: [3444] 3444,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[91, 7, 53], Operations: ['82-29=53'] Exploring Operation: 91/7=13, Resulting Numbers: [53, 13] Generated Node #0,2,0: 34:[53, 13] Operation: 91/7=13 Exploring Operation: 53-7=46, Resulting Numbers: [91, 46] Generated Node #0,2,1: 34:[91, 46] Operation: 53-7=46 Exploring Operation: 91-7=84, Resulting Numbers: [53, 84] Generated Node #0,2,2: 34:[53, 84] Operation: 91-7=84 Exploring Operation: 91-53=38, Resulting Numbers: [7, 38] Generated Node #0,2,3: 34:[7, 38] Operation: 91-53=38 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 34:[7, 38], Operations: ['82-29=53', '91-53=38'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,34 unequal: No Solution No 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: 34:[53, 13], Operations: ['82-29=53', '91/7=13'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,34 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,34 unequal: No Solution No 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: 34:[91, 46], Operations: ['82-29=53', '53-7=46'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,34 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,34 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,34 unequal: No Solution No 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: 34:[53, 84], Operations: ['82-29=53', '91-7=84'] Exploring Operation: 53*84=4452, Resulting Numbers: [4452] 4452,34 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,34 unequal: No Solution Exploring Operation: 53+84=137, Resulting Numbers: [137] 137,34 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: 34:[82, 7, 62], Operations: ['91-29=62'] Exploring Operation: 62-7=55, Resulting Numbers: [82, 55] Generated Node #0,3,0: 34:[82, 55] Operation: 62-7=55 Exploring Operation: 82-7=75, Resulting Numbers: [62, 75] Generated Node #0,3,1: 34:[62, 75] Operation: 82-7=75 Exploring Operation: 82-62=20, Resulting Numbers: [7, 20] Generated Node #0,3,2: 34:[7, 20] Operation: 82-62=20 Exploring Operation: 82+7=89, Resulting Numbers: [62, 89] Generated Node #0,3,3: 34:[62, 89] Operation: 82+7=89 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 34:[7, 20], Operations: ['91-29=62', '82-62=20'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 7*20=140, Resulting Numbers: [140] 140,34 unequal: No Solution Exploring Operation: 7+20=27, Resulting Numbers: [27] 27,34 unequal: No Solution No 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: 34:[82, 55], Operations: ['91-29=62', '62-7=55'] Exploring Operation: 82+55=137, Resulting Numbers: [137] 137,34 unequal: No Solution Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 82*55=4510, Resulting Numbers: [4510] 4510,34 unequal: No Solution No 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: 34:[62, 75], Operations: ['91-29=62', '82-7=75'] Exploring Operation: 62*75=4650, Resulting Numbers: [4650] 4650,34 unequal: No Solution Exploring Operation: 62+75=137, Resulting Numbers: [137] 137,34 unequal: No Solution Exploring Operation: 75-62=13, Resulting Numbers: [13] 13,34 unequal: No Solution No 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: 34:[62, 89], Operations: ['91-29=62', '82+7=89'] Exploring Operation: 89-62=27, Resulting Numbers: [27] 27,34 unequal: No Solution Exploring Operation: 62+89=151, Resulting Numbers: [151] 151,34 unequal: No Solution Exploring Operation: 62*89=5518, Resulting Numbers: [5518] 5518,34 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 73, 18, 14, 86 ]
52
[ "73*14=1022", "1022-86=936", "936/18=52" ]
Current State: 52:[73, 18, 14, 86], Operations: [] Exploring Operation: 73*14=1022, Resulting Numbers: [18, 86, 1022] Generated Node #2: [18, 86, 1022] from Operation: 73*14=1022 Current State: 52:[18, 86, 1022], Operations: ['73*14=1022'] Exploring Operation: 1022-86=936, Resulting Numbers: [18, 936] Generated Node #3: [18, 936] from Operation: 1022-86=936 Current State: 52:[18, 936], Operations: ['73*14=1022', '1022-86=936'] Exploring Operation: 936/18=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[73, 18, 14, 86], Operations: [] Exploring Operation: 73-14=59, Resulting Numbers: [18, 86, 59] Generated Node #0,0: 52:[18, 86, 59] Operation: 73-14=59 Exploring Operation: 86-73=13, Resulting Numbers: [18, 14, 13] Generated Node #0,1: 52:[18, 14, 13] Operation: 86-73=13 Exploring Operation: 86-18=68, Resulting Numbers: [73, 14, 68] Generated Node #0,2: 52:[73, 14, 68] Operation: 86-18=68 Exploring Operation: 86-14=72, Resulting Numbers: [73, 18, 72] Generated Node #0,3: 52:[73, 18, 72] Operation: 86-14=72 Exploring Operation: 73-18=55, Resulting Numbers: [14, 86, 55] Generated Node #0,4: 52:[14, 86, 55] Operation: 73-18=55 Moving to Node #0,1 Current State: 52:[18, 14, 13], Operations: ['86-73=13'] Exploring Operation: 18-14=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 52:[13, 4] Operation: 18-14=4 Exploring Operation: 18-13=5, Resulting Numbers: [14, 5] Generated Node #0,1,1: 52:[14, 5] Operation: 18-13=5 Exploring Operation: 18+13=31, Resulting Numbers: [14, 31] Generated Node #0,1,2: 52:[14, 31] Operation: 18+13=31 Exploring Operation: 18+14=32, Resulting Numbers: [13, 32] Generated Node #0,1,3: 52:[13, 32] Operation: 18+14=32 Exploring Operation: 14+13=27, Resulting Numbers: [18, 27] Generated Node #0,1,4: 52:[18, 27] Operation: 14+13=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[13, 4], Operations: ['86-73=13', '18-14=4'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[73, 18, 14, 86], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [18, 14, 13] Generated Node #0,1: 52:[18, 14, 13] Operation: 86-73=13 Moving to Node #0,1 Current State: 52:[18, 14, 13], Operations: ['86-73=13'] Exploring Operation: 18-14=4, Resulting Numbers: [13, 4] Generated Node #0,1,0: 52:[13, 4] Operation: 18-14=4 Moving to Node #0,1,0 Current State: 52:[13, 4], Operations: ['86-73=13', '18-14=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 42, 81, 11, 33 ]
83
[ "81-42=39", "11+33=44", "39+44=83" ]
Current State: 83:[42, 81, 11, 33], Operations: [] Exploring Operation: 81-42=39, Resulting Numbers: [11, 33, 39] Generated Node #2: [11, 33, 39] from Operation: 81-42=39 Current State: 83:[11, 33, 39], Operations: ['81-42=39'] Exploring Operation: 11+33=44, Resulting Numbers: [39, 44] Generated Node #3: [39, 44] from Operation: 11+33=44 Current State: 83:[39, 44], Operations: ['81-42=39', '11+33=44'] Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[42, 81, 11, 33], Operations: [] Exploring Operation: 42+11=53, Resulting Numbers: [81, 33, 53] Generated Node #0,0: 83:[81, 33, 53] Operation: 42+11=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[81, 33, 53], Operations: ['42+11=53'] Exploring Operation: 33+53=86, Resulting Numbers: [81, 86] Generated Node #0,0,0: 83:[81, 86] Operation: 33+53=86 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[81, 86], Operations: ['42+11=53', '33+53=86'] Exploring Operation: 86-81=5, Resulting Numbers: [5] 5,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 61, 73, 95, 65 ]
18
[ "73-61=12", "95-65=30", "30-12=18" ]
Current State: 18:[61, 73, 95, 65], Operations: [] Exploring Operation: 73-61=12, Resulting Numbers: [95, 65, 12] Generated Node #2: [95, 65, 12] from Operation: 73-61=12 Current State: 18:[95, 65, 12], Operations: ['73-61=12'] Exploring Operation: 95-65=30, Resulting Numbers: [12, 30] Generated Node #3: [12, 30] from Operation: 95-65=30 Current State: 18:[12, 30], Operations: ['73-61=12', '95-65=30'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[61, 73, 95, 65], Operations: [] Exploring Operation: 95-61=34, Resulting Numbers: [73, 65, 34] Generated Node #0,0: 18:[73, 65, 34] Operation: 95-61=34 Exploring Operation: 95-73=22, Resulting Numbers: [61, 65, 22] Generated Node #0,1: 18:[61, 65, 22] Operation: 95-73=22 Exploring Operation: 95-65=30, Resulting Numbers: [61, 73, 30] Generated Node #0,2: 18:[61, 73, 30] Operation: 95-65=30 Exploring Operation: 73-65=8, Resulting Numbers: [61, 95, 8] Generated Node #0,3: 18:[61, 95, 8] Operation: 73-65=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[61, 65, 22], Operations: ['95-73=22'] Exploring Operation: 61+65=126, Resulting Numbers: [22, 126] Generated Node #0,1,0: 18:[22, 126] Operation: 61+65=126 Exploring Operation: 61-22=39, Resulting Numbers: [65, 39] Generated Node #0,1,1: 18:[65, 39] Operation: 61-22=39 Exploring Operation: 65-22=43, Resulting Numbers: [61, 43] Generated Node #0,1,2: 18:[61, 43] Operation: 65-22=43 Exploring Operation: 65-61=4, Resulting Numbers: [22, 4] Generated Node #0,1,3: 18:[22, 4] Operation: 65-61=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 18:[22, 4], Operations: ['95-73=22', '65-61=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[61, 73, 95, 65], Operations: [] Exploring Operation: 95-73=22, Resulting Numbers: [61, 65, 22] Generated Node #0,1: 18:[61, 65, 22] Operation: 95-73=22 Moving to Node #0,1 Current State: 18:[61, 65, 22], Operations: ['95-73=22'] Exploring Operation: 65-61=4, Resulting Numbers: [22, 4] Generated Node #0,1,3: 18:[22, 4] Operation: 65-61=4 Moving to Node #0,1,3 Current State: 18:[22, 4], Operations: ['95-73=22', '65-61=4'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 15, 26, 30, 65 ]
46
[ "26-15=11", "65-30=35", "11+35=46" ]
Current State: 46:[15, 26, 30, 65], Operations: [] Exploring Operation: 26-15=11, Resulting Numbers: [30, 65, 11] Generated Node #2: [30, 65, 11] from Operation: 26-15=11 Current State: 46:[30, 65, 11], Operations: ['26-15=11'] Exploring Operation: 65-30=35, Resulting Numbers: [11, 35] Generated Node #3: [11, 35] from Operation: 65-30=35 Current State: 46:[11, 35], Operations: ['26-15=11', '65-30=35'] Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[15, 26, 30, 65], Operations: [] Exploring Operation: 65-15=50, Resulting Numbers: [26, 30, 50] Generated Node #0,0: 46:[26, 30, 50] Operation: 65-15=50 Moving to Node #0,0 Current State: 46:[26, 30, 50], Operations: ['65-15=50'] Exploring Operation: 30-26=4, Resulting Numbers: [50, 4] Generated Node #0,0,0: 46:[50, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 46:[50, 4], Operations: ['65-15=50', '30-26=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[15, 26, 30, 65], Operations: [] Exploring Operation: 65-15=50, Resulting Numbers: [26, 30, 50] Generated Node #0,0: 46:[26, 30, 50] Operation: 65-15=50 Moving to Node #0,0 Current State: 46:[26, 30, 50], Operations: ['65-15=50'] Exploring Operation: 30-26=4, Resulting Numbers: [50, 4] Generated Node #0,0,0: 46:[50, 4] Operation: 30-26=4 Moving to Node #0,0,0 Current State: 46:[50, 4], Operations: ['65-15=50', '30-26=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 1, 1, 80, 97 ]
97
[ "1-1=0", "80*0=0", "97+0=97" ]
Current State: 97:[1, 1, 80, 97], Operations: [] Exploring Operation: 1-1=0, Resulting Numbers: [80, 97, 0] Generated Node #2: [80, 97, 0] from Operation: 1-1=0 Current State: 97:[80, 97, 0], Operations: ['1-1=0'] Exploring Operation: 80*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 80*0=0 Current State: 97:[97, 0], Operations: ['1-1=0', '80*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[1, 1, 80, 97], Operations: [] Exploring Operation: 1+80=81, Resulting Numbers: [1, 97, 81] Generated Node #0,0: 97:[1, 97, 81] Operation: 1+80=81 Exploring Operation: 1+80=81, Resulting Numbers: [1, 97, 81] Generated Node #0,1: 97:[1, 97, 81] Operation: 1+80=81 Exploring Operation: 1+1=2, Resulting Numbers: [80, 97, 2] Generated Node #0,2: 97:[80, 97, 2] Operation: 1+1=2 Exploring Operation: 1*1=1, Resulting Numbers: [80, 97, 1] Generated Node #0,3: 97:[80, 97, 1] Operation: 1*1=1 Moving to Node #0,0 Current State: 97:[1, 97, 81], Operations: ['1+80=81'] Exploring Operation: 1*97=97, Resulting Numbers: [81, 97] Generated Node #0,0,0: 97:[81, 97] Operation: 1*97=97 Exploring Operation: 97/1=97, Resulting Numbers: [81, 97] Generated Node #0,0,1: 97:[81, 97] Operation: 97/1=97 Exploring Operation: 1+81=82, Resulting Numbers: [97, 82] Generated Node #0,0,2: 97:[97, 82] Operation: 1+81=82 Exploring Operation: 1*81=81, Resulting Numbers: [97, 81] Generated Node #0,0,3: 97:[97, 81] Operation: 1*81=81 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[97, 82], Operations: ['1+80=81', '1+81=82'] Exploring Operation: 97+82=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 97*82=7954, Resulting Numbers: [7954] 7954,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,0,0 Current State: 97:[81, 97], Operations: ['1+80=81', '1*97=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,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,0,1 Current State: 97:[81, 97], Operations: ['1+80=81', '97/1=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,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,0,3 Current State: 97:[97, 81], Operations: ['1+80=81', '1*81=81'] Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 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: 97:[80, 97, 2], Operations: ['1+1=2'] Exploring Operation: 80-2=78, Resulting Numbers: [97, 78] Generated Node #0,2,0: 97:[97, 78] Operation: 80-2=78 Exploring Operation: 97-2=95, Resulting Numbers: [80, 95] Generated Node #0,2,1: 97:[80, 95] Operation: 97-2=95 Exploring Operation: 97+2=99, Resulting Numbers: [80, 99] Generated Node #0,2,2: 97:[80, 99] Operation: 97+2=99 Exploring Operation: 80+2=82, Resulting Numbers: [97, 82] Generated Node #0,2,3: 97:[97, 82] Operation: 80+2=82 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 97:[97, 82], Operations: ['1+1=2', '80+2=82'] Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 97*82=7954, Resulting Numbers: [7954] 7954,97 unequal: No Solution Exploring Operation: 97+82=179, Resulting Numbers: [179] 179,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:[97, 78], Operations: ['1+1=2', '80-2=78'] Exploring Operation: 97+78=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 97*78=7566, Resulting Numbers: [7566] 7566,97 unequal: No Solution Exploring Operation: 97-78=19, Resulting Numbers: [19] 19,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:[80, 95], Operations: ['1+1=2', '97-2=95'] Exploring Operation: 80+95=175, Resulting Numbers: [175] 175,97 unequal: No Solution Exploring Operation: 80*95=7600, Resulting Numbers: [7600] 7600,97 unequal: No Solution Exploring Operation: 95-80=15, Resulting Numbers: [15] 15,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:[80, 99], Operations: ['1+1=2', '97+2=99'] Exploring Operation: 80*99=7920, Resulting Numbers: [7920] 7920,97 unequal: No Solution Exploring Operation: 80+99=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 99-80=19, Resulting Numbers: [19] 19,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:[1, 97, 81], Operations: ['1+80=81'] Exploring Operation: 97/1=97, Resulting Numbers: [81, 97] Generated Node #0,1,0: 97:[81, 97] Operation: 97/1=97 Exploring Operation: 1+81=82, Resulting Numbers: [97, 82] Generated Node #0,1,1: 97:[97, 82] Operation: 1+81=82 Exploring Operation: 1*81=81, Resulting Numbers: [97, 81] Generated Node #0,1,2: 97:[97, 81] Operation: 1*81=81 Exploring Operation: 1*97=97, Resulting Numbers: [81, 97] Generated Node #0,1,3: 97:[81, 97] Operation: 1*97=97 Moving to Node #0,3 Current State: 97:[80, 97, 1], Operations: ['1*1=1'] Exploring Operation: 80/1=80, Resulting Numbers: [97, 80] Generated Node #0,3,0: 97:[97, 80] Operation: 80/1=80 Exploring Operation: 80*1=80, Resulting Numbers: [97, 80] Generated Node #0,3,1: 97:[97, 80] Operation: 80*1=80 Exploring Operation: 97*1=97, Resulting Numbers: [80, 97] Generated Node #0,3,2: 97:[80, 97] Operation: 97*1=97 Exploring Operation: 80+1=81, Resulting Numbers: [97, 81] Generated Node #0,3,3: 97:[97, 81] Operation: 80+1=81 Moving to Node #0,1,1 Current State: 97:[97, 82], Operations: ['1+80=81', '1+81=82'] Exploring Operation: 97+82=179, Resulting Numbers: [179] 179,97 unequal: No Solution Exploring Operation: 97*82=7954, Resulting Numbers: [7954] 7954,97 unequal: No Solution Exploring Operation: 97-82=15, Resulting Numbers: [15] 15,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[97, 81], Operations: ['1+80=81', '1*81=81'] Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[81, 97], Operations: ['1+80=81', '97/1=97'] Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[97, 81], Operations: ['1*1=1', '80+1=81'] Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[81, 97], Operations: ['1+80=81', '1*97=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,97 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[97, 80], Operations: ['1*1=1', '80*1=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,97 unequal: No Solution Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[97, 80], Operations: ['1*1=1', '80/1=80'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 97*80=7760, Resulting Numbers: [7760] 7760,97 unequal: No Solution Exploring Operation: 97+80=177, Resulting Numbers: [177] 177,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[80, 97], Operations: ['1*1=1', '97*1=97'] Exploring Operation: 80*97=7760, Resulting Numbers: [7760] 7760,97 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 73, 90, 76, 25 ]
55
[ "76-73=3", "90/3=30", "25+30=55" ]
Current State: 55:[73, 90, 76, 25], Operations: [] Exploring Operation: 76-73=3, Resulting Numbers: [90, 25, 3] Generated Node #2: [90, 25, 3] from Operation: 76-73=3 Current State: 55:[90, 25, 3], Operations: ['76-73=3'] Exploring Operation: 90/3=30, Resulting Numbers: [25, 30] Generated Node #3: [25, 30] from Operation: 90/3=30 Current State: 55:[25, 30], Operations: ['76-73=3', '90/3=30'] Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[73, 90, 76, 25], Operations: [] Exploring Operation: 90-73=17, Resulting Numbers: [76, 25, 17] Generated Node #0,0: 55:[76, 25, 17] Operation: 90-73=17 Exploring Operation: 90-25=65, Resulting Numbers: [73, 76, 65] Generated Node #0,1: 55:[73, 76, 65] Operation: 90-25=65 Exploring Operation: 90-76=14, Resulting Numbers: [73, 25, 14] Generated Node #0,2: 55:[73, 25, 14] Operation: 90-76=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[73, 25, 14], Operations: ['90-76=14'] Exploring Operation: 25-14=11, Resulting Numbers: [73, 11] Generated Node #0,2,0: 55:[73, 11] Operation: 25-14=11 Exploring Operation: 73-14=59, Resulting Numbers: [25, 59] Generated Node #0,2,1: 55:[25, 59] Operation: 73-14=59 Exploring Operation: 73-25=48, Resulting Numbers: [14, 48] Generated Node #0,2,2: 55:[14, 48] Operation: 73-25=48 Moving to Node #0,2,2 Current State: 55:[14, 48], Operations: ['90-76=14', '73-25=48'] Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[73, 11], Operations: ['90-76=14', '25-14=11'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,55 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[25, 59], Operations: ['90-76=14', '73-14=59'] Exploring Operation: 25*59=1475, Resulting Numbers: [1475] 1475,55 unequal: No Solution Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[76, 25, 17], Operations: ['90-73=17'] Exploring Operation: 76-25=51, Resulting Numbers: [17, 51] Generated Node #0,0,0: 55:[17, 51] Operation: 76-25=51 Exploring Operation: 25-17=8, Resulting Numbers: [76, 8] Generated Node #0,0,1: 55:[76, 8] Operation: 25-17=8 Exploring Operation: 76-17=59, Resulting Numbers: [25, 59] Generated Node #0,0,2: 55:[25, 59] Operation: 76-17=59 Moving to Node #0,0,0 Current State: 55:[17, 51], Operations: ['90-73=17', '76-25=51'] Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 17+51=68, Resulting Numbers: [68] 68,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[25, 59], Operations: ['90-73=17', '76-17=59'] Exploring Operation: 25+59=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 25*59=1475, Resulting Numbers: [1475] 1475,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[76, 8], Operations: ['90-73=17', '25-17=8'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[73, 76, 65], Operations: ['90-25=65'] Exploring Operation: 76-73=3, Resulting Numbers: [65, 3] Generated Node #0,1,0: 55:[65, 3] Operation: 76-73=3 Exploring Operation: 73-65=8, Resulting Numbers: [76, 8] Generated Node #0,1,1: 55:[76, 8] Operation: 73-65=8 Exploring Operation: 76-65=11, Resulting Numbers: [73, 11] Generated Node #0,1,2: 55:[73, 11] Operation: 76-65=11 Moving to Node #0,1,0 Current State: 55:[65, 3], Operations: ['90-25=65', '76-73=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,55 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,55 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[73, 11], Operations: ['90-25=65', '76-65=11'] Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[76, 8], Operations: ['90-25=65', '73-65=8'] Exploring Operation: 76*8=608, Resulting Numbers: [608] 608,55 unequal: No Solution Exploring Operation: 76+8=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,55 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
[ 20, 3, 42, 69 ]
77
[ "69-20=49", "3*42=126", "126-49=77" ]
Current State: 77:[20, 3, 42, 69], Operations: [] Exploring Operation: 69-20=49, Resulting Numbers: [3, 42, 49] Generated Node #2: [3, 42, 49] from Operation: 69-20=49 Current State: 77:[3, 42, 49], Operations: ['69-20=49'] Exploring Operation: 3*42=126, Resulting Numbers: [49, 126] Generated Node #3: [49, 126] from Operation: 3*42=126 Current State: 77:[49, 126], Operations: ['69-20=49', '3*42=126'] Exploring Operation: 126-49=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[20, 3, 42, 69], Operations: [] Exploring Operation: 42/3=14, Resulting Numbers: [20, 69, 14] Generated Node #0,0: 77:[20, 69, 14] Operation: 42/3=14 Exploring Operation: 20-3=17, Resulting Numbers: [42, 69, 17] Generated Node #0,1: 77:[42, 69, 17] Operation: 20-3=17 Exploring Operation: 69-42=27, Resulting Numbers: [20, 3, 27] Generated Node #0,2: 77:[20, 3, 27] Operation: 69-42=27 Exploring Operation: 42-20=22, Resulting Numbers: [3, 69, 22] Generated Node #0,3: 77:[3, 69, 22] Operation: 42-20=22 Exploring Operation: 20+42=62, Resulting Numbers: [3, 69, 62] Generated Node #0,4: 77:[3, 69, 62] Operation: 20+42=62 Moving to Node #0,0 Current State: 77:[20, 69, 14], Operations: ['42/3=14'] Exploring Operation: 20+14=34, Resulting Numbers: [69, 34] Generated Node #0,0,0: 77:[69, 34] Operation: 20+14=34 Exploring Operation: 20-14=6, Resulting Numbers: [69, 6] Generated Node #0,0,1: 77:[69, 6] Operation: 20-14=6 Exploring Operation: 69+14=83, Resulting Numbers: [20, 83] Generated Node #0,0,2: 77:[20, 83] Operation: 69+14=83 Exploring Operation: 20+69=89, Resulting Numbers: [14, 89] Generated Node #0,0,3: 77:[14, 89] Operation: 20+69=89 Exploring Operation: 69-20=49, Resulting Numbers: [14, 49] Generated Node #0,0,4: 77:[14, 49] Operation: 69-20=49 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[69, 6], Operations: ['42/3=14', '20-14=6'] Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,77 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[20, 83], Operations: ['42/3=14', '69+14=83'] Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,77 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[14, 89], Operations: ['42/3=14', '20+69=89'] Exploring Operation: 14+89=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 14*89=1246, Resulting Numbers: [1246] 1246,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[69, 34], Operations: ['42/3=14', '20+14=34'] Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,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,4 Current State: 77:[14, 49], Operations: ['42/3=14', '69-20=49'] Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,77 unequal: No Solution Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,77 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: 77:[3, 69, 22], Operations: ['42-20=22'] Exploring Operation: 3*22=66, Resulting Numbers: [69, 66] Generated Node #0,3,0: 77:[69, 66] Operation: 3*22=66 Exploring Operation: 22-3=19, Resulting Numbers: [69, 19] Generated Node #0,3,1: 77:[69, 19] Operation: 22-3=19 Exploring Operation: 3+69=72, Resulting Numbers: [22, 72] Generated Node #0,3,2: 77:[22, 72] Operation: 3+69=72 Exploring Operation: 69+22=91, Resulting Numbers: [3, 91] Generated Node #0,3,3: 77:[3, 91] Operation: 69+22=91 Exploring Operation: 69-3=66, Resulting Numbers: [22, 66] Generated Node #0,3,4: 77:[22, 66] Operation: 69-3=66 Moving to Node #0,4 Current State: 77:[3, 69, 62], Operations: ['20+42=62'] Exploring Operation: 3+62=65, Resulting Numbers: [69, 65] Generated Node #0,4,0: 77:[69, 65] Operation: 3+62=65 Exploring Operation: 62-3=59, Resulting Numbers: [69, 59] Generated Node #0,4,1: 77:[69, 59] Operation: 62-3=59 Exploring Operation: 69-62=7, Resulting Numbers: [3, 7] Generated Node #0,4,2: 77:[3, 7] Operation: 69-62=7 Exploring Operation: 3+69=72, Resulting Numbers: [62, 72] Generated Node #0,4,3: 77:[62, 72] Operation: 3+69=72 Exploring Operation: 69-3=66, Resulting Numbers: [62, 66] Generated Node #0,4,4: 77:[62, 66] Operation: 69-3=66 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[3, 7], Operations: ['20+42=62', '69-62=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,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,4,0 Current State: 77:[69, 65], Operations: ['20+42=62', '3+62=65'] Exploring Operation: 69+65=134, Resulting Numbers: [134] 134,77 unequal: No Solution Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 69*65=4485, Resulting Numbers: [4485] 4485,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,4,3 Current State: 77:[62, 72], Operations: ['20+42=62', '3+69=72'] Exploring Operation: 62*72=4464, Resulting Numbers: [4464] 4464,77 unequal: No Solution Exploring Operation: 62+72=134, Resulting Numbers: [134] 134,77 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,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,4,1 Current State: 77:[69, 59], Operations: ['20+42=62', '62-3=59'] Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,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,4,4 Current State: 77:[62, 66], Operations: ['20+42=62', '69-3=66'] Exploring Operation: 62*66=4092, Resulting Numbers: [4092] 4092,77 unequal: No Solution Exploring Operation: 66-62=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 62+66=128, Resulting Numbers: [128] 128,77 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: 77:[20, 3, 27], Operations: ['69-42=27'] Exploring Operation: 27-3=24, Resulting Numbers: [20, 24] Generated Node #0,2,0: 77:[20, 24] Operation: 27-3=24 Exploring Operation: 27-20=7, Resulting Numbers: [3, 7] Generated Node #0,2,1: 77:[3, 7] Operation: 27-20=7 Exploring Operation: 3*27=81, Resulting Numbers: [20, 81] Generated Node #0,2,2: 77:[20, 81] Operation: 3*27=81 Exploring Operation: 20-3=17, Resulting Numbers: [27, 17] Generated Node #0,2,3: 77:[27, 17] Operation: 20-3=17 Exploring Operation: 27/3=9, Resulting Numbers: [20, 9] Generated Node #0,2,4: 77:[20, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[3, 7], Operations: ['69-42=27', '27-20=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,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,4 Current State: 77:[20, 9], Operations: ['69-42=27', '27/3=9'] Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[20, 81], Operations: ['69-42=27', '3*27=81'] Exploring Operation: 20*81=1620, Resulting Numbers: [1620] 1620,77 unequal: No Solution Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[20, 24], Operations: ['69-42=27', '27-3=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[27, 17], Operations: ['69-42=27', '20-3=17'] Exploring Operation: 27+17=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,77 unequal: No Solution Exploring Operation: 27*17=459, Resulting Numbers: [459] 459,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[42, 69, 17], Operations: ['20-3=17'] Exploring Operation: 69-42=27, Resulting Numbers: [17, 27] Generated Node #0,1,0: 77:[17, 27] Operation: 69-42=27 Exploring Operation: 69+17=86, Resulting Numbers: [42, 86] Generated Node #0,1,1: 77:[42, 86] Operation: 69+17=86 Exploring Operation: 42-17=25, Resulting Numbers: [69, 25] Generated Node #0,1,2: 77:[69, 25] Operation: 42-17=25 Exploring Operation: 42+17=59, Resulting Numbers: [69, 59] Generated Node #0,1,3: 77:[69, 59] Operation: 42+17=59 Exploring Operation: 42+69=111, Resulting Numbers: [17, 111] Generated Node #0,1,4: 77:[17, 111] Operation: 42+69=111 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[17, 27], Operations: ['20-3=17', '69-42=27'] Exploring Operation: 17+27=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 17*27=459, Resulting Numbers: [459] 459,77 unequal: No Solution Exploring Operation: 27-17=10, Resulting Numbers: [10] 10,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[69, 25], Operations: ['20-3=17', '42-17=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[69, 59], Operations: ['20-3=17', '42+17=59'] Exploring Operation: 69+59=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 69*59=4071, Resulting Numbers: [4071] 4071,77 unequal: No Solution Exploring Operation: 69-59=10, Resulting Numbers: [10] 10,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[42, 86], Operations: ['20-3=17', '69+17=86'] Exploring Operation: 86-42=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 42+86=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 42*86=3612, Resulting Numbers: [3612] 3612,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 77:[17, 111], Operations: ['20-3=17', '42+69=111'] Exploring Operation: 111-17=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 17*111=1887, Resulting Numbers: [1887] 1887,77 unequal: No Solution Exploring Operation: 17+111=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 77:[69, 19], Operations: ['42-20=22', '22-3=19'] Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,77 unequal: No Solution Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[22, 72], Operations: ['42-20=22', '3+69=72'] Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,77 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[3, 91], Operations: ['42-20=22', '69+22=91'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 3+91=94, Resulting Numbers: [94] 94,77 unequal: No Solution Exploring Operation: 3*91=273, Resulting Numbers: [273] 273,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[69, 66], Operations: ['42-20=22', '3*22=66'] Exploring Operation: 69*66=4554, Resulting Numbers: [4554] 4554,77 unequal: No Solution Exploring Operation: 69+66=135, Resulting Numbers: [135] 135,77 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[22, 66], Operations: ['42-20=22', '69-3=66'] Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 22*66=1452, Resulting Numbers: [1452] 1452,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 43, 40, 15, 23 ]
35
[ "43-40=3", "15+23=38", "38-3=35" ]
Current State: 35:[43, 40, 15, 23], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [15, 23, 3] Generated Node #2: [15, 23, 3] from Operation: 43-40=3 Current State: 35:[15, 23, 3], Operations: ['43-40=3'] Exploring Operation: 15+23=38, Resulting Numbers: [3, 38] Generated Node #3: [3, 38] from Operation: 15+23=38 Current State: 35:[3, 38], Operations: ['43-40=3', '15+23=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 40, 15, 23], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [15, 23, 3] Generated Node #0,0: 35:[15, 23, 3] Operation: 43-40=3 Exploring Operation: 23-15=8, Resulting Numbers: [43, 40, 8] Generated Node #0,1: 35:[43, 40, 8] Operation: 23-15=8 Exploring Operation: 15+23=38, Resulting Numbers: [43, 40, 38] Generated Node #0,2: 35:[43, 40, 38] Operation: 15+23=38 Moving to Node #0,1 Current State: 35:[43, 40, 8], Operations: ['23-15=8'] Exploring Operation: 40/8=5, Resulting Numbers: [43, 5] Generated Node #0,1,0: 35:[43, 5] Operation: 40/8=5 Exploring Operation: 43-8=35, Resulting Numbers: [40, 35] Generated Node #0,1,1: 35:[40, 35] Operation: 43-8=35 Exploring Operation: 43-40=3, Resulting Numbers: [8, 3] Generated Node #0,1,2: 35:[8, 3] Operation: 43-40=3 Moving to Node #0,2 Current State: 35:[43, 40, 38], Operations: ['15+23=38'] Exploring Operation: 43-40=3, Resulting Numbers: [38, 3] Generated Node #0,2,0: 35:[38, 3] Operation: 43-40=3 Exploring Operation: 43-38=5, Resulting Numbers: [40, 5] Generated Node #0,2,1: 35:[40, 5] Operation: 43-38=5 Exploring Operation: 40-38=2, Resulting Numbers: [43, 2] Generated Node #0,2,2: 35:[43, 2] Operation: 40-38=2 Moving to Node #0,0 Current State: 35:[15, 23, 3], Operations: ['43-40=3'] Exploring Operation: 15/3=5, Resulting Numbers: [23, 5] Generated Node #0,0,0: 35:[23, 5] Operation: 15/3=5 Exploring Operation: 15+23=38, Resulting Numbers: [3, 38] Generated Node #0,0,1: 35:[3, 38] Operation: 15+23=38 Exploring Operation: 23-15=8, Resulting Numbers: [3, 8] Generated Node #0,0,2: 35:[3, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[3, 8], Operations: ['43-40=3', '23-15=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[3, 38], Operations: ['43-40=3', '15+23=38'] Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[43, 40, 15, 23], Operations: [] Exploring Operation: 43-40=3, Resulting Numbers: [15, 23, 3] Generated Node #0,0: 35:[15, 23, 3] Operation: 43-40=3 Moving to Node #0,0 Current State: 35:[15, 23, 3], Operations: ['43-40=3'] Exploring Operation: 15+23=38, Resulting Numbers: [3, 38] Generated Node #0,0,1: 35:[3, 38] Operation: 15+23=38 Moving to Node #0,0,1 Current State: 35:[3, 38], Operations: ['43-40=3', '15+23=38'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
mult_heuristic
[ 8, 19, 24, 10 ]
87
[ "24/8=3", "19+10=29", "3*29=87" ]
Current State: 87:[8, 19, 24, 10], Operations: [] Exploring Operation: 24/8=3, Resulting Numbers: [19, 10, 3] Generated Node #2: [19, 10, 3] from Operation: 24/8=3 Current State: 87:[19, 10, 3], Operations: ['24/8=3'] Exploring Operation: 19+10=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 19+10=29 Current State: 87:[3, 29], Operations: ['24/8=3', '19+10=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[8, 19, 24, 10], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [19, 24, 2] Generated Node #0,0: 87:[19, 24, 2] Operation: 10-8=2 Exploring Operation: 24-19=5, Resulting Numbers: [8, 10, 5] Generated Node #0,1: 87:[8, 10, 5] Operation: 24-19=5 Exploring Operation: 8+19=27, Resulting Numbers: [24, 10, 27] Generated Node #0,2: 87:[24, 10, 27] Operation: 8+19=27 Exploring Operation: 19+10=29, Resulting Numbers: [8, 24, 29] Generated Node #0,3: 87:[8, 24, 29] Operation: 19+10=29 Moving to Node #0,3 Current State: 87:[8, 24, 29], Operations: ['19+10=29'] Exploring Operation: 24-8=16, Resulting Numbers: [29, 16] Generated Node #0,3,0: 87:[29, 16] Operation: 24-8=16 Exploring Operation: 24/8=3, Resulting Numbers: [29, 3] Generated Node #0,3,1: 87:[29, 3] Operation: 24/8=3 Exploring Operation: 8+24=32, Resulting Numbers: [29, 32] Generated Node #0,3,2: 87:[29, 32] Operation: 8+24=32 Exploring Operation: 29-24=5, Resulting Numbers: [8, 5] Generated Node #0,3,3: 87:[8, 5] Operation: 29-24=5 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 87:[29, 3], Operations: ['19+10=29', '24/8=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[8, 19, 24, 10], Operations: [] Exploring Operation: 19+10=29, Resulting Numbers: [8, 24, 29] Generated Node #0,3: 87:[8, 24, 29] Operation: 19+10=29 Moving to Node #0,3 Current State: 87:[8, 24, 29], Operations: ['19+10=29'] Exploring Operation: 24/8=3, Resulting Numbers: [29, 3] Generated Node #0,3,1: 87:[29, 3] Operation: 24/8=3 Moving to Node #0,3,1 Current State: 87:[29, 3], Operations: ['19+10=29', '24/8=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 67, 8, 47, 73 ]
85
[ "67-8=59", "73-47=26", "59+26=85" ]
Current State: 85:[67, 8, 47, 73], Operations: [] Exploring Operation: 67-8=59, Resulting Numbers: [47, 73, 59] Generated Node #2: [47, 73, 59] from Operation: 67-8=59 Current State: 85:[47, 73, 59], Operations: ['67-8=59'] Exploring Operation: 73-47=26, Resulting Numbers: [59, 26] Generated Node #3: [59, 26] from Operation: 73-47=26 Current State: 85:[59, 26], Operations: ['67-8=59', '73-47=26'] Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[67, 8, 47, 73], Operations: [] Exploring Operation: 67-47=20, Resulting Numbers: [8, 73, 20] Generated Node #0,0: 85:[8, 73, 20] Operation: 67-47=20 Exploring Operation: 73-47=26, Resulting Numbers: [67, 8, 26] Generated Node #0,1: 85:[67, 8, 26] Operation: 73-47=26 Exploring Operation: 73-67=6, Resulting Numbers: [8, 47, 6] Generated Node #0,2: 85:[8, 47, 6] Operation: 73-67=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[8, 73, 20], Operations: ['67-47=20'] Exploring Operation: 8+73=81, Resulting Numbers: [20, 81] Generated Node #0,0,0: 85:[20, 81] Operation: 8+73=81 Exploring Operation: 73+20=93, Resulting Numbers: [8, 93] Generated Node #0,0,1: 85:[8, 93] Operation: 73+20=93 Exploring Operation: 20-8=12, Resulting Numbers: [73, 12] Generated Node #0,0,2: 85:[73, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[20, 81], Operations: ['67-47=20', '8+73=81'] Exploring Operation: 20+81=101, Resulting Numbers: [101] 101,85 unequal: No Solution Exploring Operation: 20*81=1620, Resulting Numbers: [1620] 1620,85 unequal: No Solution Exploring Operation: 81-20=61, Resulting Numbers: [61] 61,85 unequal: No Solution No 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: 85:[8, 93], Operations: ['67-47=20', '73+20=93'] Exploring Operation: 8*93=744, Resulting Numbers: [744] 744,85 unequal: No Solution Exploring Operation: 8+93=101, Resulting Numbers: [101] 101,85 unequal: No Solution Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[67, 8, 47, 73], Operations: [] Exploring Operation: 67-47=20, Resulting Numbers: [8, 73, 20] Generated Node #0,0: 85:[8, 73, 20] Operation: 67-47=20 Moving to Node #0,0 Current State: 85:[8, 73, 20], Operations: ['67-47=20'] Exploring Operation: 73+20=93, Resulting Numbers: [8, 93] Generated Node #0,0,1: 85:[8, 93] Operation: 73+20=93 Moving to Node #0,0,1 Current State: 85:[8, 93], Operations: ['67-47=20', '73+20=93'] Exploring Operation: 93-8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 72, 43, 2, 88 ]
61
[ "72+43=115", "2*88=176", "176-115=61" ]
Current State: 61:[72, 43, 2, 88], Operations: [] Exploring Operation: 72+43=115, Resulting Numbers: [2, 88, 115] Generated Node #2: [2, 88, 115] from Operation: 72+43=115 Current State: 61:[2, 88, 115], Operations: ['72+43=115'] Exploring Operation: 2*88=176, Resulting Numbers: [115, 176] Generated Node #3: [115, 176] from Operation: 2*88=176 Current State: 61:[115, 176], Operations: ['72+43=115', '2*88=176'] Exploring Operation: 176-115=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[72, 43, 2, 88], Operations: [] Exploring Operation: 43+2=45, Resulting Numbers: [72, 88, 45] Generated Node #0,0: 61:[72, 88, 45] Operation: 43+2=45 Exploring Operation: 72-2=70, Resulting Numbers: [43, 88, 70] Generated Node #0,1: 61:[43, 88, 70] Operation: 72-2=70 Exploring Operation: 88/2=44, Resulting Numbers: [72, 43, 44] Generated Node #0,2: 61:[72, 43, 44] Operation: 88/2=44 Exploring Operation: 72+2=74, Resulting Numbers: [43, 88, 74] Generated Node #0,3: 61:[43, 88, 74] Operation: 72+2=74 Exploring Operation: 88-2=86, Resulting Numbers: [72, 43, 86] Generated Node #0,4: 61:[72, 43, 86] Operation: 88-2=86 Start Sub Search at level 1: Moving to Node #0,2 Current State: 61:[72, 43, 44], Operations: ['88/2=44'] Exploring Operation: 72-43=29, Resulting Numbers: [44, 29] Generated Node #0,2,0: 61:[44, 29] Operation: 72-43=29 Exploring Operation: 44-43=1, Resulting Numbers: [72, 1] Generated Node #0,2,1: 61:[72, 1] Operation: 44-43=1 Exploring Operation: 72+43=115, Resulting Numbers: [44, 115] Generated Node #0,2,2: 61:[44, 115] Operation: 72+43=115 Exploring Operation: 72-44=28, Resulting Numbers: [43, 28] Generated Node #0,2,3: 61:[43, 28] Operation: 72-44=28 Exploring Operation: 43+44=87, Resulting Numbers: [72, 87] Generated Node #0,2,4: 61:[72, 87] Operation: 43+44=87 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 61:[72, 87], Operations: ['88/2=44', '43+44=87'] Exploring Operation: 72*87=6264, Resulting Numbers: [6264] 6264,61 unequal: No Solution Exploring Operation: 72+87=159, Resulting Numbers: [159] 159,61 unequal: No Solution Exploring Operation: 87-72=15, Resulting Numbers: [15] 15,61 unequal: No Solution No 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: 61:[44, 29], Operations: ['88/2=44', '72-43=29'] Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 44*29=1276, Resulting Numbers: [1276] 1276,61 unequal: No Solution No 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: 61:[43, 28], Operations: ['88/2=44', '72-44=28'] Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,61 unequal: No Solution Exploring Operation: 43*28=1204, Resulting Numbers: [1204] 1204,61 unequal: No Solution Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,61 unequal: No Solution No 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: 61:[72, 1], Operations: ['88/2=44', '44-43=1'] Exploring Operation: 72+1=73, Resulting Numbers: [73] 73,61 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 72*1=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,61 unequal: No Solution No 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: 61:[44, 115], Operations: ['88/2=44', '72+43=115'] Exploring Operation: 44*115=5060, Resulting Numbers: [5060] 5060,61 unequal: No Solution Exploring Operation: 44+115=159, Resulting Numbers: [159] 159,61 unequal: No Solution Exploring Operation: 115-44=71, Resulting Numbers: [71] 71,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[72, 88, 45], Operations: ['43+2=45'] Exploring Operation: 72-45=27, Resulting Numbers: [88, 27] Generated Node #0,0,0: 61:[88, 27] Operation: 72-45=27 Exploring Operation: 88+45=133, Resulting Numbers: [72, 133] Generated Node #0,0,1: 61:[72, 133] Operation: 88+45=133 Exploring Operation: 72+45=117, Resulting Numbers: [88, 117] Generated Node #0,0,2: 61:[88, 117] Operation: 72+45=117 Exploring Operation: 88-72=16, Resulting Numbers: [45, 16] Generated Node #0,0,3: 61:[45, 16] Operation: 88-72=16 Exploring Operation: 88-45=43, Resulting Numbers: [72, 43] Generated Node #0,0,4: 61:[72, 43] Operation: 88-45=43 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 61:[72, 43], Operations: ['43+2=45', '88-45=43'] Exploring Operation: 72*43=3096, Resulting Numbers: [3096] 3096,61 unequal: No Solution Exploring Operation: 72+43=115, Resulting Numbers: [115] 115,61 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,61 unequal: No Solution No 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: 61:[88, 27], Operations: ['43+2=45', '72-45=27'] Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,61 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[72, 43, 2, 88], Operations: [] Exploring Operation: 43+2=45, Resulting Numbers: [72, 88, 45] Generated Node #0,0: 61:[72, 88, 45] Operation: 43+2=45 Moving to Node #0,0 Current State: 61:[72, 88, 45], Operations: ['43+2=45'] Exploring Operation: 72-45=27, Resulting Numbers: [88, 27] Generated Node #0,0,0: 61:[88, 27] Operation: 72-45=27 Moving to Node #0,0,0 Current State: 61:[88, 27], Operations: ['43+2=45', '72-45=27'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 6, 2, 30, 72 ]
22
[ "2*30=60", "72+60=132", "132/6=22" ]
Current State: 22:[6, 2, 30, 72], Operations: [] Exploring Operation: 2*30=60, Resulting Numbers: [6, 72, 60] Generated Node #2: [6, 72, 60] from Operation: 2*30=60 Current State: 22:[6, 72, 60], Operations: ['2*30=60'] Exploring Operation: 72+60=132, Resulting Numbers: [6, 132] Generated Node #3: [6, 132] from Operation: 72+60=132 Current State: 22:[6, 132], Operations: ['2*30=60', '72+60=132'] Exploring Operation: 132/6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[6, 2, 30, 72], Operations: [] Exploring Operation: 72/6=12, Resulting Numbers: [2, 30, 12] Generated Node #0,0: 22:[2, 30, 12] Operation: 72/6=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[2, 30, 12], Operations: ['72/6=12'] Exploring Operation: 30-12=18, Resulting Numbers: [2, 18] Generated Node #0,0,0: 22:[2, 18] Operation: 30-12=18 Moving to Node #0,0,0 Current State: 22:[2, 18], Operations: ['72/6=12', '30-12=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,22 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
[ 48, 4, 37, 32 ]
48
[ "37-4=33", "33-32=1", "48*1=48" ]
Current State: 48:[48, 4, 37, 32], Operations: [] Exploring Operation: 37-4=33, Resulting Numbers: [48, 32, 33] Generated Node #2: [48, 32, 33] from Operation: 37-4=33 Current State: 48:[48, 32, 33], Operations: ['37-4=33'] Exploring Operation: 33-32=1, Resulting Numbers: [48, 1] Generated Node #3: [48, 1] from Operation: 33-32=1 Current State: 48:[48, 1], Operations: ['37-4=33', '33-32=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[48, 4, 37, 32], Operations: [] Exploring Operation: 48-32=16, Resulting Numbers: [4, 37, 16] Generated Node #0,0: 48:[4, 37, 16] Operation: 48-32=16 Exploring Operation: 48-37=11, Resulting Numbers: [4, 32, 11] Generated Node #0,1: 48:[4, 32, 11] Operation: 48-37=11 Exploring Operation: 32/4=8, Resulting Numbers: [48, 37, 8] Generated Node #0,2: 48:[48, 37, 8] Operation: 32/4=8 Exploring Operation: 37-32=5, Resulting Numbers: [48, 4, 5] Generated Node #0,3: 48:[48, 4, 5] Operation: 37-32=5 Moving to Node #0,3 Current State: 48:[48, 4, 5], Operations: ['37-32=5'] Exploring Operation: 4+5=9, Resulting Numbers: [48, 9] Generated Node #0,3,0: 48:[48, 9] Operation: 4+5=9 Exploring Operation: 5-4=1, Resulting Numbers: [48, 1] Generated Node #0,3,1: 48:[48, 1] Operation: 5-4=1 Exploring Operation: 4*5=20, Resulting Numbers: [48, 20] Generated Node #0,3,2: 48:[48, 20] Operation: 4*5=20 Exploring Operation: 48/4=12, Resulting Numbers: [5, 12] Generated Node #0,3,3: 48:[5, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 48:[48, 9], Operations: ['37-32=5', '4+5=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,48 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,48 unequal: No Solution No 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: 48:[48, 1], Operations: ['37-32=5', '5-4=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[48, 4, 37, 32], Operations: [] Exploring Operation: 37-32=5, Resulting Numbers: [48, 4, 5] Generated Node #0,3: 48:[48, 4, 5] Operation: 37-32=5 Moving to Node #0,3 Current State: 48:[48, 4, 5], Operations: ['37-32=5'] Exploring Operation: 5-4=1, Resulting Numbers: [48, 1] Generated Node #0,3,1: 48:[48, 1] Operation: 5-4=1 Moving to Node #0,3,1 Current State: 48:[48, 1], Operations: ['37-32=5', '5-4=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 55, 52, 35, 35 ]
37
[ "55+52=107", "35+35=70", "107-70=37" ]
Current State: 37:[55, 52, 35, 35], Operations: [] Exploring Operation: 55+52=107, Resulting Numbers: [35, 35, 107] Generated Node #2: [35, 35, 107] from Operation: 55+52=107 Current State: 37:[35, 35, 107], Operations: ['55+52=107'] Exploring Operation: 35+35=70, Resulting Numbers: [107, 70] Generated Node #3: [107, 70] from Operation: 35+35=70 Current State: 37:[107, 70], Operations: ['55+52=107', '35+35=70'] Exploring Operation: 107-70=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[55, 52, 35, 35], Operations: [] Exploring Operation: 55-35=20, Resulting Numbers: [52, 35, 20] Generated Node #0,0: 37:[52, 35, 20] Operation: 55-35=20 Exploring Operation: 55-52=3, Resulting Numbers: [35, 35, 3] Generated Node #0,1: 37:[35, 35, 3] Operation: 55-52=3 Exploring Operation: 55-35=20, Resulting Numbers: [52, 35, 20] Generated Node #0,2: 37:[52, 35, 20] Operation: 55-35=20 Moving to Node #0,0 Current State: 37:[52, 35, 20], Operations: ['55-35=20'] Exploring Operation: 52-20=32, Resulting Numbers: [35, 32] Generated Node #0,0,0: 37:[35, 32] Operation: 52-20=32 Exploring Operation: 35+20=55, Resulting Numbers: [52, 55] Generated Node #0,0,1: 37:[52, 55] Operation: 35+20=55 Exploring Operation: 52-35=17, Resulting Numbers: [20, 17] Generated Node #0,0,2: 37:[20, 17] Operation: 52-35=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[35, 32], Operations: ['55-35=20', '52-20=32'] Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,37 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[52, 55], Operations: ['55-35=20', '35+20=55'] Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,37 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[20, 17], Operations: ['55-35=20', '52-35=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[55, 52, 35, 35], Operations: [] Exploring Operation: 55-35=20, Resulting Numbers: [52, 35, 20] Generated Node #0,0: 37:[52, 35, 20] Operation: 55-35=20 Moving to Node #0,0 Current State: 37:[52, 35, 20], Operations: ['55-35=20'] Exploring Operation: 52-35=17, Resulting Numbers: [20, 17] Generated Node #0,0,2: 37:[20, 17] Operation: 52-35=17 Moving to Node #0,0,2 Current State: 37:[20, 17], Operations: ['55-35=20', '52-35=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 3, 48, 36, 64 ]
100
[ "36/3=12", "48+64=112", "112-12=100" ]
Current State: 100:[3, 48, 36, 64], Operations: [] Exploring Operation: 36/3=12, Resulting Numbers: [48, 64, 12] Generated Node #2: [48, 64, 12] from Operation: 36/3=12 Current State: 100:[48, 64, 12], Operations: ['36/3=12'] Exploring Operation: 48+64=112, Resulting Numbers: [12, 112] Generated Node #3: [12, 112] from Operation: 48+64=112 Current State: 100:[12, 112], Operations: ['36/3=12', '48+64=112'] Exploring Operation: 112-12=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[3, 48, 36, 64], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [3, 64, 12] Generated Node #0,0: 100:[3, 64, 12] Operation: 48-36=12 Exploring Operation: 64-36=28, Resulting Numbers: [3, 48, 28] Generated Node #0,1: 100:[3, 48, 28] Operation: 64-36=28 Exploring Operation: 36+64=100, Resulting Numbers: [3, 48, 100] Generated Node #0,2: 100:[3, 48, 100] Operation: 36+64=100 Exploring Operation: 64-48=16, Resulting Numbers: [3, 36, 16] Generated Node #0,3: 100:[3, 36, 16] Operation: 64-48=16 Moving to Node #0,2 Current State: 100:[3, 48, 100], Operations: ['36+64=100'] Exploring Operation: 48/3=16, Resulting Numbers: [100, 16] Generated Node #0,2,0: 100:[100, 16] Operation: 48/3=16 Exploring Operation: 100-48=52, Resulting Numbers: [3, 52] Generated Node #0,2,1: 100:[3, 52] Operation: 100-48=52 Exploring Operation: 48-3=45, Resulting Numbers: [100, 45] Generated Node #0,2,2: 100:[100, 45] Operation: 48-3=45 Exploring Operation: 3+48=51, Resulting Numbers: [100, 51] Generated Node #0,2,3: 100:[100, 51] Operation: 3+48=51 Moving to Node #0,1 Current State: 100:[3, 48, 28], Operations: ['64-36=28'] Exploring Operation: 3+48=51, Resulting Numbers: [28, 51] Generated Node #0,1,0: 100:[28, 51] Operation: 3+48=51 Exploring Operation: 48/3=16, Resulting Numbers: [28, 16] Generated Node #0,1,1: 100:[28, 16] Operation: 48/3=16 Exploring Operation: 48-28=20, Resulting Numbers: [3, 20] Generated Node #0,1,2: 100:[3, 20] Operation: 48-28=20 Exploring Operation: 28-3=25, Resulting Numbers: [48, 25] Generated Node #0,1,3: 100:[48, 25] Operation: 28-3=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 100:[3, 20], Operations: ['64-36=28', '48-28=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 100:[48, 25], Operations: ['64-36=28', '28-3=25'] Exploring Operation: 48*25=1200, Resulting Numbers: [1200] 1200,100 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 48+25=73, Resulting Numbers: [73] 73,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[28, 51], Operations: ['64-36=28', '3+48=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,100 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 100:[28, 16], Operations: ['64-36=28', '48/3=16'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 28*16=448, Resulting Numbers: [448] 448,100 unequal: No Solution Exploring Operation: 28+16=44, Resulting Numbers: [44] 44,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 100:[3, 36, 16], Operations: ['64-48=16'] Exploring Operation: 3*36=108, Resulting Numbers: [16, 108] Generated Node #0,3,0: 100:[16, 108] Operation: 3*36=108 Exploring Operation: 36-16=20, Resulting Numbers: [3, 20] Generated Node #0,3,1: 100:[3, 20] Operation: 36-16=20 Exploring Operation: 36/3=12, Resulting Numbers: [16, 12] Generated Node #0,3,2: 100:[16, 12] Operation: 36/3=12 Exploring Operation: 36+16=52, Resulting Numbers: [3, 52] Generated Node #0,3,3: 100:[3, 52] Operation: 36+16=52 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[3, 20], Operations: ['64-48=16', '36-16=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,100 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[3, 52], Operations: ['64-48=16', '36+16=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,100 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[16, 12], Operations: ['64-48=16', '36/3=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[16, 108], Operations: ['64-48=16', '3*36=108'] Exploring Operation: 16*108=1728, Resulting Numbers: [1728] 1728,100 unequal: No Solution Exploring Operation: 16+108=124, Resulting Numbers: [124] 124,100 unequal: No Solution Exploring Operation: 108-16=92, Resulting Numbers: [92] 92,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[3, 64, 12], Operations: ['48-36=12'] Exploring Operation: 12/3=4, Resulting Numbers: [64, 4] Generated Node #0,0,0: 100:[64, 4] Operation: 12/3=4 Exploring Operation: 12-3=9, Resulting Numbers: [64, 9] Generated Node #0,0,1: 100:[64, 9] Operation: 12-3=9 Exploring Operation: 64-3=61, Resulting Numbers: [12, 61] Generated Node #0,0,2: 100:[12, 61] Operation: 64-3=61 Exploring Operation: 64-12=52, Resulting Numbers: [3, 52] Generated Node #0,0,3: 100:[3, 52] Operation: 64-12=52 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 100:[3, 52], Operations: ['48-36=12', '64-12=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,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,2 Current State: 100:[12, 61], Operations: ['48-36=12', '64-3=61'] Exploring Operation: 12*61=732, Resulting Numbers: [732] 732,100 unequal: No Solution Exploring Operation: 61-12=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 12+61=73, Resulting Numbers: [73] 73,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,0 Current State: 100:[64, 4], Operations: ['48-36=12', '12/3=4'] Exploring Operation: 64*4=256, Resulting Numbers: [256] 256,100 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 64+4=68, Resulting Numbers: [68] 68,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,1 Current State: 100:[64, 9], Operations: ['48-36=12', '12-3=9'] Exploring Operation: 64+9=73, Resulting Numbers: [73] 73,100 unequal: No Solution Exploring Operation: 64*9=576, Resulting Numbers: [576] 576,100 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 100:[100, 51], Operations: ['36+64=100', '3+48=51'] Exploring Operation: 100+51=151, Resulting Numbers: [151] 151,100 unequal: No Solution Exploring Operation: 100*51=5100, Resulting Numbers: [5100] 5100,100 unequal: No Solution Exploring Operation: 100-51=49, Resulting Numbers: [49] 49,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[3, 52], Operations: ['36+64=100', '100-48=52'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,100 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[100, 16], Operations: ['36+64=100', '48/3=16'] Exploring Operation: 100+16=116, Resulting Numbers: [116] 116,100 unequal: No Solution Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 100*16=1600, Resulting Numbers: [1600] 1600,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[100, 45], Operations: ['36+64=100', '48-3=45'] Exploring Operation: 100-45=55, Resulting Numbers: [55] 55,100 unequal: No Solution Exploring Operation: 100+45=145, Resulting Numbers: [145] 145,100 unequal: No Solution Exploring Operation: 100*45=4500, Resulting Numbers: [4500] 4500,100 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 87, 83, 58, 21 ]
91
[ "87+83=170", "58+21=79", "170-79=91" ]
Current State: 91:[87, 83, 58, 21], Operations: [] Exploring Operation: 87+83=170, Resulting Numbers: [58, 21, 170] Generated Node #2: [58, 21, 170] from Operation: 87+83=170 Current State: 91:[58, 21, 170], Operations: ['87+83=170'] Exploring Operation: 58+21=79, Resulting Numbers: [170, 79] Generated Node #3: [170, 79] from Operation: 58+21=79 Current State: 91:[170, 79], Operations: ['87+83=170', '58+21=79'] Exploring Operation: 170-79=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 83, 58, 21], Operations: [] Exploring Operation: 58+21=79, Resulting Numbers: [87, 83, 79] Generated Node #0,0: 91:[87, 83, 79] Operation: 58+21=79 Exploring Operation: 83-58=25, Resulting Numbers: [87, 21, 25] Generated Node #0,1: 91:[87, 21, 25] Operation: 83-58=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[87, 83, 79], Operations: ['58+21=79'] Exploring Operation: 83-79=4, Resulting Numbers: [87, 4] Generated Node #0,0,0: 91:[87, 4] Operation: 83-79=4 Exploring Operation: 87-79=8, Resulting Numbers: [83, 8] Generated Node #0,0,1: 91:[83, 8] Operation: 87-79=8 Moving to Node #0,0,0 Current State: 91:[87, 4], Operations: ['58+21=79', '83-79=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[87, 83, 58, 21], Operations: [] Exploring Operation: 58+21=79, Resulting Numbers: [87, 83, 79] Generated Node #0,0: 91:[87, 83, 79] Operation: 58+21=79 Moving to Node #0,0 Current State: 91:[87, 83, 79], Operations: ['58+21=79'] Exploring Operation: 83-79=4, Resulting Numbers: [87, 4] Generated Node #0,0,0: 91:[87, 4] Operation: 83-79=4 Moving to Node #0,0,0 Current State: 91:[87, 4], Operations: ['58+21=79', '83-79=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 28, 90, 22, 9 ]
87
[ "28+90=118", "22+9=31", "118-31=87" ]
Current State: 87:[28, 90, 22, 9], Operations: [] Exploring Operation: 28+90=118, Resulting Numbers: [22, 9, 118] Generated Node #2: [22, 9, 118] from Operation: 28+90=118 Current State: 87:[22, 9, 118], Operations: ['28+90=118'] Exploring Operation: 22+9=31, Resulting Numbers: [118, 31] Generated Node #3: [118, 31] from Operation: 22+9=31 Current State: 87:[118, 31], Operations: ['28+90=118', '22+9=31'] Exploring Operation: 118-31=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[28, 90, 22, 9], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [28, 90, 31] Generated Node #0,0: 87:[28, 90, 31] Operation: 22+9=31 Exploring Operation: 28-22=6, Resulting Numbers: [90, 9, 6] Generated Node #0,1: 87:[90, 9, 6] Operation: 28-22=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[28, 90, 31], Operations: ['22+9=31'] Exploring Operation: 31-28=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 31-28=3 Exploring Operation: 90-28=62, Resulting Numbers: [31, 62] Generated Node #0,0,1: 87:[31, 62] Operation: 90-28=62 Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['22+9=31', '31-28=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[28, 90, 22, 9], Operations: [] Exploring Operation: 22+9=31, Resulting Numbers: [28, 90, 31] Generated Node #0,0: 87:[28, 90, 31] Operation: 22+9=31 Moving to Node #0,0 Current State: 87:[28, 90, 31], Operations: ['22+9=31'] Exploring Operation: 31-28=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['22+9=31', '31-28=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 58, 20, 52, 11 ]
25
[ "58-20=38", "52+11=63", "63-38=25" ]
Current State: 25:[58, 20, 52, 11], Operations: [] Exploring Operation: 58-20=38, Resulting Numbers: [52, 11, 38] Generated Node #2: [52, 11, 38] from Operation: 58-20=38 Current State: 25:[52, 11, 38], Operations: ['58-20=38'] Exploring Operation: 52+11=63, Resulting Numbers: [38, 63] Generated Node #3: [38, 63] from Operation: 52+11=63 Current State: 25:[38, 63], Operations: ['58-20=38', '52+11=63'] Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[58, 20, 52, 11], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [20, 11, 6] Generated Node #0,0: 25:[20, 11, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[20, 11, 6], Operations: ['58-52=6'] Exploring Operation: 20-11=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 25:[6, 9] Operation: 20-11=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[6, 9], Operations: ['58-52=6', '20-11=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,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_1
mult_heuristic
[ 3, 54, 35, 20 ]
37
[ "54/3=18", "35+20=55", "55-18=37" ]
Current State: 37:[3, 54, 35, 20], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [35, 20, 18] Generated Node #2: [35, 20, 18] from Operation: 54/3=18 Current State: 37:[35, 20, 18], Operations: ['54/3=18'] Exploring Operation: 35+20=55, Resulting Numbers: [18, 55] Generated Node #3: [18, 55] from Operation: 35+20=55 Current State: 37:[18, 55], Operations: ['54/3=18', '35+20=55'] Exploring Operation: 55-18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[3, 54, 35, 20], Operations: [] Exploring Operation: 54-3=51, Resulting Numbers: [35, 20, 51] Generated Node #0,0: 37:[35, 20, 51] Operation: 54-3=51 Exploring Operation: 3+54=57, Resulting Numbers: [35, 20, 57] Generated Node #0,1: 37:[35, 20, 57] Operation: 3+54=57 Exploring Operation: 3+35=38, Resulting Numbers: [54, 20, 38] Generated Node #0,2: 37:[54, 20, 38] Operation: 3+35=38 Exploring Operation: 54/3=18, Resulting Numbers: [35, 20, 18] Generated Node #0,3: 37:[35, 20, 18] Operation: 54/3=18 Exploring Operation: 3+20=23, Resulting Numbers: [54, 35, 23] Generated Node #0,4: 37:[54, 35, 23] Operation: 3+20=23 Moving to Node #0,0 Current State: 37:[35, 20, 51], Operations: ['54-3=51'] Exploring Operation: 35-20=15, Resulting Numbers: [51, 15] Generated Node #0,0,0: 37:[51, 15] Operation: 35-20=15 Exploring Operation: 51-35=16, Resulting Numbers: [20, 16] Generated Node #0,0,1: 37:[20, 16] Operation: 51-35=16 Exploring Operation: 35+20=55, Resulting Numbers: [51, 55] Generated Node #0,0,2: 37:[51, 55] Operation: 35+20=55 Exploring Operation: 51-20=31, Resulting Numbers: [35, 31] Generated Node #0,0,3: 37:[35, 31] Operation: 51-20=31 Exploring Operation: 20+51=71, Resulting Numbers: [35, 71] Generated Node #0,0,4: 37:[35, 71] Operation: 20+51=71 Moving to Node #0,4 Current State: 37:[54, 35, 23], Operations: ['3+20=23'] Exploring Operation: 54-23=31, Resulting Numbers: [35, 31] Generated Node #0,4,0: 37:[35, 31] Operation: 54-23=31 Exploring Operation: 35+23=58, Resulting Numbers: [54, 58] Generated Node #0,4,1: 37:[54, 58] Operation: 35+23=58 Exploring Operation: 54+23=77, Resulting Numbers: [35, 77] Generated Node #0,4,2: 37:[35, 77] Operation: 54+23=77 Exploring Operation: 54-35=19, Resulting Numbers: [23, 19] Generated Node #0,4,3: 37:[23, 19] Operation: 54-35=19 Exploring Operation: 35-23=12, Resulting Numbers: [54, 12] Generated Node #0,4,4: 37:[54, 12] Operation: 35-23=12 Moving to Node #0,2 Current State: 37:[54, 20, 38], Operations: ['3+35=38'] Exploring Operation: 54-38=16, Resulting Numbers: [20, 16] Generated Node #0,2,0: 37:[20, 16] Operation: 54-38=16 Exploring Operation: 54-20=34, Resulting Numbers: [38, 34] Generated Node #0,2,1: 37:[38, 34] Operation: 54-20=34 Exploring Operation: 38-20=18, Resulting Numbers: [54, 18] Generated Node #0,2,2: 37:[54, 18] Operation: 38-20=18 Exploring Operation: 54+20=74, Resulting Numbers: [38, 74] Generated Node #0,2,3: 37:[38, 74] Operation: 54+20=74 Exploring Operation: 20+38=58, Resulting Numbers: [54, 58] Generated Node #0,2,4: 37:[54, 58] Operation: 20+38=58 Moving to Node #0,3 Current State: 37:[35, 20, 18], Operations: ['54/3=18'] Exploring Operation: 20-18=2, Resulting Numbers: [35, 2] Generated Node #0,3,0: 37:[35, 2] Operation: 20-18=2 Exploring Operation: 20+18=38, Resulting Numbers: [35, 38] Generated Node #0,3,1: 37:[35, 38] Operation: 20+18=38 Exploring Operation: 35+20=55, Resulting Numbers: [18, 55] Generated Node #0,3,2: 37:[18, 55] Operation: 35+20=55 Exploring Operation: 35-18=17, Resulting Numbers: [20, 17] Generated Node #0,3,3: 37:[20, 17] Operation: 35-18=17 Exploring Operation: 35+18=53, Resulting Numbers: [20, 53] Generated Node #0,3,4: 37:[20, 53] Operation: 35+18=53 Moving to Node #0,1 Current State: 37:[35, 20, 57], Operations: ['3+54=57'] Exploring Operation: 35+20=55, Resulting Numbers: [57, 55] Generated Node #0,1,0: 37:[57, 55] Operation: 35+20=55 Exploring Operation: 57-35=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 37:[20, 22] Operation: 57-35=22 Exploring Operation: 57-20=37, Resulting Numbers: [35, 37] Generated Node #0,1,2: 37:[35, 37] Operation: 57-20=37 Exploring Operation: 20+57=77, Resulting Numbers: [35, 77] Generated Node #0,1,3: 37:[35, 77] Operation: 20+57=77 Exploring Operation: 35-20=15, Resulting Numbers: [57, 15] Generated Node #0,1,4: 37:[57, 15] Operation: 35-20=15 Moving to Node #0,1,2 Current State: 37:[35, 37], Operations: ['3+54=57', '57-20=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 35*37=1295, Resulting Numbers: [1295] 1295,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[35, 38], Operations: ['54/3=18', '20+18=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,37 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[38, 34], Operations: ['3+35=38', '54-20=34'] Exploring Operation: 38+34=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 38*34=1292, Resulting Numbers: [1292] 1292,37 unequal: No Solution Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[35, 31], Operations: ['3+20=23', '54-23=31'] Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,37 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[35, 31], Operations: ['54-3=51', '51-20=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,37 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[23, 19], Operations: ['3+20=23', '54-35=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,37 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,37 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[20, 22], Operations: ['3+54=57', '57-35=22'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,37 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[51, 55], Operations: ['54-3=51', '35+20=55'] Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,37 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,37 unequal: No Solution Moving to Node #0,3,4 Current State: 37:[20, 53], Operations: ['54/3=18', '35+18=53'] Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,37 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,37 unequal: No Solution Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[51, 15], Operations: ['54-3=51', '35-20=15'] Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[54, 18], Operations: ['3+35=38', '38-20=18'] Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,37 unequal: No Solution Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[35, 71], Operations: ['54-3=51', '20+51=71'] Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,37 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[20, 17], Operations: ['54/3=18', '35-18=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[3, 54, 35, 20], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [35, 20, 18] Generated Node #0,3: 37:[35, 20, 18] Operation: 54/3=18 Moving to Node #0,3 Current State: 37:[35, 20, 18], Operations: ['54/3=18'] Exploring Operation: 35-18=17, Resulting Numbers: [20, 17] Generated Node #0,3,3: 37:[20, 17] Operation: 35-18=17 Moving to Node #0,3,3 Current State: 37:[20, 17], Operations: ['54/3=18', '35-18=17'] Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.9375
hs_5
sum_heuristic
[ 87, 91, 54, 30 ]
94
[ "87+91=178", "54+30=84", "178-84=94" ]
Current State: 94:[87, 91, 54, 30], Operations: [] Exploring Operation: 87+91=178, Resulting Numbers: [54, 30, 178] Generated Node #2: [54, 30, 178] from Operation: 87+91=178 Current State: 94:[54, 30, 178], Operations: ['87+91=178'] Exploring Operation: 54+30=84, Resulting Numbers: [178, 84] Generated Node #3: [178, 84] from Operation: 54+30=84 Current State: 94:[178, 84], Operations: ['87+91=178', '54+30=84'] Exploring Operation: 178-84=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[87, 91, 54, 30], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [87, 91, 24] Generated Node #0,0: 94:[87, 91, 24] Operation: 54-30=24 Exploring Operation: 91-30=61, Resulting Numbers: [87, 54, 61] Generated Node #0,1: 94:[87, 54, 61] Operation: 91-30=61 Exploring Operation: 91-87=4, Resulting Numbers: [54, 30, 4] Generated Node #0,2: 94:[54, 30, 4] Operation: 91-87=4 Exploring Operation: 87-30=57, Resulting Numbers: [91, 54, 57] Generated Node #0,3: 94:[91, 54, 57] Operation: 87-30=57 Exploring Operation: 54+30=84, Resulting Numbers: [87, 91, 84] Generated Node #0,4: 94:[87, 91, 84] Operation: 54+30=84 Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[91, 54, 57], Operations: ['87-30=57'] Exploring Operation: 91-54=37, Resulting Numbers: [57, 37] Generated Node #0,3,0: 94:[57, 37] Operation: 91-54=37 Exploring Operation: 54+57=111, Resulting Numbers: [91, 111] Generated Node #0,3,1: 94:[91, 111] Operation: 54+57=111 Exploring Operation: 91-57=34, Resulting Numbers: [54, 34] Generated Node #0,3,2: 94:[54, 34] Operation: 91-57=34 Exploring Operation: 91+54=145, Resulting Numbers: [57, 145] Generated Node #0,3,3: 94:[57, 145] Operation: 91+54=145 Exploring Operation: 57-54=3, Resulting Numbers: [91, 3] Generated Node #0,3,4: 94:[91, 3] Operation: 57-54=3 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 94:[91, 3], Operations: ['87-30=57', '57-54=3'] Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,94 unequal: No Solution Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[87, 91, 54, 30], Operations: [] Exploring Operation: 87-30=57, Resulting Numbers: [91, 54, 57] Generated Node #0,3: 94:[91, 54, 57] Operation: 87-30=57 Moving to Node #0,3 Current State: 94:[91, 54, 57], Operations: ['87-30=57'] Exploring Operation: 57-54=3, Resulting Numbers: [91, 3] Generated Node #0,3,4: 94:[91, 3] Operation: 57-54=3 Moving to Node #0,3,4 Current State: 94:[91, 3], Operations: ['87-30=57', '57-54=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 9, 33, 12, 41 ]
24
[ "12-9=3", "41-33=8", "3*8=24" ]
Current State: 24:[9, 33, 12, 41], Operations: [] Exploring Operation: 12-9=3, Resulting Numbers: [33, 41, 3] Generated Node #2: [33, 41, 3] from Operation: 12-9=3 Current State: 24:[33, 41, 3], Operations: ['12-9=3'] Exploring Operation: 41-33=8, Resulting Numbers: [3, 8] Generated Node #3: [3, 8] from Operation: 41-33=8 Current State: 24:[3, 8], Operations: ['12-9=3', '41-33=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[9, 33, 12, 41], Operations: [] Exploring Operation: 41-12=29, Resulting Numbers: [9, 33, 29] Generated Node #0,0: 24:[9, 33, 29] Operation: 41-12=29 Exploring Operation: 41-33=8, Resulting Numbers: [9, 12, 8] Generated Node #0,1: 24:[9, 12, 8] Operation: 41-33=8 Exploring Operation: 33-9=24, Resulting Numbers: [12, 41, 24] Generated Node #0,2: 24:[12, 41, 24] Operation: 33-9=24 Exploring Operation: 41-9=32, Resulting Numbers: [33, 12, 32] Generated Node #0,3: 24:[33, 12, 32] Operation: 41-9=32 Moving to Node #0,1 Current State: 24:[9, 12, 8], Operations: ['41-33=8'] Exploring Operation: 12-9=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 24:[8, 3] Operation: 12-9=3 Exploring Operation: 9+12=21, Resulting Numbers: [8, 21] Generated Node #0,1,1: 24:[8, 21] Operation: 9+12=21 Exploring Operation: 9-8=1, Resulting Numbers: [12, 1] Generated Node #0,1,2: 24:[12, 1] Operation: 9-8=1 Exploring Operation: 12-8=4, Resulting Numbers: [9, 4] Generated Node #0,1,3: 24:[9, 4] Operation: 12-8=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[8, 3], Operations: ['41-33=8', '12-9=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[9, 33, 12, 41], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [9, 12, 8] Generated Node #0,1: 24:[9, 12, 8] Operation: 41-33=8 Moving to Node #0,1 Current State: 24:[9, 12, 8], Operations: ['41-33=8'] Exploring Operation: 12-9=3, Resulting Numbers: [8, 3] Generated Node #0,1,0: 24:[8, 3] Operation: 12-9=3 Moving to Node #0,1,0 Current State: 24:[8, 3], Operations: ['41-33=8', '12-9=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 66, 30, 18, 12 ]
65
[ "30-18=12", "12/12=1", "66-1=65" ]
Current State: 65:[66, 30, 18, 12], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [66, 12, 12] Generated Node #2: [66, 12, 12] from Operation: 30-18=12 Current State: 65:[66, 12, 12], Operations: ['30-18=12'] Exploring Operation: 12/12=1, Resulting Numbers: [66, 1] Generated Node #3: [66, 1] from Operation: 12/12=1 Current State: 65:[66, 1], Operations: ['30-18=12', '12/12=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[66, 30, 18, 12], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [66, 30, 6] Generated Node #0,0: 65:[66, 30, 6] Operation: 18-12=6 Exploring Operation: 30-12=18, Resulting Numbers: [66, 18, 18] Generated Node #0,1: 65:[66, 18, 18] Operation: 30-12=18 Exploring Operation: 30-18=12, Resulting Numbers: [66, 12, 12] Generated Node #0,2: 65:[66, 12, 12] Operation: 30-18=12 Exploring Operation: 30+18=48, Resulting Numbers: [66, 12, 48] Generated Node #0,3: 65:[66, 12, 48] Operation: 30+18=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[66, 12, 12], Operations: ['30-18=12'] Exploring Operation: 12/12=1, Resulting Numbers: [66, 1] Generated Node #0,2,0: 65:[66, 1] Operation: 12/12=1 Exploring Operation: 66-12=54, Resulting Numbers: [12, 54] Generated Node #0,2,1: 65:[12, 54] Operation: 66-12=54 Exploring Operation: 12-12=0, Resulting Numbers: [66, 0] Generated Node #0,2,2: 65:[66, 0] Operation: 12-12=0 Exploring Operation: 66-12=54, Resulting Numbers: [12, 54] Generated Node #0,2,3: 65:[12, 54] Operation: 66-12=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 65:[66, 1], Operations: ['30-18=12', '12/12=1'] Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,65 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[66, 30, 18, 12], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [66, 12, 12] Generated Node #0,2: 65:[66, 12, 12] Operation: 30-18=12 Moving to Node #0,2 Current State: 65:[66, 12, 12], Operations: ['30-18=12'] Exploring Operation: 12/12=1, Resulting Numbers: [66, 1] Generated Node #0,2,0: 65:[66, 1] Operation: 12/12=1 Moving to Node #0,2,0 Current State: 65:[66, 1], Operations: ['30-18=12', '12/12=1'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 90, 44, 11, 99 ]
64
[ "90-44=46", "11+99=110", "110-46=64" ]
Current State: 64:[90, 44, 11, 99], Operations: [] Exploring Operation: 90-44=46, Resulting Numbers: [11, 99, 46] Generated Node #2: [11, 99, 46] from Operation: 90-44=46 Current State: 64:[11, 99, 46], Operations: ['90-44=46'] Exploring Operation: 11+99=110, Resulting Numbers: [46, 110] Generated Node #3: [46, 110] from Operation: 11+99=110 Current State: 64:[46, 110], Operations: ['90-44=46', '11+99=110'] Exploring Operation: 110-46=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[90, 44, 11, 99], Operations: [] Exploring Operation: 99/11=9, Resulting Numbers: [90, 44, 9] Generated Node #0,0: 64:[90, 44, 9] Operation: 99/11=9 Exploring Operation: 99-44=55, Resulting Numbers: [90, 11, 55] Generated Node #0,1: 64:[90, 11, 55] Operation: 99-44=55 Exploring Operation: 99-90=9, Resulting Numbers: [44, 11, 9] Generated Node #0,2: 64:[44, 11, 9] Operation: 99-90=9 Exploring Operation: 90-44=46, Resulting Numbers: [11, 99, 46] Generated Node #0,3: 64:[11, 99, 46] Operation: 90-44=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[44, 11, 9], Operations: ['99-90=9'] Exploring Operation: 44+11=55, Resulting Numbers: [9, 55] Generated Node #0,2,0: 64:[9, 55] Operation: 44+11=55 Exploring Operation: 44/11=4, Resulting Numbers: [9, 4] Generated Node #0,2,1: 64:[9, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [9, 33] Generated Node #0,2,2: 64:[9, 33] Operation: 44-11=33 Exploring Operation: 44-9=35, Resulting Numbers: [11, 35] Generated Node #0,2,3: 64:[11, 35] Operation: 44-9=35 Moving to Node #0,2,1 Current State: 64:[9, 4], Operations: ['99-90=9', '44/11=4'] Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[9, 33], Operations: ['99-90=9', '44-11=33'] Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,64 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[11, 35], Operations: ['99-90=9', '44-9=35'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,64 unequal: No Solution Exploring Operation: 11*35=385, Resulting Numbers: [385] 385,64 unequal: No Solution Exploring Operation: 11+35=46, Resulting Numbers: [46] 46,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[9, 55], Operations: ['99-90=9', '44+11=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,64 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,64 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[90, 44, 11, 99], Operations: [] Exploring Operation: 99-90=9, Resulting Numbers: [44, 11, 9] Generated Node #0,2: 64:[44, 11, 9] Operation: 99-90=9 Moving to Node #0,2 Current State: 64:[44, 11, 9], Operations: ['99-90=9'] Exploring Operation: 44+11=55, Resulting Numbers: [9, 55] Generated Node #0,2,0: 64:[9, 55] Operation: 44+11=55 Moving to Node #0,2,0 Current State: 64:[9, 55], Operations: ['99-90=9', '44+11=55'] Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 36, 72, 53, 9 ]
88
[ "72/36=2", "53-9=44", "2*44=88" ]
Current State: 88:[36, 72, 53, 9], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [53, 9, 2] Generated Node #2: [53, 9, 2] from Operation: 72/36=2 Current State: 88:[53, 9, 2], Operations: ['72/36=2'] Exploring Operation: 53-9=44, Resulting Numbers: [2, 44] Generated Node #3: [2, 44] from Operation: 53-9=44 Current State: 88:[2, 44], Operations: ['72/36=2', '53-9=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[36, 72, 53, 9], Operations: [] Exploring Operation: 36+53=89, Resulting Numbers: [72, 9, 89] Generated Node #0,0: 88:[72, 9, 89] Operation: 36+53=89 Exploring Operation: 72-53=19, Resulting Numbers: [36, 9, 19] Generated Node #0,1: 88:[36, 9, 19] Operation: 72-53=19 Exploring Operation: 72/36=2, Resulting Numbers: [53, 9, 2] Generated Node #0,2: 88:[53, 9, 2] Operation: 72/36=2 Exploring Operation: 72/9=8, Resulting Numbers: [36, 53, 8] Generated Node #0,3: 88:[36, 53, 8] Operation: 72/9=8 Exploring Operation: 72-36=36, Resulting Numbers: [53, 9, 36] Generated Node #0,4: 88:[53, 9, 36] Operation: 72-36=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 88:[53, 9, 2], Operations: ['72/36=2'] Exploring Operation: 9-2=7, Resulting Numbers: [53, 7] Generated Node #0,2,0: 88:[53, 7] Operation: 9-2=7 Exploring Operation: 9+2=11, Resulting Numbers: [53, 11] Generated Node #0,2,1: 88:[53, 11] Operation: 9+2=11 Exploring Operation: 53+2=55, Resulting Numbers: [9, 55] Generated Node #0,2,2: 88:[9, 55] Operation: 53+2=55 Exploring Operation: 53-9=44, Resulting Numbers: [2, 44] Generated Node #0,2,3: 88:[2, 44] Operation: 53-9=44 Exploring Operation: 53-2=51, Resulting Numbers: [9, 51] Generated Node #0,2,4: 88:[9, 51] Operation: 53-2=51 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[2, 44], Operations: ['72/36=2', '53-9=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[36, 72, 53, 9], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [53, 9, 2] Generated Node #0,2: 88:[53, 9, 2] Operation: 72/36=2 Moving to Node #0,2 Current State: 88:[53, 9, 2], Operations: ['72/36=2'] Exploring Operation: 53-9=44, Resulting Numbers: [2, 44] Generated Node #0,2,3: 88:[2, 44] Operation: 53-9=44 Moving to Node #0,2,3 Current State: 88:[2, 44], Operations: ['72/36=2', '53-9=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 46, 60, 51, 31 ]
34
[ "60-46=14", "51-31=20", "14+20=34" ]
Current State: 34:[46, 60, 51, 31], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [51, 31, 14] Generated Node #2: [51, 31, 14] from Operation: 60-46=14 Current State: 34:[51, 31, 14], Operations: ['60-46=14'] Exploring Operation: 51-31=20, Resulting Numbers: [14, 20] Generated Node #3: [14, 20] from Operation: 51-31=20 Current State: 34:[14, 20], Operations: ['60-46=14', '51-31=20'] Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[46, 60, 51, 31], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [46, 60, 20] Generated Node #0,0: 34:[46, 60, 20] Operation: 51-31=20 Exploring Operation: 60-31=29, Resulting Numbers: [46, 51, 29] Generated Node #0,1: 34:[46, 51, 29] Operation: 60-31=29 Exploring Operation: 51-46=5, Resulting Numbers: [60, 31, 5] Generated Node #0,2: 34:[60, 31, 5] Operation: 51-46=5 Exploring Operation: 60-51=9, Resulting Numbers: [46, 31, 9] Generated Node #0,3: 34:[46, 31, 9] Operation: 60-51=9 Exploring Operation: 60-46=14, Resulting Numbers: [51, 31, 14] Generated Node #0,4: 34:[51, 31, 14] Operation: 60-46=14 Moving to Node #0,3 Current State: 34:[46, 31, 9], Operations: ['60-51=9'] Exploring Operation: 46+9=55, Resulting Numbers: [31, 55] Generated Node #0,3,0: 34:[31, 55] Operation: 46+9=55 Exploring Operation: 31+9=40, Resulting Numbers: [46, 40] Generated Node #0,3,1: 34:[46, 40] Operation: 31+9=40 Exploring Operation: 46-9=37, Resulting Numbers: [31, 37] Generated Node #0,3,2: 34:[31, 37] Operation: 46-9=37 Exploring Operation: 46-31=15, Resulting Numbers: [9, 15] Generated Node #0,3,3: 34:[9, 15] Operation: 46-31=15 Exploring Operation: 31-9=22, Resulting Numbers: [46, 22] Generated Node #0,3,4: 34:[46, 22] Operation: 31-9=22 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 34:[31, 37], Operations: ['60-51=9', '46-9=37'] Exploring Operation: 31*37=1147, Resulting Numbers: [1147] 1147,34 unequal: No Solution Exploring Operation: 31+37=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 37-31=6, Resulting Numbers: [6] 6,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:[9, 15], Operations: ['60-51=9', '46-31=15'] Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,34 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,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:[46, 22], Operations: ['60-51=9', '31-9=22'] Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,34 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,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:[46, 40], Operations: ['60-51=9', '31+9=40'] Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,34 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,34 unequal: No Solution Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 34:[31, 55], Operations: ['60-51=9', '46+9=55'] Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,34 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,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:[51, 31, 14], Operations: ['60-46=14'] Exploring Operation: 51-31=20, Resulting Numbers: [14, 20] Generated Node #0,4,0: 34:[14, 20] Operation: 51-31=20 Exploring Operation: 51+14=65, Resulting Numbers: [31, 65] Generated Node #0,4,1: 34:[31, 65] Operation: 51+14=65 Exploring Operation: 31-14=17, Resulting Numbers: [51, 17] Generated Node #0,4,2: 34:[51, 17] Operation: 31-14=17 Exploring Operation: 31+14=45, Resulting Numbers: [51, 45] Generated Node #0,4,3: 34:[51, 45] Operation: 31+14=45 Exploring Operation: 51-14=37, Resulting Numbers: [31, 37] Generated Node #0,4,4: 34:[31, 37] Operation: 51-14=37 Moving to Node #0,2 Current State: 34:[60, 31, 5], Operations: ['51-46=5'] Exploring Operation: 60+5=65, Resulting Numbers: [31, 65] Generated Node #0,2,0: 34:[31, 65] Operation: 60+5=65 Exploring Operation: 60-31=29, Resulting Numbers: [5, 29] Generated Node #0,2,1: 34:[5, 29] Operation: 60-31=29 Exploring Operation: 60-5=55, Resulting Numbers: [31, 55] Generated Node #0,2,2: 34:[31, 55] Operation: 60-5=55 Exploring Operation: 60/5=12, Resulting Numbers: [31, 12] Generated Node #0,2,3: 34:[31, 12] Operation: 60/5=12 Exploring Operation: 31+5=36, Resulting Numbers: [60, 36] Generated Node #0,2,4: 34:[60, 36] Operation: 31+5=36 Moving to Node #0,1 Current State: 34:[46, 51, 29], Operations: ['60-31=29'] Exploring Operation: 46+29=75, Resulting Numbers: [51, 75] Generated Node #0,1,0: 34:[51, 75] Operation: 46+29=75 Exploring Operation: 51-46=5, Resulting Numbers: [29, 5] Generated Node #0,1,1: 34:[29, 5] Operation: 51-46=5 Exploring Operation: 51+29=80, Resulting Numbers: [46, 80] Generated Node #0,1,2: 34:[46, 80] Operation: 51+29=80 Exploring Operation: 46-29=17, Resulting Numbers: [51, 17] Generated Node #0,1,3: 34:[51, 17] Operation: 46-29=17 Exploring Operation: 51-29=22, Resulting Numbers: [46, 22] Generated Node #0,1,4: 34:[46, 22] Operation: 51-29=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[29, 5], Operations: ['60-31=29', '51-46=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,34 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[46, 60, 51, 31], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [46, 51, 29] Generated Node #0,1: 34:[46, 51, 29] Operation: 60-31=29 Moving to Node #0,1 Current State: 34:[46, 51, 29], Operations: ['60-31=29'] Exploring Operation: 51-46=5, Resulting Numbers: [29, 5] Generated Node #0,1,1: 34:[29, 5] Operation: 51-46=5 Moving to Node #0,1,1 Current State: 34:[29, 5], Operations: ['60-31=29', '51-46=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 22, 42, 64, 24 ]
90
[ "42*64=2688", "2688/24=112", "112-22=90" ]
Current State: 90:[22, 42, 64, 24], Operations: [] Exploring Operation: 42*64=2688, Resulting Numbers: [22, 24, 2688] Generated Node #2: [22, 24, 2688] from Operation: 42*64=2688 Current State: 90:[22, 24, 2688], Operations: ['42*64=2688'] Exploring Operation: 2688/24=112, Resulting Numbers: [22, 112] Generated Node #3: [22, 112] from Operation: 2688/24=112 Current State: 90:[22, 112], Operations: ['42*64=2688', '2688/24=112'] Exploring Operation: 112-22=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[22, 42, 64, 24], Operations: [] Exploring Operation: 64+24=88, Resulting Numbers: [22, 42, 88] Generated Node #0,0: 90:[22, 42, 88] Operation: 64+24=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[22, 42, 88], Operations: ['64+24=88'] Exploring Operation: 42-22=20, Resulting Numbers: [88, 20] Generated Node #0,0,0: 90:[88, 20] Operation: 42-22=20 Moving to Node #0,0,0 Current State: 90:[88, 20], Operations: ['64+24=88', '42-22=20'] Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,90 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
[ 79, 39, 3, 78 ]
42
[ "79-39=40", "3*40=120", "120-78=42" ]
Current State: 42:[79, 39, 3, 78], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [3, 78, 40] Generated Node #2: [3, 78, 40] from Operation: 79-39=40 Current State: 42:[3, 78, 40], Operations: ['79-39=40'] Exploring Operation: 3*40=120, Resulting Numbers: [78, 120] Generated Node #3: [78, 120] from Operation: 3*40=120 Current State: 42:[78, 120], Operations: ['79-39=40', '3*40=120'] Exploring Operation: 120-78=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[79, 39, 3, 78], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [39, 3, 1] Generated Node #0,0: 42:[39, 3, 1] Operation: 79-78=1 Exploring Operation: 78/39=2, Resulting Numbers: [79, 3, 2] Generated Node #0,1: 42:[79, 3, 2] Operation: 78/39=2 Moving to Node #0,0 Current State: 42:[39, 3, 1], Operations: ['79-78=1'] Exploring Operation: 39+3=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 39+3=42 Exploring Operation: 39/3=13, Resulting Numbers: [1, 13] Generated Node #0,0,1: 42:[1, 13] Operation: 39/3=13 Moving to Node #0,1 Current State: 42:[79, 3, 2], Operations: ['78/39=2'] Exploring Operation: 79-2=77, Resulting Numbers: [3, 77] Generated Node #0,1,0: 42:[3, 77] Operation: 79-2=77 Exploring Operation: 79-3=76, Resulting Numbers: [2, 76] Generated Node #0,1,1: 42:[2, 76] Operation: 79-3=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[2, 76], Operations: ['78/39=2', '79-3=76'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[3, 77], Operations: ['78/39=2', '79-2=77'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,42 unequal: No Solution Exploring Operation: 3+77=80, Resulting Numbers: [80] 80,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['79-78=1', '39+3=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[79, 39, 3, 78], Operations: [] Exploring Operation: 79-78=1, Resulting Numbers: [39, 3, 1] Generated Node #0,0: 42:[39, 3, 1] Operation: 79-78=1 Moving to Node #0,0 Current State: 42:[39, 3, 1], Operations: ['79-78=1'] Exploring Operation: 39+3=42, Resulting Numbers: [1, 42] Generated Node #0,0,0: 42:[1, 42] Operation: 39+3=42 Moving to Node #0,0,0 Current State: 42:[1, 42], Operations: ['79-78=1', '39+3=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 31, 52, 4, 58 ]
62
[ "52+4=56", "58-56=2", "31*2=62" ]
Current State: 62:[31, 52, 4, 58], Operations: [] Exploring Operation: 52+4=56, Resulting Numbers: [31, 58, 56] Generated Node #2: [31, 58, 56] from Operation: 52+4=56 Current State: 62:[31, 58, 56], Operations: ['52+4=56'] Exploring Operation: 58-56=2, Resulting Numbers: [31, 2] Generated Node #3: [31, 2] from Operation: 58-56=2 Current State: 62:[31, 2], Operations: ['52+4=56', '58-56=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[31, 52, 4, 58], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [31, 4, 6] Generated Node #0,0: 62:[31, 4, 6] Operation: 58-52=6 Moving to Node #0,0 Current State: 62:[31, 4, 6], Operations: ['58-52=6'] Exploring Operation: 6-4=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 62:[31, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[31, 2], Operations: ['58-52=6', '6-4=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[31, 52, 4, 58], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [31, 4, 6] Generated Node #0,0: 62:[31, 4, 6] Operation: 58-52=6 Moving to Node #0,0 Current State: 62:[31, 4, 6], Operations: ['58-52=6'] Exploring Operation: 6-4=2, Resulting Numbers: [31, 2] Generated Node #0,0,0: 62:[31, 2] Operation: 6-4=2 Moving to Node #0,0,0 Current State: 62:[31, 2], Operations: ['58-52=6', '6-4=2'] Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 88, 1, 47, 11 ]
56
[ "88/11=8", "1+47=48", "8+48=56" ]
Current State: 56:[88, 1, 47, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [1, 47, 8] Generated Node #2: [1, 47, 8] from Operation: 88/11=8 Current State: 56:[1, 47, 8], Operations: ['88/11=8'] Exploring Operation: 1+47=48, Resulting Numbers: [8, 48] Generated Node #3: [8, 48] from Operation: 1+47=48 Current State: 56:[8, 48], Operations: ['88/11=8', '1+47=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[88, 1, 47, 11], Operations: [] Exploring Operation: 47-11=36, Resulting Numbers: [88, 1, 36] Generated Node #0,0: 56:[88, 1, 36] Operation: 47-11=36 Exploring Operation: 88/11=8, Resulting Numbers: [1, 47, 8] Generated Node #0,1: 56:[1, 47, 8] Operation: 88/11=8 Exploring Operation: 88-47=41, Resulting Numbers: [1, 11, 41] Generated Node #0,2: 56:[1, 11, 41] Operation: 88-47=41 Exploring Operation: 88-11=77, Resulting Numbers: [1, 47, 77] Generated Node #0,3: 56:[1, 47, 77] Operation: 88-11=77 Exploring Operation: 47+11=58, Resulting Numbers: [88, 1, 58] Generated Node #0,4: 56:[88, 1, 58] Operation: 47+11=58 Moving to Node #0,1 Current State: 56:[1, 47, 8], Operations: ['88/11=8'] Exploring Operation: 1*47=47, Resulting Numbers: [8, 47] Generated Node #0,1,0: 56:[8, 47] Operation: 1*47=47 Exploring Operation: 47+8=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 56:[1, 55] Operation: 47+8=55 Exploring Operation: 47/1=47, Resulting Numbers: [8, 47] Generated Node #0,1,2: 56:[8, 47] Operation: 47/1=47 Exploring Operation: 1*8=8, Resulting Numbers: [47, 8] Generated Node #0,1,3: 56:[47, 8] Operation: 1*8=8 Exploring Operation: 1+47=48, Resulting Numbers: [8, 48] Generated Node #0,1,4: 56:[8, 48] Operation: 1+47=48 Moving to Node #0,2 Current State: 56:[1, 11, 41], Operations: ['88-47=41'] Exploring Operation: 11+41=52, Resulting Numbers: [1, 52] Generated Node #0,2,0: 56:[1, 52] Operation: 11+41=52 Exploring Operation: 41-1=40, Resulting Numbers: [11, 40] Generated Node #0,2,1: 56:[11, 40] Operation: 41-1=40 Exploring Operation: 41-11=30, Resulting Numbers: [1, 30] Generated Node #0,2,2: 56:[1, 30] Operation: 41-11=30 Exploring Operation: 11-1=10, Resulting Numbers: [41, 10] Generated Node #0,2,3: 56:[41, 10] Operation: 11-1=10 Exploring Operation: 1+11=12, Resulting Numbers: [41, 12] Generated Node #0,2,4: 56:[41, 12] Operation: 1+11=12 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[1, 30], Operations: ['88-47=41', '41-11=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[1, 52], Operations: ['88-47=41', '11+41=52'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[11, 40], Operations: ['88-47=41', '41-1=40'] Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,56 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[41, 10], Operations: ['88-47=41', '11-1=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[41, 12], Operations: ['88-47=41', '1+11=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,56 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: 56:[1, 47, 77], Operations: ['88-11=77'] Exploring Operation: 1+47=48, Resulting Numbers: [77, 48] Generated Node #0,3,0: 56:[77, 48] Operation: 1+47=48 Exploring Operation: 47/1=47, Resulting Numbers: [77, 47] Generated Node #0,3,1: 56:[77, 47] Operation: 47/1=47 Exploring Operation: 77-1=76, Resulting Numbers: [47, 76] Generated Node #0,3,2: 56:[47, 76] Operation: 77-1=76 Exploring Operation: 77-47=30, Resulting Numbers: [1, 30] Generated Node #0,3,3: 56:[1, 30] Operation: 77-47=30 Exploring Operation: 1*47=47, Resulting Numbers: [77, 47] Generated Node #0,3,4: 56:[77, 47] Operation: 1*47=47 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[1, 30], Operations: ['88-11=77', '77-47=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[77, 48], Operations: ['88-11=77', '1+47=48'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,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,2 Current State: 56:[47, 76], Operations: ['88-11=77', '77-1=76'] Exploring Operation: 47+76=123, Resulting Numbers: [123] 123,56 unequal: No Solution Exploring Operation: 76-47=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 47*76=3572, Resulting Numbers: [3572] 3572,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:[77, 47], Operations: ['88-11=77', '47/1=47'] Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 77+47=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 77*47=3619, Resulting Numbers: [3619] 3619,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:[77, 47], Operations: ['88-11=77', '1*47=47'] Exploring Operation: 77*47=3619, Resulting Numbers: [3619] 3619,56 unequal: No Solution Exploring Operation: 77+47=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,56 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: 56:[88, 1, 58], Operations: ['47+11=58'] Exploring Operation: 88*1=88, Resulting Numbers: [58, 88] Generated Node #0,4,0: 56:[58, 88] Operation: 88*1=88 Exploring Operation: 58-1=57, Resulting Numbers: [88, 57] Generated Node #0,4,1: 56:[88, 57] Operation: 58-1=57 Exploring Operation: 88-1=87, Resulting Numbers: [58, 87] Generated Node #0,4,2: 56:[58, 87] Operation: 88-1=87 Exploring Operation: 88-58=30, Resulting Numbers: [1, 30] Generated Node #0,4,3: 56:[1, 30] Operation: 88-58=30 Exploring Operation: 88/1=88, Resulting Numbers: [58, 88] Generated Node #0,4,4: 56:[58, 88] Operation: 88/1=88 Moving to Node #0,0 Current State: 56:[88, 1, 36], Operations: ['47-11=36'] Exploring Operation: 88/1=88, Resulting Numbers: [36, 88] Generated Node #0,0,0: 56:[36, 88] Operation: 88/1=88 Exploring Operation: 88-36=52, Resulting Numbers: [1, 52] Generated Node #0,0,1: 56:[1, 52] Operation: 88-36=52 Exploring Operation: 88-1=87, Resulting Numbers: [36, 87] Generated Node #0,0,2: 56:[36, 87] Operation: 88-1=87 Exploring Operation: 88*1=88, Resulting Numbers: [36, 88] Generated Node #0,0,3: 56:[36, 88] Operation: 88*1=88 Exploring Operation: 36-1=35, Resulting Numbers: [88, 35] Generated Node #0,0,4: 56:[88, 35] Operation: 36-1=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[1, 52], Operations: ['47-11=36', '88-36=52'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,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,2 Current State: 56:[36, 87], Operations: ['47-11=36', '88-1=87'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,56 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,56 unequal: No Solution Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,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,4 Current State: 56:[88, 35], Operations: ['47-11=36', '36-1=35'] Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,56 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,56 unequal: No Solution Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,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,0 Current State: 56:[36, 88], Operations: ['47-11=36', '88/1=88'] Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,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,3 Current State: 56:[36, 88], Operations: ['47-11=36', '88*1=88'] Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,56 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,56 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 56:[1, 55], Operations: ['88/11=8', '47+8=55'] Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[88, 1, 47, 11], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [1, 47, 8] Generated Node #0,1: 56:[1, 47, 8] Operation: 88/11=8 Moving to Node #0,1 Current State: 56:[1, 47, 8], Operations: ['88/11=8'] Exploring Operation: 47+8=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 56:[1, 55] Operation: 47+8=55 Moving to Node #0,1,1 Current State: 56:[1, 55], Operations: ['88/11=8', '47+8=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.926215
hs_5
mult_heuristic
[ 85, 68, 8, 11 ]
80
[ "85+11=96", "96/8=12", "68+12=80" ]
Current State: 80:[85, 68, 8, 11], Operations: [] Exploring Operation: 85+11=96, Resulting Numbers: [68, 8, 96] Generated Node #2: [68, 8, 96] from Operation: 85+11=96 Current State: 80:[68, 8, 96], Operations: ['85+11=96'] Exploring Operation: 96/8=12, Resulting Numbers: [68, 12] Generated Node #3: [68, 12] from Operation: 96/8=12 Current State: 80:[68, 12], Operations: ['85+11=96', '96/8=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[85, 68, 8, 11], Operations: [] Exploring Operation: 85-68=17, Resulting Numbers: [8, 11, 17] Generated Node #0,0: 80:[8, 11, 17] Operation: 85-68=17 Exploring Operation: 68+11=79, Resulting Numbers: [85, 8, 79] Generated Node #0,1: 80:[85, 8, 79] Operation: 68+11=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[8, 11, 17], Operations: ['85-68=17'] Exploring Operation: 8+11=19, Resulting Numbers: [17, 19] Generated Node #0,0,0: 80:[17, 19] Operation: 8+11=19 Exploring Operation: 17-11=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 80:[8, 6] Operation: 17-11=6 Moving to Node #0,0,1 Current State: 80:[8, 6], Operations: ['85-68=17', '17-11=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[17, 19], Operations: ['85-68=17', '8+11=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,80 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[85, 8, 79], Operations: ['68+11=79'] Exploring Operation: 85-79=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 80:[8, 6] Operation: 85-79=6 Exploring Operation: 85-8=77, Resulting Numbers: [79, 77] Generated Node #0,1,1: 80:[79, 77] Operation: 85-8=77 Moving to Node #0,1,0 Current State: 80:[8, 6], Operations: ['68+11=79', '85-79=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[79, 77], Operations: ['68+11=79', '85-8=77'] Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 79+77=156, Resulting Numbers: [156] 156,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 12, 88, 40, 24 ]
68
[ "12*40=480", "480/24=20", "88-20=68" ]
Current State: 68:[12, 88, 40, 24], Operations: [] Exploring Operation: 12*40=480, Resulting Numbers: [88, 24, 480] Generated Node #2: [88, 24, 480] from Operation: 12*40=480 Current State: 68:[88, 24, 480], Operations: ['12*40=480'] Exploring Operation: 480/24=20, Resulting Numbers: [88, 20] Generated Node #3: [88, 20] from Operation: 480/24=20 Current State: 68:[88, 20], Operations: ['12*40=480', '480/24=20'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[12, 88, 40, 24], Operations: [] Exploring Operation: 88-12=76, Resulting Numbers: [40, 24, 76] Generated Node #0,0: 68:[40, 24, 76] Operation: 88-12=76 Exploring Operation: 88-24=64, Resulting Numbers: [12, 40, 64] Generated Node #0,1: 68:[12, 40, 64] Operation: 88-24=64 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[12, 40, 64], Operations: ['88-24=64'] Exploring Operation: 64-40=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 68:[12, 24] Operation: 64-40=24 Exploring Operation: 40-12=28, Resulting Numbers: [64, 28] Generated Node #0,1,1: 68:[64, 28] Operation: 40-12=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[64, 28], Operations: ['88-24=64', '40-12=28'] Exploring Operation: 64-28=36, Resulting Numbers: [36] 36,68 unequal: No Solution Exploring Operation: 64+28=92, Resulting Numbers: [92] 92,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[12, 24], Operations: ['88-24=64', '64-40=24'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[40, 24, 76], Operations: ['88-12=76'] Exploring Operation: 76-40=36, Resulting Numbers: [24, 36] Generated Node #0,0,0: 68:[24, 36] Operation: 76-40=36 Exploring Operation: 40-24=16, Resulting Numbers: [76, 16] Generated Node #0,0,1: 68:[76, 16] Operation: 40-24=16 Moving to Node #0,0,0 Current State: 68:[24, 36], Operations: ['88-12=76', '76-40=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[76, 16], Operations: ['88-12=76', '40-24=16'] Exploring Operation: 76+16=92, Resulting Numbers: [92] 92,68 unequal: No Solution Exploring Operation: 76-16=60, Resulting Numbers: [60] 60,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 66, 5, 34, 53 ]
99
[ "66-53=13", "5*13=65", "34+65=99" ]
Current State: 99:[66, 5, 34, 53], Operations: [] Exploring Operation: 66-53=13, Resulting Numbers: [5, 34, 13] Generated Node #2: [5, 34, 13] from Operation: 66-53=13 Current State: 99:[5, 34, 13], Operations: ['66-53=13'] Exploring Operation: 5*13=65, Resulting Numbers: [34, 65] Generated Node #3: [34, 65] from Operation: 5*13=65 Current State: 99:[34, 65], Operations: ['66-53=13', '5*13=65'] Exploring Operation: 34+65=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[66, 5, 34, 53], Operations: [] Exploring Operation: 66+34=100, Resulting Numbers: [5, 53, 100] Generated Node #0,0: 99:[5, 53, 100] Operation: 66+34=100 Exploring Operation: 66-34=32, Resulting Numbers: [5, 53, 32] Generated Node #0,1: 99:[5, 53, 32] Operation: 66-34=32 Exploring Operation: 53-34=19, Resulting Numbers: [66, 5, 19] Generated Node #0,2: 99:[66, 5, 19] Operation: 53-34=19 Exploring Operation: 66-53=13, Resulting Numbers: [5, 34, 13] Generated Node #0,3: 99:[5, 34, 13] Operation: 66-53=13 Exploring Operation: 66+53=119, Resulting Numbers: [5, 34, 119] Generated Node #0,4: 99:[5, 34, 119] Operation: 66+53=119 Moving to Node #0,3 Current State: 99:[5, 34, 13], Operations: ['66-53=13'] Exploring Operation: 5+34=39, Resulting Numbers: [13, 39] Generated Node #0,3,0: 99:[13, 39] Operation: 5+34=39 Exploring Operation: 5+13=18, Resulting Numbers: [34, 18] Generated Node #0,3,1: 99:[34, 18] Operation: 5+13=18 Exploring Operation: 13-5=8, Resulting Numbers: [34, 8] Generated Node #0,3,2: 99:[34, 8] Operation: 13-5=8 Exploring Operation: 34-13=21, Resulting Numbers: [5, 21] Generated Node #0,3,3: 99:[5, 21] Operation: 34-13=21 Exploring Operation: 34-5=29, Resulting Numbers: [13, 29] Generated Node #0,3,4: 99:[13, 29] Operation: 34-5=29 Moving to Node #0,1 Current State: 99:[5, 53, 32], Operations: ['66-34=32'] Exploring Operation: 53-32=21, Resulting Numbers: [5, 21] Generated Node #0,1,0: 99:[5, 21] Operation: 53-32=21 Exploring Operation: 5+32=37, Resulting Numbers: [53, 37] Generated Node #0,1,1: 99:[53, 37] Operation: 5+32=37 Exploring Operation: 5+53=58, Resulting Numbers: [32, 58] Generated Node #0,1,2: 99:[32, 58] Operation: 5+53=58 Exploring Operation: 53-5=48, Resulting Numbers: [32, 48] Generated Node #0,1,3: 99:[32, 48] Operation: 53-5=48 Exploring Operation: 53+32=85, Resulting Numbers: [5, 85] Generated Node #0,1,4: 99:[5, 85] Operation: 53+32=85 Moving to Node #0,0 Current State: 99:[5, 53, 100], Operations: ['66+34=100'] Exploring Operation: 100-53=47, Resulting Numbers: [5, 47] Generated Node #0,0,0: 99:[5, 47] Operation: 100-53=47 Exploring Operation: 53-5=48, Resulting Numbers: [100, 48] Generated Node #0,0,1: 99:[100, 48] Operation: 53-5=48 Exploring Operation: 100-5=95, Resulting Numbers: [53, 95] Generated Node #0,0,2: 99:[53, 95] Operation: 100-5=95 Exploring Operation: 5+53=58, Resulting Numbers: [100, 58] Generated Node #0,0,3: 99:[100, 58] Operation: 5+53=58 Exploring Operation: 5+100=105, Resulting Numbers: [53, 105] Generated Node #0,0,4: 99:[53, 105] Operation: 5+100=105 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[5, 47], Operations: ['66+34=100', '100-53=47'] Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,99 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[100, 48], Operations: ['66+34=100', '53-5=48'] Exploring Operation: 100+48=148, Resulting Numbers: [148] 148,99 unequal: No Solution Exploring Operation: 100-48=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 100*48=4800, Resulting Numbers: [4800] 4800,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[53, 95], Operations: ['66+34=100', '100-5=95'] Exploring Operation: 53*95=5035, Resulting Numbers: [5035] 5035,99 unequal: No Solution Exploring Operation: 53+95=148, Resulting Numbers: [148] 148,99 unequal: No Solution Exploring Operation: 95-53=42, Resulting Numbers: [42] 42,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 99:[100, 58], Operations: ['66+34=100', '5+53=58'] Exploring Operation: 100-58=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 100*58=5800, Resulting Numbers: [5800] 5800,99 unequal: No Solution Exploring Operation: 100+58=158, Resulting Numbers: [158] 158,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 99:[53, 105], Operations: ['66+34=100', '5+100=105'] Exploring Operation: 105-53=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 53+105=158, Resulting Numbers: [158] 158,99 unequal: No Solution Exploring Operation: 53*105=5565, Resulting Numbers: [5565] 5565,99 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: 99:[5, 34, 119], Operations: ['66+53=119'] Exploring Operation: 34-5=29, Resulting Numbers: [119, 29] Generated Node #0,4,0: 99:[119, 29] Operation: 34-5=29 Exploring Operation: 5+119=124, Resulting Numbers: [34, 124] Generated Node #0,4,1: 99:[34, 124] Operation: 5+119=124 Exploring Operation: 5+34=39, Resulting Numbers: [119, 39] Generated Node #0,4,2: 99:[119, 39] Operation: 5+34=39 Exploring Operation: 119-34=85, Resulting Numbers: [5, 85] Generated Node #0,4,3: 99:[5, 85] Operation: 119-34=85 Exploring Operation: 119-5=114, Resulting Numbers: [34, 114] Generated Node #0,4,4: 99:[34, 114] Operation: 119-5=114 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 99:[5, 85], Operations: ['66+53=119', '119-34=85'] Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 99:[34, 114], Operations: ['66+53=119', '119-5=114'] Exploring Operation: 34+114=148, Resulting Numbers: [148] 148,99 unequal: No Solution Exploring Operation: 114-34=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 34*114=3876, Resulting Numbers: [3876] 3876,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 99:[119, 29], Operations: ['66+53=119', '34-5=29'] Exploring Operation: 119-29=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 119*29=3451, Resulting Numbers: [3451] 3451,99 unequal: No Solution Exploring Operation: 119+29=148, Resulting Numbers: [148] 148,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 99:[34, 124], Operations: ['66+53=119', '5+119=124'] Exploring Operation: 34*124=4216, Resulting Numbers: [4216] 4216,99 unequal: No Solution Exploring Operation: 34+124=158, Resulting Numbers: [158] 158,99 unequal: No Solution Exploring Operation: 124-34=90, Resulting Numbers: [90] 90,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 99:[119, 39], Operations: ['66+53=119', '5+34=39'] Exploring Operation: 119+39=158, Resulting Numbers: [158] 158,99 unequal: No Solution Exploring Operation: 119-39=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 119*39=4641, Resulting Numbers: [4641] 4641,99 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: 99:[66, 5, 19], Operations: ['53-34=19'] Exploring Operation: 66+19=85, Resulting Numbers: [5, 85] Generated Node #0,2,0: 99:[5, 85] Operation: 66+19=85 Exploring Operation: 66+5=71, Resulting Numbers: [19, 71] Generated Node #0,2,1: 99:[19, 71] Operation: 66+5=71 Exploring Operation: 19-5=14, Resulting Numbers: [66, 14] Generated Node #0,2,2: 99:[66, 14] Operation: 19-5=14 Exploring Operation: 66-19=47, Resulting Numbers: [5, 47] Generated Node #0,2,3: 99:[5, 47] Operation: 66-19=47 Exploring Operation: 66-5=61, Resulting Numbers: [19, 61] Generated Node #0,2,4: 99:[19, 61] Operation: 66-5=61 Moving to Node #0,3,2 Current State: 99:[34, 8], Operations: ['66-53=13', '13-5=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,99 unequal: No Solution Moving to Node #0,3,4 Current State: 99:[13, 29], Operations: ['66-53=13', '34-5=29'] Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 13*29=377, Resulting Numbers: [377] 377,99 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,3,0 Current State: 99:[13, 39], Operations: ['66-53=13', '5+34=39'] Exploring Operation: 39-13=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 39/13=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 13*39=507, Resulting Numbers: [507] 507,99 unequal: No Solution Moving to Node #0,3,1 Current State: 99:[34, 18], Operations: ['66-53=13', '5+13=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,99 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[5, 21], Operations: ['66-34=32', '53-32=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,99 unequal: No Solution Moving to Node #0,3,3 Current State: 99:[5, 21], Operations: ['66-53=13', '34-13=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[32, 48], Operations: ['66-34=32', '53-5=48'] Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,99 unequal: No Solution Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[5, 47], Operations: ['53-34=19', '66-19=47'] Exploring Operation: 47-5=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 5+47=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 5*47=235, Resulting Numbers: [235] 235,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[5, 85], Operations: ['53-34=19', '66+19=85'] Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,99 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,99 unequal: No Solution Moving to Node #0,1,4 Current State: 99:[5, 85], Operations: ['66-34=32', '53+32=85'] Exploring Operation: 5*85=425, Resulting Numbers: [425] 425,99 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,99 unequal: No Solution Exploring Operation: 5+85=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,99 unequal: No Solution Moving to Node #0,1,1 Current State: 99:[53, 37], Operations: ['66-34=32', '5+32=37'] Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,99 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,99 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[32, 58], Operations: ['66-34=32', '5+53=58'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,99 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[19, 71], Operations: ['53-34=19', '66+5=71'] Exploring Operation: 19*71=1349, Resulting Numbers: [1349] 1349,99 unequal: No Solution Exploring Operation: 71-19=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 19+71=90, Resulting Numbers: [90] 90,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[19, 61], Operations: ['53-34=19', '66-5=61'] Exploring Operation: 61-19=42, Resulting Numbers: [42] 42,99 unequal: No Solution Exploring Operation: 19*61=1159, Resulting Numbers: [1159] 1159,99 unequal: No Solution Exploring Operation: 19+61=80, Resulting Numbers: [80] 80,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[66, 14], Operations: ['53-34=19', '19-5=14'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,99 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,99 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,99 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 68, 54, 57, 20 ]
55
[ "54-20=34", "68/34=2", "57-2=55" ]
Current State: 55:[68, 54, 57, 20], Operations: [] Exploring Operation: 54-20=34, Resulting Numbers: [68, 57, 34] Generated Node #2: [68, 57, 34] from Operation: 54-20=34 Current State: 55:[68, 57, 34], Operations: ['54-20=34'] Exploring Operation: 68/34=2, Resulting Numbers: [57, 2] Generated Node #3: [57, 2] from Operation: 68/34=2 Current State: 55:[57, 2], Operations: ['54-20=34', '68/34=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[68, 54, 57, 20], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [54, 20, 11] Generated Node #0,0: 55:[54, 20, 11] Operation: 68-57=11 Exploring Operation: 68-20=48, Resulting Numbers: [54, 57, 48] Generated Node #0,1: 55:[54, 57, 48] Operation: 68-20=48 Moving to Node #0,0 Current State: 55:[54, 20, 11], Operations: ['68-57=11'] Exploring Operation: 20-11=9, Resulting Numbers: [54, 9] Generated Node #0,0,0: 55:[54, 9] Operation: 20-11=9 Exploring Operation: 54+20=74, Resulting Numbers: [11, 74] Generated Node #0,0,1: 55:[11, 74] Operation: 54+20=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[54, 9], Operations: ['68-57=11', '20-11=9'] Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[11, 74], Operations: ['68-57=11', '54+20=74'] Exploring Operation: 11+74=85, Resulting Numbers: [85] 85,55 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 55:[54, 57, 48], Operations: ['68-20=48'] Exploring Operation: 54-48=6, Resulting Numbers: [57, 6] Generated Node #0,1,0: 55:[57, 6] Operation: 54-48=6 Exploring Operation: 57-48=9, Resulting Numbers: [54, 9] Generated Node #0,1,1: 55:[54, 9] Operation: 57-48=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[57, 6], Operations: ['68-20=48', '54-48=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,55 unequal: No Solution Exploring Operation: 57-6=51, Resulting Numbers: [51] 51,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 55:[54, 9], Operations: ['68-20=48', '57-48=9'] Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,55 unequal: No Solution Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 11, 11, 80, 5 ]
75
[ "11-11=0", "80-5=75", "0+75=75" ]
Current State: 75:[11, 11, 80, 5], Operations: [] Exploring Operation: 11-11=0, Resulting Numbers: [80, 5, 0] Generated Node #2: [80, 5, 0] from Operation: 11-11=0 Current State: 75:[80, 5, 0], Operations: ['11-11=0'] Exploring Operation: 80-5=75, Resulting Numbers: [0, 75] Generated Node #3: [0, 75] from Operation: 80-5=75 Current State: 75:[0, 75], Operations: ['11-11=0', '80-5=75'] Exploring Operation: 0+75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[11, 11, 80, 5], Operations: [] Exploring Operation: 11+11=22, Resulting Numbers: [80, 5, 22] Generated Node #0,0: 75:[80, 5, 22] Operation: 11+11=22 Exploring Operation: 11/11=1, Resulting Numbers: [80, 5, 1] Generated Node #0,1: 75:[80, 5, 1] Operation: 11/11=1 Moving to Node #0,1 Current State: 75:[80, 5, 1], Operations: ['11/11=1'] Exploring Operation: 80/5=16, Resulting Numbers: [1, 16] Generated Node #0,1,0: 75:[1, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [1, 75] Generated Node #0,1,1: 75:[1, 75] Operation: 80-5=75 Moving to Node #0,0 Current State: 75:[80, 5, 22], Operations: ['11+11=22'] Exploring Operation: 80/5=16, Resulting Numbers: [22, 16] Generated Node #0,0,0: 75:[22, 16] Operation: 80/5=16 Exploring Operation: 80-5=75, Resulting Numbers: [22, 75] Generated Node #0,0,1: 75:[22, 75] Operation: 80-5=75 Moving to Node #0,1,1 Current State: 75:[1, 75], Operations: ['11/11=1', '80-5=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[11, 11, 80, 5], Operations: [] Exploring Operation: 11/11=1, Resulting Numbers: [80, 5, 1] Generated Node #0,1: 75:[80, 5, 1] Operation: 11/11=1 Moving to Node #0,1 Current State: 75:[80, 5, 1], Operations: ['11/11=1'] Exploring Operation: 80-5=75, Resulting Numbers: [1, 75] Generated Node #0,1,1: 75:[1, 75] Operation: 80-5=75 Moving to Node #0,1,1 Current State: 75:[1, 75], Operations: ['11/11=1', '80-5=75'] Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 2, 63, 30, 47 ]
61
[ "2*47=94", "63-30=33", "94-33=61" ]
Current State: 61:[2, 63, 30, 47], Operations: [] Exploring Operation: 2*47=94, Resulting Numbers: [63, 30, 94] Generated Node #2: [63, 30, 94] from Operation: 2*47=94 Current State: 61:[63, 30, 94], Operations: ['2*47=94'] Exploring Operation: 63-30=33, Resulting Numbers: [94, 33] Generated Node #3: [94, 33] from Operation: 63-30=33 Current State: 61:[94, 33], Operations: ['2*47=94', '63-30=33'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[2, 63, 30, 47], Operations: [] Exploring Operation: 2*30=60, Resulting Numbers: [63, 47, 60] Generated Node #0,0: 61:[63, 47, 60] Operation: 2*30=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[63, 47, 60], Operations: ['2*30=60'] Exploring Operation: 63-47=16, Resulting Numbers: [60, 16] Generated Node #0,0,0: 61:[60, 16] Operation: 63-47=16 Moving to Node #0,0,0 Current State: 61:[60, 16], Operations: ['2*30=60', '63-47=16'] Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,61 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
[ 5, 28, 23, 14 ]
19
[ "5*14=70", "28+23=51", "70-51=19" ]
Current State: 19:[5, 28, 23, 14], Operations: [] Exploring Operation: 5*14=70, Resulting Numbers: [28, 23, 70] Generated Node #2: [28, 23, 70] from Operation: 5*14=70 Current State: 19:[28, 23, 70], Operations: ['5*14=70'] Exploring Operation: 28+23=51, Resulting Numbers: [70, 51] Generated Node #3: [70, 51] from Operation: 28+23=51 Current State: 19:[70, 51], Operations: ['5*14=70', '28+23=51'] Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[5, 28, 23, 14], Operations: [] Exploring Operation: 5+14=19, Resulting Numbers: [28, 23, 19] Generated Node #0,0: 19:[28, 23, 19] Operation: 5+14=19 Exploring Operation: 28-5=23, Resulting Numbers: [23, 14, 23] Generated Node #0,1: 19:[23, 14, 23] Operation: 28-5=23 Moving to Node #0,0 Current State: 19:[28, 23, 19], Operations: ['5+14=19'] Exploring Operation: 28-23=5, Resulting Numbers: [19, 5] Generated Node #0,0,0: 19:[19, 5] Operation: 28-23=5 Exploring Operation: 28-19=9, Resulting Numbers: [23, 9] Generated Node #0,0,1: 19:[23, 9] Operation: 28-19=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[19, 5], Operations: ['5+14=19', '28-23=5'] Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 19:[23, 9], Operations: ['5+14=19', '28-19=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 19:[23, 14, 23], Operations: ['28-5=23'] Exploring Operation: 23-14=9, Resulting Numbers: [23, 9] Generated Node #0,1,0: 19:[23, 9] Operation: 23-14=9 Exploring Operation: 23-14=9, Resulting Numbers: [23, 9] Generated Node #0,1,1: 19:[23, 9] Operation: 23-14=9 Moving to Node #0,1,0 Current State: 19:[23, 9], Operations: ['28-5=23', '23-14=9'] Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,19 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[23, 9], Operations: ['28-5=23', '23-14=9'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 23+9=32, Resulting Numbers: [32] 32,19 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 76, 65, 1, 29 ]
41
[ "76-65=11", "1+29=30", "11+30=41" ]
Current State: 41:[76, 65, 1, 29], Operations: [] Exploring Operation: 76-65=11, Resulting Numbers: [1, 29, 11] Generated Node #2: [1, 29, 11] from Operation: 76-65=11 Current State: 41:[1, 29, 11], Operations: ['76-65=11'] Exploring Operation: 1+29=30, Resulting Numbers: [11, 30] Generated Node #3: [11, 30] from Operation: 1+29=30 Current State: 41:[11, 30], Operations: ['76-65=11', '1+29=30'] Exploring Operation: 11+30=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[76, 65, 1, 29], Operations: [] Exploring Operation: 76-29=47, Resulting Numbers: [65, 1, 47] Generated Node #0,0: 41:[65, 1, 47] Operation: 76-29=47 Exploring Operation: 76-1=75, Resulting Numbers: [65, 29, 75] Generated Node #0,1: 41:[65, 29, 75] Operation: 76-1=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[65, 1, 47], Operations: ['76-29=47'] Exploring Operation: 65-1=64, Resulting Numbers: [47, 64] Generated Node #0,0,0: 41:[47, 64] Operation: 65-1=64 Exploring Operation: 47-1=46, Resulting Numbers: [65, 46] Generated Node #0,0,1: 41:[65, 46] Operation: 47-1=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[47, 64], Operations: ['76-29=47', '65-1=64'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,41 unequal: No Solution Exploring Operation: 47+64=111, Resulting Numbers: [111] 111,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[65, 46], Operations: ['76-29=47', '47-1=46'] Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[65, 29, 75], Operations: ['76-1=75'] Exploring Operation: 65-29=36, Resulting Numbers: [75, 36] Generated Node #0,1,0: 41:[75, 36] Operation: 65-29=36 Exploring Operation: 75-29=46, Resulting Numbers: [65, 46] Generated Node #0,1,1: 41:[65, 46] Operation: 75-29=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[65, 46], Operations: ['76-1=75', '75-29=46'] Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[75, 36], Operations: ['76-1=75', '65-29=36'] Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 75+36=111, Resulting Numbers: [111] 111,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 32, 90, 2, 13 ]
73
[ "90-32=58", "2+13=15", "58+15=73" ]
Current State: 73:[32, 90, 2, 13], Operations: [] Exploring Operation: 90-32=58, Resulting Numbers: [2, 13, 58] Generated Node #2: [2, 13, 58] from Operation: 90-32=58 Current State: 73:[2, 13, 58], Operations: ['90-32=58'] Exploring Operation: 2+13=15, Resulting Numbers: [58, 15] Generated Node #3: [58, 15] from Operation: 2+13=15 Current State: 73:[58, 15], Operations: ['90-32=58', '2+13=15'] Exploring Operation: 58+15=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[32, 90, 2, 13], Operations: [] Exploring Operation: 2*13=26, Resulting Numbers: [32, 90, 26] Generated Node #0,0: 73:[32, 90, 26] Operation: 2*13=26 Exploring Operation: 32*2=64, Resulting Numbers: [90, 13, 64] Generated Node #0,1: 73:[90, 13, 64] Operation: 32*2=64 Moving to Node #0,1 Current State: 73:[90, 13, 64], Operations: ['32*2=64'] Exploring Operation: 13+64=77, Resulting Numbers: [90, 77] Generated Node #0,1,0: 73:[90, 77] Operation: 13+64=77 Exploring Operation: 90-13=77, Resulting Numbers: [64, 77] Generated Node #0,1,1: 73:[64, 77] Operation: 90-13=77 Moving to Node #0,0 Current State: 73:[32, 90, 26], Operations: ['2*13=26'] Exploring Operation: 90-26=64, Resulting Numbers: [32, 64] Generated Node #0,0,0: 73:[32, 64] Operation: 90-26=64 Exploring Operation: 32+26=58, Resulting Numbers: [90, 58] Generated Node #0,0,1: 73:[90, 58] Operation: 32+26=58 Moving to Node #0,1,1 Current State: 73:[64, 77], Operations: ['32*2=64', '90-13=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[90, 77], Operations: ['32*2=64', '13+64=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,73 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[90, 58], Operations: ['2*13=26', '32+26=58'] Exploring Operation: 90-58=32, Resulting Numbers: [32] 32,73 unequal: No Solution Exploring Operation: 90+58=148, Resulting Numbers: [148] 148,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[32, 64], Operations: ['2*13=26', '90-26=64'] Exploring Operation: 32+64=96, Resulting Numbers: [96] 96,73 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 60, 38, 41, 5 ]
68
[ "60-38=22", "41+5=46", "22+46=68" ]
Current State: 68:[60, 38, 41, 5], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [41, 5, 22] Generated Node #2: [41, 5, 22] from Operation: 60-38=22 Current State: 68:[41, 5, 22], Operations: ['60-38=22'] Exploring Operation: 41+5=46, Resulting Numbers: [22, 46] Generated Node #3: [22, 46] from Operation: 41+5=46 Current State: 68:[22, 46], Operations: ['60-38=22', '41+5=46'] Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[60, 38, 41, 5], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [38, 5, 19] Generated Node #0,0: 68:[38, 5, 19] Operation: 60-41=19 Exploring Operation: 41-5=36, Resulting Numbers: [60, 38, 36] Generated Node #0,1: 68:[60, 38, 36] Operation: 41-5=36 Exploring Operation: 60-38=22, Resulting Numbers: [41, 5, 22] Generated Node #0,2: 68:[41, 5, 22] Operation: 60-38=22 Exploring Operation: 41-38=3, Resulting Numbers: [60, 5, 3] Generated Node #0,3: 68:[60, 5, 3] Operation: 41-38=3 Exploring Operation: 60+5=65, Resulting Numbers: [38, 41, 65] Generated Node #0,4: 68:[38, 41, 65] Operation: 60+5=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[38, 5, 19], Operations: ['60-41=19'] Exploring Operation: 19-5=14, Resulting Numbers: [38, 14] Generated Node #0,0,0: 68:[38, 14] Operation: 19-5=14 Exploring Operation: 38+5=43, Resulting Numbers: [19, 43] Generated Node #0,0,1: 68:[19, 43] Operation: 38+5=43 Exploring Operation: 38/19=2, Resulting Numbers: [5, 2] Generated Node #0,0,2: 68:[5, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [5, 19] Generated Node #0,0,3: 68:[5, 19] Operation: 38-19=19 Exploring Operation: 38-5=33, Resulting Numbers: [19, 33] Generated Node #0,0,4: 68:[19, 33] Operation: 38-5=33 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 68:[5, 2], Operations: ['60-41=19', '38/19=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,68 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 68:[5, 19], Operations: ['60-41=19', '38-19=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,68 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 68:[19, 33], Operations: ['60-41=19', '38-5=33'] Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,68 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[38, 14], Operations: ['60-41=19', '19-5=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,68 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,68 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 68:[19, 43], Operations: ['60-41=19', '38+5=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,68 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[60, 5, 3], Operations: ['41-38=3'] Exploring Operation: 60+3=63, Resulting Numbers: [5, 63] Generated Node #0,3,0: 68:[5, 63] Operation: 60+3=63 Exploring Operation: 60+5=65, Resulting Numbers: [3, 65] Generated Node #0,3,1: 68:[3, 65] Operation: 60+5=65 Exploring Operation: 60/3=20, Resulting Numbers: [5, 20] Generated Node #0,3,2: 68:[5, 20] Operation: 60/3=20 Exploring Operation: 60/5=12, Resulting Numbers: [3, 12] Generated Node #0,3,3: 68:[3, 12] Operation: 60/5=12 Exploring Operation: 5-3=2, Resulting Numbers: [60, 2] Generated Node #0,3,4: 68:[60, 2] Operation: 5-3=2 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[3, 65], Operations: ['41-38=3', '60+5=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[60, 38, 41, 5], Operations: [] Exploring Operation: 41-38=3, Resulting Numbers: [60, 5, 3] Generated Node #0,3: 68:[60, 5, 3] Operation: 41-38=3 Moving to Node #0,3 Current State: 68:[60, 5, 3], Operations: ['41-38=3'] Exploring Operation: 60+5=65, Resulting Numbers: [3, 65] Generated Node #0,3,1: 68:[3, 65] Operation: 60+5=65 Moving to Node #0,3,1 Current State: 68:[3, 65], Operations: ['41-38=3', '60+5=65'] Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 27, 66, 1, 32 ]
54
[ "27*66=1782", "1+32=33", "1782/33=54" ]
Current State: 54:[27, 66, 1, 32], Operations: [] Exploring Operation: 27*66=1782, Resulting Numbers: [1, 32, 1782] Generated Node #2: [1, 32, 1782] from Operation: 27*66=1782 Current State: 54:[1, 32, 1782], Operations: ['27*66=1782'] Exploring Operation: 1+32=33, Resulting Numbers: [1782, 33] Generated Node #3: [1782, 33] from Operation: 1+32=33 Current State: 54:[1782, 33], Operations: ['27*66=1782', '1+32=33'] Exploring Operation: 1782/33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[27, 66, 1, 32], Operations: [] Exploring Operation: 66-32=34, Resulting Numbers: [27, 1, 34] Generated Node #0,0: 54:[27, 1, 34] Operation: 66-32=34 Moving to Node #0,0 Current State: 54:[27, 1, 34], Operations: ['66-32=34'] Exploring Operation: 34-27=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 54:[1, 7] Operation: 34-27=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[1, 7], Operations: ['66-32=34', '34-27=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,54 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
[ 40, 39, 66, 96 ]
83
[ "40+39=79", "66+96=162", "162-79=83" ]
Current State: 83:[40, 39, 66, 96], Operations: [] Exploring Operation: 40+39=79, Resulting Numbers: [66, 96, 79] Generated Node #2: [66, 96, 79] from Operation: 40+39=79 Current State: 83:[66, 96, 79], Operations: ['40+39=79'] Exploring Operation: 66+96=162, Resulting Numbers: [79, 162] Generated Node #3: [79, 162] from Operation: 66+96=162 Current State: 83:[79, 162], Operations: ['40+39=79', '66+96=162'] Exploring Operation: 162-79=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 39, 66, 96], Operations: [] Exploring Operation: 40+39=79, Resulting Numbers: [66, 96, 79] Generated Node #0,0: 83:[66, 96, 79] Operation: 40+39=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[66, 96, 79], Operations: ['40+39=79'] Exploring Operation: 96-66=30, Resulting Numbers: [79, 30] Generated Node #0,0,0: 83:[79, 30] Operation: 96-66=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[79, 30], Operations: ['40+39=79', '96-66=30'] Exploring Operation: 79+30=109, Resulting Numbers: [109] 109,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 58, 20, 24, 44 ]
98
[ "58+20=78", "44-24=20", "78+20=98" ]
Current State: 98:[58, 20, 24, 44], Operations: [] Exploring Operation: 58+20=78, Resulting Numbers: [24, 44, 78] Generated Node #2: [24, 44, 78] from Operation: 58+20=78 Current State: 98:[24, 44, 78], Operations: ['58+20=78'] Exploring Operation: 44-24=20, Resulting Numbers: [78, 20] Generated Node #3: [78, 20] from Operation: 44-24=20 Current State: 98:[78, 20], Operations: ['58+20=78', '44-24=20'] Exploring Operation: 78+20=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[58, 20, 24, 44], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [20, 24, 14] Generated Node #0,0: 98:[20, 24, 14] Operation: 58-44=14 Exploring Operation: 20+24=44, Resulting Numbers: [58, 44, 44] Generated Node #0,1: 98:[58, 44, 44] Operation: 20+24=44 Exploring Operation: 24-20=4, Resulting Numbers: [58, 44, 4] Generated Node #0,2: 98:[58, 44, 4] Operation: 24-20=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[20, 24, 14], Operations: ['58-44=14'] Exploring Operation: 20+24=44, Resulting Numbers: [14, 44] Generated Node #0,0,0: 98:[14, 44] Operation: 20+24=44 Exploring Operation: 24-20=4, Resulting Numbers: [14, 4] Generated Node #0,0,1: 98:[14, 4] Operation: 24-20=4 Exploring Operation: 24-14=10, Resulting Numbers: [20, 10] Generated Node #0,0,2: 98:[20, 10] Operation: 24-14=10 Moving to Node #0,0,1 Current State: 98:[14, 4], Operations: ['58-44=14', '24-20=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,98 unequal: No Solution Moving to Node #0,0,0 Current State: 98:[14, 44], Operations: ['58-44=14', '20+24=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,98 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 14*44=616, Resulting Numbers: [616] 616,98 unequal: No Solution Moving to Node #0,0,2 Current State: 98:[20, 10], Operations: ['58-44=14', '24-14=10'] Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,98 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,98 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[58, 44, 4], Operations: ['24-20=4'] Exploring Operation: 58-44=14, Resulting Numbers: [4, 14] Generated Node #0,2,0: 98:[4, 14] Operation: 58-44=14 Exploring Operation: 58+44=102, Resulting Numbers: [4, 102] Generated Node #0,2,1: 98:[4, 102] Operation: 58+44=102 Exploring Operation: 58-4=54, Resulting Numbers: [44, 54] Generated Node #0,2,2: 98:[44, 54] Operation: 58-4=54 Moving to Node #0,2,0 Current State: 98:[4, 14], Operations: ['24-20=4', '58-44=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,98 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,98 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[4, 102], Operations: ['24-20=4', '58+44=102'] Exploring Operation: 102-4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[58, 20, 24, 44], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [58, 44, 4] Generated Node #0,2: 98:[58, 44, 4] Operation: 24-20=4 Moving to Node #0,2 Current State: 98:[58, 44, 4], Operations: ['24-20=4'] Exploring Operation: 58+44=102, Resulting Numbers: [4, 102] Generated Node #0,2,1: 98:[4, 102] Operation: 58+44=102 Moving to Node #0,2,1 Current State: 98:[4, 102], Operations: ['24-20=4', '58+44=102'] Exploring Operation: 102-4=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
sum_heuristic
[ 91, 59, 56, 1 ]
87
[ "91-59=32", "56-1=55", "32+55=87" ]
Current State: 87:[91, 59, 56, 1], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [56, 1, 32] Generated Node #2: [56, 1, 32] from Operation: 91-59=32 Current State: 87:[56, 1, 32], Operations: ['91-59=32'] Exploring Operation: 56-1=55, Resulting Numbers: [32, 55] Generated Node #3: [32, 55] from Operation: 56-1=55 Current State: 87:[32, 55], Operations: ['91-59=32', '56-1=55'] Exploring Operation: 32+55=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[91, 59, 56, 1], Operations: [] Exploring Operation: 59+56=115, Resulting Numbers: [91, 1, 115] Generated Node #0,0: 87:[91, 1, 115] Operation: 59+56=115 Exploring Operation: 59-56=3, Resulting Numbers: [91, 1, 3] Generated Node #0,1: 87:[91, 1, 3] Operation: 59-56=3 Exploring Operation: 91-59=32, Resulting Numbers: [56, 1, 32] Generated Node #0,2: 87:[56, 1, 32] Operation: 91-59=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[91, 1, 3], Operations: ['59-56=3'] Exploring Operation: 91*1=91, Resulting Numbers: [3, 91] Generated Node #0,1,0: 87:[3, 91] Operation: 91*1=91 Exploring Operation: 91-1=90, Resulting Numbers: [3, 90] Generated Node #0,1,1: 87:[3, 90] Operation: 91-1=90 Exploring Operation: 91-3=88, Resulting Numbers: [1, 88] Generated Node #0,1,2: 87:[1, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[3, 90], Operations: ['59-56=3', '91-1=90'] Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 3+90=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[91, 59, 56, 1], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [91, 1, 3] Generated Node #0,1: 87:[91, 1, 3] Operation: 59-56=3 Moving to Node #0,1 Current State: 87:[91, 1, 3], Operations: ['59-56=3'] Exploring Operation: 91-1=90, Resulting Numbers: [3, 90] Generated Node #0,1,1: 87:[3, 90] Operation: 91-1=90 Moving to Node #0,1,1 Current State: 87:[3, 90], Operations: ['59-56=3', '91-1=90'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 93, 2, 96, 24 ]
42
[ "96-93=3", "24-3=21", "2*21=42" ]
Current State: 42:[93, 2, 96, 24], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [2, 24, 3] Generated Node #2: [2, 24, 3] from Operation: 96-93=3 Current State: 42:[2, 24, 3], Operations: ['96-93=3'] Exploring Operation: 24-3=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 24-3=21 Current State: 42:[2, 21], Operations: ['96-93=3', '24-3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[93, 2, 96, 24], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [2, 24, 3] Generated Node #0,0: 42:[2, 24, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[2, 24, 3], Operations: ['96-93=3'] Exploring Operation: 24-3=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 42:[2, 21] Operation: 24-3=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[2, 21], Operations: ['96-93=3', '24-3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[93, 2, 96, 24], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [2, 24, 3] Generated Node #0,0: 42:[2, 24, 3] Operation: 96-93=3 Moving to Node #0,0 Current State: 42:[2, 24, 3], Operations: ['96-93=3'] Exploring Operation: 24-3=21, Resulting Numbers: [2, 21] Generated Node #0,0,0: 42:[2, 21] Operation: 24-3=21 Moving to Node #0,0,0 Current State: 42:[2, 21], Operations: ['96-93=3', '24-3=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 78, 13, 88, 15 ]
29
[ "78+88=166", "13*15=195", "195-166=29" ]
Current State: 29:[78, 13, 88, 15], Operations: [] Exploring Operation: 78+88=166, Resulting Numbers: [13, 15, 166] Generated Node #2: [13, 15, 166] from Operation: 78+88=166 Current State: 29:[13, 15, 166], Operations: ['78+88=166'] Exploring Operation: 13*15=195, Resulting Numbers: [166, 195] Generated Node #3: [166, 195] from Operation: 13*15=195 Current State: 29:[166, 195], Operations: ['78+88=166', '13*15=195'] Exploring Operation: 195-166=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[78, 13, 88, 15], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [13, 15, 10] Generated Node #0,0: 29:[13, 15, 10] Operation: 88-78=10 Moving to Node #0,0 Current State: 29:[13, 15, 10], Operations: ['88-78=10'] Exploring Operation: 13+15=28, Resulting Numbers: [10, 28] Generated Node #0,0,0: 29:[10, 28] Operation: 13+15=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[10, 28], Operations: ['88-78=10', '13+15=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 24, 6, 94, 48 ]
28
[ "24-6=18", "94-48=46", "46-18=28" ]
Current State: 28:[24, 6, 94, 48], Operations: [] Exploring Operation: 24-6=18, Resulting Numbers: [94, 48, 18] Generated Node #2: [94, 48, 18] from Operation: 24-6=18 Current State: 28:[94, 48, 18], Operations: ['24-6=18'] Exploring Operation: 94-48=46, Resulting Numbers: [18, 46] Generated Node #3: [18, 46] from Operation: 94-48=46 Current State: 28:[18, 46], Operations: ['24-6=18', '94-48=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 6, 94, 48], Operations: [] Exploring Operation: 48-24=24, Resulting Numbers: [6, 94, 24] Generated Node #0,0: 28:[6, 94, 24] Operation: 48-24=24 Exploring Operation: 94-24=70, Resulting Numbers: [6, 48, 70] Generated Node #0,1: 28:[6, 48, 70] Operation: 94-24=70 Exploring Operation: 94-48=46, Resulting Numbers: [24, 6, 46] Generated Node #0,2: 28:[24, 6, 46] Operation: 94-48=46 Exploring Operation: 48/24=2, Resulting Numbers: [6, 94, 2] Generated Node #0,3: 28:[6, 94, 2] Operation: 48/24=2 Moving to Node #0,2 Current State: 28:[24, 6, 46], Operations: ['94-48=46'] Exploring Operation: 24+6=30, Resulting Numbers: [46, 30] Generated Node #0,2,0: 28:[46, 30] Operation: 24+6=30 Exploring Operation: 24/6=4, Resulting Numbers: [46, 4] Generated Node #0,2,1: 28:[46, 4] Operation: 24/6=4 Exploring Operation: 46-6=40, Resulting Numbers: [24, 40] Generated Node #0,2,2: 28:[24, 40] Operation: 46-6=40 Exploring Operation: 46-24=22, Resulting Numbers: [6, 22] Generated Node #0,2,3: 28:[6, 22] Operation: 46-24=22 Moving to Node #0,1 Current State: 28:[6, 48, 70], Operations: ['94-24=70'] Exploring Operation: 48/6=8, Resulting Numbers: [70, 8] Generated Node #0,1,0: 28:[70, 8] Operation: 48/6=8 Exploring Operation: 70-48=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 28:[6, 22] Operation: 70-48=22 Exploring Operation: 48-6=42, Resulting Numbers: [70, 42] Generated Node #0,1,2: 28:[70, 42] Operation: 48-6=42 Exploring Operation: 70-6=64, Resulting Numbers: [48, 64] Generated Node #0,1,3: 28:[48, 64] Operation: 70-6=64 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[6, 22], Operations: ['94-24=70', '70-48=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[24, 6, 94, 48], Operations: [] Exploring Operation: 94-24=70, Resulting Numbers: [6, 48, 70] Generated Node #0,1: 28:[6, 48, 70] Operation: 94-24=70 Moving to Node #0,1 Current State: 28:[6, 48, 70], Operations: ['94-24=70'] Exploring Operation: 70-48=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 28:[6, 22] Operation: 70-48=22 Moving to Node #0,1,1 Current State: 28:[6, 22], Operations: ['94-24=70', '70-48=22'] Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 27, 91, 62, 51 ]
49
[ "91-27=64", "62+51=113", "113-64=49" ]
Current State: 49:[27, 91, 62, 51], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [62, 51, 64] Generated Node #2: [62, 51, 64] from Operation: 91-27=64 Current State: 49:[62, 51, 64], Operations: ['91-27=64'] Exploring Operation: 62+51=113, Resulting Numbers: [64, 113] Generated Node #3: [64, 113] from Operation: 62+51=113 Current State: 49:[64, 113], Operations: ['91-27=64', '62+51=113'] Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[27, 91, 62, 51], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [62, 51, 64] Generated Node #0,0: 49:[62, 51, 64] Operation: 91-27=64 Exploring Operation: 91-62=29, Resulting Numbers: [27, 51, 29] Generated Node #0,1: 49:[27, 51, 29] Operation: 91-62=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[62, 51, 64], Operations: ['91-27=64'] Exploring Operation: 62-51=11, Resulting Numbers: [64, 11] Generated Node #0,0,0: 49:[64, 11] Operation: 62-51=11 Exploring Operation: 64-62=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 49:[51, 2] Operation: 64-62=2 Moving to Node #0,0,1 Current State: 49:[51, 2], Operations: ['91-27=64', '64-62=2'] Exploring Operation: 51+2=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:[27, 91, 62, 51], Operations: [] Exploring Operation: 91-27=64, Resulting Numbers: [62, 51, 64] Generated Node #0,0: 49:[62, 51, 64] Operation: 91-27=64 Moving to Node #0,0 Current State: 49:[62, 51, 64], Operations: ['91-27=64'] Exploring Operation: 64-62=2, Resulting Numbers: [51, 2] Generated Node #0,0,1: 49:[51, 2] Operation: 64-62=2 Moving to Node #0,0,1 Current State: 49:[51, 2], Operations: ['91-27=64', '64-62=2'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 79, 34, 51, 85 ]
83
[ "51+85=136", "136/34=4", "79+4=83" ]
Current State: 83:[79, 34, 51, 85], Operations: [] Exploring Operation: 51+85=136, Resulting Numbers: [79, 34, 136] Generated Node #2: [79, 34, 136] from Operation: 51+85=136 Current State: 83:[79, 34, 136], Operations: ['51+85=136'] Exploring Operation: 136/34=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 136/34=4 Current State: 83:[79, 4], Operations: ['51+85=136', '136/34=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[79, 34, 51, 85], Operations: [] Exploring Operation: 85-34=51, Resulting Numbers: [79, 51, 51] Generated Node #0,0: 83:[79, 51, 51] Operation: 85-34=51 Exploring Operation: 34+51=85, Resulting Numbers: [79, 85, 85] Generated Node #0,1: 83:[79, 85, 85] Operation: 34+51=85 Exploring Operation: 51-34=17, Resulting Numbers: [79, 85, 17] Generated Node #0,2: 83:[79, 85, 17] Operation: 51-34=17 Exploring Operation: 79-34=45, Resulting Numbers: [51, 85, 45] Generated Node #0,3: 83:[51, 85, 45] Operation: 79-34=45 Exploring Operation: 79+34=113, Resulting Numbers: [51, 85, 113] Generated Node #0,4: 83:[51, 85, 113] Operation: 79+34=113 Moving to Node #0,1 Current State: 83:[79, 85, 85], Operations: ['34+51=85'] Exploring Operation: 79+85=164, Resulting Numbers: [85, 164] Generated Node #0,1,0: 83:[85, 164] Operation: 79+85=164 Exploring Operation: 85-79=6, Resulting Numbers: [85, 6] Generated Node #0,1,1: 83:[85, 6] Operation: 85-79=6 Exploring Operation: 85/85=1, Resulting Numbers: [79, 1] Generated Node #0,1,2: 83:[79, 1] Operation: 85/85=1 Exploring Operation: 85-79=6, Resulting Numbers: [85, 6] Generated Node #0,1,3: 83:[85, 6] Operation: 85-79=6 Exploring Operation: 79+85=164, Resulting Numbers: [85, 164] Generated Node #0,1,4: 83:[85, 164] Operation: 79+85=164 Moving to Node #0,4 Current State: 83:[51, 85, 113], Operations: ['79+34=113'] Exploring Operation: 51+85=136, Resulting Numbers: [113, 136] Generated Node #0,4,0: 83:[113, 136] Operation: 51+85=136 Exploring Operation: 113-85=28, Resulting Numbers: [51, 28] Generated Node #0,4,1: 83:[51, 28] Operation: 113-85=28 Exploring Operation: 51+113=164, Resulting Numbers: [85, 164] Generated Node #0,4,2: 83:[85, 164] Operation: 51+113=164 Exploring Operation: 85-51=34, Resulting Numbers: [113, 34] Generated Node #0,4,3: 83:[113, 34] Operation: 85-51=34 Exploring Operation: 113-51=62, Resulting Numbers: [85, 62] Generated Node #0,4,4: 83:[85, 62] Operation: 113-51=62 Moving to Node #0,0 Current State: 83:[79, 51, 51], Operations: ['85-34=51'] Exploring Operation: 51/51=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 83:[79, 1] Operation: 51/51=1 Exploring Operation: 79+51=130, Resulting Numbers: [51, 130] Generated Node #0,0,1: 83:[51, 130] Operation: 79+51=130 Exploring Operation: 51+51=102, Resulting Numbers: [79, 102] Generated Node #0,0,2: 83:[79, 102] Operation: 51+51=102 Exploring Operation: 79+51=130, Resulting Numbers: [51, 130] Generated Node #0,0,3: 83:[51, 130] Operation: 79+51=130 Exploring Operation: 79-51=28, Resulting Numbers: [51, 28] Generated Node #0,0,4: 83:[51, 28] Operation: 79-51=28 Moving to Node #0,2 Current State: 83:[79, 85, 17], Operations: ['51-34=17'] Exploring Operation: 85/17=5, Resulting Numbers: [79, 5] Generated Node #0,2,0: 83:[79, 5] Operation: 85/17=5 Exploring Operation: 79+17=96, Resulting Numbers: [85, 96] Generated Node #0,2,1: 83:[85, 96] Operation: 79+17=96 Exploring Operation: 85-17=68, Resulting Numbers: [79, 68] Generated Node #0,2,2: 83:[79, 68] Operation: 85-17=68 Exploring Operation: 85+17=102, Resulting Numbers: [79, 102] Generated Node #0,2,3: 83:[79, 102] Operation: 85+17=102 Exploring Operation: 79-17=62, Resulting Numbers: [85, 62] Generated Node #0,2,4: 83:[85, 62] Operation: 79-17=62 Moving to Node #0,3 Current State: 83:[51, 85, 45], Operations: ['79-34=45'] Exploring Operation: 85-51=34, Resulting Numbers: [45, 34] Generated Node #0,3,0: 83:[45, 34] Operation: 85-51=34 Exploring Operation: 51+45=96, Resulting Numbers: [85, 96] Generated Node #0,3,1: 83:[85, 96] Operation: 51+45=96 Exploring Operation: 51-45=6, Resulting Numbers: [85, 6] Generated Node #0,3,2: 83:[85, 6] Operation: 51-45=6 Exploring Operation: 85-45=40, Resulting Numbers: [51, 40] Generated Node #0,3,3: 83:[51, 40] Operation: 85-45=40 Exploring Operation: 85+45=130, Resulting Numbers: [51, 130] Generated Node #0,3,4: 83:[51, 130] Operation: 85+45=130 Moving to Node #0,2,1 Current State: 83:[85, 96], Operations: ['51-34=17', '79+17=96'] Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,83 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[85, 96], Operations: ['79-34=45', '51+45=96'] Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,83 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[79, 68], Operations: ['51-34=17', '85-17=68'] Exploring Operation: 79+68=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 79*68=5372, Resulting Numbers: [5372] 5372,83 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[85, 62], Operations: ['79+34=113', '113-51=62'] Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[79, 102], Operations: ['51-34=17', '85+17=102'] Exploring Operation: 79+102=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 79*102=8058, Resulting Numbers: [8058] 8058,83 unequal: No Solution Exploring Operation: 102-79=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[85, 62], Operations: ['51-34=17', '79-17=62'] Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,83 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[79, 102], Operations: ['85-34=51', '51+51=102'] Exploring Operation: 79*102=8058, Resulting Numbers: [8058] 8058,83 unequal: No Solution Exploring Operation: 102-79=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 79+102=181, Resulting Numbers: [181] 181,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[51, 40], Operations: ['79-34=45', '85-45=40'] Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,83 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[85, 6], Operations: ['34+51=85', '85-79=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,83 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[113, 34], Operations: ['79+34=113', '85-51=34'] Exploring Operation: 113-34=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 113*34=3842, Resulting Numbers: [3842] 3842,83 unequal: No Solution Exploring Operation: 113+34=147, Resulting Numbers: [147] 147,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[51, 130], Operations: ['85-34=51', '79+51=130'] Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[51, 130], Operations: ['85-34=51', '79+51=130'] Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,83 unequal: No Solution Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[51, 130], Operations: ['79-34=45', '85+45=130'] Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,83 unequal: No Solution Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[85, 6], Operations: ['79-34=45', '51-45=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[85, 6], Operations: ['34+51=85', '85-79=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,83 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[79, 5], Operations: ['51-34=17', '85/17=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[85, 164], Operations: ['79+34=113', '51+113=164'] Exploring Operation: 85*164=13940, Resulting Numbers: [13940] 13940,83 unequal: No Solution Exploring Operation: 85+164=249, Resulting Numbers: [249] 249,83 unequal: No Solution Exploring Operation: 164-85=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[113, 136], Operations: ['79+34=113', '51+85=136'] Exploring Operation: 136-113=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 113+136=249, Resulting Numbers: [249] 249,83 unequal: No Solution Exploring Operation: 113*136=15368, Resulting Numbers: [15368] 15368,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[85, 164], Operations: ['34+51=85', '79+85=164'] Exploring Operation: 85+164=249, Resulting Numbers: [249] 249,83 unequal: No Solution Exploring Operation: 85*164=13940, Resulting Numbers: [13940] 13940,83 unequal: No Solution Exploring Operation: 164-85=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[85, 164], Operations: ['34+51=85', '79+85=164'] Exploring Operation: 85+164=249, Resulting Numbers: [249] 249,83 unequal: No Solution Exploring Operation: 85*164=13940, Resulting Numbers: [13940] 13940,83 unequal: No Solution Exploring Operation: 164-85=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[79, 1], Operations: ['85-34=51', '51/51=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,83 unequal: No Solution Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[79, 1], Operations: ['34+51=85', '85/85=1'] Exploring Operation: 79/1=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,83 unequal: No Solution Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[45, 34], Operations: ['79-34=45', '85-51=34'] Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,83 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,83 unequal: No Solution Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[51, 28], Operations: ['79+34=113', '113-85=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,83 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[51, 28], Operations: ['85-34=51', '79-51=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,83 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,83 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 41, 73, 19, 59 ]
73
[ "41+19=60", "60-59=1", "73*1=73" ]
Current State: 73:[41, 73, 19, 59], Operations: [] Exploring Operation: 41+19=60, Resulting Numbers: [73, 59, 60] Generated Node #2: [73, 59, 60] from Operation: 41+19=60 Current State: 73:[73, 59, 60], Operations: ['41+19=60'] Exploring Operation: 60-59=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 60-59=1 Current State: 73:[73, 1], Operations: ['41+19=60', '60-59=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[41, 73, 19, 59], Operations: [] Exploring Operation: 19+59=78, Resulting Numbers: [41, 73, 78] Generated Node #0,0: 73:[41, 73, 78] Operation: 19+59=78 Exploring Operation: 41+19=60, Resulting Numbers: [73, 59, 60] Generated Node #0,1: 73:[73, 59, 60] Operation: 41+19=60 Moving to Node #0,1 Current State: 73:[73, 59, 60], Operations: ['41+19=60'] Exploring Operation: 73+59=132, Resulting Numbers: [60, 132] Generated Node #0,1,0: 73:[60, 132] Operation: 73+59=132 Exploring Operation: 59+60=119, Resulting Numbers: [73, 119] Generated Node #0,1,1: 73:[73, 119] Operation: 59+60=119 Moving to Node #0,0 Current State: 73:[41, 73, 78], Operations: ['19+59=78'] Exploring Operation: 41+73=114, Resulting Numbers: [78, 114] Generated Node #0,0,0: 73:[78, 114] Operation: 41+73=114 Exploring Operation: 78-41=37, Resulting Numbers: [73, 37] Generated Node #0,0,1: 73:[73, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[73, 37], Operations: ['19+59=78', '78-41=37'] Exploring Operation: 73+37=110, Resulting Numbers: [110] 110,73 unequal: No Solution Exploring Operation: 73-37=36, Resulting Numbers: [36] 36,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[78, 114], Operations: ['19+59=78', '41+73=114'] Exploring Operation: 114-78=36, Resulting Numbers: [36] 36,73 unequal: No Solution Exploring Operation: 78+114=192, Resulting Numbers: [192] 192,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 73:[73, 119], Operations: ['41+19=60', '59+60=119'] Exploring Operation: 73+119=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 119-73=46, Resulting Numbers: [46] 46,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[60, 132], Operations: ['41+19=60', '73+59=132'] Exploring Operation: 60+132=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 132-60=72, Resulting Numbers: [72] 72,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 5, 82, 37 ]
78
[ "38-5=33", "82-37=45", "33+45=78" ]
Current State: 78:[38, 5, 82, 37], Operations: [] Exploring Operation: 38-5=33, Resulting Numbers: [82, 37, 33] Generated Node #2: [82, 37, 33] from Operation: 38-5=33 Current State: 78:[82, 37, 33], Operations: ['38-5=33'] Exploring Operation: 82-37=45, Resulting Numbers: [33, 45] Generated Node #3: [33, 45] from Operation: 82-37=45 Current State: 78:[33, 45], Operations: ['38-5=33', '82-37=45'] Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[38, 5, 82, 37], Operations: [] Exploring Operation: 82-38=44, Resulting Numbers: [5, 37, 44] Generated Node #0,0: 78:[5, 37, 44] Operation: 82-38=44 Exploring Operation: 82-5=77, Resulting Numbers: [38, 37, 77] Generated Node #0,1: 78:[38, 37, 77] Operation: 82-5=77 Exploring Operation: 38+37=75, Resulting Numbers: [5, 82, 75] Generated Node #0,2: 78:[5, 82, 75] Operation: 38+37=75 Exploring Operation: 38-37=1, Resulting Numbers: [5, 82, 1] Generated Node #0,3: 78:[5, 82, 1] Operation: 38-37=1 Moving to Node #0,1 Current State: 78:[38, 37, 77], Operations: ['82-5=77'] Exploring Operation: 77-37=40, Resulting Numbers: [38, 40] Generated Node #0,1,0: 78:[38, 40] Operation: 77-37=40 Exploring Operation: 77-38=39, Resulting Numbers: [37, 39] Generated Node #0,1,1: 78:[37, 39] Operation: 77-38=39 Exploring Operation: 38+37=75, Resulting Numbers: [77, 75] Generated Node #0,1,2: 78:[77, 75] Operation: 38+37=75 Exploring Operation: 38-37=1, Resulting Numbers: [77, 1] Generated Node #0,1,3: 78:[77, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[38, 40], Operations: ['82-5=77', '77-37=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,78 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[38, 5, 82, 37], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [38, 37, 77] Generated Node #0,1: 78:[38, 37, 77] Operation: 82-5=77 Moving to Node #0,1 Current State: 78:[38, 37, 77], Operations: ['82-5=77'] Exploring Operation: 77-37=40, Resulting Numbers: [38, 40] Generated Node #0,1,0: 78:[38, 40] Operation: 77-37=40 Moving to Node #0,1,0 Current State: 78:[38, 40], Operations: ['82-5=77', '77-37=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 21, 2, 87, 71 ]
34
[ "21+87=108", "2*71=142", "142-108=34" ]
Current State: 34:[21, 2, 87, 71], Operations: [] Exploring Operation: 21+87=108, Resulting Numbers: [2, 71, 108] Generated Node #2: [2, 71, 108] from Operation: 21+87=108 Current State: 34:[2, 71, 108], Operations: ['21+87=108'] Exploring Operation: 2*71=142, Resulting Numbers: [108, 142] Generated Node #3: [108, 142] from Operation: 2*71=142 Current State: 34:[108, 142], Operations: ['21+87=108', '2*71=142'] Exploring Operation: 142-108=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 2, 87, 71], Operations: [] Exploring Operation: 21-2=19, Resulting Numbers: [87, 71, 19] Generated Node #0,0: 34:[87, 71, 19] Operation: 21-2=19 Exploring Operation: 87-21=66, Resulting Numbers: [2, 71, 66] Generated Node #0,1: 34:[2, 71, 66] Operation: 87-21=66 Exploring Operation: 87-71=16, Resulting Numbers: [21, 2, 16] Generated Node #0,2: 34:[21, 2, 16] Operation: 87-71=16 Exploring Operation: 87-2=85, Resulting Numbers: [21, 71, 85] Generated Node #0,3: 34:[21, 71, 85] Operation: 87-2=85 Exploring Operation: 71-21=50, Resulting Numbers: [2, 87, 50] Generated Node #0,4: 34:[2, 87, 50] Operation: 71-21=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[21, 2, 16], Operations: ['87-71=16'] Exploring Operation: 21+16=37, Resulting Numbers: [2, 37] Generated Node #0,2,0: 34:[2, 37] Operation: 21+16=37 Exploring Operation: 2+16=18, Resulting Numbers: [21, 18] Generated Node #0,2,1: 34:[21, 18] Operation: 2+16=18 Exploring Operation: 21-16=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 34:[2, 5] Operation: 21-16=5 Exploring Operation: 21-2=19, Resulting Numbers: [16, 19] Generated Node #0,2,3: 34:[16, 19] Operation: 21-2=19 Exploring Operation: 2*16=32, Resulting Numbers: [21, 32] Generated Node #0,2,4: 34:[21, 32] Operation: 2*16=32 Moving to Node #0,2,0 Current State: 34:[2, 37], Operations: ['87-71=16', '21+16=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[16, 19], Operations: ['87-71=16', '21-2=19'] Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,34 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,34 unequal: No Solution Moving to Node #0,2,2 Current State: 34:[2, 5], Operations: ['87-71=16', '21-16=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[21, 18], Operations: ['87-71=16', '2+16=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,34 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,34 unequal: No Solution Moving to Node #0,2,4 Current State: 34:[21, 32], Operations: ['87-71=16', '2*16=32'] Exploring Operation: 32-21=11, Resulting Numbers: [11] 11,34 unequal: No Solution Exploring Operation: 21*32=672, Resulting Numbers: [672] 672,34 unequal: No Solution Exploring Operation: 21+32=53, Resulting Numbers: [53] 53,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[2, 71, 66], Operations: ['87-21=66'] Exploring Operation: 71-2=69, Resulting Numbers: [66, 69] Generated Node #0,1,0: 34:[66, 69] Operation: 71-2=69 Exploring Operation: 66-2=64, Resulting Numbers: [71, 64] Generated Node #0,1,1: 34:[71, 64] Operation: 66-2=64 Exploring Operation: 2+71=73, Resulting Numbers: [66, 73] Generated Node #0,1,2: 34:[66, 73] Operation: 2+71=73 Exploring Operation: 71-66=5, Resulting Numbers: [2, 5] Generated Node #0,1,3: 34:[2, 5] Operation: 71-66=5 Exploring Operation: 66/2=33, Resulting Numbers: [71, 33] Generated Node #0,1,4: 34:[71, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 34:[2, 5], Operations: ['87-21=66', '71-66=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,34 unequal: No Solution No 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: 34:[71, 33], Operations: ['87-21=66', '66/2=33'] Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,34 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,34 unequal: No Solution Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,34 unequal: No Solution No 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: 34:[66, 69], Operations: ['87-21=66', '71-2=69'] Exploring Operation: 66*69=4554, Resulting Numbers: [4554] 4554,34 unequal: No Solution Exploring Operation: 66+69=135, Resulting Numbers: [135] 135,34 unequal: No Solution Exploring Operation: 69-66=3, Resulting Numbers: [3] 3,34 unequal: No Solution No 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: 34:[71, 64], Operations: ['87-21=66', '66-2=64'] Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,34 unequal: No Solution Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,34 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,34 unequal: No Solution No 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: 34:[66, 73], Operations: ['87-21=66', '2+71=73'] Exploring Operation: 66*73=4818, Resulting Numbers: [4818] 4818,34 unequal: No Solution Exploring Operation: 66+73=139, Resulting Numbers: [139] 139,34 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,34 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: 34:[2, 87, 50], Operations: ['71-21=50'] Exploring Operation: 87-2=85, Resulting Numbers: [50, 85] Generated Node #0,4,0: 34:[50, 85] Operation: 87-2=85 Exploring Operation: 50-2=48, Resulting Numbers: [87, 48] Generated Node #0,4,1: 34:[87, 48] Operation: 50-2=48 Exploring Operation: 87-50=37, Resulting Numbers: [2, 37] Generated Node #0,4,2: 34:[2, 37] Operation: 87-50=37 Exploring Operation: 50/2=25, Resulting Numbers: [87, 25] Generated Node #0,4,3: 34:[87, 25] Operation: 50/2=25 Exploring Operation: 2+87=89, Resulting Numbers: [50, 89] Generated Node #0,4,4: 34:[50, 89] Operation: 2+87=89 Moving to Node #0,4,2 Current State: 34:[2, 37], Operations: ['71-21=50', '87-50=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,34 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,4,3 Current State: 34:[87, 25], Operations: ['71-21=50', '50/2=25'] Exploring Operation: 87*25=2175, Resulting Numbers: [2175] 2175,34 unequal: No Solution Exploring Operation: 87+25=112, Resulting Numbers: [112] 112,34 unequal: No Solution Exploring Operation: 87-25=62, Resulting Numbers: [62] 62,34 unequal: No Solution Moving to Node #0,4,0 Current State: 34:[50, 85], Operations: ['71-21=50', '87-2=85'] Exploring Operation: 50*85=4250, Resulting Numbers: [4250] 4250,34 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 50+85=135, Resulting Numbers: [135] 135,34 unequal: No Solution Moving to Node #0,4,1 Current State: 34:[87, 48], Operations: ['71-21=50', '50-2=48'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,34 unequal: No Solution Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,34 unequal: No Solution Moving to Node #0,4,4 Current State: 34:[50, 89], Operations: ['71-21=50', '2+87=89'] Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,34 unequal: No Solution Exploring Operation: 50+89=139, Resulting Numbers: [139] 139,34 unequal: No Solution Exploring Operation: 50*89=4450, Resulting Numbers: [4450] 4450,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 Current State: 34:[87, 71, 19], Operations: ['21-2=19'] Exploring Operation: 87-19=68, Resulting Numbers: [71, 68] Generated Node #0,0,0: 34:[71, 68] Operation: 87-19=68 Exploring Operation: 87-71=16, Resulting Numbers: [19, 16] Generated Node #0,0,1: 34:[19, 16] Operation: 87-71=16 Exploring Operation: 71+19=90, Resulting Numbers: [87, 90] Generated Node #0,0,2: 34:[87, 90] Operation: 71+19=90 Exploring Operation: 87+19=106, Resulting Numbers: [71, 106] Generated Node #0,0,3: 34:[71, 106] Operation: 87+19=106 Exploring Operation: 71-19=52, Resulting Numbers: [87, 52] Generated Node #0,0,4: 34:[87, 52] Operation: 71-19=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 34:[19, 16], Operations: ['21-2=19', '87-71=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,34 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,34 unequal: No Solution No 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: 34:[71, 68], Operations: ['21-2=19', '87-19=68'] Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,34 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,34 unequal: No Solution No 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: 34:[87, 52], Operations: ['21-2=19', '71-19=52'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,34 unequal: No Solution Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,34 unequal: No Solution No 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: 34:[87, 90], Operations: ['21-2=19', '71+19=90'] Exploring Operation: 87*90=7830, Resulting Numbers: [7830] 7830,34 unequal: No Solution Exploring Operation: 90-87=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 87+90=177, Resulting Numbers: [177] 177,34 unequal: No Solution No 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: 34:[71, 106], Operations: ['21-2=19', '87+19=106'] Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,34 unequal: No Solution Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,34 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: 34:[21, 71, 85], Operations: ['87-2=85'] Exploring Operation: 21+71=92, Resulting Numbers: [85, 92] Generated Node #0,3,0: 34:[85, 92] Operation: 21+71=92 Exploring Operation: 21+85=106, Resulting Numbers: [71, 106] Generated Node #0,3,1: 34:[71, 106] Operation: 21+85=106 Exploring Operation: 71-21=50, Resulting Numbers: [85, 50] Generated Node #0,3,2: 34:[85, 50] Operation: 71-21=50 Exploring Operation: 85-71=14, Resulting Numbers: [21, 14] Generated Node #0,3,3: 34:[21, 14] Operation: 85-71=14 Exploring Operation: 85-21=64, Resulting Numbers: [71, 64] Generated Node #0,3,4: 34:[71, 64] Operation: 85-21=64 Moving to Node #0,3,3 Current State: 34:[21, 14], Operations: ['87-2=85', '85-71=14'] Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 21*14=294, Resulting Numbers: [294] 294,34 unequal: No Solution Exploring Operation: 21+14=35, Resulting Numbers: [35] 35,34 unequal: No Solution Moving to Node #0,3,4 Current State: 34:[71, 64], Operations: ['87-2=85', '85-21=64'] Exploring Operation: 71*64=4544, Resulting Numbers: [4544] 4544,34 unequal: No Solution Exploring Operation: 71-64=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 71+64=135, Resulting Numbers: [135] 135,34 unequal: No Solution Moving to Node #0,3,2 Current State: 34:[85, 50], Operations: ['87-2=85', '71-21=50'] Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,34 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,34 unequal: No Solution Moving to Node #0,3,0 Current State: 34:[85, 92], Operations: ['87-2=85', '21+71=92'] Exploring Operation: 85+92=177, Resulting Numbers: [177] 177,34 unequal: No Solution Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,34 unequal: No Solution Exploring Operation: 85*92=7820, Resulting Numbers: [7820] 7820,34 unequal: No Solution Moving to Node #0,3,1 Current State: 34:[71, 106], Operations: ['87-2=85', '21+85=106'] Exploring Operation: 71*106=7526, Resulting Numbers: [7526] 7526,34 unequal: No Solution Exploring Operation: 106-71=35, Resulting Numbers: [35] 35,34 unequal: No Solution Exploring Operation: 71+106=177, Resulting Numbers: [177] 177,34 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
[ 90, 57, 92, 60 ]
27
[ "92-90=2", "60/2=30", "57-30=27" ]
Current State: 27:[90, 57, 92, 60], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [57, 60, 2] Generated Node #2: [57, 60, 2] from Operation: 92-90=2 Current State: 27:[57, 60, 2], Operations: ['92-90=2'] Exploring Operation: 60/2=30, Resulting Numbers: [57, 30] Generated Node #3: [57, 30] from Operation: 60/2=30 Current State: 27:[57, 30], Operations: ['92-90=2', '60/2=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[90, 57, 92, 60], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [57, 60, 2] Generated Node #0,0: 27:[57, 60, 2] Operation: 92-90=2 Exploring Operation: 90-60=30, Resulting Numbers: [57, 92, 30] Generated Node #0,1: 27:[57, 92, 30] Operation: 90-60=30 Exploring Operation: 92-60=32, Resulting Numbers: [90, 57, 32] Generated Node #0,2: 27:[90, 57, 32] Operation: 92-60=32 Moving to Node #0,0 Current State: 27:[57, 60, 2], Operations: ['92-90=2'] Exploring Operation: 57-2=55, Resulting Numbers: [60, 55] Generated Node #0,0,0: 27:[60, 55] Operation: 57-2=55 Exploring Operation: 60/2=30, Resulting Numbers: [57, 30] Generated Node #0,0,1: 27:[57, 30] Operation: 60/2=30 Exploring Operation: 60-57=3, Resulting Numbers: [2, 3] Generated Node #0,0,2: 27:[2, 3] Operation: 60-57=3 Moving to Node #0,1 Current State: 27:[57, 92, 30], Operations: ['90-60=30'] Exploring Operation: 92-30=62, Resulting Numbers: [57, 62] Generated Node #0,1,0: 27:[57, 62] Operation: 92-30=62 Exploring Operation: 57-30=27, Resulting Numbers: [92, 27] Generated Node #0,1,1: 27:[92, 27] Operation: 57-30=27 Exploring Operation: 92-57=35, Resulting Numbers: [30, 35] Generated Node #0,1,2: 27:[30, 35] Operation: 92-57=35 Moving to Node #0,2 Current State: 27:[90, 57, 32], Operations: ['92-60=32'] Exploring Operation: 90-32=58, Resulting Numbers: [57, 58] Generated Node #0,2,0: 27:[57, 58] Operation: 90-32=58 Exploring Operation: 90-57=33, Resulting Numbers: [32, 33] Generated Node #0,2,1: 27:[32, 33] Operation: 90-57=33 Exploring Operation: 57-32=25, Resulting Numbers: [90, 25] Generated Node #0,2,2: 27:[90, 25] Operation: 57-32=25 Moving to Node #0,0,2 Current State: 27:[2, 3], Operations: ['92-90=2', '60-57=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[32, 33], Operations: ['92-60=32', '90-57=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,27 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[30, 35], Operations: ['90-60=30', '92-57=35'] Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,27 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[57, 30], Operations: ['92-90=2', '60/2=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,27 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,27 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[90, 57, 92, 60], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [57, 60, 2] Generated Node #0,0: 27:[57, 60, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 27:[57, 60, 2], Operations: ['92-90=2'] Exploring Operation: 60/2=30, Resulting Numbers: [57, 30] Generated Node #0,0,1: 27:[57, 30] Operation: 60/2=30 Moving to Node #0,0,1 Current State: 27:[57, 30], Operations: ['92-90=2', '60/2=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
0.975694
hs_3
sum_heuristic
[ 70, 30, 66, 68 ]
42
[ "70-30=40", "68-66=2", "40+2=42" ]
Current State: 42:[70, 30, 66, 68], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [66, 68, 40] Generated Node #2: [66, 68, 40] from Operation: 70-30=40 Current State: 42:[66, 68, 40], Operations: ['70-30=40'] Exploring Operation: 68-66=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 68-66=2 Current State: 42:[40, 2], Operations: ['70-30=40', '68-66=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[70, 30, 66, 68], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [66, 68, 40] Generated Node #0,0: 42:[66, 68, 40] Operation: 70-30=40 Exploring Operation: 70-68=2, Resulting Numbers: [30, 66, 2] Generated Node #0,1: 42:[30, 66, 2] Operation: 70-68=2 Exploring Operation: 70-66=4, Resulting Numbers: [30, 68, 4] Generated Node #0,2: 42:[30, 68, 4] Operation: 70-66=4 Exploring Operation: 68-30=38, Resulting Numbers: [70, 66, 38] Generated Node #0,3: 42:[70, 66, 38] Operation: 68-30=38 Exploring Operation: 68-66=2, Resulting Numbers: [70, 30, 2] Generated Node #0,4: 42:[70, 30, 2] Operation: 68-66=2 Moving to Node #0,1 Current State: 42:[30, 66, 2], Operations: ['70-68=2'] Exploring Operation: 66-30=36, Resulting Numbers: [2, 36] Generated Node #0,1,0: 42:[2, 36] Operation: 66-30=36 Exploring Operation: 66-2=64, Resulting Numbers: [30, 64] Generated Node #0,1,1: 42:[30, 64] Operation: 66-2=64 Exploring Operation: 30-2=28, Resulting Numbers: [66, 28] Generated Node #0,1,2: 42:[66, 28] Operation: 30-2=28 Exploring Operation: 66/2=33, Resulting Numbers: [30, 33] Generated Node #0,1,3: 42:[30, 33] Operation: 66/2=33 Exploring Operation: 30/2=15, Resulting Numbers: [66, 15] Generated Node #0,1,4: 42:[66, 15] Operation: 30/2=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[2, 36], Operations: ['70-68=2', '66-30=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,42 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,42 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[30, 33], Operations: ['70-68=2', '66/2=33'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,42 unequal: No Solution Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 42:[66, 15], Operations: ['70-68=2', '30/2=15'] Exploring Operation: 66*15=990, Resulting Numbers: [990] 990,42 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[30, 64], Operations: ['70-68=2', '66-2=64'] Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,42 unequal: No Solution Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[66, 28], Operations: ['70-68=2', '30-2=28'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,42 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,42 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: 42:[30, 68, 4], Operations: ['70-66=4'] Exploring Operation: 68/4=17, Resulting Numbers: [30, 17] Generated Node #0,2,0: 42:[30, 17] Operation: 68/4=17 Exploring Operation: 68-30=38, Resulting Numbers: [4, 38] Generated Node #0,2,1: 42:[4, 38] Operation: 68-30=38 Exploring Operation: 30-4=26, Resulting Numbers: [68, 26] Generated Node #0,2,2: 42:[68, 26] Operation: 30-4=26 Exploring Operation: 68-4=64, Resulting Numbers: [30, 64] Generated Node #0,2,3: 42:[30, 64] Operation: 68-4=64 Exploring Operation: 30+4=34, Resulting Numbers: [68, 34] Generated Node #0,2,4: 42:[68, 34] Operation: 30+4=34 Moving to Node #0,4 Current State: 42:[70, 30, 2], Operations: ['68-66=2'] Exploring Operation: 70-2=68, Resulting Numbers: [30, 68] Generated Node #0,4,0: 42:[30, 68] Operation: 70-2=68 Exploring Operation: 30-2=28, Resulting Numbers: [70, 28] Generated Node #0,4,1: 42:[70, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [70, 15] Generated Node #0,4,2: 42:[70, 15] Operation: 30/2=15 Exploring Operation: 70-30=40, Resulting Numbers: [2, 40] Generated Node #0,4,3: 42:[2, 40] Operation: 70-30=40 Exploring Operation: 70/2=35, Resulting Numbers: [30, 35] Generated Node #0,4,4: 42:[30, 35] Operation: 70/2=35 Moving to Node #0,0 Current State: 42:[66, 68, 40], Operations: ['70-30=40'] Exploring Operation: 66-40=26, Resulting Numbers: [68, 26] Generated Node #0,0,0: 42:[68, 26] Operation: 66-40=26 Exploring Operation: 66+40=106, Resulting Numbers: [68, 106] Generated Node #0,0,1: 42:[68, 106] Operation: 66+40=106 Exploring Operation: 68-66=2, Resulting Numbers: [40, 2] Generated Node #0,0,2: 42:[40, 2] Operation: 68-66=2 Exploring Operation: 68+40=108, Resulting Numbers: [66, 108] Generated Node #0,0,3: 42:[66, 108] Operation: 68+40=108 Exploring Operation: 68-40=28, Resulting Numbers: [66, 28] Generated Node #0,0,4: 42:[66, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 42:[40, 2], Operations: ['70-30=40', '68-66=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,42 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[70, 30, 66, 68], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [66, 68, 40] Generated Node #0,0: 42:[66, 68, 40] Operation: 70-30=40 Moving to Node #0,0 Current State: 42:[66, 68, 40], Operations: ['70-30=40'] Exploring Operation: 68-66=2, Resulting Numbers: [40, 2] Generated Node #0,0,2: 42:[40, 2] Operation: 68-66=2 Moving to Node #0,0,2 Current State: 42:[40, 2], Operations: ['70-30=40', '68-66=2'] Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 93, 10, 18, 96 ]
81
[ "18-10=8", "96/8=12", "93-12=81" ]
Current State: 81:[93, 10, 18, 96], Operations: [] Exploring Operation: 18-10=8, Resulting Numbers: [93, 96, 8] Generated Node #2: [93, 96, 8] from Operation: 18-10=8 Current State: 81:[93, 96, 8], Operations: ['18-10=8'] Exploring Operation: 96/8=12, Resulting Numbers: [93, 12] Generated Node #3: [93, 12] from Operation: 96/8=12 Current State: 81:[93, 12], Operations: ['18-10=8', '96/8=12'] Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[93, 10, 18, 96], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [10, 96, 75] Generated Node #0,0: 81:[10, 96, 75] Operation: 93-18=75 Exploring Operation: 96-18=78, Resulting Numbers: [93, 10, 78] Generated Node #0,1: 81:[93, 10, 78] Operation: 96-18=78 Exploring Operation: 96-93=3, Resulting Numbers: [10, 18, 3] Generated Node #0,2: 81:[10, 18, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[10, 18, 3], Operations: ['96-93=3'] Exploring Operation: 18/3=6, Resulting Numbers: [10, 6] Generated Node #0,2,0: 81:[10, 6] Operation: 18/3=6 Exploring Operation: 10+18=28, Resulting Numbers: [3, 28] Generated Node #0,2,1: 81:[3, 28] Operation: 10+18=28 Exploring Operation: 18-10=8, Resulting Numbers: [3, 8] Generated Node #0,2,2: 81:[3, 8] Operation: 18-10=8 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[3, 28], Operations: ['96-93=3', '10+18=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[3, 8], Operations: ['96-93=3', '18-10=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,81 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[10, 6], Operations: ['96-93=3', '18/3=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,81 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[93, 10, 78], Operations: ['96-18=78'] Exploring Operation: 10+78=88, Resulting Numbers: [93, 88] Generated Node #0,1,0: 81:[93, 88] Operation: 10+78=88 Exploring Operation: 93-78=15, Resulting Numbers: [10, 15] Generated Node #0,1,1: 81:[10, 15] Operation: 93-78=15 Exploring Operation: 93-10=83, Resulting Numbers: [78, 83] Generated Node #0,1,2: 81:[78, 83] Operation: 93-10=83 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[78, 83], Operations: ['96-18=78', '93-10=83'] Exploring Operation: 78*83=6474, Resulting Numbers: [6474] 6474,81 unequal: No Solution Exploring Operation: 83-78=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 78+83=161, Resulting Numbers: [161] 161,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[10, 15], Operations: ['96-18=78', '93-78=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,81 unequal: No Solution Exploring Operation: 10*15=150, Resulting Numbers: [150] 150,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[93, 88], Operations: ['96-18=78', '10+78=88'] Exploring Operation: 93-88=5, Resulting Numbers: [5] 5,81 unequal: No Solution Exploring Operation: 93*88=8184, Resulting Numbers: [8184] 8184,81 unequal: No Solution Exploring Operation: 93+88=181, Resulting Numbers: [181] 181,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[10, 96, 75], Operations: ['93-18=75'] Exploring Operation: 96-75=21, Resulting Numbers: [10, 21] Generated Node #0,0,0: 81:[10, 21] Operation: 96-75=21 Exploring Operation: 96-10=86, Resulting Numbers: [75, 86] Generated Node #0,0,1: 81:[75, 86] Operation: 96-10=86 Exploring Operation: 10+75=85, Resulting Numbers: [96, 85] Generated Node #0,0,2: 81:[96, 85] Operation: 10+75=85 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[10, 21], Operations: ['93-18=75', '96-75=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,81 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,81 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[75, 86], Operations: ['93-18=75', '96-10=86'] Exploring Operation: 75+86=161, Resulting Numbers: [161] 161,81 unequal: No Solution Exploring Operation: 75*86=6450, Resulting Numbers: [6450] 6450,81 unequal: No Solution Exploring Operation: 86-75=11, Resulting Numbers: [11] 11,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[96, 85], Operations: ['93-18=75', '10+75=85'] Exploring Operation: 96+85=181, Resulting Numbers: [181] 181,81 unequal: No Solution Exploring Operation: 96*85=8160, Resulting Numbers: [8160] 8160,81 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 23, 1, 37, 11 ]
70
[ "23-1=22", "37+11=48", "22+48=70" ]
Current State: 70:[23, 1, 37, 11], Operations: [] Exploring Operation: 23-1=22, Resulting Numbers: [37, 11, 22] Generated Node #2: [37, 11, 22] from Operation: 23-1=22 Current State: 70:[37, 11, 22], Operations: ['23-1=22'] Exploring Operation: 37+11=48, Resulting Numbers: [22, 48] Generated Node #3: [22, 48] from Operation: 37+11=48 Current State: 70:[22, 48], Operations: ['23-1=22', '37+11=48'] Exploring Operation: 22+48=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[23, 1, 37, 11], Operations: [] Exploring Operation: 37-23=14, Resulting Numbers: [1, 11, 14] Generated Node #0,0: 70:[1, 11, 14] Operation: 37-23=14 Exploring Operation: 23+11=34, Resulting Numbers: [1, 37, 34] Generated Node #0,1: 70:[1, 37, 34] Operation: 23+11=34 Exploring Operation: 23-11=12, Resulting Numbers: [1, 37, 12] Generated Node #0,2: 70:[1, 37, 12] Operation: 23-11=12 Exploring Operation: 23-1=22, Resulting Numbers: [37, 11, 22] Generated Node #0,3: 70:[37, 11, 22] Operation: 23-1=22 Moving to Node #0,0 Current State: 70:[1, 11, 14], Operations: ['37-23=14'] Exploring Operation: 1*14=14, Resulting Numbers: [11, 14] Generated Node #0,0,0: 70:[11, 14] Operation: 1*14=14 Exploring Operation: 1*11=11, Resulting Numbers: [14, 11] Generated Node #0,0,1: 70:[14, 11] Operation: 1*11=11 Exploring Operation: 11-1=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 70:[14, 10] Operation: 11-1=10 Exploring Operation: 11/1=11, Resulting Numbers: [14, 11] Generated Node #0,0,3: 70:[14, 11] Operation: 11/1=11 Moving to Node #0,1 Current State: 70:[1, 37, 34], Operations: ['23+11=34'] Exploring Operation: 37-1=36, Resulting Numbers: [34, 36] Generated Node #0,1,0: 70:[34, 36] Operation: 37-1=36 Exploring Operation: 37-34=3, Resulting Numbers: [1, 3] Generated Node #0,1,1: 70:[1, 3] Operation: 37-34=3 Exploring Operation: 1+34=35, Resulting Numbers: [37, 35] Generated Node #0,1,2: 70:[37, 35] Operation: 1+34=35 Exploring Operation: 37+34=71, Resulting Numbers: [1, 71] Generated Node #0,1,3: 70:[1, 71] Operation: 37+34=71 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[34, 36], Operations: ['23+11=34', '37-1=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,70 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[23, 1, 37, 11], Operations: [] Exploring Operation: 23+11=34, Resulting Numbers: [1, 37, 34] Generated Node #0,1: 70:[1, 37, 34] Operation: 23+11=34 Moving to Node #0,1 Current State: 70:[1, 37, 34], Operations: ['23+11=34'] Exploring Operation: 37-1=36, Resulting Numbers: [34, 36] Generated Node #0,1,0: 70:[34, 36] Operation: 37-1=36 Moving to Node #0,1,0 Current State: 70:[34, 36], Operations: ['23+11=34', '37-1=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 29, 71, 2, 28 ]
44
[ "29+71=100", "2*28=56", "100-56=44" ]
Current State: 44:[29, 71, 2, 28], Operations: [] Exploring Operation: 29+71=100, Resulting Numbers: [2, 28, 100] Generated Node #2: [2, 28, 100] from Operation: 29+71=100 Current State: 44:[2, 28, 100], Operations: ['29+71=100'] Exploring Operation: 2*28=56, Resulting Numbers: [100, 56] Generated Node #3: [100, 56] from Operation: 2*28=56 Current State: 44:[100, 56], Operations: ['29+71=100', '2*28=56'] Exploring Operation: 100-56=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[29, 71, 2, 28], Operations: [] Exploring Operation: 71-28=43, Resulting Numbers: [29, 2, 43] Generated Node #0,0: 44:[29, 2, 43] Operation: 71-28=43 Exploring Operation: 71-29=42, Resulting Numbers: [2, 28, 42] Generated Node #0,1: 44:[2, 28, 42] Operation: 71-29=42 Moving to Node #0,0 Current State: 44:[29, 2, 43], Operations: ['71-28=43'] Exploring Operation: 43-29=14, Resulting Numbers: [2, 14] Generated Node #0,0,0: 44:[2, 14] Operation: 43-29=14 Exploring Operation: 29-2=27, Resulting Numbers: [43, 27] Generated Node #0,0,1: 44:[43, 27] Operation: 29-2=27 Moving to Node #0,1 Current State: 44:[2, 28, 42], Operations: ['71-29=42'] Exploring Operation: 42-28=14, Resulting Numbers: [2, 14] Generated Node #0,1,0: 44:[2, 14] Operation: 42-28=14 Exploring Operation: 28/2=14, Resulting Numbers: [42, 14] Generated Node #0,1,1: 44:[42, 14] Operation: 28/2=14 Moving to Node #0,0,0 Current State: 44:[2, 14], Operations: ['71-28=43', '43-29=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[2, 14], Operations: ['71-29=42', '42-28=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,44 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[42, 14], Operations: ['71-29=42', '28/2=14'] Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[43, 27], Operations: ['71-28=43', '29-2=27'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,44 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 69, 3, 81 ]
87
[ "87+69=156", "3*81=243", "243-156=87" ]
Current State: 87:[87, 69, 3, 81], Operations: [] Exploring Operation: 87+69=156, Resulting Numbers: [3, 81, 156] Generated Node #2: [3, 81, 156] from Operation: 87+69=156 Current State: 87:[3, 81, 156], Operations: ['87+69=156'] Exploring Operation: 3*81=243, Resulting Numbers: [156, 243] Generated Node #3: [156, 243] from Operation: 3*81=243 Current State: 87:[156, 243], Operations: ['87+69=156', '3*81=243'] Exploring Operation: 243-156=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[87, 69, 3, 81], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [87, 81, 23] Generated Node #0,0: 87:[87, 81, 23] Operation: 69/3=23 Exploring Operation: 81-69=12, Resulting Numbers: [87, 3, 12] Generated Node #0,1: 87:[87, 3, 12] Operation: 81-69=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[87, 3, 12], Operations: ['81-69=12'] Exploring Operation: 12-3=9, Resulting Numbers: [87, 9] Generated Node #0,1,0: 87:[87, 9] Operation: 12-3=9 Exploring Operation: 12/3=4, Resulting Numbers: [87, 4] Generated Node #0,1,1: 87:[87, 4] Operation: 12/3=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[87, 4], Operations: ['81-69=12', '12/3=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[87, 9], Operations: ['81-69=12', '12-3=9'] Exploring Operation: 87+9=96, Resulting Numbers: [96] 96,87 unequal: No Solution Exploring Operation: 87-9=78, Resulting Numbers: [78] 78,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[87, 81, 23], Operations: ['69/3=23'] Exploring Operation: 87-81=6, Resulting Numbers: [23, 6] Generated Node #0,0,0: 87:[23, 6] Operation: 87-81=6 Exploring Operation: 81+23=104, Resulting Numbers: [87, 104] Generated Node #0,0,1: 87:[87, 104] Operation: 81+23=104 Moving to Node #0,0,0 Current State: 87:[23, 6], Operations: ['69/3=23', '87-81=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[87, 104], Operations: ['69/3=23', '81+23=104'] Exploring Operation: 104-87=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 87+104=191, Resulting Numbers: [191] 191,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 34, 79, 77, 82 ]
91
[ "82-77=5", "34*5=170", "170-79=91" ]
Current State: 91:[34, 79, 77, 82], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [34, 79, 5] Generated Node #2: [34, 79, 5] from Operation: 82-77=5 Current State: 91:[34, 79, 5], Operations: ['82-77=5'] Exploring Operation: 34*5=170, Resulting Numbers: [79, 170] Generated Node #3: [79, 170] from Operation: 34*5=170 Current State: 91:[79, 170], Operations: ['82-77=5', '34*5=170'] Exploring Operation: 170-79=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[34, 79, 77, 82], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [34, 82, 2] Generated Node #0,0: 91:[34, 82, 2] Operation: 79-77=2 Exploring Operation: 82-77=5, Resulting Numbers: [34, 79, 5] Generated Node #0,1: 91:[34, 79, 5] Operation: 82-77=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[34, 82, 2], Operations: ['79-77=2'] Exploring Operation: 34/2=17, Resulting Numbers: [82, 17] Generated Node #0,0,0: 91:[82, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [82, 32] Generated Node #0,0,1: 91:[82, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[82, 17], Operations: ['79-77=2', '34/2=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,91 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,91 unequal: No Solution No 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: 91:[82, 32], Operations: ['79-77=2', '34-2=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,91 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,91 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: 91:[34, 79, 5], Operations: ['82-77=5'] Exploring Operation: 34+79=113, Resulting Numbers: [5, 113] Generated Node #0,1,0: 91:[5, 113] Operation: 34+79=113 Exploring Operation: 34-5=29, Resulting Numbers: [79, 29] Generated Node #0,1,1: 91:[79, 29] Operation: 34-5=29 Moving to Node #0,1,0 Current State: 91:[5, 113], Operations: ['82-77=5', '34+79=113'] Exploring Operation: 5+113=118, Resulting Numbers: [118] 118,91 unequal: No Solution Exploring Operation: 113-5=108, Resulting Numbers: [108] 108,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[79, 29], Operations: ['82-77=5', '34-5=29'] Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 84, 8, 93, 4 ]
41
[ "93-84=9", "8*4=32", "9+32=41" ]
Current State: 41:[84, 8, 93, 4], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [8, 4, 9] Generated Node #2: [8, 4, 9] from Operation: 93-84=9 Current State: 41:[8, 4, 9], Operations: ['93-84=9'] Exploring Operation: 8*4=32, Resulting Numbers: [9, 32] Generated Node #3: [9, 32] from Operation: 8*4=32 Current State: 41:[9, 32], Operations: ['93-84=9', '8*4=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[84, 8, 93, 4], Operations: [] Exploring Operation: 84-8=76, Resulting Numbers: [93, 4, 76] Generated Node #0,0: 41:[93, 4, 76] Operation: 84-8=76 Exploring Operation: 84-4=80, Resulting Numbers: [8, 93, 80] Generated Node #0,1: 41:[8, 93, 80] Operation: 84-4=80 Exploring Operation: 8*4=32, Resulting Numbers: [84, 93, 32] Generated Node #0,2: 41:[84, 93, 32] Operation: 8*4=32 Exploring Operation: 93-84=9, Resulting Numbers: [8, 4, 9] Generated Node #0,3: 41:[8, 4, 9] Operation: 93-84=9 Exploring Operation: 84/4=21, Resulting Numbers: [8, 93, 21] Generated Node #0,4: 41:[8, 93, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[8, 4, 9], Operations: ['93-84=9'] Exploring Operation: 4+9=13, Resulting Numbers: [8, 13] Generated Node #0,3,0: 41:[8, 13] Operation: 4+9=13 Exploring Operation: 4*9=36, Resulting Numbers: [8, 36] Generated Node #0,3,1: 41:[8, 36] Operation: 4*9=36 Exploring Operation: 8+4=12, Resulting Numbers: [9, 12] Generated Node #0,3,2: 41:[9, 12] Operation: 8+4=12 Exploring Operation: 8*4=32, Resulting Numbers: [9, 32] Generated Node #0,3,3: 41:[9, 32] Operation: 8*4=32 Exploring Operation: 8+9=17, Resulting Numbers: [4, 17] Generated Node #0,3,4: 41:[4, 17] Operation: 8+9=17 Moving to Node #0,3,1 Current State: 41:[8, 36], Operations: ['93-84=9', '4*9=36'] Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,41 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,41 unequal: No Solution Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[9, 32], Operations: ['93-84=9', '8*4=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[84, 8, 93, 4], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [8, 4, 9] Generated Node #0,3: 41:[8, 4, 9] Operation: 93-84=9 Moving to Node #0,3 Current State: 41:[8, 4, 9], Operations: ['93-84=9'] Exploring Operation: 8*4=32, Resulting Numbers: [9, 32] Generated Node #0,3,3: 41:[9, 32] Operation: 8*4=32 Moving to Node #0,3,3 Current State: 41:[9, 32], Operations: ['93-84=9', '8*4=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 82, 57, 26, 3 ]
54
[ "82-57=25", "26+3=29", "25+29=54" ]
Current State: 54:[82, 57, 26, 3], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [26, 3, 25] Generated Node #2: [26, 3, 25] from Operation: 82-57=25 Current State: 54:[26, 3, 25], Operations: ['82-57=25'] Exploring Operation: 26+3=29, Resulting Numbers: [25, 29] Generated Node #3: [25, 29] from Operation: 26+3=29 Current State: 54:[25, 29], Operations: ['82-57=25', '26+3=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[82, 57, 26, 3], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [26, 3, 25] Generated Node #0,0: 54:[26, 3, 25] Operation: 82-57=25 Exploring Operation: 82-26=56, Resulting Numbers: [57, 3, 56] Generated Node #0,1: 54:[57, 3, 56] Operation: 82-26=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[26, 3, 25], Operations: ['82-57=25'] Exploring Operation: 3+25=28, Resulting Numbers: [26, 28] Generated Node #0,0,0: 54:[26, 28] Operation: 3+25=28 Exploring Operation: 26-25=1, Resulting Numbers: [3, 1] Generated Node #0,0,1: 54:[3, 1] Operation: 26-25=1 Moving to Node #0,0,1 Current State: 54:[3, 1], Operations: ['82-57=25', '26-25=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[26, 28], Operations: ['82-57=25', '3+25=28'] Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[82, 57, 26, 3], Operations: [] Exploring Operation: 82-57=25, Resulting Numbers: [26, 3, 25] Generated Node #0,0: 54:[26, 3, 25] Operation: 82-57=25 Moving to Node #0,0 Current State: 54:[26, 3, 25], Operations: ['82-57=25'] Exploring Operation: 3+25=28, Resulting Numbers: [26, 28] Generated Node #0,0,0: 54:[26, 28] Operation: 3+25=28 Moving to Node #0,0,0 Current State: 54:[26, 28], Operations: ['82-57=25', '3+25=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic