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
[ 45, 28, 87, 44 ]
14
[ "87-45=42", "44-42=2", "28/2=14" ]
Current State: 14:[45, 28, 87, 44], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [28, 44, 42] Generated Node #2: [28, 44, 42] from Operation: 87-45=42 Current State: 14:[28, 44, 42], Operations: ['87-45=42'] Exploring Operation: 44-42=2, Resulting Numbers: [28, 2] Generated Node #3: [28, 2] from Operation: 44-42=2 Current State: 14:[28, 2], Operations: ['87-45=42', '44-42=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[45, 28, 87, 44], Operations: [] Exploring Operation: 45-28=17, Resulting Numbers: [87, 44, 17] Generated Node #0,0: 14:[87, 44, 17] Operation: 45-28=17 Exploring Operation: 45-44=1, Resulting Numbers: [28, 87, 1] Generated Node #0,1: 14:[28, 87, 1] Operation: 45-44=1 Exploring Operation: 87-44=43, Resulting Numbers: [45, 28, 43] Generated Node #0,2: 14:[45, 28, 43] Operation: 87-44=43 Exploring Operation: 87-45=42, Resulting Numbers: [28, 44, 42] Generated Node #0,3: 14:[28, 44, 42] Operation: 87-45=42 Moving to Node #0,3 Current State: 14:[28, 44, 42], Operations: ['87-45=42'] Exploring Operation: 42-28=14, Resulting Numbers: [44, 14] Generated Node #0,3,0: 14:[44, 14] Operation: 42-28=14 Exploring Operation: 44-28=16, Resulting Numbers: [42, 16] Generated Node #0,3,1: 14:[42, 16] Operation: 44-28=16 Exploring Operation: 28+44=72, Resulting Numbers: [42, 72] Generated Node #0,3,2: 14:[42, 72] Operation: 28+44=72 Exploring Operation: 44-42=2, Resulting Numbers: [28, 2] Generated Node #0,3,3: 14:[28, 2] Operation: 44-42=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[28, 2], Operations: ['87-45=42', '44-42=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[45, 28, 87, 44], Operations: [] Exploring Operation: 87-45=42, Resulting Numbers: [28, 44, 42] Generated Node #0,3: 14:[28, 44, 42] Operation: 87-45=42 Moving to Node #0,3 Current State: 14:[28, 44, 42], Operations: ['87-45=42'] Exploring Operation: 44-42=2, Resulting Numbers: [28, 2] Generated Node #0,3,3: 14:[28, 2] Operation: 44-42=2 Moving to Node #0,3,3 Current State: 14:[28, 2], Operations: ['87-45=42', '44-42=2'] Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 5, 34, 11, 80 ]
61
[ "80/5=16", "34+11=45", "16+45=61" ]
Current State: 61:[5, 34, 11, 80], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [34, 11, 16] Generated Node #2: [34, 11, 16] from Operation: 80/5=16 Current State: 61:[34, 11, 16], Operations: ['80/5=16'] Exploring Operation: 34+11=45, Resulting Numbers: [16, 45] Generated Node #3: [16, 45] from Operation: 34+11=45 Current State: 61:[16, 45], Operations: ['80/5=16', '34+11=45'] Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[5, 34, 11, 80], Operations: [] Exploring Operation: 5+34=39, Resulting Numbers: [11, 80, 39] Generated Node #0,0: 61:[11, 80, 39] Operation: 5+34=39 Exploring Operation: 5*11=55, Resulting Numbers: [34, 80, 55] Generated Node #0,1: 61:[34, 80, 55] Operation: 5*11=55 Exploring Operation: 5+11=16, Resulting Numbers: [34, 80, 16] Generated Node #0,2: 61:[34, 80, 16] Operation: 5+11=16 Exploring Operation: 80-5=75, Resulting Numbers: [34, 11, 75] Generated Node #0,3: 61:[34, 11, 75] Operation: 80-5=75 Moving to Node #0,1 Current State: 61:[34, 80, 55], Operations: ['5*11=55'] Exploring Operation: 34+80=114, Resulting Numbers: [55, 114] Generated Node #0,1,0: 61:[55, 114] Operation: 34+80=114 Exploring Operation: 34+55=89, Resulting Numbers: [80, 89] Generated Node #0,1,1: 61:[80, 89] Operation: 34+55=89 Exploring Operation: 80-34=46, Resulting Numbers: [55, 46] Generated Node #0,1,2: 61:[55, 46] Operation: 80-34=46 Exploring Operation: 55-34=21, Resulting Numbers: [80, 21] Generated Node #0,1,3: 61:[80, 21] Operation: 55-34=21 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[55, 46], Operations: ['5*11=55', '80-34=46'] Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[80, 89], Operations: ['5*11=55', '34+55=89'] Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,61 unequal: No Solution Exploring Operation: 80*89=7120, Resulting Numbers: [7120] 7120,61 unequal: No Solution Exploring Operation: 80+89=169, Resulting Numbers: [169] 169,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[55, 114], Operations: ['5*11=55', '34+80=114'] Exploring Operation: 55*114=6270, Resulting Numbers: [6270] 6270,61 unequal: No Solution Exploring Operation: 114-55=59, Resulting Numbers: [59] 59,61 unequal: No Solution Exploring Operation: 55+114=169, Resulting Numbers: [169] 169,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[80, 21], Operations: ['5*11=55', '55-34=21'] Exploring Operation: 80*21=1680, Resulting Numbers: [1680] 1680,61 unequal: No Solution Exploring Operation: 80+21=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 80-21=59, Resulting Numbers: [59] 59,61 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: 61:[34, 80, 16], Operations: ['5+11=16'] Exploring Operation: 80-34=46, Resulting Numbers: [16, 46] Generated Node #0,2,0: 61:[16, 46] Operation: 80-34=46 Exploring Operation: 80-16=64, Resulting Numbers: [34, 64] Generated Node #0,2,1: 61:[34, 64] Operation: 80-16=64 Exploring Operation: 34+16=50, Resulting Numbers: [80, 50] Generated Node #0,2,2: 61:[80, 50] Operation: 34+16=50 Exploring Operation: 34-16=18, Resulting Numbers: [80, 18] Generated Node #0,2,3: 61:[80, 18] Operation: 34-16=18 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[34, 64], Operations: ['5+11=16', '80-16=64'] Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,61 unequal: No Solution Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[80, 50], Operations: ['5+11=16', '34+16=50'] Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,61 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[16, 46], Operations: ['5+11=16', '80-34=46'] Exploring Operation: 16+46=62, Resulting Numbers: [62] 62,61 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 16*46=736, Resulting Numbers: [736] 736,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[80, 18], Operations: ['5+11=16', '34-16=18'] Exploring Operation: 80*18=1440, Resulting Numbers: [1440] 1440,61 unequal: No Solution Exploring Operation: 80+18=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 80-18=62, Resulting Numbers: [62] 62,61 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: 61:[11, 80, 39], Operations: ['5+34=39'] Exploring Operation: 80-11=69, Resulting Numbers: [39, 69] Generated Node #0,0,0: 61:[39, 69] Operation: 80-11=69 Exploring Operation: 39-11=28, Resulting Numbers: [80, 28] Generated Node #0,0,1: 61:[80, 28] Operation: 39-11=28 Exploring Operation: 11+80=91, Resulting Numbers: [39, 91] Generated Node #0,0,2: 61:[39, 91] Operation: 11+80=91 Exploring Operation: 11+39=50, Resulting Numbers: [80, 50] Generated Node #0,0,3: 61:[80, 50] Operation: 11+39=50 Moving to Node #0,3 Current State: 61:[34, 11, 75], Operations: ['80-5=75'] Exploring Operation: 34+11=45, Resulting Numbers: [75, 45] Generated Node #0,3,0: 61:[75, 45] Operation: 34+11=45 Exploring Operation: 11+75=86, Resulting Numbers: [34, 86] Generated Node #0,3,1: 61:[34, 86] Operation: 11+75=86 Exploring Operation: 75-11=64, Resulting Numbers: [34, 64] Generated Node #0,3,2: 61:[34, 64] Operation: 75-11=64 Exploring Operation: 34-11=23, Resulting Numbers: [75, 23] Generated Node #0,3,3: 61:[75, 23] Operation: 34-11=23 Moving to Node #0,0,0 Current State: 61:[39, 69], Operations: ['5+34=39', '80-11=69'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,61 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[34, 64], Operations: ['80-5=75', '75-11=64'] Exploring Operation: 64-34=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 34*64=2176, Resulting Numbers: [2176] 2176,61 unequal: No Solution Exploring Operation: 34+64=98, Resulting Numbers: [98] 98,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[80, 50], Operations: ['5+34=39', '11+39=50'] Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[75, 45], Operations: ['80-5=75', '34+11=45'] Exploring Operation: 75*45=3375, Resulting Numbers: [3375] 3375,61 unequal: No Solution Exploring Operation: 75-45=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 75+45=120, Resulting Numbers: [120] 120,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[34, 86], Operations: ['80-5=75', '11+75=86'] Exploring Operation: 34+86=120, Resulting Numbers: [120] 120,61 unequal: No Solution Exploring Operation: 34*86=2924, Resulting Numbers: [2924] 2924,61 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[80, 28], Operations: ['5+34=39', '39-11=28'] Exploring Operation: 80-28=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 80*28=2240, Resulting Numbers: [2240] 2240,61 unequal: No Solution Exploring Operation: 80+28=108, Resulting Numbers: [108] 108,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[75, 23], Operations: ['80-5=75', '34-11=23'] Exploring Operation: 75+23=98, Resulting Numbers: [98] 98,61 unequal: No Solution Exploring Operation: 75*23=1725, Resulting Numbers: [1725] 1725,61 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[39, 91], Operations: ['5+34=39', '11+80=91'] Exploring Operation: 39+91=130, Resulting Numbers: [130] 130,61 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,61 unequal: No Solution Exploring Operation: 39*91=3549, Resulting Numbers: [3549] 3549,61 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 68, 6, 34, 98 ]
16
[ "68/34=2", "98-2=96", "96/6=16" ]
Current State: 16:[68, 6, 34, 98], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [6, 98, 2] Generated Node #2: [6, 98, 2] from Operation: 68/34=2 Current State: 16:[6, 98, 2], Operations: ['68/34=2'] Exploring Operation: 98-2=96, Resulting Numbers: [6, 96] Generated Node #3: [6, 96] from Operation: 98-2=96 Current State: 16:[6, 96], Operations: ['68/34=2', '98-2=96'] Exploring Operation: 96/6=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[68, 6, 34, 98], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [6, 34, 30] Generated Node #0,0: 16:[6, 34, 30] Operation: 98-68=30 Moving to Node #0,0 Current State: 16:[6, 34, 30], Operations: ['98-68=30'] Exploring Operation: 34-30=4, Resulting Numbers: [6, 4] Generated Node #0,0,0: 16:[6, 4] Operation: 34-30=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[6, 4], Operations: ['98-68=30', '34-30=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,16 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
[ 62, 6, 65, 49 ]
47
[ "65-62=3", "6/3=2", "49-2=47" ]
Current State: 47:[62, 6, 65, 49], Operations: [] Exploring Operation: 65-62=3, Resulting Numbers: [6, 49, 3] Generated Node #2: [6, 49, 3] from Operation: 65-62=3 Current State: 47:[6, 49, 3], Operations: ['65-62=3'] Exploring Operation: 6/3=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 6/3=2 Current State: 47:[49, 2], Operations: ['65-62=3', '6/3=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[62, 6, 65, 49], Operations: [] Exploring Operation: 62-6=56, Resulting Numbers: [65, 49, 56] Generated Node #0,0: 47:[65, 49, 56] Operation: 62-6=56 Moving to Node #0,0 Current State: 47:[65, 49, 56], Operations: ['62-6=56'] Exploring Operation: 65-49=16, Resulting Numbers: [56, 16] Generated Node #0,0,0: 47:[56, 16] Operation: 65-49=16 Moving to Node #0,0,0 Current State: 47:[56, 16], Operations: ['62-6=56', '65-49=16'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,47 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 33, 68, 27, 99 ]
13
[ "99/33=3", "27*3=81", "81-68=13" ]
Current State: 13:[33, 68, 27, 99], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [68, 27, 3] Generated Node #2: [68, 27, 3] from Operation: 99/33=3 Current State: 13:[68, 27, 3], Operations: ['99/33=3'] Exploring Operation: 27*3=81, Resulting Numbers: [68, 81] Generated Node #3: [68, 81] from Operation: 27*3=81 Current State: 13:[68, 81], Operations: ['99/33=3', '27*3=81'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[33, 68, 27, 99], Operations: [] Exploring Operation: 99-68=31, Resulting Numbers: [33, 27, 31] Generated Node #0,0: 13:[33, 27, 31] Operation: 99-68=31 Exploring Operation: 99-33=66, Resulting Numbers: [68, 27, 66] Generated Node #0,1: 13:[68, 27, 66] Operation: 99-33=66 Exploring Operation: 68-27=41, Resulting Numbers: [33, 99, 41] Generated Node #0,2: 13:[33, 99, 41] Operation: 68-27=41 Exploring Operation: 68-33=35, Resulting Numbers: [27, 99, 35] Generated Node #0,3: 13:[27, 99, 35] Operation: 68-33=35 Exploring Operation: 99/33=3, Resulting Numbers: [68, 27, 3] Generated Node #0,4: 13:[68, 27, 3] Operation: 99/33=3 Moving to Node #0,0 Current State: 13:[33, 27, 31], Operations: ['99-68=31'] Exploring Operation: 33-27=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 13:[31, 6] Operation: 33-27=6 Exploring Operation: 31-27=4, Resulting Numbers: [33, 4] Generated Node #0,0,1: 13:[33, 4] Operation: 31-27=4 Exploring Operation: 33+27=60, Resulting Numbers: [31, 60] Generated Node #0,0,2: 13:[31, 60] Operation: 33+27=60 Exploring Operation: 33-31=2, Resulting Numbers: [27, 2] Generated Node #0,0,3: 13:[27, 2] Operation: 33-31=2 Exploring Operation: 33+31=64, Resulting Numbers: [27, 64] Generated Node #0,0,4: 13:[27, 64] Operation: 33+31=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[31, 6], Operations: ['99-68=31', '33-27=6'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 31*6=186, Resulting Numbers: [186] 186,13 unequal: No Solution Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 13:[27, 2], Operations: ['99-68=31', '33-31=2'] Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[33, 4], Operations: ['99-68=31', '31-27=4'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,13 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 13:[31, 60], Operations: ['99-68=31', '33+27=60'] Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 13:[27, 64], Operations: ['99-68=31', '33+31=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,13 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,13 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: 13:[68, 27, 3], Operations: ['99/33=3'] Exploring Operation: 68-3=65, Resulting Numbers: [27, 65] Generated Node #0,4,0: 13:[27, 65] Operation: 68-3=65 Exploring Operation: 27/3=9, Resulting Numbers: [68, 9] Generated Node #0,4,1: 13:[68, 9] Operation: 27/3=9 Exploring Operation: 68-27=41, Resulting Numbers: [3, 41] Generated Node #0,4,2: 13:[3, 41] Operation: 68-27=41 Exploring Operation: 27-3=24, Resulting Numbers: [68, 24] Generated Node #0,4,3: 13:[68, 24] Operation: 27-3=24 Exploring Operation: 68+3=71, Resulting Numbers: [27, 71] Generated Node #0,4,4: 13:[27, 71] Operation: 68+3=71 Moving to Node #0,1 Current State: 13:[68, 27, 66], Operations: ['99-33=66'] Exploring Operation: 68+66=134, Resulting Numbers: [27, 134] Generated Node #0,1,0: 13:[27, 134] Operation: 68+66=134 Exploring Operation: 68+27=95, Resulting Numbers: [66, 95] Generated Node #0,1,1: 13:[66, 95] Operation: 68+27=95 Exploring Operation: 66-27=39, Resulting Numbers: [68, 39] Generated Node #0,1,2: 13:[68, 39] Operation: 66-27=39 Exploring Operation: 68-27=41, Resulting Numbers: [66, 41] Generated Node #0,1,3: 13:[66, 41] Operation: 68-27=41 Exploring Operation: 68-66=2, Resulting Numbers: [27, 2] Generated Node #0,1,4: 13:[27, 2] Operation: 68-66=2 Moving to Node #0,3 Current State: 13:[27, 99, 35], Operations: ['68-33=35'] Exploring Operation: 99-35=64, Resulting Numbers: [27, 64] Generated Node #0,3,0: 13:[27, 64] Operation: 99-35=64 Exploring Operation: 99-27=72, Resulting Numbers: [35, 72] Generated Node #0,3,1: 13:[35, 72] Operation: 99-27=72 Exploring Operation: 27+35=62, Resulting Numbers: [99, 62] Generated Node #0,3,2: 13:[99, 62] Operation: 27+35=62 Exploring Operation: 35-27=8, Resulting Numbers: [99, 8] Generated Node #0,3,3: 13:[99, 8] Operation: 35-27=8 Exploring Operation: 27+99=126, Resulting Numbers: [35, 126] Generated Node #0,3,4: 13:[35, 126] Operation: 27+99=126 Moving to Node #0,2 Current State: 13:[33, 99, 41], Operations: ['68-27=41'] Exploring Operation: 99-41=58, Resulting Numbers: [33, 58] Generated Node #0,2,0: 13:[33, 58] Operation: 99-41=58 Exploring Operation: 99/33=3, Resulting Numbers: [41, 3] Generated Node #0,2,1: 13:[41, 3] Operation: 99/33=3 Exploring Operation: 99-33=66, Resulting Numbers: [41, 66] Generated Node #0,2,2: 13:[41, 66] Operation: 99-33=66 Exploring Operation: 33+99=132, Resulting Numbers: [41, 132] Generated Node #0,2,3: 13:[41, 132] Operation: 33+99=132 Exploring Operation: 41-33=8, Resulting Numbers: [99, 8] Generated Node #0,2,4: 13:[99, 8] Operation: 41-33=8 Moving to Node #0,1,4 Current State: 13:[27, 2], Operations: ['99-33=66', '68-66=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,13 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[3, 41], Operations: ['99/33=3', '68-27=41'] Exploring Operation: 3*41=123, Resulting Numbers: [123] 123,13 unequal: No Solution Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[41, 3], Operations: ['68-27=41', '99/33=3'] Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,13 unequal: No Solution Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[68, 9], Operations: ['99/33=3', '27/3=9'] Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,13 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,13 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[27, 64], Operations: ['68-33=35', '99-35=64'] Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[33, 58], Operations: ['68-27=41', '99-41=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 33*58=1914, Resulting Numbers: [1914] 1914,13 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[27, 65], Operations: ['99/33=3', '68-3=65'] Exploring Operation: 27*65=1755, Resulting Numbers: [1755] 1755,13 unequal: No Solution Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,13 unequal: No Solution Exploring Operation: 27+65=92, Resulting Numbers: [92] 92,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[68, 24], Operations: ['99/33=3', '27-3=24'] Exploring Operation: 68*24=1632, Resulting Numbers: [1632] 1632,13 unequal: No Solution Exploring Operation: 68+24=92, Resulting Numbers: [92] 92,13 unequal: No Solution Exploring Operation: 68-24=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[27, 71], Operations: ['99/33=3', '68+3=71'] Exploring Operation: 27*71=1917, Resulting Numbers: [1917] 1917,13 unequal: No Solution Exploring Operation: 27+71=98, Resulting Numbers: [98] 98,13 unequal: No Solution Exploring Operation: 71-27=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[68, 39], Operations: ['99-33=66', '66-27=39'] Exploring Operation: 68-39=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 68*39=2652, Resulting Numbers: [2652] 2652,13 unequal: No Solution Exploring Operation: 68+39=107, Resulting Numbers: [107] 107,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[35, 72], Operations: ['68-33=35', '99-27=72'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 35*72=2520, Resulting Numbers: [2520] 2520,13 unequal: No Solution Exploring Operation: 35+72=107, Resulting Numbers: [107] 107,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[41, 66], Operations: ['68-27=41', '99-33=66'] Exploring Operation: 41+66=107, Resulting Numbers: [107] 107,13 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 41*66=2706, Resulting Numbers: [2706] 2706,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[66, 41], Operations: ['99-33=66', '68-27=41'] Exploring Operation: 66+41=107, Resulting Numbers: [107] 107,13 unequal: No Solution Exploring Operation: 66*41=2706, Resulting Numbers: [2706] 2706,13 unequal: No Solution Exploring Operation: 66-41=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[99, 8], Operations: ['68-27=41', '41-33=8'] Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,13 unequal: No Solution Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,13 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[99, 8], Operations: ['68-33=35', '35-27=8'] Exploring Operation: 99+8=107, Resulting Numbers: [107] 107,13 unequal: No Solution Exploring Operation: 99-8=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 99*8=792, Resulting Numbers: [792] 792,13 unequal: No Solution Moving to Node #0,3,2 Current State: 13:[99, 62], Operations: ['68-33=35', '27+35=62'] Exploring Operation: 99-62=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 99+62=161, Resulting Numbers: [161] 161,13 unequal: No Solution Exploring Operation: 99*62=6138, Resulting Numbers: [6138] 6138,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[27, 134], Operations: ['99-33=66', '68+66=134'] Exploring Operation: 27+134=161, Resulting Numbers: [161] 161,13 unequal: No Solution Exploring Operation: 27*134=3618, Resulting Numbers: [3618] 3618,13 unequal: No Solution Exploring Operation: 134-27=107, Resulting Numbers: [107] 107,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[66, 95], Operations: ['99-33=66', '68+27=95'] Exploring Operation: 95-66=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 66*95=6270, Resulting Numbers: [6270] 6270,13 unequal: No Solution Exploring Operation: 66+95=161, Resulting Numbers: [161] 161,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[35, 126], Operations: ['68-33=35', '27+99=126'] Exploring Operation: 35*126=4410, Resulting Numbers: [4410] 4410,13 unequal: No Solution Exploring Operation: 126-35=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 35+126=161, Resulting Numbers: [161] 161,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[41, 132], Operations: ['68-27=41', '33+99=132'] Exploring Operation: 132-41=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 41+132=173, Resulting Numbers: [173] 173,13 unequal: No Solution Exploring Operation: 41*132=5412, Resulting Numbers: [5412] 5412,13 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 69, 84, 67, 10 ]
32
[ "69-67=2", "84/2=42", "42-10=32" ]
Current State: 32:[69, 84, 67, 10], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [84, 10, 2] Generated Node #2: [84, 10, 2] from Operation: 69-67=2 Current State: 32:[84, 10, 2], Operations: ['69-67=2'] Exploring Operation: 84/2=42, Resulting Numbers: [10, 42] Generated Node #3: [10, 42] from Operation: 84/2=42 Current State: 32:[10, 42], Operations: ['69-67=2', '84/2=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[69, 84, 67, 10], Operations: [] Exploring Operation: 84-69=15, Resulting Numbers: [67, 10, 15] Generated Node #0,0: 32:[67, 10, 15] Operation: 84-69=15 Exploring Operation: 84-67=17, Resulting Numbers: [69, 10, 17] Generated Node #0,1: 32:[69, 10, 17] Operation: 84-67=17 Exploring Operation: 69-67=2, Resulting Numbers: [84, 10, 2] Generated Node #0,2: 32:[84, 10, 2] Operation: 69-67=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[67, 10, 15], Operations: ['84-69=15'] Exploring Operation: 67-10=57, Resulting Numbers: [15, 57] Generated Node #0,0,0: 32:[15, 57] Operation: 67-10=57 Exploring Operation: 15-10=5, Resulting Numbers: [67, 5] Generated Node #0,0,1: 32:[67, 5] Operation: 15-10=5 Exploring Operation: 67-15=52, Resulting Numbers: [10, 52] Generated Node #0,0,2: 32:[10, 52] Operation: 67-15=52 Moving to Node #0,0,2 Current State: 32:[10, 52], Operations: ['84-69=15', '67-15=52'] Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,32 unequal: No Solution Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[15, 57], Operations: ['84-69=15', '67-10=57'] Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[67, 5], Operations: ['84-69=15', '15-10=5'] Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,32 unequal: No Solution Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[69, 10, 17], Operations: ['84-67=17'] Exploring Operation: 69-10=59, Resulting Numbers: [17, 59] Generated Node #0,1,0: 32:[17, 59] Operation: 69-10=59 Exploring Operation: 17-10=7, Resulting Numbers: [69, 7] Generated Node #0,1,1: 32:[69, 7] Operation: 17-10=7 Exploring Operation: 69-17=52, Resulting Numbers: [10, 52] Generated Node #0,1,2: 32:[10, 52] Operation: 69-17=52 Moving to Node #0,1,2 Current State: 32:[10, 52], Operations: ['84-67=17', '69-17=52'] Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[17, 59], Operations: ['84-67=17', '69-10=59'] Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,32 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[69, 7], Operations: ['84-67=17', '17-10=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 69*7=483, Resulting Numbers: [483] 483,32 unequal: No Solution Exploring Operation: 69+7=76, Resulting Numbers: [76] 76,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[84, 10, 2], Operations: ['69-67=2'] Exploring Operation: 84-10=74, Resulting Numbers: [2, 74] Generated Node #0,2,0: 32:[2, 74] Operation: 84-10=74 Exploring Operation: 84-2=82, Resulting Numbers: [10, 82] Generated Node #0,2,1: 32:[10, 82] Operation: 84-2=82 Exploring Operation: 84/2=42, Resulting Numbers: [10, 42] Generated Node #0,2,2: 32:[10, 42] Operation: 84/2=42 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[10, 42], Operations: ['69-67=2', '84/2=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[69, 84, 67, 10], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [84, 10, 2] Generated Node #0,2: 32:[84, 10, 2] Operation: 69-67=2 Moving to Node #0,2 Current State: 32:[84, 10, 2], Operations: ['69-67=2'] Exploring Operation: 84/2=42, Resulting Numbers: [10, 42] Generated Node #0,2,2: 32:[10, 42] Operation: 84/2=42 Moving to Node #0,2,2 Current State: 32:[10, 42], Operations: ['69-67=2', '84/2=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 77, 13, 57, 64 ]
83
[ "77+13=90", "64-57=7", "90-7=83" ]
Current State: 83:[77, 13, 57, 64], Operations: [] Exploring Operation: 77+13=90, Resulting Numbers: [57, 64, 90] Generated Node #2: [57, 64, 90] from Operation: 77+13=90 Current State: 83:[57, 64, 90], Operations: ['77+13=90'] Exploring Operation: 64-57=7, Resulting Numbers: [90, 7] Generated Node #3: [90, 7] from Operation: 64-57=7 Current State: 83:[90, 7], Operations: ['77+13=90', '64-57=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[77, 13, 57, 64], Operations: [] Exploring Operation: 77+13=90, Resulting Numbers: [57, 64, 90] Generated Node #0,0: 83:[57, 64, 90] Operation: 77+13=90 Exploring Operation: 77-13=64, Resulting Numbers: [57, 64, 64] Generated Node #0,1: 83:[57, 64, 64] Operation: 77-13=64 Exploring Operation: 13+64=77, Resulting Numbers: [77, 57, 77] Generated Node #0,2: 83:[77, 57, 77] Operation: 13+64=77 Exploring Operation: 13+57=70, Resulting Numbers: [77, 64, 70] Generated Node #0,3: 83:[77, 64, 70] Operation: 13+57=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[77, 57, 77], Operations: ['13+64=77'] Exploring Operation: 77-57=20, Resulting Numbers: [77, 20] Generated Node #0,2,0: 83:[77, 20] Operation: 77-57=20 Exploring Operation: 57+77=134, Resulting Numbers: [77, 134] Generated Node #0,2,1: 83:[77, 134] Operation: 57+77=134 Exploring Operation: 77+57=134, Resulting Numbers: [77, 134] Generated Node #0,2,2: 83:[77, 134] Operation: 77+57=134 Exploring Operation: 77-57=20, Resulting Numbers: [77, 20] Generated Node #0,2,3: 83:[77, 20] Operation: 77-57=20 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[77, 134], Operations: ['13+64=77', '57+77=134'] Exploring Operation: 77+134=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 134-77=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 77*134=10318, Resulting Numbers: [10318] 10318,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[77, 134], Operations: ['13+64=77', '77+57=134'] Exploring Operation: 134-77=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 77+134=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 77*134=10318, Resulting Numbers: [10318] 10318,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[77, 20], Operations: ['13+64=77', '77-57=20'] Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,83 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 83:[77, 20], Operations: ['13+64=77', '77-57=20'] Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,83 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[77, 64, 70], Operations: ['13+57=70'] Exploring Operation: 64+70=134, Resulting Numbers: [77, 134] Generated Node #0,3,0: 83:[77, 134] Operation: 64+70=134 Exploring Operation: 77+64=141, Resulting Numbers: [70, 141] Generated Node #0,3,1: 83:[70, 141] Operation: 77+64=141 Exploring Operation: 77+70=147, Resulting Numbers: [64, 147] Generated Node #0,3,2: 83:[64, 147] Operation: 77+70=147 Exploring Operation: 77-64=13, Resulting Numbers: [70, 13] Generated Node #0,3,3: 83:[70, 13] Operation: 77-64=13 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 83:[77, 134], Operations: ['13+57=70', '64+70=134'] Exploring Operation: 134-77=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 77*134=10318, Resulting Numbers: [10318] 10318,83 unequal: No Solution Exploring Operation: 77+134=211, Resulting Numbers: [211] 211,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 83:[70, 141], Operations: ['13+57=70', '77+64=141'] Exploring Operation: 70+141=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 70*141=9870, Resulting Numbers: [9870] 9870,83 unequal: No Solution Exploring Operation: 141-70=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[64, 147], Operations: ['13+57=70', '77+70=147'] Exploring Operation: 64*147=9408, Resulting Numbers: [9408] 9408,83 unequal: No Solution Exploring Operation: 64+147=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[77, 13, 57, 64], Operations: [] Exploring Operation: 13+57=70, Resulting Numbers: [77, 64, 70] Generated Node #0,3: 83:[77, 64, 70] Operation: 13+57=70 Moving to Node #0,3 Current State: 83:[77, 64, 70], Operations: ['13+57=70'] Exploring Operation: 77+70=147, Resulting Numbers: [64, 147] Generated Node #0,3,2: 83:[64, 147] Operation: 77+70=147 Moving to Node #0,3,2 Current State: 83:[64, 147], Operations: ['13+57=70', '77+70=147'] Exploring Operation: 147-64=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 12, 6, 24, 57 ]
73
[ "12+57=69", "24/6=4", "69+4=73" ]
Current State: 73:[12, 6, 24, 57], Operations: [] Exploring Operation: 12+57=69, Resulting Numbers: [6, 24, 69] Generated Node #2: [6, 24, 69] from Operation: 12+57=69 Current State: 73:[6, 24, 69], Operations: ['12+57=69'] Exploring Operation: 24/6=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 24/6=4 Current State: 73:[69, 4], Operations: ['12+57=69', '24/6=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[12, 6, 24, 57], Operations: [] Exploring Operation: 12*6=72, Resulting Numbers: [24, 57, 72] Generated Node #0,0: 73:[24, 57, 72] Operation: 12*6=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[24, 57, 72], Operations: ['12*6=72'] Exploring Operation: 24+57=81, Resulting Numbers: [72, 81] Generated Node #0,0,0: 73:[72, 81] Operation: 24+57=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[72, 81], Operations: ['12*6=72', '24+57=81'] Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 27, 46, 42 ]
49
[ "42-27=15", "15/5=3", "46+3=49" ]
Current State: 49:[5, 27, 46, 42], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [5, 46, 15] Generated Node #2: [5, 46, 15] from Operation: 42-27=15 Current State: 49:[5, 46, 15], Operations: ['42-27=15'] Exploring Operation: 15/5=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 15/5=3 Current State: 49:[46, 3], Operations: ['42-27=15', '15/5=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[5, 27, 46, 42], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [5, 46, 15] Generated Node #0,0: 49:[5, 46, 15] Operation: 42-27=15 Exploring Operation: 27-5=22, Resulting Numbers: [46, 42, 22] Generated Node #0,1: 49:[46, 42, 22] Operation: 27-5=22 Exploring Operation: 46-27=19, Resulting Numbers: [5, 42, 19] Generated Node #0,2: 49:[5, 42, 19] Operation: 46-27=19 Exploring Operation: 27+42=69, Resulting Numbers: [5, 46, 69] Generated Node #0,3: 49:[5, 46, 69] Operation: 27+42=69 Exploring Operation: 5+42=47, Resulting Numbers: [27, 46, 47] Generated Node #0,4: 49:[27, 46, 47] Operation: 5+42=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[5, 46, 15], Operations: ['42-27=15'] Exploring Operation: 46-5=41, Resulting Numbers: [15, 41] Generated Node #0,0,0: 49:[15, 41] Operation: 46-5=41 Exploring Operation: 46+15=61, Resulting Numbers: [5, 61] Generated Node #0,0,1: 49:[5, 61] Operation: 46+15=61 Exploring Operation: 15/5=3, Resulting Numbers: [46, 3] Generated Node #0,0,2: 49:[46, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [46, 10] Generated Node #0,0,3: 49:[46, 10] Operation: 15-5=10 Exploring Operation: 5+46=51, Resulting Numbers: [15, 51] Generated Node #0,0,4: 49:[15, 51] Operation: 5+46=51 Moving to Node #0,0,3 Current State: 49:[46, 10], Operations: ['42-27=15', '15-5=10'] Exploring Operation: 46+10=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 46*10=460, Resulting Numbers: [460] 460,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[46, 3], Operations: ['42-27=15', '15/5=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[5, 27, 46, 42], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [5, 46, 15] Generated Node #0,0: 49:[5, 46, 15] Operation: 42-27=15 Moving to Node #0,0 Current State: 49:[5, 46, 15], Operations: ['42-27=15'] Exploring Operation: 15/5=3, Resulting Numbers: [46, 3] Generated Node #0,0,2: 49:[46, 3] Operation: 15/5=3 Moving to Node #0,0,2 Current State: 49:[46, 3], Operations: ['42-27=15', '15/5=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 55, 49, 78, 88 ]
94
[ "55+49=104", "88-78=10", "104-10=94" ]
Current State: 94:[55, 49, 78, 88], Operations: [] Exploring Operation: 55+49=104, Resulting Numbers: [78, 88, 104] Generated Node #2: [78, 88, 104] from Operation: 55+49=104 Current State: 94:[78, 88, 104], Operations: ['55+49=104'] Exploring Operation: 88-78=10, Resulting Numbers: [104, 10] Generated Node #3: [104, 10] from Operation: 88-78=10 Current State: 94:[104, 10], Operations: ['55+49=104', '88-78=10'] Exploring Operation: 104-10=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[55, 49, 78, 88], Operations: [] Exploring Operation: 55+49=104, Resulting Numbers: [78, 88, 104] Generated Node #0,0: 94:[78, 88, 104] Operation: 55+49=104 Exploring Operation: 88-78=10, Resulting Numbers: [55, 49, 10] Generated Node #0,1: 94:[55, 49, 10] Operation: 88-78=10 Exploring Operation: 78-55=23, Resulting Numbers: [49, 88, 23] Generated Node #0,2: 94:[49, 88, 23] Operation: 78-55=23 Exploring Operation: 55-49=6, Resulting Numbers: [78, 88, 6] Generated Node #0,3: 94:[78, 88, 6] Operation: 55-49=6 Exploring Operation: 88-55=33, Resulting Numbers: [49, 78, 33] Generated Node #0,4: 94:[49, 78, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[55, 49, 10], Operations: ['88-78=10'] Exploring Operation: 55-10=45, Resulting Numbers: [49, 45] Generated Node #0,1,0: 94:[49, 45] Operation: 55-10=45 Exploring Operation: 49-10=39, Resulting Numbers: [55, 39] Generated Node #0,1,1: 94:[55, 39] Operation: 49-10=39 Exploring Operation: 55+49=104, Resulting Numbers: [10, 104] Generated Node #0,1,2: 94:[10, 104] Operation: 55+49=104 Exploring Operation: 55-49=6, Resulting Numbers: [10, 6] Generated Node #0,1,3: 94:[10, 6] Operation: 55-49=6 Exploring Operation: 55+10=65, Resulting Numbers: [49, 65] Generated Node #0,1,4: 94:[49, 65] Operation: 55+10=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[49, 45], Operations: ['88-78=10', '55-10=45'] Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,94 unequal: No Solution Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[55, 49, 78, 88], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [55, 49, 10] Generated Node #0,1: 94:[55, 49, 10] Operation: 88-78=10 Moving to Node #0,1 Current State: 94:[55, 49, 10], Operations: ['88-78=10'] Exploring Operation: 55-10=45, Resulting Numbers: [49, 45] Generated Node #0,1,0: 94:[49, 45] Operation: 55-10=45 Moving to Node #0,1,0 Current State: 94:[49, 45], Operations: ['88-78=10', '55-10=45'] Exploring Operation: 49+45=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
[ 48, 28, 8, 84 ]
53
[ "48+8=56", "84/28=3", "56-3=53" ]
Current State: 53:[48, 28, 8, 84], Operations: [] Exploring Operation: 48+8=56, Resulting Numbers: [28, 84, 56] Generated Node #2: [28, 84, 56] from Operation: 48+8=56 Current State: 53:[28, 84, 56], Operations: ['48+8=56'] Exploring Operation: 84/28=3, Resulting Numbers: [56, 3] Generated Node #3: [56, 3] from Operation: 84/28=3 Current State: 53:[56, 3], Operations: ['48+8=56', '84/28=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[48, 28, 8, 84], Operations: [] Exploring Operation: 28+8=36, Resulting Numbers: [48, 84, 36] Generated Node #0,0: 53:[48, 84, 36] Operation: 28+8=36 Moving to Node #0,0 Current State: 53:[48, 84, 36], Operations: ['28+8=36'] Exploring Operation: 84-36=48, Resulting Numbers: [48, 48] Generated Node #0,0,0: 53:[48, 48] Operation: 84-36=48 Moving to Node #0,0,0 Current State: 53:[48, 48], Operations: ['28+8=36', '84-36=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,53 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 56, 82, 18, 42 ]
78
[ "56+82=138", "18+42=60", "138-60=78" ]
Current State: 78:[56, 82, 18, 42], Operations: [] Exploring Operation: 56+82=138, Resulting Numbers: [18, 42, 138] Generated Node #2: [18, 42, 138] from Operation: 56+82=138 Current State: 78:[18, 42, 138], Operations: ['56+82=138'] Exploring Operation: 18+42=60, Resulting Numbers: [138, 60] Generated Node #3: [138, 60] from Operation: 18+42=60 Current State: 78:[138, 60], Operations: ['56+82=138', '18+42=60'] Exploring Operation: 138-60=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[56, 82, 18, 42], Operations: [] Exploring Operation: 82-42=40, Resulting Numbers: [56, 18, 40] Generated Node #0,0: 78:[56, 18, 40] Operation: 82-42=40 Exploring Operation: 56-42=14, Resulting Numbers: [82, 18, 14] Generated Node #0,1: 78:[82, 18, 14] Operation: 56-42=14 Exploring Operation: 56+18=74, Resulting Numbers: [82, 42, 74] Generated Node #0,2: 78:[82, 42, 74] Operation: 56+18=74 Exploring Operation: 56-18=38, Resulting Numbers: [82, 42, 38] Generated Node #0,3: 78:[82, 42, 38] Operation: 56-18=38 Exploring Operation: 82-56=26, Resulting Numbers: [18, 42, 26] Generated Node #0,4: 78:[18, 42, 26] Operation: 82-56=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[82, 42, 38], Operations: ['56-18=38'] Exploring Operation: 82+38=120, Resulting Numbers: [42, 120] Generated Node #0,3,0: 78:[42, 120] Operation: 82+38=120 Exploring Operation: 82-42=40, Resulting Numbers: [38, 40] Generated Node #0,3,1: 78:[38, 40] Operation: 82-42=40 Exploring Operation: 42-38=4, Resulting Numbers: [82, 4] Generated Node #0,3,2: 78:[82, 4] Operation: 42-38=4 Exploring Operation: 82-38=44, Resulting Numbers: [42, 44] Generated Node #0,3,3: 78:[42, 44] Operation: 82-38=44 Exploring Operation: 42+38=80, Resulting Numbers: [82, 80] Generated Node #0,3,4: 78:[82, 80] Operation: 42+38=80 Moving to Node #0,3,1 Current State: 78:[38, 40], Operations: ['56-18=38', '82-42=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[56, 82, 18, 42], Operations: [] Exploring Operation: 56-18=38, Resulting Numbers: [82, 42, 38] Generated Node #0,3: 78:[82, 42, 38] Operation: 56-18=38 Moving to Node #0,3 Current State: 78:[82, 42, 38], Operations: ['56-18=38'] Exploring Operation: 82-42=40, Resulting Numbers: [38, 40] Generated Node #0,3,1: 78:[38, 40] Operation: 82-42=40 Moving to Node #0,3,1 Current State: 78:[38, 40], Operations: ['56-18=38', '82-42=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 94, 22, 24, 17 ]
84
[ "94-17=77", "24*77=1848", "1848/22=84" ]
Current State: 84:[94, 22, 24, 17], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [22, 24, 77] Generated Node #2: [22, 24, 77] from Operation: 94-17=77 Current State: 84:[22, 24, 77], Operations: ['94-17=77'] Exploring Operation: 24*77=1848, Resulting Numbers: [22, 1848] Generated Node #3: [22, 1848] from Operation: 24*77=1848 Current State: 84:[22, 1848], Operations: ['94-17=77', '24*77=1848'] Exploring Operation: 1848/22=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[94, 22, 24, 17], Operations: [] Exploring Operation: 24-22=2, Resulting Numbers: [94, 17, 2] Generated Node #0,0: 84:[94, 17, 2] Operation: 24-22=2 Exploring Operation: 24+17=41, Resulting Numbers: [94, 22, 41] Generated Node #0,1: 84:[94, 22, 41] Operation: 24+17=41 Exploring Operation: 94-17=77, Resulting Numbers: [22, 24, 77] Generated Node #0,2: 84:[22, 24, 77] Operation: 94-17=77 Exploring Operation: 24-17=7, Resulting Numbers: [94, 22, 7] Generated Node #0,3: 84:[94, 22, 7] Operation: 24-17=7 Exploring Operation: 22-17=5, Resulting Numbers: [94, 24, 5] Generated Node #0,4: 84:[94, 24, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[22, 24, 77], Operations: ['94-17=77'] Exploring Operation: 22+24=46, Resulting Numbers: [77, 46] Generated Node #0,2,0: 84:[77, 46] Operation: 22+24=46 Exploring Operation: 77-22=55, Resulting Numbers: [24, 55] Generated Node #0,2,1: 84:[24, 55] Operation: 77-22=55 Exploring Operation: 22+77=99, Resulting Numbers: [24, 99] Generated Node #0,2,2: 84:[24, 99] Operation: 22+77=99 Exploring Operation: 77-24=53, Resulting Numbers: [22, 53] Generated Node #0,2,3: 84:[22, 53] Operation: 77-24=53 Exploring Operation: 24-22=2, Resulting Numbers: [77, 2] Generated Node #0,2,4: 84:[77, 2] Operation: 24-22=2 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[77, 2], Operations: ['94-17=77', '24-22=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,84 unequal: No Solution No 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: 84:[77, 46], Operations: ['94-17=77', '22+24=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,84 unequal: No Solution No 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: 84:[22, 53], Operations: ['94-17=77', '77-24=53'] Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,84 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,84 unequal: No Solution No 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: 84:[24, 55], Operations: ['94-17=77', '77-22=55'] Exploring Operation: 24*55=1320, Resulting Numbers: [1320] 1320,84 unequal: No Solution Exploring Operation: 55-24=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 24+55=79, Resulting Numbers: [79] 79,84 unequal: No Solution No 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: 84:[24, 99], Operations: ['94-17=77', '22+77=99'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 24+99=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 24*99=2376, Resulting Numbers: [2376] 2376,84 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: 84:[94, 22, 7], Operations: ['24-17=7'] Exploring Operation: 22-7=15, Resulting Numbers: [94, 15] Generated Node #0,3,0: 84:[94, 15] Operation: 22-7=15 Exploring Operation: 94-22=72, Resulting Numbers: [7, 72] Generated Node #0,3,1: 84:[7, 72] Operation: 94-22=72 Exploring Operation: 94+7=101, Resulting Numbers: [22, 101] Generated Node #0,3,2: 84:[22, 101] Operation: 94+7=101 Exploring Operation: 94-7=87, Resulting Numbers: [22, 87] Generated Node #0,3,3: 84:[22, 87] Operation: 94-7=87 Exploring Operation: 22+7=29, Resulting Numbers: [94, 29] Generated Node #0,3,4: 84:[94, 29] Operation: 22+7=29 Moving to Node #0,3,3 Current State: 84:[22, 87], Operations: ['24-17=7', '94-7=87'] Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 22*87=1914, Resulting Numbers: [1914] 1914,84 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[94, 29], Operations: ['24-17=7', '22+7=29'] Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,84 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[94, 15], Operations: ['24-17=7', '22-7=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,84 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[7, 72], Operations: ['24-17=7', '94-22=72'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 7*72=504, Resulting Numbers: [504] 504,84 unequal: No Solution Exploring Operation: 7+72=79, Resulting Numbers: [79] 79,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[22, 101], Operations: ['24-17=7', '94+7=101'] Exploring Operation: 22*101=2222, Resulting Numbers: [2222] 2222,84 unequal: No Solution Exploring Operation: 101-22=79, Resulting Numbers: [79] 79,84 unequal: No Solution Exploring Operation: 22+101=123, Resulting Numbers: [123] 123,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[94, 22, 41], Operations: ['24+17=41'] Exploring Operation: 41-22=19, Resulting Numbers: [94, 19] Generated Node #0,1,0: 84:[94, 19] Operation: 41-22=19 Exploring Operation: 94-41=53, Resulting Numbers: [22, 53] Generated Node #0,1,1: 84:[22, 53] Operation: 94-41=53 Exploring Operation: 94-22=72, Resulting Numbers: [41, 72] Generated Node #0,1,2: 84:[41, 72] Operation: 94-22=72 Exploring Operation: 22+41=63, Resulting Numbers: [94, 63] Generated Node #0,1,3: 84:[94, 63] Operation: 22+41=63 Exploring Operation: 94+22=116, Resulting Numbers: [41, 116] Generated Node #0,1,4: 84:[41, 116] Operation: 94+22=116 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[94, 19], Operations: ['24+17=41', '41-22=19'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,84 unequal: No Solution No 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: 84:[22, 53], Operations: ['24+17=41', '94-41=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,84 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,84 unequal: No Solution No 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: 84:[41, 72], Operations: ['24+17=41', '94-22=72'] Exploring Operation: 41+72=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 41*72=2952, Resulting Numbers: [2952] 2952,84 unequal: No Solution No 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: 84:[94, 63], Operations: ['24+17=41', '22+41=63'] Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,84 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,84 unequal: No Solution No 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: 84:[41, 116], Operations: ['24+17=41', '94+22=116'] Exploring Operation: 116-41=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 41+116=157, Resulting Numbers: [157] 157,84 unequal: No Solution Exploring Operation: 41*116=4756, Resulting Numbers: [4756] 4756,84 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: 84:[94, 17, 2], Operations: ['24-22=2'] Exploring Operation: 17+2=19, Resulting Numbers: [94, 19] Generated Node #0,0,0: 84:[94, 19] Operation: 17+2=19 Exploring Operation: 17-2=15, Resulting Numbers: [94, 15] Generated Node #0,0,1: 84:[94, 15] Operation: 17-2=15 Exploring Operation: 94-17=77, Resulting Numbers: [2, 77] Generated Node #0,0,2: 84:[2, 77] Operation: 94-17=77 Exploring Operation: 94/2=47, Resulting Numbers: [17, 47] Generated Node #0,0,3: 84:[17, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [17, 92] Generated Node #0,0,4: 84:[17, 92] Operation: 94-2=92 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[2, 77], Operations: ['24-22=2', '94-17=77'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,84 unequal: No Solution Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,84 unequal: No Solution No 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: 84:[17, 47], Operations: ['24-22=2', '94/2=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,84 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,84 unequal: No Solution No 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: 84:[94, 15], Operations: ['24-22=2', '17-2=15'] Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,84 unequal: No Solution Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,84 unequal: No Solution No 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: 84:[17, 92], Operations: ['24-22=2', '94-2=92'] Exploring Operation: 17+92=109, Resulting Numbers: [109] 109,84 unequal: No Solution Exploring Operation: 17*92=1564, Resulting Numbers: [1564] 1564,84 unequal: No Solution Exploring Operation: 92-17=75, Resulting Numbers: [75] 75,84 unequal: No Solution No 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: 84:[94, 19], Operations: ['24-22=2', '17+2=19'] Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,84 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: 84:[94, 24, 5], Operations: ['22-17=5'] Exploring Operation: 24-5=19, Resulting Numbers: [94, 19] Generated Node #0,4,0: 84:[94, 19] Operation: 24-5=19 Exploring Operation: 94+5=99, Resulting Numbers: [24, 99] Generated Node #0,4,1: 84:[24, 99] Operation: 94+5=99 Exploring Operation: 94-24=70, Resulting Numbers: [5, 70] Generated Node #0,4,2: 84:[5, 70] Operation: 94-24=70 Exploring Operation: 94-5=89, Resulting Numbers: [24, 89] Generated Node #0,4,3: 84:[24, 89] Operation: 94-5=89 Exploring Operation: 24+5=29, Resulting Numbers: [94, 29] Generated Node #0,4,4: 84:[94, 29] Operation: 24+5=29 Moving to Node #0,4,3 Current State: 84:[24, 89], Operations: ['22-17=5', '94-5=89'] Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 24*89=2136, Resulting Numbers: [2136] 2136,84 unequal: No Solution Exploring Operation: 24+89=113, Resulting Numbers: [113] 113,84 unequal: No Solution Moving to Node #0,4,4 Current State: 84:[94, 29], Operations: ['22-17=5', '24+5=29'] Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,84 unequal: No Solution Moving to Node #0,4,0 Current State: 84:[94, 19], Operations: ['22-17=5', '24-5=19'] Exploring Operation: 94*19=1786, Resulting Numbers: [1786] 1786,84 unequal: No Solution Exploring Operation: 94+19=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,84 unequal: No Solution Moving to Node #0,4,2 Current State: 84:[5, 70], Operations: ['22-17=5', '94-24=70'] Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,84 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,84 unequal: No Solution Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,84 unequal: No Solution Moving to Node #0,4,1 Current State: 84:[24, 99], Operations: ['22-17=5', '94+5=99'] Exploring Operation: 24+99=123, Resulting Numbers: [123] 123,84 unequal: No Solution Exploring Operation: 24*99=2376, Resulting Numbers: [2376] 2376,84 unequal: No Solution Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 68, 23, 80, 80 ]
90
[ "68+23=91", "80/80=1", "91-1=90" ]
Current State: 90:[68, 23, 80, 80], Operations: [] Exploring Operation: 68+23=91, Resulting Numbers: [80, 80, 91] Generated Node #2: [80, 80, 91] from Operation: 68+23=91 Current State: 90:[80, 80, 91], Operations: ['68+23=91'] Exploring Operation: 80/80=1, Resulting Numbers: [91, 1] Generated Node #3: [91, 1] from Operation: 80/80=1 Current State: 90:[91, 1], Operations: ['68+23=91', '80/80=1'] Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[68, 23, 80, 80], Operations: [] Exploring Operation: 80-68=12, Resulting Numbers: [23, 80, 12] Generated Node #0,0: 90:[23, 80, 12] Operation: 80-68=12 Moving to Node #0,0 Current State: 90:[23, 80, 12], Operations: ['80-68=12'] Exploring Operation: 80+12=92, Resulting Numbers: [23, 92] Generated Node #0,0,0: 90:[23, 92] Operation: 80+12=92 Moving to Node #0,0,0 Current State: 90:[23, 92], Operations: ['80-68=12', '80+12=92'] Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 34, 32, 24, 65 ]
82
[ "34-32=2", "65-24=41", "2*41=82" ]
Current State: 82:[34, 32, 24, 65], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [24, 65, 2] Generated Node #2: [24, 65, 2] from Operation: 34-32=2 Current State: 82:[24, 65, 2], Operations: ['34-32=2'] Exploring Operation: 65-24=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 65-24=41 Current State: 82:[2, 41], Operations: ['34-32=2', '65-24=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[34, 32, 24, 65], Operations: [] Exploring Operation: 24+65=89, Resulting Numbers: [34, 32, 89] Generated Node #0,0: 82:[34, 32, 89] Operation: 24+65=89 Exploring Operation: 65-24=41, Resulting Numbers: [34, 32, 41] Generated Node #0,1: 82:[34, 32, 41] Operation: 65-24=41 Moving to Node #0,1 Current State: 82:[34, 32, 41], Operations: ['65-24=41'] Exploring Operation: 41-34=7, Resulting Numbers: [32, 7] Generated Node #0,1,0: 82:[32, 7] Operation: 41-34=7 Exploring Operation: 34-32=2, Resulting Numbers: [41, 2] Generated Node #0,1,1: 82:[41, 2] Operation: 34-32=2 Moving to Node #0,0 Current State: 82:[34, 32, 89], Operations: ['24+65=89'] Exploring Operation: 34-32=2, Resulting Numbers: [89, 2] Generated Node #0,0,0: 82:[89, 2] Operation: 34-32=2 Exploring Operation: 34+32=66, Resulting Numbers: [89, 66] Generated Node #0,0,1: 82:[89, 66] Operation: 34+32=66 Moving to Node #0,1,1 Current State: 82:[41, 2], Operations: ['65-24=41', '34-32=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[34, 32, 24, 65], Operations: [] Exploring Operation: 65-24=41, Resulting Numbers: [34, 32, 41] Generated Node #0,1: 82:[34, 32, 41] Operation: 65-24=41 Moving to Node #0,1 Current State: 82:[34, 32, 41], Operations: ['65-24=41'] Exploring Operation: 34-32=2, Resulting Numbers: [41, 2] Generated Node #0,1,1: 82:[41, 2] Operation: 34-32=2 Moving to Node #0,1,1 Current State: 82:[41, 2], Operations: ['65-24=41', '34-32=2'] Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 15, 30, 54, 1 ]
53
[ "30/15=2", "54+1=55", "55-2=53" ]
Current State: 53:[15, 30, 54, 1], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [54, 1, 2] Generated Node #2: [54, 1, 2] from Operation: 30/15=2 Current State: 53:[54, 1, 2], Operations: ['30/15=2'] Exploring Operation: 54+1=55, Resulting Numbers: [2, 55] Generated Node #3: [2, 55] from Operation: 54+1=55 Current State: 53:[2, 55], Operations: ['30/15=2', '54+1=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[15, 30, 54, 1], Operations: [] Exploring Operation: 15+30=45, Resulting Numbers: [54, 1, 45] Generated Node #0,0: 53:[54, 1, 45] Operation: 15+30=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[54, 1, 45], Operations: ['15+30=45'] Exploring Operation: 54-1=53, Resulting Numbers: [45, 53] Generated Node #0,0,0: 53:[45, 53] Operation: 54-1=53 Moving to Node #0,0,0 Current State: 53:[45, 53], Operations: ['15+30=45', '54-1=53'] Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,53 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
[ 57, 97, 64, 65 ]
89
[ "97-57=40", "64+65=129", "129-40=89" ]
Current State: 89:[57, 97, 64, 65], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [64, 65, 40] Generated Node #2: [64, 65, 40] from Operation: 97-57=40 Current State: 89:[64, 65, 40], Operations: ['97-57=40'] Exploring Operation: 64+65=129, Resulting Numbers: [40, 129] Generated Node #3: [40, 129] from Operation: 64+65=129 Current State: 89:[40, 129], Operations: ['97-57=40', '64+65=129'] Exploring Operation: 129-40=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[57, 97, 64, 65], Operations: [] Exploring Operation: 57+64=121, Resulting Numbers: [97, 65, 121] Generated Node #0,0: 89:[97, 65, 121] Operation: 57+64=121 Exploring Operation: 57+65=122, Resulting Numbers: [97, 64, 122] Generated Node #0,1: 89:[97, 64, 122] Operation: 57+65=122 Moving to Node #0,0 Current State: 89:[97, 65, 121], Operations: ['57+64=121'] Exploring Operation: 121-65=56, Resulting Numbers: [97, 56] Generated Node #0,0,0: 89:[97, 56] Operation: 121-65=56 Exploring Operation: 97-65=32, Resulting Numbers: [121, 32] Generated Node #0,0,1: 89:[121, 32] Operation: 97-65=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[97, 56], Operations: ['57+64=121', '121-65=56'] Exploring Operation: 97+56=153, Resulting Numbers: [153] 153,89 unequal: No Solution Exploring Operation: 97-56=41, Resulting Numbers: [41] 41,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[121, 32], Operations: ['57+64=121', '97-65=32'] Exploring Operation: 121-32=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[57, 97, 64, 65], Operations: [] Exploring Operation: 57+64=121, Resulting Numbers: [97, 65, 121] Generated Node #0,0: 89:[97, 65, 121] Operation: 57+64=121 Moving to Node #0,0 Current State: 89:[97, 65, 121], Operations: ['57+64=121'] Exploring Operation: 97-65=32, Resulting Numbers: [121, 32] Generated Node #0,0,1: 89:[121, 32] Operation: 97-65=32 Moving to Node #0,0,1 Current State: 89:[121, 32], Operations: ['57+64=121', '97-65=32'] Exploring Operation: 121-32=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 78, 52, 49, 65 ]
51
[ "78+52=130", "130/65=2", "49+2=51" ]
Current State: 51:[78, 52, 49, 65], Operations: [] Exploring Operation: 78+52=130, Resulting Numbers: [49, 65, 130] Generated Node #2: [49, 65, 130] from Operation: 78+52=130 Current State: 51:[49, 65, 130], Operations: ['78+52=130'] Exploring Operation: 130/65=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 130/65=2 Current State: 51:[49, 2], Operations: ['78+52=130', '130/65=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[78, 52, 49, 65], Operations: [] Exploring Operation: 78-65=13, Resulting Numbers: [52, 49, 13] Generated Node #0,0: 51:[52, 49, 13] Operation: 78-65=13 Exploring Operation: 78-49=29, Resulting Numbers: [52, 65, 29] Generated Node #0,1: 51:[52, 65, 29] Operation: 78-49=29 Exploring Operation: 65-49=16, Resulting Numbers: [78, 52, 16] Generated Node #0,2: 51:[78, 52, 16] Operation: 65-49=16 Exploring Operation: 78-52=26, Resulting Numbers: [49, 65, 26] Generated Node #0,3: 51:[49, 65, 26] Operation: 78-52=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[52, 49, 13], Operations: ['78-65=13'] Exploring Operation: 49+13=62, Resulting Numbers: [52, 62] Generated Node #0,0,0: 51:[52, 62] Operation: 49+13=62 Exploring Operation: 52/13=4, Resulting Numbers: [49, 4] Generated Node #0,0,1: 51:[49, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [49, 39] Generated Node #0,0,2: 51:[49, 39] Operation: 52-13=39 Exploring Operation: 52-49=3, Resulting Numbers: [13, 3] Generated Node #0,0,3: 51:[13, 3] Operation: 52-49=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[49, 4], Operations: ['78-65=13', '52/13=4'] Exploring Operation: 49*4=196, Resulting Numbers: [196] 196,51 unequal: No Solution Exploring Operation: 49+4=53, Resulting Numbers: [53] 53,51 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,51 unequal: No Solution No 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: 51:[13, 3], Operations: ['78-65=13', '52-49=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,51 unequal: No Solution No 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: 51:[52, 62], Operations: ['78-65=13', '49+13=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,51 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,51 unequal: No Solution No 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: 51:[49, 39], Operations: ['78-65=13', '52-13=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,51 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: 51:[49, 65, 26], Operations: ['78-52=26'] Exploring Operation: 65-49=16, Resulting Numbers: [26, 16] Generated Node #0,3,0: 51:[26, 16] Operation: 65-49=16 Exploring Operation: 49+26=75, Resulting Numbers: [65, 75] Generated Node #0,3,1: 51:[65, 75] Operation: 49+26=75 Exploring Operation: 65-26=39, Resulting Numbers: [49, 39] Generated Node #0,3,2: 51:[49, 39] Operation: 65-26=39 Exploring Operation: 49-26=23, Resulting Numbers: [65, 23] Generated Node #0,3,3: 51:[65, 23] Operation: 49-26=23 Moving to Node #0,3,0 Current State: 51:[26, 16], Operations: ['78-52=26', '65-49=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,51 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[49, 39], Operations: ['78-52=26', '65-26=39'] Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,51 unequal: No Solution Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[65, 23], Operations: ['78-52=26', '49-26=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,51 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[65, 75], Operations: ['78-52=26', '49+26=75'] Exploring Operation: 65+75=140, Resulting Numbers: [140] 140,51 unequal: No Solution Exploring Operation: 75-65=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 65*75=4875, Resulting Numbers: [4875] 4875,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[52, 65, 29], Operations: ['78-49=29'] Exploring Operation: 65-52=13, Resulting Numbers: [29, 13] Generated Node #0,1,0: 51:[29, 13] Operation: 65-52=13 Exploring Operation: 65-29=36, Resulting Numbers: [52, 36] Generated Node #0,1,1: 51:[52, 36] Operation: 65-29=36 Exploring Operation: 52+29=81, Resulting Numbers: [65, 81] Generated Node #0,1,2: 51:[65, 81] Operation: 52+29=81 Exploring Operation: 52-29=23, Resulting Numbers: [65, 23] Generated Node #0,1,3: 51:[65, 23] Operation: 52-29=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[29, 13], Operations: ['78-49=29', '65-52=13'] Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,51 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,51 unequal: No Solution No 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: 51:[52, 36], Operations: ['78-49=29', '65-29=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,51 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,51 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,51 unequal: No Solution No 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: 51:[65, 23], Operations: ['78-49=29', '52-29=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,51 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,51 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,51 unequal: No Solution No 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: 51:[65, 81], Operations: ['78-49=29', '52+29=81'] Exploring Operation: 65+81=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 65*81=5265, Resulting Numbers: [5265] 5265,51 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,51 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: 51:[78, 52, 16], Operations: ['65-49=16'] Exploring Operation: 78+16=94, Resulting Numbers: [52, 94] Generated Node #0,2,0: 51:[52, 94] Operation: 78+16=94 Exploring Operation: 78-16=62, Resulting Numbers: [52, 62] Generated Node #0,2,1: 51:[52, 62] Operation: 78-16=62 Exploring Operation: 52-16=36, Resulting Numbers: [78, 36] Generated Node #0,2,2: 51:[78, 36] Operation: 52-16=36 Exploring Operation: 78-52=26, Resulting Numbers: [16, 26] Generated Node #0,2,3: 51:[16, 26] Operation: 78-52=26 Moving to Node #0,2,3 Current State: 51:[16, 26], Operations: ['65-49=16', '78-52=26'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 16*26=416, Resulting Numbers: [416] 416,51 unequal: No Solution Exploring Operation: 16+26=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[52, 62], Operations: ['65-49=16', '78-16=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,51 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,51 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[78, 36], Operations: ['65-49=16', '52-16=36'] Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,51 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[52, 94], Operations: ['65-49=16', '78+16=94'] Exploring Operation: 52+94=146, Resulting Numbers: [146] 146,51 unequal: No Solution Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 52*94=4888, Resulting Numbers: [4888] 4888,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 77, 22, 39, 1 ]
17
[ "77-22=55", "39-1=38", "55-38=17" ]
Current State: 17:[77, 22, 39, 1], Operations: [] Exploring Operation: 77-22=55, Resulting Numbers: [39, 1, 55] Generated Node #2: [39, 1, 55] from Operation: 77-22=55 Current State: 17:[39, 1, 55], Operations: ['77-22=55'] Exploring Operation: 39-1=38, Resulting Numbers: [55, 38] Generated Node #3: [55, 38] from Operation: 39-1=38 Current State: 17:[55, 38], Operations: ['77-22=55', '39-1=38'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[77, 22, 39, 1], Operations: [] Exploring Operation: 39-22=17, Resulting Numbers: [77, 1, 17] Generated Node #0,0: 17:[77, 1, 17] Operation: 39-22=17 Exploring Operation: 77-39=38, Resulting Numbers: [22, 1, 38] Generated Node #0,1: 17:[22, 1, 38] Operation: 77-39=38 Exploring Operation: 77-22=55, Resulting Numbers: [39, 1, 55] Generated Node #0,2: 17:[39, 1, 55] Operation: 77-22=55 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[22, 1, 38], Operations: ['77-39=38'] Exploring Operation: 38-1=37, Resulting Numbers: [22, 37] Generated Node #0,1,0: 17:[22, 37] Operation: 38-1=37 Exploring Operation: 22-1=21, Resulting Numbers: [38, 21] Generated Node #0,1,1: 17:[38, 21] Operation: 22-1=21 Exploring Operation: 38-22=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 17:[1, 16] Operation: 38-22=16 Moving to Node #0,1,2 Current State: 17:[1, 16], Operations: ['77-39=38', '38-22=16'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[77, 22, 39, 1], Operations: [] Exploring Operation: 77-39=38, Resulting Numbers: [22, 1, 38] Generated Node #0,1: 17:[22, 1, 38] Operation: 77-39=38 Moving to Node #0,1 Current State: 17:[22, 1, 38], Operations: ['77-39=38'] Exploring Operation: 38-22=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 17:[1, 16] Operation: 38-22=16 Moving to Node #0,1,2 Current State: 17:[1, 16], Operations: ['77-39=38', '38-22=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 4, 65, 57, 73 ]
71
[ "65-57=8", "8/4=2", "73-2=71" ]
Current State: 71:[4, 65, 57, 73], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [4, 73, 8] Generated Node #2: [4, 73, 8] from Operation: 65-57=8 Current State: 71:[4, 73, 8], Operations: ['65-57=8'] Exploring Operation: 8/4=2, Resulting Numbers: [73, 2] Generated Node #3: [73, 2] from Operation: 8/4=2 Current State: 71:[73, 2], Operations: ['65-57=8', '8/4=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[4, 65, 57, 73], Operations: [] Exploring Operation: 4+65=69, Resulting Numbers: [57, 73, 69] Generated Node #0,0: 71:[57, 73, 69] Operation: 4+65=69 Moving to Node #0,0 Current State: 71:[57, 73, 69], Operations: ['4+65=69'] Exploring Operation: 73-57=16, Resulting Numbers: [69, 16] Generated Node #0,0,0: 71:[69, 16] Operation: 73-57=16 Moving to Node #0,0,0 Current State: 71:[69, 16], Operations: ['4+65=69', '73-57=16'] Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,71 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 77, 69, 73, 6 ]
75
[ "77-69=8", "73-6=67", "8+67=75" ]
Current State: 75:[77, 69, 73, 6], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [73, 6, 8] Generated Node #2: [73, 6, 8] from Operation: 77-69=8 Current State: 75:[73, 6, 8], Operations: ['77-69=8'] Exploring Operation: 73-6=67, Resulting Numbers: [8, 67] Generated Node #3: [8, 67] from Operation: 73-6=67 Current State: 75:[8, 67], Operations: ['77-69=8', '73-6=67'] Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[77, 69, 73, 6], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [73, 6, 8] Generated Node #0,0: 75:[73, 6, 8] Operation: 77-69=8 Exploring Operation: 69+6=75, Resulting Numbers: [77, 73, 75] Generated Node #0,1: 75:[77, 73, 75] Operation: 69+6=75 Exploring Operation: 73-69=4, Resulting Numbers: [77, 6, 4] Generated Node #0,2: 75:[77, 6, 4] Operation: 73-69=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[77, 73, 75], Operations: ['69+6=75'] Exploring Operation: 77-75=2, Resulting Numbers: [73, 2] Generated Node #0,1,0: 75:[73, 2] Operation: 77-75=2 Exploring Operation: 75-73=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 75:[77, 2] Operation: 75-73=2 Exploring Operation: 77-73=4, Resulting Numbers: [75, 4] Generated Node #0,1,2: 75:[75, 4] Operation: 77-73=4 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 75:[75, 4], Operations: ['69+6=75', '77-73=4'] Exploring Operation: 75*4=300, Resulting Numbers: [300] 300,75 unequal: No Solution Exploring Operation: 75+4=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,75 unequal: No Solution No 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: 75:[73, 2], Operations: ['69+6=75', '77-75=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[77, 69, 73, 6], Operations: [] Exploring Operation: 69+6=75, Resulting Numbers: [77, 73, 75] Generated Node #0,1: 75:[77, 73, 75] Operation: 69+6=75 Moving to Node #0,1 Current State: 75:[77, 73, 75], Operations: ['69+6=75'] Exploring Operation: 77-75=2, Resulting Numbers: [73, 2] Generated Node #0,1,0: 75:[73, 2] Operation: 77-75=2 Moving to Node #0,1,0 Current State: 75:[73, 2], Operations: ['69+6=75', '77-75=2'] Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 88, 93, 23, 50 ]
65
[ "93-88=5", "23*5=115", "115-50=65" ]
Current State: 65:[88, 93, 23, 50], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [23, 50, 5] Generated Node #2: [23, 50, 5] from Operation: 93-88=5 Current State: 65:[23, 50, 5], Operations: ['93-88=5'] Exploring Operation: 23*5=115, Resulting Numbers: [50, 115] Generated Node #3: [50, 115] from Operation: 23*5=115 Current State: 65:[50, 115], Operations: ['93-88=5', '23*5=115'] Exploring Operation: 115-50=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[88, 93, 23, 50], Operations: [] Exploring Operation: 93-88=5, Resulting Numbers: [23, 50, 5] Generated Node #0,0: 65:[23, 50, 5] Operation: 93-88=5 Exploring Operation: 88-23=65, Resulting Numbers: [93, 50, 65] Generated Node #0,1: 65:[93, 50, 65] Operation: 88-23=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[23, 50, 5], Operations: ['93-88=5'] Exploring Operation: 23+50=73, Resulting Numbers: [5, 73] Generated Node #0,0,0: 65:[5, 73] Operation: 23+50=73 Exploring Operation: 50/5=10, Resulting Numbers: [23, 10] Generated Node #0,0,1: 65:[23, 10] Operation: 50/5=10 Moving to Node #0,0,0 Current State: 65:[5, 73], Operations: ['93-88=5', '23+50=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[23, 10], Operations: ['93-88=5', '50/5=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[93, 50, 65], Operations: ['88-23=65'] Exploring Operation: 93-50=43, Resulting Numbers: [65, 43] Generated Node #0,1,0: 65:[65, 43] Operation: 93-50=43 Exploring Operation: 93-65=28, Resulting Numbers: [50, 28] Generated Node #0,1,1: 65:[50, 28] Operation: 93-65=28 Moving to Node #0,1,0 Current State: 65:[65, 43], Operations: ['88-23=65', '93-50=43'] Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[50, 28], Operations: ['88-23=65', '93-65=28'] Exploring Operation: 50+28=78, Resulting Numbers: [78] 78,65 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,65 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
[ 54, 63, 19, 29 ]
39
[ "63-54=9", "19+29=48", "48-9=39" ]
Current State: 39:[54, 63, 19, 29], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [19, 29, 9] Generated Node #2: [19, 29, 9] from Operation: 63-54=9 Current State: 39:[19, 29, 9], Operations: ['63-54=9'] Exploring Operation: 19+29=48, Resulting Numbers: [9, 48] Generated Node #3: [9, 48] from Operation: 19+29=48 Current State: 39:[9, 48], Operations: ['63-54=9', '19+29=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[54, 63, 19, 29], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [19, 29, 9] Generated Node #0,0: 39:[19, 29, 9] Operation: 63-54=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[19, 29, 9], Operations: ['63-54=9'] Exploring Operation: 29-19=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 39:[9, 10] Operation: 29-19=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[9, 10], Operations: ['63-54=9', '29-19=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 18, 11, 30, 43 ]
36
[ "11+30=41", "43-41=2", "18*2=36" ]
Current State: 36:[18, 11, 30, 43], Operations: [] Exploring Operation: 11+30=41, Resulting Numbers: [18, 43, 41] Generated Node #2: [18, 43, 41] from Operation: 11+30=41 Current State: 36:[18, 43, 41], Operations: ['11+30=41'] Exploring Operation: 43-41=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 43-41=2 Current State: 36:[18, 2], Operations: ['11+30=41', '43-41=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[18, 11, 30, 43], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [11, 43, 12] Generated Node #0,0: 36:[11, 43, 12] Operation: 30-18=12 Exploring Operation: 43-30=13, Resulting Numbers: [18, 11, 13] Generated Node #0,1: 36:[18, 11, 13] Operation: 43-30=13 Exploring Operation: 30-11=19, Resulting Numbers: [18, 43, 19] Generated Node #0,2: 36:[18, 43, 19] Operation: 30-11=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[18, 11, 13], Operations: ['43-30=13'] Exploring Operation: 18-13=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 36:[11, 5] Operation: 18-13=5 Exploring Operation: 18-11=7, Resulting Numbers: [13, 7] Generated Node #0,1,1: 36:[13, 7] Operation: 18-11=7 Exploring Operation: 13-11=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 36:[18, 2] Operation: 13-11=2 Moving to Node #0,1,2 Current State: 36:[18, 2], Operations: ['43-30=13', '13-11=2'] Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,36 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[18, 11, 30, 43], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [18, 11, 13] Generated Node #0,1: 36:[18, 11, 13] Operation: 43-30=13 Moving to Node #0,1 Current State: 36:[18, 11, 13], Operations: ['43-30=13'] Exploring Operation: 13-11=2, Resulting Numbers: [18, 2] Generated Node #0,1,2: 36:[18, 2] Operation: 13-11=2 Moving to Node #0,1,2 Current State: 36:[18, 2], Operations: ['43-30=13', '13-11=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 16, 43, 12, 10 ]
54
[ "43-16=27", "12-10=2", "27*2=54" ]
Current State: 54:[16, 43, 12, 10], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [12, 10, 27] Generated Node #2: [12, 10, 27] from Operation: 43-16=27 Current State: 54:[12, 10, 27], Operations: ['43-16=27'] Exploring Operation: 12-10=2, Resulting Numbers: [27, 2] Generated Node #3: [27, 2] from Operation: 12-10=2 Current State: 54:[27, 2], Operations: ['43-16=27', '12-10=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[16, 43, 12, 10], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [12, 10, 27] Generated Node #0,0: 54:[12, 10, 27] Operation: 43-16=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[12, 10, 27], Operations: ['43-16=27'] Exploring Operation: 12-10=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 54:[27, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[27, 2], Operations: ['43-16=27', '12-10=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[16, 43, 12, 10], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [12, 10, 27] Generated Node #0,0: 54:[12, 10, 27] Operation: 43-16=27 Moving to Node #0,0 Current State: 54:[12, 10, 27], Operations: ['43-16=27'] Exploring Operation: 12-10=2, Resulting Numbers: [27, 2] Generated Node #0,0,0: 54:[27, 2] Operation: 12-10=2 Moving to Node #0,0,0 Current State: 54:[27, 2], Operations: ['43-16=27', '12-10=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 51, 74, 92, 46 ]
97
[ "74*92=6808", "6808/46=148", "148-51=97" ]
Current State: 97:[51, 74, 92, 46], Operations: [] Exploring Operation: 74*92=6808, Resulting Numbers: [51, 46, 6808] Generated Node #2: [51, 46, 6808] from Operation: 74*92=6808 Current State: 97:[51, 46, 6808], Operations: ['74*92=6808'] Exploring Operation: 6808/46=148, Resulting Numbers: [51, 148] Generated Node #3: [51, 148] from Operation: 6808/46=148 Current State: 97:[51, 148], Operations: ['74*92=6808', '6808/46=148'] Exploring Operation: 148-51=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[51, 74, 92, 46], Operations: [] Exploring Operation: 51+92=143, Resulting Numbers: [74, 46, 143] Generated Node #0,0: 97:[74, 46, 143] Operation: 51+92=143 Exploring Operation: 92+46=138, Resulting Numbers: [51, 74, 138] Generated Node #0,1: 97:[51, 74, 138] Operation: 92+46=138 Exploring Operation: 51+74=125, Resulting Numbers: [92, 46, 125] Generated Node #0,2: 97:[92, 46, 125] Operation: 51+74=125 Exploring Operation: 74+46=120, Resulting Numbers: [51, 92, 120] Generated Node #0,3: 97:[51, 92, 120] Operation: 74+46=120 Exploring Operation: 51+46=97, Resulting Numbers: [74, 92, 97] Generated Node #0,4: 97:[74, 92, 97] Operation: 51+46=97 Moving to Node #0,4 Current State: 97:[74, 92, 97], Operations: ['51+46=97'] Exploring Operation: 97-74=23, Resulting Numbers: [92, 23] Generated Node #0,4,0: 97:[92, 23] Operation: 97-74=23 Exploring Operation: 92-74=18, Resulting Numbers: [97, 18] Generated Node #0,4,1: 97:[97, 18] Operation: 92-74=18 Exploring Operation: 74+92=166, Resulting Numbers: [97, 166] Generated Node #0,4,2: 97:[97, 166] Operation: 74+92=166 Exploring Operation: 74+97=171, Resulting Numbers: [92, 171] Generated Node #0,4,3: 97:[92, 171] Operation: 74+97=171 Exploring Operation: 92+97=189, Resulting Numbers: [74, 189] Generated Node #0,4,4: 97:[74, 189] Operation: 92+97=189 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 97:[97, 166], Operations: ['51+46=97', '74+92=166'] Exploring Operation: 97+166=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 97*166=16102, Resulting Numbers: [16102] 16102,97 unequal: No Solution Exploring Operation: 166-97=69, Resulting Numbers: [69] 69,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,4,0 Current State: 97:[92, 23], Operations: ['51+46=97', '97-74=23'] Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,97 unequal: No Solution Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 92*23=2116, Resulting Numbers: [2116] 2116,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,4,1 Current State: 97:[97, 18], Operations: ['51+46=97', '92-74=18'] Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 97*18=1746, Resulting Numbers: [1746] 1746,97 unequal: No Solution Exploring Operation: 97+18=115, Resulting Numbers: [115] 115,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,4,3 Current State: 97:[92, 171], Operations: ['51+46=97', '74+97=171'] Exploring Operation: 92+171=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 171-92=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 92*171=15732, Resulting Numbers: [15732] 15732,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,4,4 Current State: 97:[74, 189], Operations: ['51+46=97', '92+97=189'] Exploring Operation: 74+189=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 189-74=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 74*189=13986, Resulting Numbers: [13986] 13986,97 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: 97:[51, 92, 120], Operations: ['74+46=120'] Exploring Operation: 92-51=41, Resulting Numbers: [120, 41] Generated Node #0,3,0: 97:[120, 41] Operation: 92-51=41 Exploring Operation: 51+92=143, Resulting Numbers: [120, 143] Generated Node #0,3,1: 97:[120, 143] Operation: 51+92=143 Exploring Operation: 120-51=69, Resulting Numbers: [92, 69] Generated Node #0,3,2: 97:[92, 69] Operation: 120-51=69 Exploring Operation: 51+120=171, Resulting Numbers: [92, 171] Generated Node #0,3,3: 97:[92, 171] Operation: 51+120=171 Exploring Operation: 120-92=28, Resulting Numbers: [51, 28] Generated Node #0,3,4: 97:[51, 28] Operation: 120-92=28 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 97:[92, 69], Operations: ['74+46=120', '120-51=69'] Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,97 unequal: No Solution Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 97:[120, 143], Operations: ['74+46=120', '51+92=143'] Exploring Operation: 120+143=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 120*143=17160, Resulting Numbers: [17160] 17160,97 unequal: No Solution Exploring Operation: 143-120=23, Resulting Numbers: [23] 23,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 97:[120, 41], Operations: ['74+46=120', '92-51=41'] Exploring Operation: 120*41=4920, Resulting Numbers: [4920] 4920,97 unequal: No Solution Exploring Operation: 120+41=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 120-41=79, Resulting Numbers: [79] 79,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,3,3 Current State: 97:[92, 171], Operations: ['74+46=120', '51+120=171'] Exploring Operation: 171-92=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 92+171=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 92*171=15732, Resulting Numbers: [15732] 15732,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,3,4 Current State: 97:[51, 28], Operations: ['74+46=120', '120-92=28'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,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:[92, 46, 125], Operations: ['51+74=125'] Exploring Operation: 125-92=33, Resulting Numbers: [46, 33] Generated Node #0,2,0: 97:[46, 33] Operation: 125-92=33 Exploring Operation: 92-46=46, Resulting Numbers: [125, 46] Generated Node #0,2,1: 97:[125, 46] Operation: 92-46=46 Exploring Operation: 92+46=138, Resulting Numbers: [125, 138] Generated Node #0,2,2: 97:[125, 138] Operation: 92+46=138 Exploring Operation: 125-46=79, Resulting Numbers: [92, 79] Generated Node #0,2,3: 97:[92, 79] Operation: 125-46=79 Exploring Operation: 46+125=171, Resulting Numbers: [92, 171] Generated Node #0,2,4: 97:[92, 171] Operation: 46+125=171 Moving to Node #0,1 Current State: 97:[51, 74, 138], Operations: ['92+46=138'] Exploring Operation: 138-51=87, Resulting Numbers: [74, 87] Generated Node #0,1,0: 97:[74, 87] Operation: 138-51=87 Exploring Operation: 51+74=125, Resulting Numbers: [138, 125] Generated Node #0,1,1: 97:[138, 125] Operation: 51+74=125 Exploring Operation: 51+138=189, Resulting Numbers: [74, 189] Generated Node #0,1,2: 97:[74, 189] Operation: 51+138=189 Exploring Operation: 138-74=64, Resulting Numbers: [51, 64] Generated Node #0,1,3: 97:[51, 64] Operation: 138-74=64 Exploring Operation: 74-51=23, Resulting Numbers: [138, 23] Generated Node #0,1,4: 97:[138, 23] Operation: 74-51=23 Moving to Node #0,0 Current State: 97:[74, 46, 143], Operations: ['51+92=143'] Exploring Operation: 74-46=28, Resulting Numbers: [143, 28] Generated Node #0,0,0: 97:[143, 28] Operation: 74-46=28 Exploring Operation: 143-46=97, Resulting Numbers: [74, 97] Generated Node #0,0,1: 97:[74, 97] Operation: 143-46=97 Exploring Operation: 46+143=189, Resulting Numbers: [74, 189] Generated Node #0,0,2: 97:[74, 189] Operation: 46+143=189 Exploring Operation: 74+46=120, Resulting Numbers: [143, 120] Generated Node #0,0,3: 97:[143, 120] Operation: 74+46=120 Exploring Operation: 143-74=69, Resulting Numbers: [46, 69] Generated Node #0,0,4: 97:[46, 69] Operation: 143-74=69 Moving to Node #0,2,3 Current State: 97:[92, 79], Operations: ['51+74=125', '125-46=79'] Exploring Operation: 92-79=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 92*79=7268, Resulting Numbers: [7268] 7268,97 unequal: No Solution Exploring Operation: 92+79=171, Resulting Numbers: [171] 171,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[74, 97], Operations: ['51+92=143', '143-46=97'] Exploring Operation: 74+97=171, Resulting Numbers: [171] 171,97 unequal: No Solution Exploring Operation: 74*97=7178, Resulting Numbers: [7178] 7178,97 unequal: No Solution Exploring Operation: 97-74=23, Resulting Numbers: [23] 23,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[74, 87], Operations: ['92+46=138', '138-51=87'] Exploring Operation: 87-74=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 74+87=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 74*87=6438, Resulting Numbers: [6438] 6438,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[138, 125], Operations: ['92+46=138', '51+74=125'] Exploring Operation: 138+125=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 138*125=17250, Resulting Numbers: [17250] 17250,97 unequal: No Solution Exploring Operation: 138-125=13, Resulting Numbers: [13] 13,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[143, 120], Operations: ['51+92=143', '74+46=120'] Exploring Operation: 143+120=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 143-120=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 143*120=17160, Resulting Numbers: [17160] 17160,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[125, 138], Operations: ['51+74=125', '92+46=138'] Exploring Operation: 138-125=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 125*138=17250, Resulting Numbers: [17250] 17250,97 unequal: No Solution Exploring Operation: 125+138=263, Resulting Numbers: [263] 263,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[125, 46], Operations: ['51+74=125', '92-46=46'] Exploring Operation: 125*46=5750, Resulting Numbers: [5750] 5750,97 unequal: No Solution Exploring Operation: 125+46=171, Resulting Numbers: [171] 171,97 unequal: No Solution Exploring Operation: 125-46=79, Resulting Numbers: [79] 79,97 unequal: No Solution Moving to Node #0,0,4 Current State: 97:[46, 69], Operations: ['51+92=143', '143-74=69'] Exploring Operation: 46*69=3174, Resulting Numbers: [3174] 3174,97 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,97 unequal: No Solution Exploring Operation: 46+69=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,2,4 Current State: 97:[92, 171], Operations: ['51+74=125', '46+125=171'] Exploring Operation: 92+171=263, Resulting Numbers: [263] 263,97 unequal: No Solution Exploring Operation: 92*171=15732, Resulting Numbers: [15732] 15732,97 unequal: No Solution Exploring Operation: 171-92=79, Resulting Numbers: [79] 79,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[51, 64], Operations: ['92+46=138', '138-74=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,97 unequal: No Solution Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[143, 28], Operations: ['51+92=143', '74-46=28'] Exploring Operation: 143-28=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 143*28=4004, Resulting Numbers: [4004] 4004,97 unequal: No Solution Exploring Operation: 143+28=171, Resulting Numbers: [171] 171,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[138, 23], Operations: ['92+46=138', '74-51=23'] Exploring Operation: 138+23=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 138*23=3174, Resulting Numbers: [3174] 3174,97 unequal: No Solution Exploring Operation: 138-23=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 138/23=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[74, 189], Operations: ['92+46=138', '51+138=189'] Exploring Operation: 74*189=13986, Resulting Numbers: [13986] 13986,97 unequal: No Solution Exploring Operation: 189-74=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 74+189=263, Resulting Numbers: [263] 263,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[46, 33], Operations: ['51+74=125', '125-92=33'] Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,97 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,97 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[74, 189], Operations: ['51+92=143', '46+143=189'] Exploring Operation: 189-74=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 74*189=13986, Resulting Numbers: [13986] 13986,97 unequal: No Solution Exploring Operation: 74+189=263, Resulting Numbers: [263] 263,97 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 47, 53, 82, 30 ]
48
[ "47+53=100", "82-30=52", "100-52=48" ]
Current State: 48:[47, 53, 82, 30], Operations: [] Exploring Operation: 47+53=100, Resulting Numbers: [82, 30, 100] Generated Node #2: [82, 30, 100] from Operation: 47+53=100 Current State: 48:[82, 30, 100], Operations: ['47+53=100'] Exploring Operation: 82-30=52, Resulting Numbers: [100, 52] Generated Node #3: [100, 52] from Operation: 82-30=52 Current State: 48:[100, 52], Operations: ['47+53=100', '82-30=52'] Exploring Operation: 100-52=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[47, 53, 82, 30], Operations: [] Exploring Operation: 82-53=29, Resulting Numbers: [47, 30, 29] Generated Node #0,0: 48:[47, 30, 29] Operation: 82-53=29 Exploring Operation: 82-30=52, Resulting Numbers: [47, 53, 52] Generated Node #0,1: 48:[47, 53, 52] Operation: 82-30=52 Exploring Operation: 82-47=35, Resulting Numbers: [53, 30, 35] Generated Node #0,2: 48:[53, 30, 35] Operation: 82-47=35 Moving to Node #0,1 Current State: 48:[47, 53, 52], Operations: ['82-30=52'] Exploring Operation: 53-52=1, Resulting Numbers: [47, 1] Generated Node #0,1,0: 48:[47, 1] Operation: 53-52=1 Exploring Operation: 52-47=5, Resulting Numbers: [53, 5] Generated Node #0,1,1: 48:[53, 5] Operation: 52-47=5 Exploring Operation: 53-47=6, Resulting Numbers: [52, 6] Generated Node #0,1,2: 48:[52, 6] Operation: 53-47=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[47, 1], Operations: ['82-30=52', '53-52=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[47, 53, 82, 30], Operations: [] Exploring Operation: 82-30=52, Resulting Numbers: [47, 53, 52] Generated Node #0,1: 48:[47, 53, 52] Operation: 82-30=52 Moving to Node #0,1 Current State: 48:[47, 53, 52], Operations: ['82-30=52'] Exploring Operation: 53-52=1, Resulting Numbers: [47, 1] Generated Node #0,1,0: 48:[47, 1] Operation: 53-52=1 Moving to Node #0,1,0 Current State: 48:[47, 1], Operations: ['82-30=52', '53-52=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 78, 12, 7, 47 ]
41
[ "78+47=125", "12*7=84", "125-84=41" ]
Current State: 41:[78, 12, 7, 47], Operations: [] Exploring Operation: 78+47=125, Resulting Numbers: [12, 7, 125] Generated Node #2: [12, 7, 125] from Operation: 78+47=125 Current State: 41:[12, 7, 125], Operations: ['78+47=125'] Exploring Operation: 12*7=84, Resulting Numbers: [125, 84] Generated Node #3: [125, 84] from Operation: 12*7=84 Current State: 41:[125, 84], Operations: ['78+47=125', '12*7=84'] Exploring Operation: 125-84=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[78, 12, 7, 47], Operations: [] Exploring Operation: 12+7=19, Resulting Numbers: [78, 47, 19] Generated Node #0,0: 41:[78, 47, 19] Operation: 12+7=19 Exploring Operation: 78-7=71, Resulting Numbers: [12, 47, 71] Generated Node #0,1: 41:[12, 47, 71] Operation: 78-7=71 Exploring Operation: 78-12=66, Resulting Numbers: [7, 47, 66] Generated Node #0,2: 41:[7, 47, 66] Operation: 78-12=66 Moving to Node #0,0 Current State: 41:[78, 47, 19], Operations: ['12+7=19'] Exploring Operation: 47-19=28, Resulting Numbers: [78, 28] Generated Node #0,0,0: 41:[78, 28] Operation: 47-19=28 Exploring Operation: 78-47=31, Resulting Numbers: [19, 31] Generated Node #0,0,1: 41:[19, 31] Operation: 78-47=31 Exploring Operation: 78-19=59, Resulting Numbers: [47, 59] Generated Node #0,0,2: 41:[47, 59] Operation: 78-19=59 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[47, 59], Operations: ['12+7=19', '78-19=59'] Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,41 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[19, 31], Operations: ['12+7=19', '78-47=31'] Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,41 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[78, 28], Operations: ['12+7=19', '47-19=28'] Exploring Operation: 78+28=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 78*28=2184, Resulting Numbers: [2184] 2184,41 unequal: No Solution Exploring Operation: 78-28=50, Resulting Numbers: [50] 50,41 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: 41:[12, 47, 71], Operations: ['78-7=71'] Exploring Operation: 71-47=24, Resulting Numbers: [12, 24] Generated Node #0,1,0: 41:[12, 24] Operation: 71-47=24 Exploring Operation: 71-12=59, Resulting Numbers: [47, 59] Generated Node #0,1,1: 41:[47, 59] Operation: 71-12=59 Exploring Operation: 47-12=35, Resulting Numbers: [71, 35] Generated Node #0,1,2: 41:[71, 35] Operation: 47-12=35 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[47, 59], Operations: ['78-7=71', '71-12=59'] Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,41 unequal: No Solution Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[71, 35], Operations: ['78-7=71', '47-12=35'] Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 71*35=2485, Resulting Numbers: [2485] 2485,41 unequal: No Solution Exploring Operation: 71+35=106, Resulting Numbers: [106] 106,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[12, 24], Operations: ['78-7=71', '71-47=24'] Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,41 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,41 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: 41:[7, 47, 66], Operations: ['78-12=66'] Exploring Operation: 66-7=59, Resulting Numbers: [47, 59] Generated Node #0,2,0: 41:[47, 59] Operation: 66-7=59 Exploring Operation: 7+47=54, Resulting Numbers: [66, 54] Generated Node #0,2,1: 41:[66, 54] Operation: 7+47=54 Exploring Operation: 47-7=40, Resulting Numbers: [66, 40] Generated Node #0,2,2: 41:[66, 40] Operation: 47-7=40 Moving to Node #0,2,0 Current State: 41:[47, 59], Operations: ['78-12=66', '66-7=59'] Exploring Operation: 59-47=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 47+59=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 47*59=2773, Resulting Numbers: [2773] 2773,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[66, 40], Operations: ['78-12=66', '47-7=40'] Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,41 unequal: No Solution Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,41 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[66, 54], Operations: ['78-12=66', '7+47=54'] Exploring Operation: 66-54=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 66+54=120, Resulting Numbers: [120] 120,41 unequal: No Solution Exploring Operation: 66*54=3564, Resulting Numbers: [3564] 3564,41 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 54, 92, 38, 89 ]
88
[ "92-54=38", "38/38=1", "89-1=88" ]
Current State: 88:[54, 92, 38, 89], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [38, 89, 38] Generated Node #2: [38, 89, 38] from Operation: 92-54=38 Current State: 88:[38, 89, 38], Operations: ['92-54=38'] Exploring Operation: 38/38=1, Resulting Numbers: [89, 1] Generated Node #3: [89, 1] from Operation: 38/38=1 Current State: 88:[89, 1], Operations: ['92-54=38', '38/38=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[54, 92, 38, 89], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [92, 89, 16] Generated Node #0,0: 88:[92, 89, 16] Operation: 54-38=16 Exploring Operation: 92-89=3, Resulting Numbers: [54, 38, 3] Generated Node #0,1: 88:[54, 38, 3] Operation: 92-89=3 Exploring Operation: 54+38=92, Resulting Numbers: [92, 89, 92] Generated Node #0,2: 88:[92, 89, 92] Operation: 54+38=92 Exploring Operation: 89-54=35, Resulting Numbers: [92, 38, 35] Generated Node #0,3: 88:[92, 38, 35] Operation: 89-54=35 Exploring Operation: 92-54=38, Resulting Numbers: [38, 89, 38] Generated Node #0,4: 88:[38, 89, 38] Operation: 92-54=38 Moving to Node #0,2 Current State: 88:[92, 89, 92], Operations: ['54+38=92'] Exploring Operation: 92-89=3, Resulting Numbers: [92, 3] Generated Node #0,2,0: 88:[92, 3] Operation: 92-89=3 Exploring Operation: 92-89=3, Resulting Numbers: [92, 3] Generated Node #0,2,1: 88:[92, 3] Operation: 92-89=3 Exploring Operation: 92/92=1, Resulting Numbers: [89, 1] Generated Node #0,2,2: 88:[89, 1] Operation: 92/92=1 Exploring Operation: 92-92=0, Resulting Numbers: [89, 0] Generated Node #0,2,3: 88:[89, 0] Operation: 92-92=0 Exploring Operation: 92+89=181, Resulting Numbers: [92, 181] Generated Node #0,2,4: 88:[92, 181] Operation: 92+89=181 Moving to Node #0,0 Current State: 88:[92, 89, 16], Operations: ['54-38=16'] Exploring Operation: 92+16=108, Resulting Numbers: [89, 108] Generated Node #0,0,0: 88:[89, 108] Operation: 92+16=108 Exploring Operation: 89+16=105, Resulting Numbers: [92, 105] Generated Node #0,0,1: 88:[92, 105] Operation: 89+16=105 Exploring Operation: 92-16=76, Resulting Numbers: [89, 76] Generated Node #0,0,2: 88:[89, 76] Operation: 92-16=76 Exploring Operation: 89-16=73, Resulting Numbers: [92, 73] Generated Node #0,0,3: 88:[92, 73] Operation: 89-16=73 Exploring Operation: 92-89=3, Resulting Numbers: [16, 3] Generated Node #0,0,4: 88:[16, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[16, 3], Operations: ['54-38=16', '92-89=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,88 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,88 unequal: No Solution No 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: 88:[89, 76], Operations: ['54-38=16', '92-16=76'] Exploring Operation: 89-76=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 89*76=6764, Resulting Numbers: [6764] 6764,88 unequal: No Solution Exploring Operation: 89+76=165, Resulting Numbers: [165] 165,88 unequal: No Solution No 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: 88:[92, 73], Operations: ['54-38=16', '89-16=73'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,88 unequal: No Solution No 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: 88:[89, 108], Operations: ['54-38=16', '92+16=108'] Exploring Operation: 89*108=9612, Resulting Numbers: [9612] 9612,88 unequal: No Solution Exploring Operation: 89+108=197, Resulting Numbers: [197] 197,88 unequal: No Solution Exploring Operation: 108-89=19, Resulting Numbers: [19] 19,88 unequal: No Solution No 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: 88:[92, 105], Operations: ['54-38=16', '89+16=105'] Exploring Operation: 92*105=9660, Resulting Numbers: [9660] 9660,88 unequal: No Solution Exploring Operation: 92+105=197, Resulting Numbers: [197] 197,88 unequal: No Solution Exploring Operation: 105-92=13, Resulting Numbers: [13] 13,88 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: 88:[38, 89, 38], Operations: ['92-54=38'] Exploring Operation: 38-38=0, Resulting Numbers: [89, 0] Generated Node #0,4,0: 88:[89, 0] Operation: 38-38=0 Exploring Operation: 89-38=51, Resulting Numbers: [38, 51] Generated Node #0,4,1: 88:[38, 51] Operation: 89-38=51 Exploring Operation: 89-38=51, Resulting Numbers: [38, 51] Generated Node #0,4,2: 88:[38, 51] Operation: 89-38=51 Exploring Operation: 38/38=1, Resulting Numbers: [89, 1] Generated Node #0,4,3: 88:[89, 1] Operation: 38/38=1 Exploring Operation: 38+38=76, Resulting Numbers: [89, 76] Generated Node #0,4,4: 88:[89, 76] Operation: 38+38=76 Moving to Node #0,1 Current State: 88:[54, 38, 3], Operations: ['92-89=3'] Exploring Operation: 54/3=18, Resulting Numbers: [38, 18] Generated Node #0,1,0: 88:[38, 18] Operation: 54/3=18 Exploring Operation: 54-38=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 88:[3, 16] Operation: 54-38=16 Exploring Operation: 54-3=51, Resulting Numbers: [38, 51] Generated Node #0,1,2: 88:[38, 51] Operation: 54-3=51 Exploring Operation: 54+38=92, Resulting Numbers: [3, 92] Generated Node #0,1,3: 88:[3, 92] Operation: 54+38=92 Exploring Operation: 38+3=41, Resulting Numbers: [54, 41] Generated Node #0,1,4: 88:[54, 41] Operation: 38+3=41 Moving to Node #0,3 Current State: 88:[92, 38, 35], Operations: ['89-54=35'] Exploring Operation: 92+35=127, Resulting Numbers: [38, 127] Generated Node #0,3,0: 88:[38, 127] Operation: 92+35=127 Exploring Operation: 38-35=3, Resulting Numbers: [92, 3] Generated Node #0,3,1: 88:[92, 3] Operation: 38-35=3 Exploring Operation: 92-35=57, Resulting Numbers: [38, 57] Generated Node #0,3,2: 88:[38, 57] Operation: 92-35=57 Exploring Operation: 38+35=73, Resulting Numbers: [92, 73] Generated Node #0,3,3: 88:[92, 73] Operation: 38+35=73 Exploring Operation: 92-38=54, Resulting Numbers: [35, 54] Generated Node #0,3,4: 88:[35, 54] Operation: 92-38=54 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[92, 3], Operations: ['89-54=35', '38-35=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,88 unequal: No Solution Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,88 unequal: No Solution No 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: 88:[38, 57], Operations: ['89-54=35', '92-35=57'] Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,88 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,88 unequal: No Solution No 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: 88:[92, 73], Operations: ['89-54=35', '38+35=73'] Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,88 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,88 unequal: No Solution No 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: 88:[35, 54], Operations: ['89-54=35', '92-38=54'] Exploring Operation: 35*54=1890, Resulting Numbers: [1890] 1890,88 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,88 unequal: No Solution No 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: 88:[38, 127], Operations: ['89-54=35', '92+35=127'] Exploring Operation: 127-38=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 38+127=165, Resulting Numbers: [165] 165,88 unequal: No Solution Exploring Operation: 38*127=4826, Resulting Numbers: [4826] 4826,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 88:[89, 1], Operations: ['54+38=92', '92/92=1'] Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,88 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,88 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[54, 92, 38, 89], Operations: [] Exploring Operation: 54+38=92, Resulting Numbers: [92, 89, 92] Generated Node #0,2: 88:[92, 89, 92] Operation: 54+38=92 Moving to Node #0,2 Current State: 88:[92, 89, 92], Operations: ['54+38=92'] Exploring Operation: 92/92=1, Resulting Numbers: [89, 1] Generated Node #0,2,2: 88:[89, 1] Operation: 92/92=1 Moving to Node #0,2,2 Current State: 88:[89, 1], Operations: ['54+38=92', '92/92=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.940972
hs_5
sum_heuristic
[ 72, 45, 69, 64 ]
57
[ "72-69=3", "64-45=19", "3*19=57" ]
Current State: 57:[72, 45, 69, 64], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [45, 64, 3] Generated Node #2: [45, 64, 3] from Operation: 72-69=3 Current State: 57:[45, 64, 3], Operations: ['72-69=3'] Exploring Operation: 64-45=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 64-45=19 Current State: 57:[3, 19], Operations: ['72-69=3', '64-45=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[72, 45, 69, 64], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [45, 64, 3] Generated Node #0,0: 57:[45, 64, 3] Operation: 72-69=3 Exploring Operation: 69-45=24, Resulting Numbers: [72, 64, 24] Generated Node #0,1: 57:[72, 64, 24] Operation: 69-45=24 Exploring Operation: 72-45=27, Resulting Numbers: [69, 64, 27] Generated Node #0,2: 57:[69, 64, 27] Operation: 72-45=27 Exploring Operation: 64-45=19, Resulting Numbers: [72, 69, 19] Generated Node #0,3: 57:[72, 69, 19] Operation: 64-45=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[45, 64, 3], Operations: ['72-69=3'] Exploring Operation: 64-45=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 64-45=19 Exploring Operation: 64-3=61, Resulting Numbers: [45, 61] Generated Node #0,0,1: 57:[45, 61] Operation: 64-3=61 Exploring Operation: 45/3=15, Resulting Numbers: [64, 15] Generated Node #0,0,2: 57:[64, 15] Operation: 45/3=15 Exploring Operation: 45+3=48, Resulting Numbers: [64, 48] Generated Node #0,0,3: 57:[64, 48] Operation: 45+3=48 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['72-69=3', '64-45=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[72, 45, 69, 64], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [45, 64, 3] Generated Node #0,0: 57:[45, 64, 3] Operation: 72-69=3 Moving to Node #0,0 Current State: 57:[45, 64, 3], Operations: ['72-69=3'] Exploring Operation: 64-45=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 64-45=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['72-69=3', '64-45=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 66, 26, 2, 2 ]
53
[ "66*2=132", "132-26=106", "106/2=53" ]
Current State: 53:[66, 26, 2, 2], Operations: [] Exploring Operation: 66*2=132, Resulting Numbers: [26, 132] Generated Node #2: [26, 132] from Operation: 66*2=132 Current State: 53:[26, 132], Operations: ['66*2=132'] Exploring Operation: 132-26=106, Resulting Numbers: [106] 106,53 equal: Goal Reached Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[66, 26, 2, 2], Operations: [] Exploring Operation: 26*2=52, Resulting Numbers: [66, 2, 52] Generated Node #0,0: 53:[66, 2, 52] Operation: 26*2=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[66, 2, 52], Operations: ['26*2=52'] Exploring Operation: 66-2=64, Resulting Numbers: [52, 64] Generated Node #0,0,0: 53:[52, 64] Operation: 66-2=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[52, 64], Operations: ['26*2=52', '66-2=64'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 30, 99, 91, 11 ]
58
[ "99-91=8", "11*8=88", "88-30=58" ]
Current State: 58:[30, 99, 91, 11], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [30, 11, 8] Generated Node #2: [30, 11, 8] from Operation: 99-91=8 Current State: 58:[30, 11, 8], Operations: ['99-91=8'] Exploring Operation: 11*8=88, Resulting Numbers: [30, 88] Generated Node #3: [30, 88] from Operation: 11*8=88 Current State: 58:[30, 88], Operations: ['99-91=8', '11*8=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[30, 99, 91, 11], Operations: [] Exploring Operation: 91-30=61, Resulting Numbers: [99, 11, 61] Generated Node #0,0: 58:[99, 11, 61] Operation: 91-30=61 Exploring Operation: 99-11=88, Resulting Numbers: [30, 91, 88] Generated Node #0,1: 58:[30, 91, 88] Operation: 99-11=88 Exploring Operation: 99/11=9, Resulting Numbers: [30, 91, 9] Generated Node #0,2: 58:[30, 91, 9] Operation: 99/11=9 Exploring Operation: 99-91=8, Resulting Numbers: [30, 11, 8] Generated Node #0,3: 58:[30, 11, 8] Operation: 99-91=8 Exploring Operation: 99-30=69, Resulting Numbers: [91, 11, 69] Generated Node #0,4: 58:[91, 11, 69] Operation: 99-30=69 Moving to Node #0,3 Current State: 58:[30, 11, 8], Operations: ['99-91=8'] Exploring Operation: 11+8=19, Resulting Numbers: [30, 19] Generated Node #0,3,0: 58:[30, 19] Operation: 11+8=19 Exploring Operation: 30+11=41, Resulting Numbers: [8, 41] Generated Node #0,3,1: 58:[8, 41] Operation: 30+11=41 Exploring Operation: 30-8=22, Resulting Numbers: [11, 22] Generated Node #0,3,2: 58:[11, 22] Operation: 30-8=22 Exploring Operation: 11-8=3, Resulting Numbers: [30, 3] Generated Node #0,3,3: 58:[30, 3] Operation: 11-8=3 Exploring Operation: 30-11=19, Resulting Numbers: [8, 19] Generated Node #0,3,4: 58:[8, 19] Operation: 30-11=19 Moving to Node #0,2 Current State: 58:[30, 91, 9], Operations: ['99/11=9'] Exploring Operation: 91-30=61, Resulting Numbers: [9, 61] Generated Node #0,2,0: 58:[9, 61] Operation: 91-30=61 Exploring Operation: 30-9=21, Resulting Numbers: [91, 21] Generated Node #0,2,1: 58:[91, 21] Operation: 30-9=21 Exploring Operation: 30+9=39, Resulting Numbers: [91, 39] Generated Node #0,2,2: 58:[91, 39] Operation: 30+9=39 Exploring Operation: 91-9=82, Resulting Numbers: [30, 82] Generated Node #0,2,3: 58:[30, 82] Operation: 91-9=82 Exploring Operation: 91+9=100, Resulting Numbers: [30, 100] Generated Node #0,2,4: 58:[30, 100] Operation: 91+9=100 Moving to Node #0,0 Current State: 58:[99, 11, 61], Operations: ['91-30=61'] Exploring Operation: 61-11=50, Resulting Numbers: [99, 50] Generated Node #0,0,0: 58:[99, 50] Operation: 61-11=50 Exploring Operation: 99/11=9, Resulting Numbers: [61, 9] Generated Node #0,0,1: 58:[61, 9] Operation: 99/11=9 Exploring Operation: 99-61=38, Resulting Numbers: [11, 38] Generated Node #0,0,2: 58:[11, 38] Operation: 99-61=38 Exploring Operation: 99-11=88, Resulting Numbers: [61, 88] Generated Node #0,0,3: 58:[61, 88] Operation: 99-11=88 Exploring Operation: 99+11=110, Resulting Numbers: [61, 110] Generated Node #0,0,4: 58:[61, 110] Operation: 99+11=110 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[61, 9], Operations: ['91-30=61', '99/11=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,58 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[11, 38], Operations: ['91-30=61', '99-61=38'] Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,58 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 58:[61, 88], Operations: ['91-30=61', '99-11=88'] Exploring Operation: 61*88=5368, Resulting Numbers: [5368] 5368,58 unequal: No Solution Exploring Operation: 61+88=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[99, 50], Operations: ['91-30=61', '61-11=50'] Exploring Operation: 99+50=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 99*50=4950, Resulting Numbers: [4950] 4950,58 unequal: No Solution Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 58:[61, 110], Operations: ['91-30=61', '99+11=110'] Exploring Operation: 110-61=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 61+110=171, Resulting Numbers: [171] 171,58 unequal: No Solution Exploring Operation: 61*110=6710, Resulting Numbers: [6710] 6710,58 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: 58:[91, 11, 69], Operations: ['99-30=69'] Exploring Operation: 91-69=22, Resulting Numbers: [11, 22] Generated Node #0,4,0: 58:[11, 22] Operation: 91-69=22 Exploring Operation: 69-11=58, Resulting Numbers: [91, 58] Generated Node #0,4,1: 58:[91, 58] Operation: 69-11=58 Exploring Operation: 11+69=80, Resulting Numbers: [91, 80] Generated Node #0,4,2: 58:[91, 80] Operation: 11+69=80 Exploring Operation: 91-11=80, Resulting Numbers: [69, 80] Generated Node #0,4,3: 58:[69, 80] Operation: 91-11=80 Exploring Operation: 91+11=102, Resulting Numbers: [69, 102] Generated Node #0,4,4: 58:[69, 102] Operation: 91+11=102 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 58:[11, 22], Operations: ['99-30=69', '91-69=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,58 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,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,4,1 Current State: 58:[91, 58], Operations: ['99-30=69', '69-11=58'] Exploring Operation: 91+58=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 91*58=5278, Resulting Numbers: [5278] 5278,58 unequal: No Solution Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,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,4,3 Current State: 58:[69, 80], Operations: ['99-30=69', '91-11=80'] Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,58 unequal: No Solution Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,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,4,2 Current State: 58:[91, 80], Operations: ['99-30=69', '11+69=80'] Exploring Operation: 91-80=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 91*80=7280, Resulting Numbers: [7280] 7280,58 unequal: No Solution Exploring Operation: 91+80=171, Resulting Numbers: [171] 171,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,4,4 Current State: 58:[69, 102], Operations: ['99-30=69', '91+11=102'] Exploring Operation: 102-69=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 69+102=171, Resulting Numbers: [171] 171,58 unequal: No Solution Exploring Operation: 69*102=7038, Resulting Numbers: [7038] 7038,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 58:[30, 91, 88], Operations: ['99-11=88'] Exploring Operation: 88-30=58, Resulting Numbers: [91, 58] Generated Node #0,1,0: 58:[91, 58] Operation: 88-30=58 Exploring Operation: 30+91=121, Resulting Numbers: [88, 121] Generated Node #0,1,1: 58:[88, 121] Operation: 30+91=121 Exploring Operation: 91-30=61, Resulting Numbers: [88, 61] Generated Node #0,1,2: 58:[88, 61] Operation: 91-30=61 Exploring Operation: 91-88=3, Resulting Numbers: [30, 3] Generated Node #0,1,3: 58:[30, 3] Operation: 91-88=3 Exploring Operation: 30+88=118, Resulting Numbers: [91, 118] Generated Node #0,1,4: 58:[91, 118] Operation: 30+88=118 Moving to Node #0,3,3 Current State: 58:[30, 3], Operations: ['99-91=8', '11-8=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,58 unequal: No Solution Moving to Node #0,1,3 Current State: 58:[30, 3], Operations: ['99-11=88', '91-88=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[9, 61], Operations: ['99/11=9', '91-30=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,58 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,58 unequal: No Solution Moving to Node #0,3,0 Current State: 58:[30, 19], Operations: ['99-91=8', '11+8=19'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,58 unequal: No Solution Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,58 unequal: No Solution Moving to Node #0,3,2 Current State: 58:[11, 22], Operations: ['99-91=8', '30-8=22'] Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,58 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,58 unequal: No Solution Moving to Node #0,3,4 Current State: 58:[8, 19], Operations: ['99-91=8', '30-11=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,58 unequal: No Solution Exploring Operation: 8*19=152, Resulting Numbers: [152] 152,58 unequal: No Solution Exploring Operation: 8+19=27, Resulting Numbers: [27] 27,58 unequal: No Solution Moving to Node #0,3,1 Current State: 58:[8, 41], Operations: ['99-91=8', '30+11=41'] Exploring Operation: 8+41=49, Resulting Numbers: [49] 49,58 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 8*41=328, Resulting Numbers: [328] 328,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[30, 82], Operations: ['99/11=9', '91-9=82'] Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,58 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,58 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[91, 58], Operations: ['99-11=88', '88-30=58'] Exploring Operation: 91-58=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 91+58=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 91*58=5278, Resulting Numbers: [5278] 5278,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[88, 61], Operations: ['99-11=88', '91-30=61'] Exploring Operation: 88*61=5368, Resulting Numbers: [5368] 5368,58 unequal: No Solution Exploring Operation: 88+61=149, Resulting Numbers: [149] 149,58 unequal: No Solution Exploring Operation: 88-61=27, Resulting Numbers: [27] 27,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[91, 21], Operations: ['99/11=9', '30-9=21'] Exploring Operation: 91*21=1911, Resulting Numbers: [1911] 1911,58 unequal: No Solution Exploring Operation: 91+21=112, Resulting Numbers: [112] 112,58 unequal: No Solution Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,58 unequal: No Solution Moving to Node #0,2,4 Current State: 58:[30, 100], Operations: ['99/11=9', '91+9=100'] Exploring Operation: 30+100=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 30*100=3000, Resulting Numbers: [3000] 3000,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[91, 39], Operations: ['99/11=9', '30+9=39'] Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,58 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,58 unequal: No Solution Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,58 unequal: No Solution Moving to Node #0,1,4 Current State: 58:[91, 118], Operations: ['99-11=88', '30+88=118'] Exploring Operation: 118-91=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 91*118=10738, Resulting Numbers: [10738] 10738,58 unequal: No Solution Exploring Operation: 91+118=209, Resulting Numbers: [209] 209,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[88, 121], Operations: ['99-11=88', '30+91=121'] Exploring Operation: 88*121=10648, Resulting Numbers: [10648] 10648,58 unequal: No Solution Exploring Operation: 121-88=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 88+121=209, Resulting Numbers: [209] 209,58 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 54, 7, 39, 14 ]
72
[ "54-7=47", "39-14=25", "47+25=72" ]
Current State: 72:[54, 7, 39, 14], Operations: [] Exploring Operation: 54-7=47, Resulting Numbers: [39, 14, 47] Generated Node #2: [39, 14, 47] from Operation: 54-7=47 Current State: 72:[39, 14, 47], Operations: ['54-7=47'] Exploring Operation: 39-14=25, Resulting Numbers: [47, 25] Generated Node #3: [47, 25] from Operation: 39-14=25 Current State: 72:[47, 25], Operations: ['54-7=47', '39-14=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[54, 7, 39, 14], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [7, 14, 15] Generated Node #0,0: 72:[7, 14, 15] Operation: 54-39=15 Exploring Operation: 54+14=68, Resulting Numbers: [7, 39, 68] Generated Node #0,1: 72:[7, 39, 68] Operation: 54+14=68 Moving to Node #0,0 Current State: 72:[7, 14, 15], Operations: ['54-39=15'] Exploring Operation: 15-7=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 72:[14, 8] Operation: 15-7=8 Exploring Operation: 15-14=1, Resulting Numbers: [7, 1] Generated Node #0,0,1: 72:[7, 1] Operation: 15-14=1 Moving to Node #0,1 Current State: 72:[7, 39, 68], Operations: ['54+14=68'] Exploring Operation: 68-39=29, Resulting Numbers: [7, 29] Generated Node #0,1,0: 72:[7, 29] Operation: 68-39=29 Exploring Operation: 7+68=75, Resulting Numbers: [39, 75] Generated Node #0,1,1: 72:[39, 75] Operation: 7+68=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[7, 29], Operations: ['54+14=68', '68-39=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[39, 75], Operations: ['54+14=68', '7+68=75'] Exploring Operation: 75-39=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 39+75=114, Resulting Numbers: [114] 114,72 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: 72:[14, 8], Operations: ['54-39=15', '15-7=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[7, 1], Operations: ['54-39=15', '15-14=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 22, 43, 85, 76 ]
96
[ "22+43=65", "85+76=161", "161-65=96" ]
Current State: 96:[22, 43, 85, 76], Operations: [] Exploring Operation: 22+43=65, Resulting Numbers: [85, 76, 65] Generated Node #2: [85, 76, 65] from Operation: 22+43=65 Current State: 96:[85, 76, 65], Operations: ['22+43=65'] Exploring Operation: 85+76=161, Resulting Numbers: [65, 161] Generated Node #3: [65, 161] from Operation: 85+76=161 Current State: 96:[65, 161], Operations: ['22+43=65', '85+76=161'] Exploring Operation: 161-65=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[22, 43, 85, 76], Operations: [] Exploring Operation: 76-43=33, Resulting Numbers: [22, 85, 33] Generated Node #0,0: 96:[22, 85, 33] Operation: 76-43=33 Exploring Operation: 76-22=54, Resulting Numbers: [43, 85, 54] Generated Node #0,1: 96:[43, 85, 54] Operation: 76-22=54 Exploring Operation: 85-43=42, Resulting Numbers: [22, 76, 42] Generated Node #0,2: 96:[22, 76, 42] Operation: 85-43=42 Exploring Operation: 22+76=98, Resulting Numbers: [43, 85, 98] Generated Node #0,3: 96:[43, 85, 98] Operation: 22+76=98 Exploring Operation: 85-76=9, Resulting Numbers: [22, 43, 9] Generated Node #0,4: 96:[22, 43, 9] Operation: 85-76=9 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[22, 43, 9], Operations: ['85-76=9'] Exploring Operation: 22+9=31, Resulting Numbers: [43, 31] Generated Node #0,4,0: 96:[43, 31] Operation: 22+9=31 Exploring Operation: 22-9=13, Resulting Numbers: [43, 13] Generated Node #0,4,1: 96:[43, 13] Operation: 22-9=13 Exploring Operation: 43+9=52, Resulting Numbers: [22, 52] Generated Node #0,4,2: 96:[22, 52] Operation: 43+9=52 Exploring Operation: 43-22=21, Resulting Numbers: [9, 21] Generated Node #0,4,3: 96:[9, 21] Operation: 43-22=21 Exploring Operation: 43-9=34, Resulting Numbers: [22, 34] Generated Node #0,4,4: 96:[22, 34] Operation: 43-9=34 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 96:[9, 21], Operations: ['85-76=9', '43-22=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,96 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[22, 34], Operations: ['85-76=9', '43-9=34'] Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 96:[43, 31], Operations: ['85-76=9', '22+9=31'] Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,96 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 96:[43, 13], Operations: ['85-76=9', '22-9=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 43*13=559, Resulting Numbers: [559] 559,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 96:[22, 52], Operations: ['85-76=9', '43+9=52'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,96 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[22, 85, 33], Operations: ['76-43=33'] Exploring Operation: 85-33=52, Resulting Numbers: [22, 52] Generated Node #0,0,0: 96:[22, 52] Operation: 85-33=52 Exploring Operation: 22+85=107, Resulting Numbers: [33, 107] Generated Node #0,0,1: 96:[33, 107] Operation: 22+85=107 Exploring Operation: 33-22=11, Resulting Numbers: [85, 11] Generated Node #0,0,2: 96:[85, 11] Operation: 33-22=11 Exploring Operation: 85-22=63, Resulting Numbers: [33, 63] Generated Node #0,0,3: 96:[33, 63] Operation: 85-22=63 Exploring Operation: 22+33=55, Resulting Numbers: [85, 55] Generated Node #0,0,4: 96:[85, 55] Operation: 22+33=55 Moving to Node #0,0,0 Current State: 96:[22, 52], Operations: ['76-43=33', '85-33=52'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 22+52=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 22*52=1144, Resulting Numbers: [1144] 1144,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[85, 11], Operations: ['76-43=33', '33-22=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[22, 43, 85, 76], Operations: [] Exploring Operation: 76-43=33, Resulting Numbers: [22, 85, 33] Generated Node #0,0: 96:[22, 85, 33] Operation: 76-43=33 Moving to Node #0,0 Current State: 96:[22, 85, 33], Operations: ['76-43=33'] Exploring Operation: 33-22=11, Resulting Numbers: [85, 11] Generated Node #0,0,2: 96:[85, 11] Operation: 33-22=11 Moving to Node #0,0,2 Current State: 96:[85, 11], Operations: ['76-43=33', '33-22=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 53, 59, 40, 7 ]
56
[ "53+59=112", "112/7=16", "40+16=56" ]
Current State: 56:[53, 59, 40, 7], Operations: [] Exploring Operation: 53+59=112, Resulting Numbers: [40, 7, 112] Generated Node #2: [40, 7, 112] from Operation: 53+59=112 Current State: 56:[40, 7, 112], Operations: ['53+59=112'] Exploring Operation: 112/7=16, Resulting Numbers: [40, 16] Generated Node #3: [40, 16] from Operation: 112/7=16 Current State: 56:[40, 16], Operations: ['53+59=112', '112/7=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[53, 59, 40, 7], Operations: [] Exploring Operation: 59-40=19, Resulting Numbers: [53, 7, 19] Generated Node #0,0: 56:[53, 7, 19] Operation: 59-40=19 Exploring Operation: 40-7=33, Resulting Numbers: [53, 59, 33] Generated Node #0,1: 56:[53, 59, 33] Operation: 40-7=33 Exploring Operation: 53-40=13, Resulting Numbers: [59, 7, 13] Generated Node #0,2: 56:[59, 7, 13] Operation: 53-40=13 Exploring Operation: 59-53=6, Resulting Numbers: [40, 7, 6] Generated Node #0,3: 56:[40, 7, 6] Operation: 59-53=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[59, 7, 13], Operations: ['53-40=13'] Exploring Operation: 13-7=6, Resulting Numbers: [59, 6] Generated Node #0,2,0: 56:[59, 6] Operation: 13-7=6 Exploring Operation: 59-7=52, Resulting Numbers: [13, 52] Generated Node #0,2,1: 56:[13, 52] Operation: 59-7=52 Exploring Operation: 59-13=46, Resulting Numbers: [7, 46] Generated Node #0,2,2: 56:[7, 46] Operation: 59-13=46 Exploring Operation: 7+13=20, Resulting Numbers: [59, 20] Generated Node #0,2,3: 56:[59, 20] Operation: 7+13=20 Moving to Node #0,2,0 Current State: 56:[59, 6], Operations: ['53-40=13', '13-7=6'] Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,56 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,56 unequal: No Solution Moving to Node #0,2,1 Current State: 56:[13, 52], Operations: ['53-40=13', '59-7=52'] Exploring Operation: 13*52=676, Resulting Numbers: [676] 676,56 unequal: No Solution Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 13+52=65, Resulting Numbers: [65] 65,56 unequal: No Solution Exploring Operation: 52/13=4, Resulting Numbers: [4] 4,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[59, 20], Operations: ['53-40=13', '7+13=20'] Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[7, 46], Operations: ['53-40=13', '59-13=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[53, 7, 19], Operations: ['59-40=19'] Exploring Operation: 53-19=34, Resulting Numbers: [7, 34] Generated Node #0,0,0: 56:[7, 34] Operation: 53-19=34 Exploring Operation: 7+19=26, Resulting Numbers: [53, 26] Generated Node #0,0,1: 56:[53, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [53, 12] Generated Node #0,0,2: 56:[53, 12] Operation: 19-7=12 Exploring Operation: 53+7=60, Resulting Numbers: [19, 60] Generated Node #0,0,3: 56:[19, 60] Operation: 53+7=60 Moving to Node #0,0,1 Current State: 56:[53, 26], Operations: ['59-40=19', '7+19=26'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[53, 12], Operations: ['59-40=19', '19-7=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,56 unequal: No Solution Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,56 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[7, 34], Operations: ['59-40=19', '53-19=34'] Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,56 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[19, 60], Operations: ['59-40=19', '53+7=60'] Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,56 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,56 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[53, 59, 33], Operations: ['40-7=33'] Exploring Operation: 53+33=86, Resulting Numbers: [59, 86] Generated Node #0,1,0: 56:[59, 86] Operation: 53+33=86 Exploring Operation: 53-33=20, Resulting Numbers: [59, 20] Generated Node #0,1,1: 56:[59, 20] Operation: 53-33=20 Exploring Operation: 59-33=26, Resulting Numbers: [53, 26] Generated Node #0,1,2: 56:[53, 26] Operation: 59-33=26 Exploring Operation: 59-53=6, Resulting Numbers: [33, 6] Generated Node #0,1,3: 56:[33, 6] Operation: 59-53=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 56:[53, 26], Operations: ['40-7=33', '59-33=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 56:[33, 6], Operations: ['40-7=33', '59-53=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,56 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[59, 20], Operations: ['40-7=33', '53-33=20'] Exploring Operation: 59-20=39, Resulting Numbers: [39] 39,56 unequal: No Solution Exploring Operation: 59+20=79, Resulting Numbers: [79] 79,56 unequal: No Solution Exploring Operation: 59*20=1180, Resulting Numbers: [1180] 1180,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[59, 86], Operations: ['40-7=33', '53+33=86'] Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,56 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 56:[40, 7, 6], Operations: ['59-53=6'] Exploring Operation: 40+7=47, Resulting Numbers: [6, 47] Generated Node #0,3,0: 56:[6, 47] Operation: 40+7=47 Exploring Operation: 40-7=33, Resulting Numbers: [6, 33] Generated Node #0,3,1: 56:[6, 33] Operation: 40-7=33 Exploring Operation: 40+6=46, Resulting Numbers: [7, 46] Generated Node #0,3,2: 56:[7, 46] Operation: 40+6=46 Exploring Operation: 40-6=34, Resulting Numbers: [7, 34] Generated Node #0,3,3: 56:[7, 34] Operation: 40-6=34 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 56:[6, 33], Operations: ['59-53=6', '40-7=33'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,56 unequal: No Solution Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 56:[7, 34], Operations: ['59-53=6', '40-6=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,56 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[6, 47], Operations: ['59-53=6', '40+7=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 6*47=282, Resulting Numbers: [282] 282,56 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 56:[7, 46], Operations: ['59-53=6', '40+6=46'] Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,56 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 95, 6, 91, 99 ]
75
[ "95-91=4", "6*4=24", "99-24=75" ]
Current State: 75:[95, 6, 91, 99], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [6, 99, 4] Generated Node #2: [6, 99, 4] from Operation: 95-91=4 Current State: 75:[6, 99, 4], Operations: ['95-91=4'] Exploring Operation: 6*4=24, Resulting Numbers: [99, 24] Generated Node #3: [99, 24] from Operation: 6*4=24 Current State: 75:[99, 24], Operations: ['95-91=4', '6*4=24'] Exploring Operation: 99-24=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[95, 6, 91, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [6, 91, 4] Generated Node #0,0: 75:[6, 91, 4] Operation: 99-95=4 Moving to Node #0,0 Current State: 75:[6, 91, 4], Operations: ['99-95=4'] Exploring Operation: 91-6=85, Resulting Numbers: [4, 85] Generated Node #0,0,0: 75:[4, 85] Operation: 91-6=85 Moving to Node #0,0,0 Current State: 75:[4, 85], Operations: ['99-95=4', '91-6=85'] Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,75 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 71, 83, 10 ]
74
[ "76+71=147", "83-10=73", "147-73=74" ]
Current State: 74:[76, 71, 83, 10], Operations: [] Exploring Operation: 76+71=147, Resulting Numbers: [83, 10, 147] Generated Node #2: [83, 10, 147] from Operation: 76+71=147 Current State: 74:[83, 10, 147], Operations: ['76+71=147'] Exploring Operation: 83-10=73, Resulting Numbers: [147, 73] Generated Node #3: [147, 73] from Operation: 83-10=73 Current State: 74:[147, 73], Operations: ['76+71=147', '83-10=73'] Exploring Operation: 147-73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[76, 71, 83, 10], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [76, 71, 73] Generated Node #0,0: 74:[76, 71, 73] Operation: 83-10=73 Exploring Operation: 71+10=81, Resulting Numbers: [76, 83, 81] Generated Node #0,1: 74:[76, 83, 81] Operation: 71+10=81 Exploring Operation: 83-76=7, Resulting Numbers: [71, 10, 7] Generated Node #0,2: 74:[71, 10, 7] Operation: 83-76=7 Exploring Operation: 76-71=5, Resulting Numbers: [83, 10, 5] Generated Node #0,3: 74:[83, 10, 5] Operation: 76-71=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[76, 71, 73], Operations: ['83-10=73'] Exploring Operation: 76-71=5, Resulting Numbers: [73, 5] Generated Node #0,0,0: 74:[73, 5] Operation: 76-71=5 Exploring Operation: 73-71=2, Resulting Numbers: [76, 2] Generated Node #0,0,1: 74:[76, 2] Operation: 73-71=2 Exploring Operation: 71+73=144, Resulting Numbers: [76, 144] Generated Node #0,0,2: 74:[76, 144] Operation: 71+73=144 Exploring Operation: 76-73=3, Resulting Numbers: [71, 3] Generated Node #0,0,3: 74:[71, 3] Operation: 76-73=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[76, 2], Operations: ['83-10=73', '73-71=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,74 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[76, 71, 83, 10], Operations: [] Exploring Operation: 83-10=73, Resulting Numbers: [76, 71, 73] Generated Node #0,0: 74:[76, 71, 73] Operation: 83-10=73 Moving to Node #0,0 Current State: 74:[76, 71, 73], Operations: ['83-10=73'] Exploring Operation: 73-71=2, Resulting Numbers: [76, 2] Generated Node #0,0,1: 74:[76, 2] Operation: 73-71=2 Moving to Node #0,0,1 Current State: 74:[76, 2], Operations: ['83-10=73', '73-71=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 58, 85, 2, 99 ]
55
[ "58+85=143", "2*99=198", "198-143=55" ]
Current State: 55:[58, 85, 2, 99], Operations: [] Exploring Operation: 58+85=143, Resulting Numbers: [2, 99, 143] Generated Node #2: [2, 99, 143] from Operation: 58+85=143 Current State: 55:[2, 99, 143], Operations: ['58+85=143'] Exploring Operation: 2*99=198, Resulting Numbers: [143, 198] Generated Node #3: [143, 198] from Operation: 2*99=198 Current State: 55:[143, 198], Operations: ['58+85=143', '2*99=198'] Exploring Operation: 198-143=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[58, 85, 2, 99], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [85, 2, 41] Generated Node #0,0: 55:[85, 2, 41] Operation: 99-58=41 Exploring Operation: 99-85=14, Resulting Numbers: [58, 2, 14] Generated Node #0,1: 55:[58, 2, 14] Operation: 99-85=14 Moving to Node #0,1 Current State: 55:[58, 2, 14], Operations: ['99-85=14'] Exploring Operation: 14-2=12, Resulting Numbers: [58, 12] Generated Node #0,1,0: 55:[58, 12] Operation: 14-2=12 Exploring Operation: 58-2=56, Resulting Numbers: [14, 56] Generated Node #0,1,1: 55:[14, 56] Operation: 58-2=56 Moving to Node #0,0 Current State: 55:[85, 2, 41], Operations: ['99-58=41'] Exploring Operation: 85-2=83, Resulting Numbers: [41, 83] Generated Node #0,0,0: 55:[41, 83] Operation: 85-2=83 Exploring Operation: 85-41=44, Resulting Numbers: [2, 44] Generated Node #0,0,1: 55:[2, 44] Operation: 85-41=44 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 55:[2, 44], Operations: ['99-58=41', '85-41=44'] Exploring Operation: 2+44=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[41, 83], Operations: ['99-58=41', '85-2=83'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 55:[58, 12], Operations: ['99-85=14', '14-2=12'] Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[14, 56], Operations: ['99-85=14', '58-2=56'] Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,55 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,55 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 40, 64, 21, 41 ]
20
[ "64-21=43", "43-41=2", "40/2=20" ]
Current State: 20:[40, 64, 21, 41], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [40, 41, 43] Generated Node #2: [40, 41, 43] from Operation: 64-21=43 Current State: 20:[40, 41, 43], Operations: ['64-21=43'] Exploring Operation: 43-41=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 43-41=2 Current State: 20:[40, 2], Operations: ['64-21=43', '43-41=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[40, 64, 21, 41], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [64, 21, 1] Generated Node #0,0: 20:[64, 21, 1] Operation: 41-40=1 Exploring Operation: 64-41=23, Resulting Numbers: [40, 21, 23] Generated Node #0,1: 20:[40, 21, 23] Operation: 64-41=23 Exploring Operation: 64-40=24, Resulting Numbers: [21, 41, 24] Generated Node #0,2: 20:[21, 41, 24] Operation: 64-40=24 Exploring Operation: 64-21=43, Resulting Numbers: [40, 41, 43] Generated Node #0,3: 20:[40, 41, 43] Operation: 64-21=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[40, 21, 23], Operations: ['64-41=23'] Exploring Operation: 40-23=17, Resulting Numbers: [21, 17] Generated Node #0,1,0: 20:[21, 17] Operation: 40-23=17 Exploring Operation: 40+21=61, Resulting Numbers: [23, 61] Generated Node #0,1,1: 20:[23, 61] Operation: 40+21=61 Exploring Operation: 23-21=2, Resulting Numbers: [40, 2] Generated Node #0,1,2: 20:[40, 2] Operation: 23-21=2 Exploring Operation: 40-21=19, Resulting Numbers: [23, 19] Generated Node #0,1,3: 20:[23, 19] Operation: 40-21=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[21, 17], Operations: ['64-41=23', '40-23=17'] Exploring Operation: 21+17=38, Resulting Numbers: [38] 38,20 unequal: No Solution Exploring Operation: 21*17=357, Resulting Numbers: [357] 357,20 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,20 unequal: No Solution No 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: 20:[23, 19], Operations: ['64-41=23', '40-21=19'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,20 unequal: No Solution No 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: 20:[40, 2], Operations: ['64-41=23', '23-21=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[40, 64, 21, 41], Operations: [] Exploring Operation: 64-41=23, Resulting Numbers: [40, 21, 23] Generated Node #0,1: 20:[40, 21, 23] Operation: 64-41=23 Moving to Node #0,1 Current State: 20:[40, 21, 23], Operations: ['64-41=23'] Exploring Operation: 23-21=2, Resulting Numbers: [40, 2] Generated Node #0,1,2: 20:[40, 2] Operation: 23-21=2 Moving to Node #0,1,2 Current State: 20:[40, 2], Operations: ['64-41=23', '23-21=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 13, 1, 29, 93 ]
52
[ "13-1=12", "93-29=64", "64-12=52" ]
Current State: 52:[13, 1, 29, 93], Operations: [] Exploring Operation: 13-1=12, Resulting Numbers: [29, 93, 12] Generated Node #2: [29, 93, 12] from Operation: 13-1=12 Current State: 52:[29, 93, 12], Operations: ['13-1=12'] Exploring Operation: 93-29=64, Resulting Numbers: [12, 64] Generated Node #3: [12, 64] from Operation: 93-29=64 Current State: 52:[12, 64], Operations: ['13-1=12', '93-29=64'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[13, 1, 29, 93], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [13, 1, 64] Generated Node #0,0: 52:[13, 1, 64] Operation: 93-29=64 Moving to Node #0,0 Current State: 52:[13, 1, 64], Operations: ['93-29=64'] Exploring Operation: 64-13=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 52:[1, 51] Operation: 64-13=51 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[1, 51], Operations: ['93-29=64', '64-13=51'] Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[13, 1, 29, 93], Operations: [] Exploring Operation: 93-29=64, Resulting Numbers: [13, 1, 64] Generated Node #0,0: 52:[13, 1, 64] Operation: 93-29=64 Moving to Node #0,0 Current State: 52:[13, 1, 64], Operations: ['93-29=64'] Exploring Operation: 64-13=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 52:[1, 51] Operation: 64-13=51 Moving to Node #0,0,0 Current State: 52:[1, 51], Operations: ['93-29=64', '64-13=51'] Exploring Operation: 1+51=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 8, 24, 4, 66 ]
84
[ "8/4=2", "66-24=42", "2*42=84" ]
Current State: 84:[8, 24, 4, 66], Operations: [] Exploring Operation: 8/4=2, Resulting Numbers: [24, 66, 2] Generated Node #2: [24, 66, 2] from Operation: 8/4=2 Current State: 84:[24, 66, 2], Operations: ['8/4=2'] Exploring Operation: 66-24=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 66-24=42 Current State: 84:[2, 42], Operations: ['8/4=2', '66-24=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[8, 24, 4, 66], Operations: [] Exploring Operation: 8+66=74, Resulting Numbers: [24, 4, 74] Generated Node #0,0: 84:[24, 4, 74] Operation: 8+66=74 Exploring Operation: 4+66=70, Resulting Numbers: [8, 24, 70] Generated Node #0,1: 84:[8, 24, 70] Operation: 4+66=70 Exploring Operation: 66-24=42, Resulting Numbers: [8, 4, 42] Generated Node #0,2: 84:[8, 4, 42] Operation: 66-24=42 Exploring Operation: 24/8=3, Resulting Numbers: [4, 66, 3] Generated Node #0,3: 84:[4, 66, 3] Operation: 24/8=3 Exploring Operation: 24+66=90, Resulting Numbers: [8, 4, 90] Generated Node #0,4: 84:[8, 4, 90] Operation: 24+66=90 Moving to Node #0,2 Current State: 84:[8, 4, 42], Operations: ['66-24=42'] Exploring Operation: 4+42=46, Resulting Numbers: [8, 46] Generated Node #0,2,0: 84:[8, 46] Operation: 4+42=46 Exploring Operation: 8+4=12, Resulting Numbers: [42, 12] Generated Node #0,2,1: 84:[42, 12] Operation: 8+4=12 Exploring Operation: 8-4=4, Resulting Numbers: [42, 4] Generated Node #0,2,2: 84:[42, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [42, 2] Generated Node #0,2,3: 84:[42, 2] Operation: 8/4=2 Exploring Operation: 8*4=32, Resulting Numbers: [42, 32] Generated Node #0,2,4: 84:[42, 32] Operation: 8*4=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[42, 12], Operations: ['66-24=42', '8+4=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,84 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,84 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[42, 4], Operations: ['66-24=42', '8-4=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,84 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,84 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 84:[42, 2], Operations: ['66-24=42', '8/4=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[8, 24, 4, 66], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [8, 4, 42] Generated Node #0,2: 84:[8, 4, 42] Operation: 66-24=42 Moving to Node #0,2 Current State: 84:[8, 4, 42], Operations: ['66-24=42'] Exploring Operation: 8/4=2, Resulting Numbers: [42, 2] Generated Node #0,2,3: 84:[42, 2] Operation: 8/4=2 Moving to Node #0,2,3 Current State: 84:[42, 2], Operations: ['66-24=42', '8/4=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 85, 5, 75, 88 ]
86
[ "85-75=10", "10/5=2", "88-2=86" ]
Current State: 86:[85, 5, 75, 88], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [5, 88, 10] Generated Node #2: [5, 88, 10] from Operation: 85-75=10 Current State: 86:[5, 88, 10], Operations: ['85-75=10'] Exploring Operation: 10/5=2, Resulting Numbers: [88, 2] Generated Node #3: [88, 2] from Operation: 10/5=2 Current State: 86:[88, 2], Operations: ['85-75=10', '10/5=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[85, 5, 75, 88], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [5, 75, 3] Generated Node #0,0: 86:[5, 75, 3] Operation: 88-85=3 Exploring Operation: 88-5=83, Resulting Numbers: [85, 75, 83] Generated Node #0,1: 86:[85, 75, 83] Operation: 88-5=83 Exploring Operation: 85-75=10, Resulting Numbers: [5, 88, 10] Generated Node #0,2: 86:[5, 88, 10] Operation: 85-75=10 Exploring Operation: 5+75=80, Resulting Numbers: [85, 88, 80] Generated Node #0,3: 86:[85, 88, 80] Operation: 5+75=80 Moving to Node #0,3 Current State: 86:[85, 88, 80], Operations: ['5+75=80'] Exploring Operation: 85+80=165, Resulting Numbers: [88, 165] Generated Node #0,3,0: 86:[88, 165] Operation: 85+80=165 Exploring Operation: 85-80=5, Resulting Numbers: [88, 5] Generated Node #0,3,1: 86:[88, 5] Operation: 85-80=5 Exploring Operation: 88-85=3, Resulting Numbers: [80, 3] Generated Node #0,3,2: 86:[80, 3] Operation: 88-85=3 Exploring Operation: 88-80=8, Resulting Numbers: [85, 8] Generated Node #0,3,3: 86:[85, 8] Operation: 88-80=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[88, 5], Operations: ['5+75=80', '85-80=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,86 unequal: No Solution Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[80, 3], Operations: ['5+75=80', '88-85=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,86 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[85, 8], Operations: ['5+75=80', '88-80=8'] Exploring Operation: 85+8=93, Resulting Numbers: [93] 93,86 unequal: No Solution Exploring Operation: 85*8=680, Resulting Numbers: [680] 680,86 unequal: No Solution Exploring Operation: 85-8=77, Resulting Numbers: [77] 77,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[88, 165], Operations: ['5+75=80', '85+80=165'] Exploring Operation: 165-88=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 88+165=253, Resulting Numbers: [253] 253,86 unequal: No Solution Exploring Operation: 88*165=14520, Resulting Numbers: [14520] 14520,86 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: 86:[5, 88, 10], Operations: ['85-75=10'] Exploring Operation: 5*10=50, Resulting Numbers: [88, 50] Generated Node #0,2,0: 86:[88, 50] Operation: 5*10=50 Exploring Operation: 10/5=2, Resulting Numbers: [88, 2] Generated Node #0,2,1: 86:[88, 2] Operation: 10/5=2 Exploring Operation: 88-5=83, Resulting Numbers: [10, 83] Generated Node #0,2,2: 86:[10, 83] Operation: 88-5=83 Exploring Operation: 10-5=5, Resulting Numbers: [88, 5] Generated Node #0,2,3: 86:[88, 5] Operation: 10-5=5 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 86:[88, 2], Operations: ['85-75=10', '10/5=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[85, 5, 75, 88], Operations: [] Exploring Operation: 85-75=10, Resulting Numbers: [5, 88, 10] Generated Node #0,2: 86:[5, 88, 10] Operation: 85-75=10 Moving to Node #0,2 Current State: 86:[5, 88, 10], Operations: ['85-75=10'] Exploring Operation: 10/5=2, Resulting Numbers: [88, 2] Generated Node #0,2,1: 86:[88, 2] Operation: 10/5=2 Moving to Node #0,2,1 Current State: 86:[88, 2], Operations: ['85-75=10', '10/5=2'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 49, 82, 64, 19 ]
12
[ "82-49=33", "64-19=45", "45-33=12" ]
Current State: 12:[49, 82, 64, 19], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [64, 19, 33] Generated Node #2: [64, 19, 33] from Operation: 82-49=33 Current State: 12:[64, 19, 33], Operations: ['82-49=33'] Exploring Operation: 64-19=45, Resulting Numbers: [33, 45] Generated Node #3: [33, 45] from Operation: 64-19=45 Current State: 12:[33, 45], Operations: ['82-49=33', '64-19=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[49, 82, 64, 19], Operations: [] Exploring Operation: 82-64=18, Resulting Numbers: [49, 19, 18] Generated Node #0,0: 12:[49, 19, 18] Operation: 82-64=18 Exploring Operation: 82-49=33, Resulting Numbers: [64, 19, 33] Generated Node #0,1: 12:[64, 19, 33] Operation: 82-49=33 Exploring Operation: 82-19=63, Resulting Numbers: [49, 64, 63] Generated Node #0,2: 12:[49, 64, 63] Operation: 82-19=63 Exploring Operation: 49-19=30, Resulting Numbers: [82, 64, 30] Generated Node #0,3: 12:[82, 64, 30] Operation: 49-19=30 Exploring Operation: 64-49=15, Resulting Numbers: [82, 19, 15] Generated Node #0,4: 12:[82, 19, 15] Operation: 64-49=15 Moving to Node #0,0 Current State: 12:[49, 19, 18], Operations: ['82-64=18'] Exploring Operation: 49-19=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 12:[18, 30] Operation: 49-19=30 Exploring Operation: 19-18=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 12:[49, 1] Operation: 19-18=1 Exploring Operation: 49+18=67, Resulting Numbers: [19, 67] Generated Node #0,0,2: 12:[19, 67] Operation: 49+18=67 Exploring Operation: 49-18=31, Resulting Numbers: [19, 31] Generated Node #0,0,3: 12:[19, 31] Operation: 49-18=31 Exploring Operation: 49+19=68, Resulting Numbers: [18, 68] Generated Node #0,0,4: 12:[18, 68] Operation: 49+19=68 Moving to Node #0,4 Current State: 12:[82, 19, 15], Operations: ['64-49=15'] Exploring Operation: 82+19=101, Resulting Numbers: [15, 101] Generated Node #0,4,0: 12:[15, 101] Operation: 82+19=101 Exploring Operation: 19-15=4, Resulting Numbers: [82, 4] Generated Node #0,4,1: 12:[82, 4] Operation: 19-15=4 Exploring Operation: 82-19=63, Resulting Numbers: [15, 63] Generated Node #0,4,2: 12:[15, 63] Operation: 82-19=63 Exploring Operation: 82+15=97, Resulting Numbers: [19, 97] Generated Node #0,4,3: 12:[19, 97] Operation: 82+15=97 Exploring Operation: 82-15=67, Resulting Numbers: [19, 67] Generated Node #0,4,4: 12:[19, 67] Operation: 82-15=67 Moving to Node #0,1 Current State: 12:[64, 19, 33], Operations: ['82-49=33'] Exploring Operation: 33-19=14, Resulting Numbers: [64, 14] Generated Node #0,1,0: 12:[64, 14] Operation: 33-19=14 Exploring Operation: 64-33=31, Resulting Numbers: [19, 31] Generated Node #0,1,1: 12:[19, 31] Operation: 64-33=31 Exploring Operation: 64+19=83, Resulting Numbers: [33, 83] Generated Node #0,1,2: 12:[33, 83] Operation: 64+19=83 Exploring Operation: 64-19=45, Resulting Numbers: [33, 45] Generated Node #0,1,3: 12:[33, 45] Operation: 64-19=45 Exploring Operation: 64+33=97, Resulting Numbers: [19, 97] Generated Node #0,1,4: 12:[19, 97] Operation: 64+33=97 Moving to Node #0,2 Current State: 12:[49, 64, 63], Operations: ['82-19=63'] Exploring Operation: 63-49=14, Resulting Numbers: [64, 14] Generated Node #0,2,0: 12:[64, 14] Operation: 63-49=14 Exploring Operation: 64-49=15, Resulting Numbers: [63, 15] Generated Node #0,2,1: 12:[63, 15] Operation: 64-49=15 Exploring Operation: 49+64=113, Resulting Numbers: [63, 113] Generated Node #0,2,2: 12:[63, 113] Operation: 49+64=113 Exploring Operation: 64-63=1, Resulting Numbers: [49, 1] Generated Node #0,2,3: 12:[49, 1] Operation: 64-63=1 Exploring Operation: 49+63=112, Resulting Numbers: [64, 112] Generated Node #0,2,4: 12:[64, 112] Operation: 49+63=112 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[49, 1], Operations: ['82-19=63', '64-63=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,12 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[64, 14], Operations: ['82-19=63', '63-49=14'] Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 64+14=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 64*14=896, Resulting Numbers: [896] 896,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[63, 15], Operations: ['82-19=63', '64-49=15'] Exploring Operation: 63-15=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 63*15=945, Resulting Numbers: [945] 945,12 unequal: No Solution Exploring Operation: 63+15=78, Resulting Numbers: [78] 78,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[63, 113], Operations: ['82-19=63', '49+64=113'] Exploring Operation: 113-63=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 63+113=176, Resulting Numbers: [176] 176,12 unequal: No Solution Exploring Operation: 63*113=7119, Resulting Numbers: [7119] 7119,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[64, 112], Operations: ['82-19=63', '49+63=112'] Exploring Operation: 64+112=176, Resulting Numbers: [176] 176,12 unequal: No Solution Exploring Operation: 112-64=48, Resulting Numbers: [48] 48,12 unequal: No Solution Exploring Operation: 64*112=7168, Resulting Numbers: [7168] 7168,12 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: 12:[82, 64, 30], Operations: ['49-19=30'] Exploring Operation: 82+64=146, Resulting Numbers: [30, 146] Generated Node #0,3,0: 12:[30, 146] Operation: 82+64=146 Exploring Operation: 82-64=18, Resulting Numbers: [30, 18] Generated Node #0,3,1: 12:[30, 18] Operation: 82-64=18 Exploring Operation: 82-30=52, Resulting Numbers: [64, 52] Generated Node #0,3,2: 12:[64, 52] Operation: 82-30=52 Exploring Operation: 64-30=34, Resulting Numbers: [82, 34] Generated Node #0,3,3: 12:[82, 34] Operation: 64-30=34 Exploring Operation: 82+30=112, Resulting Numbers: [64, 112] Generated Node #0,3,4: 12:[64, 112] Operation: 82+30=112 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[30, 18], Operations: ['49-19=30', '82-64=18'] Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,12 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[49, 82, 64, 19], Operations: [] Exploring Operation: 49-19=30, Resulting Numbers: [82, 64, 30] Generated Node #0,3: 12:[82, 64, 30] Operation: 49-19=30 Moving to Node #0,3 Current State: 12:[82, 64, 30], Operations: ['49-19=30'] Exploring Operation: 82-64=18, Resulting Numbers: [30, 18] Generated Node #0,3,1: 12:[30, 18] Operation: 82-64=18 Moving to Node #0,3,1 Current State: 12:[30, 18], Operations: ['49-19=30', '82-64=18'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
mult_heuristic
[ 24, 90, 3, 1 ]
82
[ "24/3=8", "90*1=90", "90-8=82" ]
Current State: 82:[24, 90, 3, 1], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [90, 1, 8] Generated Node #2: [90, 1, 8] from Operation: 24/3=8 Current State: 82:[90, 1, 8], Operations: ['24/3=8'] Exploring Operation: 90*1=90, Resulting Numbers: [8, 90] Generated Node #3: [8, 90] from Operation: 90*1=90 Current State: 82:[8, 90], Operations: ['24/3=8', '90*1=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[24, 90, 3, 1], Operations: [] Exploring Operation: 90-24=66, Resulting Numbers: [3, 1, 66] Generated Node #0,0: 82:[3, 1, 66] Operation: 90-24=66 Exploring Operation: 24/3=8, Resulting Numbers: [90, 1, 8] Generated Node #0,1: 82:[90, 1, 8] Operation: 24/3=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[90, 1, 8], Operations: ['24/3=8'] Exploring Operation: 90-1=89, Resulting Numbers: [8, 89] Generated Node #0,1,0: 82:[8, 89] Operation: 90-1=89 Exploring Operation: 90-8=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 90-8=82 Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['24/3=8', '90-8=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[24, 90, 3, 1], Operations: [] Exploring Operation: 24/3=8, Resulting Numbers: [90, 1, 8] Generated Node #0,1: 82:[90, 1, 8] Operation: 24/3=8 Moving to Node #0,1 Current State: 82:[90, 1, 8], Operations: ['24/3=8'] Exploring Operation: 90-8=82, Resulting Numbers: [1, 82] Generated Node #0,1,1: 82:[1, 82] Operation: 90-8=82 Moving to Node #0,1,1 Current State: 82:[1, 82], Operations: ['24/3=8', '90-8=82'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 81, 8, 95, 9 ]
54
[ "81+8=89", "95-89=6", "9*6=54" ]
Current State: 54:[81, 8, 95, 9], Operations: [] Exploring Operation: 81+8=89, Resulting Numbers: [95, 9, 89] Generated Node #2: [95, 9, 89] from Operation: 81+8=89 Current State: 54:[95, 9, 89], Operations: ['81+8=89'] Exploring Operation: 95-89=6, Resulting Numbers: [9, 6] Generated Node #3: [9, 6] from Operation: 95-89=6 Current State: 54:[9, 6], Operations: ['81+8=89', '95-89=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[81, 8, 95, 9], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [8, 9, 14] Generated Node #0,0: 54:[8, 9, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 54:[8, 9, 14], Operations: ['95-81=14'] Exploring Operation: 14-8=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 54:[9, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[9, 6], Operations: ['95-81=14', '14-8=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[81, 8, 95, 9], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [8, 9, 14] Generated Node #0,0: 54:[8, 9, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 54:[8, 9, 14], Operations: ['95-81=14'] Exploring Operation: 14-8=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 54:[9, 6] Operation: 14-8=6 Moving to Node #0,0,0 Current State: 54:[9, 6], Operations: ['95-81=14', '14-8=6'] Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 98, 83, 66, 14 ]
24
[ "98/14=7", "83-66=17", "7+17=24" ]
Current State: 24:[98, 83, 66, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [83, 66, 7] Generated Node #2: [83, 66, 7] from Operation: 98/14=7 Current State: 24:[83, 66, 7], Operations: ['98/14=7'] Exploring Operation: 83-66=17, Resulting Numbers: [7, 17] Generated Node #3: [7, 17] from Operation: 83-66=17 Current State: 24:[7, 17], Operations: ['98/14=7', '83-66=17'] Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[98, 83, 66, 14], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [98, 14, 17] Generated Node #0,0: 24:[98, 14, 17] Operation: 83-66=17 Exploring Operation: 98-83=15, Resulting Numbers: [66, 14, 15] Generated Node #0,1: 24:[66, 14, 15] Operation: 98-83=15 Exploring Operation: 98-66=32, Resulting Numbers: [83, 14, 32] Generated Node #0,2: 24:[83, 14, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[66, 14, 15], Operations: ['98-83=15'] Exploring Operation: 15-14=1, Resulting Numbers: [66, 1] Generated Node #0,1,0: 24:[66, 1] Operation: 15-14=1 Exploring Operation: 66-15=51, Resulting Numbers: [14, 51] Generated Node #0,1,1: 24:[14, 51] Operation: 66-15=51 Exploring Operation: 66-14=52, Resulting Numbers: [15, 52] Generated Node #0,1,2: 24:[15, 52] Operation: 66-14=52 Moving to Node #0,1,1 Current State: 24:[14, 51], Operations: ['98-83=15', '66-15=51'] Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[15, 52], Operations: ['98-83=15', '66-14=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,24 unequal: No Solution Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[66, 1], Operations: ['98-83=15', '15-14=1'] Exploring Operation: 66/1=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 66*1=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[83, 14, 32], Operations: ['98-66=32'] Exploring Operation: 32-14=18, Resulting Numbers: [83, 18] Generated Node #0,2,0: 24:[83, 18] Operation: 32-14=18 Exploring Operation: 83-14=69, Resulting Numbers: [32, 69] Generated Node #0,2,1: 24:[32, 69] Operation: 83-14=69 Exploring Operation: 83-32=51, Resulting Numbers: [14, 51] Generated Node #0,2,2: 24:[14, 51] Operation: 83-32=51 Moving to Node #0,2,2 Current State: 24:[14, 51], Operations: ['98-66=32', '83-32=51'] Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[32, 69], Operations: ['98-66=32', '83-14=69'] Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,24 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[83, 18], Operations: ['98-66=32', '32-14=18'] Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,24 unequal: No Solution Exploring Operation: 83+18=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 83*18=1494, Resulting Numbers: [1494] 1494,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:[98, 14, 17], Operations: ['83-66=17'] Exploring Operation: 98-14=84, Resulting Numbers: [17, 84] Generated Node #0,0,0: 24:[17, 84] Operation: 98-14=84 Exploring Operation: 98-17=81, Resulting Numbers: [14, 81] Generated Node #0,0,1: 24:[14, 81] Operation: 98-17=81 Exploring Operation: 98/14=7, Resulting Numbers: [17, 7] Generated Node #0,0,2: 24:[17, 7] Operation: 98/14=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 24:[17, 7], Operations: ['83-66=17', '98/14=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[98, 83, 66, 14], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [98, 14, 17] Generated Node #0,0: 24:[98, 14, 17] Operation: 83-66=17 Moving to Node #0,0 Current State: 24:[98, 14, 17], Operations: ['83-66=17'] Exploring Operation: 98/14=7, Resulting Numbers: [17, 7] Generated Node #0,0,2: 24:[17, 7] Operation: 98/14=7 Moving to Node #0,0,2 Current State: 24:[17, 7], Operations: ['83-66=17', '98/14=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 46, 13, 5, 27 ]
91
[ "46+13=59", "5+27=32", "59+32=91" ]
Current State: 91:[46, 13, 5, 27], Operations: [] Exploring Operation: 46+13=59, Resulting Numbers: [5, 27, 59] Generated Node #2: [5, 27, 59] from Operation: 46+13=59 Current State: 91:[5, 27, 59], Operations: ['46+13=59'] Exploring Operation: 5+27=32, Resulting Numbers: [59, 32] Generated Node #3: [59, 32] from Operation: 5+27=32 Current State: 91:[59, 32], Operations: ['46+13=59', '5+27=32'] Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[46, 13, 5, 27], Operations: [] Exploring Operation: 46-5=41, Resulting Numbers: [13, 27, 41] Generated Node #0,0: 91:[13, 27, 41] Operation: 46-5=41 Exploring Operation: 46-27=19, Resulting Numbers: [13, 5, 19] Generated Node #0,1: 91:[13, 5, 19] Operation: 46-27=19 Exploring Operation: 46-13=33, Resulting Numbers: [5, 27, 33] Generated Node #0,2: 91:[5, 27, 33] Operation: 46-13=33 Exploring Operation: 46+27=73, Resulting Numbers: [13, 5, 73] Generated Node #0,3: 91:[13, 5, 73] Operation: 46+27=73 Exploring Operation: 27-13=14, Resulting Numbers: [46, 5, 14] Generated Node #0,4: 91:[46, 5, 14] Operation: 27-13=14 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[13, 5, 19], Operations: ['46-27=19'] Exploring Operation: 5*19=95, Resulting Numbers: [13, 95] Generated Node #0,1,0: 91:[13, 95] Operation: 5*19=95 Exploring Operation: 19-5=14, Resulting Numbers: [13, 14] Generated Node #0,1,1: 91:[13, 14] Operation: 19-5=14 Exploring Operation: 13+5=18, Resulting Numbers: [19, 18] Generated Node #0,1,2: 91:[19, 18] Operation: 13+5=18 Exploring Operation: 13-5=8, Resulting Numbers: [19, 8] Generated Node #0,1,3: 91:[19, 8] Operation: 13-5=8 Exploring Operation: 19-13=6, Resulting Numbers: [5, 6] Generated Node #0,1,4: 91:[5, 6] Operation: 19-13=6 Moving to Node #0,1,1 Current State: 91:[13, 14], Operations: ['46-27=19', '19-5=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,91 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,91 unequal: No Solution Moving to Node #0,1,4 Current State: 91:[5, 6], Operations: ['46-27=19', '19-13=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,91 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[13, 95], Operations: ['46-27=19', '5*19=95'] Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,91 unequal: No Solution Exploring Operation: 13*95=1235, Resulting Numbers: [1235] 1235,91 unequal: No Solution Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,91 unequal: No Solution Moving to Node #0,1,3 Current State: 91:[19, 8], Operations: ['46-27=19', '13-5=8'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,91 unequal: No Solution Exploring Operation: 19+8=27, Resulting Numbers: [27] 27,91 unequal: No Solution Exploring Operation: 19*8=152, Resulting Numbers: [152] 152,91 unequal: No Solution Moving to Node #0,1,2 Current State: 91:[19, 18], Operations: ['46-27=19', '13+5=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,91 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[13, 5, 73], Operations: ['46+27=73'] Exploring Operation: 5+73=78, Resulting Numbers: [13, 78] Generated Node #0,3,0: 91:[13, 78] Operation: 5+73=78 Exploring Operation: 73-5=68, Resulting Numbers: [13, 68] Generated Node #0,3,1: 91:[13, 68] Operation: 73-5=68 Exploring Operation: 13+73=86, Resulting Numbers: [5, 86] Generated Node #0,3,2: 91:[5, 86] Operation: 13+73=86 Exploring Operation: 13-5=8, Resulting Numbers: [73, 8] Generated Node #0,3,3: 91:[73, 8] Operation: 13-5=8 Exploring Operation: 13+5=18, Resulting Numbers: [73, 18] Generated Node #0,3,4: 91:[73, 18] Operation: 13+5=18 Moving to Node #0,3,2 Current State: 91:[5, 86], Operations: ['46+27=73', '13+73=86'] Exploring Operation: 5*86=430, Resulting Numbers: [430] 430,91 unequal: No Solution Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[46, 13, 5, 27], Operations: [] Exploring Operation: 46+27=73, Resulting Numbers: [13, 5, 73] Generated Node #0,3: 91:[13, 5, 73] Operation: 46+27=73 Moving to Node #0,3 Current State: 91:[13, 5, 73], Operations: ['46+27=73'] Exploring Operation: 13+73=86, Resulting Numbers: [5, 86] Generated Node #0,3,2: 91:[5, 86] Operation: 13+73=86 Moving to Node #0,3,2 Current State: 91:[5, 86], Operations: ['46+27=73', '13+73=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 82, 77, 72, 38 ]
36
[ "82+72=154", "154/77=2", "38-2=36" ]
Current State: 36:[82, 77, 72, 38], Operations: [] Exploring Operation: 82+72=154, Resulting Numbers: [77, 38, 154] Generated Node #2: [77, 38, 154] from Operation: 82+72=154 Current State: 36:[77, 38, 154], Operations: ['82+72=154'] Exploring Operation: 154/77=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 154/77=2 Current State: 36:[38, 2], Operations: ['82+72=154', '154/77=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[82, 77, 72, 38], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [72, 38, 5] Generated Node #0,0: 36:[72, 38, 5] Operation: 82-77=5 Moving to Node #0,0 Current State: 36:[72, 38, 5], Operations: ['82-77=5'] Exploring Operation: 72-38=34, Resulting Numbers: [5, 34] Generated Node #0,0,0: 36:[5, 34] Operation: 72-38=34 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[5, 34], Operations: ['82-77=5', '72-38=34'] Exploring Operation: 5+34=39, Resulting Numbers: [39] 39,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 2, 28, 29 ]
11
[ "6*2=12", "29-28=1", "12-1=11" ]
Current State: 11:[6, 2, 28, 29], Operations: [] Exploring Operation: 6*2=12, Resulting Numbers: [28, 29, 12] Generated Node #2: [28, 29, 12] from Operation: 6*2=12 Current State: 11:[28, 29, 12], Operations: ['6*2=12'] Exploring Operation: 29-28=1, Resulting Numbers: [12, 1] Generated Node #3: [12, 1] from Operation: 29-28=1 Current State: 11:[12, 1], Operations: ['6*2=12', '29-28=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[6, 2, 28, 29], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [6, 2, 1] Generated Node #0,0: 11:[6, 2, 1] Operation: 29-28=1 Moving to Node #0,0 Current State: 11:[6, 2, 1], Operations: ['29-28=1'] Exploring Operation: 6*2=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 11:[1, 12] Operation: 6*2=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[1, 12], Operations: ['29-28=1', '6*2=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[6, 2, 28, 29], Operations: [] Exploring Operation: 29-28=1, Resulting Numbers: [6, 2, 1] Generated Node #0,0: 11:[6, 2, 1] Operation: 29-28=1 Moving to Node #0,0 Current State: 11:[6, 2, 1], Operations: ['29-28=1'] Exploring Operation: 6*2=12, Resulting Numbers: [1, 12] Generated Node #0,0,0: 11:[1, 12] Operation: 6*2=12 Moving to Node #0,0,0 Current State: 11:[1, 12], Operations: ['29-28=1', '6*2=12'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 70, 12, 24, 26 ]
64
[ "26-24=2", "12/2=6", "70-6=64" ]
Current State: 64:[70, 12, 24, 26], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [70, 12, 2] Generated Node #2: [70, 12, 2] from Operation: 26-24=2 Current State: 64:[70, 12, 2], Operations: ['26-24=2'] Exploring Operation: 12/2=6, Resulting Numbers: [70, 6] Generated Node #3: [70, 6] from Operation: 12/2=6 Current State: 64:[70, 6], Operations: ['26-24=2', '12/2=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[70, 12, 24, 26], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [70, 12, 2] Generated Node #0,0: 64:[70, 12, 2] Operation: 26-24=2 Moving to Node #0,0 Current State: 64:[70, 12, 2], Operations: ['26-24=2'] Exploring Operation: 70-12=58, Resulting Numbers: [2, 58] Generated Node #0,0,0: 64:[2, 58] Operation: 70-12=58 Moving to Node #0,0,0 Current State: 64:[2, 58], Operations: ['26-24=2', '70-12=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,64 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 5, 89, 88, 26 ]
30
[ "89-5=84", "88+26=114", "114-84=30" ]
Current State: 30:[5, 89, 88, 26], Operations: [] Exploring Operation: 89-5=84, Resulting Numbers: [88, 26, 84] Generated Node #2: [88, 26, 84] from Operation: 89-5=84 Current State: 30:[88, 26, 84], Operations: ['89-5=84'] Exploring Operation: 88+26=114, Resulting Numbers: [84, 114] Generated Node #3: [84, 114] from Operation: 88+26=114 Current State: 30:[84, 114], Operations: ['89-5=84', '88+26=114'] Exploring Operation: 114-84=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[5, 89, 88, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [5, 88, 63] Generated Node #0,0: 30:[5, 88, 63] Operation: 89-26=63 Exploring Operation: 89-88=1, Resulting Numbers: [5, 26, 1] Generated Node #0,1: 30:[5, 26, 1] Operation: 89-88=1 Exploring Operation: 88-26=62, Resulting Numbers: [5, 89, 62] Generated Node #0,2: 30:[5, 89, 62] Operation: 88-26=62 Moving to Node #0,1 Current State: 30:[5, 26, 1], Operations: ['89-88=1'] Exploring Operation: 5+26=31, Resulting Numbers: [1, 31] Generated Node #0,1,0: 30:[1, 31] Operation: 5+26=31 Exploring Operation: 5+1=6, Resulting Numbers: [26, 6] Generated Node #0,1,1: 30:[26, 6] Operation: 5+1=6 Exploring Operation: 26+1=27, Resulting Numbers: [5, 27] Generated Node #0,1,2: 30:[5, 27] Operation: 26+1=27 Moving to Node #0,0 Current State: 30:[5, 88, 63], Operations: ['89-26=63'] Exploring Operation: 88-5=83, Resulting Numbers: [63, 83] Generated Node #0,0,0: 30:[63, 83] Operation: 88-5=83 Exploring Operation: 63-5=58, Resulting Numbers: [88, 58] Generated Node #0,0,1: 30:[88, 58] Operation: 63-5=58 Exploring Operation: 88-63=25, Resulting Numbers: [5, 25] Generated Node #0,0,2: 30:[5, 25] Operation: 88-63=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 30:[5, 25], Operations: ['89-26=63', '88-63=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,30 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[5, 89, 88, 26], Operations: [] Exploring Operation: 89-26=63, Resulting Numbers: [5, 88, 63] Generated Node #0,0: 30:[5, 88, 63] Operation: 89-26=63 Moving to Node #0,0 Current State: 30:[5, 88, 63], Operations: ['89-26=63'] Exploring Operation: 88-63=25, Resulting Numbers: [5, 25] Generated Node #0,0,2: 30:[5, 25] Operation: 88-63=25 Moving to Node #0,0,2 Current State: 30:[5, 25], Operations: ['89-26=63', '88-63=25'] Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 70, 59, 56, 2 ]
32
[ "70/2=35", "59-56=3", "35-3=32" ]
Current State: 32:[70, 59, 56, 2], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [59, 56, 35] Generated Node #2: [59, 56, 35] from Operation: 70/2=35 Current State: 32:[59, 56, 35], Operations: ['70/2=35'] Exploring Operation: 59-56=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 59-56=3 Current State: 32:[35, 3], Operations: ['70/2=35', '59-56=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[70, 59, 56, 2], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [56, 2, 11] Generated Node #0,0: 32:[56, 2, 11] Operation: 70-59=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[56, 2, 11], Operations: ['70-59=11'] Exploring Operation: 56/2=28, Resulting Numbers: [11, 28] Generated Node #0,0,0: 32:[11, 28] Operation: 56/2=28 Moving to Node #0,0,0 Current State: 32:[11, 28], Operations: ['70-59=11', '56/2=28'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,32 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
[ 24, 79, 26, 79 ]
51
[ "24+26=50", "79/79=1", "50+1=51" ]
Current State: 51:[24, 79, 26, 79], Operations: [] Exploring Operation: 24+26=50, Resulting Numbers: [79, 79, 50] Generated Node #2: [79, 79, 50] from Operation: 24+26=50 Current State: 51:[79, 79, 50], Operations: ['24+26=50'] Exploring Operation: 79/79=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 79/79=1 Current State: 51:[50, 1], Operations: ['24+26=50', '79/79=1'] Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[24, 79, 26, 79], Operations: [] Exploring Operation: 79/79=1, Resulting Numbers: [24, 26, 1] Generated Node #0,0: 51:[24, 26, 1] Operation: 79/79=1 Exploring Operation: 79-26=53, Resulting Numbers: [24, 79, 53] Generated Node #0,1: 51:[24, 79, 53] Operation: 79-26=53 Exploring Operation: 79-26=53, Resulting Numbers: [24, 79, 53] Generated Node #0,2: 51:[24, 79, 53] Operation: 79-26=53 Exploring Operation: 79-79=0, Resulting Numbers: [24, 26, 0] Generated Node #0,3: 51:[24, 26, 0] Operation: 79-79=0 Moving to Node #0,0 Current State: 51:[24, 26, 1], Operations: ['79/79=1'] Exploring Operation: 24+26=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 51:[1, 50] Operation: 24+26=50 Exploring Operation: 26-1=25, Resulting Numbers: [24, 25] Generated Node #0,0,1: 51:[24, 25] Operation: 26-1=25 Exploring Operation: 26-24=2, Resulting Numbers: [1, 2] Generated Node #0,0,2: 51:[1, 2] Operation: 26-24=2 Exploring Operation: 24-1=23, Resulting Numbers: [26, 23] Generated Node #0,0,3: 51:[26, 23] Operation: 24-1=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[1, 50], Operations: ['79/79=1', '24+26=50'] Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[24, 79, 26, 79], Operations: [] Exploring Operation: 79/79=1, Resulting Numbers: [24, 26, 1] Generated Node #0,0: 51:[24, 26, 1] Operation: 79/79=1 Moving to Node #0,0 Current State: 51:[24, 26, 1], Operations: ['79/79=1'] Exploring Operation: 24+26=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 51:[1, 50] Operation: 24+26=50 Moving to Node #0,0,0 Current State: 51:[1, 50], Operations: ['79/79=1', '24+26=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 55, 7, 96, 34 ]
99
[ "55-34=21", "21/7=3", "96+3=99" ]
Current State: 99:[55, 7, 96, 34], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [7, 96, 21] Generated Node #2: [7, 96, 21] from Operation: 55-34=21 Current State: 99:[7, 96, 21], Operations: ['55-34=21'] Exploring Operation: 21/7=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 21/7=3 Current State: 99:[96, 3], Operations: ['55-34=21', '21/7=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[55, 7, 96, 34], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [7, 34, 41] Generated Node #0,0: 99:[7, 34, 41] Operation: 96-55=41 Exploring Operation: 55-34=21, Resulting Numbers: [7, 96, 21] Generated Node #0,1: 99:[7, 96, 21] Operation: 55-34=21 Exploring Operation: 55-7=48, Resulting Numbers: [96, 34, 48] Generated Node #0,2: 99:[96, 34, 48] Operation: 55-7=48 Exploring Operation: 55+34=89, Resulting Numbers: [7, 96, 89] Generated Node #0,3: 99:[7, 96, 89] Operation: 55+34=89 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[7, 34, 41], Operations: ['96-55=41'] Exploring Operation: 34-7=27, Resulting Numbers: [41, 27] Generated Node #0,0,0: 99:[41, 27] Operation: 34-7=27 Exploring Operation: 41-7=34, Resulting Numbers: [34, 34] Generated Node #0,0,1: 99:[34, 34] Operation: 41-7=34 Exploring Operation: 41-34=7, Resulting Numbers: [7, 7] Generated Node #0,0,2: 99:[7, 7] Operation: 41-34=7 Exploring Operation: 7+34=41, Resulting Numbers: [41, 41] Generated Node #0,0,3: 99:[41, 41] Operation: 7+34=41 Moving to Node #0,0,1 Current State: 99:[34, 34], Operations: ['96-55=41', '41-7=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[7, 7], Operations: ['96-55=41', '41-34=7'] Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,99 unequal: No Solution Moving to Node #0,0,0 Current State: 99:[41, 27], Operations: ['96-55=41', '34-7=27'] Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,99 unequal: No Solution Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[41, 41], Operations: ['96-55=41', '7+34=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,99 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,99 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,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,1 Current State: 99:[7, 96, 21], Operations: ['55-34=21'] Exploring Operation: 21/7=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [96, 14] Generated Node #0,1,1: 99:[96, 14] Operation: 21-7=14 Exploring Operation: 7+96=103, Resulting Numbers: [21, 103] Generated Node #0,1,2: 99:[21, 103] Operation: 7+96=103 Exploring Operation: 7+21=28, Resulting Numbers: [96, 28] Generated Node #0,1,3: 99:[96, 28] Operation: 7+21=28 Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['55-34=21', '21/7=3'] Exploring Operation: 96*3=288, Resulting Numbers: [288] 288,99 unequal: No Solution Exploring Operation: 96-3=93, Resulting Numbers: [93] 93,99 unequal: No Solution Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[55, 7, 96, 34], Operations: [] Exploring Operation: 55-34=21, Resulting Numbers: [7, 96, 21] Generated Node #0,1: 99:[7, 96, 21] Operation: 55-34=21 Moving to Node #0,1 Current State: 99:[7, 96, 21], Operations: ['55-34=21'] Exploring Operation: 21/7=3, Resulting Numbers: [96, 3] Generated Node #0,1,0: 99:[96, 3] Operation: 21/7=3 Moving to Node #0,1,0 Current State: 99:[96, 3], Operations: ['55-34=21', '21/7=3'] Exploring Operation: 96+3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 71, 79, 68, 21 ]
97
[ "79-71=8", "68+21=89", "8+89=97" ]
Current State: 97:[71, 79, 68, 21], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [68, 21, 8] Generated Node #2: [68, 21, 8] from Operation: 79-71=8 Current State: 97:[68, 21, 8], Operations: ['79-71=8'] Exploring Operation: 68+21=89, Resulting Numbers: [8, 89] Generated Node #3: [8, 89] from Operation: 68+21=89 Current State: 97:[8, 89], Operations: ['79-71=8', '68+21=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 79, 68, 21], Operations: [] Exploring Operation: 79+21=100, Resulting Numbers: [71, 68, 100] Generated Node #0,0: 97:[71, 68, 100] Operation: 79+21=100 Exploring Operation: 68+21=89, Resulting Numbers: [71, 79, 89] Generated Node #0,1: 97:[71, 79, 89] Operation: 68+21=89 Exploring Operation: 71+21=92, Resulting Numbers: [79, 68, 92] Generated Node #0,2: 97:[79, 68, 92] Operation: 71+21=92 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[71, 79, 89], Operations: ['68+21=89'] Exploring Operation: 71+79=150, Resulting Numbers: [89, 150] Generated Node #0,1,0: 97:[89, 150] Operation: 71+79=150 Exploring Operation: 71+89=160, Resulting Numbers: [79, 160] Generated Node #0,1,1: 97:[79, 160] Operation: 71+89=160 Exploring Operation: 79-71=8, Resulting Numbers: [89, 8] Generated Node #0,1,2: 97:[89, 8] Operation: 79-71=8 Moving to Node #0,1,0 Current State: 97:[89, 150], Operations: ['68+21=89', '71+79=150'] Exploring Operation: 150-89=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 89*150=13350, Resulting Numbers: [13350] 13350,97 unequal: No Solution Exploring Operation: 89+150=239, Resulting Numbers: [239] 239,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[79, 160], Operations: ['68+21=89', '71+89=160'] Exploring Operation: 79+160=239, Resulting Numbers: [239] 239,97 unequal: No Solution Exploring Operation: 160-79=81, Resulting Numbers: [81] 81,97 unequal: No Solution Exploring Operation: 79*160=12640, Resulting Numbers: [12640] 12640,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[89, 8], Operations: ['68+21=89', '79-71=8'] Exploring Operation: 89*8=712, Resulting Numbers: [712] 712,97 unequal: No Solution Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[71, 79, 68, 21], Operations: [] Exploring Operation: 68+21=89, Resulting Numbers: [71, 79, 89] Generated Node #0,1: 97:[71, 79, 89] Operation: 68+21=89 Moving to Node #0,1 Current State: 97:[71, 79, 89], Operations: ['68+21=89'] Exploring Operation: 79-71=8, Resulting Numbers: [89, 8] Generated Node #0,1,2: 97:[89, 8] Operation: 79-71=8 Moving to Node #0,1,2 Current State: 97:[89, 8], Operations: ['68+21=89', '79-71=8'] Exploring Operation: 89+8=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 88, 22, 3, 82 ]
70
[ "88/22=4", "3*4=12", "82-12=70" ]
Current State: 70:[88, 22, 3, 82], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [3, 82, 4] Generated Node #2: [3, 82, 4] from Operation: 88/22=4 Current State: 70:[3, 82, 4], Operations: ['88/22=4'] Exploring Operation: 3*4=12, Resulting Numbers: [82, 12] Generated Node #3: [82, 12] from Operation: 3*4=12 Current State: 70:[82, 12], Operations: ['88/22=4', '3*4=12'] Exploring Operation: 82-12=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[88, 22, 3, 82], Operations: [] Exploring Operation: 88-82=6, Resulting Numbers: [22, 3, 6] Generated Node #0,0: 70:[22, 3, 6] Operation: 88-82=6 Exploring Operation: 88/22=4, Resulting Numbers: [3, 82, 4] Generated Node #0,1: 70:[3, 82, 4] Operation: 88/22=4 Exploring Operation: 88-22=66, Resulting Numbers: [3, 82, 66] Generated Node #0,2: 70:[3, 82, 66] Operation: 88-22=66 Exploring Operation: 82-22=60, Resulting Numbers: [88, 3, 60] Generated Node #0,3: 70:[88, 3, 60] Operation: 82-22=60 Moving to Node #0,0 Current State: 70:[22, 3, 6], Operations: ['88-82=6'] Exploring Operation: 22-6=16, Resulting Numbers: [3, 16] Generated Node #0,0,0: 70:[3, 16] Operation: 22-6=16 Exploring Operation: 22-3=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 70:[6, 19] Operation: 22-3=19 Exploring Operation: 22+6=28, Resulting Numbers: [3, 28] Generated Node #0,0,2: 70:[3, 28] Operation: 22+6=28 Exploring Operation: 22*3=66, Resulting Numbers: [6, 66] Generated Node #0,0,3: 70:[6, 66] Operation: 22*3=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[3, 16], Operations: ['88-82=6', '22-6=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 70:[6, 66], Operations: ['88-82=6', '22*3=66'] Exploring Operation: 6*66=396, Resulting Numbers: [396] 396,70 unequal: No Solution Exploring Operation: 6+66=72, Resulting Numbers: [72] 72,70 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,70 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[6, 19], Operations: ['88-82=6', '22-3=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,70 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[3, 28], Operations: ['88-82=6', '22+6=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 70:[3, 82, 4], Operations: ['88/22=4'] Exploring Operation: 3+4=7, Resulting Numbers: [82, 7] Generated Node #0,1,0: 70:[82, 7] Operation: 3+4=7 Exploring Operation: 4-3=1, Resulting Numbers: [82, 1] Generated Node #0,1,1: 70:[82, 1] Operation: 4-3=1 Exploring Operation: 82-4=78, Resulting Numbers: [3, 78] Generated Node #0,1,2: 70:[3, 78] Operation: 82-4=78 Exploring Operation: 82-3=79, Resulting Numbers: [4, 79] Generated Node #0,1,3: 70:[4, 79] Operation: 82-3=79 Moving to Node #0,2 Current State: 70:[3, 82, 66], Operations: ['88-22=66'] Exploring Operation: 82-66=16, Resulting Numbers: [3, 16] Generated Node #0,2,0: 70:[3, 16] Operation: 82-66=16 Exploring Operation: 3+82=85, Resulting Numbers: [66, 85] Generated Node #0,2,1: 70:[66, 85] Operation: 3+82=85 Exploring Operation: 3+66=69, Resulting Numbers: [82, 69] Generated Node #0,2,2: 70:[82, 69] Operation: 3+66=69 Exploring Operation: 82-3=79, Resulting Numbers: [66, 79] Generated Node #0,2,3: 70:[66, 79] Operation: 82-3=79 Moving to Node #0,3 Current State: 70:[88, 3, 60], Operations: ['82-22=60'] Exploring Operation: 3+60=63, Resulting Numbers: [88, 63] Generated Node #0,3,0: 70:[88, 63] Operation: 3+60=63 Exploring Operation: 60/3=20, Resulting Numbers: [88, 20] Generated Node #0,3,1: 70:[88, 20] Operation: 60/3=20 Exploring Operation: 88-3=85, Resulting Numbers: [60, 85] Generated Node #0,3,2: 70:[60, 85] Operation: 88-3=85 Exploring Operation: 88-60=28, Resulting Numbers: [3, 28] Generated Node #0,3,3: 70:[3, 28] Operation: 88-60=28 Moving to Node #0,2,0 Current State: 70:[3, 16], Operations: ['88-22=66', '82-66=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,70 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[3, 28], Operations: ['82-22=60', '88-60=28'] Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,70 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[3, 78], Operations: ['88/22=4', '82-4=78'] Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,70 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,70 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[4, 79], Operations: ['88/22=4', '82-3=79'] Exploring Operation: 4+79=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 4*79=316, Resulting Numbers: [316] 316,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[82, 7], Operations: ['88/22=4', '3+4=7'] Exploring Operation: 82-7=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 82*7=574, Resulting Numbers: [574] 574,70 unequal: No Solution Exploring Operation: 82+7=89, Resulting Numbers: [89] 89,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[66, 79], Operations: ['88-22=66', '82-3=79'] Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 66*79=5214, Resulting Numbers: [5214] 5214,70 unequal: No Solution Exploring Operation: 66+79=145, Resulting Numbers: [145] 145,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[82, 69], Operations: ['88-22=66', '3+66=69'] Exploring Operation: 82*69=5658, Resulting Numbers: [5658] 5658,70 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 82+69=151, Resulting Numbers: [151] 151,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[82, 1], Operations: ['88/22=4', '4-3=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,70 unequal: No Solution Exploring Operation: 82+1=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[66, 85], Operations: ['88-22=66', '3+82=85'] Exploring Operation: 66*85=5610, Resulting Numbers: [5610] 5610,70 unequal: No Solution Exploring Operation: 66+85=151, Resulting Numbers: [151] 151,70 unequal: No Solution Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[88, 20], Operations: ['82-22=60', '60/3=20'] Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,70 unequal: No Solution Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,70 unequal: No Solution Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[60, 85], Operations: ['82-22=60', '88-3=85'] Exploring Operation: 60*85=5100, Resulting Numbers: [5100] 5100,70 unequal: No Solution Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 60+85=145, Resulting Numbers: [145] 145,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[88, 63], Operations: ['82-22=60', '3+60=63'] Exploring Operation: 88*63=5544, Resulting Numbers: [5544] 5544,70 unequal: No Solution Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 88+63=151, Resulting Numbers: [151] 151,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 33, 66, 82, 54 ]
68
[ "66/33=2", "82+54=136", "136/2=68" ]
Current State: 68:[33, 66, 82, 54], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [82, 54, 2] Generated Node #2: [82, 54, 2] from Operation: 66/33=2 Current State: 68:[82, 54, 2], Operations: ['66/33=2'] Exploring Operation: 82+54=136, Resulting Numbers: [2, 136] Generated Node #3: [2, 136] from Operation: 82+54=136 Current State: 68:[2, 136], Operations: ['66/33=2', '82+54=136'] Exploring Operation: 136/2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[33, 66, 82, 54], Operations: [] Exploring Operation: 82-66=16, Resulting Numbers: [33, 54, 16] Generated Node #0,0: 68:[33, 54, 16] Operation: 82-66=16 Exploring Operation: 66-54=12, Resulting Numbers: [33, 82, 12] Generated Node #0,1: 68:[33, 82, 12] Operation: 66-54=12 Exploring Operation: 54-33=21, Resulting Numbers: [66, 82, 21] Generated Node #0,2: 68:[66, 82, 21] Operation: 54-33=21 Exploring Operation: 66/33=2, Resulting Numbers: [82, 54, 2] Generated Node #0,3: 68:[82, 54, 2] Operation: 66/33=2 Exploring Operation: 82-54=28, Resulting Numbers: [33, 66, 28] Generated Node #0,4: 68:[33, 66, 28] Operation: 82-54=28 Moving to Node #0,4 Current State: 68:[33, 66, 28], Operations: ['82-54=28'] Exploring Operation: 33+28=61, Resulting Numbers: [66, 61] Generated Node #0,4,0: 68:[66, 61] Operation: 33+28=61 Exploring Operation: 66-28=38, Resulting Numbers: [33, 38] Generated Node #0,4,1: 68:[33, 38] Operation: 66-28=38 Exploring Operation: 66-33=33, Resulting Numbers: [28, 33] Generated Node #0,4,2: 68:[28, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [28, 2] Generated Node #0,4,3: 68:[28, 2] Operation: 66/33=2 Exploring Operation: 33-28=5, Resulting Numbers: [66, 5] Generated Node #0,4,4: 68:[66, 5] Operation: 33-28=5 Moving to Node #0,0 Current State: 68:[33, 54, 16], Operations: ['82-66=16'] Exploring Operation: 33+54=87, Resulting Numbers: [16, 87] Generated Node #0,0,0: 68:[16, 87] Operation: 33+54=87 Exploring Operation: 33-16=17, Resulting Numbers: [54, 17] Generated Node #0,0,1: 68:[54, 17] Operation: 33-16=17 Exploring Operation: 54+16=70, Resulting Numbers: [33, 70] Generated Node #0,0,2: 68:[33, 70] Operation: 54+16=70 Exploring Operation: 54-33=21, Resulting Numbers: [16, 21] Generated Node #0,0,3: 68:[16, 21] Operation: 54-33=21 Exploring Operation: 54-16=38, Resulting Numbers: [33, 38] Generated Node #0,0,4: 68:[33, 38] Operation: 54-16=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 68:[33, 70], Operations: ['82-66=16', '54+16=70'] Exploring Operation: 33*70=2310, Resulting Numbers: [2310] 2310,68 unequal: No Solution Exploring Operation: 33+70=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 68:[16, 21], Operations: ['82-66=16', '54-33=21'] Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,68 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 68:[33, 38], Operations: ['82-66=16', '54-16=38'] Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,68 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[54, 17], Operations: ['82-66=16', '33-16=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[16, 87], Operations: ['82-66=16', '33+54=87'] Exploring Operation: 16*87=1392, Resulting Numbers: [1392] 1392,68 unequal: No Solution Exploring Operation: 87-16=71, Resulting Numbers: [71] 71,68 unequal: No Solution Exploring Operation: 16+87=103, Resulting Numbers: [103] 103,68 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: 68:[33, 82, 12], Operations: ['66-54=12'] Exploring Operation: 33+12=45, Resulting Numbers: [82, 45] Generated Node #0,1,0: 68:[82, 45] Operation: 33+12=45 Exploring Operation: 82-33=49, Resulting Numbers: [12, 49] Generated Node #0,1,1: 68:[12, 49] Operation: 82-33=49 Exploring Operation: 33-12=21, Resulting Numbers: [82, 21] Generated Node #0,1,2: 68:[82, 21] Operation: 33-12=21 Exploring Operation: 82+12=94, Resulting Numbers: [33, 94] Generated Node #0,1,3: 68:[33, 94] Operation: 82+12=94 Exploring Operation: 82-12=70, Resulting Numbers: [33, 70] Generated Node #0,1,4: 68:[33, 70] Operation: 82-12=70 Moving to Node #0,2 Current State: 68:[66, 82, 21], Operations: ['54-33=21'] Exploring Operation: 82+21=103, Resulting Numbers: [66, 103] Generated Node #0,2,0: 68:[66, 103] Operation: 82+21=103 Exploring Operation: 66+21=87, Resulting Numbers: [82, 87] Generated Node #0,2,1: 68:[82, 87] Operation: 66+21=87 Exploring Operation: 66-21=45, Resulting Numbers: [82, 45] Generated Node #0,2,2: 68:[82, 45] Operation: 66-21=45 Exploring Operation: 82-66=16, Resulting Numbers: [21, 16] Generated Node #0,2,3: 68:[21, 16] Operation: 82-66=16 Exploring Operation: 82-21=61, Resulting Numbers: [66, 61] Generated Node #0,2,4: 68:[66, 61] Operation: 82-21=61 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 68:[21, 16], Operations: ['54-33=21', '82-66=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,68 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 68:[66, 61], Operations: ['54-33=21', '82-21=61'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,68 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,68 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 68:[82, 45], Operations: ['54-33=21', '66-21=45'] Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,68 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 68:[82, 87], Operations: ['54-33=21', '66+21=87'] Exploring Operation: 82*87=7134, Resulting Numbers: [7134] 7134,68 unequal: No Solution Exploring Operation: 82+87=169, Resulting Numbers: [169] 169,68 unequal: No Solution Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 68:[66, 103], Operations: ['54-33=21', '82+21=103'] Exploring Operation: 66+103=169, Resulting Numbers: [169] 169,68 unequal: No Solution Exploring Operation: 66*103=6798, Resulting Numbers: [6798] 6798,68 unequal: No Solution Exploring Operation: 103-66=37, Resulting Numbers: [37] 37,68 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: 68:[82, 54, 2], Operations: ['66/33=2'] Exploring Operation: 82/2=41, Resulting Numbers: [54, 41] Generated Node #0,3,0: 68:[54, 41] Operation: 82/2=41 Exploring Operation: 82-2=80, Resulting Numbers: [54, 80] Generated Node #0,3,1: 68:[54, 80] Operation: 82-2=80 Exploring Operation: 54+2=56, Resulting Numbers: [82, 56] Generated Node #0,3,2: 68:[82, 56] Operation: 54+2=56 Exploring Operation: 54/2=27, Resulting Numbers: [82, 27] Generated Node #0,3,3: 68:[82, 27] Operation: 54/2=27 Exploring Operation: 82-54=28, Resulting Numbers: [2, 28] Generated Node #0,3,4: 68:[2, 28] Operation: 82-54=28 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 68:[2, 28], Operations: ['66/33=2', '82-54=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 68:[54, 41], Operations: ['66/33=2', '82/2=41'] Exploring Operation: 54*41=2214, Resulting Numbers: [2214] 2214,68 unequal: No Solution Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 68:[82, 27], Operations: ['66/33=2', '54/2=27'] Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,68 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,68 unequal: No Solution Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 68:[54, 80], Operations: ['66/33=2', '82-2=80'] Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 54*80=4320, Resulting Numbers: [4320] 4320,68 unequal: No Solution Exploring Operation: 54+80=134, Resulting Numbers: [134] 134,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 68:[82, 56], Operations: ['66/33=2', '54+2=56'] Exploring Operation: 82-56=26, Resulting Numbers: [26] 26,68 unequal: No Solution Exploring Operation: 82+56=138, Resulting Numbers: [138] 138,68 unequal: No Solution Exploring Operation: 82*56=4592, Resulting Numbers: [4592] 4592,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 68:[66, 5], Operations: ['82-54=28', '33-28=5'] Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,68 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[33, 70], Operations: ['66-54=12', '82-12=70'] Exploring Operation: 33+70=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,68 unequal: No Solution Exploring Operation: 33*70=2310, Resulting Numbers: [2310] 2310,68 unequal: No Solution Moving to Node #0,4,1 Current State: 68:[33, 38], Operations: ['82-54=28', '66-28=38'] Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,68 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,68 unequal: No Solution Moving to Node #0,4,3 Current State: 68:[28, 2], Operations: ['82-54=28', '66/33=2'] Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,68 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,68 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,68 unequal: No Solution Moving to Node #0,4,2 Current State: 68:[28, 33], Operations: ['82-54=28', '66-33=33'] Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,68 unequal: No Solution Exploring Operation: 28+33=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 28*33=924, Resulting Numbers: [924] 924,68 unequal: No Solution Moving to Node #0,4,0 Current State: 68:[66, 61], Operations: ['82-54=28', '33+28=61'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,68 unequal: No Solution Exploring Operation: 66*61=4026, Resulting Numbers: [4026] 4026,68 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[82, 21], Operations: ['66-54=12', '33-12=21'] Exploring Operation: 82*21=1722, Resulting Numbers: [1722] 1722,68 unequal: No Solution Exploring Operation: 82+21=103, Resulting Numbers: [103] 103,68 unequal: No Solution Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[12, 49], Operations: ['66-54=12', '82-33=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,68 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[82, 45], Operations: ['66-54=12', '33+12=45'] Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,68 unequal: No Solution Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,68 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[33, 94], Operations: ['66-54=12', '82+12=94'] Exploring Operation: 94-33=61, Resulting Numbers: [61] 61,68 unequal: No Solution Exploring Operation: 33+94=127, Resulting Numbers: [127] 127,68 unequal: No Solution Exploring Operation: 33*94=3102, Resulting Numbers: [3102] 3102,68 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 3, 18, 9, 84 ]
96
[ "3+18=21", "84-9=75", "21+75=96" ]
Current State: 96:[3, 18, 9, 84], Operations: [] Exploring Operation: 3+18=21, Resulting Numbers: [9, 84, 21] Generated Node #2: [9, 84, 21] from Operation: 3+18=21 Current State: 96:[9, 84, 21], Operations: ['3+18=21'] Exploring Operation: 84-9=75, Resulting Numbers: [21, 75] Generated Node #3: [21, 75] from Operation: 84-9=75 Current State: 96:[21, 75], Operations: ['3+18=21', '84-9=75'] Exploring Operation: 21+75=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[3, 18, 9, 84], Operations: [] Exploring Operation: 9+84=93, Resulting Numbers: [3, 18, 93] Generated Node #0,0: 96:[3, 18, 93] Operation: 9+84=93 Exploring Operation: 18/9=2, Resulting Numbers: [3, 84, 2] Generated Node #0,1: 96:[3, 84, 2] Operation: 18/9=2 Exploring Operation: 84/3=28, Resulting Numbers: [18, 9, 28] Generated Node #0,2: 96:[18, 9, 28] Operation: 84/3=28 Exploring Operation: 3+84=87, Resulting Numbers: [18, 9, 87] Generated Node #0,3: 96:[18, 9, 87] Operation: 3+84=87 Exploring Operation: 18+84=102, Resulting Numbers: [3, 9, 102] Generated Node #0,4: 96:[3, 9, 102] Operation: 18+84=102 Moving to Node #0,0 Current State: 96:[3, 18, 93], Operations: ['9+84=93'] Exploring Operation: 18/3=6, Resulting Numbers: [93, 6] Generated Node #0,0,0: 96:[93, 6] Operation: 18/3=6 Exploring Operation: 3+18=21, Resulting Numbers: [93, 21] Generated Node #0,0,1: 96:[93, 21] Operation: 3+18=21 Exploring Operation: 3+93=96, Resulting Numbers: [18, 96] Generated Node #0,0,2: 96:[18, 96] Operation: 3+93=96 Exploring Operation: 93/3=31, Resulting Numbers: [18, 31] Generated Node #0,0,3: 96:[18, 31] Operation: 93/3=31 Exploring Operation: 18-3=15, Resulting Numbers: [93, 15] Generated Node #0,0,4: 96:[93, 15] Operation: 18-3=15 Moving to Node #0,4 Current State: 96:[3, 9, 102], Operations: ['18+84=102'] Exploring Operation: 102/3=34, Resulting Numbers: [9, 34] Generated Node #0,4,0: 96:[9, 34] Operation: 102/3=34 Exploring Operation: 102-9=93, Resulting Numbers: [3, 93] Generated Node #0,4,1: 96:[3, 93] Operation: 102-9=93 Exploring Operation: 9-3=6, Resulting Numbers: [102, 6] Generated Node #0,4,2: 96:[102, 6] Operation: 9-3=6 Exploring Operation: 3+9=12, Resulting Numbers: [102, 12] Generated Node #0,4,3: 96:[102, 12] Operation: 3+9=12 Exploring Operation: 102-3=99, Resulting Numbers: [9, 99] Generated Node #0,4,4: 96:[9, 99] Operation: 102-3=99 Moving to Node #0,2 Current State: 96:[18, 9, 28], Operations: ['84/3=28'] Exploring Operation: 18+28=46, Resulting Numbers: [9, 46] Generated Node #0,2,0: 96:[9, 46] Operation: 18+28=46 Exploring Operation: 28-9=19, Resulting Numbers: [18, 19] Generated Node #0,2,1: 96:[18, 19] Operation: 28-9=19 Exploring Operation: 18-9=9, Resulting Numbers: [28, 9] Generated Node #0,2,2: 96:[28, 9] Operation: 18-9=9 Exploring Operation: 18/9=2, Resulting Numbers: [28, 2] Generated Node #0,2,3: 96:[28, 2] Operation: 18/9=2 Exploring Operation: 28-18=10, Resulting Numbers: [9, 10] Generated Node #0,2,4: 96:[9, 10] Operation: 28-18=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[9, 46], Operations: ['84/3=28', '18+28=46'] Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,96 unequal: No Solution Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,96 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 96:[9, 10], Operations: ['84/3=28', '28-18=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,96 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 96:[28, 2], Operations: ['84/3=28', '18/9=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[18, 19], Operations: ['84/3=28', '28-9=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,96 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,96 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[28, 9], Operations: ['84/3=28', '18-9=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,96 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: 96:[3, 84, 2], Operations: ['18/9=2'] Exploring Operation: 3*2=6, Resulting Numbers: [84, 6] Generated Node #0,1,0: 96:[84, 6] Operation: 3*2=6 Exploring Operation: 84+2=86, Resulting Numbers: [3, 86] Generated Node #0,1,1: 96:[3, 86] Operation: 84+2=86 Exploring Operation: 84/3=28, Resulting Numbers: [2, 28] Generated Node #0,1,2: 96:[2, 28] Operation: 84/3=28 Exploring Operation: 84/2=42, Resulting Numbers: [3, 42] Generated Node #0,1,3: 96:[3, 42] Operation: 84/2=42 Exploring Operation: 3+84=87, Resulting Numbers: [2, 87] Generated Node #0,1,4: 96:[2, 87] Operation: 3+84=87 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[2, 28], Operations: ['18/9=2', '84/3=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[3, 42], Operations: ['18/9=2', '84/2=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,96 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 96:[2, 87], Operations: ['18/9=2', '3+84=87'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,96 unequal: No Solution Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[3, 86], Operations: ['18/9=2', '84+2=86'] Exploring Operation: 3*86=258, Resulting Numbers: [258] 258,96 unequal: No Solution Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,96 unequal: No Solution Exploring Operation: 3+86=89, Resulting Numbers: [89] 89,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[84, 6], Operations: ['18/9=2', '3*2=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,96 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,96 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,96 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: 96:[18, 9, 87], Operations: ['3+84=87'] Exploring Operation: 18+9=27, Resulting Numbers: [87, 27] Generated Node #0,3,0: 96:[87, 27] Operation: 18+9=27 Exploring Operation: 18/9=2, Resulting Numbers: [87, 2] Generated Node #0,3,1: 96:[87, 2] Operation: 18/9=2 Exploring Operation: 18+87=105, Resulting Numbers: [9, 105] Generated Node #0,3,2: 96:[9, 105] Operation: 18+87=105 Exploring Operation: 9+87=96, Resulting Numbers: [18, 96] Generated Node #0,3,3: 96:[18, 96] Operation: 9+87=96 Exploring Operation: 18-9=9, Resulting Numbers: [87, 9] Generated Node #0,3,4: 96:[87, 9] Operation: 18-9=9 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 96:[18, 96], Operations: ['3+84=87', '9+87=96'] Exploring Operation: 18*96=1728, Resulting Numbers: [1728] 1728,96 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 18+96=114, Resulting Numbers: [114] 114,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 96:[87, 2], Operations: ['3+84=87', '18/9=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 87*2=174, Resulting Numbers: [174] 174,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[9, 105], Operations: ['3+84=87', '18+87=105'] Exploring Operation: 9+105=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 105-9=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[3, 18, 9, 84], Operations: [] Exploring Operation: 3+84=87, Resulting Numbers: [18, 9, 87] Generated Node #0,3: 96:[18, 9, 87] Operation: 3+84=87 Moving to Node #0,3 Current State: 96:[18, 9, 87], Operations: ['3+84=87'] Exploring Operation: 18+87=105, Resulting Numbers: [9, 105] Generated Node #0,3,2: 96:[9, 105] Operation: 18+87=105 Moving to Node #0,3,2 Current State: 96:[9, 105], Operations: ['3+84=87', '18+87=105'] Exploring Operation: 105-9=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 82, 56, 12, 28 ]
14
[ "82-56=26", "12+28=40", "40-26=14" ]
Current State: 14:[82, 56, 12, 28], Operations: [] Exploring Operation: 82-56=26, Resulting Numbers: [12, 28, 26] Generated Node #2: [12, 28, 26] from Operation: 82-56=26 Current State: 14:[12, 28, 26], Operations: ['82-56=26'] Exploring Operation: 12+28=40, Resulting Numbers: [26, 40] Generated Node #3: [26, 40] from Operation: 12+28=40 Current State: 14:[26, 40], Operations: ['82-56=26', '12+28=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[82, 56, 12, 28], Operations: [] Exploring Operation: 56/28=2, Resulting Numbers: [82, 12, 2] Generated Node #0,0: 14:[82, 12, 2] Operation: 56/28=2 Exploring Operation: 82-56=26, Resulting Numbers: [12, 28, 26] Generated Node #0,1: 14:[12, 28, 26] Operation: 82-56=26 Exploring Operation: 82-28=54, Resulting Numbers: [56, 12, 54] Generated Node #0,2: 14:[56, 12, 54] Operation: 82-28=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[12, 28, 26], Operations: ['82-56=26'] Exploring Operation: 28-26=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 14:[12, 2] Operation: 28-26=2 Exploring Operation: 28-12=16, Resulting Numbers: [26, 16] Generated Node #0,1,1: 14:[26, 16] Operation: 28-12=16 Exploring Operation: 26-12=14, Resulting Numbers: [28, 14] Generated Node #0,1,2: 14:[28, 14] Operation: 26-12=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[12, 2], Operations: ['82-56=26', '28-26=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[82, 56, 12, 28], Operations: [] Exploring Operation: 82-56=26, Resulting Numbers: [12, 28, 26] Generated Node #0,1: 14:[12, 28, 26] Operation: 82-56=26 Moving to Node #0,1 Current State: 14:[12, 28, 26], Operations: ['82-56=26'] Exploring Operation: 28-26=2, Resulting Numbers: [12, 2] Generated Node #0,1,0: 14:[12, 2] Operation: 28-26=2 Moving to Node #0,1,0 Current State: 14:[12, 2], Operations: ['82-56=26', '28-26=2'] Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 60, 76, 70, 24 ]
42
[ "60+76=136", "70+24=94", "136-94=42" ]
Current State: 42:[60, 76, 70, 24], Operations: [] Exploring Operation: 60+76=136, Resulting Numbers: [70, 24, 136] Generated Node #2: [70, 24, 136] from Operation: 60+76=136 Current State: 42:[70, 24, 136], Operations: ['60+76=136'] Exploring Operation: 70+24=94, Resulting Numbers: [136, 94] Generated Node #3: [136, 94] from Operation: 70+24=94 Current State: 42:[136, 94], Operations: ['60+76=136', '70+24=94'] Exploring Operation: 136-94=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[60, 76, 70, 24], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [60, 24, 6] Generated Node #0,0: 42:[60, 24, 6] Operation: 76-70=6 Exploring Operation: 70-60=10, Resulting Numbers: [76, 24, 10] Generated Node #0,1: 42:[76, 24, 10] Operation: 70-60=10 Exploring Operation: 76-60=16, Resulting Numbers: [70, 24, 16] Generated Node #0,2: 42:[70, 24, 16] Operation: 76-60=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[60, 24, 6], Operations: ['76-70=6'] Exploring Operation: 60/6=10, Resulting Numbers: [24, 10] Generated Node #0,0,0: 42:[24, 10] Operation: 60/6=10 Exploring Operation: 60-24=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 42:[6, 36] Operation: 60-24=36 Exploring Operation: 60-6=54, Resulting Numbers: [24, 54] Generated Node #0,0,2: 42:[24, 54] Operation: 60-6=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[24, 10], Operations: ['76-70=6', '60/6=10'] Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[6, 36], Operations: ['76-70=6', '60-24=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[60, 76, 70, 24], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [60, 24, 6] Generated Node #0,0: 42:[60, 24, 6] Operation: 76-70=6 Moving to Node #0,0 Current State: 42:[60, 24, 6], Operations: ['76-70=6'] Exploring Operation: 60-24=36, Resulting Numbers: [6, 36] Generated Node #0,0,1: 42:[6, 36] Operation: 60-24=36 Moving to Node #0,0,1 Current State: 42:[6, 36], Operations: ['76-70=6', '60-24=36'] Exploring Operation: 6+36=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 95, 69, 55, 19 ]
19
[ "95/19=5", "69-55=14", "5+14=19" ]
Current State: 19:[95, 69, 55, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [69, 55, 5] Generated Node #2: [69, 55, 5] from Operation: 95/19=5 Current State: 19:[69, 55, 5], Operations: ['95/19=5'] Exploring Operation: 69-55=14, Resulting Numbers: [5, 14] Generated Node #3: [5, 14] from Operation: 69-55=14 Current State: 19:[5, 14], Operations: ['95/19=5', '69-55=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[95, 69, 55, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [69, 55, 5] Generated Node #0,0: 19:[69, 55, 5] Operation: 95/19=5 Exploring Operation: 95-19=76, Resulting Numbers: [69, 55, 76] Generated Node #0,1: 19:[69, 55, 76] Operation: 95-19=76 Exploring Operation: 95-55=40, Resulting Numbers: [69, 19, 40] Generated Node #0,2: 19:[69, 19, 40] Operation: 95-55=40 Exploring Operation: 69-55=14, Resulting Numbers: [95, 19, 14] Generated Node #0,3: 19:[95, 19, 14] Operation: 69-55=14 Exploring Operation: 95-69=26, Resulting Numbers: [55, 19, 26] Generated Node #0,4: 19:[55, 19, 26] Operation: 95-69=26 Start Sub Search at level 1: Moving to Node #0,4 Current State: 19:[55, 19, 26], Operations: ['95-69=26'] Exploring Operation: 55+26=81, Resulting Numbers: [19, 81] Generated Node #0,4,0: 19:[19, 81] Operation: 55+26=81 Exploring Operation: 55+19=74, Resulting Numbers: [26, 74] Generated Node #0,4,1: 19:[26, 74] Operation: 55+19=74 Exploring Operation: 26-19=7, Resulting Numbers: [55, 7] Generated Node #0,4,2: 19:[55, 7] Operation: 26-19=7 Exploring Operation: 55-26=29, Resulting Numbers: [19, 29] Generated Node #0,4,3: 19:[19, 29] Operation: 55-26=29 Exploring Operation: 55-19=36, Resulting Numbers: [26, 36] Generated Node #0,4,4: 19:[26, 36] Operation: 55-19=36 Moving to Node #0,4,3 Current State: 19:[19, 29], Operations: ['95-69=26', '55-26=29'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,19 unequal: No Solution Moving to Node #0,4,4 Current State: 19:[26, 36], Operations: ['95-69=26', '55-19=36'] Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[55, 7], Operations: ['95-69=26', '26-19=7'] Exploring Operation: 55-7=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 55*7=385, Resulting Numbers: [385] 385,19 unequal: No Solution Exploring Operation: 55+7=62, Resulting Numbers: [62] 62,19 unequal: No Solution Moving to Node #0,4,0 Current State: 19:[19, 81], Operations: ['95-69=26', '55+26=81'] Exploring Operation: 19*81=1539, Resulting Numbers: [1539] 1539,19 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 19+81=100, Resulting Numbers: [100] 100,19 unequal: No Solution Moving to Node #0,4,1 Current State: 19:[26, 74], Operations: ['95-69=26', '55+19=74'] Exploring Operation: 26*74=1924, Resulting Numbers: [1924] 1924,19 unequal: No Solution Exploring Operation: 26+74=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 74-26=48, Resulting Numbers: [48] 48,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,2 Current State: 19:[69, 19, 40], Operations: ['95-55=40'] Exploring Operation: 40-19=21, Resulting Numbers: [69, 21] Generated Node #0,2,0: 19:[69, 21] Operation: 40-19=21 Exploring Operation: 69-40=29, Resulting Numbers: [19, 29] Generated Node #0,2,1: 19:[19, 29] Operation: 69-40=29 Exploring Operation: 69+40=109, Resulting Numbers: [19, 109] Generated Node #0,2,2: 19:[19, 109] Operation: 69+40=109 Exploring Operation: 69-19=50, Resulting Numbers: [40, 50] Generated Node #0,2,3: 19:[40, 50] Operation: 69-19=50 Exploring Operation: 69+19=88, Resulting Numbers: [40, 88] Generated Node #0,2,4: 19:[40, 88] Operation: 69+19=88 Moving to Node #0,2,1 Current State: 19:[19, 29], Operations: ['95-55=40', '69-40=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,19 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[40, 50], Operations: ['95-55=40', '69-19=50'] Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,19 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[69, 21], Operations: ['95-55=40', '40-19=21'] Exploring Operation: 69*21=1449, Resulting Numbers: [1449] 1449,19 unequal: No Solution Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 69+21=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[19, 109], Operations: ['95-55=40', '69+40=109'] Exploring Operation: 19+109=128, Resulting Numbers: [128] 128,19 unequal: No Solution Exploring Operation: 109-19=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 19*109=2071, Resulting Numbers: [2071] 2071,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[40, 88], Operations: ['95-55=40', '69+19=88'] Exploring Operation: 40*88=3520, Resulting Numbers: [3520] 3520,19 unequal: No Solution Exploring Operation: 40+88=128, Resulting Numbers: [128] 128,19 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,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,3 Current State: 19:[95, 19, 14], Operations: ['69-55=14'] Exploring Operation: 95-19=76, Resulting Numbers: [14, 76] Generated Node #0,3,0: 19:[14, 76] Operation: 95-19=76 Exploring Operation: 95-14=81, Resulting Numbers: [19, 81] Generated Node #0,3,1: 19:[19, 81] Operation: 95-14=81 Exploring Operation: 95/19=5, Resulting Numbers: [14, 5] Generated Node #0,3,2: 19:[14, 5] Operation: 95/19=5 Exploring Operation: 19+14=33, Resulting Numbers: [95, 33] Generated Node #0,3,3: 19:[95, 33] Operation: 19+14=33 Exploring Operation: 95+14=109, Resulting Numbers: [19, 109] Generated Node #0,3,4: 19:[19, 109] Operation: 95+14=109 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[14, 5], Operations: ['69-55=14', '95/19=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,19 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[95, 69, 55, 19], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [95, 19, 14] Generated Node #0,3: 19:[95, 19, 14] Operation: 69-55=14 Moving to Node #0,3 Current State: 19:[95, 19, 14], Operations: ['69-55=14'] Exploring Operation: 95/19=5, Resulting Numbers: [14, 5] Generated Node #0,3,2: 19:[14, 5] Operation: 95/19=5 Moving to Node #0,3,2 Current State: 19:[14, 5], Operations: ['69-55=14', '95/19=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 87, 66, 3, 28 ]
81
[ "87-28=59", "66/3=22", "59+22=81" ]
Current State: 81:[87, 66, 3, 28], Operations: [] Exploring Operation: 87-28=59, Resulting Numbers: [66, 3, 59] Generated Node #2: [66, 3, 59] from Operation: 87-28=59 Current State: 81:[66, 3, 59], Operations: ['87-28=59'] Exploring Operation: 66/3=22, Resulting Numbers: [59, 22] Generated Node #3: [59, 22] from Operation: 66/3=22 Current State: 81:[59, 22], Operations: ['87-28=59', '66/3=22'] Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[87, 66, 3, 28], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [87, 28, 22] Generated Node #0,0: 81:[87, 28, 22] Operation: 66/3=22 Exploring Operation: 66-28=38, Resulting Numbers: [87, 3, 38] Generated Node #0,1: 81:[87, 3, 38] Operation: 66-28=38 Exploring Operation: 87-66=21, Resulting Numbers: [3, 28, 21] Generated Node #0,2: 81:[3, 28, 21] Operation: 87-66=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[3, 28, 21], Operations: ['87-66=21'] Exploring Operation: 28-21=7, Resulting Numbers: [3, 7] Generated Node #0,2,0: 81:[3, 7] Operation: 28-21=7 Exploring Operation: 3+21=24, Resulting Numbers: [28, 24] Generated Node #0,2,1: 81:[28, 24] Operation: 3+21=24 Exploring Operation: 21/3=7, Resulting Numbers: [28, 7] Generated Node #0,2,2: 81:[28, 7] Operation: 21/3=7 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[3, 7], Operations: ['87-66=21', '28-21=7'] Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,81 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,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:[28, 7], Operations: ['87-66=21', '21/3=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,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,1 Current State: 81:[28, 24], Operations: ['87-66=21', '3+21=24'] Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,81 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,81 unequal: No Solution Exploring Operation: 28-24=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,0 Current State: 81:[87, 28, 22], Operations: ['66/3=22'] Exploring Operation: 87-28=59, Resulting Numbers: [22, 59] Generated Node #0,0,0: 81:[22, 59] Operation: 87-28=59 Exploring Operation: 28-22=6, Resulting Numbers: [87, 6] Generated Node #0,0,1: 81:[87, 6] Operation: 28-22=6 Exploring Operation: 87-22=65, Resulting Numbers: [28, 65] Generated Node #0,0,2: 81:[28, 65] Operation: 87-22=65 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[87, 6], Operations: ['66/3=22', '28-22=6'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[87, 66, 3, 28], Operations: [] Exploring Operation: 66/3=22, Resulting Numbers: [87, 28, 22] Generated Node #0,0: 81:[87, 28, 22] Operation: 66/3=22 Moving to Node #0,0 Current State: 81:[87, 28, 22], Operations: ['66/3=22'] Exploring Operation: 28-22=6, Resulting Numbers: [87, 6] Generated Node #0,0,1: 81:[87, 6] Operation: 28-22=6 Moving to Node #0,0,1 Current State: 81:[87, 6], Operations: ['66/3=22', '28-22=6'] Exploring Operation: 87-6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 18, 32, 70, 8 ]
39
[ "18-8=10", "70/10=7", "32+7=39" ]
Current State: 39:[18, 32, 70, 8], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [32, 70, 10] Generated Node #2: [32, 70, 10] from Operation: 18-8=10 Current State: 39:[32, 70, 10], Operations: ['18-8=10'] Exploring Operation: 70/10=7, Resulting Numbers: [32, 7] Generated Node #3: [32, 7] from Operation: 70/10=7 Current State: 39:[32, 7], Operations: ['18-8=10', '70/10=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[18, 32, 70, 8], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [18, 32, 62] Generated Node #0,0: 39:[18, 32, 62] Operation: 70-8=62 Exploring Operation: 32+8=40, Resulting Numbers: [18, 70, 40] Generated Node #0,1: 39:[18, 70, 40] Operation: 32+8=40 Exploring Operation: 70-32=38, Resulting Numbers: [18, 8, 38] Generated Node #0,2: 39:[18, 8, 38] Operation: 70-32=38 Exploring Operation: 70-18=52, Resulting Numbers: [32, 8, 52] Generated Node #0,3: 39:[32, 8, 52] Operation: 70-18=52 Exploring Operation: 32-18=14, Resulting Numbers: [70, 8, 14] Generated Node #0,4: 39:[70, 8, 14] Operation: 32-18=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[18, 8, 38], Operations: ['70-32=38'] Exploring Operation: 8+38=46, Resulting Numbers: [18, 46] Generated Node #0,2,0: 39:[18, 46] Operation: 8+38=46 Exploring Operation: 18+8=26, Resulting Numbers: [38, 26] Generated Node #0,2,1: 39:[38, 26] Operation: 18+8=26 Exploring Operation: 38-8=30, Resulting Numbers: [18, 30] Generated Node #0,2,2: 39:[18, 30] Operation: 38-8=30 Exploring Operation: 38-18=20, Resulting Numbers: [8, 20] Generated Node #0,2,3: 39:[8, 20] Operation: 38-18=20 Exploring Operation: 18-8=10, Resulting Numbers: [38, 10] Generated Node #0,2,4: 39:[38, 10] Operation: 18-8=10 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 39:[38, 10], Operations: ['70-32=38', '18-8=10'] Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,39 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[18, 46], Operations: ['70-32=38', '8+38=46'] Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 18+46=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 18*46=828, Resulting Numbers: [828] 828,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 39:[8, 20], Operations: ['70-32=38', '38-18=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,39 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[38, 26], Operations: ['70-32=38', '18+8=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,39 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[18, 30], Operations: ['70-32=38', '38-8=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[32, 8, 52], Operations: ['70-18=52'] Exploring Operation: 32/8=4, Resulting Numbers: [52, 4] Generated Node #0,3,0: 39:[52, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [52, 24] Generated Node #0,3,1: 39:[52, 24] Operation: 32-8=24 Exploring Operation: 32+8=40, Resulting Numbers: [52, 40] Generated Node #0,3,2: 39:[52, 40] Operation: 32+8=40 Exploring Operation: 52-8=44, Resulting Numbers: [32, 44] Generated Node #0,3,3: 39:[32, 44] Operation: 52-8=44 Exploring Operation: 52-32=20, Resulting Numbers: [8, 20] Generated Node #0,3,4: 39:[8, 20] Operation: 52-32=20 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 39:[32, 44], Operations: ['70-18=52', '52-8=44'] Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,39 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 39:[8, 20], Operations: ['70-18=52', '52-32=20'] Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 8*20=160, Resulting Numbers: [160] 160,39 unequal: No Solution Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 39:[52, 4], Operations: ['70-18=52', '32/8=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,39 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 39:[52, 40], Operations: ['70-18=52', '32+8=40'] Exploring Operation: 52*40=2080, Resulting Numbers: [2080] 2080,39 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 52+40=92, Resulting Numbers: [92] 92,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[52, 24], Operations: ['70-18=52', '32-8=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,39 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[18, 32, 62], Operations: ['70-8=62'] Exploring Operation: 32-18=14, Resulting Numbers: [62, 14] Generated Node #0,0,0: 39:[62, 14] Operation: 32-18=14 Exploring Operation: 62-18=44, Resulting Numbers: [32, 44] Generated Node #0,0,1: 39:[32, 44] Operation: 62-18=44 Exploring Operation: 18+32=50, Resulting Numbers: [62, 50] Generated Node #0,0,2: 39:[62, 50] Operation: 18+32=50 Exploring Operation: 62-32=30, Resulting Numbers: [18, 30] Generated Node #0,0,3: 39:[18, 30] Operation: 62-32=30 Exploring Operation: 18+62=80, Resulting Numbers: [32, 80] Generated Node #0,0,4: 39:[32, 80] Operation: 18+62=80 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[32, 44], Operations: ['70-8=62', '62-18=44'] Exploring Operation: 32*44=1408, Resulting Numbers: [1408] 1408,39 unequal: No Solution Exploring Operation: 44-32=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 32+44=76, Resulting Numbers: [76] 76,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[18, 30], Operations: ['70-8=62', '62-32=30'] Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,39 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[62, 14], Operations: ['70-8=62', '32-18=14'] Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,39 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[62, 50], Operations: ['70-8=62', '18+32=50'] Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,39 unequal: No Solution Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 39:[32, 80], Operations: ['70-8=62', '18+62=80'] Exploring Operation: 32+80=112, Resulting Numbers: [112] 112,39 unequal: No Solution Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 32*80=2560, Resulting Numbers: [2560] 2560,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[18, 70, 40], Operations: ['32+8=40'] Exploring Operation: 18+70=88, Resulting Numbers: [40, 88] Generated Node #0,1,0: 39:[40, 88] Operation: 18+70=88 Exploring Operation: 70-18=52, Resulting Numbers: [40, 52] Generated Node #0,1,1: 39:[40, 52] Operation: 70-18=52 Exploring Operation: 70-40=30, Resulting Numbers: [18, 30] Generated Node #0,1,2: 39:[18, 30] Operation: 70-40=30 Exploring Operation: 40-18=22, Resulting Numbers: [70, 22] Generated Node #0,1,3: 39:[70, 22] Operation: 40-18=22 Exploring Operation: 18+40=58, Resulting Numbers: [70, 58] Generated Node #0,1,4: 39:[70, 58] Operation: 18+40=58 Moving to Node #0,1,1 Current State: 39:[40, 52], Operations: ['32+8=40', '70-18=52'] Exploring Operation: 40*52=2080, Resulting Numbers: [2080] 2080,39 unequal: No Solution Exploring Operation: 40+52=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 52-40=12, Resulting Numbers: [12] 12,39 unequal: No Solution Moving to Node #0,1,2 Current State: 39:[18, 30], Operations: ['32+8=40', '70-40=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,39 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[70, 22], Operations: ['32+8=40', '40-18=22'] Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 70*22=1540, Resulting Numbers: [1540] 1540,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[40, 88], Operations: ['32+8=40', '18+70=88'] Exploring Operation: 40*88=3520, Resulting Numbers: [3520] 3520,39 unequal: No Solution Exploring Operation: 40+88=128, Resulting Numbers: [128] 128,39 unequal: No Solution Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,39 unequal: No Solution Moving to Node #0,1,4 Current State: 39:[70, 58], Operations: ['32+8=40', '18+40=58'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 70*58=4060, Resulting Numbers: [4060] 4060,39 unequal: No Solution Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[70, 8, 14], Operations: ['32-18=14'] Exploring Operation: 70/14=5, Resulting Numbers: [8, 5] Generated Node #0,4,0: 39:[8, 5] Operation: 70/14=5 Exploring Operation: 70-14=56, Resulting Numbers: [8, 56] Generated Node #0,4,1: 39:[8, 56] Operation: 70-14=56 Exploring Operation: 70+8=78, Resulting Numbers: [14, 78] Generated Node #0,4,2: 39:[14, 78] Operation: 70+8=78 Exploring Operation: 14-8=6, Resulting Numbers: [70, 6] Generated Node #0,4,3: 39:[70, 6] Operation: 14-8=6 Exploring Operation: 70-8=62, Resulting Numbers: [14, 62] Generated Node #0,4,4: 39:[14, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 39:[8, 5], Operations: ['32-18=14', '70/14=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 39:[8, 56], Operations: ['32-18=14', '70-14=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 8*56=448, Resulting Numbers: [448] 448,39 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 39:[14, 62], Operations: ['32-18=14', '70-8=62'] Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,39 unequal: No Solution Exploring Operation: 14*62=868, Resulting Numbers: [868] 868,39 unequal: No Solution Exploring Operation: 14+62=76, Resulting Numbers: [76] 76,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 39:[70, 6], Operations: ['32-18=14', '14-8=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 39:[14, 78], Operations: ['32-18=14', '70+8=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,39 unequal: No Solution Exploring Operation: 14*78=1092, Resulting Numbers: [1092] 1092,39 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 5, 65, 8, 42 ]
21
[ "65/5=13", "42-8=34", "34-13=21" ]
Current State: 21:[5, 65, 8, 42], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [8, 42, 13] Generated Node #2: [8, 42, 13] from Operation: 65/5=13 Current State: 21:[8, 42, 13], Operations: ['65/5=13'] Exploring Operation: 42-8=34, Resulting Numbers: [13, 34] Generated Node #3: [13, 34] from Operation: 42-8=34 Current State: 21:[13, 34], Operations: ['65/5=13', '42-8=34'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[5, 65, 8, 42], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [8, 42, 13] Generated Node #0,0: 21:[8, 42, 13] Operation: 65/5=13 Exploring Operation: 65-8=57, Resulting Numbers: [5, 42, 57] Generated Node #0,1: 21:[5, 42, 57] Operation: 65-8=57 Exploring Operation: 65-42=23, Resulting Numbers: [5, 8, 23] Generated Node #0,2: 21:[5, 8, 23] Operation: 65-42=23 Exploring Operation: 42-8=34, Resulting Numbers: [5, 65, 34] Generated Node #0,3: 21:[5, 65, 34] Operation: 42-8=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[5, 8, 23], Operations: ['65-42=23'] Exploring Operation: 8-5=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 21:[23, 3] Operation: 8-5=3 Exploring Operation: 5+23=28, Resulting Numbers: [8, 28] Generated Node #0,2,1: 21:[8, 28] Operation: 5+23=28 Exploring Operation: 23-5=18, Resulting Numbers: [8, 18] Generated Node #0,2,2: 21:[8, 18] Operation: 23-5=18 Exploring Operation: 5+8=13, Resulting Numbers: [23, 13] Generated Node #0,2,3: 21:[23, 13] Operation: 5+8=13 Moving to Node #0,2,0 Current State: 21:[23, 3], Operations: ['65-42=23', '8-5=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[8, 18], Operations: ['65-42=23', '23-5=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[23, 13], Operations: ['65-42=23', '5+8=13'] Exploring Operation: 23*13=299, Resulting Numbers: [299] 299,21 unequal: No Solution Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,21 unequal: No Solution Moving to Node #0,2,1 Current State: 21:[8, 28], Operations: ['65-42=23', '5+23=28'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,21 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[8, 42, 13], Operations: ['65/5=13'] Exploring Operation: 42-8=34, Resulting Numbers: [13, 34] Generated Node #0,0,0: 21:[13, 34] Operation: 42-8=34 Exploring Operation: 13-8=5, Resulting Numbers: [42, 5] Generated Node #0,0,1: 21:[42, 5] Operation: 13-8=5 Exploring Operation: 42-13=29, Resulting Numbers: [8, 29] Generated Node #0,0,2: 21:[8, 29] Operation: 42-13=29 Exploring Operation: 8+13=21, Resulting Numbers: [42, 21] Generated Node #0,0,3: 21:[42, 21] Operation: 8+13=21 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[8, 29], Operations: ['65/5=13', '42-13=29'] Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,21 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[5, 65, 8, 42], Operations: [] Exploring Operation: 65/5=13, Resulting Numbers: [8, 42, 13] Generated Node #0,0: 21:[8, 42, 13] Operation: 65/5=13 Moving to Node #0,0 Current State: 21:[8, 42, 13], Operations: ['65/5=13'] Exploring Operation: 42-13=29, Resulting Numbers: [8, 29] Generated Node #0,0,2: 21:[8, 29] Operation: 42-13=29 Moving to Node #0,0,2 Current State: 21:[8, 29], Operations: ['65/5=13', '42-13=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 84, 14, 3, 76 ]
10
[ "84-76=8", "3*8=24", "24-14=10" ]
Current State: 10:[84, 14, 3, 76], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [14, 3, 8] Generated Node #2: [14, 3, 8] from Operation: 84-76=8 Current State: 10:[14, 3, 8], Operations: ['84-76=8'] Exploring Operation: 3*8=24, Resulting Numbers: [14, 24] Generated Node #3: [14, 24] from Operation: 3*8=24 Current State: 10:[14, 24], Operations: ['84-76=8', '3*8=24'] Exploring Operation: 24-14=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[84, 14, 3, 76], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [3, 76, 70] Generated Node #0,0: 10:[3, 76, 70] Operation: 84-14=70 Exploring Operation: 76-14=62, Resulting Numbers: [84, 3, 62] Generated Node #0,1: 10:[84, 3, 62] Operation: 76-14=62 Exploring Operation: 84/3=28, Resulting Numbers: [14, 76, 28] Generated Node #0,2: 10:[14, 76, 28] Operation: 84/3=28 Exploring Operation: 84/14=6, Resulting Numbers: [3, 76, 6] Generated Node #0,3: 10:[3, 76, 6] Operation: 84/14=6 Exploring Operation: 84-76=8, Resulting Numbers: [14, 3, 8] Generated Node #0,4: 10:[14, 3, 8] Operation: 84-76=8 Moving to Node #0,4 Current State: 10:[14, 3, 8], Operations: ['84-76=8'] Exploring Operation: 14+3=17, Resulting Numbers: [8, 17] Generated Node #0,4,0: 10:[8, 17] Operation: 14+3=17 Exploring Operation: 3+8=11, Resulting Numbers: [14, 11] Generated Node #0,4,1: 10:[14, 11] Operation: 3+8=11 Exploring Operation: 8-3=5, Resulting Numbers: [14, 5] Generated Node #0,4,2: 10:[14, 5] Operation: 8-3=5 Exploring Operation: 14-8=6, Resulting Numbers: [3, 6] Generated Node #0,4,3: 10:[3, 6] Operation: 14-8=6 Exploring Operation: 14-3=11, Resulting Numbers: [8, 11] Generated Node #0,4,4: 10:[8, 11] Operation: 14-3=11 Moving to Node #0,3 Current State: 10:[3, 76, 6], Operations: ['84/14=6'] Exploring Operation: 6/3=2, Resulting Numbers: [76, 2] Generated Node #0,3,0: 10:[76, 2] Operation: 6/3=2 Exploring Operation: 76-6=70, Resulting Numbers: [3, 70] Generated Node #0,3,1: 10:[3, 70] Operation: 76-6=70 Exploring Operation: 76-3=73, Resulting Numbers: [6, 73] Generated Node #0,3,2: 10:[6, 73] Operation: 76-3=73 Exploring Operation: 6-3=3, Resulting Numbers: [76, 3] Generated Node #0,3,3: 10:[76, 3] Operation: 6-3=3 Exploring Operation: 3+6=9, Resulting Numbers: [76, 9] Generated Node #0,3,4: 10:[76, 9] Operation: 3+6=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 10:[3, 70], Operations: ['84/14=6', '76-6=70'] Exploring Operation: 3+70=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 3*70=210, Resulting Numbers: [210] 210,10 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 10:[6, 73], Operations: ['84/14=6', '76-3=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 10:[76, 2], Operations: ['84/14=6', '6/3=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,10 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 10:[76, 3], Operations: ['84/14=6', '6-3=3'] Exploring Operation: 76+3=79, Resulting Numbers: [79] 79,10 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,10 unequal: No Solution Exploring Operation: 76*3=228, Resulting Numbers: [228] 228,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 10:[76, 9], Operations: ['84/14=6', '3+6=9'] Exploring Operation: 76+9=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 76-9=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 76*9=684, Resulting Numbers: [684] 684,10 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: 10:[14, 76, 28], Operations: ['84/3=28'] Exploring Operation: 76-14=62, Resulting Numbers: [28, 62] Generated Node #0,2,0: 10:[28, 62] Operation: 76-14=62 Exploring Operation: 14+76=90, Resulting Numbers: [28, 90] Generated Node #0,2,1: 10:[28, 90] Operation: 14+76=90 Exploring Operation: 28-14=14, Resulting Numbers: [76, 14] Generated Node #0,2,2: 10:[76, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [76, 2] Generated Node #0,2,3: 10:[76, 2] Operation: 28/14=2 Exploring Operation: 76-28=48, Resulting Numbers: [14, 48] Generated Node #0,2,4: 10:[14, 48] Operation: 76-28=48 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[14, 48], Operations: ['84/3=28', '76-28=48'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[76, 2], Operations: ['84/3=28', '28/14=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,10 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,10 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[28, 62], Operations: ['84/3=28', '76-14=62'] Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,10 unequal: No Solution Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[76, 14], Operations: ['84/3=28', '28-14=14'] Exploring Operation: 76-14=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 76*14=1064, Resulting Numbers: [1064] 1064,10 unequal: No Solution Exploring Operation: 76+14=90, Resulting Numbers: [90] 90,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[28, 90], Operations: ['84/3=28', '14+76=90'] Exploring Operation: 28*90=2520, Resulting Numbers: [2520] 2520,10 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,10 unequal: No Solution Exploring Operation: 28+90=118, Resulting Numbers: [118] 118,10 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: 10:[3, 76, 70], Operations: ['84-14=70'] Exploring Operation: 3+76=79, Resulting Numbers: [70, 79] Generated Node #0,0,0: 10:[70, 79] Operation: 3+76=79 Exploring Operation: 70-3=67, Resulting Numbers: [76, 67] Generated Node #0,0,1: 10:[76, 67] Operation: 70-3=67 Exploring Operation: 3+70=73, Resulting Numbers: [76, 73] Generated Node #0,0,2: 10:[76, 73] Operation: 3+70=73 Exploring Operation: 76-70=6, Resulting Numbers: [3, 6] Generated Node #0,0,3: 10:[3, 6] Operation: 76-70=6 Exploring Operation: 76-3=73, Resulting Numbers: [70, 73] Generated Node #0,0,4: 10:[70, 73] Operation: 76-3=73 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[3, 6], Operations: ['84-14=70', '76-70=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[76, 67], Operations: ['84-14=70', '70-3=67'] Exploring Operation: 76*67=5092, Resulting Numbers: [5092] 5092,10 unequal: No Solution Exploring Operation: 76+67=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[70, 73], Operations: ['84-14=70', '76-3=73'] Exploring Operation: 70*73=5110, Resulting Numbers: [5110] 5110,10 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 70+73=143, Resulting Numbers: [143] 143,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[70, 79], Operations: ['84-14=70', '3+76=79'] Exploring Operation: 70+79=149, Resulting Numbers: [149] 149,10 unequal: No Solution Exploring Operation: 70*79=5530, Resulting Numbers: [5530] 5530,10 unequal: No Solution Exploring Operation: 79-70=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[76, 73], Operations: ['84-14=70', '3+70=73'] Exploring Operation: 76+73=149, Resulting Numbers: [149] 149,10 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 76*73=5548, Resulting Numbers: [5548] 5548,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[84, 3, 62], Operations: ['76-14=62'] Exploring Operation: 84-3=81, Resulting Numbers: [62, 81] Generated Node #0,1,0: 10:[62, 81] Operation: 84-3=81 Exploring Operation: 84/3=28, Resulting Numbers: [62, 28] Generated Node #0,1,1: 10:[62, 28] Operation: 84/3=28 Exploring Operation: 84-62=22, Resulting Numbers: [3, 22] Generated Node #0,1,2: 10:[3, 22] Operation: 84-62=22 Exploring Operation: 84+3=87, Resulting Numbers: [62, 87] Generated Node #0,1,3: 10:[62, 87] Operation: 84+3=87 Exploring Operation: 62-3=59, Resulting Numbers: [84, 59] Generated Node #0,1,4: 10:[84, 59] Operation: 62-3=59 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[3, 22], Operations: ['76-14=62', '84-62=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,10 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[62, 28], Operations: ['76-14=62', '84/3=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,10 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,10 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[62, 81], Operations: ['76-14=62', '84-3=81'] Exploring Operation: 81-62=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 62+81=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 62*81=5022, Resulting Numbers: [5022] 5022,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[84, 59], Operations: ['76-14=62', '62-3=59'] Exploring Operation: 84+59=143, Resulting Numbers: [143] 143,10 unequal: No Solution Exploring Operation: 84-59=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 84*59=4956, Resulting Numbers: [4956] 4956,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[62, 87], Operations: ['76-14=62', '84+3=87'] Exploring Operation: 62+87=149, Resulting Numbers: [149] 149,10 unequal: No Solution Exploring Operation: 87-62=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 62*87=5394, Resulting Numbers: [5394] 5394,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 10:[3, 6], Operations: ['84-76=8', '14-8=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,10 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[8, 11], Operations: ['84-76=8', '14-3=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,10 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[14, 5], Operations: ['84-76=8', '8-3=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[14, 11], Operations: ['84-76=8', '3+8=11'] Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,10 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[8, 17], Operations: ['84-76=8', '14+3=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,10 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,10 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 96, 34, 40, 51 ]
24
[ "96*34=3264", "3264/51=64", "64-40=24" ]
Current State: 24:[96, 34, 40, 51], Operations: [] Exploring Operation: 96*34=3264, Resulting Numbers: [40, 51, 3264] Generated Node #2: [40, 51, 3264] from Operation: 96*34=3264 Current State: 24:[40, 51, 3264], Operations: ['96*34=3264'] Exploring Operation: 3264/51=64, Resulting Numbers: [40, 64] Generated Node #3: [40, 64] from Operation: 3264/51=64 Current State: 24:[40, 64], Operations: ['96*34=3264', '3264/51=64'] Exploring Operation: 64-40=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[96, 34, 40, 51], Operations: [] Exploring Operation: 51-40=11, Resulting Numbers: [96, 34, 11] Generated Node #0,0: 24:[96, 34, 11] Operation: 51-40=11 Exploring Operation: 96-34=62, Resulting Numbers: [40, 51, 62] Generated Node #0,1: 24:[40, 51, 62] Operation: 96-34=62 Exploring Operation: 96-51=45, Resulting Numbers: [34, 40, 45] Generated Node #0,2: 24:[34, 40, 45] Operation: 96-51=45 Exploring Operation: 96-40=56, Resulting Numbers: [34, 51, 56] Generated Node #0,3: 24:[34, 51, 56] Operation: 96-40=56 Moving to Node #0,2 Current State: 24:[34, 40, 45], Operations: ['96-51=45'] Exploring Operation: 40-34=6, Resulting Numbers: [45, 6] Generated Node #0,2,0: 24:[45, 6] Operation: 40-34=6 Exploring Operation: 45-34=11, Resulting Numbers: [40, 11] Generated Node #0,2,1: 24:[40, 11] Operation: 45-34=11 Exploring Operation: 45-40=5, Resulting Numbers: [34, 5] Generated Node #0,2,2: 24:[34, 5] Operation: 45-40=5 Exploring Operation: 34+40=74, Resulting Numbers: [45, 74] Generated Node #0,2,3: 24:[45, 74] Operation: 34+40=74 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[34, 5], Operations: ['96-51=45', '45-40=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[40, 11], Operations: ['96-51=45', '45-34=11'] Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,24 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[45, 6], Operations: ['96-51=45', '40-34=6'] Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,24 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[45, 74], Operations: ['96-51=45', '34+40=74'] Exploring Operation: 45+74=119, Resulting Numbers: [119] 119,24 unequal: No Solution Exploring Operation: 45*74=3330, Resulting Numbers: [3330] 3330,24 unequal: No Solution Exploring Operation: 74-45=29, Resulting Numbers: [29] 29,24 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: 24:[34, 51, 56], Operations: ['96-40=56'] Exploring Operation: 34+51=85, Resulting Numbers: [56, 85] Generated Node #0,3,0: 24:[56, 85] Operation: 34+51=85 Exploring Operation: 51-34=17, Resulting Numbers: [56, 17] Generated Node #0,3,1: 24:[56, 17] Operation: 51-34=17 Exploring Operation: 56-34=22, Resulting Numbers: [51, 22] Generated Node #0,3,2: 24:[51, 22] Operation: 56-34=22 Exploring Operation: 56-51=5, Resulting Numbers: [34, 5] Generated Node #0,3,3: 24:[34, 5] Operation: 56-51=5 Moving to Node #0,1 Current State: 24:[40, 51, 62], Operations: ['96-34=62'] Exploring Operation: 62-40=22, Resulting Numbers: [51, 22] Generated Node #0,1,0: 24:[51, 22] Operation: 62-40=22 Exploring Operation: 62-51=11, Resulting Numbers: [40, 11] Generated Node #0,1,1: 24:[40, 11] Operation: 62-51=11 Exploring Operation: 40+51=91, Resulting Numbers: [62, 91] Generated Node #0,1,2: 24:[62, 91] Operation: 40+51=91 Exploring Operation: 51-40=11, Resulting Numbers: [62, 11] Generated Node #0,1,3: 24:[62, 11] Operation: 51-40=11 Moving to Node #0,0 Current State: 24:[96, 34, 11], Operations: ['51-40=11'] Exploring Operation: 96-34=62, Resulting Numbers: [11, 62] Generated Node #0,0,0: 24:[11, 62] Operation: 96-34=62 Exploring Operation: 96+11=107, Resulting Numbers: [34, 107] Generated Node #0,0,1: 24:[34, 107] Operation: 96+11=107 Exploring Operation: 34-11=23, Resulting Numbers: [96, 23] Generated Node #0,0,2: 24:[96, 23] Operation: 34-11=23 Exploring Operation: 96-11=85, Resulting Numbers: [34, 85] Generated Node #0,0,3: 24:[34, 85] Operation: 96-11=85 Moving to Node #0,3,3 Current State: 24:[34, 5], Operations: ['96-40=56', '56-51=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,24 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[40, 11], Operations: ['96-34=62', '62-51=11'] Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,24 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[51, 22], Operations: ['96-34=62', '62-40=22'] Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,24 unequal: No Solution Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[51, 22], Operations: ['96-40=56', '56-34=22'] Exploring Operation: 51+22=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 51-22=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 51*22=1122, Resulting Numbers: [1122] 1122,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[56, 17], Operations: ['96-40=56', '51-34=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,24 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[62, 11], Operations: ['96-34=62', '51-40=11'] Exploring Operation: 62+11=73, Resulting Numbers: [73] 73,24 unequal: No Solution Exploring Operation: 62*11=682, Resulting Numbers: [682] 682,24 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[11, 62], Operations: ['51-40=11', '96-34=62'] Exploring Operation: 11*62=682, Resulting Numbers: [682] 682,24 unequal: No Solution Exploring Operation: 62-11=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 11+62=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[34, 85], Operations: ['51-40=11', '96-11=85'] Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,24 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[96, 23], Operations: ['51-40=11', '34-11=23'] Exploring Operation: 96*23=2208, Resulting Numbers: [2208] 2208,24 unequal: No Solution Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,24 unequal: No Solution Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[34, 107], Operations: ['51-40=11', '96+11=107'] Exploring Operation: 34+107=141, Resulting Numbers: [141] 141,24 unequal: No Solution Exploring Operation: 34*107=3638, Resulting Numbers: [3638] 3638,24 unequal: No Solution Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[56, 85], Operations: ['96-40=56', '34+51=85'] Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,24 unequal: No Solution Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,24 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[62, 91], Operations: ['96-34=62', '40+51=91'] Exploring Operation: 91-62=29, Resulting Numbers: [29] 29,24 unequal: No Solution Exploring Operation: 62+91=153, Resulting Numbers: [153] 153,24 unequal: No Solution Exploring Operation: 62*91=5642, Resulting Numbers: [5642] 5642,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 15, 68, 92, 82 ]
93
[ "15+68=83", "92-82=10", "83+10=93" ]
Current State: 93:[15, 68, 92, 82], Operations: [] Exploring Operation: 15+68=83, Resulting Numbers: [92, 82, 83] Generated Node #2: [92, 82, 83] from Operation: 15+68=83 Current State: 93:[92, 82, 83], Operations: ['15+68=83'] Exploring Operation: 92-82=10, Resulting Numbers: [83, 10] Generated Node #3: [83, 10] from Operation: 92-82=10 Current State: 93:[83, 10], Operations: ['15+68=83', '92-82=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[15, 68, 92, 82], Operations: [] Exploring Operation: 15+82=97, Resulting Numbers: [68, 92, 97] Generated Node #0,0: 93:[68, 92, 97] Operation: 15+82=97 Exploring Operation: 15+68=83, Resulting Numbers: [92, 82, 83] Generated Node #0,1: 93:[92, 82, 83] Operation: 15+68=83 Exploring Operation: 82-68=14, Resulting Numbers: [15, 92, 14] Generated Node #0,2: 93:[15, 92, 14] Operation: 82-68=14 Moving to Node #0,1 Current State: 93:[92, 82, 83], Operations: ['15+68=83'] Exploring Operation: 92-82=10, Resulting Numbers: [83, 10] Generated Node #0,1,0: 93:[83, 10] Operation: 92-82=10 Exploring Operation: 83-82=1, Resulting Numbers: [92, 1] Generated Node #0,1,1: 93:[92, 1] Operation: 83-82=1 Exploring Operation: 92-83=9, Resulting Numbers: [82, 9] Generated Node #0,1,2: 93:[82, 9] Operation: 92-83=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[92, 1], Operations: ['15+68=83', '83-82=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[15, 68, 92, 82], Operations: [] Exploring Operation: 15+68=83, Resulting Numbers: [92, 82, 83] Generated Node #0,1: 93:[92, 82, 83] Operation: 15+68=83 Moving to Node #0,1 Current State: 93:[92, 82, 83], Operations: ['15+68=83'] Exploring Operation: 83-82=1, Resulting Numbers: [92, 1] Generated Node #0,1,1: 93:[92, 1] Operation: 83-82=1 Moving to Node #0,1,1 Current State: 93:[92, 1], Operations: ['15+68=83', '83-82=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 15, 17, 7, 59 ]
29
[ "15*7=105", "17+59=76", "105-76=29" ]
Current State: 29:[15, 17, 7, 59], Operations: [] Exploring Operation: 15*7=105, Resulting Numbers: [17, 59, 105] Generated Node #2: [17, 59, 105] from Operation: 15*7=105 Current State: 29:[17, 59, 105], Operations: ['15*7=105'] Exploring Operation: 17+59=76, Resulting Numbers: [105, 76] Generated Node #3: [105, 76] from Operation: 17+59=76 Current State: 29:[105, 76], Operations: ['15*7=105', '17+59=76'] Exploring Operation: 105-76=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[15, 17, 7, 59], Operations: [] Exploring Operation: 15+7=22, Resulting Numbers: [17, 59, 22] Generated Node #0,0: 29:[17, 59, 22] Operation: 15+7=22 Exploring Operation: 59-15=44, Resulting Numbers: [17, 7, 44] Generated Node #0,1: 29:[17, 7, 44] Operation: 59-15=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[17, 59, 22], Operations: ['15+7=22'] Exploring Operation: 59-22=37, Resulting Numbers: [17, 37] Generated Node #0,0,0: 29:[17, 37] Operation: 59-22=37 Exploring Operation: 59-17=42, Resulting Numbers: [22, 42] Generated Node #0,0,1: 29:[22, 42] Operation: 59-17=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[17, 37], Operations: ['15+7=22', '59-22=37'] Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[22, 42], Operations: ['15+7=22', '59-17=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,29 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[17, 7, 44], Operations: ['59-15=44'] Exploring Operation: 44-7=37, Resulting Numbers: [17, 37] Generated Node #0,1,0: 29:[17, 37] Operation: 44-7=37 Exploring Operation: 17+7=24, Resulting Numbers: [44, 24] Generated Node #0,1,1: 29:[44, 24] Operation: 17+7=24 Moving to Node #0,1,0 Current State: 29:[17, 37], Operations: ['59-15=44', '44-7=37'] Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,29 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[44, 24], Operations: ['59-15=44', '17+7=24'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,29 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
[ 86, 9, 81, 27 ]
23
[ "86-9=77", "81-27=54", "77-54=23" ]
Current State: 23:[86, 9, 81, 27], Operations: [] Exploring Operation: 86-9=77, Resulting Numbers: [81, 27, 77] Generated Node #2: [81, 27, 77] from Operation: 86-9=77 Current State: 23:[81, 27, 77], Operations: ['86-9=77'] Exploring Operation: 81-27=54, Resulting Numbers: [77, 54] Generated Node #3: [77, 54] from Operation: 81-27=54 Current State: 23:[77, 54], Operations: ['86-9=77', '81-27=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[86, 9, 81, 27], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [9, 27, 5] Generated Node #0,0: 23:[9, 27, 5] Operation: 86-81=5 Exploring Operation: 86-27=59, Resulting Numbers: [9, 81, 59] Generated Node #0,1: 23:[9, 81, 59] Operation: 86-27=59 Exploring Operation: 81/9=9, Resulting Numbers: [86, 27, 9] Generated Node #0,2: 23:[86, 27, 9] Operation: 81/9=9 Exploring Operation: 81/27=3, Resulting Numbers: [86, 9, 3] Generated Node #0,3: 23:[86, 9, 3] Operation: 81/27=3 Exploring Operation: 81-27=54, Resulting Numbers: [86, 9, 54] Generated Node #0,4: 23:[86, 9, 54] Operation: 81-27=54 Moving to Node #0,0 Current State: 23:[9, 27, 5], Operations: ['86-81=5'] Exploring Operation: 9-5=4, Resulting Numbers: [27, 4] Generated Node #0,0,0: 23:[27, 4] Operation: 9-5=4 Exploring Operation: 27-9=18, Resulting Numbers: [5, 18] Generated Node #0,0,1: 23:[5, 18] Operation: 27-9=18 Exploring Operation: 27+5=32, Resulting Numbers: [9, 32] Generated Node #0,0,2: 23:[9, 32] Operation: 27+5=32 Exploring Operation: 9+5=14, Resulting Numbers: [27, 14] Generated Node #0,0,3: 23:[27, 14] Operation: 9+5=14 Exploring Operation: 27-5=22, Resulting Numbers: [9, 22] Generated Node #0,0,4: 23:[9, 22] Operation: 27-5=22 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[27, 14], Operations: ['86-81=5', '9+5=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,23 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,23 unequal: No Solution No 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: 23:[9, 22], Operations: ['86-81=5', '27-5=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,23 unequal: No Solution No 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: 23:[27, 4], Operations: ['86-81=5', '9-5=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 27*4=108, Resulting Numbers: [108] 108,23 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[86, 9, 81, 27], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [9, 27, 5] Generated Node #0,0: 23:[9, 27, 5] Operation: 86-81=5 Moving to Node #0,0 Current State: 23:[9, 27, 5], Operations: ['86-81=5'] Exploring Operation: 9-5=4, Resulting Numbers: [27, 4] Generated Node #0,0,0: 23:[27, 4] Operation: 9-5=4 Moving to Node #0,0,0 Current State: 23:[27, 4], Operations: ['86-81=5', '9-5=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 64, 9, 25, 63 ]
67
[ "25-9=16", "64/16=4", "63+4=67" ]
Current State: 67:[64, 9, 25, 63], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [64, 63, 16] Generated Node #2: [64, 63, 16] from Operation: 25-9=16 Current State: 67:[64, 63, 16], Operations: ['25-9=16'] Exploring Operation: 64/16=4, Resulting Numbers: [63, 4] Generated Node #3: [63, 4] from Operation: 64/16=4 Current State: 67:[63, 4], Operations: ['25-9=16', '64/16=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[64, 9, 25, 63], Operations: [] Exploring Operation: 9+25=34, Resulting Numbers: [64, 63, 34] Generated Node #0,0: 67:[64, 63, 34] Operation: 9+25=34 Exploring Operation: 9+63=72, Resulting Numbers: [64, 25, 72] Generated Node #0,1: 67:[64, 25, 72] Operation: 9+63=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[64, 63, 34], Operations: ['9+25=34'] Exploring Operation: 63+34=97, Resulting Numbers: [64, 97] Generated Node #0,0,0: 67:[64, 97] Operation: 63+34=97 Exploring Operation: 64+34=98, Resulting Numbers: [63, 98] Generated Node #0,0,1: 67:[63, 98] Operation: 64+34=98 Moving to Node #0,0,0 Current State: 67:[64, 97], Operations: ['9+25=34', '63+34=97'] Exploring Operation: 64+97=161, Resulting Numbers: [161] 161,67 unequal: No Solution Exploring Operation: 97-64=33, Resulting Numbers: [33] 33,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[63, 98], Operations: ['9+25=34', '64+34=98'] Exploring Operation: 63+98=161, Resulting Numbers: [161] 161,67 unequal: No Solution Exploring Operation: 98-63=35, Resulting Numbers: [35] 35,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[64, 25, 72], Operations: ['9+63=72'] Exploring Operation: 72-25=47, Resulting Numbers: [64, 47] Generated Node #0,1,0: 67:[64, 47] Operation: 72-25=47 Exploring Operation: 64+25=89, Resulting Numbers: [72, 89] Generated Node #0,1,1: 67:[72, 89] Operation: 64+25=89 Moving to Node #0,1,0 Current State: 67:[64, 47], Operations: ['9+63=72', '72-25=47'] Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[72, 89], Operations: ['9+63=72', '64+25=89'] Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 73, 94, 3, 99 ]
40
[ "94-73=21", "99+21=120", "120/3=40" ]
Current State: 40:[73, 94, 3, 99], Operations: [] Exploring Operation: 94-73=21, Resulting Numbers: [3, 99, 21] Generated Node #2: [3, 99, 21] from Operation: 94-73=21 Current State: 40:[3, 99, 21], Operations: ['94-73=21'] Exploring Operation: 99+21=120, Resulting Numbers: [3, 120] Generated Node #3: [3, 120] from Operation: 99+21=120 Current State: 40:[3, 120], Operations: ['94-73=21', '99+21=120'] Exploring Operation: 120/3=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[73, 94, 3, 99], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [73, 3, 5] Generated Node #0,0: 40:[73, 3, 5] Operation: 99-94=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[73, 3, 5], Operations: ['99-94=5'] Exploring Operation: 73-5=68, Resulting Numbers: [3, 68] Generated Node #0,0,0: 40:[3, 68] Operation: 73-5=68 Moving to Node #0,0,0 Current State: 40:[3, 68], Operations: ['99-94=5', '73-5=68'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,40 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
[ 69, 90, 70, 63 ]
55
[ "69-63=6", "90/6=15", "70-15=55" ]
Current State: 55:[69, 90, 70, 63], Operations: [] Exploring Operation: 69-63=6, Resulting Numbers: [90, 70, 6] Generated Node #2: [90, 70, 6] from Operation: 69-63=6 Current State: 55:[90, 70, 6], Operations: ['69-63=6'] Exploring Operation: 90/6=15, Resulting Numbers: [70, 15] Generated Node #3: [70, 15] from Operation: 90/6=15 Current State: 55:[70, 15], Operations: ['69-63=6', '90/6=15'] Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[69, 90, 70, 63], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [69, 63, 20] Generated Node #0,0: 55:[69, 63, 20] Operation: 90-70=20 Moving to Node #0,0 Current State: 55:[69, 63, 20], Operations: ['90-70=20'] Exploring Operation: 69-63=6, Resulting Numbers: [20, 6] Generated Node #0,0,0: 55:[20, 6] Operation: 69-63=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[20, 6], Operations: ['90-70=20', '69-63=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,55 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
[ 93, 3, 33, 25 ]
98
[ "93-3=90", "33-25=8", "90+8=98" ]
Current State: 98:[93, 3, 33, 25], Operations: [] Exploring Operation: 93-3=90, Resulting Numbers: [33, 25, 90] Generated Node #2: [33, 25, 90] from Operation: 93-3=90 Current State: 98:[33, 25, 90], Operations: ['93-3=90'] Exploring Operation: 33-25=8, Resulting Numbers: [90, 8] Generated Node #3: [90, 8] from Operation: 33-25=8 Current State: 98:[90, 8], Operations: ['93-3=90', '33-25=8'] Exploring Operation: 90+8=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[93, 3, 33, 25], Operations: [] Exploring Operation: 33+25=58, Resulting Numbers: [93, 3, 58] Generated Node #0,0: 98:[93, 3, 58] Operation: 33+25=58 Exploring Operation: 33-25=8, Resulting Numbers: [93, 3, 8] Generated Node #0,1: 98:[93, 3, 8] Operation: 33-25=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[93, 3, 8], Operations: ['33-25=8'] Exploring Operation: 93+3=96, Resulting Numbers: [8, 96] Generated Node #0,1,0: 98:[8, 96] Operation: 93+3=96 Exploring Operation: 93+8=101, Resulting Numbers: [3, 101] Generated Node #0,1,1: 98:[3, 101] Operation: 93+8=101 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[8, 96], Operations: ['33-25=8', '93+3=96'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,98 unequal: No Solution Exploring Operation: 8+96=104, Resulting Numbers: [104] 104,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[3, 101], Operations: ['33-25=8', '93+8=101'] Exploring Operation: 3+101=104, Resulting Numbers: [104] 104,98 unequal: No Solution Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[93, 3, 33, 25], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [93, 3, 8] Generated Node #0,1: 98:[93, 3, 8] Operation: 33-25=8 Moving to Node #0,1 Current State: 98:[93, 3, 8], Operations: ['33-25=8'] Exploring Operation: 93+8=101, Resulting Numbers: [3, 101] Generated Node #0,1,1: 98:[3, 101] Operation: 93+8=101 Moving to Node #0,1,1 Current State: 98:[3, 101], Operations: ['33-25=8', '93+8=101'] Exploring Operation: 101-3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 72, 98, 35, 16 ]
20
[ "72-16=56", "35*56=1960", "1960/98=20" ]
Current State: 20:[72, 98, 35, 16], Operations: [] Exploring Operation: 72-16=56, Resulting Numbers: [98, 35, 56] Generated Node #2: [98, 35, 56] from Operation: 72-16=56 Current State: 20:[98, 35, 56], Operations: ['72-16=56'] Exploring Operation: 35*56=1960, Resulting Numbers: [98, 1960] Generated Node #3: [98, 1960] from Operation: 35*56=1960 Current State: 20:[98, 1960], Operations: ['72-16=56', '35*56=1960'] Exploring Operation: 1960/98=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[72, 98, 35, 16], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [98, 16, 37] Generated Node #0,0: 20:[98, 16, 37] Operation: 72-35=37 Exploring Operation: 98-35=63, Resulting Numbers: [72, 16, 63] Generated Node #0,1: 20:[72, 16, 63] Operation: 98-35=63 Exploring Operation: 98-72=26, Resulting Numbers: [35, 16, 26] Generated Node #0,2: 20:[35, 16, 26] Operation: 98-72=26 Exploring Operation: 72-16=56, Resulting Numbers: [98, 35, 56] Generated Node #0,3: 20:[98, 35, 56] Operation: 72-16=56 Exploring Operation: 98-16=82, Resulting Numbers: [72, 35, 82] Generated Node #0,4: 20:[72, 35, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[35, 16, 26], Operations: ['98-72=26'] Exploring Operation: 35+16=51, Resulting Numbers: [26, 51] Generated Node #0,2,0: 20:[26, 51] Operation: 35+16=51 Exploring Operation: 16+26=42, Resulting Numbers: [35, 42] Generated Node #0,2,1: 20:[35, 42] Operation: 16+26=42 Exploring Operation: 26-16=10, Resulting Numbers: [35, 10] Generated Node #0,2,2: 20:[35, 10] Operation: 26-16=10 Exploring Operation: 35-16=19, Resulting Numbers: [26, 19] Generated Node #0,2,3: 20:[26, 19] Operation: 35-16=19 Exploring Operation: 35-26=9, Resulting Numbers: [16, 9] Generated Node #0,2,4: 20:[16, 9] Operation: 35-26=9 Moving to Node #0,2,4 Current State: 20:[16, 9], Operations: ['98-72=26', '35-26=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[26, 19], Operations: ['98-72=26', '35-16=19'] Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,20 unequal: No Solution Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[35, 10], Operations: ['98-72=26', '26-16=10'] Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,20 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[26, 51], Operations: ['98-72=26', '35+16=51'] Exploring Operation: 26+51=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 26*51=1326, Resulting Numbers: [1326] 1326,20 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[35, 42], Operations: ['98-72=26', '16+26=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,20 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,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 Current State: 20:[98, 16, 37], Operations: ['72-35=37'] Exploring Operation: 98+16=114, Resulting Numbers: [37, 114] Generated Node #0,0,0: 20:[37, 114] Operation: 98+16=114 Exploring Operation: 37-16=21, Resulting Numbers: [98, 21] Generated Node #0,0,1: 20:[98, 21] Operation: 37-16=21 Exploring Operation: 98-37=61, Resulting Numbers: [16, 61] Generated Node #0,0,2: 20:[16, 61] Operation: 98-37=61 Exploring Operation: 16+37=53, Resulting Numbers: [98, 53] Generated Node #0,0,3: 20:[98, 53] Operation: 16+37=53 Exploring Operation: 98-16=82, Resulting Numbers: [37, 82] Generated Node #0,0,4: 20:[37, 82] Operation: 98-16=82 Moving to Node #0,0,2 Current State: 20:[16, 61], Operations: ['72-35=37', '98-37=61'] Exploring Operation: 16+61=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 16*61=976, Resulting Numbers: [976] 976,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[37, 82], Operations: ['72-35=37', '98-16=82'] Exploring Operation: 37*82=3034, Resulting Numbers: [3034] 3034,20 unequal: No Solution Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 37+82=119, Resulting Numbers: [119] 119,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[98, 21], Operations: ['72-35=37', '37-16=21'] Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,20 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[37, 114], Operations: ['72-35=37', '98+16=114'] Exploring Operation: 37+114=151, Resulting Numbers: [151] 151,20 unequal: No Solution Exploring Operation: 37*114=4218, Resulting Numbers: [4218] 4218,20 unequal: No Solution Exploring Operation: 114-37=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[98, 53], Operations: ['72-35=37', '16+37=53'] Exploring Operation: 98-53=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 98*53=5194, Resulting Numbers: [5194] 5194,20 unequal: No Solution Exploring Operation: 98+53=151, Resulting Numbers: [151] 151,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,1 Current State: 20:[72, 16, 63], Operations: ['98-35=63'] Exploring Operation: 63-16=47, Resulting Numbers: [72, 47] Generated Node #0,1,0: 20:[72, 47] Operation: 63-16=47 Exploring Operation: 72+16=88, Resulting Numbers: [63, 88] Generated Node #0,1,1: 20:[63, 88] Operation: 72+16=88 Exploring Operation: 16+63=79, Resulting Numbers: [72, 79] Generated Node #0,1,2: 20:[72, 79] Operation: 16+63=79 Exploring Operation: 72-63=9, Resulting Numbers: [16, 9] Generated Node #0,1,3: 20:[16, 9] Operation: 72-63=9 Exploring Operation: 72-16=56, Resulting Numbers: [63, 56] Generated Node #0,1,4: 20:[63, 56] Operation: 72-16=56 Moving to Node #0,1,3 Current State: 20:[16, 9], Operations: ['98-35=63', '72-63=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,20 unequal: No Solution Moving to Node #0,1,4 Current State: 20:[63, 56], Operations: ['98-35=63', '72-16=56'] Exploring Operation: 63+56=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 63*56=3528, Resulting Numbers: [3528] 3528,20 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[72, 47], Operations: ['98-35=63', '63-16=47'] Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,20 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[63, 88], Operations: ['98-35=63', '72+16=88'] Exploring Operation: 63*88=5544, Resulting Numbers: [5544] 5544,20 unequal: No Solution Exploring Operation: 88-63=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 63+88=151, Resulting Numbers: [151] 151,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[72, 79], Operations: ['98-35=63', '16+63=79'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,20 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,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,3 Current State: 20:[98, 35, 56], Operations: ['72-16=56'] Exploring Operation: 98+56=154, Resulting Numbers: [35, 154] Generated Node #0,3,0: 20:[35, 154] Operation: 98+56=154 Exploring Operation: 98-56=42, Resulting Numbers: [35, 42] Generated Node #0,3,1: 20:[35, 42] Operation: 98-56=42 Exploring Operation: 56-35=21, Resulting Numbers: [98, 21] Generated Node #0,3,2: 20:[98, 21] Operation: 56-35=21 Exploring Operation: 98-35=63, Resulting Numbers: [56, 63] Generated Node #0,3,3: 20:[56, 63] Operation: 98-35=63 Exploring Operation: 98+35=133, Resulting Numbers: [56, 133] Generated Node #0,3,4: 20:[56, 133] Operation: 98+35=133 Moving to Node #0,3,1 Current State: 20:[35, 42], Operations: ['72-16=56', '98-56=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,20 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,20 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[56, 63], Operations: ['72-16=56', '98-35=63'] Exploring Operation: 56*63=3528, Resulting Numbers: [3528] 3528,20 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 56+63=119, Resulting Numbers: [119] 119,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[98, 21], Operations: ['72-16=56', '56-35=21'] Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,20 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[35, 154], Operations: ['72-16=56', '98+56=154'] Exploring Operation: 35+154=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 154-35=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 35*154=5390, Resulting Numbers: [5390] 5390,20 unequal: No Solution Moving to Node #0,3,4 Current State: 20:[56, 133], Operations: ['72-16=56', '98+35=133'] Exploring Operation: 56*133=7448, Resulting Numbers: [7448] 7448,20 unequal: No Solution Exploring Operation: 56+133=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 133-56=77, Resulting Numbers: [77] 77,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,4 Current State: 20:[72, 35, 82], Operations: ['98-16=82'] Exploring Operation: 72-35=37, Resulting Numbers: [82, 37] Generated Node #0,4,0: 20:[82, 37] Operation: 72-35=37 Exploring Operation: 72+82=154, Resulting Numbers: [35, 154] Generated Node #0,4,1: 20:[35, 154] Operation: 72+82=154 Exploring Operation: 72+35=107, Resulting Numbers: [82, 107] Generated Node #0,4,2: 20:[82, 107] Operation: 72+35=107 Exploring Operation: 82-35=47, Resulting Numbers: [72, 47] Generated Node #0,4,3: 20:[72, 47] Operation: 82-35=47 Exploring Operation: 82-72=10, Resulting Numbers: [35, 10] Generated Node #0,4,4: 20:[35, 10] Operation: 82-72=10 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 20:[35, 10], Operations: ['98-16=82', '82-72=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,20 unequal: No Solution Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[82, 37], Operations: ['98-16=82', '72-35=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 82+37=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 82*37=3034, Resulting Numbers: [3034] 3034,20 unequal: No Solution No 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: 20:[72, 47], Operations: ['98-16=82', '82-35=47'] Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,20 unequal: No Solution Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,20 unequal: No Solution No 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: 20:[35, 154], Operations: ['98-16=82', '72+82=154'] Exploring Operation: 35*154=5390, Resulting Numbers: [5390] 5390,20 unequal: No Solution Exploring Operation: 154-35=119, Resulting Numbers: [119] 119,20 unequal: No Solution Exploring Operation: 35+154=189, Resulting Numbers: [189] 189,20 unequal: No Solution No 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: 20:[82, 107], Operations: ['98-16=82', '72+35=107'] Exploring Operation: 82*107=8774, Resulting Numbers: [8774] 8774,20 unequal: No Solution Exploring Operation: 82+107=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 107-82=25, Resulting Numbers: [25] 25,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 15, 7, 82, 9 ]
81
[ "15-7=8", "82-9=73", "8+73=81" ]
Current State: 81:[15, 7, 82, 9], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [82, 9, 8] Generated Node #2: [82, 9, 8] from Operation: 15-7=8 Current State: 81:[82, 9, 8], Operations: ['15-7=8'] Exploring Operation: 82-9=73, Resulting Numbers: [8, 73] Generated Node #3: [8, 73] from Operation: 82-9=73 Current State: 81:[8, 73], Operations: ['15-7=8', '82-9=73'] Exploring Operation: 8+73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[15, 7, 82, 9], Operations: [] Exploring Operation: 15-7=8, Resulting Numbers: [82, 9, 8] Generated Node #0,0: 81:[82, 9, 8] Operation: 15-7=8 Exploring Operation: 9-7=2, Resulting Numbers: [15, 82, 2] Generated Node #0,1: 81:[15, 82, 2] Operation: 9-7=2 Exploring Operation: 15+9=24, Resulting Numbers: [7, 82, 24] Generated Node #0,2: 81:[7, 82, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [7, 82, 6] Generated Node #0,3: 81:[7, 82, 6] Operation: 15-9=6 Exploring Operation: 15+7=22, Resulting Numbers: [82, 9, 22] Generated Node #0,4: 81:[82, 9, 22] Operation: 15+7=22 Moving to Node #0,0 Current State: 81:[82, 9, 8], Operations: ['15-7=8'] Exploring Operation: 82+8=90, Resulting Numbers: [9, 90] Generated Node #0,0,0: 81:[9, 90] Operation: 82+8=90 Exploring Operation: 9-8=1, Resulting Numbers: [82, 1] Generated Node #0,0,1: 81:[82, 1] Operation: 9-8=1 Exploring Operation: 82-9=73, Resulting Numbers: [8, 73] Generated Node #0,0,2: 81:[8, 73] Operation: 82-9=73 Exploring Operation: 9+8=17, Resulting Numbers: [82, 17] Generated Node #0,0,3: 81:[82, 17] Operation: 9+8=17 Exploring Operation: 82-8=74, Resulting Numbers: [9, 74] Generated Node #0,0,4: 81:[9, 74] Operation: 82-8=74 Moving to Node #0,3 Current State: 81:[7, 82, 6], Operations: ['15-9=6'] Exploring Operation: 82-7=75, Resulting Numbers: [6, 75] Generated Node #0,3,0: 81:[6, 75] Operation: 82-7=75 Exploring Operation: 82-6=76, Resulting Numbers: [7, 76] Generated Node #0,3,1: 81:[7, 76] Operation: 82-6=76 Exploring Operation: 82+6=88, Resulting Numbers: [7, 88] Generated Node #0,3,2: 81:[7, 88] Operation: 82+6=88 Exploring Operation: 7+6=13, Resulting Numbers: [82, 13] Generated Node #0,3,3: 81:[82, 13] Operation: 7+6=13 Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,3,4: 81:[82, 1] Operation: 7-6=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 81:[82, 1], Operations: ['15-9=6', '7-6=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[15, 7, 82, 9], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [7, 82, 6] Generated Node #0,3: 81:[7, 82, 6] Operation: 15-9=6 Moving to Node #0,3 Current State: 81:[7, 82, 6], Operations: ['15-9=6'] Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,3,4: 81:[82, 1] Operation: 7-6=1 Moving to Node #0,3,4 Current State: 81:[82, 1], Operations: ['15-9=6', '7-6=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 35, 74, 33, 99 ]
49
[ "35-33=2", "74*2=148", "148-99=49" ]
Current State: 49:[35, 74, 33, 99], Operations: [] Exploring Operation: 35-33=2, Resulting Numbers: [74, 99, 2] Generated Node #2: [74, 99, 2] from Operation: 35-33=2 Current State: 49:[74, 99, 2], Operations: ['35-33=2'] Exploring Operation: 74*2=148, Resulting Numbers: [99, 148] Generated Node #3: [99, 148] from Operation: 74*2=148 Current State: 49:[99, 148], Operations: ['35-33=2', '74*2=148'] Exploring Operation: 148-99=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[35, 74, 33, 99], Operations: [] Exploring Operation: 99-35=64, Resulting Numbers: [74, 33, 64] Generated Node #0,0: 49:[74, 33, 64] Operation: 99-35=64 Exploring Operation: 99/33=3, Resulting Numbers: [35, 74, 3] Generated Node #0,1: 49:[35, 74, 3] Operation: 99/33=3 Exploring Operation: 99-74=25, Resulting Numbers: [35, 33, 25] Generated Node #0,2: 49:[35, 33, 25] Operation: 99-74=25 Moving to Node #0,1 Current State: 49:[35, 74, 3], Operations: ['99/33=3'] Exploring Operation: 35+3=38, Resulting Numbers: [74, 38] Generated Node #0,1,0: 49:[74, 38] Operation: 35+3=38 Exploring Operation: 74-3=71, Resulting Numbers: [35, 71] Generated Node #0,1,1: 49:[35, 71] Operation: 74-3=71 Exploring Operation: 74-35=39, Resulting Numbers: [3, 39] Generated Node #0,1,2: 49:[3, 39] Operation: 74-35=39 Moving to Node #0,2 Current State: 49:[35, 33, 25], Operations: ['99-74=25'] Exploring Operation: 35-25=10, Resulting Numbers: [33, 10] Generated Node #0,2,0: 49:[33, 10] Operation: 35-25=10 Exploring Operation: 33-25=8, Resulting Numbers: [35, 8] Generated Node #0,2,1: 49:[35, 8] Operation: 33-25=8 Exploring Operation: 35-33=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 49:[25, 2] Operation: 35-33=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[35, 8], Operations: ['99-74=25', '33-25=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,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:[33, 10], Operations: ['99-74=25', '35-25=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,49 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,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:[25, 2], Operations: ['99-74=25', '35-33=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,49 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: 49:[74, 33, 64], Operations: ['99-35=64'] Exploring Operation: 64-33=31, Resulting Numbers: [74, 31] Generated Node #0,0,0: 49:[74, 31] Operation: 64-33=31 Exploring Operation: 74-64=10, Resulting Numbers: [33, 10] Generated Node #0,0,1: 49:[33, 10] Operation: 74-64=10 Exploring Operation: 74-33=41, Resulting Numbers: [64, 41] Generated Node #0,0,2: 49:[64, 41] Operation: 74-33=41 Moving to Node #0,1,2 Current State: 49:[3, 39], Operations: ['99/33=3', '74-35=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,49 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[33, 10], Operations: ['99-35=64', '74-64=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,49 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,49 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[64, 41], Operations: ['99-35=64', '74-33=41'] Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,49 unequal: No Solution Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[35, 71], Operations: ['99/33=3', '74-3=71'] Exploring Operation: 35*71=2485, Resulting Numbers: [2485] 2485,49 unequal: No Solution Exploring Operation: 35+71=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 71-35=36, Resulting Numbers: [36] 36,49 unequal: No Solution Moving to Node #0,1,0 Current State: 49:[74, 38], Operations: ['99/33=3', '35+3=38'] Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,49 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,49 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[74, 31], Operations: ['99-35=64', '64-33=31'] Exploring Operation: 74*31=2294, Resulting Numbers: [2294] 2294,49 unequal: No Solution Exploring Operation: 74+31=105, Resulting Numbers: [105] 105,49 unequal: No Solution Exploring Operation: 74-31=43, Resulting Numbers: [43] 43,49 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 13, 51, 12 ]
15
[ "80*12=960", "13+51=64", "960/64=15" ]
Current State: 15:[80, 13, 51, 12], Operations: [] Exploring Operation: 80*12=960, Resulting Numbers: [13, 51, 960] Generated Node #2: [13, 51, 960] from Operation: 80*12=960 Current State: 15:[13, 51, 960], Operations: ['80*12=960'] Exploring Operation: 13+51=64, Resulting Numbers: [960, 64] Generated Node #3: [960, 64] from Operation: 13+51=64 Current State: 15:[960, 64], Operations: ['80*12=960', '13+51=64'] Exploring Operation: 960/64=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 13, 51, 12], Operations: [] Exploring Operation: 80-13=67, Resulting Numbers: [51, 12, 67] Generated Node #0,0: 15:[51, 12, 67] Operation: 80-13=67 Exploring Operation: 80-51=29, Resulting Numbers: [13, 12, 29] Generated Node #0,1: 15:[13, 12, 29] Operation: 80-51=29 Moving to Node #0,1 Current State: 15:[13, 12, 29], Operations: ['80-51=29'] Exploring Operation: 29-12=17, Resulting Numbers: [13, 17] Generated Node #0,1,0: 15:[13, 17] Operation: 29-12=17 Exploring Operation: 29-13=16, Resulting Numbers: [12, 16] Generated Node #0,1,1: 15:[12, 16] Operation: 29-13=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[13, 17], Operations: ['80-51=29', '29-12=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,15 unequal: No Solution No solution 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: 15:[12, 16], Operations: ['80-51=29', '29-13=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,15 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: 15:[51, 12, 67], Operations: ['80-13=67'] Exploring Operation: 51-12=39, Resulting Numbers: [67, 39] Generated Node #0,0,0: 15:[67, 39] Operation: 51-12=39 Exploring Operation: 67-51=16, Resulting Numbers: [12, 16] Generated Node #0,0,1: 15:[12, 16] Operation: 67-51=16 Moving to Node #0,0,1 Current State: 15:[12, 16], Operations: ['80-13=67', '67-51=16'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,15 unequal: No Solution Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[67, 39], Operations: ['80-13=67', '51-12=39'] Exploring Operation: 67-39=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 67+39=106, Resulting Numbers: [106] 106,15 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 93, 30, 70, 46 ]
32
[ "93-70=23", "46/23=2", "30+2=32" ]
Current State: 32:[93, 30, 70, 46], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [30, 46, 23] Generated Node #2: [30, 46, 23] from Operation: 93-70=23 Current State: 32:[30, 46, 23], Operations: ['93-70=23'] Exploring Operation: 46/23=2, Resulting Numbers: [30, 2] Generated Node #3: [30, 2] from Operation: 46/23=2 Current State: 32:[30, 2], Operations: ['93-70=23', '46/23=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[93, 30, 70, 46], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [30, 70, 47] Generated Node #0,0: 32:[30, 70, 47] Operation: 93-46=47 Exploring Operation: 70-46=24, Resulting Numbers: [93, 30, 24] Generated Node #0,1: 32:[93, 30, 24] Operation: 70-46=24 Exploring Operation: 93-30=63, Resulting Numbers: [70, 46, 63] Generated Node #0,2: 32:[70, 46, 63] Operation: 93-30=63 Exploring Operation: 93-70=23, Resulting Numbers: [30, 46, 23] Generated Node #0,3: 32:[30, 46, 23] Operation: 93-70=23 Moving to Node #0,3 Current State: 32:[30, 46, 23], Operations: ['93-70=23'] Exploring Operation: 46/23=2, Resulting Numbers: [30, 2] Generated Node #0,3,0: 32:[30, 2] Operation: 46/23=2 Exploring Operation: 30-23=7, Resulting Numbers: [46, 7] Generated Node #0,3,1: 32:[46, 7] Operation: 30-23=7 Exploring Operation: 46-23=23, Resulting Numbers: [30, 23] Generated Node #0,3,2: 32:[30, 23] Operation: 46-23=23 Exploring Operation: 46-30=16, Resulting Numbers: [23, 16] Generated Node #0,3,3: 32:[23, 16] Operation: 46-30=16 Moving to Node #0,0 Current State: 32:[30, 70, 47], Operations: ['93-46=47'] Exploring Operation: 47-30=17, Resulting Numbers: [70, 17] Generated Node #0,0,0: 32:[70, 17] Operation: 47-30=17 Exploring Operation: 70-47=23, Resulting Numbers: [30, 23] Generated Node #0,0,1: 32:[30, 23] Operation: 70-47=23 Exploring Operation: 70-30=40, Resulting Numbers: [47, 40] Generated Node #0,0,2: 32:[47, 40] Operation: 70-30=40 Exploring Operation: 30+70=100, Resulting Numbers: [47, 100] Generated Node #0,0,3: 32:[47, 100] Operation: 30+70=100 Moving to Node #0,1 Current State: 32:[93, 30, 24], Operations: ['70-46=24'] Exploring Operation: 93-24=69, Resulting Numbers: [30, 69] Generated Node #0,1,0: 32:[30, 69] Operation: 93-24=69 Exploring Operation: 30-24=6, Resulting Numbers: [93, 6] Generated Node #0,1,1: 32:[93, 6] Operation: 30-24=6 Exploring Operation: 93-30=63, Resulting Numbers: [24, 63] Generated Node #0,1,2: 32:[24, 63] Operation: 93-30=63 Exploring Operation: 30+24=54, Resulting Numbers: [93, 54] Generated Node #0,1,3: 32:[93, 54] Operation: 30+24=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[30, 69], Operations: ['70-46=24', '93-24=69'] Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 30*69=2070, Resulting Numbers: [2070] 2070,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[24, 63], Operations: ['70-46=24', '93-30=63'] Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,32 unequal: No Solution Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[93, 6], Operations: ['70-46=24', '30-24=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,32 unequal: No Solution Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 93*6=558, Resulting Numbers: [558] 558,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 32:[93, 54], Operations: ['70-46=24', '30+24=54'] Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,32 unequal: No Solution Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 32:[70, 46, 63], Operations: ['93-30=63'] Exploring Operation: 70-46=24, Resulting Numbers: [63, 24] Generated Node #0,2,0: 32:[63, 24] Operation: 70-46=24 Exploring Operation: 63-46=17, Resulting Numbers: [70, 17] Generated Node #0,2,1: 32:[70, 17] Operation: 63-46=17 Exploring Operation: 70+46=116, Resulting Numbers: [63, 116] Generated Node #0,2,2: 32:[63, 116] Operation: 70+46=116 Exploring Operation: 70-63=7, Resulting Numbers: [46, 7] Generated Node #0,2,3: 32:[46, 7] Operation: 70-63=7 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[46, 7], Operations: ['93-30=63', '70-63=7'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 46*7=322, Resulting Numbers: [322] 322,32 unequal: No Solution Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[63, 24], Operations: ['93-30=63', '70-46=24'] Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,32 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,32 unequal: No Solution Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[70, 17], Operations: ['93-30=63', '63-46=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,32 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[63, 116], Operations: ['93-30=63', '70+46=116'] Exploring Operation: 63*116=7308, Resulting Numbers: [7308] 7308,32 unequal: No Solution Exploring Operation: 63+116=179, Resulting Numbers: [179] 179,32 unequal: No Solution Exploring Operation: 116-63=53, Resulting Numbers: [53] 53,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 32:[30, 2], Operations: ['93-70=23', '46/23=2'] Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[93, 30, 70, 46], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [30, 46, 23] Generated Node #0,3: 32:[30, 46, 23] Operation: 93-70=23 Moving to Node #0,3 Current State: 32:[30, 46, 23], Operations: ['93-70=23'] Exploring Operation: 46/23=2, Resulting Numbers: [30, 2] Generated Node #0,3,0: 32:[30, 2] Operation: 46/23=2 Moving to Node #0,3,0 Current State: 32:[30, 2], Operations: ['93-70=23', '46/23=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.956597
hs_4
sum_heuristic
[ 96, 46, 38, 58 ]
50
[ "38*58=2204", "96+2204=2300", "2300/46=50" ]
Current State: 50:[96, 46, 38, 58], Operations: [] Exploring Operation: 38*58=2204, Resulting Numbers: [96, 46, 2204] Generated Node #2: [96, 46, 2204] from Operation: 38*58=2204 Current State: 50:[96, 46, 2204], Operations: ['38*58=2204'] Exploring Operation: 96+2204=2300, Resulting Numbers: [46, 2300] Generated Node #3: [46, 2300] from Operation: 96+2204=2300 Current State: 50:[46, 2300], Operations: ['38*58=2204', '96+2204=2300'] Exploring Operation: 2300/46=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[96, 46, 38, 58], Operations: [] Exploring Operation: 96-58=38, Resulting Numbers: [46, 38, 38] Generated Node #0,0: 50:[46, 38, 38] Operation: 96-58=38 Exploring Operation: 96-46=50, Resulting Numbers: [38, 58, 50] Generated Node #0,1: 50:[38, 58, 50] Operation: 96-46=50 Exploring Operation: 96-38=58, Resulting Numbers: [46, 58, 58] Generated Node #0,2: 50:[46, 58, 58] Operation: 96-38=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[38, 58, 50], Operations: ['96-46=50'] Exploring Operation: 58-38=20, Resulting Numbers: [50, 20] Generated Node #0,1,0: 50:[50, 20] Operation: 58-38=20 Exploring Operation: 50-38=12, Resulting Numbers: [58, 12] Generated Node #0,1,1: 50:[58, 12] Operation: 50-38=12 Exploring Operation: 58-50=8, Resulting Numbers: [38, 8] Generated Node #0,1,2: 50:[38, 8] Operation: 58-50=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[50, 20], Operations: ['96-46=50', '58-38=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,50 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,50 unequal: No Solution No 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: 50:[58, 12], Operations: ['96-46=50', '50-38=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,50 unequal: No Solution No 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: 50:[38, 8], Operations: ['96-46=50', '58-50=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,50 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,50 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: 50:[46, 58, 58], Operations: ['96-38=58'] Exploring Operation: 58-46=12, Resulting Numbers: [58, 12] Generated Node #0,2,0: 50:[58, 12] Operation: 58-46=12 Exploring Operation: 58/58=1, Resulting Numbers: [46, 1] Generated Node #0,2,1: 50:[46, 1] Operation: 58/58=1 Exploring Operation: 58-58=0, Resulting Numbers: [46, 0] Generated Node #0,2,2: 50:[46, 0] Operation: 58-58=0 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[46, 1], Operations: ['96-38=58', '58/58=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,50 unequal: No Solution No 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: 50:[46, 0], Operations: ['96-38=58', '58-58=0'] Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,50 unequal: No Solution No 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: 50:[58, 12], Operations: ['96-38=58', '58-46=12'] Exploring Operation: 58+12=70, Resulting Numbers: [70] 70,50 unequal: No Solution Exploring Operation: 58-12=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 58*12=696, Resulting Numbers: [696] 696,50 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: 50:[46, 38, 38], Operations: ['96-58=38'] Exploring Operation: 46-38=8, Resulting Numbers: [38, 8] Generated Node #0,0,0: 50:[38, 8] Operation: 46-38=8 Exploring Operation: 38-38=0, Resulting Numbers: [46, 0] Generated Node #0,0,1: 50:[46, 0] Operation: 38-38=0 Exploring Operation: 38/38=1, Resulting Numbers: [46, 1] Generated Node #0,0,2: 50:[46, 1] Operation: 38/38=1 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 50:[46, 1], Operations: ['96-58=38', '38/38=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,50 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,50 unequal: No Solution No 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: 50:[46, 0], Operations: ['96-58=38', '38-38=0'] Exploring Operation: 46*0=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 46+0=46, Resulting Numbers: [46] 46,50 unequal: No Solution No 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: 50:[38, 8], Operations: ['96-58=38', '46-38=8'] Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,50 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,50 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,50 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
[ 24, 36, 36, 16 ]
19
[ "36-24=12", "36/12=3", "16+3=19" ]
Current State: 19:[24, 36, 36, 16], Operations: [] Exploring Operation: 36-24=12, Resulting Numbers: [16, 12] Generated Node #2: [16, 12] from Operation: 36-24=12 Current State: 19:[16, 12], Operations: ['36-24=12'] Exploring Operation: 36/12=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 36/12=3 Current State: 19:[16, 3], Operations: ['36-24=12', '36/12=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[24, 36, 36, 16], Operations: [] Exploring Operation: 36-16=20, Resulting Numbers: [24, 36, 20] Generated Node #0,0: 19:[24, 36, 20] Operation: 36-16=20 Moving to Node #0,0 Current State: 19:[24, 36, 20], Operations: ['36-16=20'] Exploring Operation: 36-24=12, Resulting Numbers: [20, 12] Generated Node #0,0,0: 19:[20, 12] Operation: 36-24=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[20, 12], Operations: ['36-16=20', '36-24=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 6, 3, 87, 12 ]
97
[ "6/3=2", "87+12=99", "99-2=97" ]
Current State: 97:[6, 3, 87, 12], Operations: [] Exploring Operation: 6/3=2, Resulting Numbers: [87, 12, 2] Generated Node #2: [87, 12, 2] from Operation: 6/3=2 Current State: 97:[87, 12, 2], Operations: ['6/3=2'] Exploring Operation: 87+12=99, Resulting Numbers: [2, 99] Generated Node #3: [2, 99] from Operation: 87+12=99 Current State: 97:[2, 99], Operations: ['6/3=2', '87+12=99'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[6, 3, 87, 12], Operations: [] Exploring Operation: 6*12=72, Resulting Numbers: [3, 87, 72] Generated Node #0,0: 97:[3, 87, 72] Operation: 6*12=72 Exploring Operation: 3*12=36, Resulting Numbers: [6, 87, 36] Generated Node #0,1: 97:[6, 87, 36] Operation: 3*12=36 Moving to Node #0,0 Current State: 97:[3, 87, 72], Operations: ['6*12=72'] Exploring Operation: 3+87=90, Resulting Numbers: [72, 90] Generated Node #0,0,0: 97:[72, 90] Operation: 3+87=90 Exploring Operation: 3+72=75, Resulting Numbers: [87, 75] Generated Node #0,0,1: 97:[87, 75] Operation: 3+72=75 Moving to Node #0,1 Current State: 97:[6, 87, 36], Operations: ['3*12=36'] Exploring Operation: 6+87=93, Resulting Numbers: [36, 93] Generated Node #0,1,0: 97:[36, 93] Operation: 6+87=93 Exploring Operation: 6+36=42, Resulting Numbers: [87, 42] Generated Node #0,1,1: 97:[87, 42] Operation: 6+36=42 Moving to Node #0,0,0 Current State: 97:[72, 90], Operations: ['6*12=72', '3+87=90'] Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,97 unequal: No Solution Exploring Operation: 72+90=162, Resulting Numbers: [162] 162,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[87, 75], Operations: ['6*12=72', '3+72=75'] Exploring Operation: 87+75=162, Resulting Numbers: [162] 162,97 unequal: No Solution Exploring Operation: 87-75=12, Resulting Numbers: [12] 12,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[87, 42], Operations: ['3*12=36', '6+36=42'] Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[36, 93], Operations: ['3*12=36', '6+87=93'] Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 36+93=129, Resulting Numbers: [129] 129,97 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 63, 46, 95 ]
33
[ "63-47=16", "95-46=49", "49-16=33" ]
Current State: 33:[47, 63, 46, 95], Operations: [] Exploring Operation: 63-47=16, Resulting Numbers: [46, 95, 16] Generated Node #2: [46, 95, 16] from Operation: 63-47=16 Current State: 33:[46, 95, 16], Operations: ['63-47=16'] Exploring Operation: 95-46=49, Resulting Numbers: [16, 49] Generated Node #3: [16, 49] from Operation: 95-46=49 Current State: 33:[16, 49], Operations: ['63-47=16', '95-46=49'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[47, 63, 46, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [47, 63, 49] Generated Node #0,0: 33:[47, 63, 49] Operation: 95-46=49 Exploring Operation: 95-47=48, Resulting Numbers: [63, 46, 48] Generated Node #0,1: 33:[63, 46, 48] Operation: 95-47=48 Exploring Operation: 95-63=32, Resulting Numbers: [47, 46, 32] Generated Node #0,2: 33:[47, 46, 32] Operation: 95-63=32 Moving to Node #0,2 Current State: 33:[47, 46, 32], Operations: ['95-63=32'] Exploring Operation: 47-46=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 33:[32, 1] Operation: 47-46=1 Exploring Operation: 46-32=14, Resulting Numbers: [47, 14] Generated Node #0,2,1: 33:[47, 14] Operation: 46-32=14 Exploring Operation: 47-32=15, Resulting Numbers: [46, 15] Generated Node #0,2,2: 33:[46, 15] Operation: 47-32=15 Moving to Node #0,1 Current State: 33:[63, 46, 48], Operations: ['95-47=48'] Exploring Operation: 48-46=2, Resulting Numbers: [63, 2] Generated Node #0,1,0: 33:[63, 2] Operation: 48-46=2 Exploring Operation: 63-46=17, Resulting Numbers: [48, 17] Generated Node #0,1,1: 33:[48, 17] Operation: 63-46=17 Exploring Operation: 63-48=15, Resulting Numbers: [46, 15] Generated Node #0,1,2: 33:[46, 15] Operation: 63-48=15 Moving to Node #0,0 Current State: 33:[47, 63, 49], Operations: ['95-46=49'] Exploring Operation: 63-49=14, Resulting Numbers: [47, 14] Generated Node #0,0,0: 33:[47, 14] Operation: 63-49=14 Exploring Operation: 49-47=2, Resulting Numbers: [63, 2] Generated Node #0,0,1: 33:[63, 2] Operation: 49-47=2 Exploring Operation: 63-47=16, Resulting Numbers: [49, 16] Generated Node #0,0,2: 33:[49, 16] Operation: 63-47=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[47, 14], Operations: ['95-46=49', '63-49=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[47, 63, 46, 95], Operations: [] Exploring Operation: 95-46=49, Resulting Numbers: [47, 63, 49] Generated Node #0,0: 33:[47, 63, 49] Operation: 95-46=49 Moving to Node #0,0 Current State: 33:[47, 63, 49], Operations: ['95-46=49'] Exploring Operation: 63-49=14, Resulting Numbers: [47, 14] Generated Node #0,0,0: 33:[47, 14] Operation: 63-49=14 Moving to Node #0,0,0 Current State: 33:[47, 14], Operations: ['95-46=49', '63-49=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 54, 46, 8, 73 ]
35
[ "54+46=100", "73-8=65", "100-65=35" ]
Current State: 35:[54, 46, 8, 73], Operations: [] Exploring Operation: 54+46=100, Resulting Numbers: [8, 73, 100] Generated Node #2: [8, 73, 100] from Operation: 54+46=100 Current State: 35:[8, 73, 100], Operations: ['54+46=100'] Exploring Operation: 73-8=65, Resulting Numbers: [100, 65] Generated Node #3: [100, 65] from Operation: 73-8=65 Current State: 35:[100, 65], Operations: ['54+46=100', '73-8=65'] Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[54, 46, 8, 73], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [54, 8, 27] Generated Node #0,0: 35:[54, 8, 27] Operation: 73-46=27 Exploring Operation: 54-46=8, Resulting Numbers: [8, 73, 8] Generated Node #0,1: 35:[8, 73, 8] Operation: 54-46=8 Exploring Operation: 73-54=19, Resulting Numbers: [46, 8, 19] Generated Node #0,2: 35:[46, 8, 19] Operation: 73-54=19 Moving to Node #0,2 Current State: 35:[46, 8, 19], Operations: ['73-54=19'] Exploring Operation: 46-19=27, Resulting Numbers: [8, 27] Generated Node #0,2,0: 35:[8, 27] Operation: 46-19=27 Exploring Operation: 19-8=11, Resulting Numbers: [46, 11] Generated Node #0,2,1: 35:[46, 11] Operation: 19-8=11 Exploring Operation: 46-8=38, Resulting Numbers: [19, 38] Generated Node #0,2,2: 35:[19, 38] Operation: 46-8=38 Moving to Node #0,0 Current State: 35:[54, 8, 27], Operations: ['73-46=27'] Exploring Operation: 54-8=46, Resulting Numbers: [27, 46] Generated Node #0,0,0: 35:[27, 46] Operation: 54-8=46 Exploring Operation: 54-27=27, Resulting Numbers: [8, 27] Generated Node #0,0,1: 35:[8, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [8, 2] Generated Node #0,0,2: 35:[8, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[8, 2], Operations: ['73-46=27', '54/27=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,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:[8, 27], Operations: ['73-46=27', '54-27=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[54, 46, 8, 73], Operations: [] Exploring Operation: 73-46=27, Resulting Numbers: [54, 8, 27] Generated Node #0,0: 35:[54, 8, 27] Operation: 73-46=27 Moving to Node #0,0 Current State: 35:[54, 8, 27], Operations: ['73-46=27'] Exploring Operation: 54-27=27, Resulting Numbers: [8, 27] Generated Node #0,0,1: 35:[8, 27] Operation: 54-27=27 Moving to Node #0,0,1 Current State: 35:[8, 27], Operations: ['73-46=27', '54-27=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 71, 78, 20, 29 ]
16
[ "78-71=7", "29-20=9", "7+9=16" ]
Current State: 16:[71, 78, 20, 29], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [20, 29, 7] Generated Node #2: [20, 29, 7] from Operation: 78-71=7 Current State: 16:[20, 29, 7], Operations: ['78-71=7'] Exploring Operation: 29-20=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 29-20=9 Current State: 16:[7, 9], Operations: ['78-71=7', '29-20=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[71, 78, 20, 29], Operations: [] Exploring Operation: 71-29=42, Resulting Numbers: [78, 20, 42] Generated Node #0,0: 16:[78, 20, 42] Operation: 71-29=42 Exploring Operation: 78-71=7, Resulting Numbers: [20, 29, 7] Generated Node #0,1: 16:[20, 29, 7] Operation: 78-71=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[20, 29, 7], Operations: ['78-71=7'] Exploring Operation: 29-20=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 16:[7, 9] Operation: 29-20=9 Exploring Operation: 29-7=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 16:[20, 22] Operation: 29-7=22 Moving to Node #0,1,0 Current State: 16:[7, 9], Operations: ['78-71=7', '29-20=9'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[71, 78, 20, 29], Operations: [] Exploring Operation: 78-71=7, Resulting Numbers: [20, 29, 7] Generated Node #0,1: 16:[20, 29, 7] Operation: 78-71=7 Moving to Node #0,1 Current State: 16:[20, 29, 7], Operations: ['78-71=7'] Exploring Operation: 29-20=9, Resulting Numbers: [7, 9] Generated Node #0,1,0: 16:[7, 9] Operation: 29-20=9 Moving to Node #0,1,0 Current State: 16:[7, 9], Operations: ['78-71=7', '29-20=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 34, 73, 87, 46 ]
80
[ "73-34=39", "87-46=41", "39+41=80" ]
Current State: 80:[34, 73, 87, 46], Operations: [] Exploring Operation: 73-34=39, Resulting Numbers: [87, 46, 39] Generated Node #2: [87, 46, 39] from Operation: 73-34=39 Current State: 80:[87, 46, 39], Operations: ['73-34=39'] Exploring Operation: 87-46=41, Resulting Numbers: [39, 41] Generated Node #3: [39, 41] from Operation: 87-46=41 Current State: 80:[39, 41], Operations: ['73-34=39', '87-46=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[34, 73, 87, 46], Operations: [] Exploring Operation: 34+46=80, Resulting Numbers: [73, 87, 80] Generated Node #0,0: 80:[73, 87, 80] Operation: 34+46=80 Exploring Operation: 73-34=39, Resulting Numbers: [87, 46, 39] Generated Node #0,1: 80:[87, 46, 39] Operation: 73-34=39 Exploring Operation: 87-46=41, Resulting Numbers: [34, 73, 41] Generated Node #0,2: 80:[34, 73, 41] Operation: 87-46=41 Exploring Operation: 46-34=12, Resulting Numbers: [73, 87, 12] Generated Node #0,3: 80:[73, 87, 12] Operation: 46-34=12 Exploring Operation: 87-73=14, Resulting Numbers: [34, 46, 14] Generated Node #0,4: 80:[34, 46, 14] Operation: 87-73=14 Moving to Node #0,0 Current State: 80:[73, 87, 80], Operations: ['34+46=80'] Exploring Operation: 73+87=160, Resulting Numbers: [80, 160] Generated Node #0,0,0: 80:[80, 160] Operation: 73+87=160 Exploring Operation: 87-73=14, Resulting Numbers: [80, 14] Generated Node #0,0,1: 80:[80, 14] Operation: 87-73=14 Exploring Operation: 73+80=153, Resulting Numbers: [87, 153] Generated Node #0,0,2: 80:[87, 153] Operation: 73+80=153 Exploring Operation: 87-80=7, Resulting Numbers: [73, 7] Generated Node #0,0,3: 80:[73, 7] Operation: 87-80=7 Exploring Operation: 80-73=7, Resulting Numbers: [87, 7] Generated Node #0,0,4: 80:[87, 7] Operation: 80-73=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[80, 14], Operations: ['34+46=80', '87-73=14'] Exploring Operation: 80+14=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 80*14=1120, Resulting Numbers: [1120] 1120,80 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[73, 7], Operations: ['34+46=80', '87-80=7'] Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,80 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[34, 73, 87, 46], Operations: [] Exploring Operation: 34+46=80, Resulting Numbers: [73, 87, 80] Generated Node #0,0: 80:[73, 87, 80] Operation: 34+46=80 Moving to Node #0,0 Current State: 80:[73, 87, 80], Operations: ['34+46=80'] Exploring Operation: 87-80=7, Resulting Numbers: [73, 7] Generated Node #0,0,3: 80:[73, 7] Operation: 87-80=7 Moving to Node #0,0,3 Current State: 80:[73, 7], Operations: ['34+46=80', '87-80=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 4, 19, 29, 45 ]
52
[ "4*29=116", "19+45=64", "116-64=52" ]
Current State: 52:[4, 19, 29, 45], Operations: [] Exploring Operation: 4*29=116, Resulting Numbers: [19, 45, 116] Generated Node #2: [19, 45, 116] from Operation: 4*29=116 Current State: 52:[19, 45, 116], Operations: ['4*29=116'] Exploring Operation: 19+45=64, Resulting Numbers: [116, 64] Generated Node #3: [116, 64] from Operation: 19+45=64 Current State: 52:[116, 64], Operations: ['4*29=116', '19+45=64'] Exploring Operation: 116-64=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[4, 19, 29, 45], Operations: [] Exploring Operation: 45-19=26, Resulting Numbers: [4, 29, 26] Generated Node #0,0: 52:[4, 29, 26] Operation: 45-19=26 Exploring Operation: 29-19=10, Resulting Numbers: [4, 45, 10] Generated Node #0,1: 52:[4, 45, 10] Operation: 29-19=10 Exploring Operation: 19+29=48, Resulting Numbers: [4, 45, 48] Generated Node #0,2: 52:[4, 45, 48] Operation: 19+29=48 Exploring Operation: 45-29=16, Resulting Numbers: [4, 19, 16] Generated Node #0,3: 52:[4, 19, 16] Operation: 45-29=16 Exploring Operation: 19-4=15, Resulting Numbers: [29, 45, 15] Generated Node #0,4: 52:[29, 45, 15] Operation: 19-4=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 29, 26], Operations: ['45-19=26'] Exploring Operation: 29-4=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 52:[26, 25] Operation: 29-4=25 Exploring Operation: 29+26=55, Resulting Numbers: [4, 55] Generated Node #0,0,1: 52:[4, 55] Operation: 29+26=55 Exploring Operation: 4+29=33, Resulting Numbers: [26, 33] Generated Node #0,0,2: 52:[26, 33] Operation: 4+29=33 Exploring Operation: 29-26=3, Resulting Numbers: [4, 3] Generated Node #0,0,3: 52:[4, 3] Operation: 29-26=3 Exploring Operation: 4+26=30, Resulting Numbers: [29, 30] Generated Node #0,0,4: 52:[29, 30] Operation: 4+26=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[26, 25], Operations: ['45-19=26', '29-4=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 52:[4, 3], Operations: ['45-19=26', '29-26=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[4, 55], Operations: ['45-19=26', '29+26=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,52 unequal: No Solution Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[26, 33], Operations: ['45-19=26', '4+29=33'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,52 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 52:[29, 30], Operations: ['45-19=26', '4+26=30'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,52 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 52:[4, 19, 16], Operations: ['45-29=16'] Exploring Operation: 16-4=12, Resulting Numbers: [19, 12] Generated Node #0,3,0: 52:[19, 12] Operation: 16-4=12 Exploring Operation: 19-16=3, Resulting Numbers: [4, 3] Generated Node #0,3,1: 52:[4, 3] Operation: 19-16=3 Exploring Operation: 4+19=23, Resulting Numbers: [16, 23] Generated Node #0,3,2: 52:[16, 23] Operation: 4+19=23 Exploring Operation: 19-4=15, Resulting Numbers: [16, 15] Generated Node #0,3,3: 52:[16, 15] Operation: 19-4=15 Exploring Operation: 16/4=4, Resulting Numbers: [19, 4] Generated Node #0,3,4: 52:[19, 4] Operation: 16/4=4 Moving to Node #0,3,1 Current State: 52:[4, 3], Operations: ['45-29=16', '19-16=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[16, 15], Operations: ['45-29=16', '19-4=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,52 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[16, 23], Operations: ['45-29=16', '4+19=23'] Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,52 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,3,4 Current State: 52:[19, 4], Operations: ['45-29=16', '16/4=4'] Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,52 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,52 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[19, 12], Operations: ['45-29=16', '16-4=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,52 unequal: No Solution Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[4, 45, 10], Operations: ['29-19=10'] Exploring Operation: 4+45=49, Resulting Numbers: [10, 49] Generated Node #0,1,0: 52:[10, 49] Operation: 4+45=49 Exploring Operation: 45-10=35, Resulting Numbers: [4, 35] Generated Node #0,1,1: 52:[4, 35] Operation: 45-10=35 Exploring Operation: 4+10=14, Resulting Numbers: [45, 14] Generated Node #0,1,2: 52:[45, 14] Operation: 4+10=14 Exploring Operation: 10-4=6, Resulting Numbers: [45, 6] Generated Node #0,1,3: 52:[45, 6] Operation: 10-4=6 Exploring Operation: 45+10=55, Resulting Numbers: [4, 55] Generated Node #0,1,4: 52:[4, 55] Operation: 45+10=55 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 52:[4, 55], Operations: ['29-19=10', '45+10=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,52 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[10, 49], Operations: ['29-19=10', '4+45=49'] Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,52 unequal: No Solution Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 52:[45, 14], Operations: ['29-19=10', '4+10=14'] Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,52 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 52:[4, 35], Operations: ['29-19=10', '45-10=35'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 4*35=140, Resulting Numbers: [140] 140,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 52:[45, 6], Operations: ['29-19=10', '10-4=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[4, 45, 48], Operations: ['19+29=48'] Exploring Operation: 45-4=41, Resulting Numbers: [48, 41] Generated Node #0,2,0: 52:[48, 41] Operation: 45-4=41 Exploring Operation: 4+45=49, Resulting Numbers: [48, 49] Generated Node #0,2,1: 52:[48, 49] Operation: 4+45=49 Exploring Operation: 48-45=3, Resulting Numbers: [4, 3] Generated Node #0,2,2: 52:[4, 3] Operation: 48-45=3 Exploring Operation: 48/4=12, Resulting Numbers: [45, 12] Generated Node #0,2,3: 52:[45, 12] Operation: 48/4=12 Exploring Operation: 4+48=52, Resulting Numbers: [45, 52] Generated Node #0,2,4: 52:[45, 52] Operation: 4+48=52 Moving to Node #0,2,2 Current State: 52:[4, 3], Operations: ['19+29=48', '48-45=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[45, 52], Operations: ['19+29=48', '4+48=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,52 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,52 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[48, 49], Operations: ['19+29=48', '4+45=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,52 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,52 unequal: No Solution Moving to Node #0,2,3 Current State: 52:[45, 12], Operations: ['19+29=48', '48/4=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,52 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,52 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[48, 41], Operations: ['19+29=48', '45-4=41'] Exploring Operation: 48+41=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 48*41=1968, Resulting Numbers: [1968] 1968,52 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 52:[29, 45, 15], Operations: ['19-4=15'] Exploring Operation: 29-15=14, Resulting Numbers: [45, 14] Generated Node #0,4,0: 52:[45, 14] Operation: 29-15=14 Exploring Operation: 45-29=16, Resulting Numbers: [15, 16] Generated Node #0,4,1: 52:[15, 16] Operation: 45-29=16 Exploring Operation: 45-15=30, Resulting Numbers: [29, 30] Generated Node #0,4,2: 52:[29, 30] Operation: 45-15=30 Exploring Operation: 45/15=3, Resulting Numbers: [29, 3] Generated Node #0,4,3: 52:[29, 3] Operation: 45/15=3 Exploring Operation: 45+15=60, Resulting Numbers: [29, 60] Generated Node #0,4,4: 52:[29, 60] Operation: 45+15=60 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 52:[29, 3], Operations: ['19-4=15', '45/15=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 52:[15, 16], Operations: ['19-4=15', '45-29=16'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 52:[29, 30], Operations: ['19-4=15', '45-15=30'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 29*30=870, Resulting Numbers: [870] 870,52 unequal: No Solution Exploring Operation: 29+30=59, Resulting Numbers: [59] 59,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 52:[45, 14], Operations: ['19-4=15', '29-15=14'] Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,52 unequal: No Solution Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,52 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 52:[29, 60], Operations: ['19-4=15', '45+15=60'] Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 55, 13, 16, 8 ]
34
[ "55+13=68", "16/8=2", "68/2=34" ]
Current State: 34:[55, 13, 16, 8], Operations: [] Exploring Operation: 55+13=68, Resulting Numbers: [16, 8, 68] Generated Node #2: [16, 8, 68] from Operation: 55+13=68 Current State: 34:[16, 8, 68], Operations: ['55+13=68'] Exploring Operation: 16/8=2, Resulting Numbers: [68, 2] Generated Node #3: [68, 2] from Operation: 16/8=2 Current State: 34:[68, 2], Operations: ['55+13=68', '16/8=2'] Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[55, 13, 16, 8], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [16, 8, 42] Generated Node #0,0: 34:[16, 8, 42] Operation: 55-13=42 Exploring Operation: 55-16=39, Resulting Numbers: [13, 8, 39] Generated Node #0,1: 34:[13, 8, 39] Operation: 55-16=39 Exploring Operation: 55-8=47, Resulting Numbers: [13, 16, 47] Generated Node #0,2: 34:[13, 16, 47] Operation: 55-8=47 Moving to Node #0,0 Current State: 34:[16, 8, 42], Operations: ['55-13=42'] Exploring Operation: 16-8=8, Resulting Numbers: [42, 8] Generated Node #0,0,0: 34:[42, 8] Operation: 16-8=8 Exploring Operation: 42-8=34, Resulting Numbers: [16, 34] Generated Node #0,0,1: 34:[16, 34] Operation: 42-8=34 Exploring Operation: 16/8=2, Resulting Numbers: [42, 2] Generated Node #0,0,2: 34:[42, 2] Operation: 16/8=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[16, 34], Operations: ['55-13=42', '42-8=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,34 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,34 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[42, 2], Operations: ['55-13=42', '16/8=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,34 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[42, 8], Operations: ['55-13=42', '16-8=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[55, 13, 16, 8], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [16, 8, 42] Generated Node #0,0: 34:[16, 8, 42] Operation: 55-13=42 Moving to Node #0,0 Current State: 34:[16, 8, 42], Operations: ['55-13=42'] Exploring Operation: 16-8=8, Resulting Numbers: [42, 8] Generated Node #0,0,0: 34:[42, 8] Operation: 16-8=8 Moving to Node #0,0,0 Current State: 34:[42, 8], Operations: ['55-13=42', '16-8=8'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 78, 98, 59, 80 ]
40
[ "98-59=39", "78/39=2", "80/2=40" ]
Current State: 40:[78, 98, 59, 80], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [78, 80, 39] Generated Node #2: [78, 80, 39] from Operation: 98-59=39 Current State: 40:[78, 80, 39], Operations: ['98-59=39'] Exploring Operation: 78/39=2, Resulting Numbers: [80, 2] Generated Node #3: [80, 2] from Operation: 78/39=2 Current State: 40:[80, 2], Operations: ['98-59=39', '78/39=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[78, 98, 59, 80], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [59, 80, 20] Generated Node #0,0: 40:[59, 80, 20] Operation: 98-78=20 Exploring Operation: 98-80=18, Resulting Numbers: [78, 59, 18] Generated Node #0,1: 40:[78, 59, 18] Operation: 98-80=18 Exploring Operation: 98-59=39, Resulting Numbers: [78, 80, 39] Generated Node #0,2: 40:[78, 80, 39] Operation: 98-59=39 Exploring Operation: 80-78=2, Resulting Numbers: [98, 59, 2] Generated Node #0,3: 40:[98, 59, 2] Operation: 80-78=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[59, 80, 20], Operations: ['98-78=20'] Exploring Operation: 80-59=21, Resulting Numbers: [20, 21] Generated Node #0,0,0: 40:[20, 21] Operation: 80-59=21 Exploring Operation: 80/20=4, Resulting Numbers: [59, 4] Generated Node #0,0,1: 40:[59, 4] Operation: 80/20=4 Exploring Operation: 80-20=60, Resulting Numbers: [59, 60] Generated Node #0,0,2: 40:[59, 60] Operation: 80-20=60 Exploring Operation: 59-20=39, Resulting Numbers: [80, 39] Generated Node #0,0,3: 40:[80, 39] Operation: 59-20=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 40:[20, 21], Operations: ['98-78=20', '80-59=21'] Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,40 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,40 unequal: No Solution No 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: 40:[59, 4], Operations: ['98-78=20', '80/20=4'] Exploring Operation: 59+4=63, Resulting Numbers: [63] 63,40 unequal: No Solution Exploring Operation: 59*4=236, Resulting Numbers: [236] 236,40 unequal: No Solution Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,40 unequal: No Solution No 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: 40:[59, 60], Operations: ['98-78=20', '80-20=60'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,40 unequal: No Solution No 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: 40:[80, 39], Operations: ['98-78=20', '59-20=39'] Exploring Operation: 80*39=3120, Resulting Numbers: [3120] 3120,40 unequal: No Solution Exploring Operation: 80+39=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 80-39=41, Resulting Numbers: [41] 41,40 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: 40:[78, 59, 18], Operations: ['98-80=18'] Exploring Operation: 78-18=60, Resulting Numbers: [59, 60] Generated Node #0,1,0: 40:[59, 60] Operation: 78-18=60 Exploring Operation: 59-18=41, Resulting Numbers: [78, 41] Generated Node #0,1,1: 40:[78, 41] Operation: 59-18=41 Exploring Operation: 78+18=96, Resulting Numbers: [59, 96] Generated Node #0,1,2: 40:[59, 96] Operation: 78+18=96 Exploring Operation: 78-59=19, Resulting Numbers: [18, 19] Generated Node #0,1,3: 40:[18, 19] Operation: 78-59=19 Moving to Node #0,1,3 Current State: 40:[18, 19], Operations: ['98-80=18', '78-59=19'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,40 unequal: No Solution Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,1,1 Current State: 40:[78, 41], Operations: ['98-80=18', '59-18=41'] Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,40 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,1,0 Current State: 40:[59, 60], Operations: ['98-80=18', '78-18=60'] Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,40 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,40 unequal: No Solution Moving to Node #0,1,2 Current State: 40:[59, 96], Operations: ['98-80=18', '78+18=96'] Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,40 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,40 unequal: No Solution No 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: 40:[98, 59, 2], Operations: ['80-78=2'] Exploring Operation: 98/2=49, Resulting Numbers: [59, 49] Generated Node #0,3,0: 40:[59, 49] Operation: 98/2=49 Exploring Operation: 98-59=39, Resulting Numbers: [2, 39] Generated Node #0,3,1: 40:[2, 39] Operation: 98-59=39 Exploring Operation: 98-2=96, Resulting Numbers: [59, 96] Generated Node #0,3,2: 40:[59, 96] Operation: 98-2=96 Exploring Operation: 59-2=57, Resulting Numbers: [98, 57] Generated Node #0,3,3: 40:[98, 57] Operation: 59-2=57 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 40:[2, 39], Operations: ['80-78=2', '98-59=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,40 unequal: No Solution No 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: 40:[59, 49], Operations: ['80-78=2', '98/2=49'] Exploring Operation: 59+49=108, Resulting Numbers: [108] 108,40 unequal: No Solution Exploring Operation: 59*49=2891, Resulting Numbers: [2891] 2891,40 unequal: No Solution Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,40 unequal: No Solution No 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: 40:[59, 96], Operations: ['80-78=2', '98-2=96'] Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,40 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,40 unequal: No Solution No 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: 40:[98, 57], Operations: ['80-78=2', '59-2=57'] Exploring Operation: 98*57=5586, Resulting Numbers: [5586] 5586,40 unequal: No Solution Exploring Operation: 98+57=155, Resulting Numbers: [155] 155,40 unequal: No Solution Exploring Operation: 98-57=41, Resulting Numbers: [41] 41,40 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: 40:[78, 80, 39], Operations: ['98-59=39'] Exploring Operation: 80-78=2, Resulting Numbers: [39, 2] Generated Node #0,2,0: 40:[39, 2] Operation: 80-78=2 Exploring Operation: 78-39=39, Resulting Numbers: [80, 39] Generated Node #0,2,1: 40:[80, 39] Operation: 78-39=39 Exploring Operation: 80-39=41, Resulting Numbers: [78, 41] Generated Node #0,2,2: 40:[78, 41] Operation: 80-39=41 Exploring Operation: 78/39=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 40:[80, 2] Operation: 78/39=2 Moving to Node #0,2,0 Current State: 40:[39, 2], Operations: ['98-59=39', '80-78=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,40 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,40 unequal: No Solution Moving to Node #0,2,2 Current State: 40:[78, 41], Operations: ['98-59=39', '80-39=41'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,40 unequal: No Solution Exploring Operation: 78*41=3198, Resulting Numbers: [3198] 3198,40 unequal: No Solution Exploring Operation: 78+41=119, Resulting Numbers: [119] 119,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[80, 2], Operations: ['98-59=39', '78/39=2'] Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,40 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,40 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,40 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[78, 98, 59, 80], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [78, 80, 39] Generated Node #0,2: 40:[78, 80, 39] Operation: 98-59=39 Moving to Node #0,2 Current State: 40:[78, 80, 39], Operations: ['98-59=39'] Exploring Operation: 78/39=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 40:[80, 2] Operation: 78/39=2 Moving to Node #0,2,3 Current State: 40:[80, 2], Operations: ['98-59=39', '78/39=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.939236
hs_4
sum_heuristic
[ 68, 19, 75, 84 ]
31
[ "75-68=7", "84/7=12", "19+12=31" ]
Current State: 31:[68, 19, 75, 84], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [19, 84, 7] Generated Node #2: [19, 84, 7] from Operation: 75-68=7 Current State: 31:[19, 84, 7], Operations: ['75-68=7'] Exploring Operation: 84/7=12, Resulting Numbers: [19, 12] Generated Node #3: [19, 12] from Operation: 84/7=12 Current State: 31:[19, 12], Operations: ['75-68=7', '84/7=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[68, 19, 75, 84], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [19, 84, 7] Generated Node #0,0: 31:[19, 84, 7] Operation: 75-68=7 Exploring Operation: 84-68=16, Resulting Numbers: [19, 75, 16] Generated Node #0,1: 31:[19, 75, 16] Operation: 84-68=16 Exploring Operation: 84-75=9, Resulting Numbers: [68, 19, 9] Generated Node #0,2: 31:[68, 19, 9] Operation: 84-75=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[19, 75, 16], Operations: ['84-68=16'] Exploring Operation: 19+16=35, Resulting Numbers: [75, 35] Generated Node #0,1,0: 31:[75, 35] Operation: 19+16=35 Exploring Operation: 75-19=56, Resulting Numbers: [16, 56] Generated Node #0,1,1: 31:[16, 56] Operation: 75-19=56 Exploring Operation: 75-16=59, Resulting Numbers: [19, 59] Generated Node #0,1,2: 31:[19, 59] Operation: 75-16=59 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[16, 56], Operations: ['84-68=16', '75-19=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,31 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[19, 59], Operations: ['84-68=16', '75-16=59'] Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,31 unequal: No Solution Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[75, 35], Operations: ['84-68=16', '19+16=35'] Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,31 unequal: No Solution Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[68, 19, 9], Operations: ['84-75=9'] Exploring Operation: 68-19=49, Resulting Numbers: [9, 49] Generated Node #0,2,0: 31:[9, 49] Operation: 68-19=49 Exploring Operation: 19+9=28, Resulting Numbers: [68, 28] Generated Node #0,2,1: 31:[68, 28] Operation: 19+9=28 Exploring Operation: 68-9=59, Resulting Numbers: [19, 59] Generated Node #0,2,2: 31:[19, 59] Operation: 68-9=59 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[9, 49], Operations: ['84-75=9', '68-19=49'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 9*49=441, Resulting Numbers: [441] 441,31 unequal: No Solution Exploring Operation: 9+49=58, Resulting Numbers: [58] 58,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[68, 28], Operations: ['84-75=9', '19+9=28'] Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 68*28=1904, Resulting Numbers: [1904] 1904,31 unequal: No Solution Exploring Operation: 68+28=96, Resulting Numbers: [96] 96,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[19, 59], Operations: ['84-75=9', '68-9=59'] Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,31 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,31 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[19, 84, 7], Operations: ['75-68=7'] Exploring Operation: 84-19=65, Resulting Numbers: [7, 65] Generated Node #0,0,0: 31:[7, 65] Operation: 84-19=65 Exploring Operation: 19+7=26, Resulting Numbers: [84, 26] Generated Node #0,0,1: 31:[84, 26] Operation: 19+7=26 Exploring Operation: 84/7=12, Resulting Numbers: [19, 12] Generated Node #0,0,2: 31:[19, 12] Operation: 84/7=12 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[19, 12], Operations: ['75-68=7', '84/7=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,31 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[68, 19, 75, 84], Operations: [] Exploring Operation: 75-68=7, Resulting Numbers: [19, 84, 7] Generated Node #0,0: 31:[19, 84, 7] Operation: 75-68=7 Moving to Node #0,0 Current State: 31:[19, 84, 7], Operations: ['75-68=7'] Exploring Operation: 84/7=12, Resulting Numbers: [19, 12] Generated Node #0,0,2: 31:[19, 12] Operation: 84/7=12 Moving to Node #0,0,2 Current State: 31:[19, 12], Operations: ['75-68=7', '84/7=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 34, 26, 14, 38 ]
44
[ "34-26=8", "14+38=52", "52-8=44" ]
Current State: 44:[34, 26, 14, 38], Operations: [] Exploring Operation: 34-26=8, Resulting Numbers: [14, 38, 8] Generated Node #2: [14, 38, 8] from Operation: 34-26=8 Current State: 44:[14, 38, 8], Operations: ['34-26=8'] Exploring Operation: 14+38=52, Resulting Numbers: [8, 52] Generated Node #3: [8, 52] from Operation: 14+38=52 Current State: 44:[8, 52], Operations: ['34-26=8', '14+38=52'] Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[34, 26, 14, 38], Operations: [] Exploring Operation: 34+14=48, Resulting Numbers: [26, 38, 48] Generated Node #0,0: 44:[26, 38, 48] Operation: 34+14=48 Exploring Operation: 38-26=12, Resulting Numbers: [34, 14, 12] Generated Node #0,1: 44:[34, 14, 12] Operation: 38-26=12 Exploring Operation: 38-34=4, Resulting Numbers: [26, 14, 4] Generated Node #0,2: 44:[26, 14, 4] Operation: 38-34=4 Exploring Operation: 34-14=20, Resulting Numbers: [26, 38, 20] Generated Node #0,3: 44:[26, 38, 20] Operation: 34-14=20 Exploring Operation: 34-26=8, Resulting Numbers: [14, 38, 8] Generated Node #0,4: 44:[14, 38, 8] Operation: 34-26=8 Moving to Node #0,2 Current State: 44:[26, 14, 4], Operations: ['38-34=4'] Exploring Operation: 14-4=10, Resulting Numbers: [26, 10] Generated Node #0,2,0: 44:[26, 10] Operation: 14-4=10 Exploring Operation: 26+14=40, Resulting Numbers: [4, 40] Generated Node #0,2,1: 44:[4, 40] Operation: 26+14=40 Exploring Operation: 14+4=18, Resulting Numbers: [26, 18] Generated Node #0,2,2: 44:[26, 18] Operation: 14+4=18 Exploring Operation: 26-14=12, Resulting Numbers: [4, 12] Generated Node #0,2,3: 44:[4, 12] Operation: 26-14=12 Exploring Operation: 26-4=22, Resulting Numbers: [14, 22] Generated Node #0,2,4: 44:[14, 22] Operation: 26-4=22 Moving to Node #0,4 Current State: 44:[14, 38, 8], Operations: ['34-26=8'] Exploring Operation: 14+8=22, Resulting Numbers: [38, 22] Generated Node #0,4,0: 44:[38, 22] Operation: 14+8=22 Exploring Operation: 14+38=52, Resulting Numbers: [8, 52] Generated Node #0,4,1: 44:[8, 52] Operation: 14+38=52 Exploring Operation: 38+8=46, Resulting Numbers: [14, 46] Generated Node #0,4,2: 44:[14, 46] Operation: 38+8=46 Exploring Operation: 14-8=6, Resulting Numbers: [38, 6] Generated Node #0,4,3: 44:[38, 6] Operation: 14-8=6 Exploring Operation: 38-14=24, Resulting Numbers: [8, 24] Generated Node #0,4,4: 44:[8, 24] Operation: 38-14=24 Moving to Node #0,3 Current State: 44:[26, 38, 20], Operations: ['34-14=20'] Exploring Operation: 38+20=58, Resulting Numbers: [26, 58] Generated Node #0,3,0: 44:[26, 58] Operation: 38+20=58 Exploring Operation: 26-20=6, Resulting Numbers: [38, 6] Generated Node #0,3,1: 44:[38, 6] Operation: 26-20=6 Exploring Operation: 38-20=18, Resulting Numbers: [26, 18] Generated Node #0,3,2: 44:[26, 18] Operation: 38-20=18 Exploring Operation: 26+20=46, Resulting Numbers: [38, 46] Generated Node #0,3,3: 44:[38, 46] Operation: 26+20=46 Exploring Operation: 38-26=12, Resulting Numbers: [20, 12] Generated Node #0,3,4: 44:[20, 12] Operation: 38-26=12 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 44:[20, 12], Operations: ['34-14=20', '38-26=12'] Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,44 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 44:[38, 6], Operations: ['34-14=20', '26-20=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[34, 26, 14, 38], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [26, 38, 20] Generated Node #0,3: 44:[26, 38, 20] Operation: 34-14=20 Moving to Node #0,3 Current State: 44:[26, 38, 20], Operations: ['34-14=20'] Exploring Operation: 26-20=6, Resulting Numbers: [38, 6] Generated Node #0,3,1: 44:[38, 6] Operation: 26-20=6 Moving to Node #0,3,1 Current State: 44:[38, 6], Operations: ['34-14=20', '26-20=6'] Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 80, 66, 91, 51 ]
54
[ "80-66=14", "91-51=40", "14+40=54" ]
Current State: 54:[80, 66, 91, 51], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [91, 51, 14] Generated Node #2: [91, 51, 14] from Operation: 80-66=14 Current State: 54:[91, 51, 14], Operations: ['80-66=14'] Exploring Operation: 91-51=40, Resulting Numbers: [14, 40] Generated Node #3: [14, 40] from Operation: 91-51=40 Current State: 54:[14, 40], Operations: ['80-66=14', '91-51=40'] Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[80, 66, 91, 51], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [91, 51, 14] Generated Node #0,0: 54:[91, 51, 14] Operation: 80-66=14 Exploring Operation: 91-80=11, Resulting Numbers: [66, 51, 11] Generated Node #0,1: 54:[66, 51, 11] Operation: 91-80=11 Exploring Operation: 91-66=25, Resulting Numbers: [80, 51, 25] Generated Node #0,2: 54:[80, 51, 25] Operation: 91-66=25 Moving to Node #0,1 Current State: 54:[66, 51, 11], Operations: ['91-80=11'] Exploring Operation: 66/11=6, Resulting Numbers: [51, 6] Generated Node #0,1,0: 54:[51, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [51, 55] Generated Node #0,1,1: 54:[51, 55] Operation: 66-11=55 Exploring Operation: 66-51=15, Resulting Numbers: [11, 15] Generated Node #0,1,2: 54:[11, 15] Operation: 66-51=15 Moving to Node #0,2 Current State: 54:[80, 51, 25], Operations: ['91-66=25'] Exploring Operation: 80-25=55, Resulting Numbers: [51, 55] Generated Node #0,2,0: 54:[51, 55] Operation: 80-25=55 Exploring Operation: 51-25=26, Resulting Numbers: [80, 26] Generated Node #0,2,1: 54:[80, 26] Operation: 51-25=26 Exploring Operation: 80-51=29, Resulting Numbers: [25, 29] Generated Node #0,2,2: 54:[25, 29] Operation: 80-51=29 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[51, 55], Operations: ['91-66=25', '80-25=55'] Exploring Operation: 51*55=2805, Resulting Numbers: [2805] 2805,54 unequal: No Solution Exploring Operation: 55-51=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 51+55=106, Resulting Numbers: [106] 106,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[25, 29], Operations: ['91-66=25', '80-51=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[80, 66, 91, 51], Operations: [] Exploring Operation: 91-66=25, Resulting Numbers: [80, 51, 25] Generated Node #0,2: 54:[80, 51, 25] Operation: 91-66=25 Moving to Node #0,2 Current State: 54:[80, 51, 25], Operations: ['91-66=25'] Exploring Operation: 80-51=29, Resulting Numbers: [25, 29] Generated Node #0,2,2: 54:[25, 29] Operation: 80-51=29 Moving to Node #0,2,2 Current State: 54:[25, 29], Operations: ['91-66=25', '80-51=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 42, 92, 20, 13 ]
17
[ "92-42=50", "20+13=33", "50-33=17" ]
Current State: 17:[42, 92, 20, 13], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [20, 13, 50] Generated Node #2: [20, 13, 50] from Operation: 92-42=50 Current State: 17:[20, 13, 50], Operations: ['92-42=50'] Exploring Operation: 20+13=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 20+13=33 Current State: 17:[50, 33], Operations: ['92-42=50', '20+13=33'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[42, 92, 20, 13], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [20, 13, 50] Generated Node #0,0: 17:[20, 13, 50] Operation: 92-42=50 Exploring Operation: 92-20=72, Resulting Numbers: [42, 13, 72] Generated Node #0,1: 17:[42, 13, 72] Operation: 92-20=72 Exploring Operation: 92-13=79, Resulting Numbers: [42, 20, 79] Generated Node #0,2: 17:[42, 20, 79] Operation: 92-13=79 Exploring Operation: 42-13=29, Resulting Numbers: [92, 20, 29] Generated Node #0,3: 17:[92, 20, 29] Operation: 42-13=29 Exploring Operation: 42-20=22, Resulting Numbers: [92, 13, 22] Generated Node #0,4: 17:[92, 13, 22] Operation: 42-20=22 Moving to Node #0,0 Current State: 17:[20, 13, 50], Operations: ['92-42=50'] Exploring Operation: 20-13=7, Resulting Numbers: [50, 7] Generated Node #0,0,0: 17:[50, 7] Operation: 20-13=7 Exploring Operation: 50-20=30, Resulting Numbers: [13, 30] Generated Node #0,0,1: 17:[13, 30] Operation: 50-20=30 Exploring Operation: 50-13=37, Resulting Numbers: [20, 37] Generated Node #0,0,2: 17:[20, 37] Operation: 50-13=37 Exploring Operation: 20+13=33, Resulting Numbers: [50, 33] Generated Node #0,0,3: 17:[50, 33] Operation: 20+13=33 Exploring Operation: 13+50=63, Resulting Numbers: [20, 63] Generated Node #0,0,4: 17:[20, 63] Operation: 13+50=63 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[13, 30], Operations: ['92-42=50', '50-20=30'] Exploring Operation: 13+30=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 13*30=390, Resulting Numbers: [390] 390,17 unequal: No Solution Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[42, 92, 20, 13], Operations: [] Exploring Operation: 92-42=50, Resulting Numbers: [20, 13, 50] Generated Node #0,0: 17:[20, 13, 50] Operation: 92-42=50 Moving to Node #0,0 Current State: 17:[20, 13, 50], Operations: ['92-42=50'] Exploring Operation: 50-20=30, Resulting Numbers: [13, 30] Generated Node #0,0,1: 17:[13, 30] Operation: 50-20=30 Moving to Node #0,0,1 Current State: 17:[13, 30], Operations: ['92-42=50', '50-20=30'] Exploring Operation: 30-13=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 70, 81, 25, 86 ]
40
[ "70+81=151", "25+86=111", "151-111=40" ]
Current State: 40:[70, 81, 25, 86], Operations: [] Exploring Operation: 70+81=151, Resulting Numbers: [25, 86, 151] Generated Node #2: [25, 86, 151] from Operation: 70+81=151 Current State: 40:[25, 86, 151], Operations: ['70+81=151'] Exploring Operation: 25+86=111, Resulting Numbers: [151, 111] Generated Node #3: [151, 111] from Operation: 25+86=111 Current State: 40:[151, 111], Operations: ['70+81=151', '25+86=111'] Exploring Operation: 151-111=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[70, 81, 25, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [70, 25, 5] Generated Node #0,0: 40:[70, 25, 5] Operation: 86-81=5 Exploring Operation: 86-70=16, Resulting Numbers: [81, 25, 16] Generated Node #0,1: 40:[81, 25, 16] Operation: 86-70=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[70, 25, 5], Operations: ['86-81=5'] Exploring Operation: 70/5=14, Resulting Numbers: [25, 14] Generated Node #0,0,0: 40:[25, 14] Operation: 70/5=14 Exploring Operation: 70-25=45, Resulting Numbers: [5, 45] Generated Node #0,0,1: 40:[5, 45] Operation: 70-25=45 Moving to Node #0,0,1 Current State: 40:[5, 45], Operations: ['86-81=5', '70-25=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[70, 81, 25, 86], Operations: [] Exploring Operation: 86-81=5, Resulting Numbers: [70, 25, 5] Generated Node #0,0: 40:[70, 25, 5] Operation: 86-81=5 Moving to Node #0,0 Current State: 40:[70, 25, 5], Operations: ['86-81=5'] Exploring Operation: 70-25=45, Resulting Numbers: [5, 45] Generated Node #0,0,1: 40:[5, 45] Operation: 70-25=45 Moving to Node #0,0,1 Current State: 40:[5, 45], Operations: ['86-81=5', '70-25=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 43, 43, 48, 77 ]
48
[ "43-43=0", "77*0=0", "48+0=48" ]
Current State: 48:[43, 43, 48, 77], Operations: [] Exploring Operation: 43-43=0, Resulting Numbers: [48, 77, 0] Generated Node #2: [48, 77, 0] from Operation: 43-43=0 Current State: 48:[48, 77, 0], Operations: ['43-43=0'] Exploring Operation: 77*0=0, Resulting Numbers: [48, 0] Generated Node #3: [48, 0] from Operation: 77*0=0 Current State: 48:[48, 0], Operations: ['43-43=0', '77*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[43, 43, 48, 77], Operations: [] Exploring Operation: 77-48=29, Resulting Numbers: [43, 43, 29] Generated Node #0,0: 48:[43, 43, 29] Operation: 77-48=29 Exploring Operation: 43/43=1, Resulting Numbers: [48, 77, 1] Generated Node #0,1: 48:[48, 77, 1] Operation: 43/43=1 Exploring Operation: 77-43=34, Resulting Numbers: [43, 48, 34] Generated Node #0,2: 48:[43, 48, 34] Operation: 77-43=34 Exploring Operation: 77-43=34, Resulting Numbers: [43, 48, 34] Generated Node #0,3: 48:[43, 48, 34] Operation: 77-43=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[43, 43, 29], Operations: ['77-48=29'] Exploring Operation: 43/43=1, Resulting Numbers: [29, 1] Generated Node #0,0,0: 48:[29, 1] Operation: 43/43=1 Exploring Operation: 43-29=14, Resulting Numbers: [43, 14] Generated Node #0,0,1: 48:[43, 14] Operation: 43-29=14 Exploring Operation: 43-29=14, Resulting Numbers: [43, 14] Generated Node #0,0,2: 48:[43, 14] Operation: 43-29=14 Exploring Operation: 43-43=0, Resulting Numbers: [29, 0] Generated Node #0,0,3: 48:[29, 0] Operation: 43-43=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[29, 1], Operations: ['77-48=29', '43/43=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 29+1=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[43, 14], Operations: ['77-48=29', '43-29=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,48 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[43, 14], Operations: ['77-48=29', '43-29=14'] Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,48 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 48:[29, 0], Operations: ['77-48=29', '43-43=0'] Exploring Operation: 29*0=0, Resulting Numbers: [0] 0,48 unequal: No Solution Exploring Operation: 29+0=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 29-0=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[43, 48, 34], Operations: ['77-43=34'] Exploring Operation: 43-34=9, Resulting Numbers: [48, 9] Generated Node #0,2,0: 48:[48, 9] Operation: 43-34=9 Exploring Operation: 48-43=5, Resulting Numbers: [34, 5] Generated Node #0,2,1: 48:[34, 5] Operation: 48-43=5 Exploring Operation: 48-34=14, Resulting Numbers: [43, 14] Generated Node #0,2,2: 48:[43, 14] Operation: 48-34=14 Exploring Operation: 43+34=77, Resulting Numbers: [48, 77] Generated Node #0,2,3: 48:[48, 77] Operation: 43+34=77 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[48, 9], Operations: ['77-43=34', '43-34=9'] Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[43, 14], Operations: ['77-43=34', '48-34=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[34, 5], Operations: ['77-43=34', '48-43=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[48, 77], Operations: ['77-43=34', '43+34=77'] Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,48 unequal: No Solution Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[43, 48, 34], Operations: ['77-43=34'] Exploring Operation: 43-34=9, Resulting Numbers: [48, 9] Generated Node #0,3,0: 48:[48, 9] Operation: 43-34=9 Exploring Operation: 48-43=5, Resulting Numbers: [34, 5] Generated Node #0,3,1: 48:[34, 5] Operation: 48-43=5 Exploring Operation: 43+34=77, Resulting Numbers: [48, 77] Generated Node #0,3,2: 48:[48, 77] Operation: 43+34=77 Exploring Operation: 48-34=14, Resulting Numbers: [43, 14] Generated Node #0,3,3: 48:[43, 14] Operation: 48-34=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 48:[48, 9], Operations: ['77-43=34', '43-34=9'] Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,48 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,48 unequal: No Solution Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 48:[43, 14], Operations: ['77-43=34', '48-34=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,48 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 48:[34, 5], Operations: ['77-43=34', '48-43=5'] Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,48 unequal: No Solution Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,48 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 48:[48, 77], Operations: ['77-43=34', '43+34=77'] Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[48, 77, 1], Operations: ['43/43=1'] Exploring Operation: 48/1=48, Resulting Numbers: [77, 48] Generated Node #0,1,0: 48:[77, 48] Operation: 48/1=48 Exploring Operation: 77-48=29, Resulting Numbers: [1, 29] Generated Node #0,1,1: 48:[1, 29] Operation: 77-48=29 Exploring Operation: 77-1=76, Resulting Numbers: [48, 76] Generated Node #0,1,2: 48:[48, 76] Operation: 77-1=76 Exploring Operation: 48*1=48, Resulting Numbers: [77, 48] Generated Node #0,1,3: 48:[77, 48] Operation: 48*1=48 Moving to Node #0,1,1 Current State: 48:[1, 29], Operations: ['43/43=1', '77-48=29'] Exploring Operation: 1+29=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 1*29=29, Resulting Numbers: [29] 29,48 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 29/1=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[48, 76], Operations: ['43/43=1', '77-1=76'] Exploring Operation: 48*76=3648, Resulting Numbers: [3648] 3648,48 unequal: No Solution Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,48 unequal: No Solution Exploring Operation: 48+76=124, Resulting Numbers: [124] 124,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[77, 48], Operations: ['43/43=1', '48*1=48'] Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,48 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[77, 48], Operations: ['43/43=1', '48/1=48'] Exploring Operation: 77*48=3696, Resulting Numbers: [3696] 3696,48 unequal: No Solution Exploring Operation: 77+48=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,48 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
[ 23, 23, 70, 29 ]
98
[ "23/23=1", "70+29=99", "99-1=98" ]
Current State: 98:[23, 23, 70, 29], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [70, 29, 1] Generated Node #2: [70, 29, 1] from Operation: 23/23=1 Current State: 98:[70, 29, 1], Operations: ['23/23=1'] Exploring Operation: 70+29=99, Resulting Numbers: [1, 99] Generated Node #3: [1, 99] from Operation: 70+29=99 Current State: 98:[1, 99], Operations: ['23/23=1', '70+29=99'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[23, 23, 70, 29], Operations: [] Exploring Operation: 70-23=47, Resulting Numbers: [23, 29, 47] Generated Node #0,0: 98:[23, 29, 47] Operation: 70-23=47 Exploring Operation: 70+29=99, Resulting Numbers: [23, 23, 99] Generated Node #0,1: 98:[23, 23, 99] Operation: 70+29=99 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[23, 23, 99], Operations: ['70+29=99'] Exploring Operation: 23-23=0, Resulting Numbers: [99, 0] Generated Node #0,1,0: 98:[99, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 23/23=1 Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['70+29=99', '23/23=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,98 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[23, 23, 70, 29], Operations: [] Exploring Operation: 70+29=99, Resulting Numbers: [23, 23, 99] Generated Node #0,1: 98:[23, 23, 99] Operation: 70+29=99 Moving to Node #0,1 Current State: 98:[23, 23, 99], Operations: ['70+29=99'] Exploring Operation: 23/23=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 98:[99, 1] Operation: 23/23=1 Moving to Node #0,1,1 Current State: 98:[99, 1], Operations: ['70+29=99', '23/23=1'] Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 7, 41, 81, 68 ]
50
[ "81-68=13", "7*13=91", "91-41=50" ]
Current State: 50:[7, 41, 81, 68], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [7, 41, 13] Generated Node #2: [7, 41, 13] from Operation: 81-68=13 Current State: 50:[7, 41, 13], Operations: ['81-68=13'] Exploring Operation: 7*13=91, Resulting Numbers: [41, 91] Generated Node #3: [41, 91] from Operation: 7*13=91 Current State: 50:[41, 91], Operations: ['81-68=13', '7*13=91'] Exploring Operation: 91-41=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[7, 41, 81, 68], Operations: [] Exploring Operation: 81-68=13, Resulting Numbers: [7, 41, 13] Generated Node #0,0: 50:[7, 41, 13] Operation: 81-68=13 Moving to Node #0,0 Current State: 50:[7, 41, 13], Operations: ['81-68=13'] Exploring Operation: 7+41=48, Resulting Numbers: [13, 48] Generated Node #0,0,0: 50:[13, 48] Operation: 7+41=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[13, 48], Operations: ['81-68=13', '7+41=48'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 7, 46, 9 ]
61
[ "48-46=2", "7*9=63", "63-2=61" ]
Current State: 61:[48, 7, 46, 9], Operations: [] Exploring Operation: 48-46=2, Resulting Numbers: [7, 9, 2] Generated Node #2: [7, 9, 2] from Operation: 48-46=2 Current State: 61:[7, 9, 2], Operations: ['48-46=2'] Exploring Operation: 7*9=63, Resulting Numbers: [2, 63] Generated Node #3: [2, 63] from Operation: 7*9=63 Current State: 61:[2, 63], Operations: ['48-46=2', '7*9=63'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[48, 7, 46, 9], Operations: [] Exploring Operation: 7*9=63, Resulting Numbers: [48, 46, 63] Generated Node #0,0: 61:[48, 46, 63] Operation: 7*9=63 Exploring Operation: 48+9=57, Resulting Numbers: [7, 46, 57] Generated Node #0,1: 61:[7, 46, 57] Operation: 48+9=57 Exploring Operation: 48+7=55, Resulting Numbers: [46, 9, 55] Generated Node #0,2: 61:[46, 9, 55] Operation: 48+7=55 Exploring Operation: 7+46=53, Resulting Numbers: [48, 9, 53] Generated Node #0,3: 61:[48, 9, 53] Operation: 7+46=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[48, 46, 63], Operations: ['7*9=63'] Exploring Operation: 48-46=2, Resulting Numbers: [63, 2] Generated Node #0,0,0: 61:[63, 2] Operation: 48-46=2 Exploring Operation: 48+46=94, Resulting Numbers: [63, 94] Generated Node #0,0,1: 61:[63, 94] Operation: 48+46=94 Exploring Operation: 63-48=15, Resulting Numbers: [46, 15] Generated Node #0,0,2: 61:[46, 15] Operation: 63-48=15 Exploring Operation: 63-46=17, Resulting Numbers: [48, 17] Generated Node #0,0,3: 61:[48, 17] Operation: 63-46=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[63, 94], Operations: ['7*9=63', '48+46=94'] Exploring Operation: 63*94=5922, Resulting Numbers: [5922] 5922,61 unequal: No Solution Exploring Operation: 63+94=157, Resulting Numbers: [157] 157,61 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,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,3 Current State: 61:[48, 17], Operations: ['7*9=63', '63-46=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,61 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,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:[63, 2], Operations: ['7*9=63', '48-46=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,61 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[48, 7, 46, 9], Operations: [] Exploring Operation: 7*9=63, Resulting Numbers: [48, 46, 63] Generated Node #0,0: 61:[48, 46, 63] Operation: 7*9=63 Moving to Node #0,0 Current State: 61:[48, 46, 63], Operations: ['7*9=63'] Exploring Operation: 48-46=2, Resulting Numbers: [63, 2] Generated Node #0,0,0: 61:[63, 2] Operation: 48-46=2 Moving to Node #0,0,0 Current State: 61:[63, 2], Operations: ['7*9=63', '48-46=2'] Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 45, 65, 3, 89 ]
39
[ "45/3=15", "89-65=24", "15+24=39" ]
Current State: 39:[45, 65, 3, 89], Operations: [] Exploring Operation: 45/3=15, Resulting Numbers: [65, 89, 15] Generated Node #2: [65, 89, 15] from Operation: 45/3=15 Current State: 39:[65, 89, 15], Operations: ['45/3=15'] Exploring Operation: 89-65=24, Resulting Numbers: [15, 24] Generated Node #3: [15, 24] from Operation: 89-65=24 Current State: 39:[15, 24], Operations: ['45/3=15', '89-65=24'] Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[45, 65, 3, 89], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [3, 89, 20] Generated Node #0,0: 39:[3, 89, 20] Operation: 65-45=20 Exploring Operation: 89-45=44, Resulting Numbers: [65, 3, 44] Generated Node #0,1: 39:[65, 3, 44] Operation: 89-45=44 Exploring Operation: 45/3=15, Resulting Numbers: [65, 89, 15] Generated Node #0,2: 39:[65, 89, 15] Operation: 45/3=15 Exploring Operation: 89-65=24, Resulting Numbers: [45, 3, 24] Generated Node #0,3: 39:[45, 3, 24] Operation: 89-65=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[45, 3, 24], Operations: ['89-65=24'] Exploring Operation: 24/3=8, Resulting Numbers: [45, 8] Generated Node #0,3,0: 39:[45, 8] Operation: 24/3=8 Exploring Operation: 45-24=21, Resulting Numbers: [3, 21] Generated Node #0,3,1: 39:[3, 21] Operation: 45-24=21 Exploring Operation: 45/3=15, Resulting Numbers: [24, 15] Generated Node #0,3,2: 39:[24, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [24, 42] Generated Node #0,3,3: 39:[24, 42] Operation: 45-3=42 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 39:[3, 21], Operations: ['89-65=24', '45-24=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,39 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,39 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,39 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 39:[45, 8], Operations: ['89-65=24', '24/3=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,39 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 39:[24, 15], Operations: ['89-65=24', '45/3=15'] Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,39 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[45, 65, 3, 89], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [45, 3, 24] Generated Node #0,3: 39:[45, 3, 24] Operation: 89-65=24 Moving to Node #0,3 Current State: 39:[45, 3, 24], Operations: ['89-65=24'] Exploring Operation: 45/3=15, Resulting Numbers: [24, 15] Generated Node #0,3,2: 39:[24, 15] Operation: 45/3=15 Moving to Node #0,3,2 Current State: 39:[24, 15], Operations: ['89-65=24', '45/3=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
sum_heuristic
[ 79, 91, 20, 11 ]
21
[ "91-79=12", "20-11=9", "12+9=21" ]
Current State: 21:[79, 91, 20, 11], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [20, 11, 12] Generated Node #2: [20, 11, 12] from Operation: 91-79=12 Current State: 21:[20, 11, 12], Operations: ['91-79=12'] Exploring Operation: 20-11=9, Resulting Numbers: [12, 9] Generated Node #3: [12, 9] from Operation: 20-11=9 Current State: 21:[12, 9], Operations: ['91-79=12', '20-11=9'] Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[79, 91, 20, 11], Operations: [] Exploring Operation: 79-20=59, Resulting Numbers: [91, 11, 59] Generated Node #0,0: 21:[91, 11, 59] Operation: 79-20=59 Exploring Operation: 91-20=71, Resulting Numbers: [79, 11, 71] Generated Node #0,1: 21:[79, 11, 71] Operation: 91-20=71 Exploring Operation: 91-79=12, Resulting Numbers: [20, 11, 12] Generated Node #0,2: 21:[20, 11, 12] Operation: 91-79=12 Moving to Node #0,2 Current State: 21:[20, 11, 12], Operations: ['91-79=12'] Exploring Operation: 11+12=23, Resulting Numbers: [20, 23] Generated Node #0,2,0: 21:[20, 23] Operation: 11+12=23 Exploring Operation: 20-12=8, Resulting Numbers: [11, 8] Generated Node #0,2,1: 21:[11, 8] Operation: 20-12=8 Exploring Operation: 12-11=1, Resulting Numbers: [20, 1] Generated Node #0,2,2: 21:[20, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[20, 23], Operations: ['91-79=12', '11+12=23'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,21 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,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,2,2 Current State: 21:[20, 1], Operations: ['91-79=12', '12-11=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[79, 91, 20, 11], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [20, 11, 12] Generated Node #0,2: 21:[20, 11, 12] Operation: 91-79=12 Moving to Node #0,2 Current State: 21:[20, 11, 12], Operations: ['91-79=12'] Exploring Operation: 12-11=1, Resulting Numbers: [20, 1] Generated Node #0,2,2: 21:[20, 1] Operation: 12-11=1 Moving to Node #0,2,2 Current State: 21:[20, 1], Operations: ['91-79=12', '12-11=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 54, 65, 69, 27 ]
54
[ "69-65=4", "27*4=108", "108-54=54" ]
Current State: 54:[54, 65, 69, 27], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [54, 27, 4] Generated Node #2: [54, 27, 4] from Operation: 69-65=4 Current State: 54:[54, 27, 4], Operations: ['69-65=4'] Exploring Operation: 27*4=108, Resulting Numbers: [54, 108] Generated Node #3: [54, 108] from Operation: 27*4=108 Current State: 54:[54, 108], Operations: ['69-65=4', '27*4=108'] Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[54, 65, 69, 27], Operations: [] Exploring Operation: 69-65=4, Resulting Numbers: [54, 27, 4] Generated Node #0,0: 54:[54, 27, 4] Operation: 69-65=4 Exploring Operation: 69-54=15, Resulting Numbers: [65, 27, 15] Generated Node #0,1: 54:[65, 27, 15] Operation: 69-54=15 Exploring Operation: 69-27=42, Resulting Numbers: [54, 65, 42] Generated Node #0,2: 54:[54, 65, 42] Operation: 69-27=42 Exploring Operation: 65-54=11, Resulting Numbers: [69, 27, 11] Generated Node #0,3: 54:[69, 27, 11] Operation: 65-54=11 Moving to Node #0,0 Current State: 54:[54, 27, 4], Operations: ['69-65=4'] Exploring Operation: 54-4=50, Resulting Numbers: [27, 50] Generated Node #0,0,0: 54:[27, 50] Operation: 54-4=50 Exploring Operation: 54/27=2, Resulting Numbers: [4, 2] Generated Node #0,0,1: 54:[4, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 54:[4, 27] Operation: 54-27=27 Exploring Operation: 54+4=58, Resulting Numbers: [27, 58] Generated Node #0,0,3: 54:[27, 58] Operation: 54+4=58 Moving to Node #0,1 Current State: 54:[65, 27, 15], Operations: ['69-54=15'] Exploring Operation: 65-15=50, Resulting Numbers: [27, 50] Generated Node #0,1,0: 54:[27, 50] Operation: 65-15=50 Exploring Operation: 27-15=12, Resulting Numbers: [65, 12] Generated Node #0,1,1: 54:[65, 12] Operation: 27-15=12 Exploring Operation: 27+15=42, Resulting Numbers: [65, 42] Generated Node #0,1,2: 54:[65, 42] Operation: 27+15=42 Exploring Operation: 65-27=38, Resulting Numbers: [15, 38] Generated Node #0,1,3: 54:[15, 38] Operation: 65-27=38 Moving to Node #0,3 Current State: 54:[69, 27, 11], Operations: ['65-54=11'] Exploring Operation: 69-11=58, Resulting Numbers: [27, 58] Generated Node #0,3,0: 54:[27, 58] Operation: 69-11=58 Exploring Operation: 69-27=42, Resulting Numbers: [11, 42] Generated Node #0,3,1: 54:[11, 42] Operation: 69-27=42 Exploring Operation: 27-11=16, Resulting Numbers: [69, 16] Generated Node #0,3,2: 54:[69, 16] Operation: 27-11=16 Exploring Operation: 69+11=80, Resulting Numbers: [27, 80] Generated Node #0,3,3: 54:[27, 80] Operation: 69+11=80 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[27, 58], Operations: ['65-54=11', '69-11=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,54 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 54:[11, 42], Operations: ['65-54=11', '69-27=42'] Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,54 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 54:[69, 16], Operations: ['65-54=11', '27-11=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,54 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 54:[27, 80], Operations: ['65-54=11', '69+11=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,54 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,54 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,54 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: 54:[54, 65, 42], Operations: ['69-27=42'] Exploring Operation: 65-54=11, Resulting Numbers: [42, 11] Generated Node #0,2,0: 54:[42, 11] Operation: 65-54=11 Exploring Operation: 54-42=12, Resulting Numbers: [65, 12] Generated Node #0,2,1: 54:[65, 12] Operation: 54-42=12 Exploring Operation: 65-42=23, Resulting Numbers: [54, 23] Generated Node #0,2,2: 54:[54, 23] Operation: 65-42=23 Exploring Operation: 54+42=96, Resulting Numbers: [65, 96] Generated Node #0,2,3: 54:[65, 96] Operation: 54+42=96 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[54, 23], Operations: ['69-27=42', '65-42=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,54 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[42, 11], Operations: ['69-27=42', '65-54=11'] Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,54 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,54 unequal: No Solution Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[65, 12], Operations: ['69-27=42', '54-42=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,54 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 54:[65, 96], Operations: ['69-27=42', '54+42=96'] Exploring Operation: 65*96=6240, Resulting Numbers: [6240] 6240,54 unequal: No Solution Exploring Operation: 65+96=161, Resulting Numbers: [161] 161,54 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 54:[4, 2], Operations: ['69-65=4', '54/27=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,54 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,54 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,54 unequal: No Solution Moving to Node #0,0,2 Current State: 54:[4, 27], Operations: ['69-65=4', '54-27=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,0,0 Current State: 54:[27, 50], Operations: ['69-65=4', '54-4=50'] Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,54 unequal: No Solution Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[27, 50], Operations: ['69-54=15', '65-15=50'] Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 50-27=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 27*50=1350, Resulting Numbers: [1350] 1350,54 unequal: No Solution Moving to Node #0,0,3 Current State: 54:[27, 58], Operations: ['69-65=4', '54+4=58'] Exploring Operation: 27*58=1566, Resulting Numbers: [1566] 1566,54 unequal: No Solution Exploring Operation: 27+58=85, Resulting Numbers: [85] 85,54 unequal: No Solution Exploring Operation: 58-27=31, Resulting Numbers: [31] 31,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[65, 12], Operations: ['69-54=15', '27-15=12'] Exploring Operation: 65*12=780, Resulting Numbers: [780] 780,54 unequal: No Solution Exploring Operation: 65+12=77, Resulting Numbers: [77] 77,54 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[15, 38], Operations: ['69-54=15', '65-27=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[65, 42], Operations: ['69-54=15', '27+15=42'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,54 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,54 unequal: No Solution No solution found.
0
hs_4
mult_heuristic