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
[ 86, 9, 68, 87 ]
59
[ "87-86=1", "68-9=59", "1*59=59" ]
Current State: 59:[86, 9, 68, 87], Operations: [] Exploring Operation: 87-86=1, Resulting Numbers: [9, 68, 1] Generated Node #2: [9, 68, 1] from Operation: 87-86=1 Current State: 59:[9, 68, 1], Operations: ['87-86=1'] Exploring Operation: 68-9=59, Resulting Numbers: [1, 59] Generated Node #3: [1, 59] from Operation: 68-9=59 Current State: 59:[1, 59], Operations: ['87-86=1', '68-9=59'] Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[86, 9, 68, 87], Operations: [] Exploring Operation: 86-9=77, Resulting Numbers: [68, 87, 77] Generated Node #0,0: 59:[68, 87, 77] Operation: 86-9=77 Exploring Operation: 87-9=78, Resulting Numbers: [86, 68, 78] Generated Node #0,1: 59:[86, 68, 78] Operation: 87-9=78 Exploring Operation: 68-9=59, Resulting Numbers: [86, 87, 59] Generated Node #0,2: 59:[86, 87, 59] Operation: 68-9=59 Moving to Node #0,0 Current State: 59:[68, 87, 77], Operations: ['86-9=77'] Exploring Operation: 87-68=19, Resulting Numbers: [77, 19] Generated Node #0,0,0: 59:[77, 19] Operation: 87-68=19 Exploring Operation: 77-68=9, Resulting Numbers: [87, 9] Generated Node #0,0,1: 59:[87, 9] Operation: 77-68=9 Exploring Operation: 87-77=10, Resulting Numbers: [68, 10] Generated Node #0,0,2: 59:[68, 10] Operation: 87-77=10 Moving to Node #0,1 Current State: 59:[86, 68, 78], Operations: ['87-9=78'] Exploring Operation: 86-68=18, Resulting Numbers: [78, 18] Generated Node #0,1,0: 59:[78, 18] Operation: 86-68=18 Exploring Operation: 86-78=8, Resulting Numbers: [68, 8] Generated Node #0,1,1: 59:[68, 8] Operation: 86-78=8 Exploring Operation: 78-68=10, Resulting Numbers: [86, 10] Generated Node #0,1,2: 59:[86, 10] Operation: 78-68=10 Moving to Node #0,2 Current State: 59:[86, 87, 59], Operations: ['68-9=59'] Exploring Operation: 87-59=28, Resulting Numbers: [86, 28] Generated Node #0,2,0: 59:[86, 28] Operation: 87-59=28 Exploring Operation: 86-59=27, Resulting Numbers: [87, 27] Generated Node #0,2,1: 59:[87, 27] Operation: 86-59=27 Exploring Operation: 87-86=1, Resulting Numbers: [59, 1] Generated Node #0,2,2: 59:[59, 1] Operation: 87-86=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[86, 28], Operations: ['68-9=59', '87-59=28'] Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,59 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[59, 1], Operations: ['68-9=59', '87-86=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[86, 9, 68, 87], Operations: [] Exploring Operation: 68-9=59, Resulting Numbers: [86, 87, 59] Generated Node #0,2: 59:[86, 87, 59] Operation: 68-9=59 Moving to Node #0,2 Current State: 59:[86, 87, 59], Operations: ['68-9=59'] Exploring Operation: 87-86=1, Resulting Numbers: [59, 1] Generated Node #0,2,2: 59:[59, 1] Operation: 87-86=1 Moving to Node #0,2,2 Current State: 59:[59, 1], Operations: ['68-9=59', '87-86=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
mult_heuristic
[ 74, 36, 71, 11 ]
22
[ "74-36=38", "71-11=60", "60-38=22" ]
Current State: 22:[74, 36, 71, 11], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [71, 11, 38] Generated Node #2: [71, 11, 38] from Operation: 74-36=38 Current State: 22:[71, 11, 38], Operations: ['74-36=38'] Exploring Operation: 71-11=60, Resulting Numbers: [38, 60] Generated Node #3: [38, 60] from Operation: 71-11=60 Current State: 22:[38, 60], Operations: ['74-36=38', '71-11=60'] Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[74, 36, 71, 11], Operations: [] Exploring Operation: 74-36=38, Resulting Numbers: [71, 11, 38] Generated Node #0,0: 22:[71, 11, 38] Operation: 74-36=38 Exploring Operation: 36-11=25, Resulting Numbers: [74, 71, 25] Generated Node #0,1: 22:[74, 71, 25] Operation: 36-11=25 Exploring Operation: 71-36=35, Resulting Numbers: [74, 11, 35] Generated Node #0,2: 22:[74, 11, 35] Operation: 71-36=35 Exploring Operation: 74-71=3, Resulting Numbers: [36, 11, 3] Generated Node #0,3: 22:[36, 11, 3] Operation: 74-71=3 Exploring Operation: 74-11=63, Resulting Numbers: [36, 71, 63] Generated Node #0,4: 22:[36, 71, 63] Operation: 74-11=63 Moving to Node #0,3 Current State: 22:[36, 11, 3], Operations: ['74-71=3'] Exploring Operation: 36-3=33, Resulting Numbers: [11, 33] Generated Node #0,3,0: 22:[11, 33] Operation: 36-3=33 Exploring Operation: 36-11=25, Resulting Numbers: [3, 25] Generated Node #0,3,1: 22:[3, 25] Operation: 36-11=25 Exploring Operation: 36+3=39, Resulting Numbers: [11, 39] Generated Node #0,3,2: 22:[11, 39] Operation: 36+3=39 Exploring Operation: 11+3=14, Resulting Numbers: [36, 14] Generated Node #0,3,3: 22:[36, 14] Operation: 11+3=14 Exploring Operation: 36/3=12, Resulting Numbers: [11, 12] Generated Node #0,3,4: 22:[11, 12] Operation: 36/3=12 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[11, 12], Operations: ['74-71=3', '36/3=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,22 unequal: No Solution Exploring Operation: 11*12=132, Resulting Numbers: [132] 132,22 unequal: No Solution Exploring Operation: 11+12=23, Resulting Numbers: [23] 23,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[3, 25], Operations: ['74-71=3', '36-11=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[74, 36, 71, 11], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [36, 11, 3] Generated Node #0,3: 22:[36, 11, 3] Operation: 74-71=3 Moving to Node #0,3 Current State: 22:[36, 11, 3], Operations: ['74-71=3'] Exploring Operation: 36-11=25, Resulting Numbers: [3, 25] Generated Node #0,3,1: 22:[3, 25] Operation: 36-11=25 Moving to Node #0,3,1 Current State: 22:[3, 25], Operations: ['74-71=3', '36-11=25'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 43, 34, 49, 49 ]
90
[ "49-43=6", "49-34=15", "6*15=90" ]
Current State: 90:[43, 34, 49, 49], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [34, 6] Generated Node #2: [34, 6] from Operation: 49-43=6 Current State: 90:[34, 6], Operations: ['49-43=6'] Exploring Operation: 49-34=15, Resulting Numbers: [6, 15] Generated Node #3: [6, 15] from Operation: 49-34=15 Current State: 90:[6, 15], Operations: ['49-43=6', '49-34=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[43, 34, 49, 49], Operations: [] Exploring Operation: 49/49=1, Resulting Numbers: [43, 34, 1] Generated Node #0,0: 90:[43, 34, 1] Operation: 49/49=1 Exploring Operation: 49-34=15, Resulting Numbers: [43, 49, 15] Generated Node #0,1: 90:[43, 49, 15] Operation: 49-34=15 Exploring Operation: 49-43=6, Resulting Numbers: [34, 49, 6] Generated Node #0,2: 90:[34, 49, 6] Operation: 49-43=6 Exploring Operation: 49-34=15, Resulting Numbers: [43, 49, 15] Generated Node #0,3: 90:[43, 49, 15] Operation: 49-34=15 Exploring Operation: 43-34=9, Resulting Numbers: [49, 49, 9] Generated Node #0,4: 90:[49, 49, 9] Operation: 43-34=9 Moving to Node #0,1 Current State: 90:[43, 49, 15], Operations: ['49-34=15'] Exploring Operation: 49-15=34, Resulting Numbers: [43, 34] Generated Node #0,1,0: 90:[43, 34] Operation: 49-15=34 Exploring Operation: 43+15=58, Resulting Numbers: [49, 58] Generated Node #0,1,1: 90:[49, 58] Operation: 43+15=58 Exploring Operation: 43+49=92, Resulting Numbers: [15, 92] Generated Node #0,1,2: 90:[15, 92] Operation: 43+49=92 Exploring Operation: 43-15=28, Resulting Numbers: [49, 28] Generated Node #0,1,3: 90:[49, 28] Operation: 43-15=28 Exploring Operation: 49-43=6, Resulting Numbers: [15, 6] Generated Node #0,1,4: 90:[15, 6] Operation: 49-43=6 Moving to Node #0,3 Current State: 90:[43, 49, 15], Operations: ['49-34=15'] Exploring Operation: 49-43=6, Resulting Numbers: [15, 6] Generated Node #0,3,0: 90:[15, 6] Operation: 49-43=6 Exploring Operation: 49-15=34, Resulting Numbers: [43, 34] Generated Node #0,3,1: 90:[43, 34] Operation: 49-15=34 Exploring Operation: 43+49=92, Resulting Numbers: [15, 92] Generated Node #0,3,2: 90:[15, 92] Operation: 43+49=92 Exploring Operation: 43-15=28, Resulting Numbers: [49, 28] Generated Node #0,3,3: 90:[49, 28] Operation: 43-15=28 Exploring Operation: 43+15=58, Resulting Numbers: [49, 58] Generated Node #0,3,4: 90:[49, 58] Operation: 43+15=58 Moving to Node #0,0 Current State: 90:[43, 34, 1], Operations: ['49/49=1'] Exploring Operation: 43/1=43, Resulting Numbers: [34, 43] Generated Node #0,0,0: 90:[34, 43] Operation: 43/1=43 Exploring Operation: 43+1=44, Resulting Numbers: [34, 44] Generated Node #0,0,1: 90:[34, 44] Operation: 43+1=44 Exploring Operation: 34-1=33, Resulting Numbers: [43, 33] Generated Node #0,0,2: 90:[43, 33] Operation: 34-1=33 Exploring Operation: 43*1=43, Resulting Numbers: [34, 43] Generated Node #0,0,3: 90:[34, 43] Operation: 43*1=43 Exploring Operation: 43-34=9, Resulting Numbers: [1, 9] Generated Node #0,0,4: 90:[1, 9] Operation: 43-34=9 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 90:[1, 9], Operations: ['49/49=1', '43-34=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 90:[34, 44], Operations: ['49/49=1', '43+1=44'] Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,90 unequal: No Solution Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,90 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[43, 33], Operations: ['49/49=1', '34-1=33'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 43*33=1419, Resulting Numbers: [1419] 1419,90 unequal: No Solution Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[34, 43], Operations: ['49/49=1', '43/1=43'] Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,90 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[34, 43], Operations: ['49/49=1', '43*1=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,90 unequal: No Solution Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,90 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: 90:[34, 49, 6], Operations: ['49-43=6'] Exploring Operation: 49-6=43, Resulting Numbers: [34, 43] Generated Node #0,2,0: 90:[34, 43] Operation: 49-6=43 Exploring Operation: 49-34=15, Resulting Numbers: [6, 15] Generated Node #0,2,1: 90:[6, 15] Operation: 49-34=15 Exploring Operation: 34+6=40, Resulting Numbers: [49, 40] Generated Node #0,2,2: 90:[49, 40] Operation: 34+6=40 Exploring Operation: 34-6=28, Resulting Numbers: [49, 28] Generated Node #0,2,3: 90:[49, 28] Operation: 34-6=28 Exploring Operation: 34+49=83, Resulting Numbers: [6, 83] Generated Node #0,2,4: 90:[6, 83] Operation: 34+49=83 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 90:[6, 15], Operations: ['49-43=6', '49-34=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[43, 34, 49, 49], Operations: [] Exploring Operation: 49-43=6, Resulting Numbers: [34, 49, 6] Generated Node #0,2: 90:[34, 49, 6] Operation: 49-43=6 Moving to Node #0,2 Current State: 90:[34, 49, 6], Operations: ['49-43=6'] Exploring Operation: 49-34=15, Resulting Numbers: [6, 15] Generated Node #0,2,1: 90:[6, 15] Operation: 49-34=15 Moving to Node #0,2,1 Current State: 90:[6, 15], Operations: ['49-43=6', '49-34=15'] Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
sum_heuristic
[ 34, 57, 41, 34 ]
15
[ "34/34=1", "57-41=16", "16-1=15" ]
Current State: 15:[34, 57, 41, 34], Operations: [] Exploring Operation: 34/34=1, Resulting Numbers: [57, 41, 1] Generated Node #2: [57, 41, 1] from Operation: 34/34=1 Current State: 15:[57, 41, 1], Operations: ['34/34=1'] Exploring Operation: 57-41=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 57-41=16 Current State: 15:[1, 16], Operations: ['34/34=1', '57-41=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[34, 57, 41, 34], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [57, 34, 7] Generated Node #0,0: 15:[57, 34, 7] Operation: 41-34=7 Exploring Operation: 57-34=23, Resulting Numbers: [34, 41, 23] Generated Node #0,1: 15:[34, 41, 23] Operation: 57-34=23 Exploring Operation: 57-34=23, Resulting Numbers: [41, 34, 23] Generated Node #0,2: 15:[41, 34, 23] Operation: 57-34=23 Exploring Operation: 57-41=16, Resulting Numbers: [34, 34, 16] Generated Node #0,3: 15:[34, 34, 16] Operation: 57-41=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[34, 34, 16], Operations: ['57-41=16'] Exploring Operation: 34-34=0, Resulting Numbers: [16, 0] Generated Node #0,3,0: 15:[16, 0] Operation: 34-34=0 Exploring Operation: 34-16=18, Resulting Numbers: [34, 18] Generated Node #0,3,1: 15:[34, 18] Operation: 34-16=18 Exploring Operation: 34-16=18, Resulting Numbers: [34, 18] Generated Node #0,3,2: 15:[34, 18] Operation: 34-16=18 Exploring Operation: 34/34=1, Resulting Numbers: [16, 1] Generated Node #0,3,3: 15:[16, 1] Operation: 34/34=1 Moving to Node #0,3,3 Current State: 15:[16, 1], Operations: ['57-41=16', '34/34=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,15 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[34, 57, 41, 34], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [34, 34, 16] Generated Node #0,3: 15:[34, 34, 16] Operation: 57-41=16 Moving to Node #0,3 Current State: 15:[34, 34, 16], Operations: ['57-41=16'] Exploring Operation: 34/34=1, Resulting Numbers: [16, 1] Generated Node #0,3,3: 15:[16, 1] Operation: 34/34=1 Moving to Node #0,3,3 Current State: 15:[16, 1], Operations: ['57-41=16', '34/34=1'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 70, 33, 2, 69 ]
86
[ "70+33=103", "69+103=172", "172/2=86" ]
Current State: 86:[70, 33, 2, 69], Operations: [] Exploring Operation: 70+33=103, Resulting Numbers: [2, 69, 103] Generated Node #2: [2, 69, 103] from Operation: 70+33=103 Current State: 86:[2, 69, 103], Operations: ['70+33=103'] Exploring Operation: 69+103=172, Resulting Numbers: [2, 172] Generated Node #3: [2, 172] from Operation: 69+103=172 Current State: 86:[2, 172], Operations: ['70+33=103', '69+103=172'] Exploring Operation: 172/2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[70, 33, 2, 69], Operations: [] Exploring Operation: 70-69=1, Resulting Numbers: [33, 2, 1] Generated Node #0,0: 86:[33, 2, 1] Operation: 70-69=1 Exploring Operation: 70-33=37, Resulting Numbers: [2, 69, 37] Generated Node #0,1: 86:[2, 69, 37] Operation: 70-33=37 Moving to Node #0,0 Current State: 86:[33, 2, 1], Operations: ['70-69=1'] Exploring Operation: 33+1=34, Resulting Numbers: [2, 34] Generated Node #0,0,0: 86:[2, 34] Operation: 33+1=34 Exploring Operation: 33+2=35, Resulting Numbers: [1, 35] Generated Node #0,0,1: 86:[1, 35] Operation: 33+2=35 Moving to Node #0,1 Current State: 86:[2, 69, 37], Operations: ['70-33=37'] Exploring Operation: 69+37=106, Resulting Numbers: [2, 106] Generated Node #0,1,0: 86:[2, 106] Operation: 69+37=106 Exploring Operation: 69-37=32, Resulting Numbers: [2, 32] Generated Node #0,1,1: 86:[2, 32] Operation: 69-37=32 Moving to Node #0,0,0 Current State: 86:[2, 34], Operations: ['70-69=1', '33+1=34'] Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[1, 35], Operations: ['70-69=1', '33+2=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,86 unequal: No Solution Exploring Operation: 1*35=35, Resulting Numbers: [35] 35,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[2, 32], Operations: ['70-33=37', '69-37=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,86 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[2, 106], Operations: ['70-33=37', '69+37=106'] Exploring Operation: 106-2=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 106/2=53, Resulting Numbers: [53] 53,86 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 66, 44, 60, 22 ]
96
[ "44/22=2", "60/2=30", "66+30=96" ]
Current State: 96:[66, 44, 60, 22], Operations: [] Exploring Operation: 44/22=2, Resulting Numbers: [66, 60, 2] Generated Node #2: [66, 60, 2] from Operation: 44/22=2 Current State: 96:[66, 60, 2], Operations: ['44/22=2'] Exploring Operation: 60/2=30, Resulting Numbers: [66, 30] Generated Node #3: [66, 30] from Operation: 60/2=30 Current State: 96:[66, 30], Operations: ['44/22=2', '60/2=30'] Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[66, 44, 60, 22], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [44, 22, 6] Generated Node #0,0: 96:[44, 22, 6] Operation: 66-60=6 Moving to Node #0,0 Current State: 96:[44, 22, 6], Operations: ['66-60=6'] Exploring Operation: 44/22=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 96:[6, 2] Operation: 44/22=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[6, 2], Operations: ['66-60=6', '44/22=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 4, 53, 43, 71 ]
46
[ "71-43=28", "28/4=7", "53-7=46" ]
Current State: 46:[4, 53, 43, 71], Operations: [] Exploring Operation: 71-43=28, Resulting Numbers: [4, 53, 28] Generated Node #2: [4, 53, 28] from Operation: 71-43=28 Current State: 46:[4, 53, 28], Operations: ['71-43=28'] Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #3: [53, 7] from Operation: 28/4=7 Current State: 46:[53, 7], Operations: ['71-43=28', '28/4=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[4, 53, 43, 71], Operations: [] Exploring Operation: 4+43=47, Resulting Numbers: [53, 71, 47] Generated Node #0,0: 46:[53, 71, 47] Operation: 4+43=47 Exploring Operation: 71-4=67, Resulting Numbers: [53, 43, 67] Generated Node #0,1: 46:[53, 43, 67] Operation: 71-4=67 Exploring Operation: 53-4=49, Resulting Numbers: [43, 71, 49] Generated Node #0,2: 46:[43, 71, 49] Operation: 53-4=49 Exploring Operation: 71-43=28, Resulting Numbers: [4, 53, 28] Generated Node #0,3: 46:[4, 53, 28] Operation: 71-43=28 Exploring Operation: 71-53=18, Resulting Numbers: [4, 43, 18] Generated Node #0,4: 46:[4, 43, 18] Operation: 71-53=18 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[4, 43, 18], Operations: ['71-53=18'] Exploring Operation: 18-4=14, Resulting Numbers: [43, 14] Generated Node #0,4,0: 46:[43, 14] Operation: 18-4=14 Exploring Operation: 43-4=39, Resulting Numbers: [18, 39] Generated Node #0,4,1: 46:[18, 39] Operation: 43-4=39 Exploring Operation: 4+43=47, Resulting Numbers: [18, 47] Generated Node #0,4,2: 46:[18, 47] Operation: 4+43=47 Exploring Operation: 43-18=25, Resulting Numbers: [4, 25] Generated Node #0,4,3: 46:[4, 25] Operation: 43-18=25 Exploring Operation: 4+18=22, Resulting Numbers: [43, 22] Generated Node #0,4,4: 46:[43, 22] Operation: 4+18=22 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[4, 25], Operations: ['71-53=18', '43-18=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[43, 22], Operations: ['71-53=18', '4+18=22'] Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,46 unequal: No Solution Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,46 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 46:[18, 47], Operations: ['71-53=18', '4+43=47'] Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,46 unequal: No Solution Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 46:[43, 14], Operations: ['71-53=18', '18-4=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 46:[18, 39], Operations: ['71-53=18', '43-4=39'] Exploring Operation: 18*39=702, Resulting Numbers: [702] 702,46 unequal: No Solution Exploring Operation: 18+39=57, Resulting Numbers: [57] 57,46 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[4, 53, 28], Operations: ['71-43=28'] Exploring Operation: 28-4=24, Resulting Numbers: [53, 24] Generated Node #0,3,0: 46:[53, 24] Operation: 28-4=24 Exploring Operation: 53-4=49, Resulting Numbers: [28, 49] Generated Node #0,3,1: 46:[28, 49] Operation: 53-4=49 Exploring Operation: 4+53=57, Resulting Numbers: [28, 57] Generated Node #0,3,2: 46:[28, 57] Operation: 4+53=57 Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #0,3,3: 46:[53, 7] Operation: 28/4=7 Exploring Operation: 53-28=25, Resulting Numbers: [4, 25] Generated Node #0,3,4: 46:[4, 25] Operation: 53-28=25 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 46:[4, 25], Operations: ['71-43=28', '53-28=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 46:[53, 24], Operations: ['71-43=28', '28-4=24'] Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,46 unequal: No Solution Exploring Operation: 53*24=1272, Resulting Numbers: [1272] 1272,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 46:[28, 49], Operations: ['71-43=28', '53-4=49'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,46 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 28*49=1372, Resulting Numbers: [1372] 1372,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 46:[53, 7], Operations: ['71-43=28', '28/4=7'] Exploring Operation: 53+7=60, Resulting Numbers: [60] 60,46 unequal: No Solution Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[4, 53, 43, 71], Operations: [] Exploring Operation: 71-43=28, Resulting Numbers: [4, 53, 28] Generated Node #0,3: 46:[4, 53, 28] Operation: 71-43=28 Moving to Node #0,3 Current State: 46:[4, 53, 28], Operations: ['71-43=28'] Exploring Operation: 28/4=7, Resulting Numbers: [53, 7] Generated Node #0,3,3: 46:[53, 7] Operation: 28/4=7 Moving to Node #0,3,3 Current State: 46:[53, 7], Operations: ['71-43=28', '28/4=7'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_5
mult_heuristic
[ 39, 14, 4, 17 ]
46
[ "39-14=25", "4+17=21", "25+21=46" ]
Current State: 46:[39, 14, 4, 17], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [4, 17, 25] Generated Node #2: [4, 17, 25] from Operation: 39-14=25 Current State: 46:[4, 17, 25], Operations: ['39-14=25'] Exploring Operation: 4+17=21, Resulting Numbers: [25, 21] Generated Node #3: [25, 21] from Operation: 4+17=21 Current State: 46:[25, 21], Operations: ['39-14=25', '4+17=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[39, 14, 4, 17], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [4, 17, 25] Generated Node #0,0: 46:[4, 17, 25] Operation: 39-14=25 Exploring Operation: 39-17=22, Resulting Numbers: [14, 4, 22] Generated Node #0,1: 46:[14, 4, 22] Operation: 39-17=22 Exploring Operation: 17-14=3, Resulting Numbers: [39, 4, 3] Generated Node #0,2: 46:[39, 4, 3] Operation: 17-14=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[4, 17, 25], Operations: ['39-14=25'] Exploring Operation: 17+25=42, Resulting Numbers: [4, 42] Generated Node #0,0,0: 46:[4, 42] Operation: 17+25=42 Exploring Operation: 25-4=21, Resulting Numbers: [17, 21] Generated Node #0,0,1: 46:[17, 21] Operation: 25-4=21 Exploring Operation: 4+17=21, Resulting Numbers: [25, 21] Generated Node #0,0,2: 46:[25, 21] Operation: 4+17=21 Moving to Node #0,0,2 Current State: 46:[25, 21], Operations: ['39-14=25', '4+17=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[39, 14, 4, 17], Operations: [] Exploring Operation: 39-14=25, Resulting Numbers: [4, 17, 25] Generated Node #0,0: 46:[4, 17, 25] Operation: 39-14=25 Moving to Node #0,0 Current State: 46:[4, 17, 25], Operations: ['39-14=25'] Exploring Operation: 4+17=21, Resulting Numbers: [25, 21] Generated Node #0,0,2: 46:[25, 21] Operation: 4+17=21 Moving to Node #0,0,2 Current State: 46:[25, 21], Operations: ['39-14=25', '4+17=21'] Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 48, 55, 44, 60 ]
96
[ "44*60=2640", "2640/55=48", "48+48=96" ]
Current State: 96:[48, 55, 44, 60], Operations: [] Exploring Operation: 44*60=2640, Resulting Numbers: [48, 55, 2640] Generated Node #2: [48, 55, 2640] from Operation: 44*60=2640 Current State: 96:[48, 55, 2640], Operations: ['44*60=2640'] Exploring Operation: 2640/55=48, Resulting Numbers: [48, 48] Generated Node #3: [48, 48] from Operation: 2640/55=48 Current State: 96:[48, 48], Operations: ['44*60=2640', '2640/55=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 55, 44, 60], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [48, 55, 16] Generated Node #0,0: 96:[48, 55, 16] Operation: 60-44=16 Exploring Operation: 60-55=5, Resulting Numbers: [48, 44, 5] Generated Node #0,1: 96:[48, 44, 5] Operation: 60-55=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[48, 44, 5], Operations: ['60-55=5'] Exploring Operation: 44+5=49, Resulting Numbers: [48, 49] Generated Node #0,1,0: 96:[48, 49] Operation: 44+5=49 Exploring Operation: 48-44=4, Resulting Numbers: [5, 4] Generated Node #0,1,1: 96:[5, 4] Operation: 48-44=4 Moving to Node #0,1,0 Current State: 96:[48, 49], Operations: ['60-55=5', '44+5=49'] Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[5, 4], Operations: ['60-55=5', '48-44=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 5-4=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,0 Current State: 96:[48, 55, 16], Operations: ['60-44=16'] Exploring Operation: 48+55=103, Resulting Numbers: [16, 103] Generated Node #0,0,0: 96:[16, 103] Operation: 48+55=103 Exploring Operation: 55-48=7, Resulting Numbers: [16, 7] Generated Node #0,0,1: 96:[16, 7] Operation: 55-48=7 Moving to Node #0,0,1 Current State: 96:[16, 7], Operations: ['60-44=16', '55-48=7'] Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,96 unequal: No Solution Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[16, 103], Operations: ['60-44=16', '48+55=103'] Exploring Operation: 103-16=87, Resulting Numbers: [87] 87,96 unequal: No Solution Exploring Operation: 16+103=119, Resulting Numbers: [119] 119,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 23, 14, 24, 32 ]
92
[ "24+32=56", "23*56=1288", "1288/14=92" ]
Current State: 92:[23, 14, 24, 32], Operations: [] Exploring Operation: 24+32=56, Resulting Numbers: [23, 14, 56] Generated Node #2: [23, 14, 56] from Operation: 24+32=56 Current State: 92:[23, 14, 56], Operations: ['24+32=56'] Exploring Operation: 23*56=1288, Resulting Numbers: [14, 1288] Generated Node #3: [14, 1288] from Operation: 23*56=1288 Current State: 92:[14, 1288], Operations: ['24+32=56', '23*56=1288'] Exploring Operation: 1288/14=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[23, 14, 24, 32], Operations: [] Exploring Operation: 14+32=46, Resulting Numbers: [23, 24, 46] Generated Node #0,0: 92:[23, 24, 46] Operation: 14+32=46 Exploring Operation: 32-23=9, Resulting Numbers: [14, 24, 9] Generated Node #0,1: 92:[14, 24, 9] Operation: 32-23=9 Exploring Operation: 32-24=8, Resulting Numbers: [23, 14, 8] Generated Node #0,2: 92:[23, 14, 8] Operation: 32-24=8 Exploring Operation: 32-14=18, Resulting Numbers: [23, 24, 18] Generated Node #0,3: 92:[23, 24, 18] Operation: 32-14=18 Exploring Operation: 23-14=9, Resulting Numbers: [24, 32, 9] Generated Node #0,4: 92:[24, 32, 9] Operation: 23-14=9 Moving to Node #0,0 Current State: 92:[23, 24, 46], Operations: ['14+32=46'] Exploring Operation: 23+24=47, Resulting Numbers: [46, 47] Generated Node #0,0,0: 92:[46, 47] Operation: 23+24=47 Exploring Operation: 46-23=23, Resulting Numbers: [24, 23] Generated Node #0,0,1: 92:[24, 23] Operation: 46-23=23 Exploring Operation: 46-24=22, Resulting Numbers: [23, 22] Generated Node #0,0,2: 92:[23, 22] Operation: 46-24=22 Exploring Operation: 24-23=1, Resulting Numbers: [46, 1] Generated Node #0,0,3: 92:[46, 1] Operation: 24-23=1 Exploring Operation: 46/23=2, Resulting Numbers: [24, 2] Generated Node #0,0,4: 92:[24, 2] Operation: 46/23=2 Moving to Node #0,3 Current State: 92:[23, 24, 18], Operations: ['32-14=18'] Exploring Operation: 24-23=1, Resulting Numbers: [18, 1] Generated Node #0,3,0: 92:[18, 1] Operation: 24-23=1 Exploring Operation: 23-18=5, Resulting Numbers: [24, 5] Generated Node #0,3,1: 92:[24, 5] Operation: 23-18=5 Exploring Operation: 23+24=47, Resulting Numbers: [18, 47] Generated Node #0,3,2: 92:[18, 47] Operation: 23+24=47 Exploring Operation: 24-18=6, Resulting Numbers: [23, 6] Generated Node #0,3,3: 92:[23, 6] Operation: 24-18=6 Exploring Operation: 24+18=42, Resulting Numbers: [23, 42] Generated Node #0,3,4: 92:[23, 42] Operation: 24+18=42 Moving to Node #0,2 Current State: 92:[23, 14, 8], Operations: ['32-24=8'] Exploring Operation: 23+8=31, Resulting Numbers: [14, 31] Generated Node #0,2,0: 92:[14, 31] Operation: 23+8=31 Exploring Operation: 14-8=6, Resulting Numbers: [23, 6] Generated Node #0,2,1: 92:[23, 6] Operation: 14-8=6 Exploring Operation: 23-14=9, Resulting Numbers: [8, 9] Generated Node #0,2,2: 92:[8, 9] Operation: 23-14=9 Exploring Operation: 14+8=22, Resulting Numbers: [23, 22] Generated Node #0,2,3: 92:[23, 22] Operation: 14+8=22 Exploring Operation: 23+14=37, Resulting Numbers: [8, 37] Generated Node #0,2,4: 92:[8, 37] Operation: 23+14=37 Moving to Node #0,1 Current State: 92:[14, 24, 9], Operations: ['32-23=9'] Exploring Operation: 14+9=23, Resulting Numbers: [24, 23] Generated Node #0,1,0: 92:[24, 23] Operation: 14+9=23 Exploring Operation: 24-14=10, Resulting Numbers: [9, 10] Generated Node #0,1,1: 92:[9, 10] Operation: 24-14=10 Exploring Operation: 14-9=5, Resulting Numbers: [24, 5] Generated Node #0,1,2: 92:[24, 5] Operation: 14-9=5 Exploring Operation: 14+24=38, Resulting Numbers: [9, 38] Generated Node #0,1,3: 92:[9, 38] Operation: 14+24=38 Exploring Operation: 24-9=15, Resulting Numbers: [14, 15] Generated Node #0,1,4: 92:[14, 15] Operation: 24-9=15 Moving to Node #0,4 Current State: 92:[24, 32, 9], Operations: ['23-14=9'] Exploring Operation: 32-9=23, Resulting Numbers: [24, 23] Generated Node #0,4,0: 92:[24, 23] Operation: 32-9=23 Exploring Operation: 24-9=15, Resulting Numbers: [32, 15] Generated Node #0,4,1: 92:[32, 15] Operation: 24-9=15 Exploring Operation: 24+32=56, Resulting Numbers: [9, 56] Generated Node #0,4,2: 92:[9, 56] Operation: 24+32=56 Exploring Operation: 32-24=8, Resulting Numbers: [9, 8] Generated Node #0,4,3: 92:[9, 8] Operation: 32-24=8 Exploring Operation: 32+9=41, Resulting Numbers: [24, 41] Generated Node #0,4,4: 92:[24, 41] Operation: 32+9=41 Moving to Node #0,0,0 Current State: 92:[46, 47], Operations: ['14+32=46', '23+24=47'] Exploring Operation: 46+47=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 46*47=2162, Resulting Numbers: [2162] 2162,92 unequal: No Solution Exploring Operation: 47-46=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[23, 22], Operations: ['14+32=46', '46-24=22'] Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,92 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[24, 23], Operations: ['14+32=46', '46-23=23'] Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,92 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,0,4 Current State: 92:[24, 2], Operations: ['14+32=46', '46/23=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,92 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,92 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,92 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[23, 22], Operations: ['32-24=8', '14+8=22'] Exploring Operation: 23*22=506, Resulting Numbers: [506] 506,92 unequal: No Solution Exploring Operation: 23+22=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 23-22=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,4,0 Current State: 92:[24, 23], Operations: ['23-14=9', '32-9=23'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[46, 1], Operations: ['14+32=46', '24-23=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[24, 23], Operations: ['32-23=9', '14+9=23'] Exploring Operation: 24+23=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 24*23=552, Resulting Numbers: [552] 552,92 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,3,3 Current State: 92:[23, 6], Operations: ['32-14=18', '24-18=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[24, 5], Operations: ['32-14=18', '23-18=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[23, 6], Operations: ['32-24=8', '14-8=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,92 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[24, 5], Operations: ['32-23=9', '14-9=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,92 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[23, 42], Operations: ['32-14=18', '24+18=42'] Exploring Operation: 23+42=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 42-23=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 23*42=966, Resulting Numbers: [966] 966,92 unequal: No Solution Moving to Node #0,4,4 Current State: 92:[24, 41], Operations: ['23-14=9', '32+9=41'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,92 unequal: No Solution Moving to Node #0,3,2 Current State: 92:[18, 47], Operations: ['32-14=18', '23+24=47'] Exploring Operation: 18+47=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 18*47=846, Resulting Numbers: [846] 846,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[18, 1], Operations: ['32-14=18', '24-23=1'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[8, 9], Operations: ['32-24=8', '23-14=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,4,3 Current State: 92:[9, 8], Operations: ['23-14=9', '32-24=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[9, 10], Operations: ['32-23=9', '24-14=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,92 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[8, 37], Operations: ['32-24=8', '23+14=37'] Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,92 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[9, 38], Operations: ['32-23=9', '14+24=38'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,92 unequal: No Solution Exploring Operation: 9+38=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 9*38=342, Resulting Numbers: [342] 342,92 unequal: No Solution Moving to Node #0,4,2 Current State: 92:[9, 56], Operations: ['23-14=9', '24+32=56'] Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 9*56=504, Resulting Numbers: [504] 504,92 unequal: No Solution Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,92 unequal: No Solution Moving to Node #0,4,1 Current State: 92:[32, 15], Operations: ['23-14=9', '24-9=15'] Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,92 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[14, 15], Operations: ['32-23=9', '24-9=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,92 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[14, 31], Operations: ['32-24=8', '23+8=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,92 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,92 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 98, 10, 74, 55 ]
41
[ "98-10=88", "74+55=129", "129-88=41" ]
Current State: 41:[98, 10, 74, 55], Operations: [] Exploring Operation: 98-10=88, Resulting Numbers: [74, 55, 88] Generated Node #2: [74, 55, 88] from Operation: 98-10=88 Current State: 41:[74, 55, 88], Operations: ['98-10=88'] Exploring Operation: 74+55=129, Resulting Numbers: [88, 129] Generated Node #3: [88, 129] from Operation: 74+55=129 Current State: 41:[88, 129], Operations: ['98-10=88', '74+55=129'] Exploring Operation: 129-88=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[98, 10, 74, 55], Operations: [] Exploring Operation: 98-74=24, Resulting Numbers: [10, 55, 24] Generated Node #0,0: 41:[10, 55, 24] Operation: 98-74=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[10, 55, 24], Operations: ['98-74=24'] Exploring Operation: 55-10=45, Resulting Numbers: [24, 45] Generated Node #0,0,0: 41:[24, 45] Operation: 55-10=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[24, 45], Operations: ['98-74=24', '55-10=45'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 84, 48, 11 ]
42
[ "84+48=132", "132/11=12", "30+12=42" ]
Current State: 42:[30, 84, 48, 11], Operations: [] Exploring Operation: 84+48=132, Resulting Numbers: [30, 11, 132] Generated Node #2: [30, 11, 132] from Operation: 84+48=132 Current State: 42:[30, 11, 132], Operations: ['84+48=132'] Exploring Operation: 132/11=12, Resulting Numbers: [30, 12] Generated Node #3: [30, 12] from Operation: 132/11=12 Current State: 42:[30, 12], Operations: ['84+48=132', '132/11=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[30, 84, 48, 11], Operations: [] Exploring Operation: 84-30=54, Resulting Numbers: [48, 11, 54] Generated Node #0,0: 42:[48, 11, 54] Operation: 84-30=54 Exploring Operation: 84-11=73, Resulting Numbers: [30, 48, 73] Generated Node #0,1: 42:[30, 48, 73] Operation: 84-11=73 Exploring Operation: 84-48=36, Resulting Numbers: [30, 11, 36] Generated Node #0,2: 42:[30, 11, 36] Operation: 84-48=36 Exploring Operation: 48-30=18, Resulting Numbers: [84, 11, 18] Generated Node #0,3: 42:[84, 11, 18] Operation: 48-30=18 Exploring Operation: 30+11=41, Resulting Numbers: [84, 48, 41] Generated Node #0,4: 42:[84, 48, 41] Operation: 30+11=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[30, 11, 36], Operations: ['84-48=36'] Exploring Operation: 30-11=19, Resulting Numbers: [36, 19] Generated Node #0,2,0: 42:[36, 19] Operation: 30-11=19 Exploring Operation: 36-11=25, Resulting Numbers: [30, 25] Generated Node #0,2,1: 42:[30, 25] Operation: 36-11=25 Exploring Operation: 36-30=6, Resulting Numbers: [11, 6] Generated Node #0,2,2: 42:[11, 6] Operation: 36-30=6 Exploring Operation: 11+36=47, Resulting Numbers: [30, 47] Generated Node #0,2,3: 42:[30, 47] Operation: 11+36=47 Exploring Operation: 30+11=41, Resulting Numbers: [36, 41] Generated Node #0,2,4: 42:[36, 41] Operation: 30+11=41 Moving to Node #0,2,2 Current State: 42:[11, 6], Operations: ['84-48=36', '36-30=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,42 unequal: No Solution Moving to Node #0,2,4 Current State: 42:[36, 41], Operations: ['84-48=36', '30+11=41'] Exploring Operation: 36*41=1476, Resulting Numbers: [1476] 1476,42 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 36+41=77, Resulting Numbers: [77] 77,42 unequal: No Solution Moving to Node #0,2,0 Current State: 42:[36, 19], Operations: ['84-48=36', '30-11=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,42 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,42 unequal: No Solution Moving to Node #0,2,1 Current State: 42:[30, 25], Operations: ['84-48=36', '36-11=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,42 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,2,3 Current State: 42:[30, 47], Operations: ['84-48=36', '11+36=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,42 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[48, 11, 54], Operations: ['84-30=54'] Exploring Operation: 54-11=43, Resulting Numbers: [48, 43] Generated Node #0,0,0: 42:[48, 43] Operation: 54-11=43 Exploring Operation: 11+54=65, Resulting Numbers: [48, 65] Generated Node #0,0,1: 42:[48, 65] Operation: 11+54=65 Exploring Operation: 54-48=6, Resulting Numbers: [11, 6] Generated Node #0,0,2: 42:[11, 6] Operation: 54-48=6 Exploring Operation: 48+11=59, Resulting Numbers: [54, 59] Generated Node #0,0,3: 42:[54, 59] Operation: 48+11=59 Exploring Operation: 48-11=37, Resulting Numbers: [54, 37] Generated Node #0,0,4: 42:[54, 37] Operation: 48-11=37 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[11, 6], Operations: ['84-30=54', '54-48=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,42 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,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,0 Current State: 42:[48, 43], Operations: ['84-30=54', '54-11=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,42 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,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,4 Current State: 42:[54, 37], Operations: ['84-30=54', '48-11=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,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:[48, 65], Operations: ['84-30=54', '11+54=65'] Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,42 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,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,3 Current State: 42:[54, 59], Operations: ['84-30=54', '48+11=59'] Exploring Operation: 54*59=3186, Resulting Numbers: [3186] 3186,42 unequal: No Solution Exploring Operation: 59-54=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 54+59=113, Resulting Numbers: [113] 113,42 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: 42:[30, 48, 73], Operations: ['84-11=73'] Exploring Operation: 30+48=78, Resulting Numbers: [73, 78] Generated Node #0,1,0: 42:[73, 78] Operation: 30+48=78 Exploring Operation: 48-30=18, Resulting Numbers: [73, 18] Generated Node #0,1,1: 42:[73, 18] Operation: 48-30=18 Exploring Operation: 73-30=43, Resulting Numbers: [48, 43] Generated Node #0,1,2: 42:[48, 43] Operation: 73-30=43 Exploring Operation: 73-48=25, Resulting Numbers: [30, 25] Generated Node #0,1,3: 42:[30, 25] Operation: 73-48=25 Exploring Operation: 30+73=103, Resulting Numbers: [48, 103] Generated Node #0,1,4: 42:[48, 103] Operation: 30+73=103 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 42:[48, 43], Operations: ['84-11=73', '73-30=43'] Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,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,1,3 Current State: 42:[30, 25], Operations: ['84-11=73', '73-48=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,42 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,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,1,1 Current State: 42:[73, 18], Operations: ['84-11=73', '48-30=18'] Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,42 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,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,1,0 Current State: 42:[73, 78], Operations: ['84-11=73', '30+48=78'] Exploring Operation: 78-73=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 73*78=5694, Resulting Numbers: [5694] 5694,42 unequal: No Solution Exploring Operation: 73+78=151, Resulting Numbers: [151] 151,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,1,4 Current State: 42:[48, 103], Operations: ['84-11=73', '30+73=103'] Exploring Operation: 103-48=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 48+103=151, Resulting Numbers: [151] 151,42 unequal: No Solution Exploring Operation: 48*103=4944, Resulting Numbers: [4944] 4944,42 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: 42:[84, 11, 18], Operations: ['48-30=18'] Exploring Operation: 84+11=95, Resulting Numbers: [18, 95] Generated Node #0,3,0: 42:[18, 95] Operation: 84+11=95 Exploring Operation: 84-11=73, Resulting Numbers: [18, 73] Generated Node #0,3,1: 42:[18, 73] Operation: 84-11=73 Exploring Operation: 11+18=29, Resulting Numbers: [84, 29] Generated Node #0,3,2: 42:[84, 29] Operation: 11+18=29 Exploring Operation: 18-11=7, Resulting Numbers: [84, 7] Generated Node #0,3,3: 42:[84, 7] Operation: 18-11=7 Exploring Operation: 84-18=66, Resulting Numbers: [11, 66] Generated Node #0,3,4: 42:[11, 66] Operation: 84-18=66 Moving to Node #0,3,4 Current State: 42:[11, 66], Operations: ['48-30=18', '84-18=66'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[18, 73], Operations: ['48-30=18', '84-11=73'] Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,42 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[84, 7], Operations: ['48-30=18', '18-11=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,42 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[84, 29], Operations: ['48-30=18', '11+18=29'] Exploring Operation: 84-29=55, Resulting Numbers: [55] 55,42 unequal: No Solution Exploring Operation: 84*29=2436, Resulting Numbers: [2436] 2436,42 unequal: No Solution Exploring Operation: 84+29=113, Resulting Numbers: [113] 113,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[18, 95], Operations: ['48-30=18', '84+11=95'] Exploring Operation: 18*95=1710, Resulting Numbers: [1710] 1710,42 unequal: No Solution Exploring Operation: 18+95=113, Resulting Numbers: [113] 113,42 unequal: No Solution Exploring Operation: 95-18=77, Resulting Numbers: [77] 77,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 42:[84, 48, 41], Operations: ['30+11=41'] Exploring Operation: 84-48=36, Resulting Numbers: [41, 36] Generated Node #0,4,0: 42:[41, 36] Operation: 84-48=36 Exploring Operation: 84-41=43, Resulting Numbers: [48, 43] Generated Node #0,4,1: 42:[48, 43] Operation: 84-41=43 Exploring Operation: 84+41=125, Resulting Numbers: [48, 125] Generated Node #0,4,2: 42:[48, 125] Operation: 84+41=125 Exploring Operation: 48+41=89, Resulting Numbers: [84, 89] Generated Node #0,4,3: 42:[84, 89] Operation: 48+41=89 Exploring Operation: 48-41=7, Resulting Numbers: [84, 7] Generated Node #0,4,4: 42:[84, 7] Operation: 48-41=7 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 42:[41, 36], Operations: ['30+11=41', '84-48=36'] Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,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,4,1 Current State: 42:[48, 43], Operations: ['30+11=41', '84-41=43'] Exploring Operation: 48*43=2064, Resulting Numbers: [2064] 2064,42 unequal: No Solution Exploring Operation: 48+43=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 48-43=5, Resulting Numbers: [5] 5,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,4,4 Current State: 42:[84, 7], Operations: ['30+11=41', '48-41=7'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,42 unequal: No Solution Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,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,4,2 Current State: 42:[48, 125], Operations: ['30+11=41', '84+41=125'] Exploring Operation: 125-48=77, Resulting Numbers: [77] 77,42 unequal: No Solution Exploring Operation: 48*125=6000, Resulting Numbers: [6000] 6000,42 unequal: No Solution Exploring Operation: 48+125=173, Resulting Numbers: [173] 173,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,4,3 Current State: 42:[84, 89], Operations: ['30+11=41', '48+41=89'] Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,42 unequal: No Solution Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,42 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,42 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
[ 40, 30, 14, 44 ]
86
[ "44-40=4", "14*4=56", "30+56=86" ]
Current State: 86:[40, 30, 14, 44], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [30, 14, 4] Generated Node #2: [30, 14, 4] from Operation: 44-40=4 Current State: 86:[30, 14, 4], Operations: ['44-40=4'] Exploring Operation: 14*4=56, Resulting Numbers: [30, 56] Generated Node #3: [30, 56] from Operation: 14*4=56 Current State: 86:[30, 56], Operations: ['44-40=4', '14*4=56'] Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[40, 30, 14, 44], Operations: [] Exploring Operation: 30+14=44, Resulting Numbers: [40, 44, 44] Generated Node #0,0: 86:[40, 44, 44] Operation: 30+14=44 Exploring Operation: 40+14=54, Resulting Numbers: [30, 44, 54] Generated Node #0,1: 86:[30, 44, 54] Operation: 40+14=54 Exploring Operation: 40-30=10, Resulting Numbers: [14, 44, 10] Generated Node #0,2: 86:[14, 44, 10] Operation: 40-30=10 Exploring Operation: 30-14=16, Resulting Numbers: [40, 44, 16] Generated Node #0,3: 86:[40, 44, 16] Operation: 30-14=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[40, 44, 44], Operations: ['30+14=44'] Exploring Operation: 40+44=84, Resulting Numbers: [44, 84] Generated Node #0,0,0: 86:[44, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [44, 4] Generated Node #0,0,1: 86:[44, 4] Operation: 44-40=4 Exploring Operation: 40+44=84, Resulting Numbers: [44, 84] Generated Node #0,0,2: 86:[44, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [44, 4] Generated Node #0,0,3: 86:[44, 4] Operation: 44-40=4 Moving to Node #0,0,0 Current State: 86:[44, 84], Operations: ['30+14=44', '40+44=84'] Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,86 unequal: No Solution Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[44, 84], Operations: ['30+14=44', '40+44=84'] Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,86 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[44, 4], Operations: ['30+14=44', '44-40=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,86 unequal: No Solution Moving to Node #0,0,3 Current State: 86:[44, 4], Operations: ['30+14=44', '44-40=4'] Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,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 Current State: 86:[40, 44, 16], Operations: ['30-14=16'] Exploring Operation: 40+44=84, Resulting Numbers: [16, 84] Generated Node #0,3,0: 86:[16, 84] Operation: 40+44=84 Exploring Operation: 44-40=4, Resulting Numbers: [16, 4] Generated Node #0,3,1: 86:[16, 4] Operation: 44-40=4 Exploring Operation: 44-16=28, Resulting Numbers: [40, 28] Generated Node #0,3,2: 86:[40, 28] Operation: 44-16=28 Exploring Operation: 40+16=56, Resulting Numbers: [44, 56] Generated Node #0,3,3: 86:[44, 56] Operation: 40+16=56 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 86:[44, 56], Operations: ['30-14=16', '40+16=56'] Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,86 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,86 unequal: No Solution No 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: 86:[16, 84], Operations: ['30-14=16', '40+44=84'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 16*84=1344, Resulting Numbers: [1344] 1344,86 unequal: No Solution Exploring Operation: 16+84=100, Resulting Numbers: [100] 100,86 unequal: No Solution No 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: 86:[16, 4], Operations: ['30-14=16', '44-40=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,86 unequal: No Solution No 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: 86:[40, 28], Operations: ['30-14=16', '44-16=28'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,86 unequal: No Solution Exploring Operation: 40+28=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 40*28=1120, Resulting Numbers: [1120] 1120,86 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: 86:[14, 44, 10], Operations: ['40-30=10'] Exploring Operation: 14+10=24, Resulting Numbers: [44, 24] Generated Node #0,2,0: 86:[44, 24] Operation: 14+10=24 Exploring Operation: 14-10=4, Resulting Numbers: [44, 4] Generated Node #0,2,1: 86:[44, 4] Operation: 14-10=4 Exploring Operation: 44-14=30, Resulting Numbers: [10, 30] Generated Node #0,2,2: 86:[10, 30] Operation: 44-14=30 Exploring Operation: 44-10=34, Resulting Numbers: [14, 34] Generated Node #0,2,3: 86:[14, 34] Operation: 44-10=34 Moving to Node #0,2,1 Current State: 86:[44, 4], Operations: ['40-30=10', '14-10=4'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 44+4=48, Resulting Numbers: [48] 48,86 unequal: No Solution Exploring Operation: 44*4=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[44, 24], Operations: ['40-30=10', '14+10=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,86 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[14, 34], Operations: ['40-30=10', '44-10=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,86 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[10, 30], Operations: ['40-30=10', '44-14=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,86 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,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,1 Current State: 86:[30, 44, 54], Operations: ['40+14=54'] Exploring Operation: 30+54=84, Resulting Numbers: [44, 84] Generated Node #0,1,0: 86:[44, 84] Operation: 30+54=84 Exploring Operation: 54-30=24, Resulting Numbers: [44, 24] Generated Node #0,1,1: 86:[44, 24] Operation: 54-30=24 Exploring Operation: 30+44=74, Resulting Numbers: [54, 74] Generated Node #0,1,2: 86:[54, 74] Operation: 30+44=74 Exploring Operation: 54-44=10, Resulting Numbers: [30, 10] Generated Node #0,1,3: 86:[30, 10] Operation: 54-44=10 Moving to Node #0,1,0 Current State: 86:[44, 84], Operations: ['40+14=54', '30+54=84'] Exploring Operation: 44*84=3696, Resulting Numbers: [3696] 3696,86 unequal: No Solution Exploring Operation: 44+84=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[44, 24], Operations: ['40+14=54', '54-30=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,86 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[30, 10], Operations: ['40+14=54', '54-44=10'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,86 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,86 unequal: No Solution Moving to Node #0,1,2 Current State: 86:[54, 74], Operations: ['40+14=54', '30+44=74'] Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,86 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,86 unequal: No Solution Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,86 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
[ 57, 6, 72, 57 ]
65
[ "57/57=1", "72-6=66", "66-1=65" ]
Current State: 65:[57, 6, 72, 57], Operations: [] Exploring Operation: 57/57=1, Resulting Numbers: [6, 72, 1] Generated Node #2: [6, 72, 1] from Operation: 57/57=1 Current State: 65:[6, 72, 1], Operations: ['57/57=1'] Exploring Operation: 72-6=66, Resulting Numbers: [1, 66] Generated Node #3: [1, 66] from Operation: 72-6=66 Current State: 65:[1, 66], Operations: ['57/57=1', '72-6=66'] Exploring Operation: 66-1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[57, 6, 72, 57], Operations: [] Exploring Operation: 72-57=15, Resulting Numbers: [6, 57, 15] Generated Node #0,0: 65:[6, 57, 15] Operation: 72-57=15 Moving to Node #0,0 Current State: 65:[6, 57, 15], Operations: ['72-57=15'] Exploring Operation: 6+57=63, Resulting Numbers: [15, 63] Generated Node #0,0,0: 65:[15, 63] Operation: 6+57=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[15, 63], Operations: ['72-57=15', '6+57=63'] Exploring Operation: 15+63=78, Resulting Numbers: [78] 78,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 48, 96, 3, 12 ]
39
[ "96-48=48", "12-3=9", "48-9=39" ]
Current State: 39:[48, 96, 3, 12], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [3, 12, 48] Generated Node #2: [3, 12, 48] from Operation: 96-48=48 Current State: 39:[3, 12, 48], Operations: ['96-48=48'] Exploring Operation: 12-3=9, Resulting Numbers: [48, 9] Generated Node #3: [48, 9] from Operation: 12-3=9 Current State: 39:[48, 9], Operations: ['96-48=48', '12-3=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[48, 96, 3, 12], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [3, 12, 48] Generated Node #0,0: 39:[3, 12, 48] Operation: 96-48=48 Exploring Operation: 96/12=8, Resulting Numbers: [48, 3, 8] Generated Node #0,1: 39:[48, 3, 8] Operation: 96/12=8 Exploring Operation: 96/48=2, Resulting Numbers: [3, 12, 2] Generated Node #0,2: 39:[3, 12, 2] Operation: 96/48=2 Exploring Operation: 96/3=32, Resulting Numbers: [48, 12, 32] Generated Node #0,3: 39:[48, 12, 32] Operation: 96/3=32 Moving to Node #0,2 Current State: 39:[3, 12, 2], Operations: ['96/48=2'] Exploring Operation: 12+2=14, Resulting Numbers: [3, 14] Generated Node #0,2,0: 39:[3, 14] Operation: 12+2=14 Exploring Operation: 12/3=4, Resulting Numbers: [2, 4] Generated Node #0,2,1: 39:[2, 4] Operation: 12/3=4 Exploring Operation: 3+12=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 39:[2, 15] Operation: 3+12=15 Exploring Operation: 3+2=5, Resulting Numbers: [12, 5] Generated Node #0,2,3: 39:[12, 5] Operation: 3+2=5 Moving to Node #0,0 Current State: 39:[3, 12, 48], Operations: ['96-48=48'] Exploring Operation: 48/12=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 39:[3, 4] Operation: 48/12=4 Exploring Operation: 48-3=45, Resulting Numbers: [12, 45] Generated Node #0,0,1: 39:[12, 45] Operation: 48-3=45 Exploring Operation: 48/3=16, Resulting Numbers: [12, 16] Generated Node #0,0,2: 39:[12, 16] Operation: 48/3=16 Exploring Operation: 48-12=36, Resulting Numbers: [3, 36] Generated Node #0,0,3: 39:[3, 36] Operation: 48-12=36 Moving to Node #0,1 Current State: 39:[48, 3, 8], Operations: ['96/12=8'] Exploring Operation: 48-3=45, Resulting Numbers: [8, 45] Generated Node #0,1,0: 39:[8, 45] Operation: 48-3=45 Exploring Operation: 48-8=40, Resulting Numbers: [3, 40] Generated Node #0,1,1: 39:[3, 40] Operation: 48-8=40 Exploring Operation: 48/8=6, Resulting Numbers: [3, 6] Generated Node #0,1,2: 39:[3, 6] Operation: 48/8=6 Exploring Operation: 48/3=16, Resulting Numbers: [8, 16] Generated Node #0,1,3: 39:[8, 16] Operation: 48/3=16 Moving to Node #0,3 Current State: 39:[48, 12, 32], Operations: ['96/3=32'] Exploring Operation: 48-32=16, Resulting Numbers: [12, 16] Generated Node #0,3,0: 39:[12, 16] Operation: 48-32=16 Exploring Operation: 48/12=4, Resulting Numbers: [32, 4] Generated Node #0,3,1: 39:[32, 4] Operation: 48/12=4 Exploring Operation: 48-12=36, Resulting Numbers: [32, 36] Generated Node #0,3,2: 39:[32, 36] Operation: 48-12=36 Exploring Operation: 12+32=44, Resulting Numbers: [48, 44] Generated Node #0,3,3: 39:[48, 44] Operation: 12+32=44 Moving to Node #0,2,0 Current State: 39:[3, 14], Operations: ['96/48=2', '12+2=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[3, 4], Operations: ['96-48=48', '48/12=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,39 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[3, 40], Operations: ['96/12=8', '48-8=40'] Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,39 unequal: No Solution Exploring Operation: 3*40=120, Resulting Numbers: [120] 120,39 unequal: No Solution Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,39 unequal: No Solution Moving to Node #0,2,1 Current State: 39:[2, 4], Operations: ['96/48=2', '12/3=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,39 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,39 unequal: No Solution Moving to Node #0,2,2 Current State: 39:[2, 15], Operations: ['96/48=2', '3+12=15'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[3, 36], Operations: ['96-48=48', '48-12=36'] Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[48, 96, 3, 12], Operations: [] Exploring Operation: 96-48=48, Resulting Numbers: [3, 12, 48] Generated Node #0,0: 39:[3, 12, 48] Operation: 96-48=48 Moving to Node #0,0 Current State: 39:[3, 12, 48], Operations: ['96-48=48'] Exploring Operation: 48-12=36, Resulting Numbers: [3, 36] Generated Node #0,0,3: 39:[3, 36] Operation: 48-12=36 Moving to Node #0,0,3 Current State: 39:[3, 36], Operations: ['96-48=48', '48-12=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.963542
hs_4
sum_heuristic
[ 73, 9, 45, 55 ]
17
[ "55-45=10", "9*10=90", "90-73=17" ]
Current State: 17:[73, 9, 45, 55], Operations: [] Exploring Operation: 55-45=10, Resulting Numbers: [73, 9, 10] Generated Node #2: [73, 9, 10] from Operation: 55-45=10 Current State: 17:[73, 9, 10], Operations: ['55-45=10'] Exploring Operation: 9*10=90, Resulting Numbers: [73, 90] Generated Node #3: [73, 90] from Operation: 9*10=90 Current State: 17:[73, 90], Operations: ['55-45=10', '9*10=90'] Exploring Operation: 90-73=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[73, 9, 45, 55], Operations: [] Exploring Operation: 73-55=18, Resulting Numbers: [9, 45, 18] Generated Node #0,0: 17:[9, 45, 18] Operation: 73-55=18 Exploring Operation: 73-45=28, Resulting Numbers: [9, 55, 28] Generated Node #0,1: 17:[9, 55, 28] Operation: 73-45=28 Exploring Operation: 55-45=10, Resulting Numbers: [73, 9, 10] Generated Node #0,2: 17:[73, 9, 10] Operation: 55-45=10 Moving to Node #0,0 Current State: 17:[9, 45, 18], Operations: ['73-55=18'] Exploring Operation: 45-18=27, Resulting Numbers: [9, 27] Generated Node #0,0,0: 17:[9, 27] Operation: 45-18=27 Exploring Operation: 45-9=36, Resulting Numbers: [18, 36] Generated Node #0,0,1: 17:[18, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [18, 5] Generated Node #0,0,2: 17:[18, 5] Operation: 45/9=5 Moving to Node #0,1 Current State: 17:[9, 55, 28], Operations: ['73-45=28'] Exploring Operation: 55-9=46, Resulting Numbers: [28, 46] Generated Node #0,1,0: 17:[28, 46] Operation: 55-9=46 Exploring Operation: 55-28=27, Resulting Numbers: [9, 27] Generated Node #0,1,1: 17:[9, 27] Operation: 55-28=27 Exploring Operation: 28-9=19, Resulting Numbers: [55, 19] Generated Node #0,1,2: 17:[55, 19] Operation: 28-9=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[9, 27], Operations: ['73-45=28', '55-28=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,17 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[28, 46], Operations: ['73-45=28', '55-9=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,17 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[55, 19], Operations: ['73-45=28', '28-9=19'] Exploring Operation: 55*19=1045, Resulting Numbers: [1045] 1045,17 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 55+19=74, Resulting Numbers: [74] 74,17 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: 17:[73, 9, 10], Operations: ['55-45=10'] Exploring Operation: 73-9=64, Resulting Numbers: [10, 64] Generated Node #0,2,0: 17:[10, 64] Operation: 73-9=64 Exploring Operation: 9+10=19, Resulting Numbers: [73, 19] Generated Node #0,2,1: 17:[73, 19] Operation: 9+10=19 Exploring Operation: 73-10=63, Resulting Numbers: [9, 63] Generated Node #0,2,2: 17:[9, 63] Operation: 73-10=63 Moving to Node #0,0,2 Current State: 17:[18, 5], Operations: ['73-55=18', '45/9=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,17 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[9, 27], Operations: ['73-55=18', '45-18=27'] Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,17 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[18, 36], Operations: ['73-55=18', '45-9=36'] Exploring Operation: 36/18=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 18+36=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 36-18=18, Resulting Numbers: [18] 18,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[9, 63], Operations: ['55-45=10', '73-10=63'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,17 unequal: No Solution Exploring Operation: 9+63=72, Resulting Numbers: [72] 72,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[10, 64], Operations: ['55-45=10', '73-9=64'] Exploring Operation: 10*64=640, Resulting Numbers: [640] 640,17 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 10+64=74, Resulting Numbers: [74] 74,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[73, 19], Operations: ['55-45=10', '9+10=19'] Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,17 unequal: No Solution Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,17 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,17 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 99, 25, 51, 54 ]
75
[ "99+54=153", "25*153=3825", "3825/51=75" ]
Current State: 75:[99, 25, 51, 54], Operations: [] Exploring Operation: 99+54=153, Resulting Numbers: [25, 51, 153] Generated Node #2: [25, 51, 153] from Operation: 99+54=153 Current State: 75:[25, 51, 153], Operations: ['99+54=153'] Exploring Operation: 25*153=3825, Resulting Numbers: [51, 3825] Generated Node #3: [51, 3825] from Operation: 25*153=3825 Current State: 75:[51, 3825], Operations: ['99+54=153', '25*153=3825'] Exploring Operation: 3825/51=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[99, 25, 51, 54], Operations: [] Exploring Operation: 54-51=3, Resulting Numbers: [99, 25, 3] Generated Node #0,0: 75:[99, 25, 3] Operation: 54-51=3 Exploring Operation: 99-54=45, Resulting Numbers: [25, 51, 45] Generated Node #0,1: 75:[25, 51, 45] Operation: 99-54=45 Exploring Operation: 99-25=74, Resulting Numbers: [51, 54, 74] Generated Node #0,2: 75:[51, 54, 74] Operation: 99-25=74 Exploring Operation: 99-51=48, Resulting Numbers: [25, 54, 48] Generated Node #0,3: 75:[25, 54, 48] Operation: 99-51=48 Exploring Operation: 25+51=76, Resulting Numbers: [99, 54, 76] Generated Node #0,4: 75:[99, 54, 76] Operation: 25+51=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[99, 25, 3], Operations: ['54-51=3'] Exploring Operation: 25*3=75, Resulting Numbers: [99, 75] Generated Node #0,0,0: 75:[99, 75] Operation: 25*3=75 Exploring Operation: 99-25=74, Resulting Numbers: [3, 74] Generated Node #0,0,1: 75:[3, 74] Operation: 99-25=74 Exploring Operation: 99+3=102, Resulting Numbers: [25, 102] Generated Node #0,0,2: 75:[25, 102] Operation: 99+3=102 Exploring Operation: 99-3=96, Resulting Numbers: [25, 96] Generated Node #0,0,3: 75:[25, 96] Operation: 99-3=96 Exploring Operation: 99/3=33, Resulting Numbers: [25, 33] Generated Node #0,0,4: 75:[25, 33] Operation: 99/3=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[3, 74], Operations: ['54-51=3', '99-25=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,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,0,4 Current State: 75:[25, 33], Operations: ['54-51=3', '99/3=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,75 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,75 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,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,0,3 Current State: 75:[25, 96], Operations: ['54-51=3', '99-3=96'] Exploring Operation: 25*96=2400, Resulting Numbers: [2400] 2400,75 unequal: No Solution Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,75 unequal: No Solution Exploring Operation: 96-25=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,0,0 Current State: 75:[99, 75], Operations: ['54-51=3', '25*3=75'] Exploring Operation: 99*75=7425, Resulting Numbers: [7425] 7425,75 unequal: No Solution Exploring Operation: 99-75=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 99+75=174, Resulting Numbers: [174] 174,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,0,2 Current State: 75:[25, 102], Operations: ['54-51=3', '99+3=102'] Exploring Operation: 25*102=2550, Resulting Numbers: [2550] 2550,75 unequal: No Solution Exploring Operation: 25+102=127, Resulting Numbers: [127] 127,75 unequal: No Solution Exploring Operation: 102-25=77, Resulting Numbers: [77] 77,75 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: 75:[25, 51, 45], Operations: ['99-54=45'] Exploring Operation: 51-25=26, Resulting Numbers: [45, 26] Generated Node #0,1,0: 75:[45, 26] Operation: 51-25=26 Exploring Operation: 25+51=76, Resulting Numbers: [45, 76] Generated Node #0,1,1: 75:[45, 76] Operation: 25+51=76 Exploring Operation: 51+45=96, Resulting Numbers: [25, 96] Generated Node #0,1,2: 75:[25, 96] Operation: 51+45=96 Exploring Operation: 51-45=6, Resulting Numbers: [25, 6] Generated Node #0,1,3: 75:[25, 6] Operation: 51-45=6 Exploring Operation: 25+45=70, Resulting Numbers: [51, 70] Generated Node #0,1,4: 75:[51, 70] Operation: 25+45=70 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 75:[25, 6], Operations: ['99-54=45', '51-45=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,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:[45, 26], Operations: ['99-54=45', '51-25=26'] Exploring Operation: 45+26=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 45*26=1170, Resulting Numbers: [1170] 1170,75 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,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,1 Current State: 75:[45, 76], Operations: ['99-54=45', '25+51=76'] Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,75 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,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,2 Current State: 75:[25, 96], Operations: ['99-54=45', '51+45=96'] Exploring Operation: 25*96=2400, Resulting Numbers: [2400] 2400,75 unequal: No Solution Exploring Operation: 96-25=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 25+96=121, Resulting Numbers: [121] 121,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,4 Current State: 75:[51, 70], Operations: ['99-54=45', '25+45=70'] Exploring Operation: 51*70=3570, Resulting Numbers: [3570] 3570,75 unequal: No Solution Exploring Operation: 51+70=121, Resulting Numbers: [121] 121,75 unequal: No Solution Exploring Operation: 70-51=19, Resulting Numbers: [19] 19,75 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: 75:[25, 54, 48], Operations: ['99-51=48'] Exploring Operation: 54-25=29, Resulting Numbers: [48, 29] Generated Node #0,3,0: 75:[48, 29] Operation: 54-25=29 Exploring Operation: 25+54=79, Resulting Numbers: [48, 79] Generated Node #0,3,1: 75:[48, 79] Operation: 25+54=79 Exploring Operation: 54-48=6, Resulting Numbers: [25, 6] Generated Node #0,3,2: 75:[25, 6] Operation: 54-48=6 Exploring Operation: 25+48=73, Resulting Numbers: [54, 73] Generated Node #0,3,3: 75:[54, 73] Operation: 25+48=73 Exploring Operation: 48-25=23, Resulting Numbers: [54, 23] Generated Node #0,3,4: 75:[54, 23] Operation: 48-25=23 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[25, 6], Operations: ['99-51=48', '54-48=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,75 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,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,3,3 Current State: 75:[54, 73], Operations: ['99-51=48', '25+48=73'] Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,75 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 54*73=3942, Resulting Numbers: [3942] 3942,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,3,4 Current State: 75:[54, 23], Operations: ['99-51=48', '48-25=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,75 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,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,3,0 Current State: 75:[48, 29], Operations: ['99-51=48', '54-25=29'] Exploring Operation: 48+29=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 48-29=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 48*29=1392, Resulting Numbers: [1392] 1392,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,3,1 Current State: 75:[48, 79], Operations: ['99-51=48', '25+54=79'] Exploring Operation: 48*79=3792, Resulting Numbers: [3792] 3792,75 unequal: No Solution Exploring Operation: 48+79=127, Resulting Numbers: [127] 127,75 unequal: No Solution Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,75 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: 75:[51, 54, 74], Operations: ['99-25=74'] Exploring Operation: 74-54=20, Resulting Numbers: [51, 20] Generated Node #0,2,0: 75:[51, 20] Operation: 74-54=20 Exploring Operation: 51+54=105, Resulting Numbers: [74, 105] Generated Node #0,2,1: 75:[74, 105] Operation: 51+54=105 Exploring Operation: 74-51=23, Resulting Numbers: [54, 23] Generated Node #0,2,2: 75:[54, 23] Operation: 74-51=23 Exploring Operation: 51+74=125, Resulting Numbers: [54, 125] Generated Node #0,2,3: 75:[54, 125] Operation: 51+74=125 Exploring Operation: 54-51=3, Resulting Numbers: [74, 3] Generated Node #0,2,4: 75:[74, 3] Operation: 54-51=3 Moving to Node #0,2,4 Current State: 75:[74, 3], Operations: ['99-25=74', '54-51=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[54, 23], Operations: ['99-25=74', '74-51=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,75 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[51, 20], Operations: ['99-25=74', '74-54=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[74, 105], Operations: ['99-25=74', '51+54=105'] Exploring Operation: 74*105=7770, Resulting Numbers: [7770] 7770,75 unequal: No Solution Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 74+105=179, Resulting Numbers: [179] 179,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[54, 125], Operations: ['99-25=74', '51+74=125'] Exploring Operation: 125-54=71, Resulting Numbers: [71] 71,75 unequal: No Solution Exploring Operation: 54*125=6750, Resulting Numbers: [6750] 6750,75 unequal: No Solution Exploring Operation: 54+125=179, Resulting Numbers: [179] 179,75 unequal: No Solution No 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: 75:[99, 54, 76], Operations: ['25+51=76'] Exploring Operation: 99-54=45, Resulting Numbers: [76, 45] Generated Node #0,4,0: 75:[76, 45] Operation: 99-54=45 Exploring Operation: 99+54=153, Resulting Numbers: [76, 153] Generated Node #0,4,1: 75:[76, 153] Operation: 99+54=153 Exploring Operation: 54+76=130, Resulting Numbers: [99, 130] Generated Node #0,4,2: 75:[99, 130] Operation: 54+76=130 Exploring Operation: 76-54=22, Resulting Numbers: [99, 22] Generated Node #0,4,3: 75:[99, 22] Operation: 76-54=22 Exploring Operation: 99-76=23, Resulting Numbers: [54, 23] Generated Node #0,4,4: 75:[54, 23] Operation: 99-76=23 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 75:[76, 45], Operations: ['25+51=76', '99-54=45'] Exploring Operation: 76*45=3420, Resulting Numbers: [3420] 3420,75 unequal: No Solution Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 76+45=121, Resulting Numbers: [121] 121,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,4,4 Current State: 75:[54, 23], Operations: ['25+51=76', '99-76=23'] Exploring Operation: 54*23=1242, Resulting Numbers: [1242] 1242,75 unequal: No Solution Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,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,4,3 Current State: 75:[99, 22], Operations: ['25+51=76', '76-54=22'] Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,75 unequal: No Solution Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,75 unequal: No Solution Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,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,4,1 Current State: 75:[76, 153], Operations: ['25+51=76', '99+54=153'] Exploring Operation: 153-76=77, Resulting Numbers: [77] 77,75 unequal: No Solution Exploring Operation: 76+153=229, Resulting Numbers: [229] 229,75 unequal: No Solution Exploring Operation: 76*153=11628, Resulting Numbers: [11628] 11628,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,4,2 Current State: 75:[99, 130], Operations: ['25+51=76', '54+76=130'] Exploring Operation: 130-99=31, Resulting Numbers: [31] 31,75 unequal: No Solution Exploring Operation: 99+130=229, Resulting Numbers: [229] 229,75 unequal: No Solution Exploring Operation: 99*130=12870, Resulting Numbers: [12870] 12870,75 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
[ 46, 27, 73, 69 ]
23
[ "46-27=19", "73-69=4", "19+4=23" ]
Current State: 23:[46, 27, 73, 69], Operations: [] Exploring Operation: 46-27=19, Resulting Numbers: [73, 69, 19] Generated Node #2: [73, 69, 19] from Operation: 46-27=19 Current State: 23:[73, 69, 19], Operations: ['46-27=19'] Exploring Operation: 73-69=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 73-69=4 Current State: 23:[19, 4], Operations: ['46-27=19', '73-69=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[46, 27, 73, 69], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [27, 73, 23] Generated Node #0,0: 23:[27, 73, 23] Operation: 69-46=23 Exploring Operation: 73-46=27, Resulting Numbers: [27, 69, 27] Generated Node #0,1: 23:[27, 69, 27] Operation: 73-46=27 Exploring Operation: 73-69=4, Resulting Numbers: [46, 27, 4] Generated Node #0,2: 23:[46, 27, 4] Operation: 73-69=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[46, 27, 4], Operations: ['73-69=4'] Exploring Operation: 27-4=23, Resulting Numbers: [46, 23] Generated Node #0,2,0: 23:[46, 23] Operation: 27-4=23 Exploring Operation: 46-27=19, Resulting Numbers: [4, 19] Generated Node #0,2,1: 23:[4, 19] Operation: 46-27=19 Exploring Operation: 46-4=42, Resulting Numbers: [27, 42] Generated Node #0,2,2: 23:[27, 42] Operation: 46-4=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 23:[46, 23], Operations: ['73-69=4', '27-4=23'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[46, 27, 73, 69], Operations: [] Exploring Operation: 73-69=4, Resulting Numbers: [46, 27, 4] Generated Node #0,2: 23:[46, 27, 4] Operation: 73-69=4 Moving to Node #0,2 Current State: 23:[46, 27, 4], Operations: ['73-69=4'] Exploring Operation: 27-4=23, Resulting Numbers: [46, 23] Generated Node #0,2,0: 23:[46, 23] Operation: 27-4=23 Moving to Node #0,2,0 Current State: 23:[46, 23], Operations: ['73-69=4', '27-4=23'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 2, 8, 21, 60 ]
91
[ "2+8=10", "21+60=81", "10+81=91" ]
Current State: 91:[2, 8, 21, 60], Operations: [] Exploring Operation: 2+8=10, Resulting Numbers: [21, 60, 10] Generated Node #2: [21, 60, 10] from Operation: 2+8=10 Current State: 91:[21, 60, 10], Operations: ['2+8=10'] Exploring Operation: 21+60=81, Resulting Numbers: [10, 81] Generated Node #3: [10, 81] from Operation: 21+60=81 Current State: 91:[10, 81], Operations: ['2+8=10', '21+60=81'] Exploring Operation: 10+81=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[2, 8, 21, 60], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [8, 21, 30] Generated Node #0,0: 91:[8, 21, 30] Operation: 60/2=30 Exploring Operation: 21-8=13, Resulting Numbers: [2, 60, 13] Generated Node #0,1: 91:[2, 60, 13] Operation: 21-8=13 Exploring Operation: 21+60=81, Resulting Numbers: [2, 8, 81] Generated Node #0,2: 91:[2, 8, 81] Operation: 21+60=81 Exploring Operation: 60-21=39, Resulting Numbers: [2, 8, 39] Generated Node #0,3: 91:[2, 8, 39] Operation: 60-21=39 Exploring Operation: 8+60=68, Resulting Numbers: [2, 21, 68] Generated Node #0,4: 91:[2, 21, 68] Operation: 8+60=68 Moving to Node #0,2 Current State: 91:[2, 8, 81], Operations: ['21+60=81'] Exploring Operation: 8-2=6, Resulting Numbers: [81, 6] Generated Node #0,2,0: 91:[81, 6] Operation: 8-2=6 Exploring Operation: 2*8=16, Resulting Numbers: [81, 16] Generated Node #0,2,1: 91:[81, 16] Operation: 2*8=16 Exploring Operation: 8+81=89, Resulting Numbers: [2, 89] Generated Node #0,2,2: 91:[2, 89] Operation: 8+81=89 Exploring Operation: 2+81=83, Resulting Numbers: [8, 83] Generated Node #0,2,3: 91:[8, 83] Operation: 2+81=83 Exploring Operation: 2+8=10, Resulting Numbers: [81, 10] Generated Node #0,2,4: 91:[81, 10] Operation: 2+8=10 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[2, 89], Operations: ['21+60=81', '8+81=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,91 unequal: No Solution Exploring Operation: 2*89=178, Resulting Numbers: [178] 178,91 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[2, 8, 21, 60], Operations: [] Exploring Operation: 21+60=81, Resulting Numbers: [2, 8, 81] Generated Node #0,2: 91:[2, 8, 81] Operation: 21+60=81 Moving to Node #0,2 Current State: 91:[2, 8, 81], Operations: ['21+60=81'] Exploring Operation: 8+81=89, Resulting Numbers: [2, 89] Generated Node #0,2,2: 91:[2, 89] Operation: 8+81=89 Moving to Node #0,2,2 Current State: 91:[2, 89], Operations: ['21+60=81', '8+81=89'] Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 25, 30, 20, 12 ]
45
[ "25*12=300", "300/20=15", "30+15=45" ]
Current State: 45:[25, 30, 20, 12], Operations: [] Exploring Operation: 25*12=300, Resulting Numbers: [30, 20, 300] Generated Node #2: [30, 20, 300] from Operation: 25*12=300 Current State: 45:[30, 20, 300], Operations: ['25*12=300'] Exploring Operation: 300/20=15, Resulting Numbers: [30, 15] Generated Node #3: [30, 15] from Operation: 300/20=15 Current State: 45:[30, 15], Operations: ['25*12=300', '300/20=15'] Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[25, 30, 20, 12], Operations: [] Exploring Operation: 30-25=5, Resulting Numbers: [20, 12, 5] Generated Node #0,0: 45:[20, 12, 5] Operation: 30-25=5 Exploring Operation: 25+20=45, Resulting Numbers: [30, 12, 45] Generated Node #0,1: 45:[30, 12, 45] Operation: 25+20=45 Exploring Operation: 30-20=10, Resulting Numbers: [25, 12, 10] Generated Node #0,2: 45:[25, 12, 10] Operation: 30-20=10 Exploring Operation: 25+30=55, Resulting Numbers: [20, 12, 55] Generated Node #0,3: 45:[20, 12, 55] Operation: 25+30=55 Moving to Node #0,0 Current State: 45:[20, 12, 5], Operations: ['30-25=5'] Exploring Operation: 20/5=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 45:[12, 4] Operation: 20/5=4 Exploring Operation: 20-12=8, Resulting Numbers: [5, 8] Generated Node #0,0,1: 45:[5, 8] Operation: 20-12=8 Exploring Operation: 12+5=17, Resulting Numbers: [20, 17] Generated Node #0,0,2: 45:[20, 17] Operation: 12+5=17 Exploring Operation: 20-5=15, Resulting Numbers: [12, 15] Generated Node #0,0,3: 45:[12, 15] Operation: 20-5=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[5, 8], Operations: ['30-25=5', '20-12=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,45 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 45:[12, 15], Operations: ['30-25=5', '20-5=15'] Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,45 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[12, 4], Operations: ['30-25=5', '20/5=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,45 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 45:[20, 17], Operations: ['30-25=5', '12+5=17'] Exploring Operation: 20*17=340, Resulting Numbers: [340] 340,45 unequal: No Solution Exploring Operation: 20-17=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 20+17=37, Resulting Numbers: [37] 37,45 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: 45:[25, 12, 10], Operations: ['30-20=10'] Exploring Operation: 25+12=37, Resulting Numbers: [10, 37] Generated Node #0,2,0: 45:[10, 37] Operation: 25+12=37 Exploring Operation: 25-12=13, Resulting Numbers: [10, 13] Generated Node #0,2,1: 45:[10, 13] Operation: 25-12=13 Exploring Operation: 25-10=15, Resulting Numbers: [12, 15] Generated Node #0,2,2: 45:[12, 15] Operation: 25-10=15 Exploring Operation: 12-10=2, Resulting Numbers: [25, 2] Generated Node #0,2,3: 45:[25, 2] Operation: 12-10=2 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[10, 13], Operations: ['30-20=10', '25-12=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,45 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[12, 15], Operations: ['30-20=10', '25-10=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,45 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[10, 37], Operations: ['30-20=10', '25+12=37'] Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[25, 2], Operations: ['30-20=10', '12-10=2'] Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,45 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: 45:[20, 12, 55], Operations: ['25+30=55'] Exploring Operation: 20-12=8, Resulting Numbers: [55, 8] Generated Node #0,3,0: 45:[55, 8] Operation: 20-12=8 Exploring Operation: 20+12=32, Resulting Numbers: [55, 32] Generated Node #0,3,1: 45:[55, 32] Operation: 20+12=32 Exploring Operation: 55-20=35, Resulting Numbers: [12, 35] Generated Node #0,3,2: 45:[12, 35] Operation: 55-20=35 Exploring Operation: 55-12=43, Resulting Numbers: [20, 43] Generated Node #0,3,3: 45:[20, 43] Operation: 55-12=43 Moving to Node #0,1 Current State: 45:[30, 12, 45], Operations: ['25+20=45'] Exploring Operation: 30+12=42, Resulting Numbers: [45, 42] Generated Node #0,1,0: 45:[45, 42] Operation: 30+12=42 Exploring Operation: 12+45=57, Resulting Numbers: [30, 57] Generated Node #0,1,1: 45:[30, 57] Operation: 12+45=57 Exploring Operation: 30-12=18, Resulting Numbers: [45, 18] Generated Node #0,1,2: 45:[45, 18] Operation: 30-12=18 Exploring Operation: 45-30=15, Resulting Numbers: [12, 15] Generated Node #0,1,3: 45:[12, 15] Operation: 45-30=15 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[45, 42], Operations: ['25+20=45', '30+12=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,45 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[45, 18], Operations: ['25+20=45', '30-12=18'] Exploring Operation: 45+18=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 45*18=810, Resulting Numbers: [810] 810,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[12, 15], Operations: ['25+20=45', '45-30=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[30, 57], Operations: ['25+20=45', '12+45=57'] Exploring Operation: 30*57=1710, Resulting Numbers: [1710] 1710,45 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 30+57=87, Resulting Numbers: [87] 87,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 45:[20, 43], Operations: ['25+30=55', '55-12=43'] Exploring Operation: 43-20=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 20*43=860, Resulting Numbers: [860] 860,45 unequal: No Solution Exploring Operation: 20+43=63, Resulting Numbers: [63] 63,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[55, 8], Operations: ['25+30=55', '20-12=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,45 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[12, 35], Operations: ['25+30=55', '55-20=35'] Exploring Operation: 12+35=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 12*35=420, Resulting Numbers: [420] 420,45 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[55, 32], Operations: ['25+30=55', '20+12=32'] Exploring Operation: 55*32=1760, Resulting Numbers: [1760] 1760,45 unequal: No Solution Exploring Operation: 55+32=87, Resulting Numbers: [87] 87,45 unequal: No Solution Exploring Operation: 55-32=23, Resulting Numbers: [23] 23,45 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 3, 47, 6, 40 ]
25
[ "3*6=18", "47-40=7", "18+7=25" ]
Current State: 25:[3, 47, 6, 40], Operations: [] Exploring Operation: 3*6=18, Resulting Numbers: [47, 40, 18] Generated Node #2: [47, 40, 18] from Operation: 3*6=18 Current State: 25:[47, 40, 18], Operations: ['3*6=18'] Exploring Operation: 47-40=7, Resulting Numbers: [18, 7] Generated Node #3: [18, 7] from Operation: 47-40=7 Current State: 25:[18, 7], Operations: ['3*6=18', '47-40=7'] Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[3, 47, 6, 40], Operations: [] Exploring Operation: 40-3=37, Resulting Numbers: [47, 6, 37] Generated Node #0,0: 25:[47, 6, 37] Operation: 40-3=37 Exploring Operation: 47-40=7, Resulting Numbers: [3, 6, 7] Generated Node #0,1: 25:[3, 6, 7] Operation: 47-40=7 Exploring Operation: 47-6=41, Resulting Numbers: [3, 40, 41] Generated Node #0,2: 25:[3, 40, 41] Operation: 47-6=41 Exploring Operation: 40-6=34, Resulting Numbers: [3, 47, 34] Generated Node #0,3: 25:[3, 47, 34] Operation: 40-6=34 Exploring Operation: 47-3=44, Resulting Numbers: [6, 40, 44] Generated Node #0,4: 25:[6, 40, 44] Operation: 47-3=44 Moving to Node #0,1 Current State: 25:[3, 6, 7], Operations: ['47-40=7'] Exploring Operation: 7-3=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 25:[6, 4] Operation: 7-3=4 Exploring Operation: 3+6=9, Resulting Numbers: [7, 9] Generated Node #0,1,1: 25:[7, 9] Operation: 3+6=9 Exploring Operation: 6/3=2, Resulting Numbers: [7, 2] Generated Node #0,1,2: 25:[7, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [7, 3] Generated Node #0,1,3: 25:[7, 3] Operation: 6-3=3 Exploring Operation: 3*7=21, Resulting Numbers: [6, 21] Generated Node #0,1,4: 25:[6, 21] Operation: 3*7=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[6, 4], Operations: ['47-40=7', '7-3=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[7, 3], Operations: ['47-40=7', '6-3=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[7, 2], Operations: ['47-40=7', '6/3=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,25 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 25:[6, 21], Operations: ['47-40=7', '3*7=21'] Exploring Operation: 6+21=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 6*21=126, Resulting Numbers: [126] 126,25 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[7, 9], Operations: ['47-40=7', '3+6=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,25 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,25 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: 25:[3, 47, 34], Operations: ['40-6=34'] Exploring Operation: 3+34=37, Resulting Numbers: [47, 37] Generated Node #0,3,0: 25:[47, 37] Operation: 3+34=37 Exploring Operation: 34-3=31, Resulting Numbers: [47, 31] Generated Node #0,3,1: 25:[47, 31] Operation: 34-3=31 Exploring Operation: 47-34=13, Resulting Numbers: [3, 13] Generated Node #0,3,2: 25:[3, 13] Operation: 47-34=13 Exploring Operation: 3+47=50, Resulting Numbers: [34, 50] Generated Node #0,3,3: 25:[34, 50] Operation: 3+47=50 Exploring Operation: 47-3=44, Resulting Numbers: [34, 44] Generated Node #0,3,4: 25:[34, 44] Operation: 47-3=44 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[3, 13], Operations: ['40-6=34', '47-34=13'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[47, 31], Operations: ['40-6=34', '34-3=31'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,25 unequal: No Solution Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 25:[34, 44], Operations: ['40-6=34', '47-3=44'] Exploring Operation: 34*44=1496, Resulting Numbers: [1496] 1496,25 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 34+44=78, Resulting Numbers: [78] 78,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[47, 37], Operations: ['40-6=34', '3+34=37'] Exploring Operation: 47+37=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 47*37=1739, Resulting Numbers: [1739] 1739,25 unequal: No Solution Exploring Operation: 47-37=10, Resulting Numbers: [10] 10,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[34, 50], Operations: ['40-6=34', '3+47=50'] Exploring Operation: 34*50=1700, Resulting Numbers: [1700] 1700,25 unequal: No Solution Exploring Operation: 34+50=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 50-34=16, Resulting Numbers: [16] 16,25 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: 25:[3, 40, 41], Operations: ['47-6=41'] Exploring Operation: 3+41=44, Resulting Numbers: [40, 44] Generated Node #0,2,0: 25:[40, 44] Operation: 3+41=44 Exploring Operation: 40-3=37, Resulting Numbers: [41, 37] Generated Node #0,2,1: 25:[41, 37] Operation: 40-3=37 Exploring Operation: 41-3=38, Resulting Numbers: [40, 38] Generated Node #0,2,2: 25:[40, 38] Operation: 41-3=38 Exploring Operation: 3+40=43, Resulting Numbers: [41, 43] Generated Node #0,2,3: 25:[41, 43] Operation: 3+40=43 Exploring Operation: 41-40=1, Resulting Numbers: [3, 1] Generated Node #0,2,4: 25:[3, 1] Operation: 41-40=1 Moving to Node #0,0 Current State: 25:[47, 6, 37], Operations: ['40-3=37'] Exploring Operation: 6+37=43, Resulting Numbers: [47, 43] Generated Node #0,0,0: 25:[47, 43] Operation: 6+37=43 Exploring Operation: 47+6=53, Resulting Numbers: [37, 53] Generated Node #0,0,1: 25:[37, 53] Operation: 47+6=53 Exploring Operation: 47-6=41, Resulting Numbers: [37, 41] Generated Node #0,0,2: 25:[37, 41] Operation: 47-6=41 Exploring Operation: 37-6=31, Resulting Numbers: [47, 31] Generated Node #0,0,3: 25:[47, 31] Operation: 37-6=31 Exploring Operation: 47-37=10, Resulting Numbers: [6, 10] Generated Node #0,0,4: 25:[6, 10] Operation: 47-37=10 Moving to Node #0,4 Current State: 25:[6, 40, 44], Operations: ['47-3=44'] Exploring Operation: 6+40=46, Resulting Numbers: [44, 46] Generated Node #0,4,0: 25:[44, 46] Operation: 6+40=46 Exploring Operation: 44-40=4, Resulting Numbers: [6, 4] Generated Node #0,4,1: 25:[6, 4] Operation: 44-40=4 Exploring Operation: 40-6=34, Resulting Numbers: [44, 34] Generated Node #0,4,2: 25:[44, 34] Operation: 40-6=34 Exploring Operation: 44-6=38, Resulting Numbers: [40, 38] Generated Node #0,4,3: 25:[40, 38] Operation: 44-6=38 Exploring Operation: 6+44=50, Resulting Numbers: [40, 50] Generated Node #0,4,4: 25:[40, 50] Operation: 6+44=50 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[6, 4], Operations: ['47-3=44', '44-40=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[44, 34], Operations: ['47-3=44', '40-6=34'] Exploring Operation: 44*34=1496, Resulting Numbers: [1496] 1496,25 unequal: No Solution Exploring Operation: 44-34=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 44+34=78, Resulting Numbers: [78] 78,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[40, 38], Operations: ['47-3=44', '44-6=38'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,25 unequal: No Solution Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[44, 46], Operations: ['47-3=44', '6+40=46'] Exploring Operation: 44+46=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 44*46=2024, Resulting Numbers: [2024] 2024,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[40, 50], Operations: ['47-3=44', '6+44=50'] Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 40+50=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 40*50=2000, Resulting Numbers: [2000] 2000,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 25:[3, 1], Operations: ['47-6=41', '41-40=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[6, 10], Operations: ['40-3=37', '47-37=10'] Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[37, 41], Operations: ['40-3=37', '47-6=41'] Exploring Operation: 37*41=1517, Resulting Numbers: [1517] 1517,25 unequal: No Solution Exploring Operation: 37+41=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[40, 38], Operations: ['47-6=41', '41-3=38'] Exploring Operation: 40+38=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 40*38=1520, Resulting Numbers: [1520] 1520,25 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[41, 37], Operations: ['47-6=41', '40-3=37'] Exploring Operation: 41*37=1517, Resulting Numbers: [1517] 1517,25 unequal: No Solution Exploring Operation: 41-37=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 41+37=78, Resulting Numbers: [78] 78,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[47, 31], Operations: ['40-3=37', '37-6=31'] Exploring Operation: 47+31=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 47*31=1457, Resulting Numbers: [1457] 1457,25 unequal: No Solution Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[40, 44], Operations: ['47-6=41', '3+41=44'] Exploring Operation: 40+44=84, Resulting Numbers: [84] 84,25 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 40*44=1760, Resulting Numbers: [1760] 1760,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[41, 43], Operations: ['47-6=41', '3+40=43'] Exploring Operation: 41*43=1763, Resulting Numbers: [1763] 1763,25 unequal: No Solution Exploring Operation: 43-41=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[37, 53], Operations: ['40-3=37', '47+6=53'] Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,25 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[47, 43], Operations: ['40-3=37', '6+37=43'] Exploring Operation: 47+43=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 47*43=2021, Resulting Numbers: [2021] 2021,25 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 71, 42, 69 ]
30
[ "71+69=140", "9*140=1260", "1260/42=30" ]
Current State: 30:[9, 71, 42, 69], Operations: [] Exploring Operation: 71+69=140, Resulting Numbers: [9, 42, 140] Generated Node #2: [9, 42, 140] from Operation: 71+69=140 Current State: 30:[9, 42, 140], Operations: ['71+69=140'] Exploring Operation: 9*140=1260, Resulting Numbers: [42, 1260] Generated Node #3: [42, 1260] from Operation: 9*140=1260 Current State: 30:[42, 1260], Operations: ['71+69=140', '9*140=1260'] Exploring Operation: 1260/42=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[9, 71, 42, 69], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [9, 42, 2] Generated Node #0,0: 30:[9, 42, 2] Operation: 71-69=2 Exploring Operation: 71-42=29, Resulting Numbers: [9, 69, 29] Generated Node #0,1: 30:[9, 69, 29] Operation: 71-42=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[9, 42, 2], Operations: ['71-69=2'] Exploring Operation: 42-9=33, Resulting Numbers: [2, 33] Generated Node #0,0,0: 30:[2, 33] Operation: 42-9=33 Exploring Operation: 42/2=21, Resulting Numbers: [9, 21] Generated Node #0,0,1: 30:[9, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 30:[2, 33], Operations: ['71-69=2', '42-9=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[9, 21], Operations: ['71-69=2', '42/2=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[9, 71, 42, 69], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [9, 42, 2] Generated Node #0,0: 30:[9, 42, 2] Operation: 71-69=2 Moving to Node #0,0 Current State: 30:[9, 42, 2], Operations: ['71-69=2'] Exploring Operation: 42/2=21, Resulting Numbers: [9, 21] Generated Node #0,0,1: 30:[9, 21] Operation: 42/2=21 Moving to Node #0,0,1 Current State: 30:[9, 21], Operations: ['71-69=2', '42/2=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 69, 46, 96, 4 ]
15
[ "69+46=115", "96+4=100", "115-100=15" ]
Current State: 15:[69, 46, 96, 4], Operations: [] Exploring Operation: 69+46=115, Resulting Numbers: [96, 4, 115] Generated Node #2: [96, 4, 115] from Operation: 69+46=115 Current State: 15:[96, 4, 115], Operations: ['69+46=115'] Exploring Operation: 96+4=100, Resulting Numbers: [115, 100] Generated Node #3: [115, 100] from Operation: 96+4=100 Current State: 15:[115, 100], Operations: ['69+46=115', '96+4=100'] Exploring Operation: 115-100=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[69, 46, 96, 4], Operations: [] Exploring Operation: 96/4=24, Resulting Numbers: [69, 46, 24] Generated Node #0,0: 15:[69, 46, 24] Operation: 96/4=24 Exploring Operation: 69-46=23, Resulting Numbers: [96, 4, 23] Generated Node #0,1: 15:[96, 4, 23] Operation: 69-46=23 Exploring Operation: 96-46=50, Resulting Numbers: [69, 4, 50] Generated Node #0,2: 15:[69, 4, 50] Operation: 96-46=50 Exploring Operation: 69-4=65, Resulting Numbers: [46, 96, 65] Generated Node #0,3: 15:[46, 96, 65] Operation: 69-4=65 Exploring Operation: 96-69=27, Resulting Numbers: [46, 4, 27] Generated Node #0,4: 15:[46, 4, 27] Operation: 96-69=27 Moving to Node #0,4 Current State: 15:[46, 4, 27], Operations: ['96-69=27'] Exploring Operation: 46+4=50, Resulting Numbers: [27, 50] Generated Node #0,4,0: 15:[27, 50] Operation: 46+4=50 Exploring Operation: 27-4=23, Resulting Numbers: [46, 23] Generated Node #0,4,1: 15:[46, 23] Operation: 27-4=23 Exploring Operation: 4+27=31, Resulting Numbers: [46, 31] Generated Node #0,4,2: 15:[46, 31] Operation: 4+27=31 Exploring Operation: 46-27=19, Resulting Numbers: [4, 19] Generated Node #0,4,3: 15:[4, 19] Operation: 46-27=19 Exploring Operation: 46-4=42, Resulting Numbers: [27, 42] Generated Node #0,4,4: 15:[27, 42] Operation: 46-4=42 Moving to Node #0,2 Current State: 15:[69, 4, 50], Operations: ['96-46=50'] Exploring Operation: 69-4=65, Resulting Numbers: [50, 65] Generated Node #0,2,0: 15:[50, 65] Operation: 69-4=65 Exploring Operation: 4+50=54, Resulting Numbers: [69, 54] Generated Node #0,2,1: 15:[69, 54] Operation: 4+50=54 Exploring Operation: 50-4=46, Resulting Numbers: [69, 46] Generated Node #0,2,2: 15:[69, 46] Operation: 50-4=46 Exploring Operation: 69-50=19, Resulting Numbers: [4, 19] Generated Node #0,2,3: 15:[4, 19] Operation: 69-50=19 Exploring Operation: 69+4=73, Resulting Numbers: [50, 73] Generated Node #0,2,4: 15:[50, 73] Operation: 69+4=73 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[4, 19], Operations: ['96-46=50', '69-50=19'] Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,15 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,15 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[69, 46, 96, 4], Operations: [] Exploring Operation: 96-46=50, Resulting Numbers: [69, 4, 50] Generated Node #0,2: 15:[69, 4, 50] Operation: 96-46=50 Moving to Node #0,2 Current State: 15:[69, 4, 50], Operations: ['96-46=50'] Exploring Operation: 69-50=19, Resulting Numbers: [4, 19] Generated Node #0,2,3: 15:[4, 19] Operation: 69-50=19 Moving to Node #0,2,3 Current State: 15:[4, 19], Operations: ['96-46=50', '69-50=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 74, 80, 2, 88 ]
100
[ "80-74=6", "2*6=12", "88+12=100" ]
Current State: 100:[74, 80, 2, 88], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [2, 88, 6] Generated Node #2: [2, 88, 6] from Operation: 80-74=6 Current State: 100:[2, 88, 6], Operations: ['80-74=6'] Exploring Operation: 2*6=12, Resulting Numbers: [88, 12] Generated Node #3: [88, 12] from Operation: 2*6=12 Current State: 100:[88, 12], Operations: ['80-74=6', '2*6=12'] Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[74, 80, 2, 88], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [2, 88, 6] Generated Node #0,0: 100:[2, 88, 6] Operation: 80-74=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[2, 88, 6], Operations: ['80-74=6'] Exploring Operation: 88+6=94, Resulting Numbers: [2, 94] Generated Node #0,0,0: 100:[2, 94] Operation: 88+6=94 Moving to Node #0,0,0 Current State: 100:[2, 94], Operations: ['80-74=6', '88+6=94'] Exploring Operation: 94/2=47, Resulting Numbers: [47] 47,100 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
[ 69, 91, 41, 44 ]
75
[ "69+91=160", "41+44=85", "160-85=75" ]
Current State: 75:[69, 91, 41, 44], Operations: [] Exploring Operation: 69+91=160, Resulting Numbers: [41, 44, 160] Generated Node #2: [41, 44, 160] from Operation: 69+91=160 Current State: 75:[41, 44, 160], Operations: ['69+91=160'] Exploring Operation: 41+44=85, Resulting Numbers: [160, 85] Generated Node #3: [160, 85] from Operation: 41+44=85 Current State: 75:[160, 85], Operations: ['69+91=160', '41+44=85'] Exploring Operation: 160-85=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[69, 91, 41, 44], Operations: [] Exploring Operation: 41+44=85, Resulting Numbers: [69, 91, 85] Generated Node #0,0: 75:[69, 91, 85] Operation: 41+44=85 Exploring Operation: 44-41=3, Resulting Numbers: [69, 91, 3] Generated Node #0,1: 75:[69, 91, 3] Operation: 44-41=3 Exploring Operation: 91-69=22, Resulting Numbers: [41, 44, 22] Generated Node #0,2: 75:[41, 44, 22] Operation: 91-69=22 Exploring Operation: 69-44=25, Resulting Numbers: [91, 41, 25] Generated Node #0,3: 75:[91, 41, 25] Operation: 69-44=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[69, 91, 3], Operations: ['44-41=3'] Exploring Operation: 69+3=72, Resulting Numbers: [91, 72] Generated Node #0,1,0: 75:[91, 72] Operation: 69+3=72 Exploring Operation: 91-69=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 75:[3, 22] Operation: 91-69=22 Exploring Operation: 69/3=23, Resulting Numbers: [91, 23] Generated Node #0,1,2: 75:[91, 23] Operation: 69/3=23 Exploring Operation: 91-3=88, Resulting Numbers: [69, 88] Generated Node #0,1,3: 75:[69, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[3, 22], Operations: ['44-41=3', '91-69=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,75 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,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,2 Current State: 75:[91, 23], Operations: ['44-41=3', '69/3=23'] Exploring Operation: 91+23=114, Resulting Numbers: [114] 114,75 unequal: No Solution Exploring Operation: 91*23=2093, Resulting Numbers: [2093] 2093,75 unequal: No Solution Exploring Operation: 91-23=68, Resulting Numbers: [68] 68,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:[91, 72], Operations: ['44-41=3', '69+3=72'] Exploring Operation: 91-72=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 91+72=163, Resulting Numbers: [163] 163,75 unequal: No Solution Exploring Operation: 91*72=6552, Resulting Numbers: [6552] 6552,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,3 Current State: 75:[69, 88], Operations: ['44-41=3', '91-3=88'] Exploring Operation: 69+88=157, Resulting Numbers: [157] 157,75 unequal: No Solution Exploring Operation: 88-69=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 69*88=6072, Resulting Numbers: [6072] 6072,75 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: 75:[69, 91, 85], Operations: ['41+44=85'] Exploring Operation: 85-69=16, Resulting Numbers: [91, 16] Generated Node #0,0,0: 75:[91, 16] Operation: 85-69=16 Exploring Operation: 91-69=22, Resulting Numbers: [85, 22] Generated Node #0,0,1: 75:[85, 22] Operation: 91-69=22 Exploring Operation: 91-85=6, Resulting Numbers: [69, 6] Generated Node #0,0,2: 75:[69, 6] Operation: 91-85=6 Exploring Operation: 69+91=160, Resulting Numbers: [85, 160] Generated Node #0,0,3: 75:[85, 160] Operation: 69+91=160 Moving to Node #0,0,2 Current State: 75:[69, 6], Operations: ['41+44=85', '91-85=6'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[69, 91, 41, 44], Operations: [] Exploring Operation: 41+44=85, Resulting Numbers: [69, 91, 85] Generated Node #0,0: 75:[69, 91, 85] Operation: 41+44=85 Moving to Node #0,0 Current State: 75:[69, 91, 85], Operations: ['41+44=85'] Exploring Operation: 91-85=6, Resulting Numbers: [69, 6] Generated Node #0,0,2: 75:[69, 6] Operation: 91-85=6 Moving to Node #0,0,2 Current State: 75:[69, 6], Operations: ['41+44=85', '91-85=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 81, 12, 78, 85 ]
86
[ "81+12=93", "85-78=7", "93-7=86" ]
Current State: 86:[81, 12, 78, 85], Operations: [] Exploring Operation: 81+12=93, Resulting Numbers: [78, 85, 93] Generated Node #2: [78, 85, 93] from Operation: 81+12=93 Current State: 86:[78, 85, 93], Operations: ['81+12=93'] Exploring Operation: 85-78=7, Resulting Numbers: [93, 7] Generated Node #3: [93, 7] from Operation: 85-78=7 Current State: 86:[93, 7], Operations: ['81+12=93', '85-78=7'] Exploring Operation: 93-7=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[81, 12, 78, 85], Operations: [] Exploring Operation: 12+78=90, Resulting Numbers: [81, 85, 90] Generated Node #0,0: 86:[81, 85, 90] Operation: 12+78=90 Exploring Operation: 81+12=93, Resulting Numbers: [78, 85, 93] Generated Node #0,1: 86:[78, 85, 93] Operation: 81+12=93 Exploring Operation: 81-78=3, Resulting Numbers: [12, 85, 3] Generated Node #0,2: 86:[12, 85, 3] Operation: 81-78=3 Moving to Node #0,0 Current State: 86:[81, 85, 90], Operations: ['12+78=90'] Exploring Operation: 90-85=5, Resulting Numbers: [81, 5] Generated Node #0,0,0: 86:[81, 5] Operation: 90-85=5 Exploring Operation: 85-81=4, Resulting Numbers: [90, 4] Generated Node #0,0,1: 86:[90, 4] Operation: 85-81=4 Exploring Operation: 90-81=9, Resulting Numbers: [85, 9] Generated Node #0,0,2: 86:[85, 9] Operation: 90-81=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[90, 4], Operations: ['12+78=90', '85-81=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[81, 12, 78, 85], Operations: [] Exploring Operation: 12+78=90, Resulting Numbers: [81, 85, 90] Generated Node #0,0: 86:[81, 85, 90] Operation: 12+78=90 Moving to Node #0,0 Current State: 86:[81, 85, 90], Operations: ['12+78=90'] Exploring Operation: 85-81=4, Resulting Numbers: [90, 4] Generated Node #0,0,1: 86:[90, 4] Operation: 85-81=4 Moving to Node #0,0,1 Current State: 86:[90, 4], Operations: ['12+78=90', '85-81=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 2, 90, 60, 66 ]
86
[ "2+90=92", "66-60=6", "92-6=86" ]
Current State: 86:[2, 90, 60, 66], Operations: [] Exploring Operation: 2+90=92, Resulting Numbers: [60, 66, 92] Generated Node #2: [60, 66, 92] from Operation: 2+90=92 Current State: 86:[60, 66, 92], Operations: ['2+90=92'] Exploring Operation: 66-60=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 66-60=6 Current State: 86:[92, 6], Operations: ['2+90=92', '66-60=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[2, 90, 60, 66], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [2, 60, 24] Generated Node #0,0: 86:[2, 60, 24] Operation: 90-66=24 Exploring Operation: 90-60=30, Resulting Numbers: [2, 66, 30] Generated Node #0,1: 86:[2, 66, 30] Operation: 90-60=30 Exploring Operation: 66-60=6, Resulting Numbers: [2, 90, 6] Generated Node #0,2: 86:[2, 90, 6] Operation: 66-60=6 Exploring Operation: 66/2=33, Resulting Numbers: [90, 60, 33] Generated Node #0,3: 86:[90, 60, 33] Operation: 66/2=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[2, 90, 6], Operations: ['66-60=6'] Exploring Operation: 90-2=88, Resulting Numbers: [6, 88] Generated Node #0,2,0: 86:[6, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [6, 45] Generated Node #0,2,1: 86:[6, 45] Operation: 90/2=45 Exploring Operation: 90-6=84, Resulting Numbers: [2, 84] Generated Node #0,2,2: 86:[2, 84] Operation: 90-6=84 Exploring Operation: 6/2=3, Resulting Numbers: [90, 3] Generated Node #0,2,3: 86:[90, 3] Operation: 6/2=3 Moving to Node #0,2,2 Current State: 86:[2, 84], Operations: ['66-60=6', '90-6=84'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,86 unequal: No Solution Exploring Operation: 2*84=168, Resulting Numbers: [168] 168,86 unequal: No Solution Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,86 unequal: No Solution Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[2, 90, 60, 66], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [2, 90, 6] Generated Node #0,2: 86:[2, 90, 6] Operation: 66-60=6 Moving to Node #0,2 Current State: 86:[2, 90, 6], Operations: ['66-60=6'] Exploring Operation: 90-6=84, Resulting Numbers: [2, 84] Generated Node #0,2,2: 86:[2, 84] Operation: 90-6=84 Moving to Node #0,2,2 Current State: 86:[2, 84], Operations: ['66-60=6', '90-6=84'] Exploring Operation: 2+84=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 36, 31, 3, 48 ]
83
[ "36+31=67", "48/3=16", "67+16=83" ]
Current State: 83:[36, 31, 3, 48], Operations: [] Exploring Operation: 36+31=67, Resulting Numbers: [3, 48, 67] Generated Node #2: [3, 48, 67] from Operation: 36+31=67 Current State: 83:[3, 48, 67], Operations: ['36+31=67'] Exploring Operation: 48/3=16, Resulting Numbers: [67, 16] Generated Node #3: [67, 16] from Operation: 48/3=16 Current State: 83:[67, 16], Operations: ['36+31=67', '48/3=16'] Exploring Operation: 67+16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[36, 31, 3, 48], Operations: [] Exploring Operation: 31*3=93, Resulting Numbers: [36, 48, 93] Generated Node #0,0: 83:[36, 48, 93] Operation: 31*3=93 Exploring Operation: 36*3=108, Resulting Numbers: [31, 48, 108] Generated Node #0,1: 83:[31, 48, 108] Operation: 36*3=108 Exploring Operation: 36+3=39, Resulting Numbers: [31, 48, 39] Generated Node #0,2: 83:[31, 48, 39] Operation: 36+3=39 Exploring Operation: 31+3=34, Resulting Numbers: [36, 48, 34] Generated Node #0,3: 83:[36, 48, 34] Operation: 31+3=34 Exploring Operation: 36+31=67, Resulting Numbers: [3, 48, 67] Generated Node #0,4: 83:[3, 48, 67] Operation: 36+31=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[36, 48, 93], Operations: ['31*3=93'] Exploring Operation: 93-48=45, Resulting Numbers: [36, 45] Generated Node #0,0,0: 83:[36, 45] Operation: 93-48=45 Exploring Operation: 36+93=129, Resulting Numbers: [48, 129] Generated Node #0,0,1: 83:[48, 129] Operation: 36+93=129 Exploring Operation: 36+48=84, Resulting Numbers: [93, 84] Generated Node #0,0,2: 83:[93, 84] Operation: 36+48=84 Exploring Operation: 93-36=57, Resulting Numbers: [48, 57] Generated Node #0,0,3: 83:[48, 57] Operation: 93-36=57 Exploring Operation: 48-36=12, Resulting Numbers: [93, 12] Generated Node #0,0,4: 83:[93, 12] Operation: 48-36=12 Moving to Node #0,0,2 Current State: 83:[93, 84], Operations: ['31*3=93', '36+48=84'] Exploring Operation: 93*84=7812, Resulting Numbers: [7812] 7812,83 unequal: No Solution Exploring Operation: 93+84=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 93-84=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[48, 57], Operations: ['31*3=93', '93-36=57'] Exploring Operation: 48*57=2736, Resulting Numbers: [2736] 2736,83 unequal: No Solution Exploring Operation: 48+57=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 57-48=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[48, 129], Operations: ['31*3=93', '36+93=129'] Exploring Operation: 129-48=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 48+129=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 48*129=6192, Resulting Numbers: [6192] 6192,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[93, 12], Operations: ['31*3=93', '48-36=12'] Exploring Operation: 93-12=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 93+12=105, Resulting Numbers: [105] 105,83 unequal: No Solution Exploring Operation: 93*12=1116, Resulting Numbers: [1116] 1116,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[36, 45], Operations: ['31*3=93', '93-48=45'] Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,83 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[31, 48, 108], Operations: ['36*3=108'] Exploring Operation: 108-31=77, Resulting Numbers: [48, 77] Generated Node #0,1,0: 83:[48, 77] Operation: 108-31=77 Exploring Operation: 31+108=139, Resulting Numbers: [48, 139] Generated Node #0,1,1: 83:[48, 139] Operation: 31+108=139 Exploring Operation: 31+48=79, Resulting Numbers: [108, 79] Generated Node #0,1,2: 83:[108, 79] Operation: 31+48=79 Exploring Operation: 108-48=60, Resulting Numbers: [31, 60] Generated Node #0,1,3: 83:[31, 60] Operation: 108-48=60 Exploring Operation: 48-31=17, Resulting Numbers: [108, 17] Generated Node #0,1,4: 83:[108, 17] Operation: 48-31=17 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[108, 79], Operations: ['36*3=108', '31+48=79'] Exploring Operation: 108+79=187, Resulting Numbers: [187] 187,83 unequal: No Solution Exploring Operation: 108*79=8532, Resulting Numbers: [8532] 8532,83 unequal: No Solution Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,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,1,0 Current State: 83:[48, 77], Operations: ['36*3=108', '108-31=77'] Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,83 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,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,1,3 Current State: 83:[31, 60], Operations: ['36*3=108', '108-48=60'] Exploring Operation: 31*60=1860, Resulting Numbers: [1860] 1860,83 unequal: No Solution Exploring Operation: 31+60=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 60-31=29, Resulting Numbers: [29] 29,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,1,1 Current State: 83:[48, 139], Operations: ['36*3=108', '31+108=139'] Exploring Operation: 48*139=6672, Resulting Numbers: [6672] 6672,83 unequal: No Solution Exploring Operation: 48+139=187, Resulting Numbers: [187] 187,83 unequal: No Solution Exploring Operation: 139-48=91, Resulting Numbers: [91] 91,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,1,4 Current State: 83:[108, 17], Operations: ['36*3=108', '48-31=17'] Exploring Operation: 108+17=125, Resulting Numbers: [125] 125,83 unequal: No Solution Exploring Operation: 108-17=91, Resulting Numbers: [91] 91,83 unequal: No Solution Exploring Operation: 108*17=1836, Resulting Numbers: [1836] 1836,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,2 Current State: 83:[31, 48, 39], Operations: ['36+3=39'] Exploring Operation: 31+39=70, Resulting Numbers: [48, 70] Generated Node #0,2,0: 83:[48, 70] Operation: 31+39=70 Exploring Operation: 31+48=79, Resulting Numbers: [39, 79] Generated Node #0,2,1: 83:[39, 79] Operation: 31+48=79 Exploring Operation: 48-31=17, Resulting Numbers: [39, 17] Generated Node #0,2,2: 83:[39, 17] Operation: 48-31=17 Exploring Operation: 48+39=87, Resulting Numbers: [31, 87] Generated Node #0,2,3: 83:[31, 87] Operation: 48+39=87 Exploring Operation: 39-31=8, Resulting Numbers: [48, 8] Generated Node #0,2,4: 83:[48, 8] Operation: 39-31=8 Moving to Node #0,2,0 Current State: 83:[48, 70], Operations: ['36+3=39', '31+39=70'] Exploring Operation: 48*70=3360, Resulting Numbers: [3360] 3360,83 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 48+70=118, Resulting Numbers: [118] 118,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[39, 79], Operations: ['36+3=39', '31+48=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,83 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[31, 87], Operations: ['36+3=39', '48+39=87'] Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 31*87=2697, Resulting Numbers: [2697] 2697,83 unequal: No Solution Exploring Operation: 31+87=118, Resulting Numbers: [118] 118,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[39, 17], Operations: ['36+3=39', '48-31=17'] Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[48, 8], Operations: ['36+3=39', '39-31=8'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,83 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,83 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,83 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[36, 48, 34], Operations: ['31+3=34'] Exploring Operation: 36+48=84, Resulting Numbers: [34, 84] Generated Node #0,3,0: 83:[34, 84] Operation: 36+48=84 Exploring Operation: 36-34=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 83:[48, 2] Operation: 36-34=2 Exploring Operation: 36+34=70, Resulting Numbers: [48, 70] Generated Node #0,3,2: 83:[48, 70] Operation: 36+34=70 Exploring Operation: 48+34=82, Resulting Numbers: [36, 82] Generated Node #0,3,3: 83:[36, 82] Operation: 48+34=82 Exploring Operation: 48-34=14, Resulting Numbers: [36, 14] Generated Node #0,3,4: 83:[36, 14] Operation: 48-34=14 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 83:[48, 70], Operations: ['31+3=34', '36+34=70'] Exploring Operation: 48+70=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 48*70=3360, Resulting Numbers: [3360] 3360,83 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,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,3 Current State: 83:[36, 82], Operations: ['31+3=34', '48+34=82'] Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,83 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,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,0 Current State: 83:[34, 84], Operations: ['31+3=34', '36+48=84'] Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,83 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,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:[48, 2], Operations: ['31+3=34', '36-34=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,83 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,83 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,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,4 Current State: 83:[36, 14], Operations: ['31+3=34', '48-34=14'] Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,83 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,83 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,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,4 Current State: 83:[3, 48, 67], Operations: ['36+31=67'] Exploring Operation: 3+48=51, Resulting Numbers: [67, 51] Generated Node #0,4,0: 83:[67, 51] Operation: 3+48=51 Exploring Operation: 3*48=144, Resulting Numbers: [67, 144] Generated Node #0,4,1: 83:[67, 144] Operation: 3*48=144 Exploring Operation: 67-3=64, Resulting Numbers: [48, 64] Generated Node #0,4,2: 83:[48, 64] Operation: 67-3=64 Exploring Operation: 48-3=45, Resulting Numbers: [67, 45] Generated Node #0,4,3: 83:[67, 45] Operation: 48-3=45 Exploring Operation: 3+67=70, Resulting Numbers: [48, 70] Generated Node #0,4,4: 83:[48, 70] Operation: 3+67=70 Moving to Node #0,4,0 Current State: 83:[67, 51], Operations: ['36+31=67', '3+48=51'] Exploring Operation: 67*51=3417, Resulting Numbers: [3417] 3417,83 unequal: No Solution Exploring Operation: 67-51=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 67+51=118, Resulting Numbers: [118] 118,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[48, 70], Operations: ['36+31=67', '3+67=70'] Exploring Operation: 48*70=3360, Resulting Numbers: [3360] 3360,83 unequal: No Solution Exploring Operation: 48+70=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[48, 64], Operations: ['36+31=67', '67-3=64'] Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[67, 45], Operations: ['36+31=67', '48-3=45'] Exploring Operation: 67+45=112, Resulting Numbers: [112] 112,83 unequal: No Solution Exploring Operation: 67*45=3015, Resulting Numbers: [3015] 3015,83 unequal: No Solution Exploring Operation: 67-45=22, Resulting Numbers: [22] 22,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[67, 144], Operations: ['36+31=67', '3*48=144'] Exploring Operation: 67*144=9648, Resulting Numbers: [9648] 9648,83 unequal: No Solution Exploring Operation: 67+144=211, Resulting Numbers: [211] 211,83 unequal: No Solution Exploring Operation: 144-67=77, Resulting Numbers: [77] 77,83 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
[ 33, 14, 90, 45 ]
40
[ "14*45=630", "630/90=7", "33+7=40" ]
Current State: 40:[33, 14, 90, 45], Operations: [] Exploring Operation: 14*45=630, Resulting Numbers: [33, 90, 630] Generated Node #2: [33, 90, 630] from Operation: 14*45=630 Current State: 40:[33, 90, 630], Operations: ['14*45=630'] Exploring Operation: 630/90=7, Resulting Numbers: [33, 7] Generated Node #3: [33, 7] from Operation: 630/90=7 Current State: 40:[33, 7], Operations: ['14*45=630', '630/90=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[33, 14, 90, 45], Operations: [] Exploring Operation: 90-45=45, Resulting Numbers: [33, 14, 45] Generated Node #0,0: 40:[33, 14, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [33, 14, 2] Generated Node #0,1: 40:[33, 14, 2] Operation: 90/45=2 Exploring Operation: 90-33=57, Resulting Numbers: [14, 45, 57] Generated Node #0,2: 40:[14, 45, 57] Operation: 90-33=57 Exploring Operation: 90-14=76, Resulting Numbers: [33, 45, 76] Generated Node #0,3: 40:[33, 45, 76] Operation: 90-14=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[33, 14, 2], Operations: ['90/45=2'] Exploring Operation: 33+14=47, Resulting Numbers: [2, 47] Generated Node #0,1,0: 40:[2, 47] Operation: 33+14=47 Exploring Operation: 14/2=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 40:[33, 7] Operation: 14/2=7 Exploring Operation: 33-14=19, Resulting Numbers: [2, 19] Generated Node #0,1,2: 40:[2, 19] Operation: 33-14=19 Exploring Operation: 33+2=35, Resulting Numbers: [14, 35] Generated Node #0,1,3: 40:[14, 35] Operation: 33+2=35 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[2, 19], Operations: ['90/45=2', '33-14=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,40 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,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,1,0 Current State: 40:[2, 47], Operations: ['90/45=2', '33+14=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,40 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,40 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,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,1,1 Current State: 40:[33, 7], Operations: ['90/45=2', '14/2=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[33, 14, 90, 45], Operations: [] Exploring Operation: 90/45=2, Resulting Numbers: [33, 14, 2] Generated Node #0,1: 40:[33, 14, 2] Operation: 90/45=2 Moving to Node #0,1 Current State: 40:[33, 14, 2], Operations: ['90/45=2'] Exploring Operation: 14/2=7, Resulting Numbers: [33, 7] Generated Node #0,1,1: 40:[33, 7] Operation: 14/2=7 Moving to Node #0,1,1 Current State: 40:[33, 7], Operations: ['90/45=2', '14/2=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 49, 95, 10, 26 ]
17
[ "49+95=144", "26+144=170", "170/10=17" ]
Current State: 17:[49, 95, 10, 26], Operations: [] Exploring Operation: 49+95=144, Resulting Numbers: [10, 26, 144] Generated Node #2: [10, 26, 144] from Operation: 49+95=144 Current State: 17:[10, 26, 144], Operations: ['49+95=144'] Exploring Operation: 26+144=170, Resulting Numbers: [10, 170] Generated Node #3: [10, 170] from Operation: 26+144=170 Current State: 17:[10, 170], Operations: ['49+95=144', '26+144=170'] Exploring Operation: 170/10=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[49, 95, 10, 26], Operations: [] Exploring Operation: 95-49=46, Resulting Numbers: [10, 26, 46] Generated Node #0,0: 17:[10, 26, 46] Operation: 95-49=46 Exploring Operation: 95-26=69, Resulting Numbers: [49, 10, 69] Generated Node #0,1: 17:[49, 10, 69] Operation: 95-26=69 Exploring Operation: 49-26=23, Resulting Numbers: [95, 10, 23] Generated Node #0,2: 17:[95, 10, 23] Operation: 49-26=23 Moving to Node #0,0 Current State: 17:[10, 26, 46], Operations: ['95-49=46'] Exploring Operation: 26-10=16, Resulting Numbers: [46, 16] Generated Node #0,0,0: 17:[46, 16] Operation: 26-10=16 Exploring Operation: 46-10=36, Resulting Numbers: [26, 36] Generated Node #0,0,1: 17:[26, 36] Operation: 46-10=36 Exploring Operation: 46-26=20, Resulting Numbers: [10, 20] Generated Node #0,0,2: 17:[10, 20] Operation: 46-26=20 Moving to Node #0,1 Current State: 17:[49, 10, 69], Operations: ['95-26=69'] Exploring Operation: 49-10=39, Resulting Numbers: [69, 39] Generated Node #0,1,0: 17:[69, 39] Operation: 49-10=39 Exploring Operation: 69-10=59, Resulting Numbers: [49, 59] Generated Node #0,1,1: 17:[49, 59] Operation: 69-10=59 Exploring Operation: 69-49=20, Resulting Numbers: [10, 20] Generated Node #0,1,2: 17:[10, 20] Operation: 69-49=20 Moving to Node #0,2 Current State: 17:[95, 10, 23], Operations: ['49-26=23'] Exploring Operation: 23-10=13, Resulting Numbers: [95, 13] Generated Node #0,2,0: 17:[95, 13] Operation: 23-10=13 Exploring Operation: 95-10=85, Resulting Numbers: [23, 85] Generated Node #0,2,1: 17:[23, 85] Operation: 95-10=85 Exploring Operation: 95-23=72, Resulting Numbers: [10, 72] Generated Node #0,2,2: 17:[10, 72] Operation: 95-23=72 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[10, 72], Operations: ['49-26=23', '95-23=72'] Exploring Operation: 10*72=720, Resulting Numbers: [720] 720,17 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 10+72=82, Resulting Numbers: [82] 82,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[23, 85], Operations: ['49-26=23', '95-10=85'] Exploring Operation: 23*85=1955, Resulting Numbers: [1955] 1955,17 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 23+85=108, Resulting Numbers: [108] 108,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[95, 13], Operations: ['49-26=23', '23-10=13'] Exploring Operation: 95-13=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 95+13=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 95*13=1235, Resulting Numbers: [1235] 1235,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 17:[10, 20], Operations: ['95-49=46', '46-26=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[10, 20], Operations: ['95-26=69', '69-49=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[26, 36], Operations: ['95-49=46', '46-10=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[46, 16], Operations: ['95-49=46', '26-10=16'] Exploring Operation: 46+16=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 46-16=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 46*16=736, Resulting Numbers: [736] 736,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[49, 59], Operations: ['95-26=69', '69-10=59'] Exploring Operation: 59-49=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 49*59=2891, Resulting Numbers: [2891] 2891,17 unequal: No Solution Exploring Operation: 49+59=108, Resulting Numbers: [108] 108,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[69, 39], Operations: ['95-26=69', '49-10=39'] Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 69+39=108, Resulting Numbers: [108] 108,17 unequal: No Solution Exploring Operation: 69*39=2691, Resulting Numbers: [2691] 2691,17 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 80, 29, 28, 66 ]
43
[ "80-29=51", "28+66=94", "94-51=43" ]
Current State: 43:[80, 29, 28, 66], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [28, 66, 51] Generated Node #2: [28, 66, 51] from Operation: 80-29=51 Current State: 43:[28, 66, 51], Operations: ['80-29=51'] Exploring Operation: 28+66=94, Resulting Numbers: [51, 94] Generated Node #3: [51, 94] from Operation: 28+66=94 Current State: 43:[51, 94], Operations: ['80-29=51', '28+66=94'] Exploring Operation: 94-51=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[80, 29, 28, 66], Operations: [] Exploring Operation: 66-29=37, Resulting Numbers: [80, 28, 37] Generated Node #0,0: 43:[80, 28, 37] Operation: 66-29=37 Exploring Operation: 66-28=38, Resulting Numbers: [80, 29, 38] Generated Node #0,1: 43:[80, 29, 38] Operation: 66-28=38 Exploring Operation: 80-66=14, Resulting Numbers: [29, 28, 14] Generated Node #0,2: 43:[29, 28, 14] Operation: 80-66=14 Exploring Operation: 80-29=51, Resulting Numbers: [28, 66, 51] Generated Node #0,3: 43:[28, 66, 51] Operation: 80-29=51 Exploring Operation: 80-28=52, Resulting Numbers: [29, 66, 52] Generated Node #0,4: 43:[29, 66, 52] Operation: 80-28=52 Moving to Node #0,3 Current State: 43:[28, 66, 51], Operations: ['80-29=51'] Exploring Operation: 28+66=94, Resulting Numbers: [51, 94] Generated Node #0,3,0: 43:[51, 94] Operation: 28+66=94 Exploring Operation: 51-28=23, Resulting Numbers: [66, 23] Generated Node #0,3,1: 43:[66, 23] Operation: 51-28=23 Exploring Operation: 66-28=38, Resulting Numbers: [51, 38] Generated Node #0,3,2: 43:[51, 38] Operation: 66-28=38 Exploring Operation: 28+51=79, Resulting Numbers: [66, 79] Generated Node #0,3,3: 43:[66, 79] Operation: 28+51=79 Exploring Operation: 66-51=15, Resulting Numbers: [28, 15] Generated Node #0,3,4: 43:[28, 15] Operation: 66-51=15 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[51, 38], Operations: ['80-29=51', '66-28=38'] Exploring Operation: 51-38=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 51*38=1938, Resulting Numbers: [1938] 1938,43 unequal: No Solution Exploring Operation: 51+38=89, Resulting Numbers: [89] 89,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[66, 23], Operations: ['80-29=51', '51-28=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,43 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[80, 29, 28, 66], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [28, 66, 51] Generated Node #0,3: 43:[28, 66, 51] Operation: 80-29=51 Moving to Node #0,3 Current State: 43:[28, 66, 51], Operations: ['80-29=51'] Exploring Operation: 51-28=23, Resulting Numbers: [66, 23] Generated Node #0,3,1: 43:[66, 23] Operation: 51-28=23 Moving to Node #0,3,1 Current State: 43:[66, 23], Operations: ['80-29=51', '51-28=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 54, 11, 53, 19 ]
30
[ "54-53=1", "11+19=30", "1*30=30" ]
Current State: 30:[54, 11, 53, 19], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [11, 19, 1] Generated Node #2: [11, 19, 1] from Operation: 54-53=1 Current State: 30:[11, 19, 1], Operations: ['54-53=1'] Exploring Operation: 11+19=30, Resulting Numbers: [1, 30] Generated Node #3: [1, 30] from Operation: 11+19=30 Current State: 30:[1, 30], Operations: ['54-53=1', '11+19=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[54, 11, 53, 19], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [11, 19, 1] Generated Node #0,0: 30:[11, 19, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 30:[11, 19, 1], Operations: ['54-53=1'] Exploring Operation: 11+19=30, Resulting Numbers: [1, 30] Generated Node #0,0,0: 30:[1, 30] Operation: 11+19=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[1, 30], Operations: ['54-53=1', '11+19=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[54, 11, 53, 19], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [11, 19, 1] Generated Node #0,0: 30:[11, 19, 1] Operation: 54-53=1 Moving to Node #0,0 Current State: 30:[11, 19, 1], Operations: ['54-53=1'] Exploring Operation: 11+19=30, Resulting Numbers: [1, 30] Generated Node #0,0,0: 30:[1, 30] Operation: 11+19=30 Moving to Node #0,0,0 Current State: 30:[1, 30], Operations: ['54-53=1', '11+19=30'] Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 88, 2, 15, 6 ]
76
[ "88-15=73", "6/2=3", "73+3=76" ]
Current State: 76:[88, 2, 15, 6], Operations: [] Exploring Operation: 88-15=73, Resulting Numbers: [2, 6, 73] Generated Node #2: [2, 6, 73] from Operation: 88-15=73 Current State: 76:[2, 6, 73], Operations: ['88-15=73'] Exploring Operation: 6/2=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 6/2=3 Current State: 76:[73, 3], Operations: ['88-15=73', '6/2=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[88, 2, 15, 6], Operations: [] Exploring Operation: 88-6=82, Resulting Numbers: [2, 15, 82] Generated Node #0,0: 76:[2, 15, 82] Operation: 88-6=82 Exploring Operation: 88-15=73, Resulting Numbers: [2, 6, 73] Generated Node #0,1: 76:[2, 6, 73] Operation: 88-15=73 Moving to Node #0,1 Current State: 76:[2, 6, 73], Operations: ['88-15=73'] Exploring Operation: 6-2=4, Resulting Numbers: [73, 4] Generated Node #0,1,0: 76:[73, 4] Operation: 6-2=4 Exploring Operation: 2+73=75, Resulting Numbers: [6, 75] Generated Node #0,1,1: 76:[6, 75] Operation: 2+73=75 Moving to Node #0,0 Current State: 76:[2, 15, 82], Operations: ['88-6=82'] Exploring Operation: 2+15=17, Resulting Numbers: [82, 17] Generated Node #0,0,0: 76:[82, 17] Operation: 2+15=17 Exploring Operation: 82/2=41, Resulting Numbers: [15, 41] Generated Node #0,0,1: 76:[15, 41] Operation: 82/2=41 Moving to Node #0,1,0 Current State: 76:[73, 4], Operations: ['88-15=73', '6-2=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[6, 75], Operations: ['88-15=73', '2+73=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,76 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[15, 41], Operations: ['88-6=82', '82/2=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[82, 17], Operations: ['88-6=82', '2+15=17'] Exploring Operation: 82+17=99, Resulting Numbers: [99] 99,76 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 60, 23, 88, 46 ]
32
[ "60*46=2760", "2760/23=120", "120-88=32" ]
Current State: 32:[60, 23, 88, 46], Operations: [] Exploring Operation: 60*46=2760, Resulting Numbers: [23, 88, 2760] Generated Node #2: [23, 88, 2760] from Operation: 60*46=2760 Current State: 32:[23, 88, 2760], Operations: ['60*46=2760'] Exploring Operation: 2760/23=120, Resulting Numbers: [88, 120] Generated Node #3: [88, 120] from Operation: 2760/23=120 Current State: 32:[88, 120], Operations: ['60*46=2760', '2760/23=120'] Exploring Operation: 120-88=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[60, 23, 88, 46], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [23, 46, 28] Generated Node #0,0: 32:[23, 46, 28] Operation: 88-60=28 Exploring Operation: 60-46=14, Resulting Numbers: [23, 88, 14] Generated Node #0,1: 32:[23, 88, 14] Operation: 60-46=14 Exploring Operation: 88-46=42, Resulting Numbers: [60, 23, 42] Generated Node #0,2: 32:[60, 23, 42] Operation: 88-46=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[23, 46, 28], Operations: ['88-60=28'] Exploring Operation: 46-28=18, Resulting Numbers: [23, 18] Generated Node #0,0,0: 32:[23, 18] Operation: 46-28=18 Exploring Operation: 46-23=23, Resulting Numbers: [28, 23] Generated Node #0,0,1: 32:[28, 23] Operation: 46-23=23 Exploring Operation: 46/23=2, Resulting Numbers: [28, 2] Generated Node #0,0,2: 32:[28, 2] Operation: 46/23=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[28, 2], Operations: ['88-60=28', '46/23=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[23, 18], Operations: ['88-60=28', '46-28=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,32 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[28, 23], Operations: ['88-60=28', '46-23=23'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 28*23=644, Resulting Numbers: [644] 644,32 unequal: No Solution Exploring Operation: 28+23=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[60, 23, 42], Operations: ['88-46=42'] Exploring Operation: 42-23=19, Resulting Numbers: [60, 19] Generated Node #0,2,0: 32:[60, 19] Operation: 42-23=19 Exploring Operation: 60-23=37, Resulting Numbers: [42, 37] Generated Node #0,2,1: 32:[42, 37] Operation: 60-23=37 Exploring Operation: 60-42=18, Resulting Numbers: [23, 18] Generated Node #0,2,2: 32:[23, 18] Operation: 60-42=18 Moving to Node #0,2,2 Current State: 32:[23, 18], Operations: ['88-46=42', '60-42=18'] Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,32 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[42, 37], Operations: ['88-46=42', '60-23=37'] Exploring Operation: 42+37=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 42*37=1554, Resulting Numbers: [1554] 1554,32 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,32 unequal: No Solution Moving to Node #0,2,0 Current State: 32:[60, 19], Operations: ['88-46=42', '42-23=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,32 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,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:[23, 88, 14], Operations: ['60-46=14'] Exploring Operation: 88-14=74, Resulting Numbers: [23, 74] Generated Node #0,1,0: 32:[23, 74] Operation: 88-14=74 Exploring Operation: 88-23=65, Resulting Numbers: [14, 65] Generated Node #0,1,1: 32:[14, 65] Operation: 88-23=65 Exploring Operation: 23-14=9, Resulting Numbers: [88, 9] Generated Node #0,1,2: 32:[88, 9] Operation: 23-14=9 Moving to Node #0,1,1 Current State: 32:[14, 65], Operations: ['60-46=14', '88-23=65'] Exploring Operation: 14+65=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 14*65=910, Resulting Numbers: [910] 910,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[23, 74], Operations: ['60-46=14', '88-14=74'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,32 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[88, 9], Operations: ['60-46=14', '23-14=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,32 unequal: No Solution Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,32 unequal: No Solution Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 17, 83, 46, 83 ]
64
[ "17+46=63", "83/83=1", "63+1=64" ]
Current State: 64:[17, 83, 46, 83], Operations: [] Exploring Operation: 17+46=63, Resulting Numbers: [83, 83, 63] Generated Node #2: [83, 83, 63] from Operation: 17+46=63 Current State: 64:[83, 83, 63], Operations: ['17+46=63'] Exploring Operation: 83/83=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 83/83=1 Current State: 64:[63, 1], Operations: ['17+46=63', '83/83=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[17, 83, 46, 83], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [17, 83, 37] Generated Node #0,0: 64:[17, 83, 37] Operation: 83-46=37 Exploring Operation: 83-83=0, Resulting Numbers: [17, 46, 0] Generated Node #0,1: 64:[17, 46, 0] Operation: 83-83=0 Exploring Operation: 83-46=37, Resulting Numbers: [17, 83, 37] Generated Node #0,2: 64:[17, 83, 37] Operation: 83-46=37 Exploring Operation: 83/83=1, Resulting Numbers: [17, 46, 1] Generated Node #0,3: 64:[17, 46, 1] Operation: 83/83=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[17, 46, 1], Operations: ['83/83=1'] Exploring Operation: 46-17=29, Resulting Numbers: [1, 29] Generated Node #0,3,0: 64:[1, 29] Operation: 46-17=29 Exploring Operation: 46-1=45, Resulting Numbers: [17, 45] Generated Node #0,3,1: 64:[17, 45] Operation: 46-1=45 Exploring Operation: 17+46=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 64:[1, 63] Operation: 17+46=63 Exploring Operation: 17-1=16, Resulting Numbers: [46, 16] Generated Node #0,3,3: 64:[46, 16] Operation: 17-1=16 Moving to Node #0,3,2 Current State: 64:[1, 63], Operations: ['83/83=1', '17+46=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[17, 83, 46, 83], Operations: [] Exploring Operation: 83/83=1, Resulting Numbers: [17, 46, 1] Generated Node #0,3: 64:[17, 46, 1] Operation: 83/83=1 Moving to Node #0,3 Current State: 64:[17, 46, 1], Operations: ['83/83=1'] Exploring Operation: 17+46=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 64:[1, 63] Operation: 17+46=63 Moving to Node #0,3,2 Current State: 64:[1, 63], Operations: ['83/83=1', '17+46=63'] Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 16, 98, 48, 6 ]
100
[ "48/16=3", "6/3=2", "98+2=100" ]
Current State: 100:[16, 98, 48, 6], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [98, 6, 3] Generated Node #2: [98, 6, 3] from Operation: 48/16=3 Current State: 100:[98, 6, 3], Operations: ['48/16=3'] Exploring Operation: 6/3=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 6/3=2 Current State: 100:[98, 2], Operations: ['48/16=3', '6/3=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[16, 98, 48, 6], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [98, 6, 3] Generated Node #0,0: 100:[98, 6, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[98, 6, 3], Operations: ['48/16=3'] Exploring Operation: 98+3=101, Resulting Numbers: [6, 101] Generated Node #0,0,0: 100:[6, 101] Operation: 98+3=101 Moving to Node #0,0,0 Current State: 100:[6, 101], Operations: ['48/16=3', '98+3=101'] Exploring Operation: 101-6=95, Resulting Numbers: [95] 95,100 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
[ 78, 67, 11, 59 ]
10
[ "67-59=8", "11*8=88", "88-78=10" ]
Current State: 10:[78, 67, 11, 59], Operations: [] Exploring Operation: 67-59=8, Resulting Numbers: [78, 11, 8] Generated Node #2: [78, 11, 8] from Operation: 67-59=8 Current State: 10:[78, 11, 8], Operations: ['67-59=8'] Exploring Operation: 11*8=88, Resulting Numbers: [78, 88] Generated Node #3: [78, 88] from Operation: 11*8=88 Current State: 10:[78, 88], Operations: ['67-59=8', '11*8=88'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[78, 67, 11, 59], Operations: [] Exploring Operation: 78-11=67, Resulting Numbers: [67, 59, 67] Generated Node #0,0: 10:[67, 59, 67] Operation: 78-11=67 Exploring Operation: 78-67=11, Resulting Numbers: [11, 59, 11] Generated Node #0,1: 10:[11, 59, 11] Operation: 78-67=11 Exploring Operation: 67-59=8, Resulting Numbers: [78, 11, 8] Generated Node #0,2: 10:[78, 11, 8] Operation: 67-59=8 Exploring Operation: 78-59=19, Resulting Numbers: [67, 11, 19] Generated Node #0,3: 10:[67, 11, 19] Operation: 78-59=19 Exploring Operation: 67-11=56, Resulting Numbers: [78, 59, 56] Generated Node #0,4: 10:[78, 59, 56] Operation: 67-11=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[11, 59, 11], Operations: ['78-67=11'] Exploring Operation: 11+59=70, Resulting Numbers: [11, 70] Generated Node #0,1,0: 10:[11, 70] Operation: 11+59=70 Exploring Operation: 11-11=0, Resulting Numbers: [59, 0] Generated Node #0,1,1: 10:[59, 0] Operation: 11-11=0 Exploring Operation: 59-11=48, Resulting Numbers: [11, 48] Generated Node #0,1,2: 10:[11, 48] Operation: 59-11=48 Exploring Operation: 59-11=48, Resulting Numbers: [11, 48] Generated Node #0,1,3: 10:[11, 48] Operation: 59-11=48 Exploring Operation: 11/11=1, Resulting Numbers: [59, 1] Generated Node #0,1,4: 10:[59, 1] Operation: 11/11=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 10:[11, 48], Operations: ['78-67=11', '59-11=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,10 unequal: No Solution No 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: 10:[11, 48], Operations: ['78-67=11', '59-11=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,10 unequal: No Solution No 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: 10:[59, 1], Operations: ['78-67=11', '11/11=1'] Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,10 unequal: No Solution No 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: 10:[59, 0], Operations: ['78-67=11', '11-11=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,10 unequal: No Solution No 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: 10:[11, 70], Operations: ['78-67=11', '11+59=70'] Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,10 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,10 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: 10:[67, 11, 19], Operations: ['78-59=19'] Exploring Operation: 67-11=56, Resulting Numbers: [19, 56] Generated Node #0,3,0: 10:[19, 56] Operation: 67-11=56 Exploring Operation: 67-19=48, Resulting Numbers: [11, 48] Generated Node #0,3,1: 10:[11, 48] Operation: 67-19=48 Exploring Operation: 67+11=78, Resulting Numbers: [19, 78] Generated Node #0,3,2: 10:[19, 78] Operation: 67+11=78 Exploring Operation: 19-11=8, Resulting Numbers: [67, 8] Generated Node #0,3,3: 10:[67, 8] Operation: 19-11=8 Exploring Operation: 67+19=86, Resulting Numbers: [11, 86] Generated Node #0,3,4: 10:[11, 86] Operation: 67+19=86 Moving to Node #0,3,1 Current State: 10:[11, 48], Operations: ['78-59=19', '67-19=48'] Exploring Operation: 48-11=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 11*48=528, Resulting Numbers: [528] 528,10 unequal: No Solution Exploring Operation: 11+48=59, Resulting Numbers: [59] 59,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[19, 56], Operations: ['78-59=19', '67-11=56'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,10 unequal: No Solution Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[67, 8], Operations: ['78-59=19', '19-11=8'] Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,10 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[19, 78], Operations: ['78-59=19', '67+11=78'] Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 19*78=1482, Resulting Numbers: [1482] 1482,10 unequal: No Solution Exploring Operation: 19+78=97, Resulting Numbers: [97] 97,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[11, 86], Operations: ['78-59=19', '67+19=86'] Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[78, 11, 8], Operations: ['67-59=8'] Exploring Operation: 11-8=3, Resulting Numbers: [78, 3] Generated Node #0,2,0: 10:[78, 3] Operation: 11-8=3 Exploring Operation: 78-11=67, Resulting Numbers: [8, 67] Generated Node #0,2,1: 10:[8, 67] Operation: 78-11=67 Exploring Operation: 11+8=19, Resulting Numbers: [78, 19] Generated Node #0,2,2: 10:[78, 19] Operation: 11+8=19 Exploring Operation: 78+8=86, Resulting Numbers: [11, 86] Generated Node #0,2,3: 10:[11, 86] Operation: 78+8=86 Exploring Operation: 78-8=70, Resulting Numbers: [11, 70] Generated Node #0,2,4: 10:[11, 70] Operation: 78-8=70 Moving to Node #0,2,1 Current State: 10:[8, 67], Operations: ['67-59=8', '78-11=67'] Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,10 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,10 unequal: No Solution Moving to Node #0,2,4 Current State: 10:[11, 70], Operations: ['67-59=8', '78-8=70'] Exploring Operation: 11*70=770, Resulting Numbers: [770] 770,10 unequal: No Solution Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 11+70=81, Resulting Numbers: [81] 81,10 unequal: No Solution Moving to Node #0,2,0 Current State: 10:[78, 3], Operations: ['67-59=8', '11-8=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[78, 19], Operations: ['67-59=8', '11+8=19'] Exploring Operation: 78*19=1482, Resulting Numbers: [1482] 1482,10 unequal: No Solution Exploring Operation: 78-19=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 78+19=97, Resulting Numbers: [97] 97,10 unequal: No Solution Moving to Node #0,2,3 Current State: 10:[11, 86], Operations: ['67-59=8', '78+8=86'] Exploring Operation: 86-11=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 11+86=97, Resulting Numbers: [97] 97,10 unequal: No Solution Exploring Operation: 11*86=946, Resulting Numbers: [946] 946,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 Current State: 10:[67, 59, 67], Operations: ['78-11=67'] Exploring Operation: 67+59=126, Resulting Numbers: [67, 126] Generated Node #0,0,0: 10:[67, 126] Operation: 67+59=126 Exploring Operation: 67-67=0, Resulting Numbers: [59, 0] Generated Node #0,0,1: 10:[59, 0] Operation: 67-67=0 Exploring Operation: 67-59=8, Resulting Numbers: [67, 8] Generated Node #0,0,2: 10:[67, 8] Operation: 67-59=8 Exploring Operation: 67-59=8, Resulting Numbers: [67, 8] Generated Node #0,0,3: 10:[67, 8] Operation: 67-59=8 Exploring Operation: 67/67=1, Resulting Numbers: [59, 1] Generated Node #0,0,4: 10:[59, 1] Operation: 67/67=1 Moving to Node #0,0,4 Current State: 10:[59, 1], Operations: ['78-11=67', '67/67=1'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59+1=60, Resulting Numbers: [60] 60,10 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[59, 0], Operations: ['78-11=67', '67-67=0'] Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[67, 8], Operations: ['78-11=67', '67-59=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[67, 8], Operations: ['78-11=67', '67-59=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,10 unequal: No Solution Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[67, 126], Operations: ['78-11=67', '67+59=126'] Exploring Operation: 67*126=8442, Resulting Numbers: [8442] 8442,10 unequal: No Solution Exploring Operation: 67+126=193, Resulting Numbers: [193] 193,10 unequal: No Solution Exploring Operation: 126-67=59, Resulting Numbers: [59] 59,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,4 Current State: 10:[78, 59, 56], Operations: ['67-11=56'] Exploring Operation: 78+56=134, Resulting Numbers: [59, 134] Generated Node #0,4,0: 10:[59, 134] Operation: 78+56=134 Exploring Operation: 78+59=137, Resulting Numbers: [56, 137] Generated Node #0,4,1: 10:[56, 137] Operation: 78+59=137 Exploring Operation: 78-56=22, Resulting Numbers: [59, 22] Generated Node #0,4,2: 10:[59, 22] Operation: 78-56=22 Exploring Operation: 59-56=3, Resulting Numbers: [78, 3] Generated Node #0,4,3: 10:[78, 3] Operation: 59-56=3 Exploring Operation: 78-59=19, Resulting Numbers: [56, 19] Generated Node #0,4,4: 10:[56, 19] Operation: 78-59=19 Moving to Node #0,4,4 Current State: 10:[56, 19], Operations: ['67-11=56', '78-59=19'] Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[59, 22], Operations: ['67-11=56', '78-56=22'] Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[78, 3], Operations: ['67-11=56', '59-56=3'] Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,10 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[59, 134], Operations: ['67-11=56', '78+56=134'] Exploring Operation: 134-59=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 59+134=193, Resulting Numbers: [193] 193,10 unequal: No Solution Exploring Operation: 59*134=7906, Resulting Numbers: [7906] 7906,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[56, 137], Operations: ['67-11=56', '78+59=137'] Exploring Operation: 56+137=193, Resulting Numbers: [193] 193,10 unequal: No Solution Exploring Operation: 137-56=81, Resulting Numbers: [81] 81,10 unequal: No Solution Exploring Operation: 56*137=7672, Resulting Numbers: [7672] 7672,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 9, 6, 38, 2 ]
94
[ "9*6=54", "38+2=40", "54+40=94" ]
Current State: 94:[9, 6, 38, 2], Operations: [] Exploring Operation: 9*6=54, Resulting Numbers: [38, 2, 54] Generated Node #2: [38, 2, 54] from Operation: 9*6=54 Current State: 94:[38, 2, 54], Operations: ['9*6=54'] Exploring Operation: 38+2=40, Resulting Numbers: [54, 40] Generated Node #3: [54, 40] from Operation: 38+2=40 Current State: 94:[54, 40], Operations: ['9*6=54', '38+2=40'] Exploring Operation: 54+40=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[9, 6, 38, 2], Operations: [] Exploring Operation: 9-6=3, Resulting Numbers: [38, 2, 3] Generated Node #0,0: 94:[38, 2, 3] Operation: 9-6=3 Exploring Operation: 9+38=47, Resulting Numbers: [6, 2, 47] Generated Node #0,1: 94:[6, 2, 47] Operation: 9+38=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[6, 2, 47], Operations: ['9+38=47'] Exploring Operation: 6/2=3, Resulting Numbers: [47, 3] Generated Node #0,1,0: 94:[47, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [47, 4] Generated Node #0,1,1: 94:[47, 4] Operation: 6-2=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[47, 3], Operations: ['9+38=47', '6/2=3'] Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,94 unequal: No Solution No 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: 94:[47, 4], Operations: ['9+38=47', '6-2=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,94 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: 94:[38, 2, 3], Operations: ['9-6=3'] Exploring Operation: 38+3=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 94:[2, 41] Operation: 38+3=41 Exploring Operation: 38+2=40, Resulting Numbers: [3, 40] Generated Node #0,0,1: 94:[3, 40] Operation: 38+2=40 Moving to Node #0,0,0 Current State: 94:[2, 41], Operations: ['9-6=3', '38+3=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,94 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[3, 40], Operations: ['9-6=3', '38+2=40'] Exploring Operation: 3+40=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,94 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
[ 98, 46, 28, 89 ]
83
[ "98+46=144", "89-28=61", "144-61=83" ]
Current State: 83:[98, 46, 28, 89], Operations: [] Exploring Operation: 98+46=144, Resulting Numbers: [28, 89, 144] Generated Node #2: [28, 89, 144] from Operation: 98+46=144 Current State: 83:[28, 89, 144], Operations: ['98+46=144'] Exploring Operation: 89-28=61, Resulting Numbers: [144, 61] Generated Node #3: [144, 61] from Operation: 89-28=61 Current State: 83:[144, 61], Operations: ['98+46=144', '89-28=61'] Exploring Operation: 144-61=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[98, 46, 28, 89], Operations: [] Exploring Operation: 89-28=61, Resulting Numbers: [98, 46, 61] Generated Node #0,0: 83:[98, 46, 61] Operation: 89-28=61 Exploring Operation: 98-28=70, Resulting Numbers: [46, 89, 70] Generated Node #0,1: 83:[46, 89, 70] Operation: 98-28=70 Exploring Operation: 46+28=74, Resulting Numbers: [98, 89, 74] Generated Node #0,2: 83:[98, 89, 74] Operation: 46+28=74 Moving to Node #0,2 Current State: 83:[98, 89, 74], Operations: ['46+28=74'] Exploring Operation: 98-74=24, Resulting Numbers: [89, 24] Generated Node #0,2,0: 83:[89, 24] Operation: 98-74=24 Exploring Operation: 98-89=9, Resulting Numbers: [74, 9] Generated Node #0,2,1: 83:[74, 9] Operation: 98-89=9 Exploring Operation: 89-74=15, Resulting Numbers: [98, 15] Generated Node #0,2,2: 83:[98, 15] Operation: 89-74=15 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[89, 24], Operations: ['46+28=74', '98-74=24'] Exploring Operation: 89+24=113, Resulting Numbers: [113] 113,83 unequal: No Solution Exploring Operation: 89*24=2136, Resulting Numbers: [2136] 2136,83 unequal: No Solution Exploring Operation: 89-24=65, Resulting Numbers: [65] 65,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[74, 9], Operations: ['46+28=74', '98-89=9'] Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,83 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[98, 46, 28, 89], Operations: [] Exploring Operation: 46+28=74, Resulting Numbers: [98, 89, 74] Generated Node #0,2: 83:[98, 89, 74] Operation: 46+28=74 Moving to Node #0,2 Current State: 83:[98, 89, 74], Operations: ['46+28=74'] Exploring Operation: 98-89=9, Resulting Numbers: [74, 9] Generated Node #0,2,1: 83:[74, 9] Operation: 98-89=9 Moving to Node #0,2,1 Current State: 83:[74, 9], Operations: ['46+28=74', '98-89=9'] Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 9, 31, 19, 5 ]
62
[ "19-9=10", "31*10=310", "310/5=62" ]
Current State: 62:[9, 31, 19, 5], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [31, 5, 10] Generated Node #2: [31, 5, 10] from Operation: 19-9=10 Current State: 62:[31, 5, 10], Operations: ['19-9=10'] Exploring Operation: 31*10=310, Resulting Numbers: [5, 310] Generated Node #3: [5, 310] from Operation: 31*10=310 Current State: 62:[5, 310], Operations: ['19-9=10', '31*10=310'] Exploring Operation: 310/5=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[9, 31, 19, 5], Operations: [] Exploring Operation: 9+19=28, Resulting Numbers: [31, 5, 28] Generated Node #0,0: 62:[31, 5, 28] Operation: 9+19=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[31, 5, 28], Operations: ['9+19=28'] Exploring Operation: 5+28=33, Resulting Numbers: [31, 33] Generated Node #0,0,0: 62:[31, 33] Operation: 5+28=33 Moving to Node #0,0,0 Current State: 62:[31, 33], Operations: ['9+19=28', '5+28=33'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 51, 84, 93 ]
21
[ "84/42=2", "93-51=42", "42/2=21" ]
Current State: 21:[42, 51, 84, 93], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [51, 93, 2] Generated Node #2: [51, 93, 2] from Operation: 84/42=2 Current State: 21:[51, 93, 2], Operations: ['84/42=2'] Exploring Operation: 93-51=42, Resulting Numbers: [2, 42] Generated Node #3: [2, 42] from Operation: 93-51=42 Current State: 21:[2, 42], Operations: ['84/42=2', '93-51=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[42, 51, 84, 93], Operations: [] Exploring Operation: 93-84=9, Resulting Numbers: [42, 51, 9] Generated Node #0,0: 21:[42, 51, 9] Operation: 93-84=9 Exploring Operation: 93-51=42, Resulting Numbers: [42, 84, 42] Generated Node #0,1: 21:[42, 84, 42] Operation: 93-51=42 Exploring Operation: 84/42=2, Resulting Numbers: [51, 93, 2] Generated Node #0,2: 21:[51, 93, 2] Operation: 84/42=2 Exploring Operation: 84-51=33, Resulting Numbers: [42, 93, 33] Generated Node #0,3: 21:[42, 93, 33] Operation: 84-51=33 Moving to Node #0,0 Current State: 21:[42, 51, 9], Operations: ['93-84=9'] Exploring Operation: 51-9=42, Resulting Numbers: [42, 42] Generated Node #0,0,0: 21:[42, 42] Operation: 51-9=42 Exploring Operation: 42-9=33, Resulting Numbers: [51, 33] Generated Node #0,0,1: 21:[51, 33] Operation: 42-9=33 Exploring Operation: 51-42=9, Resulting Numbers: [9, 9] Generated Node #0,0,2: 21:[9, 9] Operation: 51-42=9 Exploring Operation: 42+9=51, Resulting Numbers: [51, 51] Generated Node #0,0,3: 21:[51, 51] Operation: 42+9=51 Moving to Node #0,2 Current State: 21:[51, 93, 2], Operations: ['84/42=2'] Exploring Operation: 51-2=49, Resulting Numbers: [93, 49] Generated Node #0,2,0: 21:[93, 49] Operation: 51-2=49 Exploring Operation: 93-51=42, Resulting Numbers: [2, 42] Generated Node #0,2,1: 21:[2, 42] Operation: 93-51=42 Exploring Operation: 93-2=91, Resulting Numbers: [51, 91] Generated Node #0,2,2: 21:[51, 91] Operation: 93-2=91 Exploring Operation: 51+2=53, Resulting Numbers: [93, 53] Generated Node #0,2,3: 21:[93, 53] Operation: 51+2=53 Moving to Node #0,3 Current State: 21:[42, 93, 33], Operations: ['84-51=33'] Exploring Operation: 42-33=9, Resulting Numbers: [93, 9] Generated Node #0,3,0: 21:[93, 9] Operation: 42-33=9 Exploring Operation: 93-42=51, Resulting Numbers: [33, 51] Generated Node #0,3,1: 21:[33, 51] Operation: 93-42=51 Exploring Operation: 42+93=135, Resulting Numbers: [33, 135] Generated Node #0,3,2: 21:[33, 135] Operation: 42+93=135 Exploring Operation: 93-33=60, Resulting Numbers: [42, 60] Generated Node #0,3,3: 21:[42, 60] Operation: 93-33=60 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[33, 51], Operations: ['84-51=33', '93-42=51'] Exploring Operation: 33+51=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 33*51=1683, Resulting Numbers: [1683] 1683,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,3,3 Current State: 21:[42, 60], Operations: ['84-51=33', '93-33=60'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,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,3,0 Current State: 21:[93, 9], Operations: ['84-51=33', '42-33=9'] Exploring Operation: 93*9=837, Resulting Numbers: [837] 837,21 unequal: No Solution Exploring Operation: 93-9=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 93+9=102, Resulting Numbers: [102] 102,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,3,2 Current State: 21:[33, 135], Operations: ['84-51=33', '42+93=135'] Exploring Operation: 33+135=168, Resulting Numbers: [168] 168,21 unequal: No Solution Exploring Operation: 33*135=4455, Resulting Numbers: [4455] 4455,21 unequal: No Solution Exploring Operation: 135-33=102, Resulting Numbers: [102] 102,21 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: 21:[42, 84, 42], Operations: ['93-51=42'] Exploring Operation: 84-42=42, Resulting Numbers: [42, 42] Generated Node #0,1,0: 21:[42, 42] Operation: 84-42=42 Exploring Operation: 84/42=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 21:[42, 2] Operation: 84/42=2 Exploring Operation: 84-42=42, Resulting Numbers: [42, 42] Generated Node #0,1,2: 21:[42, 42] Operation: 84-42=42 Exploring Operation: 84/42=2, Resulting Numbers: [42, 2] Generated Node #0,1,3: 21:[42, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[42, 2], Operations: ['93-51=42', '84/42=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,21 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[42, 51, 84, 93], Operations: [] Exploring Operation: 93-51=42, Resulting Numbers: [42, 84, 42] Generated Node #0,1: 21:[42, 84, 42] Operation: 93-51=42 Moving to Node #0,1 Current State: 21:[42, 84, 42], Operations: ['93-51=42'] Exploring Operation: 84/42=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 21:[42, 2] Operation: 84/42=2 Moving to Node #0,1,1 Current State: 21:[42, 2], Operations: ['93-51=42', '84/42=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 63, 52, 70, 48 ]
90
[ "52+48=100", "63*100=6300", "6300/70=90" ]
Current State: 90:[63, 52, 70, 48], Operations: [] Exploring Operation: 52+48=100, Resulting Numbers: [63, 70, 100] Generated Node #2: [63, 70, 100] from Operation: 52+48=100 Current State: 90:[63, 70, 100], Operations: ['52+48=100'] Exploring Operation: 63*100=6300, Resulting Numbers: [70, 6300] Generated Node #3: [70, 6300] from Operation: 63*100=6300 Current State: 90:[70, 6300], Operations: ['52+48=100', '63*100=6300'] Exploring Operation: 6300/70=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[63, 52, 70, 48], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [52, 70, 15] Generated Node #0,0: 90:[52, 70, 15] Operation: 63-48=15 Exploring Operation: 70-52=18, Resulting Numbers: [63, 48, 18] Generated Node #0,1: 90:[63, 48, 18] Operation: 70-52=18 Exploring Operation: 70-63=7, Resulting Numbers: [52, 48, 7] Generated Node #0,2: 90:[52, 48, 7] Operation: 70-63=7 Exploring Operation: 63-52=11, Resulting Numbers: [70, 48, 11] Generated Node #0,3: 90:[70, 48, 11] Operation: 63-52=11 Moving to Node #0,2 Current State: 90:[52, 48, 7], Operations: ['70-63=7'] Exploring Operation: 48-7=41, Resulting Numbers: [52, 41] Generated Node #0,2,0: 90:[52, 41] Operation: 48-7=41 Exploring Operation: 52-48=4, Resulting Numbers: [7, 4] Generated Node #0,2,1: 90:[7, 4] Operation: 52-48=4 Exploring Operation: 52+48=100, Resulting Numbers: [7, 100] Generated Node #0,2,2: 90:[7, 100] Operation: 52+48=100 Exploring Operation: 52-7=45, Resulting Numbers: [48, 45] Generated Node #0,2,3: 90:[48, 45] Operation: 52-7=45 Moving to Node #0,1 Current State: 90:[63, 48, 18], Operations: ['70-52=18'] Exploring Operation: 63+18=81, Resulting Numbers: [48, 81] Generated Node #0,1,0: 90:[48, 81] Operation: 63+18=81 Exploring Operation: 63-18=45, Resulting Numbers: [48, 45] Generated Node #0,1,1: 90:[48, 45] Operation: 63-18=45 Exploring Operation: 48-18=30, Resulting Numbers: [63, 30] Generated Node #0,1,2: 90:[63, 30] Operation: 48-18=30 Exploring Operation: 63-48=15, Resulting Numbers: [18, 15] Generated Node #0,1,3: 90:[18, 15] Operation: 63-48=15 Moving to Node #0,3 Current State: 90:[70, 48, 11], Operations: ['63-52=11'] Exploring Operation: 70-48=22, Resulting Numbers: [11, 22] Generated Node #0,3,0: 90:[11, 22] Operation: 70-48=22 Exploring Operation: 70-11=59, Resulting Numbers: [48, 59] Generated Node #0,3,1: 90:[48, 59] Operation: 70-11=59 Exploring Operation: 70+11=81, Resulting Numbers: [48, 81] Generated Node #0,3,2: 90:[48, 81] Operation: 70+11=81 Exploring Operation: 48-11=37, Resulting Numbers: [70, 37] Generated Node #0,3,3: 90:[70, 37] Operation: 48-11=37 Moving to Node #0,0 Current State: 90:[52, 70, 15], Operations: ['63-48=15'] Exploring Operation: 70+15=85, Resulting Numbers: [52, 85] Generated Node #0,0,0: 90:[52, 85] Operation: 70+15=85 Exploring Operation: 70-15=55, Resulting Numbers: [52, 55] Generated Node #0,0,1: 90:[52, 55] Operation: 70-15=55 Exploring Operation: 52-15=37, Resulting Numbers: [70, 37] Generated Node #0,0,2: 90:[70, 37] Operation: 52-15=37 Exploring Operation: 70-52=18, Resulting Numbers: [15, 18] Generated Node #0,0,3: 90:[15, 18] Operation: 70-52=18 Moving to Node #0,1,3 Current State: 90:[18, 15], Operations: ['70-52=18', '63-48=15'] Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,90 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[15, 18], Operations: ['63-48=15', '70-52=18'] Exploring Operation: 15+18=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 15*18=270, Resulting Numbers: [270] 270,90 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[7, 4], Operations: ['70-63=7', '52-48=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[48, 45], Operations: ['70-52=18', '63-18=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[48, 45], Operations: ['70-63=7', '52-7=45'] Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,90 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[11, 22], Operations: ['63-52=11', '70-48=22'] Exploring Operation: 11*22=242, Resulting Numbers: [242] 242,90 unequal: No Solution Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 22/11=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 11+22=33, Resulting Numbers: [33] 33,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[52, 41], Operations: ['70-63=7', '48-7=41'] Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 52*41=2132, Resulting Numbers: [2132] 2132,90 unequal: No Solution Exploring Operation: 52+41=93, Resulting Numbers: [93] 93,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[7, 100], Operations: ['70-63=7', '52+48=100'] Exploring Operation: 7+100=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 100-7=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 7*100=700, Resulting Numbers: [700] 700,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[48, 81], Operations: ['70-52=18', '63+18=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,90 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[52, 85], Operations: ['63-48=15', '70+15=85'] Exploring Operation: 52*85=4420, Resulting Numbers: [4420] 4420,90 unequal: No Solution Exploring Operation: 52+85=137, Resulting Numbers: [137] 137,90 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[48, 81], Operations: ['63-52=11', '70+11=81'] Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,90 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[48, 59], Operations: ['63-52=11', '70-11=59'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,90 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[52, 55], Operations: ['63-48=15', '70-15=55'] Exploring Operation: 52*55=2860, Resulting Numbers: [2860] 2860,90 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 52+55=107, Resulting Numbers: [107] 107,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[63, 30], Operations: ['70-52=18', '48-18=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[70, 37], Operations: ['63-52=11', '48-11=37'] Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,90 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[70, 37], Operations: ['63-48=15', '52-15=37'] Exploring Operation: 70*37=2590, Resulting Numbers: [2590] 2590,90 unequal: No Solution Exploring Operation: 70+37=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,90 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 5, 39, 2, 2 ]
81
[ "5-2=3", "39*2=78", "3+78=81" ]
Current State: 81:[5, 39, 2, 2], Operations: [] Exploring Operation: 5-2=3, Resulting Numbers: [39, 3] Generated Node #2: [39, 3] from Operation: 5-2=3 Current State: 81:[39, 3], Operations: ['5-2=3'] Exploring Operation: 39*2=78, Resulting Numbers: [3, 78] Generated Node #3: [3, 78] from Operation: 39*2=78 Current State: 81:[3, 78], Operations: ['5-2=3', '39*2=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[5, 39, 2, 2], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [5, 2, 78] Generated Node #0,0: 81:[5, 2, 78] Operation: 39*2=78 Exploring Operation: 39*2=78, Resulting Numbers: [5, 2, 78] Generated Node #0,1: 81:[5, 2, 78] Operation: 39*2=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[5, 2, 78], Operations: ['39*2=78'] Exploring Operation: 5+78=83, Resulting Numbers: [2, 83] Generated Node #0,0,0: 81:[2, 83] Operation: 5+78=83 Exploring Operation: 5-2=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 81:[78, 3] Operation: 5-2=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[2, 83], Operations: ['39*2=78', '5+78=83'] Exploring Operation: 2+83=85, Resulting Numbers: [85] 85,81 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[5, 39, 2, 2], Operations: [] Exploring Operation: 39*2=78, Resulting Numbers: [5, 2, 78] Generated Node #0,0: 81:[5, 2, 78] Operation: 39*2=78 Moving to Node #0,0 Current State: 81:[5, 2, 78], Operations: ['39*2=78'] Exploring Operation: 5+78=83, Resulting Numbers: [2, 83] Generated Node #0,0,0: 81:[2, 83] Operation: 5+78=83 Moving to Node #0,0,0 Current State: 81:[2, 83], Operations: ['39*2=78', '5+78=83'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 7, 36, 42, 22 ]
64
[ "42/7=6", "36+22=58", "6+58=64" ]
Current State: 64:[7, 36, 42, 22], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [36, 22, 6] Generated Node #2: [36, 22, 6] from Operation: 42/7=6 Current State: 64:[36, 22, 6], Operations: ['42/7=6'] Exploring Operation: 36+22=58, Resulting Numbers: [6, 58] Generated Node #3: [6, 58] from Operation: 36+22=58 Current State: 64:[6, 58], Operations: ['42/7=6', '36+22=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 36, 42, 22], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [36, 22, 6] Generated Node #0,0: 64:[36, 22, 6] Operation: 42/7=6 Exploring Operation: 42-7=35, Resulting Numbers: [36, 22, 35] Generated Node #0,1: 64:[36, 22, 35] Operation: 42-7=35 Exploring Operation: 42+22=64, Resulting Numbers: [7, 36, 64] Generated Node #0,2: 64:[7, 36, 64] Operation: 42+22=64 Exploring Operation: 42-36=6, Resulting Numbers: [7, 22, 6] Generated Node #0,3: 64:[7, 22, 6] Operation: 42-36=6 Exploring Operation: 42-22=20, Resulting Numbers: [7, 36, 20] Generated Node #0,4: 64:[7, 36, 20] Operation: 42-22=20 Moving to Node #0,2 Current State: 64:[7, 36, 64], Operations: ['42+22=64'] Exploring Operation: 7+64=71, Resulting Numbers: [36, 71] Generated Node #0,2,0: 64:[36, 71] Operation: 7+64=71 Exploring Operation: 64-7=57, Resulting Numbers: [36, 57] Generated Node #0,2,1: 64:[36, 57] Operation: 64-7=57 Exploring Operation: 36-7=29, Resulting Numbers: [64, 29] Generated Node #0,2,2: 64:[64, 29] Operation: 36-7=29 Exploring Operation: 7+36=43, Resulting Numbers: [64, 43] Generated Node #0,2,3: 64:[64, 43] Operation: 7+36=43 Exploring Operation: 64-36=28, Resulting Numbers: [7, 28] Generated Node #0,2,4: 64:[7, 28] Operation: 64-36=28 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[64, 29], Operations: ['42+22=64', '36-7=29'] Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 64*29=1856, Resulting Numbers: [1856] 1856,64 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[7, 28], Operations: ['42+22=64', '64-36=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,64 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[36, 71], Operations: ['42+22=64', '7+64=71'] Exploring Operation: 71-36=35, Resulting Numbers: [35] 35,64 unequal: No Solution Exploring Operation: 36*71=2556, Resulting Numbers: [2556] 2556,64 unequal: No Solution Exploring Operation: 36+71=107, Resulting Numbers: [107] 107,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[36, 57], Operations: ['42+22=64', '64-7=57'] Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,64 unequal: No Solution Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,64 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[64, 43], Operations: ['42+22=64', '7+36=43'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,64 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,64 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: 64:[7, 36, 20], Operations: ['42-22=20'] Exploring Operation: 36+20=56, Resulting Numbers: [7, 56] Generated Node #0,4,0: 64:[7, 56] Operation: 36+20=56 Exploring Operation: 7+20=27, Resulting Numbers: [36, 27] Generated Node #0,4,1: 64:[36, 27] Operation: 7+20=27 Exploring Operation: 36-20=16, Resulting Numbers: [7, 16] Generated Node #0,4,2: 64:[7, 16] Operation: 36-20=16 Exploring Operation: 36-7=29, Resulting Numbers: [20, 29] Generated Node #0,4,3: 64:[20, 29] Operation: 36-7=29 Exploring Operation: 20-7=13, Resulting Numbers: [36, 13] Generated Node #0,4,4: 64:[36, 13] Operation: 20-7=13 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 64:[7, 16], Operations: ['42-22=20', '36-20=16'] Exploring Operation: 7*16=112, Resulting Numbers: [112] 112,64 unequal: No Solution Exploring Operation: 7+16=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 64:[20, 29], Operations: ['42-22=20', '36-7=29'] Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,64 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[36, 13], Operations: ['42-22=20', '20-7=13'] Exploring Operation: 36+13=49, Resulting Numbers: [49] 49,64 unequal: No Solution Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 36*13=468, Resulting Numbers: [468] 468,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[7, 56], Operations: ['42-22=20', '36+20=56'] Exploring Operation: 7*56=392, Resulting Numbers: [392] 392,64 unequal: No Solution Exploring Operation: 7+56=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 56-7=49, Resulting Numbers: [49] 49,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[36, 27], Operations: ['42-22=20', '7+20=27'] Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,64 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: 64:[7, 22, 6], Operations: ['42-36=6'] Exploring Operation: 7+22=29, Resulting Numbers: [6, 29] Generated Node #0,3,0: 64:[6, 29] Operation: 7+22=29 Exploring Operation: 22+6=28, Resulting Numbers: [7, 28] Generated Node #0,3,1: 64:[7, 28] Operation: 22+6=28 Exploring Operation: 22-7=15, Resulting Numbers: [6, 15] Generated Node #0,3,2: 64:[6, 15] Operation: 22-7=15 Exploring Operation: 7-6=1, Resulting Numbers: [22, 1] Generated Node #0,3,3: 64:[22, 1] Operation: 7-6=1 Exploring Operation: 22-6=16, Resulting Numbers: [7, 16] Generated Node #0,3,4: 64:[7, 16] Operation: 22-6=16 Moving to Node #0,0 Current State: 64:[36, 22, 6], Operations: ['42/7=6'] Exploring Operation: 36/6=6, Resulting Numbers: [22, 6] Generated Node #0,0,0: 64:[22, 6] Operation: 36/6=6 Exploring Operation: 36-22=14, Resulting Numbers: [6, 14] Generated Node #0,0,1: 64:[6, 14] Operation: 36-22=14 Exploring Operation: 36+22=58, Resulting Numbers: [6, 58] Generated Node #0,0,2: 64:[6, 58] Operation: 36+22=58 Exploring Operation: 22-6=16, Resulting Numbers: [36, 16] Generated Node #0,0,3: 64:[36, 16] Operation: 22-6=16 Exploring Operation: 36-6=30, Resulting Numbers: [22, 30] Generated Node #0,0,4: 64:[22, 30] Operation: 36-6=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[6, 14], Operations: ['42/7=6', '36-22=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[36, 16], Operations: ['42/7=6', '22-6=16'] Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,64 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[22, 6], Operations: ['42/7=6', '36/6=6'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 22*6=132, Resulting Numbers: [132] 132,64 unequal: No Solution Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[6, 58], Operations: ['42/7=6', '36+22=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[7, 36, 42, 22], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [36, 22, 6] Generated Node #0,0: 64:[36, 22, 6] Operation: 42/7=6 Moving to Node #0,0 Current State: 64:[36, 22, 6], Operations: ['42/7=6'] Exploring Operation: 36+22=58, Resulting Numbers: [6, 58] Generated Node #0,0,2: 64:[6, 58] Operation: 36+22=58 Moving to Node #0,0,2 Current State: 64:[6, 58], Operations: ['42/7=6', '36+22=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_5
sum_heuristic
[ 78, 3, 19, 54 ]
61
[ "78/3=26", "54-19=35", "26+35=61" ]
Current State: 61:[78, 3, 19, 54], Operations: [] Exploring Operation: 78/3=26, Resulting Numbers: [19, 54, 26] Generated Node #2: [19, 54, 26] from Operation: 78/3=26 Current State: 61:[19, 54, 26], Operations: ['78/3=26'] Exploring Operation: 54-19=35, Resulting Numbers: [26, 35] Generated Node #3: [26, 35] from Operation: 54-19=35 Current State: 61:[26, 35], Operations: ['78/3=26', '54-19=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[78, 3, 19, 54], Operations: [] Exploring Operation: 3*19=57, Resulting Numbers: [78, 54, 57] Generated Node #0,0: 61:[78, 54, 57] Operation: 3*19=57 Exploring Operation: 3+54=57, Resulting Numbers: [78, 19, 57] Generated Node #0,1: 61:[78, 19, 57] Operation: 3+54=57 Exploring Operation: 78-3=75, Resulting Numbers: [19, 54, 75] Generated Node #0,2: 61:[19, 54, 75] Operation: 78-3=75 Exploring Operation: 3+19=22, Resulting Numbers: [78, 54, 22] Generated Node #0,3: 61:[78, 54, 22] Operation: 3+19=22 Moving to Node #0,0 Current State: 61:[78, 54, 57], Operations: ['3*19=57'] Exploring Operation: 78-57=21, Resulting Numbers: [54, 21] Generated Node #0,0,0: 61:[54, 21] Operation: 78-57=21 Exploring Operation: 78-54=24, Resulting Numbers: [57, 24] Generated Node #0,0,1: 61:[57, 24] Operation: 78-54=24 Exploring Operation: 54+57=111, Resulting Numbers: [78, 111] Generated Node #0,0,2: 61:[78, 111] Operation: 54+57=111 Exploring Operation: 78+54=132, Resulting Numbers: [57, 132] Generated Node #0,0,3: 61:[57, 132] Operation: 78+54=132 Moving to Node #0,2 Current State: 61:[19, 54, 75], Operations: ['78-3=75'] Exploring Operation: 19+54=73, Resulting Numbers: [75, 73] Generated Node #0,2,0: 61:[75, 73] Operation: 19+54=73 Exploring Operation: 19+75=94, Resulting Numbers: [54, 94] Generated Node #0,2,1: 61:[54, 94] Operation: 19+75=94 Exploring Operation: 54-19=35, Resulting Numbers: [75, 35] Generated Node #0,2,2: 61:[75, 35] Operation: 54-19=35 Exploring Operation: 75-19=56, Resulting Numbers: [54, 56] Generated Node #0,2,3: 61:[54, 56] Operation: 75-19=56 Moving to Node #0,1 Current State: 61:[78, 19, 57], Operations: ['3+54=57'] Exploring Operation: 78+19=97, Resulting Numbers: [57, 97] Generated Node #0,1,0: 61:[57, 97] Operation: 78+19=97 Exploring Operation: 78-19=59, Resulting Numbers: [57, 59] Generated Node #0,1,1: 61:[57, 59] Operation: 78-19=59 Exploring Operation: 19+57=76, Resulting Numbers: [78, 76] Generated Node #0,1,2: 61:[78, 76] Operation: 19+57=76 Exploring Operation: 57-19=38, Resulting Numbers: [78, 38] Generated Node #0,1,3: 61:[78, 38] Operation: 57-19=38 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[57, 59], Operations: ['3+54=57', '78-19=59'] Exploring Operation: 57*59=3363, Resulting Numbers: [3363] 3363,61 unequal: No Solution Exploring Operation: 59-57=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 57+59=116, Resulting Numbers: [116] 116,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[78, 76], Operations: ['3+54=57', '19+57=76'] Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,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:[57, 97], Operations: ['3+54=57', '78+19=97'] Exploring Operation: 57*97=5529, Resulting Numbers: [5529] 5529,61 unequal: No Solution Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 57+97=154, Resulting Numbers: [154] 154,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:[78, 38], Operations: ['3+54=57', '57-19=38'] Exploring Operation: 78*38=2964, Resulting Numbers: [2964] 2964,61 unequal: No Solution Exploring Operation: 78+38=116, Resulting Numbers: [116] 116,61 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 61:[78, 54, 22], Operations: ['3+19=22'] Exploring Operation: 54+22=76, Resulting Numbers: [78, 76] Generated Node #0,3,0: 61:[78, 76] Operation: 54+22=76 Exploring Operation: 54-22=32, Resulting Numbers: [78, 32] Generated Node #0,3,1: 61:[78, 32] Operation: 54-22=32 Exploring Operation: 78-22=56, Resulting Numbers: [54, 56] Generated Node #0,3,2: 61:[54, 56] Operation: 78-22=56 Exploring Operation: 78+22=100, Resulting Numbers: [54, 100] Generated Node #0,3,3: 61:[54, 100] Operation: 78+22=100 Moving to Node #0,2,3 Current State: 61:[54, 56], Operations: ['78-3=75', '75-19=56'] Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[54, 56], Operations: ['3+19=22', '78-22=56'] Exploring Operation: 54*56=3024, Resulting Numbers: [3024] 3024,61 unequal: No Solution Exploring Operation: 56-54=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 54+56=110, Resulting Numbers: [110] 110,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[75, 73], Operations: ['78-3=75', '19+54=73'] Exploring Operation: 75*73=5475, Resulting Numbers: [5475] 5475,61 unequal: No Solution Exploring Operation: 75+73=148, Resulting Numbers: [148] 148,61 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[78, 76], Operations: ['3+19=22', '54+22=76'] Exploring Operation: 78+76=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 78*76=5928, Resulting Numbers: [5928] 5928,61 unequal: No Solution Exploring Operation: 78-76=2, Resulting Numbers: [2] 2,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[54, 94], Operations: ['78-3=75', '19+75=94'] Exploring Operation: 54*94=5076, Resulting Numbers: [5076] 5076,61 unequal: No Solution Exploring Operation: 94-54=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 54+94=148, Resulting Numbers: [148] 148,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[75, 35], Operations: ['78-3=75', '54-19=35'] Exploring Operation: 75-35=40, Resulting Numbers: [40] 40,61 unequal: No Solution Exploring Operation: 75*35=2625, Resulting Numbers: [2625] 2625,61 unequal: No Solution Exploring Operation: 75+35=110, Resulting Numbers: [110] 110,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[57, 24], Operations: ['3*19=57', '78-54=24'] Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,61 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[54, 100], Operations: ['3+19=22', '78+22=100'] Exploring Operation: 54*100=5400, Resulting Numbers: [5400] 5400,61 unequal: No Solution Exploring Operation: 54+100=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[78, 32], Operations: ['3+19=22', '54-22=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,61 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[54, 21], Operations: ['3*19=57', '78-57=21'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,61 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,61 unequal: No Solution Moving to Node #0,0,2 Current State: 61:[78, 111], Operations: ['3*19=57', '54+57=111'] Exploring Operation: 111-78=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 78*111=8658, Resulting Numbers: [8658] 8658,61 unequal: No Solution Exploring Operation: 78+111=189, Resulting Numbers: [189] 189,61 unequal: No Solution Moving to Node #0,0,3 Current State: 61:[57, 132], Operations: ['3*19=57', '78+54=132'] Exploring Operation: 57+132=189, Resulting Numbers: [189] 189,61 unequal: No Solution Exploring Operation: 57*132=7524, Resulting Numbers: [7524] 7524,61 unequal: No Solution Exploring Operation: 132-57=75, Resulting Numbers: [75] 75,61 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 57, 88, 94, 55 ]
82
[ "57-55=2", "88*2=176", "176-94=82" ]
Current State: 82:[57, 88, 94, 55], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [88, 94, 2] Generated Node #2: [88, 94, 2] from Operation: 57-55=2 Current State: 82:[88, 94, 2], Operations: ['57-55=2'] Exploring Operation: 88*2=176, Resulting Numbers: [94, 176] Generated Node #3: [94, 176] from Operation: 88*2=176 Current State: 82:[94, 176], Operations: ['57-55=2', '88*2=176'] Exploring Operation: 176-94=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[57, 88, 94, 55], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [88, 94, 2] Generated Node #0,0: 82:[88, 94, 2] Operation: 57-55=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[88, 94, 2], Operations: ['57-55=2'] Exploring Operation: 94-88=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 82:[2, 6] Operation: 94-88=6 Moving to Node #0,0,0 Current State: 82:[2, 6], Operations: ['57-55=2', '94-88=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 35, 44, 2 ]
71
[ "84-35=49", "44/2=22", "49+22=71" ]
Current State: 71:[84, 35, 44, 2], Operations: [] Exploring Operation: 84-35=49, Resulting Numbers: [44, 2, 49] Generated Node #2: [44, 2, 49] from Operation: 84-35=49 Current State: 71:[44, 2, 49], Operations: ['84-35=49'] Exploring Operation: 44/2=22, Resulting Numbers: [49, 22] Generated Node #3: [49, 22] from Operation: 44/2=22 Current State: 71:[49, 22], Operations: ['84-35=49', '44/2=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[84, 35, 44, 2], Operations: [] Exploring Operation: 44+2=46, Resulting Numbers: [84, 35, 46] Generated Node #0,0: 71:[84, 35, 46] Operation: 44+2=46 Exploring Operation: 35+2=37, Resulting Numbers: [84, 44, 37] Generated Node #0,1: 71:[84, 44, 37] Operation: 35+2=37 Exploring Operation: 35*2=70, Resulting Numbers: [84, 44, 70] Generated Node #0,2: 71:[84, 44, 70] Operation: 35*2=70 Exploring Operation: 84-2=82, Resulting Numbers: [35, 44, 82] Generated Node #0,3: 71:[35, 44, 82] Operation: 84-2=82 Exploring Operation: 44*2=88, Resulting Numbers: [84, 35, 88] Generated Node #0,4: 71:[84, 35, 88] Operation: 44*2=88 Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[84, 44, 70], Operations: ['35*2=70'] Exploring Operation: 44+70=114, Resulting Numbers: [84, 114] Generated Node #0,2,0: 71:[84, 114] Operation: 44+70=114 Exploring Operation: 84-44=40, Resulting Numbers: [70, 40] Generated Node #0,2,1: 71:[70, 40] Operation: 84-44=40 Exploring Operation: 84-70=14, Resulting Numbers: [44, 14] Generated Node #0,2,2: 71:[44, 14] Operation: 84-70=14 Exploring Operation: 70-44=26, Resulting Numbers: [84, 26] Generated Node #0,2,3: 71:[84, 26] Operation: 70-44=26 Exploring Operation: 84+44=128, Resulting Numbers: [70, 128] Generated Node #0,2,4: 71:[70, 128] Operation: 84+44=128 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[70, 40], Operations: ['35*2=70', '84-44=40'] Exploring Operation: 70*40=2800, Resulting Numbers: [2800] 2800,71 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 70+40=110, Resulting Numbers: [110] 110,71 unequal: No Solution No 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: 71:[84, 114], Operations: ['35*2=70', '44+70=114'] Exploring Operation: 84*114=9576, Resulting Numbers: [9576] 9576,71 unequal: No Solution Exploring Operation: 114-84=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 84+114=198, Resulting Numbers: [198] 198,71 unequal: No Solution No 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: 71:[84, 26], Operations: ['35*2=70', '70-44=26'] Exploring Operation: 84+26=110, Resulting Numbers: [110] 110,71 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 84*26=2184, Resulting Numbers: [2184] 2184,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 71:[70, 128], Operations: ['35*2=70', '84+44=128'] Exploring Operation: 70*128=8960, Resulting Numbers: [8960] 8960,71 unequal: No Solution Exploring Operation: 128-70=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 70+128=198, Resulting Numbers: [198] 198,71 unequal: No Solution No 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: 71:[44, 14], Operations: ['35*2=70', '84-70=14'] Exploring Operation: 44+14=58, Resulting Numbers: [58] 58,71 unequal: No Solution Exploring Operation: 44*14=616, Resulting Numbers: [616] 616,71 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,71 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: 71:[84, 35, 88], Operations: ['44*2=88'] Exploring Operation: 88-35=53, Resulting Numbers: [84, 53] Generated Node #0,4,0: 71:[84, 53] Operation: 88-35=53 Exploring Operation: 84+35=119, Resulting Numbers: [88, 119] Generated Node #0,4,1: 71:[88, 119] Operation: 84+35=119 Exploring Operation: 84-35=49, Resulting Numbers: [88, 49] Generated Node #0,4,2: 71:[88, 49] Operation: 84-35=49 Exploring Operation: 35+88=123, Resulting Numbers: [84, 123] Generated Node #0,4,3: 71:[84, 123] Operation: 35+88=123 Exploring Operation: 88-84=4, Resulting Numbers: [35, 4] Generated Node #0,4,4: 71:[35, 4] Operation: 88-84=4 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[84, 53], Operations: ['44*2=88', '88-35=53'] Exploring Operation: 84+53=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 84*53=4452, Resulting Numbers: [4452] 4452,71 unequal: No Solution Exploring Operation: 84-53=31, Resulting Numbers: [31] 31,71 unequal: No Solution No 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: 71:[88, 49], Operations: ['44*2=88', '84-35=49'] Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,71 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,71 unequal: No Solution No 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: 71:[88, 119], Operations: ['44*2=88', '84+35=119'] Exploring Operation: 88*119=10472, Resulting Numbers: [10472] 10472,71 unequal: No Solution Exploring Operation: 88+119=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 119-88=31, Resulting Numbers: [31] 31,71 unequal: No Solution No 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: 71:[84, 123], Operations: ['44*2=88', '35+88=123'] Exploring Operation: 84*123=10332, Resulting Numbers: [10332] 10332,71 unequal: No Solution Exploring Operation: 84+123=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 123-84=39, Resulting Numbers: [39] 39,71 unequal: No Solution No 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: 71:[35, 4], Operations: ['44*2=88', '88-84=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,71 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,71 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: 71:[84, 35, 46], Operations: ['44+2=46'] Exploring Operation: 35+46=81, Resulting Numbers: [84, 81] Generated Node #0,0,0: 71:[84, 81] Operation: 35+46=81 Exploring Operation: 84-35=49, Resulting Numbers: [46, 49] Generated Node #0,0,1: 71:[46, 49] Operation: 84-35=49 Exploring Operation: 46-35=11, Resulting Numbers: [84, 11] Generated Node #0,0,2: 71:[84, 11] Operation: 46-35=11 Exploring Operation: 84+35=119, Resulting Numbers: [46, 119] Generated Node #0,0,3: 71:[46, 119] Operation: 84+35=119 Exploring Operation: 84-46=38, Resulting Numbers: [35, 38] Generated Node #0,0,4: 71:[35, 38] Operation: 84-46=38 Moving to Node #0,0,0 Current State: 71:[84, 81], Operations: ['44+2=46', '35+46=81'] Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,71 unequal: No Solution Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[46, 49], Operations: ['44+2=46', '84-35=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,71 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[35, 38], Operations: ['44+2=46', '84-46=38'] Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[84, 11], Operations: ['44+2=46', '46-35=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 84*11=924, Resulting Numbers: [924] 924,71 unequal: No Solution Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[46, 119], Operations: ['44+2=46', '84+35=119'] Exploring Operation: 119-46=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 46*119=5474, Resulting Numbers: [5474] 5474,71 unequal: No Solution Exploring Operation: 46+119=165, Resulting Numbers: [165] 165,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[84, 44, 37], Operations: ['35+2=37'] Exploring Operation: 44+37=81, Resulting Numbers: [84, 81] Generated Node #0,1,0: 71:[84, 81] Operation: 44+37=81 Exploring Operation: 84-37=47, Resulting Numbers: [44, 47] Generated Node #0,1,1: 71:[44, 47] Operation: 84-37=47 Exploring Operation: 84+37=121, Resulting Numbers: [44, 121] Generated Node #0,1,2: 71:[44, 121] Operation: 84+37=121 Exploring Operation: 44-37=7, Resulting Numbers: [84, 7] Generated Node #0,1,3: 71:[84, 7] Operation: 44-37=7 Exploring Operation: 84-44=40, Resulting Numbers: [37, 40] Generated Node #0,1,4: 71:[37, 40] Operation: 84-44=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[84, 81], Operations: ['35+2=37', '44+37=81'] Exploring Operation: 84-81=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 84+81=165, Resulting Numbers: [165] 165,71 unequal: No Solution Exploring Operation: 84*81=6804, Resulting Numbers: [6804] 6804,71 unequal: No Solution No 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: 71:[44, 47], Operations: ['35+2=37', '84-37=47'] Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,71 unequal: No Solution No 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: 71:[37, 40], Operations: ['35+2=37', '84-44=40'] Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,71 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,71 unequal: No Solution No 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: 71:[44, 121], Operations: ['35+2=37', '84+37=121'] Exploring Operation: 44*121=5324, Resulting Numbers: [5324] 5324,71 unequal: No Solution Exploring Operation: 44+121=165, Resulting Numbers: [165] 165,71 unequal: No Solution Exploring Operation: 121-44=77, Resulting Numbers: [77] 77,71 unequal: No Solution No 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: 71:[84, 7], Operations: ['35+2=37', '44-37=7'] Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,71 unequal: No Solution Exploring Operation: 84*7=588, Resulting Numbers: [588] 588,71 unequal: No Solution Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,71 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,71 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: 71:[35, 44, 82], Operations: ['84-2=82'] Exploring Operation: 82-44=38, Resulting Numbers: [35, 38] Generated Node #0,3,0: 71:[35, 38] Operation: 82-44=38 Exploring Operation: 44-35=9, Resulting Numbers: [82, 9] Generated Node #0,3,1: 71:[82, 9] Operation: 44-35=9 Exploring Operation: 35+44=79, Resulting Numbers: [82, 79] Generated Node #0,3,2: 71:[82, 79] Operation: 35+44=79 Exploring Operation: 35+82=117, Resulting Numbers: [44, 117] Generated Node #0,3,3: 71:[44, 117] Operation: 35+82=117 Exploring Operation: 82-35=47, Resulting Numbers: [44, 47] Generated Node #0,3,4: 71:[44, 47] Operation: 82-35=47 Moving to Node #0,3,2 Current State: 71:[82, 79], Operations: ['84-2=82', '35+44=79'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 82*79=6478, Resulting Numbers: [6478] 6478,71 unequal: No Solution Exploring Operation: 82+79=161, Resulting Numbers: [161] 161,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[44, 47], Operations: ['84-2=82', '82-35=47'] Exploring Operation: 44*47=2068, Resulting Numbers: [2068] 2068,71 unequal: No Solution Exploring Operation: 47-44=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 44+47=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[35, 38], Operations: ['84-2=82', '82-44=38'] Exploring Operation: 38-35=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 35+38=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 35*38=1330, Resulting Numbers: [1330] 1330,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[82, 9], Operations: ['84-2=82', '44-35=9'] Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,71 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[44, 117], Operations: ['84-2=82', '35+82=117'] Exploring Operation: 44*117=5148, Resulting Numbers: [5148] 5148,71 unequal: No Solution Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,71 unequal: No Solution Exploring Operation: 44+117=161, Resulting Numbers: [161] 161,71 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
[ 19, 33, 41, 78 ]
23
[ "33-19=14", "78-41=37", "37-14=23" ]
Current State: 23:[19, 33, 41, 78], Operations: [] Exploring Operation: 33-19=14, Resulting Numbers: [41, 78, 14] Generated Node #2: [41, 78, 14] from Operation: 33-19=14 Current State: 23:[41, 78, 14], Operations: ['33-19=14'] Exploring Operation: 78-41=37, Resulting Numbers: [14, 37] Generated Node #3: [14, 37] from Operation: 78-41=37 Current State: 23:[14, 37], Operations: ['33-19=14', '78-41=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[19, 33, 41, 78], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [19, 33, 37] Generated Node #0,0: 23:[19, 33, 37] Operation: 78-41=37 Exploring Operation: 41-19=22, Resulting Numbers: [33, 78, 22] Generated Node #0,1: 23:[33, 78, 22] Operation: 41-19=22 Exploring Operation: 78-33=45, Resulting Numbers: [19, 41, 45] Generated Node #0,2: 23:[19, 41, 45] Operation: 78-33=45 Exploring Operation: 78-19=59, Resulting Numbers: [33, 41, 59] Generated Node #0,3: 23:[33, 41, 59] Operation: 78-19=59 Exploring Operation: 41-33=8, Resulting Numbers: [19, 78, 8] Generated Node #0,4: 23:[19, 78, 8] Operation: 41-33=8 Moving to Node #0,0 Current State: 23:[19, 33, 37], Operations: ['78-41=37'] Exploring Operation: 37-19=18, Resulting Numbers: [33, 18] Generated Node #0,0,0: 23:[33, 18] Operation: 37-19=18 Exploring Operation: 37-33=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 23:[19, 4] Operation: 37-33=4 Exploring Operation: 19+37=56, Resulting Numbers: [33, 56] Generated Node #0,0,2: 23:[33, 56] Operation: 19+37=56 Exploring Operation: 33-19=14, Resulting Numbers: [37, 14] Generated Node #0,0,3: 23:[37, 14] Operation: 33-19=14 Exploring Operation: 19+33=52, Resulting Numbers: [37, 52] Generated Node #0,0,4: 23:[37, 52] Operation: 19+33=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[33, 18], Operations: ['78-41=37', '37-19=18'] Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,23 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,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,1 Current State: 23:[19, 4], Operations: ['78-41=37', '37-33=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,23 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,23 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[19, 33, 41, 78], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [19, 33, 37] Generated Node #0,0: 23:[19, 33, 37] Operation: 78-41=37 Moving to Node #0,0 Current State: 23:[19, 33, 37], Operations: ['78-41=37'] Exploring Operation: 37-33=4, Resulting Numbers: [19, 4] Generated Node #0,0,1: 23:[19, 4] Operation: 37-33=4 Moving to Node #0,0,1 Current State: 23:[19, 4], Operations: ['78-41=37', '37-33=4'] Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 17, 94, 11, 1 ]
87
[ "94-17=77", "11-1=10", "77+10=87" ]
Current State: 87:[17, 94, 11, 1], Operations: [] Exploring Operation: 94-17=77, Resulting Numbers: [11, 1, 77] Generated Node #2: [11, 1, 77] from Operation: 94-17=77 Current State: 87:[11, 1, 77], Operations: ['94-17=77'] Exploring Operation: 11-1=10, Resulting Numbers: [77, 10] Generated Node #3: [77, 10] from Operation: 11-1=10 Current State: 87:[77, 10], Operations: ['94-17=77', '11-1=10'] Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[17, 94, 11, 1], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [94, 1, 6] Generated Node #0,0: 87:[94, 1, 6] Operation: 17-11=6 Exploring Operation: 94-11=83, Resulting Numbers: [17, 1, 83] Generated Node #0,1: 87:[17, 1, 83] Operation: 94-11=83 Exploring Operation: 94-17=77, Resulting Numbers: [11, 1, 77] Generated Node #0,2: 87:[11, 1, 77] Operation: 94-17=77 Exploring Operation: 17+1=18, Resulting Numbers: [94, 11, 18] Generated Node #0,3: 87:[94, 11, 18] Operation: 17+1=18 Exploring Operation: 17+11=28, Resulting Numbers: [94, 1, 28] Generated Node #0,4: 87:[94, 1, 28] Operation: 17+11=28 Start Sub Search at level 1: Moving to Node #0,4 Current State: 87:[94, 1, 28], Operations: ['17+11=28'] Exploring Operation: 94-1=93, Resulting Numbers: [28, 93] Generated Node #0,4,0: 87:[28, 93] Operation: 94-1=93 Exploring Operation: 1*28=28, Resulting Numbers: [94, 28] Generated Node #0,4,1: 87:[94, 28] Operation: 1*28=28 Exploring Operation: 1+28=29, Resulting Numbers: [94, 29] Generated Node #0,4,2: 87:[94, 29] Operation: 1+28=29 Exploring Operation: 94/1=94, Resulting Numbers: [28, 94] Generated Node #0,4,3: 87:[28, 94] Operation: 94/1=94 Exploring Operation: 94*1=94, Resulting Numbers: [28, 94] Generated Node #0,4,4: 87:[28, 94] Operation: 94*1=94 Moving to Node #0,4,0 Current State: 87:[28, 93], Operations: ['17+11=28', '94-1=93'] Exploring Operation: 93-28=65, Resulting Numbers: [65] 65,87 unequal: No Solution Exploring Operation: 28*93=2604, Resulting Numbers: [2604] 2604,87 unequal: No Solution Exploring Operation: 28+93=121, Resulting Numbers: [121] 121,87 unequal: No Solution Moving to Node #0,4,2 Current State: 87:[94, 29], Operations: ['17+11=28', '1+28=29'] Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,87 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,87 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,87 unequal: No Solution Moving to Node #0,4,1 Current State: 87:[94, 28], Operations: ['17+11=28', '1*28=28'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 94*28=2632, Resulting Numbers: [2632] 2632,87 unequal: No Solution Exploring Operation: 94+28=122, Resulting Numbers: [122] 122,87 unequal: No Solution Moving to Node #0,4,3 Current State: 87:[28, 94], Operations: ['17+11=28', '94/1=94'] Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,87 unequal: No Solution Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,87 unequal: No Solution Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,87 unequal: No Solution Moving to Node #0,4,4 Current State: 87:[28, 94], Operations: ['17+11=28', '94*1=94'] Exploring Operation: 28+94=122, Resulting Numbers: [122] 122,87 unequal: No Solution Exploring Operation: 28*94=2632, Resulting Numbers: [2632] 2632,87 unequal: No Solution Exploring Operation: 94-28=66, Resulting Numbers: [66] 66,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[94, 1, 6], Operations: ['17-11=6'] Exploring Operation: 94-6=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 87:[1, 88] Operation: 94-6=88 Exploring Operation: 6-1=5, Resulting Numbers: [94, 5] Generated Node #0,0,1: 87:[94, 5] Operation: 6-1=5 Exploring Operation: 94-1=93, Resulting Numbers: [6, 93] Generated Node #0,0,2: 87:[6, 93] Operation: 94-1=93 Exploring Operation: 94*1=94, Resulting Numbers: [6, 94] Generated Node #0,0,3: 87:[6, 94] Operation: 94*1=94 Exploring Operation: 94/1=94, Resulting Numbers: [6, 94] Generated Node #0,0,4: 87:[6, 94] Operation: 94/1=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[1, 88], Operations: ['17-11=6', '94-6=88'] Exploring Operation: 1*88=88, Resulting Numbers: [88] 88,87 unequal: No Solution Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[17, 94, 11, 1], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [94, 1, 6] Generated Node #0,0: 87:[94, 1, 6] Operation: 17-11=6 Moving to Node #0,0 Current State: 87:[94, 1, 6], Operations: ['17-11=6'] Exploring Operation: 94-6=88, Resulting Numbers: [1, 88] Generated Node #0,0,0: 87:[1, 88] Operation: 94-6=88 Moving to Node #0,0,0 Current State: 87:[1, 88], Operations: ['17-11=6', '94-6=88'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 65, 75, 31, 60 ]
19
[ "75-65=10", "60-31=29", "29-10=19" ]
Current State: 19:[65, 75, 31, 60], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [31, 60, 10] Generated Node #2: [31, 60, 10] from Operation: 75-65=10 Current State: 19:[31, 60, 10], Operations: ['75-65=10'] Exploring Operation: 60-31=29, Resulting Numbers: [10, 29] Generated Node #3: [10, 29] from Operation: 60-31=29 Current State: 19:[10, 29], Operations: ['75-65=10', '60-31=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[65, 75, 31, 60], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [31, 60, 10] Generated Node #0,0: 19:[31, 60, 10] Operation: 75-65=10 Exploring Operation: 65-31=34, Resulting Numbers: [75, 60, 34] Generated Node #0,1: 19:[75, 60, 34] Operation: 65-31=34 Exploring Operation: 75-60=15, Resulting Numbers: [65, 31, 15] Generated Node #0,2: 19:[65, 31, 15] Operation: 75-60=15 Exploring Operation: 65-60=5, Resulting Numbers: [75, 31, 5] Generated Node #0,3: 19:[75, 31, 5] Operation: 65-60=5 Moving to Node #0,0 Current State: 19:[31, 60, 10], Operations: ['75-65=10'] Exploring Operation: 60-10=50, Resulting Numbers: [31, 50] Generated Node #0,0,0: 19:[31, 50] Operation: 60-10=50 Exploring Operation: 60/10=6, Resulting Numbers: [31, 6] Generated Node #0,0,1: 19:[31, 6] Operation: 60/10=6 Exploring Operation: 60-31=29, Resulting Numbers: [10, 29] Generated Node #0,0,2: 19:[10, 29] Operation: 60-31=29 Exploring Operation: 31-10=21, Resulting Numbers: [60, 21] Generated Node #0,0,3: 19:[60, 21] Operation: 31-10=21 Moving to Node #0,2 Current State: 19:[65, 31, 15], Operations: ['75-60=15'] Exploring Operation: 31-15=16, Resulting Numbers: [65, 16] Generated Node #0,2,0: 19:[65, 16] Operation: 31-15=16 Exploring Operation: 65-31=34, Resulting Numbers: [15, 34] Generated Node #0,2,1: 19:[15, 34] Operation: 65-31=34 Exploring Operation: 65+15=80, Resulting Numbers: [31, 80] Generated Node #0,2,2: 19:[31, 80] Operation: 65+15=80 Exploring Operation: 65-15=50, Resulting Numbers: [31, 50] Generated Node #0,2,3: 19:[31, 50] Operation: 65-15=50 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 19:[15, 34], Operations: ['75-60=15', '65-31=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[65, 75, 31, 60], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [65, 31, 15] Generated Node #0,2: 19:[65, 31, 15] Operation: 75-60=15 Moving to Node #0,2 Current State: 19:[65, 31, 15], Operations: ['75-60=15'] Exploring Operation: 65-31=34, Resulting Numbers: [15, 34] Generated Node #0,2,1: 19:[15, 34] Operation: 65-31=34 Moving to Node #0,2,1 Current State: 19:[15, 34], Operations: ['75-60=15', '65-31=34'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 6, 79, 99, 82 ]
31
[ "99-6=93", "82-79=3", "93/3=31" ]
Current State: 31:[6, 79, 99, 82], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [79, 82, 93] Generated Node #2: [79, 82, 93] from Operation: 99-6=93 Current State: 31:[79, 82, 93], Operations: ['99-6=93'] Exploring Operation: 82-79=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 82-79=3 Current State: 31:[93, 3], Operations: ['99-6=93', '82-79=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[6, 79, 99, 82], Operations: [] Exploring Operation: 99-79=20, Resulting Numbers: [6, 82, 20] Generated Node #0,0: 31:[6, 82, 20] Operation: 99-79=20 Exploring Operation: 82-79=3, Resulting Numbers: [6, 99, 3] Generated Node #0,1: 31:[6, 99, 3] Operation: 82-79=3 Exploring Operation: 99-82=17, Resulting Numbers: [6, 79, 17] Generated Node #0,2: 31:[6, 79, 17] Operation: 99-82=17 Moving to Node #0,0 Current State: 31:[6, 82, 20], Operations: ['99-79=20'] Exploring Operation: 82-6=76, Resulting Numbers: [20, 76] Generated Node #0,0,0: 31:[20, 76] Operation: 82-6=76 Exploring Operation: 6+20=26, Resulting Numbers: [82, 26] Generated Node #0,0,1: 31:[82, 26] Operation: 6+20=26 Exploring Operation: 82-20=62, Resulting Numbers: [6, 62] Generated Node #0,0,2: 31:[6, 62] Operation: 82-20=62 Moving to Node #0,2 Current State: 31:[6, 79, 17], Operations: ['99-82=17'] Exploring Operation: 79-6=73, Resulting Numbers: [17, 73] Generated Node #0,2,0: 31:[17, 73] Operation: 79-6=73 Exploring Operation: 79-17=62, Resulting Numbers: [6, 62] Generated Node #0,2,1: 31:[6, 62] Operation: 79-17=62 Exploring Operation: 6+17=23, Resulting Numbers: [79, 23] Generated Node #0,2,2: 31:[79, 23] Operation: 6+17=23 Moving to Node #0,1 Current State: 31:[6, 99, 3], Operations: ['82-79=3'] Exploring Operation: 6*3=18, Resulting Numbers: [99, 18] Generated Node #0,1,0: 31:[99, 18] Operation: 6*3=18 Exploring Operation: 99/3=33, Resulting Numbers: [6, 33] Generated Node #0,1,1: 31:[6, 33] Operation: 99/3=33 Exploring Operation: 99-6=93, Resulting Numbers: [3, 93] Generated Node #0,1,2: 31:[3, 93] Operation: 99-6=93 Moving to Node #0,1,1 Current State: 31:[6, 33], Operations: ['82-79=3', '99/3=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,31 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,31 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[20, 76], Operations: ['99-79=20', '82-6=76'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,31 unequal: No Solution Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[6, 62], Operations: ['99-79=20', '82-20=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,31 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[79, 23], Operations: ['99-82=17', '6+17=23'] Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[82, 26], Operations: ['99-79=20', '6+20=26'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 82*26=2132, Resulting Numbers: [2132] 2132,31 unequal: No Solution Exploring Operation: 82+26=108, Resulting Numbers: [108] 108,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[6, 62], Operations: ['99-82=17', '79-17=62'] Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[17, 73], Operations: ['99-82=17', '79-6=73'] Exploring Operation: 17+73=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 17*73=1241, Resulting Numbers: [1241] 1241,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[99, 18], Operations: ['82-79=3', '6*3=18'] Exploring Operation: 99*18=1782, Resulting Numbers: [1782] 1782,31 unequal: No Solution Exploring Operation: 99-18=81, Resulting Numbers: [81] 81,31 unequal: No Solution Exploring Operation: 99+18=117, Resulting Numbers: [117] 117,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[3, 93], Operations: ['82-79=3', '99-6=93'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,31 unequal: No Solution Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[6, 79, 99, 82], Operations: [] Exploring Operation: 82-79=3, Resulting Numbers: [6, 99, 3] Generated Node #0,1: 31:[6, 99, 3] Operation: 82-79=3 Moving to Node #0,1 Current State: 31:[6, 99, 3], Operations: ['82-79=3'] Exploring Operation: 99-6=93, Resulting Numbers: [3, 93] Generated Node #0,1,2: 31:[3, 93] Operation: 99-6=93 Moving to Node #0,1,2 Current State: 31:[3, 93], Operations: ['82-79=3', '99-6=93'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 27, 55, 32, 44 ]
13
[ "55*32=1760", "1760/44=40", "40-27=13" ]
Current State: 13:[27, 55, 32, 44], Operations: [] Exploring Operation: 55*32=1760, Resulting Numbers: [27, 44, 1760] Generated Node #2: [27, 44, 1760] from Operation: 55*32=1760 Current State: 13:[27, 44, 1760], Operations: ['55*32=1760'] Exploring Operation: 1760/44=40, Resulting Numbers: [27, 40] Generated Node #3: [27, 40] from Operation: 1760/44=40 Current State: 13:[27, 40], Operations: ['55*32=1760', '1760/44=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[27, 55, 32, 44], Operations: [] Exploring Operation: 55-32=23, Resulting Numbers: [27, 44, 23] Generated Node #0,0: 13:[27, 44, 23] Operation: 55-32=23 Exploring Operation: 55-44=11, Resulting Numbers: [27, 32, 11] Generated Node #0,1: 13:[27, 32, 11] Operation: 55-44=11 Moving to Node #0,1 Current State: 13:[27, 32, 11], Operations: ['55-44=11'] Exploring Operation: 32-27=5, Resulting Numbers: [11, 5] Generated Node #0,1,0: 13:[11, 5] Operation: 32-27=5 Exploring Operation: 27-11=16, Resulting Numbers: [32, 16] Generated Node #0,1,1: 13:[32, 16] Operation: 27-11=16 Moving to Node #0,0 Current State: 13:[27, 44, 23], Operations: ['55-32=23'] Exploring Operation: 44-23=21, Resulting Numbers: [27, 21] Generated Node #0,0,0: 13:[27, 21] Operation: 44-23=21 Exploring Operation: 44-27=17, Resulting Numbers: [23, 17] Generated Node #0,0,1: 13:[23, 17] Operation: 44-27=17 Moving to Node #0,1,0 Current State: 13:[11, 5], Operations: ['55-44=11', '32-27=5'] Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[23, 17], Operations: ['55-32=23', '44-27=17'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,13 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[32, 16], Operations: ['55-44=11', '27-11=16'] Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[27, 21], Operations: ['55-32=23', '44-23=21'] Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,13 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 76, 32, 59, 17 ]
86
[ "76-32=44", "59-17=42", "44+42=86" ]
Current State: 86:[76, 32, 59, 17], Operations: [] Exploring Operation: 76-32=44, Resulting Numbers: [59, 17, 44] Generated Node #2: [59, 17, 44] from Operation: 76-32=44 Current State: 86:[59, 17, 44], Operations: ['76-32=44'] Exploring Operation: 59-17=42, Resulting Numbers: [44, 42] Generated Node #3: [44, 42] from Operation: 59-17=42 Current State: 86:[44, 42], Operations: ['76-32=44', '59-17=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[76, 32, 59, 17], Operations: [] Exploring Operation: 59+17=76, Resulting Numbers: [76, 32, 76] Generated Node #0,0: 86:[76, 32, 76] Operation: 59+17=76 Exploring Operation: 76-32=44, Resulting Numbers: [59, 17, 44] Generated Node #0,1: 86:[59, 17, 44] Operation: 76-32=44 Exploring Operation: 59-17=42, Resulting Numbers: [76, 32, 42] Generated Node #0,2: 86:[76, 32, 42] Operation: 59-17=42 Exploring Operation: 32+59=91, Resulting Numbers: [76, 17, 91] Generated Node #0,3: 86:[76, 17, 91] Operation: 32+59=91 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[76, 32, 42], Operations: ['59-17=42'] Exploring Operation: 76-42=34, Resulting Numbers: [32, 34] Generated Node #0,2,0: 86:[32, 34] Operation: 76-42=34 Exploring Operation: 32+42=74, Resulting Numbers: [76, 74] Generated Node #0,2,1: 86:[76, 74] Operation: 32+42=74 Exploring Operation: 76-32=44, Resulting Numbers: [42, 44] Generated Node #0,2,2: 86:[42, 44] Operation: 76-32=44 Exploring Operation: 42-32=10, Resulting Numbers: [76, 10] Generated Node #0,2,3: 86:[76, 10] Operation: 42-32=10 Moving to Node #0,2,2 Current State: 86:[42, 44], Operations: ['59-17=42', '76-32=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[76, 32, 59, 17], Operations: [] Exploring Operation: 59-17=42, Resulting Numbers: [76, 32, 42] Generated Node #0,2: 86:[76, 32, 42] Operation: 59-17=42 Moving to Node #0,2 Current State: 86:[76, 32, 42], Operations: ['59-17=42'] Exploring Operation: 76-32=44, Resulting Numbers: [42, 44] Generated Node #0,2,2: 86:[42, 44] Operation: 76-32=44 Moving to Node #0,2,2 Current State: 86:[42, 44], Operations: ['59-17=42', '76-32=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 1, 21, 61, 44 ]
63
[ "1+21=22", "44/22=2", "61+2=63" ]
Current State: 63:[1, 21, 61, 44], Operations: [] Exploring Operation: 1+21=22, Resulting Numbers: [61, 44, 22] Generated Node #2: [61, 44, 22] from Operation: 1+21=22 Current State: 63:[61, 44, 22], Operations: ['1+21=22'] Exploring Operation: 44/22=2, Resulting Numbers: [61, 2] Generated Node #3: [61, 2] from Operation: 44/22=2 Current State: 63:[61, 2], Operations: ['1+21=22', '44/22=2'] Exploring Operation: 61+2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[1, 21, 61, 44], Operations: [] Exploring Operation: 61-44=17, Resulting Numbers: [1, 21, 17] Generated Node #0,0: 63:[1, 21, 17] Operation: 61-44=17 Exploring Operation: 1+61=62, Resulting Numbers: [21, 44, 62] Generated Node #0,1: 63:[21, 44, 62] Operation: 1+61=62 Exploring Operation: 44-21=23, Resulting Numbers: [1, 61, 23] Generated Node #0,2: 63:[1, 61, 23] Operation: 44-21=23 Exploring Operation: 21+44=65, Resulting Numbers: [1, 61, 65] Generated Node #0,3: 63:[1, 61, 65] Operation: 21+44=65 Moving to Node #0,0 Current State: 63:[1, 21, 17], Operations: ['61-44=17'] Exploring Operation: 1*21=21, Resulting Numbers: [17, 21] Generated Node #0,0,0: 63:[17, 21] Operation: 1*21=21 Exploring Operation: 21-17=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 63:[1, 4] Operation: 21-17=4 Exploring Operation: 21/1=21, Resulting Numbers: [17, 21] Generated Node #0,0,2: 63:[17, 21] Operation: 21/1=21 Exploring Operation: 1+17=18, Resulting Numbers: [21, 18] Generated Node #0,0,3: 63:[21, 18] Operation: 1+17=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[1, 4], Operations: ['61-44=17', '21-17=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[21, 18], Operations: ['61-44=17', '1+17=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,63 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[17, 21], Operations: ['61-44=17', '1*21=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,63 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[17, 21], Operations: ['61-44=17', '21/1=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,63 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: 63:[1, 61, 65], Operations: ['21+44=65'] Exploring Operation: 65-1=64, Resulting Numbers: [61, 64] Generated Node #0,3,0: 63:[61, 64] Operation: 65-1=64 Exploring Operation: 1+61=62, Resulting Numbers: [65, 62] Generated Node #0,3,1: 63:[65, 62] Operation: 1+61=62 Exploring Operation: 1*61=61, Resulting Numbers: [65, 61] Generated Node #0,3,2: 63:[65, 61] Operation: 1*61=61 Exploring Operation: 65-61=4, Resulting Numbers: [1, 4] Generated Node #0,3,3: 63:[1, 4] Operation: 65-61=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[61, 64], Operations: ['21+44=65', '65-1=64'] Exploring Operation: 61*64=3904, Resulting Numbers: [3904] 3904,63 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 61+64=125, Resulting Numbers: [125] 125,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[65, 62], Operations: ['21+44=65', '1+61=62'] Exploring Operation: 65*62=4030, Resulting Numbers: [4030] 4030,63 unequal: No Solution Exploring Operation: 65+62=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[1, 4], Operations: ['21+44=65', '65-61=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[65, 61], Operations: ['21+44=65', '1*61=61'] Exploring Operation: 65+61=126, Resulting Numbers: [126] 126,63 unequal: No Solution Exploring Operation: 65*61=3965, Resulting Numbers: [3965] 3965,63 unequal: No Solution Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 63:[1, 61, 23], Operations: ['44-21=23'] Exploring Operation: 1+61=62, Resulting Numbers: [23, 62] Generated Node #0,2,0: 63:[23, 62] Operation: 1+61=62 Exploring Operation: 1*61=61, Resulting Numbers: [23, 61] Generated Node #0,2,1: 63:[23, 61] Operation: 1*61=61 Exploring Operation: 23-1=22, Resulting Numbers: [61, 22] Generated Node #0,2,2: 63:[61, 22] Operation: 23-1=22 Exploring Operation: 61/1=61, Resulting Numbers: [23, 61] Generated Node #0,2,3: 63:[23, 61] Operation: 61/1=61 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[23, 62], Operations: ['44-21=23', '1+61=62'] Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,63 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[61, 22], Operations: ['44-21=23', '23-1=22'] Exploring Operation: 61*22=1342, Resulting Numbers: [1342] 1342,63 unequal: No Solution Exploring Operation: 61-22=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 61+22=83, Resulting Numbers: [83] 83,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[23, 61], Operations: ['44-21=23', '1*61=61'] Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,63 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[23, 61], Operations: ['44-21=23', '61/1=61'] Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,63 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: 63:[21, 44, 62], Operations: ['1+61=62'] Exploring Operation: 21+62=83, Resulting Numbers: [44, 83] Generated Node #0,1,0: 63:[44, 83] Operation: 21+62=83 Exploring Operation: 21+44=65, Resulting Numbers: [62, 65] Generated Node #0,1,1: 63:[62, 65] Operation: 21+44=65 Exploring Operation: 62-44=18, Resulting Numbers: [21, 18] Generated Node #0,1,2: 63:[21, 18] Operation: 62-44=18 Exploring Operation: 44-21=23, Resulting Numbers: [62, 23] Generated Node #0,1,3: 63:[62, 23] Operation: 44-21=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[62, 65], Operations: ['1+61=62', '21+44=65'] Exploring Operation: 62+65=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 62*65=4030, Resulting Numbers: [4030] 4030,63 unequal: No Solution Exploring Operation: 65-62=3, Resulting Numbers: [3] 3,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[21, 18], Operations: ['1+61=62', '62-44=18'] Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[62, 23], Operations: ['1+61=62', '44-21=23'] Exploring Operation: 62+23=85, Resulting Numbers: [85] 85,63 unequal: No Solution Exploring Operation: 62*23=1426, Resulting Numbers: [1426] 1426,63 unequal: No Solution Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[44, 83], Operations: ['1+61=62', '21+62=83'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,63 unequal: No Solution Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,63 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
[ 35, 60, 17, 1 ]
62
[ "35-1=34", "34/17=2", "60+2=62" ]
Current State: 62:[35, 60, 17, 1], Operations: [] Exploring Operation: 35-1=34, Resulting Numbers: [60, 17, 34] Generated Node #2: [60, 17, 34] from Operation: 35-1=34 Current State: 62:[60, 17, 34], Operations: ['35-1=34'] Exploring Operation: 34/17=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 34/17=2 Current State: 62:[60, 2], Operations: ['35-1=34', '34/17=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 60, 17, 1], Operations: [] Exploring Operation: 35+17=52, Resulting Numbers: [60, 1, 52] Generated Node #0,0: 62:[60, 1, 52] Operation: 35+17=52 Exploring Operation: 35-1=34, Resulting Numbers: [60, 17, 34] Generated Node #0,1: 62:[60, 17, 34] Operation: 35-1=34 Exploring Operation: 35-17=18, Resulting Numbers: [60, 1, 18] Generated Node #0,2: 62:[60, 1, 18] Operation: 35-17=18 Exploring Operation: 60-17=43, Resulting Numbers: [35, 1, 43] Generated Node #0,3: 62:[35, 1, 43] Operation: 60-17=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[60, 1, 52], Operations: ['35+17=52'] Exploring Operation: 60+1=61, Resulting Numbers: [52, 61] Generated Node #0,0,0: 62:[52, 61] Operation: 60+1=61 Exploring Operation: 1+52=53, Resulting Numbers: [60, 53] Generated Node #0,0,1: 62:[60, 53] Operation: 1+52=53 Exploring Operation: 60*1=60, Resulting Numbers: [52, 60] Generated Node #0,0,2: 62:[52, 60] Operation: 60*1=60 Exploring Operation: 60-52=8, Resulting Numbers: [1, 8] Generated Node #0,0,3: 62:[1, 8] Operation: 60-52=8 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[1, 8], Operations: ['35+17=52', '60-52=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,62 unequal: No Solution No 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: 62:[52, 61], Operations: ['35+17=52', '60+1=61'] Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,62 unequal: No Solution Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,62 unequal: No Solution No 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: 62:[60, 53], Operations: ['35+17=52', '1+52=53'] Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,62 unequal: No Solution Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,62 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,62 unequal: No Solution No 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: 62:[52, 60], Operations: ['35+17=52', '60*1=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,62 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,62 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,62 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: 62:[60, 1, 18], Operations: ['35-17=18'] Exploring Operation: 1+18=19, Resulting Numbers: [60, 19] Generated Node #0,2,0: 62:[60, 19] Operation: 1+18=19 Exploring Operation: 60+1=61, Resulting Numbers: [18, 61] Generated Node #0,2,1: 62:[18, 61] Operation: 60+1=61 Exploring Operation: 60-18=42, Resulting Numbers: [1, 42] Generated Node #0,2,2: 62:[1, 42] Operation: 60-18=42 Exploring Operation: 60*1=60, Resulting Numbers: [18, 60] Generated Node #0,2,3: 62:[18, 60] Operation: 60*1=60 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[1, 42], Operations: ['35-17=18', '60-18=42'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 1+42=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 1*42=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,62 unequal: No Solution No 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: 62:[60, 19], Operations: ['35-17=18', '1+18=19'] Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,62 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,62 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,62 unequal: No Solution No 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: 62:[18, 61], Operations: ['35-17=18', '60+1=61'] Exploring Operation: 18*61=1098, Resulting Numbers: [1098] 1098,62 unequal: No Solution Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,62 unequal: No Solution No 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: 62:[18, 60], Operations: ['35-17=18', '60*1=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 18+60=78, Resulting Numbers: [78] 78,62 unequal: No Solution Exploring Operation: 18*60=1080, Resulting Numbers: [1080] 1080,62 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: 62:[35, 1, 43], Operations: ['60-17=43'] Exploring Operation: 35*1=35, Resulting Numbers: [43, 35] Generated Node #0,3,0: 62:[43, 35] Operation: 35*1=35 Exploring Operation: 43-1=42, Resulting Numbers: [35, 42] Generated Node #0,3,1: 62:[35, 42] Operation: 43-1=42 Exploring Operation: 35-1=34, Resulting Numbers: [43, 34] Generated Node #0,3,2: 62:[43, 34] Operation: 35-1=34 Exploring Operation: 43-35=8, Resulting Numbers: [1, 8] Generated Node #0,3,3: 62:[1, 8] Operation: 43-35=8 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[1, 8], Operations: ['60-17=43', '43-35=8'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,62 unequal: No Solution No 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: 62:[35, 42], Operations: ['60-17=43', '43-1=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,62 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,62 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,62 unequal: No Solution No 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: 62:[43, 34], Operations: ['60-17=43', '35-1=34'] Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,62 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,62 unequal: No Solution No 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: 62:[43, 35], Operations: ['60-17=43', '35*1=35'] Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,62 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,62 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: 62:[60, 17, 34], Operations: ['35-1=34'] Exploring Operation: 17+34=51, Resulting Numbers: [60, 51] Generated Node #0,1,0: 62:[60, 51] Operation: 17+34=51 Exploring Operation: 60-17=43, Resulting Numbers: [34, 43] Generated Node #0,1,1: 62:[34, 43] Operation: 60-17=43 Exploring Operation: 34/17=2, Resulting Numbers: [60, 2] Generated Node #0,1,2: 62:[60, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [60, 17] Generated Node #0,1,3: 62:[60, 17] Operation: 34-17=17 Moving to Node #0,1,2 Current State: 62:[60, 2], Operations: ['35-1=34', '34/17=2'] Exploring Operation: 60*2=120, Resulting Numbers: [120] 120,62 unequal: No Solution Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[35, 60, 17, 1], Operations: [] Exploring Operation: 35-1=34, Resulting Numbers: [60, 17, 34] Generated Node #0,1: 62:[60, 17, 34] Operation: 35-1=34 Moving to Node #0,1 Current State: 62:[60, 17, 34], Operations: ['35-1=34'] Exploring Operation: 34/17=2, Resulting Numbers: [60, 2] Generated Node #0,1,2: 62:[60, 2] Operation: 34/17=2 Moving to Node #0,1,2 Current State: 62:[60, 2], Operations: ['35-1=34', '34/17=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_4
mult_heuristic
[ 7, 30, 77, 41 ]
42
[ "77-30=47", "47-41=6", "7*6=42" ]
Current State: 42:[7, 30, 77, 41], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [7, 41, 47] Generated Node #2: [7, 41, 47] from Operation: 77-30=47 Current State: 42:[7, 41, 47], Operations: ['77-30=47'] Exploring Operation: 47-41=6, Resulting Numbers: [7, 6] Generated Node #3: [7, 6] from Operation: 47-41=6 Current State: 42:[7, 6], Operations: ['77-30=47', '47-41=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[7, 30, 77, 41], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [7, 41, 47] Generated Node #0,0: 42:[7, 41, 47] Operation: 77-30=47 Exploring Operation: 77-7=70, Resulting Numbers: [30, 41, 70] Generated Node #0,1: 42:[30, 41, 70] Operation: 77-7=70 Exploring Operation: 77-41=36, Resulting Numbers: [7, 30, 36] Generated Node #0,2: 42:[7, 30, 36] Operation: 77-41=36 Exploring Operation: 30-7=23, Resulting Numbers: [77, 41, 23] Generated Node #0,3: 42:[77, 41, 23] Operation: 30-7=23 Exploring Operation: 77/7=11, Resulting Numbers: [30, 41, 11] Generated Node #0,4: 42:[30, 41, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[7, 41, 47], Operations: ['77-30=47'] Exploring Operation: 7+47=54, Resulting Numbers: [41, 54] Generated Node #0,0,0: 42:[41, 54] Operation: 7+47=54 Exploring Operation: 47-41=6, Resulting Numbers: [7, 6] Generated Node #0,0,1: 42:[7, 6] Operation: 47-41=6 Exploring Operation: 41-7=34, Resulting Numbers: [47, 34] Generated Node #0,0,2: 42:[47, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [47, 48] Generated Node #0,0,3: 42:[47, 48] Operation: 7+41=48 Exploring Operation: 47-7=40, Resulting Numbers: [41, 40] Generated Node #0,0,4: 42:[41, 40] Operation: 47-7=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[7, 6], Operations: ['77-30=47', '47-41=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[7, 30, 77, 41], Operations: [] Exploring Operation: 77-30=47, Resulting Numbers: [7, 41, 47] Generated Node #0,0: 42:[7, 41, 47] Operation: 77-30=47 Moving to Node #0,0 Current State: 42:[7, 41, 47], Operations: ['77-30=47'] Exploring Operation: 47-41=6, Resulting Numbers: [7, 6] Generated Node #0,0,1: 42:[7, 6] Operation: 47-41=6 Moving to Node #0,0,1 Current State: 42:[7, 6], Operations: ['77-30=47', '47-41=6'] Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 55, 30, 81, 9 ]
65
[ "55-30=25", "81+9=90", "90-25=65" ]
Current State: 65:[55, 30, 81, 9], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [81, 9, 25] Generated Node #2: [81, 9, 25] from Operation: 55-30=25 Current State: 65:[81, 9, 25], Operations: ['55-30=25'] Exploring Operation: 81+9=90, Resulting Numbers: [25, 90] Generated Node #3: [25, 90] from Operation: 81+9=90 Current State: 65:[25, 90], Operations: ['55-30=25', '81+9=90'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[55, 30, 81, 9], Operations: [] Exploring Operation: 81-55=26, Resulting Numbers: [30, 9, 26] Generated Node #0,0: 65:[30, 9, 26] Operation: 81-55=26 Exploring Operation: 81-30=51, Resulting Numbers: [55, 9, 51] Generated Node #0,1: 65:[55, 9, 51] Operation: 81-30=51 Exploring Operation: 81/9=9, Resulting Numbers: [55, 30, 9] Generated Node #0,2: 65:[55, 30, 9] Operation: 81/9=9 Exploring Operation: 55-30=25, Resulting Numbers: [81, 9, 25] Generated Node #0,3: 65:[81, 9, 25] Operation: 55-30=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[55, 9, 51], Operations: ['81-30=51'] Exploring Operation: 55-9=46, Resulting Numbers: [51, 46] Generated Node #0,1,0: 65:[51, 46] Operation: 55-9=46 Exploring Operation: 55+9=64, Resulting Numbers: [51, 64] Generated Node #0,1,1: 65:[51, 64] Operation: 55+9=64 Exploring Operation: 9+51=60, Resulting Numbers: [55, 60] Generated Node #0,1,2: 65:[55, 60] Operation: 9+51=60 Exploring Operation: 55-51=4, Resulting Numbers: [9, 4] Generated Node #0,1,3: 65:[9, 4] Operation: 55-51=4 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 65:[9, 4], Operations: ['81-30=51', '55-51=4'] Exploring Operation: 9+4=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 9*4=36, Resulting Numbers: [36] 36,65 unequal: No Solution No 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: 65:[51, 64], Operations: ['81-30=51', '55+9=64'] Exploring Operation: 51+64=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 51*64=3264, Resulting Numbers: [3264] 3264,65 unequal: No Solution No 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: 65:[55, 60], Operations: ['81-30=51', '9+51=60'] Exploring Operation: 55+60=115, Resulting Numbers: [115] 115,65 unequal: No Solution Exploring Operation: 55*60=3300, Resulting Numbers: [3300] 3300,65 unequal: No Solution Exploring Operation: 60-55=5, Resulting Numbers: [5] 5,65 unequal: No Solution No 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: 65:[51, 46], Operations: ['81-30=51', '55-9=46'] Exploring Operation: 51-46=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 51*46=2346, Resulting Numbers: [2346] 2346,65 unequal: No Solution Exploring Operation: 51+46=97, Resulting Numbers: [97] 97,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[55, 30, 9], Operations: ['81/9=9'] Exploring Operation: 30-9=21, Resulting Numbers: [55, 21] Generated Node #0,2,0: 65:[55, 21] Operation: 30-9=21 Exploring Operation: 55-30=25, Resulting Numbers: [9, 25] Generated Node #0,2,1: 65:[9, 25] Operation: 55-30=25 Exploring Operation: 55+9=64, Resulting Numbers: [30, 64] Generated Node #0,2,2: 65:[30, 64] Operation: 55+9=64 Exploring Operation: 55+30=85, Resulting Numbers: [9, 85] Generated Node #0,2,3: 65:[9, 85] Operation: 55+30=85 Moving to Node #0,2,1 Current State: 65:[9, 25], Operations: ['81/9=9', '55-30=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[30, 64], Operations: ['81/9=9', '55+9=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,65 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[55, 21], Operations: ['81/9=9', '30-9=21'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 55+21=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 55*21=1155, Resulting Numbers: [1155] 1155,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[9, 85], Operations: ['81/9=9', '55+30=85'] Exploring Operation: 85-9=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 9+85=94, Resulting Numbers: [94] 94,65 unequal: No Solution Exploring Operation: 9*85=765, Resulting Numbers: [765] 765,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,3 Current State: 65:[81, 9, 25], Operations: ['55-30=25'] Exploring Operation: 81/9=9, Resulting Numbers: [25, 9] Generated Node #0,3,0: 65:[25, 9] Operation: 81/9=9 Exploring Operation: 81-25=56, Resulting Numbers: [9, 56] Generated Node #0,3,1: 65:[9, 56] Operation: 81-25=56 Exploring Operation: 81-9=72, Resulting Numbers: [25, 72] Generated Node #0,3,2: 65:[25, 72] Operation: 81-9=72 Exploring Operation: 25-9=16, Resulting Numbers: [81, 16] Generated Node #0,3,3: 65:[81, 16] Operation: 25-9=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 65:[9, 56], Operations: ['55-30=25', '81-25=56'] Exploring Operation: 9*56=504, Resulting Numbers: [504] 504,65 unequal: No Solution Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[55, 30, 81, 9], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [81, 9, 25] Generated Node #0,3: 65:[81, 9, 25] Operation: 55-30=25 Moving to Node #0,3 Current State: 65:[81, 9, 25], Operations: ['55-30=25'] Exploring Operation: 81-25=56, Resulting Numbers: [9, 56] Generated Node #0,3,1: 65:[9, 56] Operation: 81-25=56 Moving to Node #0,3,1 Current State: 65:[9, 56], Operations: ['55-30=25', '81-25=56'] Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960069
hs_4
sum_heuristic
[ 55, 64, 23, 67 ]
26
[ "55+23=78", "67-64=3", "78/3=26" ]
Current State: 26:[55, 64, 23, 67], Operations: [] Exploring Operation: 55+23=78, Resulting Numbers: [64, 67, 78] Generated Node #2: [64, 67, 78] from Operation: 55+23=78 Current State: 26:[64, 67, 78], Operations: ['55+23=78'] Exploring Operation: 67-64=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 67-64=3 Current State: 26:[78, 3], Operations: ['55+23=78', '67-64=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[55, 64, 23, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [55, 23, 3] Generated Node #0,0: 26:[55, 23, 3] Operation: 67-64=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[55, 23, 3], Operations: ['67-64=3'] Exploring Operation: 55-23=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 26:[3, 32] Operation: 55-23=32 Moving to Node #0,0,0 Current State: 26:[3, 32], Operations: ['67-64=3', '55-23=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,26 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
[ 9, 84, 38, 10 ]
86
[ "9+10=19", "38/19=2", "84+2=86" ]
Current State: 86:[9, 84, 38, 10], Operations: [] Exploring Operation: 9+10=19, Resulting Numbers: [84, 38, 19] Generated Node #2: [84, 38, 19] from Operation: 9+10=19 Current State: 86:[84, 38, 19], Operations: ['9+10=19'] Exploring Operation: 38/19=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 38/19=2 Current State: 86:[84, 2], Operations: ['9+10=19', '38/19=2'] Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[9, 84, 38, 10], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [84, 38, 1] Generated Node #0,0: 86:[84, 38, 1] Operation: 10-9=1 Exploring Operation: 9*10=90, Resulting Numbers: [84, 38, 90] Generated Node #0,1: 86:[84, 38, 90] Operation: 9*10=90 Moving to Node #0,0 Current State: 86:[84, 38, 1], Operations: ['10-9=1'] Exploring Operation: 84-38=46, Resulting Numbers: [1, 46] Generated Node #0,0,0: 86:[1, 46] Operation: 84-38=46 Exploring Operation: 84+1=85, Resulting Numbers: [38, 85] Generated Node #0,0,1: 86:[38, 85] Operation: 84+1=85 Moving to Node #0,1 Current State: 86:[84, 38, 90], Operations: ['9*10=90'] Exploring Operation: 90-84=6, Resulting Numbers: [38, 6] Generated Node #0,1,0: 86:[38, 6] Operation: 90-84=6 Exploring Operation: 84-38=46, Resulting Numbers: [90, 46] Generated Node #0,1,1: 86:[90, 46] Operation: 84-38=46 Moving to Node #0,0,0 Current State: 86:[1, 46], Operations: ['10-9=1', '84-38=46'] Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,86 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[38, 85], Operations: ['10-9=1', '84+1=85'] Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[90, 46], Operations: ['9*10=90', '84-38=46'] Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[38, 6], Operations: ['9*10=90', '90-84=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 41, 60, 8, 1 ]
93
[ "41+60=101", "8*1=8", "101-8=93" ]
Current State: 93:[41, 60, 8, 1], Operations: [] Exploring Operation: 41+60=101, Resulting Numbers: [8, 1, 101] Generated Node #2: [8, 1, 101] from Operation: 41+60=101 Current State: 93:[8, 1, 101], Operations: ['41+60=101'] Exploring Operation: 8*1=8, Resulting Numbers: [101, 8] Generated Node #3: [101, 8] from Operation: 8*1=8 Current State: 93:[101, 8], Operations: ['41+60=101', '8*1=8'] Exploring Operation: 101-8=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[41, 60, 8, 1], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [8, 1, 19] Generated Node #0,0: 93:[8, 1, 19] Operation: 60-41=19 Exploring Operation: 41+60=101, Resulting Numbers: [8, 1, 101] Generated Node #0,1: 93:[8, 1, 101] Operation: 41+60=101 Moving to Node #0,1 Current State: 93:[8, 1, 101], Operations: ['41+60=101'] Exploring Operation: 101-8=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 101-8=93 Exploring Operation: 8-1=7, Resulting Numbers: [101, 7] Generated Node #0,1,1: 93:[101, 7] Operation: 8-1=7 Moving to Node #0,0 Current State: 93:[8, 1, 19], Operations: ['60-41=19'] Exploring Operation: 8+19=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 93:[1, 27] Operation: 8+19=27 Exploring Operation: 19-8=11, Resulting Numbers: [1, 11] Generated Node #0,0,1: 93:[1, 11] Operation: 19-8=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[1, 27], Operations: ['60-41=19', '8+19=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,93 unequal: No Solution Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[1, 11], Operations: ['60-41=19', '19-8=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,93 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: 93:[1, 93], Operations: ['41+60=101', '101-8=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[41, 60, 8, 1], Operations: [] Exploring Operation: 41+60=101, Resulting Numbers: [8, 1, 101] Generated Node #0,1: 93:[8, 1, 101] Operation: 41+60=101 Moving to Node #0,1 Current State: 93:[8, 1, 101], Operations: ['41+60=101'] Exploring Operation: 101-8=93, Resulting Numbers: [1, 93] Generated Node #0,1,0: 93:[1, 93] Operation: 101-8=93 Moving to Node #0,1,0 Current State: 93:[1, 93], Operations: ['41+60=101', '101-8=93'] Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 21, 5, 15, 68 ]
27
[ "21+5=26", "68-15=53", "53-26=27" ]
Current State: 27:[21, 5, 15, 68], Operations: [] Exploring Operation: 21+5=26, Resulting Numbers: [15, 68, 26] Generated Node #2: [15, 68, 26] from Operation: 21+5=26 Current State: 27:[15, 68, 26], Operations: ['21+5=26'] Exploring Operation: 68-15=53, Resulting Numbers: [26, 53] Generated Node #3: [26, 53] from Operation: 68-15=53 Current State: 27:[26, 53], Operations: ['21+5=26', '68-15=53'] Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[21, 5, 15, 68], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [5, 15, 47] Generated Node #0,0: 27:[5, 15, 47] Operation: 68-21=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[5, 15, 47], Operations: ['68-21=47'] Exploring Operation: 47-15=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 27:[5, 32] Operation: 47-15=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[5, 32], Operations: ['68-21=47', '47-15=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[21, 5, 15, 68], Operations: [] Exploring Operation: 68-21=47, Resulting Numbers: [5, 15, 47] Generated Node #0,0: 27:[5, 15, 47] Operation: 68-21=47 Moving to Node #0,0 Current State: 27:[5, 15, 47], Operations: ['68-21=47'] Exploring Operation: 47-15=32, Resulting Numbers: [5, 32] Generated Node #0,0,0: 27:[5, 32] Operation: 47-15=32 Moving to Node #0,0,0 Current State: 27:[5, 32], Operations: ['68-21=47', '47-15=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 84, 77, 84, 24 ]
52
[ "84/84=1", "77-24=53", "53-1=52" ]
Current State: 52:[84, 77, 84, 24], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [77, 24, 1] Generated Node #2: [77, 24, 1] from Operation: 84/84=1 Current State: 52:[77, 24, 1], Operations: ['84/84=1'] Exploring Operation: 77-24=53, Resulting Numbers: [1, 53] Generated Node #3: [1, 53] from Operation: 77-24=53 Current State: 52:[1, 53], Operations: ['84/84=1', '77-24=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[84, 77, 84, 24], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [77, 24, 1] Generated Node #0,0: 52:[77, 24, 1] Operation: 84/84=1 Moving to Node #0,0 Current State: 52:[77, 24, 1], Operations: ['84/84=1'] Exploring Operation: 77-24=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 52:[1, 53] Operation: 77-24=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[1, 53], Operations: ['84/84=1', '77-24=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[84, 77, 84, 24], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [77, 24, 1] Generated Node #0,0: 52:[77, 24, 1] Operation: 84/84=1 Moving to Node #0,0 Current State: 52:[77, 24, 1], Operations: ['84/84=1'] Exploring Operation: 77-24=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 52:[1, 53] Operation: 77-24=53 Moving to Node #0,0,0 Current State: 52:[1, 53], Operations: ['84/84=1', '77-24=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 27, 81, 53, 19 ]
37
[ "81/27=3", "53-19=34", "3+34=37" ]
Current State: 37:[27, 81, 53, 19], Operations: [] Exploring Operation: 81/27=3, Resulting Numbers: [53, 19, 3] Generated Node #2: [53, 19, 3] from Operation: 81/27=3 Current State: 37:[53, 19, 3], Operations: ['81/27=3'] Exploring Operation: 53-19=34, Resulting Numbers: [3, 34] Generated Node #3: [3, 34] from Operation: 53-19=34 Current State: 37:[3, 34], Operations: ['81/27=3', '53-19=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[27, 81, 53, 19], Operations: [] Exploring Operation: 81-19=62, Resulting Numbers: [27, 53, 62] Generated Node #0,0: 37:[27, 53, 62] Operation: 81-19=62 Exploring Operation: 81-27=54, Resulting Numbers: [53, 19, 54] Generated Node #0,1: 37:[53, 19, 54] Operation: 81-27=54 Exploring Operation: 81-53=28, Resulting Numbers: [27, 19, 28] Generated Node #0,2: 37:[27, 19, 28] Operation: 81-53=28 Moving to Node #0,2 Current State: 37:[27, 19, 28], Operations: ['81-53=28'] Exploring Operation: 19+28=47, Resulting Numbers: [27, 47] Generated Node #0,2,0: 37:[27, 47] Operation: 19+28=47 Exploring Operation: 27+28=55, Resulting Numbers: [19, 55] Generated Node #0,2,1: 37:[19, 55] Operation: 27+28=55 Exploring Operation: 27+19=46, Resulting Numbers: [28, 46] Generated Node #0,2,2: 37:[28, 46] Operation: 27+19=46 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[28, 46], Operations: ['81-53=28', '27+19=46'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[27, 47], Operations: ['81-53=28', '19+28=47'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[19, 55], Operations: ['81-53=28', '27+28=55'] Exploring Operation: 19+55=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 55-19=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 19*55=1045, Resulting Numbers: [1045] 1045,37 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: 37:[27, 53, 62], Operations: ['81-19=62'] Exploring Operation: 62-27=35, Resulting Numbers: [53, 35] Generated Node #0,0,0: 37:[53, 35] Operation: 62-27=35 Exploring Operation: 53-27=26, Resulting Numbers: [62, 26] Generated Node #0,0,1: 37:[62, 26] Operation: 53-27=26 Exploring Operation: 62-53=9, Resulting Numbers: [27, 9] Generated Node #0,0,2: 37:[27, 9] Operation: 62-53=9 Moving to Node #0,1 Current State: 37:[53, 19, 54], Operations: ['81-27=54'] Exploring Operation: 53-19=34, Resulting Numbers: [54, 34] Generated Node #0,1,0: 37:[54, 34] Operation: 53-19=34 Exploring Operation: 53+19=72, Resulting Numbers: [54, 72] Generated Node #0,1,1: 37:[54, 72] Operation: 53+19=72 Exploring Operation: 54-19=35, Resulting Numbers: [53, 35] Generated Node #0,1,2: 37:[53, 35] Operation: 54-19=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[53, 35], Operations: ['81-27=54', '54-19=35'] Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,37 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[54, 34], Operations: ['81-27=54', '53-19=34'] Exploring Operation: 54-34=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 54*34=1836, Resulting Numbers: [1836] 1836,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[54, 72], Operations: ['81-27=54', '53+19=72'] Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,37 unequal: No Solution Exploring Operation: 54*72=3888, Resulting Numbers: [3888] 3888,37 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,37 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: 37:[53, 35], Operations: ['81-19=62', '62-27=35'] Exploring Operation: 53*35=1855, Resulting Numbers: [1855] 1855,37 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 53+35=88, Resulting Numbers: [88] 88,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[62, 26], Operations: ['81-19=62', '53-27=26'] Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,37 unequal: No Solution Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,37 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[27, 9], Operations: ['81-19=62', '62-53=9'] Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,37 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,37 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 61, 7, 62, 14 ]
84
[ "61+7=68", "68-62=6", "14*6=84" ]
Current State: 84:[61, 7, 62, 14], Operations: [] Exploring Operation: 61+7=68, Resulting Numbers: [62, 14, 68] Generated Node #2: [62, 14, 68] from Operation: 61+7=68 Current State: 84:[62, 14, 68], Operations: ['61+7=68'] Exploring Operation: 68-62=6, Resulting Numbers: [14, 6] Generated Node #3: [14, 6] from Operation: 68-62=6 Current State: 84:[14, 6], Operations: ['61+7=68', '68-62=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[61, 7, 62, 14], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [7, 14, 1] Generated Node #0,0: 84:[7, 14, 1] Operation: 62-61=1 Exploring Operation: 61-14=47, Resulting Numbers: [7, 62, 47] Generated Node #0,1: 84:[7, 62, 47] Operation: 61-14=47 Moving to Node #0,0 Current State: 84:[7, 14, 1], Operations: ['62-61=1'] Exploring Operation: 7-1=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 84:[14, 6] Operation: 7-1=6 Exploring Operation: 7*1=7, Resulting Numbers: [14, 7] Generated Node #0,0,1: 84:[14, 7] Operation: 7*1=7 Moving to Node #0,1 Current State: 84:[7, 62, 47], Operations: ['61-14=47'] Exploring Operation: 62-7=55, Resulting Numbers: [47, 55] Generated Node #0,1,0: 84:[47, 55] Operation: 62-7=55 Exploring Operation: 62-47=15, Resulting Numbers: [7, 15] Generated Node #0,1,1: 84:[7, 15] Operation: 62-47=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 84:[7, 15], Operations: ['61-14=47', '62-47=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,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,0 Current State: 84:[47, 55], Operations: ['61-14=47', '62-7=55'] Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,84 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: 84:[14, 6], Operations: ['62-61=1', '7-1=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[61, 7, 62, 14], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [7, 14, 1] Generated Node #0,0: 84:[7, 14, 1] Operation: 62-61=1 Moving to Node #0,0 Current State: 84:[7, 14, 1], Operations: ['62-61=1'] Exploring Operation: 7-1=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 84:[14, 6] Operation: 7-1=6 Moving to Node #0,0,0 Current State: 84:[14, 6], Operations: ['62-61=1', '7-1=6'] Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 65, 63, 82, 37 ]
43
[ "65-63=2", "82-37=45", "45-2=43" ]
Current State: 43:[65, 63, 82, 37], Operations: [] Exploring Operation: 65-63=2, Resulting Numbers: [82, 37, 2] Generated Node #2: [82, 37, 2] from Operation: 65-63=2 Current State: 43:[82, 37, 2], Operations: ['65-63=2'] Exploring Operation: 82-37=45, Resulting Numbers: [2, 45] Generated Node #3: [2, 45] from Operation: 82-37=45 Current State: 43:[2, 45], Operations: ['65-63=2', '82-37=45'] Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[65, 63, 82, 37], Operations: [] Exploring Operation: 82-37=45, Resulting Numbers: [65, 63, 45] Generated Node #0,0: 43:[65, 63, 45] Operation: 82-37=45 Exploring Operation: 65-37=28, Resulting Numbers: [63, 82, 28] Generated Node #0,1: 43:[63, 82, 28] Operation: 65-37=28 Exploring Operation: 82-65=17, Resulting Numbers: [63, 37, 17] Generated Node #0,2: 43:[63, 37, 17] Operation: 82-65=17 Exploring Operation: 82-63=19, Resulting Numbers: [65, 37, 19] Generated Node #0,3: 43:[65, 37, 19] Operation: 82-63=19 Moving to Node #0,0 Current State: 43:[65, 63, 45], Operations: ['82-37=45'] Exploring Operation: 63-45=18, Resulting Numbers: [65, 18] Generated Node #0,0,0: 43:[65, 18] Operation: 63-45=18 Exploring Operation: 65-45=20, Resulting Numbers: [63, 20] Generated Node #0,0,1: 43:[63, 20] Operation: 65-45=20 Exploring Operation: 65+63=128, Resulting Numbers: [45, 128] Generated Node #0,0,2: 43:[45, 128] Operation: 65+63=128 Exploring Operation: 65-63=2, Resulting Numbers: [45, 2] Generated Node #0,0,3: 43:[45, 2] Operation: 65-63=2 Moving to Node #0,3 Current State: 43:[65, 37, 19], Operations: ['82-63=19'] Exploring Operation: 65-19=46, Resulting Numbers: [37, 46] Generated Node #0,3,0: 43:[37, 46] Operation: 65-19=46 Exploring Operation: 65+19=84, Resulting Numbers: [37, 84] Generated Node #0,3,1: 43:[37, 84] Operation: 65+19=84 Exploring Operation: 65-37=28, Resulting Numbers: [19, 28] Generated Node #0,3,2: 43:[19, 28] Operation: 65-37=28 Exploring Operation: 37+19=56, Resulting Numbers: [65, 56] Generated Node #0,3,3: 43:[65, 56] Operation: 37+19=56 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 43:[37, 46], Operations: ['82-63=19', '65-19=46'] Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 43:[65, 56], Operations: ['82-63=19', '37+19=56'] Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 65*56=3640, Resulting Numbers: [3640] 3640,43 unequal: No Solution Exploring Operation: 65+56=121, Resulting Numbers: [121] 121,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 43:[19, 28], Operations: ['82-63=19', '65-37=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,43 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 43:[37, 84], Operations: ['82-63=19', '65+19=84'] Exploring Operation: 37+84=121, Resulting Numbers: [121] 121,43 unequal: No Solution Exploring Operation: 84-37=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 37*84=3108, Resulting Numbers: [3108] 3108,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 43:[63, 37, 17], Operations: ['82-65=17'] Exploring Operation: 63-37=26, Resulting Numbers: [17, 26] Generated Node #0,2,0: 43:[17, 26] Operation: 63-37=26 Exploring Operation: 63+17=80, Resulting Numbers: [37, 80] Generated Node #0,2,1: 43:[37, 80] Operation: 63+17=80 Exploring Operation: 63-17=46, Resulting Numbers: [37, 46] Generated Node #0,2,2: 43:[37, 46] Operation: 63-17=46 Exploring Operation: 37+17=54, Resulting Numbers: [63, 54] Generated Node #0,2,3: 43:[63, 54] Operation: 37+17=54 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 43:[37, 46], Operations: ['82-65=17', '63-17=46'] Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 43:[63, 54], Operations: ['82-65=17', '37+17=54'] Exploring Operation: 63+54=117, Resulting Numbers: [117] 117,43 unequal: No Solution Exploring Operation: 63*54=3402, Resulting Numbers: [3402] 3402,43 unequal: No Solution Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 43:[17, 26], Operations: ['82-65=17', '63-37=26'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 17*26=442, Resulting Numbers: [442] 442,43 unequal: No Solution Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[65, 63, 82, 37], Operations: [] Exploring Operation: 82-65=17, Resulting Numbers: [63, 37, 17] Generated Node #0,2: 43:[63, 37, 17] Operation: 82-65=17 Moving to Node #0,2 Current State: 43:[63, 37, 17], Operations: ['82-65=17'] Exploring Operation: 63-37=26, Resulting Numbers: [17, 26] Generated Node #0,2,0: 43:[17, 26] Operation: 63-37=26 Moving to Node #0,2,0 Current State: 43:[17, 26], Operations: ['82-65=17', '63-37=26'] Exploring Operation: 17+26=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_4
mult_heuristic
[ 10, 18, 56, 84 ]
42
[ "10+18=28", "56/28=2", "84/2=42" ]
Current State: 42:[10, 18, 56, 84], Operations: [] Exploring Operation: 10+18=28, Resulting Numbers: [56, 84, 28] Generated Node #2: [56, 84, 28] from Operation: 10+18=28 Current State: 42:[56, 84, 28], Operations: ['10+18=28'] Exploring Operation: 56/28=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 56/28=2 Current State: 42:[84, 2], Operations: ['10+18=28', '56/28=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[10, 18, 56, 84], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [10, 18, 28] Generated Node #0,0: 42:[10, 18, 28] Operation: 84-56=28 Exploring Operation: 56-10=46, Resulting Numbers: [18, 84, 46] Generated Node #0,1: 42:[18, 84, 46] Operation: 56-10=46 Exploring Operation: 56-18=38, Resulting Numbers: [10, 84, 38] Generated Node #0,2: 42:[10, 84, 38] Operation: 56-18=38 Exploring Operation: 84-18=66, Resulting Numbers: [10, 56, 66] Generated Node #0,3: 42:[10, 56, 66] Operation: 84-18=66 Exploring Operation: 84-10=74, Resulting Numbers: [18, 56, 74] Generated Node #0,4: 42:[18, 56, 74] Operation: 84-10=74 Moving to Node #0,0 Current State: 42:[10, 18, 28], Operations: ['84-56=28'] Exploring Operation: 18-10=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 42:[28, 8] Operation: 18-10=8 Exploring Operation: 18+28=46, Resulting Numbers: [10, 46] Generated Node #0,0,1: 42:[10, 46] Operation: 18+28=46 Exploring Operation: 28-10=18, Resulting Numbers: [18, 18] Generated Node #0,0,2: 42:[18, 18] Operation: 28-10=18 Exploring Operation: 10+28=38, Resulting Numbers: [18, 38] Generated Node #0,0,3: 42:[18, 38] Operation: 10+28=38 Exploring Operation: 28-18=10, Resulting Numbers: [10, 10] Generated Node #0,0,4: 42:[10, 10] Operation: 28-18=10 Moving to Node #0,3 Current State: 42:[10, 56, 66], Operations: ['84-18=66'] Exploring Operation: 56-10=46, Resulting Numbers: [66, 46] Generated Node #0,3,0: 42:[66, 46] Operation: 56-10=46 Exploring Operation: 66-10=56, Resulting Numbers: [56, 56] Generated Node #0,3,1: 42:[56, 56] Operation: 66-10=56 Exploring Operation: 10+66=76, Resulting Numbers: [56, 76] Generated Node #0,3,2: 42:[56, 76] Operation: 10+66=76 Exploring Operation: 10+56=66, Resulting Numbers: [66, 66] Generated Node #0,3,3: 42:[66, 66] Operation: 10+56=66 Exploring Operation: 66-56=10, Resulting Numbers: [10, 10] Generated Node #0,3,4: 42:[10, 10] Operation: 66-56=10 Moving to Node #0,1 Current State: 42:[18, 84, 46], Operations: ['56-10=46'] Exploring Operation: 84-46=38, Resulting Numbers: [18, 38] Generated Node #0,1,0: 42:[18, 38] Operation: 84-46=38 Exploring Operation: 46-18=28, Resulting Numbers: [84, 28] Generated Node #0,1,1: 42:[84, 28] Operation: 46-18=28 Exploring Operation: 18+84=102, Resulting Numbers: [46, 102] Generated Node #0,1,2: 42:[46, 102] Operation: 18+84=102 Exploring Operation: 84-18=66, Resulting Numbers: [46, 66] Generated Node #0,1,3: 42:[46, 66] Operation: 84-18=66 Exploring Operation: 18+46=64, Resulting Numbers: [84, 64] Generated Node #0,1,4: 42:[84, 64] Operation: 18+46=64 Moving to Node #0,2 Current State: 42:[10, 84, 38], Operations: ['56-18=38'] Exploring Operation: 10+84=94, Resulting Numbers: [38, 94] Generated Node #0,2,0: 42:[38, 94] Operation: 10+84=94 Exploring Operation: 84-10=74, Resulting Numbers: [38, 74] Generated Node #0,2,1: 42:[38, 74] Operation: 84-10=74 Exploring Operation: 10+38=48, Resulting Numbers: [84, 48] Generated Node #0,2,2: 42:[84, 48] Operation: 10+38=48 Exploring Operation: 38-10=28, Resulting Numbers: [84, 28] Generated Node #0,2,3: 42:[84, 28] Operation: 38-10=28 Exploring Operation: 84-38=46, Resulting Numbers: [10, 46] Generated Node #0,2,4: 42:[10, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[10, 46], Operations: ['56-18=38', '84-38=46'] Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,42 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[38, 74], Operations: ['56-18=38', '84-10=74'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 38*74=2812, Resulting Numbers: [2812] 2812,42 unequal: No Solution Exploring Operation: 38+74=112, Resulting Numbers: [112] 112,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[84, 48], Operations: ['56-18=38', '10+38=48'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 84+48=132, Resulting Numbers: [132] 132,42 unequal: No Solution Exploring Operation: 84*48=4032, Resulting Numbers: [4032] 4032,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[84, 28], Operations: ['56-18=38', '38-10=28'] Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,42 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[38, 94], Operations: ['56-18=38', '10+84=94'] Exploring Operation: 38*94=3572, Resulting Numbers: [3572] 3572,42 unequal: No Solution Exploring Operation: 38+94=132, Resulting Numbers: [132] 132,42 unequal: No Solution Exploring Operation: 94-38=56, Resulting Numbers: [56] 56,42 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: 42:[18, 56, 74], Operations: ['84-10=74'] Exploring Operation: 74-18=56, Resulting Numbers: [56, 56] Generated Node #0,4,0: 42:[56, 56] Operation: 74-18=56 Exploring Operation: 18+74=92, Resulting Numbers: [56, 92] Generated Node #0,4,1: 42:[56, 92] Operation: 18+74=92 Exploring Operation: 18+56=74, Resulting Numbers: [74, 74] Generated Node #0,4,2: 42:[74, 74] Operation: 18+56=74 Exploring Operation: 56-18=38, Resulting Numbers: [74, 38] Generated Node #0,4,3: 42:[74, 38] Operation: 56-18=38 Exploring Operation: 74-56=18, Resulting Numbers: [18, 18] Generated Node #0,4,4: 42:[18, 18] Operation: 74-56=18 Moving to Node #0,0,2 Current State: 42:[18, 18], Operations: ['84-56=28', '28-10=18'] Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,42 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,3,4 Current State: 42:[10, 10], Operations: ['84-18=66', '66-56=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[10, 10], Operations: ['84-56=28', '28-18=10'] Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,42 unequal: No Solution Moving to Node #0,4,4 Current State: 42:[18, 18], Operations: ['84-10=74', '74-56=18'] Exploring Operation: 18-18=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 18+18=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 18*18=324, Resulting Numbers: [324] 324,42 unequal: No Solution Exploring Operation: 18/18=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[10, 46], Operations: ['84-56=28', '18+28=46'] Exploring Operation: 10*46=460, Resulting Numbers: [460] 460,42 unequal: No Solution Exploring Operation: 10+46=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 46-10=36, Resulting Numbers: [36] 36,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[18, 38], Operations: ['56-10=46', '84-46=38'] Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,42 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[18, 38], Operations: ['84-56=28', '10+28=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,42 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[28, 8], Operations: ['84-56=28', '18-10=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,42 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,42 unequal: No Solution Moving to Node #0,3,0 Current State: 42:[66, 46], Operations: ['84-18=66', '56-10=46'] Exploring Operation: 66*46=3036, Resulting Numbers: [3036] 3036,42 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 66+46=112, Resulting Numbers: [112] 112,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[46, 66], Operations: ['56-10=46', '84-18=66'] Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,42 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,42 unequal: No Solution Moving to Node #0,4,0 Current State: 42:[56, 56], Operations: ['84-10=74', '74-18=56'] Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,42 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,42 unequal: No Solution Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,3,1 Current State: 42:[56, 56], Operations: ['84-18=66', '66-10=56'] Exploring Operation: 56*56=3136, Resulting Numbers: [3136] 3136,42 unequal: No Solution Exploring Operation: 56-56=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,42 unequal: No Solution Moving to Node #0,4,3 Current State: 42:[74, 38], Operations: ['84-10=74', '56-18=38'] Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,42 unequal: No Solution Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,42 unequal: No Solution Moving to Node #0,3,2 Current State: 42:[56, 76], Operations: ['84-18=66', '10+66=76'] Exploring Operation: 76-56=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 56*76=4256, Resulting Numbers: [4256] 4256,42 unequal: No Solution Exploring Operation: 56+76=132, Resulting Numbers: [132] 132,42 unequal: No Solution Moving to Node #0,3,3 Current State: 42:[66, 66], Operations: ['84-18=66', '10+56=66'] Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 66*66=4356, Resulting Numbers: [4356] 4356,42 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[84, 28], Operations: ['56-10=46', '46-18=28'] Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,42 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,42 unequal: No Solution Moving to Node #0,4,2 Current State: 42:[74, 74], Operations: ['84-10=74', '18+56=74'] Exploring Operation: 74/74=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 74+74=148, Resulting Numbers: [148] 148,42 unequal: No Solution Exploring Operation: 74-74=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 74*74=5476, Resulting Numbers: [5476] 5476,42 unequal: No Solution Moving to Node #0,1,4 Current State: 42:[84, 64], Operations: ['56-10=46', '18+46=64'] Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,42 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,42 unequal: No Solution Moving to Node #0,4,1 Current State: 42:[56, 92], Operations: ['84-10=74', '18+74=92'] Exploring Operation: 56+92=148, Resulting Numbers: [148] 148,42 unequal: No Solution Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 56*92=5152, Resulting Numbers: [5152] 5152,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[46, 102], Operations: ['56-10=46', '18+84=102'] Exploring Operation: 102-46=56, Resulting Numbers: [56] 56,42 unequal: No Solution Exploring Operation: 46*102=4692, Resulting Numbers: [4692] 4692,42 unequal: No Solution Exploring Operation: 46+102=148, Resulting Numbers: [148] 148,42 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 26, 41, 26, 39 ]
78
[ "41-39=2", "26*2=52", "26+52=78" ]
Current State: 78:[26, 41, 26, 39], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [26, 26, 2] Generated Node #2: [26, 26, 2] from Operation: 41-39=2 Current State: 78:[26, 26, 2], Operations: ['41-39=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,78 equal: Goal Reached Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[26, 41, 26, 39], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [26, 39, 15] Generated Node #0,0: 78:[26, 39, 15] Operation: 41-26=15 Exploring Operation: 39-26=13, Resulting Numbers: [41, 26, 13] Generated Node #0,1: 78:[41, 26, 13] Operation: 39-26=13 Exploring Operation: 41-39=2, Resulting Numbers: [26, 26, 2] Generated Node #0,2: 78:[26, 26, 2] Operation: 41-39=2 Exploring Operation: 41-26=15, Resulting Numbers: [26, 39, 15] Generated Node #0,3: 78:[26, 39, 15] Operation: 41-26=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[26, 26, 2], Operations: ['41-39=2'] Exploring Operation: 26/26=1, Resulting Numbers: [2, 1] Generated Node #0,2,0: 78:[2, 1] Operation: 26/26=1 Exploring Operation: 26/2=13, Resulting Numbers: [26, 13] Generated Node #0,2,1: 78:[26, 13] Operation: 26/2=13 Exploring Operation: 26-26=0, Resulting Numbers: [2, 0] Generated Node #0,2,2: 78:[2, 0] Operation: 26-26=0 Exploring Operation: 26/2=13, Resulting Numbers: [26, 13] Generated Node #0,2,3: 78:[26, 13] Operation: 26/2=13 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[26, 13], Operations: ['41-39=2', '26/2=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 78:[26, 13], Operations: ['41-39=2', '26/2=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,78 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,78 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[2, 1], Operations: ['41-39=2', '26/26=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[2, 0], Operations: ['41-39=2', '26-26=0'] Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,78 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[26, 39, 15], Operations: ['41-26=15'] Exploring Operation: 26+15=41, Resulting Numbers: [39, 41] Generated Node #0,0,0: 78:[39, 41] Operation: 26+15=41 Exploring Operation: 39-26=13, Resulting Numbers: [15, 13] Generated Node #0,0,1: 78:[15, 13] Operation: 39-26=13 Exploring Operation: 26-15=11, Resulting Numbers: [39, 11] Generated Node #0,0,2: 78:[39, 11] Operation: 26-15=11 Exploring Operation: 39-15=24, Resulting Numbers: [26, 24] Generated Node #0,0,3: 78:[26, 24] Operation: 39-15=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[39, 41], Operations: ['41-26=15', '26+15=41'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,78 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[15, 13], Operations: ['41-26=15', '39-26=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,78 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[39, 11], Operations: ['41-26=15', '26-15=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[26, 24], Operations: ['41-26=15', '39-15=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[41, 26, 13], Operations: ['39-26=13'] Exploring Operation: 26+13=39, Resulting Numbers: [41, 39] Generated Node #0,1,0: 78:[41, 39] Operation: 26+13=39 Exploring Operation: 41-13=28, Resulting Numbers: [26, 28] Generated Node #0,1,1: 78:[26, 28] Operation: 41-13=28 Exploring Operation: 41-26=15, Resulting Numbers: [13, 15] Generated Node #0,1,2: 78:[13, 15] Operation: 41-26=15 Exploring Operation: 26-13=13, Resulting Numbers: [41, 13] Generated Node #0,1,3: 78:[41, 13] Operation: 26-13=13 Moving to Node #0,1,0 Current State: 78:[41, 39], Operations: ['39-26=13', '26+13=39'] Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[13, 15], Operations: ['39-26=13', '41-26=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,78 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[26, 28], Operations: ['39-26=13', '41-13=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,78 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,78 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[41, 13], Operations: ['39-26=13', '26-13=13'] Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,78 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[26, 39, 15], Operations: ['41-26=15'] Exploring Operation: 39-26=13, Resulting Numbers: [15, 13] Generated Node #0,3,0: 78:[15, 13] Operation: 39-26=13 Exploring Operation: 26+15=41, Resulting Numbers: [39, 41] Generated Node #0,3,1: 78:[39, 41] Operation: 26+15=41 Exploring Operation: 39-15=24, Resulting Numbers: [26, 24] Generated Node #0,3,2: 78:[26, 24] Operation: 39-15=24 Exploring Operation: 26-15=11, Resulting Numbers: [39, 11] Generated Node #0,3,3: 78:[39, 11] Operation: 26-15=11 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 78:[15, 13], Operations: ['41-26=15', '39-26=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,78 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 78:[39, 41], Operations: ['41-26=15', '26+15=41'] Exploring Operation: 39*41=1599, Resulting Numbers: [1599] 1599,78 unequal: No Solution Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,78 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[26, 24], Operations: ['41-26=15', '39-15=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 26*24=624, Resulting Numbers: [624] 624,78 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[39, 11], Operations: ['41-26=15', '26-15=11'] Exploring Operation: 39+11=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 39-11=28, Resulting Numbers: [28] 28,78 unequal: No Solution Exploring Operation: 39*11=429, Resulting Numbers: [429] 429,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 96, 9, 72, 25 ]
66
[ "25-9=16", "96/16=6", "72-6=66" ]
Current State: 66:[96, 9, 72, 25], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [96, 72, 16] Generated Node #2: [96, 72, 16] from Operation: 25-9=16 Current State: 66:[96, 72, 16], Operations: ['25-9=16'] Exploring Operation: 96/16=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 96/16=6 Current State: 66:[72, 6], Operations: ['25-9=16', '96/16=6'] Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[96, 9, 72, 25], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [9, 72, 71] Generated Node #0,0: 66:[9, 72, 71] Operation: 96-25=71 Exploring Operation: 96-9=87, Resulting Numbers: [72, 25, 87] Generated Node #0,1: 66:[72, 25, 87] Operation: 96-9=87 Exploring Operation: 96-72=24, Resulting Numbers: [9, 25, 24] Generated Node #0,2: 66:[9, 25, 24] Operation: 96-72=24 Moving to Node #0,2 Current State: 66:[9, 25, 24], Operations: ['96-72=24'] Exploring Operation: 9+25=34, Resulting Numbers: [24, 34] Generated Node #0,2,0: 66:[24, 34] Operation: 9+25=34 Exploring Operation: 9+24=33, Resulting Numbers: [25, 33] Generated Node #0,2,1: 66:[25, 33] Operation: 9+24=33 Exploring Operation: 25-24=1, Resulting Numbers: [9, 1] Generated Node #0,2,2: 66:[9, 1] Operation: 25-24=1 Moving to Node #0,0 Current State: 66:[9, 72, 71], Operations: ['96-25=71'] Exploring Operation: 72-9=63, Resulting Numbers: [71, 63] Generated Node #0,0,0: 66:[71, 63] Operation: 72-9=63 Exploring Operation: 72/9=8, Resulting Numbers: [71, 8] Generated Node #0,0,1: 66:[71, 8] Operation: 72/9=8 Exploring Operation: 72-71=1, Resulting Numbers: [9, 1] Generated Node #0,0,2: 66:[9, 1] Operation: 72-71=1 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 66:[9, 1], Operations: ['96-25=71', '72-71=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[71, 8], Operations: ['96-25=71', '72/9=8'] Exploring Operation: 71*8=568, Resulting Numbers: [568] 568,66 unequal: No Solution Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,66 unequal: No Solution Exploring Operation: 71+8=79, Resulting Numbers: [79] 79,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[71, 63], Operations: ['96-25=71', '72-9=63'] Exploring Operation: 71-63=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 71*63=4473, Resulting Numbers: [4473] 4473,66 unequal: No Solution Exploring Operation: 71+63=134, Resulting Numbers: [134] 134,66 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: 66:[72, 25, 87], Operations: ['96-9=87'] Exploring Operation: 87-72=15, Resulting Numbers: [25, 15] Generated Node #0,1,0: 66:[25, 15] Operation: 87-72=15 Exploring Operation: 72-25=47, Resulting Numbers: [87, 47] Generated Node #0,1,1: 66:[87, 47] Operation: 72-25=47 Exploring Operation: 87-25=62, Resulting Numbers: [72, 62] Generated Node #0,1,2: 66:[72, 62] Operation: 87-25=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[25, 15], Operations: ['96-9=87', '87-72=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,66 unequal: No Solution Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 66:[72, 62], Operations: ['96-9=87', '87-25=62'] Exploring Operation: 72*62=4464, Resulting Numbers: [4464] 4464,66 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 72+62=134, Resulting Numbers: [134] 134,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[87, 47], Operations: ['96-9=87', '72-25=47'] Exploring Operation: 87*47=4089, Resulting Numbers: [4089] 4089,66 unequal: No Solution Exploring Operation: 87-47=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 87+47=134, Resulting Numbers: [134] 134,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 66:[24, 34], Operations: ['96-72=24', '9+25=34'] Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,66 unequal: No Solution Exploring Operation: 24*34=816, Resulting Numbers: [816] 816,66 unequal: No Solution Exploring Operation: 24+34=58, Resulting Numbers: [58] 58,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[25, 33], Operations: ['96-72=24', '9+24=33'] Exploring Operation: 25*33=825, Resulting Numbers: [825] 825,66 unequal: No Solution Exploring Operation: 25+33=58, Resulting Numbers: [58] 58,66 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,66 unequal: No Solution Moving to Node #0,2,2 Current State: 66:[9, 1], Operations: ['96-72=24', '25-24=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,66 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 49, 74, 28, 88 ]
63
[ "49+74=123", "88-28=60", "123-60=63" ]
Current State: 63:[49, 74, 28, 88], Operations: [] Exploring Operation: 49+74=123, Resulting Numbers: [28, 88, 123] Generated Node #2: [28, 88, 123] from Operation: 49+74=123 Current State: 63:[28, 88, 123], Operations: ['49+74=123'] Exploring Operation: 88-28=60, Resulting Numbers: [123, 60] Generated Node #3: [123, 60] from Operation: 88-28=60 Current State: 63:[123, 60], Operations: ['49+74=123', '88-28=60'] Exploring Operation: 123-60=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[49, 74, 28, 88], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [49, 74, 60] Generated Node #0,0: 63:[49, 74, 60] Operation: 88-28=60 Exploring Operation: 88-74=14, Resulting Numbers: [49, 28, 14] Generated Node #0,1: 63:[49, 28, 14] Operation: 88-74=14 Exploring Operation: 74-49=25, Resulting Numbers: [28, 88, 25] Generated Node #0,2: 63:[28, 88, 25] Operation: 74-49=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[49, 28, 14], Operations: ['88-74=14'] Exploring Operation: 49-28=21, Resulting Numbers: [14, 21] Generated Node #0,1,0: 63:[14, 21] Operation: 49-28=21 Exploring Operation: 49+14=63, Resulting Numbers: [28, 63] Generated Node #0,1,1: 63:[28, 63] Operation: 49+14=63 Exploring Operation: 28/14=2, Resulting Numbers: [49, 2] Generated Node #0,1,2: 63:[49, 2] Operation: 28/14=2 Moving to Node #0,1,0 Current State: 63:[14, 21], Operations: ['88-74=14', '49-28=21'] Exploring Operation: 14*21=294, Resulting Numbers: [294] 294,63 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[28, 63], Operations: ['88-74=14', '49+14=63'] Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,63 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[49, 2], Operations: ['88-74=14', '28/14=2'] Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,63 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,63 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[49, 74, 60], Operations: ['88-28=60'] Exploring Operation: 74-60=14, Resulting Numbers: [49, 14] Generated Node #0,0,0: 63:[49, 14] Operation: 74-60=14 Exploring Operation: 60-49=11, Resulting Numbers: [74, 11] Generated Node #0,0,1: 63:[74, 11] Operation: 60-49=11 Exploring Operation: 74-49=25, Resulting Numbers: [60, 25] Generated Node #0,0,2: 63:[60, 25] Operation: 74-49=25 Moving to Node #0,0,2 Current State: 63:[60, 25], Operations: ['88-28=60', '74-49=25'] Exploring Operation: 60+25=85, Resulting Numbers: [85] 85,63 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 60*25=1500, Resulting Numbers: [1500] 1500,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[74, 11], Operations: ['88-28=60', '60-49=11'] Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,63 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[49, 74, 28, 88], Operations: [] Exploring Operation: 88-28=60, Resulting Numbers: [49, 74, 60] Generated Node #0,0: 63:[49, 74, 60] Operation: 88-28=60 Moving to Node #0,0 Current State: 63:[49, 74, 60], Operations: ['88-28=60'] Exploring Operation: 60-49=11, Resulting Numbers: [74, 11] Generated Node #0,0,1: 63:[74, 11] Operation: 60-49=11 Moving to Node #0,0,1 Current State: 63:[74, 11], Operations: ['88-28=60', '60-49=11'] Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 58, 3, 38, 11 ]
45
[ "58+11=69", "3*38=114", "114-69=45" ]
Current State: 45:[58, 3, 38, 11], Operations: [] Exploring Operation: 58+11=69, Resulting Numbers: [3, 38, 69] Generated Node #2: [3, 38, 69] from Operation: 58+11=69 Current State: 45:[3, 38, 69], Operations: ['58+11=69'] Exploring Operation: 3*38=114, Resulting Numbers: [69, 114] Generated Node #3: [69, 114] from Operation: 3*38=114 Current State: 45:[69, 114], Operations: ['58+11=69', '3*38=114'] Exploring Operation: 114-69=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[58, 3, 38, 11], Operations: [] Exploring Operation: 58-11=47, Resulting Numbers: [3, 38, 47] Generated Node #0,0: 45:[3, 38, 47] Operation: 58-11=47 Exploring Operation: 3+38=41, Resulting Numbers: [58, 11, 41] Generated Node #0,1: 45:[58, 11, 41] Operation: 3+38=41 Exploring Operation: 58-3=55, Resulting Numbers: [38, 11, 55] Generated Node #0,2: 45:[38, 11, 55] Operation: 58-3=55 Exploring Operation: 38+11=49, Resulting Numbers: [58, 3, 49] Generated Node #0,3: 45:[58, 3, 49] Operation: 38+11=49 Exploring Operation: 58-38=20, Resulting Numbers: [3, 11, 20] Generated Node #0,4: 45:[3, 11, 20] Operation: 58-38=20 Moving to Node #0,4 Current State: 45:[3, 11, 20], Operations: ['58-38=20'] Exploring Operation: 3+20=23, Resulting Numbers: [11, 23] Generated Node #0,4,0: 45:[11, 23] Operation: 3+20=23 Exploring Operation: 20-3=17, Resulting Numbers: [11, 17] Generated Node #0,4,1: 45:[11, 17] Operation: 20-3=17 Exploring Operation: 11-3=8, Resulting Numbers: [20, 8] Generated Node #0,4,2: 45:[20, 8] Operation: 11-3=8 Exploring Operation: 3+11=14, Resulting Numbers: [20, 14] Generated Node #0,4,3: 45:[20, 14] Operation: 3+11=14 Exploring Operation: 20-11=9, Resulting Numbers: [3, 9] Generated Node #0,4,4: 45:[3, 9] Operation: 20-11=9 Moving to Node #0,0 Current State: 45:[3, 38, 47], Operations: ['58-11=47'] Exploring Operation: 47-38=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 45:[3, 9] Operation: 47-38=9 Exploring Operation: 3+38=41, Resulting Numbers: [47, 41] Generated Node #0,0,1: 45:[47, 41] Operation: 3+38=41 Exploring Operation: 38-3=35, Resulting Numbers: [47, 35] Generated Node #0,0,2: 45:[47, 35] Operation: 38-3=35 Exploring Operation: 3+47=50, Resulting Numbers: [38, 50] Generated Node #0,0,3: 45:[38, 50] Operation: 3+47=50 Exploring Operation: 47-3=44, Resulting Numbers: [38, 44] Generated Node #0,0,4: 45:[38, 44] Operation: 47-3=44 Moving to Node #0,3 Current State: 45:[58, 3, 49], Operations: ['38+11=49'] Exploring Operation: 3+49=52, Resulting Numbers: [58, 52] Generated Node #0,3,0: 45:[58, 52] Operation: 3+49=52 Exploring Operation: 49-3=46, Resulting Numbers: [58, 46] Generated Node #0,3,1: 45:[58, 46] Operation: 49-3=46 Exploring Operation: 58+3=61, Resulting Numbers: [49, 61] Generated Node #0,3,2: 45:[49, 61] Operation: 58+3=61 Exploring Operation: 58-49=9, Resulting Numbers: [3, 9] Generated Node #0,3,3: 45:[3, 9] Operation: 58-49=9 Exploring Operation: 58-3=55, Resulting Numbers: [49, 55] Generated Node #0,3,4: 45:[49, 55] Operation: 58-3=55 Moving to Node #0,1 Current State: 45:[58, 11, 41], Operations: ['3+38=41'] Exploring Operation: 58+11=69, Resulting Numbers: [41, 69] Generated Node #0,1,0: 45:[41, 69] Operation: 58+11=69 Exploring Operation: 58-41=17, Resulting Numbers: [11, 17] Generated Node #0,1,1: 45:[11, 17] Operation: 58-41=17 Exploring Operation: 58-11=47, Resulting Numbers: [41, 47] Generated Node #0,1,2: 45:[41, 47] Operation: 58-11=47 Exploring Operation: 11+41=52, Resulting Numbers: [58, 52] Generated Node #0,1,3: 45:[58, 52] Operation: 11+41=52 Exploring Operation: 41-11=30, Resulting Numbers: [58, 30] Generated Node #0,1,4: 45:[58, 30] Operation: 41-11=30 Moving to Node #0,2 Current State: 45:[38, 11, 55], Operations: ['58-3=55'] Exploring Operation: 38-11=27, Resulting Numbers: [55, 27] Generated Node #0,2,0: 45:[55, 27] Operation: 38-11=27 Exploring Operation: 55-38=17, Resulting Numbers: [11, 17] Generated Node #0,2,1: 45:[11, 17] Operation: 55-38=17 Exploring Operation: 55-11=44, Resulting Numbers: [38, 44] Generated Node #0,2,2: 45:[38, 44] Operation: 55-11=44 Exploring Operation: 55/11=5, Resulting Numbers: [38, 5] Generated Node #0,2,3: 45:[38, 5] Operation: 55/11=5 Exploring Operation: 38+11=49, Resulting Numbers: [55, 49] Generated Node #0,2,4: 45:[55, 49] Operation: 38+11=49 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[11, 17], Operations: ['58-3=55', '55-38=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,45 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 45:[38, 5], Operations: ['58-3=55', '55/11=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,45 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,45 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[38, 44], Operations: ['58-3=55', '55-11=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,45 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 45:[55, 49], Operations: ['58-3=55', '38+11=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,45 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[55, 27], Operations: ['58-3=55', '38-11=27'] Exploring Operation: 55*27=1485, Resulting Numbers: [1485] 1485,45 unequal: No Solution Exploring Operation: 55-27=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 55+27=82, Resulting Numbers: [82] 82,45 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: 45:[3, 9], Operations: ['58-38=20', '20-11=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[3, 9], Operations: ['58-11=47', '47-38=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,45 unequal: No Solution Moving to Node #0,3,3 Current State: 45:[3, 9], Operations: ['38+11=49', '58-49=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,45 unequal: No Solution Moving to Node #0,4,1 Current State: 45:[11, 17], Operations: ['58-38=20', '20-3=17'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,45 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,1,1 Current State: 45:[11, 17], Operations: ['3+38=41', '58-41=17'] Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,45 unequal: No Solution Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[47, 41], Operations: ['58-11=47', '3+38=41'] Exploring Operation: 47+41=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 47*41=1927, Resulting Numbers: [1927] 1927,45 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,4,2 Current State: 45:[20, 8], Operations: ['58-38=20', '11-3=8'] Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,45 unequal: No Solution Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,45 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,4,3 Current State: 45:[20, 14], Operations: ['58-38=20', '3+11=14'] Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,45 unequal: No Solution Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[41, 47], Operations: ['3+38=41', '58-11=47'] Exploring Operation: 41+47=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 41*47=1927, Resulting Numbers: [1927] 1927,45 unequal: No Solution Exploring Operation: 47-41=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[38, 44], Operations: ['58-11=47', '47-3=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,45 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,4,0 Current State: 45:[11, 23], Operations: ['58-38=20', '3+20=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,45 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,0,3 Current State: 45:[38, 50], Operations: ['58-11=47', '3+47=50'] Exploring Operation: 38*50=1900, Resulting Numbers: [1900] 1900,45 unequal: No Solution Exploring Operation: 38+50=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[47, 35], Operations: ['58-11=47', '38-3=35'] Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,45 unequal: No Solution Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,45 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,45 unequal: No Solution Moving to Node #0,3,4 Current State: 45:[49, 55], Operations: ['38+11=49', '58-3=55'] Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,45 unequal: No Solution Moving to Node #0,3,1 Current State: 45:[58, 46], Operations: ['38+11=49', '49-3=46'] Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,45 unequal: No Solution Moving to Node #0,3,2 Current State: 45:[49, 61], Operations: ['38+11=49', '58+3=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,45 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[58, 52], Operations: ['3+38=41', '11+41=52'] Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,45 unequal: No Solution Moving to Node #0,3,0 Current State: 45:[58, 52], Operations: ['38+11=49', '3+49=52'] Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[58, 30], Operations: ['3+38=41', '41-11=30'] Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,45 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,45 unequal: No Solution Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[41, 69], Operations: ['3+38=41', '58+11=69'] Exploring Operation: 41*69=2829, Resulting Numbers: [2829] 2829,45 unequal: No Solution Exploring Operation: 41+69=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 69-41=28, Resulting Numbers: [28] 28,45 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 49, 69, 12, 34 ]
72
[ "49+69=118", "12+34=46", "118-46=72" ]
Current State: 72:[49, 69, 12, 34], Operations: [] Exploring Operation: 49+69=118, Resulting Numbers: [12, 34, 118] Generated Node #2: [12, 34, 118] from Operation: 49+69=118 Current State: 72:[12, 34, 118], Operations: ['49+69=118'] Exploring Operation: 12+34=46, Resulting Numbers: [118, 46] Generated Node #3: [118, 46] from Operation: 12+34=46 Current State: 72:[118, 46], Operations: ['49+69=118', '12+34=46'] Exploring Operation: 118-46=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[49, 69, 12, 34], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [69, 34, 37] Generated Node #0,0: 72:[69, 34, 37] Operation: 49-12=37 Exploring Operation: 49-34=15, Resulting Numbers: [69, 12, 15] Generated Node #0,1: 72:[69, 12, 15] Operation: 49-34=15 Exploring Operation: 69-49=20, Resulting Numbers: [12, 34, 20] Generated Node #0,2: 72:[12, 34, 20] Operation: 69-49=20 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[12, 34, 20], Operations: ['69-49=20'] Exploring Operation: 34-20=14, Resulting Numbers: [12, 14] Generated Node #0,2,0: 72:[12, 14] Operation: 34-20=14 Exploring Operation: 34-12=22, Resulting Numbers: [20, 22] Generated Node #0,2,1: 72:[20, 22] Operation: 34-12=22 Exploring Operation: 20-12=8, Resulting Numbers: [34, 8] Generated Node #0,2,2: 72:[34, 8] Operation: 20-12=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[12, 14], Operations: ['69-49=20', '34-20=14'] Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,72 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[34, 8], Operations: ['69-49=20', '20-12=8'] Exploring Operation: 34+8=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 34*8=272, Resulting Numbers: [272] 272,72 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[20, 22], Operations: ['69-49=20', '34-12=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[69, 34, 37], Operations: ['49-12=37'] Exploring Operation: 37-34=3, Resulting Numbers: [69, 3] Generated Node #0,0,0: 72:[69, 3] Operation: 37-34=3 Exploring Operation: 69-34=35, Resulting Numbers: [37, 35] Generated Node #0,0,1: 72:[37, 35] Operation: 69-34=35 Exploring Operation: 34+37=71, Resulting Numbers: [69, 71] Generated Node #0,0,2: 72:[69, 71] Operation: 34+37=71 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[37, 35], Operations: ['49-12=37', '69-34=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,72 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[49, 69, 12, 34], Operations: [] Exploring Operation: 49-12=37, Resulting Numbers: [69, 34, 37] Generated Node #0,0: 72:[69, 34, 37] Operation: 49-12=37 Moving to Node #0,0 Current State: 72:[69, 34, 37], Operations: ['49-12=37'] Exploring Operation: 69-34=35, Resulting Numbers: [37, 35] Generated Node #0,0,1: 72:[37, 35] Operation: 69-34=35 Moving to Node #0,0,1 Current State: 72:[37, 35], Operations: ['49-12=37', '69-34=35'] Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 16, 35, 4, 7 ]
63
[ "16/4=4", "7*4=28", "35+28=63" ]
Current State: 63:[16, 35, 4, 7], Operations: [] Exploring Operation: 16/4=4, Resulting Numbers: [35, 7, 4] Generated Node #2: [35, 7, 4] from Operation: 16/4=4 Current State: 63:[35, 7, 4], Operations: ['16/4=4'] Exploring Operation: 7*4=28, Resulting Numbers: [35, 28] Generated Node #3: [35, 28] from Operation: 7*4=28 Current State: 63:[35, 28], Operations: ['16/4=4', '7*4=28'] Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[16, 35, 4, 7], Operations: [] Exploring Operation: 35-16=19, Resulting Numbers: [4, 7, 19] Generated Node #0,0: 63:[4, 7, 19] Operation: 35-16=19 Exploring Operation: 35/7=5, Resulting Numbers: [16, 4, 5] Generated Node #0,1: 63:[16, 4, 5] Operation: 35/7=5 Moving to Node #0,0 Current State: 63:[4, 7, 19], Operations: ['35-16=19'] Exploring Operation: 7-4=3, Resulting Numbers: [19, 3] Generated Node #0,0,0: 63:[19, 3] Operation: 7-4=3 Exploring Operation: 4+19=23, Resulting Numbers: [7, 23] Generated Node #0,0,1: 63:[7, 23] Operation: 4+19=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[19, 3], Operations: ['35-16=19', '7-4=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[7, 23], Operations: ['35-16=19', '4+19=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,63 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: 63:[16, 4, 5], Operations: ['35/7=5'] Exploring Operation: 16+5=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 63:[4, 21] Operation: 16+5=21 Exploring Operation: 16+4=20, Resulting Numbers: [5, 20] Generated Node #0,1,1: 63:[5, 20] Operation: 16+4=20 Moving to Node #0,1,0 Current State: 63:[4, 21], Operations: ['35/7=5', '16+5=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,63 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[5, 20], Operations: ['35/7=5', '16+4=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,63 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 99, 38, 55, 51 ]
33
[ "55-38=17", "99*17=1683", "1683/51=33" ]
Current State: 33:[99, 38, 55, 51], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [99, 51, 17] Generated Node #2: [99, 51, 17] from Operation: 55-38=17 Current State: 33:[99, 51, 17], Operations: ['55-38=17'] Exploring Operation: 99*17=1683, Resulting Numbers: [51, 1683] Generated Node #3: [51, 1683] from Operation: 99*17=1683 Current State: 33:[51, 1683], Operations: ['55-38=17', '99*17=1683'] Exploring Operation: 1683/51=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[99, 38, 55, 51], Operations: [] Exploring Operation: 99-51=48, Resulting Numbers: [38, 55, 48] Generated Node #0,0: 33:[38, 55, 48] Operation: 99-51=48 Exploring Operation: 99-38=61, Resulting Numbers: [55, 51, 61] Generated Node #0,1: 33:[55, 51, 61] Operation: 99-38=61 Exploring Operation: 99-55=44, Resulting Numbers: [38, 51, 44] Generated Node #0,2: 33:[38, 51, 44] Operation: 99-55=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[38, 51, 44], Operations: ['99-55=44'] Exploring Operation: 44-38=6, Resulting Numbers: [51, 6] Generated Node #0,2,0: 33:[51, 6] Operation: 44-38=6 Exploring Operation: 51-38=13, Resulting Numbers: [44, 13] Generated Node #0,2,1: 33:[44, 13] Operation: 51-38=13 Exploring Operation: 51-44=7, Resulting Numbers: [38, 7] Generated Node #0,2,2: 33:[38, 7] Operation: 51-44=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[38, 7], Operations: ['99-55=44', '51-44=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,33 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[44, 13], Operations: ['99-55=44', '51-38=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[51, 6], Operations: ['99-55=44', '44-38=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,33 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[38, 55, 48], Operations: ['99-51=48'] Exploring Operation: 55-38=17, Resulting Numbers: [48, 17] Generated Node #0,0,0: 33:[48, 17] Operation: 55-38=17 Exploring Operation: 48-38=10, Resulting Numbers: [55, 10] Generated Node #0,0,1: 33:[55, 10] Operation: 48-38=10 Exploring Operation: 55-48=7, Resulting Numbers: [38, 7] Generated Node #0,0,2: 33:[38, 7] Operation: 55-48=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[38, 7], Operations: ['99-51=48', '55-48=7'] Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,33 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[48, 17], Operations: ['99-51=48', '55-38=17'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 48*17=816, Resulting Numbers: [816] 816,33 unequal: No Solution Exploring Operation: 48+17=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[55, 10], Operations: ['99-51=48', '48-38=10'] Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,33 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[55, 51, 61], Operations: ['99-38=61'] Exploring Operation: 61-51=10, Resulting Numbers: [55, 10] Generated Node #0,1,0: 33:[55, 10] Operation: 61-51=10 Exploring Operation: 55-51=4, Resulting Numbers: [61, 4] Generated Node #0,1,1: 33:[61, 4] Operation: 55-51=4 Exploring Operation: 61-55=6, Resulting Numbers: [51, 6] Generated Node #0,1,2: 33:[51, 6] Operation: 61-55=6 Moving to Node #0,1,2 Current State: 33:[51, 6], Operations: ['99-38=61', '61-55=6'] Exploring Operation: 51*6=306, Resulting Numbers: [306] 306,33 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,33 unequal: No Solution Moving to Node #0,1,0 Current State: 33:[55, 10], Operations: ['99-38=61', '61-51=10'] Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,33 unequal: No Solution Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,33 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,33 unequal: No Solution Moving to Node #0,1,1 Current State: 33:[61, 4], Operations: ['99-38=61', '55-51=4'] Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,33 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,33 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 13, 48, 54 ]
86
[ "93-13=80", "54-48=6", "80+6=86" ]
Current State: 86:[93, 13, 48, 54], Operations: [] Exploring Operation: 93-13=80, Resulting Numbers: [48, 54, 80] Generated Node #2: [48, 54, 80] from Operation: 93-13=80 Current State: 86:[48, 54, 80], Operations: ['93-13=80'] Exploring Operation: 54-48=6, Resulting Numbers: [80, 6] Generated Node #3: [80, 6] from Operation: 54-48=6 Current State: 86:[80, 6], Operations: ['93-13=80', '54-48=6'] Exploring Operation: 80+6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[93, 13, 48, 54], Operations: [] Exploring Operation: 93-54=39, Resulting Numbers: [13, 48, 39] Generated Node #0,0: 86:[13, 48, 39] Operation: 93-54=39 Exploring Operation: 54-13=41, Resulting Numbers: [93, 48, 41] Generated Node #0,1: 86:[93, 48, 41] Operation: 54-13=41 Exploring Operation: 93-13=80, Resulting Numbers: [48, 54, 80] Generated Node #0,2: 86:[48, 54, 80] Operation: 93-13=80 Moving to Node #0,1 Current State: 86:[93, 48, 41], Operations: ['54-13=41'] Exploring Operation: 48+41=89, Resulting Numbers: [93, 89] Generated Node #0,1,0: 86:[93, 89] Operation: 48+41=89 Exploring Operation: 48-41=7, Resulting Numbers: [93, 7] Generated Node #0,1,1: 86:[93, 7] Operation: 48-41=7 Exploring Operation: 93-48=45, Resulting Numbers: [41, 45] Generated Node #0,1,2: 86:[41, 45] Operation: 93-48=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[41, 45], Operations: ['54-13=41', '93-48=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[93, 13, 48, 54], Operations: [] Exploring Operation: 54-13=41, Resulting Numbers: [93, 48, 41] Generated Node #0,1: 86:[93, 48, 41] Operation: 54-13=41 Moving to Node #0,1 Current State: 86:[93, 48, 41], Operations: ['54-13=41'] Exploring Operation: 93-48=45, Resulting Numbers: [41, 45] Generated Node #0,1,2: 86:[41, 45] Operation: 93-48=45 Moving to Node #0,1,2 Current State: 86:[41, 45], Operations: ['54-13=41', '93-48=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 11, 35, 22, 44 ]
26
[ "35-11=24", "44/22=2", "24+2=26" ]
Current State: 26:[11, 35, 22, 44], Operations: [] Exploring Operation: 35-11=24, Resulting Numbers: [22, 44, 24] Generated Node #2: [22, 44, 24] from Operation: 35-11=24 Current State: 26:[22, 44, 24], Operations: ['35-11=24'] Exploring Operation: 44/22=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 44/22=2 Current State: 26:[24, 2], Operations: ['35-11=24', '44/22=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[11, 35, 22, 44], Operations: [] Exploring Operation: 44-35=9, Resulting Numbers: [11, 22, 9] Generated Node #0,0: 26:[11, 22, 9] Operation: 44-35=9 Moving to Node #0,0 Current State: 26:[11, 22, 9], Operations: ['44-35=9'] Exploring Operation: 22-9=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 26:[11, 13] Operation: 22-9=13 Moving to Node #0,0,0 Current State: 26:[11, 13], Operations: ['44-35=9', '22-9=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 31, 15, 58, 8 ]
34
[ "31-15=16", "58-8=50", "50-16=34" ]
Current State: 34:[31, 15, 58, 8], Operations: [] Exploring Operation: 31-15=16, Resulting Numbers: [58, 8, 16] Generated Node #2: [58, 8, 16] from Operation: 31-15=16 Current State: 34:[58, 8, 16], Operations: ['31-15=16'] Exploring Operation: 58-8=50, Resulting Numbers: [16, 50] Generated Node #3: [16, 50] from Operation: 58-8=50 Current State: 34:[16, 50], Operations: ['31-15=16', '58-8=50'] Exploring Operation: 50-16=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 15, 58, 8], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [15, 8, 27] Generated Node #0,0: 34:[15, 8, 27] Operation: 58-31=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[15, 8, 27], Operations: ['58-31=27'] Exploring Operation: 8+27=35, Resulting Numbers: [15, 35] Generated Node #0,0,0: 34:[15, 35] Operation: 8+27=35 Moving to Node #0,0,0 Current State: 34:[15, 35], Operations: ['58-31=27', '8+27=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,34 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
[ 5, 6, 64, 12 ]
10
[ "5*12=60", "6+64=70", "70-60=10" ]
Current State: 10:[5, 6, 64, 12], Operations: [] Exploring Operation: 5*12=60, Resulting Numbers: [6, 64, 60] Generated Node #2: [6, 64, 60] from Operation: 5*12=60 Current State: 10:[6, 64, 60], Operations: ['5*12=60'] Exploring Operation: 6+64=70, Resulting Numbers: [60, 70] Generated Node #3: [60, 70] from Operation: 6+64=70 Current State: 10:[60, 70], Operations: ['5*12=60', '6+64=70'] Exploring Operation: 70-60=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 6, 64, 12], Operations: [] Exploring Operation: 64-12=52, Resulting Numbers: [5, 6, 52] Generated Node #0,0: 10:[5, 6, 52] Operation: 64-12=52 Exploring Operation: 64-6=58, Resulting Numbers: [5, 12, 58] Generated Node #0,1: 10:[5, 12, 58] Operation: 64-6=58 Moving to Node #0,0 Current State: 10:[5, 6, 52], Operations: ['64-12=52'] Exploring Operation: 52-5=47, Resulting Numbers: [6, 47] Generated Node #0,0,0: 10:[6, 47] Operation: 52-5=47 Exploring Operation: 52-6=46, Resulting Numbers: [5, 46] Generated Node #0,0,1: 10:[5, 46] Operation: 52-6=46 Moving to Node #0,1 Current State: 10:[5, 12, 58], Operations: ['64-6=58'] Exploring Operation: 58-5=53, Resulting Numbers: [12, 53] Generated Node #0,1,0: 10:[12, 53] Operation: 58-5=53 Exploring Operation: 58-12=46, Resulting Numbers: [5, 46] Generated Node #0,1,1: 10:[5, 46] Operation: 58-12=46 Moving to Node #0,0,1 Current State: 10:[5, 46], Operations: ['64-12=52', '52-6=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[5, 46], Operations: ['64-6=58', '58-12=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[6, 47], Operations: ['64-12=52', '52-5=47'] Exploring Operation: 6+47=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[12, 53], Operations: ['64-6=58', '58-5=53'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,10 unequal: No Solution Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,10 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 3, 83, 16 ]
23
[ "47-3=44", "83-16=67", "67-44=23" ]
Current State: 23:[47, 3, 83, 16], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [83, 16, 44] Generated Node #2: [83, 16, 44] from Operation: 47-3=44 Current State: 23:[83, 16, 44], Operations: ['47-3=44'] Exploring Operation: 83-16=67, Resulting Numbers: [44, 67] Generated Node #3: [44, 67] from Operation: 83-16=67 Current State: 23:[44, 67], Operations: ['47-3=44', '83-16=67'] Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[47, 3, 83, 16], Operations: [] Exploring Operation: 47-16=31, Resulting Numbers: [3, 83, 31] Generated Node #0,0: 23:[3, 83, 31] Operation: 47-16=31 Exploring Operation: 83-47=36, Resulting Numbers: [3, 16, 36] Generated Node #0,1: 23:[3, 16, 36] Operation: 83-47=36 Exploring Operation: 47-3=44, Resulting Numbers: [83, 16, 44] Generated Node #0,2: 23:[83, 16, 44] Operation: 47-3=44 Moving to Node #0,1 Current State: 23:[3, 16, 36], Operations: ['83-47=36'] Exploring Operation: 3+16=19, Resulting Numbers: [36, 19] Generated Node #0,1,0: 23:[36, 19] Operation: 3+16=19 Exploring Operation: 36-3=33, Resulting Numbers: [16, 33] Generated Node #0,1,1: 23:[16, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [16, 12] Generated Node #0,1,2: 23:[16, 12] Operation: 36/3=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[36, 19], Operations: ['83-47=36', '3+16=19'] Exploring Operation: 36*19=684, Resulting Numbers: [684] 684,23 unequal: No Solution Exploring Operation: 36+19=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[16, 33], Operations: ['83-47=36', '36-3=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,23 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,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,1,2 Current State: 23:[16, 12], Operations: ['83-47=36', '36/3=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 16*12=192, Resulting Numbers: [192] 192,23 unequal: No Solution Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,23 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: 23:[3, 83, 31], Operations: ['47-16=31'] Exploring Operation: 83-3=80, Resulting Numbers: [31, 80] Generated Node #0,0,0: 23:[31, 80] Operation: 83-3=80 Exploring Operation: 31-3=28, Resulting Numbers: [83, 28] Generated Node #0,0,1: 23:[83, 28] Operation: 31-3=28 Exploring Operation: 83-31=52, Resulting Numbers: [3, 52] Generated Node #0,0,2: 23:[3, 52] Operation: 83-31=52 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[3, 52], Operations: ['47-16=31', '83-31=52'] Exploring Operation: 3*52=156, Resulting Numbers: [156] 156,23 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,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:[31, 80], Operations: ['47-16=31', '83-3=80'] Exploring Operation: 80-31=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 31*80=2480, Resulting Numbers: [2480] 2480,23 unequal: No Solution Exploring Operation: 31+80=111, Resulting Numbers: [111] 111,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,1 Current State: 23:[83, 28], Operations: ['47-16=31', '31-3=28'] Exploring Operation: 83-28=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 83+28=111, Resulting Numbers: [111] 111,23 unequal: No Solution Exploring Operation: 83*28=2324, Resulting Numbers: [2324] 2324,23 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: 23:[83, 16, 44], Operations: ['47-3=44'] Exploring Operation: 83-44=39, Resulting Numbers: [16, 39] Generated Node #0,2,0: 23:[16, 39] Operation: 83-44=39 Exploring Operation: 83-16=67, Resulting Numbers: [44, 67] Generated Node #0,2,1: 23:[44, 67] Operation: 83-16=67 Exploring Operation: 44-16=28, Resulting Numbers: [83, 28] Generated Node #0,2,2: 23:[83, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[16, 39], Operations: ['47-3=44', '83-44=39'] Exploring Operation: 16+39=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 16*39=624, Resulting Numbers: [624] 624,23 unequal: No Solution Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[47, 3, 83, 16], Operations: [] Exploring Operation: 47-3=44, Resulting Numbers: [83, 16, 44] Generated Node #0,2: 23:[83, 16, 44] Operation: 47-3=44 Moving to Node #0,2 Current State: 23:[83, 16, 44], Operations: ['47-3=44'] Exploring Operation: 83-44=39, Resulting Numbers: [16, 39] Generated Node #0,2,0: 23:[16, 39] Operation: 83-44=39 Moving to Node #0,2,0 Current State: 23:[16, 39], Operations: ['47-3=44', '83-44=39'] Exploring Operation: 39-16=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 69, 43, 60, 99 ]
45
[ "99-69=30", "60/30=2", "43+2=45" ]
Current State: 45:[69, 43, 60, 99], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [43, 60, 30] Generated Node #2: [43, 60, 30] from Operation: 99-69=30 Current State: 45:[43, 60, 30], Operations: ['99-69=30'] Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 60/30=2 Current State: 45:[43, 2], Operations: ['99-69=30', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[69, 43, 60, 99], Operations: [] Exploring Operation: 99-43=56, Resulting Numbers: [69, 60, 56] Generated Node #0,0: 45:[69, 60, 56] Operation: 99-43=56 Exploring Operation: 99-60=39, Resulting Numbers: [69, 43, 39] Generated Node #0,1: 45:[69, 43, 39] Operation: 99-60=39 Exploring Operation: 99-69=30, Resulting Numbers: [43, 60, 30] Generated Node #0,2: 45:[43, 60, 30] Operation: 99-69=30 Exploring Operation: 69-60=9, Resulting Numbers: [43, 99, 9] Generated Node #0,3: 45:[43, 99, 9] Operation: 69-60=9 Moving to Node #0,1 Current State: 45:[69, 43, 39], Operations: ['99-60=39'] Exploring Operation: 43-39=4, Resulting Numbers: [69, 4] Generated Node #0,1,0: 45:[69, 4] Operation: 43-39=4 Exploring Operation: 43+39=82, Resulting Numbers: [69, 82] Generated Node #0,1,1: 45:[69, 82] Operation: 43+39=82 Exploring Operation: 69-39=30, Resulting Numbers: [43, 30] Generated Node #0,1,2: 45:[43, 30] Operation: 69-39=30 Exploring Operation: 69-43=26, Resulting Numbers: [39, 26] Generated Node #0,1,3: 45:[39, 26] Operation: 69-43=26 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[43, 30], Operations: ['99-60=39', '69-39=30'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,45 unequal: No Solution Exploring Operation: 43*30=1290, Resulting Numbers: [1290] 1290,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 45:[39, 26], Operations: ['99-60=39', '69-43=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[69, 4], Operations: ['99-60=39', '43-39=4'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,45 unequal: No Solution Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,45 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[69, 82], Operations: ['99-60=39', '43+39=82'] Exploring Operation: 69*82=5658, Resulting Numbers: [5658] 5658,45 unequal: No Solution Exploring Operation: 69+82=151, Resulting Numbers: [151] 151,45 unequal: No Solution Exploring Operation: 82-69=13, Resulting Numbers: [13] 13,45 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: 45:[43, 60, 30], Operations: ['99-69=30'] Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #0,2,0: 45:[43, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [43, 30] Generated Node #0,2,1: 45:[43, 30] Operation: 60-30=30 Exploring Operation: 60-43=17, Resulting Numbers: [30, 17] Generated Node #0,2,2: 45:[30, 17] Operation: 60-43=17 Exploring Operation: 43-30=13, Resulting Numbers: [60, 13] Generated Node #0,2,3: 45:[60, 13] Operation: 43-30=13 Moving to Node #0,0 Current State: 45:[69, 60, 56], Operations: ['99-43=56'] Exploring Operation: 69-56=13, Resulting Numbers: [60, 13] Generated Node #0,0,0: 45:[60, 13] Operation: 69-56=13 Exploring Operation: 69-60=9, Resulting Numbers: [56, 9] Generated Node #0,0,1: 45:[56, 9] Operation: 69-60=9 Exploring Operation: 69+60=129, Resulting Numbers: [56, 129] Generated Node #0,0,2: 45:[56, 129] Operation: 69+60=129 Exploring Operation: 60-56=4, Resulting Numbers: [69, 4] Generated Node #0,0,3: 45:[69, 4] Operation: 60-56=4 Moving to Node #0,3 Current State: 45:[43, 99, 9], Operations: ['69-60=9'] Exploring Operation: 99/9=11, Resulting Numbers: [43, 11] Generated Node #0,3,0: 45:[43, 11] Operation: 99/9=11 Exploring Operation: 43+9=52, Resulting Numbers: [99, 52] Generated Node #0,3,1: 45:[99, 52] Operation: 43+9=52 Exploring Operation: 99-9=90, Resulting Numbers: [43, 90] Generated Node #0,3,2: 45:[43, 90] Operation: 99-9=90 Exploring Operation: 99-43=56, Resulting Numbers: [9, 56] Generated Node #0,3,3: 45:[9, 56] Operation: 99-43=56 Moving to Node #0,2,0 Current State: 45:[43, 2], Operations: ['99-69=30', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[69, 43, 60, 99], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [43, 60, 30] Generated Node #0,2: 45:[43, 60, 30] Operation: 99-69=30 Moving to Node #0,2 Current State: 45:[43, 60, 30], Operations: ['99-69=30'] Exploring Operation: 60/30=2, Resulting Numbers: [43, 2] Generated Node #0,2,0: 45:[43, 2] Operation: 60/30=2 Moving to Node #0,2,0 Current State: 45:[43, 2], Operations: ['99-69=30', '60/30=2'] Exploring Operation: 43+2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.967882
hs_4
mult_heuristic
[ 33, 19, 20, 51 ]
83
[ "33+19=52", "51-20=31", "52+31=83" ]
Current State: 83:[33, 19, 20, 51], Operations: [] Exploring Operation: 33+19=52, Resulting Numbers: [20, 51, 52] Generated Node #2: [20, 51, 52] from Operation: 33+19=52 Current State: 83:[20, 51, 52], Operations: ['33+19=52'] Exploring Operation: 51-20=31, Resulting Numbers: [52, 31] Generated Node #3: [52, 31] from Operation: 51-20=31 Current State: 83:[52, 31], Operations: ['33+19=52', '51-20=31'] Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[33, 19, 20, 51], Operations: [] Exploring Operation: 33+20=53, Resulting Numbers: [19, 51, 53] Generated Node #0,0: 83:[19, 51, 53] Operation: 33+20=53 Exploring Operation: 33+19=52, Resulting Numbers: [20, 51, 52] Generated Node #0,1: 83:[20, 51, 52] Operation: 33+19=52 Moving to Node #0,0 Current State: 83:[19, 51, 53], Operations: ['33+20=53'] Exploring Operation: 19+51=70, Resulting Numbers: [53, 70] Generated Node #0,0,0: 83:[53, 70] Operation: 19+51=70 Exploring Operation: 19+53=72, Resulting Numbers: [51, 72] Generated Node #0,0,1: 83:[51, 72] Operation: 19+53=72 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[53, 70], Operations: ['33+20=53', '19+51=70'] Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,83 unequal: No Solution Exploring Operation: 53+70=123, Resulting Numbers: [123] 123,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[51, 72], Operations: ['33+20=53', '19+53=72'] Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,83 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,83 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: 83:[20, 51, 52], Operations: ['33+19=52'] Exploring Operation: 20+51=71, Resulting Numbers: [52, 71] Generated Node #0,1,0: 83:[52, 71] Operation: 20+51=71 Exploring Operation: 20+52=72, Resulting Numbers: [51, 72] Generated Node #0,1,1: 83:[51, 72] Operation: 20+52=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[52, 71], Operations: ['33+19=52', '20+51=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 52+71=123, Resulting Numbers: [123] 123,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[51, 72], Operations: ['33+19=52', '20+52=72'] Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 51+72=123, Resulting Numbers: [123] 123,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 51, 30, 8, 60 ]
13
[ "51+30=81", "8+60=68", "81-68=13" ]
Current State: 13:[51, 30, 8, 60], Operations: [] Exploring Operation: 51+30=81, Resulting Numbers: [8, 60, 81] Generated Node #2: [8, 60, 81] from Operation: 51+30=81 Current State: 13:[8, 60, 81], Operations: ['51+30=81'] Exploring Operation: 8+60=68, Resulting Numbers: [81, 68] Generated Node #3: [81, 68] from Operation: 8+60=68 Current State: 13:[81, 68], Operations: ['51+30=81', '8+60=68'] Exploring Operation: 81-68=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[51, 30, 8, 60], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [8, 60, 21] Generated Node #0,0: 13:[8, 60, 21] Operation: 51-30=21 Exploring Operation: 60/30=2, Resulting Numbers: [51, 8, 2] Generated Node #0,1: 13:[51, 8, 2] Operation: 60/30=2 Exploring Operation: 60-51=9, Resulting Numbers: [30, 8, 9] Generated Node #0,2: 13:[30, 8, 9] Operation: 60-51=9 Moving to Node #0,2 Current State: 13:[30, 8, 9], Operations: ['60-51=9'] Exploring Operation: 8+9=17, Resulting Numbers: [30, 17] Generated Node #0,2,0: 13:[30, 17] Operation: 8+9=17 Exploring Operation: 30-8=22, Resulting Numbers: [9, 22] Generated Node #0,2,1: 13:[9, 22] Operation: 30-8=22 Exploring Operation: 30-9=21, Resulting Numbers: [8, 21] Generated Node #0,2,2: 13:[8, 21] Operation: 30-9=21 Moving to Node #0,1 Current State: 13:[51, 8, 2], Operations: ['60/30=2'] Exploring Operation: 51-2=49, Resulting Numbers: [8, 49] Generated Node #0,1,0: 13:[8, 49] Operation: 51-2=49 Exploring Operation: 51-8=43, Resulting Numbers: [2, 43] Generated Node #0,1,1: 13:[2, 43] Operation: 51-8=43 Exploring Operation: 8+2=10, Resulting Numbers: [51, 10] Generated Node #0,1,2: 13:[51, 10] Operation: 8+2=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[8, 49], Operations: ['60/30=2', '51-2=49'] Exploring Operation: 49-8=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 8*49=392, Resulting Numbers: [392] 392,13 unequal: No Solution Exploring Operation: 8+49=57, Resulting Numbers: [57] 57,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[2, 43], Operations: ['60/30=2', '51-8=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,13 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,13 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[51, 10], Operations: ['60/30=2', '8+2=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,13 unequal: No Solution Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,13 unequal: No Solution Exploring Operation: 51*10=510, Resulting Numbers: [510] 510,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 13:[8, 60, 21], Operations: ['51-30=21'] Exploring Operation: 60-21=39, Resulting Numbers: [8, 39] Generated Node #0,0,0: 13:[8, 39] Operation: 60-21=39 Exploring Operation: 21-8=13, Resulting Numbers: [60, 13] Generated Node #0,0,1: 13:[60, 13] Operation: 21-8=13 Exploring Operation: 60-8=52, Resulting Numbers: [21, 52] Generated Node #0,0,2: 13:[21, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[8, 39], Operations: ['51-30=21', '60-21=39'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,13 unequal: No Solution Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,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:[60, 13], Operations: ['51-30=21', '21-8=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 60*13=780, Resulting Numbers: [780] 780,13 unequal: No Solution Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,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:[21, 52], Operations: ['51-30=21', '60-8=52'] Exploring Operation: 21*52=1092, Resulting Numbers: [1092] 1092,13 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 13:[9, 22], Operations: ['60-51=9', '30-8=22'] Exploring Operation: 9*22=198, Resulting Numbers: [198] 198,13 unequal: No Solution Exploring Operation: 9+22=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[51, 30, 8, 60], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [30, 8, 9] Generated Node #0,2: 13:[30, 8, 9] Operation: 60-51=9 Moving to Node #0,2 Current State: 13:[30, 8, 9], Operations: ['60-51=9'] Exploring Operation: 30-8=22, Resulting Numbers: [9, 22] Generated Node #0,2,1: 13:[9, 22] Operation: 30-8=22 Moving to Node #0,2,1 Current State: 13:[9, 22], Operations: ['60-51=9', '30-8=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.967882
hs_3
sum_heuristic
[ 25, 13, 70, 13 ]
95
[ "25+13=38", "70-13=57", "38+57=95" ]
Current State: 95:[25, 13, 70, 13], Operations: [] Exploring Operation: 25+13=38, Resulting Numbers: [70, 38] Generated Node #2: [70, 38] from Operation: 25+13=38 Current State: 95:[70, 38], Operations: ['25+13=38'] Exploring Operation: 70-13=57, Resulting Numbers: [38, 57] Generated Node #3: [38, 57] from Operation: 70-13=57 Current State: 95:[38, 57], Operations: ['25+13=38', '70-13=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[25, 13, 70, 13], Operations: [] Exploring Operation: 70+13=83, Resulting Numbers: [25, 13, 83] Generated Node #0,0: 95:[25, 13, 83] Operation: 70+13=83 Exploring Operation: 25+70=95, Resulting Numbers: [13, 13, 95] Generated Node #0,1: 95:[13, 13, 95] Operation: 25+70=95 Exploring Operation: 13+70=83, Resulting Numbers: [25, 13, 83] Generated Node #0,2: 95:[25, 13, 83] Operation: 13+70=83 Moving to Node #0,1 Current State: 95:[13, 13, 95], Operations: ['25+70=95'] Exploring Operation: 13/13=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 95:[95, 1] Operation: 13/13=1 Exploring Operation: 13-13=0, Resulting Numbers: [95, 0] Generated Node #0,1,1: 95:[95, 0] Operation: 13-13=0 Exploring Operation: 13+13=26, Resulting Numbers: [95, 26] Generated Node #0,1,2: 95:[95, 26] Operation: 13+13=26 Moving to Node #0,0 Current State: 95:[25, 13, 83], Operations: ['70+13=83'] Exploring Operation: 25+83=108, Resulting Numbers: [13, 108] Generated Node #0,0,0: 95:[13, 108] Operation: 25+83=108 Exploring Operation: 25-13=12, Resulting Numbers: [83, 12] Generated Node #0,0,1: 95:[83, 12] Operation: 25-13=12 Exploring Operation: 13+83=96, Resulting Numbers: [25, 96] Generated Node #0,0,2: 95:[25, 96] Operation: 13+83=96 Moving to Node #0,2 Current State: 95:[25, 13, 83], Operations: ['13+70=83'] Exploring Operation: 25+83=108, Resulting Numbers: [13, 108] Generated Node #0,2,0: 95:[13, 108] Operation: 25+83=108 Exploring Operation: 25-13=12, Resulting Numbers: [83, 12] Generated Node #0,2,1: 95:[83, 12] Operation: 25-13=12 Exploring Operation: 13+83=96, Resulting Numbers: [25, 96] Generated Node #0,2,2: 95:[25, 96] Operation: 13+83=96 Moving to Node #0,1,0 Current State: 95:[95, 1], Operations: ['25+70=95', '13/13=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[25, 13, 70, 13], Operations: [] Exploring Operation: 25+70=95, Resulting Numbers: [13, 13, 95] Generated Node #0,1: 95:[13, 13, 95] Operation: 25+70=95 Moving to Node #0,1 Current State: 95:[13, 13, 95], Operations: ['25+70=95'] Exploring Operation: 13/13=1, Resulting Numbers: [95, 1] Generated Node #0,1,0: 95:[95, 1] Operation: 13/13=1 Moving to Node #0,1,0 Current State: 95:[95, 1], Operations: ['25+70=95', '13/13=1'] Exploring Operation: 95/1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 55, 92, 48, 21 ]
10
[ "92-55=37", "48-21=27", "37-27=10" ]
Current State: 10:[55, 92, 48, 21], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [48, 21, 37] Generated Node #2: [48, 21, 37] from Operation: 92-55=37 Current State: 10:[48, 21, 37], Operations: ['92-55=37'] Exploring Operation: 48-21=27, Resulting Numbers: [37, 27] Generated Node #3: [37, 27] from Operation: 48-21=27 Current State: 10:[37, 27], Operations: ['92-55=37', '48-21=27'] Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[55, 92, 48, 21], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [48, 21, 37] Generated Node #0,0: 10:[48, 21, 37] Operation: 92-55=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[48, 21, 37], Operations: ['92-55=37'] Exploring Operation: 48-37=11, Resulting Numbers: [21, 11] Generated Node #0,0,0: 10:[21, 11] Operation: 48-37=11 Moving to Node #0,0,0 Current State: 10:[21, 11], Operations: ['92-55=37', '48-37=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[55, 92, 48, 21], Operations: [] Exploring Operation: 92-55=37, Resulting Numbers: [48, 21, 37] Generated Node #0,0: 10:[48, 21, 37] Operation: 92-55=37 Moving to Node #0,0 Current State: 10:[48, 21, 37], Operations: ['92-55=37'] Exploring Operation: 48-37=11, Resulting Numbers: [21, 11] Generated Node #0,0,0: 10:[21, 11] Operation: 48-37=11 Moving to Node #0,0,0 Current State: 10:[21, 11], Operations: ['92-55=37', '48-37=11'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 26, 88, 25, 2 ]
88
[ "26-25=1", "2-1=1", "88*1=88" ]
Current State: 88:[26, 88, 25, 2], Operations: [] Exploring Operation: 26-25=1, Resulting Numbers: [88, 2, 1] Generated Node #2: [88, 2, 1] from Operation: 26-25=1 Current State: 88:[88, 2, 1], Operations: ['26-25=1'] Exploring Operation: 2-1=1, Resulting Numbers: [88, 1] Generated Node #3: [88, 1] from Operation: 2-1=1 Current State: 88:[88, 1], Operations: ['26-25=1', '2-1=1'] Exploring Operation: 88*1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[26, 88, 25, 2], Operations: [] Exploring Operation: 26-2=24, Resulting Numbers: [88, 25, 24] Generated Node #0,0: 88:[88, 25, 24] Operation: 26-2=24 Exploring Operation: 25-2=23, Resulting Numbers: [26, 88, 23] Generated Node #0,1: 88:[26, 88, 23] Operation: 25-2=23 Exploring Operation: 26-25=1, Resulting Numbers: [88, 2, 1] Generated Node #0,2: 88:[88, 2, 1] Operation: 26-25=1 Exploring Operation: 26+25=51, Resulting Numbers: [88, 2, 51] Generated Node #0,3: 88:[88, 2, 51] Operation: 26+25=51 Exploring Operation: 26/2=13, Resulting Numbers: [88, 25, 13] Generated Node #0,4: 88:[88, 25, 13] Operation: 26/2=13 Moving to Node #0,2 Current State: 88:[88, 2, 1], Operations: ['26-25=1'] Exploring Operation: 2/1=2, Resulting Numbers: [88, 2] Generated Node #0,2,0: 88:[88, 2] Operation: 2/1=2 Exploring Operation: 88/1=88, Resulting Numbers: [2, 88] Generated Node #0,2,1: 88:[2, 88] Operation: 88/1=88 Exploring Operation: 88*1=88, Resulting Numbers: [2, 88] Generated Node #0,2,2: 88:[2, 88] Operation: 88*1=88 Exploring Operation: 88/2=44, Resulting Numbers: [1, 44] Generated Node #0,2,3: 88:[1, 44] Operation: 88/2=44 Exploring Operation: 2*1=2, Resulting Numbers: [88, 2] Generated Node #0,2,4: 88:[88, 2] Operation: 2*1=2 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[88, 2], Operations: ['26-25=1', '2/1=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,88 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,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,2,1 Current State: 88:[2, 88], Operations: ['26-25=1', '88/1=88'] Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,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,2,2 Current State: 88:[2, 88], Operations: ['26-25=1', '88*1=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,88 unequal: No Solution Exploring Operation: 2*88=176, Resulting Numbers: [176] 176,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,2,4 Current State: 88:[88, 2], Operations: ['26-25=1', '2*1=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,88 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,88 unequal: No Solution Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,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,2,3 Current State: 88:[1, 44], Operations: ['26-25=1', '88/2=44'] Exploring Operation: 1+44=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 1*44=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 44/1=44, Resulting Numbers: [44] 44,88 unequal: No Solution Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,88 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: 88:[26, 88, 23], Operations: ['25-2=23'] Exploring Operation: 88-26=62, Resulting Numbers: [23, 62] Generated Node #0,1,0: 88:[23, 62] Operation: 88-26=62 Exploring Operation: 26+88=114, Resulting Numbers: [23, 114] Generated Node #0,1,1: 88:[23, 114] Operation: 26+88=114 Exploring Operation: 26+23=49, Resulting Numbers: [88, 49] Generated Node #0,1,2: 88:[88, 49] Operation: 26+23=49 Exploring Operation: 88-23=65, Resulting Numbers: [26, 65] Generated Node #0,1,3: 88:[26, 65] Operation: 88-23=65 Exploring Operation: 26-23=3, Resulting Numbers: [88, 3] Generated Node #0,1,4: 88:[88, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 88:[88, 3], Operations: ['25-2=23', '26-23=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,88 unequal: No Solution Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,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,1,2 Current State: 88:[88, 49], Operations: ['25-2=23', '26+23=49'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,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,1,0 Current State: 88:[23, 62], Operations: ['25-2=23', '88-26=62'] Exploring Operation: 62-23=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 23+62=85, Resulting Numbers: [85] 85,88 unequal: No Solution Exploring Operation: 23*62=1426, Resulting Numbers: [1426] 1426,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,1,3 Current State: 88:[26, 65], Operations: ['25-2=23', '88-23=65'] Exploring Operation: 26+65=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,88 unequal: No Solution Exploring Operation: 26*65=1690, Resulting Numbers: [1690] 1690,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,1,1 Current State: 88:[23, 114], Operations: ['25-2=23', '26+88=114'] Exploring Operation: 23*114=2622, Resulting Numbers: [2622] 2622,88 unequal: No Solution Exploring Operation: 114-23=91, Resulting Numbers: [91] 91,88 unequal: No Solution Exploring Operation: 23+114=137, Resulting Numbers: [137] 137,88 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: 88:[88, 25, 24], Operations: ['26-2=24'] Exploring Operation: 88-25=63, Resulting Numbers: [24, 63] Generated Node #0,0,0: 88:[24, 63] Operation: 88-25=63 Exploring Operation: 25-24=1, Resulting Numbers: [88, 1] Generated Node #0,0,1: 88:[88, 1] Operation: 25-24=1 Exploring Operation: 88+25=113, Resulting Numbers: [24, 113] Generated Node #0,0,2: 88:[24, 113] Operation: 88+25=113 Exploring Operation: 88-24=64, Resulting Numbers: [25, 64] Generated Node #0,0,3: 88:[25, 64] Operation: 88-24=64 Exploring Operation: 25+24=49, Resulting Numbers: [88, 49] Generated Node #0,0,4: 88:[88, 49] Operation: 25+24=49 Moving to Node #0,4 Current State: 88:[88, 25, 13], Operations: ['26/2=13'] Exploring Operation: 25+13=38, Resulting Numbers: [88, 38] Generated Node #0,4,0: 88:[88, 38] Operation: 25+13=38 Exploring Operation: 88+13=101, Resulting Numbers: [25, 101] Generated Node #0,4,1: 88:[25, 101] Operation: 88+13=101 Exploring Operation: 88-13=75, Resulting Numbers: [25, 75] Generated Node #0,4,2: 88:[25, 75] Operation: 88-13=75 Exploring Operation: 88-25=63, Resulting Numbers: [13, 63] Generated Node #0,4,3: 88:[13, 63] Operation: 88-25=63 Exploring Operation: 25-13=12, Resulting Numbers: [88, 12] Generated Node #0,4,4: 88:[88, 12] Operation: 25-13=12 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[88, 12], Operations: ['26/2=13', '25-13=12'] Exploring Operation: 88-12=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 88*12=1056, Resulting Numbers: [1056] 1056,88 unequal: No Solution Exploring Operation: 88+12=100, Resulting Numbers: [100] 100,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,4,0 Current State: 88:[88, 38], Operations: ['26/2=13', '25+13=38'] Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,88 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,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,4,1 Current State: 88:[25, 101], Operations: ['26/2=13', '88+13=101'] Exploring Operation: 25*101=2525, Resulting Numbers: [2525] 2525,88 unequal: No Solution Exploring Operation: 101-25=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 25+101=126, Resulting Numbers: [126] 126,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,4,2 Current State: 88:[25, 75], Operations: ['26/2=13', '88-13=75'] Exploring Operation: 25+75=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 25*75=1875, Resulting Numbers: [1875] 1875,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,4,3 Current State: 88:[13, 63], Operations: ['26/2=13', '88-25=63'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,88 unequal: No Solution Exploring Operation: 13+63=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 13*63=819, Resulting Numbers: [819] 819,88 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: 88:[88, 2, 51], Operations: ['26+25=51'] Exploring Operation: 88/2=44, Resulting Numbers: [51, 44] Generated Node #0,3,0: 88:[51, 44] Operation: 88/2=44 Exploring Operation: 88-51=37, Resulting Numbers: [2, 37] Generated Node #0,3,1: 88:[2, 37] Operation: 88-51=37 Exploring Operation: 88+2=90, Resulting Numbers: [51, 90] Generated Node #0,3,2: 88:[51, 90] Operation: 88+2=90 Exploring Operation: 51-2=49, Resulting Numbers: [88, 49] Generated Node #0,3,3: 88:[88, 49] Operation: 51-2=49 Exploring Operation: 88-2=86, Resulting Numbers: [51, 86] Generated Node #0,3,4: 88:[51, 86] Operation: 88-2=86 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[88, 49], Operations: ['26+25=51', '51-2=49'] Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,88 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,88 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,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:[51, 44], Operations: ['26+25=51', '88/2=44'] Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,88 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,88 unequal: No Solution Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,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,1 Current State: 88:[2, 37], Operations: ['26+25=51', '88-51=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,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:[51, 90], Operations: ['26+25=51', '88+2=90'] Exploring Operation: 51+90=141, Resulting Numbers: [141] 141,88 unequal: No Solution Exploring Operation: 51*90=4590, Resulting Numbers: [4590] 4590,88 unequal: No Solution Exploring Operation: 90-51=39, Resulting Numbers: [39] 39,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:[51, 86], Operations: ['26+25=51', '88-2=86'] Exploring Operation: 51*86=4386, Resulting Numbers: [4386] 4386,88 unequal: No Solution Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 51+86=137, Resulting Numbers: [137] 137,88 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: 88:[88, 1], Operations: ['26-2=24', '25-24=1'] Exploring Operation: 88-1=87, Resulting Numbers: [87] 87,88 unequal: No Solution Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[26, 88, 25, 2], Operations: [] Exploring Operation: 26-2=24, Resulting Numbers: [88, 25, 24] Generated Node #0,0: 88:[88, 25, 24] Operation: 26-2=24 Moving to Node #0,0 Current State: 88:[88, 25, 24], Operations: ['26-2=24'] Exploring Operation: 25-24=1, Resulting Numbers: [88, 1] Generated Node #0,0,1: 88:[88, 1] Operation: 25-24=1 Moving to Node #0,0,1 Current State: 88:[88, 1], Operations: ['26-2=24', '25-24=1'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.911458
hs_5
sum_heuristic
[ 22, 2, 22, 88 ]
20
[ "22+2=24", "88/22=4", "24-4=20" ]
Current State: 20:[22, 2, 22, 88], Operations: [] Exploring Operation: 22+2=24, Resulting Numbers: [88, 24] Generated Node #2: [88, 24] from Operation: 22+2=24 Current State: 20:[88, 24], Operations: ['22+2=24'] Exploring Operation: 88/22=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 88/22=4 Current State: 20:[24, 4], Operations: ['22+2=24', '88/22=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[22, 2, 22, 88], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [22, 22, 44] Generated Node #0,0: 20:[22, 22, 44] Operation: 88/2=44 Exploring Operation: 88/22=4, Resulting Numbers: [2, 22, 4] Generated Node #0,1: 20:[2, 22, 4] Operation: 88/22=4 Exploring Operation: 88-22=66, Resulting Numbers: [2, 22, 66] Generated Node #0,2: 20:[2, 22, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [22, 2, 4] Generated Node #0,3: 20:[22, 2, 4] Operation: 88/22=4 Moving to Node #0,1 Current State: 20:[2, 22, 4], Operations: ['88/22=4'] Exploring Operation: 4/2=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 4/2=2 Exploring Operation: 22-2=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 20:[4, 20] Operation: 22-2=20 Exploring Operation: 4-2=2, Resulting Numbers: [22, 2] Generated Node #0,1,2: 20:[22, 2] Operation: 4-2=2 Exploring Operation: 22/2=11, Resulting Numbers: [4, 11] Generated Node #0,1,3: 20:[4, 11] Operation: 22/2=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[4, 20], Operations: ['88/22=4', '22-2=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,20 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,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,3 Current State: 20:[4, 11], Operations: ['88/22=4', '22/2=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,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,0 Current State: 20:[22, 2], Operations: ['88/22=4', '4/2=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[22, 2, 22, 88], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [2, 22, 4] Generated Node #0,1: 20:[2, 22, 4] Operation: 88/22=4 Moving to Node #0,1 Current State: 20:[2, 22, 4], Operations: ['88/22=4'] Exploring Operation: 4/2=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 4/2=2 Moving to Node #0,1,0 Current State: 20:[22, 2], Operations: ['88/22=4', '4/2=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_4
sum_heuristic
[ 37, 12, 78, 93 ]
40
[ "37-12=25", "93-78=15", "25+15=40" ]
Current State: 40:[37, 12, 78, 93], Operations: [] Exploring Operation: 37-12=25, Resulting Numbers: [78, 93, 25] Generated Node #2: [78, 93, 25] from Operation: 37-12=25 Current State: 40:[78, 93, 25], Operations: ['37-12=25'] Exploring Operation: 93-78=15, Resulting Numbers: [25, 15] Generated Node #3: [25, 15] from Operation: 93-78=15 Current State: 40:[25, 15], Operations: ['37-12=25', '93-78=15'] Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[37, 12, 78, 93], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [37, 12, 15] Generated Node #0,0: 40:[37, 12, 15] Operation: 93-78=15 Exploring Operation: 78-37=41, Resulting Numbers: [12, 93, 41] Generated Node #0,1: 40:[12, 93, 41] Operation: 78-37=41 Moving to Node #0,0 Current State: 40:[37, 12, 15], Operations: ['93-78=15'] Exploring Operation: 15-12=3, Resulting Numbers: [37, 3] Generated Node #0,0,0: 40:[37, 3] Operation: 15-12=3 Exploring Operation: 37-15=22, Resulting Numbers: [12, 22] Generated Node #0,0,1: 40:[12, 22] Operation: 37-15=22 Moving to Node #0,1 Current State: 40:[12, 93, 41], Operations: ['78-37=41'] Exploring Operation: 93-12=81, Resulting Numbers: [41, 81] Generated Node #0,1,0: 40:[41, 81] Operation: 93-12=81 Exploring Operation: 93-41=52, Resulting Numbers: [12, 52] Generated Node #0,1,1: 40:[12, 52] Operation: 93-41=52 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[12, 52], Operations: ['78-37=41', '93-41=52'] Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,40 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[37, 12, 78, 93], Operations: [] Exploring Operation: 78-37=41, Resulting Numbers: [12, 93, 41] Generated Node #0,1: 40:[12, 93, 41] Operation: 78-37=41 Moving to Node #0,1 Current State: 40:[12, 93, 41], Operations: ['78-37=41'] Exploring Operation: 93-41=52, Resulting Numbers: [12, 52] Generated Node #0,1,1: 40:[12, 52] Operation: 93-41=52 Moving to Node #0,1,1 Current State: 40:[12, 52], Operations: ['78-37=41', '93-41=52'] Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 89, 47, 30, 90 ]
14
[ "89-47=42", "90/30=3", "42/3=14" ]
Current State: 14:[89, 47, 30, 90], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [30, 90, 42] Generated Node #2: [30, 90, 42] from Operation: 89-47=42 Current State: 14:[30, 90, 42], Operations: ['89-47=42'] Exploring Operation: 90/30=3, Resulting Numbers: [42, 3] Generated Node #3: [42, 3] from Operation: 90/30=3 Current State: 14:[42, 3], Operations: ['89-47=42', '90/30=3'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[89, 47, 30, 90], Operations: [] Exploring Operation: 90-89=1, Resulting Numbers: [47, 30, 1] Generated Node #0,0: 14:[47, 30, 1] Operation: 90-89=1 Exploring Operation: 90/30=3, Resulting Numbers: [89, 47, 3] Generated Node #0,1: 14:[89, 47, 3] Operation: 90/30=3 Exploring Operation: 89-47=42, Resulting Numbers: [30, 90, 42] Generated Node #0,2: 14:[30, 90, 42] Operation: 89-47=42 Exploring Operation: 90-47=43, Resulting Numbers: [89, 30, 43] Generated Node #0,3: 14:[89, 30, 43] Operation: 90-47=43 Exploring Operation: 89-30=59, Resulting Numbers: [47, 90, 59] Generated Node #0,4: 14:[47, 90, 59] Operation: 89-30=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[47, 30, 1], Operations: ['90-89=1'] Exploring Operation: 47*1=47, Resulting Numbers: [30, 47] Generated Node #0,0,0: 14:[30, 47] Operation: 47*1=47 Exploring Operation: 47-1=46, Resulting Numbers: [30, 46] Generated Node #0,0,1: 14:[30, 46] Operation: 47-1=46 Exploring Operation: 30-1=29, Resulting Numbers: [47, 29] Generated Node #0,0,2: 14:[47, 29] Operation: 30-1=29 Exploring Operation: 47-30=17, Resulting Numbers: [1, 17] Generated Node #0,0,3: 14:[1, 17] Operation: 47-30=17 Exploring Operation: 47/1=47, Resulting Numbers: [30, 47] Generated Node #0,0,4: 14:[30, 47] Operation: 47/1=47 Moving to Node #0,0,3 Current State: 14:[1, 17], Operations: ['90-89=1', '47-30=17'] Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,2 Current State: 14:[47, 29], Operations: ['90-89=1', '30-1=29'] Exploring Operation: 47+29=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 47*29=1363, Resulting Numbers: [1363] 1363,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[30, 46], Operations: ['90-89=1', '47-1=46'] Exploring Operation: 30*46=1380, Resulting Numbers: [1380] 1380,14 unequal: No Solution Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 46-30=16, Resulting Numbers: [16] 16,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[30, 47], Operations: ['90-89=1', '47*1=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,14 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,14 unequal: No Solution Moving to Node #0,0,4 Current State: 14:[30, 47], Operations: ['90-89=1', '47/1=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,14 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,14 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[89, 47, 3], Operations: ['90/30=3'] Exploring Operation: 89+3=92, Resulting Numbers: [47, 92] Generated Node #0,1,0: 14:[47, 92] Operation: 89+3=92 Exploring Operation: 89-3=86, Resulting Numbers: [47, 86] Generated Node #0,1,1: 14:[47, 86] Operation: 89-3=86 Exploring Operation: 89-47=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 14:[3, 42] Operation: 89-47=42 Exploring Operation: 47-3=44, Resulting Numbers: [89, 44] Generated Node #0,1,3: 14:[89, 44] Operation: 47-3=44 Exploring Operation: 47+3=50, Resulting Numbers: [89, 50] Generated Node #0,1,4: 14:[89, 50] Operation: 47+3=50 Moving to Node #0,1,2 Current State: 14:[3, 42], Operations: ['90/30=3', '89-47=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,14 unequal: No Solution Exploring Operation: 3*42=126, Resulting Numbers: [126] 126,14 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,14 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[89, 47, 30, 90], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [89, 47, 3] Generated Node #0,1: 14:[89, 47, 3] Operation: 90/30=3 Moving to Node #0,1 Current State: 14:[89, 47, 3], Operations: ['90/30=3'] Exploring Operation: 89-47=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 14:[3, 42] Operation: 89-47=42 Moving to Node #0,1,2 Current State: 14:[3, 42], Operations: ['90/30=3', '89-47=42'] Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 94, 72, 41, 78 ]
97
[ "94-72=22", "41+78=119", "119-22=97" ]
Current State: 97:[94, 72, 41, 78], Operations: [] Exploring Operation: 94-72=22, Resulting Numbers: [41, 78, 22] Generated Node #2: [41, 78, 22] from Operation: 94-72=22 Current State: 97:[41, 78, 22], Operations: ['94-72=22'] Exploring Operation: 41+78=119, Resulting Numbers: [22, 119] Generated Node #3: [22, 119] from Operation: 41+78=119 Current State: 97:[22, 119], Operations: ['94-72=22', '41+78=119'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[94, 72, 41, 78], Operations: [] Exploring Operation: 41+78=119, Resulting Numbers: [94, 72, 119] Generated Node #0,0: 97:[94, 72, 119] Operation: 41+78=119 Exploring Operation: 94+41=135, Resulting Numbers: [72, 78, 135] Generated Node #0,1: 97:[72, 78, 135] Operation: 94+41=135 Exploring Operation: 72+41=113, Resulting Numbers: [94, 78, 113] Generated Node #0,2: 97:[94, 78, 113] Operation: 72+41=113 Moving to Node #0,2 Current State: 97:[94, 78, 113], Operations: ['72+41=113'] Exploring Operation: 113-78=35, Resulting Numbers: [94, 35] Generated Node #0,2,0: 97:[94, 35] Operation: 113-78=35 Exploring Operation: 94+78=172, Resulting Numbers: [113, 172] Generated Node #0,2,1: 97:[113, 172] Operation: 94+78=172 Exploring Operation: 94-78=16, Resulting Numbers: [113, 16] Generated Node #0,2,2: 97:[113, 16] Operation: 94-78=16 Moving to Node #0,0 Current State: 97:[94, 72, 119], Operations: ['41+78=119'] Exploring Operation: 119-72=47, Resulting Numbers: [94, 47] Generated Node #0,0,0: 97:[94, 47] Operation: 119-72=47 Exploring Operation: 94+72=166, Resulting Numbers: [119, 166] Generated Node #0,0,1: 97:[119, 166] Operation: 94+72=166 Exploring Operation: 94-72=22, Resulting Numbers: [119, 22] Generated Node #0,0,2: 97:[119, 22] Operation: 94-72=22 Moving to Node #0,1 Current State: 97:[72, 78, 135], Operations: ['94+41=135'] Exploring Operation: 135-72=63, Resulting Numbers: [78, 63] Generated Node #0,1,0: 97:[78, 63] Operation: 135-72=63 Exploring Operation: 135-78=57, Resulting Numbers: [72, 57] Generated Node #0,1,1: 97:[72, 57] Operation: 135-78=57 Exploring Operation: 72+78=150, Resulting Numbers: [135, 150] Generated Node #0,1,2: 97:[135, 150] Operation: 72+78=150 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[78, 63], Operations: ['94+41=135', '135-72=63'] Exploring Operation: 78*63=4914, Resulting Numbers: [4914] 4914,97 unequal: No Solution Exploring Operation: 78-63=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 78+63=141, Resulting Numbers: [141] 141,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[72, 57], Operations: ['94+41=135', '135-78=57'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 72+57=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 72*57=4104, Resulting Numbers: [4104] 4104,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[135, 150], Operations: ['94+41=135', '72+78=150'] Exploring Operation: 150-135=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 135*150=20250, Resulting Numbers: [20250] 20250,97 unequal: No Solution Exploring Operation: 135+150=285, Resulting Numbers: [285] 285,97 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: 97:[94, 47], Operations: ['41+78=119', '119-72=47'] Exploring Operation: 94-47=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 94+47=141, Resulting Numbers: [141] 141,97 unequal: No Solution Exploring Operation: 94/47=2, Resulting Numbers: [2] 2,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[94, 35], Operations: ['72+41=113', '113-78=35'] Exploring Operation: 94+35=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 94*35=3290, Resulting Numbers: [3290] 3290,97 unequal: No Solution Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[119, 166], Operations: ['41+78=119', '94+72=166'] Exploring Operation: 119*166=19754, Resulting Numbers: [19754] 19754,97 unequal: No Solution Exploring Operation: 119+166=285, Resulting Numbers: [285] 285,97 unequal: No Solution Exploring Operation: 166-119=47, Resulting Numbers: [47] 47,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[113, 172], Operations: ['72+41=113', '94+78=172'] Exploring Operation: 113*172=19436, Resulting Numbers: [19436] 19436,97 unequal: No Solution Exploring Operation: 172-113=59, Resulting Numbers: [59] 59,97 unequal: No Solution Exploring Operation: 113+172=285, Resulting Numbers: [285] 285,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[119, 22], Operations: ['41+78=119', '94-72=22'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[94, 72, 41, 78], Operations: [] Exploring Operation: 41+78=119, Resulting Numbers: [94, 72, 119] Generated Node #0,0: 97:[94, 72, 119] Operation: 41+78=119 Moving to Node #0,0 Current State: 97:[94, 72, 119], Operations: ['41+78=119'] Exploring Operation: 94-72=22, Resulting Numbers: [119, 22] Generated Node #0,0,2: 97:[119, 22] Operation: 94-72=22 Moving to Node #0,0,2 Current State: 97:[119, 22], Operations: ['41+78=119', '94-72=22'] Exploring Operation: 119-22=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 11, 46, 25, 17 ]
44
[ "46-25=21", "21-17=4", "11*4=44" ]
Current State: 44:[11, 46, 25, 17], Operations: [] Exploring Operation: 46-25=21, Resulting Numbers: [11, 17, 21] Generated Node #2: [11, 17, 21] from Operation: 46-25=21 Current State: 44:[11, 17, 21], Operations: ['46-25=21'] Exploring Operation: 21-17=4, Resulting Numbers: [11, 4] Generated Node #3: [11, 4] from Operation: 21-17=4 Current State: 44:[11, 4], Operations: ['46-25=21', '21-17=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[11, 46, 25, 17], Operations: [] Exploring Operation: 46-25=21, Resulting Numbers: [11, 17, 21] Generated Node #0,0: 44:[11, 17, 21] Operation: 46-25=21 Exploring Operation: 17-11=6, Resulting Numbers: [46, 25, 6] Generated Node #0,1: 44:[46, 25, 6] Operation: 17-11=6 Exploring Operation: 25+17=42, Resulting Numbers: [11, 46, 42] Generated Node #0,2: 44:[11, 46, 42] Operation: 25+17=42 Exploring Operation: 25-17=8, Resulting Numbers: [11, 46, 8] Generated Node #0,3: 44:[11, 46, 8] Operation: 25-17=8 Moving to Node #0,2 Current State: 44:[11, 46, 42], Operations: ['25+17=42'] Exploring Operation: 11+42=53, Resulting Numbers: [46, 53] Generated Node #0,2,0: 44:[46, 53] Operation: 11+42=53 Exploring Operation: 46-42=4, Resulting Numbers: [11, 4] Generated Node #0,2,1: 44:[11, 4] Operation: 46-42=4 Exploring Operation: 42-11=31, Resulting Numbers: [46, 31] Generated Node #0,2,2: 44:[46, 31] Operation: 42-11=31 Exploring Operation: 46-11=35, Resulting Numbers: [42, 35] Generated Node #0,2,3: 44:[42, 35] Operation: 46-11=35 Moving to Node #0,3 Current State: 44:[11, 46, 8], Operations: ['25-17=8'] Exploring Operation: 11+8=19, Resulting Numbers: [46, 19] Generated Node #0,3,0: 44:[46, 19] Operation: 11+8=19 Exploring Operation: 46+8=54, Resulting Numbers: [11, 54] Generated Node #0,3,1: 44:[11, 54] Operation: 46+8=54 Exploring Operation: 46-8=38, Resulting Numbers: [11, 38] Generated Node #0,3,2: 44:[11, 38] Operation: 46-8=38 Exploring Operation: 11-8=3, Resulting Numbers: [46, 3] Generated Node #0,3,3: 44:[46, 3] Operation: 11-8=3 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 44:[46, 3], Operations: ['25-17=8', '11-8=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 44:[46, 19], Operations: ['25-17=8', '11+8=19'] Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,44 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 44:[11, 38], Operations: ['25-17=8', '46-8=38'] Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,44 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,44 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,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:[11, 54], Operations: ['25-17=8', '46+8=54'] Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,44 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,44 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,44 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: 44:[11, 17, 21], Operations: ['46-25=21'] Exploring Operation: 21-11=10, Resulting Numbers: [17, 10] Generated Node #0,0,0: 44:[17, 10] Operation: 21-11=10 Exploring Operation: 21-17=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 44:[11, 4] Operation: 21-17=4 Exploring Operation: 17+21=38, Resulting Numbers: [11, 38] Generated Node #0,0,2: 44:[11, 38] Operation: 17+21=38 Exploring Operation: 17-11=6, Resulting Numbers: [21, 6] Generated Node #0,0,3: 44:[21, 6] Operation: 17-11=6 Moving to Node #0,1 Current State: 44:[46, 25, 6], Operations: ['17-11=6'] Exploring Operation: 46-6=40, Resulting Numbers: [25, 40] Generated Node #0,1,0: 44:[25, 40] Operation: 46-6=40 Exploring Operation: 25-6=19, Resulting Numbers: [46, 19] Generated Node #0,1,1: 44:[46, 19] Operation: 25-6=19 Exploring Operation: 46-25=21, Resulting Numbers: [6, 21] Generated Node #0,1,2: 44:[6, 21] Operation: 46-25=21 Exploring Operation: 46+6=52, Resulting Numbers: [25, 52] Generated Node #0,1,3: 44:[25, 52] Operation: 46+6=52 Moving to Node #0,2,1 Current State: 44:[11, 4], Operations: ['25+17=42', '46-42=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,44 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[11, 46, 25, 17], Operations: [] Exploring Operation: 25+17=42, Resulting Numbers: [11, 46, 42] Generated Node #0,2: 44:[11, 46, 42] Operation: 25+17=42 Moving to Node #0,2 Current State: 44:[11, 46, 42], Operations: ['25+17=42'] Exploring Operation: 46-42=4, Resulting Numbers: [11, 4] Generated Node #0,2,1: 44:[11, 4] Operation: 46-42=4 Moving to Node #0,2,1 Current State: 44:[11, 4], Operations: ['25+17=42', '46-42=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 41, 41, 40, 71 ]
71
[ "41-41=0", "40*0=0", "71+0=71" ]
Current State: 71:[41, 41, 40, 71], Operations: [] Exploring Operation: 41-41=0, Resulting Numbers: [40, 71, 0] Generated Node #2: [40, 71, 0] from Operation: 41-41=0 Current State: 71:[40, 71, 0], Operations: ['41-41=0'] Exploring Operation: 40*0=0, Resulting Numbers: [71, 0] Generated Node #3: [71, 0] from Operation: 40*0=0 Current State: 71:[71, 0], Operations: ['41-41=0', '40*0=0'] Exploring Operation: 71+0=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[41, 41, 40, 71], Operations: [] Exploring Operation: 41+40=81, Resulting Numbers: [41, 71, 81] Generated Node #0,0: 71:[41, 71, 81] Operation: 41+40=81 Exploring Operation: 41-40=1, Resulting Numbers: [41, 71, 1] Generated Node #0,1: 71:[41, 71, 1] Operation: 41-40=1 Exploring Operation: 41+41=82, Resulting Numbers: [40, 71, 82] Generated Node #0,2: 71:[40, 71, 82] Operation: 41+41=82 Exploring Operation: 41-40=1, Resulting Numbers: [41, 71, 1] Generated Node #0,3: 71:[41, 71, 1] Operation: 41-40=1 Exploring Operation: 41+40=81, Resulting Numbers: [41, 71, 81] Generated Node #0,4: 71:[41, 71, 81] Operation: 41+40=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[41, 71, 81], Operations: ['41+40=81'] Exploring Operation: 81-41=40, Resulting Numbers: [71, 40] Generated Node #0,0,0: 71:[71, 40] Operation: 81-41=40 Exploring Operation: 81-71=10, Resulting Numbers: [41, 10] Generated Node #0,0,1: 71:[41, 10] Operation: 81-71=10 Exploring Operation: 41+81=122, Resulting Numbers: [71, 122] Generated Node #0,0,2: 71:[71, 122] Operation: 41+81=122 Exploring Operation: 71-41=30, Resulting Numbers: [81, 30] Generated Node #0,0,3: 71:[81, 30] Operation: 71-41=30 Exploring Operation: 41+71=112, Resulting Numbers: [81, 112] Generated Node #0,0,4: 71:[81, 112] Operation: 41+71=112 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[71, 40], Operations: ['41+40=81', '81-41=40'] Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,71 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,71 unequal: No Solution No 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: 71:[71, 122], Operations: ['41+40=81', '41+81=122'] Exploring Operation: 71+122=193, Resulting Numbers: [193] 193,71 unequal: No Solution Exploring Operation: 71*122=8662, Resulting Numbers: [8662] 8662,71 unequal: No Solution Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,71 unequal: No Solution No 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: 71:[81, 30], Operations: ['41+40=81', '71-41=30'] Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,71 unequal: No Solution No 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: 71:[81, 112], Operations: ['41+40=81', '41+71=112'] Exploring Operation: 112-81=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 81+112=193, Resulting Numbers: [193] 193,71 unequal: No Solution Exploring Operation: 81*112=9072, Resulting Numbers: [9072] 9072,71 unequal: No Solution No 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: 71:[41, 10], Operations: ['41+40=81', '81-71=10'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,71 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: 71:[41, 71, 81], Operations: ['41+40=81'] Exploring Operation: 71-41=30, Resulting Numbers: [81, 30] Generated Node #0,4,0: 71:[81, 30] Operation: 71-41=30 Exploring Operation: 81-41=40, Resulting Numbers: [71, 40] Generated Node #0,4,1: 71:[71, 40] Operation: 81-41=40 Exploring Operation: 41+71=112, Resulting Numbers: [81, 112] Generated Node #0,4,2: 71:[81, 112] Operation: 41+71=112 Exploring Operation: 81-71=10, Resulting Numbers: [41, 10] Generated Node #0,4,3: 71:[41, 10] Operation: 81-71=10 Exploring Operation: 41+81=122, Resulting Numbers: [71, 122] Generated Node #0,4,4: 71:[71, 122] Operation: 41+81=122 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 71:[71, 40], Operations: ['41+40=81', '81-41=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,71 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,71 unequal: No Solution No 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: 71:[81, 30], Operations: ['41+40=81', '71-41=30'] Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,71 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,71 unequal: No Solution No 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: 71:[81, 112], Operations: ['41+40=81', '41+71=112'] Exploring Operation: 81+112=193, Resulting Numbers: [193] 193,71 unequal: No Solution Exploring Operation: 81*112=9072, Resulting Numbers: [9072] 9072,71 unequal: No Solution Exploring Operation: 112-81=31, Resulting Numbers: [31] 31,71 unequal: No Solution No 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: 71:[71, 122], Operations: ['41+40=81', '41+81=122'] Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 71*122=8662, Resulting Numbers: [8662] 8662,71 unequal: No Solution Exploring Operation: 71+122=193, Resulting Numbers: [193] 193,71 unequal: No Solution No 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: 71:[41, 10], Operations: ['41+40=81', '81-71=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,71 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,71 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: 71:[40, 71, 82], Operations: ['41+41=82'] Exploring Operation: 40+82=122, Resulting Numbers: [71, 122] Generated Node #0,2,0: 71:[71, 122] Operation: 40+82=122 Exploring Operation: 82-71=11, Resulting Numbers: [40, 11] Generated Node #0,2,1: 71:[40, 11] Operation: 82-71=11 Exploring Operation: 40+71=111, Resulting Numbers: [82, 111] Generated Node #0,2,2: 71:[82, 111] Operation: 40+71=111 Exploring Operation: 71-40=31, Resulting Numbers: [82, 31] Generated Node #0,2,3: 71:[82, 31] Operation: 71-40=31 Exploring Operation: 82-40=42, Resulting Numbers: [71, 42] Generated Node #0,2,4: 71:[71, 42] Operation: 82-40=42 Moving to Node #0,2,4 Current State: 71:[71, 42], Operations: ['41+41=82', '82-40=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[82, 111], Operations: ['41+41=82', '40+71=111'] Exploring Operation: 82*111=9102, Resulting Numbers: [9102] 9102,71 unequal: No Solution Exploring Operation: 111-82=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 82+111=193, Resulting Numbers: [193] 193,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[71, 122], Operations: ['41+41=82', '40+82=122'] Exploring Operation: 71+122=193, Resulting Numbers: [193] 193,71 unequal: No Solution Exploring Operation: 122-71=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 71*122=8662, Resulting Numbers: [8662] 8662,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[82, 31], Operations: ['41+41=82', '71-40=31'] Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 82*31=2542, Resulting Numbers: [2542] 2542,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[40, 11], Operations: ['41+41=82', '82-71=11'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,71 unequal: No Solution Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[41, 71, 1], Operations: ['41-40=1'] Exploring Operation: 41+1=42, Resulting Numbers: [71, 42] Generated Node #0,1,0: 71:[71, 42] Operation: 41+1=42 Exploring Operation: 41/1=41, Resulting Numbers: [71, 41] Generated Node #0,1,1: 71:[71, 41] Operation: 41/1=41 Exploring Operation: 71/1=71, Resulting Numbers: [41, 71] Generated Node #0,1,2: 71:[41, 71] Operation: 71/1=71 Exploring Operation: 71*1=71, Resulting Numbers: [41, 71] Generated Node #0,1,3: 71:[41, 71] Operation: 71*1=71 Exploring Operation: 41*1=41, Resulting Numbers: [71, 41] Generated Node #0,1,4: 71:[71, 41] Operation: 41*1=41 Moving to Node #0,1,0 Current State: 71:[71, 42], Operations: ['41-40=1', '41+1=42'] Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,71 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,71 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[41, 71], Operations: ['41-40=1', '71/1=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[71, 41], Operations: ['41-40=1', '41*1=41'] Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[71, 41], Operations: ['41-40=1', '41/1=41'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[41, 71], Operations: ['41-40=1', '71*1=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 71:[41, 71, 1], Operations: ['41-40=1'] Exploring Operation: 41/1=41, Resulting Numbers: [71, 41] Generated Node #0,3,0: 71:[71, 41] Operation: 41/1=41 Exploring Operation: 41+1=42, Resulting Numbers: [71, 42] Generated Node #0,3,1: 71:[71, 42] Operation: 41+1=42 Exploring Operation: 71/1=71, Resulting Numbers: [41, 71] Generated Node #0,3,2: 71:[41, 71] Operation: 71/1=71 Exploring Operation: 71*1=71, Resulting Numbers: [41, 71] Generated Node #0,3,3: 71:[41, 71] Operation: 71*1=71 Exploring Operation: 41*1=41, Resulting Numbers: [71, 41] Generated Node #0,3,4: 71:[71, 41] Operation: 41*1=41 Moving to Node #0,3,1 Current State: 71:[71, 42], Operations: ['41-40=1', '41+1=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,71 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,71 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[41, 71], Operations: ['41-40=1', '71/1=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[71, 41], Operations: ['41-40=1', '41*1=41'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[71, 41], Operations: ['41-40=1', '41/1=41'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 71+41=112, Resulting Numbers: [112] 112,71 unequal: No Solution Exploring Operation: 71*41=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[41, 71], Operations: ['41-40=1', '71*1=71'] Exploring Operation: 71-41=30, Resulting Numbers: [30] 30,71 unequal: No Solution Exploring Operation: 41*71=2911, Resulting Numbers: [2911] 2911,71 unequal: No Solution Exploring Operation: 41+71=112, Resulting Numbers: [112] 112,71 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
[ 97, 12, 4, 47 ]
97
[ "12*4=48", "48-47=1", "97*1=97" ]
Current State: 97:[97, 12, 4, 47], Operations: [] Exploring Operation: 12*4=48, Resulting Numbers: [97, 47, 48] Generated Node #2: [97, 47, 48] from Operation: 12*4=48 Current State: 97:[97, 47, 48], Operations: ['12*4=48'] Exploring Operation: 48-47=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 48-47=1 Current State: 97:[97, 1], Operations: ['12*4=48', '48-47=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[97, 12, 4, 47], Operations: [] Exploring Operation: 12+47=59, Resulting Numbers: [97, 4, 59] Generated Node #0,0: 97:[97, 4, 59] Operation: 12+47=59 Exploring Operation: 12+4=16, Resulting Numbers: [97, 47, 16] Generated Node #0,1: 97:[97, 47, 16] Operation: 12+4=16 Exploring Operation: 12*4=48, Resulting Numbers: [97, 47, 48] Generated Node #0,2: 97:[97, 47, 48] Operation: 12*4=48 Moving to Node #0,2 Current State: 97:[97, 47, 48], Operations: ['12*4=48'] Exploring Operation: 97+47=144, Resulting Numbers: [48, 144] Generated Node #0,2,0: 97:[48, 144] Operation: 97+47=144 Exploring Operation: 97-47=50, Resulting Numbers: [48, 50] Generated Node #0,2,1: 97:[48, 50] Operation: 97-47=50 Exploring Operation: 47+48=95, Resulting Numbers: [97, 95] Generated Node #0,2,2: 97:[97, 95] Operation: 47+48=95 Moving to Node #0,0 Current State: 97:[97, 4, 59], Operations: ['12+47=59'] Exploring Operation: 4+59=63, Resulting Numbers: [97, 63] Generated Node #0,0,0: 97:[97, 63] Operation: 4+59=63 Exploring Operation: 97-4=93, Resulting Numbers: [59, 93] Generated Node #0,0,1: 97:[59, 93] Operation: 97-4=93 Exploring Operation: 97+4=101, Resulting Numbers: [59, 101] Generated Node #0,0,2: 97:[59, 101] Operation: 97+4=101 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[97, 63], Operations: ['12+47=59', '4+59=63'] Exploring Operation: 97+63=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 97-63=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 97*63=6111, Resulting Numbers: [6111] 6111,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[59, 93], Operations: ['12+47=59', '97-4=93'] Exploring Operation: 93-59=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 59+93=152, Resulting Numbers: [152] 152,97 unequal: No Solution Exploring Operation: 59*93=5487, Resulting Numbers: [5487] 5487,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[59, 101], Operations: ['12+47=59', '97+4=101'] Exploring Operation: 59+101=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 59*101=5959, Resulting Numbers: [5959] 5959,97 unequal: No Solution Exploring Operation: 101-59=42, Resulting Numbers: [42] 42,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[97, 47, 16], Operations: ['12+4=16'] Exploring Operation: 97-16=81, Resulting Numbers: [47, 81] Generated Node #0,1,0: 97:[47, 81] Operation: 97-16=81 Exploring Operation: 47+16=63, Resulting Numbers: [97, 63] Generated Node #0,1,1: 97:[97, 63] Operation: 47+16=63 Exploring Operation: 97+16=113, Resulting Numbers: [47, 113] Generated Node #0,1,2: 97:[47, 113] Operation: 97+16=113 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[97, 63], Operations: ['12+4=16', '47+16=63'] Exploring Operation: 97+63=160, Resulting Numbers: [160] 160,97 unequal: No Solution Exploring Operation: 97*63=6111, Resulting Numbers: [6111] 6111,97 unequal: No Solution Exploring Operation: 97-63=34, Resulting Numbers: [34] 34,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[47, 81], Operations: ['12+4=16', '97-16=81'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,97 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[47, 113], Operations: ['12+4=16', '97+16=113'] Exploring Operation: 47*113=5311, Resulting Numbers: [5311] 5311,97 unequal: No Solution Exploring Operation: 113-47=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 47+113=160, Resulting Numbers: [160] 160,97 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: 97:[97, 95], Operations: ['12*4=48', '47+48=95'] Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[48, 144], Operations: ['12*4=48', '97+47=144'] Exploring Operation: 48+144=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 144/48=3, Resulting Numbers: [3] 3,97 unequal: No Solution Exploring Operation: 144-48=96, Resulting Numbers: [96] 96,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[48, 50], Operations: ['12*4=48', '97-47=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 48*50=2400, Resulting Numbers: [2400] 2400,97 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 10, 3, 73, 97 ]
51
[ "73+97=170", "170/10=17", "3*17=51" ]
Current State: 51:[10, 3, 73, 97], Operations: [] Exploring Operation: 73+97=170, Resulting Numbers: [10, 3, 170] Generated Node #2: [10, 3, 170] from Operation: 73+97=170 Current State: 51:[10, 3, 170], Operations: ['73+97=170'] Exploring Operation: 170/10=17, Resulting Numbers: [3, 17] Generated Node #3: [3, 17] from Operation: 170/10=17 Current State: 51:[3, 17], Operations: ['73+97=170', '170/10=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 3, 73, 97], Operations: [] Exploring Operation: 73-10=63, Resulting Numbers: [3, 97, 63] Generated Node #0,0: 51:[3, 97, 63] Operation: 73-10=63 Exploring Operation: 97-73=24, Resulting Numbers: [10, 3, 24] Generated Node #0,1: 51:[10, 3, 24] Operation: 97-73=24 Moving to Node #0,1 Current State: 51:[10, 3, 24], Operations: ['97-73=24'] Exploring Operation: 24-10=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 51:[3, 14] Operation: 24-10=14 Exploring Operation: 10+3=13, Resulting Numbers: [24, 13] Generated Node #0,1,1: 51:[24, 13] Operation: 10+3=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 51:[3, 14], Operations: ['97-73=24', '24-10=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,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,1 Current State: 51:[24, 13], Operations: ['97-73=24', '10+3=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,51 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: 51:[3, 97, 63], Operations: ['73-10=63'] Exploring Operation: 63/3=21, Resulting Numbers: [97, 21] Generated Node #0,0,0: 51:[97, 21] Operation: 63/3=21 Exploring Operation: 97-63=34, Resulting Numbers: [3, 34] Generated Node #0,0,1: 51:[3, 34] Operation: 97-63=34 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[3, 34], Operations: ['73-10=63', '97-63=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,51 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[97, 21], Operations: ['73-10=63', '63/3=21'] Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 99, 7, 20, 19 ]
93
[ "99-7=92", "20-19=1", "92+1=93" ]
Current State: 93:[99, 7, 20, 19], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [20, 19, 92] Generated Node #2: [20, 19, 92] from Operation: 99-7=92 Current State: 93:[20, 19, 92], Operations: ['99-7=92'] Exploring Operation: 20-19=1, Resulting Numbers: [92, 1] Generated Node #3: [92, 1] from Operation: 20-19=1 Current State: 93:[92, 1], Operations: ['99-7=92', '20-19=1'] Exploring Operation: 92+1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[99, 7, 20, 19], Operations: [] Exploring Operation: 20+19=39, Resulting Numbers: [99, 7, 39] Generated Node #0,0: 93:[99, 7, 39] Operation: 20+19=39 Exploring Operation: 7+20=27, Resulting Numbers: [99, 19, 27] Generated Node #0,1: 93:[99, 19, 27] Operation: 7+20=27 Exploring Operation: 20-19=1, Resulting Numbers: [99, 7, 1] Generated Node #0,2: 93:[99, 7, 1] Operation: 20-19=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[99, 7, 1], Operations: ['20-19=1'] Exploring Operation: 7-1=6, Resulting Numbers: [99, 6] Generated Node #0,2,0: 93:[99, 6] Operation: 7-1=6 Exploring Operation: 99-1=98, Resulting Numbers: [7, 98] Generated Node #0,2,1: 93:[7, 98] Operation: 99-1=98 Exploring Operation: 99-7=92, Resulting Numbers: [1, 92] Generated Node #0,2,2: 93:[1, 92] Operation: 99-7=92 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[1, 92], Operations: ['20-19=1', '99-7=92'] Exploring Operation: 92/1=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 1*92=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[99, 7, 20, 19], Operations: [] Exploring Operation: 20-19=1, Resulting Numbers: [99, 7, 1] Generated Node #0,2: 93:[99, 7, 1] Operation: 20-19=1 Moving to Node #0,2 Current State: 93:[99, 7, 1], Operations: ['20-19=1'] Exploring Operation: 99-7=92, Resulting Numbers: [1, 92] Generated Node #0,2,2: 93:[1, 92] Operation: 99-7=92 Moving to Node #0,2,2 Current State: 93:[1, 92], Operations: ['20-19=1', '99-7=92'] Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 41, 20, 26, 5 ]
17
[ "41-26=15", "15/5=3", "20-3=17" ]
Current State: 17:[41, 20, 26, 5], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [20, 5, 15] Generated Node #2: [20, 5, 15] from Operation: 41-26=15 Current State: 17:[20, 5, 15], Operations: ['41-26=15'] Exploring Operation: 15/5=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 15/5=3 Current State: 17:[20, 3], Operations: ['41-26=15', '15/5=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[41, 20, 26, 5], Operations: [] Exploring Operation: 41-26=15, Resulting Numbers: [20, 5, 15] Generated Node #0,0: 17:[20, 5, 15] Operation: 41-26=15 Exploring Operation: 20-5=15, Resulting Numbers: [41, 26, 15] Generated Node #0,1: 17:[41, 26, 15] Operation: 20-5=15 Exploring Operation: 41-20=21, Resulting Numbers: [26, 5, 21] Generated Node #0,2: 17:[26, 5, 21] Operation: 41-20=21 Exploring Operation: 26-5=21, Resulting Numbers: [41, 20, 21] Generated Node #0,3: 17:[41, 20, 21] Operation: 26-5=21 Exploring Operation: 41-5=36, Resulting Numbers: [20, 26, 36] Generated Node #0,4: 17:[20, 26, 36] Operation: 41-5=36 Moving to Node #0,0 Current State: 17:[20, 5, 15], Operations: ['41-26=15'] Exploring Operation: 20/5=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 17:[15, 4] Operation: 20/5=4 Exploring Operation: 15-5=10, Resulting Numbers: [20, 10] Generated Node #0,0,1: 17:[20, 10] Operation: 15-5=10 Exploring Operation: 20-5=15, Resulting Numbers: [15, 15] Generated Node #0,0,2: 17:[15, 15] Operation: 20-5=15 Exploring Operation: 20+5=25, Resulting Numbers: [15, 25] Generated Node #0,0,3: 17:[15, 25] Operation: 20+5=25 Exploring Operation: 5+15=20, Resulting Numbers: [20, 20] Generated Node #0,0,4: 17:[20, 20] Operation: 5+15=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[15, 15], Operations: ['41-26=15', '20-5=15'] Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,17 unequal: No Solution Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[20, 20], Operations: ['41-26=15', '5+15=20'] Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,17 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[20, 10], Operations: ['41-26=15', '15-5=10'] Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[15, 25], Operations: ['41-26=15', '20+5=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 15*25=375, Resulting Numbers: [375] 375,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[15, 4], Operations: ['41-26=15', '20/5=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,17 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,17 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,17 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: 17:[26, 5, 21], Operations: ['41-20=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5, 5] Generated Node #0,2,0: 17:[5, 5] Operation: 26-21=5 Exploring Operation: 26-5=21, Resulting Numbers: [21, 21] Generated Node #0,2,1: 17:[21, 21] Operation: 26-5=21 Exploring Operation: 26+5=31, Resulting Numbers: [21, 31] Generated Node #0,2,2: 17:[21, 31] Operation: 26+5=31 Exploring Operation: 21-5=16, Resulting Numbers: [26, 16] Generated Node #0,2,3: 17:[26, 16] Operation: 21-5=16 Exploring Operation: 5+21=26, Resulting Numbers: [26, 26] Generated Node #0,2,4: 17:[26, 26] Operation: 5+21=26 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 17:[21, 21], Operations: ['41-20=21', '26-5=21'] Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,17 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[26, 16], Operations: ['41-20=21', '21-5=16'] Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,17 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 17:[21, 31], Operations: ['41-20=21', '26+5=31'] Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,17 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 17:[26, 26], Operations: ['41-20=21', '5+21=26'] Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,17 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 17:[5, 5], Operations: ['41-20=21', '26-21=5'] Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,17 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,17 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: 17:[41, 20, 21], Operations: ['26-5=21'] Exploring Operation: 41+21=62, Resulting Numbers: [20, 62] Generated Node #0,3,0: 17:[20, 62] Operation: 41+21=62 Exploring Operation: 41-21=20, Resulting Numbers: [20, 20] Generated Node #0,3,1: 17:[20, 20] Operation: 41-21=20 Exploring Operation: 41-20=21, Resulting Numbers: [21, 21] Generated Node #0,3,2: 17:[21, 21] Operation: 41-20=21 Exploring Operation: 21-20=1, Resulting Numbers: [41, 1] Generated Node #0,3,3: 17:[41, 1] Operation: 21-20=1 Exploring Operation: 41+20=61, Resulting Numbers: [21, 61] Generated Node #0,3,4: 17:[21, 61] Operation: 41+20=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[20, 20], Operations: ['26-5=21', '41-21=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 17:[21, 21], Operations: ['26-5=21', '41-20=21'] Exploring Operation: 21*21=441, Resulting Numbers: [441] 441,17 unequal: No Solution Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 21+21=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 17:[41, 1], Operations: ['26-5=21', '21-20=1'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 41*1=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 41+1=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 17:[20, 62], Operations: ['26-5=21', '41+21=62'] Exploring Operation: 20*62=1240, Resulting Numbers: [1240] 1240,17 unequal: No Solution Exploring Operation: 62-20=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 20+62=82, Resulting Numbers: [82] 82,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 17:[21, 61], Operations: ['26-5=21', '41+20=61'] Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,17 unequal: No Solution Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,17 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: 17:[20, 26, 36], Operations: ['41-5=36'] Exploring Operation: 26-20=6, Resulting Numbers: [36, 6] Generated Node #0,4,0: 17:[36, 6] Operation: 26-20=6 Exploring Operation: 36-26=10, Resulting Numbers: [20, 10] Generated Node #0,4,1: 17:[20, 10] Operation: 36-26=10 Exploring Operation: 20+26=46, Resulting Numbers: [36, 46] Generated Node #0,4,2: 17:[36, 46] Operation: 20+26=46 Exploring Operation: 36-20=16, Resulting Numbers: [26, 16] Generated Node #0,4,3: 17:[26, 16] Operation: 36-20=16 Exploring Operation: 20+36=56, Resulting Numbers: [26, 56] Generated Node #0,4,4: 17:[26, 56] Operation: 20+36=56 Moving to Node #0,1 Current State: 17:[41, 26, 15], Operations: ['20-5=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26, 26] Generated Node #0,1,0: 17:[26, 26] Operation: 41-15=26 Exploring Operation: 41-26=15, Resulting Numbers: [15, 15] Generated Node #0,1,1: 17:[15, 15] Operation: 41-26=15 Exploring Operation: 41+15=56, Resulting Numbers: [26, 56] Generated Node #0,1,2: 17:[26, 56] Operation: 41+15=56 Exploring Operation: 26-15=11, Resulting Numbers: [41, 11] Generated Node #0,1,3: 17:[41, 11] Operation: 26-15=11 Exploring Operation: 26+15=41, Resulting Numbers: [41, 41] Generated Node #0,1,4: 17:[41, 41] Operation: 26+15=41 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[15, 15], Operations: ['20-5=15', '41-26=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 15-15=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 15*15=225, Resulting Numbers: [225] 225,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[26, 26], Operations: ['20-5=15', '41-15=26'] Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,17 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[41, 11], Operations: ['20-5=15', '26-15=11'] Exploring Operation: 41+11=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 41*11=451, Resulting Numbers: [451] 451,17 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[26, 56], Operations: ['20-5=15', '41+15=56'] Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,17 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[41, 41], Operations: ['20-5=15', '26+15=41'] Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,17 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,17 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 17:[20, 10], Operations: ['41-5=36', '36-26=10'] Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,17 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[26, 16], Operations: ['41-5=36', '36-20=16'] Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[36, 6], Operations: ['41-5=36', '26-20=6'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,17 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,17 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[36, 46], Operations: ['41-5=36', '20+26=46'] Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,17 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[26, 56], Operations: ['41-5=36', '20+36=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,17 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,17 unequal: No Solution Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 63, 79, 81 ]
77
[ "81-63=18", "18/9=2", "79-2=77" ]
Current State: 77:[9, 63, 79, 81], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [9, 79, 18] Generated Node #2: [9, 79, 18] from Operation: 81-63=18 Current State: 77:[9, 79, 18], Operations: ['81-63=18'] Exploring Operation: 18/9=2, Resulting Numbers: [79, 2] Generated Node #3: [79, 2] from Operation: 18/9=2 Current State: 77:[79, 2], Operations: ['81-63=18', '18/9=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[9, 63, 79, 81], Operations: [] Exploring Operation: 79-63=16, Resulting Numbers: [9, 81, 16] Generated Node #0,0: 77:[9, 81, 16] Operation: 79-63=16 Exploring Operation: 63/9=7, Resulting Numbers: [79, 81, 7] Generated Node #0,1: 77:[79, 81, 7] Operation: 63/9=7 Exploring Operation: 9+63=72, Resulting Numbers: [79, 81, 72] Generated Node #0,2: 77:[79, 81, 72] Operation: 9+63=72 Moving to Node #0,1 Current State: 77:[79, 81, 7], Operations: ['63/9=7'] Exploring Operation: 81-79=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 77:[7, 2] Operation: 81-79=2 Exploring Operation: 81-7=74, Resulting Numbers: [79, 74] Generated Node #0,1,1: 77:[79, 74] Operation: 81-7=74 Exploring Operation: 79-7=72, Resulting Numbers: [81, 72] Generated Node #0,1,2: 77:[81, 72] Operation: 79-7=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[7, 2], Operations: ['63/9=7', '81-79=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,77 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[79, 74], Operations: ['63/9=7', '81-7=74'] Exploring Operation: 79+74=153, Resulting Numbers: [153] 153,77 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 79*74=5846, Resulting Numbers: [5846] 5846,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[81, 72], Operations: ['63/9=7', '79-7=72'] Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,77 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,77 unequal: No Solution Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 77:[9, 81, 16], Operations: ['79-63=16'] Exploring Operation: 81/9=9, Resulting Numbers: [16, 9] Generated Node #0,0,0: 77:[16, 9] Operation: 81/9=9 Exploring Operation: 16-9=7, Resulting Numbers: [81, 7] Generated Node #0,0,1: 77:[81, 7] Operation: 16-9=7 Exploring Operation: 81-9=72, Resulting Numbers: [16, 72] Generated Node #0,0,2: 77:[16, 72] Operation: 81-9=72 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[81, 7], Operations: ['79-63=16', '16-9=7'] Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,77 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[16, 9], Operations: ['79-63=16', '81/9=9'] Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,77 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[16, 72], Operations: ['79-63=16', '81-9=72'] Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,77 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 77:[79, 81, 72], Operations: ['9+63=72'] Exploring Operation: 81-79=2, Resulting Numbers: [72, 2] Generated Node #0,2,0: 77:[72, 2] Operation: 81-79=2 Exploring Operation: 81-72=9, Resulting Numbers: [79, 9] Generated Node #0,2,1: 77:[79, 9] Operation: 81-72=9 Exploring Operation: 79-72=7, Resulting Numbers: [81, 7] Generated Node #0,2,2: 77:[81, 7] Operation: 79-72=7 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[79, 9], Operations: ['9+63=72', '81-72=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,77 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[81, 7], Operations: ['9+63=72', '79-72=7'] Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,77 unequal: No Solution Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,77 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[72, 2], Operations: ['9+63=72', '81-79=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,77 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 55, 13, 63, 92 ]
13
[ "55-13=42", "92-63=29", "42-29=13" ]
Current State: 13:[55, 13, 63, 92], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [63, 92, 42] Generated Node #2: [63, 92, 42] from Operation: 55-13=42 Current State: 13:[63, 92, 42], Operations: ['55-13=42'] Exploring Operation: 92-63=29, Resulting Numbers: [42, 29] Generated Node #3: [42, 29] from Operation: 92-63=29 Current State: 13:[42, 29], Operations: ['55-13=42', '92-63=29'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[55, 13, 63, 92], Operations: [] Exploring Operation: 55-13=42, Resulting Numbers: [63, 92, 42] Generated Node #0,0: 13:[63, 92, 42] Operation: 55-13=42 Exploring Operation: 92-55=37, Resulting Numbers: [13, 63, 37] Generated Node #0,1: 13:[13, 63, 37] Operation: 92-55=37 Exploring Operation: 63-55=8, Resulting Numbers: [13, 92, 8] Generated Node #0,2: 13:[13, 92, 8] Operation: 63-55=8 Exploring Operation: 92-63=29, Resulting Numbers: [55, 13, 29] Generated Node #0,3: 13:[55, 13, 29] Operation: 92-63=29 Exploring Operation: 63-13=50, Resulting Numbers: [55, 92, 50] Generated Node #0,4: 13:[55, 92, 50] Operation: 63-13=50 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[55, 13, 29], Operations: ['92-63=29'] Exploring Operation: 55+29=84, Resulting Numbers: [13, 84] Generated Node #0,3,0: 13:[13, 84] Operation: 55+29=84 Exploring Operation: 55-29=26, Resulting Numbers: [13, 26] Generated Node #0,3,1: 13:[13, 26] Operation: 55-29=26 Exploring Operation: 55-13=42, Resulting Numbers: [29, 42] Generated Node #0,3,2: 13:[29, 42] Operation: 55-13=42 Exploring Operation: 55+13=68, Resulting Numbers: [29, 68] Generated Node #0,3,3: 13:[29, 68] Operation: 55+13=68 Exploring Operation: 29-13=16, Resulting Numbers: [55, 16] Generated Node #0,3,4: 13:[55, 16] Operation: 29-13=16 Moving to Node #0,3,1 Current State: 13:[13, 26], Operations: ['92-63=29', '55-29=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,13 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,13 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[55, 13, 63, 92], Operations: [] Exploring Operation: 92-63=29, Resulting Numbers: [55, 13, 29] Generated Node #0,3: 13:[55, 13, 29] Operation: 92-63=29 Moving to Node #0,3 Current State: 13:[55, 13, 29], Operations: ['92-63=29'] Exploring Operation: 55-29=26, Resulting Numbers: [13, 26] Generated Node #0,3,1: 13:[13, 26] Operation: 55-29=26 Moving to Node #0,3,1 Current State: 13:[13, 26], Operations: ['92-63=29', '55-29=26'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 56, 31, 35, 35 ]
95
[ "56-31=25", "35+35=70", "25+70=95" ]
Current State: 95:[56, 31, 35, 35], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [35, 35, 25] Generated Node #2: [35, 35, 25] from Operation: 56-31=25 Current State: 95:[35, 35, 25], Operations: ['56-31=25'] Exploring Operation: 35+35=70, Resulting Numbers: [25, 70] Generated Node #3: [25, 70] from Operation: 35+35=70 Current State: 95:[25, 70], Operations: ['56-31=25', '35+35=70'] Exploring Operation: 25+70=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[56, 31, 35, 35], Operations: [] Exploring Operation: 56-35=21, Resulting Numbers: [31, 35, 21] Generated Node #0,0: 95:[31, 35, 21] Operation: 56-35=21 Moving to Node #0,0 Current State: 95:[31, 35, 21], Operations: ['56-35=21'] Exploring Operation: 35-31=4, Resulting Numbers: [21, 4] Generated Node #0,0,0: 95:[21, 4] Operation: 35-31=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[21, 4], Operations: ['56-35=21', '35-31=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,95 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
[ 29, 88, 54, 18 ]
81
[ "29+88=117", "54-18=36", "117-36=81" ]
Current State: 81:[29, 88, 54, 18], Operations: [] Exploring Operation: 29+88=117, Resulting Numbers: [54, 18, 117] Generated Node #2: [54, 18, 117] from Operation: 29+88=117 Current State: 81:[54, 18, 117], Operations: ['29+88=117'] Exploring Operation: 54-18=36, Resulting Numbers: [117, 36] Generated Node #3: [117, 36] from Operation: 54-18=36 Current State: 81:[117, 36], Operations: ['29+88=117', '54-18=36'] Exploring Operation: 117-36=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 88, 54, 18], Operations: [] Exploring Operation: 54/18=3, Resulting Numbers: [29, 88, 3] Generated Node #0,0: 81:[29, 88, 3] Operation: 54/18=3 Exploring Operation: 29+54=83, Resulting Numbers: [88, 18, 83] Generated Node #0,1: 81:[88, 18, 83] Operation: 29+54=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[29, 88, 3], Operations: ['54/18=3'] Exploring Operation: 29-3=26, Resulting Numbers: [88, 26] Generated Node #0,0,0: 81:[88, 26] Operation: 29-3=26 Exploring Operation: 88-3=85, Resulting Numbers: [29, 85] Generated Node #0,0,1: 81:[29, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[29, 85], Operations: ['54/18=3', '88-3=85'] Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,81 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[88, 26], Operations: ['54/18=3', '29-3=26'] Exploring Operation: 88+26=114, Resulting Numbers: [114] 114,81 unequal: No Solution Exploring Operation: 88-26=62, Resulting Numbers: [62] 62,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[88, 18, 83], Operations: ['29+54=83'] Exploring Operation: 88-83=5, Resulting Numbers: [18, 5] Generated Node #0,1,0: 81:[18, 5] Operation: 88-83=5 Exploring Operation: 88-18=70, Resulting Numbers: [83, 70] Generated Node #0,1,1: 81:[83, 70] Operation: 88-18=70 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[18, 5], Operations: ['29+54=83', '88-83=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[83, 70], Operations: ['29+54=83', '88-18=70'] Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,81 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 32, 35, 13, 88 ]
49
[ "35-32=3", "13*3=39", "88-39=49" ]
Current State: 49:[32, 35, 13, 88], Operations: [] Exploring Operation: 35-32=3, Resulting Numbers: [13, 88, 3] Generated Node #2: [13, 88, 3] from Operation: 35-32=3 Current State: 49:[13, 88, 3], Operations: ['35-32=3'] Exploring Operation: 13*3=39, Resulting Numbers: [88, 39] Generated Node #3: [88, 39] from Operation: 13*3=39 Current State: 49:[88, 39], Operations: ['35-32=3', '13*3=39'] Exploring Operation: 88-39=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[32, 35, 13, 88], Operations: [] Exploring Operation: 88-35=53, Resulting Numbers: [32, 13, 53] Generated Node #0,0: 49:[32, 13, 53] Operation: 88-35=53 Exploring Operation: 88-32=56, Resulting Numbers: [35, 13, 56] Generated Node #0,1: 49:[35, 13, 56] Operation: 88-32=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[32, 13, 53], Operations: ['88-35=53'] Exploring Operation: 32-13=19, Resulting Numbers: [53, 19] Generated Node #0,0,0: 49:[53, 19] Operation: 32-13=19 Exploring Operation: 32+13=45, Resulting Numbers: [53, 45] Generated Node #0,0,1: 49:[53, 45] Operation: 32+13=45 Moving to Node #0,0,1 Current State: 49:[53, 45], Operations: ['88-35=53', '32+13=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[53, 19], Operations: ['88-35=53', '32-13=19'] Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[35, 13, 56], Operations: ['88-32=56'] Exploring Operation: 35+13=48, Resulting Numbers: [56, 48] Generated Node #0,1,0: 49:[56, 48] Operation: 35+13=48 Exploring Operation: 56-35=21, Resulting Numbers: [13, 21] Generated Node #0,1,1: 49:[13, 21] Operation: 56-35=21 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[56, 48], Operations: ['88-32=56', '35+13=48'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 56+48=104, Resulting Numbers: [104] 104,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[13, 21], Operations: ['88-32=56', '56-35=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,49 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 63, 15, 72 ]
42
[ "63-48=15", "72-15=57", "57-15=42" ]
Current State: 42:[48, 63, 15, 72], Operations: [] Exploring Operation: 63-48=15, Resulting Numbers: [15, 72, 15] Generated Node #2: [15, 72, 15] from Operation: 63-48=15 Current State: 42:[15, 72, 15], Operations: ['63-48=15'] Exploring Operation: 72-15=57, Resulting Numbers: [57] 57,42 equal: Goal Reached Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[48, 63, 15, 72], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [48, 15, 9] Generated Node #0,0: 42:[48, 15, 9] Operation: 72-63=9 Exploring Operation: 72-48=24, Resulting Numbers: [63, 15, 24] Generated Node #0,1: 42:[63, 15, 24] Operation: 72-48=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[48, 15, 9], Operations: ['72-63=9'] Exploring Operation: 48-9=39, Resulting Numbers: [15, 39] Generated Node #0,0,0: 42:[15, 39] Operation: 48-9=39 Exploring Operation: 15-9=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 42:[48, 6] Operation: 15-9=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[15, 39], Operations: ['72-63=9', '48-9=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,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:[48, 6], Operations: ['72-63=9', '15-9=6'] Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,42 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[48, 63, 15, 72], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [48, 15, 9] Generated Node #0,0: 42:[48, 15, 9] Operation: 72-63=9 Moving to Node #0,0 Current State: 42:[48, 15, 9], Operations: ['72-63=9'] Exploring Operation: 15-9=6, Resulting Numbers: [48, 6] Generated Node #0,0,1: 42:[48, 6] Operation: 15-9=6 Moving to Node #0,0,1 Current State: 42:[48, 6], Operations: ['72-63=9', '15-9=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic