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
[ 28, 98, 22, 3 ]
64
[ "28+98=126", "126/3=42", "22+42=64" ]
Current State: 64:[28, 98, 22, 3], Operations: [] Exploring Operation: 28+98=126, Resulting Numbers: [22, 3, 126] Generated Node #2: [22, 3, 126] from Operation: 28+98=126 Current State: 64:[22, 3, 126], Operations: ['28+98=126'] Exploring Operation: 126/3=42, Resulting Numbers: [22, 42] Generated Node #3: [22, 42] from Operation: 126/3=42 Current State: 64:[22, 42], Operations: ['28+98=126', '126/3=42'] Exploring Operation: 22+42=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[28, 98, 22, 3], Operations: [] Exploring Operation: 22*3=66, Resulting Numbers: [28, 98, 66] Generated Node #0,0: 64:[28, 98, 66] Operation: 22*3=66 Exploring Operation: 98-28=70, Resulting Numbers: [22, 3, 70] Generated Node #0,1: 64:[22, 3, 70] Operation: 98-28=70 Exploring Operation: 28-22=6, Resulting Numbers: [98, 3, 6] Generated Node #0,2: 64:[98, 3, 6] Operation: 28-22=6 Exploring Operation: 98-22=76, Resulting Numbers: [28, 3, 76] Generated Node #0,3: 64:[28, 3, 76] Operation: 98-22=76 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[22, 3, 70], Operations: ['98-28=70'] Exploring Operation: 22+3=25, Resulting Numbers: [70, 25] Generated Node #0,1,0: 64:[70, 25] Operation: 22+3=25 Exploring Operation: 22*3=66, Resulting Numbers: [70, 66] Generated Node #0,1,1: 64:[70, 66] Operation: 22*3=66 Exploring Operation: 70-3=67, Resulting Numbers: [22, 67] Generated Node #0,1,2: 64:[22, 67] Operation: 70-3=67 Exploring Operation: 22-3=19, Resulting Numbers: [70, 19] Generated Node #0,1,3: 64:[70, 19] Operation: 22-3=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[70, 66], Operations: ['98-28=70', '22*3=66'] Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 70+66=136, Resulting Numbers: [136] 136,64 unequal: No Solution Exploring Operation: 70*66=4620, Resulting Numbers: [4620] 4620,64 unequal: No Solution No 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: 64:[22, 67], Operations: ['98-28=70', '70-3=67'] Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,64 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,64 unequal: No Solution No 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: 64:[70, 19], Operations: ['98-28=70', '22-3=19'] Exploring Operation: 70*19=1330, Resulting Numbers: [1330] 1330,64 unequal: No Solution Exploring Operation: 70+19=89, Resulting Numbers: [89] 89,64 unequal: No Solution Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,64 unequal: No Solution No 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: 64:[70, 25], Operations: ['98-28=70', '22+3=25'] Exploring Operation: 70*25=1750, Resulting Numbers: [1750] 1750,64 unequal: No Solution Exploring Operation: 70-25=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,64 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: 64:[28, 3, 76], Operations: ['98-22=76'] Exploring Operation: 28-3=25, Resulting Numbers: [76, 25] Generated Node #0,3,0: 64:[76, 25] Operation: 28-3=25 Exploring Operation: 76-3=73, Resulting Numbers: [28, 73] Generated Node #0,3,1: 64:[28, 73] Operation: 76-3=73 Exploring Operation: 28+3=31, Resulting Numbers: [76, 31] Generated Node #0,3,2: 64:[76, 31] Operation: 28+3=31 Exploring Operation: 76-28=48, Resulting Numbers: [3, 48] Generated Node #0,3,3: 64:[3, 48] Operation: 76-28=48 Moving to Node #0,3,1 Current State: 64:[28, 73], Operations: ['98-22=76', '76-3=73'] Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,64 unequal: No Solution Moving to Node #0,3,2 Current State: 64:[76, 31], Operations: ['98-22=76', '28+3=31'] Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,64 unequal: No Solution Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[3, 48], Operations: ['98-22=76', '76-28=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[76, 25], Operations: ['98-22=76', '28-3=25'] Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,64 unequal: No Solution Exploring Operation: 76*25=1900, Resulting Numbers: [1900] 1900,64 unequal: No Solution Exploring Operation: 76+25=101, Resulting Numbers: [101] 101,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[98, 3, 6], Operations: ['28-22=6'] Exploring Operation: 98-6=92, Resulting Numbers: [3, 92] Generated Node #0,2,0: 64:[3, 92] Operation: 98-6=92 Exploring Operation: 98-3=95, Resulting Numbers: [6, 95] Generated Node #0,2,1: 64:[6, 95] Operation: 98-3=95 Exploring Operation: 6/3=2, Resulting Numbers: [98, 2] Generated Node #0,2,2: 64:[98, 2] Operation: 6/3=2 Exploring Operation: 3+6=9, Resulting Numbers: [98, 9] Generated Node #0,2,3: 64:[98, 9] Operation: 3+6=9 Moving to Node #0,2,0 Current State: 64:[3, 92], Operations: ['28-22=6', '98-6=92'] Exploring Operation: 3+92=95, Resulting Numbers: [95] 95,64 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,64 unequal: No Solution Exploring Operation: 3*92=276, Resulting Numbers: [276] 276,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[6, 95], Operations: ['28-22=6', '98-3=95'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,64 unequal: No Solution Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[98, 2], Operations: ['28-22=6', '6/3=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,64 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,64 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,64 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[98, 9], Operations: ['28-22=6', '3+6=9'] Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,64 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[28, 98, 66], Operations: ['22*3=66'] Exploring Operation: 66-28=38, Resulting Numbers: [98, 38] Generated Node #0,0,0: 64:[98, 38] Operation: 66-28=38 Exploring Operation: 98-66=32, Resulting Numbers: [28, 32] Generated Node #0,0,1: 64:[28, 32] Operation: 98-66=32 Exploring Operation: 28+98=126, Resulting Numbers: [66, 126] Generated Node #0,0,2: 64:[66, 126] Operation: 28+98=126 Exploring Operation: 98-28=70, Resulting Numbers: [66, 70] Generated Node #0,0,3: 64:[66, 70] Operation: 98-28=70 Moving to Node #0,0,1 Current State: 64:[28, 32], Operations: ['22*3=66', '98-66=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 28*32=896, Resulting Numbers: [896] 896,64 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[66, 70], Operations: ['22*3=66', '98-28=70'] Exploring Operation: 66+70=136, Resulting Numbers: [136] 136,64 unequal: No Solution Exploring Operation: 66*70=4620, Resulting Numbers: [4620] 4620,64 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[98, 38], Operations: ['22*3=66', '66-28=38'] Exploring Operation: 98+38=136, Resulting Numbers: [136] 136,64 unequal: No Solution Exploring Operation: 98*38=3724, Resulting Numbers: [3724] 3724,64 unequal: No Solution Exploring Operation: 98-38=60, Resulting Numbers: [60] 60,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[66, 126], Operations: ['22*3=66', '28+98=126'] Exploring Operation: 66*126=8316, Resulting Numbers: [8316] 8316,64 unequal: No Solution Exploring Operation: 126-66=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 66+126=192, Resulting Numbers: [192] 192,64 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
[ 40, 44, 12, 66 ]
72
[ "40*66=2640", "2640/44=60", "12+60=72" ]
Current State: 72:[40, 44, 12, 66], Operations: [] Exploring Operation: 40*66=2640, Resulting Numbers: [44, 12, 2640] Generated Node #2: [44, 12, 2640] from Operation: 40*66=2640 Current State: 72:[44, 12, 2640], Operations: ['40*66=2640'] Exploring Operation: 2640/44=60, Resulting Numbers: [12, 60] Generated Node #3: [12, 60] from Operation: 2640/44=60 Current State: 72:[12, 60], Operations: ['40*66=2640', '2640/44=60'] Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[40, 44, 12, 66], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [12, 66, 4] Generated Node #0,0: 72:[12, 66, 4] Operation: 44-40=4 Exploring Operation: 66-44=22, Resulting Numbers: [40, 12, 22] Generated Node #0,1: 72:[40, 12, 22] Operation: 66-44=22 Moving to Node #0,0 Current State: 72:[12, 66, 4], Operations: ['44-40=4'] Exploring Operation: 66+4=70, Resulting Numbers: [12, 70] Generated Node #0,0,0: 72:[12, 70] Operation: 66+4=70 Exploring Operation: 12+66=78, Resulting Numbers: [4, 78] Generated Node #0,0,1: 72:[4, 78] Operation: 12+66=78 Moving to Node #0,1 Current State: 72:[40, 12, 22], Operations: ['66-44=22'] Exploring Operation: 40-22=18, Resulting Numbers: [12, 18] Generated Node #0,1,0: 72:[12, 18] Operation: 40-22=18 Exploring Operation: 22-12=10, Resulting Numbers: [40, 10] Generated Node #0,1,1: 72:[40, 10] Operation: 22-12=10 Moving to Node #0,1,0 Current State: 72:[12, 18], Operations: ['66-44=22', '40-22=18'] Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[12, 70], Operations: ['44-40=4', '66+4=70'] Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,72 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[40, 10], Operations: ['66-44=22', '22-12=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,72 unequal: No Solution Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[4, 78], Operations: ['44-40=4', '12+66=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,72 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 72, 72, 54 ]
32
[ "8*72=576", "72-54=18", "576/18=32" ]
Current State: 32:[8, 72, 72, 54], Operations: [] Exploring Operation: 8*72=576, Resulting Numbers: [54, 576] Generated Node #2: [54, 576] from Operation: 8*72=576 Current State: 32:[54, 576], Operations: ['8*72=576'] Exploring Operation: 72-54=18, Resulting Numbers: [576, 18] Generated Node #3: [576, 18] from Operation: 72-54=18 Current State: 32:[576, 18], Operations: ['8*72=576', '72-54=18'] Exploring Operation: 576/18=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[8, 72, 72, 54], Operations: [] Exploring Operation: 72-72=0, Resulting Numbers: [8, 54, 0] Generated Node #0,0: 32:[8, 54, 0] Operation: 72-72=0 Exploring Operation: 72/72=1, Resulting Numbers: [8, 54, 1] Generated Node #0,1: 32:[8, 54, 1] Operation: 72/72=1 Exploring Operation: 72-54=18, Resulting Numbers: [8, 72, 18] Generated Node #0,2: 32:[8, 72, 18] Operation: 72-54=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[8, 54, 1], Operations: ['72/72=1'] Exploring Operation: 54-1=53, Resulting Numbers: [8, 53] Generated Node #0,1,0: 32:[8, 53] Operation: 54-1=53 Exploring Operation: 8*1=8, Resulting Numbers: [54, 8] Generated Node #0,1,1: 32:[54, 8] Operation: 8*1=8 Exploring Operation: 54-8=46, Resulting Numbers: [1, 46] Generated Node #0,1,2: 32:[1, 46] Operation: 54-8=46 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[1, 46], Operations: ['72/72=1', '54-8=46'] Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[8, 53], Operations: ['72/72=1', '54-1=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,32 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,32 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[54, 8], Operations: ['72/72=1', '8*1=8'] Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,32 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[8, 54, 0], Operations: ['72-72=0'] Exploring Operation: 54-8=46, Resulting Numbers: [0, 46] Generated Node #0,0,0: 32:[0, 46] Operation: 54-8=46 Exploring Operation: 8+0=8, Resulting Numbers: [54, 8] Generated Node #0,0,1: 32:[54, 8] Operation: 8+0=8 Exploring Operation: 54*0=0, Resulting Numbers: [8, 0] Generated Node #0,0,2: 32:[8, 0] Operation: 54*0=0 Moving to Node #0,0,2 Current State: 32:[8, 0], Operations: ['72-72=0', '54*0=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[0, 46], Operations: ['72-72=0', '54-8=46'] Exploring Operation: 0+46=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 0*46=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 46-0=46, Resulting Numbers: [46] 46,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[54, 8], Operations: ['72-72=0', '8+0=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,32 unequal: No Solution Exploring Operation: 54*8=432, Resulting Numbers: [432] 432,32 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[8, 72, 18], Operations: ['72-54=18'] Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 32:[8, 4] Operation: 72/18=4 Exploring Operation: 72/8=9, Resulting Numbers: [18, 9] Generated Node #0,2,1: 32:[18, 9] Operation: 72/8=9 Exploring Operation: 72-18=54, Resulting Numbers: [8, 54] Generated Node #0,2,2: 32:[8, 54] Operation: 72-18=54 Moving to Node #0,2,0 Current State: 32:[8, 4], Operations: ['72-54=18', '72/18=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[8, 72, 72, 54], Operations: [] Exploring Operation: 72-54=18, Resulting Numbers: [8, 72, 18] Generated Node #0,2: 32:[8, 72, 18] Operation: 72-54=18 Moving to Node #0,2 Current State: 32:[8, 72, 18], Operations: ['72-54=18'] Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 32:[8, 4] Operation: 72/18=4 Moving to Node #0,2,0 Current State: 32:[8, 4], Operations: ['72-54=18', '72/18=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
mult_heuristic
[ 35, 1, 17, 85 ]
83
[ "35-1=34", "34/17=2", "85-2=83" ]
Current State: 83:[35, 1, 17, 85], Operations: [] Exploring Operation: 35-1=34, Resulting Numbers: [17, 85, 34] Generated Node #2: [17, 85, 34] from Operation: 35-1=34 Current State: 83:[17, 85, 34], Operations: ['35-1=34'] Exploring Operation: 34/17=2, Resulting Numbers: [85, 2] Generated Node #3: [85, 2] from Operation: 34/17=2 Current State: 83:[85, 2], Operations: ['35-1=34', '34/17=2'] Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[35, 1, 17, 85], Operations: [] Exploring Operation: 1+17=18, Resulting Numbers: [35, 85, 18] Generated Node #0,0: 83:[35, 85, 18] Operation: 1+17=18 Exploring Operation: 35+1=36, Resulting Numbers: [17, 85, 36] Generated Node #0,1: 83:[17, 85, 36] Operation: 35+1=36 Exploring Operation: 35*1=35, Resulting Numbers: [17, 85, 35] Generated Node #0,2: 83:[17, 85, 35] Operation: 35*1=35 Exploring Operation: 85-1=84, Resulting Numbers: [35, 17, 84] Generated Node #0,3: 83:[35, 17, 84] Operation: 85-1=84 Exploring Operation: 35+17=52, Resulting Numbers: [1, 85, 52] Generated Node #0,4: 83:[1, 85, 52] Operation: 35+17=52 Moving to Node #0,0 Current State: 83:[35, 85, 18], Operations: ['1+17=18'] Exploring Operation: 85-35=50, Resulting Numbers: [18, 50] Generated Node #0,0,0: 83:[18, 50] Operation: 85-35=50 Exploring Operation: 85-18=67, Resulting Numbers: [35, 67] Generated Node #0,0,1: 83:[35, 67] Operation: 85-18=67 Exploring Operation: 35-18=17, Resulting Numbers: [85, 17] Generated Node #0,0,2: 83:[85, 17] Operation: 35-18=17 Exploring Operation: 85+18=103, Resulting Numbers: [35, 103] Generated Node #0,0,3: 83:[35, 103] Operation: 85+18=103 Exploring Operation: 35+18=53, Resulting Numbers: [85, 53] Generated Node #0,0,4: 83:[85, 53] Operation: 35+18=53 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 83:[85, 53], Operations: ['1+17=18', '35+18=53'] Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,83 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[35, 67], Operations: ['1+17=18', '85-18=67'] Exploring Operation: 35+67=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 35*67=2345, Resulting Numbers: [2345] 2345,83 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[85, 17], Operations: ['1+17=18', '35-18=17'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,83 unequal: No Solution Exploring Operation: 85*17=1445, Resulting Numbers: [1445] 1445,83 unequal: No Solution Exploring Operation: 85+17=102, Resulting Numbers: [102] 102,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 83:[35, 103], Operations: ['1+17=18', '85+18=103'] Exploring Operation: 35+103=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 103-35=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 35*103=3605, Resulting Numbers: [3605] 3605,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[18, 50], Operations: ['1+17=18', '85-35=50'] Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,83 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,83 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: 83:[35, 17, 84], Operations: ['85-1=84'] Exploring Operation: 84-35=49, Resulting Numbers: [17, 49] Generated Node #0,3,0: 83:[17, 49] Operation: 84-35=49 Exploring Operation: 84-17=67, Resulting Numbers: [35, 67] Generated Node #0,3,1: 83:[35, 67] Operation: 84-17=67 Exploring Operation: 35-17=18, Resulting Numbers: [84, 18] Generated Node #0,3,2: 83:[84, 18] Operation: 35-17=18 Exploring Operation: 35+17=52, Resulting Numbers: [84, 52] Generated Node #0,3,3: 83:[84, 52] Operation: 35+17=52 Exploring Operation: 17+84=101, Resulting Numbers: [35, 101] Generated Node #0,3,4: 83:[35, 101] Operation: 17+84=101 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 83:[84, 52], Operations: ['85-1=84', '35+17=52'] Exploring Operation: 84*52=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 84+52=136, Resulting Numbers: [136] 136,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[35, 67], Operations: ['85-1=84', '84-17=67'] Exploring Operation: 35*67=2345, Resulting Numbers: [2345] 2345,83 unequal: No Solution Exploring Operation: 35+67=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 83:[84, 18], Operations: ['85-1=84', '35-17=18'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 84+18=102, Resulting Numbers: [102] 102,83 unequal: No Solution Exploring Operation: 84*18=1512, Resulting Numbers: [1512] 1512,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 83:[35, 101], Operations: ['85-1=84', '17+84=101'] Exploring Operation: 35+101=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 101-35=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 35*101=3535, Resulting Numbers: [3535] 3535,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 83:[17, 49], Operations: ['85-1=84', '84-35=49'] Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,83 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,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:[17, 85, 36], Operations: ['35+1=36'] Exploring Operation: 85-36=49, Resulting Numbers: [17, 49] Generated Node #0,1,0: 83:[17, 49] Operation: 85-36=49 Exploring Operation: 17+85=102, Resulting Numbers: [36, 102] Generated Node #0,1,1: 83:[36, 102] Operation: 17+85=102 Exploring Operation: 17+36=53, Resulting Numbers: [85, 53] Generated Node #0,1,2: 83:[85, 53] Operation: 17+36=53 Exploring Operation: 85-17=68, Resulting Numbers: [36, 68] Generated Node #0,1,3: 83:[36, 68] Operation: 85-17=68 Exploring Operation: 36-17=19, Resulting Numbers: [85, 19] Generated Node #0,1,4: 83:[85, 19] Operation: 36-17=19 Moving to Node #0,4 Current State: 83:[1, 85, 52], Operations: ['35+17=52'] Exploring Operation: 85-1=84, Resulting Numbers: [52, 84] Generated Node #0,4,0: 83:[52, 84] Operation: 85-1=84 Exploring Operation: 85/1=85, Resulting Numbers: [52, 85] Generated Node #0,4,1: 83:[52, 85] Operation: 85/1=85 Exploring Operation: 1*52=52, Resulting Numbers: [85, 52] Generated Node #0,4,2: 83:[85, 52] Operation: 1*52=52 Exploring Operation: 1+52=53, Resulting Numbers: [85, 53] Generated Node #0,4,3: 83:[85, 53] Operation: 1+52=53 Exploring Operation: 1*85=85, Resulting Numbers: [52, 85] Generated Node #0,4,4: 83:[52, 85] Operation: 1*85=85 Moving to Node #0,2 Current State: 83:[17, 85, 35], Operations: ['35*1=35'] Exploring Operation: 17+85=102, Resulting Numbers: [35, 102] Generated Node #0,2,0: 83:[35, 102] Operation: 17+85=102 Exploring Operation: 35-17=18, Resulting Numbers: [85, 18] Generated Node #0,2,1: 83:[85, 18] Operation: 35-17=18 Exploring Operation: 85-35=50, Resulting Numbers: [17, 50] Generated Node #0,2,2: 83:[17, 50] Operation: 85-35=50 Exploring Operation: 85-17=68, Resulting Numbers: [35, 68] Generated Node #0,2,3: 83:[35, 68] Operation: 85-17=68 Exploring Operation: 17+35=52, Resulting Numbers: [85, 52] Generated Node #0,2,4: 83:[85, 52] Operation: 17+35=52 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 83:[85, 52], Operations: ['35*1=35', '17+35=52'] Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,83 unequal: No Solution Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,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:[35, 68], Operations: ['35*1=35', '85-17=68'] Exploring Operation: 35*68=2380, Resulting Numbers: [2380] 2380,83 unequal: No Solution Exploring Operation: 35+68=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,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,0 Current State: 83:[35, 102], Operations: ['35*1=35', '17+85=102'] Exploring Operation: 102-35=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 35+102=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 35*102=3570, Resulting Numbers: [3570] 3570,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:[85, 18], Operations: ['35*1=35', '35-17=18'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,83 unequal: No Solution Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,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:[17, 50], Operations: ['35*1=35', '85-35=50'] Exploring Operation: 17*50=850, Resulting Numbers: [850] 850,83 unequal: No Solution Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 17+50=67, Resulting Numbers: [67] 67,83 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: 83:[85, 53], Operations: ['35+1=36', '17+36=53'] Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[52, 84], Operations: ['35+17=52', '85-1=84'] Exploring Operation: 52*84=4368, Resulting Numbers: [4368] 4368,83 unequal: No Solution Exploring Operation: 52+84=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 84-52=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[85, 53], Operations: ['35+17=52', '1+52=53'] Exploring Operation: 85*53=4505, Resulting Numbers: [4505] 4505,83 unequal: No Solution Exploring Operation: 85+53=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 85-53=32, Resulting Numbers: [32] 32,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[52, 85], Operations: ['35+17=52', '85/1=85'] Exploring Operation: 52+85=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 52*85=4420, Resulting Numbers: [4420] 4420,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[52, 85], Operations: ['35+17=52', '1*85=85'] Exploring Operation: 52*85=4420, Resulting Numbers: [4420] 4420,83 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 52+85=137, Resulting Numbers: [137] 137,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[85, 52], Operations: ['35+17=52', '1*52=52'] Exploring Operation: 85+52=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 85-52=33, Resulting Numbers: [33] 33,83 unequal: No Solution Exploring Operation: 85*52=4420, Resulting Numbers: [4420] 4420,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[36, 68], Operations: ['35+1=36', '85-17=68'] Exploring Operation: 68-36=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 36+68=104, Resulting Numbers: [104] 104,83 unequal: No Solution Exploring Operation: 36*68=2448, Resulting Numbers: [2448] 2448,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[36, 102], Operations: ['35+1=36', '17+85=102'] Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 36*102=3672, Resulting Numbers: [3672] 3672,83 unequal: No Solution Moving to Node #0,1,4 Current State: 83:[85, 19], Operations: ['35+1=36', '36-17=19'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 85*19=1615, Resulting Numbers: [1615] 1615,83 unequal: No Solution Exploring Operation: 85+19=104, Resulting Numbers: [104] 104,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[17, 49], Operations: ['35+1=36', '85-36=49'] Exploring Operation: 17+49=66, Resulting Numbers: [66] 66,83 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 17*49=833, Resulting Numbers: [833] 833,83 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 47, 89, 6, 60 ]
67
[ "89-47=42", "42/6=7", "60+7=67" ]
Current State: 67:[47, 89, 6, 60], Operations: [] Exploring Operation: 89-47=42, Resulting Numbers: [6, 60, 42] Generated Node #2: [6, 60, 42] from Operation: 89-47=42 Current State: 67:[6, 60, 42], Operations: ['89-47=42'] Exploring Operation: 42/6=7, Resulting Numbers: [60, 7] Generated Node #3: [60, 7] from Operation: 42/6=7 Current State: 67:[60, 7], Operations: ['89-47=42', '42/6=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[47, 89, 6, 60], Operations: [] Exploring Operation: 47+6=53, Resulting Numbers: [89, 60, 53] Generated Node #0,0: 67:[89, 60, 53] Operation: 47+6=53 Exploring Operation: 89-6=83, Resulting Numbers: [47, 60, 83] Generated Node #0,1: 67:[47, 60, 83] Operation: 89-6=83 Moving to Node #0,0 Current State: 67:[89, 60, 53], Operations: ['47+6=53'] Exploring Operation: 89-60=29, Resulting Numbers: [53, 29] Generated Node #0,0,0: 67:[53, 29] Operation: 89-60=29 Exploring Operation: 89-53=36, Resulting Numbers: [60, 36] Generated Node #0,0,1: 67:[60, 36] Operation: 89-53=36 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[60, 36], Operations: ['47+6=53', '89-53=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[53, 29], Operations: ['47+6=53', '89-60=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,67 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,67 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: 67:[47, 60, 83], Operations: ['89-6=83'] Exploring Operation: 83-47=36, Resulting Numbers: [60, 36] Generated Node #0,1,0: 67:[60, 36] Operation: 83-47=36 Exploring Operation: 47+60=107, Resulting Numbers: [83, 107] Generated Node #0,1,1: 67:[83, 107] Operation: 47+60=107 Moving to Node #0,1,0 Current State: 67:[60, 36], Operations: ['89-6=83', '83-47=36'] Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[83, 107], Operations: ['89-6=83', '47+60=107'] Exploring Operation: 107-83=24, Resulting Numbers: [24] 24,67 unequal: No Solution Exploring Operation: 83+107=190, Resulting Numbers: [190] 190,67 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 5, 15, 75, 45 ]
12
[ "5+15=20", "45*20=900", "900/75=12" ]
Current State: 12:[5, 15, 75, 45], Operations: [] Exploring Operation: 5+15=20, Resulting Numbers: [75, 45, 20] Generated Node #2: [75, 45, 20] from Operation: 5+15=20 Current State: 12:[75, 45, 20], Operations: ['5+15=20'] Exploring Operation: 45*20=900, Resulting Numbers: [75, 900] Generated Node #3: [75, 900] from Operation: 45*20=900 Current State: 12:[75, 900], Operations: ['5+15=20', '45*20=900'] Exploring Operation: 900/75=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 15, 75, 45], Operations: [] Exploring Operation: 75-45=30, Resulting Numbers: [5, 15, 30] Generated Node #0,0: 12:[5, 15, 30] Operation: 75-45=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[5, 15, 30], Operations: ['75-45=30'] Exploring Operation: 30/15=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 12:[5, 2] Operation: 30/15=2 Moving to Node #0,0,0 Current State: 12:[5, 2], Operations: ['75-45=30', '30/15=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,12 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
[ 76, 90, 92, 23 ]
61
[ "92-90=2", "76/2=38", "23+38=61" ]
Current State: 61:[76, 90, 92, 23], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [76, 23, 2] Generated Node #2: [76, 23, 2] from Operation: 92-90=2 Current State: 61:[76, 23, 2], Operations: ['92-90=2'] Exploring Operation: 76/2=38, Resulting Numbers: [23, 38] Generated Node #3: [23, 38] from Operation: 76/2=38 Current State: 61:[23, 38], Operations: ['92-90=2', '76/2=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[76, 90, 92, 23], Operations: [] Exploring Operation: 90-23=67, Resulting Numbers: [76, 92, 67] Generated Node #0,0: 61:[76, 92, 67] Operation: 90-23=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[76, 92, 67], Operations: ['90-23=67'] Exploring Operation: 92-76=16, Resulting Numbers: [67, 16] Generated Node #0,0,0: 61:[67, 16] Operation: 92-76=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 61:[67, 16], Operations: ['90-23=67', '92-76=16'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,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 No solution found.
0
hs_1
mult_heuristic
[ 97, 56, 49, 55 ]
49
[ "97+56=153", "49+55=104", "153-104=49" ]
Current State: 49:[97, 56, 49, 55], Operations: [] Exploring Operation: 97+56=153, Resulting Numbers: [49, 55, 153] Generated Node #2: [49, 55, 153] from Operation: 97+56=153 Current State: 49:[49, 55, 153], Operations: ['97+56=153'] Exploring Operation: 49+55=104, Resulting Numbers: [153, 104] Generated Node #3: [153, 104] from Operation: 49+55=104 Current State: 49:[153, 104], Operations: ['97+56=153', '49+55=104'] Exploring Operation: 153-104=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[97, 56, 49, 55], Operations: [] Exploring Operation: 97-56=41, Resulting Numbers: [49, 55, 41] Generated Node #0,0: 49:[49, 55, 41] Operation: 97-56=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[49, 55, 41], Operations: ['97-56=41'] Exploring Operation: 49-41=8, Resulting Numbers: [55, 8] Generated Node #0,0,0: 49:[55, 8] Operation: 49-41=8 Moving to Node #0,0,0 Current State: 49:[55, 8], Operations: ['97-56=41', '49-41=8'] Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 98, 91, 12 ]
96
[ "97-91=6", "12/6=2", "98-2=96" ]
Current State: 96:[97, 98, 91, 12], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [98, 12, 6] Generated Node #2: [98, 12, 6] from Operation: 97-91=6 Current State: 96:[98, 12, 6], Operations: ['97-91=6'] Exploring Operation: 12/6=2, Resulting Numbers: [98, 2] Generated Node #3: [98, 2] from Operation: 12/6=2 Current State: 96:[98, 2], Operations: ['97-91=6', '12/6=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[97, 98, 91, 12], Operations: [] Exploring Operation: 91+12=103, Resulting Numbers: [97, 98, 103] Generated Node #0,0: 96:[97, 98, 103] Operation: 91+12=103 Exploring Operation: 98-91=7, Resulting Numbers: [97, 12, 7] Generated Node #0,1: 96:[97, 12, 7] Operation: 98-91=7 Exploring Operation: 97-91=6, Resulting Numbers: [98, 12, 6] Generated Node #0,2: 96:[98, 12, 6] Operation: 97-91=6 Exploring Operation: 98-97=1, Resulting Numbers: [91, 12, 1] Generated Node #0,3: 96:[91, 12, 1] Operation: 98-97=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[97, 12, 7], Operations: ['98-91=7'] Exploring Operation: 97+7=104, Resulting Numbers: [12, 104] Generated Node #0,1,0: 96:[12, 104] Operation: 97+7=104 Exploring Operation: 12+7=19, Resulting Numbers: [97, 19] Generated Node #0,1,1: 96:[97, 19] Operation: 12+7=19 Exploring Operation: 12-7=5, Resulting Numbers: [97, 5] Generated Node #0,1,2: 96:[97, 5] Operation: 12-7=5 Exploring Operation: 97-7=90, Resulting Numbers: [12, 90] Generated Node #0,1,3: 96:[12, 90] Operation: 97-7=90 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[97, 5], Operations: ['98-91=7', '12-7=5'] Exploring Operation: 97*5=485, Resulting Numbers: [485] 485,96 unequal: No Solution Exploring Operation: 97-5=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 97+5=102, Resulting Numbers: [102] 102,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,1,1 Current State: 96:[97, 19], Operations: ['98-91=7', '12+7=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 97*19=1843, Resulting Numbers: [1843] 1843,96 unequal: No Solution Exploring Operation: 97+19=116, Resulting Numbers: [116] 116,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,1,3 Current State: 96:[12, 90], Operations: ['98-91=7', '97-7=90'] Exploring Operation: 12*90=1080, Resulting Numbers: [1080] 1080,96 unequal: No Solution Exploring Operation: 90-12=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 12+90=102, Resulting Numbers: [102] 102,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,1,0 Current State: 96:[12, 104], Operations: ['98-91=7', '97+7=104'] Exploring Operation: 12+104=116, Resulting Numbers: [116] 116,96 unequal: No Solution Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,96 unequal: No Solution Exploring Operation: 12*104=1248, Resulting Numbers: [1248] 1248,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,2 Current State: 96:[98, 12, 6], Operations: ['97-91=6'] Exploring Operation: 98-6=92, Resulting Numbers: [12, 92] Generated Node #0,2,0: 96:[12, 92] Operation: 98-6=92 Exploring Operation: 12/6=2, Resulting Numbers: [98, 2] Generated Node #0,2,1: 96:[98, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [98, 6] Generated Node #0,2,2: 96:[98, 6] Operation: 12-6=6 Exploring Operation: 12+6=18, Resulting Numbers: [98, 18] Generated Node #0,2,3: 96:[98, 18] Operation: 12+6=18 Moving to Node #0,2,1 Current State: 96:[98, 2], Operations: ['97-91=6', '12/6=2'] Exploring Operation: 98+2=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 98*2=196, Resulting Numbers: [196] 196,96 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,96 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[97, 98, 91, 12], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [98, 12, 6] Generated Node #0,2: 96:[98, 12, 6] Operation: 97-91=6 Moving to Node #0,2 Current State: 96:[98, 12, 6], Operations: ['97-91=6'] Exploring Operation: 12/6=2, Resulting Numbers: [98, 2] Generated Node #0,2,1: 96:[98, 2] Operation: 12/6=2 Moving to Node #0,2,1 Current State: 96:[98, 2], Operations: ['97-91=6', '12/6=2'] Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 3, 29, 3, 21 ]
72
[ "3*3=9", "29-21=8", "9*8=72" ]
Current State: 72:[3, 29, 3, 21], Operations: [] Exploring Operation: 3*3=9, Resulting Numbers: [29, 21, 9] Generated Node #2: [29, 21, 9] from Operation: 3*3=9 Current State: 72:[29, 21, 9], Operations: ['3*3=9'] Exploring Operation: 29-21=8, Resulting Numbers: [9, 8] Generated Node #3: [9, 8] from Operation: 29-21=8 Current State: 72:[9, 8], Operations: ['3*3=9', '29-21=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 29, 3, 21], Operations: [] Exploring Operation: 3+21=24, Resulting Numbers: [29, 3, 24] Generated Node #0,0: 72:[29, 3, 24] Operation: 3+21=24 Exploring Operation: 29-3=26, Resulting Numbers: [3, 21, 26] Generated Node #0,1: 72:[3, 21, 26] Operation: 29-3=26 Exploring Operation: 29-21=8, Resulting Numbers: [3, 3, 8] Generated Node #0,2: 72:[3, 3, 8] Operation: 29-21=8 Exploring Operation: 21-3=18, Resulting Numbers: [29, 3, 18] Generated Node #0,3: 72:[29, 3, 18] Operation: 21-3=18 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[3, 3, 8], Operations: ['29-21=8'] Exploring Operation: 3*8=24, Resulting Numbers: [3, 24] Generated Node #0,2,0: 72:[3, 24] Operation: 3*8=24 Exploring Operation: 3*3=9, Resulting Numbers: [8, 9] Generated Node #0,2,1: 72:[8, 9] Operation: 3*3=9 Exploring Operation: 3+3=6, Resulting Numbers: [8, 6] Generated Node #0,2,2: 72:[8, 6] Operation: 3+3=6 Exploring Operation: 3*8=24, Resulting Numbers: [3, 24] Generated Node #0,2,3: 72:[3, 24] Operation: 3*8=24 Moving to Node #0,2,0 Current State: 72:[3, 24], Operations: ['29-21=8', '3*8=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[3, 29, 3, 21], Operations: [] Exploring Operation: 29-21=8, Resulting Numbers: [3, 3, 8] Generated Node #0,2: 72:[3, 3, 8] Operation: 29-21=8 Moving to Node #0,2 Current State: 72:[3, 3, 8], Operations: ['29-21=8'] Exploring Operation: 3*8=24, Resulting Numbers: [3, 24] Generated Node #0,2,0: 72:[3, 24] Operation: 3*8=24 Moving to Node #0,2,0 Current State: 72:[3, 24], Operations: ['29-21=8', '3*8=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 22, 77, 70, 79 ]
11
[ "22+77=99", "79-70=9", "99/9=11" ]
Current State: 11:[22, 77, 70, 79], Operations: [] Exploring Operation: 22+77=99, Resulting Numbers: [70, 79, 99] Generated Node #2: [70, 79, 99] from Operation: 22+77=99 Current State: 11:[70, 79, 99], Operations: ['22+77=99'] Exploring Operation: 79-70=9, Resulting Numbers: [99, 9] Generated Node #3: [99, 9] from Operation: 79-70=9 Current State: 11:[99, 9], Operations: ['22+77=99', '79-70=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 77, 70, 79], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [22, 70, 2] Generated Node #0,0: 11:[22, 70, 2] Operation: 79-77=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[22, 70, 2], Operations: ['79-77=2'] Exploring Operation: 70/2=35, Resulting Numbers: [22, 35] Generated Node #0,0,0: 11:[22, 35] Operation: 70/2=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[22, 35], Operations: ['79-77=2', '70/2=35'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,11 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
[ 49, 2, 92, 93 ]
31
[ "92/2=46", "49-46=3", "93/3=31" ]
Current State: 31:[49, 2, 92, 93], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [49, 93, 46] Generated Node #2: [49, 93, 46] from Operation: 92/2=46 Current State: 31:[49, 93, 46], Operations: ['92/2=46'] Exploring Operation: 49-46=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 49-46=3 Current State: 31:[93, 3], Operations: ['92/2=46', '49-46=3'] Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[49, 2, 92, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [49, 2, 1] Generated Node #0,0: 31:[49, 2, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 31:[49, 2, 1], Operations: ['93-92=1'] Exploring Operation: 49-2=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 31:[1, 47] Operation: 49-2=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[1, 47], Operations: ['93-92=1', '49-2=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,31 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
[ 41, 74, 32, 98 ]
97
[ "74-41=33", "32+98=130", "130-33=97" ]
Current State: 97:[41, 74, 32, 98], Operations: [] Exploring Operation: 74-41=33, Resulting Numbers: [32, 98, 33] Generated Node #2: [32, 98, 33] from Operation: 74-41=33 Current State: 97:[32, 98, 33], Operations: ['74-41=33'] Exploring Operation: 32+98=130, Resulting Numbers: [33, 130] Generated Node #3: [33, 130] from Operation: 32+98=130 Current State: 97:[33, 130], Operations: ['74-41=33', '32+98=130'] Exploring Operation: 130-33=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[41, 74, 32, 98], Operations: [] Exploring Operation: 41+32=73, Resulting Numbers: [74, 98, 73] Generated Node #0,0: 97:[74, 98, 73] Operation: 41+32=73 Exploring Operation: 41+74=115, Resulting Numbers: [32, 98, 115] Generated Node #0,1: 97:[32, 98, 115] Operation: 41+74=115 Exploring Operation: 74+32=106, Resulting Numbers: [41, 98, 106] Generated Node #0,2: 97:[41, 98, 106] Operation: 74+32=106 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[74, 98, 73], Operations: ['41+32=73'] Exploring Operation: 98-74=24, Resulting Numbers: [73, 24] Generated Node #0,0,0: 97:[73, 24] Operation: 98-74=24 Exploring Operation: 74+73=147, Resulting Numbers: [98, 147] Generated Node #0,0,1: 97:[98, 147] Operation: 74+73=147 Exploring Operation: 98-73=25, Resulting Numbers: [74, 25] Generated Node #0,0,2: 97:[74, 25] Operation: 98-73=25 Moving to Node #0,0,1 Current State: 97:[98, 147], Operations: ['41+32=73', '74+73=147'] Exploring Operation: 147-98=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 98*147=14406, Resulting Numbers: [14406] 14406,97 unequal: No Solution Exploring Operation: 98+147=245, Resulting Numbers: [245] 245,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[74, 25], Operations: ['41+32=73', '98-73=25'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,97 unequal: No Solution Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,97 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[73, 24], Operations: ['41+32=73', '98-74=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[41, 74, 32, 98], Operations: [] Exploring Operation: 41+32=73, Resulting Numbers: [74, 98, 73] Generated Node #0,0: 97:[74, 98, 73] Operation: 41+32=73 Moving to Node #0,0 Current State: 97:[74, 98, 73], Operations: ['41+32=73'] Exploring Operation: 98-74=24, Resulting Numbers: [73, 24] Generated Node #0,0,0: 97:[73, 24] Operation: 98-74=24 Moving to Node #0,0,0 Current State: 97:[73, 24], Operations: ['41+32=73', '98-74=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 62, 62, 49, 19 ]
67
[ "62/62=1", "49+19=68", "68-1=67" ]
Current State: 67:[62, 62, 49, 19], Operations: [] Exploring Operation: 62/62=1, Resulting Numbers: [49, 19, 1] Generated Node #2: [49, 19, 1] from Operation: 62/62=1 Current State: 67:[49, 19, 1], Operations: ['62/62=1'] Exploring Operation: 49+19=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 49+19=68 Current State: 67:[1, 68], Operations: ['62/62=1', '49+19=68'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[62, 62, 49, 19], Operations: [] Exploring Operation: 49+19=68, Resulting Numbers: [62, 62, 68] Generated Node #0,0: 67:[62, 62, 68] Operation: 49+19=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[62, 62, 68], Operations: ['49+19=68'] Exploring Operation: 62+62=124, Resulting Numbers: [68, 124] Generated Node #0,0,0: 67:[68, 124] Operation: 62+62=124 Moving to Node #0,0,0 Current State: 67:[68, 124], Operations: ['49+19=68', '62+62=124'] Exploring Operation: 124-68=56, Resulting Numbers: [56] 56,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
mult_heuristic
[ 40, 25, 60, 80 ]
10
[ "80/40=2", "25*2=50", "60-50=10" ]
Current State: 10:[40, 25, 60, 80], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [25, 60, 2] Generated Node #2: [25, 60, 2] from Operation: 80/40=2 Current State: 10:[25, 60, 2], Operations: ['80/40=2'] Exploring Operation: 25*2=50, Resulting Numbers: [60, 50] Generated Node #3: [60, 50] from Operation: 25*2=50 Current State: 10:[60, 50], Operations: ['80/40=2', '25*2=50'] Exploring Operation: 60-50=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[40, 25, 60, 80], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [25, 60, 2] Generated Node #0,0: 10:[25, 60, 2] Operation: 80/40=2 Exploring Operation: 80-60=20, Resulting Numbers: [40, 25, 20] Generated Node #0,1: 10:[40, 25, 20] Operation: 80-60=20 Exploring Operation: 40-25=15, Resulting Numbers: [60, 80, 15] Generated Node #0,2: 10:[60, 80, 15] Operation: 40-25=15 Exploring Operation: 60-40=20, Resulting Numbers: [25, 80, 20] Generated Node #0,3: 10:[25, 80, 20] Operation: 60-40=20 Exploring Operation: 80-40=40, Resulting Numbers: [25, 60, 40] Generated Node #0,4: 10:[25, 60, 40] Operation: 80-40=40 Moving to Node #0,1 Current State: 10:[40, 25, 20], Operations: ['80-60=20'] Exploring Operation: 25-20=5, Resulting Numbers: [40, 5] Generated Node #0,1,0: 10:[40, 5] Operation: 25-20=5 Exploring Operation: 40-25=15, Resulting Numbers: [20, 15] Generated Node #0,1,1: 10:[20, 15] Operation: 40-25=15 Exploring Operation: 40/20=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 10:[25, 2] Operation: 40/20=2 Exploring Operation: 40+25=65, Resulting Numbers: [20, 65] Generated Node #0,1,3: 10:[20, 65] Operation: 40+25=65 Exploring Operation: 40-20=20, Resulting Numbers: [25, 20] Generated Node #0,1,4: 10:[25, 20] Operation: 40-20=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[20, 15], Operations: ['80-60=20', '40-25=15'] Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[25, 2], Operations: ['80-60=20', '40/20=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,10 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[25, 20], Operations: ['80-60=20', '40-20=20'] Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,10 unequal: No Solution Exploring Operation: 25-20=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,1,0 Current State: 10:[40, 5], Operations: ['80-60=20', '25-20=5'] Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 40*5=200, Resulting Numbers: [200] 200,10 unequal: No Solution Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[20, 65], Operations: ['80-60=20', '40+25=65'] Exploring Operation: 20*65=1300, Resulting Numbers: [1300] 1300,10 unequal: No Solution Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[25, 60, 2], Operations: ['80/40=2'] Exploring Operation: 25+2=27, Resulting Numbers: [60, 27] Generated Node #0,0,0: 10:[60, 27] Operation: 25+2=27 Exploring Operation: 60-2=58, Resulting Numbers: [25, 58] Generated Node #0,0,1: 10:[25, 58] Operation: 60-2=58 Exploring Operation: 60-25=35, Resulting Numbers: [2, 35] Generated Node #0,0,2: 10:[2, 35] Operation: 60-25=35 Exploring Operation: 25-2=23, Resulting Numbers: [60, 23] Generated Node #0,0,3: 10:[60, 23] Operation: 25-2=23 Exploring Operation: 60/2=30, Resulting Numbers: [25, 30] Generated Node #0,0,4: 10:[25, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[2, 35], Operations: ['80/40=2', '60-25=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,10 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,10 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[25, 30], Operations: ['80/40=2', '60/2=30'] Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,10 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[25, 58], Operations: ['80/40=2', '60-2=58'] Exploring Operation: 25*58=1450, Resulting Numbers: [1450] 1450,10 unequal: No Solution Exploring Operation: 25+58=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,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,3 Current State: 10:[60, 23], Operations: ['80/40=2', '25-2=23'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,10 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[60, 27], Operations: ['80/40=2', '25+2=27'] Exploring Operation: 60*27=1620, Resulting Numbers: [1620] 1620,10 unequal: No Solution Exploring Operation: 60+27=87, Resulting Numbers: [87] 87,10 unequal: No Solution Exploring Operation: 60-27=33, Resulting Numbers: [33] 33,10 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: 10:[25, 80, 20], Operations: ['60-40=20'] Exploring Operation: 80/20=4, Resulting Numbers: [25, 4] Generated Node #0,3,0: 10:[25, 4] Operation: 80/20=4 Exploring Operation: 25-20=5, Resulting Numbers: [80, 5] Generated Node #0,3,1: 10:[80, 5] Operation: 25-20=5 Exploring Operation: 25+80=105, Resulting Numbers: [20, 105] Generated Node #0,3,2: 10:[20, 105] Operation: 25+80=105 Exploring Operation: 80-25=55, Resulting Numbers: [20, 55] Generated Node #0,3,3: 10:[20, 55] Operation: 80-25=55 Exploring Operation: 80-20=60, Resulting Numbers: [25, 60] Generated Node #0,3,4: 10:[25, 60] Operation: 80-20=60 Moving to Node #0,4 Current State: 10:[25, 60, 40], Operations: ['80-40=40'] Exploring Operation: 25+60=85, Resulting Numbers: [40, 85] Generated Node #0,4,0: 10:[40, 85] Operation: 25+60=85 Exploring Operation: 60-25=35, Resulting Numbers: [40, 35] Generated Node #0,4,1: 10:[40, 35] Operation: 60-25=35 Exploring Operation: 25+40=65, Resulting Numbers: [60, 65] Generated Node #0,4,2: 10:[60, 65] Operation: 25+40=65 Exploring Operation: 60-40=20, Resulting Numbers: [25, 20] Generated Node #0,4,3: 10:[25, 20] Operation: 60-40=20 Exploring Operation: 40-25=15, Resulting Numbers: [60, 15] Generated Node #0,4,4: 10:[60, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[25, 20], Operations: ['80-40=40', '60-40=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,10 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 10:[40, 35], Operations: ['80-40=40', '60-25=35'] Exploring Operation: 40-35=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 40*35=1400, Resulting Numbers: [1400] 1400,10 unequal: No Solution Exploring Operation: 40+35=75, Resulting Numbers: [75] 75,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[60, 15], Operations: ['80-40=40', '40-25=15'] Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 60*15=900, Resulting Numbers: [900] 900,10 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 10:[40, 85], Operations: ['80-40=40', '25+60=85'] Exploring Operation: 85-40=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 40*85=3400, Resulting Numbers: [3400] 3400,10 unequal: No Solution Exploring Operation: 40+85=125, Resulting Numbers: [125] 125,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 10:[60, 65], Operations: ['80-40=40', '25+40=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,10 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 10:[60, 80, 15], Operations: ['40-25=15'] Exploring Operation: 60/15=4, Resulting Numbers: [80, 4] Generated Node #0,2,0: 10:[80, 4] Operation: 60/15=4 Exploring Operation: 60-15=45, Resulting Numbers: [80, 45] Generated Node #0,2,1: 10:[80, 45] Operation: 60-15=45 Exploring Operation: 60+80=140, Resulting Numbers: [15, 140] Generated Node #0,2,2: 10:[15, 140] Operation: 60+80=140 Exploring Operation: 80-60=20, Resulting Numbers: [15, 20] Generated Node #0,2,3: 10:[15, 20] Operation: 80-60=20 Exploring Operation: 80-15=65, Resulting Numbers: [60, 65] Generated Node #0,2,4: 10:[60, 65] Operation: 80-15=65 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[15, 20], Operations: ['40-25=15', '80-60=20'] Exploring Operation: 15*20=300, Resulting Numbers: [300] 300,10 unequal: No Solution Exploring Operation: 15+20=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 20-15=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,2,0 Current State: 10:[80, 4], Operations: ['40-25=15', '60/15=4'] Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,10 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,10 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[80, 45], Operations: ['40-25=15', '60-15=45'] Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,10 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[60, 65], Operations: ['40-25=15', '80-15=65'] Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 60*65=3900, Resulting Numbers: [3900] 3900,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[15, 140], Operations: ['40-25=15', '60+80=140'] Exploring Operation: 15+140=155, Resulting Numbers: [155] 155,10 unequal: No Solution Exploring Operation: 140-15=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 15*140=2100, Resulting Numbers: [2100] 2100,10 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: 10:[25, 4], Operations: ['60-40=20', '80/20=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,10 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,10 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[20, 55], Operations: ['60-40=20', '80-25=55'] Exploring Operation: 20+55=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 20*55=1100, Resulting Numbers: [1100] 1100,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[25, 60], Operations: ['60-40=20', '80-20=60'] Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[80, 5], Operations: ['60-40=20', '25-20=5'] Exploring Operation: 80*5=400, Resulting Numbers: [400] 400,10 unequal: No Solution Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,10 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[20, 105], Operations: ['60-40=20', '25+80=105'] Exploring Operation: 20+105=125, Resulting Numbers: [125] 125,10 unequal: No Solution Exploring Operation: 105-20=85, Resulting Numbers: [85] 85,10 unequal: No Solution Exploring Operation: 20*105=2100, Resulting Numbers: [2100] 2100,10 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 93, 87, 6, 37 ]
25
[ "93-87=6", "37-6=31", "31-6=25" ]
Current State: 25:[93, 87, 6, 37], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [6, 37, 6] Generated Node #2: [6, 37, 6] from Operation: 93-87=6 Current State: 25:[6, 37, 6], Operations: ['93-87=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,25 equal: Goal Reached Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[93, 87, 6, 37], Operations: [] Exploring Operation: 87-37=50, Resulting Numbers: [93, 6, 50] Generated Node #0,0: 25:[93, 6, 50] Operation: 87-37=50 Exploring Operation: 93-87=6, Resulting Numbers: [6, 37, 6] Generated Node #0,1: 25:[6, 37, 6] Operation: 93-87=6 Exploring Operation: 93-37=56, Resulting Numbers: [87, 6, 56] Generated Node #0,2: 25:[87, 6, 56] Operation: 93-37=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[6, 37, 6], Operations: ['93-87=6'] Exploring Operation: 6/6=1, Resulting Numbers: [37, 1] Generated Node #0,1,0: 25:[37, 1] Operation: 6/6=1 Exploring Operation: 37-6=31, Resulting Numbers: [6, 31] Generated Node #0,1,1: 25:[6, 31] Operation: 37-6=31 Exploring Operation: 37-6=31, Resulting Numbers: [6, 31] Generated Node #0,1,2: 25:[6, 31] Operation: 37-6=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[6, 31], Operations: ['93-87=6', '37-6=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[93, 87, 6, 37], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [6, 37, 6] Generated Node #0,1: 25:[6, 37, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 25:[6, 37, 6], Operations: ['93-87=6'] Exploring Operation: 37-6=31, Resulting Numbers: [6, 31] Generated Node #0,1,1: 25:[6, 31] Operation: 37-6=31 Moving to Node #0,1,1 Current State: 25:[6, 31], Operations: ['93-87=6', '37-6=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 56, 77, 69, 7 ]
97
[ "77-56=21", "69+7=76", "21+76=97" ]
Current State: 97:[56, 77, 69, 7], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [69, 7, 21] Generated Node #2: [69, 7, 21] from Operation: 77-56=21 Current State: 97:[69, 7, 21], Operations: ['77-56=21'] Exploring Operation: 69+7=76, Resulting Numbers: [21, 76] Generated Node #3: [21, 76] from Operation: 69+7=76 Current State: 97:[21, 76], Operations: ['77-56=21', '69+7=76'] Exploring Operation: 21+76=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[56, 77, 69, 7], Operations: [] Exploring Operation: 56+7=63, Resulting Numbers: [77, 69, 63] Generated Node #0,0: 97:[77, 69, 63] Operation: 56+7=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[77, 69, 63], Operations: ['56+7=63'] Exploring Operation: 69+63=132, Resulting Numbers: [77, 132] Generated Node #0,0,0: 97:[77, 132] Operation: 69+63=132 Moving to Node #0,0,0 Current State: 97:[77, 132], Operations: ['56+7=63', '69+63=132'] Exploring Operation: 132-77=55, Resulting Numbers: [55] 55,97 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
[ 87, 7, 3, 15 ]
76
[ "87+7=94", "3+15=18", "94-18=76" ]
Current State: 76:[87, 7, 3, 15], Operations: [] Exploring Operation: 87+7=94, Resulting Numbers: [3, 15, 94] Generated Node #2: [3, 15, 94] from Operation: 87+7=94 Current State: 76:[3, 15, 94], Operations: ['87+7=94'] Exploring Operation: 3+15=18, Resulting Numbers: [94, 18] Generated Node #3: [94, 18] from Operation: 3+15=18 Current State: 76:[94, 18], Operations: ['87+7=94', '3+15=18'] Exploring Operation: 94-18=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[87, 7, 3, 15], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [7, 3, 72] Generated Node #0,0: 76:[7, 3, 72] Operation: 87-15=72 Moving to Node #0,0 Current State: 76:[7, 3, 72], Operations: ['87-15=72'] Exploring Operation: 7-3=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 76:[72, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[72, 4], Operations: ['87-15=72', '7-3=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[87, 7, 3, 15], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [7, 3, 72] Generated Node #0,0: 76:[7, 3, 72] Operation: 87-15=72 Moving to Node #0,0 Current State: 76:[7, 3, 72], Operations: ['87-15=72'] Exploring Operation: 7-3=4, Resulting Numbers: [72, 4] Generated Node #0,0,0: 76:[72, 4] Operation: 7-3=4 Moving to Node #0,0,0 Current State: 76:[72, 4], Operations: ['87-15=72', '7-3=4'] Exploring Operation: 72+4=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 68, 13, 9, 94 ]
22
[ "68+13=81", "9+94=103", "103-81=22" ]
Current State: 22:[68, 13, 9, 94], Operations: [] Exploring Operation: 68+13=81, Resulting Numbers: [9, 94, 81] Generated Node #2: [9, 94, 81] from Operation: 68+13=81 Current State: 22:[9, 94, 81], Operations: ['68+13=81'] Exploring Operation: 9+94=103, Resulting Numbers: [81, 103] Generated Node #3: [81, 103] from Operation: 9+94=103 Current State: 22:[81, 103], Operations: ['68+13=81', '9+94=103'] Exploring Operation: 103-81=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[68, 13, 9, 94], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [68, 9, 81] Generated Node #0,0: 22:[68, 9, 81] Operation: 94-13=81 Exploring Operation: 68-13=55, Resulting Numbers: [9, 94, 55] Generated Node #0,1: 22:[9, 94, 55] Operation: 68-13=55 Exploring Operation: 94-68=26, Resulting Numbers: [13, 9, 26] Generated Node #0,2: 22:[13, 9, 26] Operation: 94-68=26 Moving to Node #0,2 Current State: 22:[13, 9, 26], Operations: ['94-68=26'] Exploring Operation: 26-13=13, Resulting Numbers: [9, 13] Generated Node #0,2,0: 22:[9, 13] Operation: 26-13=13 Exploring Operation: 26/13=2, Resulting Numbers: [9, 2] Generated Node #0,2,1: 22:[9, 2] Operation: 26/13=2 Exploring Operation: 13+9=22, Resulting Numbers: [26, 22] Generated Node #0,2,2: 22:[26, 22] Operation: 13+9=22 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[9, 2], Operations: ['94-68=26', '26/13=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,22 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[9, 13], Operations: ['94-68=26', '26-13=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,22 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[68, 13, 9, 94], Operations: [] Exploring Operation: 94-68=26, Resulting Numbers: [13, 9, 26] Generated Node #0,2: 22:[13, 9, 26] Operation: 94-68=26 Moving to Node #0,2 Current State: 22:[13, 9, 26], Operations: ['94-68=26'] Exploring Operation: 26-13=13, Resulting Numbers: [9, 13] Generated Node #0,2,0: 22:[9, 13] Operation: 26-13=13 Moving to Node #0,2,0 Current State: 22:[9, 13], Operations: ['94-68=26', '26-13=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 31, 35, 20, 69 ]
53
[ "35-31=4", "69-20=49", "4+49=53" ]
Current State: 53:[31, 35, 20, 69], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [20, 69, 4] Generated Node #2: [20, 69, 4] from Operation: 35-31=4 Current State: 53:[20, 69, 4], Operations: ['35-31=4'] Exploring Operation: 69-20=49, Resulting Numbers: [4, 49] Generated Node #3: [4, 49] from Operation: 69-20=49 Current State: 53:[4, 49], Operations: ['35-31=4', '69-20=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[31, 35, 20, 69], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [35, 20, 38] Generated Node #0,0: 53:[35, 20, 38] Operation: 69-31=38 Exploring Operation: 35+20=55, Resulting Numbers: [31, 69, 55] Generated Node #0,1: 53:[31, 69, 55] Operation: 35+20=55 Exploring Operation: 31+35=66, Resulting Numbers: [20, 69, 66] Generated Node #0,2: 53:[20, 69, 66] Operation: 31+35=66 Exploring Operation: 31+20=51, Resulting Numbers: [35, 69, 51] Generated Node #0,3: 53:[35, 69, 51] Operation: 31+20=51 Exploring Operation: 69-20=49, Resulting Numbers: [31, 35, 49] Generated Node #0,4: 53:[31, 35, 49] Operation: 69-20=49 Moving to Node #0,3 Current State: 53:[35, 69, 51], Operations: ['31+20=51'] Exploring Operation: 35+51=86, Resulting Numbers: [69, 86] Generated Node #0,3,0: 53:[69, 86] Operation: 35+51=86 Exploring Operation: 35+69=104, Resulting Numbers: [51, 104] Generated Node #0,3,1: 53:[51, 104] Operation: 35+69=104 Exploring Operation: 69-51=18, Resulting Numbers: [35, 18] Generated Node #0,3,2: 53:[35, 18] Operation: 69-51=18 Exploring Operation: 51-35=16, Resulting Numbers: [69, 16] Generated Node #0,3,3: 53:[69, 16] Operation: 51-35=16 Exploring Operation: 69-35=34, Resulting Numbers: [51, 34] Generated Node #0,3,4: 53:[51, 34] Operation: 69-35=34 Moving to Node #0,1 Current State: 53:[31, 69, 55], Operations: ['35+20=55'] Exploring Operation: 31+55=86, Resulting Numbers: [69, 86] Generated Node #0,1,0: 53:[69, 86] Operation: 31+55=86 Exploring Operation: 31+69=100, Resulting Numbers: [55, 100] Generated Node #0,1,1: 53:[55, 100] Operation: 31+69=100 Exploring Operation: 69-31=38, Resulting Numbers: [55, 38] Generated Node #0,1,2: 53:[55, 38] Operation: 69-31=38 Exploring Operation: 69-55=14, Resulting Numbers: [31, 14] Generated Node #0,1,3: 53:[31, 14] Operation: 69-55=14 Exploring Operation: 55-31=24, Resulting Numbers: [69, 24] Generated Node #0,1,4: 53:[69, 24] Operation: 55-31=24 Moving to Node #0,4 Current State: 53:[31, 35, 49], Operations: ['69-20=49'] Exploring Operation: 49-31=18, Resulting Numbers: [35, 18] Generated Node #0,4,0: 53:[35, 18] Operation: 49-31=18 Exploring Operation: 31+35=66, Resulting Numbers: [49, 66] Generated Node #0,4,1: 53:[49, 66] Operation: 31+35=66 Exploring Operation: 35-31=4, Resulting Numbers: [49, 4] Generated Node #0,4,2: 53:[49, 4] Operation: 35-31=4 Exploring Operation: 31+49=80, Resulting Numbers: [35, 80] Generated Node #0,4,3: 53:[35, 80] Operation: 31+49=80 Exploring Operation: 35+49=84, Resulting Numbers: [31, 84] Generated Node #0,4,4: 53:[31, 84] Operation: 35+49=84 Moving to Node #0,2 Current State: 53:[20, 69, 66], Operations: ['31+35=66'] Exploring Operation: 69-20=49, Resulting Numbers: [66, 49] Generated Node #0,2,0: 53:[66, 49] Operation: 69-20=49 Exploring Operation: 69-66=3, Resulting Numbers: [20, 3] Generated Node #0,2,1: 53:[20, 3] Operation: 69-66=3 Exploring Operation: 66-20=46, Resulting Numbers: [69, 46] Generated Node #0,2,2: 53:[69, 46] Operation: 66-20=46 Exploring Operation: 20+69=89, Resulting Numbers: [66, 89] Generated Node #0,2,3: 53:[66, 89] Operation: 20+69=89 Exploring Operation: 20+66=86, Resulting Numbers: [69, 86] Generated Node #0,2,4: 53:[69, 86] Operation: 20+66=86 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 53:[66, 49], Operations: ['31+35=66', '69-20=49'] Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 66*49=3234, Resulting Numbers: [3234] 3234,53 unequal: No Solution No 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: 53:[69, 46], Operations: ['31+35=66', '66-20=46'] Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,53 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,53 unequal: No Solution No 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: 53:[66, 89], Operations: ['31+35=66', '20+69=89'] Exploring Operation: 89-66=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 66*89=5874, Resulting Numbers: [5874] 5874,53 unequal: No Solution Exploring Operation: 66+89=155, Resulting Numbers: [155] 155,53 unequal: No Solution No 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: 53:[69, 86], Operations: ['31+35=66', '20+66=86'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 69*86=5934, Resulting Numbers: [5934] 5934,53 unequal: No Solution Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,53 unequal: No Solution No 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: 53:[20, 3], Operations: ['31+35=66', '69-66=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,53 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: 53:[35, 20, 38], Operations: ['69-31=38'] Exploring Operation: 20+38=58, Resulting Numbers: [35, 58] Generated Node #0,0,0: 53:[35, 58] Operation: 20+38=58 Exploring Operation: 35-20=15, Resulting Numbers: [38, 15] Generated Node #0,0,1: 53:[38, 15] Operation: 35-20=15 Exploring Operation: 38-20=18, Resulting Numbers: [35, 18] Generated Node #0,0,2: 53:[35, 18] Operation: 38-20=18 Exploring Operation: 35+20=55, Resulting Numbers: [38, 55] Generated Node #0,0,3: 53:[38, 55] Operation: 35+20=55 Exploring Operation: 35+38=73, Resulting Numbers: [20, 73] Generated Node #0,0,4: 53:[20, 73] Operation: 35+38=73 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[38, 55], Operations: ['69-31=38', '35+20=55'] Exploring Operation: 55-38=17, Resulting Numbers: [17] 17,53 unequal: No Solution Exploring Operation: 38*55=2090, Resulting Numbers: [2090] 2090,53 unequal: No Solution Exploring Operation: 38+55=93, Resulting Numbers: [93] 93,53 unequal: No Solution No 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: 53:[35, 58], Operations: ['69-31=38', '20+38=58'] Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,53 unequal: No Solution Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,53 unequal: No Solution No 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: 53:[38, 15], Operations: ['69-31=38', '35-20=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[31, 35, 20, 69], Operations: [] Exploring Operation: 69-31=38, Resulting Numbers: [35, 20, 38] Generated Node #0,0: 53:[35, 20, 38] Operation: 69-31=38 Moving to Node #0,0 Current State: 53:[35, 20, 38], Operations: ['69-31=38'] Exploring Operation: 35-20=15, Resulting Numbers: [38, 15] Generated Node #0,0,1: 53:[38, 15] Operation: 35-20=15 Moving to Node #0,0,1 Current State: 53:[38, 15], Operations: ['69-31=38', '35-20=15'] Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 43, 82, 3, 41 ]
54
[ "82-43=39", "39/3=13", "41+13=54" ]
Current State: 54:[43, 82, 3, 41], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [3, 41, 39] Generated Node #2: [3, 41, 39] from Operation: 82-43=39 Current State: 54:[3, 41, 39], Operations: ['82-43=39'] Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #3: [41, 13] from Operation: 39/3=13 Current State: 54:[41, 13], Operations: ['82-43=39', '39/3=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[43, 82, 3, 41], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [43, 3, 41] Generated Node #0,0: 54:[43, 3, 41] Operation: 82-41=41 Exploring Operation: 82-43=39, Resulting Numbers: [3, 41, 39] Generated Node #0,1: 54:[3, 41, 39] Operation: 82-43=39 Exploring Operation: 82/41=2, Resulting Numbers: [43, 3, 2] Generated Node #0,2: 54:[43, 3, 2] Operation: 82/41=2 Moving to Node #0,2 Current State: 54:[43, 3, 2], Operations: ['82/41=2'] Exploring Operation: 43+3=46, Resulting Numbers: [2, 46] Generated Node #0,2,0: 54:[2, 46] Operation: 43+3=46 Exploring Operation: 43+2=45, Resulting Numbers: [3, 45] Generated Node #0,2,1: 54:[3, 45] Operation: 43+2=45 Exploring Operation: 3*2=6, Resulting Numbers: [43, 6] Generated Node #0,2,2: 54:[43, 6] Operation: 3*2=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 54:[2, 46], Operations: ['82/41=2', '43+3=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[3, 45], Operations: ['82/41=2', '43+2=45'] Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,54 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 54:[43, 6], Operations: ['82/41=2', '3*2=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,54 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,54 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,54 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: 54:[43, 3, 41], Operations: ['82-41=41'] Exploring Operation: 43-41=2, Resulting Numbers: [3, 2] Generated Node #0,0,0: 54:[3, 2] Operation: 43-41=2 Exploring Operation: 43+3=46, Resulting Numbers: [41, 46] Generated Node #0,0,1: 54:[41, 46] Operation: 43+3=46 Exploring Operation: 3+41=44, Resulting Numbers: [43, 44] Generated Node #0,0,2: 54:[43, 44] Operation: 3+41=44 Moving to Node #0,1 Current State: 54:[3, 41, 39], Operations: ['82-43=39'] Exploring Operation: 3+41=44, Resulting Numbers: [39, 44] Generated Node #0,1,0: 54:[39, 44] Operation: 3+41=44 Exploring Operation: 41-39=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 54:[3, 2] Operation: 41-39=2 Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 54:[41, 13] Operation: 39/3=13 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[3, 2], Operations: ['82-43=39', '41-39=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 54:[41, 13], Operations: ['82-43=39', '39/3=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,54 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[43, 82, 3, 41], Operations: [] Exploring Operation: 82-43=39, Resulting Numbers: [3, 41, 39] Generated Node #0,1: 54:[3, 41, 39] Operation: 82-43=39 Moving to Node #0,1 Current State: 54:[3, 41, 39], Operations: ['82-43=39'] Exploring Operation: 39/3=13, Resulting Numbers: [41, 13] Generated Node #0,1,2: 54:[41, 13] Operation: 39/3=13 Moving to Node #0,1,2 Current State: 54:[41, 13], Operations: ['82-43=39', '39/3=13'] Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_3
sum_heuristic
[ 85, 77, 68, 54 ]
91
[ "77-68=9", "54/9=6", "85+6=91" ]
Current State: 91:[85, 77, 68, 54], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [85, 54, 9] Generated Node #2: [85, 54, 9] from Operation: 77-68=9 Current State: 91:[85, 54, 9], Operations: ['77-68=9'] Exploring Operation: 54/9=6, Resulting Numbers: [85, 6] Generated Node #3: [85, 6] from Operation: 54/9=6 Current State: 91:[85, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[85, 77, 68, 54], Operations: [] Exploring Operation: 68+54=122, Resulting Numbers: [85, 77, 122] Generated Node #0,0: 91:[85, 77, 122] Operation: 68+54=122 Exploring Operation: 77-68=9, Resulting Numbers: [85, 54, 9] Generated Node #0,1: 91:[85, 54, 9] Operation: 77-68=9 Exploring Operation: 85-68=17, Resulting Numbers: [77, 54, 17] Generated Node #0,2: 91:[77, 54, 17] Operation: 85-68=17 Exploring Operation: 68-54=14, Resulting Numbers: [85, 77, 14] Generated Node #0,3: 91:[85, 77, 14] Operation: 68-54=14 Exploring Operation: 77-54=23, Resulting Numbers: [85, 68, 23] Generated Node #0,4: 91:[85, 68, 23] Operation: 77-54=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[85, 77, 14], Operations: ['68-54=14'] Exploring Operation: 85-14=71, Resulting Numbers: [77, 71] Generated Node #0,3,0: 91:[77, 71] Operation: 85-14=71 Exploring Operation: 77+14=91, Resulting Numbers: [85, 91] Generated Node #0,3,1: 91:[85, 91] Operation: 77+14=91 Exploring Operation: 77-14=63, Resulting Numbers: [85, 63] Generated Node #0,3,2: 91:[85, 63] Operation: 77-14=63 Exploring Operation: 85+14=99, Resulting Numbers: [77, 99] Generated Node #0,3,3: 91:[77, 99] Operation: 85+14=99 Exploring Operation: 85-77=8, Resulting Numbers: [14, 8] Generated Node #0,3,4: 91:[14, 8] Operation: 85-77=8 Moving to Node #0,3,4 Current State: 91:[14, 8], Operations: ['68-54=14', '85-77=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 14*8=112, Resulting Numbers: [112] 112,91 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[85, 91], Operations: ['68-54=14', '77+14=91'] Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,91 unequal: No Solution Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[77, 99], Operations: ['68-54=14', '85+14=99'] Exploring Operation: 77*99=7623, Resulting Numbers: [7623] 7623,91 unequal: No Solution Exploring Operation: 77+99=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 99-77=22, Resulting Numbers: [22] 22,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[77, 71], Operations: ['68-54=14', '85-14=71'] Exploring Operation: 77*71=5467, Resulting Numbers: [5467] 5467,91 unequal: No Solution Exploring Operation: 77-71=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 77+71=148, Resulting Numbers: [148] 148,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[85, 63], Operations: ['68-54=14', '77-14=63'] Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,91 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,91 unequal: No Solution Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[85, 68, 23], Operations: ['77-54=23'] Exploring Operation: 85+23=108, Resulting Numbers: [68, 108] Generated Node #0,4,0: 91:[68, 108] Operation: 85+23=108 Exploring Operation: 85-23=62, Resulting Numbers: [68, 62] Generated Node #0,4,1: 91:[68, 62] Operation: 85-23=62 Exploring Operation: 68-23=45, Resulting Numbers: [85, 45] Generated Node #0,4,2: 91:[85, 45] Operation: 68-23=45 Exploring Operation: 85-68=17, Resulting Numbers: [23, 17] Generated Node #0,4,3: 91:[23, 17] Operation: 85-68=17 Exploring Operation: 68+23=91, Resulting Numbers: [85, 91] Generated Node #0,4,4: 91:[85, 91] Operation: 68+23=91 Moving to Node #0,4,4 Current State: 91:[85, 91], Operations: ['77-54=23', '68+23=91'] Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[23, 17], Operations: ['77-54=23', '85-68=17'] Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,91 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[85, 45], Operations: ['77-54=23', '68-23=45'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,91 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[68, 108], Operations: ['77-54=23', '85+23=108'] Exploring Operation: 68+108=176, Resulting Numbers: [176] 176,91 unequal: No Solution Exploring Operation: 68*108=7344, Resulting Numbers: [7344] 7344,91 unequal: No Solution Exploring Operation: 108-68=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[68, 62], Operations: ['77-54=23', '85-23=62'] Exploring Operation: 68*62=4216, Resulting Numbers: [4216] 4216,91 unequal: No Solution Exploring Operation: 68+62=130, Resulting Numbers: [130] 130,91 unequal: No Solution Exploring Operation: 68-62=6, Resulting Numbers: [6] 6,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[85, 54, 9], Operations: ['77-68=9'] Exploring Operation: 85-54=31, Resulting Numbers: [9, 31] Generated Node #0,1,0: 91:[9, 31] Operation: 85-54=31 Exploring Operation: 54-9=45, Resulting Numbers: [85, 45] Generated Node #0,1,1: 91:[85, 45] Operation: 54-9=45 Exploring Operation: 54/9=6, Resulting Numbers: [85, 6] Generated Node #0,1,2: 91:[85, 6] Operation: 54/9=6 Exploring Operation: 85+9=94, Resulting Numbers: [54, 94] Generated Node #0,1,3: 91:[54, 94] Operation: 85+9=94 Exploring Operation: 54+9=63, Resulting Numbers: [85, 63] Generated Node #0,1,4: 91:[85, 63] Operation: 54+9=63 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[85, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,91 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,91 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[85, 77, 68, 54], Operations: [] Exploring Operation: 77-68=9, Resulting Numbers: [85, 54, 9] Generated Node #0,1: 91:[85, 54, 9] Operation: 77-68=9 Moving to Node #0,1 Current State: 91:[85, 54, 9], Operations: ['77-68=9'] Exploring Operation: 54/9=6, Resulting Numbers: [85, 6] Generated Node #0,1,2: 91:[85, 6] Operation: 54/9=6 Moving to Node #0,1,2 Current State: 91:[85, 6], Operations: ['77-68=9', '54/9=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 86, 8, 33, 62 ]
49
[ "86-8=78", "62-33=29", "78-29=49" ]
Current State: 49:[86, 8, 33, 62], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [33, 62, 78] Generated Node #2: [33, 62, 78] from Operation: 86-8=78 Current State: 49:[33, 62, 78], Operations: ['86-8=78'] Exploring Operation: 62-33=29, Resulting Numbers: [78, 29] Generated Node #3: [78, 29] from Operation: 62-33=29 Current State: 49:[78, 29], Operations: ['86-8=78', '62-33=29'] Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[86, 8, 33, 62], Operations: [] Exploring Operation: 86-8=78, Resulting Numbers: [33, 62, 78] Generated Node #0,0: 49:[33, 62, 78] Operation: 86-8=78 Exploring Operation: 86-33=53, Resulting Numbers: [8, 62, 53] Generated Node #0,1: 49:[8, 62, 53] Operation: 86-33=53 Exploring Operation: 86-62=24, Resulting Numbers: [8, 33, 24] Generated Node #0,2: 49:[8, 33, 24] Operation: 86-62=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[8, 62, 53], Operations: ['86-33=53'] Exploring Operation: 62-53=9, Resulting Numbers: [8, 9] Generated Node #0,1,0: 49:[8, 9] Operation: 62-53=9 Exploring Operation: 62-8=54, Resulting Numbers: [53, 54] Generated Node #0,1,1: 49:[53, 54] Operation: 62-8=54 Exploring Operation: 53-8=45, Resulting Numbers: [62, 45] Generated Node #0,1,2: 49:[62, 45] Operation: 53-8=45 Moving to Node #0,1,0 Current State: 49:[8, 9], Operations: ['86-33=53', '62-53=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[53, 54], Operations: ['86-33=53', '62-8=54'] Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,49 unequal: No Solution Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,49 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,1,2 Current State: 49:[62, 45], Operations: ['86-33=53', '53-8=45'] Exploring Operation: 62+45=107, Resulting Numbers: [107] 107,49 unequal: No Solution Exploring Operation: 62*45=2790, Resulting Numbers: [2790] 2790,49 unequal: No Solution Exploring Operation: 62-45=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[8, 33, 24], Operations: ['86-62=24'] Exploring Operation: 24/8=3, Resulting Numbers: [33, 3] Generated Node #0,2,0: 49:[33, 3] Operation: 24/8=3 Exploring Operation: 33+24=57, Resulting Numbers: [8, 57] Generated Node #0,2,1: 49:[8, 57] Operation: 33+24=57 Exploring Operation: 33-24=9, Resulting Numbers: [8, 9] Generated Node #0,2,2: 49:[8, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[8, 9], Operations: ['86-62=24', '33-24=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[8, 57], Operations: ['86-62=24', '33+24=57'] Exploring Operation: 8+57=65, Resulting Numbers: [65] 65,49 unequal: No Solution Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[86, 8, 33, 62], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [8, 33, 24] Generated Node #0,2: 49:[8, 33, 24] Operation: 86-62=24 Moving to Node #0,2 Current State: 49:[8, 33, 24], Operations: ['86-62=24'] Exploring Operation: 33+24=57, Resulting Numbers: [8, 57] Generated Node #0,2,1: 49:[8, 57] Operation: 33+24=57 Moving to Node #0,2,1 Current State: 49:[8, 57], Operations: ['86-62=24', '33+24=57'] Exploring Operation: 57-8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 17, 19, 40, 22 ]
17
[ "40-19=21", "22-21=1", "17*1=17" ]
Current State: 17:[17, 19, 40, 22], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [17, 22, 21] Generated Node #2: [17, 22, 21] from Operation: 40-19=21 Current State: 17:[17, 22, 21], Operations: ['40-19=21'] Exploring Operation: 22-21=1, Resulting Numbers: [17, 1] Generated Node #3: [17, 1] from Operation: 22-21=1 Current State: 17:[17, 1], Operations: ['40-19=21', '22-21=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[17, 19, 40, 22], Operations: [] Exploring Operation: 22-17=5, Resulting Numbers: [19, 40, 5] Generated Node #0,0: 17:[19, 40, 5] Operation: 22-17=5 Exploring Operation: 40-17=23, Resulting Numbers: [19, 22, 23] Generated Node #0,1: 17:[19, 22, 23] Operation: 40-17=23 Exploring Operation: 40-22=18, Resulting Numbers: [17, 19, 18] Generated Node #0,2: 17:[17, 19, 18] Operation: 40-22=18 Exploring Operation: 40-19=21, Resulting Numbers: [17, 22, 21] Generated Node #0,3: 17:[17, 22, 21] Operation: 40-19=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[17, 19, 18], Operations: ['40-22=18'] Exploring Operation: 19-17=2, Resulting Numbers: [18, 2] Generated Node #0,2,0: 17:[18, 2] Operation: 19-17=2 Exploring Operation: 18-17=1, Resulting Numbers: [19, 1] Generated Node #0,2,1: 17:[19, 1] Operation: 18-17=1 Exploring Operation: 17+19=36, Resulting Numbers: [18, 36] Generated Node #0,2,2: 17:[18, 36] Operation: 17+19=36 Exploring Operation: 19-18=1, Resulting Numbers: [17, 1] Generated Node #0,2,3: 17:[17, 1] Operation: 19-18=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[18, 2], Operations: ['40-22=18', '19-17=2'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,17 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,17 unequal: No Solution No 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: 17:[17, 1], Operations: ['40-22=18', '19-18=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[17, 19, 40, 22], Operations: [] Exploring Operation: 40-22=18, Resulting Numbers: [17, 19, 18] Generated Node #0,2: 17:[17, 19, 18] Operation: 40-22=18 Moving to Node #0,2 Current State: 17:[17, 19, 18], Operations: ['40-22=18'] Exploring Operation: 19-18=1, Resulting Numbers: [17, 1] Generated Node #0,2,3: 17:[17, 1] Operation: 19-18=1 Moving to Node #0,2,3 Current State: 17:[17, 1], Operations: ['40-22=18', '19-18=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 91, 20, 27, 10 ]
59
[ "91+27=118", "20/10=2", "118/2=59" ]
Current State: 59:[91, 20, 27, 10], Operations: [] Exploring Operation: 91+27=118, Resulting Numbers: [20, 10, 118] Generated Node #2: [20, 10, 118] from Operation: 91+27=118 Current State: 59:[20, 10, 118], Operations: ['91+27=118'] Exploring Operation: 20/10=2, Resulting Numbers: [118, 2] Generated Node #3: [118, 2] from Operation: 20/10=2 Current State: 59:[118, 2], Operations: ['91+27=118', '20/10=2'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[91, 20, 27, 10], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [91, 10, 47] Generated Node #0,0: 59:[91, 10, 47] Operation: 20+27=47 Exploring Operation: 91-27=64, Resulting Numbers: [20, 10, 64] Generated Node #0,1: 59:[20, 10, 64] Operation: 91-27=64 Exploring Operation: 91-10=81, Resulting Numbers: [20, 27, 81] Generated Node #0,2: 59:[20, 27, 81] Operation: 91-10=81 Exploring Operation: 91-20=71, Resulting Numbers: [27, 10, 71] Generated Node #0,3: 59:[27, 10, 71] Operation: 91-20=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[91, 10, 47], Operations: ['20+27=47'] Exploring Operation: 91-10=81, Resulting Numbers: [47, 81] Generated Node #0,0,0: 59:[47, 81] Operation: 91-10=81 Exploring Operation: 10+47=57, Resulting Numbers: [91, 57] Generated Node #0,0,1: 59:[91, 57] Operation: 10+47=57 Exploring Operation: 91+10=101, Resulting Numbers: [47, 101] Generated Node #0,0,2: 59:[47, 101] Operation: 91+10=101 Exploring Operation: 47-10=37, Resulting Numbers: [91, 37] Generated Node #0,0,3: 59:[91, 37] Operation: 47-10=37 Moving to Node #0,0,0 Current State: 59:[47, 81], Operations: ['20+27=47', '91-10=81'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 47*81=3807, Resulting Numbers: [3807] 3807,59 unequal: No Solution Exploring Operation: 47+81=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[91, 57], Operations: ['20+27=47', '10+47=57'] Exploring Operation: 91*57=5187, Resulting Numbers: [5187] 5187,59 unequal: No Solution Exploring Operation: 91+57=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[91, 37], Operations: ['20+27=47', '47-10=37'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 91*37=3367, Resulting Numbers: [3367] 3367,59 unequal: No Solution Exploring Operation: 91+37=128, Resulting Numbers: [128] 128,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[47, 101], Operations: ['20+27=47', '91+10=101'] Exploring Operation: 47+101=148, Resulting Numbers: [148] 148,59 unequal: No Solution Exploring Operation: 101-47=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 47*101=4747, Resulting Numbers: [4747] 4747,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[20, 10, 64], Operations: ['91-27=64'] Exploring Operation: 64-10=54, Resulting Numbers: [20, 54] Generated Node #0,1,0: 59:[20, 54] Operation: 64-10=54 Exploring Operation: 10+64=74, Resulting Numbers: [20, 74] Generated Node #0,1,1: 59:[20, 74] Operation: 10+64=74 Exploring Operation: 20-10=10, Resulting Numbers: [64, 10] Generated Node #0,1,2: 59:[64, 10] Operation: 20-10=10 Exploring Operation: 20+10=30, Resulting Numbers: [64, 30] Generated Node #0,1,3: 59:[64, 30] Operation: 20+10=30 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[64, 30], Operations: ['91-27=64', '20+10=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 64*30=1920, Resulting Numbers: [1920] 1920,59 unequal: No Solution Exploring Operation: 64+30=94, Resulting Numbers: [94] 94,59 unequal: No Solution No 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: 59:[20, 54], Operations: ['91-27=64', '64-10=54'] Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,59 unequal: No Solution No 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: 59:[20, 74], Operations: ['91-27=64', '10+64=74'] Exploring Operation: 20+74=94, Resulting Numbers: [94] 94,59 unequal: No Solution Exploring Operation: 20*74=1480, Resulting Numbers: [1480] 1480,59 unequal: No Solution Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,59 unequal: No Solution No 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: 59:[64, 10], Operations: ['91-27=64', '20-10=10'] Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,59 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,59 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: 59:[20, 27, 81], Operations: ['91-10=81'] Exploring Operation: 81-20=61, Resulting Numbers: [27, 61] Generated Node #0,2,0: 59:[27, 61] Operation: 81-20=61 Exploring Operation: 20+27=47, Resulting Numbers: [81, 47] Generated Node #0,2,1: 59:[81, 47] Operation: 20+27=47 Exploring Operation: 81-27=54, Resulting Numbers: [20, 54] Generated Node #0,2,2: 59:[20, 54] Operation: 81-27=54 Exploring Operation: 27-20=7, Resulting Numbers: [81, 7] Generated Node #0,2,3: 59:[81, 7] Operation: 27-20=7 Moving to Node #0,2,0 Current State: 59:[27, 61], Operations: ['91-10=81', '81-20=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,59 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[81, 47], Operations: ['91-10=81', '20+27=47'] Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,59 unequal: No Solution Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,59 unequal: No Solution Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[20, 54], Operations: ['91-10=81', '81-27=54'] Exploring Operation: 20+54=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 20*54=1080, Resulting Numbers: [1080] 1080,59 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[81, 7], Operations: ['91-10=81', '27-20=7'] Exploring Operation: 81-7=74, Resulting Numbers: [74] 74,59 unequal: No Solution Exploring Operation: 81+7=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 81*7=567, Resulting Numbers: [567] 567,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[27, 10, 71], Operations: ['91-20=71'] Exploring Operation: 27-10=17, Resulting Numbers: [71, 17] Generated Node #0,3,0: 59:[71, 17] Operation: 27-10=17 Exploring Operation: 71-10=61, Resulting Numbers: [27, 61] Generated Node #0,3,1: 59:[27, 61] Operation: 71-10=61 Exploring Operation: 10+71=81, Resulting Numbers: [27, 81] Generated Node #0,3,2: 59:[27, 81] Operation: 10+71=81 Exploring Operation: 27+10=37, Resulting Numbers: [71, 37] Generated Node #0,3,3: 59:[71, 37] Operation: 27+10=37 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 59:[27, 61], Operations: ['91-20=71', '71-10=61'] Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,59 unequal: No Solution No 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: 59:[71, 37], Operations: ['91-20=71', '27+10=37'] Exploring Operation: 71+37=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 71-37=34, Resulting Numbers: [34] 34,59 unequal: No Solution Exploring Operation: 71*37=2627, Resulting Numbers: [2627] 2627,59 unequal: No Solution No 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: 59:[71, 17], Operations: ['91-20=71', '27-10=17'] Exploring Operation: 71*17=1207, Resulting Numbers: [1207] 1207,59 unequal: No Solution Exploring Operation: 71-17=54, Resulting Numbers: [54] 54,59 unequal: No Solution Exploring Operation: 71+17=88, Resulting Numbers: [88] 88,59 unequal: No Solution No 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: 59:[27, 81], Operations: ['91-20=71', '10+71=81'] Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,59 unequal: No Solution Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,59 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,59 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 93, 20, 93, 97 ]
97
[ "93-93=0", "20*0=0", "97+0=97" ]
Current State: 97:[93, 20, 93, 97], Operations: [] Exploring Operation: 93-93=0, Resulting Numbers: [20, 97, 0] Generated Node #2: [20, 97, 0] from Operation: 93-93=0 Current State: 97:[20, 97, 0], Operations: ['93-93=0'] Exploring Operation: 20*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 20*0=0 Current State: 97:[97, 0], Operations: ['93-93=0', '20*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[93, 20, 93, 97], Operations: [] Exploring Operation: 93+20=113, Resulting Numbers: [93, 97, 113] Generated Node #0,0: 97:[93, 97, 113] Operation: 93+20=113 Moving to Node #0,0 Current State: 97:[93, 97, 113], Operations: ['93+20=113'] Exploring Operation: 113-93=20, Resulting Numbers: [97, 20] Generated Node #0,0,0: 97:[97, 20] Operation: 113-93=20 Moving to Node #0,0,0 Current State: 97:[97, 20], Operations: ['93+20=113', '113-93=20'] Exploring Operation: 97+20=117, Resulting Numbers: [117] 117,97 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 27, 11, 2, 66 ]
69
[ "11-2=9", "27/9=3", "66+3=69" ]
Current State: 69:[27, 11, 2, 66], Operations: [] Exploring Operation: 11-2=9, Resulting Numbers: [27, 66, 9] Generated Node #2: [27, 66, 9] from Operation: 11-2=9 Current State: 69:[27, 66, 9], Operations: ['11-2=9'] Exploring Operation: 27/9=3, Resulting Numbers: [66, 3] Generated Node #3: [66, 3] from Operation: 27/9=3 Current State: 69:[66, 3], Operations: ['11-2=9', '27/9=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[27, 11, 2, 66], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [27, 66, 22] Generated Node #0,0: 69:[27, 66, 22] Operation: 11*2=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[27, 66, 22], Operations: ['11*2=22'] Exploring Operation: 66/22=3, Resulting Numbers: [27, 3] Generated Node #0,0,0: 69:[27, 3] Operation: 66/22=3 Moving to Node #0,0,0 Current State: 69:[27, 3], Operations: ['11*2=22', '66/22=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,69 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
[ 80, 51, 48, 20 ]
20
[ "80-20=60", "51-48=3", "60/3=20" ]
Current State: 20:[80, 51, 48, 20], Operations: [] Exploring Operation: 80-20=60, Resulting Numbers: [51, 48, 60] Generated Node #2: [51, 48, 60] from Operation: 80-20=60 Current State: 20:[51, 48, 60], Operations: ['80-20=60'] Exploring Operation: 51-48=3, Resulting Numbers: [60, 3] Generated Node #3: [60, 3] from Operation: 51-48=3 Current State: 20:[60, 3], Operations: ['80-20=60', '51-48=3'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[80, 51, 48, 20], Operations: [] Exploring Operation: 80-20=60, Resulting Numbers: [51, 48, 60] Generated Node #0,0: 20:[51, 48, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [51, 48, 4] Generated Node #0,1: 20:[51, 48, 4] Operation: 80/20=4 Exploring Operation: 80-51=29, Resulting Numbers: [48, 20, 29] Generated Node #0,2: 20:[48, 20, 29] Operation: 80-51=29 Exploring Operation: 51-48=3, Resulting Numbers: [80, 20, 3] Generated Node #0,3: 20:[80, 20, 3] Operation: 51-48=3 Exploring Operation: 80-48=32, Resulting Numbers: [51, 20, 32] Generated Node #0,4: 20:[51, 20, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[48, 20, 29], Operations: ['80-51=29'] Exploring Operation: 29-20=9, Resulting Numbers: [48, 9] Generated Node #0,2,0: 20:[48, 9] Operation: 29-20=9 Exploring Operation: 48+20=68, Resulting Numbers: [29, 68] Generated Node #0,2,1: 20:[29, 68] Operation: 48+20=68 Exploring Operation: 48-29=19, Resulting Numbers: [20, 19] Generated Node #0,2,2: 20:[20, 19] Operation: 48-29=19 Exploring Operation: 48-20=28, Resulting Numbers: [29, 28] Generated Node #0,2,3: 20:[29, 28] Operation: 48-20=28 Exploring Operation: 48+29=77, Resulting Numbers: [20, 77] Generated Node #0,2,4: 20:[20, 77] Operation: 48+29=77 Moving to Node #0,2,2 Current State: 20:[20, 19], Operations: ['80-51=29', '48-29=19'] Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[29, 28], Operations: ['80-51=29', '48-20=28'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[48, 9], Operations: ['80-51=29', '29-20=9'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 48*9=432, Resulting Numbers: [432] 432,20 unequal: No Solution Exploring Operation: 48+9=57, Resulting Numbers: [57] 57,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[29, 68], Operations: ['80-51=29', '48+20=68'] Exploring Operation: 29*68=1972, Resulting Numbers: [1972] 1972,20 unequal: No Solution Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 29+68=97, Resulting Numbers: [97] 97,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[20, 77], Operations: ['80-51=29', '48+29=77'] Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,20 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,20 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[51, 20, 32], Operations: ['80-48=32'] Exploring Operation: 32-20=12, Resulting Numbers: [51, 12] Generated Node #0,4,0: 20:[51, 12] Operation: 32-20=12 Exploring Operation: 51+32=83, Resulting Numbers: [20, 83] Generated Node #0,4,1: 20:[20, 83] Operation: 51+32=83 Exploring Operation: 51-32=19, Resulting Numbers: [20, 19] Generated Node #0,4,2: 20:[20, 19] Operation: 51-32=19 Exploring Operation: 51+20=71, Resulting Numbers: [32, 71] Generated Node #0,4,3: 20:[32, 71] Operation: 51+20=71 Exploring Operation: 51-20=31, Resulting Numbers: [32, 31] Generated Node #0,4,4: 20:[32, 31] Operation: 51-20=31 Moving to Node #0,4,2 Current State: 20:[20, 19], Operations: ['80-48=32', '51-32=19'] Exploring Operation: 20*19=380, Resulting Numbers: [380] 380,20 unequal: No Solution Exploring Operation: 20+19=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 20-19=1, Resulting Numbers: [1] 1,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[32, 31], Operations: ['80-48=32', '51-20=31'] Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 32*31=992, Resulting Numbers: [992] 992,20 unequal: No Solution Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[51, 12], Operations: ['80-48=32', '32-20=12'] Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,20 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[20, 83], Operations: ['80-48=32', '51+32=83'] Exploring Operation: 20*83=1660, Resulting Numbers: [1660] 1660,20 unequal: No Solution Exploring Operation: 20+83=103, Resulting Numbers: [103] 103,20 unequal: No Solution Exploring Operation: 83-20=63, Resulting Numbers: [63] 63,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[32, 71], Operations: ['80-48=32', '51+20=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,20 unequal: No Solution Exploring Operation: 32*71=2272, Resulting Numbers: [2272] 2272,20 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[51, 48, 4], Operations: ['80/20=4'] Exploring Operation: 48-4=44, Resulting Numbers: [51, 44] Generated Node #0,1,0: 20:[51, 44] Operation: 48-4=44 Exploring Operation: 51+4=55, Resulting Numbers: [48, 55] Generated Node #0,1,1: 20:[48, 55] Operation: 51+4=55 Exploring Operation: 51-48=3, Resulting Numbers: [4, 3] Generated Node #0,1,2: 20:[4, 3] Operation: 51-48=3 Exploring Operation: 48/4=12, Resulting Numbers: [51, 12] Generated Node #0,1,3: 20:[51, 12] Operation: 48/4=12 Exploring Operation: 51-4=47, Resulting Numbers: [48, 47] Generated Node #0,1,4: 20:[48, 47] Operation: 51-4=47 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[4, 3], Operations: ['80/20=4', '51-48=3'] Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[51, 12], Operations: ['80/20=4', '48/4=12'] Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,20 unequal: No Solution Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[51, 44], Operations: ['80/20=4', '48-4=44'] Exploring Operation: 51-44=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 51+44=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 51*44=2244, Resulting Numbers: [2244] 2244,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 20:[48, 47], Operations: ['80/20=4', '51-4=47'] Exploring Operation: 48+47=95, Resulting Numbers: [95] 95,20 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 48*47=2256, Resulting Numbers: [2256] 2256,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[48, 55], Operations: ['80/20=4', '51+4=55'] Exploring Operation: 48*55=2640, Resulting Numbers: [2640] 2640,20 unequal: No Solution Exploring Operation: 48+55=103, Resulting Numbers: [103] 103,20 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[80, 20, 3], Operations: ['51-48=3'] Exploring Operation: 80+3=83, Resulting Numbers: [20, 83] Generated Node #0,3,0: 20:[20, 83] Operation: 80+3=83 Exploring Operation: 80/20=4, Resulting Numbers: [3, 4] Generated Node #0,3,1: 20:[3, 4] Operation: 80/20=4 Exploring Operation: 80-20=60, Resulting Numbers: [3, 60] Generated Node #0,3,2: 20:[3, 60] Operation: 80-20=60 Exploring Operation: 20+3=23, Resulting Numbers: [80, 23] Generated Node #0,3,3: 20:[80, 23] Operation: 20+3=23 Exploring Operation: 80-3=77, Resulting Numbers: [20, 77] Generated Node #0,3,4: 20:[20, 77] Operation: 80-3=77 Moving to Node #0,3,1 Current State: 20:[3, 4], Operations: ['51-48=3', '80/20=4'] Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[3, 60], Operations: ['51-48=3', '80-20=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,20 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,20 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[80, 51, 48, 20], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [80, 20, 3] Generated Node #0,3: 20:[80, 20, 3] Operation: 51-48=3 Moving to Node #0,3 Current State: 20:[80, 20, 3], Operations: ['51-48=3'] Exploring Operation: 80-20=60, Resulting Numbers: [3, 60] Generated Node #0,3,2: 20:[3, 60] Operation: 80-20=60 Moving to Node #0,3,2 Current State: 20:[3, 60], Operations: ['51-48=3', '80-20=60'] Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 73, 98, 59, 28 ]
35
[ "73-59=14", "98/14=7", "28+7=35" ]
Current State: 35:[73, 98, 59, 28], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [98, 28, 14] Generated Node #2: [98, 28, 14] from Operation: 73-59=14 Current State: 35:[98, 28, 14], Operations: ['73-59=14'] Exploring Operation: 98/14=7, Resulting Numbers: [28, 7] Generated Node #3: [28, 7] from Operation: 98/14=7 Current State: 35:[28, 7], Operations: ['73-59=14', '98/14=7'] Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[73, 98, 59, 28], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [59, 28, 25] Generated Node #0,0: 35:[59, 28, 25] Operation: 98-73=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[59, 28, 25], Operations: ['98-73=25'] Exploring Operation: 59-25=34, Resulting Numbers: [28, 34] Generated Node #0,0,0: 35:[28, 34] Operation: 59-25=34 Moving to Node #0,0,0 Current State: 35:[28, 34], Operations: ['98-73=25', '59-25=34'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,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
[ 68, 43, 9, 57 ]
91
[ "68-43=25", "9+57=66", "25+66=91" ]
Current State: 91:[68, 43, 9, 57], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [9, 57, 25] Generated Node #2: [9, 57, 25] from Operation: 68-43=25 Current State: 91:[9, 57, 25], Operations: ['68-43=25'] Exploring Operation: 9+57=66, Resulting Numbers: [25, 66] Generated Node #3: [25, 66] from Operation: 9+57=66 Current State: 91:[25, 66], Operations: ['68-43=25', '9+57=66'] Exploring Operation: 25+66=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[68, 43, 9, 57], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [43, 9, 11] Generated Node #0,0: 91:[43, 9, 11] Operation: 68-57=11 Exploring Operation: 68-43=25, Resulting Numbers: [9, 57, 25] Generated Node #0,1: 91:[9, 57, 25] Operation: 68-43=25 Exploring Operation: 68+43=111, Resulting Numbers: [9, 57, 111] Generated Node #0,2: 91:[9, 57, 111] Operation: 68+43=111 Exploring Operation: 43+57=100, Resulting Numbers: [68, 9, 100] Generated Node #0,3: 91:[68, 9, 100] Operation: 43+57=100 Exploring Operation: 57-43=14, Resulting Numbers: [68, 9, 14] Generated Node #0,4: 91:[68, 9, 14] Operation: 57-43=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 91:[68, 9, 14], Operations: ['57-43=14'] Exploring Operation: 68+14=82, Resulting Numbers: [9, 82] Generated Node #0,4,0: 91:[9, 82] Operation: 68+14=82 Exploring Operation: 14-9=5, Resulting Numbers: [68, 5] Generated Node #0,4,1: 91:[68, 5] Operation: 14-9=5 Exploring Operation: 68+9=77, Resulting Numbers: [14, 77] Generated Node #0,4,2: 91:[14, 77] Operation: 68+9=77 Exploring Operation: 9+14=23, Resulting Numbers: [68, 23] Generated Node #0,4,3: 91:[68, 23] Operation: 9+14=23 Exploring Operation: 68-9=59, Resulting Numbers: [14, 59] Generated Node #0,4,4: 91:[14, 59] Operation: 68-9=59 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 91:[9, 82], Operations: ['57-43=14', '68+14=82'] Exploring Operation: 9*82=738, Resulting Numbers: [738] 738,91 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,91 unequal: No Solution Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[68, 43, 9, 57], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [68, 9, 14] Generated Node #0,4: 91:[68, 9, 14] Operation: 57-43=14 Moving to Node #0,4 Current State: 91:[68, 9, 14], Operations: ['57-43=14'] Exploring Operation: 68+14=82, Resulting Numbers: [9, 82] Generated Node #0,4,0: 91:[9, 82] Operation: 68+14=82 Moving to Node #0,4,0 Current State: 91:[9, 82], Operations: ['57-43=14', '68+14=82'] Exploring Operation: 9+82=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 56, 75, 4, 56 ]
78
[ "56/56=1", "75+4=79", "79-1=78" ]
Current State: 78:[56, 75, 4, 56], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [75, 4, 1] Generated Node #2: [75, 4, 1] from Operation: 56/56=1 Current State: 78:[75, 4, 1], Operations: ['56/56=1'] Exploring Operation: 75+4=79, Resulting Numbers: [1, 79] Generated Node #3: [1, 79] from Operation: 75+4=79 Current State: 78:[1, 79], Operations: ['56/56=1', '75+4=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[56, 75, 4, 56], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [75, 4, 1] Generated Node #0,0: 78:[75, 4, 1] Operation: 56/56=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[75, 4, 1], Operations: ['56/56=1'] Exploring Operation: 75+4=79, Resulting Numbers: [1, 79] Generated Node #0,0,0: 78:[1, 79] Operation: 75+4=79 Moving to Node #0,0,0 Current State: 78:[1, 79], Operations: ['56/56=1', '75+4=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[56, 75, 4, 56], Operations: [] Exploring Operation: 56/56=1, Resulting Numbers: [75, 4, 1] Generated Node #0,0: 78:[75, 4, 1] Operation: 56/56=1 Moving to Node #0,0 Current State: 78:[75, 4, 1], Operations: ['56/56=1'] Exploring Operation: 75+4=79, Resulting Numbers: [1, 79] Generated Node #0,0,0: 78:[1, 79] Operation: 75+4=79 Moving to Node #0,0,0 Current State: 78:[1, 79], Operations: ['56/56=1', '75+4=79'] Exploring Operation: 79-1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 72, 39, 58, 5 ]
58
[ "72+39=111", "58-5=53", "111-53=58" ]
Current State: 58:[72, 39, 58, 5], Operations: [] Exploring Operation: 72+39=111, Resulting Numbers: [58, 5, 111] Generated Node #2: [58, 5, 111] from Operation: 72+39=111 Current State: 58:[58, 5, 111], Operations: ['72+39=111'] Exploring Operation: 58-5=53, Resulting Numbers: [111, 53] Generated Node #3: [111, 53] from Operation: 58-5=53 Current State: 58:[111, 53], Operations: ['72+39=111', '58-5=53'] Exploring Operation: 111-53=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[72, 39, 58, 5], Operations: [] Exploring Operation: 39-5=34, Resulting Numbers: [72, 58, 34] Generated Node #0,0: 58:[72, 58, 34] Operation: 39-5=34 Exploring Operation: 72-39=33, Resulting Numbers: [58, 5, 33] Generated Node #0,1: 58:[58, 5, 33] Operation: 72-39=33 Exploring Operation: 72-5=67, Resulting Numbers: [39, 58, 67] Generated Node #0,2: 58:[39, 58, 67] Operation: 72-5=67 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[58, 5, 33], Operations: ['72-39=33'] Exploring Operation: 58+5=63, Resulting Numbers: [33, 63] Generated Node #0,1,0: 58:[33, 63] Operation: 58+5=63 Exploring Operation: 33-5=28, Resulting Numbers: [58, 28] Generated Node #0,1,1: 58:[58, 28] Operation: 33-5=28 Exploring Operation: 58-33=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 58:[5, 25] Operation: 58-33=25 Moving to Node #0,1,1 Current State: 58:[58, 28], Operations: ['72-39=33', '33-5=28'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[5, 25], Operations: ['72-39=33', '58-33=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[33, 63], Operations: ['72-39=33', '58+5=63'] Exploring Operation: 33*63=2079, Resulting Numbers: [2079] 2079,58 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 33+63=96, Resulting Numbers: [96] 96,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[72, 58, 34], Operations: ['39-5=34'] Exploring Operation: 72-34=38, Resulting Numbers: [58, 38] Generated Node #0,0,0: 58:[58, 38] Operation: 72-34=38 Exploring Operation: 72-58=14, Resulting Numbers: [34, 14] Generated Node #0,0,1: 58:[34, 14] Operation: 72-58=14 Exploring Operation: 58-34=24, Resulting Numbers: [72, 24] Generated Node #0,0,2: 58:[72, 24] Operation: 58-34=24 Moving to Node #0,0,0 Current State: 58:[58, 38], Operations: ['39-5=34', '72-34=38'] Exploring Operation: 58*38=2204, Resulting Numbers: [2204] 2204,58 unequal: No Solution Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 58+38=96, Resulting Numbers: [96] 96,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[34, 14], Operations: ['39-5=34', '72-58=14'] Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[72, 24], Operations: ['39-5=34', '58-34=24'] Exploring Operation: 72-24=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 72+24=96, Resulting Numbers: [96] 96,58 unequal: No Solution Exploring Operation: 72/24=3, Resulting Numbers: [3] 3,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[39, 58, 67], Operations: ['72-5=67'] Exploring Operation: 58-39=19, Resulting Numbers: [67, 19] Generated Node #0,2,0: 58:[67, 19] Operation: 58-39=19 Exploring Operation: 67-39=28, Resulting Numbers: [58, 28] Generated Node #0,2,1: 58:[58, 28] Operation: 67-39=28 Exploring Operation: 67-58=9, Resulting Numbers: [39, 9] Generated Node #0,2,2: 58:[39, 9] Operation: 67-58=9 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[58, 28], Operations: ['72-5=67', '67-39=28'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 58+28=86, Resulting Numbers: [86] 86,58 unequal: No Solution Exploring Operation: 58*28=1624, Resulting Numbers: [1624] 1624,58 unequal: No Solution No 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: 58:[39, 9], Operations: ['72-5=67', '67-58=9'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 39+9=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 39*9=351, Resulting Numbers: [351] 351,58 unequal: No Solution No 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: 58:[67, 19], Operations: ['72-5=67', '58-39=19'] Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,58 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 17, 82, 17, 42 ]
90
[ "82-17=65", "42-17=25", "65+25=90" ]
Current State: 90:[17, 82, 17, 42], Operations: [] Exploring Operation: 82-17=65, Resulting Numbers: [42, 65] Generated Node #2: [42, 65] from Operation: 82-17=65 Current State: 90:[42, 65], Operations: ['82-17=65'] Exploring Operation: 42-17=25, Resulting Numbers: [65, 25] Generated Node #3: [65, 25] from Operation: 42-17=25 Current State: 90:[65, 25], Operations: ['82-17=65', '42-17=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[17, 82, 17, 42], Operations: [] Exploring Operation: 17/17=1, Resulting Numbers: [82, 42, 1] Generated Node #0,0: 90:[82, 42, 1] Operation: 17/17=1 Exploring Operation: 82-42=40, Resulting Numbers: [17, 17, 40] Generated Node #0,1: 90:[17, 17, 40] Operation: 82-42=40 Moving to Node #0,1 Current State: 90:[17, 17, 40], Operations: ['82-42=40'] Exploring Operation: 17/17=1, Resulting Numbers: [40, 1] Generated Node #0,1,0: 90:[40, 1] Operation: 17/17=1 Exploring Operation: 40-17=23, Resulting Numbers: [17, 23] Generated Node #0,1,1: 90:[17, 23] Operation: 40-17=23 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[40, 1], Operations: ['82-42=40', '17/17=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[17, 23], Operations: ['82-42=40', '40-17=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,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:[82, 42, 1], Operations: ['17/17=1'] Exploring Operation: 82-42=40, Resulting Numbers: [1, 40] Generated Node #0,0,0: 90:[1, 40] Operation: 82-42=40 Exploring Operation: 82+1=83, Resulting Numbers: [42, 83] Generated Node #0,0,1: 90:[42, 83] Operation: 82+1=83 Moving to Node #0,0,0 Current State: 90:[1, 40], Operations: ['17/17=1', '82-42=40'] Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[42, 83], Operations: ['17/17=1', '82+1=83'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,90 unequal: No Solution Exploring Operation: 42+83=125, Resulting Numbers: [125] 125,90 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 90, 77, 3, 84 ]
68
[ "90-77=13", "84-3=81", "81-13=68" ]
Current State: 68:[90, 77, 3, 84], Operations: [] Exploring Operation: 90-77=13, Resulting Numbers: [3, 84, 13] Generated Node #2: [3, 84, 13] from Operation: 90-77=13 Current State: 68:[3, 84, 13], Operations: ['90-77=13'] Exploring Operation: 84-3=81, Resulting Numbers: [13, 81] Generated Node #3: [13, 81] from Operation: 84-3=81 Current State: 68:[13, 81], Operations: ['90-77=13', '84-3=81'] Exploring Operation: 81-13=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[90, 77, 3, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [77, 3, 6] Generated Node #0,0: 68:[77, 3, 6] Operation: 90-84=6 Exploring Operation: 90-77=13, Resulting Numbers: [3, 84, 13] Generated Node #0,1: 68:[3, 84, 13] Operation: 90-77=13 Exploring Operation: 84-77=7, Resulting Numbers: [90, 3, 7] Generated Node #0,2: 68:[90, 3, 7] Operation: 84-77=7 Moving to Node #0,0 Current State: 68:[77, 3, 6], Operations: ['90-84=6'] Exploring Operation: 6/3=2, Resulting Numbers: [77, 2] Generated Node #0,0,0: 68:[77, 2] Operation: 6/3=2 Exploring Operation: 77-6=71, Resulting Numbers: [3, 71] Generated Node #0,0,1: 68:[3, 71] Operation: 77-6=71 Exploring Operation: 77-3=74, Resulting Numbers: [6, 74] Generated Node #0,0,2: 68:[6, 74] Operation: 77-3=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 68:[3, 71], Operations: ['90-84=6', '77-6=71'] Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,68 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,68 unequal: No Solution Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[90, 77, 3, 84], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [77, 3, 6] Generated Node #0,0: 68:[77, 3, 6] Operation: 90-84=6 Moving to Node #0,0 Current State: 68:[77, 3, 6], Operations: ['90-84=6'] Exploring Operation: 77-6=71, Resulting Numbers: [3, 71] Generated Node #0,0,1: 68:[3, 71] Operation: 77-6=71 Moving to Node #0,0,1 Current State: 68:[3, 71], Operations: ['90-84=6', '77-6=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 28, 22, 36, 8 ]
16
[ "28*8=224", "36-22=14", "224/14=16" ]
Current State: 16:[28, 22, 36, 8], Operations: [] Exploring Operation: 28*8=224, Resulting Numbers: [22, 36, 224] Generated Node #2: [22, 36, 224] from Operation: 28*8=224 Current State: 16:[22, 36, 224], Operations: ['28*8=224'] Exploring Operation: 36-22=14, Resulting Numbers: [224, 14] Generated Node #3: [224, 14] from Operation: 36-22=14 Current State: 16:[224, 14], Operations: ['28*8=224', '36-22=14'] Exploring Operation: 224/14=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[28, 22, 36, 8], Operations: [] Exploring Operation: 36-8=28, Resulting Numbers: [28, 22, 28] Generated Node #0,0: 16:[28, 22, 28] Operation: 36-8=28 Exploring Operation: 36-28=8, Resulting Numbers: [22, 8, 8] Generated Node #0,1: 16:[22, 8, 8] Operation: 36-28=8 Exploring Operation: 36-22=14, Resulting Numbers: [28, 8, 14] Generated Node #0,2: 16:[28, 8, 14] Operation: 36-22=14 Exploring Operation: 28-22=6, Resulting Numbers: [36, 8, 6] Generated Node #0,3: 16:[36, 8, 6] Operation: 28-22=6 Exploring Operation: 28-8=20, Resulting Numbers: [22, 36, 20] Generated Node #0,4: 16:[22, 36, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[22, 8, 8], Operations: ['36-28=8'] Exploring Operation: 8+8=16, Resulting Numbers: [22, 16] Generated Node #0,1,0: 16:[22, 16] Operation: 8+8=16 Exploring Operation: 8-8=0, Resulting Numbers: [22, 0] Generated Node #0,1,1: 16:[22, 0] Operation: 8-8=0 Exploring Operation: 22-8=14, Resulting Numbers: [8, 14] Generated Node #0,1,2: 16:[8, 14] Operation: 22-8=14 Exploring Operation: 8/8=1, Resulting Numbers: [22, 1] Generated Node #0,1,3: 16:[22, 1] Operation: 8/8=1 Exploring Operation: 22-8=14, Resulting Numbers: [8, 14] Generated Node #0,1,4: 16:[8, 14] Operation: 22-8=14 Moving to Node #0,1,2 Current State: 16:[8, 14], Operations: ['36-28=8', '22-8=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[8, 14], Operations: ['36-28=8', '22-8=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 8*14=112, Resulting Numbers: [112] 112,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[22, 16], Operations: ['36-28=8', '8+8=16'] Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,16 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,16 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[22, 1], Operations: ['36-28=8', '8/8=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,16 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,16 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,16 unequal: No Solution Moving to Node #0,1,1 Current State: 16:[22, 0], Operations: ['36-28=8', '8-8=0'] Exploring Operation: 22*0=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,16 unequal: No Solution Exploring Operation: 22-0=22, Resulting Numbers: [22] 22,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[28, 8, 14], Operations: ['36-22=14'] Exploring Operation: 8+14=22, Resulting Numbers: [28, 22] Generated Node #0,2,0: 16:[28, 22] Operation: 8+14=22 Exploring Operation: 28-14=14, Resulting Numbers: [8, 14] Generated Node #0,2,1: 16:[8, 14] Operation: 28-14=14 Exploring Operation: 28/14=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 16:[8, 2] Operation: 28/14=2 Exploring Operation: 14-8=6, Resulting Numbers: [28, 6] Generated Node #0,2,3: 16:[28, 6] Operation: 14-8=6 Exploring Operation: 28-8=20, Resulting Numbers: [14, 20] Generated Node #0,2,4: 16:[14, 20] Operation: 28-8=20 Moving to Node #0,2,2 Current State: 16:[8, 2], Operations: ['36-22=14', '28/14=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,16 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[28, 22, 36, 8], Operations: [] Exploring Operation: 36-22=14, Resulting Numbers: [28, 8, 14] Generated Node #0,2: 16:[28, 8, 14] Operation: 36-22=14 Moving to Node #0,2 Current State: 16:[28, 8, 14], Operations: ['36-22=14'] Exploring Operation: 28/14=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 16:[8, 2] Operation: 28/14=2 Moving to Node #0,2,2 Current State: 16:[8, 2], Operations: ['36-22=14', '28/14=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 46, 26, 59, 63 ]
16
[ "46-26=20", "63-59=4", "20-4=16" ]
Current State: 16:[46, 26, 59, 63], Operations: [] Exploring Operation: 46-26=20, Resulting Numbers: [59, 63, 20] Generated Node #2: [59, 63, 20] from Operation: 46-26=20 Current State: 16:[59, 63, 20], Operations: ['46-26=20'] Exploring Operation: 63-59=4, Resulting Numbers: [20, 4] Generated Node #3: [20, 4] from Operation: 63-59=4 Current State: 16:[20, 4], Operations: ['46-26=20', '63-59=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[46, 26, 59, 63], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [26, 63, 13] Generated Node #0,0: 16:[26, 63, 13] Operation: 59-46=13 Exploring Operation: 63-59=4, Resulting Numbers: [46, 26, 4] Generated Node #0,1: 16:[46, 26, 4] Operation: 63-59=4 Exploring Operation: 63-46=17, Resulting Numbers: [26, 59, 17] Generated Node #0,2: 16:[26, 59, 17] Operation: 63-46=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[46, 26, 4], Operations: ['63-59=4'] Exploring Operation: 46-4=42, Resulting Numbers: [26, 42] Generated Node #0,1,0: 16:[26, 42] Operation: 46-4=42 Exploring Operation: 46-26=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 16:[4, 20] Operation: 46-26=20 Exploring Operation: 26-4=22, Resulting Numbers: [46, 22] Generated Node #0,1,2: 16:[46, 22] Operation: 26-4=22 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 16:[4, 20], Operations: ['63-59=4', '46-26=20'] 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:[46, 26, 59, 63], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [46, 26, 4] Generated Node #0,1: 16:[46, 26, 4] Operation: 63-59=4 Moving to Node #0,1 Current State: 16:[46, 26, 4], Operations: ['63-59=4'] Exploring Operation: 46-26=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 16:[4, 20] Operation: 46-26=20 Moving to Node #0,1,1 Current State: 16:[4, 20], Operations: ['63-59=4', '46-26=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 66, 49, 20, 33 ]
78
[ "66*49=3234", "3234/33=98", "98-20=78" ]
Current State: 78:[66, 49, 20, 33], Operations: [] Exploring Operation: 66*49=3234, Resulting Numbers: [20, 33, 3234] Generated Node #2: [20, 33, 3234] from Operation: 66*49=3234 Current State: 78:[20, 33, 3234], Operations: ['66*49=3234'] Exploring Operation: 3234/33=98, Resulting Numbers: [20, 98] Generated Node #3: [20, 98] from Operation: 3234/33=98 Current State: 78:[20, 98], Operations: ['66*49=3234', '3234/33=98'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[66, 49, 20, 33], Operations: [] Exploring Operation: 66/33=2, Resulting Numbers: [49, 20, 2] Generated Node #0,0: 78:[49, 20, 2] Operation: 66/33=2 Exploring Operation: 66-49=17, Resulting Numbers: [20, 33, 17] Generated Node #0,1: 78:[20, 33, 17] Operation: 66-49=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[49, 20, 2], Operations: ['66/33=2'] Exploring Operation: 49-20=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 78:[2, 29] Operation: 49-20=29 Exploring Operation: 49+20=69, Resulting Numbers: [2, 69] Generated Node #0,0,1: 78:[2, 69] Operation: 49+20=69 Moving to Node #0,0,0 Current State: 78:[2, 29], Operations: ['66/33=2', '49-20=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[2, 69], Operations: ['66/33=2', '49+20=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,78 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[20, 33, 17], Operations: ['66-49=17'] Exploring Operation: 33-20=13, Resulting Numbers: [17, 13] Generated Node #0,1,0: 78:[17, 13] Operation: 33-20=13 Exploring Operation: 20-17=3, Resulting Numbers: [33, 3] Generated Node #0,1,1: 78:[33, 3] Operation: 20-17=3 Moving to Node #0,1,0 Current State: 78:[17, 13], Operations: ['66-49=17', '33-20=13'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,78 unequal: No Solution Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[33, 3], Operations: ['66-49=17', '20-17=3'] Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 8, 14, 2, 21 ]
84
[ "14-8=6", "6-2=4", "21*4=84" ]
Current State: 84:[8, 14, 2, 21], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [2, 21, 6] Generated Node #2: [2, 21, 6] from Operation: 14-8=6 Current State: 84:[2, 21, 6], Operations: ['14-8=6'] Exploring Operation: 6-2=4, Resulting Numbers: [21, 4] Generated Node #3: [21, 4] from Operation: 6-2=4 Current State: 84:[21, 4], Operations: ['14-8=6', '6-2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[8, 14, 2, 21], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [2, 21, 6] Generated Node #0,0: 84:[2, 21, 6] Operation: 14-8=6 Exploring Operation: 8-2=6, Resulting Numbers: [14, 21, 6] Generated Node #0,1: 84:[14, 21, 6] Operation: 8-2=6 Exploring Operation: 8/2=4, Resulting Numbers: [14, 21, 4] Generated Node #0,2: 84:[14, 21, 4] Operation: 8/2=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[2, 21, 6], Operations: ['14-8=6'] Exploring Operation: 2*21=42, Resulting Numbers: [6, 42] Generated Node #0,0,0: 84:[6, 42] Operation: 2*21=42 Exploring Operation: 6-2=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 84:[21, 4] Operation: 6-2=4 Exploring Operation: 2*6=12, Resulting Numbers: [21, 12] Generated Node #0,0,2: 84:[21, 12] Operation: 2*6=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[6, 42], Operations: ['14-8=6', '2*21=42'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,84 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,84 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[21, 4], Operations: ['14-8=6', '6-2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[8, 14, 2, 21], Operations: [] Exploring Operation: 14-8=6, Resulting Numbers: [2, 21, 6] Generated Node #0,0: 84:[2, 21, 6] Operation: 14-8=6 Moving to Node #0,0 Current State: 84:[2, 21, 6], Operations: ['14-8=6'] Exploring Operation: 6-2=4, Resulting Numbers: [21, 4] Generated Node #0,0,1: 84:[21, 4] Operation: 6-2=4 Moving to Node #0,0,1 Current State: 84:[21, 4], Operations: ['14-8=6', '6-2=4'] Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 11, 97, 1, 71 ]
14
[ "97-11=86", "1+71=72", "86-72=14" ]
Current State: 14:[11, 97, 1, 71], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [1, 71, 86] Generated Node #2: [1, 71, 86] from Operation: 97-11=86 Current State: 14:[1, 71, 86], Operations: ['97-11=86'] Exploring Operation: 1+71=72, Resulting Numbers: [86, 72] Generated Node #3: [86, 72] from Operation: 1+71=72 Current State: 14:[86, 72], Operations: ['97-11=86', '1+71=72'] Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[11, 97, 1, 71], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [11, 1, 26] Generated Node #0,0: 14:[11, 1, 26] Operation: 97-71=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[11, 1, 26], Operations: ['97-71=26'] Exploring Operation: 26-11=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 14:[1, 15] Operation: 26-11=15 Moving to Node #0,0,0 Current State: 14:[1, 15], Operations: ['97-71=26', '26-11=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[11, 97, 1, 71], Operations: [] Exploring Operation: 97-71=26, Resulting Numbers: [11, 1, 26] Generated Node #0,0: 14:[11, 1, 26] Operation: 97-71=26 Moving to Node #0,0 Current State: 14:[11, 1, 26], Operations: ['97-71=26'] Exploring Operation: 26-11=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 14:[1, 15] Operation: 26-11=15 Moving to Node #0,0,0 Current State: 14:[1, 15], Operations: ['97-71=26', '26-11=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 81, 15, 87 ]
77
[ "81-56=25", "15+87=102", "102-25=77" ]
Current State: 77:[56, 81, 15, 87], Operations: [] Exploring Operation: 81-56=25, Resulting Numbers: [15, 87, 25] Generated Node #2: [15, 87, 25] from Operation: 81-56=25 Current State: 77:[15, 87, 25], Operations: ['81-56=25'] Exploring Operation: 15+87=102, Resulting Numbers: [25, 102] Generated Node #3: [25, 102] from Operation: 15+87=102 Current State: 77:[25, 102], Operations: ['81-56=25', '15+87=102'] Exploring Operation: 102-25=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[56, 81, 15, 87], Operations: [] Exploring Operation: 87-81=6, Resulting Numbers: [56, 15, 6] Generated Node #0,0: 77:[56, 15, 6] Operation: 87-81=6 Exploring Operation: 56+15=71, Resulting Numbers: [81, 87, 71] Generated Node #0,1: 77:[81, 87, 71] Operation: 56+15=71 Exploring Operation: 81-56=25, Resulting Numbers: [15, 87, 25] Generated Node #0,2: 77:[15, 87, 25] Operation: 81-56=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[81, 87, 71], Operations: ['56+15=71'] Exploring Operation: 81-71=10, Resulting Numbers: [87, 10] Generated Node #0,1,0: 77:[87, 10] Operation: 81-71=10 Exploring Operation: 87-71=16, Resulting Numbers: [81, 16] Generated Node #0,1,1: 77:[81, 16] Operation: 87-71=16 Exploring Operation: 87-81=6, Resulting Numbers: [71, 6] Generated Node #0,1,2: 77:[71, 6] Operation: 87-81=6 Moving to Node #0,1,2 Current State: 77:[71, 6], Operations: ['56+15=71', '87-81=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[56, 81, 15, 87], Operations: [] Exploring Operation: 56+15=71, Resulting Numbers: [81, 87, 71] Generated Node #0,1: 77:[81, 87, 71] Operation: 56+15=71 Moving to Node #0,1 Current State: 77:[81, 87, 71], Operations: ['56+15=71'] Exploring Operation: 87-81=6, Resulting Numbers: [71, 6] Generated Node #0,1,2: 77:[71, 6] Operation: 87-81=6 Moving to Node #0,1,2 Current State: 77:[71, 6], Operations: ['56+15=71', '87-81=6'] Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 75, 38, 39, 92 ]
89
[ "75+39=114", "114/38=3", "92-3=89" ]
Current State: 89:[75, 38, 39, 92], Operations: [] Exploring Operation: 75+39=114, Resulting Numbers: [38, 92, 114] Generated Node #2: [38, 92, 114] from Operation: 75+39=114 Current State: 89:[38, 92, 114], Operations: ['75+39=114'] Exploring Operation: 114/38=3, Resulting Numbers: [92, 3] Generated Node #3: [92, 3] from Operation: 114/38=3 Current State: 89:[92, 3], Operations: ['75+39=114', '114/38=3'] Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[75, 38, 39, 92], Operations: [] Exploring Operation: 38+39=77, Resulting Numbers: [75, 92, 77] Generated Node #0,0: 89:[75, 92, 77] Operation: 38+39=77 Exploring Operation: 75+38=113, Resulting Numbers: [39, 92, 113] Generated Node #0,1: 89:[39, 92, 113] Operation: 75+38=113 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[75, 92, 77], Operations: ['38+39=77'] Exploring Operation: 75+77=152, Resulting Numbers: [92, 152] Generated Node #0,0,0: 89:[92, 152] Operation: 75+77=152 Exploring Operation: 92-75=17, Resulting Numbers: [77, 17] Generated Node #0,0,1: 89:[77, 17] Operation: 92-75=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[92, 152], Operations: ['38+39=77', '75+77=152'] Exploring Operation: 92+152=244, Resulting Numbers: [244] 244,89 unequal: No Solution Exploring Operation: 152-92=60, Resulting Numbers: [60] 60,89 unequal: No Solution No 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: 89:[77, 17], Operations: ['38+39=77', '92-75=17'] Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,89 unequal: No Solution Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,89 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: 89:[39, 92, 113], Operations: ['75+38=113'] Exploring Operation: 113-39=74, Resulting Numbers: [92, 74] Generated Node #0,1,0: 89:[92, 74] Operation: 113-39=74 Exploring Operation: 92-39=53, Resulting Numbers: [113, 53] Generated Node #0,1,1: 89:[113, 53] Operation: 92-39=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[92, 74], Operations: ['75+38=113', '113-39=74'] Exploring Operation: 92+74=166, Resulting Numbers: [166] 166,89 unequal: No Solution Exploring Operation: 92-74=18, Resulting Numbers: [18] 18,89 unequal: No Solution No 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: 89:[113, 53], Operations: ['75+38=113', '92-39=53'] Exploring Operation: 113-53=60, Resulting Numbers: [60] 60,89 unequal: No Solution Exploring Operation: 113+53=166, Resulting Numbers: [166] 166,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 59, 94, 76, 85 ]
26
[ "94-59=35", "85-76=9", "35-9=26" ]
Current State: 26:[59, 94, 76, 85], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [76, 85, 35] Generated Node #2: [76, 85, 35] from Operation: 94-59=35 Current State: 26:[76, 85, 35], Operations: ['94-59=35'] Exploring Operation: 85-76=9, Resulting Numbers: [35, 9] Generated Node #3: [35, 9] from Operation: 85-76=9 Current State: 26:[35, 9], Operations: ['94-59=35', '85-76=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[59, 94, 76, 85], Operations: [] Exploring Operation: 94-59=35, Resulting Numbers: [76, 85, 35] Generated Node #0,0: 26:[76, 85, 35] Operation: 94-59=35 Exploring Operation: 94-76=18, Resulting Numbers: [59, 85, 18] Generated Node #0,1: 26:[59, 85, 18] Operation: 94-76=18 Exploring Operation: 85-59=26, Resulting Numbers: [94, 76, 26] Generated Node #0,2: 26:[94, 76, 26] Operation: 85-59=26 Exploring Operation: 85-76=9, Resulting Numbers: [59, 94, 9] Generated Node #0,3: 26:[59, 94, 9] Operation: 85-76=9 Exploring Operation: 94-85=9, Resulting Numbers: [59, 76, 9] Generated Node #0,4: 26:[59, 76, 9] Operation: 94-85=9 Moving to Node #0,4 Current State: 26:[59, 76, 9], Operations: ['94-85=9'] Exploring Operation: 76-9=67, Resulting Numbers: [59, 67] Generated Node #0,4,0: 26:[59, 67] Operation: 76-9=67 Exploring Operation: 59+9=68, Resulting Numbers: [76, 68] Generated Node #0,4,1: 26:[76, 68] Operation: 59+9=68 Exploring Operation: 76+9=85, Resulting Numbers: [59, 85] Generated Node #0,4,2: 26:[59, 85] Operation: 76+9=85 Exploring Operation: 76-59=17, Resulting Numbers: [9, 17] Generated Node #0,4,3: 26:[9, 17] Operation: 76-59=17 Exploring Operation: 59-9=50, Resulting Numbers: [76, 50] Generated Node #0,4,4: 26:[76, 50] Operation: 59-9=50 Moving to Node #0,1 Current State: 26:[59, 85, 18], Operations: ['94-76=18'] Exploring Operation: 59-18=41, Resulting Numbers: [85, 41] Generated Node #0,1,0: 26:[85, 41] Operation: 59-18=41 Exploring Operation: 85+18=103, Resulting Numbers: [59, 103] Generated Node #0,1,1: 26:[59, 103] Operation: 85+18=103 Exploring Operation: 85-18=67, Resulting Numbers: [59, 67] Generated Node #0,1,2: 26:[59, 67] Operation: 85-18=67 Exploring Operation: 85-59=26, Resulting Numbers: [18, 26] Generated Node #0,1,3: 26:[18, 26] Operation: 85-59=26 Exploring Operation: 59+18=77, Resulting Numbers: [85, 77] Generated Node #0,1,4: 26:[85, 77] Operation: 59+18=77 Moving to Node #0,3 Current State: 26:[59, 94, 9], Operations: ['85-76=9'] Exploring Operation: 94+9=103, Resulting Numbers: [59, 103] Generated Node #0,3,0: 26:[59, 103] Operation: 94+9=103 Exploring Operation: 94-59=35, Resulting Numbers: [9, 35] Generated Node #0,3,1: 26:[9, 35] Operation: 94-59=35 Exploring Operation: 59+9=68, Resulting Numbers: [94, 68] Generated Node #0,3,2: 26:[94, 68] Operation: 59+9=68 Exploring Operation: 59-9=50, Resulting Numbers: [94, 50] Generated Node #0,3,3: 26:[94, 50] Operation: 59-9=50 Exploring Operation: 94-9=85, Resulting Numbers: [59, 85] Generated Node #0,3,4: 26:[59, 85] Operation: 94-9=85 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 26:[9, 35], Operations: ['85-76=9', '94-59=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[59, 94, 76, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [59, 94, 9] Generated Node #0,3: 26:[59, 94, 9] Operation: 85-76=9 Moving to Node #0,3 Current State: 26:[59, 94, 9], Operations: ['85-76=9'] Exploring Operation: 94-59=35, Resulting Numbers: [9, 35] Generated Node #0,3,1: 26:[9, 35] Operation: 94-59=35 Moving to Node #0,3,1 Current State: 26:[9, 35], Operations: ['85-76=9', '94-59=35'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 91, 86, 65, 41 ]
63
[ "86-41=45", "91*45=4095", "4095/65=63" ]
Current State: 63:[91, 86, 65, 41], Operations: [] Exploring Operation: 86-41=45, Resulting Numbers: [91, 65, 45] Generated Node #2: [91, 65, 45] from Operation: 86-41=45 Current State: 63:[91, 65, 45], Operations: ['86-41=45'] Exploring Operation: 91*45=4095, Resulting Numbers: [65, 4095] Generated Node #3: [65, 4095] from Operation: 91*45=4095 Current State: 63:[65, 4095], Operations: ['86-41=45', '91*45=4095'] Exploring Operation: 4095/65=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 86, 65, 41], Operations: [] Exploring Operation: 91-65=26, Resulting Numbers: [86, 41, 26] Generated Node #0,0: 63:[86, 41, 26] Operation: 91-65=26 Exploring Operation: 91-41=50, Resulting Numbers: [86, 65, 50] Generated Node #0,1: 63:[86, 65, 50] Operation: 91-41=50 Exploring Operation: 91-86=5, Resulting Numbers: [65, 41, 5] Generated Node #0,2: 63:[65, 41, 5] Operation: 91-86=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[65, 41, 5], Operations: ['91-86=5'] Exploring Operation: 41-5=36, Resulting Numbers: [65, 36] Generated Node #0,2,0: 63:[65, 36] Operation: 41-5=36 Exploring Operation: 65-41=24, Resulting Numbers: [5, 24] Generated Node #0,2,1: 63:[5, 24] Operation: 65-41=24 Exploring Operation: 41+5=46, Resulting Numbers: [65, 46] Generated Node #0,2,2: 63:[65, 46] Operation: 41+5=46 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 63:[5, 24], Operations: ['91-86=5', '65-41=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,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, 36], Operations: ['91-86=5', '41-5=36'] Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,63 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,63 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,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,2 Current State: 63:[65, 46], Operations: ['91-86=5', '41+5=46'] Exploring Operation: 65-46=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 65+46=111, Resulting Numbers: [111] 111,63 unequal: No Solution Exploring Operation: 65*46=2990, Resulting Numbers: [2990] 2990,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,1 Current State: 63:[86, 65, 50], Operations: ['91-41=50'] Exploring Operation: 65-50=15, Resulting Numbers: [86, 15] Generated Node #0,1,0: 63:[86, 15] Operation: 65-50=15 Exploring Operation: 86-65=21, Resulting Numbers: [50, 21] Generated Node #0,1,1: 63:[50, 21] Operation: 86-65=21 Exploring Operation: 86-50=36, Resulting Numbers: [65, 36] Generated Node #0,1,2: 63:[65, 36] Operation: 86-50=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[50, 21], Operations: ['91-41=50', '86-65=21'] Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,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:[65, 36], Operations: ['91-41=50', '86-50=36'] Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,63 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,63 unequal: No Solution Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,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,0 Current State: 63:[86, 15], Operations: ['91-41=50', '65-50=15'] Exploring Operation: 86*15=1290, Resulting Numbers: [1290] 1290,63 unequal: No Solution Exploring Operation: 86-15=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 86+15=101, Resulting Numbers: [101] 101,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,0 Current State: 63:[86, 41, 26], Operations: ['91-65=26'] Exploring Operation: 86-26=60, Resulting Numbers: [41, 60] Generated Node #0,0,0: 63:[41, 60] Operation: 86-26=60 Exploring Operation: 41+26=67, Resulting Numbers: [86, 67] Generated Node #0,0,1: 63:[86, 67] Operation: 41+26=67 Exploring Operation: 86-41=45, Resulting Numbers: [26, 45] Generated Node #0,0,2: 63:[26, 45] Operation: 86-41=45 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[41, 60], Operations: ['91-65=26', '86-26=60'] Exploring Operation: 41+60=101, Resulting Numbers: [101] 101,63 unequal: No Solution Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 41*60=2460, Resulting Numbers: [2460] 2460,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,0,2 Current State: 63:[26, 45], Operations: ['91-65=26', '86-41=45'] Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,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,0,1 Current State: 63:[86, 67], Operations: ['91-65=26', '41+26=67'] Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,63 unequal: No Solution Exploring Operation: 86*67=5762, Resulting Numbers: [5762] 5762,63 unequal: No Solution Exploring Operation: 86+67=153, Resulting Numbers: [153] 153,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
[ 50, 76, 78, 5 ]
53
[ "50+76=126", "78-5=73", "126-73=53" ]
Current State: 53:[50, 76, 78, 5], Operations: [] Exploring Operation: 50+76=126, Resulting Numbers: [78, 5, 126] Generated Node #2: [78, 5, 126] from Operation: 50+76=126 Current State: 53:[78, 5, 126], Operations: ['50+76=126'] Exploring Operation: 78-5=73, Resulting Numbers: [126, 73] Generated Node #3: [126, 73] from Operation: 78-5=73 Current State: 53:[126, 73], Operations: ['50+76=126', '78-5=73'] Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[50, 76, 78, 5], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [50, 76, 73] Generated Node #0,0: 53:[50, 76, 73] Operation: 78-5=73 Exploring Operation: 76-5=71, Resulting Numbers: [50, 78, 71] Generated Node #0,1: 53:[50, 78, 71] Operation: 76-5=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[50, 76, 73], Operations: ['78-5=73'] Exploring Operation: 76-50=26, Resulting Numbers: [73, 26] Generated Node #0,0,0: 53:[73, 26] Operation: 76-50=26 Exploring Operation: 73-50=23, Resulting Numbers: [76, 23] Generated Node #0,0,1: 53:[76, 23] Operation: 73-50=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[73, 26], Operations: ['78-5=73', '76-50=26'] Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,53 unequal: No Solution Exploring Operation: 73+26=99, Resulting Numbers: [99] 99,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 53:[76, 23], Operations: ['78-5=73', '73-50=23'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[50, 76, 78, 5], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [50, 76, 73] Generated Node #0,0: 53:[50, 76, 73] Operation: 78-5=73 Moving to Node #0,0 Current State: 53:[50, 76, 73], Operations: ['78-5=73'] Exploring Operation: 73-50=23, Resulting Numbers: [76, 23] Generated Node #0,0,1: 53:[76, 23] Operation: 73-50=23 Moving to Node #0,0,1 Current State: 53:[76, 23], Operations: ['78-5=73', '73-50=23'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 12, 70, 24, 24 ]
44
[ "24/12=2", "70-24=46", "46-2=44" ]
Current State: 44:[12, 70, 24, 24], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [70, 2] Generated Node #2: [70, 2] from Operation: 24/12=2 Current State: 44:[70, 2], Operations: ['24/12=2'] Exploring Operation: 70-24=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 70-24=46 Current State: 44:[2, 46], Operations: ['24/12=2', '70-24=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[12, 70, 24, 24], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [70, 24, 2] Generated Node #0,0: 44:[70, 24, 2] Operation: 24/12=2 Exploring Operation: 70-12=58, Resulting Numbers: [24, 24, 58] Generated Node #0,1: 44:[24, 24, 58] Operation: 70-12=58 Exploring Operation: 70-24=46, Resulting Numbers: [12, 24, 46] Generated Node #0,2: 44:[12, 24, 46] Operation: 70-24=46 Exploring Operation: 24/12=2, Resulting Numbers: [70, 24, 2] Generated Node #0,3: 44:[70, 24, 2] Operation: 24/12=2 Exploring Operation: 70-24=46, Resulting Numbers: [12, 24, 46] Generated Node #0,4: 44:[12, 24, 46] Operation: 70-24=46 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[12, 24, 46], Operations: ['70-24=46'] Exploring Operation: 24-12=12, Resulting Numbers: [46, 12] Generated Node #0,2,0: 44:[46, 12] Operation: 24-12=12 Exploring Operation: 46-12=34, Resulting Numbers: [24, 34] Generated Node #0,2,1: 44:[24, 34] Operation: 46-12=34 Exploring Operation: 12+24=36, Resulting Numbers: [46, 36] Generated Node #0,2,2: 44:[46, 36] Operation: 12+24=36 Exploring Operation: 46-24=22, Resulting Numbers: [12, 22] Generated Node #0,2,3: 44:[12, 22] Operation: 46-24=22 Exploring Operation: 24/12=2, Resulting Numbers: [46, 2] Generated Node #0,2,4: 44:[46, 2] Operation: 24/12=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 44:[12, 22], Operations: ['70-24=46', '46-24=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,44 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,44 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,44 unequal: No Solution No 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: 44:[46, 2], Operations: ['70-24=46', '24/12=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,44 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[12, 70, 24, 24], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [12, 24, 46] Generated Node #0,2: 44:[12, 24, 46] Operation: 70-24=46 Moving to Node #0,2 Current State: 44:[12, 24, 46], Operations: ['70-24=46'] Exploring Operation: 24/12=2, Resulting Numbers: [46, 2] Generated Node #0,2,4: 44:[46, 2] Operation: 24/12=2 Moving to Node #0,2,4 Current State: 44:[46, 2], Operations: ['70-24=46', '24/12=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 8, 18, 2, 16 ]
22
[ "18-8=10", "2*16=32", "32-10=22" ]
Current State: 22:[8, 18, 2, 16], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [2, 16, 10] Generated Node #2: [2, 16, 10] from Operation: 18-8=10 Current State: 22:[2, 16, 10], Operations: ['18-8=10'] Exploring Operation: 2*16=32, Resulting Numbers: [10, 32] Generated Node #3: [10, 32] from Operation: 2*16=32 Current State: 22:[10, 32], Operations: ['18-8=10', '2*16=32'] Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[8, 18, 2, 16], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [2, 16, 10] Generated Node #0,0: 22:[2, 16, 10] Operation: 18-8=10 Exploring Operation: 8+16=24, Resulting Numbers: [18, 2, 24] Generated Node #0,1: 22:[18, 2, 24] Operation: 8+16=24 Exploring Operation: 16/8=2, Resulting Numbers: [18, 2, 2] Generated Node #0,2: 22:[18, 2, 2] Operation: 16/8=2 Exploring Operation: 18-16=2, Resulting Numbers: [8, 2, 2] Generated Node #0,3: 22:[8, 2, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[8, 2, 2], Operations: ['18-16=2'] Exploring Operation: 8+2=10, Resulting Numbers: [2, 10] Generated Node #0,3,0: 22:[2, 10] Operation: 8+2=10 Exploring Operation: 8+2=10, Resulting Numbers: [2, 10] Generated Node #0,3,1: 22:[2, 10] Operation: 8+2=10 Exploring Operation: 8/2=4, Resulting Numbers: [2, 4] Generated Node #0,3,2: 22:[2, 4] Operation: 8/2=4 Exploring Operation: 8/2=4, Resulting Numbers: [2, 4] Generated Node #0,3,3: 22:[2, 4] Operation: 8/2=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 22:[2, 10], Operations: ['18-16=2', '8+2=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,22 unequal: No Solution No 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: 22:[2, 10], Operations: ['18-16=2', '8+2=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,22 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,22 unequal: No Solution No 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: 22:[2, 4], Operations: ['18-16=2', '8/2=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,22 unequal: No Solution No 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: 22:[2, 4], Operations: ['18-16=2', '8/2=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,22 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: 22:[18, 2, 2], Operations: ['16/8=2'] Exploring Operation: 18+2=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 22:[2, 20] Operation: 18+2=20 Exploring Operation: 18+2=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 22:[2, 20] Operation: 18+2=20 Exploring Operation: 18/2=9, Resulting Numbers: [2, 9] Generated Node #0,2,2: 22:[2, 9] Operation: 18/2=9 Exploring Operation: 18/2=9, Resulting Numbers: [2, 9] Generated Node #0,2,3: 22:[2, 9] Operation: 18/2=9 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 22:[2, 20], Operations: ['16/8=2', '18+2=20'] Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[8, 18, 2, 16], Operations: [] Exploring Operation: 16/8=2, Resulting Numbers: [18, 2, 2] Generated Node #0,2: 22:[18, 2, 2] Operation: 16/8=2 Moving to Node #0,2 Current State: 22:[18, 2, 2], Operations: ['16/8=2'] Exploring Operation: 18+2=20, Resulting Numbers: [2, 20] Generated Node #0,2,0: 22:[2, 20] Operation: 18+2=20 Moving to Node #0,2,0 Current State: 22:[2, 20], Operations: ['16/8=2', '18+2=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.971354
hs_4
mult_heuristic
[ 21, 76, 28, 12 ]
95
[ "76-21=55", "28+12=40", "55+40=95" ]
Current State: 95:[21, 76, 28, 12], Operations: [] Exploring Operation: 76-21=55, Resulting Numbers: [28, 12, 55] Generated Node #2: [28, 12, 55] from Operation: 76-21=55 Current State: 95:[28, 12, 55], Operations: ['76-21=55'] Exploring Operation: 28+12=40, Resulting Numbers: [55, 40] Generated Node #3: [55, 40] from Operation: 28+12=40 Current State: 95:[55, 40], Operations: ['76-21=55', '28+12=40'] Exploring Operation: 55+40=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[21, 76, 28, 12], Operations: [] Exploring Operation: 76+12=88, Resulting Numbers: [21, 28, 88] Generated Node #0,0: 95:[21, 28, 88] Operation: 76+12=88 Exploring Operation: 28-12=16, Resulting Numbers: [21, 76, 16] Generated Node #0,1: 95:[21, 76, 16] Operation: 28-12=16 Exploring Operation: 21+76=97, Resulting Numbers: [28, 12, 97] Generated Node #0,2: 95:[28, 12, 97] Operation: 21+76=97 Exploring Operation: 76+28=104, Resulting Numbers: [21, 12, 104] Generated Node #0,3: 95:[21, 12, 104] Operation: 76+28=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[21, 28, 88], Operations: ['76+12=88'] Exploring Operation: 28+88=116, Resulting Numbers: [21, 116] Generated Node #0,0,0: 95:[21, 116] Operation: 28+88=116 Exploring Operation: 21+88=109, Resulting Numbers: [28, 109] Generated Node #0,0,1: 95:[28, 109] Operation: 21+88=109 Exploring Operation: 28-21=7, Resulting Numbers: [88, 7] Generated Node #0,0,2: 95:[88, 7] Operation: 28-21=7 Exploring Operation: 21+28=49, Resulting Numbers: [88, 49] Generated Node #0,0,3: 95:[88, 49] Operation: 21+28=49 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[88, 7], Operations: ['76+12=88', '28-21=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[21, 76, 28, 12], Operations: [] Exploring Operation: 76+12=88, Resulting Numbers: [21, 28, 88] Generated Node #0,0: 95:[21, 28, 88] Operation: 76+12=88 Moving to Node #0,0 Current State: 95:[21, 28, 88], Operations: ['76+12=88'] Exploring Operation: 28-21=7, Resulting Numbers: [88, 7] Generated Node #0,0,2: 95:[88, 7] Operation: 28-21=7 Moving to Node #0,0,2 Current State: 95:[88, 7], Operations: ['76+12=88', '28-21=7'] Exploring Operation: 88+7=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 9, 10, 69, 40 ]
28
[ "10-9=1", "69-40=29", "29-1=28" ]
Current State: 28:[9, 10, 69, 40], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [69, 40, 1] Generated Node #2: [69, 40, 1] from Operation: 10-9=1 Current State: 28:[69, 40, 1], Operations: ['10-9=1'] Exploring Operation: 69-40=29, Resulting Numbers: [1, 29] Generated Node #3: [1, 29] from Operation: 69-40=29 Current State: 28:[1, 29], Operations: ['10-9=1', '69-40=29'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[9, 10, 69, 40], Operations: [] Exploring Operation: 69-10=59, Resulting Numbers: [9, 40, 59] Generated Node #0,0: 28:[9, 40, 59] Operation: 69-10=59 Exploring Operation: 40/10=4, Resulting Numbers: [9, 69, 4] Generated Node #0,1: 28:[9, 69, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [9, 69, 30] Generated Node #0,2: 28:[9, 69, 30] Operation: 40-10=30 Exploring Operation: 69-40=29, Resulting Numbers: [9, 10, 29] Generated Node #0,3: 28:[9, 10, 29] Operation: 69-40=29 Moving to Node #0,3 Current State: 28:[9, 10, 29], Operations: ['69-40=29'] Exploring Operation: 29-10=19, Resulting Numbers: [9, 19] Generated Node #0,3,0: 28:[9, 19] Operation: 29-10=19 Exploring Operation: 10-9=1, Resulting Numbers: [29, 1] Generated Node #0,3,1: 28:[29, 1] Operation: 10-9=1 Exploring Operation: 29-9=20, Resulting Numbers: [10, 20] Generated Node #0,3,2: 28:[10, 20] Operation: 29-9=20 Exploring Operation: 9+10=19, Resulting Numbers: [29, 19] Generated Node #0,3,3: 28:[29, 19] Operation: 9+10=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 28:[29, 1], Operations: ['69-40=29', '10-9=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[9, 10, 69, 40], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [9, 10, 29] Generated Node #0,3: 28:[9, 10, 29] Operation: 69-40=29 Moving to Node #0,3 Current State: 28:[9, 10, 29], Operations: ['69-40=29'] Exploring Operation: 10-9=1, Resulting Numbers: [29, 1] Generated Node #0,3,1: 28:[29, 1] Operation: 10-9=1 Moving to Node #0,3,1 Current State: 28:[29, 1], Operations: ['69-40=29', '10-9=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 90, 60, 68, 36 ]
82
[ "90*60=5400", "5400/36=150", "150-68=82" ]
Current State: 82:[90, 60, 68, 36], Operations: [] Exploring Operation: 90*60=5400, Resulting Numbers: [68, 36, 5400] Generated Node #2: [68, 36, 5400] from Operation: 90*60=5400 Current State: 82:[68, 36, 5400], Operations: ['90*60=5400'] Exploring Operation: 5400/36=150, Resulting Numbers: [68, 150] Generated Node #3: [68, 150] from Operation: 5400/36=150 Current State: 82:[68, 150], Operations: ['90*60=5400', '5400/36=150'] Exploring Operation: 150-68=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[90, 60, 68, 36], Operations: [] Exploring Operation: 90-60=30, Resulting Numbers: [68, 36, 30] Generated Node #0,0: 82:[68, 36, 30] Operation: 90-60=30 Exploring Operation: 68-60=8, Resulting Numbers: [90, 36, 8] Generated Node #0,1: 82:[90, 36, 8] Operation: 68-60=8 Exploring Operation: 60+36=96, Resulting Numbers: [90, 68, 96] Generated Node #0,2: 82:[90, 68, 96] Operation: 60+36=96 Moving to Node #0,1 Current State: 82:[90, 36, 8], Operations: ['68-60=8'] Exploring Operation: 90-8=82, Resulting Numbers: [36, 82] Generated Node #0,1,0: 82:[36, 82] Operation: 90-8=82 Exploring Operation: 90-36=54, Resulting Numbers: [8, 54] Generated Node #0,1,1: 82:[8, 54] Operation: 90-36=54 Exploring Operation: 36+8=44, Resulting Numbers: [90, 44] Generated Node #0,1,2: 82:[90, 44] Operation: 36+8=44 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[36, 82], Operations: ['68-60=8', '90-8=82'] Exploring Operation: 36*82=2952, Resulting Numbers: [2952] 2952,82 unequal: No Solution Exploring Operation: 36+82=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 82-36=46, Resulting Numbers: [46] 46,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[90, 44], Operations: ['68-60=8', '36+8=44'] Exploring Operation: 90*44=3960, Resulting Numbers: [3960] 3960,82 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 90+44=134, Resulting Numbers: [134] 134,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[8, 54], Operations: ['68-60=8', '90-36=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,82 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 82:[68, 36, 30], Operations: ['90-60=30'] Exploring Operation: 36-30=6, Resulting Numbers: [68, 6] Generated Node #0,0,0: 82:[68, 6] Operation: 36-30=6 Exploring Operation: 68-36=32, Resulting Numbers: [30, 32] Generated Node #0,0,1: 82:[30, 32] Operation: 68-36=32 Exploring Operation: 68-30=38, Resulting Numbers: [36, 38] Generated Node #0,0,2: 82:[36, 38] Operation: 68-30=38 Moving to Node #0,2 Current State: 82:[90, 68, 96], Operations: ['60+36=96'] Exploring Operation: 96-90=6, Resulting Numbers: [68, 6] Generated Node #0,2,0: 82:[68, 6] Operation: 96-90=6 Exploring Operation: 96-68=28, Resulting Numbers: [90, 28] Generated Node #0,2,1: 82:[90, 28] Operation: 96-68=28 Exploring Operation: 90-68=22, Resulting Numbers: [96, 22] Generated Node #0,2,2: 82:[96, 22] Operation: 90-68=22 Moving to Node #0,0,2 Current State: 82:[36, 38], Operations: ['90-60=30', '68-30=38'] Exploring Operation: 36*38=1368, Resulting Numbers: [1368] 1368,82 unequal: No Solution Exploring Operation: 36+38=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[68, 6], Operations: ['90-60=30', '36-30=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,82 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,82 unequal: No Solution Moving to Node #0,2,0 Current State: 82:[68, 6], Operations: ['60+36=96', '96-90=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[30, 32], Operations: ['90-60=30', '68-36=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,82 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,82 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[90, 28], Operations: ['60+36=96', '96-68=28'] Exploring Operation: 90*28=2520, Resulting Numbers: [2520] 2520,82 unequal: No Solution Exploring Operation: 90+28=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[96, 22], Operations: ['60+36=96', '90-68=22'] Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,82 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,82 unequal: No Solution Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,82 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 69, 25, 39, 48 ]
35
[ "69-25=44", "48-39=9", "44-9=35" ]
Current State: 35:[69, 25, 39, 48], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [39, 48, 44] Generated Node #2: [39, 48, 44] from Operation: 69-25=44 Current State: 35:[39, 48, 44], Operations: ['69-25=44'] Exploring Operation: 48-39=9, Resulting Numbers: [44, 9] Generated Node #3: [44, 9] from Operation: 48-39=9 Current State: 35:[44, 9], Operations: ['69-25=44', '48-39=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[69, 25, 39, 48], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [25, 48, 30] Generated Node #0,0: 35:[25, 48, 30] Operation: 69-39=30 Exploring Operation: 69-25=44, Resulting Numbers: [39, 48, 44] Generated Node #0,1: 35:[39, 48, 44] Operation: 69-25=44 Moving to Node #0,1 Current State: 35:[39, 48, 44], Operations: ['69-25=44'] Exploring Operation: 48-39=9, Resulting Numbers: [44, 9] Generated Node #0,1,0: 35:[44, 9] Operation: 48-39=9 Exploring Operation: 48-44=4, Resulting Numbers: [39, 4] Generated Node #0,1,1: 35:[39, 4] Operation: 48-44=4 Moving to Node #0,0 Current State: 35:[25, 48, 30], Operations: ['69-39=30'] Exploring Operation: 48-25=23, Resulting Numbers: [30, 23] Generated Node #0,0,0: 35:[30, 23] Operation: 48-25=23 Exploring Operation: 30-25=5, Resulting Numbers: [48, 5] Generated Node #0,0,1: 35:[48, 5] Operation: 30-25=5 Moving to Node #0,1,1 Current State: 35:[39, 4], Operations: ['69-25=44', '48-44=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[69, 25, 39, 48], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [39, 48, 44] Generated Node #0,1: 35:[39, 48, 44] Operation: 69-25=44 Moving to Node #0,1 Current State: 35:[39, 48, 44], Operations: ['69-25=44'] Exploring Operation: 48-44=4, Resulting Numbers: [39, 4] Generated Node #0,1,1: 35:[39, 4] Operation: 48-44=4 Moving to Node #0,1,1 Current State: 35:[39, 4], Operations: ['69-25=44', '48-44=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 35, 48, 19, 15 ]
17
[ "48-35=13", "19-15=4", "13+4=17" ]
Current State: 17:[35, 48, 19, 15], Operations: [] Exploring Operation: 48-35=13, Resulting Numbers: [19, 15, 13] Generated Node #2: [19, 15, 13] from Operation: 48-35=13 Current State: 17:[19, 15, 13], Operations: ['48-35=13'] Exploring Operation: 19-15=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 19-15=4 Current State: 17:[13, 4], Operations: ['48-35=13', '19-15=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[35, 48, 19, 15], Operations: [] Exploring Operation: 48-19=29, Resulting Numbers: [35, 15, 29] Generated Node #0,0: 17:[35, 15, 29] Operation: 48-19=29 Exploring Operation: 48-35=13, Resulting Numbers: [19, 15, 13] Generated Node #0,1: 17:[19, 15, 13] Operation: 48-35=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[19, 15, 13], Operations: ['48-35=13'] Exploring Operation: 15+13=28, Resulting Numbers: [19, 28] Generated Node #0,1,0: 17:[19, 28] Operation: 15+13=28 Exploring Operation: 19-13=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 17:[15, 6] Operation: 19-13=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 17:[19, 28], Operations: ['48-35=13', '15+13=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,17 unequal: No Solution No 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: 17:[15, 6], Operations: ['48-35=13', '19-13=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,17 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: 17:[35, 15, 29], Operations: ['48-19=29'] Exploring Operation: 35-15=20, Resulting Numbers: [29, 20] Generated Node #0,0,0: 17:[29, 20] Operation: 35-15=20 Exploring Operation: 35-29=6, Resulting Numbers: [15, 6] Generated Node #0,0,1: 17:[15, 6] Operation: 35-29=6 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[15, 6], Operations: ['48-19=29', '35-29=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,17 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,17 unequal: No Solution No 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: 17:[29, 20], Operations: ['48-19=29', '35-15=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,17 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
[ 50, 60, 81, 50 ]
21
[ "50+60=110", "81+50=131", "131-110=21" ]
Current State: 21:[50, 60, 81, 50], Operations: [] Exploring Operation: 50+60=110, Resulting Numbers: [81, 110] Generated Node #2: [81, 110] from Operation: 50+60=110 Current State: 21:[81, 110], Operations: ['50+60=110'] Exploring Operation: 81+50=131, Resulting Numbers: [110, 131] Generated Node #3: [110, 131] from Operation: 81+50=131 Current State: 21:[110, 131], Operations: ['50+60=110', '81+50=131'] Exploring Operation: 131-110=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[50, 60, 81, 50], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [60, 50, 31] Generated Node #0,0: 21:[60, 50, 31] Operation: 81-50=31 Exploring Operation: 81-60=21, Resulting Numbers: [50, 50, 21] Generated Node #0,1: 21:[50, 50, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 21:[50, 50, 21], Operations: ['81-60=21'] Exploring Operation: 50-50=0, Resulting Numbers: [21, 0] Generated Node #0,1,0: 21:[21, 0] Operation: 50-50=0 Exploring Operation: 50/50=1, Resulting Numbers: [21, 1] Generated Node #0,1,1: 21:[21, 1] Operation: 50/50=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[21, 1], Operations: ['81-60=21', '50/50=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[50, 60, 81, 50], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [50, 50, 21] Generated Node #0,1: 21:[50, 50, 21] Operation: 81-60=21 Moving to Node #0,1 Current State: 21:[50, 50, 21], Operations: ['81-60=21'] Exploring Operation: 50/50=1, Resulting Numbers: [21, 1] Generated Node #0,1,1: 21:[21, 1] Operation: 50/50=1 Moving to Node #0,1,1 Current State: 21:[21, 1], Operations: ['81-60=21', '50/50=1'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 13, 38, 41, 17 ]
49
[ "38-13=25", "41-17=24", "25+24=49" ]
Current State: 49:[13, 38, 41, 17], Operations: [] Exploring Operation: 38-13=25, Resulting Numbers: [41, 17, 25] Generated Node #2: [41, 17, 25] from Operation: 38-13=25 Current State: 49:[41, 17, 25], Operations: ['38-13=25'] Exploring Operation: 41-17=24, Resulting Numbers: [25, 24] Generated Node #3: [25, 24] from Operation: 41-17=24 Current State: 49:[25, 24], Operations: ['38-13=25', '41-17=24'] Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[13, 38, 41, 17], Operations: [] Exploring Operation: 13+38=51, Resulting Numbers: [41, 17, 51] Generated Node #0,0: 49:[41, 17, 51] Operation: 13+38=51 Exploring Operation: 38+17=55, Resulting Numbers: [13, 41, 55] Generated Node #0,1: 49:[13, 41, 55] Operation: 38+17=55 Exploring Operation: 17-13=4, Resulting Numbers: [38, 41, 4] Generated Node #0,2: 49:[38, 41, 4] Operation: 17-13=4 Exploring Operation: 41-38=3, Resulting Numbers: [13, 17, 3] Generated Node #0,3: 49:[13, 17, 3] Operation: 41-38=3 Exploring Operation: 13+41=54, Resulting Numbers: [38, 17, 54] Generated Node #0,4: 49:[38, 17, 54] Operation: 13+41=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[41, 17, 51], Operations: ['13+38=51'] Exploring Operation: 41-17=24, Resulting Numbers: [51, 24] Generated Node #0,0,0: 49:[51, 24] Operation: 41-17=24 Exploring Operation: 51-41=10, Resulting Numbers: [17, 10] Generated Node #0,0,1: 49:[17, 10] Operation: 51-41=10 Exploring Operation: 51-17=34, Resulting Numbers: [41, 34] Generated Node #0,0,2: 49:[41, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [41, 3] Generated Node #0,0,3: 49:[41, 3] Operation: 51/17=3 Exploring Operation: 41+17=58, Resulting Numbers: [51, 58] Generated Node #0,0,4: 49:[51, 58] Operation: 41+17=58 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[51, 58], Operations: ['13+38=51', '41+17=58'] Exploring Operation: 58-51=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 51+58=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 51*58=2958, Resulting Numbers: [2958] 2958,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 49:[41, 3], Operations: ['13+38=51', '51/17=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,49 unequal: No Solution Exploring Operation: 41*3=123, Resulting Numbers: [123] 123,49 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[17, 10], Operations: ['13+38=51', '51-41=10'] Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[51, 24], Operations: ['13+38=51', '41-17=24'] Exploring Operation: 51+24=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 51*24=1224, Resulting Numbers: [1224] 1224,49 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 49:[41, 34], Operations: ['13+38=51', '51-17=34'] Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,49 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[13, 41, 55], Operations: ['38+17=55'] Exploring Operation: 55-13=42, Resulting Numbers: [41, 42] Generated Node #0,1,0: 49:[41, 42] Operation: 55-13=42 Exploring Operation: 13+41=54, Resulting Numbers: [55, 54] Generated Node #0,1,1: 49:[55, 54] Operation: 13+41=54 Exploring Operation: 41-13=28, Resulting Numbers: [55, 28] Generated Node #0,1,2: 49:[55, 28] Operation: 41-13=28 Exploring Operation: 13+55=68, Resulting Numbers: [41, 68] Generated Node #0,1,3: 49:[41, 68] Operation: 13+55=68 Exploring Operation: 55-41=14, Resulting Numbers: [13, 14] Generated Node #0,1,4: 49:[13, 14] Operation: 55-41=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[55, 54], Operations: ['38+17=55', '13+41=54'] Exploring Operation: 55+54=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 55*54=2970, Resulting Numbers: [2970] 2970,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[13, 14], Operations: ['38+17=55', '55-41=14'] Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,49 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[41, 42], Operations: ['38+17=55', '55-13=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,49 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[55, 28], Operations: ['38+17=55', '41-13=28'] Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 55+28=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 55*28=1540, Resulting Numbers: [1540] 1540,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[41, 68], Operations: ['38+17=55', '13+55=68'] Exploring Operation: 41*68=2788, Resulting Numbers: [2788] 2788,49 unequal: No Solution Exploring Operation: 41+68=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[13, 17, 3], Operations: ['41-38=3'] Exploring Operation: 17-13=4, Resulting Numbers: [3, 4] Generated Node #0,3,0: 49:[3, 4] Operation: 17-13=4 Exploring Operation: 13-3=10, Resulting Numbers: [17, 10] Generated Node #0,3,1: 49:[17, 10] Operation: 13-3=10 Exploring Operation: 17*3=51, Resulting Numbers: [13, 51] Generated Node #0,3,2: 49:[13, 51] Operation: 17*3=51 Exploring Operation: 13+3=16, Resulting Numbers: [17, 16] Generated Node #0,3,3: 49:[17, 16] Operation: 13+3=16 Exploring Operation: 17-3=14, Resulting Numbers: [13, 14] Generated Node #0,3,4: 49:[13, 14] Operation: 17-3=14 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 49:[3, 4], Operations: ['41-38=3', '17-13=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 49:[13, 51], Operations: ['41-38=3', '17*3=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,49 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[17, 10], Operations: ['41-38=3', '13-3=10'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 17+10=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 17*10=170, Resulting Numbers: [170] 170,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 49:[13, 14], Operations: ['41-38=3', '17-3=14'] Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,49 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,49 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 49:[17, 16], Operations: ['41-38=3', '13+3=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,49 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[38, 41, 4], Operations: ['17-13=4'] Exploring Operation: 38-4=34, Resulting Numbers: [41, 34] Generated Node #0,2,0: 49:[41, 34] Operation: 38-4=34 Exploring Operation: 41+4=45, Resulting Numbers: [38, 45] Generated Node #0,2,1: 49:[38, 45] Operation: 41+4=45 Exploring Operation: 38+4=42, Resulting Numbers: [41, 42] Generated Node #0,2,2: 49:[41, 42] Operation: 38+4=42 Exploring Operation: 41-4=37, Resulting Numbers: [38, 37] Generated Node #0,2,3: 49:[38, 37] Operation: 41-4=37 Exploring Operation: 41-38=3, Resulting Numbers: [4, 3] Generated Node #0,2,4: 49:[4, 3] Operation: 41-38=3 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 49:[4, 3], Operations: ['17-13=4', '41-38=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 4+3=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[38, 45], Operations: ['17-13=4', '41+4=45'] Exploring Operation: 38*45=1710, Resulting Numbers: [1710] 1710,49 unequal: No Solution Exploring Operation: 38+45=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 45-38=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[41, 42], Operations: ['17-13=4', '38+4=42'] Exploring Operation: 41+42=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 42-41=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 41*42=1722, Resulting Numbers: [1722] 1722,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[41, 34], Operations: ['17-13=4', '38-4=34'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 49:[38, 37], Operations: ['17-13=4', '41-4=37'] Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,49 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[38, 17, 54], Operations: ['13+41=54'] Exploring Operation: 54-17=37, Resulting Numbers: [38, 37] Generated Node #0,4,0: 49:[38, 37] Operation: 54-17=37 Exploring Operation: 38-17=21, Resulting Numbers: [54, 21] Generated Node #0,4,1: 49:[54, 21] Operation: 38-17=21 Exploring Operation: 17+54=71, Resulting Numbers: [38, 71] Generated Node #0,4,2: 49:[38, 71] Operation: 17+54=71 Exploring Operation: 38+17=55, Resulting Numbers: [54, 55] Generated Node #0,4,3: 49:[54, 55] Operation: 38+17=55 Exploring Operation: 54-38=16, Resulting Numbers: [17, 16] Generated Node #0,4,4: 49:[17, 16] Operation: 54-38=16 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[54, 55], Operations: ['13+41=54', '38+17=55'] Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,49 unequal: No Solution Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 49:[54, 21], Operations: ['13+41=54', '38-17=21'] Exploring Operation: 54-21=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 54*21=1134, Resulting Numbers: [1134] 1134,49 unequal: No Solution Exploring Operation: 54+21=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 49:[17, 16], Operations: ['13+41=54', '54-38=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,49 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 49:[38, 37], Operations: ['13+41=54', '54-17=37'] Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 49:[38, 71], Operations: ['13+41=54', '17+54=71'] Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,49 unequal: No Solution Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,49 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 76, 8, 3, 53 ]
83
[ "3+53=56", "56/8=7", "76+7=83" ]
Current State: 83:[76, 8, 3, 53], Operations: [] Exploring Operation: 3+53=56, Resulting Numbers: [76, 8, 56] Generated Node #2: [76, 8, 56] from Operation: 3+53=56 Current State: 83:[76, 8, 56], Operations: ['3+53=56'] Exploring Operation: 56/8=7, Resulting Numbers: [76, 7] Generated Node #3: [76, 7] from Operation: 56/8=7 Current State: 83:[76, 7], Operations: ['3+53=56', '56/8=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[76, 8, 3, 53], Operations: [] Exploring Operation: 76+3=79, Resulting Numbers: [8, 53, 79] Generated Node #0,0: 83:[8, 53, 79] Operation: 76+3=79 Exploring Operation: 8*3=24, Resulting Numbers: [76, 53, 24] Generated Node #0,1: 83:[76, 53, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[76, 53, 24], Operations: ['8*3=24'] Exploring Operation: 53+24=77, Resulting Numbers: [76, 77] Generated Node #0,1,0: 83:[76, 77] Operation: 53+24=77 Exploring Operation: 76+24=100, Resulting Numbers: [53, 100] Generated Node #0,1,1: 83:[53, 100] Operation: 76+24=100 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[76, 77], Operations: ['8*3=24', '53+24=77'] Exploring Operation: 77-76=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 76+77=153, Resulting Numbers: [153] 153,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[53, 100], Operations: ['8*3=24', '76+24=100'] Exploring Operation: 53+100=153, Resulting Numbers: [153] 153,83 unequal: No Solution Exploring Operation: 100-53=47, Resulting Numbers: [47] 47,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[8, 53, 79], Operations: ['76+3=79'] Exploring Operation: 8+53=61, Resulting Numbers: [79, 61] Generated Node #0,0,0: 83:[79, 61] Operation: 8+53=61 Exploring Operation: 8+79=87, Resulting Numbers: [53, 87] Generated Node #0,0,1: 83:[53, 87] Operation: 8+79=87 Moving to Node #0,0,0 Current State: 83:[79, 61], Operations: ['76+3=79', '8+53=61'] Exploring Operation: 79-61=18, Resulting Numbers: [18] 18,83 unequal: No Solution Exploring Operation: 79+61=140, Resulting Numbers: [140] 140,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[53, 87], Operations: ['76+3=79', '8+79=87'] Exploring Operation: 53+87=140, Resulting Numbers: [140] 140,83 unequal: No Solution Exploring Operation: 87-53=34, Resulting Numbers: [34] 34,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 36, 32, 37 ]
78
[ "2*37=74", "36-32=4", "74+4=78" ]
Current State: 78:[2, 36, 32, 37], Operations: [] Exploring Operation: 2*37=74, Resulting Numbers: [36, 32, 74] Generated Node #2: [36, 32, 74] from Operation: 2*37=74 Current State: 78:[36, 32, 74], Operations: ['2*37=74'] Exploring Operation: 36-32=4, Resulting Numbers: [74, 4] Generated Node #3: [74, 4] from Operation: 36-32=4 Current State: 78:[74, 4], Operations: ['2*37=74', '36-32=4'] Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[2, 36, 32, 37], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [2, 37, 4] Generated Node #0,0: 78:[2, 37, 4] Operation: 36-32=4 Exploring Operation: 37-32=5, Resulting Numbers: [2, 36, 5] Generated Node #0,1: 78:[2, 36, 5] Operation: 37-32=5 Exploring Operation: 37-36=1, Resulting Numbers: [2, 32, 1] Generated Node #0,2: 78:[2, 32, 1] Operation: 37-36=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[2, 37, 4], Operations: ['36-32=4'] Exploring Operation: 2+37=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 78:[4, 39] Operation: 2+37=39 Exploring Operation: 4-2=2, Resulting Numbers: [37, 2] Generated Node #0,0,1: 78:[37, 2] Operation: 4-2=2 Exploring Operation: 2+4=6, Resulting Numbers: [37, 6] Generated Node #0,0,2: 78:[37, 6] Operation: 2+4=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[4, 39], Operations: ['36-32=4', '2+37=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[37, 2], Operations: ['36-32=4', '4-2=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[37, 6], Operations: ['36-32=4', '2+4=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[2, 36, 5], Operations: ['37-32=5'] Exploring Operation: 5-2=3, Resulting Numbers: [36, 3] Generated Node #0,1,0: 78:[36, 3] Operation: 5-2=3 Exploring Operation: 2+36=38, Resulting Numbers: [5, 38] Generated Node #0,1,1: 78:[5, 38] Operation: 2+36=38 Exploring Operation: 36+5=41, Resulting Numbers: [2, 41] Generated Node #0,1,2: 78:[2, 41] Operation: 36+5=41 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[5, 38], Operations: ['37-32=5', '2+36=38'] Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,78 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[2, 41], Operations: ['37-32=5', '36+5=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[36, 3], Operations: ['37-32=5', '5-2=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,78 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[2, 32, 1], Operations: ['37-36=1'] Exploring Operation: 32-2=30, Resulting Numbers: [1, 30] Generated Node #0,2,0: 78:[1, 30] Operation: 32-2=30 Exploring Operation: 32-1=31, Resulting Numbers: [2, 31] Generated Node #0,2,1: 78:[2, 31] Operation: 32-1=31 Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #0,2,2: 78:[1, 16] Operation: 32/2=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 78:[1, 16], Operations: ['37-36=1', '32/2=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 78:[1, 30], Operations: ['37-36=1', '32-2=30'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,78 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[2, 31], Operations: ['37-36=1', '32-1=31'] Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 2+31=33, Resulting Numbers: [33] 33,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 76, 89, 71, 52 ]
42
[ "76+89=165", "71+52=123", "165-123=42" ]
Current State: 42:[76, 89, 71, 52], Operations: [] Exploring Operation: 76+89=165, Resulting Numbers: [71, 52, 165] Generated Node #2: [71, 52, 165] from Operation: 76+89=165 Current State: 42:[71, 52, 165], Operations: ['76+89=165'] Exploring Operation: 71+52=123, Resulting Numbers: [165, 123] Generated Node #3: [165, 123] from Operation: 71+52=123 Current State: 42:[165, 123], Operations: ['76+89=165', '71+52=123'] Exploring Operation: 165-123=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[76, 89, 71, 52], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [76, 52, 18] Generated Node #0,0: 42:[76, 52, 18] Operation: 89-71=18 Exploring Operation: 89-76=13, Resulting Numbers: [71, 52, 13] Generated Node #0,1: 42:[71, 52, 13] Operation: 89-76=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[71, 52, 13], Operations: ['89-76=13'] Exploring Operation: 71-13=58, Resulting Numbers: [52, 58] Generated Node #0,1,0: 42:[52, 58] Operation: 71-13=58 Exploring Operation: 71-52=19, Resulting Numbers: [13, 19] Generated Node #0,1,1: 42:[13, 19] Operation: 71-52=19 Moving to Node #0,1,1 Current State: 42:[13, 19], Operations: ['89-76=13', '71-52=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[52, 58], Operations: ['89-76=13', '71-13=58'] Exploring Operation: 52+58=110, Resulting Numbers: [110] 110,42 unequal: No Solution Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[76, 52, 18], Operations: ['89-71=18'] Exploring Operation: 76-52=24, Resulting Numbers: [18, 24] Generated Node #0,0,0: 42:[18, 24] Operation: 76-52=24 Exploring Operation: 76-18=58, Resulting Numbers: [52, 58] Generated Node #0,0,1: 42:[52, 58] Operation: 76-18=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[18, 24], Operations: ['89-71=18', '76-52=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[76, 89, 71, 52], Operations: [] Exploring Operation: 89-71=18, Resulting Numbers: [76, 52, 18] Generated Node #0,0: 42:[76, 52, 18] Operation: 89-71=18 Moving to Node #0,0 Current State: 42:[76, 52, 18], Operations: ['89-71=18'] Exploring Operation: 76-52=24, Resulting Numbers: [18, 24] Generated Node #0,0,0: 42:[18, 24] Operation: 76-52=24 Moving to Node #0,0,0 Current State: 42:[18, 24], Operations: ['89-71=18', '76-52=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 64, 89, 25, 7 ]
57
[ "89-64=25", "25+7=32", "25+32=57" ]
Current State: 57:[64, 89, 25, 7], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [25, 7, 25] Generated Node #2: [25, 7, 25] from Operation: 89-64=25 Current State: 57:[25, 7, 25], Operations: ['89-64=25'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,57 equal: Goal Reached Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[64, 89, 25, 7], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [64, 25, 82] Generated Node #0,0: 57:[64, 25, 82] Operation: 89-7=82 Exploring Operation: 25-7=18, Resulting Numbers: [64, 89, 18] Generated Node #0,1: 57:[64, 89, 18] Operation: 25-7=18 Exploring Operation: 89-64=25, Resulting Numbers: [25, 7, 25] Generated Node #0,2: 57:[25, 7, 25] Operation: 89-64=25 Exploring Operation: 64-7=57, Resulting Numbers: [89, 25, 57] Generated Node #0,3: 57:[89, 25, 57] Operation: 64-7=57 Exploring Operation: 89-25=64, Resulting Numbers: [64, 7, 64] Generated Node #0,4: 57:[64, 7, 64] Operation: 89-25=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[25, 7, 25], Operations: ['89-64=25'] Exploring Operation: 25/25=1, Resulting Numbers: [7, 1] Generated Node #0,2,0: 57:[7, 1] Operation: 25/25=1 Exploring Operation: 25-7=18, Resulting Numbers: [25, 18] Generated Node #0,2,1: 57:[25, 18] Operation: 25-7=18 Exploring Operation: 25-7=18, Resulting Numbers: [25, 18] Generated Node #0,2,2: 57:[25, 18] Operation: 25-7=18 Exploring Operation: 25-25=0, Resulting Numbers: [7, 0] Generated Node #0,2,3: 57:[7, 0] Operation: 25-25=0 Exploring Operation: 25+25=50, Resulting Numbers: [7, 50] Generated Node #0,2,4: 57:[7, 50] Operation: 25+25=50 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[7, 1], Operations: ['89-64=25', '25/25=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,57 unequal: No Solution No 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: 57:[25, 18], Operations: ['89-64=25', '25-7=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,57 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 25+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 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[25, 18], Operations: ['89-64=25', '25-7=18'] Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,57 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,57 unequal: No Solution No 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: 57:[7, 0], Operations: ['89-64=25', '25-25=0'] Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,57 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,57 unequal: No Solution No 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: 57:[7, 50], Operations: ['89-64=25', '25+25=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,57 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[64, 89, 25, 7], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [25, 7, 25] Generated Node #0,2: 57:[25, 7, 25] Operation: 89-64=25 Moving to Node #0,2 Current State: 57:[25, 7, 25], Operations: ['89-64=25'] Exploring Operation: 25+25=50, Resulting Numbers: [7, 50] Generated Node #0,2,4: 57:[7, 50] Operation: 25+25=50 Moving to Node #0,2,4 Current State: 57:[7, 50], Operations: ['89-64=25', '25+25=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 58, 49, 55, 52 ]
18
[ "58*49=2842", "55*52=2860", "2860-2842=18" ]
Current State: 18:[58, 49, 55, 52], Operations: [] Exploring Operation: 58*49=2842, Resulting Numbers: [55, 52, 2842] Generated Node #2: [55, 52, 2842] from Operation: 58*49=2842 Current State: 18:[55, 52, 2842], Operations: ['58*49=2842'] Exploring Operation: 55*52=2860, Resulting Numbers: [2842, 2860] Generated Node #3: [2842, 2860] from Operation: 55*52=2860 Current State: 18:[2842, 2860], Operations: ['58*49=2842', '55*52=2860'] Exploring Operation: 2860-2842=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[58, 49, 55, 52], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [55, 52, 9] Generated Node #0,0: 18:[55, 52, 9] Operation: 58-49=9 Exploring Operation: 55-52=3, Resulting Numbers: [58, 49, 3] Generated Node #0,1: 18:[58, 49, 3] Operation: 55-52=3 Exploring Operation: 58-52=6, Resulting Numbers: [49, 55, 6] Generated Node #0,2: 18:[49, 55, 6] Operation: 58-52=6 Exploring Operation: 55-49=6, Resulting Numbers: [58, 52, 6] Generated Node #0,3: 18:[58, 52, 6] Operation: 55-49=6 Exploring Operation: 58-55=3, Resulting Numbers: [49, 52, 3] Generated Node #0,4: 18:[49, 52, 3] Operation: 58-55=3 Moving to Node #0,4 Current State: 18:[49, 52, 3], Operations: ['58-55=3'] Exploring Operation: 49+3=52, Resulting Numbers: [52, 52] Generated Node #0,4,0: 18:[52, 52] Operation: 49+3=52 Exploring Operation: 49-3=46, Resulting Numbers: [52, 46] Generated Node #0,4,1: 18:[52, 46] Operation: 49-3=46 Exploring Operation: 52-49=3, Resulting Numbers: [3, 3] Generated Node #0,4,2: 18:[3, 3] Operation: 52-49=3 Exploring Operation: 52+3=55, Resulting Numbers: [49, 55] Generated Node #0,4,3: 18:[49, 55] Operation: 52+3=55 Exploring Operation: 52-3=49, Resulting Numbers: [49, 49] Generated Node #0,4,4: 18:[49, 49] Operation: 52-3=49 Moving to Node #0,2 Current State: 18:[49, 55, 6], Operations: ['58-52=6'] Exploring Operation: 55-6=49, Resulting Numbers: [49, 49] Generated Node #0,2,0: 18:[49, 49] Operation: 55-6=49 Exploring Operation: 55+6=61, Resulting Numbers: [49, 61] Generated Node #0,2,1: 18:[49, 61] Operation: 55+6=61 Exploring Operation: 49+6=55, Resulting Numbers: [55, 55] Generated Node #0,2,2: 18:[55, 55] Operation: 49+6=55 Exploring Operation: 55-49=6, Resulting Numbers: [6, 6] Generated Node #0,2,3: 18:[6, 6] Operation: 55-49=6 Exploring Operation: 49-6=43, Resulting Numbers: [55, 43] Generated Node #0,2,4: 18:[55, 43] Operation: 49-6=43 Moving to Node #0,0 Current State: 18:[55, 52, 9], Operations: ['58-49=9'] Exploring Operation: 55-52=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 18:[9, 3] Operation: 55-52=3 Exploring Operation: 52+9=61, Resulting Numbers: [55, 61] Generated Node #0,0,1: 18:[55, 61] Operation: 52+9=61 Exploring Operation: 55-9=46, Resulting Numbers: [52, 46] Generated Node #0,0,2: 18:[52, 46] Operation: 55-9=46 Exploring Operation: 52-9=43, Resulting Numbers: [55, 43] Generated Node #0,0,3: 18:[55, 43] Operation: 52-9=43 Exploring Operation: 55+9=64, Resulting Numbers: [52, 64] Generated Node #0,0,4: 18:[52, 64] Operation: 55+9=64 Moving to Node #0,1 Current State: 18:[58, 49, 3], Operations: ['55-52=3'] Exploring Operation: 58+3=61, Resulting Numbers: [49, 61] Generated Node #0,1,0: 18:[49, 61] Operation: 58+3=61 Exploring Operation: 58-3=55, Resulting Numbers: [49, 55] Generated Node #0,1,1: 18:[49, 55] Operation: 58-3=55 Exploring Operation: 49-3=46, Resulting Numbers: [58, 46] Generated Node #0,1,2: 18:[58, 46] Operation: 49-3=46 Exploring Operation: 58-49=9, Resulting Numbers: [3, 9] Generated Node #0,1,3: 18:[3, 9] Operation: 58-49=9 Exploring Operation: 49+3=52, Resulting Numbers: [58, 52] Generated Node #0,1,4: 18:[58, 52] Operation: 49+3=52 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 18:[3, 9], Operations: ['55-52=3', '58-49=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,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,1,1 Current State: 18:[49, 55], Operations: ['55-52=3', '58-3=55'] Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,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,1,2 Current State: 18:[58, 46], Operations: ['55-52=3', '49-3=46'] Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,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,1,0 Current State: 18:[49, 61], Operations: ['55-52=3', '58+3=61'] Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,18 unequal: No Solution Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,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,1,4 Current State: 18:[58, 52], Operations: ['55-52=3', '49+3=52'] Exploring Operation: 58-52=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 58+52=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 58*52=3016, Resulting Numbers: [3016] 3016,18 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: 18:[58, 52, 6], Operations: ['55-49=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58, 58] Generated Node #0,3,0: 18:[58, 58] Operation: 52+6=58 Exploring Operation: 58-6=52, Resulting Numbers: [52, 52] Generated Node #0,3,1: 18:[52, 52] Operation: 58-6=52 Exploring Operation: 58-52=6, Resulting Numbers: [6, 6] Generated Node #0,3,2: 18:[6, 6] Operation: 58-52=6 Exploring Operation: 58+6=64, Resulting Numbers: [52, 64] Generated Node #0,3,3: 18:[52, 64] Operation: 58+6=64 Exploring Operation: 52-6=46, Resulting Numbers: [58, 46] Generated Node #0,3,4: 18:[58, 46] Operation: 52-6=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 18:[6, 6], Operations: ['55-49=6', '58-52=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,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:[52, 52], Operations: ['55-49=6', '58-6=52'] Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,18 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,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,4 Current State: 18:[58, 46], Operations: ['55-49=6', '52-6=46'] Exploring Operation: 58*46=2668, Resulting Numbers: [2668] 2668,18 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 58+46=104, Resulting Numbers: [104] 104,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,0 Current State: 18:[58, 58], Operations: ['55-49=6', '52+6=58'] Exploring Operation: 58*58=3364, Resulting Numbers: [3364] 3364,18 unequal: No Solution Exploring Operation: 58+58=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 58-58=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 58/58=1, Resulting Numbers: [1] 1,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:[52, 64], Operations: ['55-49=6', '58+6=64'] Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,18 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 18:[3, 3], Operations: ['58-55=3', '52-49=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,18 unequal: No Solution Moving to Node #0,2,3 Current State: 18:[6, 6], Operations: ['58-52=6', '55-49=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[9, 3], Operations: ['58-49=9', '55-52=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,18 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[49, 49], Operations: ['58-52=6', '55-6=49'] Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,18 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,18 unequal: No Solution Moving to Node #0,4,4 Current State: 18:[49, 49], Operations: ['58-55=3', '52-3=49'] Exploring Operation: 49/49=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 49*49=2401, Resulting Numbers: [2401] 2401,18 unequal: No Solution Exploring Operation: 49-49=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 49+49=98, Resulting Numbers: [98] 98,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[52, 46], Operations: ['58-49=9', '55-9=46'] Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,18 unequal: No Solution Moving to Node #0,0,3 Current State: 18:[55, 43], Operations: ['58-49=9', '52-9=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,18 unequal: No Solution Moving to Node #0,4,1 Current State: 18:[52, 46], Operations: ['58-55=3', '49-3=46'] Exploring Operation: 52*46=2392, Resulting Numbers: [2392] 2392,18 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 52+46=98, Resulting Numbers: [98] 98,18 unequal: No Solution Moving to Node #0,2,4 Current State: 18:[55, 43], Operations: ['58-52=6', '49-6=43'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,18 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,18 unequal: No Solution Moving to Node #0,4,3 Current State: 18:[49, 55], Operations: ['58-55=3', '52+3=55'] Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,18 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,18 unequal: No Solution Moving to Node #0,4,0 Current State: 18:[52, 52], Operations: ['58-55=3', '49+3=52'] Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,18 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[55, 55], Operations: ['58-52=6', '49+6=55'] Exploring Operation: 55-55=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 55/55=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 55*55=3025, Resulting Numbers: [3025] 3025,18 unequal: No Solution Exploring Operation: 55+55=110, Resulting Numbers: [110] 110,18 unequal: No Solution Moving to Node #0,2,1 Current State: 18:[49, 61], Operations: ['58-52=6', '55+6=61'] Exploring Operation: 61-49=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 49+61=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 49*61=2989, Resulting Numbers: [2989] 2989,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[55, 61], Operations: ['58-49=9', '52+9=61'] Exploring Operation: 55+61=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 55*61=3355, Resulting Numbers: [3355] 3355,18 unequal: No Solution Exploring Operation: 61-55=6, Resulting Numbers: [6] 6,18 unequal: No Solution Moving to Node #0,0,4 Current State: 18:[52, 64], Operations: ['58-49=9', '55+9=64'] Exploring Operation: 52*64=3328, Resulting Numbers: [3328] 3328,18 unequal: No Solution Exploring Operation: 52+64=116, Resulting Numbers: [116] 116,18 unequal: No Solution Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,18 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 84, 6, 87, 60 ]
13
[ "84/6=14", "87-60=27", "27-14=13" ]
Current State: 13:[84, 6, 87, 60], Operations: [] Exploring Operation: 84/6=14, Resulting Numbers: [87, 60, 14] Generated Node #2: [87, 60, 14] from Operation: 84/6=14 Current State: 13:[87, 60, 14], Operations: ['84/6=14'] Exploring Operation: 87-60=27, Resulting Numbers: [14, 27] Generated Node #3: [14, 27] from Operation: 87-60=27 Current State: 13:[14, 27], Operations: ['84/6=14', '87-60=27'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[84, 6, 87, 60], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [6, 60, 3] Generated Node #0,0: 13:[6, 60, 3] Operation: 87-84=3 Exploring Operation: 84-60=24, Resulting Numbers: [6, 87, 24] Generated Node #0,1: 13:[6, 87, 24] Operation: 84-60=24 Moving to Node #0,0 Current State: 13:[6, 60, 3], Operations: ['87-84=3'] Exploring Operation: 60/3=20, Resulting Numbers: [6, 20] Generated Node #0,0,0: 13:[6, 20] Operation: 60/3=20 Exploring Operation: 60/6=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 13:[3, 10] Operation: 60/6=10 Moving to Node #0,1 Current State: 13:[6, 87, 24], Operations: ['84-60=24'] Exploring Operation: 87-24=63, Resulting Numbers: [6, 63] Generated Node #0,1,0: 13:[6, 63] Operation: 87-24=63 Exploring Operation: 87-6=81, Resulting Numbers: [24, 81] Generated Node #0,1,1: 13:[24, 81] Operation: 87-6=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[6, 63], Operations: ['84-60=24', '87-24=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,13 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[24, 81], Operations: ['84-60=24', '87-6=81'] Exploring Operation: 81-24=57, Resulting Numbers: [57] 57,13 unequal: No Solution Exploring Operation: 24+81=105, Resulting Numbers: [105] 105,13 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: 13:[3, 10], Operations: ['87-84=3', '60/6=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[84, 6, 87, 60], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [6, 60, 3] Generated Node #0,0: 13:[6, 60, 3] Operation: 87-84=3 Moving to Node #0,0 Current State: 13:[6, 60, 3], Operations: ['87-84=3'] Exploring Operation: 60/6=10, Resulting Numbers: [3, 10] Generated Node #0,0,1: 13:[3, 10] Operation: 60/6=10 Moving to Node #0,0,1 Current State: 13:[3, 10], Operations: ['87-84=3', '60/6=10'] Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 97, 2, 13, 61 ]
51
[ "97+2=99", "61-13=48", "99-48=51" ]
Current State: 51:[97, 2, 13, 61], Operations: [] Exploring Operation: 97+2=99, Resulting Numbers: [13, 61, 99] Generated Node #2: [13, 61, 99] from Operation: 97+2=99 Current State: 51:[13, 61, 99], Operations: ['97+2=99'] Exploring Operation: 61-13=48, Resulting Numbers: [99, 48] Generated Node #3: [99, 48] from Operation: 61-13=48 Current State: 51:[99, 48], Operations: ['97+2=99', '61-13=48'] Exploring Operation: 99-48=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[97, 2, 13, 61], Operations: [] Exploring Operation: 97-61=36, Resulting Numbers: [2, 13, 36] Generated Node #0,0: 51:[2, 13, 36] Operation: 97-61=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[2, 13, 36], Operations: ['97-61=36'] Exploring Operation: 13+36=49, Resulting Numbers: [2, 49] Generated Node #0,0,0: 51:[2, 49] Operation: 13+36=49 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[2, 49], Operations: ['97-61=36', '13+36=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[97, 2, 13, 61], Operations: [] Exploring Operation: 97-61=36, Resulting Numbers: [2, 13, 36] Generated Node #0,0: 51:[2, 13, 36] Operation: 97-61=36 Moving to Node #0,0 Current State: 51:[2, 13, 36], Operations: ['97-61=36'] Exploring Operation: 13+36=49, Resulting Numbers: [2, 49] Generated Node #0,0,0: 51:[2, 49] Operation: 13+36=49 Moving to Node #0,0,0 Current State: 51:[2, 49], Operations: ['97-61=36', '13+36=49'] Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 22, 95, 40, 84 ]
73
[ "22+95=117", "84-40=44", "117-44=73" ]
Current State: 73:[22, 95, 40, 84], Operations: [] Exploring Operation: 22+95=117, Resulting Numbers: [40, 84, 117] Generated Node #2: [40, 84, 117] from Operation: 22+95=117 Current State: 73:[40, 84, 117], Operations: ['22+95=117'] Exploring Operation: 84-40=44, Resulting Numbers: [117, 44] Generated Node #3: [117, 44] from Operation: 84-40=44 Current State: 73:[117, 44], Operations: ['22+95=117', '84-40=44'] Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[22, 95, 40, 84], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [40, 84, 73] Generated Node #0,0: 73:[40, 84, 73] Operation: 95-22=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[40, 84, 73], Operations: ['95-22=73'] Exploring Operation: 84-40=44, Resulting Numbers: [73, 44] Generated Node #0,0,0: 73:[73, 44] Operation: 84-40=44 Moving to Node #0,0,0 Current State: 73:[73, 44], Operations: ['95-22=73', '84-40=44'] Exploring Operation: 73+44=117, Resulting Numbers: [117] 117,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 89, 91, 43 ]
87
[ "89+43=132", "132/33=4", "91-4=87" ]
Current State: 87:[33, 89, 91, 43], Operations: [] Exploring Operation: 89+43=132, Resulting Numbers: [33, 91, 132] Generated Node #2: [33, 91, 132] from Operation: 89+43=132 Current State: 87:[33, 91, 132], Operations: ['89+43=132'] Exploring Operation: 132/33=4, Resulting Numbers: [91, 4] Generated Node #3: [91, 4] from Operation: 132/33=4 Current State: 87:[91, 4], Operations: ['89+43=132', '132/33=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[33, 89, 91, 43], Operations: [] Exploring Operation: 89-43=46, Resulting Numbers: [33, 91, 46] Generated Node #0,0: 87:[33, 91, 46] Operation: 89-43=46 Exploring Operation: 91-89=2, Resulting Numbers: [33, 43, 2] Generated Node #0,1: 87:[33, 43, 2] Operation: 91-89=2 Exploring Operation: 43-33=10, Resulting Numbers: [89, 91, 10] Generated Node #0,2: 87:[89, 91, 10] Operation: 43-33=10 Exploring Operation: 33+43=76, Resulting Numbers: [89, 91, 76] Generated Node #0,3: 87:[89, 91, 76] Operation: 33+43=76 Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[89, 91, 10], Operations: ['43-33=10'] Exploring Operation: 89+10=99, Resulting Numbers: [91, 99] Generated Node #0,2,0: 87:[91, 99] Operation: 89+10=99 Exploring Operation: 91-89=2, Resulting Numbers: [10, 2] Generated Node #0,2,1: 87:[10, 2] Operation: 91-89=2 Exploring Operation: 89-10=79, Resulting Numbers: [91, 79] Generated Node #0,2,2: 87:[91, 79] Operation: 89-10=79 Exploring Operation: 91-10=81, Resulting Numbers: [89, 81] Generated Node #0,2,3: 87:[89, 81] Operation: 91-10=81 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 87:[10, 2], Operations: ['43-33=10', '91-89=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 87:[89, 81], Operations: ['43-33=10', '91-10=81'] Exploring Operation: 89*81=7209, Resulting Numbers: [7209] 7209,87 unequal: No Solution Exploring Operation: 89+81=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 87:[91, 79], Operations: ['43-33=10', '89-10=79'] Exploring Operation: 91*79=7189, Resulting Numbers: [7189] 7189,87 unequal: No Solution Exploring Operation: 91+79=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 87:[91, 99], Operations: ['43-33=10', '89+10=99'] Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,87 unequal: No Solution Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[89, 91, 76], Operations: ['33+43=76'] Exploring Operation: 91-76=15, Resulting Numbers: [89, 15] Generated Node #0,3,0: 87:[89, 15] Operation: 91-76=15 Exploring Operation: 89-76=13, Resulting Numbers: [91, 13] Generated Node #0,3,1: 87:[91, 13] Operation: 89-76=13 Exploring Operation: 89+76=165, Resulting Numbers: [91, 165] Generated Node #0,3,2: 87:[91, 165] Operation: 89+76=165 Exploring Operation: 91-89=2, Resulting Numbers: [76, 2] Generated Node #0,3,3: 87:[76, 2] Operation: 91-89=2 Moving to Node #0,3,3 Current State: 87:[76, 2], Operations: ['33+43=76', '91-89=2'] Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[91, 13], Operations: ['33+43=76', '89-76=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[89, 15], Operations: ['33+43=76', '91-76=15'] Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,87 unequal: No Solution Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[91, 165], Operations: ['33+43=76', '89+76=165'] Exploring Operation: 165-91=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 91+165=256, Resulting Numbers: [256] 256,87 unequal: No Solution Exploring Operation: 91*165=15015, Resulting Numbers: [15015] 15015,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[33, 43, 2], Operations: ['91-89=2'] Exploring Operation: 33-2=31, Resulting Numbers: [43, 31] Generated Node #0,1,0: 87:[43, 31] Operation: 33-2=31 Exploring Operation: 33+43=76, Resulting Numbers: [2, 76] Generated Node #0,1,1: 87:[2, 76] Operation: 33+43=76 Exploring Operation: 43*2=86, Resulting Numbers: [33, 86] Generated Node #0,1,2: 87:[33, 86] Operation: 43*2=86 Exploring Operation: 43-33=10, Resulting Numbers: [2, 10] Generated Node #0,1,3: 87:[2, 10] Operation: 43-33=10 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 87:[33, 86], Operations: ['91-89=2', '43*2=86'] Exploring Operation: 33*86=2838, Resulting Numbers: [2838] 2838,87 unequal: No Solution Exploring Operation: 33+86=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 87:[2, 10], Operations: ['91-89=2', '43-33=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,87 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,87 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[2, 76], Operations: ['91-89=2', '33+43=76'] Exploring Operation: 2+76=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 2*76=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[43, 31], Operations: ['91-89=2', '33-2=31'] Exploring Operation: 43*31=1333, Resulting Numbers: [1333] 1333,87 unequal: No Solution Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,87 unequal: No Solution Exploring Operation: 43-31=12, Resulting Numbers: [12] 12,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[33, 91, 46], Operations: ['89-43=46'] Exploring Operation: 91-46=45, Resulting Numbers: [33, 45] Generated Node #0,0,0: 87:[33, 45] Operation: 91-46=45 Exploring Operation: 46-33=13, Resulting Numbers: [91, 13] Generated Node #0,0,1: 87:[91, 13] Operation: 46-33=13 Exploring Operation: 33+46=79, Resulting Numbers: [91, 79] Generated Node #0,0,2: 87:[91, 79] Operation: 33+46=79 Exploring Operation: 91-33=58, Resulting Numbers: [46, 58] Generated Node #0,0,3: 87:[46, 58] Operation: 91-33=58 Moving to Node #0,0,2 Current State: 87:[91, 79], Operations: ['89-43=46', '33+46=79'] Exploring Operation: 91-79=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 91*79=7189, Resulting Numbers: [7189] 7189,87 unequal: No Solution Exploring Operation: 91+79=170, Resulting Numbers: [170] 170,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[91, 13], Operations: ['89-43=46', '46-33=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 91*13=1183, Resulting Numbers: [1183] 1183,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[33, 45], Operations: ['89-43=46', '91-46=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,87 unequal: No Solution Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,87 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[46, 58], Operations: ['89-43=46', '91-33=58'] Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,87 unequal: No Solution Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,87 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,87 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
[ 93, 87, 42, 70 ]
63
[ "93-87=6", "42/6=7", "70-7=63" ]
Current State: 63:[93, 87, 42, 70], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [42, 70, 6] Generated Node #2: [42, 70, 6] from Operation: 93-87=6 Current State: 63:[42, 70, 6], Operations: ['93-87=6'] Exploring Operation: 42/6=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 42/6=7 Current State: 63:[70, 7], Operations: ['93-87=6', '42/6=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[93, 87, 42, 70], Operations: [] Exploring Operation: 93-42=51, Resulting Numbers: [87, 70, 51] Generated Node #0,0: 63:[87, 70, 51] Operation: 93-42=51 Exploring Operation: 93-87=6, Resulting Numbers: [42, 70, 6] Generated Node #0,1: 63:[42, 70, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 63:[42, 70, 6], Operations: ['93-87=6'] Exploring Operation: 42/6=7, Resulting Numbers: [70, 7] Generated Node #0,1,0: 63:[70, 7] Operation: 42/6=7 Exploring Operation: 70-42=28, Resulting Numbers: [6, 28] Generated Node #0,1,1: 63:[6, 28] Operation: 70-42=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[70, 7], Operations: ['93-87=6', '42/6=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[93, 87, 42, 70], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [42, 70, 6] Generated Node #0,1: 63:[42, 70, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 63:[42, 70, 6], Operations: ['93-87=6'] Exploring Operation: 42/6=7, Resulting Numbers: [70, 7] Generated Node #0,1,0: 63:[70, 7] Operation: 42/6=7 Moving to Node #0,1,0 Current State: 63:[70, 7], Operations: ['93-87=6', '42/6=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 57, 16, 2, 26 ]
38
[ "57*16=912", "26-2=24", "912/24=38" ]
Current State: 38:[57, 16, 2, 26], Operations: [] Exploring Operation: 57*16=912, Resulting Numbers: [2, 26, 912] Generated Node #2: [2, 26, 912] from Operation: 57*16=912 Current State: 38:[2, 26, 912], Operations: ['57*16=912'] Exploring Operation: 26-2=24, Resulting Numbers: [912, 24] Generated Node #3: [912, 24] from Operation: 26-2=24 Current State: 38:[912, 24], Operations: ['57*16=912', '26-2=24'] Exploring Operation: 912/24=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[57, 16, 2, 26], Operations: [] Exploring Operation: 57-16=41, Resulting Numbers: [2, 26, 41] Generated Node #0,0: 38:[2, 26, 41] Operation: 57-16=41 Exploring Operation: 57-2=55, Resulting Numbers: [16, 26, 55] Generated Node #0,1: 38:[16, 26, 55] Operation: 57-2=55 Exploring Operation: 57-26=31, Resulting Numbers: [16, 2, 31] Generated Node #0,2: 38:[16, 2, 31] Operation: 57-26=31 Exploring Operation: 16+26=42, Resulting Numbers: [57, 2, 42] Generated Node #0,3: 38:[57, 2, 42] Operation: 16+26=42 Moving to Node #0,0 Current State: 38:[2, 26, 41], Operations: ['57-16=41'] Exploring Operation: 41-2=39, Resulting Numbers: [26, 39] Generated Node #0,0,0: 38:[26, 39] Operation: 41-2=39 Exploring Operation: 26-2=24, Resulting Numbers: [41, 24] Generated Node #0,0,1: 38:[41, 24] Operation: 26-2=24 Exploring Operation: 26/2=13, Resulting Numbers: [41, 13] Generated Node #0,0,2: 38:[41, 13] Operation: 26/2=13 Exploring Operation: 41-26=15, Resulting Numbers: [2, 15] Generated Node #0,0,3: 38:[2, 15] Operation: 41-26=15 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[2, 15], Operations: ['57-16=41', '41-26=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,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,0,0 Current State: 38:[26, 39], Operations: ['57-16=41', '41-2=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,38 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,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,0,1 Current State: 38:[41, 24], Operations: ['57-16=41', '26-2=24'] Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,38 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,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,0,2 Current State: 38:[41, 13], Operations: ['57-16=41', '26/2=13'] Exploring Operation: 41*13=533, Resulting Numbers: [533] 533,38 unequal: No Solution Exploring Operation: 41-13=28, Resulting Numbers: [28] 28,38 unequal: No Solution Exploring Operation: 41+13=54, Resulting Numbers: [54] 54,38 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: 38:[16, 2, 31], Operations: ['57-26=31'] Exploring Operation: 16+2=18, Resulting Numbers: [31, 18] Generated Node #0,2,0: 38:[31, 18] Operation: 16+2=18 Exploring Operation: 2+31=33, Resulting Numbers: [16, 33] Generated Node #0,2,1: 38:[16, 33] Operation: 2+31=33 Exploring Operation: 31-16=15, Resulting Numbers: [2, 15] Generated Node #0,2,2: 38:[2, 15] Operation: 31-16=15 Exploring Operation: 16+31=47, Resulting Numbers: [2, 47] Generated Node #0,2,3: 38:[2, 47] Operation: 16+31=47 Moving to Node #0,3 Current State: 38:[57, 2, 42], Operations: ['16+26=42'] Exploring Operation: 57-2=55, Resulting Numbers: [42, 55] Generated Node #0,3,0: 38:[42, 55] Operation: 57-2=55 Exploring Operation: 42/2=21, Resulting Numbers: [57, 21] Generated Node #0,3,1: 38:[57, 21] Operation: 42/2=21 Exploring Operation: 57-42=15, Resulting Numbers: [2, 15] Generated Node #0,3,2: 38:[2, 15] Operation: 57-42=15 Exploring Operation: 42-2=40, Resulting Numbers: [57, 40] Generated Node #0,3,3: 38:[57, 40] Operation: 42-2=40 Moving to Node #0,1 Current State: 38:[16, 26, 55], Operations: ['57-2=55'] Exploring Operation: 26-16=10, Resulting Numbers: [55, 10] Generated Node #0,1,0: 38:[55, 10] Operation: 26-16=10 Exploring Operation: 55-26=29, Resulting Numbers: [16, 29] Generated Node #0,1,1: 38:[16, 29] Operation: 55-26=29 Exploring Operation: 16+26=42, Resulting Numbers: [55, 42] Generated Node #0,1,2: 38:[55, 42] Operation: 16+26=42 Exploring Operation: 55-16=39, Resulting Numbers: [26, 39] Generated Node #0,1,3: 38:[26, 39] Operation: 55-16=39 Moving to Node #0,2,2 Current State: 38:[2, 15], Operations: ['57-26=31', '31-16=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,3,2 Current State: 38:[2, 15], Operations: ['16+26=42', '57-42=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,38 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,2,1 Current State: 38:[16, 33], Operations: ['57-26=31', '2+31=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,38 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,38 unequal: No Solution Moving to Node #0,2,0 Current State: 38:[31, 18], Operations: ['57-26=31', '16+2=18'] Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[26, 39], Operations: ['57-2=55', '55-16=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,38 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,38 unequal: No Solution Moving to Node #0,2,3 Current State: 38:[2, 47], Operations: ['57-26=31', '16+31=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,38 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[16, 29], Operations: ['57-2=55', '55-26=29'] Exploring Operation: 29-16=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 16+29=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 16*29=464, Resulting Numbers: [464] 464,38 unequal: No Solution Moving to Node #0,3,1 Current State: 38:[57, 21], Operations: ['16+26=42', '42/2=21'] Exploring Operation: 57*21=1197, Resulting Numbers: [1197] 1197,38 unequal: No Solution Exploring Operation: 57+21=78, Resulting Numbers: [78] 78,38 unequal: No Solution Exploring Operation: 57-21=36, Resulting Numbers: [36] 36,38 unequal: No Solution Moving to Node #0,3,0 Current State: 38:[42, 55], Operations: ['16+26=42', '57-2=55'] Exploring Operation: 42+55=97, Resulting Numbers: [97] 97,38 unequal: No Solution Exploring Operation: 42*55=2310, Resulting Numbers: [2310] 2310,38 unequal: No Solution Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,38 unequal: No Solution Moving to Node #0,3,3 Current State: 38:[57, 40], Operations: ['16+26=42', '42-2=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,38 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,38 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[55, 42], Operations: ['57-2=55', '16+26=42'] Exploring Operation: 55-42=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 55+42=97, Resulting Numbers: [97] 97,38 unequal: No Solution Exploring Operation: 55*42=2310, Resulting Numbers: [2310] 2310,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[55, 10], Operations: ['57-2=55', '26-16=10'] Exploring Operation: 55-10=45, Resulting Numbers: [45] 45,38 unequal: No Solution Exploring Operation: 55+10=65, Resulting Numbers: [65] 65,38 unequal: No Solution Exploring Operation: 55*10=550, Resulting Numbers: [550] 550,38 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 18, 8, 51, 15 ]
51
[ "18+51=69", "8*15=120", "120-69=51" ]
Current State: 51:[18, 8, 51, 15], Operations: [] Exploring Operation: 18+51=69, Resulting Numbers: [8, 15, 69] Generated Node #2: [8, 15, 69] from Operation: 18+51=69 Current State: 51:[8, 15, 69], Operations: ['18+51=69'] Exploring Operation: 8*15=120, Resulting Numbers: [69, 120] Generated Node #3: [69, 120] from Operation: 8*15=120 Current State: 51:[69, 120], Operations: ['18+51=69', '8*15=120'] Exploring Operation: 120-69=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[18, 8, 51, 15], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [8, 51, 3] Generated Node #0,0: 51:[8, 51, 3] Operation: 18-15=3 Exploring Operation: 15-8=7, Resulting Numbers: [18, 51, 7] Generated Node #0,1: 51:[18, 51, 7] Operation: 15-8=7 Moving to Node #0,0 Current State: 51:[8, 51, 3], Operations: ['18-15=3'] Exploring Operation: 8-3=5, Resulting Numbers: [51, 5] Generated Node #0,0,0: 51:[51, 5] Operation: 8-3=5 Exploring Operation: 51/3=17, Resulting Numbers: [8, 17] Generated Node #0,0,1: 51:[8, 17] Operation: 51/3=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[51, 5], Operations: ['18-15=3', '8-3=5'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,51 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 51:[8, 17], Operations: ['18-15=3', '51/3=17'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,51 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: 51:[18, 51, 7], Operations: ['15-8=7'] Exploring Operation: 18-7=11, Resulting Numbers: [51, 11] Generated Node #0,1,0: 51:[51, 11] Operation: 18-7=11 Exploring Operation: 18+7=25, Resulting Numbers: [51, 25] Generated Node #0,1,1: 51:[51, 25] Operation: 18+7=25 Moving to Node #0,1,0 Current State: 51:[51, 11], Operations: ['15-8=7', '18-7=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,51 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[51, 25], Operations: ['15-8=7', '18+7=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,51 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,51 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 21, 97, 8, 12 ]
59
[ "21*8=168", "97+12=109", "168-109=59" ]
Current State: 59:[21, 97, 8, 12], Operations: [] Exploring Operation: 21*8=168, Resulting Numbers: [97, 12, 168] Generated Node #2: [97, 12, 168] from Operation: 21*8=168 Current State: 59:[97, 12, 168], Operations: ['21*8=168'] Exploring Operation: 97+12=109, Resulting Numbers: [168, 109] Generated Node #3: [168, 109] from Operation: 97+12=109 Current State: 59:[168, 109], Operations: ['21*8=168', '97+12=109'] Exploring Operation: 168-109=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[21, 97, 8, 12], Operations: [] Exploring Operation: 97-8=89, Resulting Numbers: [21, 12, 89] Generated Node #0,0: 59:[21, 12, 89] Operation: 97-8=89 Exploring Operation: 97-21=76, Resulting Numbers: [8, 12, 76] Generated Node #0,1: 59:[8, 12, 76] Operation: 97-21=76 Exploring Operation: 21+12=33, Resulting Numbers: [97, 8, 33] Generated Node #0,2: 59:[97, 8, 33] Operation: 21+12=33 Exploring Operation: 21+8=29, Resulting Numbers: [97, 12, 29] Generated Node #0,3: 59:[97, 12, 29] Operation: 21+8=29 Exploring Operation: 8*12=96, Resulting Numbers: [21, 97, 96] Generated Node #0,4: 59:[21, 97, 96] Operation: 8*12=96 Moving to Node #0,4 Current State: 59:[21, 97, 96], Operations: ['8*12=96'] Exploring Operation: 21+96=117, Resulting Numbers: [97, 117] Generated Node #0,4,0: 59:[97, 117] Operation: 21+96=117 Exploring Operation: 21+97=118, Resulting Numbers: [96, 118] Generated Node #0,4,1: 59:[96, 118] Operation: 21+97=118 Exploring Operation: 97-21=76, Resulting Numbers: [96, 76] Generated Node #0,4,2: 59:[96, 76] Operation: 97-21=76 Exploring Operation: 97-96=1, Resulting Numbers: [21, 1] Generated Node #0,4,3: 59:[21, 1] Operation: 97-96=1 Exploring Operation: 96-21=75, Resulting Numbers: [97, 75] Generated Node #0,4,4: 59:[97, 75] Operation: 96-21=75 Moving to Node #0,1 Current State: 59:[8, 12, 76], Operations: ['97-21=76'] Exploring Operation: 12-8=4, Resulting Numbers: [76, 4] Generated Node #0,1,0: 59:[76, 4] Operation: 12-8=4 Exploring Operation: 8+12=20, Resulting Numbers: [76, 20] Generated Node #0,1,1: 59:[76, 20] Operation: 8+12=20 Exploring Operation: 76-12=64, Resulting Numbers: [8, 64] Generated Node #0,1,2: 59:[8, 64] Operation: 76-12=64 Exploring Operation: 76-8=68, Resulting Numbers: [12, 68] Generated Node #0,1,3: 59:[12, 68] Operation: 76-8=68 Exploring Operation: 8*12=96, Resulting Numbers: [76, 96] Generated Node #0,1,4: 59:[76, 96] Operation: 8*12=96 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 59:[76, 96], Operations: ['97-21=76', '8*12=96'] Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[76, 20], Operations: ['97-21=76', '8+12=20'] Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 76*20=1520, Resulting Numbers: [1520] 1520,59 unequal: No Solution Exploring Operation: 76+20=96, Resulting Numbers: [96] 96,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 59:[8, 64], Operations: ['97-21=76', '76-12=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,59 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 59:[12, 68], Operations: ['97-21=76', '76-8=68'] Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,59 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 59:[76, 4], Operations: ['97-21=76', '12-8=4'] Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,59 unequal: No Solution Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,59 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: 59:[97, 12, 29], Operations: ['21+8=29'] Exploring Operation: 97-12=85, Resulting Numbers: [29, 85] Generated Node #0,3,0: 59:[29, 85] Operation: 97-12=85 Exploring Operation: 97-29=68, Resulting Numbers: [12, 68] Generated Node #0,3,1: 59:[12, 68] Operation: 97-29=68 Exploring Operation: 97+12=109, Resulting Numbers: [29, 109] Generated Node #0,3,2: 59:[29, 109] Operation: 97+12=109 Exploring Operation: 29-12=17, Resulting Numbers: [97, 17] Generated Node #0,3,3: 59:[97, 17] Operation: 29-12=17 Exploring Operation: 12+29=41, Resulting Numbers: [97, 41] Generated Node #0,3,4: 59:[97, 41] Operation: 12+29=41 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 59:[29, 85], Operations: ['21+8=29', '97-12=85'] Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 29*85=2465, Resulting Numbers: [2465] 2465,59 unequal: No Solution Exploring Operation: 29+85=114, Resulting Numbers: [114] 114,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 59:[12, 68], Operations: ['21+8=29', '97-29=68'] Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,59 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[97, 41], Operations: ['21+8=29', '12+29=41'] Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,59 unequal: No Solution Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[29, 109], Operations: ['21+8=29', '97+12=109'] Exploring Operation: 29+109=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 29*109=3161, Resulting Numbers: [3161] 3161,59 unequal: No Solution Exploring Operation: 109-29=80, Resulting Numbers: [80] 80,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 59:[97, 17], Operations: ['21+8=29', '29-12=17'] Exploring Operation: 97+17=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 97*17=1649, Resulting Numbers: [1649] 1649,59 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: 59:[21, 12, 89], Operations: ['97-8=89'] Exploring Operation: 89-12=77, Resulting Numbers: [21, 77] Generated Node #0,0,0: 59:[21, 77] Operation: 89-12=77 Exploring Operation: 21+12=33, Resulting Numbers: [89, 33] Generated Node #0,0,1: 59:[89, 33] Operation: 21+12=33 Exploring Operation: 89-21=68, Resulting Numbers: [12, 68] Generated Node #0,0,2: 59:[12, 68] Operation: 89-21=68 Exploring Operation: 12+89=101, Resulting Numbers: [21, 101] Generated Node #0,0,3: 59:[21, 101] Operation: 12+89=101 Exploring Operation: 21-12=9, Resulting Numbers: [89, 9] Generated Node #0,0,4: 59:[89, 9] Operation: 21-12=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 59:[21, 77], Operations: ['97-8=89', '89-12=77'] Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,59 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 59:[89, 33], Operations: ['97-8=89', '21+12=33'] Exploring Operation: 89+33=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 89*33=2937, Resulting Numbers: [2937] 2937,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 59:[12, 68], Operations: ['97-8=89', '89-21=68'] Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 59:[21, 101], Operations: ['97-8=89', '12+89=101'] Exploring Operation: 101-21=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 21+101=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 21*101=2121, Resulting Numbers: [2121] 2121,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 59:[89, 9], Operations: ['97-8=89', '21-12=9'] Exploring Operation: 89-9=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 89+9=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 89*9=801, Resulting Numbers: [801] 801,59 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: 59:[97, 8, 33], Operations: ['21+12=33'] Exploring Operation: 97-8=89, Resulting Numbers: [33, 89] Generated Node #0,2,0: 59:[33, 89] Operation: 97-8=89 Exploring Operation: 97-33=64, Resulting Numbers: [8, 64] Generated Node #0,2,1: 59:[8, 64] Operation: 97-33=64 Exploring Operation: 33-8=25, Resulting Numbers: [97, 25] Generated Node #0,2,2: 59:[97, 25] Operation: 33-8=25 Exploring Operation: 97+8=105, Resulting Numbers: [33, 105] Generated Node #0,2,3: 59:[33, 105] Operation: 97+8=105 Exploring Operation: 8+33=41, Resulting Numbers: [97, 41] Generated Node #0,2,4: 59:[97, 41] Operation: 8+33=41 Moving to Node #0,4,2 Current State: 59:[96, 76], Operations: ['8*12=96', '97-21=76'] Exploring Operation: 96+76=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 96*76=7296, Resulting Numbers: [7296] 7296,59 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[97, 75], Operations: ['8*12=96', '96-21=75'] Exploring Operation: 97-75=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 97+75=172, Resulting Numbers: [172] 172,59 unequal: No Solution Exploring Operation: 97*75=7275, Resulting Numbers: [7275] 7275,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[33, 89], Operations: ['21+12=33', '97-8=89'] Exploring Operation: 33*89=2937, Resulting Numbers: [2937] 2937,59 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 33+89=122, Resulting Numbers: [122] 122,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[8, 64], Operations: ['21+12=33', '97-33=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,59 unequal: No Solution Exploring Operation: 8+64=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 8*64=512, Resulting Numbers: [512] 512,59 unequal: No Solution Moving to Node #0,2,4 Current State: 59:[97, 41], Operations: ['21+12=33', '8+33=41'] Exploring Operation: 97-41=56, Resulting Numbers: [56] 56,59 unequal: No Solution Exploring Operation: 97+41=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 97*41=3977, Resulting Numbers: [3977] 3977,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[33, 105], Operations: ['21+12=33', '97+8=105'] Exploring Operation: 33*105=3465, Resulting Numbers: [3465] 3465,59 unequal: No Solution Exploring Operation: 33+105=138, Resulting Numbers: [138] 138,59 unequal: No Solution Exploring Operation: 105-33=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[97, 25], Operations: ['21+12=33', '33-8=25'] Exploring Operation: 97-25=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 97+25=122, Resulting Numbers: [122] 122,59 unequal: No Solution Exploring Operation: 97*25=2425, Resulting Numbers: [2425] 2425,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[21, 1], Operations: ['8*12=96', '97-96=1'] Exploring Operation: 21+1=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 21*1=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[97, 117], Operations: ['8*12=96', '21+96=117'] Exploring Operation: 97+117=214, Resulting Numbers: [214] 214,59 unequal: No Solution Exploring Operation: 117-97=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 97*117=11349, Resulting Numbers: [11349] 11349,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[96, 118], Operations: ['8*12=96', '21+97=118'] Exploring Operation: 96+118=214, Resulting Numbers: [214] 214,59 unequal: No Solution Exploring Operation: 118-96=22, Resulting Numbers: [22] 22,59 unequal: No Solution Exploring Operation: 96*118=11328, Resulting Numbers: [11328] 11328,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 26, 52, 88 ]
11
[ "88-79=9", "52/26=2", "9+2=11" ]
Current State: 11:[79, 26, 52, 88], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [26, 52, 9] Generated Node #2: [26, 52, 9] from Operation: 88-79=9 Current State: 11:[26, 52, 9], Operations: ['88-79=9'] Exploring Operation: 52/26=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 52/26=2 Current State: 11:[9, 2], Operations: ['88-79=9', '52/26=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[79, 26, 52, 88], Operations: [] Exploring Operation: 79-52=27, Resulting Numbers: [26, 88, 27] Generated Node #0,0: 11:[26, 88, 27] Operation: 79-52=27 Exploring Operation: 88-79=9, Resulting Numbers: [26, 52, 9] Generated Node #0,1: 11:[26, 52, 9] Operation: 88-79=9 Exploring Operation: 52/26=2, Resulting Numbers: [79, 88, 2] Generated Node #0,2: 11:[79, 88, 2] Operation: 52/26=2 Exploring Operation: 88-52=36, Resulting Numbers: [79, 26, 36] Generated Node #0,3: 11:[79, 26, 36] Operation: 88-52=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[26, 52, 9], Operations: ['88-79=9'] Exploring Operation: 52/26=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 11:[9, 2] Operation: 52/26=2 Exploring Operation: 52-26=26, Resulting Numbers: [9, 26] Generated Node #0,1,1: 11:[9, 26] Operation: 52-26=26 Exploring Operation: 52-9=43, Resulting Numbers: [26, 43] Generated Node #0,1,2: 11:[26, 43] Operation: 52-9=43 Exploring Operation: 26-9=17, Resulting Numbers: [52, 17] Generated Node #0,1,3: 11:[52, 17] Operation: 26-9=17 Moving to Node #0,1,0 Current State: 11:[9, 2], Operations: ['88-79=9', '52/26=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[79, 26, 52, 88], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [26, 52, 9] Generated Node #0,1: 11:[26, 52, 9] Operation: 88-79=9 Moving to Node #0,1 Current State: 11:[26, 52, 9], Operations: ['88-79=9'] Exploring Operation: 52/26=2, Resulting Numbers: [9, 2] Generated Node #0,1,0: 11:[9, 2] Operation: 52/26=2 Moving to Node #0,1,0 Current State: 11:[9, 2], Operations: ['88-79=9', '52/26=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 85, 43, 79, 96 ]
38
[ "96-79=17", "85/17=5", "43-5=38" ]
Current State: 38:[85, 43, 79, 96], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [85, 43, 17] Generated Node #2: [85, 43, 17] from Operation: 96-79=17 Current State: 38:[85, 43, 17], Operations: ['96-79=17'] Exploring Operation: 85/17=5, Resulting Numbers: [43, 5] Generated Node #3: [43, 5] from Operation: 85/17=5 Current State: 38:[43, 5], Operations: ['96-79=17', '85/17=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[85, 43, 79, 96], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [85, 43, 17] Generated Node #0,0: 38:[85, 43, 17] Operation: 96-79=17 Exploring Operation: 96-85=11, Resulting Numbers: [43, 79, 11] Generated Node #0,1: 38:[43, 79, 11] Operation: 96-85=11 Exploring Operation: 85-79=6, Resulting Numbers: [43, 96, 6] Generated Node #0,2: 38:[43, 96, 6] Operation: 85-79=6 Exploring Operation: 85-43=42, Resulting Numbers: [79, 96, 42] Generated Node #0,3: 38:[79, 96, 42] Operation: 85-43=42 Moving to Node #0,0 Current State: 38:[85, 43, 17], Operations: ['96-79=17'] Exploring Operation: 85-43=42, Resulting Numbers: [17, 42] Generated Node #0,0,0: 38:[17, 42] Operation: 85-43=42 Exploring Operation: 85-17=68, Resulting Numbers: [43, 68] Generated Node #0,0,1: 38:[43, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [43, 5] Generated Node #0,0,2: 38:[43, 5] Operation: 85/17=5 Exploring Operation: 43-17=26, Resulting Numbers: [85, 26] Generated Node #0,0,3: 38:[85, 26] Operation: 43-17=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[17, 42], Operations: ['96-79=17', '85-43=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,38 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,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,0,2 Current State: 38:[43, 5], Operations: ['96-79=17', '85/17=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[85, 43, 79, 96], Operations: [] Exploring Operation: 96-79=17, Resulting Numbers: [85, 43, 17] Generated Node #0,0: 38:[85, 43, 17] Operation: 96-79=17 Moving to Node #0,0 Current State: 38:[85, 43, 17], Operations: ['96-79=17'] Exploring Operation: 85/17=5, Resulting Numbers: [43, 5] Generated Node #0,0,2: 38:[43, 5] Operation: 85/17=5 Moving to Node #0,0,2 Current State: 38:[43, 5], Operations: ['96-79=17', '85/17=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 66, 86, 34, 84 ]
71
[ "86+84=170", "170/34=5", "66+5=71" ]
Current State: 71:[66, 86, 34, 84], Operations: [] Exploring Operation: 86+84=170, Resulting Numbers: [66, 34, 170] Generated Node #2: [66, 34, 170] from Operation: 86+84=170 Current State: 71:[66, 34, 170], Operations: ['86+84=170'] Exploring Operation: 170/34=5, Resulting Numbers: [66, 5] Generated Node #3: [66, 5] from Operation: 170/34=5 Current State: 71:[66, 5], Operations: ['86+84=170', '170/34=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[66, 86, 34, 84], Operations: [] Exploring Operation: 86-34=52, Resulting Numbers: [66, 84, 52] Generated Node #0,0: 71:[66, 84, 52] Operation: 86-34=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[66, 84, 52], Operations: ['86-34=52'] Exploring Operation: 84-52=32, Resulting Numbers: [66, 32] Generated Node #0,0,0: 71:[66, 32] Operation: 84-52=32 Moving to Node #0,0,0 Current State: 71:[66, 32], Operations: ['86-34=52', '84-52=32'] Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,71 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
[ 4, 35, 37, 80 ]
42
[ "4+80=84", "37-35=2", "84/2=42" ]
Current State: 42:[4, 35, 37, 80], Operations: [] Exploring Operation: 4+80=84, Resulting Numbers: [35, 37, 84] Generated Node #2: [35, 37, 84] from Operation: 4+80=84 Current State: 42:[35, 37, 84], Operations: ['4+80=84'] Exploring Operation: 37-35=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 37-35=2 Current State: 42:[84, 2], Operations: ['4+80=84', '37-35=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 35, 37, 80], Operations: [] Exploring Operation: 80-35=45, Resulting Numbers: [4, 37, 45] Generated Node #0,0: 42:[4, 37, 45] Operation: 80-35=45 Exploring Operation: 80-37=43, Resulting Numbers: [4, 35, 43] Generated Node #0,1: 42:[4, 35, 43] Operation: 80-37=43 Moving to Node #0,0 Current State: 42:[4, 37, 45], Operations: ['80-35=45'] Exploring Operation: 4+37=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 42:[45, 41] Operation: 4+37=41 Exploring Operation: 45-37=8, Resulting Numbers: [4, 8] Generated Node #0,0,1: 42:[4, 8] Operation: 45-37=8 Moving to Node #0,1 Current State: 42:[4, 35, 43], Operations: ['80-37=43'] Exploring Operation: 43-35=8, Resulting Numbers: [4, 8] Generated Node #0,1,0: 42:[4, 8] Operation: 43-35=8 Exploring Operation: 4+35=39, Resulting Numbers: [43, 39] Generated Node #0,1,1: 42:[43, 39] Operation: 4+35=39 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[4, 8], Operations: ['80-37=43', '43-35=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[43, 39], Operations: ['80-37=43', '4+35=39'] Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,42 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: 42:[4, 8], Operations: ['80-35=45', '45-37=8'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[45, 41], Operations: ['80-35=45', '4+37=41'] Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,42 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 37, 17, 55, 6 ]
29
[ "37-17=20", "55-6=49", "49-20=29" ]
Current State: 29:[37, 17, 55, 6], Operations: [] Exploring Operation: 37-17=20, Resulting Numbers: [55, 6, 20] Generated Node #2: [55, 6, 20] from Operation: 37-17=20 Current State: 29:[55, 6, 20], Operations: ['37-17=20'] Exploring Operation: 55-6=49, Resulting Numbers: [20, 49] Generated Node #3: [20, 49] from Operation: 55-6=49 Current State: 29:[20, 49], Operations: ['37-17=20', '55-6=49'] Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[37, 17, 55, 6], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [37, 17, 49] Generated Node #0,0: 29:[37, 17, 49] Operation: 55-6=49 Exploring Operation: 55-37=18, Resulting Numbers: [17, 6, 18] Generated Node #0,1: 29:[17, 6, 18] Operation: 55-37=18 Exploring Operation: 17+6=23, Resulting Numbers: [37, 55, 23] Generated Node #0,2: 29:[37, 55, 23] Operation: 17+6=23 Exploring Operation: 55-17=38, Resulting Numbers: [37, 6, 38] Generated Node #0,3: 29:[37, 6, 38] Operation: 55-17=38 Exploring Operation: 37-6=31, Resulting Numbers: [17, 55, 31] Generated Node #0,4: 29:[17, 55, 31] Operation: 37-6=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[37, 17, 49], Operations: ['55-6=49'] Exploring Operation: 49-37=12, Resulting Numbers: [17, 12] Generated Node #0,0,0: 29:[17, 12] Operation: 49-37=12 Exploring Operation: 37-17=20, Resulting Numbers: [49, 20] Generated Node #0,0,1: 29:[49, 20] Operation: 37-17=20 Exploring Operation: 49-17=32, Resulting Numbers: [37, 32] Generated Node #0,0,2: 29:[37, 32] Operation: 49-17=32 Exploring Operation: 37+17=54, Resulting Numbers: [49, 54] Generated Node #0,0,3: 29:[49, 54] Operation: 37+17=54 Exploring Operation: 17+49=66, Resulting Numbers: [37, 66] Generated Node #0,0,4: 29:[37, 66] Operation: 17+49=66 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 29:[37, 32], Operations: ['55-6=49', '49-17=32'] Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 37*32=1184, Resulting Numbers: [1184] 1184,29 unequal: No Solution Exploring Operation: 37+32=69, Resulting Numbers: [69] 69,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[17, 12], Operations: ['55-6=49', '49-37=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,29 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[37, 17, 55, 6], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [37, 17, 49] Generated Node #0,0: 29:[37, 17, 49] Operation: 55-6=49 Moving to Node #0,0 Current State: 29:[37, 17, 49], Operations: ['55-6=49'] Exploring Operation: 49-37=12, Resulting Numbers: [17, 12] Generated Node #0,0,0: 29:[17, 12] Operation: 49-37=12 Moving to Node #0,0,0 Current State: 29:[17, 12], Operations: ['55-6=49', '49-37=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 20, 52, 2, 54 ]
43
[ "52-20=32", "54+32=86", "86/2=43" ]
Current State: 43:[20, 52, 2, 54], Operations: [] Exploring Operation: 52-20=32, Resulting Numbers: [2, 54, 32] Generated Node #2: [2, 54, 32] from Operation: 52-20=32 Current State: 43:[2, 54, 32], Operations: ['52-20=32'] Exploring Operation: 54+32=86, Resulting Numbers: [2, 86] Generated Node #3: [2, 86] from Operation: 54+32=86 Current State: 43:[2, 86], Operations: ['52-20=32', '54+32=86'] Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[20, 52, 2, 54], Operations: [] Exploring Operation: 20+2=22, Resulting Numbers: [52, 54, 22] Generated Node #0,0: 43:[52, 54, 22] Operation: 20+2=22 Exploring Operation: 20*2=40, Resulting Numbers: [52, 54, 40] Generated Node #0,1: 43:[52, 54, 40] Operation: 20*2=40 Moving to Node #0,1 Current State: 43:[52, 54, 40], Operations: ['20*2=40'] Exploring Operation: 52-40=12, Resulting Numbers: [54, 12] Generated Node #0,1,0: 43:[54, 12] Operation: 52-40=12 Exploring Operation: 54-40=14, Resulting Numbers: [52, 14] Generated Node #0,1,1: 43:[52, 14] Operation: 54-40=14 Moving to Node #0,0 Current State: 43:[52, 54, 22], Operations: ['20+2=22'] Exploring Operation: 54-22=32, Resulting Numbers: [52, 32] Generated Node #0,0,0: 43:[52, 32] Operation: 54-22=32 Exploring Operation: 52-22=30, Resulting Numbers: [54, 30] Generated Node #0,0,1: 43:[54, 30] Operation: 52-22=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[52, 32], Operations: ['20+2=22', '54-22=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,43 unequal: No Solution Exploring Operation: 52+32=84, Resulting Numbers: [84] 84,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 43:[54, 30], Operations: ['20+2=22', '52-22=30'] Exploring Operation: 54+30=84, Resulting Numbers: [84] 84,43 unequal: No Solution Exploring Operation: 54-30=24, Resulting Numbers: [24] 24,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 43:[52, 14], Operations: ['20*2=40', '54-40=14'] Exploring Operation: 52+14=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[54, 12], Operations: ['20*2=40', '52-40=12'] Exploring Operation: 54+12=66, Resulting Numbers: [66] 66,43 unequal: No Solution Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,43 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 98, 55, 75 ]
12
[ "55/5=11", "98-75=23", "23-11=12" ]
Current State: 12:[5, 98, 55, 75], Operations: [] Exploring Operation: 55/5=11, Resulting Numbers: [98, 75, 11] Generated Node #2: [98, 75, 11] from Operation: 55/5=11 Current State: 12:[98, 75, 11], Operations: ['55/5=11'] Exploring Operation: 98-75=23, Resulting Numbers: [11, 23] Generated Node #3: [11, 23] from Operation: 98-75=23 Current State: 12:[11, 23], Operations: ['55/5=11', '98-75=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 98, 55, 75], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [5, 55, 23] Generated Node #0,0: 12:[5, 55, 23] Operation: 98-75=23 Exploring Operation: 98-55=43, Resulting Numbers: [5, 75, 43] Generated Node #0,1: 12:[5, 75, 43] Operation: 98-55=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[5, 55, 23], Operations: ['98-75=23'] Exploring Operation: 55/5=11, Resulting Numbers: [23, 11] Generated Node #0,0,0: 12:[23, 11] Operation: 55/5=11 Exploring Operation: 55-23=32, Resulting Numbers: [5, 32] Generated Node #0,0,1: 12:[5, 32] Operation: 55-23=32 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[23, 11], Operations: ['98-75=23', '55/5=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[5, 98, 55, 75], Operations: [] Exploring Operation: 98-75=23, Resulting Numbers: [5, 55, 23] Generated Node #0,0: 12:[5, 55, 23] Operation: 98-75=23 Moving to Node #0,0 Current State: 12:[5, 55, 23], Operations: ['98-75=23'] Exploring Operation: 55/5=11, Resulting Numbers: [23, 11] Generated Node #0,0,0: 12:[23, 11] Operation: 55/5=11 Moving to Node #0,0,0 Current State: 12:[23, 11], Operations: ['98-75=23', '55/5=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 36, 26, 75, 15 ]
94
[ "26*75=1950", "1950/15=130", "130-36=94" ]
Current State: 94:[36, 26, 75, 15], Operations: [] Exploring Operation: 26*75=1950, Resulting Numbers: [36, 15, 1950] Generated Node #2: [36, 15, 1950] from Operation: 26*75=1950 Current State: 94:[36, 15, 1950], Operations: ['26*75=1950'] Exploring Operation: 1950/15=130, Resulting Numbers: [36, 130] Generated Node #3: [36, 130] from Operation: 1950/15=130 Current State: 94:[36, 130], Operations: ['26*75=1950', '1950/15=130'] Exploring Operation: 130-36=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[36, 26, 75, 15], Operations: [] Exploring Operation: 26+15=41, Resulting Numbers: [36, 75, 41] Generated Node #0,0: 94:[36, 75, 41] Operation: 26+15=41 Exploring Operation: 75/15=5, Resulting Numbers: [36, 26, 5] Generated Node #0,1: 94:[36, 26, 5] Operation: 75/15=5 Exploring Operation: 75+15=90, Resulting Numbers: [36, 26, 90] Generated Node #0,2: 94:[36, 26, 90] Operation: 75+15=90 Exploring Operation: 26+75=101, Resulting Numbers: [36, 15, 101] Generated Node #0,3: 94:[36, 15, 101] Operation: 26+75=101 Exploring Operation: 75-26=49, Resulting Numbers: [36, 15, 49] Generated Node #0,4: 94:[36, 15, 49] Operation: 75-26=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 94:[36, 15, 49], Operations: ['75-26=49'] Exploring Operation: 49-36=13, Resulting Numbers: [15, 13] Generated Node #0,4,0: 94:[15, 13] Operation: 49-36=13 Exploring Operation: 36+49=85, Resulting Numbers: [15, 85] Generated Node #0,4,1: 94:[15, 85] Operation: 36+49=85 Exploring Operation: 49-15=34, Resulting Numbers: [36, 34] Generated Node #0,4,2: 94:[36, 34] Operation: 49-15=34 Exploring Operation: 36-15=21, Resulting Numbers: [49, 21] Generated Node #0,4,3: 94:[49, 21] Operation: 36-15=21 Exploring Operation: 36+15=51, Resulting Numbers: [49, 51] Generated Node #0,4,4: 94:[49, 51] Operation: 36+15=51 Moving to Node #0,4,4 Current State: 94:[49, 51], Operations: ['75-26=49', '36+15=51'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,94 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[49, 21], Operations: ['75-26=49', '36-15=21'] Exploring Operation: 49*21=1029, Resulting Numbers: [1029] 1029,94 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 49+21=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[15, 85], Operations: ['75-26=49', '36+49=85'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,94 unequal: No Solution Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[15, 13], Operations: ['75-26=49', '49-36=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,94 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[36, 34], Operations: ['75-26=49', '49-15=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,94 unequal: No Solution No 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: 94:[36, 15, 101], Operations: ['26+75=101'] Exploring Operation: 15+101=116, Resulting Numbers: [36, 116] Generated Node #0,3,0: 94:[36, 116] Operation: 15+101=116 Exploring Operation: 36+15=51, Resulting Numbers: [101, 51] Generated Node #0,3,1: 94:[101, 51] Operation: 36+15=51 Exploring Operation: 36-15=21, Resulting Numbers: [101, 21] Generated Node #0,3,2: 94:[101, 21] Operation: 36-15=21 Exploring Operation: 101-15=86, Resulting Numbers: [36, 86] Generated Node #0,3,3: 94:[36, 86] Operation: 101-15=86 Exploring Operation: 101-36=65, Resulting Numbers: [15, 65] Generated Node #0,3,4: 94:[15, 65] Operation: 101-36=65 Moving to Node #0,3,1 Current State: 94:[101, 51], Operations: ['26+75=101', '36+15=51'] Exploring Operation: 101*51=5151, Resulting Numbers: [5151] 5151,94 unequal: No Solution Exploring Operation: 101+51=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 101-51=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[36, 86], Operations: ['26+75=101', '101-15=86'] Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,94 unequal: No Solution Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,94 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[101, 21], Operations: ['26+75=101', '36-15=21'] Exploring Operation: 101*21=2121, Resulting Numbers: [2121] 2121,94 unequal: No Solution Exploring Operation: 101-21=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 101+21=122, Resulting Numbers: [122] 122,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[15, 65], Operations: ['26+75=101', '101-36=65'] Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,94 unequal: No Solution Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[36, 116], Operations: ['26+75=101', '15+101=116'] Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,94 unequal: No Solution Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,94 unequal: No Solution No 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: 94:[36, 26, 5], Operations: ['75/15=5'] Exploring Operation: 26-5=21, Resulting Numbers: [36, 21] Generated Node #0,1,0: 94:[36, 21] Operation: 26-5=21 Exploring Operation: 36-26=10, Resulting Numbers: [5, 10] Generated Node #0,1,1: 94:[5, 10] Operation: 36-26=10 Exploring Operation: 26+5=31, Resulting Numbers: [36, 31] Generated Node #0,1,2: 94:[36, 31] Operation: 26+5=31 Exploring Operation: 36+5=41, Resulting Numbers: [26, 41] Generated Node #0,1,3: 94:[26, 41] Operation: 36+5=41 Exploring Operation: 36+26=62, Resulting Numbers: [5, 62] Generated Node #0,1,4: 94:[5, 62] Operation: 36+26=62 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[5, 10], Operations: ['75/15=5', '36-26=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 94:[5, 62], Operations: ['75/15=5', '36+26=62'] Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,94 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 94:[36, 31], Operations: ['75/15=5', '26+5=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,94 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,94 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 94:[26, 41], Operations: ['75/15=5', '36+5=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,94 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[36, 21], Operations: ['75/15=5', '26-5=21'] Exploring Operation: 36*21=756, Resulting Numbers: [756] 756,94 unequal: No Solution Exploring Operation: 36+21=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 36-21=15, Resulting Numbers: [15] 15,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[36, 75, 41], Operations: ['26+15=41'] Exploring Operation: 75-36=39, Resulting Numbers: [41, 39] Generated Node #0,0,0: 94:[41, 39] Operation: 75-36=39 Exploring Operation: 75-41=34, Resulting Numbers: [36, 34] Generated Node #0,0,1: 94:[36, 34] Operation: 75-41=34 Exploring Operation: 41-36=5, Resulting Numbers: [75, 5] Generated Node #0,0,2: 94:[75, 5] Operation: 41-36=5 Exploring Operation: 36+75=111, Resulting Numbers: [41, 111] Generated Node #0,0,3: 94:[41, 111] Operation: 36+75=111 Exploring Operation: 75+41=116, Resulting Numbers: [36, 116] Generated Node #0,0,4: 94:[36, 116] Operation: 75+41=116 Moving to Node #0,0,0 Current State: 94:[41, 39], Operations: ['26+15=41', '75-36=39'] Exploring Operation: 41+39=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 41*39=1599, Resulting Numbers: [1599] 1599,94 unequal: No Solution Exploring Operation: 41-39=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,0,2 Current State: 94:[75, 5], Operations: ['26+15=41', '41-36=5'] Exploring Operation: 75+5=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 75*5=375, Resulting Numbers: [375] 375,94 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[41, 111], Operations: ['26+15=41', '36+75=111'] Exploring Operation: 41+111=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 41*111=4551, Resulting Numbers: [4551] 4551,94 unequal: No Solution Exploring Operation: 111-41=70, Resulting Numbers: [70] 70,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[36, 34], Operations: ['26+15=41', '75-41=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,94 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,94 unequal: No Solution Moving to Node #0,0,4 Current State: 94:[36, 116], Operations: ['26+15=41', '75+41=116'] Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,94 unequal: No Solution Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,94 unequal: No Solution No 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: 94:[36, 26, 90], Operations: ['75+15=90'] Exploring Operation: 36-26=10, Resulting Numbers: [90, 10] Generated Node #0,2,0: 94:[90, 10] Operation: 36-26=10 Exploring Operation: 90-26=64, Resulting Numbers: [36, 64] Generated Node #0,2,1: 94:[36, 64] Operation: 90-26=64 Exploring Operation: 26+90=116, Resulting Numbers: [36, 116] Generated Node #0,2,2: 94:[36, 116] Operation: 26+90=116 Exploring Operation: 36+26=62, Resulting Numbers: [90, 62] Generated Node #0,2,3: 94:[90, 62] Operation: 36+26=62 Exploring Operation: 90-36=54, Resulting Numbers: [26, 54] Generated Node #0,2,4: 94:[26, 54] Operation: 90-36=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 94:[90, 10], Operations: ['75+15=90', '36-26=10'] Exploring Operation: 90-10=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 90*10=900, Resulting Numbers: [900] 900,94 unequal: No Solution Exploring Operation: 90+10=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 90/10=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 94:[90, 62], Operations: ['75+15=90', '36+26=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,94 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,94 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 94:[36, 64], Operations: ['75+15=90', '90-26=64'] Exploring Operation: 36*64=2304, Resulting Numbers: [2304] 2304,94 unequal: No Solution Exploring Operation: 36+64=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 94:[26, 54], Operations: ['75+15=90', '90-36=54'] Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,94 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 94:[36, 116], Operations: ['75+15=90', '26+90=116'] Exploring Operation: 36+116=152, Resulting Numbers: [152] 152,94 unequal: No Solution Exploring Operation: 36*116=4176, Resulting Numbers: [4176] 4176,94 unequal: No Solution Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 15, 16, 19, 42 ]
34
[ "15*42=630", "16+630=646", "646/19=34" ]
Current State: 34:[15, 16, 19, 42], Operations: [] Exploring Operation: 15*42=630, Resulting Numbers: [16, 19, 630] Generated Node #2: [16, 19, 630] from Operation: 15*42=630 Current State: 34:[16, 19, 630], Operations: ['15*42=630'] Exploring Operation: 16+630=646, Resulting Numbers: [19, 646] Generated Node #3: [19, 646] from Operation: 16+630=646 Current State: 34:[19, 646], Operations: ['15*42=630', '16+630=646'] Exploring Operation: 646/19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[15, 16, 19, 42], Operations: [] Exploring Operation: 15+19=34, Resulting Numbers: [16, 42, 34] Generated Node #0,0: 34:[16, 42, 34] Operation: 15+19=34 Exploring Operation: 42-15=27, Resulting Numbers: [16, 19, 27] Generated Node #0,1: 34:[16, 19, 27] Operation: 42-15=27 Exploring Operation: 42-19=23, Resulting Numbers: [15, 16, 23] Generated Node #0,2: 34:[15, 16, 23] Operation: 42-19=23 Moving to Node #0,0 Current State: 34:[16, 42, 34], Operations: ['15+19=34'] Exploring Operation: 42-34=8, Resulting Numbers: [16, 8] Generated Node #0,0,0: 34:[16, 8] Operation: 42-34=8 Exploring Operation: 34-16=18, Resulting Numbers: [42, 18] Generated Node #0,0,1: 34:[42, 18] Operation: 34-16=18 Exploring Operation: 42-16=26, Resulting Numbers: [34, 26] Generated Node #0,0,2: 34:[34, 26] Operation: 42-16=26 Moving to Node #0,2 Current State: 34:[15, 16, 23], Operations: ['42-19=23'] Exploring Operation: 23-15=8, Resulting Numbers: [16, 8] Generated Node #0,2,0: 34:[16, 8] Operation: 23-15=8 Exploring Operation: 16-15=1, Resulting Numbers: [23, 1] Generated Node #0,2,1: 34:[23, 1] Operation: 16-15=1 Exploring Operation: 15+23=38, Resulting Numbers: [16, 38] Generated Node #0,2,2: 34:[16, 38] Operation: 15+23=38 Moving to Node #0,1 Current State: 34:[16, 19, 27], Operations: ['42-15=27'] Exploring Operation: 19-16=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 34:[27, 3] Operation: 19-16=3 Exploring Operation: 16+19=35, Resulting Numbers: [27, 35] Generated Node #0,1,1: 34:[27, 35] Operation: 16+19=35 Exploring Operation: 27-19=8, Resulting Numbers: [16, 8] Generated Node #0,1,2: 34:[16, 8] Operation: 27-19=8 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 34:[16, 8], Operations: ['42-15=27', '27-19=8'] Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[27, 3], Operations: ['42-15=27', '19-16=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,34 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[27, 35], Operations: ['42-15=27', '16+19=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,34 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 34:[16, 38], Operations: ['42-19=23', '15+23=38'] Exploring Operation: 16+38=54, Resulting Numbers: [54] 54,34 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 16*38=608, Resulting Numbers: [608] 608,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[23, 1], Operations: ['42-19=23', '16-15=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,34 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,34 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[16, 8], Operations: ['15+19=34', '42-34=8'] Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[16, 8], Operations: ['42-19=23', '23-15=8'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,34 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 16+8=24, Resulting Numbers: [24] 24,34 unequal: No Solution Moving to Node #0,0,2 Current State: 34:[34, 26], Operations: ['15+19=34', '42-16=26'] Exploring Operation: 34+26=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 34*26=884, Resulting Numbers: [884] 884,34 unequal: No Solution Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[42, 18], Operations: ['15+19=34', '34-16=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,34 unequal: No Solution Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,34 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 60, 34, 85 ]
77
[ "68+60=128", "85-34=51", "128-51=77" ]
Current State: 77:[68, 60, 34, 85], Operations: [] Exploring Operation: 68+60=128, Resulting Numbers: [34, 85, 128] Generated Node #2: [34, 85, 128] from Operation: 68+60=128 Current State: 77:[34, 85, 128], Operations: ['68+60=128'] Exploring Operation: 85-34=51, Resulting Numbers: [128, 51] Generated Node #3: [128, 51] from Operation: 85-34=51 Current State: 77:[128, 51], Operations: ['68+60=128', '85-34=51'] Exploring Operation: 128-51=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[68, 60, 34, 85], Operations: [] Exploring Operation: 68/34=2, Resulting Numbers: [60, 85, 2] Generated Node #0,0: 77:[60, 85, 2] Operation: 68/34=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[60, 85, 2], Operations: ['68/34=2'] Exploring Operation: 85-60=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 77:[2, 25] Operation: 85-60=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[2, 25], Operations: ['68/34=2', '85-60=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,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 No solution found.
0
hs_1
sum_heuristic
[ 35, 47, 45, 1 ]
37
[ "35+47=82", "45*1=45", "82-45=37" ]
Current State: 37:[35, 47, 45, 1], Operations: [] Exploring Operation: 35+47=82, Resulting Numbers: [45, 1, 82] Generated Node #2: [45, 1, 82] from Operation: 35+47=82 Current State: 37:[45, 1, 82], Operations: ['35+47=82'] Exploring Operation: 45*1=45, Resulting Numbers: [82, 45] Generated Node #3: [82, 45] from Operation: 45*1=45 Current State: 37:[82, 45], Operations: ['35+47=82', '45*1=45'] Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[35, 47, 45, 1], Operations: [] Exploring Operation: 35+1=36, Resulting Numbers: [47, 45, 36] Generated Node #0,0: 37:[47, 45, 36] Operation: 35+1=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[47, 45, 36], Operations: ['35+1=36'] Exploring Operation: 47-36=11, Resulting Numbers: [45, 11] Generated Node #0,0,0: 37:[45, 11] Operation: 47-36=11 Moving to Node #0,0,0 Current State: 37:[45, 11], Operations: ['35+1=36', '47-36=11'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,37 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
[ 23, 39, 51, 31 ]
36
[ "39-23=16", "51-31=20", "16+20=36" ]
Current State: 36:[23, 39, 51, 31], Operations: [] Exploring Operation: 39-23=16, Resulting Numbers: [51, 31, 16] Generated Node #2: [51, 31, 16] from Operation: 39-23=16 Current State: 36:[51, 31, 16], Operations: ['39-23=16'] Exploring Operation: 51-31=20, Resulting Numbers: [16, 20] Generated Node #3: [16, 20] from Operation: 51-31=20 Current State: 36:[16, 20], Operations: ['39-23=16', '51-31=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[23, 39, 51, 31], Operations: [] Exploring Operation: 51-23=28, Resulting Numbers: [39, 31, 28] Generated Node #0,0: 36:[39, 31, 28] Operation: 51-23=28 Exploring Operation: 51-31=20, Resulting Numbers: [23, 39, 20] Generated Node #0,1: 36:[23, 39, 20] Operation: 51-31=20 Exploring Operation: 51-39=12, Resulting Numbers: [23, 31, 12] Generated Node #0,2: 36:[23, 31, 12] Operation: 51-39=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[23, 39, 20], Operations: ['51-31=20'] Exploring Operation: 39-23=16, Resulting Numbers: [20, 16] Generated Node #0,1,0: 36:[20, 16] Operation: 39-23=16 Exploring Operation: 23-20=3, Resulting Numbers: [39, 3] Generated Node #0,1,1: 36:[39, 3] Operation: 23-20=3 Exploring Operation: 39-20=19, Resulting Numbers: [23, 19] Generated Node #0,1,2: 36:[23, 19] Operation: 39-20=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[39, 3], Operations: ['51-31=20', '23-20=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[23, 39, 51, 31], Operations: [] Exploring Operation: 51-31=20, Resulting Numbers: [23, 39, 20] Generated Node #0,1: 36:[23, 39, 20] Operation: 51-31=20 Moving to Node #0,1 Current State: 36:[23, 39, 20], Operations: ['51-31=20'] Exploring Operation: 23-20=3, Resulting Numbers: [39, 3] Generated Node #0,1,1: 36:[39, 3] Operation: 23-20=3 Moving to Node #0,1,1 Current State: 36:[39, 3], Operations: ['51-31=20', '23-20=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 11, 25, 70, 36 ]
92
[ "25-11=14", "70+36=106", "106-14=92" ]
Current State: 92:[11, 25, 70, 36], Operations: [] Exploring Operation: 25-11=14, Resulting Numbers: [70, 36, 14] Generated Node #2: [70, 36, 14] from Operation: 25-11=14 Current State: 92:[70, 36, 14], Operations: ['25-11=14'] Exploring Operation: 70+36=106, Resulting Numbers: [14, 106] Generated Node #3: [14, 106] from Operation: 70+36=106 Current State: 92:[14, 106], Operations: ['25-11=14', '70+36=106'] Exploring Operation: 106-14=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[11, 25, 70, 36], Operations: [] Exploring Operation: 70-25=45, Resulting Numbers: [11, 36, 45] Generated Node #0,0: 92:[11, 36, 45] Operation: 70-25=45 Exploring Operation: 70-36=34, Resulting Numbers: [11, 25, 34] Generated Node #0,1: 92:[11, 25, 34] Operation: 70-36=34 Exploring Operation: 70+36=106, Resulting Numbers: [11, 25, 106] Generated Node #0,2: 92:[11, 25, 106] Operation: 70+36=106 Exploring Operation: 25+70=95, Resulting Numbers: [11, 36, 95] Generated Node #0,3: 92:[11, 36, 95] Operation: 25+70=95 Exploring Operation: 11+70=81, Resulting Numbers: [25, 36, 81] Generated Node #0,4: 92:[25, 36, 81] Operation: 11+70=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[11, 36, 45], Operations: ['70-25=45'] Exploring Operation: 36-11=25, Resulting Numbers: [45, 25] Generated Node #0,0,0: 92:[45, 25] Operation: 36-11=25 Exploring Operation: 45-36=9, Resulting Numbers: [11, 9] Generated Node #0,0,1: 92:[11, 9] Operation: 45-36=9 Exploring Operation: 11+45=56, Resulting Numbers: [36, 56] Generated Node #0,0,2: 92:[36, 56] Operation: 11+45=56 Exploring Operation: 36+45=81, Resulting Numbers: [11, 81] Generated Node #0,0,3: 92:[11, 81] Operation: 36+45=81 Exploring Operation: 11+36=47, Resulting Numbers: [45, 47] Generated Node #0,0,4: 92:[45, 47] Operation: 11+36=47 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 92:[45, 47], Operations: ['70-25=45', '11+36=47'] Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,92 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[11, 25, 70, 36], Operations: [] Exploring Operation: 70-25=45, Resulting Numbers: [11, 36, 45] Generated Node #0,0: 92:[11, 36, 45] Operation: 70-25=45 Moving to Node #0,0 Current State: 92:[11, 36, 45], Operations: ['70-25=45'] Exploring Operation: 11+36=47, Resulting Numbers: [45, 47] Generated Node #0,0,4: 92:[45, 47] Operation: 11+36=47 Moving to Node #0,0,4 Current State: 92:[45, 47], Operations: ['70-25=45', '11+36=47'] Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 21, 68, 66, 41 ]
61
[ "68-66=2", "41*2=82", "82-21=61" ]
Current State: 61:[21, 68, 66, 41], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [21, 41, 2] Generated Node #2: [21, 41, 2] from Operation: 68-66=2 Current State: 61:[21, 41, 2], Operations: ['68-66=2'] Exploring Operation: 41*2=82, Resulting Numbers: [21, 82] Generated Node #3: [21, 82] from Operation: 41*2=82 Current State: 61:[21, 82], Operations: ['68-66=2', '41*2=82'] Exploring Operation: 82-21=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[21, 68, 66, 41], Operations: [] Exploring Operation: 21+66=87, Resulting Numbers: [68, 41, 87] Generated Node #0,0: 61:[68, 41, 87] Operation: 21+66=87 Exploring Operation: 68-21=47, Resulting Numbers: [66, 41, 47] Generated Node #0,1: 61:[66, 41, 47] Operation: 68-21=47 Exploring Operation: 21+68=89, Resulting Numbers: [66, 41, 89] Generated Node #0,2: 61:[66, 41, 89] Operation: 21+68=89 Exploring Operation: 66-21=45, Resulting Numbers: [68, 41, 45] Generated Node #0,3: 61:[68, 41, 45] Operation: 66-21=45 Exploring Operation: 21+41=62, Resulting Numbers: [68, 66, 62] Generated Node #0,4: 61:[68, 66, 62] Operation: 21+41=62 Moving to Node #0,4 Current State: 61:[68, 66, 62], Operations: ['21+41=62'] Exploring Operation: 66-62=4, Resulting Numbers: [68, 4] Generated Node #0,4,0: 61:[68, 4] Operation: 66-62=4 Exploring Operation: 68-66=2, Resulting Numbers: [62, 2] Generated Node #0,4,1: 61:[62, 2] Operation: 68-66=2 Exploring Operation: 68+62=130, Resulting Numbers: [66, 130] Generated Node #0,4,2: 61:[66, 130] Operation: 68+62=130 Exploring Operation: 68+66=134, Resulting Numbers: [62, 134] Generated Node #0,4,3: 61:[62, 134] Operation: 68+66=134 Exploring Operation: 68-62=6, Resulting Numbers: [66, 6] Generated Node #0,4,4: 61:[66, 6] Operation: 68-62=6 Moving to Node #0,1 Current State: 61:[66, 41, 47], Operations: ['68-21=47'] Exploring Operation: 66+41=107, Resulting Numbers: [47, 107] Generated Node #0,1,0: 61:[47, 107] Operation: 66+41=107 Exploring Operation: 66-47=19, Resulting Numbers: [41, 19] Generated Node #0,1,1: 61:[41, 19] Operation: 66-47=19 Exploring Operation: 66-41=25, Resulting Numbers: [47, 25] Generated Node #0,1,2: 61:[47, 25] Operation: 66-41=25 Exploring Operation: 47-41=6, Resulting Numbers: [66, 6] Generated Node #0,1,3: 61:[66, 6] Operation: 47-41=6 Exploring Operation: 41+47=88, Resulting Numbers: [66, 88] Generated Node #0,1,4: 61:[66, 88] Operation: 41+47=88 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 61:[66, 88], Operations: ['68-21=47', '41+47=88'] Exploring Operation: 66+88=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 88-66=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 66*88=5808, Resulting Numbers: [5808] 5808,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 61:[47, 25], Operations: ['68-21=47', '66-41=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,61 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[47, 107], Operations: ['68-21=47', '66+41=107'] Exploring Operation: 47+107=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 47*107=5029, Resulting Numbers: [5029] 5029,61 unequal: No Solution Exploring Operation: 107-47=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 61:[66, 6], Operations: ['68-21=47', '47-41=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,61 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 61:[41, 19], Operations: ['68-21=47', '66-47=19'] Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,61 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 61:[68, 41, 45], Operations: ['66-21=45'] Exploring Operation: 68-45=23, Resulting Numbers: [41, 23] Generated Node #0,3,0: 61:[41, 23] Operation: 68-45=23 Exploring Operation: 45-41=4, Resulting Numbers: [68, 4] Generated Node #0,3,1: 61:[68, 4] Operation: 45-41=4 Exploring Operation: 41+45=86, Resulting Numbers: [68, 86] Generated Node #0,3,2: 61:[68, 86] Operation: 41+45=86 Exploring Operation: 68-41=27, Resulting Numbers: [45, 27] Generated Node #0,3,3: 61:[45, 27] Operation: 68-41=27 Exploring Operation: 68+41=109, Resulting Numbers: [45, 109] Generated Node #0,3,4: 61:[45, 109] Operation: 68+41=109 Moving to Node #0,0 Current State: 61:[68, 41, 87], Operations: ['21+66=87'] Exploring Operation: 87-41=46, Resulting Numbers: [68, 46] Generated Node #0,0,0: 61:[68, 46] Operation: 87-41=46 Exploring Operation: 41+87=128, Resulting Numbers: [68, 128] Generated Node #0,0,1: 61:[68, 128] Operation: 41+87=128 Exploring Operation: 87-68=19, Resulting Numbers: [41, 19] Generated Node #0,0,2: 61:[41, 19] Operation: 87-68=19 Exploring Operation: 68-41=27, Resulting Numbers: [87, 27] Generated Node #0,0,3: 61:[87, 27] Operation: 68-41=27 Exploring Operation: 68+41=109, Resulting Numbers: [87, 109] Generated Node #0,0,4: 61:[87, 109] Operation: 68+41=109 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[68, 46], Operations: ['21+66=87', '87-41=46'] Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,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,0,3 Current State: 61:[87, 27], Operations: ['21+66=87', '68-41=27'] Exploring Operation: 87*27=2349, Resulting Numbers: [2349] 2349,61 unequal: No Solution Exploring Operation: 87+27=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 87-27=60, Resulting Numbers: [60] 60,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,0,2 Current State: 61:[41, 19], Operations: ['21+66=87', '87-68=19'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 41+19=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 41*19=779, Resulting Numbers: [779] 779,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,0,1 Current State: 61:[68, 128], Operations: ['21+66=87', '41+87=128'] Exploring Operation: 128-68=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 68*128=8704, Resulting Numbers: [8704] 8704,61 unequal: No Solution Exploring Operation: 68+128=196, Resulting Numbers: [196] 196,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,0,4 Current State: 61:[87, 109], Operations: ['21+66=87', '68+41=109'] Exploring Operation: 109-87=22, Resulting Numbers: [22] 22,61 unequal: No Solution Exploring Operation: 87+109=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 87*109=9483, Resulting Numbers: [9483] 9483,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 61:[66, 41, 89], Operations: ['21+68=89'] Exploring Operation: 41+89=130, Resulting Numbers: [66, 130] Generated Node #0,2,0: 61:[66, 130] Operation: 41+89=130 Exploring Operation: 66-41=25, Resulting Numbers: [89, 25] Generated Node #0,2,1: 61:[89, 25] Operation: 66-41=25 Exploring Operation: 89-66=23, Resulting Numbers: [41, 23] Generated Node #0,2,2: 61:[41, 23] Operation: 89-66=23 Exploring Operation: 89-41=48, Resulting Numbers: [66, 48] Generated Node #0,2,3: 61:[66, 48] Operation: 89-41=48 Exploring Operation: 66+41=107, Resulting Numbers: [89, 107] Generated Node #0,2,4: 61:[89, 107] Operation: 66+41=107 Moving to Node #0,2,3 Current State: 61:[66, 48], Operations: ['21+68=89', '89-41=48'] Exploring Operation: 66+48=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 66*48=3168, Resulting Numbers: [3168] 3168,61 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,3,2 Current State: 61:[68, 86], Operations: ['66-21=45', '41+45=86'] Exploring Operation: 68*86=5848, Resulting Numbers: [5848] 5848,61 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,61 unequal: No Solution Moving to Node #0,3,3 Current State: 61:[45, 27], Operations: ['66-21=45', '68-41=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,61 unequal: No Solution Moving to Node #0,2,2 Current State: 61:[41, 23], Operations: ['21+68=89', '89-66=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,61 unequal: No Solution Moving to Node #0,3,0 Current State: 61:[41, 23], Operations: ['66-21=45', '68-45=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 41*23=943, Resulting Numbers: [943] 943,61 unequal: No Solution Moving to Node #0,4,1 Current State: 61:[62, 2], Operations: ['21+41=62', '68-66=2'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 62*2=124, Resulting Numbers: [124] 124,61 unequal: No Solution Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,61 unequal: No Solution Exploring Operation: 62+2=64, Resulting Numbers: [64] 64,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[66, 6], Operations: ['21+41=62', '68-62=6'] Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,61 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,61 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,61 unequal: No Solution Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,61 unequal: No Solution Moving to Node #0,2,1 Current State: 61:[89, 25], Operations: ['21+68=89', '66-41=25'] Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,61 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,61 unequal: No Solution Moving to Node #0,4,0 Current State: 61:[68, 4], Operations: ['21+41=62', '66-62=4'] Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,61 unequal: No Solution Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,61 unequal: No Solution Moving to Node #0,3,4 Current State: 61:[45, 109], Operations: ['66-21=45', '68+41=109'] Exploring Operation: 45+109=154, Resulting Numbers: [154] 154,61 unequal: No Solution Exploring Operation: 109-45=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 45*109=4905, Resulting Numbers: [4905] 4905,61 unequal: No Solution Moving to Node #0,3,1 Current State: 61:[68, 4], Operations: ['66-21=45', '45-41=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 68*4=272, Resulting Numbers: [272] 272,61 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,61 unequal: No Solution Moving to Node #0,2,0 Current State: 61:[66, 130], Operations: ['21+68=89', '41+89=130'] Exploring Operation: 130-66=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 66+130=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 66*130=8580, Resulting Numbers: [8580] 8580,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[89, 107], Operations: ['21+68=89', '66+41=107'] Exploring Operation: 89+107=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 89*107=9523, Resulting Numbers: [9523] 9523,61 unequal: No Solution Exploring Operation: 107-89=18, Resulting Numbers: [18] 18,61 unequal: No Solution Moving to Node #0,4,3 Current State: 61:[62, 134], Operations: ['21+41=62', '68+66=134'] Exploring Operation: 134-62=72, Resulting Numbers: [72] 72,61 unequal: No Solution Exploring Operation: 62*134=8308, Resulting Numbers: [8308] 8308,61 unequal: No Solution Exploring Operation: 62+134=196, Resulting Numbers: [196] 196,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[66, 130], Operations: ['21+41=62', '68+62=130'] Exploring Operation: 130-66=64, Resulting Numbers: [64] 64,61 unequal: No Solution Exploring Operation: 66+130=196, Resulting Numbers: [196] 196,61 unequal: No Solution Exploring Operation: 66*130=8580, Resulting Numbers: [8580] 8580,61 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 69, 12, 54, 32 ]
35
[ "69-12=57", "54-32=22", "57-22=35" ]
Current State: 35:[69, 12, 54, 32], Operations: [] Exploring Operation: 69-12=57, Resulting Numbers: [54, 32, 57] Generated Node #2: [54, 32, 57] from Operation: 69-12=57 Current State: 35:[54, 32, 57], Operations: ['69-12=57'] Exploring Operation: 54-32=22, Resulting Numbers: [57, 22] Generated Node #3: [57, 22] from Operation: 54-32=22 Current State: 35:[57, 22], Operations: ['69-12=57', '54-32=22'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[69, 12, 54, 32], Operations: [] Exploring Operation: 69-32=37, Resulting Numbers: [12, 54, 37] Generated Node #0,0: 35:[12, 54, 37] Operation: 69-32=37 Exploring Operation: 69-54=15, Resulting Numbers: [12, 32, 15] Generated Node #0,1: 35:[12, 32, 15] Operation: 69-54=15 Exploring Operation: 69-12=57, Resulting Numbers: [54, 32, 57] Generated Node #0,2: 35:[54, 32, 57] Operation: 69-12=57 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[12, 32, 15], Operations: ['69-54=15'] Exploring Operation: 15-12=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 35:[32, 3] Operation: 15-12=3 Exploring Operation: 12+15=27, Resulting Numbers: [32, 27] Generated Node #0,1,1: 35:[32, 27] Operation: 12+15=27 Exploring Operation: 32-15=17, Resulting Numbers: [12, 17] Generated Node #0,1,2: 35:[12, 17] Operation: 32-15=17 Moving to Node #0,1,0 Current State: 35:[32, 3], Operations: ['69-54=15', '15-12=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[69, 12, 54, 32], Operations: [] Exploring Operation: 69-54=15, Resulting Numbers: [12, 32, 15] Generated Node #0,1: 35:[12, 32, 15] Operation: 69-54=15 Moving to Node #0,1 Current State: 35:[12, 32, 15], Operations: ['69-54=15'] Exploring Operation: 15-12=3, Resulting Numbers: [32, 3] Generated Node #0,1,0: 35:[32, 3] Operation: 15-12=3 Moving to Node #0,1,0 Current State: 35:[32, 3], Operations: ['69-54=15', '15-12=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 2, 98, 44, 65 ]
79
[ "2+98=100", "65-44=21", "100-21=79" ]
Current State: 79:[2, 98, 44, 65], Operations: [] Exploring Operation: 2+98=100, Resulting Numbers: [44, 65, 100] Generated Node #2: [44, 65, 100] from Operation: 2+98=100 Current State: 79:[44, 65, 100], Operations: ['2+98=100'] Exploring Operation: 65-44=21, Resulting Numbers: [100, 21] Generated Node #3: [100, 21] from Operation: 65-44=21 Current State: 79:[100, 21], Operations: ['2+98=100', '65-44=21'] Exploring Operation: 100-21=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[2, 98, 44, 65], Operations: [] Exploring Operation: 2+65=67, Resulting Numbers: [98, 44, 67] Generated Node #0,0: 79:[98, 44, 67] Operation: 2+65=67 Exploring Operation: 2*44=88, Resulting Numbers: [98, 65, 88] Generated Node #0,1: 79:[98, 65, 88] Operation: 2*44=88 Exploring Operation: 2+44=46, Resulting Numbers: [98, 65, 46] Generated Node #0,2: 79:[98, 65, 46] Operation: 2+44=46 Exploring Operation: 98-2=96, Resulting Numbers: [44, 65, 96] Generated Node #0,3: 79:[44, 65, 96] Operation: 98-2=96 Exploring Operation: 2+98=100, Resulting Numbers: [44, 65, 100] Generated Node #0,4: 79:[44, 65, 100] Operation: 2+98=100 Moving to Node #0,1 Current State: 79:[98, 65, 88], Operations: ['2*44=88'] Exploring Operation: 65+88=153, Resulting Numbers: [98, 153] Generated Node #0,1,0: 79:[98, 153] Operation: 65+88=153 Exploring Operation: 98-88=10, Resulting Numbers: [65, 10] Generated Node #0,1,1: 79:[65, 10] Operation: 98-88=10 Exploring Operation: 98+65=163, Resulting Numbers: [88, 163] Generated Node #0,1,2: 79:[88, 163] Operation: 98+65=163 Exploring Operation: 98-65=33, Resulting Numbers: [88, 33] Generated Node #0,1,3: 79:[88, 33] Operation: 98-65=33 Exploring Operation: 88-65=23, Resulting Numbers: [98, 23] Generated Node #0,1,4: 79:[98, 23] Operation: 88-65=23 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 79:[88, 33], Operations: ['2*44=88', '98-65=33'] Exploring Operation: 88*33=2904, Resulting Numbers: [2904] 2904,79 unequal: No Solution Exploring Operation: 88-33=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 88+33=121, Resulting Numbers: [121] 121,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 79:[98, 23], Operations: ['2*44=88', '88-65=23'] Exploring Operation: 98+23=121, Resulting Numbers: [121] 121,79 unequal: No Solution Exploring Operation: 98-23=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 98*23=2254, Resulting Numbers: [2254] 2254,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 79:[65, 10], Operations: ['2*44=88', '98-88=10'] Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,79 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[98, 153], Operations: ['2*44=88', '65+88=153'] Exploring Operation: 98+153=251, Resulting Numbers: [251] 251,79 unequal: No Solution Exploring Operation: 153-98=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 98*153=14994, Resulting Numbers: [14994] 14994,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[88, 163], Operations: ['2*44=88', '98+65=163'] Exploring Operation: 88+163=251, Resulting Numbers: [251] 251,79 unequal: No Solution Exploring Operation: 163-88=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 88*163=14344, Resulting Numbers: [14344] 14344,79 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: 79:[98, 65, 46], Operations: ['2+44=46'] Exploring Operation: 65+46=111, Resulting Numbers: [98, 111] Generated Node #0,2,0: 79:[98, 111] Operation: 65+46=111 Exploring Operation: 98+46=144, Resulting Numbers: [65, 144] Generated Node #0,2,1: 79:[65, 144] Operation: 98+46=144 Exploring Operation: 98-46=52, Resulting Numbers: [65, 52] Generated Node #0,2,2: 79:[65, 52] Operation: 98-46=52 Exploring Operation: 98-65=33, Resulting Numbers: [46, 33] Generated Node #0,2,3: 79:[46, 33] Operation: 98-65=33 Exploring Operation: 65-46=19, Resulting Numbers: [98, 19] Generated Node #0,2,4: 79:[98, 19] Operation: 65-46=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[65, 52], Operations: ['2+44=46', '98-46=52'] Exploring Operation: 65+52=117, Resulting Numbers: [117] 117,79 unequal: No Solution Exploring Operation: 65*52=3380, Resulting Numbers: [3380] 3380,79 unequal: No Solution Exploring Operation: 65-52=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[98, 111], Operations: ['2+44=46', '65+46=111'] Exploring Operation: 98*111=10878, Resulting Numbers: [10878] 10878,79 unequal: No Solution Exploring Operation: 98+111=209, Resulting Numbers: [209] 209,79 unequal: No Solution Exploring Operation: 111-98=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 79:[65, 144], Operations: ['2+44=46', '98+46=144'] Exploring Operation: 144-65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[2, 98, 44, 65], Operations: [] Exploring Operation: 2+44=46, Resulting Numbers: [98, 65, 46] Generated Node #0,2: 79:[98, 65, 46] Operation: 2+44=46 Moving to Node #0,2 Current State: 79:[98, 65, 46], Operations: ['2+44=46'] Exploring Operation: 98+46=144, Resulting Numbers: [65, 144] Generated Node #0,2,1: 79:[65, 144] Operation: 98+46=144 Moving to Node #0,2,1 Current State: 79:[65, 144], Operations: ['2+44=46', '98+46=144'] Exploring Operation: 144-65=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 79, 47, 27, 11 ]
70
[ "79-47=32", "27+11=38", "32+38=70" ]
Current State: 70:[79, 47, 27, 11], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [27, 11, 32] Generated Node #2: [27, 11, 32] from Operation: 79-47=32 Current State: 70:[27, 11, 32], Operations: ['79-47=32'] Exploring Operation: 27+11=38, Resulting Numbers: [32, 38] Generated Node #3: [32, 38] from Operation: 27+11=38 Current State: 70:[32, 38], Operations: ['79-47=32', '27+11=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[79, 47, 27, 11], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [27, 11, 32] Generated Node #0,0: 70:[27, 11, 32] Operation: 79-47=32 Exploring Operation: 47+27=74, Resulting Numbers: [79, 11, 74] Generated Node #0,1: 70:[79, 11, 74] Operation: 47+27=74 Exploring Operation: 47-27=20, Resulting Numbers: [79, 11, 20] Generated Node #0,2: 70:[79, 11, 20] Operation: 47-27=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[27, 11, 32], Operations: ['79-47=32'] Exploring Operation: 32-27=5, Resulting Numbers: [11, 5] Generated Node #0,0,0: 70:[11, 5] Operation: 32-27=5 Exploring Operation: 27-11=16, Resulting Numbers: [32, 16] Generated Node #0,0,1: 70:[32, 16] Operation: 27-11=16 Exploring Operation: 27+11=38, Resulting Numbers: [32, 38] Generated Node #0,0,2: 70:[32, 38] Operation: 27+11=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[11, 5], Operations: ['79-47=32', '32-27=5'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,70 unequal: No Solution Exploring Operation: 11+5=16, Resulting Numbers: [16] 16,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[32, 16], Operations: ['79-47=32', '27-11=16'] Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[32, 38], Operations: ['79-47=32', '27+11=38'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[79, 47, 27, 11], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [27, 11, 32] Generated Node #0,0: 70:[27, 11, 32] Operation: 79-47=32 Moving to Node #0,0 Current State: 70:[27, 11, 32], Operations: ['79-47=32'] Exploring Operation: 27+11=38, Resulting Numbers: [32, 38] Generated Node #0,0,2: 70:[32, 38] Operation: 27+11=38 Moving to Node #0,0,2 Current State: 70:[32, 38], Operations: ['79-47=32', '27+11=38'] Exploring Operation: 32+38=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 17, 58, 63, 69 ]
81
[ "17+58=75", "69-63=6", "75+6=81" ]
Current State: 81:[17, 58, 63, 69], Operations: [] Exploring Operation: 17+58=75, Resulting Numbers: [63, 69, 75] Generated Node #2: [63, 69, 75] from Operation: 17+58=75 Current State: 81:[63, 69, 75], Operations: ['17+58=75'] Exploring Operation: 69-63=6, Resulting Numbers: [75, 6] Generated Node #3: [75, 6] from Operation: 69-63=6 Current State: 81:[75, 6], Operations: ['17+58=75', '69-63=6'] Exploring Operation: 75+6=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[17, 58, 63, 69], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [17, 69, 5] Generated Node #0,0: 81:[17, 69, 5] Operation: 63-58=5 Moving to Node #0,0 Current State: 81:[17, 69, 5], Operations: ['63-58=5'] Exploring Operation: 17+69=86, Resulting Numbers: [5, 86] Generated Node #0,0,0: 81:[5, 86] Operation: 17+69=86 Moving to Node #0,0,0 Current State: 81:[5, 86], Operations: ['63-58=5', '17+69=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[17, 58, 63, 69], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [17, 69, 5] Generated Node #0,0: 81:[17, 69, 5] Operation: 63-58=5 Moving to Node #0,0 Current State: 81:[17, 69, 5], Operations: ['63-58=5'] Exploring Operation: 17+69=86, Resulting Numbers: [5, 86] Generated Node #0,0,0: 81:[5, 86] Operation: 17+69=86 Moving to Node #0,0,0 Current State: 81:[5, 86], Operations: ['63-58=5', '17+69=86'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 5, 76, 34, 1 ]
19
[ "76-1=75", "75/5=15", "34-15=19" ]
Current State: 19:[5, 76, 34, 1], Operations: [] Exploring Operation: 76-1=75, Resulting Numbers: [5, 34, 75] Generated Node #2: [5, 34, 75] from Operation: 76-1=75 Current State: 19:[5, 34, 75], Operations: ['76-1=75'] Exploring Operation: 75/5=15, Resulting Numbers: [34, 15] Generated Node #3: [34, 15] from Operation: 75/5=15 Current State: 19:[34, 15], Operations: ['76-1=75', '75/5=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[5, 76, 34, 1], Operations: [] Exploring Operation: 34-5=29, Resulting Numbers: [76, 1, 29] Generated Node #0,0: 19:[76, 1, 29] Operation: 34-5=29 Exploring Operation: 76-5=71, Resulting Numbers: [34, 1, 71] Generated Node #0,1: 19:[34, 1, 71] Operation: 76-5=71 Exploring Operation: 76-34=42, Resulting Numbers: [5, 1, 42] Generated Node #0,2: 19:[5, 1, 42] Operation: 76-34=42 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[5, 1, 42], Operations: ['76-34=42'] Exploring Operation: 42-1=41, Resulting Numbers: [5, 41] Generated Node #0,2,0: 19:[5, 41] Operation: 42-1=41 Exploring Operation: 5+1=6, Resulting Numbers: [42, 6] Generated Node #0,2,1: 19:[42, 6] Operation: 5+1=6 Exploring Operation: 42-5=37, Resulting Numbers: [1, 37] Generated Node #0,2,2: 19:[1, 37] Operation: 42-5=37 Moving to Node #0,2,0 Current State: 19:[5, 41], Operations: ['76-34=42', '42-1=41'] Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,19 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[42, 6], Operations: ['76-34=42', '5+1=6'] Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[1, 37], Operations: ['76-34=42', '42-5=37'] Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[76, 1, 29], Operations: ['34-5=29'] Exploring Operation: 76-29=47, Resulting Numbers: [1, 47] Generated Node #0,0,0: 19:[1, 47] Operation: 76-29=47 Exploring Operation: 29-1=28, Resulting Numbers: [76, 28] Generated Node #0,0,1: 19:[76, 28] Operation: 29-1=28 Exploring Operation: 76-1=75, Resulting Numbers: [29, 75] Generated Node #0,0,2: 19:[29, 75] Operation: 76-1=75 Moving to Node #0,0,0 Current State: 19:[1, 47], Operations: ['34-5=29', '76-29=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 1*47=47, Resulting Numbers: [47] 47,19 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[76, 28], Operations: ['34-5=29', '29-1=28'] Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 76+28=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 76*28=2128, Resulting Numbers: [2128] 2128,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[29, 75], Operations: ['34-5=29', '76-1=75'] Exploring Operation: 29*75=2175, Resulting Numbers: [2175] 2175,19 unequal: No Solution Exploring Operation: 29+75=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[34, 1, 71], Operations: ['76-5=71'] Exploring Operation: 34-1=33, Resulting Numbers: [71, 33] Generated Node #0,1,0: 19:[71, 33] Operation: 34-1=33 Exploring Operation: 71-1=70, Resulting Numbers: [34, 70] Generated Node #0,1,1: 19:[34, 70] Operation: 71-1=70 Exploring Operation: 71-34=37, Resulting Numbers: [1, 37] Generated Node #0,1,2: 19:[1, 37] Operation: 71-34=37 Moving to Node #0,1,2 Current State: 19:[1, 37], Operations: ['76-5=71', '71-34=37'] Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,19 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,19 unequal: No Solution Moving to Node #0,1,0 Current State: 19:[71, 33], Operations: ['76-5=71', '34-1=33'] Exploring Operation: 71+33=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 71-33=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 71*33=2343, Resulting Numbers: [2343] 2343,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[34, 70], Operations: ['76-5=71', '71-1=70'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,19 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 26, 23, 7, 78 ]
22
[ "26+23=49", "78-7=71", "71-49=22" ]
Current State: 22:[26, 23, 7, 78], Operations: [] Exploring Operation: 26+23=49, Resulting Numbers: [7, 78, 49] Generated Node #2: [7, 78, 49] from Operation: 26+23=49 Current State: 22:[7, 78, 49], Operations: ['26+23=49'] Exploring Operation: 78-7=71, Resulting Numbers: [49, 71] Generated Node #3: [49, 71] from Operation: 78-7=71 Current State: 22:[49, 71], Operations: ['26+23=49', '78-7=71'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[26, 23, 7, 78], Operations: [] Exploring Operation: 78-7=71, Resulting Numbers: [26, 23, 71] Generated Node #0,0: 22:[26, 23, 71] Operation: 78-7=71 Exploring Operation: 78/26=3, Resulting Numbers: [23, 7, 3] Generated Node #0,1: 22:[23, 7, 3] Operation: 78/26=3 Exploring Operation: 78-23=55, Resulting Numbers: [26, 7, 55] Generated Node #0,2: 22:[26, 7, 55] Operation: 78-23=55 Exploring Operation: 78-26=52, Resulting Numbers: [23, 7, 52] Generated Node #0,3: 22:[23, 7, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[23, 7, 3], Operations: ['78/26=3'] Exploring Operation: 7-3=4, Resulting Numbers: [23, 4] Generated Node #0,1,0: 22:[23, 4] Operation: 7-3=4 Exploring Operation: 23-7=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 22:[3, 16] Operation: 23-7=16 Exploring Operation: 7*3=21, Resulting Numbers: [23, 21] Generated Node #0,1,2: 22:[23, 21] Operation: 7*3=21 Exploring Operation: 7+3=10, Resulting Numbers: [23, 10] Generated Node #0,1,3: 22:[23, 10] Operation: 7+3=10 Moving to Node #0,1,2 Current State: 22:[23, 21], Operations: ['78/26=3', '7*3=21'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,22 unequal: No Solution Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,22 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[23, 10], Operations: ['78/26=3', '7+3=10'] Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,22 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[23, 4], Operations: ['78/26=3', '7-3=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,22 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[3, 16], Operations: ['78/26=3', '23-7=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 22:[23, 7, 52], Operations: ['78-26=52'] Exploring Operation: 52-23=29, Resulting Numbers: [7, 29] Generated Node #0,3,0: 22:[7, 29] Operation: 52-23=29 Exploring Operation: 23-7=16, Resulting Numbers: [52, 16] Generated Node #0,3,1: 22:[52, 16] Operation: 23-7=16 Exploring Operation: 23+7=30, Resulting Numbers: [52, 30] Generated Node #0,3,2: 22:[52, 30] Operation: 23+7=30 Exploring Operation: 52-7=45, Resulting Numbers: [23, 45] Generated Node #0,3,3: 22:[23, 45] Operation: 52-7=45 Moving to Node #0,3,0 Current State: 22:[7, 29], Operations: ['78-26=52', '52-23=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,22 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[26, 23, 7, 78], Operations: [] Exploring Operation: 78-26=52, Resulting Numbers: [23, 7, 52] Generated Node #0,3: 22:[23, 7, 52] Operation: 78-26=52 Moving to Node #0,3 Current State: 22:[23, 7, 52], Operations: ['78-26=52'] Exploring Operation: 52-23=29, Resulting Numbers: [7, 29] Generated Node #0,3,0: 22:[7, 29] Operation: 52-23=29 Moving to Node #0,3,0 Current State: 22:[7, 29], Operations: ['78-26=52', '52-23=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 69, 70, 38, 40 ]
61
[ "69+70=139", "38+40=78", "139-78=61" ]
Current State: 61:[69, 70, 38, 40], Operations: [] Exploring Operation: 69+70=139, Resulting Numbers: [38, 40, 139] Generated Node #2: [38, 40, 139] from Operation: 69+70=139 Current State: 61:[38, 40, 139], Operations: ['69+70=139'] Exploring Operation: 38+40=78, Resulting Numbers: [139, 78] Generated Node #3: [139, 78] from Operation: 38+40=78 Current State: 61:[139, 78], Operations: ['69+70=139', '38+40=78'] Exploring Operation: 139-78=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[69, 70, 38, 40], Operations: [] Exploring Operation: 69-38=31, Resulting Numbers: [70, 40, 31] Generated Node #0,0: 61:[70, 40, 31] Operation: 69-38=31 Exploring Operation: 70-38=32, Resulting Numbers: [69, 40, 32] Generated Node #0,1: 61:[69, 40, 32] Operation: 70-38=32 Exploring Operation: 38+40=78, Resulting Numbers: [69, 70, 78] Generated Node #0,2: 61:[69, 70, 78] Operation: 38+40=78 Moving to Node #0,2 Current State: 61:[69, 70, 78], Operations: ['38+40=78'] Exploring Operation: 70-69=1, Resulting Numbers: [78, 1] Generated Node #0,2,0: 61:[78, 1] Operation: 70-69=1 Exploring Operation: 78-69=9, Resulting Numbers: [70, 9] Generated Node #0,2,1: 61:[70, 9] Operation: 78-69=9 Exploring Operation: 78-70=8, Resulting Numbers: [69, 8] Generated Node #0,2,2: 61:[69, 8] Operation: 78-70=8 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[70, 9], Operations: ['38+40=78', '78-69=9'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[69, 70, 38, 40], Operations: [] Exploring Operation: 38+40=78, Resulting Numbers: [69, 70, 78] Generated Node #0,2: 61:[69, 70, 78] Operation: 38+40=78 Moving to Node #0,2 Current State: 61:[69, 70, 78], Operations: ['38+40=78'] Exploring Operation: 78-69=9, Resulting Numbers: [70, 9] Generated Node #0,2,1: 61:[70, 9] Operation: 78-69=9 Moving to Node #0,2,1 Current State: 61:[70, 9], Operations: ['38+40=78', '78-69=9'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 76, 49, 59, 9 ]
77
[ "76-49=27", "59-9=50", "27+50=77" ]
Current State: 77:[76, 49, 59, 9], Operations: [] Exploring Operation: 76-49=27, Resulting Numbers: [59, 9, 27] Generated Node #2: [59, 9, 27] from Operation: 76-49=27 Current State: 77:[59, 9, 27], Operations: ['76-49=27'] Exploring Operation: 59-9=50, Resulting Numbers: [27, 50] Generated Node #3: [27, 50] from Operation: 59-9=50 Current State: 77:[27, 50], Operations: ['76-49=27', '59-9=50'] Exploring Operation: 27+50=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[76, 49, 59, 9], Operations: [] Exploring Operation: 76-59=17, Resulting Numbers: [49, 9, 17] Generated Node #0,0: 77:[49, 9, 17] Operation: 76-59=17 Exploring Operation: 76-49=27, Resulting Numbers: [59, 9, 27] Generated Node #0,1: 77:[59, 9, 27] Operation: 76-49=27 Exploring Operation: 59-49=10, Resulting Numbers: [76, 9, 10] Generated Node #0,2: 77:[76, 9, 10] Operation: 59-49=10 Exploring Operation: 49+59=108, Resulting Numbers: [76, 9, 108] Generated Node #0,3: 77:[76, 9, 108] Operation: 49+59=108 Start Sub Search at level 1: Moving to Node #0,2 Current State: 77:[76, 9, 10], Operations: ['59-49=10'] Exploring Operation: 9+10=19, Resulting Numbers: [76, 19] Generated Node #0,2,0: 77:[76, 19] Operation: 9+10=19 Exploring Operation: 76-9=67, Resulting Numbers: [10, 67] Generated Node #0,2,1: 77:[10, 67] Operation: 76-9=67 Exploring Operation: 76+9=85, Resulting Numbers: [10, 85] Generated Node #0,2,2: 77:[10, 85] Operation: 76+9=85 Exploring Operation: 10-9=1, Resulting Numbers: [76, 1] Generated Node #0,2,3: 77:[76, 1] Operation: 10-9=1 Moving to Node #0,2,3 Current State: 77:[76, 1], Operations: ['59-49=10', '10-9=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[76, 49, 59, 9], Operations: [] Exploring Operation: 59-49=10, Resulting Numbers: [76, 9, 10] Generated Node #0,2: 77:[76, 9, 10] Operation: 59-49=10 Moving to Node #0,2 Current State: 77:[76, 9, 10], Operations: ['59-49=10'] Exploring Operation: 10-9=1, Resulting Numbers: [76, 1] Generated Node #0,2,3: 77:[76, 1] Operation: 10-9=1 Moving to Node #0,2,3 Current State: 77:[76, 1], Operations: ['59-49=10', '10-9=1'] Exploring Operation: 76+1=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 60, 32, 6, 54 ]
37
[ "60-32=28", "54/6=9", "28+9=37" ]
Current State: 37:[60, 32, 6, 54], Operations: [] Exploring Operation: 60-32=28, Resulting Numbers: [6, 54, 28] Generated Node #2: [6, 54, 28] from Operation: 60-32=28 Current State: 37:[6, 54, 28], Operations: ['60-32=28'] Exploring Operation: 54/6=9, Resulting Numbers: [28, 9] Generated Node #3: [28, 9] from Operation: 54/6=9 Current State: 37:[28, 9], Operations: ['60-32=28', '54/6=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[60, 32, 6, 54], Operations: [] Exploring Operation: 54-6=48, Resulting Numbers: [60, 32, 48] Generated Node #0,0: 37:[60, 32, 48] Operation: 54-6=48 Exploring Operation: 60-6=54, Resulting Numbers: [32, 54, 54] Generated Node #0,1: 37:[32, 54, 54] Operation: 60-6=54 Moving to Node #0,0 Current State: 37:[60, 32, 48], Operations: ['54-6=48'] Exploring Operation: 60-32=28, Resulting Numbers: [48, 28] Generated Node #0,0,0: 37:[48, 28] Operation: 60-32=28 Exploring Operation: 60-48=12, Resulting Numbers: [32, 12] Generated Node #0,0,1: 37:[32, 12] Operation: 60-48=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[48, 28], Operations: ['54-6=48', '60-32=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 48-28=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[32, 12], Operations: ['54-6=48', '60-48=12'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,37 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,37 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: 37:[32, 54, 54], Operations: ['60-6=54'] Exploring Operation: 54-32=22, Resulting Numbers: [54, 22] Generated Node #0,1,0: 37:[54, 22] Operation: 54-32=22 Exploring Operation: 54-32=22, Resulting Numbers: [54, 22] Generated Node #0,1,1: 37:[54, 22] Operation: 54-32=22 Moving to Node #0,1,0 Current State: 37:[54, 22], Operations: ['60-6=54', '54-32=22'] Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[54, 22], Operations: ['60-6=54', '54-32=22'] Exploring Operation: 54+22=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 54-22=32, Resulting Numbers: [32] 32,37 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 69, 75, 3 ]
29
[ "38+69=107", "75+3=78", "107-78=29" ]
Current State: 29:[38, 69, 75, 3], Operations: [] Exploring Operation: 38+69=107, Resulting Numbers: [75, 3, 107] Generated Node #2: [75, 3, 107] from Operation: 38+69=107 Current State: 29:[75, 3, 107], Operations: ['38+69=107'] Exploring Operation: 75+3=78, Resulting Numbers: [107, 78] Generated Node #3: [107, 78] from Operation: 75+3=78 Current State: 29:[107, 78], Operations: ['38+69=107', '75+3=78'] Exploring Operation: 107-78=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[38, 69, 75, 3], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [38, 3, 6] Generated Node #0,0: 29:[38, 3, 6] Operation: 75-69=6 Exploring Operation: 75/3=25, Resulting Numbers: [38, 69, 25] Generated Node #0,1: 29:[38, 69, 25] Operation: 75/3=25 Exploring Operation: 69/3=23, Resulting Numbers: [38, 75, 23] Generated Node #0,2: 29:[38, 75, 23] Operation: 69/3=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[38, 69, 25], Operations: ['75/3=25'] Exploring Operation: 69-38=31, Resulting Numbers: [25, 31] Generated Node #0,1,0: 29:[25, 31] Operation: 69-38=31 Exploring Operation: 38-25=13, Resulting Numbers: [69, 13] Generated Node #0,1,1: 29:[69, 13] Operation: 38-25=13 Exploring Operation: 69-25=44, Resulting Numbers: [38, 44] Generated Node #0,1,2: 29:[38, 44] Operation: 69-25=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[25, 31], Operations: ['75/3=25', '69-38=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 25*31=775, Resulting Numbers: [775] 775,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 29:[38, 44], Operations: ['75/3=25', '69-25=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[69, 13], Operations: ['75/3=25', '38-25=13'] Exploring Operation: 69*13=897, Resulting Numbers: [897] 897,29 unequal: No Solution Exploring Operation: 69+13=82, Resulting Numbers: [82] 82,29 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[38, 3, 6], Operations: ['75-69=6'] Exploring Operation: 38-6=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 38-6=32 Exploring Operation: 38-3=35, Resulting Numbers: [6, 35] Generated Node #0,0,1: 29:[6, 35] Operation: 38-3=35 Exploring Operation: 3*6=18, Resulting Numbers: [38, 18] Generated Node #0,0,2: 29:[38, 18] Operation: 3*6=18 Moving to Node #0,0,2 Current State: 29:[38, 18], Operations: ['75-69=6', '3*6=18'] Exploring Operation: 38*18=684, Resulting Numbers: [684] 684,29 unequal: No Solution Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,29 unequal: No Solution Exploring Operation: 38+18=56, Resulting Numbers: [56] 56,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['75-69=6', '38-6=32'] Exploring Operation: 3+32=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 3*32=96, Resulting Numbers: [96] 96,29 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[38, 69, 75, 3], Operations: [] Exploring Operation: 75-69=6, Resulting Numbers: [38, 3, 6] Generated Node #0,0: 29:[38, 3, 6] Operation: 75-69=6 Moving to Node #0,0 Current State: 29:[38, 3, 6], Operations: ['75-69=6'] Exploring Operation: 38-6=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 38-6=32 Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['75-69=6', '38-6=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
sum_heuristic
[ 78, 36, 2, 73 ]
67
[ "78-73=5", "36*2=72", "72-5=67" ]
Current State: 67:[78, 36, 2, 73], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [36, 2, 5] Generated Node #2: [36, 2, 5] from Operation: 78-73=5 Current State: 67:[36, 2, 5], Operations: ['78-73=5'] Exploring Operation: 36*2=72, Resulting Numbers: [5, 72] Generated Node #3: [5, 72] from Operation: 36*2=72 Current State: 67:[5, 72], Operations: ['78-73=5', '36*2=72'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[78, 36, 2, 73], Operations: [] Exploring Operation: 73-2=71, Resulting Numbers: [78, 36, 71] Generated Node #0,0: 67:[78, 36, 71] Operation: 73-2=71 Exploring Operation: 36+2=38, Resulting Numbers: [78, 73, 38] Generated Node #0,1: 67:[78, 73, 38] Operation: 36+2=38 Exploring Operation: 36*2=72, Resulting Numbers: [78, 73, 72] Generated Node #0,2: 67:[78, 73, 72] Operation: 36*2=72 Exploring Operation: 78-2=76, Resulting Numbers: [36, 73, 76] Generated Node #0,3: 67:[36, 73, 76] Operation: 78-2=76 Moving to Node #0,2 Current State: 67:[78, 73, 72], Operations: ['36*2=72'] Exploring Operation: 78-73=5, Resulting Numbers: [72, 5] Generated Node #0,2,0: 67:[72, 5] Operation: 78-73=5 Exploring Operation: 78+73=151, Resulting Numbers: [72, 151] Generated Node #0,2,1: 67:[72, 151] Operation: 78+73=151 Exploring Operation: 73-72=1, Resulting Numbers: [78, 1] Generated Node #0,2,2: 67:[78, 1] Operation: 73-72=1 Exploring Operation: 78-72=6, Resulting Numbers: [73, 6] Generated Node #0,2,3: 67:[73, 6] Operation: 78-72=6 Moving to Node #0,1 Current State: 67:[78, 73, 38], Operations: ['36+2=38'] Exploring Operation: 78-38=40, Resulting Numbers: [73, 40] Generated Node #0,1,0: 67:[73, 40] Operation: 78-38=40 Exploring Operation: 73+38=111, Resulting Numbers: [78, 111] Generated Node #0,1,1: 67:[78, 111] Operation: 73+38=111 Exploring Operation: 73-38=35, Resulting Numbers: [78, 35] Generated Node #0,1,2: 67:[78, 35] Operation: 73-38=35 Exploring Operation: 78+38=116, Resulting Numbers: [73, 116] Generated Node #0,1,3: 67:[73, 116] Operation: 78+38=116 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[73, 40], Operations: ['36+2=38', '78-38=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,67 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 67:[78, 35], Operations: ['36+2=38', '73-38=35'] Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,67 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[78, 111], Operations: ['36+2=38', '73+38=111'] Exploring Operation: 111-78=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 78+111=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 78*111=8658, Resulting Numbers: [8658] 8658,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 67:[73, 116], Operations: ['36+2=38', '78+38=116'] Exploring Operation: 116-73=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 73*116=8468, Resulting Numbers: [8468] 8468,67 unequal: No Solution Exploring Operation: 73+116=189, Resulting Numbers: [189] 189,67 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: 67:[78, 36, 71], Operations: ['73-2=71'] Exploring Operation: 36+71=107, Resulting Numbers: [78, 107] Generated Node #0,0,0: 67:[78, 107] Operation: 36+71=107 Exploring Operation: 78+36=114, Resulting Numbers: [71, 114] Generated Node #0,0,1: 67:[71, 114] Operation: 78+36=114 Exploring Operation: 78-36=42, Resulting Numbers: [71, 42] Generated Node #0,0,2: 67:[71, 42] Operation: 78-36=42 Exploring Operation: 71-36=35, Resulting Numbers: [78, 35] Generated Node #0,0,3: 67:[78, 35] Operation: 71-36=35 Moving to Node #0,3 Current State: 67:[36, 73, 76], Operations: ['78-2=76'] Exploring Operation: 36+73=109, Resulting Numbers: [76, 109] Generated Node #0,3,0: 67:[76, 109] Operation: 36+73=109 Exploring Operation: 73-36=37, Resulting Numbers: [76, 37] Generated Node #0,3,1: 67:[76, 37] Operation: 73-36=37 Exploring Operation: 76-36=40, Resulting Numbers: [73, 40] Generated Node #0,3,2: 67:[73, 40] Operation: 76-36=40 Exploring Operation: 36+76=112, Resulting Numbers: [73, 112] Generated Node #0,3,3: 67:[73, 112] Operation: 36+76=112 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 67:[73, 40], Operations: ['78-2=76', '76-36=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,67 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 67:[76, 37], Operations: ['78-2=76', '73-36=37'] Exploring Operation: 76*37=2812, Resulting Numbers: [2812] 2812,67 unequal: No Solution Exploring Operation: 76-37=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 76+37=113, Resulting Numbers: [113] 113,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 67:[76, 109], Operations: ['78-2=76', '36+73=109'] Exploring Operation: 109-76=33, Resulting Numbers: [33] 33,67 unequal: No Solution Exploring Operation: 76*109=8284, Resulting Numbers: [8284] 8284,67 unequal: No Solution Exploring Operation: 76+109=185, Resulting Numbers: [185] 185,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 67:[73, 112], Operations: ['78-2=76', '36+76=112'] Exploring Operation: 112-73=39, Resulting Numbers: [39] 39,67 unequal: No Solution Exploring Operation: 73+112=185, Resulting Numbers: [185] 185,67 unequal: No Solution Exploring Operation: 73*112=8176, Resulting Numbers: [8176] 8176,67 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: 67:[71, 42], Operations: ['73-2=71', '78-36=42'] Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,67 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,67 unequal: No Solution Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[78, 35], Operations: ['73-2=71', '71-36=35'] Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,67 unequal: No Solution Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[78, 107], Operations: ['73-2=71', '36+71=107'] Exploring Operation: 107-78=29, Resulting Numbers: [29] 29,67 unequal: No Solution Exploring Operation: 78*107=8346, Resulting Numbers: [8346] 8346,67 unequal: No Solution Exploring Operation: 78+107=185, Resulting Numbers: [185] 185,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[71, 114], Operations: ['73-2=71', '78+36=114'] Exploring Operation: 71+114=185, Resulting Numbers: [185] 185,67 unequal: No Solution Exploring Operation: 114-71=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 71*114=8094, Resulting Numbers: [8094] 8094,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[73, 6], Operations: ['36*2=72', '78-72=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[78, 36, 2, 73], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [78, 73, 72] Generated Node #0,2: 67:[78, 73, 72] Operation: 36*2=72 Moving to Node #0,2 Current State: 67:[78, 73, 72], Operations: ['36*2=72'] Exploring Operation: 78-72=6, Resulting Numbers: [73, 6] Generated Node #0,2,3: 67:[73, 6] Operation: 78-72=6 Moving to Node #0,2,3 Current State: 67:[73, 6], Operations: ['36*2=72', '78-72=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 12, 99, 23, 12 ]
52
[ "99-12=87", "23+12=35", "87-35=52" ]
Current State: 52:[12, 99, 23, 12], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [23, 87] Generated Node #2: [23, 87] from Operation: 99-12=87 Current State: 52:[23, 87], Operations: ['99-12=87'] Exploring Operation: 23+12=35, Resulting Numbers: [87, 35] Generated Node #3: [87, 35] from Operation: 23+12=35 Current State: 52:[87, 35], Operations: ['99-12=87', '23+12=35'] Exploring Operation: 87-35=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[12, 99, 23, 12], Operations: [] Exploring Operation: 23-12=11, Resulting Numbers: [99, 12, 11] Generated Node #0,0: 52:[99, 12, 11] Operation: 23-12=11 Exploring Operation: 23-12=11, Resulting Numbers: [12, 99, 11] Generated Node #0,1: 52:[12, 99, 11] Operation: 23-12=11 Exploring Operation: 99-23=76, Resulting Numbers: [12, 12, 76] Generated Node #0,2: 52:[12, 12, 76] Operation: 99-23=76 Exploring Operation: 99-12=87, Resulting Numbers: [23, 12, 87] Generated Node #0,3: 52:[23, 12, 87] Operation: 99-12=87 Exploring Operation: 99-12=87, Resulting Numbers: [12, 23, 87] Generated Node #0,4: 52:[12, 23, 87] Operation: 99-12=87 Moving to Node #0,2 Current State: 52:[12, 12, 76], Operations: ['99-23=76'] Exploring Operation: 76-12=64, Resulting Numbers: [12, 64] Generated Node #0,2,0: 52:[12, 64] Operation: 76-12=64 Exploring Operation: 12-12=0, Resulting Numbers: [76, 0] Generated Node #0,2,1: 52:[76, 0] Operation: 12-12=0 Exploring Operation: 76-12=64, Resulting Numbers: [12, 64] Generated Node #0,2,2: 52:[12, 64] Operation: 76-12=64 Exploring Operation: 12/12=1, Resulting Numbers: [76, 1] Generated Node #0,2,3: 52:[76, 1] Operation: 12/12=1 Exploring Operation: 12+12=24, Resulting Numbers: [76, 24] Generated Node #0,2,4: 52:[76, 24] Operation: 12+12=24 Moving to Node #0,4 Current State: 52:[12, 23, 87], Operations: ['99-12=87'] Exploring Operation: 87-23=64, Resulting Numbers: [12, 64] Generated Node #0,4,0: 52:[12, 64] Operation: 87-23=64 Exploring Operation: 12+23=35, Resulting Numbers: [87, 35] Generated Node #0,4,1: 52:[87, 35] Operation: 12+23=35 Exploring Operation: 12+87=99, Resulting Numbers: [23, 99] Generated Node #0,4,2: 52:[23, 99] Operation: 12+87=99 Exploring Operation: 87-12=75, Resulting Numbers: [23, 75] Generated Node #0,4,3: 52:[23, 75] Operation: 87-12=75 Exploring Operation: 23-12=11, Resulting Numbers: [87, 11] Generated Node #0,4,4: 52:[87, 11] Operation: 23-12=11 Moving to Node #0,3 Current State: 52:[23, 12, 87], Operations: ['99-12=87'] Exploring Operation: 23+12=35, Resulting Numbers: [87, 35] Generated Node #0,3,0: 52:[87, 35] Operation: 23+12=35 Exploring Operation: 12+87=99, Resulting Numbers: [23, 99] Generated Node #0,3,1: 52:[23, 99] Operation: 12+87=99 Exploring Operation: 87-12=75, Resulting Numbers: [23, 75] Generated Node #0,3,2: 52:[23, 75] Operation: 87-12=75 Exploring Operation: 23-12=11, Resulting Numbers: [87, 11] Generated Node #0,3,3: 52:[87, 11] Operation: 23-12=11 Exploring Operation: 87-23=64, Resulting Numbers: [12, 64] Generated Node #0,3,4: 52:[12, 64] Operation: 87-23=64 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 52:[12, 64], Operations: ['99-12=87', '87-23=64'] Exploring Operation: 12*64=768, Resulting Numbers: [768] 768,52 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[12, 99, 23, 12], Operations: [] Exploring Operation: 99-12=87, Resulting Numbers: [23, 12, 87] Generated Node #0,3: 52:[23, 12, 87] Operation: 99-12=87 Moving to Node #0,3 Current State: 52:[23, 12, 87], Operations: ['99-12=87'] Exploring Operation: 87-23=64, Resulting Numbers: [12, 64] Generated Node #0,3,4: 52:[12, 64] Operation: 87-23=64 Moving to Node #0,3,4 Current State: 52:[12, 64], Operations: ['99-12=87', '87-23=64'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 24, 15, 29, 15 ]
24
[ "29-15=14", "15-14=1", "24*1=24" ]
Current State: 24:[24, 15, 29, 15], Operations: [] Exploring Operation: 29-15=14, Resulting Numbers: [24, 14] Generated Node #2: [24, 14] from Operation: 29-15=14 Current State: 24:[24, 14], Operations: ['29-15=14'] Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 15-14=1 Current State: 24:[24, 1], Operations: ['29-15=14', '15-14=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[24, 15, 29, 15], Operations: [] Exploring Operation: 29-15=14, Resulting Numbers: [24, 15, 14] Generated Node #0,0: 24:[24, 15, 14] Operation: 29-15=14 Exploring Operation: 29-15=14, Resulting Numbers: [24, 15, 14] Generated Node #0,1: 24:[24, 15, 14] Operation: 29-15=14 Moving to Node #0,0 Current State: 24:[24, 15, 14], Operations: ['29-15=14'] Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #0,0,0: 24:[24, 1] Operation: 15-14=1 Exploring Operation: 24-15=9, Resulting Numbers: [14, 9] Generated Node #0,0,1: 24:[14, 9] Operation: 24-15=9 Moving to Node #0,1 Current State: 24:[24, 15, 14], Operations: ['29-15=14'] Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #0,1,0: 24:[24, 1] Operation: 15-14=1 Exploring Operation: 24-15=9, Resulting Numbers: [14, 9] Generated Node #0,1,1: 24:[14, 9] Operation: 24-15=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[24, 1], Operations: ['29-15=14', '15-14=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[24, 15, 29, 15], Operations: [] Exploring Operation: 29-15=14, Resulting Numbers: [24, 15, 14] Generated Node #0,1: 24:[24, 15, 14] Operation: 29-15=14 Moving to Node #0,1 Current State: 24:[24, 15, 14], Operations: ['29-15=14'] Exploring Operation: 15-14=1, Resulting Numbers: [24, 1] Generated Node #0,1,0: 24:[24, 1] Operation: 15-14=1 Moving to Node #0,1,0 Current State: 24:[24, 1], Operations: ['29-15=14', '15-14=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 24, 95, 83, 78 ]
25
[ "83-78=5", "24*5=120", "120-95=25" ]
Current State: 25:[24, 95, 83, 78], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [24, 95, 5] Generated Node #2: [24, 95, 5] from Operation: 83-78=5 Current State: 25:[24, 95, 5], Operations: ['83-78=5'] Exploring Operation: 24*5=120, Resulting Numbers: [95, 120] Generated Node #3: [95, 120] from Operation: 24*5=120 Current State: 25:[95, 120], Operations: ['83-78=5', '24*5=120'] Exploring Operation: 120-95=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[24, 95, 83, 78], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [24, 83, 17] Generated Node #0,0: 25:[24, 83, 17] Operation: 95-78=17 Exploring Operation: 83-78=5, Resulting Numbers: [24, 95, 5] Generated Node #0,1: 25:[24, 95, 5] Operation: 83-78=5 Exploring Operation: 83-24=59, Resulting Numbers: [95, 78, 59] Generated Node #0,2: 25:[95, 78, 59] Operation: 83-24=59 Exploring Operation: 95-83=12, Resulting Numbers: [24, 78, 12] Generated Node #0,3: 25:[24, 78, 12] Operation: 95-83=12 Exploring Operation: 95-24=71, Resulting Numbers: [83, 78, 71] Generated Node #0,4: 25:[83, 78, 71] Operation: 95-24=71 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[24, 78, 12], Operations: ['95-83=12'] Exploring Operation: 78-24=54, Resulting Numbers: [12, 54] Generated Node #0,3,0: 25:[12, 54] Operation: 78-24=54 Exploring Operation: 24/12=2, Resulting Numbers: [78, 2] Generated Node #0,3,1: 25:[78, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [78, 36] Generated Node #0,3,2: 25:[78, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [78, 12] Generated Node #0,3,3: 25:[78, 12] Operation: 24-12=12 Exploring Operation: 78-12=66, Resulting Numbers: [24, 66] Generated Node #0,3,4: 25:[24, 66] Operation: 78-12=66 Moving to Node #0,3,0 Current State: 25:[12, 54], Operations: ['95-83=12', '78-24=54'] Exploring Operation: 54-12=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 12+54=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 12*54=648, Resulting Numbers: [648] 648,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[24, 66], Operations: ['95-83=12', '78-12=66'] Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[78, 2], Operations: ['95-83=12', '24/12=2'] Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,25 unequal: No Solution Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,25 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[78, 12], Operations: ['95-83=12', '24-12=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[78, 36], Operations: ['95-83=12', '24+12=36'] Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,25 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[24, 83, 17], Operations: ['95-78=17'] Exploring Operation: 83-24=59, Resulting Numbers: [17, 59] Generated Node #0,0,0: 25:[17, 59] Operation: 83-24=59 Exploring Operation: 83-17=66, Resulting Numbers: [24, 66] Generated Node #0,0,1: 25:[24, 66] Operation: 83-17=66 Exploring Operation: 24+17=41, Resulting Numbers: [83, 41] Generated Node #0,0,2: 25:[83, 41] Operation: 24+17=41 Exploring Operation: 24-17=7, Resulting Numbers: [83, 7] Generated Node #0,0,3: 25:[83, 7] Operation: 24-17=7 Exploring Operation: 83+17=100, Resulting Numbers: [24, 100] Generated Node #0,0,4: 25:[24, 100] Operation: 83+17=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[17, 59], Operations: ['95-78=17', '83-24=59'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 17+59=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 17*59=1003, Resulting Numbers: [1003] 1003,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[24, 66], Operations: ['95-78=17', '83-17=66'] Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 25:[83, 7], Operations: ['95-78=17', '24-17=7'] Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,25 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[83, 41], Operations: ['95-78=17', '24+17=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 83+41=124, Resulting Numbers: [124] 124,25 unequal: No Solution Exploring Operation: 83*41=3403, Resulting Numbers: [3403] 3403,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 25:[24, 100], Operations: ['95-78=17', '83+17=100'] Exploring Operation: 100-24=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 24+100=124, Resulting Numbers: [124] 124,25 unequal: No Solution Exploring Operation: 24*100=2400, Resulting Numbers: [2400] 2400,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[24, 95, 5], Operations: ['83-78=5'] Exploring Operation: 24+5=29, Resulting Numbers: [95, 29] Generated Node #0,1,0: 25:[95, 29] Operation: 24+5=29 Exploring Operation: 95-5=90, Resulting Numbers: [24, 90] Generated Node #0,1,1: 25:[24, 90] Operation: 95-5=90 Exploring Operation: 24-5=19, Resulting Numbers: [95, 19] Generated Node #0,1,2: 25:[95, 19] Operation: 24-5=19 Exploring Operation: 95-24=71, Resulting Numbers: [5, 71] Generated Node #0,1,3: 25:[5, 71] Operation: 95-24=71 Exploring Operation: 95/5=19, Resulting Numbers: [24, 19] Generated Node #0,1,4: 25:[24, 19] Operation: 95/5=19 Moving to Node #0,1,4 Current State: 25:[24, 19], Operations: ['83-78=5', '95/5=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,25 unequal: No Solution Exploring Operation: 24*19=456, Resulting Numbers: [456] 456,25 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[5, 71], Operations: ['83-78=5', '95-24=71'] Exploring Operation: 5+71=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 5*71=355, Resulting Numbers: [355] 355,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[24, 90], Operations: ['83-78=5', '95-5=90'] Exploring Operation: 24+90=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 90-24=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 24*90=2160, Resulting Numbers: [2160] 2160,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[95, 29], Operations: ['83-78=5', '24+5=29'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,25 unequal: No Solution Exploring Operation: 95*29=2755, Resulting Numbers: [2755] 2755,25 unequal: No Solution Exploring Operation: 95+29=124, Resulting Numbers: [124] 124,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[95, 19], Operations: ['83-78=5', '24-5=19'] Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,25 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[95, 78, 59], Operations: ['83-24=59'] Exploring Operation: 95+78=173, Resulting Numbers: [59, 173] Generated Node #0,2,0: 25:[59, 173] Operation: 95+78=173 Exploring Operation: 78-59=19, Resulting Numbers: [95, 19] Generated Node #0,2,1: 25:[95, 19] Operation: 78-59=19 Exploring Operation: 95-78=17, Resulting Numbers: [59, 17] Generated Node #0,2,2: 25:[59, 17] Operation: 95-78=17 Exploring Operation: 95+59=154, Resulting Numbers: [78, 154] Generated Node #0,2,3: 25:[78, 154] Operation: 95+59=154 Exploring Operation: 95-59=36, Resulting Numbers: [78, 36] Generated Node #0,2,4: 25:[78, 36] Operation: 95-59=36 Moving to Node #0,2,2 Current State: 25:[59, 17], Operations: ['83-24=59', '95-78=17'] Exploring Operation: 59*17=1003, Resulting Numbers: [1003] 1003,25 unequal: No Solution Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,25 unequal: No Solution Moving to Node #0,2,4 Current State: 25:[78, 36], Operations: ['83-24=59', '95-59=36'] Exploring Operation: 78*36=2808, Resulting Numbers: [2808] 2808,25 unequal: No Solution Exploring Operation: 78+36=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 78-36=42, Resulting Numbers: [42] 42,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[95, 19], Operations: ['83-24=59', '78-59=19'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 95/19=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 95*19=1805, Resulting Numbers: [1805] 1805,25 unequal: No Solution Exploring Operation: 95+19=114, Resulting Numbers: [114] 114,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[59, 173], Operations: ['83-24=59', '95+78=173'] Exploring Operation: 173-59=114, Resulting Numbers: [114] 114,25 unequal: No Solution Exploring Operation: 59+173=232, Resulting Numbers: [232] 232,25 unequal: No Solution Exploring Operation: 59*173=10207, Resulting Numbers: [10207] 10207,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[78, 154], Operations: ['83-24=59', '95+59=154'] Exploring Operation: 78*154=12012, Resulting Numbers: [12012] 12012,25 unequal: No Solution Exploring Operation: 78+154=232, Resulting Numbers: [232] 232,25 unequal: No Solution Exploring Operation: 154-78=76, Resulting Numbers: [76] 76,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 25:[83, 78, 71], Operations: ['95-24=71'] Exploring Operation: 78-71=7, Resulting Numbers: [83, 7] Generated Node #0,4,0: 25:[83, 7] Operation: 78-71=7 Exploring Operation: 83+71=154, Resulting Numbers: [78, 154] Generated Node #0,4,1: 25:[78, 154] Operation: 83+71=154 Exploring Operation: 83+78=161, Resulting Numbers: [71, 161] Generated Node #0,4,2: 25:[71, 161] Operation: 83+78=161 Exploring Operation: 83-71=12, Resulting Numbers: [78, 12] Generated Node #0,4,3: 25:[78, 12] Operation: 83-71=12 Exploring Operation: 83-78=5, Resulting Numbers: [71, 5] Generated Node #0,4,4: 25:[71, 5] Operation: 83-78=5 Moving to Node #0,4,4 Current State: 25:[71, 5], Operations: ['95-24=71', '83-78=5'] Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,25 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[78, 12], Operations: ['95-24=71', '83-71=12'] Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,25 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,25 unequal: No Solution Moving to Node #0,4,0 Current State: 25:[83, 7], Operations: ['95-24=71', '78-71=7'] Exploring Operation: 83*7=581, Resulting Numbers: [581] 581,25 unequal: No Solution Exploring Operation: 83+7=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 83-7=76, Resulting Numbers: [76] 76,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[78, 154], Operations: ['95-24=71', '83+71=154'] Exploring Operation: 154-78=76, Resulting Numbers: [76] 76,25 unequal: No Solution Exploring Operation: 78+154=232, Resulting Numbers: [232] 232,25 unequal: No Solution Exploring Operation: 78*154=12012, Resulting Numbers: [12012] 12012,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[71, 161], Operations: ['95-24=71', '83+78=161'] Exploring Operation: 161-71=90, Resulting Numbers: [90] 90,25 unequal: No Solution Exploring Operation: 71+161=232, Resulting Numbers: [232] 232,25 unequal: No Solution Exploring Operation: 71*161=11431, Resulting Numbers: [11431] 11431,25 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
[ 24, 85, 62, 89 ]
82
[ "24+85=109", "89-62=27", "109-27=82" ]
Current State: 82:[24, 85, 62, 89], Operations: [] Exploring Operation: 24+85=109, Resulting Numbers: [62, 89, 109] Generated Node #2: [62, 89, 109] from Operation: 24+85=109 Current State: 82:[62, 89, 109], Operations: ['24+85=109'] Exploring Operation: 89-62=27, Resulting Numbers: [109, 27] Generated Node #3: [109, 27] from Operation: 89-62=27 Current State: 82:[109, 27], Operations: ['24+85=109', '89-62=27'] Exploring Operation: 109-27=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[24, 85, 62, 89], Operations: [] Exploring Operation: 24+62=86, Resulting Numbers: [85, 89, 86] Generated Node #0,0: 82:[85, 89, 86] Operation: 24+62=86 Exploring Operation: 62-24=38, Resulting Numbers: [85, 89, 38] Generated Node #0,1: 82:[85, 89, 38] Operation: 62-24=38 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[85, 89, 38], Operations: ['62-24=38'] Exploring Operation: 89-85=4, Resulting Numbers: [38, 4] Generated Node #0,1,0: 82:[38, 4] Operation: 89-85=4 Exploring Operation: 85-38=47, Resulting Numbers: [89, 47] Generated Node #0,1,1: 82:[89, 47] Operation: 85-38=47 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[38, 4], Operations: ['62-24=38', '89-85=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,82 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,82 unequal: No Solution No 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: 82:[89, 47], Operations: ['62-24=38', '85-38=47'] Exploring Operation: 89+47=136, Resulting Numbers: [136] 136,82 unequal: No Solution Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,82 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: 82:[85, 89, 86], Operations: ['24+62=86'] Exploring Operation: 89-86=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 89-86=3 Exploring Operation: 89-85=4, Resulting Numbers: [86, 4] Generated Node #0,0,1: 82:[86, 4] Operation: 89-85=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['24+62=86', '89-86=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,82 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[24, 85, 62, 89], Operations: [] Exploring Operation: 24+62=86, Resulting Numbers: [85, 89, 86] Generated Node #0,0: 82:[85, 89, 86] Operation: 24+62=86 Moving to Node #0,0 Current State: 82:[85, 89, 86], Operations: ['24+62=86'] Exploring Operation: 89-86=3, Resulting Numbers: [85, 3] Generated Node #0,0,0: 82:[85, 3] Operation: 89-86=3 Moving to Node #0,0,0 Current State: 82:[85, 3], Operations: ['24+62=86', '89-86=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 70, 56, 99, 7 ]
20
[ "70+56=126", "99+7=106", "126-106=20" ]
Current State: 20:[70, 56, 99, 7], Operations: [] Exploring Operation: 70+56=126, Resulting Numbers: [99, 7, 126] Generated Node #2: [99, 7, 126] from Operation: 70+56=126 Current State: 20:[99, 7, 126], Operations: ['70+56=126'] Exploring Operation: 99+7=106, Resulting Numbers: [126, 106] Generated Node #3: [126, 106] from Operation: 99+7=106 Current State: 20:[126, 106], Operations: ['70+56=126', '99+7=106'] Exploring Operation: 126-106=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[70, 56, 99, 7], Operations: [] Exploring Operation: 70-56=14, Resulting Numbers: [99, 7, 14] Generated Node #0,0: 20:[99, 7, 14] Operation: 70-56=14 Exploring Operation: 99-56=43, Resulting Numbers: [70, 7, 43] Generated Node #0,1: 20:[70, 7, 43] Operation: 99-56=43 Exploring Operation: 99-70=29, Resulting Numbers: [56, 7, 29] Generated Node #0,2: 20:[56, 7, 29] Operation: 99-70=29 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[56, 7, 29], Operations: ['99-70=29'] Exploring Operation: 56-29=27, Resulting Numbers: [7, 27] Generated Node #0,2,0: 20:[7, 27] Operation: 56-29=27 Exploring Operation: 56-7=49, Resulting Numbers: [29, 49] Generated Node #0,2,1: 20:[29, 49] Operation: 56-7=49 Exploring Operation: 56/7=8, Resulting Numbers: [29, 8] Generated Node #0,2,2: 20:[29, 8] Operation: 56/7=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[7, 27], Operations: ['99-70=29', '56-29=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,20 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[70, 56, 99, 7], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [56, 7, 29] Generated Node #0,2: 20:[56, 7, 29] Operation: 99-70=29 Moving to Node #0,2 Current State: 20:[56, 7, 29], Operations: ['99-70=29'] Exploring Operation: 56-29=27, Resulting Numbers: [7, 27] Generated Node #0,2,0: 20:[7, 27] Operation: 56-29=27 Moving to Node #0,2,0 Current State: 20:[7, 27], Operations: ['99-70=29', '56-29=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 75, 22, 2, 32 ]
55
[ "75*22=1650", "32-2=30", "1650/30=55" ]
Current State: 55:[75, 22, 2, 32], Operations: [] Exploring Operation: 75*22=1650, Resulting Numbers: [2, 32, 1650] Generated Node #2: [2, 32, 1650] from Operation: 75*22=1650 Current State: 55:[2, 32, 1650], Operations: ['75*22=1650'] Exploring Operation: 32-2=30, Resulting Numbers: [1650, 30] Generated Node #3: [1650, 30] from Operation: 32-2=30 Current State: 55:[1650, 30], Operations: ['75*22=1650', '32-2=30'] Exploring Operation: 1650/30=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[75, 22, 2, 32], Operations: [] Exploring Operation: 22+32=54, Resulting Numbers: [75, 2, 54] Generated Node #0,0: 55:[75, 2, 54] Operation: 22+32=54 Exploring Operation: 32-22=10, Resulting Numbers: [75, 2, 10] Generated Node #0,1: 55:[75, 2, 10] Operation: 32-22=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[75, 2, 54], Operations: ['22+32=54'] Exploring Operation: 75-2=73, Resulting Numbers: [54, 73] Generated Node #0,0,0: 55:[54, 73] Operation: 75-2=73 Exploring Operation: 75-54=21, Resulting Numbers: [2, 21] Generated Node #0,0,1: 55:[2, 21] Operation: 75-54=21 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[2, 21], Operations: ['22+32=54', '75-54=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,55 unequal: No Solution No 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: 55:[54, 73], Operations: ['22+32=54', '75-2=73'] Exploring Operation: 54+73=127, Resulting Numbers: [127] 127,55 unequal: No Solution Exploring Operation: 73-54=19, Resulting Numbers: [19] 19,55 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: 55:[75, 2, 10], Operations: ['32-22=10'] Exploring Operation: 75-2=73, Resulting Numbers: [10, 73] Generated Node #0,1,0: 55:[10, 73] Operation: 75-2=73 Exploring Operation: 75-10=65, Resulting Numbers: [2, 65] Generated Node #0,1,1: 55:[2, 65] Operation: 75-10=65 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[2, 65], Operations: ['32-22=10', '75-10=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,55 unequal: No Solution No 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: 55:[10, 73], Operations: ['32-22=10', '75-2=73'] Exploring Operation: 10+73=83, Resulting Numbers: [83] 83,55 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,55 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
[ 36, 84, 18, 87 ]
57
[ "84-36=48", "18+87=105", "105-48=57" ]
Current State: 57:[36, 84, 18, 87], Operations: [] Exploring Operation: 84-36=48, Resulting Numbers: [18, 87, 48] Generated Node #2: [18, 87, 48] from Operation: 84-36=48 Current State: 57:[18, 87, 48], Operations: ['84-36=48'] Exploring Operation: 18+87=105, Resulting Numbers: [48, 105] Generated Node #3: [48, 105] from Operation: 18+87=105 Current State: 57:[48, 105], Operations: ['84-36=48', '18+87=105'] Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[36, 84, 18, 87], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [84, 18, 51] Generated Node #0,0: 57:[84, 18, 51] Operation: 87-36=51 Exploring Operation: 84-36=48, Resulting Numbers: [18, 87, 48] Generated Node #0,1: 57:[18, 87, 48] Operation: 84-36=48 Exploring Operation: 87-84=3, Resulting Numbers: [36, 18, 3] Generated Node #0,2: 57:[36, 18, 3] Operation: 87-84=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[36, 18, 3], Operations: ['87-84=3'] Exploring Operation: 36/18=2, Resulting Numbers: [3, 2] Generated Node #0,2,0: 57:[3, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [3, 18] Generated Node #0,2,1: 57:[3, 18] Operation: 36-18=18 Exploring Operation: 36+18=54, Resulting Numbers: [3, 54] Generated Node #0,2,2: 57:[3, 54] Operation: 36+18=54 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[3, 2], Operations: ['87-84=3', '36/18=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,57 unequal: No Solution No 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: 57:[3, 18], Operations: ['87-84=3', '36-18=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 3+18=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 3*18=54, Resulting Numbers: [54] 54,57 unequal: No Solution No 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: 57:[3, 54], Operations: ['87-84=3', '36+18=54'] Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[36, 84, 18, 87], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [36, 18, 3] Generated Node #0,2: 57:[36, 18, 3] Operation: 87-84=3 Moving to Node #0,2 Current State: 57:[36, 18, 3], Operations: ['87-84=3'] Exploring Operation: 36+18=54, Resulting Numbers: [3, 54] Generated Node #0,2,2: 57:[3, 54] Operation: 36+18=54 Moving to Node #0,2,2 Current State: 57:[3, 54], Operations: ['87-84=3', '36+18=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 41, 1, 18, 82 ]
22
[ "41+1=42", "82-18=64", "64-42=22" ]
Current State: 22:[41, 1, 18, 82], Operations: [] Exploring Operation: 41+1=42, Resulting Numbers: [18, 82, 42] Generated Node #2: [18, 82, 42] from Operation: 41+1=42 Current State: 22:[18, 82, 42], Operations: ['41+1=42'] Exploring Operation: 82-18=64, Resulting Numbers: [42, 64] Generated Node #3: [42, 64] from Operation: 82-18=64 Current State: 22:[42, 64], Operations: ['41+1=42', '82-18=64'] Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[41, 1, 18, 82], Operations: [] Exploring Operation: 41-1=40, Resulting Numbers: [18, 82, 40] Generated Node #0,0: 22:[18, 82, 40] Operation: 41-1=40 Exploring Operation: 82-18=64, Resulting Numbers: [41, 1, 64] Generated Node #0,1: 22:[41, 1, 64] Operation: 82-18=64 Exploring Operation: 82/41=2, Resulting Numbers: [1, 18, 2] Generated Node #0,2: 22:[1, 18, 2] Operation: 82/41=2 Exploring Operation: 82-41=41, Resulting Numbers: [1, 18, 41] Generated Node #0,3: 22:[1, 18, 41] Operation: 82-41=41 Exploring Operation: 41-18=23, Resulting Numbers: [1, 82, 23] Generated Node #0,4: 22:[1, 82, 23] Operation: 41-18=23 Moving to Node #0,2 Current State: 22:[1, 18, 2], Operations: ['82/41=2'] Exploring Operation: 18/1=18, Resulting Numbers: [2, 18] Generated Node #0,2,0: 22:[2, 18] Operation: 18/1=18 Exploring Operation: 1*18=18, Resulting Numbers: [2, 18] Generated Node #0,2,1: 22:[2, 18] Operation: 1*18=18 Exploring Operation: 18/2=9, Resulting Numbers: [1, 9] Generated Node #0,2,2: 22:[1, 9] Operation: 18/2=9 Exploring Operation: 18+2=20, Resulting Numbers: [1, 20] Generated Node #0,2,3: 22:[1, 20] Operation: 18+2=20 Exploring Operation: 1+18=19, Resulting Numbers: [2, 19] Generated Node #0,2,4: 22:[2, 19] Operation: 1+18=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[1, 9], Operations: ['82/41=2', '18/2=9'] Exploring Operation: 1+9=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 1*9=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[1, 20], Operations: ['82/41=2', '18+2=20'] Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,22 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[2, 19], Operations: ['82/41=2', '1+18=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,22 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[2, 18], Operations: ['82/41=2', '18/1=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,22 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[2, 18], Operations: ['82/41=2', '1*18=18'] Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,22 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,22 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 22:[1, 18, 41], Operations: ['82-41=41'] Exploring Operation: 1*18=18, Resulting Numbers: [41, 18] Generated Node #0,3,0: 22:[41, 18] Operation: 1*18=18 Exploring Operation: 41-18=23, Resulting Numbers: [1, 23] Generated Node #0,3,1: 22:[1, 23] Operation: 41-18=23 Exploring Operation: 41-1=40, Resulting Numbers: [18, 40] Generated Node #0,3,2: 22:[18, 40] Operation: 41-1=40 Exploring Operation: 18/1=18, Resulting Numbers: [41, 18] Generated Node #0,3,3: 22:[41, 18] Operation: 18/1=18 Exploring Operation: 1+18=19, Resulting Numbers: [41, 19] Generated Node #0,3,4: 22:[41, 19] Operation: 1+18=19 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[1, 23], Operations: ['82-41=41', '41-18=23'] Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,22 unequal: No Solution 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:[41, 1, 18, 82], Operations: [] Exploring Operation: 82-41=41, Resulting Numbers: [1, 18, 41] Generated Node #0,3: 22:[1, 18, 41] Operation: 82-41=41 Moving to Node #0,3 Current State: 22:[1, 18, 41], Operations: ['82-41=41'] Exploring Operation: 41-18=23, Resulting Numbers: [1, 23] Generated Node #0,3,1: 22:[1, 23] Operation: 41-18=23 Moving to Node #0,3,1 Current State: 22:[1, 23], Operations: ['82-41=41', '41-18=23'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 3, 57, 43, 56 ]
45
[ "57-3=54", "43+56=99", "99-54=45" ]
Current State: 45:[3, 57, 43, 56], Operations: [] Exploring Operation: 57-3=54, Resulting Numbers: [43, 56, 54] Generated Node #2: [43, 56, 54] from Operation: 57-3=54 Current State: 45:[43, 56, 54], Operations: ['57-3=54'] Exploring Operation: 43+56=99, Resulting Numbers: [54, 99] Generated Node #3: [54, 99] from Operation: 43+56=99 Current State: 45:[54, 99], Operations: ['57-3=54', '43+56=99'] Exploring Operation: 99-54=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[3, 57, 43, 56], Operations: [] Exploring Operation: 56-43=13, Resulting Numbers: [3, 57, 13] Generated Node #0,0: 45:[3, 57, 13] Operation: 56-43=13 Exploring Operation: 57-43=14, Resulting Numbers: [3, 56, 14] Generated Node #0,1: 45:[3, 56, 14] Operation: 57-43=14 Exploring Operation: 57-56=1, Resulting Numbers: [3, 43, 1] Generated Node #0,2: 45:[3, 43, 1] Operation: 57-56=1 Moving to Node #0,2 Current State: 45:[3, 43, 1], Operations: ['57-56=1'] Exploring Operation: 3/1=3, Resulting Numbers: [43, 3] Generated Node #0,2,0: 45:[43, 3] Operation: 3/1=3 Exploring Operation: 43+1=44, Resulting Numbers: [3, 44] Generated Node #0,2,1: 45:[3, 44] Operation: 43+1=44 Exploring Operation: 3*1=3, Resulting Numbers: [43, 3] Generated Node #0,2,2: 45:[43, 3] Operation: 3*1=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 45:[3, 44], Operations: ['57-56=1', '43+1=44'] Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,45 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,45 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 45:[43, 3], Operations: ['57-56=1', '3/1=3'] Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 45:[43, 3], Operations: ['57-56=1', '3*1=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,45 unequal: No Solution Exploring Operation: 43*3=129, Resulting Numbers: [129] 129,45 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,45 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: 45:[3, 56, 14], Operations: ['57-43=14'] Exploring Operation: 56/14=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 45:[3, 4] Operation: 56/14=4 Exploring Operation: 56-3=53, Resulting Numbers: [14, 53] Generated Node #0,1,1: 45:[14, 53] Operation: 56-3=53 Exploring Operation: 56-14=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 45:[3, 42] Operation: 56-14=42 Moving to Node #0,0 Current State: 45:[3, 57, 13], Operations: ['56-43=13'] Exploring Operation: 57-13=44, Resulting Numbers: [3, 44] Generated Node #0,0,0: 45:[3, 44] Operation: 57-13=44 Exploring Operation: 57/3=19, Resulting Numbers: [13, 19] Generated Node #0,0,1: 45:[13, 19] Operation: 57/3=19 Exploring Operation: 57-3=54, Resulting Numbers: [13, 54] Generated Node #0,0,2: 45:[13, 54] Operation: 57-3=54 Moving to Node #0,1,0 Current State: 45:[3, 4], Operations: ['57-43=14', '56/14=4'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,45 unequal: No Solution Exploring Operation: 3*4=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[3, 44], Operations: ['56-43=13', '57-13=44'] Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,45 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,45 unequal: No Solution Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[3, 42], Operations: ['57-43=14', '56-14=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[3, 57, 43, 56], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [3, 56, 14] Generated Node #0,1: 45:[3, 56, 14] Operation: 57-43=14 Moving to Node #0,1 Current State: 45:[3, 56, 14], Operations: ['57-43=14'] Exploring Operation: 56-14=42, Resulting Numbers: [3, 42] Generated Node #0,1,2: 45:[3, 42] Operation: 56-14=42 Moving to Node #0,1,2 Current State: 45:[3, 42], Operations: ['57-43=14', '56-14=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
0.972222
hs_3
mult_heuristic