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
[ 73, 16, 44, 28 ]
73
[ "73+16=89", "44-28=16", "89-16=73" ]
Current State: 73:[73, 16, 44, 28], Operations: [] Exploring Operation: 73+16=89, Resulting Numbers: [44, 28, 89] Generated Node #2: [44, 28, 89] from Operation: 73+16=89 Current State: 73:[44, 28, 89], Operations: ['73+16=89'] Exploring Operation: 44-28=16, Resulting Numbers: [89, 16] Generated Node #3: [89, 16] from Operation: 44-28=16 Current State: 73:[89, 16], Operations: ['73+16=89', '44-28=16'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[73, 16, 44, 28], Operations: [] Exploring Operation: 16+44=60, Resulting Numbers: [73, 28, 60] Generated Node #0,0: 73:[73, 28, 60] Operation: 16+44=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[73, 28, 60], Operations: ['16+44=60'] Exploring Operation: 28+60=88, Resulting Numbers: [73, 88] Generated Node #0,0,0: 73:[73, 88] Operation: 28+60=88 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[73, 88], Operations: ['16+44=60', '28+60=88'] Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 43, 34, 65, 4 ]
16
[ "43+34=77", "65-4=61", "77-61=16" ]
Current State: 16:[43, 34, 65, 4], Operations: [] Exploring Operation: 43+34=77, Resulting Numbers: [65, 4, 77] Generated Node #2: [65, 4, 77] from Operation: 43+34=77 Current State: 16:[65, 4, 77], Operations: ['43+34=77'] Exploring Operation: 65-4=61, Resulting Numbers: [77, 61] Generated Node #3: [77, 61] from Operation: 65-4=61 Current State: 16:[77, 61], Operations: ['43+34=77', '65-4=61'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[43, 34, 65, 4], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [34, 4, 22] Generated Node #0,0: 16:[34, 4, 22] Operation: 65-43=22 Exploring Operation: 43-34=9, Resulting Numbers: [65, 4, 9] Generated Node #0,1: 16:[65, 4, 9] Operation: 43-34=9 Exploring Operation: 43-4=39, Resulting Numbers: [34, 65, 39] Generated Node #0,2: 16:[34, 65, 39] Operation: 43-4=39 Exploring Operation: 65-34=31, Resulting Numbers: [43, 4, 31] Generated Node #0,3: 16:[43, 4, 31] Operation: 65-34=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[34, 4, 22], Operations: ['65-43=22'] Exploring Operation: 34-22=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 16:[4, 12] Operation: 34-22=12 Exploring Operation: 34-4=30, Resulting Numbers: [22, 30] Generated Node #0,0,1: 16:[22, 30] Operation: 34-4=30 Exploring Operation: 34+4=38, Resulting Numbers: [22, 38] Generated Node #0,0,2: 16:[22, 38] Operation: 34+4=38 Exploring Operation: 22-4=18, Resulting Numbers: [34, 18] Generated Node #0,0,3: 16:[34, 18] Operation: 22-4=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[4, 12], Operations: ['65-43=22', '34-22=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[43, 34, 65, 4], Operations: [] Exploring Operation: 65-43=22, Resulting Numbers: [34, 4, 22] Generated Node #0,0: 16:[34, 4, 22] Operation: 65-43=22 Moving to Node #0,0 Current State: 16:[34, 4, 22], Operations: ['65-43=22'] Exploring Operation: 34-22=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 16:[4, 12] Operation: 34-22=12 Moving to Node #0,0,0 Current State: 16:[4, 12], Operations: ['65-43=22', '34-22=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 23, 31, 80, 66 ]
22
[ "31-23=8", "80-66=14", "8+14=22" ]
Current State: 22:[23, 31, 80, 66], Operations: [] Exploring Operation: 31-23=8, Resulting Numbers: [80, 66, 8] Generated Node #2: [80, 66, 8] from Operation: 31-23=8 Current State: 22:[80, 66, 8], Operations: ['31-23=8'] Exploring Operation: 80-66=14, Resulting Numbers: [8, 14] Generated Node #3: [8, 14] from Operation: 80-66=14 Current State: 22:[8, 14], Operations: ['31-23=8', '80-66=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[23, 31, 80, 66], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [23, 31, 14] Generated Node #0,0: 22:[23, 31, 14] Operation: 80-66=14 Moving to Node #0,0 Current State: 22:[23, 31, 14], Operations: ['80-66=14'] Exploring Operation: 31-23=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 22:[14, 8] Operation: 31-23=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[14, 8], Operations: ['80-66=14', '31-23=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[23, 31, 80, 66], Operations: [] Exploring Operation: 80-66=14, Resulting Numbers: [23, 31, 14] Generated Node #0,0: 22:[23, 31, 14] Operation: 80-66=14 Moving to Node #0,0 Current State: 22:[23, 31, 14], Operations: ['80-66=14'] Exploring Operation: 31-23=8, Resulting Numbers: [14, 8] Generated Node #0,0,0: 22:[14, 8] Operation: 31-23=8 Moving to Node #0,0,0 Current State: 22:[14, 8], Operations: ['80-66=14', '31-23=8'] Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 86, 48, 45, 94 ]
52
[ "86+94=180", "180/45=4", "48+4=52" ]
Current State: 52:[86, 48, 45, 94], Operations: [] Exploring Operation: 86+94=180, Resulting Numbers: [48, 45, 180] Generated Node #2: [48, 45, 180] from Operation: 86+94=180 Current State: 52:[48, 45, 180], Operations: ['86+94=180'] Exploring Operation: 180/45=4, Resulting Numbers: [48, 4] Generated Node #3: [48, 4] from Operation: 180/45=4 Current State: 52:[48, 4], Operations: ['86+94=180', '180/45=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[86, 48, 45, 94], Operations: [] Exploring Operation: 94-86=8, Resulting Numbers: [48, 45, 8] Generated Node #0,0: 52:[48, 45, 8] Operation: 94-86=8 Exploring Operation: 86-48=38, Resulting Numbers: [45, 94, 38] Generated Node #0,1: 52:[45, 94, 38] Operation: 86-48=38 Exploring Operation: 86-45=41, Resulting Numbers: [48, 94, 41] Generated Node #0,2: 52:[48, 94, 41] Operation: 86-45=41 Exploring Operation: 94-45=49, Resulting Numbers: [86, 48, 49] Generated Node #0,3: 52:[86, 48, 49] Operation: 94-45=49 Exploring Operation: 94-48=46, Resulting Numbers: [86, 45, 46] Generated Node #0,4: 52:[86, 45, 46] Operation: 94-48=46 Moving to Node #0,0 Current State: 52:[48, 45, 8], Operations: ['94-86=8'] Exploring Operation: 45-8=37, Resulting Numbers: [48, 37] Generated Node #0,0,0: 52:[48, 37] Operation: 45-8=37 Exploring Operation: 48+8=56, Resulting Numbers: [45, 56] Generated Node #0,0,1: 52:[45, 56] Operation: 48+8=56 Exploring Operation: 45+8=53, Resulting Numbers: [48, 53] Generated Node #0,0,2: 52:[48, 53] Operation: 45+8=53 Exploring Operation: 48/8=6, Resulting Numbers: [45, 6] Generated Node #0,0,3: 52:[45, 6] Operation: 48/8=6 Exploring Operation: 48-45=3, Resulting Numbers: [8, 3] Generated Node #0,0,4: 52:[8, 3] Operation: 48-45=3 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[48, 53], Operations: ['94-86=8', '45+8=53'] Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 52:[8, 3], Operations: ['94-86=8', '48-45=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[45, 6], Operations: ['94-86=8', '48/8=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,52 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[45, 56], Operations: ['94-86=8', '48+8=56'] Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,52 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[48, 37], Operations: ['94-86=8', '45-8=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,52 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: 52:[86, 48, 49], Operations: ['94-45=49'] Exploring Operation: 48+49=97, Resulting Numbers: [86, 97] Generated Node #0,3,0: 52:[86, 97] Operation: 48+49=97 Exploring Operation: 86+48=134, Resulting Numbers: [49, 134] Generated Node #0,3,1: 52:[49, 134] Operation: 86+48=134 Exploring Operation: 86-48=38, Resulting Numbers: [49, 38] Generated Node #0,3,2: 52:[49, 38] Operation: 86-48=38 Exploring Operation: 49-48=1, Resulting Numbers: [86, 1] Generated Node #0,3,3: 52:[86, 1] Operation: 49-48=1 Exploring Operation: 86-49=37, Resulting Numbers: [48, 37] Generated Node #0,3,4: 52:[48, 37] Operation: 86-49=37 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[49, 38], Operations: ['94-45=49', '86-48=38'] Exploring Operation: 49*38=1862, Resulting Numbers: [1862] 1862,52 unequal: No Solution Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 49+38=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[48, 37], Operations: ['94-45=49', '86-49=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,52 unequal: No Solution Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[86, 1], Operations: ['94-45=49', '49-48=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[86, 97], Operations: ['94-45=49', '48+49=97'] Exploring Operation: 97-86=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 86*97=8342, Resulting Numbers: [8342] 8342,52 unequal: No Solution Exploring Operation: 86+97=183, Resulting Numbers: [183] 183,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[49, 134], Operations: ['94-45=49', '86+48=134'] Exploring Operation: 49*134=6566, Resulting Numbers: [6566] 6566,52 unequal: No Solution Exploring Operation: 49+134=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 134-49=85, Resulting Numbers: [85] 85,52 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: 52:[86, 45, 46], Operations: ['94-48=46'] Exploring Operation: 86-46=40, Resulting Numbers: [45, 40] Generated Node #0,4,0: 52:[45, 40] Operation: 86-46=40 Exploring Operation: 86+45=131, Resulting Numbers: [46, 131] Generated Node #0,4,1: 52:[46, 131] Operation: 86+45=131 Exploring Operation: 46-45=1, Resulting Numbers: [86, 1] Generated Node #0,4,2: 52:[86, 1] Operation: 46-45=1 Exploring Operation: 45+46=91, Resulting Numbers: [86, 91] Generated Node #0,4,3: 52:[86, 91] Operation: 45+46=91 Exploring Operation: 86-45=41, Resulting Numbers: [46, 41] Generated Node #0,4,4: 52:[46, 41] Operation: 86-45=41 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 52:[46, 41], Operations: ['94-48=46', '86-45=41'] Exploring Operation: 46+41=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 46*41=1886, Resulting Numbers: [1886] 1886,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 52:[45, 40], Operations: ['94-48=46', '86-46=40'] Exploring Operation: 45-40=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 45*40=1800, Resulting Numbers: [1800] 1800,52 unequal: No Solution Exploring Operation: 45+40=85, Resulting Numbers: [85] 85,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 52:[86, 1], Operations: ['94-48=46', '46-45=1'] Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 52:[86, 91], Operations: ['94-48=46', '45+46=91'] Exploring Operation: 86*91=7826, Resulting Numbers: [7826] 7826,52 unequal: No Solution Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 86+91=177, Resulting Numbers: [177] 177,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 52:[46, 131], Operations: ['94-48=46', '86+45=131'] Exploring Operation: 131-46=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 46*131=6026, Resulting Numbers: [6026] 6026,52 unequal: No Solution Exploring Operation: 46+131=177, Resulting Numbers: [177] 177,52 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: 52:[48, 94, 41], Operations: ['86-45=41'] Exploring Operation: 48-41=7, Resulting Numbers: [94, 7] Generated Node #0,2,0: 52:[94, 7] Operation: 48-41=7 Exploring Operation: 94+41=135, Resulting Numbers: [48, 135] Generated Node #0,2,1: 52:[48, 135] Operation: 94+41=135 Exploring Operation: 94-48=46, Resulting Numbers: [41, 46] Generated Node #0,2,2: 52:[41, 46] Operation: 94-48=46 Exploring Operation: 94-41=53, Resulting Numbers: [48, 53] Generated Node #0,2,3: 52:[48, 53] Operation: 94-41=53 Exploring Operation: 48+41=89, Resulting Numbers: [94, 89] Generated Node #0,2,4: 52:[94, 89] Operation: 48+41=89 Moving to Node #0,1 Current State: 52:[45, 94, 38], Operations: ['86-48=38'] Exploring Operation: 94+38=132, Resulting Numbers: [45, 132] Generated Node #0,1,0: 52:[45, 132] Operation: 94+38=132 Exploring Operation: 94-38=56, Resulting Numbers: [45, 56] Generated Node #0,1,1: 52:[45, 56] Operation: 94-38=56 Exploring Operation: 45+38=83, Resulting Numbers: [94, 83] Generated Node #0,1,2: 52:[94, 83] Operation: 45+38=83 Exploring Operation: 94-45=49, Resulting Numbers: [38, 49] Generated Node #0,1,3: 52:[38, 49] Operation: 94-45=49 Exploring Operation: 45-38=7, Resulting Numbers: [94, 7] Generated Node #0,1,4: 52:[94, 7] Operation: 45-38=7 Moving to Node #0,2,3 Current State: 52:[48, 53], Operations: ['86-45=41', '94-41=53'] Exploring Operation: 48+53=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 48*53=2544, Resulting Numbers: [2544] 2544,52 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[45, 56], Operations: ['86-48=38', '94-38=56'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[38, 49], Operations: ['86-48=38', '94-45=49'] Exploring Operation: 49-38=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 38+49=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 38*49=1862, Resulting Numbers: [1862] 1862,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[41, 46], Operations: ['86-45=41', '94-48=46'] Exploring Operation: 41*46=1886, Resulting Numbers: [1886] 1886,52 unequal: No Solution Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 46-41=5, Resulting Numbers: [5] 5,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[94, 7], Operations: ['86-45=41', '48-41=7'] Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,52 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,52 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,52 unequal: No Solution Moving to Node #0,1,4 Current State: 52:[94, 7], Operations: ['86-48=38', '45-38=7'] Exploring Operation: 94*7=658, Resulting Numbers: [658] 658,52 unequal: No Solution Exploring Operation: 94-7=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 94+7=101, Resulting Numbers: [101] 101,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[94, 83], Operations: ['86-48=38', '45+38=83'] Exploring Operation: 94*83=7802, Resulting Numbers: [7802] 7802,52 unequal: No Solution Exploring Operation: 94-83=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 94+83=177, Resulting Numbers: [177] 177,52 unequal: No Solution Moving to Node #0,2,4 Current State: 52:[94, 89], Operations: ['86-45=41', '48+41=89'] Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 94*89=8366, Resulting Numbers: [8366] 8366,52 unequal: No Solution Exploring Operation: 94+89=183, Resulting Numbers: [183] 183,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[45, 132], Operations: ['86-48=38', '94+38=132'] Exploring Operation: 45*132=5940, Resulting Numbers: [5940] 5940,52 unequal: No Solution Exploring Operation: 132-45=87, Resulting Numbers: [87] 87,52 unequal: No Solution Exploring Operation: 45+132=177, Resulting Numbers: [177] 177,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[48, 135], Operations: ['86-45=41', '94+41=135'] Exploring Operation: 48+135=183, Resulting Numbers: [183] 183,52 unequal: No Solution Exploring Operation: 48*135=6480, Resulting Numbers: [6480] 6480,52 unequal: No Solution Exploring Operation: 135-48=87, Resulting Numbers: [87] 87,52 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 11, 4, 31, 17 ]
21
[ "11-4=7", "31-17=14", "7+14=21" ]
Current State: 21:[11, 4, 31, 17], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [31, 17, 7] Generated Node #2: [31, 17, 7] from Operation: 11-4=7 Current State: 21:[31, 17, 7], Operations: ['11-4=7'] Exploring Operation: 31-17=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 31-17=14 Current State: 21:[7, 14], Operations: ['11-4=7', '31-17=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[11, 4, 31, 17], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [4, 31, 6] Generated Node #0,0: 21:[4, 31, 6] Operation: 17-11=6 Exploring Operation: 31-11=20, Resulting Numbers: [4, 17, 20] Generated Node #0,1: 21:[4, 17, 20] Operation: 31-11=20 Moving to Node #0,1 Current State: 21:[4, 17, 20], Operations: ['31-11=20'] Exploring Operation: 20-17=3, Resulting Numbers: [4, 3] Generated Node #0,1,0: 21:[4, 3] Operation: 20-17=3 Exploring Operation: 4+17=21, Resulting Numbers: [20, 21] Generated Node #0,1,1: 21:[20, 21] Operation: 4+17=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[4, 3], Operations: ['31-11=20', '20-17=3'] Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[20, 21], Operations: ['31-11=20', '4+17=21'] Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,21 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: 21:[4, 31, 6], Operations: ['17-11=6'] Exploring Operation: 31-4=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 21:[6, 27] Operation: 31-4=27 Exploring Operation: 31-6=25, Resulting Numbers: [4, 25] Generated Node #0,0,1: 21:[4, 25] Operation: 31-6=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[4, 25], Operations: ['17-11=6', '31-6=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,21 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[11, 4, 31, 17], Operations: [] Exploring Operation: 17-11=6, Resulting Numbers: [4, 31, 6] Generated Node #0,0: 21:[4, 31, 6] Operation: 17-11=6 Moving to Node #0,0 Current State: 21:[4, 31, 6], Operations: ['17-11=6'] Exploring Operation: 31-6=25, Resulting Numbers: [4, 25] Generated Node #0,0,1: 21:[4, 25] Operation: 31-6=25 Moving to Node #0,0,1 Current State: 21:[4, 25], Operations: ['17-11=6', '31-6=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 38, 4, 84, 34 ]
83
[ "38-4=34", "34/34=1", "84-1=83" ]
Current State: 83:[38, 4, 84, 34], Operations: [] Exploring Operation: 38-4=34, Resulting Numbers: [84, 34, 34] Generated Node #2: [84, 34, 34] from Operation: 38-4=34 Current State: 83:[84, 34, 34], Operations: ['38-4=34'] Exploring Operation: 34/34=1, Resulting Numbers: [84, 1] Generated Node #3: [84, 1] from Operation: 34/34=1 Current State: 83:[84, 1], Operations: ['38-4=34', '34/34=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[38, 4, 84, 34], Operations: [] Exploring Operation: 38+34=72, Resulting Numbers: [4, 84, 72] Generated Node #0,0: 83:[4, 84, 72] Operation: 38+34=72 Exploring Operation: 4+34=38, Resulting Numbers: [38, 84, 38] Generated Node #0,1: 83:[38, 84, 38] Operation: 4+34=38 Exploring Operation: 38+4=42, Resulting Numbers: [84, 34, 42] Generated Node #0,2: 83:[84, 34, 42] Operation: 38+4=42 Exploring Operation: 84-4=80, Resulting Numbers: [38, 34, 80] Generated Node #0,3: 83:[38, 34, 80] Operation: 84-4=80 Moving to Node #0,0 Current State: 83:[4, 84, 72], Operations: ['38+34=72'] Exploring Operation: 72-4=68, Resulting Numbers: [84, 68] Generated Node #0,0,0: 83:[84, 68] Operation: 72-4=68 Exploring Operation: 4+84=88, Resulting Numbers: [72, 88] Generated Node #0,0,1: 83:[72, 88] Operation: 4+84=88 Exploring Operation: 84-4=80, Resulting Numbers: [72, 80] Generated Node #0,0,2: 83:[72, 80] Operation: 84-4=80 Exploring Operation: 4+72=76, Resulting Numbers: [84, 76] Generated Node #0,0,3: 83:[84, 76] Operation: 4+72=76 Moving to Node #0,2 Current State: 83:[84, 34, 42], Operations: ['38+4=42'] Exploring Operation: 34+42=76, Resulting Numbers: [84, 76] Generated Node #0,2,0: 83:[84, 76] Operation: 34+42=76 Exploring Operation: 42-34=8, Resulting Numbers: [84, 8] Generated Node #0,2,1: 83:[84, 8] Operation: 42-34=8 Exploring Operation: 84+34=118, Resulting Numbers: [42, 118] Generated Node #0,2,2: 83:[42, 118] Operation: 84+34=118 Exploring Operation: 84-34=50, Resulting Numbers: [42, 50] Generated Node #0,2,3: 83:[42, 50] Operation: 84-34=50 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[84, 76], Operations: ['38+4=42', '34+42=76'] Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,83 unequal: No Solution Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,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,3 Current State: 83:[42, 50], Operations: ['38+4=42', '84-34=50'] Exploring Operation: 42+50=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 42*50=2100, Resulting Numbers: [2100] 2100,83 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,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:[84, 8], Operations: ['38+4=42', '42-34=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,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,2 Current State: 83:[42, 118], Operations: ['38+4=42', '84+34=118'] Exploring Operation: 118-42=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 42+118=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 42*118=4956, Resulting Numbers: [4956] 4956,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:[38, 84, 38], Operations: ['4+34=38'] Exploring Operation: 38/38=1, Resulting Numbers: [84, 1] Generated Node #0,1,0: 83:[84, 1] Operation: 38/38=1 Exploring Operation: 38+38=76, Resulting Numbers: [84, 76] Generated Node #0,1,1: 83:[84, 76] Operation: 38+38=76 Exploring Operation: 84-38=46, Resulting Numbers: [38, 46] Generated Node #0,1,2: 83:[38, 46] Operation: 84-38=46 Exploring Operation: 84-38=46, Resulting Numbers: [38, 46] Generated Node #0,1,3: 83:[38, 46] Operation: 84-38=46 Moving to Node #0,3 Current State: 83:[38, 34, 80], Operations: ['84-4=80'] Exploring Operation: 38-34=4, Resulting Numbers: [80, 4] Generated Node #0,3,0: 83:[80, 4] Operation: 38-34=4 Exploring Operation: 80-34=46, Resulting Numbers: [38, 46] Generated Node #0,3,1: 83:[38, 46] Operation: 80-34=46 Exploring Operation: 34+80=114, Resulting Numbers: [38, 114] Generated Node #0,3,2: 83:[38, 114] Operation: 34+80=114 Exploring Operation: 38+34=72, Resulting Numbers: [80, 72] Generated Node #0,3,3: 83:[80, 72] Operation: 38+34=72 Moving to Node #0,0,3 Current State: 83:[84, 76], Operations: ['38+34=72', '4+72=76'] Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[84, 76], Operations: ['4+34=38', '38+38=76'] Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,83 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[72, 80], Operations: ['38+34=72', '84-4=80'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[80, 72], Operations: ['84-4=80', '38+34=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[84, 68], Operations: ['38+34=72', '72-4=68'] Exploring Operation: 84*68=5712, Resulting Numbers: [5712] 5712,83 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,83 unequal: No Solution Exploring Operation: 84+68=152, Resulting Numbers: [152] 152,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[72, 88], Operations: ['38+34=72', '4+84=88'] Exploring Operation: 72*88=6336, Resulting Numbers: [6336] 6336,83 unequal: No Solution Exploring Operation: 72+88=160, Resulting Numbers: [160] 160,83 unequal: No Solution Exploring Operation: 88-72=16, Resulting Numbers: [16] 16,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[38, 114], Operations: ['84-4=80', '34+80=114'] Exploring Operation: 38*114=4332, Resulting Numbers: [4332] 4332,83 unequal: No Solution Exploring Operation: 38+114=152, Resulting Numbers: [152] 152,83 unequal: No Solution Exploring Operation: 114/38=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 114-38=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[38, 46], Operations: ['4+34=38', '84-38=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,83 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[38, 46], Operations: ['4+34=38', '84-38=46'] Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,83 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[80, 4], Operations: ['84-4=80', '38-34=4'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,83 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[38, 46], Operations: ['84-4=80', '80-34=46'] Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,83 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,83 unequal: No Solution Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[84, 1], Operations: ['4+34=38', '38/38=1'] Exploring Operation: 84/1=84, Resulting Numbers: [84] 84,83 unequal: No Solution Exploring Operation: 84+1=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[38, 4, 84, 34], Operations: [] Exploring Operation: 4+34=38, Resulting Numbers: [38, 84, 38] Generated Node #0,1: 83:[38, 84, 38] Operation: 4+34=38 Moving to Node #0,1 Current State: 83:[38, 84, 38], Operations: ['4+34=38'] Exploring Operation: 38/38=1, Resulting Numbers: [84, 1] Generated Node #0,1,0: 83:[84, 1] Operation: 38/38=1 Moving to Node #0,1,0 Current State: 83:[84, 1], Operations: ['4+34=38', '38/38=1'] Exploring Operation: 84-1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.935764
hs_4
sum_heuristic
[ 27, 84, 60, 27 ]
25
[ "27/27=1", "84-60=24", "1+24=25" ]
Current State: 25:[27, 84, 60, 27], Operations: [] Exploring Operation: 27/27=1, Resulting Numbers: [84, 60, 1] Generated Node #2: [84, 60, 1] from Operation: 27/27=1 Current State: 25:[84, 60, 1], Operations: ['27/27=1'] Exploring Operation: 84-60=24, Resulting Numbers: [1, 24] Generated Node #3: [1, 24] from Operation: 84-60=24 Current State: 25:[1, 24], Operations: ['27/27=1', '84-60=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[27, 84, 60, 27], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [60, 27, 57] Generated Node #0,0: 25:[60, 27, 57] Operation: 84-27=57 Exploring Operation: 84-27=57, Resulting Numbers: [27, 60, 57] Generated Node #0,1: 25:[27, 60, 57] Operation: 84-27=57 Exploring Operation: 84-60=24, Resulting Numbers: [27, 27, 24] Generated Node #0,2: 25:[27, 27, 24] Operation: 84-60=24 Exploring Operation: 60-27=33, Resulting Numbers: [84, 27, 33] Generated Node #0,3: 25:[84, 27, 33] Operation: 60-27=33 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[27, 27, 24], Operations: ['84-60=24'] Exploring Operation: 27-24=3, Resulting Numbers: [27, 3] Generated Node #0,2,0: 25:[27, 3] Operation: 27-24=3 Exploring Operation: 27/27=1, Resulting Numbers: [24, 1] Generated Node #0,2,1: 25:[24, 1] Operation: 27/27=1 Exploring Operation: 27-27=0, Resulting Numbers: [24, 0] Generated Node #0,2,2: 25:[24, 0] Operation: 27-27=0 Exploring Operation: 27-24=3, Resulting Numbers: [27, 3] Generated Node #0,2,3: 25:[27, 3] Operation: 27-24=3 Moving to Node #0,2,0 Current State: 25:[27, 3], Operations: ['84-60=24', '27-24=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,25 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[27, 3], Operations: ['84-60=24', '27-24=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,25 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[24, 1], Operations: ['84-60=24', '27/27=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[27, 84, 60, 27], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [27, 27, 24] Generated Node #0,2: 25:[27, 27, 24] Operation: 84-60=24 Moving to Node #0,2 Current State: 25:[27, 27, 24], Operations: ['84-60=24'] Exploring Operation: 27/27=1, Resulting Numbers: [24, 1] Generated Node #0,2,1: 25:[24, 1] Operation: 27/27=1 Moving to Node #0,2,1 Current State: 25:[24, 1], Operations: ['84-60=24', '27/27=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 38, 70, 73, 55 ]
90
[ "38+70=108", "73-55=18", "108-18=90" ]
Current State: 90:[38, 70, 73, 55], Operations: [] Exploring Operation: 38+70=108, Resulting Numbers: [73, 55, 108] Generated Node #2: [73, 55, 108] from Operation: 38+70=108 Current State: 90:[73, 55, 108], Operations: ['38+70=108'] Exploring Operation: 73-55=18, Resulting Numbers: [108, 18] Generated Node #3: [108, 18] from Operation: 73-55=18 Current State: 90:[108, 18], Operations: ['38+70=108', '73-55=18'] Exploring Operation: 108-18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[38, 70, 73, 55], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [73, 55, 32] Generated Node #0,0: 90:[73, 55, 32] Operation: 70-38=32 Exploring Operation: 70-55=15, Resulting Numbers: [38, 73, 15] Generated Node #0,1: 90:[38, 73, 15] Operation: 70-55=15 Exploring Operation: 73-55=18, Resulting Numbers: [38, 70, 18] Generated Node #0,2: 90:[38, 70, 18] Operation: 73-55=18 Exploring Operation: 73-38=35, Resulting Numbers: [70, 55, 35] Generated Node #0,3: 90:[70, 55, 35] Operation: 73-38=35 Exploring Operation: 73-70=3, Resulting Numbers: [38, 55, 3] Generated Node #0,4: 90:[38, 55, 3] Operation: 73-70=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 90:[38, 55, 3], Operations: ['73-70=3'] Exploring Operation: 38-3=35, Resulting Numbers: [55, 35] Generated Node #0,4,0: 90:[55, 35] Operation: 38-3=35 Exploring Operation: 55-3=52, Resulting Numbers: [38, 52] Generated Node #0,4,1: 90:[38, 52] Operation: 55-3=52 Exploring Operation: 38+3=41, Resulting Numbers: [55, 41] Generated Node #0,4,2: 90:[55, 41] Operation: 38+3=41 Exploring Operation: 38+55=93, Resulting Numbers: [3, 93] Generated Node #0,4,3: 90:[3, 93] Operation: 38+55=93 Exploring Operation: 55-38=17, Resulting Numbers: [3, 17] Generated Node #0,4,4: 90:[3, 17] Operation: 55-38=17 Moving to Node #0,4,4 Current State: 90:[3, 17], Operations: ['73-70=3', '55-38=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[3, 93], Operations: ['73-70=3', '38+55=93'] Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[38, 70, 73, 55], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [38, 55, 3] Generated Node #0,4: 90:[38, 55, 3] Operation: 73-70=3 Moving to Node #0,4 Current State: 90:[38, 55, 3], Operations: ['73-70=3'] Exploring Operation: 38+55=93, Resulting Numbers: [3, 93] Generated Node #0,4,3: 90:[3, 93] Operation: 38+55=93 Moving to Node #0,4,3 Current State: 90:[3, 93], Operations: ['73-70=3', '38+55=93'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 88, 80, 28, 21 ]
14
[ "88*21=1848", "1848/28=66", "80-66=14" ]
Current State: 14:[88, 80, 28, 21], Operations: [] Exploring Operation: 88*21=1848, Resulting Numbers: [80, 28, 1848] Generated Node #2: [80, 28, 1848] from Operation: 88*21=1848 Current State: 14:[80, 28, 1848], Operations: ['88*21=1848'] Exploring Operation: 1848/28=66, Resulting Numbers: [80, 66] Generated Node #3: [80, 66] from Operation: 1848/28=66 Current State: 14:[80, 66], Operations: ['88*21=1848', '1848/28=66'] Exploring Operation: 80-66=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[88, 80, 28, 21], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [28, 21, 8] Generated Node #0,0: 14:[28, 21, 8] Operation: 88-80=8 Moving to Node #0,0 Current State: 14:[28, 21, 8], Operations: ['88-80=8'] Exploring Operation: 28-21=7, Resulting Numbers: [8, 7] Generated Node #0,0,0: 14:[8, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[8, 7], Operations: ['88-80=8', '28-21=7'] Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 10, 74, 4, 50 ]
18
[ "74-10=64", "50-4=46", "64-46=18" ]
Current State: 18:[10, 74, 4, 50], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [4, 50, 64] Generated Node #2: [4, 50, 64] from Operation: 74-10=64 Current State: 18:[4, 50, 64], Operations: ['74-10=64'] Exploring Operation: 50-4=46, Resulting Numbers: [64, 46] Generated Node #3: [64, 46] from Operation: 50-4=46 Current State: 18:[64, 46], Operations: ['74-10=64', '50-4=46'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[10, 74, 4, 50], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [4, 50, 64] Generated Node #0,0: 18:[4, 50, 64] Operation: 74-10=64 Exploring Operation: 74-50=24, Resulting Numbers: [10, 4, 24] Generated Node #0,1: 18:[10, 4, 24] Operation: 74-50=24 Exploring Operation: 50-10=40, Resulting Numbers: [74, 4, 40] Generated Node #0,2: 18:[74, 4, 40] Operation: 50-10=40 Exploring Operation: 50/10=5, Resulting Numbers: [74, 4, 5] Generated Node #0,3: 18:[74, 4, 5] Operation: 50/10=5 Moving to Node #0,1 Current State: 18:[10, 4, 24], Operations: ['74-50=24'] Exploring Operation: 24-4=20, Resulting Numbers: [10, 20] Generated Node #0,1,0: 18:[10, 20] Operation: 24-4=20 Exploring Operation: 24-10=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 18:[4, 14] Operation: 24-10=14 Exploring Operation: 24/4=6, Resulting Numbers: [10, 6] Generated Node #0,1,2: 18:[10, 6] Operation: 24/4=6 Exploring Operation: 10-4=6, Resulting Numbers: [24, 6] Generated Node #0,1,3: 18:[24, 6] Operation: 10-4=6 Moving to Node #0,3 Current State: 18:[74, 4, 5], Operations: ['50/10=5'] Exploring Operation: 74-5=69, Resulting Numbers: [4, 69] Generated Node #0,3,0: 18:[4, 69] Operation: 74-5=69 Exploring Operation: 74-4=70, Resulting Numbers: [5, 70] Generated Node #0,3,1: 18:[5, 70] Operation: 74-4=70 Exploring Operation: 4+5=9, Resulting Numbers: [74, 9] Generated Node #0,3,2: 18:[74, 9] Operation: 4+5=9 Exploring Operation: 5-4=1, Resulting Numbers: [74, 1] Generated Node #0,3,3: 18:[74, 1] Operation: 5-4=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 18:[4, 69], Operations: ['50/10=5', '74-5=69'] Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 4+69=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 4*69=276, Resulting Numbers: [276] 276,18 unequal: No Solution No 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: 18:[5, 70], Operations: ['50/10=5', '74-4=70'] Exploring Operation: 5+70=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 70/5=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 5*70=350, Resulting Numbers: [350] 350,18 unequal: No Solution Exploring Operation: 70-5=65, Resulting Numbers: [65] 65,18 unequal: No Solution No 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: 18:[74, 9], Operations: ['50/10=5', '4+5=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,18 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,18 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,18 unequal: No Solution No 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: 18:[74, 1], Operations: ['50/10=5', '5-4=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,18 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,18 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,18 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,18 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: 18:[74, 4, 40], Operations: ['50-10=40'] Exploring Operation: 40/4=10, Resulting Numbers: [74, 10] Generated Node #0,2,0: 18:[74, 10] Operation: 40/4=10 Exploring Operation: 74-4=70, Resulting Numbers: [40, 70] Generated Node #0,2,1: 18:[40, 70] Operation: 74-4=70 Exploring Operation: 74-40=34, Resulting Numbers: [4, 34] Generated Node #0,2,2: 18:[4, 34] Operation: 74-40=34 Exploring Operation: 40-4=36, Resulting Numbers: [74, 36] Generated Node #0,2,3: 18:[74, 36] Operation: 40-4=36 Moving to Node #0,0 Current State: 18:[4, 50, 64], Operations: ['74-10=64'] Exploring Operation: 50-4=46, Resulting Numbers: [64, 46] Generated Node #0,0,0: 18:[64, 46] Operation: 50-4=46 Exploring Operation: 64-50=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 18:[4, 14] Operation: 64-50=14 Exploring Operation: 64-4=60, Resulting Numbers: [50, 60] Generated Node #0,0,2: 18:[50, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [50, 16] Generated Node #0,0,3: 18:[50, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[4, 14], Operations: ['74-10=64', '64-50=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[10, 74, 4, 50], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [4, 50, 64] Generated Node #0,0: 18:[4, 50, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 18:[4, 50, 64], Operations: ['74-10=64'] Exploring Operation: 64-50=14, Resulting Numbers: [4, 14] Generated Node #0,0,1: 18:[4, 14] Operation: 64-50=14 Moving to Node #0,0,1 Current State: 18:[4, 14], Operations: ['74-10=64', '64-50=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 96, 17, 33, 96 ]
15
[ "96/96=1", "33-17=16", "16-1=15" ]
Current State: 15:[96, 17, 33, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [17, 33, 1] Generated Node #2: [17, 33, 1] from Operation: 96/96=1 Current State: 15:[17, 33, 1], Operations: ['96/96=1'] Exploring Operation: 33-17=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 33-17=16 Current State: 15:[1, 16], Operations: ['96/96=1', '33-17=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[96, 17, 33, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [17, 33, 1] Generated Node #0,0: 15:[17, 33, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 15:[17, 33, 1], Operations: ['96/96=1'] Exploring Operation: 33-17=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 15:[1, 16] Operation: 33-17=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[1, 16], Operations: ['96/96=1', '33-17=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[96, 17, 33, 96], Operations: [] Exploring Operation: 96/96=1, Resulting Numbers: [17, 33, 1] Generated Node #0,0: 15:[17, 33, 1] Operation: 96/96=1 Moving to Node #0,0 Current State: 15:[17, 33, 1], Operations: ['96/96=1'] Exploring Operation: 33-17=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 15:[1, 16] Operation: 33-17=16 Moving to Node #0,0,0 Current State: 15:[1, 16], Operations: ['96/96=1', '33-17=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 97, 2, 87, 21 ]
13
[ "97-2=95", "87+21=108", "108-95=13" ]
Current State: 13:[97, 2, 87, 21], Operations: [] Exploring Operation: 97-2=95, Resulting Numbers: [87, 21, 95] Generated Node #2: [87, 21, 95] from Operation: 97-2=95 Current State: 13:[87, 21, 95], Operations: ['97-2=95'] Exploring Operation: 87+21=108, Resulting Numbers: [95, 108] Generated Node #3: [95, 108] from Operation: 87+21=108 Current State: 13:[95, 108], Operations: ['97-2=95', '87+21=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[97, 2, 87, 21], Operations: [] Exploring Operation: 97-87=10, Resulting Numbers: [2, 21, 10] Generated Node #0,0: 13:[2, 21, 10] Operation: 97-87=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[2, 21, 10], Operations: ['97-87=10'] Exploring Operation: 21-2=19, Resulting Numbers: [10, 19] Generated Node #0,0,0: 13:[10, 19] Operation: 21-2=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 13:[10, 19], Operations: ['97-87=10', '21-2=19'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 25, 64, 88 ]
77
[ "31+25=56", "88*56=4928", "4928/64=77" ]
Current State: 77:[31, 25, 64, 88], Operations: [] Exploring Operation: 31+25=56, Resulting Numbers: [64, 88, 56] Generated Node #2: [64, 88, 56] from Operation: 31+25=56 Current State: 77:[64, 88, 56], Operations: ['31+25=56'] Exploring Operation: 88*56=4928, Resulting Numbers: [64, 4928] Generated Node #3: [64, 4928] from Operation: 88*56=4928 Current State: 77:[64, 4928], Operations: ['31+25=56', '88*56=4928'] Exploring Operation: 4928/64=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[31, 25, 64, 88], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [64, 88, 6] Generated Node #0,0: 77:[64, 88, 6] Operation: 31-25=6 Exploring Operation: 25+64=89, Resulting Numbers: [31, 88, 89] Generated Node #0,1: 77:[31, 88, 89] Operation: 25+64=89 Exploring Operation: 31+64=95, Resulting Numbers: [25, 88, 95] Generated Node #0,2: 77:[25, 88, 95] Operation: 31+64=95 Moving to Node #0,0 Current State: 77:[64, 88, 6], Operations: ['31-25=6'] Exploring Operation: 64+6=70, Resulting Numbers: [88, 70] Generated Node #0,0,0: 77:[88, 70] Operation: 64+6=70 Exploring Operation: 88-6=82, Resulting Numbers: [64, 82] Generated Node #0,0,1: 77:[64, 82] Operation: 88-6=82 Exploring Operation: 88-64=24, Resulting Numbers: [6, 24] Generated Node #0,0,2: 77:[6, 24] Operation: 88-64=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[6, 24], Operations: ['31-25=6', '88-64=24'] Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,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:[88, 70], Operations: ['31-25=6', '64+6=70'] Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,77 unequal: No Solution Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,77 unequal: No Solution Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,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,1 Current State: 77:[64, 82], Operations: ['31-25=6', '88-6=82'] Exploring Operation: 64*82=5248, Resulting Numbers: [5248] 5248,77 unequal: No Solution Exploring Operation: 64+82=146, Resulting Numbers: [146] 146,77 unequal: No Solution Exploring Operation: 82-64=18, Resulting Numbers: [18] 18,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[31, 88, 89], Operations: ['25+64=89'] Exploring Operation: 88-31=57, Resulting Numbers: [89, 57] Generated Node #0,1,0: 77:[89, 57] Operation: 88-31=57 Exploring Operation: 89-88=1, Resulting Numbers: [31, 1] Generated Node #0,1,1: 77:[31, 1] Operation: 89-88=1 Exploring Operation: 89-31=58, Resulting Numbers: [88, 58] Generated Node #0,1,2: 77:[88, 58] Operation: 89-31=58 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[31, 1], Operations: ['25+64=89', '89-88=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,77 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,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:[88, 58], Operations: ['25+64=89', '89-31=58'] Exploring Operation: 88+58=146, Resulting Numbers: [146] 146,77 unequal: No Solution Exploring Operation: 88-58=30, Resulting Numbers: [30] 30,77 unequal: No Solution Exploring Operation: 88*58=5104, Resulting Numbers: [5104] 5104,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[89, 57], Operations: ['25+64=89', '88-31=57'] Exploring Operation: 89*57=5073, Resulting Numbers: [5073] 5073,77 unequal: No Solution Exploring Operation: 89-57=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 89+57=146, Resulting Numbers: [146] 146,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:[25, 88, 95], Operations: ['31+64=95'] Exploring Operation: 88-25=63, Resulting Numbers: [95, 63] Generated Node #0,2,0: 77:[95, 63] Operation: 88-25=63 Exploring Operation: 95-25=70, Resulting Numbers: [88, 70] Generated Node #0,2,1: 77:[88, 70] Operation: 95-25=70 Exploring Operation: 95-88=7, Resulting Numbers: [25, 7] Generated Node #0,2,2: 77:[25, 7] Operation: 95-88=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[25, 7], Operations: ['31+64=95', '95-88=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,77 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,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,1 Current State: 77:[88, 70], Operations: ['31+64=95', '95-25=70'] Exploring Operation: 88-70=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 88+70=158, Resulting Numbers: [158] 158,77 unequal: No Solution Exploring Operation: 88*70=6160, Resulting Numbers: [6160] 6160,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:[95, 63], Operations: ['31+64=95', '88-25=63'] Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,77 unequal: No Solution Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,77 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,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
mult_heuristic
[ 81, 26, 27, 5 ]
77
[ "81-26=55", "27-5=22", "55+22=77" ]
Current State: 77:[81, 26, 27, 5], Operations: [] Exploring Operation: 81-26=55, Resulting Numbers: [27, 5, 55] Generated Node #2: [27, 5, 55] from Operation: 81-26=55 Current State: 77:[27, 5, 55], Operations: ['81-26=55'] Exploring Operation: 27-5=22, Resulting Numbers: [55, 22] Generated Node #3: [55, 22] from Operation: 27-5=22 Current State: 77:[55, 22], Operations: ['81-26=55', '27-5=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[81, 26, 27, 5], Operations: [] Exploring Operation: 27-26=1, Resulting Numbers: [81, 5, 1] Generated Node #0,0: 77:[81, 5, 1] Operation: 27-26=1 Exploring Operation: 26+27=53, Resulting Numbers: [81, 5, 53] Generated Node #0,1: 77:[81, 5, 53] Operation: 26+27=53 Exploring Operation: 26-5=21, Resulting Numbers: [81, 27, 21] Generated Node #0,2: 77:[81, 27, 21] Operation: 26-5=21 Exploring Operation: 27-5=22, Resulting Numbers: [81, 26, 22] Generated Node #0,3: 77:[81, 26, 22] Operation: 27-5=22 Exploring Operation: 81/27=3, Resulting Numbers: [26, 5, 3] Generated Node #0,4: 77:[26, 5, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[81, 5, 1], Operations: ['27-26=1'] Exploring Operation: 81/1=81, Resulting Numbers: [5, 81] Generated Node #0,0,0: 77:[5, 81] Operation: 81/1=81 Exploring Operation: 5*1=5, Resulting Numbers: [81, 5] Generated Node #0,0,1: 77:[81, 5] Operation: 5*1=5 Exploring Operation: 81-1=80, Resulting Numbers: [5, 80] Generated Node #0,0,2: 77:[5, 80] Operation: 81-1=80 Exploring Operation: 81*1=81, Resulting Numbers: [5, 81] Generated Node #0,0,3: 77:[5, 81] Operation: 81*1=81 Exploring Operation: 5+1=6, Resulting Numbers: [81, 6] Generated Node #0,0,4: 77:[81, 6] Operation: 5+1=6 Moving to Node #0,0,2 Current State: 77:[5, 80], Operations: ['27-26=1', '81-1=80'] Exploring Operation: 5*80=400, Resulting Numbers: [400] 400,77 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,77 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[81, 6], Operations: ['27-26=1', '5+1=6'] Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[5, 81], Operations: ['27-26=1', '81/1=81'] Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,77 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[81, 5], Operations: ['27-26=1', '5*1=5'] Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,77 unequal: No Solution Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,77 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[5, 81], Operations: ['27-26=1', '81*1=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,77 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 77:[26, 5, 3], Operations: ['81/27=3'] Exploring Operation: 5*3=15, Resulting Numbers: [26, 15] Generated Node #0,4,0: 77:[26, 15] Operation: 5*3=15 Exploring Operation: 5+3=8, Resulting Numbers: [26, 8] Generated Node #0,4,1: 77:[26, 8] Operation: 5+3=8 Exploring Operation: 26*3=78, Resulting Numbers: [5, 78] Generated Node #0,4,2: 77:[5, 78] Operation: 26*3=78 Exploring Operation: 26-5=21, Resulting Numbers: [3, 21] Generated Node #0,4,3: 77:[3, 21] Operation: 26-5=21 Exploring Operation: 26-3=23, Resulting Numbers: [5, 23] Generated Node #0,4,4: 77:[5, 23] Operation: 26-3=23 Moving to Node #0,4,2 Current State: 77:[5, 78], Operations: ['81/27=3', '26*3=78'] Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,77 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,77 unequal: No Solution Moving to Node #0,4,4 Current State: 77:[5, 23], Operations: ['81/27=3', '26-3=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,77 unequal: No Solution Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,77 unequal: No Solution Moving to Node #0,4,3 Current State: 77:[3, 21], Operations: ['81/27=3', '26-5=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,77 unequal: No Solution Moving to Node #0,4,1 Current State: 77:[26, 8], Operations: ['81/27=3', '5+3=8'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,77 unequal: No Solution Moving to Node #0,4,0 Current State: 77:[26, 15], Operations: ['81/27=3', '5*3=15'] Exploring Operation: 26-15=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 26*15=390, Resulting Numbers: [390] 390,77 unequal: No Solution Exploring Operation: 26+15=41, Resulting Numbers: [41] 41,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 Current State: 77:[81, 5, 53], Operations: ['26+27=53'] Exploring Operation: 81+5=86, Resulting Numbers: [53, 86] Generated Node #0,1,0: 77:[53, 86] Operation: 81+5=86 Exploring Operation: 81-5=76, Resulting Numbers: [53, 76] Generated Node #0,1,1: 77:[53, 76] Operation: 81-5=76 Exploring Operation: 81-53=28, Resulting Numbers: [5, 28] Generated Node #0,1,2: 77:[5, 28] Operation: 81-53=28 Exploring Operation: 5+53=58, Resulting Numbers: [81, 58] Generated Node #0,1,3: 77:[81, 58] Operation: 5+53=58 Exploring Operation: 53-5=48, Resulting Numbers: [81, 48] Generated Node #0,1,4: 77:[81, 48] Operation: 53-5=48 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 77:[5, 28], Operations: ['26+27=53', '81-53=28'] Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 77:[81, 58], Operations: ['26+27=53', '5+53=58'] Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,77 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,77 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 77:[53, 76], Operations: ['26+27=53', '81-5=76'] Exploring Operation: 76-53=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 53*76=4028, Resulting Numbers: [4028] 4028,77 unequal: No Solution Exploring Operation: 53+76=129, Resulting Numbers: [129] 129,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 77:[53, 86], Operations: ['26+27=53', '81+5=86'] Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 53+86=139, Resulting Numbers: [139] 139,77 unequal: No Solution Exploring Operation: 53*86=4558, Resulting Numbers: [4558] 4558,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 77:[81, 48], Operations: ['26+27=53', '53-5=48'] Exploring Operation: 81*48=3888, Resulting Numbers: [3888] 3888,77 unequal: No Solution Exploring Operation: 81+48=129, Resulting Numbers: [129] 129,77 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[81, 27, 21], Operations: ['26-5=21'] Exploring Operation: 81/27=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 77:[21, 3] Operation: 81/27=3 Exploring Operation: 27-21=6, Resulting Numbers: [81, 6] Generated Node #0,2,1: 77:[81, 6] Operation: 27-21=6 Exploring Operation: 27+21=48, Resulting Numbers: [81, 48] Generated Node #0,2,2: 77:[81, 48] Operation: 27+21=48 Exploring Operation: 81-27=54, Resulting Numbers: [21, 54] Generated Node #0,2,3: 77:[21, 54] Operation: 81-27=54 Exploring Operation: 81-21=60, Resulting Numbers: [27, 60] Generated Node #0,2,4: 77:[27, 60] Operation: 81-21=60 Moving to Node #0,2,1 Current State: 77:[81, 6], Operations: ['26-5=21', '27-21=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,77 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 81*6=486, Resulting Numbers: [486] 486,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[21, 3], Operations: ['26-5=21', '81/27=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,77 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[81, 48], Operations: ['26-5=21', '27+21=48'] Exploring Operation: 81*48=3888, Resulting Numbers: [3888] 3888,77 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 81+48=129, Resulting Numbers: [129] 129,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[21, 54], Operations: ['26-5=21', '81-27=54'] Exploring Operation: 21*54=1134, Resulting Numbers: [1134] 1134,77 unequal: No Solution Exploring Operation: 21+54=75, Resulting Numbers: [75] 75,77 unequal: No Solution Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,77 unequal: No Solution Moving to Node #0,2,4 Current State: 77:[27, 60], Operations: ['26-5=21', '81-21=60'] Exploring Operation: 27*60=1620, Resulting Numbers: [1620] 1620,77 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,77 unequal: No Solution Exploring Operation: 27+60=87, Resulting Numbers: [87] 87,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,3 Current State: 77:[81, 26, 22], Operations: ['27-5=22'] Exploring Operation: 26-22=4, Resulting Numbers: [81, 4] Generated Node #0,3,0: 77:[81, 4] Operation: 26-22=4 Exploring Operation: 81-22=59, Resulting Numbers: [26, 59] Generated Node #0,3,1: 77:[26, 59] Operation: 81-22=59 Exploring Operation: 26+22=48, Resulting Numbers: [81, 48] Generated Node #0,3,2: 77:[81, 48] Operation: 26+22=48 Exploring Operation: 81-26=55, Resulting Numbers: [22, 55] Generated Node #0,3,3: 77:[22, 55] Operation: 81-26=55 Exploring Operation: 81+26=107, Resulting Numbers: [22, 107] Generated Node #0,3,4: 77:[22, 107] Operation: 81+26=107 Moving to Node #0,3,0 Current State: 77:[81, 4], Operations: ['27-5=22', '26-22=4'] Exploring Operation: 81*4=324, Resulting Numbers: [324] 324,77 unequal: No Solution Exploring Operation: 81+4=85, Resulting Numbers: [85] 85,77 unequal: No Solution Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[81, 26, 27, 5], Operations: [] Exploring Operation: 27-5=22, Resulting Numbers: [81, 26, 22] Generated Node #0,3: 77:[81, 26, 22] Operation: 27-5=22 Moving to Node #0,3 Current State: 77:[81, 26, 22], Operations: ['27-5=22'] Exploring Operation: 26-22=4, Resulting Numbers: [81, 4] Generated Node #0,3,0: 77:[81, 4] Operation: 26-22=4 Moving to Node #0,3,0 Current State: 77:[81, 4], Operations: ['27-5=22', '26-22=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.913194
hs_5
mult_heuristic
[ 2, 78, 56, 53 ]
72
[ "56-53=3", "2*3=6", "78-6=72" ]
Current State: 72:[2, 78, 56, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [2, 78, 3] Generated Node #2: [2, 78, 3] from Operation: 56-53=3 Current State: 72:[2, 78, 3], Operations: ['56-53=3'] Exploring Operation: 2*3=6, Resulting Numbers: [78, 6] Generated Node #3: [78, 6] from Operation: 2*3=6 Current State: 72:[78, 6], Operations: ['56-53=3', '2*3=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 78, 56, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [2, 78, 3] Generated Node #0,0: 72:[2, 78, 3] Operation: 56-53=3 Exploring Operation: 56/2=28, Resulting Numbers: [78, 53, 28] Generated Node #0,1: 72:[78, 53, 28] Operation: 56/2=28 Exploring Operation: 78-53=25, Resulting Numbers: [2, 56, 25] Generated Node #0,2: 72:[2, 56, 25] Operation: 78-53=25 Exploring Operation: 78/2=39, Resulting Numbers: [56, 53, 39] Generated Node #0,3: 72:[56, 53, 39] Operation: 78/2=39 Exploring Operation: 78-56=22, Resulting Numbers: [2, 53, 22] Generated Node #0,4: 72:[2, 53, 22] Operation: 78-56=22 Moving to Node #0,0 Current State: 72:[2, 78, 3], Operations: ['56-53=3'] Exploring Operation: 78-2=76, Resulting Numbers: [3, 76] Generated Node #0,0,0: 72:[3, 76] Operation: 78-2=76 Exploring Operation: 78-3=75, Resulting Numbers: [2, 75] Generated Node #0,0,1: 72:[2, 75] Operation: 78-3=75 Exploring Operation: 78/3=26, Resulting Numbers: [2, 26] Generated Node #0,0,2: 72:[2, 26] Operation: 78/3=26 Exploring Operation: 78/2=39, Resulting Numbers: [3, 39] Generated Node #0,0,3: 72:[3, 39] Operation: 78/2=39 Exploring Operation: 2*3=6, Resulting Numbers: [78, 6] Generated Node #0,0,4: 72:[78, 6] Operation: 2*3=6 Moving to Node #0,2 Current State: 72:[2, 56, 25], Operations: ['78-53=25'] Exploring Operation: 56/2=28, Resulting Numbers: [25, 28] Generated Node #0,2,0: 72:[25, 28] Operation: 56/2=28 Exploring Operation: 25-2=23, Resulting Numbers: [56, 23] Generated Node #0,2,1: 72:[56, 23] Operation: 25-2=23 Exploring Operation: 2+56=58, Resulting Numbers: [25, 58] Generated Node #0,2,2: 72:[25, 58] Operation: 2+56=58 Exploring Operation: 56+25=81, Resulting Numbers: [2, 81] Generated Node #0,2,3: 72:[2, 81] Operation: 56+25=81 Exploring Operation: 56-25=31, Resulting Numbers: [2, 31] Generated Node #0,2,4: 72:[2, 31] Operation: 56-25=31 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[25, 28], Operations: ['78-53=25', '56/2=28'] Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,72 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[2, 31], Operations: ['78-53=25', '56-25=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[2, 81], Operations: ['78-53=25', '56+25=81'] Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,72 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[25, 58], Operations: ['78-53=25', '2+56=58'] Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[56, 23], Operations: ['78-53=25', '25-2=23'] Exploring Operation: 56*23=1288, Resulting Numbers: [1288] 1288,72 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 56+23=79, Resulting Numbers: [79] 79,72 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: 72:[2, 53, 22], Operations: ['78-56=22'] Exploring Operation: 53-22=31, Resulting Numbers: [2, 31] Generated Node #0,4,0: 72:[2, 31] Operation: 53-22=31 Exploring Operation: 53+22=75, Resulting Numbers: [2, 75] Generated Node #0,4,1: 72:[2, 75] Operation: 53+22=75 Exploring Operation: 53-2=51, Resulting Numbers: [22, 51] Generated Node #0,4,2: 72:[22, 51] Operation: 53-2=51 Exploring Operation: 2+22=24, Resulting Numbers: [53, 24] Generated Node #0,4,3: 72:[53, 24] Operation: 2+22=24 Exploring Operation: 22/2=11, Resulting Numbers: [53, 11] Generated Node #0,4,4: 72:[53, 11] Operation: 22/2=11 Moving to Node #0,1 Current State: 72:[78, 53, 28], Operations: ['56/2=28'] Exploring Operation: 78-28=50, Resulting Numbers: [53, 50] Generated Node #0,1,0: 72:[53, 50] Operation: 78-28=50 Exploring Operation: 78-53=25, Resulting Numbers: [28, 25] Generated Node #0,1,1: 72:[28, 25] Operation: 78-53=25 Exploring Operation: 53-28=25, Resulting Numbers: [78, 25] Generated Node #0,1,2: 72:[78, 25] Operation: 53-28=25 Exploring Operation: 78+28=106, Resulting Numbers: [53, 106] Generated Node #0,1,3: 72:[53, 106] Operation: 78+28=106 Exploring Operation: 53+28=81, Resulting Numbers: [78, 81] Generated Node #0,1,4: 72:[78, 81] Operation: 53+28=81 Moving to Node #0,3 Current State: 72:[56, 53, 39], Operations: ['78/2=39'] Exploring Operation: 53-39=14, Resulting Numbers: [56, 14] Generated Node #0,3,0: 72:[56, 14] Operation: 53-39=14 Exploring Operation: 53+39=92, Resulting Numbers: [56, 92] Generated Node #0,3,1: 72:[56, 92] Operation: 53+39=92 Exploring Operation: 56+53=109, Resulting Numbers: [39, 109] Generated Node #0,3,2: 72:[39, 109] Operation: 56+53=109 Exploring Operation: 56-53=3, Resulting Numbers: [39, 3] Generated Node #0,3,3: 72:[39, 3] Operation: 56-53=3 Exploring Operation: 56-39=17, Resulting Numbers: [53, 17] Generated Node #0,3,4: 72:[53, 17] Operation: 56-39=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 72:[39, 3], Operations: ['78/2=39', '56-53=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[56, 14], Operations: ['78/2=39', '53-39=14'] Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,72 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[53, 17], Operations: ['78/2=39', '56-39=17'] Exploring Operation: 53*17=901, Resulting Numbers: [901] 901,72 unequal: No Solution Exploring Operation: 53+17=70, Resulting Numbers: [70] 70,72 unequal: No Solution Exploring Operation: 53-17=36, Resulting Numbers: [36] 36,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 72:[56, 92], Operations: ['78/2=39', '53+39=92'] Exploring Operation: 92-56=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 56*92=5152, Resulting Numbers: [5152] 5152,72 unequal: No Solution Exploring Operation: 56+92=148, Resulting Numbers: [148] 148,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[39, 109], Operations: ['78/2=39', '56+53=109'] Exploring Operation: 39*109=4251, Resulting Numbers: [4251] 4251,72 unequal: No Solution Exploring Operation: 39+109=148, Resulting Numbers: [148] 148,72 unequal: No Solution Exploring Operation: 109-39=70, Resulting Numbers: [70] 70,72 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: 72:[2, 26], Operations: ['56-53=3', '78/3=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[3, 39], Operations: ['56-53=3', '78/2=39'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 3*39=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,4,1 Current State: 72:[2, 75], Operations: ['78-56=22', '53+22=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,72 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[2, 75], Operations: ['56-53=3', '78-3=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[3, 76], Operations: ['56-53=3', '78-2=76'] Exploring Operation: 3+76=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 76-3=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 3*76=228, Resulting Numbers: [228] 228,72 unequal: No Solution Moving to Node #0,4,0 Current State: 72:[2, 31], Operations: ['78-56=22', '53-22=31'] Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,72 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[28, 25], Operations: ['56/2=28', '78-53=25'] Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,72 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,72 unequal: No Solution Moving to Node #0,0,4 Current State: 72:[78, 6], Operations: ['56-53=3', '2*3=6'] Exploring Operation: 78/6=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 78+6=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 78, 56, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [2, 78, 3] Generated Node #0,0: 72:[2, 78, 3] Operation: 56-53=3 Moving to Node #0,0 Current State: 72:[2, 78, 3], Operations: ['56-53=3'] Exploring Operation: 2*3=6, Resulting Numbers: [78, 6] Generated Node #0,0,4: 72:[78, 6] Operation: 2*3=6 Moving to Node #0,0,4 Current State: 72:[78, 6], Operations: ['56-53=3', '2*3=6'] Exploring Operation: 78-6=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.920139
hs_5
sum_heuristic
[ 88, 12, 17, 75 ]
48
[ "88-17=71", "75-71=4", "12*4=48" ]
Current State: 48:[88, 12, 17, 75], Operations: [] Exploring Operation: 88-17=71, Resulting Numbers: [12, 75, 71] Generated Node #2: [12, 75, 71] from Operation: 88-17=71 Current State: 48:[12, 75, 71], Operations: ['88-17=71'] Exploring Operation: 75-71=4, Resulting Numbers: [12, 4] Generated Node #3: [12, 4] from Operation: 75-71=4 Current State: 48:[12, 4], Operations: ['88-17=71', '75-71=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[88, 12, 17, 75], Operations: [] Exploring Operation: 88-75=13, Resulting Numbers: [12, 17, 13] Generated Node #0,0: 48:[12, 17, 13] Operation: 88-75=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[12, 17, 13], Operations: ['88-75=13'] Exploring Operation: 17-13=4, Resulting Numbers: [12, 4] Generated Node #0,0,0: 48:[12, 4] Operation: 17-13=4 Moving to Node #0,0,0 Current State: 48:[12, 4], Operations: ['88-75=13', '17-13=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,48 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
[ 17, 68, 72, 38 ]
56
[ "68/17=4", "72/4=18", "38+18=56" ]
Current State: 56:[17, 68, 72, 38], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [72, 38, 4] Generated Node #2: [72, 38, 4] from Operation: 68/17=4 Current State: 56:[72, 38, 4], Operations: ['68/17=4'] Exploring Operation: 72/4=18, Resulting Numbers: [38, 18] Generated Node #3: [38, 18] from Operation: 72/4=18 Current State: 56:[38, 18], Operations: ['68/17=4', '72/4=18'] Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[17, 68, 72, 38], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [17, 38, 4] Generated Node #0,0: 56:[17, 38, 4] Operation: 72-68=4 Moving to Node #0,0 Current State: 56:[17, 38, 4], Operations: ['72-68=4'] Exploring Operation: 17+38=55, Resulting Numbers: [4, 55] Generated Node #0,0,0: 56:[4, 55] Operation: 17+38=55 Moving to Node #0,0,0 Current State: 56:[4, 55], Operations: ['72-68=4', '17+38=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 50, 48, 75, 48 ]
25
[ "50+48=98", "75+48=123", "123-98=25" ]
Current State: 25:[50, 48, 75, 48], Operations: [] Exploring Operation: 50+48=98, Resulting Numbers: [75, 98] Generated Node #2: [75, 98] from Operation: 50+48=98 Current State: 25:[75, 98], Operations: ['50+48=98'] Exploring Operation: 75+48=123, Resulting Numbers: [98, 123] Generated Node #3: [98, 123] from Operation: 75+48=123 Current State: 25:[98, 123], Operations: ['50+48=98', '75+48=123'] Exploring Operation: 123-98=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[50, 48, 75, 48], Operations: [] Exploring Operation: 75-48=27, Resulting Numbers: [50, 48, 27] Generated Node #0,0: 25:[50, 48, 27] Operation: 75-48=27 Exploring Operation: 75-50=25, Resulting Numbers: [48, 48, 25] Generated Node #0,1: 25:[48, 48, 25] Operation: 75-50=25 Exploring Operation: 50-48=2, Resulting Numbers: [48, 75, 2] Generated Node #0,2: 25:[48, 75, 2] Operation: 50-48=2 Exploring Operation: 50-48=2, Resulting Numbers: [75, 48, 2] Generated Node #0,3: 25:[75, 48, 2] Operation: 50-48=2 Exploring Operation: 75-48=27, Resulting Numbers: [50, 48, 27] Generated Node #0,4: 25:[50, 48, 27] Operation: 75-48=27 Moving to Node #0,1 Current State: 25:[48, 48, 25], Operations: ['75-50=25'] Exploring Operation: 48-48=0, Resulting Numbers: [25, 0] Generated Node #0,1,0: 25:[25, 0] Operation: 48-48=0 Exploring Operation: 48+48=96, Resulting Numbers: [25, 96] Generated Node #0,1,1: 25:[25, 96] Operation: 48+48=96 Exploring Operation: 48/48=1, Resulting Numbers: [25, 1] Generated Node #0,1,2: 25:[25, 1] Operation: 48/48=1 Exploring Operation: 48-25=23, Resulting Numbers: [48, 23] Generated Node #0,1,3: 25:[48, 23] Operation: 48-25=23 Exploring Operation: 48-25=23, Resulting Numbers: [48, 23] Generated Node #0,1,4: 25:[48, 23] Operation: 48-25=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[25, 1], Operations: ['75-50=25', '48/48=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[50, 48, 75, 48], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [48, 48, 25] Generated Node #0,1: 25:[48, 48, 25] Operation: 75-50=25 Moving to Node #0,1 Current State: 25:[48, 48, 25], Operations: ['75-50=25'] Exploring Operation: 48/48=1, Resulting Numbers: [25, 1] Generated Node #0,1,2: 25:[25, 1] Operation: 48/48=1 Moving to Node #0,1,2 Current State: 25:[25, 1], Operations: ['75-50=25', '48/48=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 61, 61, 26, 59 ]
96
[ "61-59=2", "61*2=122", "122-26=96" ]
Current State: 96:[61, 61, 26, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [26, 2] Generated Node #2: [26, 2] from Operation: 61-59=2 Current State: 96:[26, 2], Operations: ['61-59=2'] Exploring Operation: 61*2=122, Resulting Numbers: [26, 122] Generated Node #3: [26, 122] from Operation: 61*2=122 Current State: 96:[26, 122], Operations: ['61-59=2', '61*2=122'] Exploring Operation: 122-26=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[61, 61, 26, 59], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [61, 26, 2] Generated Node #0,0: 96:[61, 26, 2] Operation: 61-59=2 Exploring Operation: 61-61=0, Resulting Numbers: [26, 59, 0] Generated Node #0,1: 96:[26, 59, 0] Operation: 61-61=0 Exploring Operation: 61-59=2, Resulting Numbers: [61, 26, 2] Generated Node #0,2: 96:[61, 26, 2] Operation: 61-59=2 Exploring Operation: 61-26=35, Resulting Numbers: [61, 59, 35] Generated Node #0,3: 96:[61, 59, 35] Operation: 61-26=35 Exploring Operation: 61/61=1, Resulting Numbers: [26, 59, 1] Generated Node #0,4: 96:[26, 59, 1] Operation: 61/61=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[26, 59, 1], Operations: ['61/61=1'] Exploring Operation: 26+59=85, Resulting Numbers: [1, 85] Generated Node #0,4,0: 96:[1, 85] Operation: 26+59=85 Exploring Operation: 59-1=58, Resulting Numbers: [26, 58] Generated Node #0,4,1: 96:[26, 58] Operation: 59-1=58 Exploring Operation: 26-1=25, Resulting Numbers: [59, 25] Generated Node #0,4,2: 96:[59, 25] Operation: 26-1=25 Exploring Operation: 59-26=33, Resulting Numbers: [1, 33] Generated Node #0,4,3: 96:[1, 33] Operation: 59-26=33 Exploring Operation: 26*1=26, Resulting Numbers: [59, 26] Generated Node #0,4,4: 96:[59, 26] Operation: 26*1=26 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 96:[1, 33], Operations: ['61/61=1', '59-26=33'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 96:[1, 85], Operations: ['61/61=1', '26+59=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,96 unequal: No Solution Exploring Operation: 1*85=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 1+85=86, Resulting Numbers: [86] 86,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 96:[26, 58], Operations: ['61/61=1', '59-1=58'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 26*58=1508, Resulting Numbers: [1508] 1508,96 unequal: No Solution Exploring Operation: 26+58=84, Resulting Numbers: [84] 84,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 96:[59, 25], Operations: ['61/61=1', '26-1=25'] Exploring Operation: 59-25=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 59*25=1475, Resulting Numbers: [1475] 1475,96 unequal: No Solution Exploring Operation: 59+25=84, Resulting Numbers: [84] 84,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[59, 26], Operations: ['61/61=1', '26*1=26'] Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,96 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[61, 26, 2], Operations: ['61-59=2'] Exploring Operation: 61-26=35, Resulting Numbers: [2, 35] Generated Node #0,0,0: 96:[2, 35] Operation: 61-26=35 Exploring Operation: 61+26=87, Resulting Numbers: [2, 87] Generated Node #0,0,1: 96:[2, 87] Operation: 61+26=87 Exploring Operation: 61-2=59, Resulting Numbers: [26, 59] Generated Node #0,0,2: 96:[26, 59] Operation: 61-2=59 Exploring Operation: 26/2=13, Resulting Numbers: [61, 13] Generated Node #0,0,3: 96:[61, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [61, 24] Generated Node #0,0,4: 96:[61, 24] Operation: 26-2=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[2, 35], Operations: ['61-59=2', '61-26=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,96 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[2, 87], Operations: ['61-59=2', '61+26=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,96 unequal: No Solution No 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: 96:[26, 59], Operations: ['61-59=2', '61-2=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,96 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 96:[61, 24], Operations: ['61-59=2', '26-2=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,96 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 96:[61, 13], Operations: ['61-59=2', '26/2=13'] Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,96 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[26, 59, 0], Operations: ['61-61=0'] Exploring Operation: 26+59=85, Resulting Numbers: [0, 85] Generated Node #0,1,0: 96:[0, 85] Operation: 26+59=85 Exploring Operation: 26*0=0, Resulting Numbers: [59, 0] Generated Node #0,1,1: 96:[59, 0] Operation: 26*0=0 Exploring Operation: 59-26=33, Resulting Numbers: [0, 33] Generated Node #0,1,2: 96:[0, 33] Operation: 59-26=33 Exploring Operation: 26+0=26, Resulting Numbers: [59, 26] Generated Node #0,1,3: 96:[59, 26] Operation: 26+0=26 Exploring Operation: 59*0=0, Resulting Numbers: [26, 0] Generated Node #0,1,4: 96:[26, 0] Operation: 59*0=0 Moving to Node #0,1,2 Current State: 96:[0, 33], Operations: ['61-61=0', '59-26=33'] Exploring Operation: 0*33=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 0+33=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 33-0=33, Resulting Numbers: [33] 33,96 unequal: No Solution Moving to Node #0,1,4 Current State: 96:[26, 0], Operations: ['61-61=0', '59*0=0'] Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[0, 85], Operations: ['61-61=0', '26+59=85'] Exploring Operation: 0*85=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 0+85=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 85-0=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[59, 0], Operations: ['61-61=0', '26*0=0'] Exploring Operation: 59*0=0, Resulting Numbers: [0] 0,96 unequal: No Solution Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 59-0=59, Resulting Numbers: [59] 59,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[59, 26], Operations: ['61-61=0', '26+0=26'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[61, 26, 2], Operations: ['61-59=2'] Exploring Operation: 61+26=87, Resulting Numbers: [2, 87] Generated Node #0,2,0: 96:[2, 87] Operation: 61+26=87 Exploring Operation: 26-2=24, Resulting Numbers: [61, 24] Generated Node #0,2,1: 96:[61, 24] Operation: 26-2=24 Exploring Operation: 61-26=35, Resulting Numbers: [2, 35] Generated Node #0,2,2: 96:[2, 35] Operation: 61-26=35 Exploring Operation: 61-2=59, Resulting Numbers: [26, 59] Generated Node #0,2,3: 96:[26, 59] Operation: 61-2=59 Exploring Operation: 26/2=13, Resulting Numbers: [61, 13] Generated Node #0,2,4: 96:[61, 13] Operation: 26/2=13 Moving to Node #0,2,2 Current State: 96:[2, 35], Operations: ['61-59=2', '61-26=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,96 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[2, 87], Operations: ['61-59=2', '61+26=87'] Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,96 unequal: No Solution Exploring Operation: 2*87=174, Resulting Numbers: [174] 174,96 unequal: No Solution Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[61, 24], Operations: ['61-59=2', '26-2=24'] Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[26, 59], Operations: ['61-59=2', '61-2=59'] Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 26+59=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 26*59=1534, Resulting Numbers: [1534] 1534,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[61, 13], Operations: ['61-59=2', '26/2=13'] Exploring Operation: 61+13=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 61*13=793, Resulting Numbers: [793] 793,96 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[61, 59, 35], Operations: ['61-26=35'] Exploring Operation: 61+35=96, Resulting Numbers: [59, 96] Generated Node #0,3,0: 96:[59, 96] Operation: 61+35=96 Exploring Operation: 59+35=94, Resulting Numbers: [61, 94] Generated Node #0,3,1: 96:[61, 94] Operation: 59+35=94 Exploring Operation: 59-35=24, Resulting Numbers: [61, 24] Generated Node #0,3,2: 96:[61, 24] Operation: 59-35=24 Exploring Operation: 61-35=26, Resulting Numbers: [59, 26] Generated Node #0,3,3: 96:[59, 26] Operation: 61-35=26 Exploring Operation: 61-59=2, Resulting Numbers: [35, 2] Generated Node #0,3,4: 96:[35, 2] Operation: 61-59=2 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 96:[35, 2], Operations: ['61-26=35', '61-59=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,96 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 96:[59, 96], Operations: ['61-26=35', '61+35=96'] Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,96 unequal: No Solution Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[61, 24], Operations: ['61-26=35', '59-35=24'] Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,96 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 96:[59, 26], Operations: ['61-26=35', '61-35=26'] Exploring Operation: 59*26=1534, Resulting Numbers: [1534] 1534,96 unequal: No Solution Exploring Operation: 59-26=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 59+26=85, Resulting Numbers: [85] 85,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 96:[61, 94], Operations: ['61-26=35', '59+35=94'] Exploring Operation: 61*94=5734, Resulting Numbers: [5734] 5734,96 unequal: No Solution Exploring Operation: 94-61=33, Resulting Numbers: [33] 33,96 unequal: No Solution Exploring Operation: 61+94=155, Resulting Numbers: [155] 155,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 86, 8, 42, 42 ]
94
[ "86+8=94", "42-42=0", "94+0=94" ]
Current State: 94:[86, 8, 42, 42], Operations: [] Exploring Operation: 86+8=94, Resulting Numbers: [42, 42, 94] Generated Node #2: [42, 42, 94] from Operation: 86+8=94 Current State: 94:[42, 42, 94], Operations: ['86+8=94'] Exploring Operation: 42-42=0, Resulting Numbers: [94, 0] Generated Node #3: [94, 0] from Operation: 42-42=0 Current State: 94:[94, 0], Operations: ['86+8=94', '42-42=0'] Exploring Operation: 94+0=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[86, 8, 42, 42], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [8, 42, 44] Generated Node #0,0: 94:[8, 42, 44] Operation: 86-42=44 Exploring Operation: 86+8=94, Resulting Numbers: [42, 42, 94] Generated Node #0,1: 94:[42, 42, 94] Operation: 86+8=94 Moving to Node #0,1 Current State: 94:[42, 42, 94], Operations: ['86+8=94'] Exploring Operation: 42/42=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 94:[94, 1] Operation: 42/42=1 Exploring Operation: 42-42=0, Resulting Numbers: [94, 0] Generated Node #0,1,1: 94:[94, 0] Operation: 42-42=0 Moving to Node #0,0 Current State: 94:[8, 42, 44], Operations: ['86-42=44'] Exploring Operation: 44-42=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 94:[8, 2] Operation: 44-42=2 Exploring Operation: 8+42=50, Resulting Numbers: [44, 50] Generated Node #0,0,1: 94:[44, 50] Operation: 8+42=50 Moving to Node #0,1,0 Current State: 94:[94, 1], Operations: ['86+8=94', '42/42=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[86, 8, 42, 42], Operations: [] Exploring Operation: 86+8=94, Resulting Numbers: [42, 42, 94] Generated Node #0,1: 94:[42, 42, 94] Operation: 86+8=94 Moving to Node #0,1 Current State: 94:[42, 42, 94], Operations: ['86+8=94'] Exploring Operation: 42/42=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 94:[94, 1] Operation: 42/42=1 Moving to Node #0,1,0 Current State: 94:[94, 1], Operations: ['86+8=94', '42/42=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 18, 53, 86, 7 ]
13
[ "18*7=126", "53+86=139", "139-126=13" ]
Current State: 13:[18, 53, 86, 7], Operations: [] Exploring Operation: 18*7=126, Resulting Numbers: [53, 86, 126] Generated Node #2: [53, 86, 126] from Operation: 18*7=126 Current State: 13:[53, 86, 126], Operations: ['18*7=126'] Exploring Operation: 53+86=139, Resulting Numbers: [126, 139] Generated Node #3: [126, 139] from Operation: 53+86=139 Current State: 13:[126, 139], Operations: ['18*7=126', '53+86=139'] Exploring Operation: 139-126=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[18, 53, 86, 7], Operations: [] Exploring Operation: 86-18=68, Resulting Numbers: [53, 7, 68] Generated Node #0,0: 13:[53, 7, 68] Operation: 86-18=68 Exploring Operation: 53-18=35, Resulting Numbers: [86, 7, 35] Generated Node #0,1: 13:[86, 7, 35] Operation: 53-18=35 Exploring Operation: 53-7=46, Resulting Numbers: [18, 86, 46] Generated Node #0,2: 13:[18, 86, 46] Operation: 53-7=46 Exploring Operation: 86-7=79, Resulting Numbers: [18, 53, 79] Generated Node #0,3: 13:[18, 53, 79] Operation: 86-7=79 Exploring Operation: 86-53=33, Resulting Numbers: [18, 7, 33] Generated Node #0,4: 13:[18, 7, 33] Operation: 86-53=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[18, 7, 33], Operations: ['86-53=33'] Exploring Operation: 18+7=25, Resulting Numbers: [33, 25] Generated Node #0,4,0: 13:[33, 25] Operation: 18+7=25 Exploring Operation: 7+33=40, Resulting Numbers: [18, 40] Generated Node #0,4,1: 13:[18, 40] Operation: 7+33=40 Exploring Operation: 18-7=11, Resulting Numbers: [33, 11] Generated Node #0,4,2: 13:[33, 11] Operation: 18-7=11 Exploring Operation: 33-18=15, Resulting Numbers: [7, 15] Generated Node #0,4,3: 13:[7, 15] Operation: 33-18=15 Exploring Operation: 33-7=26, Resulting Numbers: [18, 26] Generated Node #0,4,4: 13:[18, 26] Operation: 33-7=26 Moving to Node #0,4,3 Current State: 13:[7, 15], Operations: ['86-53=33', '33-18=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[18, 26], Operations: ['86-53=33', '33-7=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,13 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[33, 11], Operations: ['86-53=33', '18-7=11'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 33*11=363, Resulting Numbers: [363] 363,13 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,13 unequal: No Solution Exploring Operation: 33+11=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[33, 25], Operations: ['86-53=33', '18+7=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[18, 40], Operations: ['86-53=33', '7+33=40'] Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,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 Current State: 13:[53, 7, 68], Operations: ['86-18=68'] Exploring Operation: 68-53=15, Resulting Numbers: [7, 15] Generated Node #0,0,0: 13:[7, 15] Operation: 68-53=15 Exploring Operation: 53-7=46, Resulting Numbers: [68, 46] Generated Node #0,0,1: 13:[68, 46] Operation: 53-7=46 Exploring Operation: 53+7=60, Resulting Numbers: [68, 60] Generated Node #0,0,2: 13:[68, 60] Operation: 53+7=60 Exploring Operation: 7+68=75, Resulting Numbers: [53, 75] Generated Node #0,0,3: 13:[53, 75] Operation: 7+68=75 Exploring Operation: 68-7=61, Resulting Numbers: [53, 61] Generated Node #0,0,4: 13:[53, 61] Operation: 68-7=61 Moving to Node #0,0,0 Current State: 13:[7, 15], Operations: ['86-18=68', '68-53=15'] Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[53, 61], Operations: ['86-18=68', '68-7=61'] Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,13 unequal: No Solution Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[68, 46], Operations: ['86-18=68', '53-7=46'] Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,13 unequal: No Solution Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[68, 60], Operations: ['86-18=68', '53+7=60'] Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,13 unequal: No Solution Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,13 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[53, 75], Operations: ['86-18=68', '7+68=75'] Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,13 unequal: No Solution Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,13 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,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 Current State: 13:[86, 7, 35], Operations: ['53-18=35'] Exploring Operation: 86+7=93, Resulting Numbers: [35, 93] Generated Node #0,1,0: 13:[35, 93] Operation: 86+7=93 Exploring Operation: 86-7=79, Resulting Numbers: [35, 79] Generated Node #0,1,1: 13:[35, 79] Operation: 86-7=79 Exploring Operation: 35/7=5, Resulting Numbers: [86, 5] Generated Node #0,1,2: 13:[86, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [86, 28] Generated Node #0,1,3: 13:[86, 28] Operation: 35-7=28 Exploring Operation: 86-35=51, Resulting Numbers: [7, 51] Generated Node #0,1,4: 13:[7, 51] Operation: 86-35=51 Moving to Node #0,1,4 Current State: 13:[7, 51], Operations: ['53-18=35', '86-35=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,13 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[86, 5], Operations: ['53-18=35', '35/7=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,13 unequal: No Solution Exploring Operation: 86+5=91, Resulting Numbers: [91] 91,13 unequal: No Solution Exploring Operation: 86*5=430, Resulting Numbers: [430] 430,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[35, 79], Operations: ['53-18=35', '86-7=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 35*79=2765, Resulting Numbers: [2765] 2765,13 unequal: No Solution Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[86, 28], Operations: ['53-18=35', '35-7=28'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[35, 93], Operations: ['53-18=35', '86+7=93'] Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 35*93=3255, Resulting Numbers: [3255] 3255,13 unequal: No Solution Exploring Operation: 35+93=128, Resulting Numbers: [128] 128,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,2 Current State: 13:[18, 86, 46], Operations: ['53-7=46'] Exploring Operation: 18+46=64, Resulting Numbers: [86, 64] Generated Node #0,2,0: 13:[86, 64] Operation: 18+46=64 Exploring Operation: 86-46=40, Resulting Numbers: [18, 40] Generated Node #0,2,1: 13:[18, 40] Operation: 86-46=40 Exploring Operation: 18+86=104, Resulting Numbers: [46, 104] Generated Node #0,2,2: 13:[46, 104] Operation: 18+86=104 Exploring Operation: 46-18=28, Resulting Numbers: [86, 28] Generated Node #0,2,3: 13:[86, 28] Operation: 46-18=28 Exploring Operation: 86-18=68, Resulting Numbers: [46, 68] Generated Node #0,2,4: 13:[46, 68] Operation: 86-18=68 Moving to Node #0,2,1 Current State: 13:[18, 40], Operations: ['53-7=46', '86-46=40'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 18+40=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 18*40=720, Resulting Numbers: [720] 720,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[46, 68], Operations: ['53-7=46', '86-18=68'] Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 46*68=3128, Resulting Numbers: [3128] 3128,13 unequal: No Solution Exploring Operation: 46+68=114, Resulting Numbers: [114] 114,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[86, 28], Operations: ['53-7=46', '46-18=28'] Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[86, 64], Operations: ['53-7=46', '18+46=64'] Exploring Operation: 86*64=5504, Resulting Numbers: [5504] 5504,13 unequal: No Solution Exploring Operation: 86-64=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 86+64=150, Resulting Numbers: [150] 150,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[46, 104], Operations: ['53-7=46', '18+86=104'] Exploring Operation: 46+104=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 104-46=58, Resulting Numbers: [58] 58,13 unequal: No Solution Exploring Operation: 46*104=4784, Resulting Numbers: [4784] 4784,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[18, 53, 79], Operations: ['86-7=79'] Exploring Operation: 18+79=97, Resulting Numbers: [53, 97] Generated Node #0,3,0: 13:[53, 97] Operation: 18+79=97 Exploring Operation: 79-18=61, Resulting Numbers: [53, 61] Generated Node #0,3,1: 13:[53, 61] Operation: 79-18=61 Exploring Operation: 18+53=71, Resulting Numbers: [79, 71] Generated Node #0,3,2: 13:[79, 71] Operation: 18+53=71 Exploring Operation: 53-18=35, Resulting Numbers: [79, 35] Generated Node #0,3,3: 13:[79, 35] Operation: 53-18=35 Exploring Operation: 79-53=26, Resulting Numbers: [18, 26] Generated Node #0,3,4: 13:[18, 26] Operation: 79-53=26 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 13:[18, 26], Operations: ['86-7=79', '79-53=26'] Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,13 unequal: No Solution No 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: 13:[53, 61], Operations: ['86-7=79', '79-18=61'] Exploring Operation: 61-53=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 53*61=3233, Resulting Numbers: [3233] 3233,13 unequal: No Solution Exploring Operation: 53+61=114, Resulting Numbers: [114] 114,13 unequal: No Solution No 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: 13:[79, 35], Operations: ['86-7=79', '53-18=35'] Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,13 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,13 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,13 unequal: No Solution No 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: 13:[53, 97], Operations: ['86-7=79', '18+79=97'] Exploring Operation: 53+97=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 53*97=5141, Resulting Numbers: [5141] 5141,13 unequal: No Solution Exploring Operation: 97-53=44, Resulting Numbers: [44] 44,13 unequal: No Solution No 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: 13:[79, 71], Operations: ['86-7=79', '18+53=71'] Exploring Operation: 79-71=8, Resulting Numbers: [8] 8,13 unequal: No Solution Exploring Operation: 79+71=150, Resulting Numbers: [150] 150,13 unequal: No Solution Exploring Operation: 79*71=5609, Resulting Numbers: [5609] 5609,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 51, 11, 22, 63 ]
45
[ "51-11=40", "22+63=85", "85-40=45" ]
Current State: 45:[51, 11, 22, 63], Operations: [] Exploring Operation: 51-11=40, Resulting Numbers: [22, 63, 40] Generated Node #2: [22, 63, 40] from Operation: 51-11=40 Current State: 45:[22, 63, 40], Operations: ['51-11=40'] Exploring Operation: 22+63=85, Resulting Numbers: [40, 85] Generated Node #3: [40, 85] from Operation: 22+63=85 Current State: 45:[40, 85], Operations: ['51-11=40', '22+63=85'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[51, 11, 22, 63], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [51, 11, 41] Generated Node #0,0: 45:[51, 11, 41] Operation: 63-22=41 Exploring Operation: 63-11=52, Resulting Numbers: [51, 22, 52] Generated Node #0,1: 45:[51, 22, 52] Operation: 63-11=52 Exploring Operation: 63-51=12, Resulting Numbers: [11, 22, 12] Generated Node #0,2: 45:[11, 22, 12] Operation: 63-51=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[51, 11, 41], Operations: ['63-22=41'] Exploring Operation: 51-41=10, Resulting Numbers: [11, 10] Generated Node #0,0,0: 45:[11, 10] Operation: 51-41=10 Exploring Operation: 11+41=52, Resulting Numbers: [51, 52] Generated Node #0,0,1: 45:[51, 52] Operation: 11+41=52 Exploring Operation: 51-11=40, Resulting Numbers: [41, 40] Generated Node #0,0,2: 45:[41, 40] Operation: 51-11=40 Moving to Node #0,0,0 Current State: 45:[11, 10], Operations: ['63-22=41', '51-41=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[41, 40], Operations: ['63-22=41', '51-11=40'] Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,45 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[51, 52], Operations: ['63-22=41', '11+41=52'] Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,45 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,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 Current State: 45:[11, 22, 12], Operations: ['63-51=12'] Exploring Operation: 22-11=11, Resulting Numbers: [12, 11] Generated Node #0,2,0: 45:[12, 11] Operation: 22-11=11 Exploring Operation: 22/11=2, Resulting Numbers: [12, 2] Generated Node #0,2,1: 45:[12, 2] Operation: 22/11=2 Exploring Operation: 22-12=10, Resulting Numbers: [11, 10] Generated Node #0,2,2: 45:[11, 10] Operation: 22-12=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[11, 10], Operations: ['63-51=12', '22-12=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,45 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[12, 2], Operations: ['63-51=12', '22/11=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[12, 11], Operations: ['63-51=12', '22-11=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,45 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[51, 22, 52], Operations: ['63-11=52'] Exploring Operation: 52-22=30, Resulting Numbers: [51, 30] Generated Node #0,1,0: 45:[51, 30] Operation: 52-22=30 Exploring Operation: 52-51=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 45:[22, 1] Operation: 52-51=1 Exploring Operation: 51-22=29, Resulting Numbers: [52, 29] Generated Node #0,1,2: 45:[52, 29] Operation: 51-22=29 Moving to Node #0,1,1 Current State: 45:[22, 1], Operations: ['63-11=52', '52-51=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[51, 30], Operations: ['63-11=52', '52-22=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 51*30=1530, Resulting Numbers: [1530] 1530,45 unequal: No Solution Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[52, 29], Operations: ['63-11=52', '51-22=29'] Exploring Operation: 52+29=81, Resulting Numbers: [81] 81,45 unequal: No Solution Exploring Operation: 52*29=1508, Resulting Numbers: [1508] 1508,45 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 74, 13, 77, 66 ]
69
[ "77-66=11", "13*11=143", "143-74=69" ]
Current State: 69:[74, 13, 77, 66], Operations: [] Exploring Operation: 77-66=11, Resulting Numbers: [74, 13, 11] Generated Node #2: [74, 13, 11] from Operation: 77-66=11 Current State: 69:[74, 13, 11], Operations: ['77-66=11'] Exploring Operation: 13*11=143, Resulting Numbers: [74, 143] Generated Node #3: [74, 143] from Operation: 13*11=143 Current State: 69:[74, 143], Operations: ['77-66=11', '13*11=143'] Exploring Operation: 143-74=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[74, 13, 77, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [13, 77, 8] Generated Node #0,0: 69:[13, 77, 8] Operation: 74-66=8 Exploring Operation: 74-13=61, Resulting Numbers: [77, 66, 61] Generated Node #0,1: 69:[77, 66, 61] Operation: 74-13=61 Exploring Operation: 77-13=64, Resulting Numbers: [74, 66, 64] Generated Node #0,2: 69:[74, 66, 64] Operation: 77-13=64 Exploring Operation: 77-74=3, Resulting Numbers: [13, 66, 3] Generated Node #0,3: 69:[13, 66, 3] Operation: 77-74=3 Exploring Operation: 13+66=79, Resulting Numbers: [74, 77, 79] Generated Node #0,4: 69:[74, 77, 79] Operation: 13+66=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[74, 66, 64], Operations: ['77-13=64'] Exploring Operation: 66-64=2, Resulting Numbers: [74, 2] Generated Node #0,2,0: 69:[74, 2] Operation: 66-64=2 Exploring Operation: 66+64=130, Resulting Numbers: [74, 130] Generated Node #0,2,1: 69:[74, 130] Operation: 66+64=130 Exploring Operation: 74+64=138, Resulting Numbers: [66, 138] Generated Node #0,2,2: 69:[66, 138] Operation: 74+64=138 Exploring Operation: 74-64=10, Resulting Numbers: [66, 10] Generated Node #0,2,3: 69:[66, 10] Operation: 74-64=10 Exploring Operation: 74-66=8, Resulting Numbers: [64, 8] Generated Node #0,2,4: 69:[64, 8] Operation: 74-66=8 Moving to Node #0,2,0 Current State: 69:[74, 2], Operations: ['77-13=64', '66-64=2'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[64, 8], Operations: ['77-13=64', '74-66=8'] Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 64*8=512, Resulting Numbers: [512] 512,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[66, 10], Operations: ['77-13=64', '74-64=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,69 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[74, 130], Operations: ['77-13=64', '66+64=130'] Exploring Operation: 130-74=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 74+130=204, Resulting Numbers: [204] 204,69 unequal: No Solution Exploring Operation: 74*130=9620, Resulting Numbers: [9620] 9620,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[66, 138], Operations: ['77-13=64', '74+64=138'] Exploring Operation: 138-66=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 66+138=204, Resulting Numbers: [204] 204,69 unequal: No Solution Exploring Operation: 66*138=9108, Resulting Numbers: [9108] 9108,69 unequal: No Solution No 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: 69:[13, 66, 3], Operations: ['77-74=3'] Exploring Operation: 13+3=16, Resulting Numbers: [66, 16] Generated Node #0,3,0: 69:[66, 16] Operation: 13+3=16 Exploring Operation: 66/3=22, Resulting Numbers: [13, 22] Generated Node #0,3,1: 69:[13, 22] Operation: 66/3=22 Exploring Operation: 13+66=79, Resulting Numbers: [3, 79] Generated Node #0,3,2: 69:[3, 79] Operation: 13+66=79 Exploring Operation: 13-3=10, Resulting Numbers: [66, 10] Generated Node #0,3,3: 69:[66, 10] Operation: 13-3=10 Exploring Operation: 66+3=69, Resulting Numbers: [13, 69] Generated Node #0,3,4: 69:[13, 69] Operation: 66+3=69 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[66, 16], Operations: ['77-74=3', '13+3=16'] Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,69 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,69 unequal: No Solution No 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: 69:[3, 79], Operations: ['77-74=3', '13+66=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 3*79=237, Resulting Numbers: [237] 237,69 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,69 unequal: No Solution No 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: 69:[66, 10], Operations: ['77-74=3', '13-3=10'] Exploring Operation: 66*10=660, Resulting Numbers: [660] 660,69 unequal: No Solution Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 66+10=76, Resulting Numbers: [76] 76,69 unequal: No Solution No 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: 69:[13, 69], Operations: ['77-74=3', '66+3=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,69 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,69 unequal: No Solution No 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: 69:[13, 22], Operations: ['77-74=3', '66/3=22'] Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,69 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,69 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: 69:[77, 66, 61], Operations: ['74-13=61'] Exploring Operation: 77-66=11, Resulting Numbers: [61, 11] Generated Node #0,1,0: 69:[61, 11] Operation: 77-66=11 Exploring Operation: 66+61=127, Resulting Numbers: [77, 127] Generated Node #0,1,1: 69:[77, 127] Operation: 66+61=127 Exploring Operation: 77-61=16, Resulting Numbers: [66, 16] Generated Node #0,1,2: 69:[66, 16] Operation: 77-61=16 Exploring Operation: 66-61=5, Resulting Numbers: [77, 5] Generated Node #0,1,3: 69:[77, 5] Operation: 66-61=5 Exploring Operation: 77+61=138, Resulting Numbers: [66, 138] Generated Node #0,1,4: 69:[66, 138] Operation: 77+61=138 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[66, 16], Operations: ['74-13=61', '77-61=16'] Exploring Operation: 66*16=1056, Resulting Numbers: [1056] 1056,69 unequal: No Solution Exploring Operation: 66+16=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,69 unequal: No Solution No 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: 69:[77, 5], Operations: ['74-13=61', '66-61=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,69 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,69 unequal: No Solution No 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: 69:[61, 11], Operations: ['74-13=61', '77-66=11'] Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,69 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,69 unequal: No Solution No 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: 69:[77, 127], Operations: ['74-13=61', '66+61=127'] Exploring Operation: 127-77=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 77*127=9779, Resulting Numbers: [9779] 9779,69 unequal: No Solution Exploring Operation: 77+127=204, Resulting Numbers: [204] 204,69 unequal: No Solution No 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: 69:[66, 138], Operations: ['74-13=61', '77+61=138'] Exploring Operation: 66+138=204, Resulting Numbers: [204] 204,69 unequal: No Solution Exploring Operation: 66*138=9108, Resulting Numbers: [9108] 9108,69 unequal: No Solution Exploring Operation: 138-66=72, Resulting Numbers: [72] 72,69 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: 69:[13, 77, 8], Operations: ['74-66=8'] Exploring Operation: 13+77=90, Resulting Numbers: [8, 90] Generated Node #0,0,0: 69:[8, 90] Operation: 13+77=90 Exploring Operation: 13+8=21, Resulting Numbers: [77, 21] Generated Node #0,0,1: 69:[77, 21] Operation: 13+8=21 Exploring Operation: 77-8=69, Resulting Numbers: [13, 69] Generated Node #0,0,2: 69:[13, 69] Operation: 77-8=69 Exploring Operation: 77-13=64, Resulting Numbers: [8, 64] Generated Node #0,0,3: 69:[8, 64] Operation: 77-13=64 Exploring Operation: 13-8=5, Resulting Numbers: [77, 5] Generated Node #0,0,4: 69:[77, 5] Operation: 13-8=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[77, 21], Operations: ['74-66=8', '13+8=21'] Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,69 unequal: No Solution Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,69 unequal: No Solution No 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: 69:[13, 69], Operations: ['74-66=8', '77-8=69'] Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,69 unequal: No Solution No 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: 69:[8, 64], Operations: ['74-66=8', '77-13=64'] Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,69 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,69 unequal: No Solution No 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: 69:[77, 5], Operations: ['74-66=8', '13-8=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,69 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,69 unequal: No Solution No 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: 69:[8, 90], Operations: ['74-66=8', '13+77=90'] Exploring Operation: 90-8=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 8*90=720, Resulting Numbers: [720] 720,69 unequal: No Solution Exploring Operation: 8+90=98, Resulting Numbers: [98] 98,69 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: 69:[74, 77, 79], Operations: ['13+66=79'] Exploring Operation: 79-77=2, Resulting Numbers: [74, 2] Generated Node #0,4,0: 69:[74, 2] Operation: 79-77=2 Exploring Operation: 74+77=151, Resulting Numbers: [79, 151] Generated Node #0,4,1: 69:[79, 151] Operation: 74+77=151 Exploring Operation: 74+79=153, Resulting Numbers: [77, 153] Generated Node #0,4,2: 69:[77, 153] Operation: 74+79=153 Exploring Operation: 79-74=5, Resulting Numbers: [77, 5] Generated Node #0,4,3: 69:[77, 5] Operation: 79-74=5 Exploring Operation: 77-74=3, Resulting Numbers: [79, 3] Generated Node #0,4,4: 69:[79, 3] Operation: 77-74=3 Moving to Node #0,4,0 Current State: 69:[74, 2], Operations: ['13+66=79', '79-77=2'] Exploring Operation: 74+2=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 74*2=148, Resulting Numbers: [148] 148,69 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[79, 3], Operations: ['13+66=79', '77-74=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,69 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[77, 5], Operations: ['13+66=79', '79-74=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,69 unequal: No Solution Moving to Node #0,4,1 Current State: 69:[79, 151], Operations: ['13+66=79', '74+77=151'] Exploring Operation: 79*151=11929, Resulting Numbers: [11929] 11929,69 unequal: No Solution Exploring Operation: 151-79=72, Resulting Numbers: [72] 72,69 unequal: No Solution Exploring Operation: 79+151=230, Resulting Numbers: [230] 230,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[77, 153], Operations: ['13+66=79', '74+79=153'] Exploring Operation: 153-77=76, Resulting Numbers: [76] 76,69 unequal: No Solution Exploring Operation: 77+153=230, Resulting Numbers: [230] 230,69 unequal: No Solution Exploring Operation: 77*153=11781, Resulting Numbers: [11781] 11781,69 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
[ 90, 27, 17, 94 ]
14
[ "90-27=63", "94-17=77", "77-63=14" ]
Current State: 14:[90, 27, 17, 94], Operations: [] Exploring Operation: 90-27=63, Resulting Numbers: [17, 94, 63] Generated Node #2: [17, 94, 63] from Operation: 90-27=63 Current State: 14:[17, 94, 63], Operations: ['90-27=63'] Exploring Operation: 94-17=77, Resulting Numbers: [63, 77] Generated Node #3: [63, 77] from Operation: 94-17=77 Current State: 14:[63, 77], Operations: ['90-27=63', '94-17=77'] Exploring Operation: 77-63=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[90, 27, 17, 94], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [27, 17, 4] Generated Node #0,0: 14:[27, 17, 4] Operation: 94-90=4 Moving to Node #0,0 Current State: 14:[27, 17, 4], Operations: ['94-90=4'] Exploring Operation: 27-17=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 14:[4, 10] Operation: 27-17=10 Moving to Node #0,0,0 Current State: 14:[4, 10], Operations: ['94-90=4', '27-17=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[90, 27, 17, 94], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [27, 17, 4] Generated Node #0,0: 14:[27, 17, 4] Operation: 94-90=4 Moving to Node #0,0 Current State: 14:[27, 17, 4], Operations: ['94-90=4'] Exploring Operation: 27-17=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 14:[4, 10] Operation: 27-17=10 Moving to Node #0,0,0 Current State: 14:[4, 10], Operations: ['94-90=4', '27-17=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 26, 24, 1, 46 ]
22
[ "26-24=2", "46/2=23", "23-1=22" ]
Current State: 22:[26, 24, 1, 46], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [1, 46, 2] Generated Node #2: [1, 46, 2] from Operation: 26-24=2 Current State: 22:[1, 46, 2], Operations: ['26-24=2'] Exploring Operation: 46/2=23, Resulting Numbers: [1, 23] Generated Node #3: [1, 23] from Operation: 46/2=23 Current State: 22:[1, 23], Operations: ['26-24=2', '46/2=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[26, 24, 1, 46], Operations: [] Exploring Operation: 24-1=23, Resulting Numbers: [26, 46, 23] Generated Node #0,0: 22:[26, 46, 23] Operation: 24-1=23 Exploring Operation: 26-24=2, Resulting Numbers: [1, 46, 2] Generated Node #0,1: 22:[1, 46, 2] Operation: 26-24=2 Exploring Operation: 26-1=25, Resulting Numbers: [24, 46, 25] Generated Node #0,2: 22:[24, 46, 25] Operation: 26-1=25 Exploring Operation: 46-26=20, Resulting Numbers: [24, 1, 20] Generated Node #0,3: 22:[24, 1, 20] Operation: 46-26=20 Exploring Operation: 46-24=22, Resulting Numbers: [26, 1, 22] Generated Node #0,4: 22:[26, 1, 22] Operation: 46-24=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[24, 1, 20], Operations: ['46-26=20'] Exploring Operation: 24-1=23, Resulting Numbers: [20, 23] Generated Node #0,3,0: 22:[20, 23] Operation: 24-1=23 Exploring Operation: 1+20=21, Resulting Numbers: [24, 21] Generated Node #0,3,1: 22:[24, 21] Operation: 1+20=21 Exploring Operation: 24/1=24, Resulting Numbers: [20, 24] Generated Node #0,3,2: 22:[20, 24] Operation: 24/1=24 Exploring Operation: 24*1=24, Resulting Numbers: [20, 24] Generated Node #0,3,3: 22:[20, 24] Operation: 24*1=24 Exploring Operation: 24-20=4, Resulting Numbers: [1, 4] Generated Node #0,3,4: 22:[1, 4] Operation: 24-20=4 Moving to Node #0,3,0 Current State: 22:[20, 23], Operations: ['46-26=20', '24-1=23'] Exploring Operation: 20+23=43, Resulting Numbers: [43] 43,22 unequal: No Solution Exploring Operation: 20*23=460, Resulting Numbers: [460] 460,22 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,22 unequal: No Solution Moving to Node #0,3,4 Current State: 22:[1, 4], Operations: ['46-26=20', '24-20=4'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[24, 21], Operations: ['46-26=20', '1+20=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,22 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[20, 24], Operations: ['46-26=20', '24/1=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,22 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,22 unequal: No Solution Moving to Node #0,3,3 Current State: 22:[20, 24], Operations: ['46-26=20', '24*1=24'] Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,22 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 22:[26, 1, 22], Operations: ['46-24=22'] Exploring Operation: 26*1=26, Resulting Numbers: [22, 26] Generated Node #0,4,0: 22:[22, 26] Operation: 26*1=26 Exploring Operation: 1*22=22, Resulting Numbers: [26, 22] Generated Node #0,4,1: 22:[26, 22] Operation: 1*22=22 Exploring Operation: 26-22=4, Resulting Numbers: [1, 4] Generated Node #0,4,2: 22:[1, 4] Operation: 26-22=4 Exploring Operation: 26-1=25, Resulting Numbers: [22, 25] Generated Node #0,4,3: 22:[22, 25] Operation: 26-1=25 Exploring Operation: 26/1=26, Resulting Numbers: [22, 26] Generated Node #0,4,4: 22:[22, 26] Operation: 26/1=26 Moving to Node #0,4,2 Current State: 22:[1, 4], Operations: ['46-24=22', '26-22=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,22 unequal: No Solution Moving to Node #0,4,3 Current State: 22:[22, 25], Operations: ['46-24=22', '26-1=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,22 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,22 unequal: No Solution Moving to Node #0,4,0 Current State: 22:[22, 26], Operations: ['46-24=22', '26*1=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,22 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,22 unequal: No Solution Moving to Node #0,4,1 Current State: 22:[26, 22], Operations: ['46-24=22', '1*22=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,22 unequal: No Solution Moving to Node #0,4,4 Current State: 22:[22, 26], Operations: ['46-24=22', '26/1=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[1, 46, 2], Operations: ['26-24=2'] Exploring Operation: 46-1=45, Resulting Numbers: [2, 45] Generated Node #0,1,0: 22:[2, 45] Operation: 46-1=45 Exploring Operation: 46/2=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 22:[1, 23] Operation: 46/2=23 Exploring Operation: 46/1=46, Resulting Numbers: [2, 46] Generated Node #0,1,2: 22:[2, 46] Operation: 46/1=46 Exploring Operation: 46-2=44, Resulting Numbers: [1, 44] Generated Node #0,1,3: 22:[1, 44] Operation: 46-2=44 Exploring Operation: 1*46=46, Resulting Numbers: [2, 46] Generated Node #0,1,4: 22:[2, 46] Operation: 1*46=46 Moving to Node #0,1,1 Current State: 22:[1, 23], Operations: ['26-24=2', '46/2=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,22 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[26, 24, 1, 46], Operations: [] Exploring Operation: 26-24=2, Resulting Numbers: [1, 46, 2] Generated Node #0,1: 22:[1, 46, 2] Operation: 26-24=2 Moving to Node #0,1 Current State: 22:[1, 46, 2], Operations: ['26-24=2'] Exploring Operation: 46/2=23, Resulting Numbers: [1, 23] Generated Node #0,1,1: 22:[1, 23] Operation: 46/2=23 Moving to Node #0,1,1 Current State: 22:[1, 23], Operations: ['26-24=2', '46/2=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 41, 16, 73, 10 ]
88
[ "41-16=25", "73-10=63", "25+63=88" ]
Current State: 88:[41, 16, 73, 10], Operations: [] Exploring Operation: 41-16=25, Resulting Numbers: [73, 10, 25] Generated Node #2: [73, 10, 25] from Operation: 41-16=25 Current State: 88:[73, 10, 25], Operations: ['41-16=25'] Exploring Operation: 73-10=63, Resulting Numbers: [25, 63] Generated Node #3: [25, 63] from Operation: 73-10=63 Current State: 88:[25, 63], Operations: ['41-16=25', '73-10=63'] Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[41, 16, 73, 10], Operations: [] Exploring Operation: 16+73=89, Resulting Numbers: [41, 10, 89] Generated Node #0,0: 88:[41, 10, 89] Operation: 16+73=89 Exploring Operation: 73-41=32, Resulting Numbers: [16, 10, 32] Generated Node #0,1: 88:[16, 10, 32] Operation: 73-41=32 Exploring Operation: 73+10=83, Resulting Numbers: [41, 16, 83] Generated Node #0,2: 88:[41, 16, 83] Operation: 73+10=83 Moving to Node #0,0 Current State: 88:[41, 10, 89], Operations: ['16+73=89'] Exploring Operation: 41+10=51, Resulting Numbers: [89, 51] Generated Node #0,0,0: 88:[89, 51] Operation: 41+10=51 Exploring Operation: 89-41=48, Resulting Numbers: [10, 48] Generated Node #0,0,1: 88:[10, 48] Operation: 89-41=48 Exploring Operation: 41-10=31, Resulting Numbers: [89, 31] Generated Node #0,0,2: 88:[89, 31] Operation: 41-10=31 Moving to Node #0,2 Current State: 88:[41, 16, 83], Operations: ['73+10=83'] Exploring Operation: 41-16=25, Resulting Numbers: [83, 25] Generated Node #0,2,0: 88:[83, 25] Operation: 41-16=25 Exploring Operation: 16+83=99, Resulting Numbers: [41, 99] Generated Node #0,2,1: 88:[41, 99] Operation: 16+83=99 Exploring Operation: 83-41=42, Resulting Numbers: [16, 42] Generated Node #0,2,2: 88:[16, 42] Operation: 83-41=42 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[16, 42], Operations: ['73+10=83', '83-41=42'] Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,88 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,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,0 Current State: 88:[83, 25], Operations: ['73+10=83', '41-16=25'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 83+25=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 83*25=2075, Resulting Numbers: [2075] 2075,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:[41, 99], Operations: ['73+10=83', '16+83=99'] Exploring Operation: 99-41=58, Resulting Numbers: [58] 58,88 unequal: No Solution Exploring Operation: 41+99=140, Resulting Numbers: [140] 140,88 unequal: No Solution Exploring Operation: 41*99=4059, Resulting Numbers: [4059] 4059,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:[16, 10, 32], Operations: ['73-41=32'] Exploring Operation: 32/16=2, Resulting Numbers: [10, 2] Generated Node #0,1,0: 88:[10, 2] Operation: 32/16=2 Exploring Operation: 32-10=22, Resulting Numbers: [16, 22] Generated Node #0,1,1: 88:[16, 22] Operation: 32-10=22 Exploring Operation: 16+32=48, Resulting Numbers: [10, 48] Generated Node #0,1,2: 88:[10, 48] Operation: 16+32=48 Moving to Node #0,1,0 Current State: 88:[10, 2], Operations: ['73-41=32', '32/16=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[10, 48], Operations: ['73-41=32', '16+32=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,88 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[10, 48], Operations: ['16+73=89', '89-41=48'] Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,88 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[16, 22], Operations: ['73-41=32', '32-10=22'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[89, 51], Operations: ['16+73=89', '41+10=51'] Exploring Operation: 89-51=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 89*51=4539, Resulting Numbers: [4539] 4539,88 unequal: No Solution Exploring Operation: 89+51=140, Resulting Numbers: [140] 140,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[89, 31], Operations: ['16+73=89', '41-10=31'] Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,88 unequal: No Solution Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,88 unequal: No Solution Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,88 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 48, 24, 81, 41 ]
38
[ "48/24=2", "81-41=40", "40-2=38" ]
Current State: 38:[48, 24, 81, 41], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [81, 41, 2] Generated Node #2: [81, 41, 2] from Operation: 48/24=2 Current State: 38:[81, 41, 2], Operations: ['48/24=2'] Exploring Operation: 81-41=40, Resulting Numbers: [2, 40] Generated Node #3: [2, 40] from Operation: 81-41=40 Current State: 38:[2, 40], Operations: ['48/24=2', '81-41=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[48, 24, 81, 41], Operations: [] Exploring Operation: 48/24=2, Resulting Numbers: [81, 41, 2] Generated Node #0,0: 38:[81, 41, 2] Operation: 48/24=2 Exploring Operation: 81-41=40, Resulting Numbers: [48, 24, 40] Generated Node #0,1: 38:[48, 24, 40] Operation: 81-41=40 Exploring Operation: 81-48=33, Resulting Numbers: [24, 41, 33] Generated Node #0,2: 38:[24, 41, 33] Operation: 81-48=33 Exploring Operation: 81-24=57, Resulting Numbers: [48, 41, 57] Generated Node #0,3: 38:[48, 41, 57] Operation: 81-24=57 Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[24, 41, 33], Operations: ['81-48=33'] Exploring Operation: 41-33=8, Resulting Numbers: [24, 8] Generated Node #0,2,0: 38:[24, 8] Operation: 41-33=8 Exploring Operation: 41-24=17, Resulting Numbers: [33, 17] Generated Node #0,2,1: 38:[33, 17] Operation: 41-24=17 Exploring Operation: 24+33=57, Resulting Numbers: [41, 57] Generated Node #0,2,2: 38:[41, 57] Operation: 24+33=57 Exploring Operation: 33-24=9, Resulting Numbers: [41, 9] Generated Node #0,2,3: 38:[41, 9] Operation: 33-24=9 Moving to Node #0,2,1 Current State: 38:[33, 17], Operations: ['81-48=33', '41-24=17'] Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 33*17=561, Resulting Numbers: [561] 561,38 unequal: No Solution Exploring Operation: 33+17=50, Resulting Numbers: [50] 50,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[41, 9], Operations: ['81-48=33', '33-24=9'] Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,38 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[24, 8], Operations: ['81-48=33', '41-33=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,38 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,38 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,38 unequal: No Solution Moving to Node #0,2,2 Current State: 38:[41, 57], Operations: ['81-48=33', '24+33=57'] Exploring Operation: 41*57=2337, Resulting Numbers: [2337] 2337,38 unequal: No Solution Exploring Operation: 41+57=98, Resulting Numbers: [98] 98,38 unequal: No Solution Exploring Operation: 57-41=16, Resulting Numbers: [16] 16,38 unequal: No Solution No 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: 38:[48, 24, 40], Operations: ['81-41=40'] Exploring Operation: 48-24=24, Resulting Numbers: [40, 24] Generated Node #0,1,0: 38:[40, 24] Operation: 48-24=24 Exploring Operation: 40-24=16, Resulting Numbers: [48, 16] Generated Node #0,1,1: 38:[48, 16] Operation: 40-24=16 Exploring Operation: 48-40=8, Resulting Numbers: [24, 8] Generated Node #0,1,2: 38:[24, 8] Operation: 48-40=8 Exploring Operation: 48/24=2, Resulting Numbers: [40, 2] Generated Node #0,1,3: 38:[40, 2] Operation: 48/24=2 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[40, 2], Operations: ['81-41=40', '48/24=2'] Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,38 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[48, 24, 81, 41], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [48, 24, 40] Generated Node #0,1: 38:[48, 24, 40] Operation: 81-41=40 Moving to Node #0,1 Current State: 38:[48, 24, 40], Operations: ['81-41=40'] Exploring Operation: 48/24=2, Resulting Numbers: [40, 2] Generated Node #0,1,3: 38:[40, 2] Operation: 48/24=2 Moving to Node #0,1,3 Current State: 38:[40, 2], Operations: ['81-41=40', '48/24=2'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 91, 98, 12, 78 ]
98
[ "91-12=79", "79-78=1", "98*1=98" ]
Current State: 98:[91, 98, 12, 78], Operations: [] Exploring Operation: 91-12=79, Resulting Numbers: [98, 78, 79] Generated Node #2: [98, 78, 79] from Operation: 91-12=79 Current State: 98:[98, 78, 79], Operations: ['91-12=79'] Exploring Operation: 79-78=1, Resulting Numbers: [98, 1] Generated Node #3: [98, 1] from Operation: 79-78=1 Current State: 98:[98, 1], Operations: ['91-12=79', '79-78=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[91, 98, 12, 78], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [98, 12, 13] Generated Node #0,0: 98:[98, 12, 13] Operation: 91-78=13 Moving to Node #0,0 Current State: 98:[98, 12, 13], Operations: ['91-78=13'] Exploring Operation: 13-12=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 98:[98, 1] Operation: 13-12=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[98, 1], Operations: ['91-78=13', '13-12=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[91, 98, 12, 78], Operations: [] Exploring Operation: 91-78=13, Resulting Numbers: [98, 12, 13] Generated Node #0,0: 98:[98, 12, 13] Operation: 91-78=13 Moving to Node #0,0 Current State: 98:[98, 12, 13], Operations: ['91-78=13'] Exploring Operation: 13-12=1, Resulting Numbers: [98, 1] Generated Node #0,0,0: 98:[98, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 98:[98, 1], Operations: ['91-78=13', '13-12=1'] Exploring Operation: 98*1=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 8, 6, 54, 27 ]
64
[ "54/27=2", "6+2=8", "8*8=64" ]
Current State: 64:[8, 6, 54, 27], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [8, 6, 2] Generated Node #2: [8, 6, 2] from Operation: 54/27=2 Current State: 64:[8, 6, 2], Operations: ['54/27=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8, 8] Generated Node #3: [8, 8] from Operation: 6+2=8 Current State: 64:[8, 8], Operations: ['54/27=2', '6+2=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 6, 54, 27], Operations: [] Exploring Operation: 54/6=9, Resulting Numbers: [8, 27, 9] Generated Node #0,0: 64:[8, 27, 9] Operation: 54/6=9 Exploring Operation: 54/27=2, Resulting Numbers: [8, 6, 2] Generated Node #0,1: 64:[8, 6, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 64:[8, 6, 2], Operations: ['54/27=2'] Exploring Operation: 8-6=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 64:[2, 2] Operation: 8-6=2 Exploring Operation: 6+2=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 64:[8, 8] Operation: 6+2=8 Moving to Node #0,0 Current State: 64:[8, 27, 9], Operations: ['54/6=9'] Exploring Operation: 27/9=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 64:[8, 3] Operation: 27/9=3 Exploring Operation: 27-9=18, Resulting Numbers: [8, 18] Generated Node #0,0,1: 64:[8, 18] Operation: 27-9=18 Moving to Node #0,1,0 Current State: 64:[2, 2], Operations: ['54/27=2', '8-6=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[8, 8], Operations: ['54/27=2', '6+2=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[8, 6, 54, 27], Operations: [] Exploring Operation: 54/27=2, Resulting Numbers: [8, 6, 2] Generated Node #0,1: 64:[8, 6, 2] Operation: 54/27=2 Moving to Node #0,1 Current State: 64:[8, 6, 2], Operations: ['54/27=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8, 8] Generated Node #0,1,1: 64:[8, 8] Operation: 6+2=8 Moving to Node #0,1,1 Current State: 64:[8, 8], Operations: ['54/27=2', '6+2=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 38, 4, 74, 33 ]
74
[ "38-4=34", "34-33=1", "74*1=74" ]
Current State: 74:[38, 4, 74, 33], Operations: [] Exploring Operation: 38-4=34, Resulting Numbers: [74, 33, 34] Generated Node #2: [74, 33, 34] from Operation: 38-4=34 Current State: 74:[74, 33, 34], Operations: ['38-4=34'] Exploring Operation: 34-33=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 34-33=1 Current State: 74:[74, 1], Operations: ['38-4=34', '34-33=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[38, 4, 74, 33], Operations: [] Exploring Operation: 4+33=37, Resulting Numbers: [38, 74, 37] Generated Node #0,0: 74:[38, 74, 37] Operation: 4+33=37 Moving to Node #0,0 Current State: 74:[38, 74, 37], Operations: ['4+33=37'] Exploring Operation: 74-38=36, Resulting Numbers: [37, 36] Generated Node #0,0,0: 74:[37, 36] Operation: 74-38=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[37, 36], Operations: ['4+33=37', '74-38=36'] Exploring Operation: 37+36=73, Resulting Numbers: [73] 73,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 23, 22, 52, 10 ]
20
[ "52-22=30", "30/10=3", "23-3=20" ]
Current State: 20:[23, 22, 52, 10], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [23, 10, 30] Generated Node #2: [23, 10, 30] from Operation: 52-22=30 Current State: 20:[23, 10, 30], Operations: ['52-22=30'] Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 30/10=3 Current State: 20:[23, 3], Operations: ['52-22=30', '30/10=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[23, 22, 52, 10], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [23, 10, 30] Generated Node #0,0: 20:[23, 10, 30] Operation: 52-22=30 Exploring Operation: 52-10=42, Resulting Numbers: [23, 22, 42] Generated Node #0,1: 20:[23, 22, 42] Operation: 52-10=42 Exploring Operation: 52-23=29, Resulting Numbers: [22, 10, 29] Generated Node #0,2: 20:[22, 10, 29] Operation: 52-23=29 Moving to Node #0,2 Current State: 20:[22, 10, 29], Operations: ['52-23=29'] Exploring Operation: 29-22=7, Resulting Numbers: [10, 7] Generated Node #0,2,0: 20:[10, 7] Operation: 29-22=7 Exploring Operation: 22-10=12, Resulting Numbers: [29, 12] Generated Node #0,2,1: 20:[29, 12] Operation: 22-10=12 Exploring Operation: 29-10=19, Resulting Numbers: [22, 19] Generated Node #0,2,2: 20:[22, 19] Operation: 29-10=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[10, 7], Operations: ['52-23=29', '29-22=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,20 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,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,2,2 Current State: 20:[22, 19], Operations: ['52-23=29', '29-10=19'] Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,20 unequal: No Solution Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,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,2,1 Current State: 20:[29, 12], Operations: ['52-23=29', '22-10=12'] Exploring Operation: 29*12=348, Resulting Numbers: [348] 348,20 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,20 unequal: No Solution Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,20 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: 20:[23, 10, 30], Operations: ['52-22=30'] Exploring Operation: 30-23=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 20:[10, 7] Operation: 30-23=7 Exploring Operation: 30-10=20, Resulting Numbers: [23, 20] Generated Node #0,0,1: 20:[23, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #0,0,2: 20:[23, 3] Operation: 30/10=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[10, 7], Operations: ['52-22=30', '30-23=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,20 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[23, 20], Operations: ['52-22=30', '30-10=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,20 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[23, 3], Operations: ['52-22=30', '30/10=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,20 unequal: No Solution Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[23, 22, 52, 10], Operations: [] Exploring Operation: 52-22=30, Resulting Numbers: [23, 10, 30] Generated Node #0,0: 20:[23, 10, 30] Operation: 52-22=30 Moving to Node #0,0 Current State: 20:[23, 10, 30], Operations: ['52-22=30'] Exploring Operation: 30/10=3, Resulting Numbers: [23, 3] Generated Node #0,0,2: 20:[23, 3] Operation: 30/10=3 Moving to Node #0,0,2 Current State: 20:[23, 3], Operations: ['52-22=30', '30/10=3'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 42, 7, 64, 72 ]
42
[ "7+64=71", "72-71=1", "42*1=42" ]
Current State: 42:[42, 7, 64, 72], Operations: [] Exploring Operation: 7+64=71, Resulting Numbers: [42, 72, 71] Generated Node #2: [42, 72, 71] from Operation: 7+64=71 Current State: 42:[42, 72, 71], Operations: ['7+64=71'] Exploring Operation: 72-71=1, Resulting Numbers: [42, 1] Generated Node #3: [42, 1] from Operation: 72-71=1 Current State: 42:[42, 1], Operations: ['7+64=71', '72-71=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[42, 7, 64, 72], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [42, 7, 8] Generated Node #0,0: 42:[42, 7, 8] Operation: 72-64=8 Moving to Node #0,0 Current State: 42:[42, 7, 8], Operations: ['72-64=8'] Exploring Operation: 42/7=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 42:[8, 6] Operation: 42/7=6 Moving to Node #0,0,0 Current State: 42:[8, 6], Operations: ['72-64=8', '42/7=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 43, 33, 76, 66 ]
66
[ "43+33=76", "76+66=142", "142-76=66" ]
Current State: 66:[43, 33, 76, 66], Operations: [] Exploring Operation: 43+33=76, Resulting Numbers: [76, 66, 76] Generated Node #2: [76, 66, 76] from Operation: 43+33=76 Current State: 66:[76, 66, 76], Operations: ['43+33=76'] Exploring Operation: 76+66=142, Resulting Numbers: [142] 142,66 equal: Goal Reached Exploring Operation: 142-76=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[43, 33, 76, 66], Operations: [] Exploring Operation: 43-33=10, Resulting Numbers: [76, 66, 10] Generated Node #0,0: 66:[76, 66, 10] Operation: 43-33=10 Exploring Operation: 76-43=33, Resulting Numbers: [33, 66, 33] Generated Node #0,1: 66:[33, 66, 33] Operation: 76-43=33 Exploring Operation: 66-43=23, Resulting Numbers: [33, 76, 23] Generated Node #0,2: 66:[33, 76, 23] Operation: 66-43=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 66:[33, 66, 33], Operations: ['76-43=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66, 66] Generated Node #0,1,0: 66:[66, 66] Operation: 33+33=66 Exploring Operation: 66/33=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 66:[33, 2] Operation: 66/33=2 Exploring Operation: 66-33=33, Resulting Numbers: [33, 33] Generated Node #0,1,2: 66:[33, 33] Operation: 66-33=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[66, 66], Operations: ['76-43=33', '33+33=66'] Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,66 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,66 unequal: No Solution No 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: 66:[33, 2], Operations: ['76-43=33', '66/33=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,66 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,66 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[43, 33, 76, 66], Operations: [] Exploring Operation: 76-43=33, Resulting Numbers: [33, 66, 33] Generated Node #0,1: 66:[33, 66, 33] Operation: 76-43=33 Moving to Node #0,1 Current State: 66:[33, 66, 33], Operations: ['76-43=33'] Exploring Operation: 66/33=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 66:[33, 2] Operation: 66/33=2 Moving to Node #0,1,1 Current State: 66:[33, 2], Operations: ['76-43=33', '66/33=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 75, 20, 20, 97 ]
18
[ "75+20=95", "97-20=77", "95-77=18" ]
Current State: 18:[75, 20, 20, 97], Operations: [] Exploring Operation: 75+20=95, Resulting Numbers: [97, 95] Generated Node #2: [97, 95] from Operation: 75+20=95 Current State: 18:[97, 95], Operations: ['75+20=95'] Exploring Operation: 97-20=77, Resulting Numbers: [95, 77] Generated Node #3: [95, 77] from Operation: 97-20=77 Current State: 18:[95, 77], Operations: ['75+20=95', '97-20=77'] Exploring Operation: 95-77=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[75, 20, 20, 97], Operations: [] Exploring Operation: 97-75=22, Resulting Numbers: [20, 20, 22] Generated Node #0,0: 18:[20, 20, 22] Operation: 97-75=22 Moving to Node #0,0 Current State: 18:[20, 20, 22], Operations: ['97-75=22'] Exploring Operation: 22-20=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 18:[20, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 18:[20, 2], Operations: ['97-75=22', '22-20=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[75, 20, 20, 97], Operations: [] Exploring Operation: 97-75=22, Resulting Numbers: [20, 20, 22] Generated Node #0,0: 18:[20, 20, 22] Operation: 97-75=22 Moving to Node #0,0 Current State: 18:[20, 20, 22], Operations: ['97-75=22'] Exploring Operation: 22-20=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 18:[20, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 18:[20, 2], Operations: ['97-75=22', '22-20=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 4, 6, 66, 60 ]
36
[ "6-4=2", "60/2=30", "66-30=36" ]
Current State: 36:[4, 6, 66, 60], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [66, 60, 2] Generated Node #2: [66, 60, 2] from Operation: 6-4=2 Current State: 36:[66, 60, 2], Operations: ['6-4=2'] Exploring Operation: 60/2=30, Resulting Numbers: [66, 30] Generated Node #3: [66, 30] from Operation: 60/2=30 Current State: 36:[66, 30], Operations: ['6-4=2', '60/2=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[4, 6, 66, 60], Operations: [] Exploring Operation: 66/6=11, Resulting Numbers: [4, 60, 11] Generated Node #0,0: 36:[4, 60, 11] Operation: 66/6=11 Exploring Operation: 66-60=6, Resulting Numbers: [4, 6, 6] Generated Node #0,1: 36:[4, 6, 6] Operation: 66-60=6 Exploring Operation: 60/6=10, Resulting Numbers: [4, 66, 10] Generated Node #0,2: 36:[4, 66, 10] Operation: 60/6=10 Exploring Operation: 60/4=15, Resulting Numbers: [6, 66, 15] Generated Node #0,3: 36:[6, 66, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[4, 6, 6], Operations: ['66-60=6'] Exploring Operation: 6*6=36, Resulting Numbers: [4, 36] Generated Node #0,1,0: 36:[4, 36] Operation: 6*6=36 Exploring Operation: 6+6=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 36:[4, 12] Operation: 6+6=12 Exploring Operation: 6-4=2, Resulting Numbers: [6, 2] Generated Node #0,1,2: 36:[6, 2] Operation: 6-4=2 Exploring Operation: 6-4=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 36:[6, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 36:[4, 36], Operations: ['66-60=6', '6*6=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,36 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,36 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,36 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[4, 12], Operations: ['66-60=6', '6+6=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 36:[6, 2], Operations: ['66-60=6', '6-4=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 36:[6, 2], Operations: ['66-60=6', '6-4=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,36 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,36 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: 36:[4, 60, 11], Operations: ['66/6=11'] Exploring Operation: 60-4=56, Resulting Numbers: [11, 56] Generated Node #0,0,0: 36:[11, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 36:[11, 15] Operation: 60/4=15 Exploring Operation: 11-4=7, Resulting Numbers: [60, 7] Generated Node #0,0,2: 36:[60, 7] Operation: 11-4=7 Exploring Operation: 60-11=49, Resulting Numbers: [4, 49] Generated Node #0,0,3: 36:[4, 49] Operation: 60-11=49 Moving to Node #0,0,1 Current State: 36:[11, 15], Operations: ['66/6=11', '60/4=15'] Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,36 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[4, 49], Operations: ['66/6=11', '60-11=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,36 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[11, 56], Operations: ['66/6=11', '60-4=56'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,36 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,36 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[60, 7], Operations: ['66/6=11', '11-4=7'] Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,36 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,36 unequal: No Solution No 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: 36:[4, 66, 10], Operations: ['60/6=10'] Exploring Operation: 4+10=14, Resulting Numbers: [66, 14] Generated Node #0,2,0: 36:[66, 14] Operation: 4+10=14 Exploring Operation: 66-10=56, Resulting Numbers: [4, 56] Generated Node #0,2,1: 36:[4, 56] Operation: 66-10=56 Exploring Operation: 10-4=6, Resulting Numbers: [66, 6] Generated Node #0,2,2: 36:[66, 6] Operation: 10-4=6 Exploring Operation: 66-4=62, Resulting Numbers: [10, 62] Generated Node #0,2,3: 36:[10, 62] Operation: 66-4=62 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[4, 56], Operations: ['60/6=10', '66-10=56'] Exploring Operation: 4*56=224, Resulting Numbers: [224] 224,36 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,36 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[10, 62], Operations: ['60/6=10', '66-4=62'] Exploring Operation: 10*62=620, Resulting Numbers: [620] 620,36 unequal: No Solution Exploring Operation: 10+62=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 62-10=52, Resulting Numbers: [52] 52,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[66, 6], Operations: ['60/6=10', '10-4=6'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,36 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,36 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,36 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[66, 14], Operations: ['60/6=10', '4+10=14'] Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,36 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,36 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,36 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: 36:[6, 66, 15], Operations: ['60/4=15'] Exploring Operation: 66-15=51, Resulting Numbers: [6, 51] Generated Node #0,3,0: 36:[6, 51] Operation: 66-15=51 Exploring Operation: 66-6=60, Resulting Numbers: [15, 60] Generated Node #0,3,1: 36:[15, 60] Operation: 66-6=60 Exploring Operation: 15-6=9, Resulting Numbers: [66, 9] Generated Node #0,3,2: 36:[66, 9] Operation: 15-6=9 Exploring Operation: 66/6=11, Resulting Numbers: [15, 11] Generated Node #0,3,3: 36:[15, 11] Operation: 66/6=11 Moving to Node #0,3,3 Current State: 36:[15, 11], Operations: ['60/4=15', '66/6=11'] Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[6, 51], Operations: ['60/4=15', '66-15=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,36 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[15, 60], Operations: ['60/4=15', '66-6=60'] Exploring Operation: 15*60=900, Resulting Numbers: [900] 900,36 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,36 unequal: No Solution Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[66, 9], Operations: ['60/4=15', '15-6=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,36 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,36 unequal: No Solution Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,36 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
[ 72, 50, 6, 53 ]
90
[ "53-50=3", "6*3=18", "72+18=90" ]
Current State: 90:[72, 50, 6, 53], Operations: [] Exploring Operation: 53-50=3, Resulting Numbers: [72, 6, 3] Generated Node #2: [72, 6, 3] from Operation: 53-50=3 Current State: 90:[72, 6, 3], Operations: ['53-50=3'] Exploring Operation: 6*3=18, Resulting Numbers: [72, 18] Generated Node #3: [72, 18] from Operation: 6*3=18 Current State: 90:[72, 18], Operations: ['53-50=3', '6*3=18'] Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[72, 50, 6, 53], Operations: [] Exploring Operation: 72+6=78, Resulting Numbers: [50, 53, 78] Generated Node #0,0: 90:[50, 53, 78] Operation: 72+6=78 Exploring Operation: 72-53=19, Resulting Numbers: [50, 6, 19] Generated Node #0,1: 90:[50, 6, 19] Operation: 72-53=19 Exploring Operation: 53-50=3, Resulting Numbers: [72, 6, 3] Generated Node #0,2: 90:[72, 6, 3] Operation: 53-50=3 Exploring Operation: 72-50=22, Resulting Numbers: [6, 53, 22] Generated Node #0,3: 90:[6, 53, 22] Operation: 72-50=22 Exploring Operation: 72/6=12, Resulting Numbers: [50, 53, 12] Generated Node #0,4: 90:[50, 53, 12] Operation: 72/6=12 Moving to Node #0,1 Current State: 90:[50, 6, 19], Operations: ['72-53=19'] Exploring Operation: 19-6=13, Resulting Numbers: [50, 13] Generated Node #0,1,0: 90:[50, 13] Operation: 19-6=13 Exploring Operation: 6+19=25, Resulting Numbers: [50, 25] Generated Node #0,1,1: 90:[50, 25] Operation: 6+19=25 Exploring Operation: 50-19=31, Resulting Numbers: [6, 31] Generated Node #0,1,2: 90:[6, 31] Operation: 50-19=31 Exploring Operation: 50+6=56, Resulting Numbers: [19, 56] Generated Node #0,1,3: 90:[19, 56] Operation: 50+6=56 Exploring Operation: 50-6=44, Resulting Numbers: [19, 44] Generated Node #0,1,4: 90:[19, 44] Operation: 50-6=44 Moving to Node #0,3 Current State: 90:[6, 53, 22], Operations: ['72-50=22'] Exploring Operation: 53-22=31, Resulting Numbers: [6, 31] Generated Node #0,3,0: 90:[6, 31] Operation: 53-22=31 Exploring Operation: 53-6=47, Resulting Numbers: [22, 47] Generated Node #0,3,1: 90:[22, 47] Operation: 53-6=47 Exploring Operation: 6+22=28, Resulting Numbers: [53, 28] Generated Node #0,3,2: 90:[53, 28] Operation: 6+22=28 Exploring Operation: 53+22=75, Resulting Numbers: [6, 75] Generated Node #0,3,3: 90:[6, 75] Operation: 53+22=75 Exploring Operation: 22-6=16, Resulting Numbers: [53, 16] Generated Node #0,3,4: 90:[53, 16] Operation: 22-6=16 Moving to Node #0,4 Current State: 90:[50, 53, 12], Operations: ['72/6=12'] Exploring Operation: 50-12=38, Resulting Numbers: [53, 38] Generated Node #0,4,0: 90:[53, 38] Operation: 50-12=38 Exploring Operation: 53-50=3, Resulting Numbers: [12, 3] Generated Node #0,4,1: 90:[12, 3] Operation: 53-50=3 Exploring Operation: 50+53=103, Resulting Numbers: [12, 103] Generated Node #0,4,2: 90:[12, 103] Operation: 50+53=103 Exploring Operation: 50+12=62, Resulting Numbers: [53, 62] Generated Node #0,4,3: 90:[53, 62] Operation: 50+12=62 Exploring Operation: 53-12=41, Resulting Numbers: [50, 41] Generated Node #0,4,4: 90:[50, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 90:[12, 3], Operations: ['72/6=12', '53-50=3'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,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,4,4 Current State: 90:[50, 41], Operations: ['72/6=12', '53-12=41'] Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 50+41=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 50*41=2050, Resulting Numbers: [2050] 2050,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,4,0 Current State: 90:[53, 38], Operations: ['72/6=12', '50-12=38'] Exploring Operation: 53+38=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 53*38=2014, Resulting Numbers: [2014] 2014,90 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,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,4,2 Current State: 90:[12, 103], Operations: ['72/6=12', '50+53=103'] Exploring Operation: 12*103=1236, Resulting Numbers: [1236] 1236,90 unequal: No Solution Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,90 unequal: No Solution Exploring Operation: 12+103=115, Resulting Numbers: [115] 115,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,4,3 Current State: 90:[53, 62], Operations: ['72/6=12', '50+12=62'] Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,90 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,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:[72, 6, 3], Operations: ['53-50=3'] Exploring Operation: 6+3=9, Resulting Numbers: [72, 9] Generated Node #0,2,0: 90:[72, 9] Operation: 6+3=9 Exploring Operation: 72+6=78, Resulting Numbers: [3, 78] Generated Node #0,2,1: 90:[3, 78] Operation: 72+6=78 Exploring Operation: 72/3=24, Resulting Numbers: [6, 24] Generated Node #0,2,2: 90:[6, 24] Operation: 72/3=24 Exploring Operation: 72/6=12, Resulting Numbers: [3, 12] Generated Node #0,2,3: 90:[3, 12] Operation: 72/6=12 Exploring Operation: 72+3=75, Resulting Numbers: [6, 75] Generated Node #0,2,4: 90:[6, 75] Operation: 72+3=75 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 90:[3, 12], Operations: ['53-50=3', '72/6=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,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,2,2 Current State: 90:[6, 24], Operations: ['53-50=3', '72/3=24'] Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 6+24=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 6*24=144, Resulting Numbers: [144] 144,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,2,1 Current State: 90:[3, 78], Operations: ['53-50=3', '72+6=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,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,2,4 Current State: 90:[6, 75], Operations: ['53-50=3', '72+3=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,90 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,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,2,0 Current State: 90:[72, 9], Operations: ['53-50=3', '6+3=9'] Exploring Operation: 72*9=648, Resulting Numbers: [648] 648,90 unequal: No Solution Exploring Operation: 72+9=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 90:[50, 53, 78], Operations: ['72+6=78'] Exploring Operation: 50+78=128, Resulting Numbers: [53, 128] Generated Node #0,0,0: 90:[53, 128] Operation: 50+78=128 Exploring Operation: 53-50=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 90:[78, 3] Operation: 53-50=3 Exploring Operation: 78-53=25, Resulting Numbers: [50, 25] Generated Node #0,0,2: 90:[50, 25] Operation: 78-53=25 Exploring Operation: 50+53=103, Resulting Numbers: [78, 103] Generated Node #0,0,3: 90:[78, 103] Operation: 50+53=103 Exploring Operation: 78-50=28, Resulting Numbers: [53, 28] Generated Node #0,0,4: 90:[53, 28] Operation: 78-50=28 Moving to Node #0,1,2 Current State: 90:[6, 31], Operations: ['72-53=19', '50-19=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,90 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[6, 31], Operations: ['72-50=22', '53-22=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,90 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[19, 44], Operations: ['72-53=19', '50-6=44'] Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[22, 47], Operations: ['72-50=22', '53-6=47'] Exploring Operation: 22*47=1034, Resulting Numbers: [1034] 1034,90 unequal: No Solution Exploring Operation: 47-22=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 22+47=69, Resulting Numbers: [69] 69,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[50, 13], Operations: ['72-53=19', '19-6=13'] Exploring Operation: 50+13=63, Resulting Numbers: [63] 63,90 unequal: No Solution Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 50*13=650, Resulting Numbers: [650] 650,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[53, 16], Operations: ['72-50=22', '22-6=16'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,90 unequal: No Solution Exploring Operation: 53+16=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 53*16=848, Resulting Numbers: [848] 848,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[53, 28], Operations: ['72+6=78', '78-50=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[50, 25], Operations: ['72+6=78', '78-53=25'] Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,90 unequal: No Solution Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[53, 28], Operations: ['72-50=22', '6+22=28'] Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,90 unequal: No Solution Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[50, 25], Operations: ['72-53=19', '6+19=25'] Exploring Operation: 50-25=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 50/25=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 50*25=1250, Resulting Numbers: [1250] 1250,90 unequal: No Solution Exploring Operation: 50+25=75, Resulting Numbers: [75] 75,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[78, 3], Operations: ['72+6=78', '53-50=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 78+3=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 78*3=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[19, 56], Operations: ['72-53=19', '50+6=56'] Exploring Operation: 19+56=75, Resulting Numbers: [75] 75,90 unequal: No Solution Exploring Operation: 19*56=1064, Resulting Numbers: [1064] 1064,90 unequal: No Solution Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[6, 75], Operations: ['72-50=22', '53+22=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,90 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,90 unequal: No Solution Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[78, 103], Operations: ['72+6=78', '50+53=103'] Exploring Operation: 78*103=8034, Resulting Numbers: [8034] 8034,90 unequal: No Solution Exploring Operation: 103-78=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 78+103=181, Resulting Numbers: [181] 181,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[53, 128], Operations: ['72+6=78', '50+78=128'] Exploring Operation: 53+128=181, Resulting Numbers: [181] 181,90 unequal: No Solution Exploring Operation: 53*128=6784, Resulting Numbers: [6784] 6784,90 unequal: No Solution Exploring Operation: 128-53=75, Resulting Numbers: [75] 75,90 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 92, 81, 15, 88 ]
77
[ "92-81=11", "15*11=165", "165-88=77" ]
Current State: 77:[92, 81, 15, 88], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [15, 88, 11] Generated Node #2: [15, 88, 11] from Operation: 92-81=11 Current State: 77:[15, 88, 11], Operations: ['92-81=11'] Exploring Operation: 15*11=165, Resulting Numbers: [88, 165] Generated Node #3: [88, 165] from Operation: 15*11=165 Current State: 77:[88, 165], Operations: ['92-81=11', '15*11=165'] Exploring Operation: 165-88=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[92, 81, 15, 88], Operations: [] Exploring Operation: 92-88=4, Resulting Numbers: [81, 15, 4] Generated Node #0,0: 77:[81, 15, 4] Operation: 92-88=4 Exploring Operation: 92-81=11, Resulting Numbers: [15, 88, 11] Generated Node #0,1: 77:[15, 88, 11] Operation: 92-81=11 Exploring Operation: 88-81=7, Resulting Numbers: [92, 15, 7] Generated Node #0,2: 77:[92, 15, 7] Operation: 88-81=7 Exploring Operation: 92-15=77, Resulting Numbers: [81, 88, 77] Generated Node #0,3: 77:[81, 88, 77] Operation: 92-15=77 Moving to Node #0,0 Current State: 77:[81, 15, 4], Operations: ['92-88=4'] Exploring Operation: 81+4=85, Resulting Numbers: [15, 85] Generated Node #0,0,0: 77:[15, 85] Operation: 81+4=85 Exploring Operation: 15+4=19, Resulting Numbers: [81, 19] Generated Node #0,0,1: 77:[81, 19] Operation: 15+4=19 Exploring Operation: 81-4=77, Resulting Numbers: [15, 77] Generated Node #0,0,2: 77:[15, 77] Operation: 81-4=77 Exploring Operation: 15-4=11, Resulting Numbers: [81, 11] Generated Node #0,0,3: 77:[81, 11] Operation: 15-4=11 Moving to Node #0,3 Current State: 77:[81, 88, 77], Operations: ['92-15=77'] Exploring Operation: 81+88=169, Resulting Numbers: [77, 169] Generated Node #0,3,0: 77:[77, 169] Operation: 81+88=169 Exploring Operation: 88-77=11, Resulting Numbers: [81, 11] Generated Node #0,3,1: 77:[81, 11] Operation: 88-77=11 Exploring Operation: 88-81=7, Resulting Numbers: [77, 7] Generated Node #0,3,2: 77:[77, 7] Operation: 88-81=7 Exploring Operation: 81-77=4, Resulting Numbers: [88, 4] Generated Node #0,3,3: 77:[88, 4] Operation: 81-77=4 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 77:[77, 7], Operations: ['92-15=77', '88-81=7'] Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,77 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,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,3,1 Current State: 77:[81, 11], Operations: ['92-15=77', '88-77=11'] Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,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,3,3 Current State: 77:[88, 4], Operations: ['92-15=77', '81-77=4'] Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,77 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,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,3,0 Current State: 77:[77, 169], Operations: ['92-15=77', '81+88=169'] Exploring Operation: 77*169=13013, Resulting Numbers: [13013] 13013,77 unequal: No Solution Exploring Operation: 77+169=246, Resulting Numbers: [246] 246,77 unequal: No Solution Exploring Operation: 169-77=92, Resulting Numbers: [92] 92,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[15, 88, 11], Operations: ['92-81=11'] Exploring Operation: 88-15=73, Resulting Numbers: [11, 73] Generated Node #0,1,0: 77:[11, 73] Operation: 88-15=73 Exploring Operation: 88-11=77, Resulting Numbers: [15, 77] Generated Node #0,1,1: 77:[15, 77] Operation: 88-11=77 Exploring Operation: 88/11=8, Resulting Numbers: [15, 8] Generated Node #0,1,2: 77:[15, 8] Operation: 88/11=8 Exploring Operation: 15-11=4, Resulting Numbers: [88, 4] Generated Node #0,1,3: 77:[88, 4] Operation: 15-11=4 Moving to Node #0,2 Current State: 77:[92, 15, 7], Operations: ['88-81=7'] Exploring Operation: 92-7=85, Resulting Numbers: [15, 85] Generated Node #0,2,0: 77:[15, 85] Operation: 92-7=85 Exploring Operation: 15-7=8, Resulting Numbers: [92, 8] Generated Node #0,2,1: 77:[92, 8] Operation: 15-7=8 Exploring Operation: 92+7=99, Resulting Numbers: [15, 99] Generated Node #0,2,2: 77:[15, 99] Operation: 92+7=99 Exploring Operation: 92-15=77, Resulting Numbers: [7, 77] Generated Node #0,2,3: 77:[7, 77] Operation: 92-15=77 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[7, 77], Operations: ['88-81=7', '92-15=77'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 7*77=539, Resulting Numbers: [539] 539,77 unequal: No Solution Exploring Operation: 7+77=84, Resulting Numbers: [84] 84,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:[15, 85], Operations: ['88-81=7', '92-7=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,77 unequal: No Solution Exploring Operation: 85-15=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,1 Current State: 77:[92, 8], Operations: ['88-81=7', '15-7=8'] Exploring Operation: 92*8=736, Resulting Numbers: [736] 736,77 unequal: No Solution Exploring Operation: 92-8=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 92+8=100, Resulting Numbers: [100] 100,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:[15, 99], Operations: ['88-81=7', '92+7=99'] Exploring Operation: 15+99=114, Resulting Numbers: [114] 114,77 unequal: No Solution Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,77 unequal: No Solution Exploring Operation: 15*99=1485, Resulting Numbers: [1485] 1485,77 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: 77:[15, 77], Operations: ['92-88=4', '81-4=77'] Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,77 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[15, 77], Operations: ['92-81=11', '88-11=77'] Exploring Operation: 15*77=1155, Resulting Numbers: [1155] 1155,77 unequal: No Solution Exploring Operation: 15+77=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[81, 11], Operations: ['92-88=4', '15-4=11'] Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,77 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[11, 73], Operations: ['92-81=11', '88-15=73'] Exploring Operation: 11*73=803, Resulting Numbers: [803] 803,77 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,77 unequal: No Solution Exploring Operation: 11+73=84, Resulting Numbers: [84] 84,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[15, 8], Operations: ['92-81=11', '88/11=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,77 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[81, 19], Operations: ['92-88=4', '15+4=19'] Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,77 unequal: No Solution Exploring Operation: 81*19=1539, Resulting Numbers: [1539] 1539,77 unequal: No Solution Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[15, 85], Operations: ['92-88=4', '81+4=85'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,77 unequal: No Solution Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[88, 4], Operations: ['92-81=11', '15-11=4'] Exploring Operation: 88/4=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 88+4=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 88*4=352, Resulting Numbers: [352] 352,77 unequal: No Solution Exploring Operation: 88-4=84, Resulting Numbers: [84] 84,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 90, 28, 16, 68 ]
22
[ "90-28=62", "16+68=84", "84-62=22" ]
Current State: 22:[90, 28, 16, 68], Operations: [] Exploring Operation: 90-28=62, Resulting Numbers: [16, 68, 62] Generated Node #2: [16, 68, 62] from Operation: 90-28=62 Current State: 22:[16, 68, 62], Operations: ['90-28=62'] Exploring Operation: 16+68=84, Resulting Numbers: [62, 84] Generated Node #3: [62, 84] from Operation: 16+68=84 Current State: 22:[62, 84], Operations: ['90-28=62', '16+68=84'] Exploring Operation: 84-62=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[90, 28, 16, 68], Operations: [] Exploring Operation: 90-68=22, Resulting Numbers: [28, 16, 22] Generated Node #0,0: 22:[28, 16, 22] Operation: 90-68=22 Moving to Node #0,0 Current State: 22:[28, 16, 22], Operations: ['90-68=22'] Exploring Operation: 28-16=12, Resulting Numbers: [22, 12] Generated Node #0,0,0: 22:[22, 12] Operation: 28-16=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[22, 12], Operations: ['90-68=22', '28-16=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 60, 97, 58, 7 ]
83
[ "60-58=2", "7*2=14", "97-14=83" ]
Current State: 83:[60, 97, 58, 7], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [97, 7, 2] Generated Node #2: [97, 7, 2] from Operation: 60-58=2 Current State: 83:[97, 7, 2], Operations: ['60-58=2'] Exploring Operation: 7*2=14, Resulting Numbers: [97, 14] Generated Node #3: [97, 14] from Operation: 7*2=14 Current State: 83:[97, 14], Operations: ['60-58=2', '7*2=14'] Exploring Operation: 97-14=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[60, 97, 58, 7], Operations: [] Exploring Operation: 60+7=67, Resulting Numbers: [97, 58, 67] Generated Node #0,0: 83:[97, 58, 67] Operation: 60+7=67 Moving to Node #0,0 Current State: 83:[97, 58, 67], Operations: ['60+7=67'] Exploring Operation: 58+67=125, Resulting Numbers: [97, 125] Generated Node #0,0,0: 83:[97, 125] Operation: 58+67=125 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[97, 125], Operations: ['60+7=67', '58+67=125'] Exploring Operation: 125-97=28, Resulting Numbers: [28] 28,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 36, 56, 6, 47 ]
33
[ "56-36=20", "6+47=53", "53-20=33" ]
Current State: 33:[36, 56, 6, 47], Operations: [] Exploring Operation: 56-36=20, Resulting Numbers: [6, 47, 20] Generated Node #2: [6, 47, 20] from Operation: 56-36=20 Current State: 33:[6, 47, 20], Operations: ['56-36=20'] Exploring Operation: 6+47=53, Resulting Numbers: [20, 53] Generated Node #3: [20, 53] from Operation: 6+47=53 Current State: 33:[20, 53], Operations: ['56-36=20', '6+47=53'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[36, 56, 6, 47], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [36, 6, 9] Generated Node #0,0: 33:[36, 6, 9] Operation: 56-47=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[36, 6, 9], Operations: ['56-47=9'] Exploring Operation: 9-6=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 33:[36, 3] Operation: 9-6=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[36, 3], Operations: ['56-47=9', '9-6=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[36, 56, 6, 47], Operations: [] Exploring Operation: 56-47=9, Resulting Numbers: [36, 6, 9] Generated Node #0,0: 33:[36, 6, 9] Operation: 56-47=9 Moving to Node #0,0 Current State: 33:[36, 6, 9], Operations: ['56-47=9'] Exploring Operation: 9-6=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 33:[36, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 33:[36, 3], Operations: ['56-47=9', '9-6=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 67, 80, 64, 8 ]
56
[ "67-64=3", "8*3=24", "80-24=56" ]
Current State: 56:[67, 80, 64, 8], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [80, 8, 3] Generated Node #2: [80, 8, 3] from Operation: 67-64=3 Current State: 56:[80, 8, 3], Operations: ['67-64=3'] Exploring Operation: 8*3=24, Resulting Numbers: [80, 24] Generated Node #3: [80, 24] from Operation: 8*3=24 Current State: 56:[80, 24], Operations: ['67-64=3', '8*3=24'] Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[67, 80, 64, 8], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [67, 8, 16] Generated Node #0,0: 56:[67, 8, 16] Operation: 80-64=16 Exploring Operation: 80-67=13, Resulting Numbers: [64, 8, 13] Generated Node #0,1: 56:[64, 8, 13] Operation: 80-67=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[64, 8, 13], Operations: ['80-67=13'] Exploring Operation: 64-8=56, Resulting Numbers: [13, 56] Generated Node #0,1,0: 56:[13, 56] Operation: 64-8=56 Exploring Operation: 64/8=8, Resulting Numbers: [13, 8] Generated Node #0,1,1: 56:[13, 8] Operation: 64/8=8 Moving to Node #0,1,0 Current State: 56:[13, 56], Operations: ['80-67=13', '64-8=56'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[13, 8], Operations: ['80-67=13', '64/8=8'] Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[67, 8, 16], Operations: ['80-64=16'] Exploring Operation: 67-8=59, Resulting Numbers: [16, 59] Generated Node #0,0,0: 56:[16, 59] Operation: 67-8=59 Exploring Operation: 67-16=51, Resulting Numbers: [8, 51] Generated Node #0,0,1: 56:[8, 51] Operation: 67-16=51 Moving to Node #0,0,0 Current State: 56:[16, 59], Operations: ['80-64=16', '67-8=59'] Exploring Operation: 16+59=75, Resulting Numbers: [75] 75,56 unequal: No Solution Exploring Operation: 59-16=43, Resulting Numbers: [43] 43,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[8, 51], Operations: ['80-64=16', '67-16=51'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,56 unequal: No Solution Exploring Operation: 8+51=59, Resulting Numbers: [59] 59,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 39, 52, 12, 99 ]
47
[ "99-39=60", "60/12=5", "52-5=47" ]
Current State: 47:[39, 52, 12, 99], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [52, 12, 60] Generated Node #2: [52, 12, 60] from Operation: 99-39=60 Current State: 47:[52, 12, 60], Operations: ['99-39=60'] Exploring Operation: 60/12=5, Resulting Numbers: [52, 5] Generated Node #3: [52, 5] from Operation: 60/12=5 Current State: 47:[52, 5], Operations: ['99-39=60', '60/12=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[39, 52, 12, 99], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [52, 12, 60] Generated Node #0,0: 47:[52, 12, 60] Operation: 99-39=60 Exploring Operation: 99-52=47, Resulting Numbers: [39, 12, 47] Generated Node #0,1: 47:[39, 12, 47] Operation: 99-52=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[39, 12, 47], Operations: ['99-52=47'] Exploring Operation: 39-12=27, Resulting Numbers: [47, 27] Generated Node #0,1,0: 47:[47, 27] Operation: 39-12=27 Exploring Operation: 39+12=51, Resulting Numbers: [47, 51] Generated Node #0,1,1: 47:[47, 51] Operation: 39+12=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 47:[47, 51], Operations: ['99-52=47', '39+12=51'] Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,47 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[47, 27], Operations: ['99-52=47', '39-12=27'] Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 47+27=74, Resulting Numbers: [74] 74,47 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: 47:[52, 12, 60], Operations: ['99-39=60'] Exploring Operation: 60-12=48, Resulting Numbers: [52, 48] Generated Node #0,0,0: 47:[52, 48] Operation: 60-12=48 Exploring Operation: 52-12=40, Resulting Numbers: [60, 40] Generated Node #0,0,1: 47:[60, 40] Operation: 52-12=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[52, 48], Operations: ['99-39=60', '60-12=48'] Exploring Operation: 52+48=100, Resulting Numbers: [100] 100,47 unequal: No Solution Exploring Operation: 52-48=4, Resulting Numbers: [4] 4,47 unequal: No Solution No 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: 47:[60, 40], Operations: ['99-39=60', '52-12=40'] Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,47 unequal: No Solution Exploring Operation: 60+40=100, Resulting Numbers: [100] 100,47 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
[ 11, 33, 11, 20 ]
27
[ "33/11=3", "20-11=9", "3*9=27" ]
Current State: 27:[11, 33, 11, 20], Operations: [] Exploring Operation: 33/11=3, Resulting Numbers: [20, 3] Generated Node #2: [20, 3] from Operation: 33/11=3 Current State: 27:[20, 3], Operations: ['33/11=3'] Exploring Operation: 20-11=9, Resulting Numbers: [3, 9] Generated Node #3: [3, 9] from Operation: 20-11=9 Current State: 27:[3, 9], Operations: ['33/11=3', '20-11=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[11, 33, 11, 20], Operations: [] Exploring Operation: 33-20=13, Resulting Numbers: [11, 11, 13] Generated Node #0,0: 27:[11, 11, 13] Operation: 33-20=13 Exploring Operation: 20-11=9, Resulting Numbers: [11, 33, 9] Generated Node #0,1: 27:[11, 33, 9] Operation: 20-11=9 Exploring Operation: 20-11=9, Resulting Numbers: [33, 11, 9] Generated Node #0,2: 27:[33, 11, 9] Operation: 20-11=9 Exploring Operation: 33/11=3, Resulting Numbers: [11, 20, 3] Generated Node #0,3: 27:[11, 20, 3] Operation: 33/11=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[11, 11, 13], Operations: ['33-20=13'] Exploring Operation: 13-11=2, Resulting Numbers: [11, 2] Generated Node #0,0,0: 27:[11, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [11, 24] Generated Node #0,0,1: 27:[11, 24] Operation: 11+13=24 Exploring Operation: 11+13=24, Resulting Numbers: [11, 24] Generated Node #0,0,2: 27:[11, 24] Operation: 11+13=24 Exploring Operation: 13-11=2, Resulting Numbers: [11, 2] Generated Node #0,0,3: 27:[11, 2] Operation: 13-11=2 Moving to Node #0,0,0 Current State: 27:[11, 2], Operations: ['33-20=13', '13-11=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[11, 2], Operations: ['33-20=13', '13-11=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,27 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,27 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[11, 24], Operations: ['33-20=13', '11+13=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,27 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[11, 24], Operations: ['33-20=13', '11+13=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,27 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[11, 33, 9], Operations: ['20-11=9'] Exploring Operation: 33-11=22, Resulting Numbers: [9, 22] Generated Node #0,1,0: 27:[9, 22] Operation: 33-11=22 Exploring Operation: 11-9=2, Resulting Numbers: [33, 2] Generated Node #0,1,1: 27:[33, 2] Operation: 11-9=2 Exploring Operation: 33/11=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 27:[9, 3] Operation: 33/11=3 Exploring Operation: 33-9=24, Resulting Numbers: [11, 24] Generated Node #0,1,3: 27:[11, 24] Operation: 33-9=24 Moving to Node #0,1,2 Current State: 27:[9, 3], Operations: ['20-11=9', '33/11=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[11, 33, 11, 20], Operations: [] Exploring Operation: 20-11=9, Resulting Numbers: [11, 33, 9] Generated Node #0,1: 27:[11, 33, 9] Operation: 20-11=9 Moving to Node #0,1 Current State: 27:[11, 33, 9], Operations: ['20-11=9'] Exploring Operation: 33/11=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 27:[9, 3] Operation: 33/11=3 Moving to Node #0,1,2 Current State: 27:[9, 3], Operations: ['20-11=9', '33/11=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 9, 5, 98, 13 ]
66
[ "9*5=45", "98+13=111", "111-45=66" ]
Current State: 66:[9, 5, 98, 13], Operations: [] Exploring Operation: 9*5=45, Resulting Numbers: [98, 13, 45] Generated Node #2: [98, 13, 45] from Operation: 9*5=45 Current State: 66:[98, 13, 45], Operations: ['9*5=45'] Exploring Operation: 98+13=111, Resulting Numbers: [45, 111] Generated Node #3: [45, 111] from Operation: 98+13=111 Current State: 66:[45, 111], Operations: ['9*5=45', '98+13=111'] Exploring Operation: 111-45=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[9, 5, 98, 13], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [9, 13, 93] Generated Node #0,0: 66:[9, 13, 93] Operation: 98-5=93 Exploring Operation: 98-9=89, Resulting Numbers: [5, 13, 89] Generated Node #0,1: 66:[5, 13, 89] Operation: 98-9=89 Exploring Operation: 98-13=85, Resulting Numbers: [9, 5, 85] Generated Node #0,2: 66:[9, 5, 85] Operation: 98-13=85 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[9, 5, 85], Operations: ['98-13=85'] Exploring Operation: 85-5=80, Resulting Numbers: [9, 80] Generated Node #0,2,0: 66:[9, 80] Operation: 85-5=80 Exploring Operation: 85-9=76, Resulting Numbers: [5, 76] Generated Node #0,2,1: 66:[5, 76] Operation: 85-9=76 Exploring Operation: 85/5=17, Resulting Numbers: [9, 17] Generated Node #0,2,2: 66:[9, 17] Operation: 85/5=17 Moving to Node #0,2,2 Current State: 66:[9, 17], Operations: ['98-13=85', '85/5=17'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,66 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[5, 76], Operations: ['98-13=85', '85-9=76'] Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,66 unequal: No Solution Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[9, 80], Operations: ['98-13=85', '85-5=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,66 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,66 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,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 Current State: 66:[5, 13, 89], Operations: ['98-9=89'] Exploring Operation: 5*13=65, Resulting Numbers: [89, 65] Generated Node #0,1,0: 66:[89, 65] Operation: 5*13=65 Exploring Operation: 89-5=84, Resulting Numbers: [13, 84] Generated Node #0,1,1: 66:[13, 84] Operation: 89-5=84 Exploring Operation: 89-13=76, Resulting Numbers: [5, 76] Generated Node #0,1,2: 66:[5, 76] Operation: 89-13=76 Moving to Node #0,1,2 Current State: 66:[5, 76], Operations: ['98-9=89', '89-13=76'] Exploring Operation: 5*76=380, Resulting Numbers: [380] 380,66 unequal: No Solution Exploring Operation: 5+76=81, Resulting Numbers: [81] 81,66 unequal: No Solution Exploring Operation: 76-5=71, Resulting Numbers: [71] 71,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[13, 84], Operations: ['98-9=89', '89-5=84'] Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[89, 65], Operations: ['98-9=89', '5*13=65'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,66 unequal: No Solution Exploring Operation: 89*65=5785, Resulting Numbers: [5785] 5785,66 unequal: No Solution Exploring Operation: 89+65=154, Resulting Numbers: [154] 154,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 Current State: 66:[9, 13, 93], Operations: ['98-5=93'] Exploring Operation: 93-9=84, Resulting Numbers: [13, 84] Generated Node #0,0,0: 66:[13, 84] Operation: 93-9=84 Exploring Operation: 9+13=22, Resulting Numbers: [93, 22] Generated Node #0,0,1: 66:[93, 22] Operation: 9+13=22 Exploring Operation: 93-13=80, Resulting Numbers: [9, 80] Generated Node #0,0,2: 66:[9, 80] Operation: 93-13=80 Moving to Node #0,0,2 Current State: 66:[9, 80], Operations: ['98-5=93', '93-13=80'] Exploring Operation: 9+80=89, Resulting Numbers: [89] 89,66 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 9*80=720, Resulting Numbers: [720] 720,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[13, 84], Operations: ['98-5=93', '93-9=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,66 unequal: No Solution Exploring Operation: 84-13=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 13*84=1092, Resulting Numbers: [1092] 1092,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[93, 22], Operations: ['98-5=93', '9+13=22'] Exploring Operation: 93+22=115, Resulting Numbers: [115] 115,66 unequal: No Solution Exploring Operation: 93-22=71, Resulting Numbers: [71] 71,66 unequal: No Solution Exploring Operation: 93*22=2046, Resulting Numbers: [2046] 2046,66 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
[ 39, 78, 28, 67 ]
22
[ "39+78=117", "28+67=95", "117-95=22" ]
Current State: 22:[39, 78, 28, 67], Operations: [] Exploring Operation: 39+78=117, Resulting Numbers: [28, 67, 117] Generated Node #2: [28, 67, 117] from Operation: 39+78=117 Current State: 22:[28, 67, 117], Operations: ['39+78=117'] Exploring Operation: 28+67=95, Resulting Numbers: [117, 95] Generated Node #3: [117, 95] from Operation: 28+67=95 Current State: 22:[117, 95], Operations: ['39+78=117', '28+67=95'] Exploring Operation: 117-95=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[39, 78, 28, 67], Operations: [] Exploring Operation: 67-39=28, Resulting Numbers: [78, 28, 28] Generated Node #0,0: 22:[78, 28, 28] Operation: 67-39=28 Exploring Operation: 78/39=2, Resulting Numbers: [28, 67, 2] Generated Node #0,1: 22:[28, 67, 2] Operation: 78/39=2 Exploring Operation: 78-67=11, Resulting Numbers: [39, 28, 11] Generated Node #0,2: 22:[39, 28, 11] Operation: 78-67=11 Exploring Operation: 78-39=39, Resulting Numbers: [28, 67, 39] Generated Node #0,3: 22:[28, 67, 39] Operation: 78-39=39 Moving to Node #0,2 Current State: 22:[39, 28, 11], Operations: ['78-67=11'] Exploring Operation: 39-11=28, Resulting Numbers: [28, 28] Generated Node #0,2,0: 22:[28, 28] Operation: 39-11=28 Exploring Operation: 39-28=11, Resulting Numbers: [11, 11] Generated Node #0,2,1: 22:[11, 11] Operation: 39-28=11 Exploring Operation: 28-11=17, Resulting Numbers: [39, 17] Generated Node #0,2,2: 22:[39, 17] Operation: 28-11=17 Exploring Operation: 39+11=50, Resulting Numbers: [28, 50] Generated Node #0,2,3: 22:[28, 50] Operation: 39+11=50 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[11, 11], Operations: ['78-67=11', '39-28=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[39, 78, 28, 67], Operations: [] Exploring Operation: 78-67=11, Resulting Numbers: [39, 28, 11] Generated Node #0,2: 22:[39, 28, 11] Operation: 78-67=11 Moving to Node #0,2 Current State: 22:[39, 28, 11], Operations: ['78-67=11'] Exploring Operation: 39-28=11, Resulting Numbers: [11, 11] Generated Node #0,2,1: 22:[11, 11] Operation: 39-28=11 Moving to Node #0,2,1 Current State: 22:[11, 11], Operations: ['78-67=11', '39-28=11'] Exploring Operation: 11+11=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 42, 87, 95, 66 ]
60
[ "87*66=5742", "5742-42=5700", "5700/95=60" ]
Current State: 60:[42, 87, 95, 66], Operations: [] Exploring Operation: 87*66=5742, Resulting Numbers: [42, 95, 5742] Generated Node #2: [42, 95, 5742] from Operation: 87*66=5742 Current State: 60:[42, 95, 5742], Operations: ['87*66=5742'] Exploring Operation: 5742-42=5700, Resulting Numbers: [95, 5700] Generated Node #3: [95, 5700] from Operation: 5742-42=5700 Current State: 60:[95, 5700], Operations: ['87*66=5742', '5742-42=5700'] Exploring Operation: 5700/95=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[42, 87, 95, 66], Operations: [] Exploring Operation: 87-66=21, Resulting Numbers: [42, 95, 21] Generated Node #0,0: 60:[42, 95, 21] Operation: 87-66=21 Exploring Operation: 95-66=29, Resulting Numbers: [42, 87, 29] Generated Node #0,1: 60:[42, 87, 29] Operation: 95-66=29 Exploring Operation: 95-42=53, Resulting Numbers: [87, 66, 53] Generated Node #0,2: 60:[87, 66, 53] Operation: 95-42=53 Exploring Operation: 87-42=45, Resulting Numbers: [95, 66, 45] Generated Node #0,3: 60:[95, 66, 45] Operation: 87-42=45 Exploring Operation: 95-87=8, Resulting Numbers: [42, 66, 8] Generated Node #0,4: 60:[42, 66, 8] Operation: 95-87=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 60:[42, 66, 8], Operations: ['95-87=8'] Exploring Operation: 66-8=58, Resulting Numbers: [42, 58] Generated Node #0,4,0: 60:[42, 58] Operation: 66-8=58 Exploring Operation: 42+8=50, Resulting Numbers: [66, 50] Generated Node #0,4,1: 60:[66, 50] Operation: 42+8=50 Exploring Operation: 42-8=34, Resulting Numbers: [66, 34] Generated Node #0,4,2: 60:[66, 34] Operation: 42-8=34 Exploring Operation: 66+8=74, Resulting Numbers: [42, 74] Generated Node #0,4,3: 60:[42, 74] Operation: 66+8=74 Exploring Operation: 66-42=24, Resulting Numbers: [8, 24] Generated Node #0,4,4: 60:[8, 24] Operation: 66-42=24 Moving to Node #0,4,4 Current State: 60:[8, 24], Operations: ['95-87=8', '66-42=24'] Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,60 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,4,2 Current State: 60:[66, 34], Operations: ['95-87=8', '42-8=34'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,60 unequal: No Solution Moving to Node #0,4,0 Current State: 60:[42, 58], Operations: ['95-87=8', '66-8=58'] Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,60 unequal: No Solution Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,60 unequal: No Solution Moving to Node #0,4,1 Current State: 60:[66, 50], Operations: ['95-87=8', '42+8=50'] Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,60 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,60 unequal: No Solution Moving to Node #0,4,3 Current State: 60:[42, 74], Operations: ['95-87=8', '66+8=74'] Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[42, 87, 29], Operations: ['95-66=29'] Exploring Operation: 87/29=3, Resulting Numbers: [42, 3] Generated Node #0,1,0: 60:[42, 3] Operation: 87/29=3 Exploring Operation: 87-42=45, Resulting Numbers: [29, 45] Generated Node #0,1,1: 60:[29, 45] Operation: 87-42=45 Exploring Operation: 42-29=13, Resulting Numbers: [87, 13] Generated Node #0,1,2: 60:[87, 13] Operation: 42-29=13 Exploring Operation: 87-29=58, Resulting Numbers: [42, 58] Generated Node #0,1,3: 60:[42, 58] Operation: 87-29=58 Exploring Operation: 42+29=71, Resulting Numbers: [87, 71] Generated Node #0,1,4: 60:[87, 71] Operation: 42+29=71 Moving to Node #0,1,0 Current State: 60:[42, 3], Operations: ['95-66=29', '87/29=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,60 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1,3 Current State: 60:[42, 58], Operations: ['95-66=29', '87-29=58'] Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[29, 45], Operations: ['95-66=29', '87-42=45'] Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,60 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[87, 13], Operations: ['95-66=29', '42-29=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,60 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,60 unequal: No Solution Moving to Node #0,1,4 Current State: 60:[87, 71], Operations: ['95-66=29', '42+29=71'] Exploring Operation: 87+71=158, Resulting Numbers: [158] 158,60 unequal: No Solution Exploring Operation: 87*71=6177, Resulting Numbers: [6177] 6177,60 unequal: No Solution Exploring Operation: 87-71=16, Resulting Numbers: [16] 16,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[87, 66, 53], Operations: ['95-42=53'] Exploring Operation: 87-66=21, Resulting Numbers: [53, 21] Generated Node #0,2,0: 60:[53, 21] Operation: 87-66=21 Exploring Operation: 66-53=13, Resulting Numbers: [87, 13] Generated Node #0,2,1: 60:[87, 13] Operation: 66-53=13 Exploring Operation: 87-53=34, Resulting Numbers: [66, 34] Generated Node #0,2,2: 60:[66, 34] Operation: 87-53=34 Exploring Operation: 66+53=119, Resulting Numbers: [87, 119] Generated Node #0,2,3: 60:[87, 119] Operation: 66+53=119 Exploring Operation: 87+53=140, Resulting Numbers: [66, 140] Generated Node #0,2,4: 60:[66, 140] Operation: 87+53=140 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[53, 21], Operations: ['95-42=53', '87-66=21'] Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 53+21=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 53*21=1113, Resulting Numbers: [1113] 1113,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[66, 34], Operations: ['95-42=53', '87-53=34'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,60 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[87, 13], Operations: ['95-42=53', '66-53=13'] Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,60 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,60 unequal: No Solution Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 60:[87, 119], Operations: ['95-42=53', '66+53=119'] Exploring Operation: 87+119=206, Resulting Numbers: [206] 206,60 unequal: No Solution Exploring Operation: 87*119=10353, Resulting Numbers: [10353] 10353,60 unequal: No Solution Exploring Operation: 119-87=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 60:[66, 140], Operations: ['95-42=53', '87+53=140'] Exploring Operation: 66+140=206, Resulting Numbers: [206] 206,60 unequal: No Solution Exploring Operation: 66*140=9240, Resulting Numbers: [9240] 9240,60 unequal: No Solution Exploring Operation: 140-66=74, Resulting Numbers: [74] 74,60 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: 60:[42, 95, 21], Operations: ['87-66=21'] Exploring Operation: 95-21=74, Resulting Numbers: [42, 74] Generated Node #0,0,0: 60:[42, 74] Operation: 95-21=74 Exploring Operation: 42/21=2, Resulting Numbers: [95, 2] Generated Node #0,0,1: 60:[95, 2] Operation: 42/21=2 Exploring Operation: 42+21=63, Resulting Numbers: [95, 63] Generated Node #0,0,2: 60:[95, 63] Operation: 42+21=63 Exploring Operation: 42-21=21, Resulting Numbers: [95, 21] Generated Node #0,0,3: 60:[95, 21] Operation: 42-21=21 Exploring Operation: 95-42=53, Resulting Numbers: [21, 53] Generated Node #0,0,4: 60:[21, 53] Operation: 95-42=53 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 60:[21, 53], Operations: ['87-66=21', '95-42=53'] Exploring Operation: 21+53=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 21*53=1113, Resulting Numbers: [1113] 1113,60 unequal: No Solution Exploring Operation: 53-21=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[42, 74], Operations: ['87-66=21', '95-21=74'] Exploring Operation: 42*74=3108, Resulting Numbers: [3108] 3108,60 unequal: No Solution Exploring Operation: 42+74=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 74-42=32, Resulting Numbers: [32] 32,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[95, 2], Operations: ['87-66=21', '42/21=2'] Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,60 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,60 unequal: No Solution Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[95, 21], Operations: ['87-66=21', '42-21=21'] Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,60 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[95, 63], Operations: ['87-66=21', '42+21=63'] Exploring Operation: 95+63=158, Resulting Numbers: [158] 158,60 unequal: No Solution Exploring Operation: 95*63=5985, Resulting Numbers: [5985] 5985,60 unequal: No Solution Exploring Operation: 95-63=32, Resulting Numbers: [32] 32,60 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: 60:[95, 66, 45], Operations: ['87-42=45'] Exploring Operation: 66-45=21, Resulting Numbers: [95, 21] Generated Node #0,3,0: 60:[95, 21] Operation: 66-45=21 Exploring Operation: 95+45=140, Resulting Numbers: [66, 140] Generated Node #0,3,1: 60:[66, 140] Operation: 95+45=140 Exploring Operation: 66+45=111, Resulting Numbers: [95, 111] Generated Node #0,3,2: 60:[95, 111] Operation: 66+45=111 Exploring Operation: 95-66=29, Resulting Numbers: [45, 29] Generated Node #0,3,3: 60:[45, 29] Operation: 95-66=29 Exploring Operation: 95-45=50, Resulting Numbers: [66, 50] Generated Node #0,3,4: 60:[66, 50] Operation: 95-45=50 Moving to Node #0,3,3 Current State: 60:[45, 29], Operations: ['87-42=45', '95-66=29'] Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 45*29=1305, Resulting Numbers: [1305] 1305,60 unequal: No Solution Exploring Operation: 45+29=74, Resulting Numbers: [74] 74,60 unequal: No Solution Moving to Node #0,3,4 Current State: 60:[66, 50], Operations: ['87-42=45', '95-45=50'] Exploring Operation: 66*50=3300, Resulting Numbers: [3300] 3300,60 unequal: No Solution Exploring Operation: 66-50=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 66+50=116, Resulting Numbers: [116] 116,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[95, 21], Operations: ['87-42=45', '66-45=21'] Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[66, 140], Operations: ['87-42=45', '95+45=140'] Exploring Operation: 140-66=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 66*140=9240, Resulting Numbers: [9240] 9240,60 unequal: No Solution Exploring Operation: 66+140=206, Resulting Numbers: [206] 206,60 unequal: No Solution Moving to Node #0,3,2 Current State: 60:[95, 111], Operations: ['87-42=45', '66+45=111'] Exploring Operation: 111-95=16, Resulting Numbers: [16] 16,60 unequal: No Solution Exploring Operation: 95*111=10545, Resulting Numbers: [10545] 10545,60 unequal: No Solution Exploring Operation: 95+111=206, Resulting Numbers: [206] 206,60 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
[ 37, 81, 45, 32 ]
77
[ "45-37=8", "32/8=4", "81-4=77" ]
Current State: 77:[37, 81, 45, 32], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [81, 32, 8] Generated Node #2: [81, 32, 8] from Operation: 45-37=8 Current State: 77:[81, 32, 8], Operations: ['45-37=8'] Exploring Operation: 32/8=4, Resulting Numbers: [81, 4] Generated Node #3: [81, 4] from Operation: 32/8=4 Current State: 77:[81, 4], Operations: ['45-37=8', '32/8=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[37, 81, 45, 32], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [81, 32, 8] Generated Node #0,0: 77:[81, 32, 8] Operation: 45-37=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[81, 32, 8], Operations: ['45-37=8'] Exploring Operation: 32/8=4, Resulting Numbers: [81, 4] Generated Node #0,0,0: 77:[81, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 77:[81, 4], Operations: ['45-37=8', '32/8=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[37, 81, 45, 32], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [81, 32, 8] Generated Node #0,0: 77:[81, 32, 8] Operation: 45-37=8 Moving to Node #0,0 Current State: 77:[81, 32, 8], Operations: ['45-37=8'] Exploring Operation: 32/8=4, Resulting Numbers: [81, 4] Generated Node #0,0,0: 77:[81, 4] Operation: 32/8=4 Moving to Node #0,0,0 Current State: 77:[81, 4], Operations: ['45-37=8', '32/8=4'] Exploring Operation: 81-4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 85, 15, 4, 22 ]
96
[ "85-15=70", "4+22=26", "70+26=96" ]
Current State: 96:[85, 15, 4, 22], Operations: [] Exploring Operation: 85-15=70, Resulting Numbers: [4, 22, 70] Generated Node #2: [4, 22, 70] from Operation: 85-15=70 Current State: 96:[4, 22, 70], Operations: ['85-15=70'] Exploring Operation: 4+22=26, Resulting Numbers: [70, 26] Generated Node #3: [70, 26] from Operation: 4+22=26 Current State: 96:[70, 26], Operations: ['85-15=70', '4+22=26'] Exploring Operation: 70+26=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[85, 15, 4, 22], Operations: [] Exploring Operation: 85+4=89, Resulting Numbers: [15, 22, 89] Generated Node #0,0: 96:[15, 22, 89] Operation: 85+4=89 Exploring Operation: 85+15=100, Resulting Numbers: [4, 22, 100] Generated Node #0,1: 96:[4, 22, 100] Operation: 85+15=100 Moving to Node #0,1 Current State: 96:[4, 22, 100], Operations: ['85+15=100'] Exploring Operation: 100-4=96, Resulting Numbers: [22, 96] Generated Node #0,1,0: 96:[22, 96] Operation: 100-4=96 Exploring Operation: 100/4=25, Resulting Numbers: [22, 25] Generated Node #0,1,1: 96:[22, 25] Operation: 100/4=25 Moving to Node #0,0 Current State: 96:[15, 22, 89], Operations: ['85+4=89'] Exploring Operation: 22-15=7, Resulting Numbers: [89, 7] Generated Node #0,0,0: 96:[89, 7] Operation: 22-15=7 Exploring Operation: 15+89=104, Resulting Numbers: [22, 104] Generated Node #0,0,1: 96:[22, 104] Operation: 15+89=104 Moving to Node #0,1,0 Current State: 96:[22, 96], Operations: ['85+15=100', '100-4=96'] Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 22+96=118, Resulting Numbers: [118] 118,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[22, 25], Operations: ['85+15=100', '100/4=25'] Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[89, 7], Operations: ['85+4=89', '22-15=7'] Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[85, 15, 4, 22], Operations: [] Exploring Operation: 85+4=89, Resulting Numbers: [15, 22, 89] Generated Node #0,0: 96:[15, 22, 89] Operation: 85+4=89 Moving to Node #0,0 Current State: 96:[15, 22, 89], Operations: ['85+4=89'] Exploring Operation: 22-15=7, Resulting Numbers: [89, 7] Generated Node #0,0,0: 96:[89, 7] Operation: 22-15=7 Moving to Node #0,0,0 Current State: 96:[89, 7], Operations: ['85+4=89', '22-15=7'] Exploring Operation: 89+7=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 65, 5, 8, 6 ]
63
[ "8-5=3", "6/3=2", "65-2=63" ]
Current State: 63:[65, 5, 8, 6], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [65, 6, 3] Generated Node #2: [65, 6, 3] from Operation: 8-5=3 Current State: 63:[65, 6, 3], Operations: ['8-5=3'] Exploring Operation: 6/3=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 6/3=2 Current State: 63:[65, 2], Operations: ['8-5=3', '6/3=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[65, 5, 8, 6], Operations: [] Exploring Operation: 8-5=3, Resulting Numbers: [65, 6, 3] Generated Node #0,0: 63:[65, 6, 3] Operation: 8-5=3 Exploring Operation: 65-5=60, Resulting Numbers: [8, 6, 60] Generated Node #0,1: 63:[8, 6, 60] Operation: 65-5=60 Exploring Operation: 5+6=11, Resulting Numbers: [65, 8, 11] Generated Node #0,2: 63:[65, 8, 11] Operation: 5+6=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[65, 6, 3], Operations: ['8-5=3'] Exploring Operation: 65-3=62, Resulting Numbers: [6, 62] Generated Node #0,0,0: 63:[6, 62] Operation: 65-3=62 Exploring Operation: 6-3=3, Resulting Numbers: [65, 3] Generated Node #0,0,1: 63:[65, 3] Operation: 6-3=3 Exploring Operation: 6+3=9, Resulting Numbers: [65, 9] Generated Node #0,0,2: 63:[65, 9] Operation: 6+3=9 Moving to Node #0,0,0 Current State: 63:[6, 62], Operations: ['8-5=3', '65-3=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,63 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,63 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[65, 3], Operations: ['8-5=3', '6-3=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,63 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[65, 9], Operations: ['8-5=3', '6+3=9'] Exploring Operation: 65+9=74, Resulting Numbers: [74] 74,63 unequal: No Solution Exploring Operation: 65*9=585, Resulting Numbers: [585] 585,63 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,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 Current State: 63:[8, 6, 60], Operations: ['65-5=60'] Exploring Operation: 60/6=10, Resulting Numbers: [8, 10] Generated Node #0,1,0: 63:[8, 10] Operation: 60/6=10 Exploring Operation: 6+60=66, Resulting Numbers: [8, 66] Generated Node #0,1,1: 63:[8, 66] Operation: 6+60=66 Exploring Operation: 8-6=2, Resulting Numbers: [60, 2] Generated Node #0,1,2: 63:[60, 2] Operation: 8-6=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[8, 10], Operations: ['65-5=60', '60/6=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,63 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,63 unequal: No Solution No 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: 63:[8, 66], Operations: ['65-5=60', '6+60=66'] Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,63 unequal: No Solution Exploring Operation: 8*66=528, Resulting Numbers: [528] 528,63 unequal: No Solution Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,63 unequal: No Solution No 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: 63:[60, 2], Operations: ['65-5=60', '8-6=2'] Exploring Operation: 60+2=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,63 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: 63:[65, 8, 11], Operations: ['5+6=11'] Exploring Operation: 8+11=19, Resulting Numbers: [65, 19] Generated Node #0,2,0: 63:[65, 19] Operation: 8+11=19 Exploring Operation: 65-8=57, Resulting Numbers: [11, 57] Generated Node #0,2,1: 63:[11, 57] Operation: 65-8=57 Exploring Operation: 11-8=3, Resulting Numbers: [65, 3] Generated Node #0,2,2: 63:[65, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 63:[65, 3], Operations: ['5+6=11', '11-8=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,63 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,63 unequal: No Solution No 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: 63:[65, 19], Operations: ['5+6=11', '8+11=19'] Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,63 unequal: No Solution Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,63 unequal: No Solution No 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: 63:[11, 57], Operations: ['5+6=11', '65-8=57'] Exploring Operation: 11+57=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 11*57=627, Resulting Numbers: [627] 627,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 13, 9, 42, 22 ]
68
[ "13-9=4", "42+22=64", "4+64=68" ]
Current State: 68:[13, 9, 42, 22], Operations: [] Exploring Operation: 13-9=4, Resulting Numbers: [42, 22, 4] Generated Node #2: [42, 22, 4] from Operation: 13-9=4 Current State: 68:[42, 22, 4], Operations: ['13-9=4'] Exploring Operation: 42+22=64, Resulting Numbers: [4, 64] Generated Node #3: [4, 64] from Operation: 42+22=64 Current State: 68:[4, 64], Operations: ['13-9=4', '42+22=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[13, 9, 42, 22], Operations: [] Exploring Operation: 42-9=33, Resulting Numbers: [13, 22, 33] Generated Node #0,0: 68:[13, 22, 33] Operation: 42-9=33 Exploring Operation: 42-22=20, Resulting Numbers: [13, 9, 20] Generated Node #0,1: 68:[13, 9, 20] Operation: 42-22=20 Moving to Node #0,0 Current State: 68:[13, 22, 33], Operations: ['42-9=33'] Exploring Operation: 22-13=9, Resulting Numbers: [33, 9] Generated Node #0,0,0: 68:[33, 9] Operation: 22-13=9 Exploring Operation: 13+22=35, Resulting Numbers: [33, 35] Generated Node #0,0,1: 68:[33, 35] Operation: 13+22=35 Moving to Node #0,1 Current State: 68:[13, 9, 20], Operations: ['42-22=20'] Exploring Operation: 13-9=4, Resulting Numbers: [20, 4] Generated Node #0,1,0: 68:[20, 4] Operation: 13-9=4 Exploring Operation: 13+20=33, Resulting Numbers: [9, 33] Generated Node #0,1,1: 68:[9, 33] Operation: 13+20=33 Moving to Node #0,0,1 Current State: 68:[33, 35], Operations: ['42-9=33', '13+22=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[13, 9, 42, 22], Operations: [] Exploring Operation: 42-9=33, Resulting Numbers: [13, 22, 33] Generated Node #0,0: 68:[13, 22, 33] Operation: 42-9=33 Moving to Node #0,0 Current State: 68:[13, 22, 33], Operations: ['42-9=33'] Exploring Operation: 13+22=35, Resulting Numbers: [33, 35] Generated Node #0,0,1: 68:[33, 35] Operation: 13+22=35 Moving to Node #0,0,1 Current State: 68:[33, 35], Operations: ['42-9=33', '13+22=35'] Exploring Operation: 33+35=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 91, 98, 1, 10 ]
71
[ "98-91=7", "10*7=70", "1+70=71" ]
Current State: 71:[91, 98, 1, 10], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [1, 10, 7] Generated Node #2: [1, 10, 7] from Operation: 98-91=7 Current State: 71:[1, 10, 7], Operations: ['98-91=7'] Exploring Operation: 10*7=70, Resulting Numbers: [1, 70] Generated Node #3: [1, 70] from Operation: 10*7=70 Current State: 71:[1, 70], Operations: ['98-91=7', '10*7=70'] Exploring Operation: 1+70=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[91, 98, 1, 10], Operations: [] Exploring Operation: 98-10=88, Resulting Numbers: [91, 1, 88] Generated Node #0,0: 71:[91, 1, 88] Operation: 98-10=88 Exploring Operation: 91-10=81, Resulting Numbers: [98, 1, 81] Generated Node #0,1: 71:[98, 1, 81] Operation: 91-10=81 Exploring Operation: 98-1=97, Resulting Numbers: [91, 10, 97] Generated Node #0,2: 71:[91, 10, 97] Operation: 98-1=97 Exploring Operation: 1+10=11, Resulting Numbers: [91, 98, 11] Generated Node #0,3: 71:[91, 98, 11] Operation: 1+10=11 Exploring Operation: 91-1=90, Resulting Numbers: [98, 10, 90] Generated Node #0,4: 71:[98, 10, 90] Operation: 91-1=90 Moving to Node #0,0 Current State: 71:[91, 1, 88], Operations: ['98-10=88'] Exploring Operation: 91*1=91, Resulting Numbers: [88, 91] Generated Node #0,0,0: 71:[88, 91] Operation: 91*1=91 Exploring Operation: 88-1=87, Resulting Numbers: [91, 87] Generated Node #0,0,1: 71:[91, 87] Operation: 88-1=87 Exploring Operation: 1*88=88, Resulting Numbers: [91, 88] Generated Node #0,0,2: 71:[91, 88] Operation: 1*88=88 Exploring Operation: 91-1=90, Resulting Numbers: [88, 90] Generated Node #0,0,3: 71:[88, 90] Operation: 91-1=90 Exploring Operation: 91/1=91, Resulting Numbers: [88, 91] Generated Node #0,0,4: 71:[88, 91] Operation: 91/1=91 Moving to Node #0,2 Current State: 71:[91, 10, 97], Operations: ['98-1=97'] Exploring Operation: 10+97=107, Resulting Numbers: [91, 107] Generated Node #0,2,0: 71:[91, 107] Operation: 10+97=107 Exploring Operation: 97-10=87, Resulting Numbers: [91, 87] Generated Node #0,2,1: 71:[91, 87] Operation: 97-10=87 Exploring Operation: 91-10=81, Resulting Numbers: [97, 81] Generated Node #0,2,2: 71:[97, 81] Operation: 91-10=81 Exploring Operation: 91+10=101, Resulting Numbers: [97, 101] Generated Node #0,2,3: 71:[97, 101] Operation: 91+10=101 Exploring Operation: 97-91=6, Resulting Numbers: [10, 6] Generated Node #0,2,4: 71:[10, 6] Operation: 97-91=6 Moving to Node #0,4 Current State: 71:[98, 10, 90], Operations: ['91-1=90'] Exploring Operation: 98-10=88, Resulting Numbers: [90, 88] Generated Node #0,4,0: 71:[90, 88] Operation: 98-10=88 Exploring Operation: 10+90=100, Resulting Numbers: [98, 100] Generated Node #0,4,1: 71:[98, 100] Operation: 10+90=100 Exploring Operation: 98+10=108, Resulting Numbers: [90, 108] Generated Node #0,4,2: 71:[90, 108] Operation: 98+10=108 Exploring Operation: 90-10=80, Resulting Numbers: [98, 80] Generated Node #0,4,3: 71:[98, 80] Operation: 90-10=80 Exploring Operation: 90/10=9, Resulting Numbers: [98, 9] Generated Node #0,4,4: 71:[98, 9] Operation: 90/10=9 Moving to Node #0,1 Current State: 71:[98, 1, 81], Operations: ['91-10=81'] Exploring Operation: 98-1=97, Resulting Numbers: [81, 97] Generated Node #0,1,0: 71:[81, 97] Operation: 98-1=97 Exploring Operation: 98*1=98, Resulting Numbers: [81, 98] Generated Node #0,1,1: 71:[81, 98] Operation: 98*1=98 Exploring Operation: 98/1=98, Resulting Numbers: [81, 98] Generated Node #0,1,2: 71:[81, 98] Operation: 98/1=98 Exploring Operation: 1*81=81, Resulting Numbers: [98, 81] Generated Node #0,1,3: 71:[98, 81] Operation: 1*81=81 Exploring Operation: 81-1=80, Resulting Numbers: [98, 80] Generated Node #0,1,4: 71:[98, 80] Operation: 81-1=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 71:[81, 97], Operations: ['91-10=81', '98-1=97'] Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,71 unequal: No Solution Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,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,4 Current State: 71:[98, 80], Operations: ['91-10=81', '81-1=80'] Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,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,1 Current State: 71:[81, 98], Operations: ['91-10=81', '98*1=98'] Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,71 unequal: No Solution Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,71 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,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,2 Current State: 71:[81, 98], Operations: ['91-10=81', '98/1=98'] Exploring Operation: 81*98=7938, Resulting Numbers: [7938] 7938,71 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 81+98=179, Resulting Numbers: [179] 179,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,3 Current State: 71:[98, 81], Operations: ['91-10=81', '1*81=81'] Exploring Operation: 98*81=7938, Resulting Numbers: [7938] 7938,71 unequal: No Solution Exploring Operation: 98-81=17, Resulting Numbers: [17] 17,71 unequal: No Solution Exploring Operation: 98+81=179, Resulting Numbers: [179] 179,71 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: 71:[91, 98, 11], Operations: ['1+10=11'] Exploring Operation: 98-91=7, Resulting Numbers: [11, 7] Generated Node #0,3,0: 71:[11, 7] Operation: 98-91=7 Exploring Operation: 98-11=87, Resulting Numbers: [91, 87] Generated Node #0,3,1: 71:[91, 87] Operation: 98-11=87 Exploring Operation: 91+11=102, Resulting Numbers: [98, 102] Generated Node #0,3,2: 71:[98, 102] Operation: 91+11=102 Exploring Operation: 98+11=109, Resulting Numbers: [91, 109] Generated Node #0,3,3: 71:[91, 109] Operation: 98+11=109 Exploring Operation: 91-11=80, Resulting Numbers: [98, 80] Generated Node #0,3,4: 71:[98, 80] Operation: 91-11=80 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[91, 87], Operations: ['1+10=11', '98-11=87'] Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,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,4 Current State: 71:[98, 80], Operations: ['1+10=11', '91-11=80'] Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,71 unequal: No Solution Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,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,2 Current State: 71:[98, 102], Operations: ['1+10=11', '91+11=102'] Exploring Operation: 98+102=200, Resulting Numbers: [200] 200,71 unequal: No Solution Exploring Operation: 102-98=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 98*102=9996, Resulting Numbers: [9996] 9996,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,3 Current State: 71:[91, 109], Operations: ['1+10=11', '98+11=109'] Exploring Operation: 91+109=200, Resulting Numbers: [200] 200,71 unequal: No Solution Exploring Operation: 91*109=9919, Resulting Numbers: [9919] 9919,71 unequal: No Solution Exploring Operation: 109-91=18, Resulting Numbers: [18] 18,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,0 Current State: 71:[11, 7], Operations: ['1+10=11', '98-91=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,71 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: 71:[91, 87], Operations: ['98-10=88', '88-1=87'] Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,71 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[91, 87], Operations: ['98-1=97', '97-10=87'] Exploring Operation: 91+87=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 91*87=7917, Resulting Numbers: [7917] 7917,71 unequal: No Solution Exploring Operation: 91-87=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[97, 81], Operations: ['98-1=97', '91-10=81'] Exploring Operation: 97+81=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 97*81=7857, Resulting Numbers: [7857] 7857,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[98, 80], Operations: ['91-1=90', '90-10=80'] Exploring Operation: 98*80=7840, Resulting Numbers: [7840] 7840,71 unequal: No Solution Exploring Operation: 98+80=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 98-80=18, Resulting Numbers: [18] 18,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[88, 90], Operations: ['98-10=88', '91-1=90'] Exploring Operation: 88*90=7920, Resulting Numbers: [7920] 7920,71 unequal: No Solution Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,71 unequal: No Solution Moving to Node #0,4,0 Current State: 71:[90, 88], Operations: ['91-1=90', '98-10=88'] Exploring Operation: 90+88=178, Resulting Numbers: [178] 178,71 unequal: No Solution Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 90*88=7920, Resulting Numbers: [7920] 7920,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[88, 91], Operations: ['98-10=88', '91*1=91'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,71 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[88, 91], Operations: ['98-10=88', '91/1=91'] Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 88+91=179, Resulting Numbers: [179] 179,71 unequal: No Solution Exploring Operation: 88*91=8008, Resulting Numbers: [8008] 8008,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[91, 88], Operations: ['98-10=88', '1*88=88'] Exploring Operation: 91+88=179, Resulting Numbers: [179] 179,71 unequal: No Solution Exploring Operation: 91*88=8008, Resulting Numbers: [8008] 8008,71 unequal: No Solution Exploring Operation: 91-88=3, Resulting Numbers: [3] 3,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[90, 108], Operations: ['91-1=90', '98+10=108'] Exploring Operation: 90*108=9720, Resulting Numbers: [9720] 9720,71 unequal: No Solution Exploring Operation: 90+108=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 108-90=18, Resulting Numbers: [18] 18,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[98, 100], Operations: ['91-1=90', '10+90=100'] Exploring Operation: 100-98=2, Resulting Numbers: [2] 2,71 unequal: No Solution Exploring Operation: 98+100=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 98*100=9800, Resulting Numbers: [9800] 9800,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[91, 107], Operations: ['98-1=97', '10+97=107'] Exploring Operation: 91+107=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 91*107=9737, Resulting Numbers: [9737] 9737,71 unequal: No Solution Exploring Operation: 107-91=16, Resulting Numbers: [16] 16,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[97, 101], Operations: ['98-1=97', '91+10=101'] Exploring Operation: 97*101=9797, Resulting Numbers: [9797] 9797,71 unequal: No Solution Exploring Operation: 97+101=198, Resulting Numbers: [198] 198,71 unequal: No Solution Exploring Operation: 101-97=4, Resulting Numbers: [4] 4,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[98, 9], Operations: ['91-1=90', '90/10=9'] Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,71 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,71 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,71 unequal: No Solution Moving to Node #0,2,4 Current State: 71:[10, 6], Operations: ['98-1=97', '97-91=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,71 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,71 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,71 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 21, 52, 79, 42 ]
10
[ "21+79=100", "52-42=10", "100/10=10" ]
Current State: 10:[21, 52, 79, 42], Operations: [] Exploring Operation: 21+79=100, Resulting Numbers: [52, 42, 100] Generated Node #2: [52, 42, 100] from Operation: 21+79=100 Current State: 10:[52, 42, 100], Operations: ['21+79=100'] Exploring Operation: 52-42=10, Resulting Numbers: [100, 10] Generated Node #3: [100, 10] from Operation: 52-42=10 Current State: 10:[100, 10], Operations: ['21+79=100', '52-42=10'] Exploring Operation: 100/10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[21, 52, 79, 42], Operations: [] Exploring Operation: 79-52=27, Resulting Numbers: [21, 42, 27] Generated Node #0,0: 10:[21, 42, 27] Operation: 79-52=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[21, 42, 27], Operations: ['79-52=27'] Exploring Operation: 42-27=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 10:[21, 15] Operation: 42-27=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[21, 15], Operations: ['79-52=27', '42-27=15'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,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 No solution found.
0
hs_1
mult_heuristic
[ 70, 29, 94, 36 ]
17
[ "70-29=41", "94-36=58", "58-41=17" ]
Current State: 17:[70, 29, 94, 36], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [94, 36, 41] Generated Node #2: [94, 36, 41] from Operation: 70-29=41 Current State: 17:[94, 36, 41], Operations: ['70-29=41'] Exploring Operation: 94-36=58, Resulting Numbers: [41, 58] Generated Node #3: [41, 58] from Operation: 94-36=58 Current State: 17:[41, 58], Operations: ['70-29=41', '94-36=58'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[70, 29, 94, 36], Operations: [] Exploring Operation: 70-36=34, Resulting Numbers: [29, 94, 34] Generated Node #0,0: 17:[29, 94, 34] Operation: 70-36=34 Exploring Operation: 94-70=24, Resulting Numbers: [29, 36, 24] Generated Node #0,1: 17:[29, 36, 24] Operation: 94-70=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[29, 36, 24], Operations: ['94-70=24'] Exploring Operation: 36-29=7, Resulting Numbers: [24, 7] Generated Node #0,1,0: 17:[24, 7] Operation: 36-29=7 Exploring Operation: 36-24=12, Resulting Numbers: [29, 12] Generated Node #0,1,1: 17:[29, 12] Operation: 36-24=12 Moving to Node #0,1,0 Current State: 17:[24, 7], Operations: ['94-70=24', '36-29=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[70, 29, 94, 36], Operations: [] Exploring Operation: 94-70=24, Resulting Numbers: [29, 36, 24] Generated Node #0,1: 17:[29, 36, 24] Operation: 94-70=24 Moving to Node #0,1 Current State: 17:[29, 36, 24], Operations: ['94-70=24'] Exploring Operation: 36-29=7, Resulting Numbers: [24, 7] Generated Node #0,1,0: 17:[24, 7] Operation: 36-29=7 Moving to Node #0,1,0 Current State: 17:[24, 7], Operations: ['94-70=24', '36-29=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 43, 10, 85, 70 ]
35
[ "85-43=42", "70/10=7", "42-7=35" ]
Current State: 35:[43, 10, 85, 70], Operations: [] Exploring Operation: 85-43=42, Resulting Numbers: [10, 70, 42] Generated Node #2: [10, 70, 42] from Operation: 85-43=42 Current State: 35:[10, 70, 42], Operations: ['85-43=42'] Exploring Operation: 70/10=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 70/10=7 Current State: 35:[42, 7], Operations: ['85-43=42', '70/10=7'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[43, 10, 85, 70], Operations: [] Exploring Operation: 85-70=15, Resulting Numbers: [43, 10, 15] Generated Node #0,0: 35:[43, 10, 15] Operation: 85-70=15 Moving to Node #0,0 Current State: 35:[43, 10, 15], Operations: ['85-70=15'] Exploring Operation: 15-10=5, Resulting Numbers: [43, 5] Generated Node #0,0,0: 35:[43, 5] Operation: 15-10=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[43, 5], Operations: ['85-70=15', '15-10=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,35 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
[ 18, 38, 25, 40 ]
50
[ "38-18=20", "25*40=1000", "1000/20=50" ]
Current State: 50:[18, 38, 25, 40], Operations: [] Exploring Operation: 38-18=20, Resulting Numbers: [25, 40, 20] Generated Node #2: [25, 40, 20] from Operation: 38-18=20 Current State: 50:[25, 40, 20], Operations: ['38-18=20'] Exploring Operation: 25*40=1000, Resulting Numbers: [20, 1000] Generated Node #3: [20, 1000] from Operation: 25*40=1000 Current State: 50:[20, 1000], Operations: ['38-18=20', '25*40=1000'] Exploring Operation: 1000/20=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[18, 38, 25, 40], Operations: [] Exploring Operation: 40-18=22, Resulting Numbers: [38, 25, 22] Generated Node #0,0: 50:[38, 25, 22] Operation: 40-18=22 Exploring Operation: 18+38=56, Resulting Numbers: [25, 40, 56] Generated Node #0,1: 50:[25, 40, 56] Operation: 18+38=56 Exploring Operation: 40-38=2, Resulting Numbers: [18, 25, 2] Generated Node #0,2: 50:[18, 25, 2] Operation: 40-38=2 Exploring Operation: 38-18=20, Resulting Numbers: [25, 40, 20] Generated Node #0,3: 50:[25, 40, 20] Operation: 38-18=20 Moving to Node #0,2 Current State: 50:[18, 25, 2], Operations: ['40-38=2'] Exploring Operation: 18/2=9, Resulting Numbers: [25, 9] Generated Node #0,2,0: 50:[25, 9] Operation: 18/2=9 Exploring Operation: 25-18=7, Resulting Numbers: [2, 7] Generated Node #0,2,1: 50:[2, 7] Operation: 25-18=7 Exploring Operation: 18+2=20, Resulting Numbers: [25, 20] Generated Node #0,2,2: 50:[25, 20] Operation: 18+2=20 Exploring Operation: 18-2=16, Resulting Numbers: [25, 16] Generated Node #0,2,3: 50:[25, 16] Operation: 18-2=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[25, 9], Operations: ['40-38=2', '18/2=9'] Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,50 unequal: No Solution Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,50 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[2, 7], Operations: ['40-38=2', '25-18=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,50 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[25, 20], Operations: ['40-38=2', '18+2=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,50 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,50 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 50:[25, 16], Operations: ['40-38=2', '18-2=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,50 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 50:[25, 40, 20], Operations: ['38-18=20'] Exploring Operation: 25-20=5, Resulting Numbers: [40, 5] Generated Node #0,3,0: 50:[40, 5] Operation: 25-20=5 Exploring Operation: 40-25=15, Resulting Numbers: [20, 15] Generated Node #0,3,1: 50:[20, 15] Operation: 40-25=15 Exploring Operation: 40-20=20, Resulting Numbers: [25, 20] Generated Node #0,3,2: 50:[25, 20] Operation: 40-20=20 Exploring Operation: 40/20=2, Resulting Numbers: [25, 2] Generated Node #0,3,3: 50:[25, 2] Operation: 40/20=2 Moving to Node #0,0 Current State: 50:[38, 25, 22], Operations: ['40-18=22'] Exploring Operation: 38-25=13, Resulting Numbers: [22, 13] Generated Node #0,0,0: 50:[22, 13] Operation: 38-25=13 Exploring Operation: 38-22=16, Resulting Numbers: [25, 16] Generated Node #0,0,1: 50:[25, 16] Operation: 38-22=16 Exploring Operation: 38+22=60, Resulting Numbers: [25, 60] Generated Node #0,0,2: 50:[25, 60] Operation: 38+22=60 Exploring Operation: 25-22=3, Resulting Numbers: [38, 3] Generated Node #0,0,3: 50:[38, 3] Operation: 25-22=3 Moving to Node #0,1 Current State: 50:[25, 40, 56], Operations: ['18+38=56'] Exploring Operation: 25+40=65, Resulting Numbers: [56, 65] Generated Node #0,1,0: 50:[56, 65] Operation: 25+40=65 Exploring Operation: 40-25=15, Resulting Numbers: [56, 15] Generated Node #0,1,1: 50:[56, 15] Operation: 40-25=15 Exploring Operation: 56-25=31, Resulting Numbers: [40, 31] Generated Node #0,1,2: 50:[40, 31] Operation: 56-25=31 Exploring Operation: 56-40=16, Resulting Numbers: [25, 16] Generated Node #0,1,3: 50:[25, 16] Operation: 56-40=16 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[25, 16], Operations: ['18+38=56', '56-40=16'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,50 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[56, 15], Operations: ['18+38=56', '40-25=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,50 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[40, 31], Operations: ['18+38=56', '56-25=31'] Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,50 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[56, 65], Operations: ['18+38=56', '25+40=65'] Exploring Operation: 56*65=3640, Resulting Numbers: [3640] 3640,50 unequal: No Solution Exploring Operation: 56+65=121, Resulting Numbers: [121] 121,50 unequal: No Solution Exploring Operation: 65-56=9, Resulting Numbers: [9] 9,50 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: 50:[25, 2], Operations: ['38-18=20', '40/20=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[18, 38, 25, 40], Operations: [] Exploring Operation: 38-18=20, Resulting Numbers: [25, 40, 20] Generated Node #0,3: 50:[25, 40, 20] Operation: 38-18=20 Moving to Node #0,3 Current State: 50:[25, 40, 20], Operations: ['38-18=20'] Exploring Operation: 40/20=2, Resulting Numbers: [25, 2] Generated Node #0,3,3: 50:[25, 2] Operation: 40/20=2 Moving to Node #0,3,3 Current State: 50:[25, 2], Operations: ['38-18=20', '40/20=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
0.957465
hs_4
sum_heuristic
[ 59, 41, 19, 52 ]
52
[ "59-41=18", "19-18=1", "52*1=52" ]
Current State: 52:[59, 41, 19, 52], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [19, 52, 18] Generated Node #2: [19, 52, 18] from Operation: 59-41=18 Current State: 52:[19, 52, 18], Operations: ['59-41=18'] Exploring Operation: 19-18=1, Resulting Numbers: [52, 1] Generated Node #3: [52, 1] from Operation: 19-18=1 Current State: 52:[52, 1], Operations: ['59-41=18', '19-18=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[59, 41, 19, 52], Operations: [] Exploring Operation: 41-19=22, Resulting Numbers: [59, 52, 22] Generated Node #0,0: 52:[59, 52, 22] Operation: 41-19=22 Exploring Operation: 59-41=18, Resulting Numbers: [19, 52, 18] Generated Node #0,1: 52:[19, 52, 18] Operation: 59-41=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[59, 52, 22], Operations: ['41-19=22'] Exploring Operation: 59-22=37, Resulting Numbers: [52, 37] Generated Node #0,0,0: 52:[52, 37] Operation: 59-22=37 Exploring Operation: 59-52=7, Resulting Numbers: [22, 7] Generated Node #0,0,1: 52:[22, 7] Operation: 59-52=7 Moving to Node #0,0,1 Current State: 52:[22, 7], Operations: ['41-19=22', '59-52=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,52 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[52, 37], Operations: ['41-19=22', '59-22=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,52 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[19, 52, 18], Operations: ['59-41=18'] Exploring Operation: 19+18=37, Resulting Numbers: [52, 37] Generated Node #0,1,0: 52:[52, 37] Operation: 19+18=37 Exploring Operation: 19-18=1, Resulting Numbers: [52, 1] Generated Node #0,1,1: 52:[52, 1] Operation: 19-18=1 Moving to Node #0,1,1 Current State: 52:[52, 1], Operations: ['59-41=18', '19-18=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[59, 41, 19, 52], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [19, 52, 18] Generated Node #0,1: 52:[19, 52, 18] Operation: 59-41=18 Moving to Node #0,1 Current State: 52:[19, 52, 18], Operations: ['59-41=18'] Exploring Operation: 19-18=1, Resulting Numbers: [52, 1] Generated Node #0,1,1: 52:[52, 1] Operation: 19-18=1 Moving to Node #0,1,1 Current State: 52:[52, 1], Operations: ['59-41=18', '19-18=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 5, 1, 94, 49 ]
10
[ "94-49=45", "45/5=9", "1+9=10" ]
Current State: 10:[5, 1, 94, 49], Operations: [] Exploring Operation: 94-49=45, Resulting Numbers: [5, 1, 45] Generated Node #2: [5, 1, 45] from Operation: 94-49=45 Current State: 10:[5, 1, 45], Operations: ['94-49=45'] Exploring Operation: 45/5=9, Resulting Numbers: [1, 9] Generated Node #3: [1, 9] from Operation: 45/5=9 Current State: 10:[1, 9], Operations: ['94-49=45', '45/5=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[5, 1, 94, 49], Operations: [] Exploring Operation: 94-49=45, Resulting Numbers: [5, 1, 45] Generated Node #0,0: 10:[5, 1, 45] Operation: 94-49=45 Exploring Operation: 94-5=89, Resulting Numbers: [1, 49, 89] Generated Node #0,1: 10:[1, 49, 89] Operation: 94-5=89 Exploring Operation: 94-1=93, Resulting Numbers: [5, 49, 93] Generated Node #0,2: 10:[5, 49, 93] Operation: 94-1=93 Exploring Operation: 49-5=44, Resulting Numbers: [1, 94, 44] Generated Node #0,3: 10:[1, 94, 44] Operation: 49-5=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[5, 1, 45], Operations: ['94-49=45'] Exploring Operation: 45-1=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 10:[5, 44] Operation: 45-1=44 Exploring Operation: 45-5=40, Resulting Numbers: [1, 40] Generated Node #0,0,1: 10:[1, 40] Operation: 45-5=40 Exploring Operation: 5*1=5, Resulting Numbers: [45, 5] Generated Node #0,0,2: 10:[45, 5] Operation: 5*1=5 Exploring Operation: 45/5=9, Resulting Numbers: [1, 9] Generated Node #0,0,3: 10:[1, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 10:[1, 9], Operations: ['94-49=45', '45/5=9'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[5, 1, 94, 49], Operations: [] Exploring Operation: 94-49=45, Resulting Numbers: [5, 1, 45] Generated Node #0,0: 10:[5, 1, 45] Operation: 94-49=45 Moving to Node #0,0 Current State: 10:[5, 1, 45], Operations: ['94-49=45'] Exploring Operation: 45/5=9, Resulting Numbers: [1, 9] Generated Node #0,0,3: 10:[1, 9] Operation: 45/5=9 Moving to Node #0,0,3 Current State: 10:[1, 9], Operations: ['94-49=45', '45/5=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 36, 57, 74, 51 ]
12
[ "74-57=17", "36*17=612", "612/51=12" ]
Current State: 12:[36, 57, 74, 51], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [36, 51, 17] Generated Node #2: [36, 51, 17] from Operation: 74-57=17 Current State: 12:[36, 51, 17], Operations: ['74-57=17'] Exploring Operation: 36*17=612, Resulting Numbers: [51, 612] Generated Node #3: [51, 612] from Operation: 36*17=612 Current State: 12:[51, 612], Operations: ['74-57=17', '36*17=612'] Exploring Operation: 612/51=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 57, 74, 51], Operations: [] Exploring Operation: 57-51=6, Resulting Numbers: [36, 74, 6] Generated Node #0,0: 12:[36, 74, 6] Operation: 57-51=6 Exploring Operation: 74-57=17, Resulting Numbers: [36, 51, 17] Generated Node #0,1: 12:[36, 51, 17] Operation: 74-57=17 Exploring Operation: 57-36=21, Resulting Numbers: [74, 51, 21] Generated Node #0,2: 12:[74, 51, 21] Operation: 57-36=21 Exploring Operation: 74-51=23, Resulting Numbers: [36, 57, 23] Generated Node #0,3: 12:[36, 57, 23] Operation: 74-51=23 Moving to Node #0,1 Current State: 12:[36, 51, 17], Operations: ['74-57=17'] Exploring Operation: 36-17=19, Resulting Numbers: [51, 19] Generated Node #0,1,0: 12:[51, 19] Operation: 36-17=19 Exploring Operation: 51/17=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 12:[36, 3] Operation: 51/17=3 Exploring Operation: 51-36=15, Resulting Numbers: [17, 15] Generated Node #0,1,2: 12:[17, 15] Operation: 51-36=15 Exploring Operation: 51-17=34, Resulting Numbers: [36, 34] Generated Node #0,1,3: 12:[36, 34] Operation: 51-17=34 Moving to Node #0,3 Current State: 12:[36, 57, 23], Operations: ['74-51=23'] Exploring Operation: 57-36=21, Resulting Numbers: [23, 21] Generated Node #0,3,0: 12:[23, 21] Operation: 57-36=21 Exploring Operation: 36+57=93, Resulting Numbers: [23, 93] Generated Node #0,3,1: 12:[23, 93] Operation: 36+57=93 Exploring Operation: 57-23=34, Resulting Numbers: [36, 34] Generated Node #0,3,2: 12:[36, 34] Operation: 57-23=34 Exploring Operation: 36-23=13, Resulting Numbers: [57, 13] Generated Node #0,3,3: 12:[57, 13] Operation: 36-23=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[23, 21], Operations: ['74-51=23', '57-36=21'] Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,12 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[36, 34], Operations: ['74-51=23', '57-23=34'] Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,12 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 12:[57, 13], Operations: ['74-51=23', '36-23=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,12 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 12:[23, 93], Operations: ['74-51=23', '36+57=93'] Exploring Operation: 23*93=2139, Resulting Numbers: [2139] 2139,12 unequal: No Solution Exploring Operation: 23+93=116, Resulting Numbers: [116] 116,12 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,12 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: 12:[36, 74, 6], Operations: ['57-51=6'] Exploring Operation: 36-6=30, Resulting Numbers: [74, 30] Generated Node #0,0,0: 12:[74, 30] Operation: 36-6=30 Exploring Operation: 74-36=38, Resulting Numbers: [6, 38] Generated Node #0,0,1: 12:[6, 38] Operation: 74-36=38 Exploring Operation: 74-6=68, Resulting Numbers: [36, 68] Generated Node #0,0,2: 12:[36, 68] Operation: 74-6=68 Exploring Operation: 36/6=6, Resulting Numbers: [74, 6] Generated Node #0,0,3: 12:[74, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[6, 38], Operations: ['57-51=6', '74-36=38'] Exploring Operation: 6*38=228, Resulting Numbers: [228] 228,12 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 6+38=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[74, 6], Operations: ['57-51=6', '36/6=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,12 unequal: No Solution Exploring Operation: 74*6=444, Resulting Numbers: [444] 444,12 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[74, 30], Operations: ['57-51=6', '36-6=30'] Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,12 unequal: No Solution Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[36, 68], Operations: ['57-51=6', '74-6=68'] Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,12 unequal: No Solution Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,12 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: 12:[74, 51, 21], Operations: ['57-36=21'] Exploring Operation: 74+51=125, Resulting Numbers: [21, 125] Generated Node #0,2,0: 12:[21, 125] Operation: 74+51=125 Exploring Operation: 74-21=53, Resulting Numbers: [51, 53] Generated Node #0,2,1: 12:[51, 53] Operation: 74-21=53 Exploring Operation: 51-21=30, Resulting Numbers: [74, 30] Generated Node #0,2,2: 12:[74, 30] Operation: 51-21=30 Exploring Operation: 74-51=23, Resulting Numbers: [21, 23] Generated Node #0,2,3: 12:[21, 23] Operation: 74-51=23 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[21, 23], Operations: ['57-36=21', '74-51=23'] Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,12 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[51, 53], Operations: ['57-36=21', '74-21=53'] Exploring Operation: 51+53=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 51*53=2703, Resulting Numbers: [2703] 2703,12 unequal: No Solution Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[74, 30], Operations: ['57-36=21', '51-21=30'] Exploring Operation: 74+30=104, Resulting Numbers: [104] 104,12 unequal: No Solution Exploring Operation: 74-30=44, Resulting Numbers: [44] 44,12 unequal: No Solution Exploring Operation: 74*30=2220, Resulting Numbers: [2220] 2220,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[21, 125], Operations: ['57-36=21', '74+51=125'] Exploring Operation: 21+125=146, Resulting Numbers: [146] 146,12 unequal: No Solution Exploring Operation: 21*125=2625, Resulting Numbers: [2625] 2625,12 unequal: No Solution Exploring Operation: 125-21=104, Resulting Numbers: [104] 104,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 12:[17, 15], Operations: ['74-57=17', '51-36=15'] Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,12 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[36, 3], Operations: ['74-57=17', '51/17=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[36, 57, 74, 51], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [36, 51, 17] Generated Node #0,1: 12:[36, 51, 17] Operation: 74-57=17 Moving to Node #0,1 Current State: 12:[36, 51, 17], Operations: ['74-57=17'] Exploring Operation: 51/17=3, Resulting Numbers: [36, 3] Generated Node #0,1,1: 12:[36, 3] Operation: 51/17=3 Moving to Node #0,1,1 Current State: 12:[36, 3], Operations: ['74-57=17', '51/17=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
0.944444
hs_4
sum_heuristic
[ 20, 99, 35, 60 ]
16
[ "99-20=79", "35+60=95", "95-79=16" ]
Current State: 16:[20, 99, 35, 60], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [35, 60, 79] Generated Node #2: [35, 60, 79] from Operation: 99-20=79 Current State: 16:[35, 60, 79], Operations: ['99-20=79'] Exploring Operation: 35+60=95, Resulting Numbers: [79, 95] Generated Node #3: [79, 95] from Operation: 35+60=95 Current State: 16:[79, 95], Operations: ['99-20=79', '35+60=95'] Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[20, 99, 35, 60], Operations: [] Exploring Operation: 60-35=25, Resulting Numbers: [20, 99, 25] Generated Node #0,0: 16:[20, 99, 25] Operation: 60-35=25 Exploring Operation: 99-35=64, Resulting Numbers: [20, 60, 64] Generated Node #0,1: 16:[20, 60, 64] Operation: 99-35=64 Exploring Operation: 99-60=39, Resulting Numbers: [20, 35, 39] Generated Node #0,2: 16:[20, 35, 39] Operation: 99-60=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[20, 35, 39], Operations: ['99-60=39'] Exploring Operation: 39-20=19, Resulting Numbers: [35, 19] Generated Node #0,2,0: 16:[35, 19] Operation: 39-20=19 Exploring Operation: 35-20=15, Resulting Numbers: [39, 15] Generated Node #0,2,1: 16:[39, 15] Operation: 35-20=15 Exploring Operation: 39-35=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 16:[20, 4] Operation: 39-35=4 Moving to Node #0,2,2 Current State: 16:[20, 4], Operations: ['99-60=39', '39-35=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,16 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[20, 99, 35, 60], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [20, 35, 39] Generated Node #0,2: 16:[20, 35, 39] Operation: 99-60=39 Moving to Node #0,2 Current State: 16:[20, 35, 39], Operations: ['99-60=39'] Exploring Operation: 39-35=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 16:[20, 4] Operation: 39-35=4 Moving to Node #0,2,2 Current State: 16:[20, 4], Operations: ['99-60=39', '39-35=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 27, 45, 44, 54 ]
47
[ "45-27=18", "54/18=3", "44+3=47" ]
Current State: 47:[27, 45, 44, 54], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [44, 54, 18] Generated Node #2: [44, 54, 18] from Operation: 45-27=18 Current State: 47:[44, 54, 18], Operations: ['45-27=18'] Exploring Operation: 54/18=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 54/18=3 Current State: 47:[44, 3], Operations: ['45-27=18', '54/18=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[27, 45, 44, 54], Operations: [] Exploring Operation: 44-27=17, Resulting Numbers: [45, 54, 17] Generated Node #0,0: 47:[45, 54, 17] Operation: 44-27=17 Exploring Operation: 54-27=27, Resulting Numbers: [45, 44, 27] Generated Node #0,1: 47:[45, 44, 27] Operation: 54-27=27 Exploring Operation: 27+45=72, Resulting Numbers: [44, 54, 72] Generated Node #0,2: 47:[44, 54, 72] Operation: 27+45=72 Exploring Operation: 27+44=71, Resulting Numbers: [45, 54, 71] Generated Node #0,3: 47:[45, 54, 71] Operation: 27+44=71 Exploring Operation: 45-27=18, Resulting Numbers: [44, 54, 18] Generated Node #0,4: 47:[44, 54, 18] Operation: 45-27=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[45, 44, 27], Operations: ['54-27=27'] Exploring Operation: 45+44=89, Resulting Numbers: [27, 89] Generated Node #0,1,0: 47:[27, 89] Operation: 45+44=89 Exploring Operation: 45-27=18, Resulting Numbers: [44, 18] Generated Node #0,1,1: 47:[44, 18] Operation: 45-27=18 Exploring Operation: 45+27=72, Resulting Numbers: [44, 72] Generated Node #0,1,2: 47:[44, 72] Operation: 45+27=72 Exploring Operation: 44-27=17, Resulting Numbers: [45, 17] Generated Node #0,1,3: 47:[45, 17] Operation: 44-27=17 Exploring Operation: 44+27=71, Resulting Numbers: [45, 71] Generated Node #0,1,4: 47:[45, 71] Operation: 44+27=71 Moving to Node #0,1,4 Current State: 47:[45, 71], Operations: ['54-27=27', '44+27=71'] Exploring Operation: 45+71=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 45*71=3195, Resulting Numbers: [3195] 3195,47 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[44, 72], Operations: ['54-27=27', '45+27=72'] Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,47 unequal: No Solution Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[44, 18], Operations: ['54-27=27', '45-27=18'] Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,47 unequal: No Solution Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[45, 17], Operations: ['54-27=27', '44-27=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[27, 89], Operations: ['54-27=27', '45+44=89'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 47:[45, 54, 71], Operations: ['27+44=71'] Exploring Operation: 45+71=116, Resulting Numbers: [54, 116] Generated Node #0,3,0: 47:[54, 116] Operation: 45+71=116 Exploring Operation: 71-45=26, Resulting Numbers: [54, 26] Generated Node #0,3,1: 47:[54, 26] Operation: 71-45=26 Exploring Operation: 54-45=9, Resulting Numbers: [71, 9] Generated Node #0,3,2: 47:[71, 9] Operation: 54-45=9 Exploring Operation: 45+54=99, Resulting Numbers: [71, 99] Generated Node #0,3,3: 47:[71, 99] Operation: 45+54=99 Exploring Operation: 71-54=17, Resulting Numbers: [45, 17] Generated Node #0,3,4: 47:[45, 17] Operation: 71-54=17 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[54, 26], Operations: ['27+44=71', '71-45=26'] Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,47 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,47 unequal: No Solution No 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: 47:[45, 17], Operations: ['27+44=71', '71-54=17'] Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 45+17=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 45*17=765, Resulting Numbers: [765] 765,47 unequal: No Solution No 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: 47:[71, 9], Operations: ['27+44=71', '54-45=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 71+9=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 71*9=639, Resulting Numbers: [639] 639,47 unequal: No Solution No 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: 47:[54, 116], Operations: ['27+44=71', '45+71=116'] Exploring Operation: 54*116=6264, Resulting Numbers: [6264] 6264,47 unequal: No Solution Exploring Operation: 54+116=170, Resulting Numbers: [170] 170,47 unequal: No Solution Exploring Operation: 116-54=62, Resulting Numbers: [62] 62,47 unequal: No Solution No 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: 47:[71, 99], Operations: ['27+44=71', '45+54=99'] Exploring Operation: 71+99=170, Resulting Numbers: [170] 170,47 unequal: No Solution Exploring Operation: 99-71=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 71*99=7029, Resulting Numbers: [7029] 7029,47 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: 47:[44, 54, 72], Operations: ['27+45=72'] Exploring Operation: 44+54=98, Resulting Numbers: [72, 98] Generated Node #0,2,0: 47:[72, 98] Operation: 44+54=98 Exploring Operation: 72-44=28, Resulting Numbers: [54, 28] Generated Node #0,2,1: 47:[54, 28] Operation: 72-44=28 Exploring Operation: 54-44=10, Resulting Numbers: [72, 10] Generated Node #0,2,2: 47:[72, 10] Operation: 54-44=10 Exploring Operation: 72-54=18, Resulting Numbers: [44, 18] Generated Node #0,2,3: 47:[44, 18] Operation: 72-54=18 Exploring Operation: 44+72=116, Resulting Numbers: [54, 116] Generated Node #0,2,4: 47:[54, 116] Operation: 44+72=116 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[54, 28], Operations: ['27+45=72', '72-44=28'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,47 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution No 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: 47:[44, 18], Operations: ['27+45=72', '72-54=18'] Exploring Operation: 44+18=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 44*18=792, Resulting Numbers: [792] 792,47 unequal: No Solution Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,47 unequal: No Solution No 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: 47:[72, 10], Operations: ['27+45=72', '54-44=10'] Exploring Operation: 72*10=720, Resulting Numbers: [720] 720,47 unequal: No Solution Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 72+10=82, Resulting Numbers: [82] 82,47 unequal: No Solution No 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: 47:[72, 98], Operations: ['27+45=72', '44+54=98'] Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 72*98=7056, Resulting Numbers: [7056] 7056,47 unequal: No Solution Exploring Operation: 72+98=170, Resulting Numbers: [170] 170,47 unequal: No Solution No 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: 47:[54, 116], Operations: ['27+45=72', '44+72=116'] Exploring Operation: 116-54=62, Resulting Numbers: [62] 62,47 unequal: No Solution Exploring Operation: 54+116=170, Resulting Numbers: [170] 170,47 unequal: No Solution Exploring Operation: 54*116=6264, Resulting Numbers: [6264] 6264,47 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: 47:[45, 54, 17], Operations: ['44-27=17'] Exploring Operation: 54+17=71, Resulting Numbers: [45, 71] Generated Node #0,0,0: 47:[45, 71] Operation: 54+17=71 Exploring Operation: 45-17=28, Resulting Numbers: [54, 28] Generated Node #0,0,1: 47:[54, 28] Operation: 45-17=28 Exploring Operation: 45+17=62, Resulting Numbers: [54, 62] Generated Node #0,0,2: 47:[54, 62] Operation: 45+17=62 Exploring Operation: 54-45=9, Resulting Numbers: [17, 9] Generated Node #0,0,3: 47:[17, 9] Operation: 54-45=9 Exploring Operation: 54-17=37, Resulting Numbers: [45, 37] Generated Node #0,0,4: 47:[45, 37] Operation: 54-17=37 Moving to Node #0,0,4 Current State: 47:[45, 37], Operations: ['44-27=17', '54-17=37'] Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 45*37=1665, Resulting Numbers: [1665] 1665,47 unequal: No Solution Exploring Operation: 45+37=82, Resulting Numbers: [82] 82,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[54, 62], Operations: ['44-27=17', '45+17=62'] Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,47 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[45, 71], Operations: ['44-27=17', '54+17=71'] Exploring Operation: 45+71=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 45*71=3195, Resulting Numbers: [3195] 3195,47 unequal: No Solution Exploring Operation: 71-45=26, Resulting Numbers: [26] 26,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[54, 28], Operations: ['44-27=17', '45-17=28'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 54*28=1512, Resulting Numbers: [1512] 1512,47 unequal: No Solution Exploring Operation: 54+28=82, Resulting Numbers: [82] 82,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[17, 9], Operations: ['44-27=17', '54-45=9'] Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,47 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 47:[44, 54, 18], Operations: ['45-27=18'] Exploring Operation: 54-18=36, Resulting Numbers: [44, 36] Generated Node #0,4,0: 47:[44, 36] Operation: 54-18=36 Exploring Operation: 44-18=26, Resulting Numbers: [54, 26] Generated Node #0,4,1: 47:[54, 26] Operation: 44-18=26 Exploring Operation: 44+18=62, Resulting Numbers: [54, 62] Generated Node #0,4,2: 47:[54, 62] Operation: 44+18=62 Exploring Operation: 54+18=72, Resulting Numbers: [44, 72] Generated Node #0,4,3: 47:[44, 72] Operation: 54+18=72 Exploring Operation: 54/18=3, Resulting Numbers: [44, 3] Generated Node #0,4,4: 47:[44, 3] Operation: 54/18=3 Moving to Node #0,4,0 Current State: 47:[44, 36], Operations: ['45-27=18', '54-18=36'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,47 unequal: No Solution Exploring Operation: 44*36=1584, Resulting Numbers: [1584] 1584,47 unequal: No Solution Exploring Operation: 44+36=80, Resulting Numbers: [80] 80,47 unequal: No Solution Moving to Node #0,4,2 Current State: 47:[54, 62], Operations: ['45-27=18', '44+18=62'] Exploring Operation: 54+62=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 54*62=3348, Resulting Numbers: [3348] 3348,47 unequal: No Solution Exploring Operation: 62-54=8, Resulting Numbers: [8] 8,47 unequal: No Solution Moving to Node #0,4,1 Current State: 47:[54, 26], Operations: ['45-27=18', '44-18=26'] Exploring Operation: 54*26=1404, Resulting Numbers: [1404] 1404,47 unequal: No Solution Exploring Operation: 54+26=80, Resulting Numbers: [80] 80,47 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,47 unequal: No Solution Moving to Node #0,4,3 Current State: 47:[44, 72], Operations: ['45-27=18', '54+18=72'] Exploring Operation: 72-44=28, Resulting Numbers: [28] 28,47 unequal: No Solution Exploring Operation: 44+72=116, Resulting Numbers: [116] 116,47 unequal: No Solution Exploring Operation: 44*72=3168, Resulting Numbers: [3168] 3168,47 unequal: No Solution Moving to Node #0,4,4 Current State: 47:[44, 3], Operations: ['45-27=18', '54/18=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,47 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[27, 45, 44, 54], Operations: [] Exploring Operation: 45-27=18, Resulting Numbers: [44, 54, 18] Generated Node #0,4: 47:[44, 54, 18] Operation: 45-27=18 Moving to Node #0,4 Current State: 47:[44, 54, 18], Operations: ['45-27=18'] Exploring Operation: 54/18=3, Resulting Numbers: [44, 3] Generated Node #0,4,4: 47:[44, 3] Operation: 54/18=3 Moving to Node #0,4,4 Current State: 47:[44, 3], Operations: ['45-27=18', '54/18=3'] Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.90625
hs_5
mult_heuristic
[ 18, 52, 41, 24 ]
66
[ "24-18=6", "52-41=11", "6*11=66" ]
Current State: 66:[18, 52, 41, 24], Operations: [] Exploring Operation: 24-18=6, Resulting Numbers: [52, 41, 6] Generated Node #2: [52, 41, 6] from Operation: 24-18=6 Current State: 66:[52, 41, 6], Operations: ['24-18=6'] Exploring Operation: 52-41=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 52-41=11 Current State: 66:[6, 11], Operations: ['24-18=6', '52-41=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[18, 52, 41, 24], Operations: [] Exploring Operation: 18+52=70, Resulting Numbers: [41, 24, 70] Generated Node #0,0: 66:[41, 24, 70] Operation: 18+52=70 Exploring Operation: 41-18=23, Resulting Numbers: [52, 24, 23] Generated Node #0,1: 66:[52, 24, 23] Operation: 41-18=23 Exploring Operation: 52-18=34, Resulting Numbers: [41, 24, 34] Generated Node #0,2: 66:[41, 24, 34] Operation: 52-18=34 Exploring Operation: 52-41=11, Resulting Numbers: [18, 24, 11] Generated Node #0,3: 66:[18, 24, 11] Operation: 52-41=11 Moving to Node #0,3 Current State: 66:[18, 24, 11], Operations: ['52-41=11'] Exploring Operation: 18+11=29, Resulting Numbers: [24, 29] Generated Node #0,3,0: 66:[24, 29] Operation: 18+11=29 Exploring Operation: 24-18=6, Resulting Numbers: [11, 6] Generated Node #0,3,1: 66:[11, 6] Operation: 24-18=6 Exploring Operation: 18-11=7, Resulting Numbers: [24, 7] Generated Node #0,3,2: 66:[24, 7] Operation: 18-11=7 Exploring Operation: 24+11=35, Resulting Numbers: [18, 35] Generated Node #0,3,3: 66:[18, 35] Operation: 24+11=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[11, 6], Operations: ['52-41=11', '24-18=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[18, 52, 41, 24], Operations: [] Exploring Operation: 52-41=11, Resulting Numbers: [18, 24, 11] Generated Node #0,3: 66:[18, 24, 11] Operation: 52-41=11 Moving to Node #0,3 Current State: 66:[18, 24, 11], Operations: ['52-41=11'] Exploring Operation: 24-18=6, Resulting Numbers: [11, 6] Generated Node #0,3,1: 66:[11, 6] Operation: 24-18=6 Moving to Node #0,3,1 Current State: 66:[11, 6], Operations: ['52-41=11', '24-18=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 75, 63, 49, 30 ]
35
[ "75-30=45", "49*45=2205", "2205/63=35" ]
Current State: 35:[75, 63, 49, 30], Operations: [] Exploring Operation: 75-30=45, Resulting Numbers: [63, 49, 45] Generated Node #2: [63, 49, 45] from Operation: 75-30=45 Current State: 35:[63, 49, 45], Operations: ['75-30=45'] Exploring Operation: 49*45=2205, Resulting Numbers: [63, 2205] Generated Node #3: [63, 2205] from Operation: 49*45=2205 Current State: 35:[63, 2205], Operations: ['75-30=45', '49*45=2205'] Exploring Operation: 2205/63=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[75, 63, 49, 30], Operations: [] Exploring Operation: 75-63=12, Resulting Numbers: [49, 30, 12] Generated Node #0,0: 35:[49, 30, 12] Operation: 75-63=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[49, 30, 12], Operations: ['75-63=12'] Exploring Operation: 49-12=37, Resulting Numbers: [30, 37] Generated Node #0,0,0: 35:[30, 37] Operation: 49-12=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[30, 37], Operations: ['75-63=12', '49-12=37'] Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,35 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
[ 31, 9, 67, 19 ]
88
[ "31+9=40", "67-19=48", "40+48=88" ]
Current State: 88:[31, 9, 67, 19], Operations: [] Exploring Operation: 31+9=40, Resulting Numbers: [67, 19, 40] Generated Node #2: [67, 19, 40] from Operation: 31+9=40 Current State: 88:[67, 19, 40], Operations: ['31+9=40'] Exploring Operation: 67-19=48, Resulting Numbers: [40, 48] Generated Node #3: [40, 48] from Operation: 67-19=48 Current State: 88:[40, 48], Operations: ['31+9=40', '67-19=48'] Exploring Operation: 40+48=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[31, 9, 67, 19], Operations: [] Exploring Operation: 67-31=36, Resulting Numbers: [9, 19, 36] Generated Node #0,0: 88:[9, 19, 36] Operation: 67-31=36 Exploring Operation: 67+19=86, Resulting Numbers: [31, 9, 86] Generated Node #0,1: 88:[31, 9, 86] Operation: 67+19=86 Exploring Operation: 31+67=98, Resulting Numbers: [9, 19, 98] Generated Node #0,2: 88:[9, 19, 98] Operation: 31+67=98 Moving to Node #0,0 Current State: 88:[9, 19, 36], Operations: ['67-31=36'] Exploring Operation: 36/9=4, Resulting Numbers: [19, 4] Generated Node #0,0,0: 88:[19, 4] Operation: 36/9=4 Exploring Operation: 9+36=45, Resulting Numbers: [19, 45] Generated Node #0,0,1: 88:[19, 45] Operation: 9+36=45 Exploring Operation: 36-19=17, Resulting Numbers: [9, 17] Generated Node #0,0,2: 88:[9, 17] Operation: 36-19=17 Moving to Node #0,1 Current State: 88:[31, 9, 86], Operations: ['67+19=86'] Exploring Operation: 31-9=22, Resulting Numbers: [86, 22] Generated Node #0,1,0: 88:[86, 22] Operation: 31-9=22 Exploring Operation: 31+9=40, Resulting Numbers: [86, 40] Generated Node #0,1,1: 88:[86, 40] Operation: 31+9=40 Exploring Operation: 86-31=55, Resulting Numbers: [9, 55] Generated Node #0,1,2: 88:[9, 55] Operation: 86-31=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[86, 22], Operations: ['67+19=86', '31-9=22'] Exploring Operation: 86+22=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 86*22=1892, Resulting Numbers: [1892] 1892,88 unequal: No Solution Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,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:[86, 40], Operations: ['67+19=86', '31+9=40'] Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,88 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,88 unequal: No Solution Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,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:[9, 55], Operations: ['67+19=86', '86-31=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,88 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: 88:[9, 19, 98], Operations: ['31+67=98'] Exploring Operation: 19-9=10, Resulting Numbers: [98, 10] Generated Node #0,2,0: 88:[98, 10] Operation: 19-9=10 Exploring Operation: 98-19=79, Resulting Numbers: [9, 79] Generated Node #0,2,1: 88:[9, 79] Operation: 98-19=79 Exploring Operation: 98-9=89, Resulting Numbers: [19, 89] Generated Node #0,2,2: 88:[19, 89] Operation: 98-9=89 Moving to Node #0,0,0 Current State: 88:[19, 4], Operations: ['67-31=36', '36/9=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,88 unequal: No Solution Exploring Operation: 19*4=76, Resulting Numbers: [76] 76,88 unequal: No Solution Exploring Operation: 19+4=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[19, 45], Operations: ['67-31=36', '9+36=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,88 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,88 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[19, 89], Operations: ['31+67=98', '98-9=89'] Exploring Operation: 19*89=1691, Resulting Numbers: [1691] 1691,88 unequal: No Solution Exploring Operation: 19+89=108, Resulting Numbers: [108] 108,88 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[9, 17], Operations: ['67-31=36', '36-19=17'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,88 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[9, 79], Operations: ['31+67=98', '98-19=79'] Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[31, 9, 67, 19], Operations: [] Exploring Operation: 31+67=98, Resulting Numbers: [9, 19, 98] Generated Node #0,2: 88:[9, 19, 98] Operation: 31+67=98 Moving to Node #0,2 Current State: 88:[9, 19, 98], Operations: ['31+67=98'] Exploring Operation: 98-19=79, Resulting Numbers: [9, 79] Generated Node #0,2,1: 88:[9, 79] Operation: 98-19=79 Moving to Node #0,2,1 Current State: 88:[9, 79], Operations: ['31+67=98', '98-19=79'] Exploring Operation: 9+79=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 10, 95, 5, 7 ]
13
[ "5*7=35", "95+35=130", "130/10=13" ]
Current State: 13:[10, 95, 5, 7], Operations: [] Exploring Operation: 5*7=35, Resulting Numbers: [10, 95, 35] Generated Node #2: [10, 95, 35] from Operation: 5*7=35 Current State: 13:[10, 95, 35], Operations: ['5*7=35'] Exploring Operation: 95+35=130, Resulting Numbers: [10, 130] Generated Node #3: [10, 130] from Operation: 95+35=130 Current State: 13:[10, 130], Operations: ['5*7=35', '95+35=130'] Exploring Operation: 130/10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[10, 95, 5, 7], Operations: [] Exploring Operation: 95-10=85, Resulting Numbers: [5, 7, 85] Generated Node #0,0: 13:[5, 7, 85] Operation: 95-10=85 Exploring Operation: 95/5=19, Resulting Numbers: [10, 7, 19] Generated Node #0,1: 13:[10, 7, 19] Operation: 95/5=19 Exploring Operation: 95-5=90, Resulting Numbers: [10, 7, 90] Generated Node #0,2: 13:[10, 7, 90] Operation: 95-5=90 Exploring Operation: 95-7=88, Resulting Numbers: [10, 5, 88] Generated Node #0,3: 13:[10, 5, 88] Operation: 95-7=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[10, 7, 19], Operations: ['95/5=19'] Exploring Operation: 10-7=3, Resulting Numbers: [19, 3] Generated Node #0,1,0: 13:[19, 3] Operation: 10-7=3 Exploring Operation: 10+7=17, Resulting Numbers: [19, 17] Generated Node #0,1,1: 13:[19, 17] Operation: 10+7=17 Exploring Operation: 19-7=12, Resulting Numbers: [10, 12] Generated Node #0,1,2: 13:[10, 12] Operation: 19-7=12 Exploring Operation: 19-10=9, Resulting Numbers: [7, 9] Generated Node #0,1,3: 13:[7, 9] Operation: 19-10=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 13:[10, 12], Operations: ['95/5=19', '19-7=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,13 unequal: No Solution No 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: 13:[19, 17], Operations: ['95/5=19', '10+7=17'] Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,13 unequal: No Solution Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,13 unequal: No Solution No 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: 13:[7, 9], Operations: ['95/5=19', '19-10=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,13 unequal: No Solution No 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: 13:[19, 3], Operations: ['95/5=19', '10-7=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,13 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,13 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: 13:[5, 7, 85], Operations: ['95-10=85'] Exploring Operation: 85-7=78, Resulting Numbers: [5, 78] Generated Node #0,0,0: 13:[5, 78] Operation: 85-7=78 Exploring Operation: 85/5=17, Resulting Numbers: [7, 17] Generated Node #0,0,1: 13:[7, 17] Operation: 85/5=17 Exploring Operation: 5+7=12, Resulting Numbers: [85, 12] Generated Node #0,0,2: 13:[85, 12] Operation: 5+7=12 Exploring Operation: 85-5=80, Resulting Numbers: [7, 80] Generated Node #0,0,3: 13:[7, 80] Operation: 85-5=80 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 13:[7, 17], Operations: ['95-10=85', '85/5=17'] Exploring Operation: 7*17=119, Resulting Numbers: [119] 119,13 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,13 unequal: No Solution Exploring Operation: 7+17=24, Resulting Numbers: [24] 24,13 unequal: No Solution No 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: 13:[5, 78], Operations: ['95-10=85', '85-7=78'] Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,13 unequal: No Solution No 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: 13:[85, 12], Operations: ['95-10=85', '5+7=12'] Exploring Operation: 85+12=97, Resulting Numbers: [97] 97,13 unequal: No Solution Exploring Operation: 85*12=1020, Resulting Numbers: [1020] 1020,13 unequal: No Solution Exploring Operation: 85-12=73, Resulting Numbers: [73] 73,13 unequal: No Solution No 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: 13:[7, 80], Operations: ['95-10=85', '85-5=80'] Exploring Operation: 7*80=560, Resulting Numbers: [560] 560,13 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,13 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: 13:[10, 7, 90], Operations: ['95-5=90'] Exploring Operation: 90-7=83, Resulting Numbers: [10, 83] Generated Node #0,2,0: 13:[10, 83] Operation: 90-7=83 Exploring Operation: 90-10=80, Resulting Numbers: [7, 80] Generated Node #0,2,1: 13:[7, 80] Operation: 90-10=80 Exploring Operation: 10+7=17, Resulting Numbers: [90, 17] Generated Node #0,2,2: 13:[90, 17] Operation: 10+7=17 Exploring Operation: 90/10=9, Resulting Numbers: [7, 9] Generated Node #0,2,3: 13:[7, 9] Operation: 90/10=9 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 13:[7, 9], Operations: ['95-5=90', '90/10=9'] Exploring Operation: 7+9=16, Resulting Numbers: [16] 16,13 unequal: No Solution Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,13 unequal: No Solution No 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: 13:[10, 83], Operations: ['95-5=90', '90-7=83'] Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,13 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,13 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,13 unequal: No Solution No 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: 13:[7, 80], Operations: ['95-5=90', '90-10=80'] Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,13 unequal: No Solution Exploring Operation: 7*80=560, Resulting Numbers: [560] 560,13 unequal: No Solution Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,13 unequal: No Solution No 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: 13:[90, 17], Operations: ['95-5=90', '10+7=17'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 90*17=1530, Resulting Numbers: [1530] 1530,13 unequal: No Solution Exploring Operation: 90+17=107, Resulting Numbers: [107] 107,13 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: 13:[10, 5, 88], Operations: ['95-7=88'] Exploring Operation: 88-5=83, Resulting Numbers: [10, 83] Generated Node #0,3,0: 13:[10, 83] Operation: 88-5=83 Exploring Operation: 10-5=5, Resulting Numbers: [88, 5] Generated Node #0,3,1: 13:[88, 5] Operation: 10-5=5 Exploring Operation: 88-10=78, Resulting Numbers: [5, 78] Generated Node #0,3,2: 13:[5, 78] Operation: 88-10=78 Exploring Operation: 10+5=15, Resulting Numbers: [88, 15] Generated Node #0,3,3: 13:[88, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[10, 83], Operations: ['95-7=88', '88-5=83'] Exploring Operation: 10*83=830, Resulting Numbers: [830] 830,13 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,13 unequal: No Solution No 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: 13:[5, 78], Operations: ['95-7=88', '88-10=78'] Exploring Operation: 5*78=390, Resulting Numbers: [390] 390,13 unequal: No Solution Exploring Operation: 5+78=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,13 unequal: No Solution No 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: 13:[88, 15], Operations: ['95-7=88', '10+5=15'] Exploring Operation: 88+15=103, Resulting Numbers: [103] 103,13 unequal: No Solution Exploring Operation: 88-15=73, Resulting Numbers: [73] 73,13 unequal: No Solution Exploring Operation: 88*15=1320, Resulting Numbers: [1320] 1320,13 unequal: No Solution No 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: 13:[88, 5], Operations: ['95-7=88', '10-5=5'] Exploring Operation: 88+5=93, Resulting Numbers: [93] 93,13 unequal: No Solution Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,13 unequal: No Solution Exploring Operation: 88*5=440, Resulting Numbers: [440] 440,13 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
[ 2, 31, 30, 22 ]
48
[ "31-22=9", "2*9=18", "30+18=48" ]
Current State: 48:[2, 31, 30, 22], Operations: [] Exploring Operation: 31-22=9, Resulting Numbers: [2, 30, 9] Generated Node #2: [2, 30, 9] from Operation: 31-22=9 Current State: 48:[2, 30, 9], Operations: ['31-22=9'] Exploring Operation: 2*9=18, Resulting Numbers: [30, 18] Generated Node #3: [30, 18] from Operation: 2*9=18 Current State: 48:[30, 18], Operations: ['31-22=9', '2*9=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 31, 30, 22], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [2, 31, 8] Generated Node #0,0: 48:[2, 31, 8] Operation: 30-22=8 Exploring Operation: 31-22=9, Resulting Numbers: [2, 30, 9] Generated Node #0,1: 48:[2, 30, 9] Operation: 31-22=9 Exploring Operation: 31-30=1, Resulting Numbers: [2, 22, 1] Generated Node #0,2: 48:[2, 22, 1] Operation: 31-30=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[2, 22, 1], Operations: ['31-30=1'] Exploring Operation: 2+22=24, Resulting Numbers: [1, 24] Generated Node #0,2,0: 48:[1, 24] Operation: 2+22=24 Exploring Operation: 22/2=11, Resulting Numbers: [1, 11] Generated Node #0,2,1: 48:[1, 11] Operation: 22/2=11 Exploring Operation: 22+1=23, Resulting Numbers: [2, 23] Generated Node #0,2,2: 48:[2, 23] Operation: 22+1=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[1, 24], Operations: ['31-30=1', '2+22=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[2, 23], Operations: ['31-30=1', '22+1=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[1, 11], Operations: ['31-30=1', '22/2=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[2, 31, 8], Operations: ['30-22=8'] Exploring Operation: 2*8=16, Resulting Numbers: [31, 16] Generated Node #0,0,0: 48:[31, 16] Operation: 2*8=16 Exploring Operation: 31-2=29, Resulting Numbers: [8, 29] Generated Node #0,0,1: 48:[8, 29] Operation: 31-2=29 Exploring Operation: 31-8=23, Resulting Numbers: [2, 23] Generated Node #0,0,2: 48:[2, 23] Operation: 31-8=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 48:[2, 23], Operations: ['30-22=8', '31-8=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,48 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[8, 29], Operations: ['30-22=8', '31-2=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,48 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[31, 16], Operations: ['30-22=8', '2*8=16'] Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,48 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[2, 30, 9], Operations: ['31-22=9'] Exploring Operation: 30-2=28, Resulting Numbers: [9, 28] Generated Node #0,1,0: 48:[9, 28] Operation: 30-2=28 Exploring Operation: 30-9=21, Resulting Numbers: [2, 21] Generated Node #0,1,1: 48:[2, 21] Operation: 30-9=21 Exploring Operation: 30/2=15, Resulting Numbers: [9, 15] Generated Node #0,1,2: 48:[9, 15] Operation: 30/2=15 Moving to Node #0,1,2 Current State: 48:[9, 15], Operations: ['31-22=9', '30/2=15'] Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,48 unequal: No Solution Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[2, 21], Operations: ['31-22=9', '30-9=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,48 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[9, 28], Operations: ['31-22=9', '30-2=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,48 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,48 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,48 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
[ 38, 20, 11, 2 ]
10
[ "38/2=19", "20-11=9", "19-9=10" ]
Current State: 10:[38, 20, 11, 2], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [20, 11, 19] Generated Node #2: [20, 11, 19] from Operation: 38/2=19 Current State: 10:[20, 11, 19], Operations: ['38/2=19'] Exploring Operation: 20-11=9, Resulting Numbers: [19, 9] Generated Node #3: [19, 9] from Operation: 20-11=9 Current State: 10:[19, 9], Operations: ['38/2=19', '20-11=9'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[38, 20, 11, 2], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [20, 11, 19] Generated Node #0,0: 10:[20, 11, 19] Operation: 38/2=19 Exploring Operation: 38-20=18, Resulting Numbers: [11, 2, 18] Generated Node #0,1: 10:[11, 2, 18] Operation: 38-20=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[11, 2, 18], Operations: ['38-20=18'] Exploring Operation: 18/2=9, Resulting Numbers: [11, 9] Generated Node #0,1,0: 10:[11, 9] Operation: 18/2=9 Exploring Operation: 18-11=7, Resulting Numbers: [2, 7] Generated Node #0,1,1: 10:[2, 7] Operation: 18-11=7 Moving to Node #0,1,0 Current State: 10:[11, 9], Operations: ['38-20=18', '18/2=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[2, 7], Operations: ['38-20=18', '18-11=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,10 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,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:[20, 11, 19], Operations: ['38/2=19'] Exploring Operation: 20-19=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 10:[11, 1] Operation: 20-19=1 Exploring Operation: 20-11=9, Resulting Numbers: [19, 9] Generated Node #0,0,1: 10:[19, 9] Operation: 20-11=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 10:[11, 1], Operations: ['38/2=19', '20-19=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[38, 20, 11, 2], Operations: [] Exploring Operation: 38/2=19, Resulting Numbers: [20, 11, 19] Generated Node #0,0: 10:[20, 11, 19] Operation: 38/2=19 Moving to Node #0,0 Current State: 10:[20, 11, 19], Operations: ['38/2=19'] Exploring Operation: 20-19=1, Resulting Numbers: [11, 1] Generated Node #0,0,0: 10:[11, 1] Operation: 20-19=1 Moving to Node #0,0,0 Current State: 10:[11, 1], Operations: ['38/2=19', '20-19=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 33, 2, 6, 12 ]
54
[ "33+6=39", "39-12=27", "2*27=54" ]
Current State: 54:[33, 2, 6, 12], Operations: [] Exploring Operation: 33+6=39, Resulting Numbers: [2, 12, 39] Generated Node #2: [2, 12, 39] from Operation: 33+6=39 Current State: 54:[2, 12, 39], Operations: ['33+6=39'] Exploring Operation: 39-12=27, Resulting Numbers: [2, 27] Generated Node #3: [2, 27] from Operation: 39-12=27 Current State: 54:[2, 27], Operations: ['33+6=39', '39-12=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[33, 2, 6, 12], Operations: [] Exploring Operation: 33-6=27, Resulting Numbers: [2, 12, 27] Generated Node #0,0: 54:[2, 12, 27] Operation: 33-6=27 Exploring Operation: 33-12=21, Resulting Numbers: [2, 6, 21] Generated Node #0,1: 54:[2, 6, 21] Operation: 33-12=21 Moving to Node #0,0 Current State: 54:[2, 12, 27], Operations: ['33-6=27'] Exploring Operation: 12/2=6, Resulting Numbers: [27, 6] Generated Node #0,0,0: 54:[27, 6] Operation: 12/2=6 Exploring Operation: 12-2=10, Resulting Numbers: [27, 10] Generated Node #0,0,1: 54:[27, 10] Operation: 12-2=10 Moving to Node #0,1 Current State: 54:[2, 6, 21], Operations: ['33-12=21'] Exploring Operation: 21-2=19, Resulting Numbers: [6, 19] Generated Node #0,1,0: 54:[6, 19] Operation: 21-2=19 Exploring Operation: 6+21=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 54:[2, 27] Operation: 6+21=27 Moving to Node #0,0,0 Current State: 54:[27, 6], Operations: ['33-6=27', '12/2=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[2, 27], Operations: ['33-12=21', '6+21=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,54 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[33, 2, 6, 12], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [2, 6, 21] Generated Node #0,1: 54:[2, 6, 21] Operation: 33-12=21 Moving to Node #0,1 Current State: 54:[2, 6, 21], Operations: ['33-12=21'] Exploring Operation: 6+21=27, Resulting Numbers: [2, 27] Generated Node #0,1,1: 54:[2, 27] Operation: 6+21=27 Moving to Node #0,1,1 Current State: 54:[2, 27], Operations: ['33-12=21', '6+21=27'] Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.987847
hs_2
sum_heuristic
[ 23, 51, 30, 53 ]
76
[ "53-51=2", "23*2=46", "30+46=76" ]
Current State: 76:[23, 51, 30, 53], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [23, 30, 2] Generated Node #2: [23, 30, 2] from Operation: 53-51=2 Current State: 76:[23, 30, 2], Operations: ['53-51=2'] Exploring Operation: 23*2=46, Resulting Numbers: [30, 46] Generated Node #3: [30, 46] from Operation: 23*2=46 Current State: 76:[30, 46], Operations: ['53-51=2', '23*2=46'] Exploring Operation: 30+46=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[23, 51, 30, 53], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [23, 53, 21] Generated Node #0,0: 76:[23, 53, 21] Operation: 51-30=21 Exploring Operation: 23+53=76, Resulting Numbers: [51, 30, 76] Generated Node #0,1: 76:[51, 30, 76] Operation: 23+53=76 Exploring Operation: 53-51=2, Resulting Numbers: [23, 30, 2] Generated Node #0,2: 76:[23, 30, 2] Operation: 53-51=2 Moving to Node #0,2 Current State: 76:[23, 30, 2], Operations: ['53-51=2'] Exploring Operation: 30/2=15, Resulting Numbers: [23, 15] Generated Node #0,2,0: 76:[23, 15] Operation: 30/2=15 Exploring Operation: 23-2=21, Resulting Numbers: [30, 21] Generated Node #0,2,1: 76:[30, 21] Operation: 23-2=21 Exploring Operation: 30-23=7, Resulting Numbers: [2, 7] Generated Node #0,2,2: 76:[2, 7] Operation: 30-23=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[2, 7], Operations: ['53-51=2', '30-23=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[23, 15], Operations: ['53-51=2', '30/2=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,76 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,76 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[30, 21], Operations: ['53-51=2', '23-2=21'] Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,76 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,76 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: 76:[23, 53, 21], Operations: ['51-30=21'] Exploring Operation: 23+53=76, Resulting Numbers: [21, 76] Generated Node #0,0,0: 76:[21, 76] Operation: 23+53=76 Exploring Operation: 53-23=30, Resulting Numbers: [21, 30] Generated Node #0,0,1: 76:[21, 30] Operation: 53-23=30 Exploring Operation: 53+21=74, Resulting Numbers: [23, 74] Generated Node #0,0,2: 76:[23, 74] Operation: 53+21=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[21, 76], Operations: ['51-30=21', '23+53=76'] Exploring Operation: 21*76=1596, Resulting Numbers: [1596] 1596,76 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[23, 74], Operations: ['51-30=21', '53+21=74'] Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,76 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,76 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[21, 30], Operations: ['51-30=21', '53-23=30'] Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,76 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 76:[51, 30, 76], Operations: ['23+53=76'] Exploring Operation: 76-51=25, Resulting Numbers: [30, 25] Generated Node #0,1,0: 76:[30, 25] Operation: 76-51=25 Exploring Operation: 51+30=81, Resulting Numbers: [76, 81] Generated Node #0,1,1: 76:[76, 81] Operation: 51+30=81 Exploring Operation: 51-30=21, Resulting Numbers: [76, 21] Generated Node #0,1,2: 76:[76, 21] Operation: 51-30=21 Moving to Node #0,1,2 Current State: 76:[76, 21], Operations: ['23+53=76', '51-30=21'] Exploring Operation: 76*21=1596, Resulting Numbers: [1596] 1596,76 unequal: No Solution Exploring Operation: 76-21=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 76+21=97, Resulting Numbers: [97] 97,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[76, 81], Operations: ['23+53=76', '51+30=81'] Exploring Operation: 81-76=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 76+81=157, Resulting Numbers: [157] 157,76 unequal: No Solution Exploring Operation: 76*81=6156, Resulting Numbers: [6156] 6156,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[30, 25], Operations: ['23+53=76', '76-51=25'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,76 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,76 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 15, 92, 2, 18 ]
57
[ "92-15=77", "2+18=20", "77-20=57" ]
Current State: 57:[15, 92, 2, 18], Operations: [] Exploring Operation: 92-15=77, Resulting Numbers: [2, 18, 77] Generated Node #2: [2, 18, 77] from Operation: 92-15=77 Current State: 57:[2, 18, 77], Operations: ['92-15=77'] Exploring Operation: 2+18=20, Resulting Numbers: [77, 20] Generated Node #3: [77, 20] from Operation: 2+18=20 Current State: 57:[77, 20], Operations: ['92-15=77', '2+18=20'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[15, 92, 2, 18], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [15, 18, 46] Generated Node #0,0: 57:[15, 18, 46] Operation: 92/2=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[15, 18, 46], Operations: ['92/2=46'] Exploring Operation: 15+46=61, Resulting Numbers: [18, 61] Generated Node #0,0,0: 57:[18, 61] Operation: 15+46=61 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[18, 61], Operations: ['92/2=46', '15+46=61'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 95, 27, 80 ]
48
[ "60+95=155", "27+80=107", "155-107=48" ]
Current State: 48:[60, 95, 27, 80], Operations: [] Exploring Operation: 60+95=155, Resulting Numbers: [27, 80, 155] Generated Node #2: [27, 80, 155] from Operation: 60+95=155 Current State: 48:[27, 80, 155], Operations: ['60+95=155'] Exploring Operation: 27+80=107, Resulting Numbers: [155, 107] Generated Node #3: [155, 107] from Operation: 27+80=107 Current State: 48:[155, 107], Operations: ['60+95=155', '27+80=107'] Exploring Operation: 155-107=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[60, 95, 27, 80], Operations: [] Exploring Operation: 95-80=15, Resulting Numbers: [60, 27, 15] Generated Node #0,0: 48:[60, 27, 15] Operation: 95-80=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[60, 27, 15], Operations: ['95-80=15'] Exploring Operation: 60/15=4, Resulting Numbers: [27, 4] Generated Node #0,0,0: 48:[27, 4] Operation: 60/15=4 Moving to Node #0,0,0 Current State: 48:[27, 4], Operations: ['95-80=15', '60/15=4'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,48 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
[ 59, 29, 61, 21 ]
48
[ "59+29=88", "61-21=40", "88-40=48" ]
Current State: 48:[59, 29, 61, 21], Operations: [] Exploring Operation: 59+29=88, Resulting Numbers: [61, 21, 88] Generated Node #2: [61, 21, 88] from Operation: 59+29=88 Current State: 48:[61, 21, 88], Operations: ['59+29=88'] Exploring Operation: 61-21=40, Resulting Numbers: [88, 40] Generated Node #3: [88, 40] from Operation: 61-21=40 Current State: 48:[88, 40], Operations: ['59+29=88', '61-21=40'] Exploring Operation: 88-40=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[59, 29, 61, 21], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [29, 21, 2] Generated Node #0,0: 48:[29, 21, 2] Operation: 61-59=2 Exploring Operation: 59-29=30, Resulting Numbers: [61, 21, 30] Generated Node #0,1: 48:[61, 21, 30] Operation: 59-29=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[29, 21, 2], Operations: ['61-59=2'] Exploring Operation: 29-21=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 48:[2, 8] Operation: 29-21=8 Exploring Operation: 29+21=50, Resulting Numbers: [2, 50] Generated Node #0,0,1: 48:[2, 50] Operation: 29+21=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[2, 8], Operations: ['61-59=2', '29-21=8'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[2, 50], Operations: ['61-59=2', '29+21=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,48 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[59, 29, 61, 21], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [29, 21, 2] Generated Node #0,0: 48:[29, 21, 2] Operation: 61-59=2 Moving to Node #0,0 Current State: 48:[29, 21, 2], Operations: ['61-59=2'] Exploring Operation: 29+21=50, Resulting Numbers: [2, 50] Generated Node #0,0,1: 48:[2, 50] Operation: 29+21=50 Moving to Node #0,0,1 Current State: 48:[2, 50], Operations: ['61-59=2', '29+21=50'] Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 26, 2, 67, 78 ]
67
[ "78/26=3", "3-2=1", "67*1=67" ]
Current State: 67:[26, 2, 67, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [2, 67, 3] Generated Node #2: [2, 67, 3] from Operation: 78/26=3 Current State: 67:[2, 67, 3], Operations: ['78/26=3'] Exploring Operation: 3-2=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 3-2=1 Current State: 67:[67, 1], Operations: ['78/26=3', '3-2=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[26, 2, 67, 78], Operations: [] Exploring Operation: 26*2=52, Resulting Numbers: [67, 78, 52] Generated Node #0,0: 67:[67, 78, 52] Operation: 26*2=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[67, 78, 52], Operations: ['26*2=52'] Exploring Operation: 78-52=26, Resulting Numbers: [67, 26] Generated Node #0,0,0: 67:[67, 26] Operation: 78-52=26 Moving to Node #0,0,0 Current State: 67:[67, 26], Operations: ['26*2=52', '78-52=26'] Exploring Operation: 67+26=93, Resulting Numbers: [93] 93,67 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
[ 92, 59, 38, 8 ]
61
[ "38+8=46", "92/46=2", "59+2=61" ]
Current State: 61:[92, 59, 38, 8], Operations: [] Exploring Operation: 38+8=46, Resulting Numbers: [92, 59, 46] Generated Node #2: [92, 59, 46] from Operation: 38+8=46 Current State: 61:[92, 59, 46], Operations: ['38+8=46'] Exploring Operation: 92/46=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 92/46=2 Current State: 61:[59, 2], Operations: ['38+8=46', '92/46=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[92, 59, 38, 8], Operations: [] Exploring Operation: 38+8=46, Resulting Numbers: [92, 59, 46] Generated Node #0,0: 61:[92, 59, 46] Operation: 38+8=46 Exploring Operation: 92-8=84, Resulting Numbers: [59, 38, 84] Generated Node #0,1: 61:[59, 38, 84] Operation: 92-8=84 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[92, 59, 46], Operations: ['38+8=46'] Exploring Operation: 92-46=46, Resulting Numbers: [59, 46] Generated Node #0,0,0: 61:[59, 46] Operation: 92-46=46 Exploring Operation: 92-59=33, Resulting Numbers: [46, 33] Generated Node #0,0,1: 61:[46, 33] Operation: 92-59=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[59, 46], Operations: ['38+8=46', '92-46=46'] Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,61 unequal: No Solution Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[46, 33], Operations: ['38+8=46', '92-59=33'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[59, 38, 84], Operations: ['92-8=84'] Exploring Operation: 84-38=46, Resulting Numbers: [59, 46] Generated Node #0,1,0: 61:[59, 46] Operation: 84-38=46 Exploring Operation: 59+38=97, Resulting Numbers: [84, 97] Generated Node #0,1,1: 61:[84, 97] Operation: 59+38=97 Moving to Node #0,1,0 Current State: 61:[59, 46], Operations: ['92-8=84', '84-38=46'] Exploring Operation: 59-46=13, Resulting Numbers: [13] 13,61 unequal: No Solution Exploring Operation: 59+46=105, Resulting Numbers: [105] 105,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[84, 97], Operations: ['92-8=84', '59+38=97'] Exploring Operation: 84+97=181, Resulting Numbers: [181] 181,61 unequal: No Solution Exploring Operation: 97-84=13, Resulting Numbers: [13] 13,61 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
[ 58, 80, 24, 74 ]
28
[ "80-58=22", "74-24=50", "50-22=28" ]
Current State: 28:[58, 80, 24, 74], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [24, 74, 22] Generated Node #2: [24, 74, 22] from Operation: 80-58=22 Current State: 28:[24, 74, 22], Operations: ['80-58=22'] Exploring Operation: 74-24=50, Resulting Numbers: [22, 50] Generated Node #3: [22, 50] from Operation: 74-24=50 Current State: 28:[22, 50], Operations: ['80-58=22', '74-24=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[58, 80, 24, 74], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [24, 74, 22] Generated Node #0,0: 28:[24, 74, 22] Operation: 80-58=22 Exploring Operation: 80-74=6, Resulting Numbers: [58, 24, 6] Generated Node #0,1: 28:[58, 24, 6] Operation: 80-74=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[58, 24, 6], Operations: ['80-74=6'] Exploring Operation: 58-6=52, Resulting Numbers: [24, 52] Generated Node #0,1,0: 28:[24, 52] Operation: 58-6=52 Exploring Operation: 58-24=34, Resulting Numbers: [6, 34] Generated Node #0,1,1: 28:[6, 34] Operation: 58-24=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[6, 34], Operations: ['80-74=6', '58-24=34'] Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[58, 80, 24, 74], Operations: [] Exploring Operation: 80-74=6, Resulting Numbers: [58, 24, 6] Generated Node #0,1: 28:[58, 24, 6] Operation: 80-74=6 Moving to Node #0,1 Current State: 28:[58, 24, 6], Operations: ['80-74=6'] Exploring Operation: 58-24=34, Resulting Numbers: [6, 34] Generated Node #0,1,1: 28:[6, 34] Operation: 58-24=34 Moving to Node #0,1,1 Current State: 28:[6, 34], Operations: ['80-74=6', '58-24=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 59, 5, 99, 70 ]
93
[ "59+5=64", "99-70=29", "64+29=93" ]
Current State: 93:[59, 5, 99, 70], Operations: [] Exploring Operation: 59+5=64, Resulting Numbers: [99, 70, 64] Generated Node #2: [99, 70, 64] from Operation: 59+5=64 Current State: 93:[99, 70, 64], Operations: ['59+5=64'] Exploring Operation: 99-70=29, Resulting Numbers: [64, 29] Generated Node #3: [64, 29] from Operation: 99-70=29 Current State: 93:[64, 29], Operations: ['59+5=64', '99-70=29'] Exploring Operation: 64+29=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[59, 5, 99, 70], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [5, 99, 11] Generated Node #0,0: 93:[5, 99, 11] Operation: 70-59=11 Moving to Node #0,0 Current State: 93:[5, 99, 11], Operations: ['70-59=11'] Exploring Operation: 99-11=88, Resulting Numbers: [5, 88] Generated Node #0,0,0: 93:[5, 88] Operation: 99-11=88 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[5, 88], Operations: ['70-59=11', '99-11=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[59, 5, 99, 70], Operations: [] Exploring Operation: 70-59=11, Resulting Numbers: [5, 99, 11] Generated Node #0,0: 93:[5, 99, 11] Operation: 70-59=11 Moving to Node #0,0 Current State: 93:[5, 99, 11], Operations: ['70-59=11'] Exploring Operation: 99-11=88, Resulting Numbers: [5, 88] Generated Node #0,0,0: 93:[5, 88] Operation: 99-11=88 Moving to Node #0,0,0 Current State: 93:[5, 88], Operations: ['70-59=11', '99-11=88'] Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 85, 22, 31, 30 ]
63
[ "85-22=63", "31-30=1", "63*1=63" ]
Current State: 63:[85, 22, 31, 30], Operations: [] Exploring Operation: 85-22=63, Resulting Numbers: [31, 30, 63] Generated Node #2: [31, 30, 63] from Operation: 85-22=63 Current State: 63:[31, 30, 63], Operations: ['85-22=63'] Exploring Operation: 31-30=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 31-30=1 Current State: 63:[63, 1], Operations: ['85-22=63', '31-30=1'] Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[85, 22, 31, 30], Operations: [] Exploring Operation: 85-22=63, Resulting Numbers: [31, 30, 63] Generated Node #0,0: 63:[31, 30, 63] Operation: 85-22=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[31, 30, 63], Operations: ['85-22=63'] Exploring Operation: 31+30=61, Resulting Numbers: [63, 61] Generated Node #0,0,0: 63:[63, 61] Operation: 31+30=61 Moving to Node #0,0,0 Current State: 63:[63, 61], Operations: ['85-22=63', '31+30=61'] Exploring Operation: 63-61=2, Resulting Numbers: [2] 2,63 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
[ 61, 21, 53, 18 ]
15
[ "61*18=1098", "21*53=1113", "1113-1098=15" ]
Current State: 15:[61, 21, 53, 18], Operations: [] Exploring Operation: 61*18=1098, Resulting Numbers: [21, 53, 1098] Generated Node #2: [21, 53, 1098] from Operation: 61*18=1098 Current State: 15:[21, 53, 1098], Operations: ['61*18=1098'] Exploring Operation: 21*53=1113, Resulting Numbers: [1098, 1113] Generated Node #3: [1098, 1113] from Operation: 21*53=1113 Current State: 15:[1098, 1113], Operations: ['61*18=1098', '21*53=1113'] Exploring Operation: 1113-1098=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[61, 21, 53, 18], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [21, 18, 8] Generated Node #0,0: 15:[21, 18, 8] Operation: 61-53=8 Exploring Operation: 53-21=32, Resulting Numbers: [61, 18, 32] Generated Node #0,1: 15:[61, 18, 32] Operation: 53-21=32 Exploring Operation: 61-21=40, Resulting Numbers: [53, 18, 40] Generated Node #0,2: 15:[53, 18, 40] Operation: 61-21=40 Exploring Operation: 53-18=35, Resulting Numbers: [61, 21, 35] Generated Node #0,3: 15:[61, 21, 35] Operation: 53-18=35 Exploring Operation: 61-18=43, Resulting Numbers: [21, 53, 43] Generated Node #0,4: 15:[21, 53, 43] Operation: 61-18=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[21, 18, 8], Operations: ['61-53=8'] Exploring Operation: 18+8=26, Resulting Numbers: [21, 26] Generated Node #0,0,0: 15:[21, 26] Operation: 18+8=26 Exploring Operation: 21-18=3, Resulting Numbers: [8, 3] Generated Node #0,0,1: 15:[8, 3] Operation: 21-18=3 Exploring Operation: 21+8=29, Resulting Numbers: [18, 29] Generated Node #0,0,2: 15:[18, 29] Operation: 21+8=29 Exploring Operation: 21-8=13, Resulting Numbers: [18, 13] Generated Node #0,0,3: 15:[18, 13] Operation: 21-8=13 Exploring Operation: 18-8=10, Resulting Numbers: [21, 10] Generated Node #0,0,4: 15:[21, 10] Operation: 18-8=10 Moving to Node #0,0,1 Current State: 15:[8, 3], Operations: ['61-53=8', '21-18=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[18, 13], Operations: ['61-53=8', '21-8=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,15 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[21, 10], Operations: ['61-53=8', '18-8=10'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,15 unequal: No Solution Moving to Node #0,0,0 Current State: 15:[21, 26], Operations: ['61-53=8', '18+8=26'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,15 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[18, 29], Operations: ['61-53=8', '21+8=29'] Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,15 unequal: No Solution Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[61, 18, 32], Operations: ['53-21=32'] Exploring Operation: 61-32=29, Resulting Numbers: [18, 29] Generated Node #0,1,0: 15:[18, 29] Operation: 61-32=29 Exploring Operation: 61-18=43, Resulting Numbers: [32, 43] Generated Node #0,1,1: 15:[32, 43] Operation: 61-18=43 Exploring Operation: 61+18=79, Resulting Numbers: [32, 79] Generated Node #0,1,2: 15:[32, 79] Operation: 61+18=79 Exploring Operation: 32-18=14, Resulting Numbers: [61, 14] Generated Node #0,1,3: 15:[61, 14] Operation: 32-18=14 Exploring Operation: 61+32=93, Resulting Numbers: [18, 93] Generated Node #0,1,4: 15:[18, 93] Operation: 61+32=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[18, 29], Operations: ['53-21=32', '61-32=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,15 unequal: No Solution No 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: 15:[32, 43], Operations: ['53-21=32', '61-18=43'] Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 32+43=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 32*43=1376, Resulting Numbers: [1376] 1376,15 unequal: No Solution No 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: 15:[61, 14], Operations: ['53-21=32', '32-18=14'] Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,15 unequal: No Solution No 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: 15:[32, 79], Operations: ['53-21=32', '61+18=79'] Exploring Operation: 32+79=111, Resulting Numbers: [111] 111,15 unequal: No Solution Exploring Operation: 32*79=2528, Resulting Numbers: [2528] 2528,15 unequal: No Solution Exploring Operation: 79-32=47, Resulting Numbers: [47] 47,15 unequal: No Solution No 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: 15:[18, 93], Operations: ['53-21=32', '61+32=93'] Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,15 unequal: No Solution Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,15 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,15 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: 15:[53, 18, 40], Operations: ['61-21=40'] Exploring Operation: 53+40=93, Resulting Numbers: [18, 93] Generated Node #0,2,0: 15:[18, 93] Operation: 53+40=93 Exploring Operation: 40-18=22, Resulting Numbers: [53, 22] Generated Node #0,2,1: 15:[53, 22] Operation: 40-18=22 Exploring Operation: 53+18=71, Resulting Numbers: [40, 71] Generated Node #0,2,2: 15:[40, 71] Operation: 53+18=71 Exploring Operation: 53-18=35, Resulting Numbers: [40, 35] Generated Node #0,2,3: 15:[40, 35] Operation: 53-18=35 Exploring Operation: 53-40=13, Resulting Numbers: [18, 13] Generated Node #0,2,4: 15:[18, 13] Operation: 53-40=13 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 15:[18, 13], Operations: ['61-21=40', '53-40=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,15 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,15 unequal: No Solution No 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: 15:[53, 22], Operations: ['61-21=40', '40-18=22'] Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,15 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[40, 35], Operations: ['61-21=40', '53-18=35'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 40*35=1400, Resulting Numbers: [1400] 1400,15 unequal: No Solution No 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: 15:[18, 93], Operations: ['61-21=40', '53+40=93'] Exploring Operation: 18+93=111, Resulting Numbers: [111] 111,15 unequal: No Solution Exploring Operation: 18*93=1674, Resulting Numbers: [1674] 1674,15 unequal: No Solution Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[40, 71], Operations: ['61-21=40', '53+18=71'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,15 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,15 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: 15:[61, 21, 35], Operations: ['53-18=35'] Exploring Operation: 61+35=96, Resulting Numbers: [21, 96] Generated Node #0,3,0: 15:[21, 96] Operation: 61+35=96 Exploring Operation: 35-21=14, Resulting Numbers: [61, 14] Generated Node #0,3,1: 15:[61, 14] Operation: 35-21=14 Exploring Operation: 61-35=26, Resulting Numbers: [21, 26] Generated Node #0,3,2: 15:[21, 26] Operation: 61-35=26 Exploring Operation: 61-21=40, Resulting Numbers: [35, 40] Generated Node #0,3,3: 15:[35, 40] Operation: 61-21=40 Exploring Operation: 61+21=82, Resulting Numbers: [35, 82] Generated Node #0,3,4: 15:[35, 82] Operation: 61+21=82 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 15:[21, 26], Operations: ['53-18=35', '61-35=26'] Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,15 unequal: No Solution Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,15 unequal: No Solution No 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: 15:[35, 40], Operations: ['53-18=35', '61-21=40'] Exploring Operation: 35+40=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 35*40=1400, Resulting Numbers: [1400] 1400,15 unequal: No Solution No 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: 15:[61, 14], Operations: ['53-18=35', '35-21=14'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,15 unequal: No Solution Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[21, 96], Operations: ['53-18=35', '61+35=96'] Exploring Operation: 21*96=2016, Resulting Numbers: [2016] 2016,15 unequal: No Solution Exploring Operation: 21+96=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[35, 82], Operations: ['53-18=35', '61+21=82'] Exploring Operation: 35*82=2870, Resulting Numbers: [2870] 2870,15 unequal: No Solution Exploring Operation: 82-35=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 35+82=117, Resulting Numbers: [117] 117,15 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: 15:[21, 53, 43], Operations: ['61-18=43'] Exploring Operation: 21+43=64, Resulting Numbers: [53, 64] Generated Node #0,4,0: 15:[53, 64] Operation: 21+43=64 Exploring Operation: 53-21=32, Resulting Numbers: [43, 32] Generated Node #0,4,1: 15:[43, 32] Operation: 53-21=32 Exploring Operation: 43-21=22, Resulting Numbers: [53, 22] Generated Node #0,4,2: 15:[53, 22] Operation: 43-21=22 Exploring Operation: 53-43=10, Resulting Numbers: [21, 10] Generated Node #0,4,3: 15:[21, 10] Operation: 53-43=10 Exploring Operation: 21+53=74, Resulting Numbers: [43, 74] Generated Node #0,4,4: 15:[43, 74] Operation: 21+53=74 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[21, 10], Operations: ['61-18=43', '53-43=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,15 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,15 unequal: No Solution No 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: 15:[43, 32], Operations: ['61-18=43', '53-21=32'] Exploring Operation: 43*32=1376, Resulting Numbers: [1376] 1376,15 unequal: No Solution Exploring Operation: 43-32=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 43+32=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[53, 22], Operations: ['61-18=43', '43-21=22'] Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,15 unequal: No Solution Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,15 unequal: No Solution No 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: 15:[53, 64], Operations: ['61-18=43', '21+43=64'] Exploring Operation: 53+64=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 64-53=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 53*64=3392, Resulting Numbers: [3392] 3392,15 unequal: No Solution No 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: 15:[43, 74], Operations: ['61-18=43', '21+53=74'] Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,15 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,15 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
[ 1, 73, 26, 65 ]
34
[ "1*73=73", "65-26=39", "73-39=34" ]
Current State: 34:[1, 73, 26, 65], Operations: [] Exploring Operation: 1*73=73, Resulting Numbers: [26, 65, 73] Generated Node #2: [26, 65, 73] from Operation: 1*73=73 Current State: 34:[26, 65, 73], Operations: ['1*73=73'] Exploring Operation: 65-26=39, Resulting Numbers: [73, 39] Generated Node #3: [73, 39] from Operation: 65-26=39 Current State: 34:[73, 39], Operations: ['1*73=73', '65-26=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[1, 73, 26, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [1, 26, 8] Generated Node #0,0: 34:[1, 26, 8] Operation: 73-65=8 Exploring Operation: 73-26=47, Resulting Numbers: [1, 65, 47] Generated Node #0,1: 34:[1, 65, 47] Operation: 73-26=47 Exploring Operation: 73-1=72, Resulting Numbers: [26, 65, 72] Generated Node #0,2: 34:[26, 65, 72] Operation: 73-1=72 Exploring Operation: 65-26=39, Resulting Numbers: [1, 73, 39] Generated Node #0,3: 34:[1, 73, 39] Operation: 65-26=39 Exploring Operation: 1+26=27, Resulting Numbers: [73, 65, 27] Generated Node #0,4: 34:[73, 65, 27] Operation: 1+26=27 Moving to Node #0,0 Current State: 34:[1, 26, 8], Operations: ['73-65=8'] Exploring Operation: 26-8=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 34:[1, 18] Operation: 26-8=18 Exploring Operation: 8-1=7, Resulting Numbers: [26, 7] Generated Node #0,0,1: 34:[26, 7] Operation: 8-1=7 Exploring Operation: 26+8=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 34:[1, 34] Operation: 26+8=34 Exploring Operation: 1*26=26, Resulting Numbers: [8, 26] Generated Node #0,0,3: 34:[8, 26] Operation: 1*26=26 Exploring Operation: 1+26=27, Resulting Numbers: [8, 27] Generated Node #0,0,4: 34:[8, 27] Operation: 1+26=27 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 34:[1, 34], Operations: ['73-65=8', '26+8=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[1, 73, 26, 65], Operations: [] Exploring Operation: 73-65=8, Resulting Numbers: [1, 26, 8] Generated Node #0,0: 34:[1, 26, 8] Operation: 73-65=8 Moving to Node #0,0 Current State: 34:[1, 26, 8], Operations: ['73-65=8'] Exploring Operation: 26+8=34, Resulting Numbers: [1, 34] Generated Node #0,0,2: 34:[1, 34] Operation: 26+8=34 Moving to Node #0,0,2 Current State: 34:[1, 34], Operations: ['73-65=8', '26+8=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 16, 86, 91, 25 ]
83
[ "91-16=75", "75/25=3", "86-3=83" ]
Current State: 83:[16, 86, 91, 25], Operations: [] Exploring Operation: 91-16=75, Resulting Numbers: [86, 25, 75] Generated Node #2: [86, 25, 75] from Operation: 91-16=75 Current State: 83:[86, 25, 75], Operations: ['91-16=75'] Exploring Operation: 75/25=3, Resulting Numbers: [86, 3] Generated Node #3: [86, 3] from Operation: 75/25=3 Current State: 83:[86, 3], Operations: ['91-16=75', '75/25=3'] Exploring Operation: 86-3=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[16, 86, 91, 25], Operations: [] Exploring Operation: 16+25=41, Resulting Numbers: [86, 91, 41] Generated Node #0,0: 83:[86, 91, 41] Operation: 16+25=41 Moving to Node #0,0 Current State: 83:[86, 91, 41], Operations: ['16+25=41'] Exploring Operation: 91-41=50, Resulting Numbers: [86, 50] Generated Node #0,0,0: 83:[86, 50] Operation: 91-41=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[86, 50], Operations: ['16+25=41', '91-41=50'] Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 69, 47, 29, 62 ]
25
[ "69+47=116", "29+62=91", "116-91=25" ]
Current State: 25:[69, 47, 29, 62], Operations: [] Exploring Operation: 69+47=116, Resulting Numbers: [29, 62, 116] Generated Node #2: [29, 62, 116] from Operation: 69+47=116 Current State: 25:[29, 62, 116], Operations: ['69+47=116'] Exploring Operation: 29+62=91, Resulting Numbers: [116, 91] Generated Node #3: [116, 91] from Operation: 29+62=91 Current State: 25:[116, 91], Operations: ['69+47=116', '29+62=91'] Exploring Operation: 116-91=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[69, 47, 29, 62], Operations: [] Exploring Operation: 69-47=22, Resulting Numbers: [29, 62, 22] Generated Node #0,0: 25:[29, 62, 22] Operation: 69-47=22 Exploring Operation: 69-62=7, Resulting Numbers: [47, 29, 7] Generated Node #0,1: 25:[47, 29, 7] Operation: 69-62=7 Moving to Node #0,1 Current State: 25:[47, 29, 7], Operations: ['69-62=7'] Exploring Operation: 47-29=18, Resulting Numbers: [7, 18] Generated Node #0,1,0: 25:[7, 18] Operation: 47-29=18 Exploring Operation: 47-7=40, Resulting Numbers: [29, 40] Generated Node #0,1,1: 25:[29, 40] Operation: 47-7=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[7, 18], Operations: ['69-62=7', '47-29=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[69, 47, 29, 62], Operations: [] Exploring Operation: 69-62=7, Resulting Numbers: [47, 29, 7] Generated Node #0,1: 25:[47, 29, 7] Operation: 69-62=7 Moving to Node #0,1 Current State: 25:[47, 29, 7], Operations: ['69-62=7'] Exploring Operation: 47-29=18, Resulting Numbers: [7, 18] Generated Node #0,1,0: 25:[7, 18] Operation: 47-29=18 Moving to Node #0,1,0 Current State: 25:[7, 18], Operations: ['69-62=7', '47-29=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 69, 84, 21, 40 ]
92
[ "69+84=153", "21+40=61", "153-61=92" ]
Current State: 92:[69, 84, 21, 40], Operations: [] Exploring Operation: 69+84=153, Resulting Numbers: [21, 40, 153] Generated Node #2: [21, 40, 153] from Operation: 69+84=153 Current State: 92:[21, 40, 153], Operations: ['69+84=153'] Exploring Operation: 21+40=61, Resulting Numbers: [153, 61] Generated Node #3: [153, 61] from Operation: 21+40=61 Current State: 92:[153, 61], Operations: ['69+84=153', '21+40=61'] Exploring Operation: 153-61=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[69, 84, 21, 40], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [84, 21, 29] Generated Node #0,0: 92:[84, 21, 29] Operation: 69-40=29 Exploring Operation: 84-69=15, Resulting Numbers: [21, 40, 15] Generated Node #0,1: 92:[21, 40, 15] Operation: 84-69=15 Exploring Operation: 69+21=90, Resulting Numbers: [84, 40, 90] Generated Node #0,2: 92:[84, 40, 90] Operation: 69+21=90 Exploring Operation: 69-21=48, Resulting Numbers: [84, 40, 48] Generated Node #0,3: 92:[84, 40, 48] Operation: 69-21=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[84, 21, 29], Operations: ['69-40=29'] Exploring Operation: 84/21=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 92:[29, 4] Operation: 84/21=4 Exploring Operation: 21+29=50, Resulting Numbers: [84, 50] Generated Node #0,0,1: 92:[84, 50] Operation: 21+29=50 Exploring Operation: 84-29=55, Resulting Numbers: [21, 55] Generated Node #0,0,2: 92:[21, 55] Operation: 84-29=55 Exploring Operation: 29-21=8, Resulting Numbers: [84, 8] Generated Node #0,0,3: 92:[84, 8] Operation: 29-21=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[29, 4], Operations: ['69-40=29', '84/21=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,92 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[21, 55], Operations: ['69-40=29', '84-29=55'] Exploring Operation: 55-21=34, Resulting Numbers: [34] 34,92 unequal: No Solution Exploring Operation: 21*55=1155, Resulting Numbers: [1155] 1155,92 unequal: No Solution Exploring Operation: 21+55=76, Resulting Numbers: [76] 76,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[84, 50], Operations: ['69-40=29', '21+29=50'] Exploring Operation: 84*50=4200, Resulting Numbers: [4200] 4200,92 unequal: No Solution Exploring Operation: 84+50=134, Resulting Numbers: [134] 134,92 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[84, 8], Operations: ['69-40=29', '29-21=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,92 unequal: No Solution Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,92 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[69, 84, 21, 40], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [84, 21, 29] Generated Node #0,0: 92:[84, 21, 29] Operation: 69-40=29 Moving to Node #0,0 Current State: 92:[84, 21, 29], Operations: ['69-40=29'] Exploring Operation: 29-21=8, Resulting Numbers: [84, 8] Generated Node #0,0,3: 92:[84, 8] Operation: 29-21=8 Moving to Node #0,0,3 Current State: 92:[84, 8], Operations: ['69-40=29', '29-21=8'] Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 85, 77, 35, 5 ]
32
[ "85-77=8", "35+5=40", "40-8=32" ]
Current State: 32:[85, 77, 35, 5], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [35, 5, 8] Generated Node #2: [35, 5, 8] from Operation: 85-77=8 Current State: 32:[35, 5, 8], Operations: ['85-77=8'] Exploring Operation: 35+5=40, Resulting Numbers: [8, 40] Generated Node #3: [8, 40] from Operation: 35+5=40 Current State: 32:[8, 40], Operations: ['85-77=8', '35+5=40'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[85, 77, 35, 5], Operations: [] Exploring Operation: 85/5=17, Resulting Numbers: [77, 35, 17] Generated Node #0,0: 32:[77, 35, 17] Operation: 85/5=17 Exploring Operation: 77-35=42, Resulting Numbers: [85, 5, 42] Generated Node #0,1: 32:[85, 5, 42] Operation: 77-35=42 Exploring Operation: 85-77=8, Resulting Numbers: [35, 5, 8] Generated Node #0,2: 32:[35, 5, 8] Operation: 85-77=8 Exploring Operation: 85-35=50, Resulting Numbers: [77, 5, 50] Generated Node #0,3: 32:[77, 5, 50] Operation: 85-35=50 Moving to Node #0,2 Current State: 32:[35, 5, 8], Operations: ['85-77=8'] Exploring Operation: 35/5=7, Resulting Numbers: [8, 7] Generated Node #0,2,0: 32:[8, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [8, 30] Generated Node #0,2,1: 32:[8, 30] Operation: 35-5=30 Exploring Operation: 8-5=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 32:[35, 3] Operation: 8-5=3 Exploring Operation: 35-8=27, Resulting Numbers: [5, 27] Generated Node #0,2,3: 32:[5, 27] Operation: 35-8=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[8, 7], Operations: ['85-77=8', '35/5=7'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 8+7=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 8*7=56, Resulting Numbers: [56] 56,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[8, 30], Operations: ['85-77=8', '35-5=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,32 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,32 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[35, 3], Operations: ['85-77=8', '8-5=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[85, 77, 35, 5], Operations: [] Exploring Operation: 85-77=8, Resulting Numbers: [35, 5, 8] Generated Node #0,2: 32:[35, 5, 8] Operation: 85-77=8 Moving to Node #0,2 Current State: 32:[35, 5, 8], Operations: ['85-77=8'] Exploring Operation: 8-5=3, Resulting Numbers: [35, 3] Generated Node #0,2,2: 32:[35, 3] Operation: 8-5=3 Moving to Node #0,2,2 Current State: 32:[35, 3], Operations: ['85-77=8', '8-5=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 16, 55, 33, 42 ]
62
[ "16+55=71", "42-33=9", "71-9=62" ]
Current State: 62:[16, 55, 33, 42], Operations: [] Exploring Operation: 16+55=71, Resulting Numbers: [33, 42, 71] Generated Node #2: [33, 42, 71] from Operation: 16+55=71 Current State: 62:[33, 42, 71], Operations: ['16+55=71'] Exploring Operation: 42-33=9, Resulting Numbers: [71, 9] Generated Node #3: [71, 9] from Operation: 42-33=9 Current State: 62:[71, 9], Operations: ['16+55=71', '42-33=9'] Exploring Operation: 71-9=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[16, 55, 33, 42], Operations: [] Exploring Operation: 42-16=26, Resulting Numbers: [55, 33, 26] Generated Node #0,0: 62:[55, 33, 26] Operation: 42-16=26 Exploring Operation: 16+42=58, Resulting Numbers: [55, 33, 58] Generated Node #0,1: 62:[55, 33, 58] Operation: 16+42=58 Moving to Node #0,1 Current State: 62:[55, 33, 58], Operations: ['16+42=58'] Exploring Operation: 58-55=3, Resulting Numbers: [33, 3] Generated Node #0,1,0: 62:[33, 3] Operation: 58-55=3 Exploring Operation: 55-33=22, Resulting Numbers: [58, 22] Generated Node #0,1,1: 62:[58, 22] Operation: 55-33=22 Moving to Node #0,0 Current State: 62:[55, 33, 26], Operations: ['42-16=26'] Exploring Operation: 33+26=59, Resulting Numbers: [55, 59] Generated Node #0,0,0: 62:[55, 59] Operation: 33+26=59 Exploring Operation: 55-26=29, Resulting Numbers: [33, 29] Generated Node #0,0,1: 62:[33, 29] Operation: 55-26=29 Moving to Node #0,1,0 Current State: 62:[33, 3], Operations: ['16+42=58', '58-55=3'] Exploring Operation: 33-3=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[33, 29], Operations: ['42-16=26', '55-26=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[16, 55, 33, 42], Operations: [] Exploring Operation: 42-16=26, Resulting Numbers: [55, 33, 26] Generated Node #0,0: 62:[55, 33, 26] Operation: 42-16=26 Moving to Node #0,0 Current State: 62:[55, 33, 26], Operations: ['42-16=26'] Exploring Operation: 55-26=29, Resulting Numbers: [33, 29] Generated Node #0,0,1: 62:[33, 29] Operation: 55-26=29 Moving to Node #0,0,1 Current State: 62:[33, 29], Operations: ['42-16=26', '55-26=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 87, 39, 15, 51 ]
45
[ "87-39=48", "51-48=3", "15*3=45" ]
Current State: 45:[87, 39, 15, 51], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [15, 51, 48] Generated Node #2: [15, 51, 48] from Operation: 87-39=48 Current State: 45:[15, 51, 48], Operations: ['87-39=48'] Exploring Operation: 51-48=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 51-48=3 Current State: 45:[15, 3], Operations: ['87-39=48', '51-48=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[87, 39, 15, 51], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [39, 51, 72] Generated Node #0,0: 45:[39, 51, 72] Operation: 87-15=72 Exploring Operation: 87-51=36, Resulting Numbers: [39, 15, 36] Generated Node #0,1: 45:[39, 15, 36] Operation: 87-51=36 Exploring Operation: 87-39=48, Resulting Numbers: [15, 51, 48] Generated Node #0,2: 45:[15, 51, 48] Operation: 87-39=48 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[15, 51, 48], Operations: ['87-39=48'] Exploring Operation: 51-48=3, Resulting Numbers: [15, 3] Generated Node #0,2,0: 45:[15, 3] Operation: 51-48=3 Exploring Operation: 51-15=36, Resulting Numbers: [48, 36] Generated Node #0,2,1: 45:[48, 36] Operation: 51-15=36 Exploring Operation: 48-15=33, Resulting Numbers: [51, 33] Generated Node #0,2,2: 45:[51, 33] Operation: 48-15=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[15, 3], Operations: ['87-39=48', '51-48=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[87, 39, 15, 51], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [15, 51, 48] Generated Node #0,2: 45:[15, 51, 48] Operation: 87-39=48 Moving to Node #0,2 Current State: 45:[15, 51, 48], Operations: ['87-39=48'] Exploring Operation: 51-48=3, Resulting Numbers: [15, 3] Generated Node #0,2,0: 45:[15, 3] Operation: 51-48=3 Moving to Node #0,2,0 Current State: 45:[15, 3], Operations: ['87-39=48', '51-48=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 26, 31, 10, 66 ]
61
[ "31-26=5", "66-10=56", "5+56=61" ]
Current State: 61:[26, 31, 10, 66], Operations: [] Exploring Operation: 31-26=5, Resulting Numbers: [10, 66, 5] Generated Node #2: [10, 66, 5] from Operation: 31-26=5 Current State: 61:[10, 66, 5], Operations: ['31-26=5'] Exploring Operation: 66-10=56, Resulting Numbers: [5, 56] Generated Node #3: [5, 56] from Operation: 66-10=56 Current State: 61:[5, 56], Operations: ['31-26=5', '66-10=56'] Exploring Operation: 5+56=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[26, 31, 10, 66], Operations: [] Exploring Operation: 31+10=41, Resulting Numbers: [26, 66, 41] Generated Node #0,0: 61:[26, 66, 41] Operation: 31+10=41 Exploring Operation: 26+10=36, Resulting Numbers: [31, 66, 36] Generated Node #0,1: 61:[31, 66, 36] Operation: 26+10=36 Exploring Operation: 26+31=57, Resulting Numbers: [10, 66, 57] Generated Node #0,2: 61:[10, 66, 57] Operation: 26+31=57 Exploring Operation: 66-10=56, Resulting Numbers: [26, 31, 56] Generated Node #0,3: 61:[26, 31, 56] Operation: 66-10=56 Moving to Node #0,0 Current State: 61:[26, 66, 41], Operations: ['31+10=41'] Exploring Operation: 41-26=15, Resulting Numbers: [66, 15] Generated Node #0,0,0: 61:[66, 15] Operation: 41-26=15 Exploring Operation: 66-26=40, Resulting Numbers: [41, 40] Generated Node #0,0,1: 61:[41, 40] Operation: 66-26=40 Exploring Operation: 26+66=92, Resulting Numbers: [41, 92] Generated Node #0,0,2: 61:[41, 92] Operation: 26+66=92 Exploring Operation: 26+41=67, Resulting Numbers: [66, 67] Generated Node #0,0,3: 61:[66, 67] Operation: 26+41=67 Moving to Node #0,2 Current State: 61:[10, 66, 57], Operations: ['26+31=57'] Exploring Operation: 10+66=76, Resulting Numbers: [57, 76] Generated Node #0,2,0: 61:[57, 76] Operation: 10+66=76 Exploring Operation: 10+57=67, Resulting Numbers: [66, 67] Generated Node #0,2,1: 61:[66, 67] Operation: 10+57=67 Exploring Operation: 66-10=56, Resulting Numbers: [57, 56] Generated Node #0,2,2: 61:[57, 56] Operation: 66-10=56 Exploring Operation: 57-10=47, Resulting Numbers: [66, 47] Generated Node #0,2,3: 61:[66, 47] Operation: 57-10=47 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[57, 56], Operations: ['26+31=57', '66-10=56'] Exploring Operation: 57*56=3192, Resulting Numbers: [3192] 3192,61 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 57+56=113, Resulting Numbers: [113] 113,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[66, 67], Operations: ['26+31=57', '10+57=67'] Exploring Operation: 66*67=4422, Resulting Numbers: [4422] 4422,61 unequal: No Solution Exploring Operation: 67-66=1, Resulting Numbers: [1] 1,61 unequal: No Solution Exploring Operation: 66+67=133, Resulting Numbers: [133] 133,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[57, 76], Operations: ['26+31=57', '10+66=76'] Exploring Operation: 57*76=4332, Resulting Numbers: [4332] 4332,61 unequal: No Solution Exploring Operation: 76-57=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 57+76=133, Resulting Numbers: [133] 133,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 61:[66, 47], Operations: ['26+31=57', '57-10=47'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,61 unequal: No Solution Exploring Operation: 66*47=3102, Resulting Numbers: [3102] 3102,61 unequal: No Solution Exploring Operation: 66+47=113, Resulting Numbers: [113] 113,61 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: 61:[31, 66, 36], Operations: ['26+10=36'] Exploring Operation: 66-31=35, Resulting Numbers: [36, 35] Generated Node #0,1,0: 61:[36, 35] Operation: 66-31=35 Exploring Operation: 36-31=5, Resulting Numbers: [66, 5] Generated Node #0,1,1: 61:[66, 5] Operation: 36-31=5 Exploring Operation: 31+36=67, Resulting Numbers: [66, 67] Generated Node #0,1,2: 61:[66, 67] Operation: 31+36=67 Exploring Operation: 31+66=97, Resulting Numbers: [36, 97] Generated Node #0,1,3: 61:[36, 97] Operation: 31+66=97 Moving to Node #0,3 Current State: 61:[26, 31, 56], Operations: ['66-10=56'] Exploring Operation: 26+31=57, Resulting Numbers: [56, 57] Generated Node #0,3,0: 61:[56, 57] Operation: 26+31=57 Exploring Operation: 31-26=5, Resulting Numbers: [56, 5] Generated Node #0,3,1: 61:[56, 5] Operation: 31-26=5 Exploring Operation: 56-26=30, Resulting Numbers: [31, 30] Generated Node #0,3,2: 61:[31, 30] Operation: 56-26=30 Exploring Operation: 26+56=82, Resulting Numbers: [31, 82] Generated Node #0,3,3: 61:[31, 82] Operation: 26+56=82 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 61:[56, 57], Operations: ['66-10=56', '26+31=57'] Exploring Operation: 56+57=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 56*57=3192, Resulting Numbers: [3192] 3192,61 unequal: No Solution Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,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,3,3 Current State: 61:[31, 82], Operations: ['66-10=56', '26+56=82'] Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,61 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,61 unequal: No Solution Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,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,3,1 Current State: 61:[56, 5], Operations: ['66-10=56', '31-26=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[26, 31, 10, 66], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [26, 31, 56] Generated Node #0,3: 61:[26, 31, 56] Operation: 66-10=56 Moving to Node #0,3 Current State: 61:[26, 31, 56], Operations: ['66-10=56'] Exploring Operation: 31-26=5, Resulting Numbers: [56, 5] Generated Node #0,3,1: 61:[56, 5] Operation: 31-26=5 Moving to Node #0,3,1 Current State: 61:[56, 5], Operations: ['66-10=56', '31-26=5'] Exploring Operation: 56+5=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_4
mult_heuristic
[ 66, 42, 68, 62 ]
22
[ "66+42=108", "68+62=130", "130-108=22" ]
Current State: 22:[66, 42, 68, 62], Operations: [] Exploring Operation: 66+42=108, Resulting Numbers: [68, 62, 108] Generated Node #2: [68, 62, 108] from Operation: 66+42=108 Current State: 22:[68, 62, 108], Operations: ['66+42=108'] Exploring Operation: 68+62=130, Resulting Numbers: [108, 130] Generated Node #3: [108, 130] from Operation: 68+62=130 Current State: 22:[108, 130], Operations: ['66+42=108', '68+62=130'] Exploring Operation: 130-108=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[66, 42, 68, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [42, 68, 4] Generated Node #0,0: 22:[42, 68, 4] Operation: 66-62=4 Exploring Operation: 68-66=2, Resulting Numbers: [42, 62, 2] Generated Node #0,1: 22:[42, 62, 2] Operation: 68-66=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[42, 62, 2], Operations: ['68-66=2'] Exploring Operation: 62-42=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 22:[2, 20] Operation: 62-42=20 Exploring Operation: 62/2=31, Resulting Numbers: [42, 31] Generated Node #0,1,1: 22:[42, 31] Operation: 62/2=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 22:[2, 20], Operations: ['68-66=2', '62-42=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[66, 42, 68, 62], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [42, 62, 2] Generated Node #0,1: 22:[42, 62, 2] Operation: 68-66=2 Moving to Node #0,1 Current State: 22:[42, 62, 2], Operations: ['68-66=2'] Exploring Operation: 62-42=20, Resulting Numbers: [2, 20] Generated Node #0,1,0: 22:[2, 20] Operation: 62-42=20 Moving to Node #0,1,0 Current State: 22:[2, 20], Operations: ['68-66=2', '62-42=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 80, 77, 36, 16 ]
81
[ "36-16=20", "80/20=4", "77+4=81" ]
Current State: 81:[80, 77, 36, 16], Operations: [] Exploring Operation: 36-16=20, Resulting Numbers: [80, 77, 20] Generated Node #2: [80, 77, 20] from Operation: 36-16=20 Current State: 81:[80, 77, 20], Operations: ['36-16=20'] Exploring Operation: 80/20=4, Resulting Numbers: [77, 4] Generated Node #3: [77, 4] from Operation: 80/20=4 Current State: 81:[77, 4], Operations: ['36-16=20', '80/20=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[80, 77, 36, 16], Operations: [] Exploring Operation: 77+16=93, Resulting Numbers: [80, 36, 93] Generated Node #0,0: 81:[80, 36, 93] Operation: 77+16=93 Exploring Operation: 36-16=20, Resulting Numbers: [80, 77, 20] Generated Node #0,1: 81:[80, 77, 20] Operation: 36-16=20 Exploring Operation: 77-36=41, Resulting Numbers: [80, 16, 41] Generated Node #0,2: 81:[80, 16, 41] Operation: 77-36=41 Exploring Operation: 80-77=3, Resulting Numbers: [36, 16, 3] Generated Node #0,3: 81:[36, 16, 3] Operation: 80-77=3 Exploring Operation: 80/16=5, Resulting Numbers: [77, 36, 5] Generated Node #0,4: 81:[77, 36, 5] Operation: 80/16=5 Moving to Node #0,1 Current State: 81:[80, 77, 20], Operations: ['36-16=20'] Exploring Operation: 80/20=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 81:[77, 4] Operation: 80/20=4 Exploring Operation: 80-77=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 81:[20, 3] Operation: 80-77=3 Exploring Operation: 80-20=60, Resulting Numbers: [77, 60] Generated Node #0,1,2: 81:[77, 60] Operation: 80-20=60 Exploring Operation: 77+20=97, Resulting Numbers: [80, 97] Generated Node #0,1,3: 81:[80, 97] Operation: 77+20=97 Exploring Operation: 80+20=100, Resulting Numbers: [77, 100] Generated Node #0,1,4: 81:[77, 100] Operation: 80+20=100 Moving to Node #0,4 Current State: 81:[77, 36, 5], Operations: ['80/16=5'] Exploring Operation: 77+5=82, Resulting Numbers: [36, 82] Generated Node #0,4,0: 81:[36, 82] Operation: 77+5=82 Exploring Operation: 36+5=41, Resulting Numbers: [77, 41] Generated Node #0,4,1: 81:[77, 41] Operation: 36+5=41 Exploring Operation: 77-5=72, Resulting Numbers: [36, 72] Generated Node #0,4,2: 81:[36, 72] Operation: 77-5=72 Exploring Operation: 36-5=31, Resulting Numbers: [77, 31] Generated Node #0,4,3: 81:[77, 31] Operation: 36-5=31 Exploring Operation: 77-36=41, Resulting Numbers: [5, 41] Generated Node #0,4,4: 81:[5, 41] Operation: 77-36=41 Moving to Node #0,3 Current State: 81:[36, 16, 3], Operations: ['80-77=3'] Exploring Operation: 16-3=13, Resulting Numbers: [36, 13] Generated Node #0,3,0: 81:[36, 13] Operation: 16-3=13 Exploring Operation: 36-16=20, Resulting Numbers: [3, 20] Generated Node #0,3,1: 81:[3, 20] Operation: 36-16=20 Exploring Operation: 36-3=33, Resulting Numbers: [16, 33] Generated Node #0,3,2: 81:[16, 33] Operation: 36-3=33 Exploring Operation: 16+3=19, Resulting Numbers: [36, 19] Generated Node #0,3,3: 81:[36, 19] Operation: 16+3=19 Exploring Operation: 36/3=12, Resulting Numbers: [16, 12] Generated Node #0,3,4: 81:[16, 12] Operation: 36/3=12 Moving to Node #0,0 Current State: 81:[80, 36, 93], Operations: ['77+16=93'] Exploring Operation: 93-80=13, Resulting Numbers: [36, 13] Generated Node #0,0,0: 81:[36, 13] Operation: 93-80=13 Exploring Operation: 36+93=129, Resulting Numbers: [80, 129] Generated Node #0,0,1: 81:[80, 129] Operation: 36+93=129 Exploring Operation: 93-36=57, Resulting Numbers: [80, 57] Generated Node #0,0,2: 81:[80, 57] Operation: 93-36=57 Exploring Operation: 80+36=116, Resulting Numbers: [93, 116] Generated Node #0,0,3: 81:[93, 116] Operation: 80+36=116 Exploring Operation: 80-36=44, Resulting Numbers: [93, 44] Generated Node #0,0,4: 81:[93, 44] Operation: 80-36=44 Moving to Node #0,2 Current State: 81:[80, 16, 41], Operations: ['77-36=41'] Exploring Operation: 16+41=57, Resulting Numbers: [80, 57] Generated Node #0,2,0: 81:[80, 57] Operation: 16+41=57 Exploring Operation: 41-16=25, Resulting Numbers: [80, 25] Generated Node #0,2,1: 81:[80, 25] Operation: 41-16=25 Exploring Operation: 80+16=96, Resulting Numbers: [41, 96] Generated Node #0,2,2: 81:[41, 96] Operation: 80+16=96 Exploring Operation: 80-41=39, Resulting Numbers: [16, 39] Generated Node #0,2,3: 81:[16, 39] Operation: 80-41=39 Exploring Operation: 80/16=5, Resulting Numbers: [41, 5] Generated Node #0,2,4: 81:[41, 5] Operation: 80/16=5 Moving to Node #0,2,1 Current State: 81:[80, 25], Operations: ['77-36=41', '41-16=25'] Exploring Operation: 80-25=55, Resulting Numbers: [55] 55,81 unequal: No Solution Exploring Operation: 80+25=105, Resulting Numbers: [105] 105,81 unequal: No Solution Exploring Operation: 80*25=2000, Resulting Numbers: [2000] 2000,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[77, 4], Operations: ['36-16=20', '80/20=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[80, 77, 36, 16], Operations: [] Exploring Operation: 36-16=20, Resulting Numbers: [80, 77, 20] Generated Node #0,1: 81:[80, 77, 20] Operation: 36-16=20 Moving to Node #0,1 Current State: 81:[80, 77, 20], Operations: ['36-16=20'] Exploring Operation: 80/20=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 81:[77, 4] Operation: 80/20=4 Moving to Node #0,1,0 Current State: 81:[77, 4], Operations: ['36-16=20', '80/20=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.966146
hs_5
sum_heuristic
[ 31, 75, 99, 1 ]
54
[ "75-31=44", "99-1=98", "98-44=54" ]
Current State: 54:[31, 75, 99, 1], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [99, 1, 44] Generated Node #2: [99, 1, 44] from Operation: 75-31=44 Current State: 54:[99, 1, 44], Operations: ['75-31=44'] Exploring Operation: 99-1=98, Resulting Numbers: [44, 98] Generated Node #3: [44, 98] from Operation: 99-1=98 Current State: 54:[44, 98], Operations: ['75-31=44', '99-1=98'] Exploring Operation: 98-44=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[31, 75, 99, 1], Operations: [] Exploring Operation: 75-31=44, Resulting Numbers: [99, 1, 44] Generated Node #0,0: 54:[99, 1, 44] Operation: 75-31=44 Exploring Operation: 99-75=24, Resulting Numbers: [31, 1, 24] Generated Node #0,1: 54:[31, 1, 24] Operation: 99-75=24 Exploring Operation: 99-31=68, Resulting Numbers: [75, 1, 68] Generated Node #0,2: 54:[75, 1, 68] Operation: 99-31=68 Moving to Node #0,1 Current State: 54:[31, 1, 24], Operations: ['99-75=24'] Exploring Operation: 31-1=30, Resulting Numbers: [24, 30] Generated Node #0,1,0: 54:[24, 30] Operation: 31-1=30 Exploring Operation: 31+24=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 31+24=55 Exploring Operation: 31-24=7, Resulting Numbers: [1, 7] Generated Node #0,1,2: 54:[1, 7] Operation: 31-24=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['99-75=24', '31+24=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[31, 75, 99, 1], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [31, 1, 24] Generated Node #0,1: 54:[31, 1, 24] Operation: 99-75=24 Moving to Node #0,1 Current State: 54:[31, 1, 24], Operations: ['99-75=24'] Exploring Operation: 31+24=55, Resulting Numbers: [1, 55] Generated Node #0,1,1: 54:[1, 55] Operation: 31+24=55 Moving to Node #0,1,1 Current State: 54:[1, 55], Operations: ['99-75=24', '31+24=55'] Exploring Operation: 55-1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 41, 59, 14, 20 ]
80
[ "59-41=18", "18-14=4", "20*4=80" ]
Current State: 80:[41, 59, 14, 20], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [14, 20, 18] Generated Node #2: [14, 20, 18] from Operation: 59-41=18 Current State: 80:[14, 20, 18], Operations: ['59-41=18'] Exploring Operation: 18-14=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 18-14=4 Current State: 80:[20, 4], Operations: ['59-41=18', '18-14=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[41, 59, 14, 20], Operations: [] Exploring Operation: 59-14=45, Resulting Numbers: [41, 20, 45] Generated Node #0,0: 80:[41, 20, 45] Operation: 59-14=45 Exploring Operation: 59+20=79, Resulting Numbers: [41, 14, 79] Generated Node #0,1: 80:[41, 14, 79] Operation: 59+20=79 Exploring Operation: 59-41=18, Resulting Numbers: [14, 20, 18] Generated Node #0,2: 80:[14, 20, 18] Operation: 59-41=18 Exploring Operation: 59-20=39, Resulting Numbers: [41, 14, 39] Generated Node #0,3: 80:[41, 14, 39] Operation: 59-20=39 Moving to Node #0,1 Current State: 80:[41, 14, 79], Operations: ['59+20=79'] Exploring Operation: 14+79=93, Resulting Numbers: [41, 93] Generated Node #0,1,0: 80:[41, 93] Operation: 14+79=93 Exploring Operation: 79-41=38, Resulting Numbers: [14, 38] Generated Node #0,1,1: 80:[14, 38] Operation: 79-41=38 Exploring Operation: 41-14=27, Resulting Numbers: [79, 27] Generated Node #0,1,2: 80:[79, 27] Operation: 41-14=27 Exploring Operation: 41+14=55, Resulting Numbers: [79, 55] Generated Node #0,1,3: 80:[79, 55] Operation: 41+14=55 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[14, 38], Operations: ['59+20=79', '79-41=38'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 14*38=532, Resulting Numbers: [532] 532,80 unequal: No Solution Exploring Operation: 14+38=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[79, 27], Operations: ['59+20=79', '41-14=27'] Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,80 unequal: No Solution Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[41, 93], Operations: ['59+20=79', '14+79=93'] Exploring Operation: 41*93=3813, Resulting Numbers: [3813] 3813,80 unequal: No Solution Exploring Operation: 41+93=134, Resulting Numbers: [134] 134,80 unequal: No Solution Exploring Operation: 93-41=52, Resulting Numbers: [52] 52,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[79, 55], Operations: ['59+20=79', '41+14=55'] Exploring Operation: 79+55=134, Resulting Numbers: [134] 134,80 unequal: No Solution Exploring Operation: 79*55=4345, Resulting Numbers: [4345] 4345,80 unequal: No Solution Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,80 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: 80:[41, 14, 39], Operations: ['59-20=39'] Exploring Operation: 41-14=27, Resulting Numbers: [39, 27] Generated Node #0,3,0: 80:[39, 27] Operation: 41-14=27 Exploring Operation: 41-39=2, Resulting Numbers: [14, 2] Generated Node #0,3,1: 80:[14, 2] Operation: 41-39=2 Exploring Operation: 41+39=80, Resulting Numbers: [14, 80] Generated Node #0,3,2: 80:[14, 80] Operation: 41+39=80 Exploring Operation: 39-14=25, Resulting Numbers: [41, 25] Generated Node #0,3,3: 80:[41, 25] Operation: 39-14=25 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[14, 2], Operations: ['59-20=39', '41-39=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[14, 80], Operations: ['59-20=39', '41+39=80'] Exploring Operation: 14+80=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 80-14=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 14*80=1120, Resulting Numbers: [1120] 1120,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[41, 25], Operations: ['59-20=39', '39-14=25'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,80 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[39, 27], Operations: ['59-20=39', '41-14=27'] Exploring Operation: 39+27=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 39*27=1053, Resulting Numbers: [1053] 1053,80 unequal: No Solution Exploring Operation: 39-27=12, Resulting Numbers: [12] 12,80 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: 80:[14, 20, 18], Operations: ['59-41=18'] Exploring Operation: 20-14=6, Resulting Numbers: [18, 6] Generated Node #0,2,0: 80:[18, 6] Operation: 20-14=6 Exploring Operation: 20+18=38, Resulting Numbers: [14, 38] Generated Node #0,2,1: 80:[14, 38] Operation: 20+18=38 Exploring Operation: 18-14=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 80:[20, 4] Operation: 18-14=4 Exploring Operation: 20-18=2, Resulting Numbers: [14, 2] Generated Node #0,2,3: 80:[14, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 80:[20, 4], Operations: ['59-41=18', '18-14=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[41, 59, 14, 20], Operations: [] Exploring Operation: 59-41=18, Resulting Numbers: [14, 20, 18] Generated Node #0,2: 80:[14, 20, 18] Operation: 59-41=18 Moving to Node #0,2 Current State: 80:[14, 20, 18], Operations: ['59-41=18'] Exploring Operation: 18-14=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 80:[20, 4] Operation: 18-14=4 Moving to Node #0,2,2 Current State: 80:[20, 4], Operations: ['59-41=18', '18-14=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_4
mult_heuristic
[ 56, 27, 16, 72 ]
26
[ "56+16=72", "72/72=1", "27-1=26" ]
Current State: 26:[56, 27, 16, 72], Operations: [] Exploring Operation: 56+16=72, Resulting Numbers: [27, 72, 72] Generated Node #2: [27, 72, 72] from Operation: 56+16=72 Current State: 26:[27, 72, 72], Operations: ['56+16=72'] Exploring Operation: 72/72=1, Resulting Numbers: [27, 1] Generated Node #3: [27, 1] from Operation: 72/72=1 Current State: 26:[27, 1], Operations: ['56+16=72', '72/72=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[56, 27, 16, 72], Operations: [] Exploring Operation: 56-16=40, Resulting Numbers: [27, 72, 40] Generated Node #0,0: 26:[27, 72, 40] Operation: 56-16=40 Exploring Operation: 56-27=29, Resulting Numbers: [16, 72, 29] Generated Node #0,1: 26:[16, 72, 29] Operation: 56-27=29 Exploring Operation: 72-56=16, Resulting Numbers: [27, 16, 16] Generated Node #0,2: 26:[27, 16, 16] Operation: 72-56=16 Exploring Operation: 72-27=45, Resulting Numbers: [56, 16, 45] Generated Node #0,3: 26:[56, 16, 45] Operation: 72-27=45 Exploring Operation: 72-16=56, Resulting Numbers: [56, 27, 56] Generated Node #0,4: 26:[56, 27, 56] Operation: 72-16=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[27, 16, 16], Operations: ['72-56=16'] Exploring Operation: 16+16=32, Resulting Numbers: [27, 32] Generated Node #0,2,0: 26:[27, 32] Operation: 16+16=32 Exploring Operation: 27-16=11, Resulting Numbers: [16, 11] Generated Node #0,2,1: 26:[16, 11] Operation: 27-16=11 Exploring Operation: 16/16=1, Resulting Numbers: [27, 1] Generated Node #0,2,2: 26:[27, 1] Operation: 16/16=1 Exploring Operation: 27-16=11, Resulting Numbers: [16, 11] Generated Node #0,2,3: 26:[16, 11] Operation: 27-16=11 Exploring Operation: 16-16=0, Resulting Numbers: [27, 0] Generated Node #0,2,4: 26:[27, 0] Operation: 16-16=0 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 26:[27, 1], Operations: ['72-56=16', '16/16=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[56, 27, 16, 72], Operations: [] Exploring Operation: 72-56=16, Resulting Numbers: [27, 16, 16] Generated Node #0,2: 26:[27, 16, 16] Operation: 72-56=16 Moving to Node #0,2 Current State: 26:[27, 16, 16], Operations: ['72-56=16'] Exploring Operation: 16/16=1, Resulting Numbers: [27, 1] Generated Node #0,2,2: 26:[27, 1] Operation: 16/16=1 Moving to Node #0,2,2 Current State: 26:[27, 1], Operations: ['72-56=16', '16/16=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 6, 15, 20, 60 ]
16
[ "60-20=40", "6*40=240", "240/15=16" ]
Current State: 16:[6, 15, 20, 60], Operations: [] Exploring Operation: 60-20=40, Resulting Numbers: [6, 15, 40] Generated Node #2: [6, 15, 40] from Operation: 60-20=40 Current State: 16:[6, 15, 40], Operations: ['60-20=40'] Exploring Operation: 6*40=240, Resulting Numbers: [15, 240] Generated Node #3: [15, 240] from Operation: 6*40=240 Current State: 16:[15, 240], Operations: ['60-20=40', '6*40=240'] Exploring Operation: 240/15=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[6, 15, 20, 60], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [6, 15, 3] Generated Node #0,0: 16:[6, 15, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[6, 15, 3], Operations: ['60/20=3'] Exploring Operation: 6/3=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 16:[15, 2] Operation: 6/3=2 Moving to Node #0,0,0 Current State: 16:[15, 2], Operations: ['60/20=3', '6/3=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 59, 71, 75, 23 ]
78
[ "59+71=130", "75-23=52", "130-52=78" ]
Current State: 78:[59, 71, 75, 23], Operations: [] Exploring Operation: 59+71=130, Resulting Numbers: [75, 23, 130] Generated Node #2: [75, 23, 130] from Operation: 59+71=130 Current State: 78:[75, 23, 130], Operations: ['59+71=130'] Exploring Operation: 75-23=52, Resulting Numbers: [130, 52] Generated Node #3: [130, 52] from Operation: 75-23=52 Current State: 78:[130, 52], Operations: ['59+71=130', '75-23=52'] Exploring Operation: 130-52=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[59, 71, 75, 23], Operations: [] Exploring Operation: 71-59=12, Resulting Numbers: [75, 23, 12] Generated Node #0,0: 78:[75, 23, 12] Operation: 71-59=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[75, 23, 12], Operations: ['71-59=12'] Exploring Operation: 23-12=11, Resulting Numbers: [75, 11] Generated Node #0,0,0: 78:[75, 11] Operation: 23-12=11 Moving to Node #0,0,0 Current State: 78:[75, 11], Operations: ['71-59=12', '23-12=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 93, 9, 21, 51 ]
23
[ "93+9=102", "102/51=2", "21+2=23" ]
Current State: 23:[93, 9, 21, 51], Operations: [] Exploring Operation: 93+9=102, Resulting Numbers: [21, 51, 102] Generated Node #2: [21, 51, 102] from Operation: 93+9=102 Current State: 23:[21, 51, 102], Operations: ['93+9=102'] Exploring Operation: 102/51=2, Resulting Numbers: [21, 2] Generated Node #3: [21, 2] from Operation: 102/51=2 Current State: 23:[21, 2], Operations: ['93+9=102', '102/51=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[93, 9, 21, 51], Operations: [] Exploring Operation: 93-21=72, Resulting Numbers: [9, 51, 72] Generated Node #0,0: 23:[9, 51, 72] Operation: 93-21=72 Exploring Operation: 93-51=42, Resulting Numbers: [9, 21, 42] Generated Node #0,1: 23:[9, 21, 42] Operation: 93-51=42 Exploring Operation: 93-9=84, Resulting Numbers: [21, 51, 84] Generated Node #0,2: 23:[21, 51, 84] Operation: 93-9=84 Moving to Node #0,1 Current State: 23:[9, 21, 42], Operations: ['93-51=42'] Exploring Operation: 9+21=30, Resulting Numbers: [42, 30] Generated Node #0,1,0: 23:[42, 30] Operation: 9+21=30 Exploring Operation: 42-21=21, Resulting Numbers: [9, 21] Generated Node #0,1,1: 23:[9, 21] Operation: 42-21=21 Exploring Operation: 42-9=33, Resulting Numbers: [21, 33] Generated Node #0,1,2: 23:[21, 33] Operation: 42-9=33 Moving to Node #0,0 Current State: 23:[9, 51, 72], Operations: ['93-21=72'] Exploring Operation: 72/9=8, Resulting Numbers: [51, 8] Generated Node #0,0,0: 23:[51, 8] Operation: 72/9=8 Exploring Operation: 72-51=21, Resulting Numbers: [9, 21] Generated Node #0,0,1: 23:[9, 21] Operation: 72-51=21 Exploring Operation: 51-9=42, Resulting Numbers: [72, 42] Generated Node #0,0,2: 23:[72, 42] Operation: 51-9=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[9, 21], Operations: ['93-21=72', '72-51=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,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:[51, 8], Operations: ['93-21=72', '72/9=8'] Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,23 unequal: No Solution Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,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,2 Current State: 23:[72, 42], Operations: ['93-21=72', '51-9=42'] Exploring Operation: 72*42=3024, Resulting Numbers: [3024] 3024,23 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 72+42=114, Resulting Numbers: [114] 114,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:[21, 51, 84], Operations: ['93-9=84'] Exploring Operation: 51-21=30, Resulting Numbers: [84, 30] Generated Node #0,2,0: 23:[84, 30] Operation: 51-21=30 Exploring Operation: 84-51=33, Resulting Numbers: [21, 33] Generated Node #0,2,1: 23:[21, 33] Operation: 84-51=33 Exploring Operation: 84/21=4, Resulting Numbers: [51, 4] Generated Node #0,2,2: 23:[51, 4] Operation: 84/21=4 Moving to Node #0,1,2 Current State: 23:[21, 33], Operations: ['93-51=42', '42-9=33'] Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,23 unequal: No Solution Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[21, 33], Operations: ['93-9=84', '84-51=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[9, 21], Operations: ['93-51=42', '42-21=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[42, 30], Operations: ['93-51=42', '9+21=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[51, 4], Operations: ['93-9=84', '84/21=4'] Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,23 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[84, 30], Operations: ['93-9=84', '51-21=30'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,23 unequal: No Solution Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,23 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 27, 65, 31, 93 ]
41
[ "65-27=38", "93/31=3", "38+3=41" ]
Current State: 41:[27, 65, 31, 93], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [31, 93, 38] Generated Node #2: [31, 93, 38] from Operation: 65-27=38 Current State: 41:[31, 93, 38], Operations: ['65-27=38'] Exploring Operation: 93/31=3, Resulting Numbers: [38, 3] Generated Node #3: [38, 3] from Operation: 93/31=3 Current State: 41:[38, 3], Operations: ['65-27=38', '93/31=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[27, 65, 31, 93], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [31, 93, 38] Generated Node #0,0: 41:[31, 93, 38] Operation: 65-27=38 Exploring Operation: 93-31=62, Resulting Numbers: [27, 65, 62] Generated Node #0,1: 41:[27, 65, 62] Operation: 93-31=62 Exploring Operation: 93-65=28, Resulting Numbers: [27, 31, 28] Generated Node #0,2: 41:[27, 31, 28] Operation: 93-65=28 Exploring Operation: 93-27=66, Resulting Numbers: [65, 31, 66] Generated Node #0,3: 41:[65, 31, 66] Operation: 93-27=66 Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[27, 31, 28], Operations: ['93-65=28'] Exploring Operation: 27+28=55, Resulting Numbers: [31, 55] Generated Node #0,2,0: 41:[31, 55] Operation: 27+28=55 Exploring Operation: 31-27=4, Resulting Numbers: [28, 4] Generated Node #0,2,1: 41:[28, 4] Operation: 31-27=4 Exploring Operation: 31+28=59, Resulting Numbers: [27, 59] Generated Node #0,2,2: 41:[27, 59] Operation: 31+28=59 Exploring Operation: 27+31=58, Resulting Numbers: [28, 58] Generated Node #0,2,3: 41:[28, 58] Operation: 27+31=58 Moving to Node #0,2,0 Current State: 41:[31, 55], Operations: ['93-65=28', '27+28=55'] Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,41 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[28, 58], Operations: ['93-65=28', '27+31=58'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 28+58=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 28*58=1624, Resulting Numbers: [1624] 1624,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[27, 59], Operations: ['93-65=28', '31+28=59'] Exploring Operation: 27*59=1593, Resulting Numbers: [1593] 1593,41 unequal: No Solution Exploring Operation: 59-27=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 27+59=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[28, 4], Operations: ['93-65=28', '31-27=4'] Exploring Operation: 28+4=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 28*4=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[27, 65, 62], Operations: ['93-31=62'] Exploring Operation: 27+65=92, Resulting Numbers: [62, 92] Generated Node #0,1,0: 41:[62, 92] Operation: 27+65=92 Exploring Operation: 65-62=3, Resulting Numbers: [27, 3] Generated Node #0,1,1: 41:[27, 3] Operation: 65-62=3 Exploring Operation: 62-27=35, Resulting Numbers: [65, 35] Generated Node #0,1,2: 41:[65, 35] Operation: 62-27=35 Exploring Operation: 65-27=38, Resulting Numbers: [62, 38] Generated Node #0,1,3: 41:[62, 38] Operation: 65-27=38 Moving to Node #0,1,3 Current State: 41:[62, 38], Operations: ['93-31=62', '65-27=38'] Exploring Operation: 62+38=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 62*38=2356, Resulting Numbers: [2356] 2356,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[65, 35], Operations: ['93-31=62', '62-27=35'] Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,41 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[27, 3], Operations: ['93-31=62', '65-62=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[62, 92], Operations: ['93-31=62', '27+65=92'] Exploring Operation: 62+92=154, Resulting Numbers: [154] 154,41 unequal: No Solution Exploring Operation: 62*92=5704, Resulting Numbers: [5704] 5704,41 unequal: No Solution Exploring Operation: 92-62=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[65, 31, 66], Operations: ['93-27=66'] Exploring Operation: 66-31=35, Resulting Numbers: [65, 35] Generated Node #0,3,0: 41:[65, 35] Operation: 66-31=35 Exploring Operation: 66-65=1, Resulting Numbers: [31, 1] Generated Node #0,3,1: 41:[31, 1] Operation: 66-65=1 Exploring Operation: 65+31=96, Resulting Numbers: [66, 96] Generated Node #0,3,2: 41:[66, 96] Operation: 65+31=96 Exploring Operation: 65-31=34, Resulting Numbers: [66, 34] Generated Node #0,3,3: 41:[66, 34] Operation: 65-31=34 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[65, 35], Operations: ['93-27=66', '66-31=35'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[66, 34], Operations: ['93-27=66', '65-31=34'] Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,41 unequal: No Solution Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[31, 1], Operations: ['93-27=66', '66-65=1'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[66, 96], Operations: ['93-27=66', '65+31=96'] Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,41 unequal: No Solution Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,41 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[31, 93, 38], Operations: ['65-27=38'] Exploring Operation: 93/31=3, Resulting Numbers: [38, 3] Generated Node #0,0,0: 41:[38, 3] Operation: 93/31=3 Exploring Operation: 93-38=55, Resulting Numbers: [31, 55] Generated Node #0,0,1: 41:[31, 55] Operation: 93-38=55 Exploring Operation: 93-31=62, Resulting Numbers: [38, 62] Generated Node #0,0,2: 41:[38, 62] Operation: 93-31=62 Exploring Operation: 31+38=69, Resulting Numbers: [93, 69] Generated Node #0,0,3: 41:[93, 69] Operation: 31+38=69 Moving to Node #0,0,1 Current State: 41:[31, 55], Operations: ['65-27=38', '93-38=55'] Exploring Operation: 31+55=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 31*55=1705, Resulting Numbers: [1705] 1705,41 unequal: No Solution Exploring Operation: 55-31=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[38, 62], Operations: ['65-27=38', '93-31=62'] Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,41 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[38, 3], Operations: ['65-27=38', '93/31=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,41 unequal: No Solution Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[27, 65, 31, 93], Operations: [] Exploring Operation: 65-27=38, Resulting Numbers: [31, 93, 38] Generated Node #0,0: 41:[31, 93, 38] Operation: 65-27=38 Moving to Node #0,0 Current State: 41:[31, 93, 38], Operations: ['65-27=38'] Exploring Operation: 93/31=3, Resulting Numbers: [38, 3] Generated Node #0,0,0: 41:[38, 3] Operation: 93/31=3 Moving to Node #0,0,0 Current State: 41:[38, 3], Operations: ['65-27=38', '93/31=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_4
sum_heuristic
[ 46, 43, 45, 13 ]
61
[ "46-43=3", "45+13=58", "3+58=61" ]
Current State: 61:[46, 43, 45, 13], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [45, 13, 3] Generated Node #2: [45, 13, 3] from Operation: 46-43=3 Current State: 61:[45, 13, 3], Operations: ['46-43=3'] Exploring Operation: 45+13=58, Resulting Numbers: [3, 58] Generated Node #3: [3, 58] from Operation: 45+13=58 Current State: 61:[3, 58], Operations: ['46-43=3', '45+13=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[46, 43, 45, 13], Operations: [] Exploring Operation: 43-13=30, Resulting Numbers: [46, 45, 30] Generated Node #0,0: 61:[46, 45, 30] Operation: 43-13=30 Exploring Operation: 46+13=59, Resulting Numbers: [43, 45, 59] Generated Node #0,1: 61:[43, 45, 59] Operation: 46+13=59 Exploring Operation: 46-13=33, Resulting Numbers: [43, 45, 33] Generated Node #0,2: 61:[43, 45, 33] Operation: 46-13=33 Exploring Operation: 45+13=58, Resulting Numbers: [46, 43, 58] Generated Node #0,3: 61:[46, 43, 58] Operation: 45+13=58 Exploring Operation: 43+13=56, Resulting Numbers: [46, 45, 56] Generated Node #0,4: 61:[46, 45, 56] Operation: 43+13=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[43, 45, 59], Operations: ['46+13=59'] Exploring Operation: 45-43=2, Resulting Numbers: [59, 2] Generated Node #0,1,0: 61:[59, 2] Operation: 45-43=2 Exploring Operation: 59-43=16, Resulting Numbers: [45, 16] Generated Node #0,1,1: 61:[45, 16] Operation: 59-43=16 Exploring Operation: 43+59=102, Resulting Numbers: [45, 102] Generated Node #0,1,2: 61:[45, 102] Operation: 43+59=102 Exploring Operation: 45+59=104, Resulting Numbers: [43, 104] Generated Node #0,1,3: 61:[43, 104] Operation: 45+59=104 Exploring Operation: 43+45=88, Resulting Numbers: [59, 88] Generated Node #0,1,4: 61:[59, 88] Operation: 43+45=88 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 61:[59, 88], Operations: ['46+13=59', '43+45=88'] Exploring Operation: 59*88=5192, Resulting Numbers: [5192] 5192,61 unequal: No Solution Exploring Operation: 88-59=29, Resulting Numbers: [29] 29,61 unequal: No Solution Exploring Operation: 59+88=147, Resulting Numbers: [147] 147,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 61:[45, 102], Operations: ['46+13=59', '43+59=102'] Exploring Operation: 45*102=4590, Resulting Numbers: [4590] 4590,61 unequal: No Solution Exploring Operation: 45+102=147, Resulting Numbers: [147] 147,61 unequal: No Solution Exploring Operation: 102-45=57, Resulting Numbers: [57] 57,61 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[59, 2], Operations: ['46+13=59', '45-43=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,61 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[46, 43, 45, 13], Operations: [] Exploring Operation: 46+13=59, Resulting Numbers: [43, 45, 59] Generated Node #0,1: 61:[43, 45, 59] Operation: 46+13=59 Moving to Node #0,1 Current State: 61:[43, 45, 59], Operations: ['46+13=59'] Exploring Operation: 45-43=2, Resulting Numbers: [59, 2] Generated Node #0,1,0: 61:[59, 2] Operation: 45-43=2 Moving to Node #0,1,0 Current State: 61:[59, 2], Operations: ['46+13=59', '45-43=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 54, 30, 30, 60 ]
25
[ "60-54=6", "30/6=5", "30-5=25" ]
Current State: 25:[54, 30, 30, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [30, 30, 6] Generated Node #2: [30, 30, 6] from Operation: 60-54=6 Current State: 25:[30, 30, 6], Operations: ['60-54=6'] Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,25 equal: Goal Reached Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[54, 30, 30, 60], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [54, 30, 2] Generated Node #0,0: 25:[54, 30, 2] Operation: 60/30=2 Exploring Operation: 60/30=2, Resulting Numbers: [54, 30, 2] Generated Node #0,1: 25:[54, 30, 2] Operation: 60/30=2 Exploring Operation: 60-54=6, Resulting Numbers: [30, 30, 6] Generated Node #0,2: 25:[30, 30, 6] Operation: 60-54=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[30, 30, 6], Operations: ['60-54=6'] Exploring Operation: 30/6=5, Resulting Numbers: [30, 5] Generated Node #0,2,0: 25:[30, 5] Operation: 30/6=5 Exploring Operation: 30/30=1, Resulting Numbers: [6, 1] Generated Node #0,2,1: 25:[6, 1] Operation: 30/30=1 Exploring Operation: 30/6=5, Resulting Numbers: [30, 5] Generated Node #0,2,2: 25:[30, 5] Operation: 30/6=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[30, 5], Operations: ['60-54=6', '30/6=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[54, 30, 30, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [30, 30, 6] Generated Node #0,2: 25:[30, 30, 6] Operation: 60-54=6 Moving to Node #0,2 Current State: 25:[30, 30, 6], Operations: ['60-54=6'] Exploring Operation: 30/6=5, Resulting Numbers: [30, 5] Generated Node #0,2,0: 25:[30, 5] Operation: 30/6=5 Moving to Node #0,2,0 Current State: 25:[30, 5], Operations: ['60-54=6', '30/6=5'] Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 20, 90, 76, 46 ]
80
[ "20+90=110", "76-46=30", "110-30=80" ]
Current State: 80:[20, 90, 76, 46], Operations: [] Exploring Operation: 20+90=110, Resulting Numbers: [76, 46, 110] Generated Node #2: [76, 46, 110] from Operation: 20+90=110 Current State: 80:[76, 46, 110], Operations: ['20+90=110'] Exploring Operation: 76-46=30, Resulting Numbers: [110, 30] Generated Node #3: [110, 30] from Operation: 76-46=30 Current State: 80:[110, 30], Operations: ['20+90=110', '76-46=30'] Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[20, 90, 76, 46], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [76, 46, 70] Generated Node #0,0: 80:[76, 46, 70] Operation: 90-20=70 Exploring Operation: 90-76=14, Resulting Numbers: [20, 46, 14] Generated Node #0,1: 80:[20, 46, 14] Operation: 90-76=14 Exploring Operation: 46-20=26, Resulting Numbers: [90, 76, 26] Generated Node #0,2: 80:[90, 76, 26] Operation: 46-20=26 Exploring Operation: 90-46=44, Resulting Numbers: [20, 76, 44] Generated Node #0,3: 80:[20, 76, 44] Operation: 90-46=44 Moving to Node #0,1 Current State: 80:[20, 46, 14], Operations: ['90-76=14'] Exploring Operation: 46-14=32, Resulting Numbers: [20, 32] Generated Node #0,1,0: 80:[20, 32] Operation: 46-14=32 Exploring Operation: 46-20=26, Resulting Numbers: [14, 26] Generated Node #0,1,1: 80:[14, 26] Operation: 46-20=26 Exploring Operation: 20-14=6, Resulting Numbers: [46, 6] Generated Node #0,1,2: 80:[46, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [46, 34] Generated Node #0,1,3: 80:[46, 34] Operation: 20+14=34 Moving to Node #0,3 Current State: 80:[20, 76, 44], Operations: ['90-46=44'] Exploring Operation: 76-20=56, Resulting Numbers: [44, 56] Generated Node #0,3,0: 80:[44, 56] Operation: 76-20=56 Exploring Operation: 76-44=32, Resulting Numbers: [20, 32] Generated Node #0,3,1: 80:[20, 32] Operation: 76-44=32 Exploring Operation: 20+76=96, Resulting Numbers: [44, 96] Generated Node #0,3,2: 80:[44, 96] Operation: 20+76=96 Exploring Operation: 44-20=24, Resulting Numbers: [76, 24] Generated Node #0,3,3: 80:[76, 24] Operation: 44-20=24 Moving to Node #0,2 Current State: 80:[90, 76, 26], Operations: ['46-20=26'] Exploring Operation: 90-76=14, Resulting Numbers: [26, 14] Generated Node #0,2,0: 80:[26, 14] Operation: 90-76=14 Exploring Operation: 90-26=64, Resulting Numbers: [76, 64] Generated Node #0,2,1: 80:[76, 64] Operation: 90-26=64 Exploring Operation: 76-26=50, Resulting Numbers: [90, 50] Generated Node #0,2,2: 80:[90, 50] Operation: 76-26=50 Exploring Operation: 76+26=102, Resulting Numbers: [90, 102] Generated Node #0,2,3: 80:[90, 102] Operation: 76+26=102 Moving to Node #0,0 Current State: 80:[76, 46, 70], Operations: ['90-20=70'] Exploring Operation: 76-70=6, Resulting Numbers: [46, 6] Generated Node #0,0,0: 80:[46, 6] Operation: 76-70=6 Exploring Operation: 70-46=24, Resulting Numbers: [76, 24] Generated Node #0,0,1: 80:[76, 24] Operation: 70-46=24 Exploring Operation: 46+70=116, Resulting Numbers: [76, 116] Generated Node #0,0,2: 80:[76, 116] Operation: 46+70=116 Exploring Operation: 76-46=30, Resulting Numbers: [70, 30] Generated Node #0,0,3: 80:[70, 30] Operation: 76-46=30 Moving to Node #0,1,2 Current State: 80:[46, 6], Operations: ['90-76=14', '20-14=6'] Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,80 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[46, 6], Operations: ['90-20=70', '76-70=6'] Exploring Operation: 46+6=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 46*6=276, Resulting Numbers: [276] 276,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[76, 24], Operations: ['90-20=70', '70-46=24'] Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,80 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[14, 26], Operations: ['90-76=14', '46-20=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,80 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[76, 24], Operations: ['90-46=44', '44-20=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,80 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[20, 32], Operations: ['90-76=14', '46-14=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[20, 32], Operations: ['90-46=44', '76-44=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,80 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,80 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[26, 14], Operations: ['46-20=26', '90-76=14'] Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,80 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,80 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[46, 34], Operations: ['90-76=14', '20+14=34'] Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,80 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[20, 90, 76, 46], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [20, 46, 14] Generated Node #0,1: 80:[20, 46, 14] Operation: 90-76=14 Moving to Node #0,1 Current State: 80:[20, 46, 14], Operations: ['90-76=14'] Exploring Operation: 20+14=34, Resulting Numbers: [46, 34] Generated Node #0,1,3: 80:[46, 34] Operation: 20+14=34 Moving to Node #0,1,3 Current State: 80:[46, 34], Operations: ['90-76=14', '20+14=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 92, 26, 90, 7 ]
38
[ "92-90=2", "26-7=19", "2*19=38" ]
Current State: 38:[92, 26, 90, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [26, 7, 2] Generated Node #2: [26, 7, 2] from Operation: 92-90=2 Current State: 38:[26, 7, 2], Operations: ['92-90=2'] Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #3: [2, 19] from Operation: 26-7=19 Current State: 38:[2, 19], Operations: ['92-90=2', '26-7=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[92, 26, 90, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [26, 7, 2] Generated Node #0,0: 38:[26, 7, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 7, 2], Operations: ['92-90=2'] Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 38:[2, 19] Operation: 26-7=19 Moving to Node #0,0,0 Current State: 38:[2, 19], Operations: ['92-90=2', '26-7=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[92, 26, 90, 7], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [26, 7, 2] Generated Node #0,0: 38:[26, 7, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 38:[26, 7, 2], Operations: ['92-90=2'] Exploring Operation: 26-7=19, Resulting Numbers: [2, 19] Generated Node #0,0,0: 38:[2, 19] Operation: 26-7=19 Moving to Node #0,0,0 Current State: 38:[2, 19], Operations: ['92-90=2', '26-7=19'] Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 42, 4, 81, 59 ]
97
[ "81-42=39", "4*39=156", "156-59=97" ]
Current State: 97:[42, 4, 81, 59], Operations: [] Exploring Operation: 81-42=39, Resulting Numbers: [4, 59, 39] Generated Node #2: [4, 59, 39] from Operation: 81-42=39 Current State: 97:[4, 59, 39], Operations: ['81-42=39'] Exploring Operation: 4*39=156, Resulting Numbers: [59, 156] Generated Node #3: [59, 156] from Operation: 4*39=156 Current State: 97:[59, 156], Operations: ['81-42=39', '4*39=156'] Exploring Operation: 156-59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[42, 4, 81, 59], Operations: [] Exploring Operation: 4+81=85, Resulting Numbers: [42, 59, 85] Generated Node #0,0: 97:[42, 59, 85] Operation: 4+81=85 Exploring Operation: 42+4=46, Resulting Numbers: [81, 59, 46] Generated Node #0,1: 97:[81, 59, 46] Operation: 42+4=46 Moving to Node #0,0 Current State: 97:[42, 59, 85], Operations: ['4+81=85'] Exploring Operation: 42+59=101, Resulting Numbers: [85, 101] Generated Node #0,0,0: 97:[85, 101] Operation: 42+59=101 Exploring Operation: 42+85=127, Resulting Numbers: [59, 127] Generated Node #0,0,1: 97:[59, 127] Operation: 42+85=127 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[85, 101], Operations: ['4+81=85', '42+59=101'] Exploring Operation: 101-85=16, Resulting Numbers: [16] 16,97 unequal: No Solution Exploring Operation: 85+101=186, Resulting Numbers: [186] 186,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, 127], Operations: ['4+81=85', '42+85=127'] Exploring Operation: 59+127=186, Resulting Numbers: [186] 186,97 unequal: No Solution Exploring Operation: 127-59=68, Resulting Numbers: [68] 68,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[81, 59, 46], Operations: ['42+4=46'] Exploring Operation: 81+46=127, Resulting Numbers: [59, 127] Generated Node #0,1,0: 97:[59, 127] Operation: 81+46=127 Exploring Operation: 59+46=105, Resulting Numbers: [81, 105] Generated Node #0,1,1: 97:[81, 105] Operation: 59+46=105 Moving to Node #0,1,1 Current State: 97:[81, 105], Operations: ['42+4=46', '59+46=105'] Exploring Operation: 105-81=24, Resulting Numbers: [24] 24,97 unequal: No Solution Exploring Operation: 81+105=186, Resulting Numbers: [186] 186,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[59, 127], Operations: ['42+4=46', '81+46=127'] Exploring Operation: 127-59=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 59+127=186, Resulting Numbers: [186] 186,97 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 25, 8, 33, 9 ]
80
[ "33-25=8", "8*9=72", "8+72=80" ]
Current State: 80:[25, 8, 33, 9], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [8, 9, 8] Generated Node #2: [8, 9, 8] from Operation: 33-25=8 Current State: 80:[8, 9, 8], Operations: ['33-25=8'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,80 equal: Goal Reached Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[25, 8, 33, 9], Operations: [] Exploring Operation: 25-9=16, Resulting Numbers: [8, 33, 16] Generated Node #0,0: 80:[8, 33, 16] Operation: 25-9=16 Exploring Operation: 25-8=17, Resulting Numbers: [33, 9, 17] Generated Node #0,1: 80:[33, 9, 17] Operation: 25-8=17 Exploring Operation: 8+33=41, Resulting Numbers: [25, 9, 41] Generated Node #0,2: 80:[25, 9, 41] Operation: 8+33=41 Exploring Operation: 33-25=8, Resulting Numbers: [8, 9, 8] Generated Node #0,3: 80:[8, 9, 8] Operation: 33-25=8 Exploring Operation: 33+9=42, Resulting Numbers: [25, 8, 42] Generated Node #0,4: 80:[25, 8, 42] Operation: 33+9=42 Moving to Node #0,3 Current State: 80:[8, 9, 8], Operations: ['33-25=8'] Exploring Operation: 8+9=17, Resulting Numbers: [8, 17] Generated Node #0,3,0: 80:[8, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [8, 1] Generated Node #0,3,1: 80:[8, 1] Operation: 9-8=1 Exploring Operation: 9-8=1, Resulting Numbers: [8, 1] Generated Node #0,3,2: 80:[8, 1] Operation: 9-8=1 Exploring Operation: 8+8=16, Resulting Numbers: [9, 16] Generated Node #0,3,3: 80:[9, 16] Operation: 8+8=16 Exploring Operation: 9+8=17, Resulting Numbers: [8, 17] Generated Node #0,3,4: 80:[8, 17] Operation: 9+8=17 Moving to Node #0,2 Current State: 80:[25, 9, 41], Operations: ['8+33=41'] Exploring Operation: 25+41=66, Resulting Numbers: [9, 66] Generated Node #0,2,0: 80:[9, 66] Operation: 25+41=66 Exploring Operation: 25+9=34, Resulting Numbers: [41, 34] Generated Node #0,2,1: 80:[41, 34] Operation: 25+9=34 Exploring Operation: 41-25=16, Resulting Numbers: [9, 16] Generated Node #0,2,2: 80:[9, 16] Operation: 41-25=16 Exploring Operation: 41-9=32, Resulting Numbers: [25, 32] Generated Node #0,2,3: 80:[25, 32] Operation: 41-9=32 Exploring Operation: 25-9=16, Resulting Numbers: [41, 16] Generated Node #0,2,4: 80:[41, 16] Operation: 25-9=16 Moving to Node #0,0 Current State: 80:[8, 33, 16], Operations: ['25-9=16'] Exploring Operation: 8+33=41, Resulting Numbers: [16, 41] Generated Node #0,0,0: 80:[16, 41] Operation: 8+33=41 Exploring Operation: 16-8=8, Resulting Numbers: [33, 8] Generated Node #0,0,1: 80:[33, 8] Operation: 16-8=8 Exploring Operation: 33-16=17, Resulting Numbers: [8, 17] Generated Node #0,0,2: 80:[8, 17] Operation: 33-16=17 Exploring Operation: 16/8=2, Resulting Numbers: [33, 2] Generated Node #0,0,3: 80:[33, 2] Operation: 16/8=2 Exploring Operation: 33-8=25, Resulting Numbers: [16, 25] Generated Node #0,0,4: 80:[16, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 80:[16, 41], Operations: ['25-9=16', '8+33=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,80 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 80:[8, 17], Operations: ['25-9=16', '33-16=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 80:[16, 25], Operations: ['25-9=16', '33-8=25'] Exploring Operation: 16*25=400, Resulting Numbers: [400] 400,80 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 16+25=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 80:[33, 8], Operations: ['25-9=16', '16-8=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 80:[33, 2], Operations: ['25-9=16', '16/8=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,80 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,80 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,80 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: 80:[25, 8, 42], Operations: ['33+9=42'] Exploring Operation: 25+8=33, Resulting Numbers: [42, 33] Generated Node #0,4,0: 80:[42, 33] Operation: 25+8=33 Exploring Operation: 25-8=17, Resulting Numbers: [42, 17] Generated Node #0,4,1: 80:[42, 17] Operation: 25-8=17 Exploring Operation: 25+42=67, Resulting Numbers: [8, 67] Generated Node #0,4,2: 80:[8, 67] Operation: 25+42=67 Exploring Operation: 42-8=34, Resulting Numbers: [25, 34] Generated Node #0,4,3: 80:[25, 34] Operation: 42-8=34 Exploring Operation: 42-25=17, Resulting Numbers: [8, 17] Generated Node #0,4,4: 80:[8, 17] Operation: 42-25=17 Moving to Node #0,1 Current State: 80:[33, 9, 17], Operations: ['25-8=17'] Exploring Operation: 17-9=8, Resulting Numbers: [33, 8] Generated Node #0,1,0: 80:[33, 8] Operation: 17-9=8 Exploring Operation: 33+17=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 80:[9, 50] Operation: 33+17=50 Exploring Operation: 33-17=16, Resulting Numbers: [9, 16] Generated Node #0,1,2: 80:[9, 16] Operation: 33-17=16 Exploring Operation: 33-9=24, Resulting Numbers: [17, 24] Generated Node #0,1,3: 80:[17, 24] Operation: 33-9=24 Exploring Operation: 33+9=42, Resulting Numbers: [17, 42] Generated Node #0,1,4: 80:[17, 42] Operation: 33+9=42 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[9, 16], Operations: ['25-8=17', '33-17=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,80 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 80:[17, 42], Operations: ['25-8=17', '33+9=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,80 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 80:[17, 24], Operations: ['25-8=17', '33-9=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,80 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[33, 8], Operations: ['25-8=17', '17-9=8'] Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,80 unequal: No Solution Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[9, 50], Operations: ['25-8=17', '33+17=50'] Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,80 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 80:[8, 17], Operations: ['33-25=8', '8+9=17'] Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[8, 1], Operations: ['33-25=8', '9-8=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[41, 16], Operations: ['8+33=41', '25-9=16'] Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,80 unequal: No Solution Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[9, 16], Operations: ['8+33=41', '41-25=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,80 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[8, 1], Operations: ['33-25=8', '9-8=1'] Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[8, 17], Operations: ['33-25=8', '9+8=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,80 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,4,4 Current State: 80:[8, 17], Operations: ['33+9=42', '42-25=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[9, 16], Operations: ['33-25=8', '8+8=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[42, 17], Operations: ['33+9=42', '25-8=17'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[41, 34], Operations: ['8+33=41', '25+9=34'] Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,80 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[42, 33], Operations: ['33+9=42', '25+8=33'] Exploring Operation: 42+33=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 42-33=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 42*33=1386, Resulting Numbers: [1386] 1386,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[25, 34], Operations: ['33+9=42', '42-8=34'] Exploring Operation: 25*34=850, Resulting Numbers: [850] 850,80 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 25+34=59, Resulting Numbers: [59] 59,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[25, 32], Operations: ['8+33=41', '41-9=32'] Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,80 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,80 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[8, 67], Operations: ['33+9=42', '25+42=67'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 8+67=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 8*67=536, Resulting Numbers: [536] 536,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[9, 66], Operations: ['8+33=41', '25+41=66'] Exploring Operation: 9+66=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 9*66=594, Resulting Numbers: [594] 594,80 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,80 unequal: No Solution No solution found.
0
hs_5
mult_heuristic